Page Builder Gutenberg Blocks – CoBlocks - Version 2.19.1

Version Description

Download this release

Release Info

Developer Godaddy
Plugin Icon 128x128 Page Builder Gutenberg Blocks – CoBlocks
Version 2.19.1
Comparing to
See all releases

Code changes from version 2.19.0 to 2.19.1

Files changed (3) hide show
  1. class-coblocks.php +2 -2
  2. dist/coblocks.asset.php +1 -1
  3. dist/coblocks.js +30 -30
class-coblocks.php CHANGED
@@ -4,7 +4,7 @@
4
  * Description: CoBlocks is a suite of professional <strong>page building content blocks</strong> for the WordPress Gutenberg block editor. Our blocks are hyper-focused on empowering makers to build beautifully rich pages in WordPress.
5
  * Author: GoDaddy
6
  * Author URI: https://www.godaddy.com
7
- * Version: 2.19.0
8
  * Text Domain: coblocks
9
  * Domain Path: /languages
10
  * Tested up to: 5.8
@@ -25,7 +25,7 @@ if ( ! defined( 'ABSPATH' ) ) {
25
  exit;
26
  }
27
 
28
- define( 'COBLOCKS_VERSION', '2.19.0' );
29
  define( 'COBLOCKS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
30
  define( 'COBLOCKS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
31
  define( 'COBLOCKS_PLUGIN_FILE', __FILE__ );
4
  * Description: CoBlocks is a suite of professional <strong>page building content blocks</strong> for the WordPress Gutenberg block editor. Our blocks are hyper-focused on empowering makers to build beautifully rich pages in WordPress.
5
  * Author: GoDaddy
6
  * Author URI: https://www.godaddy.com
7
+ * Version: 2.19.1
8
  * Text Domain: coblocks
9
  * Domain Path: /languages
10
  * Tested up to: 5.8
25
  exit;
26
  }
27
 
28
+ define( 'COBLOCKS_VERSION', '2.19.1' );
29
  define( 'COBLOCKS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
30
  define( 'COBLOCKS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
31
  define( 'COBLOCKS_PLUGIN_FILE', __FILE__ );
dist/coblocks.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-token-list', 'wp-url'), 'version' => '6ae745b6536f9079f33d3c957125690c');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom', 'wp-dom-ready', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-plugins', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render', 'wp-token-list', 'wp-url'), 'version' => 'dd401e82884e0026ec5b084627392e91');
dist/coblocks.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(){var e,t={2354:function(e,t,o){"use strict";var n={};o.r(n),o.d(n,{name:function(){return ul},settings:function(){return dl}});var l={};o.r(l),o.d(l,{category:function(){return Cl},metadata:function(){return wl},name:function(){return xl},settings:function(){return zl}});var r={};o.r(r),o.d(r,{category:function(){return Vl},metadata:function(){return Ll},name:function(){return Fl},settings:function(){return Gl}});var a={};o.r(a),o.d(a,{attributes:function(){return tr},category:function(){return er},metadata:function(){return $l},name:function(){return Ql},settings:function(){return or}});var c={};o.r(c),o.d(c,{category:function(){return _r},metadata:function(){return nr},name:function(){return vr},settings:function(){return yr}});var i={};o.r(i),o.d(i,{category:function(){return Lr},metadata:function(){return wr},name:function(){return Ar},settings:function(){return Dr}});var s={};o.r(s),o.d(s,{category:function(){return Da},metadata:function(){return aa},name:function(){return Ia},settings:function(){return Va}});var u={};o.r(u),o.d(u,{category:function(){return ec},metadata:function(){return Ya},name:function(){return Qa},settings:function(){return oc}});var d={};o.r(d),o.d(d,{category:function(){return yc},metadata:function(){return nc},name:function(){return kc},settings:function(){return Ec}});var m={};o.r(m),o.d(m,{category:function(){return Hc},metadata:function(){return xc},name:function(){return $c},settings:function(){return Wc}});var h={};o.r(h),o.d(h,{category:function(){return oi},metadata:function(){return Yc},name:function(){return ti},settings:function(){return li}});var p={};o.r(p),o.d(p,{category:function(){return ui},icon:function(){return ke},metadata:function(){return ii},name:function(){return si},settings:function(){return mi}});var b={};o.r(b),o.d(b,{category:function(){return xi},metadata:function(){return yi},name:function(){return Ei},settings:function(){return Ci}});var g={};o.r(g),o.d(g,{category:function(){return Oi},metadata:function(){return Ni},name:function(){return Bi},settings:function(){return Ri}});var f={};o.r(f),o.d(f,{category:function(){return ji},icon:function(){return ke},metadata:function(){return Fi},name:function(){return Vi},settings:function(){return $i}});var v={};o.r(v),o.d(v,{category:function(){return es},metadata:function(){return Xi},name:function(){return Qi},settings:function(){return os}});var _={};o.r(_),o.d(_,{category:function(){return vs},metadata:function(){return ns},name:function(){return fs},settings:function(){return ks}});var k={};o.r(k),o.d(k,{category:function(){return Bs},metadata:function(){return Ps},name:function(){return Ns},settings:function(){return Rs}});var y={};o.r(y),o.d(y,{category:function(){return Ds},metadata:function(){return Ls},name:function(){return Is},settings:function(){return Vs}});var w={};o.r(w),o.d(w,{category:function(){return $s},metadata:function(){return js},name:function(){return Gs},settings:function(){return Us}});var E={};o.r(E),o.d(E,{category:function(){return Ks},metadata:function(){return qs},name:function(){return Ys},settings:function(){return Js}});var x={};o.r(x),o.d(x,{category:function(){return tu},metadata:function(){return Qs},name:function(){return eu},settings:function(){return nu}});var C={};o.r(C),o.d(C,{category:function(){return iu},metadata:function(){return au},name:function(){return cu},settings:function(){return uu}});var S={};o.r(S),o.d(S,{category:function(){return bu},metadata:function(){return hu},name:function(){return pu},settings:function(){return fu}});var z={};o.r(z),o.d(z,{category:function(){return Eu},metadata:function(){return yu},name:function(){return wu},settings:function(){return Cu}});var T={};o.r(T),o.d(T,{category:function(){return Pu},metadata:function(){return zu},name:function(){return Tu},settings:function(){return Bu}});var P={};o.r(P),o.d(P,{category:function(){return Au},metadata:function(){return Ru},name:function(){return Mu},settings:function(){return Iu}});var N={};o.r(N),o.d(N,{category:function(){return ju},metadata:function(){return Fu},name:function(){return Vu},settings:function(){return $u}});var B={};o.r(B),o.d(B,{category:function(){return qu},metadata:function(){return Uu},name:function(){return Wu},settings:function(){return Ku}});var O={};o.r(O),o.d(O,{category:function(){return dd},metadata:function(){return id},name:function(){return ud},settings:function(){return hd}});var R={};o.r(R),o.d(R,{category:function(){return Nd},metadata:function(){return yd},name:function(){return Pd},settings:function(){return Od}});var M={};o.r(M),o.d(M,{category:function(){return Kd},metadata:function(){return qd},name:function(){return Yd},settings:function(){return Jd}});var A={};o.r(A),o.d(A,{category:function(){return cm},metadata:function(){return rm},name:function(){return am},settings:function(){return sm}});var L={};o.r(L),o.d(L,{category:function(){return bm},metadata:function(){return um},name:function(){return pm},settings:function(){return fm}});var I={};o.r(I),o.d(I,{attributes:function(){return Vm},category:function(){return Fm},metadata:function(){return vm},name:function(){return Dm},settings:function(){return jm}});var D={};o.r(D),o.d(D,{category:function(){return Jm},metadata:function(){return Wm},name:function(){return Zm},settings:function(){return Qm}});var F={};o.r(F),o.d(F,{DEFAULT_ICON_SIZE:function(){return xh},category:function(){return Sh},metadata:function(){return eh},name:function(){return Ch},settings:function(){return Th}});var V={};o.r(V),o.d(V,{category:function(){return Ih},metadata:function(){return Ph},name:function(){return Lh},settings:function(){return Fh}});var j={};o.r(j),o.d(j,{category:function(){return lp},metadata:function(){return Vh},name:function(){return np},settings:function(){return ap}});var G={};o.r(G),o.d(G,{category:function(){return _p},metadata:function(){return cp},name:function(){return vp},settings:function(){return yp}});var $={};o.r($),o.d($,{category:function(){return Dp},metadata:function(){return Rp},name:function(){return Ip},settings:function(){return Vp}});var H={};o.r(H),o.d(H,{category:function(){return Zp},metadata:function(){return Hp},name:function(){return Kp},settings:function(){return Xp}});var U={};o.r(U),o.d(U,{category:function(){return ab},metadata:function(){return lb},name:function(){return rb},settings:function(){return ib}});var W={};o.r(W),o.d(W,{category:function(){return yb},name:function(){return kb},settings:function(){return wb}});var q={};o.r(q),o.d(q,{category:function(){return Fb},name:function(){return Db},settings:function(){return Vb}});var Y={};o.r(Y),o.d(Y,{category:function(){return tg},metadata:function(){return Zb},name:function(){return eg},settings:function(){return ng}});var K={};o.r(K),o.d(K,{category:function(){return hg},metadata:function(){return ug},name:function(){return mg},settings:function(){return bg}});var Z={};o.r(Z),o.d(Z,{category:function(){return Lg},metadata:function(){return gg},name:function(){return Ag},settings:function(){return Dg}});var J={};o.r(J),o.d(J,{category:function(){return Jg},metadata:function(){return Kg},name:function(){return Zg},settings:function(){return Qg}});var X={};o.r(X),o.d(X,{category:function(){return af},metadata:function(){return ef},name:function(){return rf},settings:function(){return sf}});var Q={};o.r(Q),o.d(Q,{category:function(){return Cf},metadata:function(){return hf},name:function(){return xf},settings:function(){return zf}});var ee={};o.r(ee),o.d(ee,{category:function(){return Of},name:function(){return Bf},settings:function(){return Rf}});var te={};o.r(te),o.d(te,{category:function(){return Hf},name:function(){return $f},settings:function(){return Uf}});var oe={};o.r(oe),o.d(oe,{category:function(){return tv},icon:function(){return Xe},metadata:function(){return Wf},name:function(){return ev},settings:function(){return nv}});var ne=window.wp.blocks,le=window.wp.i18n;const re=e=>!Object.entries(e).map((e=>{let[,t]=e;return"string"==typeof t&&(t=t.trim()),t instanceof Array&&(t=t.length),t instanceof Object&&(t=Object.entries(t).length),!!t})).filter((e=>!0===e)).length,ae=()=>"function"==typeof ne.registerBlockCollection,ce=(0,ne.getCategories)().some((function(e){return"formatting"===e.slug}));var ie=window.wp.element,se=window.wp.primitives,ue=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m19 9c0-.27614-.2239-.5-.5-.5h-13c-.27614 0-.5.22386-.5.5v7.5c0 .2761.22386.5.5.5h13c.2761 0 .5-.2239.5-.5zm-13.875-3.5c-.89746 0-1.625.72754-1.625 1.625v9.75c0 .8975.72754 1.625 1.625 1.625h13.75c.8975 0 1.625-.7275 1.625-1.625v-9.75c0-.89746-.7275-1.625-1.625-1.625z",fill:"currentColor",fillRule:"evenodd"})),de=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m19 7c0-.27614-.2239-.5-.5-.5h-13c-.27614 0-.5.22386-.5.5v4.5c0 .2761.22386.5.5.5h13c.2761 0 .5-.2239.5-.5zm-.125 10h-13.75c-.06904 0-.125.056-.125.125v1.75c0 .069.05596.125.125.125h13.75c.069 0 .125-.056.125-.125v-1.75c0-.069-.056-.125-.125-.125zm-13.75-13.5c-.89746 0-1.625.72754-1.625 1.625v6.75c0 .8975.72754 1.625 1.625 1.625h13.75c.8975 0 1.625-.7275 1.625-1.625v-6.75c0-.89746-.7275-1.625-1.625-1.625zm0 12c-.89746 0-1.625.7275-1.625 1.625v1.75c0 .8975.72754 1.625 1.625 1.625h13.75c.8975 0 1.625-.7275 1.625-1.625v-1.75c0-.8975-.7275-1.625-1.625-1.625z",fill:"currentColor",fillRule:"evenodd"})),me=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m10.1758 20.4657c0 1.0083.8159 1.8242 1.8242 1.8242s1.8242-.8159 1.8242-1.8242z"}),(0,ie.createElement)(se.Path,{d:"m12 4.5c2 0 5.5 1.5 5.5 4.78988v6.71012c0 .2761-.2239.5-.5.5h-10.00002c-.27614 0-.5-.2239-.5-.5v-6.71012c0-3.28988 3.5-4.78988 5.50002-4.78988zm0-3c-.7608 0-1.375.76821-1.375 1.52904-3.12502.97096-5.62502 3.47096-5.62501 6.26084v7.08582c0 .2652-.10536.5195-.29289.7071l-1.3506 1.3506c-.12155.1215-.18984.2864-.18984.4583 0 .358.2902.6482.64818.6482h16.37026c.358 0 .6482-.2902.6482-.6482 0-.1719-.0683-.3368-.1898-.4583l-1.3506-1.3506c-.1876-.1876-.2929-.4419-.2929-.7071v-7.08582c0-2.78988-2.5-5.28988-5.625-6.26084 0-.76083-.6142-1.52904-1.375-1.52904z"}))),he=(0,ie.createElement)(se.SVG,{className:"coblocks-icon-animation",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{className:"small-circle",d:"M5.68,15.87a3.87,3.87,0,1,1,0-7.74,3.87,3.87,0,1,1,0,7.74Z",stroke:"#fff",strokeWidth:"1.5px",fill:"currentColor",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{className:"medium-circle",d:"M10.71,17.32A5.32,5.32,0,1,1,16.13,12,5.38,5.38,0,0,1,10.71,17.32Z",stroke:"#fff",strokeWidth:"1.5px",fill:"currentColor",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{className:"large-circle",d:"M16.15,18A6.06,6.06,0,0,1,10,12a6.12,6.12,0,0,1,12.23,0A6.06,6.06,0,0,1,16.15,18Z",stroke:"#fff",strokeWidth:"1.5px",fill:"currentColor",fillRule:"evenodd"})),pe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12 4c-4.416 0-8 3.584-8 8s3.584 8 8 8h4v-1.6h-4c-3.472 0-6.4-2.928-6.4-6.4s2.928-6.4 6.4-6.4 6.4 2.928 6.4 6.4v1.144c0 .632-.568 1.256-1.2 1.256s-1.2-.624-1.2-1.256v-1.144c0-2.208-1.792-4-4-4s-4 1.792-4 4 1.792 4 4 4c1.104 0 2.112-.448 2.832-1.176.52.712 1.416 1.176 2.368 1.176 1.576 0 2.8-1.28 2.8-2.856v-1.144c0-4.416-3.584-8-8-8zm0 10.4c-1.328 0-2.4-1.072-2.4-2.4s1.072-2.4 2.4-2.4 2.4 1.072 2.4 2.4-1.072 2.4-2.4 2.4z",fill:"currentColor"})),be=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m20 21v-3c0-1.1046-.8954-2-2-2h-12c-1.10457 0-2 .8954-2 2v3",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,ie.createElement)(se.Circle,{cx:"12",cy:"8",fill:"currentColor",r:"5"})),ge=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M19.39 14.99l-1.41 1.41L12 10.43 6.02 16.4l-1.41-1.41L12 7.6l7.39 7.39z"})),fe=((0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m5.87563 13 5.50317-5.48574-1.194-1.01418-4.24673 4.23322-1.43827-1.5881-1.24834.9572zm14.12437-7.49992h-7v1.49992h7zm0 5.99992h-10v1.5h10zm-13 5.5156h13v1.4843h-13z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.13877 4.50131L15.7841 4.5C17.2301 4.49975 17.7552 4.65057 18.2852 4.93385C18.8153 5.21712 19.2322 5.63288 19.5174 6.16268C19.8027 6.69248 19.9558 7.21802 19.9628 8.66734L19.9998 16.3299C20.0068 17.7793 19.8587 18.3048 19.5786 18.8347C19.2984 19.3646 18.8855 19.7805 18.3582 20.064C17.8309 20.3475 17.3073 20.4984 15.8612 20.4987L8.21593 20.5C6.76988 20.5002 6.24478 20.3494 5.71476 20.0662C5.18474 19.7829 4.76784 19.3671 4.48256 18.8373C4.19728 18.3075 4.04418 17.782 4.03719 16.3327L4.00024 8.67006C3.99325 7.22074 4.14128 6.69516 4.42145 6.16526C4.70162 5.63536 5.11451 5.21946 5.64179 4.936C6.16908 4.65255 6.69272 4.50155 8.13877 4.50131V4.50131ZM7.55556 7.16667C7.06464 7.16667 6.66667 7.56464 6.66667 8.05556V16.9444C6.66667 17.4354 7.06464 17.8333 7.55556 17.8333H10.2222C10.7131 17.8333 11.1111 17.4354 11.1111 16.9444V8.05556C11.1111 7.56464 10.7131 7.16667 10.2222 7.16667H7.55556ZM13.7778 13.3889C13.2869 13.3889 12.8889 13.7869 12.8889 14.2778V16.9444C12.8889 17.4354 13.2869 17.8333 13.7778 17.8333H16.4444C16.9354 17.8333 17.3333 17.4354 17.3333 16.9444V14.2778C17.3333 13.7869 16.9354 13.3889 16.4444 13.3889H13.7778ZM13.7778 7.16667C13.2869 7.16667 12.8889 7.56464 12.8889 8.05556V10.7222C12.8889 11.2131 13.2869 11.6111 13.7778 11.6111H16.4444C16.9354 11.6111 17.3333 11.2131 17.3333 10.7222V8.05556C17.3333 7.56464 16.9354 7.16667 16.4444 7.16667H13.7778Z",fill:"currentColor"}))),ve=((0,ie.createElement)(se.SVG,{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m3.97925 12.1853c0 4.4412 3.66683 8.0603 8.16665 8.0603 1.127 0 2.0417-.9027 2.0417-2.0151 0-.4916-.1879-.9672-.5227-1.346-.0653-.0806-.1062-.1693-.1062-.266 0-.2257.1797-.403.4084-.403h1.4455c2.7031 0 4.9-2.1683 4.9-4.8362 0-3.99793-3.6669-7.2543-8.1667-7.2543-4.49982 0-8.16665 3.61908-8.16665 8.0603zm1.36714 0c0-3.76664 3.05125-6.83291 6.79941-6.83291 3.7482 0 6.7995 2.68192 6.7995 5.97881 0 1.8876-1.5214 3.4164-3.3997 3.4164h-1.5044c-1.1729 0-2.1248.9566-2.1248 2.1353 0 .5125.1869 1.0164.5354 1.4093.051.0598.119.1623.119.299 0 .2391-.187.427-.425.427-3.74816 0-6.79941-3.0663-6.79941-6.8329zm2.38795-1.6121c-.66447 0-1.20313.5414-1.20313 1.2091s.53866 1.209 1.20313 1.209c.66446 0 1.20312-.5413 1.20312-1.209s-.53866-1.2091-1.20312-1.2091zm1.20313-2.01503c0-.66774.53866-1.20905 1.20313-1.20905.6645 0 1.2031.54131 1.2031 1.20905s-.5386 1.20905-1.2031 1.20905c-.66447 0-1.20313-.54131-1.20313-1.20905zm5.21353-1.20905c-.6645 0-1.2031.54131-1.2031 1.20905s.5386 1.20905 1.2031 1.20905 1.2031-.54131 1.2031-1.20905-.5386-1.20905-1.2031-1.20905zm1.2031 4.43318c0-.6677.5387-1.2091 1.2032-1.2091.6644 0 1.2031.5414 1.2031 1.2091s-.5387 1.209-1.2031 1.209c-.6645 0-1.2032-.5413-1.2032-1.209z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 4.75h14c.6904 0 1.25.55964 1.25 1.25v12c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-12c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m9 5.5h6v13h-6z",fill:"currentColor"}))),_e=((0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m4.99996 5-.00005 1.55h8.71739v-1.55zm-.00005 6.5312-.00005 1.5h14.00004v-1.5zm-.00015 5.9688.00005 1.5h8.71739v-1.5z",fill:"currentColor"})),(0,ie.createElement)(se.SVG,{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m12.8672 6h1.3535l4.8164 12.4277h-1.96l-1.0371-2.8125h-4.0736-.8668l-.3078.6177.0557-.1498-.87191 2.3446h-1.91602l1.49903-3.875h-2.6211l-.69727 1.875h-1.27734l3.20508-8.28512h.90234l1.48539 3.83272zm2.6455 8.0596-1.9863-5.51956-1.9864 5.51956zm-5.58106-.544-1.32422-3.67966-1.32422 3.67966z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12.5 0c.8325 0 1.5.61363636 1.5 1.36363636v11.27272724c0 .75-.675 1.3636364-1.5 1.3636364l-.5-2v-9h-10v9h10l.5 2h-11c-.8325 0-1.5-.6136364-1.5-1.3636364v-11.27272724c0-.75.6675-1.36363636 1.5-1.36363636zm-10 1c-.27614237 0-.5.22385763-.5.5s.22385763.5.5.5.5-.22385763.5-.5-.22385763-.5-.5-.5z",transform:"translate(1 1.001872)"}))),ke=((0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m19.75 8v10.7885c0 1.0833-.8794 1.9615-1.9656 1.9615-3.0519 0-8.97462 0-12.7844 0",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m6 4.5h10c.2761 0 .5.22386.5.5v12c0 .2761-.2239.5-.5.5h-10c-.27614 0-.5-.2239-.5-.5v-12c0-.27614.22386-.5.5-.5zm10-1.5h-10c-1.10457 0-2 .89543-2 2v12c0 1.1046.89543 2 2 2h10c1.1046 0 2-.8954 2-2v-12c0-1.10457-.8954-2-2-2zm-1 3.75h-8v1.5h8zm-8 3.25h8v1.5h-8zm6 3.25h-6v1.5h6z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m11.5 4h1.5v15.5h-1.5z"}),(0,ie.createElement)(se.Path,{d:"m8 4h8.5v1.5h-8.5z"}),(0,ie.createElement)(se.Path,{d:"m8 18.5h8.5v1.5h-8.5z"}))),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 3.75h14c.6904 0 1.25.55964 1.25 1.25v14c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-14c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m3 5c0-1.10457.89543-2 2-2h14c1.1046 0 2 .89543 2 2v2h-18z"}),(0,ie.createElement)(se.Path,{d:"m11.6959 13.7224c.3563-.5469.599-.9586.7281-1.2351.1351-.2765.2027-.5376.2027-.7834 0-.2642-.0768-.47-.2304-.6175-.1475-.1536-.3533-.2304-.6175-.2304-.2949 0-.5684.0707-.8203.212s-.4977.3318-.7373.5714l-.1475-1.1889c.2888-.2335.5899-.4086.9033-.52538.3133-.11675.6605-.17512 1.0414-.17512.3748 0 .6943.07988.9586.23963.2642.15357.4608.36257.5898.62677.1352.2642.2028.556.2028.8755 0 .3626-.0799.7343-.2396 1.1152-.1537.381-.4271.8695-.8203 1.4655l-.7558 1.1521h2.0461v1.1059h-4z"})))),ye=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 3.75h14c.6904 0 1.25.55964 1.25 1.25v14c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-14c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m3 5c0-1.10457.89543-2 2-2h14c1.1046 0 2 .89543 2 2v2h-18z"}),(0,ie.createElement)(se.Path,{d:"m7 10h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m7 14h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 10h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m15 10h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 14h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m15 14h2v2h-2z"}))),we=((0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m11.9731 4.00028c-4.15965-.00653-7.62297 3.2243-7.94838 7.41482-.32541 4.1905 2.59681 7.9277 6.70658 8.5769v-5.6309h-2.02198v-2.3167h2.02198v-1.7697c-.0901-.83737.1934-1.67177.7735-2.27661.58-.60484 1.3965-.91732 2.2275-.85256.5973.00788 1.1932.05895 1.7832.15283v1.97885h-1.0031c-.3459-.045-.6934.07049-.9454.31419s-.3814.5895-.3521.9407v1.5123h2.213l-.3582 2.3247h-1.8548v5.6309c4.1346-.6239 7.0873-4.3734 6.7604-8.5849-.3269-4.21147-3.8219-7.44995-8.0022-7.41482z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M12 2.25A9.75 9.75 0 1 0 21.75 12 9.761 9.761 0 0 0 12 2.25Zm0 18A8.25 8.25 0 1 1 20.25 12 8.26 8.26 0 0 1 12 20.25Z",fill:"currentColor"}),(0,ie.createElement)(se.Path,{d:"M12 7.083a2.753 2.753 0 0 0-2.75 2.75.75.75 0 1 0 1.5 0 1.25 1.25 0 0 1 2.5 0c0 .374-.166.613-.658.945A2.595 2.595 0 0 0 11.25 13v.25a.75.75 0 1 0 1.5 0V13c0-.39.171-.636.68-.978a2.555 2.555 0 0 0 1.32-2.188A2.753 2.753 0 0 0 12 7.084ZM11.996 15.125a1.127 1.127 0 1 0 .004 0h-.004Z",fill:"currentColor"}))),Ee=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m6 14h12v-1.5h-12z"}),(0,ie.createElement)(se.Path,{d:"m4 18h16v-1.5h-16z"}),(0,ie.createElement)(se.Path,{d:"m6 22h12v-1.5h-12z"})),(0,ie.createElement)(se.Path,{d:"m10.389 3.26543 3.2192-.00042c.0835-.00006.1661.01633.2432.04823s.1472.07869.2062.13769c.059.05899.1057.12904.1376.20614.0319.07709.0483.15973.0483.24317l.0017 3.85454-2.2452 2.24522-2.24463-2.24463.0005-3.85679c.00052-.16774.0674-.32849.18603-.44712.1186-.11863.2794-.18551.4471-.18603z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"})),xe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m10.302 7.30717c.5217-.26086 1.0434-.39128 1.6955-.52171-1.4347 1.56512-1.826 3.91284-.7825 5.99964 1.0434 1.9564 3.2606 2.9998 5.3475 2.739-.3913.3912-.913.7825-1.4347 1.0434-2.6086 1.4347-5.73882.3912-7.04309-2.2173-1.43469-2.4781-.39128-5.73876 2.21729-7.04303z",fill:"currentColor",fillRule:"evenodd"})),Ce=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m12 11.5 8 8.5h-8z"}),(0,ie.createElement)(se.Path,{d:"m4 4h8v7.5l-7.99993 8.5z"}))),Se=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m9.94924 3.75h-5.19924c-.55228 0-1 .44772-1 1v14.5c0 .5523.44772 1 1 1h14.5313c.5523 0 1-.4477 1-1v-5.6458",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m16.8656 9.85.9234-2.02354 2.0235-.92336-2.0235-.92336-.9234-2.02354-.9234 2.02354-2.0235.92336 2.0235.92336zm-3.6836.7367-1.2279-2.7013-1.2279 2.7013-2.7013 1.2279 2.7013 1.2279 1.2279 2.7013 1.2279-2.7013 2.7013-1.2279z",fill:"currentColor"})),ze=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.25",width:"16.5",x:"3.75",y:"3.75"}),(0,ie.createElement)(se.Path,{d:"m4 16 4.57143-3.3333 3.42857 2.2222 4-3.8889 4 3.8889",strokeLinejoin:"round"}))),Te=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",width:"16.5",x:"3.75",y:"3.75"}),(0,ie.createElement)(se.Path,{d:"m15.2225 13.2414c0 1.7797-1.4428 3.2225-3.2225 3.2225-1.7798 0-3.22253-1.4428-3.22253-3.2225 0-.3585.17475-.9012.53447-1.5851.34749-.6606.81936-1.3646 1.30426-2.01861.4828-.65129.9674-1.23811 1.3321-1.66292.0175-.02039.0347-.0404.0517-.06001.0169.01961.0341.03962.0516.06001.3647.42481.8493 1.01163 1.3321 1.66292.4849.65401.9568 1.35801 1.3043 2.01861.3597.6839.5345 1.2266.5345 1.5851z"}))),Pe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m9.27273 11.4545h-3.27273v1.091h3.27273zm1.18367-1.76723-1.1564-1.15636-.76909.76909 1.15636 1.1564zm2.0891-3.68727h-1.091v3.27273h1.091zm2.9236 3.3-.7691-.76909-1.1564 1.15636.7691.76913zm-.7418 2.1545v1.091h3.2727v-1.091zm-2.7273-1.0909c-.9055 0-1.6364.7309-1.6364 1.6364s.7309 1.6364 1.6364 1.6364 1.6364-.7309 1.6364-1.6364-.7309-1.6364-1.6364-1.6364zm1.5436 3.9491 1.1564 1.1564.7691-.7691-1.1564-1.1564zm-5.01269.3873.76909.7691 1.1564-1.1564-.76913-.7691zm2.92359 3.3h1.091v-3.2727h-1.091z",fill:"currentColor"})),Ne=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m15.4536 12.2145c-.1443-.0858-.2938-.1555-.4433-.2145.1495-.059.299-.1287.4433-.2145.9897-.5952 1.5412-1.6729 1.5464-2.78282-.4691-.27882-1.0052-.42895-1.5515-.42895-.5258 0-1.0567.13941-1.5413.42895-.1443.08579-.2783.18767-.402.28955.0257-.16622.0412-.33781.0412-.50939 0-1.19035-.6237-2.2252-1.5464-2.78284-.9227.55764-1.5464 1.59249-1.5464 2.78284 0 .17158.0155.34317.0412.50939-.1237-.10724-.2577-.20912-.402-.29491-.48455-.28955-1.01548-.42896-1.54125-.42896-.54124 0-1.08248.15014-1.55155.42896 0 1.10988.55155 2.18768 1.54639 2.78288.14433.0858.29382.1555.4433.2144-.14948.059-.29897.1287-.4433.2145-.98969.5952-1.54124 1.6729-1.54639 2.7829.46907.2788 1.00515.4289 1.55155.4289.52577 0 1.0567-.1394 1.54125-.4289.1443-.0858.2783-.1877.402-.2896-.0257.1716-.0412.3432-.0412.5148 0 1.1903.6237 2.2252 1.5464 2.7828.9227-.5576 1.5464-1.5925 1.5464-2.7828 0-.1716-.0155-.3432-.0412-.5094.1237.1072.2577.2037.402.2895.4846.2896 1.0155.429 1.5413.429.5412 0 1.0824-.1502 1.5515-.429-.0052-1.1099-.5567-2.1876-1.5464-2.7828zm-1.3093-2.0805c.1083-.0911.1959-.15545.2784-.19834.3144-.18767.6701-.28955 1.0309-.28955.1392 0 .2732.01609.4072.0429-.1598.48789-.4845.90619-.9175 1.16889-.0876.0536-.1856.0965-.299.1448l-.7113.2788c-.0876-.2466-.2114-.4665-.3711-.6649zm-2.1443-2.76135c.3247.38606.5155.89008.5155 1.41019 0 .10188-.0103.21984-.0258.3378l-.1186.77212c-.1237-.02145-.2474-.03753-.3711-.03753s-.2474.01608-.366.03753l-.1185-.77212c-.0207-.11796-.031-.23592-.031-.3378 0-.52547.1908-1.02413.5155-1.41019zm-3.86082 2.311c.13402-.03218.27319-.0429.41237-.0429.35567 0 .71134.09652 1.02577.28955.07732.04825.16495.1072.25258.1877l.5928.5147c-.1547.193-.2732.4075-.3608.6434l-.71138-.2788c-.10825-.0482-.20619-.0965-.28866-.1448-.44846-.268-.76805-.6809-.92268-1.16885zm1.71649 4.17695c-.10825.0911-.19588.1555-.27835.1984-.31443.1876-.6701.2895-1.03093.2895-.13917 0-.27319-.0161-.40721-.0429.15979-.4879.48453-.9061.91752-1.1689.08763-.0536.18557-.0965.29897-.1447l.71133-.2789c.0825.2467.2114.4719.3711.6649zm2.14433 2.7667c-.3247-.386-.5155-.89-.5155-1.4101 0-.1073.0103-.2199.031-.3486l.1134-.7614c.1185.0215.2422.0376.3711.0376.1237 0 .2474-.0161.366-.0376l.1185.7722c.0207.1179.031.2359.031.3378 0 .5254-.1908 1.0241-.5155 1.4101zm3.4485-2.2734c-.3557 0-.7114-.0965-1.0258-.2896-.0928-.0536-.1753-.1179-.2526-.1823l-.5928-.5147c.1547-.193.2784-.4075.3608-.6488l.7114.2788c.1134.0429.2113.0912.2938.1394.4381.2628.7577.681.9175 1.1689-.1392.0376-.2783.0483-.4123.0483z",fill:"currentColor"})),Be=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m5.5 18v-12c0-.27614.22386-.5.5-.5h3v-1.5h-3c-1.10457 0-2 .89543-2 2v12c0 1.1046.89543 2 2 2h3v-1.5h-3c-.27614 0-.5-.2239-.5-.5z"}),(0,ie.createElement)(se.Path,{d:"m13 2v20h-2v-20z"}),(0,ie.createElement)(se.Path,{d:"m16.5 4v1.5h-1.5v-1.5z"}),(0,ie.createElement)(se.Path,{d:"m20 6c0-1.10457-.8954-2-2-2v1.5c.2761 0 .5.22386.5.5z"}),(0,ie.createElement)(se.Path,{d:"m18.5 16.5v-2h1.5v2z"}),(0,ie.createElement)(se.Path,{d:"m20 13h-1.5v-2h1.5z"}),(0,ie.createElement)(se.Path,{d:"m18 18.5c.2761 0 .5-.2239.5-.5h1.5c0 1.1046-.8954 2-2 2z"}),(0,ie.createElement)(se.Path,{d:"m16.5 20v-1.5h-1.5v1.5z"}),(0,ie.createElement)(se.Path,{d:"m18.5 9.5h1.5v-2h-1.5z"}))),Oe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m6 5.5h12c.2761 0 .5.22386.5.5v3h1.5v-3c0-1.10457-.8954-2-2-2h-12c-1.10457 0-2 .89543-2 2v3h1.5v-3c0-.27614.22386-.5.5-.5z"}),(0,ie.createElement)(se.Path,{d:"m22 13h-20v-2h20z"}),(0,ie.createElement)(se.Path,{d:"m20 16.5h-1.5v-1.5h1.5z"}),(0,ie.createElement)(se.Path,{d:"m18 20c1.1046 0 2-.8954 2-2h-1.5c0 .2761-.2239.5-.5.5z"}),(0,ie.createElement)(se.Path,{d:"m7.5 18.5h2v1.5h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 20v-1.5h2v1.5z"}),(0,ie.createElement)(se.Path,{d:"m5.5 18c0 .2761.22386.5.5.5v1.5c-1.10457 0-2-.8954-2-2z"}),(0,ie.createElement)(se.Path,{d:"m4 16.5h1.5v-1.5h-1.5z"}),(0,ie.createElement)(se.Path,{d:"m14.5 18.5v1.5h2v-1.5z"}))),Re=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m20.2 17h-16.536c-.4424 0-.664-.3619-.664-.8095 0-4.9656 1.9848-9.12821 6.564-10.22997v-1.71351c0-.44766.3576-.80952.8-.80952h3.2c.4424 0 .8.36186.8.80952v1.71351c4.5792 1.10176 6.636 5.26437 6.636 10.22997 0 .4476-.3576.8095-.8.8095zm-7.336-12h-2v.70796c.2648-.02105.8296-.04129 1.1-.04129s.6352.02024.9.04129zm-.9 2.29688c-4.94375 0-7.0584 3.67062-7.464 8.20312h14.864c-.4056-4.5325-2.4563-8.20312-7.4-8.20312z"}),(0,ie.createElement)(se.Path,{d:"m2 18.5h20v1.5h-20z"}))),Me=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m17.7646 7.89213c-.096.53182-.5444.96979-1.1209 1.06364l-.4164.06257 1.2491 2.28376c.2242.4066.2242.9072-.032 1.3452-.2563.4066-.7046.6569-1.185.6569-.2563 0-.4805-.0626-.7046-.1877l-3.491-2.0022-3.39495 2.0022c-.22419.1251-.48041.1877-.7046.1877-.48041 0-.89677-.2503-1.18501-.6257-.25622-.3754-.28825-.8759-.09609-1.2826l1.12096-2.37756-.73663-.1877c-.44838-.12514-.80068-.43797-.96082-.84466-1.88962 1.3452-3.10666 3.34732-3.10666 5.59982 0 4.0981 4.03546 7.4142 8.9997 7.4142 4.9643 0 8.9997-3.3161 8.9997-7.4142.032-2.2837-1.2491-4.34847-3.2348-5.69367z"}),(0,ie.createElement)(se.Path,{d:"m7.35566 7.70438 1.92165.46925c.09608.03129.16014.15642.12811.25027l-1.6334 3.4725c-.06406.1564.09608.3128.25622.219l3.90736-2.31501c.064-.03129.1281-.03129.1922 0l4.0034 2.31501c.1601.0938.3523-.0939.2562-.2503l-1.9216-3.50377c-.0641-.09385 0-.25027.1281-.25027l1.7935-.31283c.1922-.03129.1922-.31284.032-.34412-.8967-.25027-2.4341-.65696-3.6511-.81338.0961-1.12621.4804-2.62783.7687-3.25351.2242-.50053-1.5694-.53182-1.7616 0-.1601.46926-.4483 2.03345-.5444 3.22223-1.24909.12513-2.94654.50054-3.90737.75081-.12811.06256-.12811.31283.03203.34412z"}))),Ae=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",fill:"currentColor",r:"8"}),(0,ie.createElement)(se.Path,{d:"m14.9586 9.09098-3.9304 5.28592-2.27901-1.6946",stroke:"#fff",strokeWidth:"1.5"})),Le=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 3.75h14c.6904 0 1.25.55964 1.25 1.25v14c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-14c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m11.6959 13.9724c.3563-.5469.599-.9586.7281-1.2351.1351-.2765.2027-.5376.2027-.7834 0-.2642-.0768-.47-.2304-.6175-.1475-.1536-.3533-.2304-.6175-.2304-.2949 0-.5684.0707-.8203.212s-.4977.3318-.7373.5714l-.1475-1.1889c.2888-.2335.5899-.4086.9033-.5254.3133-.1167.6605-.1751 1.0414-.1751.3748 0 .6943.0799.9586.2396.2642.1536.4608.3626.5898.6268.1352.2642.2028.556.2028.8755 0 .3626-.0799.7343-.2396 1.1152-.1537.381-.4271.8695-.8203 1.4655l-.7558 1.1521h2.0461v1.1059h-4z"}),(0,ie.createElement)(se.Path,{d:"m3 5c0-1.10457.89543-2 2-2h14c1.1046 0 2 .89543 2 2v2h-18z"}))),Ie=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m11.5 4c-4.692 0-8.5 3.808-8.5 8.5s3.808 8.5 8.5 8.5h4.25v-1.7h-4.25c-3.689 0-6.8-3.111-6.8-6.8s3.111-6.8 6.8-6.8 6.8 3.111 6.8 6.8v1.2155c0 .6715-.6035 1.3345-1.275 1.3345s-1.275-.663-1.275-1.3345v-1.2155c0-2.346-1.904-4.25-4.25-4.25s-4.25 1.904-4.25 4.25 1.904 4.25 4.25 4.25c1.173 0 2.244-.476 3.009-1.2495.5525.7565 1.5045 1.2495 2.516 1.2495 1.6745 0 2.975-1.36 2.975-3.0345v-1.2155c0-4.692-3.808-8.5-8.5-8.5zm0 11.05c-1.411 0-2.55-1.139-2.55-2.55s1.139-2.55 2.55-2.55 2.55 1.139 2.55 2.55-1.139 2.55-2.55 2.55z",fill:"currentColor"})),De=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12.0041 8.15789c2.2592 0 4.0928 1.76843 4.0928 3.94741 0 .5131-.1065.9947-.2947 1.4447l2.3902 2.3053c1.236-.9948 2.2101-2.2816 2.8076-3.75-1.4161-3.46583-4.9113-5.92109-9.0041-5.92109-1.146 0-2.24283.19737-3.25784.55263l1.76804 1.70527c.4666-.18158.9659-.28422 1.498-.28422zm-8.18555-2.15526 1.86631 1.8.37653.36316c-1.3588 1.01842-2.42292 2.37631-3.06139 3.93951 1.4161 3.4658 4.91132 5.921 9.0041 5.921 1.2688 0 2.4802-.2368 3.5853-.6631l.3438.3315 2.3983 2.3053 1.0396-1.0026-14.51298-13.9974zm4.52661 4.36577 1.26876 1.2237c-.04093.1658-.06549.3395-.06549.5132 0 1.3105 1.09687 2.3684 2.45567 2.3684.1801 0 .3602-.0237.5321-.0632l1.2687 1.2237c-.5484.2605-1.1541.4184-1.8008.4184-2.25922 0-4.09278-1.7684-4.09278-3.9473 0-.6237.16371-1.2079.43384-1.7369zm3.52794-.61577 2.5785 2.48687.0163-.1263c0-1.3106-1.0968-2.36846-2.4556-2.36846z",fill:"currentColor"})),Fe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m13 11.9999v-1c0-1.10459-.8954-2.00002-2-2.00002h-4c-1.10457 0-2 .89543-2 2.00002v1"}),(0,ie.createElement)(se.Path,{d:"m4 19.2499h9"}),(0,ie.createElement)(se.Path,{d:"m4 15.2499h16"})),(0,ie.createElement)(se.Circle,{cx:"9",cy:"5",fill:"currentColor",r:"2"})),Ve=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"14.5",rx:"1.25",stroke:"currentColor",strokeWidth:"1.5",width:"8.5",x:"7.75",y:"4.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m11 16h2v1.5h-2z",fill:"currentColor"})),je=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"7.25",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",fill:"currentColor",r:"4"}),(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"4",stroke:"currentColor"})),Ge=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"7.25"}),(0,ie.createElement)(se.Path,{d:"m8 11 3.7141 2.7755c.1781.133.4225.1326.6001-.001l3.6858-2.7745"}))),$e=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 7.25h14c.6904 0 1.25.55964 1.25 1.25v7c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-7c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m16 12.75h-8v-1.5h8z",fill:"currentColor",fillRule:"evenodd"})),He=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m4 8h16c.6904 0 1.25.55964 1.25 1.25v5c0 .6904-.5596 1.25-1.25 1.25h-16c-.69036 0-1.25-.5596-1.25-1.25v-5c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"})),Ue=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(se.Path,{d:"m19.9998 15.5h-16.00004v-1.5h16.00004z"}),(0,ie.createElement)(se.Path,{d:"m15.9998 5.5h-12.00004v-1.5h12.00004z"}),(0,ie.createElement)(se.Path,{d:"m19.9998 10.5h-16.00004v-1.5h16.00004z"}),(0,ie.createElement)(se.Path,{d:"m19.9998 20h-16.00004v-1.5h16.00004z"}))),We=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"7.25",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m10.5018 11.3502 4.4504-2.98515-1.4486 4.72825-4.45583 2.9533z",fill:"currentColor"})),qe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m19 6.75h-14c-.69036 0-1.25.55964-1.25 1.25v8.5c0 .6904.55964 1.25 1.25 1.25h14c.6904 0 1.25-.5596 1.25-1.25v-8.5c0-.69036-.5596-1.25-1.25-1.25z"}),(0,ie.createElement)(se.Path,{d:"m4 7 8 6 8-6"}))),Ye=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"14.5",rx:".875",stroke:"currentColor",strokeWidth:"1.5",width:"14.5",x:"4.75",y:"4.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m5.06667 14.6666 3.9619-2.1334 2.97143 1.4222 3.4667-2.4888 3.4666 2.4888",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m23 18c-.8284 0-1.5-.6716-1.5-1.5v-9c0-.82843.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m1 6c.82843 0 1.5.67157 1.5 1.5v9c0 .8284-.67157 1.5-1.500001 1.5z"}))),Ke=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Rect,{height:"13.5",rx:".875",width:"13.5",x:"7.75",y:"7.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m8 17 3.7143-2 2.7857 1.3333 3.25-2.3333 3.25 2.3333",strokeLinejoin:"round",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m22 3.75h-4.0005c-1.1046 0-1.9995.89543-1.9995 2v1.25m-12.25 15v-3.0002c0-1.1046.89543-1.9998 2-1.9998h1.25m-2-6.25c-1.5 0-2.25-.89543-2.25-2v-4c0-1.10457.89543-2 2-2h4c1.10457 0 2.25.75 2.25 2.25"}))),Ze=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{fill:"none",height:"13.5",rx:".875",stroke:"currentColor",strokeWidth:"1.5",width:"13.5",x:"3.75",y:"3.75"}),(0,ie.createElement)(se.Path,{d:"m4 13 3.71429-2 2.78571 1.3333 3.25-2.3333 3.25 2.3333",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m21.5 11c-.8284 0-1.5-.6716-1.5-1.5v-5c0-.82843.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m21.5 21c-.8284 0-1.5-.6716-1.5-1.5v-5c0-.8284.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m3 21.5c0-.8284.67157-1.5 1.5-1.5h12c.8284 0 1.5.6716 1.5 1.5z"}))),Je=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m20.75 21.75v-1c0-.5523-.4477-1-1-1h-5c-.5523 0-1 .4477-1 1v1"}),(0,ie.createElement)(se.Path,{d:"m10.25 21.75v-1c0-.5523-.44772-1-1-1h-5c-.55228 0-1 .4477-1 1v1"}),(0,ie.createElement)(se.Rect,{height:"13.5",rx:".875",width:"13.5",x:"5.25",y:"2.75"}),(0,ie.createElement)(se.Path,{d:"m5.5 12 3.71429-2 2.78571 1.3333 3.25-2.3333 3.25 2.3333",strokeLinejoin:"round"}))),Xe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"13.5",rx:".875",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m4 13 4.5-2.5 3.5 1.8333 4-3.3333 4 3.3333",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m3 21.5c0-.8284.67157-1.5 1.5-1.5h15c.8284 0 1.5.6716 1.5 1.5z",fill:"currentColor"})),Qe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.25",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m8 4.5-4 5v-5z"}),(0,ie.createElement)(se.Path,{d:"m12 10.5h1v4h-1z"}),(0,ie.createElement)(se.Path,{d:"m10.2 10.5h-2.4c-.48 0-.8.3333-.8.6667v2.6666c0 .3334.32.6667.8.6667h2.4c.48 0 .8-.3333.8-.6667v-1.3333h-1.2v1h-1.6v-2h2.8v-.3333c0-.3334-.32-.6667-.8-.6667z"}),(0,ie.createElement)(se.Path,{d:"m17 11.5v-1h-3v4h1v-1.3333h1.3333v-1h-1.3333v-.6667z"}))),et=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12 3c-4.9725 0-9 4.13206-9 9.2285 0 4.0782 2.5785 7.5366 6.15375 8.7556.45.0869.615-.1985.615-.4438 0-.2192-.0075-.7998-.01125-1.5688-2.5035.5568-3.0315-1.2382-3.0315-1.2382-.4095-1.0651-1.00125-1.3497-1.00125-1.3497-.81525-.5721.063-.5606.063-.5606.90375.0646 1.3785.9505 1.3785.9505.8025 1.4112 2.10675 1.0036 2.62125.7676.081-.5968.3128-1.0036.57-1.2344-1.99875-.2307-4.0995-1.0243-4.0995-4.5604 0-1.0074.34875-1.8303.92625-2.4763-.10125-.23302-.405-1.17125.07875-2.44248 0 0 .75375-.24763 2.475.94593.72-.20534 1.485-.30685 2.25-.31147.765.00462 1.53.10613 2.25.31147 1.71-1.19356 2.4638-.94593 2.4638-.94593.4837 1.27123.18 2.20946.09 2.44248.5737.646.9225 1.4689.9225 2.4763 0 3.5453-2.1038 4.3259-4.1063 4.5527.315.2769.6075.8429.6075 1.7073 0 1.2351-.0112 2.2272-.0112 2.5271 0 .2422.1575.5306.6187.4383 3.6008-1.2104 6.177-4.6711 6.177-8.7432 0-5.09644-4.0297-9.2285-9-9.2285",fill:"currentColor"})),tt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m4 4h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 4h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m18 4h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m4 18h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 18h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m18 18h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m4 11h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m10 10h4v4h-4z"}),(0,ie.createElement)(se.Path,{d:"m18 11h2v2h-2z"}))),ot=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.25",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m5 15.25h14c.6904 0 1.25.5596 1.25 1.25v2.5c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-2.5c0-.6904.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m4 4h16v11h-16z",fill:"currentColor"})),nt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m6 22h8v-1.5h-8z"}),(0,ie.createElement)(se.Path,{d:"m13.1758 2.46347c-2.1834 3.59813-4.63759 7.27765-6.46611 10.71183-.08879.1668-.0675.1566-.05735.2834.12017.985.57349 2.8924.57349 2.8924s-.82048 1.913-1.22583 2.6489h2.4c.27105-.3982.5519-1.0806.78287-1.4935.28752-.0817 1.90663-.5383 2.75273-.9084.1162-.0508.144-.0958.2151-.1962 2.0301-3.6693 3.8383-7.45927 5.7349-11.1769.2357-.55654.1087-1.07052-.3943-1.35894-.9591-.56757-1.9166-1.13821-2.8746-1.70778-.5347-.27141-1.0654-.20883-1.4409.30519zm-5.42348 11.82773c-.03001-.1268.10567-.2255.21813-.1598l2.79925 1.6362c.1099.0643.0947.2271-.0257.2686-.584.2016-1.17592.3838-1.53469.4923-.03989.0121-.08273.0069-.11871-.0142l-.91474-.5345c-.03871-.0226-.0652-.0613-.07265-.1055-.09848-.5844-.23671-1.1009-.35089-1.5831z"}))),lt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m10.389 3.26543 3.2192-.00042c.0835-.00006.1661.01633.2432.04823s.1472.07869.2062.13769c.059.05899.1057.12904.1376.20614.0319.07709.0483.15973.0483.24317l.0017 3.85454-2.2452 2.24522-2.24463-2.24463.0005-3.85679c.00052-.16774.0674-.32849.18603-.44712.1186-.11863.2794-.18551.4471-.18603z"}),(0,ie.createElement)(se.Path,{d:"m13.611 20.7346-3.2192.0004c-.0835 0-.1661-.0163-.2432-.0482s-.1472-.0787-.20616-.1377c-.059-.059-.10578-.1291-.13769-.2062-.0319-.0771-.04829-.1597-.04823-.2431l-.00174-3.8546 2.24522-2.2452 2.2446 2.2446-.0005 3.8568c-.0005.1678-.0674.3285-.186.4471-.1186.1187-.2794.1855-.4471.1861z"}),(0,ie.createElement)(se.Path,{d:"m20.7346 10.389.0004 3.2192c0 .0835-.0163.1661-.0482.2432s-.0787.1472-.1377.2062-.1291.1057-.2062.1376-.1597.0483-.2431.0483l-3.8546.0017-2.2452-2.2452 2.2446-2.24463 3.8568.0005c.1678.00052.3285.0674.4471.18603.1187.1186.1855.2794.1861.4471z"}),(0,ie.createElement)(se.Path,{d:"m3.26543 13.611-.00042-3.2192c-.00006-.0835.01633-.1661.04823-.2432s.07869-.1472.13769-.20616c.05899-.059.12904-.10578.20614-.13769.07709-.0319.15973-.04829.24317-.04823l3.85454-.00174 2.24522 2.24522-2.24463 2.2446-3.85679-.0005c-.16774-.0005-.32849-.0674-.44712-.186s-.18551-.2794-.18603-.4471z"}))),rt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12.0026 7.67357c-2.3621 0-4.25762 1.92468-4.25762 4.25763 0 2.3621 1.92468 4.2576 4.25762 4.2576 2.3621 0 4.2576-1.9247 4.2576-4.2576 0-2.33295-1.8955-4.25763-4.2576-4.25763zm.3208 5.36573-.9624.9624-.9623-.9624-.93318-.9331.96238-.9624.9331.9332 2.2163-2.2163.9624.9623zm8.1944-2.3037c-.3791-.35-.5249-.90406-.3207-1.37065l.1749-.43742c.2917-.67072-.0875-1.42893-.7873-1.63306l-.4666-.11665c-.4958-.14581-.8457-.58324-.8749-1.10815v-.49575c-.0291-.72904-.6999-1.25396-1.3997-1.13731l-.4666.08749c-.5249.08748-1.0207-.14581-1.254-.6124l-.2333-.40827c-.3499-.64155-1.1665-.81653-1.7497-.40826l-.3791.26246c-.4083.29161-.9915.29161-1.3998 0l-.3791-.29162c-.5832-.43743-1.42889-.2333-1.77883.40826l-.23329.40827c-.26246.46659-.75821.69988-1.28312.6124l-.46659-.08749c-.72905-.11665-1.37061.40826-1.42893 1.13731l-.02916.46659c-.02916.52491-.3791.96234-.87485 1.10815l-.46659.1458c-.69989.20414-1.07899.96234-.78737 1.63306l.17497.43743c.20413.46659.05832 1.02071-.32078 1.37061l-.34994.3208c-.55408.4666-.55408 1.3414 0 1.808l.34994.3208c.3791.3499.52491.904.32078 1.3706l-.17497.4374c-.29162.6707.08748 1.4289.78737 1.6331l.46659.1166c.49575.1458.84569.5833.87485 1.1082l.02916.4666c.02916.729.69988 1.2539 1.39977 1.1373l.46658-.0875c.52492-.0875 1.02067.1458 1.25396.6124l.2333.4082c.34994.6416 1.16645.8166 1.74975.4083l.3791-.2624c.4082-.2917.9915-.2917 1.3997 0l.3791.2916c.5833.4374 1.429.2333 1.7789-.4083l.2333-.4083c.2624-.4665.7582-.6998 1.2831-.6124l.4666.0875c.729.1167 1.3706-.4082 1.4289-1.1373l.0292-.4666c.0291-.5249.3791-.9623.8748-1.1081l.4666-.1167c.6999-.2041 1.079-.9623.7874-1.633l-.175-.4375c-.2041-.4665-.0583-1.0206.3208-1.3706l.3499-.3207c.5541-.4666.5541-1.3415 0-1.8081zm-8.5152 7.1154c-3.26612 0-5.89068-2.6537-5.89068-5.8906 0-3.26617 2.65372-5.89073 5.89068-5.89073 3.2661 0 5.8907 2.65372 5.8907 5.89073 0 3.2369-2.6246 5.8906-5.8907 5.8906z",fill:"currentColor"})),at=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m19.6976 16.8149-4.5045 2.7755c-.1023.0623-.219.0952-.338.0952-.1189 0-.2356-.0329-.3379-.0952l-3.2947-2.0192c.2929-.5543.4809-1.1606.5542-1.7867l3.2233 2.0124v-9.50002l-5.46036-3.34376v6.29688c-.4582-.4688-1.23302-.6921-2.00388-.7355-.09631 0-.19431-.0087-.29399-.0087-.09969 0-.19938 0-.29569.0087-.85883.0493-1.7495.4304-2.44608.9485v-4.963c-.0002-.11068.02756-.21953.08057-.31591s.12945-.177.22187-.23399l4.56823-2.85494c.10228-.06229.21901-.09516.33793-.09516s.23564.03287.3379.09516l4.807 2.96287 4.6025-2.83623c.0546-.03341.1169-.05136.1804-.05203.0636-.00067.1263.01598.1815.04824.0553.03225.1013.07897.1333.1354s.0488.12055.0488.18584v12.72755c-.0001.1103-.028.2188-.081.3149-.053.096-.1293.1764-.2214.2332zm-10.15796.8309-2.01909 2.2291c-.03574.0395-.07901.071-.12712.0925s-.10003.0326-.15251.0326-.10439-.0111-.15251-.0326c-.04811-.0215-.09138-.053-.12712-.0925l-2.01908-2.2291c-.46748-.5034-.77835-1.1384-.893-1.8239-.11465-.6856-.02788-1.3906.24925-2.0254.24163-.5429.62326-1.0077 1.10363-1.344.48036-.3364 1.04116-.5314 1.62172-.5641h.21796.21795c.58056.0327 1.14136.2277 1.62172.5641.48037.3363.862.8011 1.10366 1.344.2769.6349.3634 1.3401.2484 2.0256-.1149.6856-.4261 1.3205-.89386 1.8237zm-.81102-2.4164c0-.3019-.0872-.5971-.25058-.8481s-.39559-.4467-.66728-.5622c-.27169-.1156-.57064-.1458-.85907-.0869-.28842.0589-.55335.2043-.76129.4178s-.34955.4855-.40692.7816-.02793.603.08461.882c.11254.2789.30311.5173.54762.6851.24451.1677.53198.2572.82606.2572.19539 0 .38888-.0395.56938-.1163.18051-.0769.34449-.1895.48258-.3314s.24757-.3104.3222-.4958c.07462-.1854.11291-.3841.11269-.5847z",fill:"currentColor"})),ct=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m15.75 18v1.75c0 .5523-.4477 1-1 1h-10c-.55228 0-1-.4477-1-1v-15c0-.55228.44772-1 1-1h10c.5523 0 1 .44959 1 1.00188 0 2.11305 0 1.45031 0 1.24812",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"8",rx:"1",width:"8",x:"12",y:"8"})),it=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m6.5 0h-5c-.825 0-1.5.61363636-1.5 1.36363636v9.27272724c0 .75.675 1.3636364 1.5 1.3636364h5c.825 0 1.5-.6136364 1.5-1.3636364v-9.27272724c0-.75-.675-1.36363636-1.5-1.36363636zm-.5 10h-4v-8h4z",transform:"translate(4 2)"})),st=(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m13 10.5h-8c-.27614 0-.5.2239-.5.5v8c0 .2761.22386.5.5.5h8c.2761 0 .5-.2239.5-.5v-8c0-.2761-.2239-.5-.5-.5zm-8-1.5h8c1.1046 0 2 .89543 2 2v8c0 1.1046-.8954 2-2 2h-8c-1.10457 0-2-.8954-2-2v-8c0-1.10457.89543-2 2-2z",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{d:"m7.67708 16.8438v-3.6875l3.07292 1.8437z"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m9.03508 5c0-1.10457.89543-2 2.00002-2h7.9649c1.1046 0 2 .89543 2 2v8c0 1.1046-.8954 2-2 2h-1.9961v-1.5h1.9961c.2761 0 .5-.2239.5-.5v-2.838l-1.728-1.59293-.9927 1.11671c-.1351.15198-.3261.24259-.5292.25107-.2032.00848-.4011-.06589-.5484-.20609l-2.0421-1.9437-2.3585 2.55494-1.1022-1.01737 2.875-3.11459c.1363-.14762.3261-.2344.5269-.24089.2008-.0065.3958.06784.5413.20634l2.0317 1.93375.9844-1.10751c.1337-.15043.3223-.2408.5233-.2508s.3976.06121.5456.19762l1.2729 1.17337v-3.12192c0-.27614-.2239-.5-.5-.5h-7.9649c-.2762 0-.5.22386-.5.5v1.98438h-1.50002z",fillRule:"evenodd"}))),ut=(0,ie.createElement)(se.SVG,{"view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m8.5 8.5 3.5-3.5 3.5 3.5",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m15.5 15.5-3.5 3.5-3.5-3.5",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m11.25 18.0625v-12.25h1.5v12.25z"})),dt=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M.59 12c0-1.152.927-2.085 2.07-2.085 1.144 0 2.07.933 2.07 2.085a2.078 2.078 0 01-2.07 2.085A2.077 2.077 0 01.59 12zm14.54 2.085A2.077 2.077 0 0113.06 12c0-1.152.927-2.085 2.07-2.085 1.143 0 2.07.933 2.07 2.085a2.078 2.078 0 01-2.07 2.085zm0-10.426c-4.572 0-8.28 3.735-8.28 8.34 0 4.608 3.707 8.342 8.28 8.342 4.573 0 8.28-3.734 8.28-8.341 0-4.606-3.707-8.34-8.28-8.34z",fillRule:"evenodd"})),mt=((0,ie.createElement)(se.SVG,{fill:"none",height:"25",viewBox:"0 0 24 25",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m14.5314 1v1.49242h-2.0067v-1.49242zm4.9776 0c1.0996 0 1.991.89091 1.991 1.98989h-1.4933c0-.27475-.2228-.49747-.4977-.49747zm-1.4933 1.49242v-1.49242h-2.0067v1.49242zm1.991 10.94438v-1.9899h1.4933v1.9899zm0-3.4823h1.4933v-1.98989h-1.4933zm-.4977 5.4722c.2749 0 .4977-.2227.4977-.4975h1.4933c0 1.099-.8914 1.9899-1.991 1.9899zm1.991-8.95451h-1.4933v-1.98989h1.4933zm-10.4063-5.47219c-1.09964 0-1.99105.89091-1.99105 1.98989h1.49325c0-.27475.2229-.49747.4978-.49747zm-2.16208 4.87109 7.54938 7.54501v5.9282c0 .2976-.2415.5389-.5393.5389h-10.78475c-.29781 0-.53923-.2413-.53923-.5389v-12.93428c0-.29764.24142-.53893.53923-.53893zm5.39238-1.61678h-7.01009-2.15696c-1.19125 0-2.15695.96514-2.15695 2.15571v12.93428c0 1.1906.9657 2.1557 2.15695 2.1557h10.78475c1.1913 0 2.157-.9651 2.157-2.1557v-4.3114-7.0061-1.61678c0-1.19057-.9657-2.15571-2.157-2.15571z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m17.9584 12.5417-7.5833-7.58336h-3.79169c-.29915 0-.54166.24251-.54166.54166v13c0 .2991.24251.5417.54166.5417h10.83329c.2992 0 .5417-.2426.5417-.5417zm-9.20832-9.20836h7.04162 1.625c1.1967 0 2.1667.97005 2.1667 2.16666v1.625 7.0417 4.3333c0 1.1967-.97 2.1667-2.1667 2.1667h-10.83329c-1.19661 0-2.16666-.97-2.16666-2.1667v-13c0-1.19661.97005-2.16666 2.16666-2.16666z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m20.1658 18.312c0 .9283-.7596 1.6879-1.688 1.6879-.9283 0-1.6879-.7596-1.6879-1.6879 0-.9284 1.6879-3.3758 1.6879-3.3758s1.688 2.4474 1.688 3.3758z",fill:"currentColor",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m4.97449 13c0 .422.16879.844.42198 1.1815l4.30419 4.3042c.67514.6752 1.68794.6752 2.36304 0l4.3042-4.3042c.2532-.3375.422-.7595.422-1.1815z",fill:"currentColor",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{d:"m7.92839 3.71155 6.66731 6.66725m-4.895 8.2708-4.30419-4.3042c-.67517-.6751-.67517-1.6879 0-2.3631l5.48569-5.3169 5.4014 5.4013c.6752.6752.6752 1.688 0 2.3631l-4.3042 4.3042c-.5908.5908-1.6035.5908-2.2787-.0844z",stroke:"currentColor",strokeWidth:"1.5"}))),ht=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m6 4.75h12c.6904 0 1.25.55964 1.25 1.25v12c0 .6904-.5596 1.25-1.25 1.25h-12c-.69036 0-1.25-.5596-1.25-1.25v-12c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m7 9h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m7 13h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m10 9h7v2h-7z"}),(0,ie.createElement)(se.Path,{d:"m10 13h7v2h-7z"}),(0,ie.createElement)(se.Path,{d:"m23 18c-.8284 0-1.5-.6716-1.5-1.5v-9c0-.82843.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m1 6c.82843 0 1.5.67157 1.5 1.5v9c0 .8284-.67157 1.5-1.500001 1.5z"}))),pt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"8",rx:"1",width:"8",x:"3",y:"3"}),(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"8",rx:"1",width:"8",x:"13",y:"3"}),(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m13 18.25h5"}),(0,ie.createElement)(se.Path,{d:"m13 14.25h7"}),(0,ie.createElement)(se.Path,{d:"m3 18.25h5"}),(0,ie.createElement)(se.Path,{d:"m3 14.25h7"}))),bt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(se.Path,{d:"m18 4.5h-12c-.27614 0-.5.22386-.5.5v14.5c0 .2761.22386.5.5.5h12c.2761 0 .5-.2239.5-.5v-14.5c0-.27614-.2239-.5-.5-.5zm-12-1.5h12c1.1046 0 2 .89543 2 2v14.5c0 1.1046-.8954 2-2 2h-12c-1.10457 0-2-.8954-2-2v-14.5c0-1.10457.89543-2 2-2z"}),(0,ie.createElement)(se.Path,{d:"m10.9123 9.87699c-.3141.21991-.4123.45171-.4123.62301s.0982.4031.4123.623c.3118.2182.7824.377 1.3377.377v1.5c-.8254 0-1.6048-.233-2.1979-.6481-.59069-.4135-1.0521-1.0567-1.0521-1.8519 0-.79516.46141-1.43835 1.0521-1.85186.5931-.41517 1.3725-.64814 2.1979-.64814s1.6048.23297 2.1979.64814c.5907.41351 1.0521 1.0567 1.0521 1.85186 0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75c0-.1713-.0982-.4031-.4123-.62301-.3118-.21821-.7824-.37699-1.3377-.37699s-1.0259.15878-1.3377.37699z"}),(0,ie.createElement)(se.Path,{d:"m13.5877 14.623c.3141-.2199.4123-.4517.4123-.623s-.0982-.4031-.4123-.623c-.3118-.2182-.7824-.377-1.3377-.377v-1.5c.8254 0 1.6048.233 2.1979.6481.5907.4135 1.0521 1.0567 1.0521 1.8519s-.4614 1.4384-1.0521 1.8519c-.5931.4151-1.3725.6481-2.1979.6481s-1.6048-.233-2.1979-.6481c-.59069-.4135-1.0521-1.0567-1.0521-1.8519 0-.4142.33579-.75.75-.75.4142 0 .75.3358.75.75 0 .1713.0982.4031.4123.623.3118.2182.7824.377 1.3377.377s1.0259-.1588 1.3377-.377z"}),(0,ie.createElement)(se.Path,{d:"m12.25 15.5c.4142 0 .75.3358.75.75v.5c0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75v-.5c0-.4142.3358-.75.75-.75z"}),(0,ie.createElement)(se.Path,{d:"m12.25 7c.4142 0 .75.33579.75.75v.5c0 .41421-.3358.75-.75.75s-.75-.33579-.75-.75v-.5c0-.41421.3358-.75.75-.75z"}))),gt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(se.Path,{d:"m16 3h-10c-.27614 0-.5.22386-.5.5v13.5c0 .2761.22386.5.5.5h10c.2761 0 .5-.2239.5-.5v-13.5c0-.27614-.2239-.5-.5-.5zm-10-1.5h10c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-10c-1.10457 0-2-.8954-2-2v-13.5c0-1.10457.89543-2 2-2z"}),(0,ie.createElement)(se.Path,{d:"m9.91233 7.87699c-.31409.21986-.41233.45167-.41233.62301s.09824.40315.41233.62301c.31177.21821.78237.37699 1.33767.37699v1.5c-.8254 0-1.60477-.233-2.19786-.6481-.59073-.41355-1.05214-1.05674-1.05214-1.8519s.46141-1.43835 1.05214-1.85186c.59309-.41517 1.37246-.64814 2.19786-.64814s1.6048.23297 2.1979.64814c.5907.41351 1.0521 1.0567 1.0521 1.85186 0 .41421-.3358.75-.75.75s-.75-.33579-.75-.75c0-.17134-.0982-.40315-.4123-.62301-.3118-.21821-.7824-.37699-1.3377-.37699s-1.0259.15878-1.33767.37699z"}),(0,ie.createElement)(se.Path,{d:"m12.5877 12.623c.3141-.2199.4123-.4517.4123-.623s-.0982-.4031-.4123-.623c-.3118-.2182-.7824-.377-1.3377-.377v-1.5c.8254 0 1.6048.23297 2.1979.6481.5907.4135 1.0521 1.0567 1.0521 1.8519s-.4614 1.4384-1.0521 1.8519c-.5931.4151-1.3725.6481-2.1979.6481s-1.60477-.233-2.19786-.6481c-.59073-.4135-1.05214-1.0567-1.05214-1.8519 0-.4142.33579-.75.75-.75s.75.3358.75.75c0 .1713.09824.4031.41233.623.31177.2182.78237.377 1.33767.377s1.0259-.1588 1.3377-.377z"}),(0,ie.createElement)(se.Path,{d:"m11.25 13.5c.4142 0 .75.3358.75.75v.5c0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75v-.5c0-.4142.3358-.75.75-.75z"}),(0,ie.createElement)(se.Path,{d:"m11.25 5c.4142 0 .75.33579.75.75v.5c0 .41421-.3358.75-.75.75s-.75-.33579-.75-.75v-.5c0-.41421.3358-.75.75-.75z"})),(0,ie.createElement)(se.Path,{d:"m20.25 8.25v11c0 1.1046-.8954 2-2 2h-8",stroke:"currentColor",strokeWidth:"1.5",fill:"none"})),ft=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m3.75 18v-12c0-.69036.55964-1.25 1.25-1.25h14c.6904 0 1.25.55964 1.25 1.25v12c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m3 15h6v18h-6z",fill:"currentColor",transform:"matrix(0 -1 1 0 -12 18)"})),vt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m4 20.25h16",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m4 16.25h9",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"9",rx:"2",width:"16",x:"4",y:"4"})),_t=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m4 20.25h16"}),(0,ie.createElement)(se.Path,{d:"m4 16.25h9"}),(0,ie.createElement)(se.Path,{d:"m22.25 9.5v-5.75c0-1.10457-.8954-2-2-2h-12.75"})),(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"9",rx:"2",width:"16",x:"4",y:"4"})),kt=(0,ie.createElement)(se.SVG,{"view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m8.5 9.5c0-.82843-.67157-1.5-1.5-1.5s-1.5.67157-1.5 1.5c0 .8284.67157 1.5 1.5 1.5s1.5-.6716 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m13.5 14.5c0-.8284-.6716-1.5-1.5-1.5s-1.5.6716-1.5 1.5.6716 1.5 1.5 1.5 1.5-.6716 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m18.5 9.5c0-.82843-.6716-1.5-1.5-1.5s-1.5.67157-1.5 1.5c0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m16.5 5h1v13.825h-1z"}),(0,ie.createElement)(se.Path,{d:"m6.5 5h1v14h-1z"}),(0,ie.createElement)(se.Path,{d:"m11.5 5h1v14h-1z"})),yt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m19.5 8.5v11h-15v-5-2c0 3.5 3.5 3.5 5 3.5 3 0 3.5-3.0452 5-5 1.2022-1.56673 3.2746-2.39739 5-2.5z",fill:"currentColor",fillRule:"evenodd"})),wt=((0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m15.5 6-8 6 8 6",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Rect,{height:"4",rx:"1",width:"4",x:"5",y:"10"}),(0,ie.createElement)(se.Rect,{height:"4",rx:"1",width:"4",x:"15",y:"4"}),(0,ie.createElement)(se.Rect,{height:"4",rx:"1",width:"4",x:"15",y:"16"}))),(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 25",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{fill:"none",d:"m12.5 17v-2c0-1.1046-.8954-2-2-2h-4c-1.10457 0-2 .8954-2 2v2",stroke:"currentColor",strokeWidth:"1.5"}),(0,ie.createElement)(se.Path,{d:"m19.5 17v-1c0-1.1046-.8954-2-2-2h-2.5",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,ie.createElement)(se.Circle,{cx:"15.5",cy:"10",fill:"currentColor",r:"2"}),(0,ie.createElement)(se.Circle,{cx:"8.5",cy:"9",fill:"currentColor",r:"2"}),(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}))),Et=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"})),xt=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m11.25 0h-9c-.825 0-1.5.61363636-1.5 1.36363636v13.27272724c0 .75.675 1.3636364 1.5 1.3636364h9c.825 0 1.5-.6136364 1.5-1.3636364v-13.27272724c0-.75-.675-1.36363636-1.5-1.36363636zm-.5 14h-8v-12h8z",transform:"translate(1.25)"})),Ct=((0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m7.34532 7.19644c.03127-.69843.67672-1.20533 1.36267-1.07017l8.89421 1.75261c.6859.13516 1.0908.84904.8547 1.50713l-3.8044 10.60739c-.1909.5322-.7422.8448-1.2968.7355l-5.59369-1.1022c-.55466-.1093-.94606-.6077-.92076-1.1725z",stroke:"currentColor",strokeWidth:"1.4",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m18.7958.00018311-14.7958 6.08966689.76121 1.84948 14.79579-6.08967z"}),(0,ie.createElement)(se.Path,{d:"m13.5123 2.17454s-.9464.38951-2.1138.86999c-1.1673.48043-2.11357.86993-2.11357.86993-.48046-1.16736.0764-2.50318 1.24367-2.983611 1.1674-.480475 2.5032.076331 2.9837 1.243691z"}),(0,ie.createElement)(se.Path,{d:"m6.5 17 10-4-2.5 7-7-1z"}))),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m6.33693 7.16999c-.02446-.16261-.01354-.3286.03202-.48661.04555-.15801.12466-.30433.23193-.42898.10727-.12464.24018-.22467.38964-.29325.14946-.06859.31196-.10411.47641-.10416h9.06497c.7 0 1.235.622 1.13 1.313l-1.681 11.14301c-.0407.2706-.1771.5176-.3844.6961-.2074.1786-.4719.2768-.7456.2769h-5.70197c-.27363-.0001-.53816-.0983-.74552-.2769-.20736-.1785-.34378-.4255-.38448-.6961z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m20 4.99999h-16v2h16zm-5.714 0h-4.572c0-.60629.24085-1.18774.6696-1.61645.4287-.4287 1.0101-.66955 1.6164-.66955s1.1877.24085 1.6164.66955c.4288.42871.6696 1.01016.6696 1.61645z",fill:"currentColor"})),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m20.9644 6.21958c-.6699.29445-1.3852.49504-2.1383.58663.7675-.46249 1.3579-1.19144 1.6372-2.06117-.7198.4201-1.5177.72591-2.3669.89623-.6783-.72592-1.6449-1.18009-2.7183-1.18009-2.0566 0-3.7241 1.66756-3.7241 3.72192 0 .29521.034.57907.0961.85082-3.09594-.1461-5.83988-1.63275-7.67624-3.88013-.32322.54652-.50413 1.1816-.50413 1.87345 0 1.29439.65854 2.43208 1.6562 3.10046-.61085-.0197-1.18538-.18772-1.68648-.46627v.04617c0 1.8053 1.28152 3.3109 2.98692 3.6538-.31262.084-.64265.1294-.981.1294-.23769 0-.46553-.0227-.69337-.0651.47764 1.4784 1.85074 2.5563 3.485 2.5865-1.27168.9985-2.88322 1.5934-4.61891 1.5934-.29521 0-.58966-.0174-.88563-.0507 1.65696 1.0552 3.60913 1.6721 5.72027 1.6721 6.85347 0 10.59657-5.6741 10.59657-10.5867 0-.1582 0-.31792-.0114-.47688.7274-.52154 1.3625-1.18084 1.8621-1.9287z",fill:"currentColor"}))),St=(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m5 18.5v1.5h14v-1.5h-7z"}),(0,ie.createElement)(se.Path,{d:"m11.1155 4-4.88894 12.4444h2l.99556-2.6666h5.55558l.9955 2.6666h2l-4.88-12.4444zm-1.22672 8 2.11552-5.62667 2.1156 5.62667z"})));const zt=[{slug:"coblocks-galleries",title:(0,le.__)("Galleries","coblocks")},...(0,ne.getCategories)().filter((e=>{let{slug:t}=e;return"coblocks-galleries"!==t}))];ae()?(0,ne.registerBlockCollection)("coblocks",{title:"CoBlocks",icon:fe}):zt.unshift({slug:"coblocks",title:"CoBlocks",icon:fe}),(0,ne.setCategories)(zt);var Tt=o(8718),Pt=o.n(Tt),Nt=o(7361),Bt=o.n(Nt),Ot=o(998),Rt=o.n(Ot),Mt=window.wp.blob;const At=(e,t)=>{const o=Pt()(e,["alt","id","link","caption","imgLink"]);o.url=Bt()(e,["sizes","large","url"])||Bt()(e,["media_details","sizes","large","source_url"])||e.url;const n=Rt()(t,(function(e){return e.url===o.url}));return o.imgLink=n>=0?t[n].imgLink:"",o},Lt=["image"],It=e=>{var t;const o=null!==(t=null==e?void 0:e.size)&&void 0!==t?t:e;return RegExp(/([a-z])/).test(o)?o:o+"px"},Dt=(e=>{let t=0,o=0,n=0;switch(e.length){case 4:t="0x"+e[1]+e[1],o="0x"+e[2]+e[2],n="0x"+e[3]+e[3];break;case 7:t="0x"+e[1]+e[2],o="0x"+e[3]+e[4],n="0x"+e[5]+e[6]}return`${+t}, ${+o}, ${+n}`})(getComputedStyle(document.documentElement).getPropertyValue("--wp-admin-theme-color").trim());function Ft(){return Ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Ft.apply(this,arguments)}function Vt(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}document.documentElement.style.setProperty("--wp-admin-theme-color-rgb",Dt);const jt=[{className:"fadeIn",label:(0,le.__)("Fade in","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("path",{d:"m7.99992 12.6667c-.36667 0-.66667.3-.66667.6667 0 .3666.3.6666.66667.6666s.66667-.3.66667-.6666c0-.3667-.3-.6667-.66667-.6667zm0 2.6667c-.36667 0-.66667.3-.66667.6666 0 .3667.3.6667.66667.6667s.66667-.3.66667-.6667c0-.3666-.3-.6666-.66667-.6666zm0-5.3334c-.36667 0-.66667.3-.66667.6667s.3.6667.66667.6667.66667-.3.66667-.6667-.3-.6667-.66667-.6667zm0-2.66663c-.36667 0-.66667.3-.66667.66667s.3.66667.66667.66667.66667-.3.66667-.66667-.3-.66667-.66667-.66667zm5.33338 1.33334c.3666 0 .6666-.3.6666-.66667s-.3-.66667-.6666-.66667c-.3667 0-.6667.3-.6667.66667s.3.66667.6667.66667zm-2.6667 0c.3667 0 .6667-.3.6667-.66667s-.3-.66667-.6667-.66667-.66668.3-.66668.66667.29998.66667.66668.66667zm0 3.66669c-.5533 0-1.00001.4466-1.00001 1 0 .5533.44671 1 1.00001 1s1-.4467 1-1c0-.5534-.4467-1-1-1zm5.3333.3333c-.3666 0-.6666.3-.6666.6667 0 .3666.3.6666.6666.6666.3667 0 .6667-.3.6667-.6666 0-.3667-.3-.6667-.6667-.6667zm0 2.6667c-.3666 0-.6666.3-.6666.6666 0 .3667.3.6667.6666.6667.3667 0 .6667-.3.6667-.6667 0-.3666-.3-.6666-.6667-.6666zm0-5.3334c-.3666 0-.6666.3-.6666.6667s.3.6667.6666.6667c.3667 0 .6667-.3.6667-.6667s-.3-.6667-.6667-.6667zm0-2.66663c-.3666 0-.6666.3-.6666.66667s.3.66667.6666.66667c.3667 0 .6667-.3.6667-.66667s-.3-.66667-.6667-.66667zm-2.6666 8.00003c-.3667 0-.6667.3-.6667.6666 0 .3667.3.6667.6667.6667.3666 0 .6666-.3.6666-.6667 0-.3666-.3-.6666-.6666-.6666zm-2.6667-5.66669c-.5533 0-1.00001.44669-1.00001.99999s.44671 1 1.00001 1 1-.4467 1-1-.4467-.99999-1-.99999zm0 5.66669c-.3667 0-.66668.3-.66668.6666 0 .3667.29998.6667.66668.6667s.6667-.3.6667-.6667c0-.3666-.3-.6666-.6667-.6666zm2.6667-3c-.5534 0-1 .4466-1 1 0 .5533.4466 1 1 1 .5533 0 1-.4467 1-1 0-.5534-.4467-1-1-1zm0-2.66669c-.5534 0-1 .44669-1 .99999s.4466 1 1 1c.5533 0 1-.4467 1-1s-.4467-.99999-1-.99999z",fill:"currentColor"}))},{className:"zoomIn",label:(0,le.__)("Zoom in","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("rect",{height:"10.5",rx:"1.25",stroke:"currentColor",strokeOpacity:".75",strokeWidth:"1.5",width:"10.5",x:"6.75",y:"6.75",fill:"none"}),(0,ie.createElement)("rect",{fill:"currentColor",fillOpacity:".25",height:"4",rx:".5",width:"4",x:"10",y:"10"}))},{className:"slideInLeft",label:(0,le.__)("Slide in from left","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{clipRule:"evenodd",d:"m10.4375 16.3732 4.5625-4.546-4.5606-4.5772-1.0626 1.05873 3.5019 3.51457-3.49998 3.4873z",fillRule:"evenodd"}),(0,ie.createElement)("path",{d:"m13.5487 11.0606v1.5h-9.81249v-1.5z"})))},{className:"slideInRight",label:(0,le.__)("Slide in from right","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",transform:"matrix(-1 0 0 1 19.5 3)",width:"16.5",x:"-.75",y:".75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{clipRule:"evenodd",d:"m13.5625 16.3732-4.5625-4.546 4.5606-4.5772 1.0626 1.05873-3.5019 3.51457 3.5 3.4873z",fillRule:"evenodd"}),(0,ie.createElement)("path",{d:"m10.4513 11.0606v1.5h9.8125v-1.5z"})))},{className:"slideInBottom",label:(0,le.__)("Slide in from bottom","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{clipRule:"evenodd",d:"m16.5626 13.2363-4.5459-4.56259-4.57725 4.56059 1.05874 1.0626 3.51461-3.5019 3.4872 3.5z",fillRule:"evenodd"}),(0,ie.createElement)("path",{d:"m11.2501 10.125h1.5v9.8125h-1.5z"})))},{className:"clipHorizontal",label:(0,le.__)("Clip horizontally","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{d:"m9 12.0698h8v11h-8z",transform:"matrix(0 -1 1 0 -3.0698 21.0698)"}),(0,ie.createElement)("path",{d:"m4 20.0698h8v11h-8z",transform:"matrix(0 -1 1 0 -16.0698 24.0698)"})))},{className:"clipVertical",label:(0,le.__)("Clip vertically","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{d:"m12 4h7.5v11h-7.5z"}),(0,ie.createElement)("path",{d:"m4.5 9h7.5v11h-7.5z"})))}];var Gt=window.lodash,$t=o.n(Gt),Ht=o(4184),Ut=o.n(Ht),Wt=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),qt=window.wp.coreData,Yt=window.wp.blockEditor,Kt=window.wp.compose,Zt=window.wp.components;function Jt(e){let{hoveredAnimation:t,selected:o}=e;if(!t)return null;const n=$t().cloneDeep(o);return n.attributes.animation=t,(0,ie.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},(0,ie.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},(0,ie.createElement)(Zt.Popover,{className:"block-editor-block-switcher__preview__popover",focusOnMount:!1,position:"bottom right"},(0,ie.createElement)("div",{className:"block-editor-block-switcher__preview coblocks__preview"},(0,ie.createElement)("div",{className:"block-editor-block-switcher__preview-title"},(0,le.__)("Preview animation")),(0,ie.createElement)(Yt.BlockPreview,{autoHeight:!0,blocks:{...n}}),(0,ie.createElement)(Zt.Tip,null,(0,le.__)("Animations occur as a visitor scrolls this block into view.","coblocks"))))))}class Xt extends ie.Component{constructor(){var e;super(...arguments),e=this,Vt(this,"onChangeHoveredAnimation",(e=>{this.setState({hoveredAnimation:e})})),Vt(this,"onAnimationClick",(function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{setAttributes:n}=e.props;return()=>{e.setState({hoveredAnimation:null}),n({animation:o}),t()}})),this.state={hoveredAnimation:null}}render(){const{attributes:{animation:e},selected:t}=this.props,{hoveredAnimation:o}=this.state;return(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)(Zt.DropdownMenu,{className:Ut()("components-coblocks-animation-toggle",e?"has-animation":""),icon:he,label:(0,le.__)("Add animation","coblocks"),noIcons:!0,popoverProps:{className:"components-coblocks-animation-dropdown"}},(n=>{let{onClose:l}=n;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.MenuGroup,null,(0,ie.createElement)(Jt,{hoveredAnimation:o,selected:t}),jt.map((t=>(0,ie.createElement)(Zt.MenuItem,{icon:e===t.className?Wt:t.icon,isSelected:e===t.className,key:`coblocks-animation-${t.className}`,label:t.label,onClick:this.onAnimationClick(l,t.className),onMouseEnter:()=>this.onChangeHoveredAnimation(t.className),onMouseLeave:()=>this.onChangeHoveredAnimation(null),role:"menuitemradio"},t.label)))),e&&(0,ie.createElement)(Zt.MenuGroup,null,(0,ie.createElement)(Zt.MenuItem,{isSelected:!1,label:(0,le.__)("Remove animation","coblocks"),onClick:this.onAnimationClick(l),role:"menuitemradio"},(0,le.__)("Remove animation","coblocks"))))}))))}}var Qt=(0,Kt.compose)([(0,Kt.ifCondition)((()=>{const[e]=(0,qt.useEntityProp)("root","site","coblocks_animation_controls_enabled");return e}))])(Xt),eo=(o(8140),window.wp.plugins);const to="CoBlocksSettingsModalControl",{Fill:oo,Slot:no}=(0,Zt.createSlotFill)(to),lo=oo;lo.Slot=function(e){let{children:t}=e;const o=(0,Zt.__experimentalUseSlot)(to);return Boolean(o.fills&&o.fills.length)?(0,ie.createElement)(no,{bubblesVirtually:!0}):t};var ro=lo,ao=function(e){let{label:t,help:o,settingsKey:n}=e;const[l,r]=(0,qt.useEntityProp)("root","site",n);return(0,ie.createElement)(ro,null,(0,ie.createElement)(Zt.CheckboxControl,{label:t,help:o,checked:!!l,onChange:r}))};(0,eo.registerPlugin)("coblocks-animation-control",{render:()=>(0,ie.createElement)(ao,{settingsKey:"coblocks_animation_controls_enabled",label:(0,le.__)("Animation controls","coblocks"),help:(0,le.__)("Allow animations to be used on blocks.","coblocks")})});var co=window.wp.data,io=window.wp.hooks;const so=[{blockType:"coblocks/gallery-carousel",animateChildren:!1},{blockType:"coblocks/gallery-collage",animateChildren:!0},{blockType:"coblocks/gallery-masonry",animateChildren:!0},{blockType:"coblocks/gallery-offset",animateChildren:!0},{blockType:"coblocks/gallery-stacked",animateChildren:!0},{blockType:"core/columns",animateChildren:!1},{blockType:"core/cover",animateChildren:!1},{blockType:"core/gallery",animateChildren:!1},{blockType:"core/group",animateChildren:!1},{blockType:"core/image",animateChildren:!1},{blockType:"core/media-text",animateChildren:!1}],uo="coblocks-animate",mo=(0,Kt.createHigherOrderComponent)((e=>ho((t=>{let{select:o,...n}=t;const l=o("core/block-editor").getBlock(n.clientId);return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,n),n.isSelected&&so.some((e=>e.blockType===n.name))&&(0,ie.createElement)(Qt,Ft({},n,{selectedBlock:l})))}))),"withControls");(0,io.addFilter)("editor.BlockEdit","coblocks/animations",mo),(0,io.addFilter)("blocks.registerBlockType","coblocks/inspector/attributes",(function(e){return so.some((t=>t.blockType===e.name))&&(e.attributes={...e.attributes,animation:{type:"string"}}),e})),(0,io.addFilter)("blocks.getSaveContent.extraProps","coblocks/applyAnimationSettings",(function(e,t,o){if(!so.some((e=>e.blockType===t.name&&!e.animateChildren)))return e;const{animation:n}=o;return n&&(e.className=Ut()(e.className,uo),e["data-coblocks-animation"]=n),e}));const ho=(0,Kt.compose)((0,co.withSelect)((e=>({selected:e("core/block-editor").getSelectedBlock(),select:e})))),po=(0,Kt.createHigherOrderComponent)((e=>ho((t=>{var o;let{select:n,...l}=t,r=l.wrapperProps;const a=n("core/block-editor").getBlockName(l.rootClientId||l.clientId);if(!so.some((e=>e.blockType===a&&!e.animateChildren)))return(0,ie.createElement)(e,l);if(null===(o=l.attributes)||void 0===o||!o.animation){var c,i;if(null!==(c=l.attributes)&&void 0!==c&&null!==(i=c.className)&&void 0!==i&&i.includes("coblocks-animate")){var s;const e=null===(s=l.attributes)||void 0===s?void 0:s.className.split(" ");l.attributes.className=e.filter((e=>"coblocks-animate"!==e)).join(" ")}return(0,ie.createElement)(e,l)}const{animation:u}=l.attributes,d=(0,ie.useRef)();(0,ie.useEffect)((()=>{d.current=u}),[u]);const m=d.current!==u,[h,p]=(0,ie.useState)(!1);return r={...r,className:Ut()(r.className,{[uo]:m||h,[u]:m||h})},l.isSelected&&(r={...r,onAnimationStart:()=>p(m),onAnimationEnd:()=>p(!1)}),(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,Ft({},l,{wrapperProps:r})),h&&(0,ie.createElement)("style",{dangerouslySetInnerHTML:{__html:".block-editor-block-contextual-toolbar, .block-editor-rich-text__inline-format-toolbar { display: none !important; }"}}))}))),"withAnimationSettings");(0,io.addFilter)("editor.BlockListBlock","coblocks/withAnimationSettings",po);var bo={textColor:{type:"string"},customTextColor:{type:"string"},customBackgroundColor:{type:"string"}};class go extends ie.Component{render(){const{name:e,attributes:t,setAttributes:o}=this.props,{customTextColor:n,customBackgroundColor:l}=t,r=[];return["core/list","core/quote"].includes(e)||r.push({value:l,onChange:e=>o({customBackgroundColor:e}),label:(0,le.__)("Background color","coblocks")}),r.push({value:n,onChange:e=>o({customTextColor:e}),label:(0,le.__)("Text color","coblocks")}),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:r})}}var fo=(0,Kt.compose)([(0,Yt.withColors)({textColor:"color"})])(go);function vo(){const[e,t]=(0,qt.useEntityProp)("root","site","coblocks_color_panel_controls_enabled"),[o,n]=(0,qt.useEntityProp)("root","site","coblocks_custom_colors_controls_enabled"),[l,r]=(0,qt.useEntityProp)("root","site","coblocks_gradient_presets_enabled"),{settings:a}=(0,co.useSelect)((e=>({settings:e("core/block-editor").getSettings()})),[]),{updateSettings:c}=(0,co.useDispatch)("core/block-editor"),i=(e,t)=>{var o,n,l,r,c,i;let s;switch(e){case"__experimentalFeatures.color.palette":s=null!==(o=null==a||null===(n=a.__experimentalFeatures)||void 0===n||null===(l=n.color)||void 0===l?void 0:l.palette)&&void 0!==o?o:{core:[]};break;case"__experimentalFeatures.color.gradients":s=null!==(r=null==a||null===(c=a.__experimentalFeatures)||void 0===c||null===(i=c.color)||void 0===i?void 0:i.gradients)&&void 0!==r?r:{core:[]};break;default:s=a[e]}const u=localStorage.getItem(e),d=()=>{var e;return!(Array.isArray(u)&&!u.length||(null==u?void 0:u.constructor)===Object&&0===(null===(e=Object.keys(u))||void 0===e?void 0:e.length))};return t||d()||localStorage.setItem(e,JSON.stringify(s)),t?u&&d()?JSON.parse(u):s:[]},s=e=>i(e,!0),u=e=>i(e,!1);return(0,ie.useEffect)((()=>{var t;[e,o,l].every((e=>void 0!==e))&&c({colors:e?s("colors"):u("colors"),disableCustomColors:!o,disableCustomGradients:!l,gradients:l?s("gradients"):u("gradients"),__experimentalFeatures:{...null==a?void 0:a.__experimentalFeatures,color:{...null==a||null===(t=a.__experimentalFeatures)||void 0===t?void 0:t.color,palette:e?s("__experimentalFeatures.color.palette"):u("__experimentalFeatures.color.palette"),gradients:l?s("__experimentalFeatures.color.gradients"):u("__experimentalFeatures.color.gradients")}}})}),[e,o,l]),(0,ie.createElement)(ro,null,(0,ie.createElement)(Zt.CheckboxControl,{label:(0,le.__)("Color settings","coblocks"),help:(0,le.__)("Allow color settings throughout the editor.","coblocks"),checked:!!e,onChange:e=>{t(e),n(e),r(e)}}),e&&(0,ie.createElement)(Zt.CheckboxControl,{label:(0,le.__)("Custom color pickers","coblocks"),help:(0,le.__)("Allow styling with custom colors.","coblocks"),checked:!!o,onChange:e=>{n(e),r(e)}}),o&&(0,ie.createElement)(Zt.CheckboxControl,{label:(0,le.__)("Gradient styles","coblocks"),help:(0,le.__)("Allow styling with gradient fills.","coblocks"),checked:!!l,onChange:e=>{r(e)}}))}(0,eo.registerPlugin)("coblocks-editor-settings-controls",{render:()=>(0,ie.createElement)(vo,null)});const _o=e=>(["core/cover","core/button","core/list","core/quote"].includes(e.name)?e.attributes.textPanelHeadingFontSizes=!0:e.attributes.textPanelHideSize=!0,["core/paragraph","core/cover","core/button"].includes(e.name)||(e.attributes.textPanelLineHeight=!0),e.attributes.textPanelHideColor=!0,e.attributes.textPanelShowSpacingControls=!0,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(fo,e))),ko=(0,Kt.createHigherOrderComponent)((e=>t=>(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,t),t.isSelected&&["core/list","core/quote"].includes(t.name)&&(0,ie.createElement)(_o,t))),"withInspectorControl");(0,io.addFilter)("blocks.registerBlockType","coblocks/colors/attributes",(function(e){return["core/list","core/quote"].includes(e.name)&&(e.attributes=Object.assign(e.attributes,bo)),e})),(0,io.addFilter)("editor.BlockEdit","coblocks/colors",ko);const yo=["fontFamily","lineHeight","letterSpacing","fontWeight","textTransform"];var wo=function(e,t){const o=(0,Gt.pickBy)(e,((e,t)=>!!e&&yo.includes(t)));return void 0!==e.customFontSize&&(o.fontSize=It(e.customFontSize)),void 0!==e.customTextColor&&(o.color=e.customTextColor),"coblocks/column"===t&&void 0!==e.width&&(o.width=e.width+"%"),o},Eo={"Abril Fatface":{weight:["400"]},Anton:{weight:["400"]},Arvo:{weight:["400","700"]},Asap:{weight:["400","500","600","700"]},"Barlow Condensed":{weight:["100","200","300","400","500","600","700","800","900"]},Barlow:{weight:["100","200","300","400","500","600","700","800","900"]},"Cormorant Garamond":{weight:["300","400","500","600","700"]},Faustina:{weight:["400","500","600","700"]},"Fira Sans":{weight:["100","200","300","400","500","600","700","800","900"]},"IBM Plex Sans":{weight:["100","200","300","400","500","600","700"]},Inconsolata:{weight:["400","700"]},Heebo:{weight:["100","300","400","500","700","800","900"]},Karla:{weight:["400","700"]},Lato:{weight:["100","200","300","400","500","600","700","800","900"]},Lora:{weight:["400","700"]},Merriweather:{weight:["300","400","500","600","700","800","900"]},Montserrat:{weight:["100","200","300","400","500","600","700","800","900"]},"Noto Sans":{weight:["400","700"]},"Noto Serif":{weight:["400","700"]},"Open Sans":{weight:["300","400","500","600","700","800"]},Oswald:{weight:["200","300","400","500","600","700"]},"Playfair Display":{weight:["400","700","900"]},"PT Serif":{weight:["400","700"]},Roboto:{weight:["100","300","400","500","700","900"]},Rubik:{weight:["300","400","500","700","900"]},Tajawal:{weight:["200","300","400","500","700","800","900"]},Ubuntu:{weight:["300","400","500","700"]},Yrsa:{weight:["300","400","500","600","700"]}},xo=(0,Kt.withInstanceId)((function(e){let{label:t,value:o,help:n,instanceId:l,onChange:r,className:a,...c}=e;const i=`inspector-coblocks-font-family-${l}`,s=[{value:"",label:(0,le.__)("Default","coblocks")},{value:"Arial",label:"Arial"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Georgia",label:"Georgia"}];let u=[];return Object.keys(Eo).forEach((e=>{u.push({value:e,label:e})})),s.reverse().forEach((e=>{u.unshift(e)})),u=wp.hooks.applyFilters("coblocks.google_fonts",u),(0,ie.createElement)(Zt.BaseControl,{label:t,id:i,help:n,className:a},(0,ie.createElement)("select",Ft({id:i,className:"components-select-control__input components-select-control__input--coblocks-fontfamily",onChange:e=>{const t=wp.data.select("core/editor").getEditedPostAttribute("meta");let o="";const n=":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic",l=document.createElement("link"),a=s.filter((function(t){return t.label===e.target.value})).length>0;l.rel="stylesheet",void 0!==t&&void 0!==t._coblocks_attr&&(o=t._coblocks_attr),o.length>0?(o.includes(e.target.value)||a||(l.href="https://fonts.googleapis.com/css?family="+e.target.value.replace(/ /g,"+")+n,document.head.appendChild(l)),o=o.replace(","+e.target.value,""),o=o+","+e.target.value):(l.href="https://fonts.googleapis.com/css?family="+e.target.value.replace(/ /g,"+")+n,document.head.appendChild(l),o=e.target.value),wp.data.dispatch("core/editor").editPost({meta:{_coblocks_attr:o}}),r(e.target.value)},"aria-describedby":n?`${i}__help`:void 0,value:o},c),u.map(((e,t)=>(0,ie.createElement)("option",{key:`${e.label}-${e.value}-${t}`,value:e.value},e.label)))))})),Co={fontSize:{type:"string"},customFontSize:{type:"number"},fontFamily:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},lineHeight:{type:"number"},letterSpacing:{type:"number"},fontWeight:{type:"string",default:""},textTransform:{type:"string",default:""},noBottomSpacing:{type:"boolean",default:!1},noTopSpacing:{type:"boolean",default:!1}},So=window.wp.keycodes;const{getComputedStyle:zo}=window,To=(0,Zt.withFallbackStyles)(((e,t)=>{const{textColor:o,fontSize:n,customFontSize:l}=t.attributes,r=e.querySelector('[contenteditable="true"]'),a=r?zo(r):void 0;return{fallbackFontSize:n||l||!a?void 0:parseInt(a.fontSize)||void 0,fallbackTextColor:o||!a?void 0:a.color}})),Po=["core/paragraph","core/heading","core/button","core/list","coblocks/row","coblocks/column","coblocks/accordion","coblocks/accordion-item","coblocks/click-to-tweet","coblocks/alert","coblocks/pricing-table","coblocks/highlight"];class No extends ie.Component{render(){const{attributes:e,setAttributes:t,icon:o=St,label:n=(0,le.__)("Change typography","coblocks"),name:l}=this.props;if(!Po.includes(l))return null;const{customFontSize:r,fontFamily:a,lineHeight:c,letterSpacing:i,noBottomSpacing:s,noTopSpacing:u,fontWeight:d,textTransform:m}=e,h=[{
2
  /* translators: typography style */
3
  label:(0,le.__)("Default","coblocks"),value:""},{
4
  /* translators: typography style */
@@ -14,7 +14,7 @@ label:(0,le.__)("Lowercase","coblocks"),value:"lowercase"},{
14
  /* translators: typography style */
15
  label:(0,le.__)("Capitalize","coblocks"),value:"capitalize"},{
16
  /* translators: typography style */
17
- label:(0,le.__)("Normal","coblocks"),value:"initial"}];return void 0!==Eo[a]&&void 0!==Eo[a].weight&&Eo[a].weight.forEach((e=>{h.push({label:e,value:e})})),(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)(Zt.Dropdown,{className:Ut()("components-dropdown-menu","components-coblocks-typography-dropdown"),contentClassName:"components-dropdown-menu__popover components-coblocks-typography-dropdown",renderContent:()=>(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-typography-dropdown__inner"},(0,ie.createElement)(xo,{className:"components-base-control--with-flex components-coblocks-typography-dropdown__inner--font",label:(0,le.__)("Font","coblocks"),onChange:e=>{return t({fontFamily:o=e}),void(void 0!==Eo[o]&&void 0!==Eo[o].weight&&d&&Object.values(Eo[a].weight).indexOf(d)<0&&t({fontWeight:void 0}));var o},value:a}),void 0===e.textPanelFontWeight||void 0!==e.textPanelFontWeight&&void 0===e.textPanelFontWeight?(0,ie.createElement)(Zt.SelectControl,{className:"components-base-control--with-flex components-coblocks-typography-dropdown__inner--weight",label:(0,le.__)("Weight","coblocks"),onChange:e=>t({fontWeight:e}),options:h,value:d}):null,void 0===e.textPanelTextTransform||void 0!==e.textPanelTextTransform&&void 0===e.textPanelTextTransform?(0,ie.createElement)(Zt.SelectControl,{className:"components-base-control--with-flex components-coblocks-typography-dropdown__inner--transform",label:(0,le.__)("Transform","coblocks"),onChange:e=>t({textTransform:e}),options:p,value:m}):null,void 0===e.textPanelHideSize||void 0!==e.textPanelHideSize&&void 0===e.textPanelHideSize?(0,ie.createElement)(Zt.RangeControl,{className:"components-coblocks-typography-dropdown__inner--size",label:(0,le.__)("Size","coblocks"),max:100,min:1,onChange:e=>t({customFontSize:e}),step:1,value:parseFloat(r)||void 0}):null,void 0===e.textPanelLineHeight||void 0!==e.textPanelLineHeight&&void 0===e.textPanelLineHeight?(0,ie.createElement)(Zt.RangeControl,{className:"components-coblocks-typography-dropdown__inner--line-height",label:(0,le.__)("Line height","coblocks"),max:3,min:1,onChange:e=>t({lineHeight:e}),step:.01,value:parseFloat(c)||void 0}):null,void 0===e.textPanelLetterSpacing||void 0!==e.textPanelLetterSpacing&&void 0===e.textPanelLetterSpacing?(0,ie.createElement)(Zt.RangeControl,{className:"components-coblocks-typography-dropdown__inner--letter-spacing",label:(0,le.__)("Letter spacing","coblocks"),max:3,min:-1,onChange:e=>t({letterSpacing:e}),step:.1,value:parseFloat(i)||void 0}):null,void 0!==e.textPanelShowSpacingControls&&e.textPanelShowSpacingControls&&(0,ie.createElement)("div",{className:"components-coblocks-typography-dropdown__footer"},(0,ie.createElement)(Zt.ToggleControl,{checked:!!u,label:(0,le.__)("No top spacing","coblocks"),onChange:()=>t({noTopSpacing:!u})}),(0,ie.createElement)(Zt.ToggleControl,{checked:!!s,label:(0,le.__)("No bottom spacing","coblocks"),onChange:()=>t({noBottomSpacing:!s})})))),renderToggle:e=>{let{isOpen:t,onToggle:l}=e;return(0,ie.createElement)(Zt.ToolbarButton,{"aria-expanded":t,"aria-haspopup":"true",className:"components-dropdown-menu__toggle",icon:o,label:n,onClick:l,onKeyDown:e=>{t||e.keyCode!==So.DOWN||(e.preventDefault(),e.stopPropagation(),l())},tooltip:n})}}))}}var Bo=(0,Kt.compose)([To,(0,Kt.ifCondition)((()=>{const[e]=(0,qt.useEntityProp)("root","site","coblocks_typography_controls_enabled");return e}))])(No);class Oo extends ie.Component{render(){const{name:e,attributes:t}=this.props;if(!coblocksBlockData.typographyControlsEnabled)return null;let o=!1;const n=["core/paragraph","core/heading","core/cover","core/button","core/list","coblocks/row","coblocks/column","coblocks/accordion","coblocks/accordion-item","coblocks/click-to-tweet","coblocks/alert","coblocks/pricing-table","coblocks/highlight","coblocks/features"];return t.textPanelHideColor=!0,t.textPanelShowSpacingControls=!0,n.includes(e)?t.textPanelHeadingFontSizes=!0:t.textPanelHideSize=!0,n.includes(e)||(t.textPanelLineHeight=!0,t.textPanelLetterSpacing=!0),["coblocks/row","coblocks/column"].includes(e)&&(t.textPanelShowSpacingControls=!1),["coblocks/row"].includes(e)&&(t.layout||(o=!0)),o?null:(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Bo,this.props))}}var Ro=Oo;(0,eo.registerPlugin)("coblocks-typography-control",{render:()=>(0,io.applyFilters)("coblocks-show-layout-selector",!0)&&(0,ie.createElement)(ao,{settingsKey:"coblocks_typography_controls_enabled",label:(0,le.__)("Typography controls","coblocks"),help:(0,le.__)("Allow block-level typography controls.","coblocks")})});const Mo=["core/paragraph","core/heading","core/pullquote","core/cover","core/quote","core/button","core/list","coblocks/accordion","coblocks/accordion-item","coblocks/alert","coblocks/highlight","coblocks/pricing-table","coblocks/features"],Ao=["coblocks/click-to-tweet"],Lo=(0,Kt.createHigherOrderComponent)((e=>t=>{const{isSelected:o,name:n}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,t),o&&Mo.includes(n)&&(0,ie.createElement)(Ro,t))}),"withControls"),Io=(0,Kt.compose)((0,co.withSelect)((e=>({select:e,selected:e("core/block-editor").getSelectedBlock()})))),Do=(0,Kt.createHigherOrderComponent)((e=>Io((t=>{let{select:o,...n}=t,l=n.wrapperProps,r={};const a=o("core/block-editor").getBlock(n.clientId),c=o("core/block-editor").getBlockName(n.clientId);if(Mo.includes(c)&&null!=a&&a.attributes){const{customFontSize:e,fontFamily:t,lineHeight:o,fontWeight:n,letterSpacing:i,textTransform:s,customTextColor:u}=a.attributes;e&&(r=Object.assign(r,{"data-custom-fontsize":1})),o&&(r=Object.assign(r,{"data-custom-lineheight":1})),t&&(r=Object.assign(r,{"data-coblocks-font":1})),n&&(r=Object.assign(r,{"data-custom-fontweight":1})),s&&(r=Object.assign(r,{"data-custom-texttransform":1})),u&&(r=Object.assign(r,{"data-custom-textcolor":1})),i&&(r=Object.assign(r,{"data-custom-letterspacing":1})),l={...l,style:wo(a.attributes,c),...r}}return(0,ie.createElement)(e,Ft({},n,{wrapperProps:l}))}))),"withFontSettings");(0,io.addFilter)("blocks.registerBlockType","coblocks/inspector/attributes",(function(e){return Mo.includes(e.name)&&(e.attributes=Object.assign(e.attributes,Co)),e})),(0,io.addFilter)("editor.BlockEdit","coblocks/typography",Lo),(0,io.addFilter)("editor.BlockListBlock","coblocks/withFontSettings",Do),(0,io.addFilter)("blocks.getSaveContent.extraProps","coblocks/applyFontSettings",(function(e,t,o){if(Mo.includes(t.name)||Ao.includes(t.name)){void 0!==e.style?e.style=Object.assign(e.style,wo(o,t.name)):e.style=wo(o,t.name);const{fontFamily:n,lineHeight:l,fontWeight:r,letterSpacing:a,textTransform:c,noBottomSpacing:i,noTopSpacing:s}=o;n&&(e.className=Ut()(e.className,"has-custom-font")),r&&(e.className=Ut()(e.className,"has-custom-weight")),c&&(e.className=Ut()(e.className,"has-custom-transform")),l&&(e.className=Ut()(e.className,"has-custom-lineheight")),a&&(e.className=Ut()(e.className,"has-custom-letterspacing")),void 0!==i&&i&&(e.className=Ut()(e.className,"mb-0 pb-0")),void 0!==s&&s&&(e.className=Ut()(e.className,"mt-0 pt-0"))}return e}));const Fo=["coblocks/row","coblocks/column","coblocks/features","coblocks/feature","coblocks/media-card","coblocks/hero"],Vo=(0,Kt.createHigherOrderComponent)((e=>t=>{const{name:o}=t;if(Fo.includes(o)&&(t.attributes.coblocks=t.attributes.coblocks||{},void 0===t.attributes.coblocks.id)){const e=new Date;t.attributes.coblocks=Object.assign({},t.attributes.coblocks,{id:""+e.getMonth()+e.getDate()+e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()})}return(0,ie.createElement)(e,t)}),"withAttributes");(0,io.addFilter)("blocks.registerBlockType","coblocks/custom/attributes",(function(e){return Fo.includes(e.name)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{coblocks:{type:"object"}})),e})),(0,io.addFilter)("editor.BlockEdit","coblocks/attributes",Vo);const jo=["core/image","core/gallery","core/spacer","core/cover","core/group"],Go=(0,Kt.createHigherOrderComponent)((e=>t=>{const{name:o,clientId:n,attributes:l,setAttributes:r,isSelected:a}=t,{isStackedOnMobile:c,noBottomMargin:i,noTopMargin:s}=l,u=(0,ne.hasBlockSupport)(o,"stackedOnMobile"),d=(0,ne.hasBlockSupport)(o,"coBlocksSpacing");(0,ie.useEffect)((()=>{document.getElementsByClassName("block-editor-block-list__layout is-root-container").length&&document.querySelectorAll(".block-editor-block-list__layout").forEach((e=>{e.childNodes.forEach((e=>{(e=>{if(!e.querySelector)return;const t=e.querySelector(".wp-block[data-align]"),o=(e,o)=>{t&&(t.style[e]=o)};switch(e.outerHTML.includes("data-coblocks-bottom-spacing")){case!0:e.style.marginBottom=0,o("marginBottom",0);break;case!1:e.style.marginBottom=null,o("marginBottom",null)}switch(e.outerHTML.includes("data-coblocks-top-spacing")){case!0:e.style.marginTop=0,o("marginTop",0);break;case!1:e.style.marginTop=null,o("marginTop",null)}})(e)}))}))}),[i,s]);const m=!!u||!!d;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,t),a&&m&&(0,ie.createElement)(Yt.InspectorAdvancedControls,null,u&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Stack on mobile","coblocks"),checked:!!c,onChange:()=>r({isStackedOnMobile:!c}),help:c?(0,le.__)("Responsiveness is enabled.","coblocks"):(0,le.__)("Toggle to stack elements on top of each other on smaller viewports.","coblocks")}),d&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Remove top spacing","coblocks"),checked:!!s,onChange:()=>r({noTopMargin:!s,marginTop:0,marginTopTablet:0,marginTopMobile:0}),help:s?(0,le.__)("Toggle to add top margin back.","coblocks"):(0,le.__)("Toggle to remove any top margin.","coblocks")}),d&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Remove bottom spacing","coblocks"),checked:!!i,onChange:()=>{r({noBottomMargin:!i,marginBottom:0,marginBottomTablet:0,marginBottomMobile:0});const e=wp.data.select("core/editor").getNextBlockClientId(n);e&&!i&&wp.data.dispatch("core/block-editor").updateBlockAttributes(e,{noTopMargin:!s,marginTop:0,marginTopTablet:0,marginTopMobile:0})},help:i?(0,le.__)("Toggle to add bottom margin back.","coblocks"):(0,le.__)("Toggle to remove any bottom margin.","coblocks")})))}),"withAdvancedControls"),$o=(0,Kt.compose)((0,co.withSelect)((e=>({selected:e("core/block-editor").getSelectedBlock(),select:e})))),Ho=(0,Kt.createHigherOrderComponent)((e=>$o((t=>{let{select:o,...n}=t,l=n.wrapperProps,r={};const a=o("core/block-editor").getBlock(n.rootClientId||n.clientId),c=o("core/block-editor").getBlockName(n.rootClientId||n.clientId),i=(0,ne.hasBlockSupport)(c,"coBlocksSpacing");let s=(0,ne.hasBlockSupport)(c,"align");if(["core/image"].includes(c)&&(s=!0),i&&null!=a&&a.attributes){const{noBottomMargin:e,noTopMargin:t}=a.attributes;void 0!==t&&t&&(r=Object.assign(r,{"data-coblocks-top-spacing":1})),void 0!==e&&e&&(r=Object.assign(r,{"data-coblocks-bottom-spacing":1}))}return s&&(r=Object.assign(r,{"data-coblocks-align-support":1})),(i||s)&&(l={...l,...r}),(0,ie.createElement)(e,Ft({},n,{wrapperProps:l}))}))),"addEditorBlockAttributes");(0,io.addFilter)("blocks.registerBlockType","coblocks/AdvancedControls/attributes",(function(e){return(0,ne.hasBlockSupport)(e,"stackedOnMobile")&&void 0!==e.attributes&&(e.attributes.isStackedOnMobile||(e.attributes=Object.assign(e.attributes,{isStackedOnMobile:{type:"boolean",default:!0}}))),jo.includes(e.name)&&(e.supports||(e.supports={}),e.supports=Object.assign(e.supports,{coBlocksSpacing:!0})),(0,ne.hasBlockSupport)(e,"coBlocksSpacing")&&void 0!==e.attributes&&(e.attributes.noBottomMargin||(e.attributes=Object.assign(e.attributes,{noBottomMargin:{type:"boolean",default:!1}})),e.attributes.noTopMargin||(e.attributes=Object.assign(e.attributes,{noTopMargin:{type:"boolean",default:!1}}))),e})),(0,io.addFilter)("editor.BlockEdit","coblocks/advanced",Go),(0,io.addFilter)("blocks.getSaveContent.extraProps","coblocks/applySpacingClass",(function(e,t,o){if((0,ne.hasBlockSupport)(t.name,"coBlocksSpacing")){const{noBottomMargin:t,noTopMargin:n}=o;void 0!==t&&t&&(e.className=Ut()(e.className,"mb-0")),void 0!==n&&n&&(e.className=Ut()(e.className,"mt-0"))}return e})),(0,io.addFilter)("editor.BlockListBlock","coblocks/addEditorBlockAttributes",Ho);const Uo=[{value:1,
18
  /* translators: abbreviation for small size */
19
  label:(0,le.__)("S","coblocks"),tooltip:(0,le.__)("Small","coblocks")},{value:2,
20
  /* translators: abbreviation for medium size */
@@ -216,7 +216,7 @@ label:(0,le.__)("L","coblocks"),tooltip:(0,le.__)("Large","coblocks")}],a=[{valu
216
  /* translators: abbreviation for extra large size */
217
  label:(0,le.__)("XL","coblocks"),tooltip:(0,le.__)("Extra Large","coblocks")}],"wide"===o?l.concat(r):"full"===o?l.concat(r).concat(a):l):"grid"!==e?n:!0===t&&"wide"===o?r.concat(l):!0===t&&"full"===o?a.concat(r).concat(l):l}render(){const{onChange:e,value:t,resetValue:o,label:n,reset:l=!0}=this.props;return(0,ie.createElement)(Zt.BaseControl,{id:"coblocks-select-size",label:n},(0,ie.createElement)(Zt.PanelRow,null,(0,ie.createElement)(Yo,{currentOption:t,options:this.getSizes(),onChange:t=>e(t)}),l&&(0,ie.createElement)(Zt.Button,{isSmall:!0,isSecondary:!0,onClick:()=>e(o)},(0,le.__)("Reset","coblocks"))))}}var pa=(0,Kt.compose)([(0,co.withSelect)((e=>({wideControlsEnabled:e("core/editor").getEditorSettings().alignWide})))])(ha),ba=[{value:1e3,label:(0,le.__)("One Second","coblocks")},{value:2e3,label:(0,le.__)("Two Seconds","coblocks")},{value:3e3,label:(0,le.__)("Three Seconds","coblocks")},{value:4e3,label:(0,le.__)("Four Seconds","coblocks")},{value:5e3,label:(0,le.__)("Five Seconds","coblocks")},{value:6e3,label:(0,le.__)("Six Seconds","coblocks")},{value:7e3,label:(0,le.__)("Seven Seconds","coblocks")},{value:8e3,label:(0,le.__)("Eight Seconds","coblocks")},{value:9e3,label:(0,le.__)("Nine Seconds","coblocks")},{value:1e4,label:(0,le.__)("Ten Seconds","coblocks")}],ga=e=>{const{attributes:t,setAttributes:o}=e,{autoPlay:n,autoPlaySpeed:l,draggable:r,freeScroll:a,pageDots:c,prevNextButtons:i,alignCells:s,pauseHover:u,thumbnails:d}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Slider settings","coblocks"),initialOpen:!1},(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Autoplay","coblocks"),checked:!!n,onChange:()=>o({autoPlay:!n}),help:t=>{const o=e.attributes.autoPlaySpeed/1e3,n=o>1?(0,le.__)("seconds","coblocks"):(0,le.__)("second","coblocks");return t?(0,le.sprintf)(
218
  /* translators: %1$d: Speed of the slider, %2$d: Time until the slide advances */
219
- (0,le.__)("Advancing after %1$d %2$s.","coblocks"),o,n):(0,le.__)("Automatically advance to the next slide.","coblocks")}}),n&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.SelectControl,{label:(0,le.__)("Transition speed","coblocks"),value:l,onChange:e=>o({autoPlaySpeed:e}),options:ba,className:"components-coblocks-gallery-inspector__autoplayspeed-select"}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Pause on hover","coblocks"),checked:u,onChange:()=>o({pauseHover:!u}),help:e=>e?(0,le.__)("Pausing autoplay when hovering.","coblocks"):(0,le.__)("Toggle to pause autoplay when hovered.","coblocks")})),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Draggable","coblocks"),checked:!!r,onChange:()=>o({draggable:!r}),help:e=>e?(0,le.__)("Dragging and flicking enabled.","coblocks"):(0,le.__)("Toggle to enable drag functionality.","coblocks")}),r&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Free scroll","coblocks"),checked:!!a,onChange:()=>o({freeScroll:!a}),help:e=>e?(0,le.__)("Scrolling without fixed slides enabled.","coblocks"):(0,le.__)("Toggle to scroll without fixed slides.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Arrow navigation","coblocks"),checked:!!i,onChange:()=>o({prevNextButtons:!i}),help:e=>e?(0,le.__)("Showing slide navigation arrows.","coblocks"):(0,le.__)("Toggle to show slide navigation arrows.","coblocks")}),d?null:(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Dot navigation","coblocks"),checked:!!c,onChange:()=>o({pageDots:!c}),help:e=>e?(0,le.__)("Showing dot navigation.","coblocks"):(0,le.__)("Toggle to show dot navigation.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Align cells","coblocks"),checked:!!s,onChange:()=>o({alignCells:!s}),help:e=>e?(0,le.__)("Aligning slides to the left.","coblocks"):(0,le.__)("Aligning slides to the center.","coblocks")})))},fa=e=>{const[t,o]=(0,ie.useState)(null),n=t=>{e.setAttributes({height:t})},l=e=>{o(e)},{attributes:r,isSelected:a,setAttributes:c}=e,{align:i,gridSize:s,gutter:u,height:d,radius:m,thumbnails:h,responsiveHeight:p,lightbox:b}=r;return a&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Carousel settings","coblocks")},(0,ie.createElement)(pa,Ft({},e,{type:"grid",label:(0,le.__)("Size","coblocks"),onChange:t=>{e.setAttributes({gridSize:t})},value:s,resetValue:"xlrg"})),"xlrg"!==s&&("wide"===i||"full"===i)&&(0,ie.createElement)(Zr,Ft({},e,{max:20})),"xlrg"!==s&&!i&&(0,ie.createElement)(Zr,Ft({},e,{max:20})),u>0&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Rounded corners","coblocks"),value:m,onChange:t=>{e.setAttributes({radius:t})},min:0,max:20,step:1}),!p&&(0,ie.createElement)(Zt.BaseControl,{label:(0,le.__)("Height in pixels","coblocks"),className:"block-height-control",id:"gallery-carousel-height-control"},(0,ie.createElement)("input",{type:"number",className:"block-height-control__input",onChange:e=>{const t=""!==e.target.value?parseInt(e.target.value,10):void 0;if(t<0&&void 0!==t)return l(t),void n(0);l(null),n(t)},value:t||d,min:0,step:"10"})),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Lightbox","coblocks"),checked:!!b,onChange:()=>c({lightbox:!b}),help:e=>e?(0,le.__)("Image lightbox is enabled.","coblocks"):(0,le.__)("Toggle to enable the image lightbox.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Thumbnails","coblocks"),checked:!!h,onChange:()=>c({thumbnails:!h}),help:e=>e?(0,le.__)("Showing thumbnail navigation.","coblocks"):(0,le.__)("Toggle to show thumbnails.","coblocks")})),(0,ie.createElement)(ga,e)),(0,ie.createElement)(Yt.InspectorAdvancedControls,null,(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Responsive height","coblocks"),checked:!!p,onChange:()=>c({responsiveHeight:!p}),help:e=>e?(0,le.__)("Percentage based height is activated.","coblocks"):(0,le.__)("Toggle for percentage based height.","coblocks")})))},va=e=>{const{attributes:t}=e,{images:o}=t,n=!!o.length;return(0,ie.createElement)(Yt.BlockControls,null,n&&(0,ie.createElement)(Sn,e))},_a=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),ka=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})),ya=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),wa=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),Ea=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));class xa extends ie.Component{constructor(){super(...arguments),this.onImageClick=this.onImageClick.bind(this),this.onSelectCaption=this.onSelectCaption.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.saveCustomLink=this.saveCustomLink.bind(this),this.state={captionSelected:!1,captionFocused:!1,isSaved:!1},this.container=(0,ie.createRef)()}onSelectCaption(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}onImageClick(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1,captionFocused:!1})}onKeyDown(e){const t=this.container.current.ownerDocument;this.container===t.activeElement&&this.props.isSelected&&-1!==[So.BACKSPACE,So.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}saveCustomLink(){this.setState({isSaved:!0})}componentDidUpdate(e){const{isSelected:t,image:o,url:n,imgLink:l}=this.props;o&&!n&&this.props.setAttributes({url:o.source_url,alt:o.alt_text}),this.state.captionSelected&&!t&&e.isSelected&&this.setState({captionSelected:!1,captionFocused:!1}),l&&!t&&e.isSelected&&this.setState({isSaved:!1})}render(){const{alt:e,caption:t,captions:o,fontSize:n,gutter:l,gutterMobile:r,id:a,isFirstItem:c,isLastItem:i,isSelected:s,linkTo:u,newClass:d,marginBottom:m,marginLeft:h,marginRight:p,marginTop:b,onMoveBackward:g,onMoveForward:f,onRemove:v,setAttributes:_,gutterUtility:k,shadow:y,supportsCaption:w,supportsMoving:E=!0,verticalMoving:x=!1,url:C,"aria-label":S,imgLink:z,imageIndex:T,replaceImage:P}=this.props,N=Ut()({[`has-shadow-${y}`]:"none"!==y||void 0!==y}),B=(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("img",{src:C,className:N,alt:e,"data-id":a,"data-imglink":z,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":S}),(0,Mt.isBlobURL)(C)&&(0,ie.createElement)(Zt.Spinner,null)),O=d||"coblocks-gallery--figure",R=Ut()(O,{"is-selected":s,"is-transient":C&&0===C.indexOf("blob:"),[`${k}`]:k,[`has-margin-top-${l}`]:b&&l>0,[`has-margin-top-mobile-${r}`]:b&&r>0,[`has-margin-right-${l}`]:p&&l>0,[`has-margin-right-mobile-${r}`]:p&&r>0,[`has-margin-bottom-${l}`]:m&&l>0,[`has-margin-bottom-mobile-${r}`]:m&&r>0,[`has-margin-left-${l}`]:h&&l>0,[`has-margin-left-mobile-${r}`]:h&&r>0}),M={fontSize:It(n)};return(0,ie.createElement)("figure",{className:R,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.container},s&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right is-visible"},(0,ie.createElement)(Yt.MediaUploadCheck,null,(0,ie.createElement)(Yt.MediaUpload,{allowedTypes:["image"],onSelect:e=>{const t=At(e);P(T,t)},value:C,render:e=>{let{open:t}=e;return(0,ie.createElement)(Zt.Button,{className:"coblocks-gallery-item__button-replace",onClick:t,label:(0,le.__)("Replace Image","coblocks")},(0,le.__)("Replace","coblocks"))}})),(0,ie.createElement)(Zt.Button,{icon:_a,className:"coblocks-gallery-item__button",onClick:v,label:(0,le.__)("Remove image","coblocks"),disabled:!s}))),s&&(0,ie.createElement)(ie.Fragment,null,E&&(0,ie.createElement)(Zt.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},(0,ie.createElement)(Zt.Button,{icon:x?ka:ya,onClick:!c&&g,className:"coblocks-gallery-item__button",label:(0,le.__)("Move image backward","coblocks"),"aria-disabled":c,disabled:!s}),(0,ie.createElement)(Zt.Button,{icon:x?wa:Ea,onClick:!i&&f,className:"coblocks-gallery-item__button",label:(0,le.__)("Move image forward","coblocks"),"aria-disabled":i,disabled:!s})),"custom"===u&&(0,ie.createElement)("form",{className:"components-coblocks-gallery-item__image-link",onSubmit:e=>e.preventDefault()},(0,ie.createElement)(Zt.Dashicon,{icon:"admin-links"}),(0,ie.createElement)(Yt.URLInput,{value:z,onChange:e=>_({imgLink:e})}),(0,ie.createElement)(Zt.Button,{icon:this.state.isSaved?"saved":"editor-break",label:this.state.isSaved?(0,le.__)("Saving","coblocks"):(0,le.__)("Apply","coblocks"),onClick:this.saveCustomLink,type:"submit"}))),B,!0!==w||Yt.RichText.isEmpty(t)&&!s||!o?null:(0,ie.createElement)(Yt.RichText,{tagName:"figcaption",placeholder:(0,le.__)("Write caption…","coblocks"),className:"coblocks-gallery--caption",style:M,value:t,isSelected:this.state.captionSelected,onChange:e=>_({caption:e}),unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}var Ca=(0,Kt.compose)([(0,co.withSelect)(((e,t)=>{const{getMedia:o}=e("core"),{id:n}=t;return{image:n?o(n):null}}))])(xa),Sa=e=>{const t=(e,t)=>{var o;const n=(0,Gt.find)(t,(t=>parseInt(null==t?void 0:t.id)===(null==e?void 0:e.id)));return Array.isArray(null==n?void 0:n.caption)?null==n||null===(o=n.caption)||void 0===o?void 0:o[0]:(null==n?void 0:n.caption)||(null==e?void 0:e.caption)||""},o=(e,t)=>{const o=(0,Gt.find)(t,(t=>parseInt(null==t?void 0:t.id)===(null==e?void 0:e.id)));return(null==o?void 0:o.imgLink)||(null==e?void 0:e.imgLink)||""},{attributes:n,gutter:l,isSelected:r}=e,{images:a}=n,c=!!a.length,i={marginTop:l+"px"},s=!c&&(e.variationLabel||(0,le.sprintf)(
220
  /* translators: %s: Type of gallery */
221
  (0,le.__)("%s Gallery","coblocks"),e.label));return(0,ie.createElement)("div",{style:i},(0,ie.createElement)(Yt.MediaPlaceholder,{addToGallery:c,isAppender:c,className:"coblocks-gallery--figure",disableMediaButtons:c&&!r,icon:!c&&(0,ie.createElement)(Zt.Icon,{icon:e.icon}),labels:{title:s,instructions:!c&&(0,le.__)("Drag images, upload new ones or select files from your library.","coblocks")},onSelect:n=>{const{images:l}=e.attributes;e.setAttributes({images:n.map((e=>({...At(e),caption:t(e,l),imgLink:o(e,l)})))})},accept:"image/*",allowedTypes:Lt,multiple:!0,value:c?a:void 0,onError:t=>{const{noticeOperations:o}=e;o.removeAllNotices(),o.createErrorNotice(t)}}))};const za={};za.thumbnails=(0,ie.createElement)(Zt.SVG,{fill:"none",height:"48",viewBox:"0 0 49 48",width:"49",xmlns:"http://www.w3.org/2000/SVG"},(0,ie.createElement)(Zt.G,{stroke:"currentColor"},(0,ie.createElement)(Zt.G,{fill:"currentColor"},(0,ie.createElement)(Zt.Path,{d:"m17.319 31.2656h-2.638c-.0999 0-.181.0811-.181.1811v2.6379c0 .1.0811.181.181.181h2.638c.0999 0 .181-.081.181-.181v-2.6379c0-.1-.0811-.1811-.181-.1811z"}),(0,ie.createElement)(Zt.Path,{d:"m22.3268 31.2656h-2.638c-.0999 0-.181.0811-.181.1811v2.6379c0 .1.0811.181.181.181h2.638c.1 0 .181-.081.181-.181v-2.6379c0-.1-.081-.1811-.181-.1811z"}),(0,ie.createElement)(Zt.Path,{d:"m27.319 31.2656h-2.638c-.0999 0-.181.0811-.181.1811v2.6379c0 .1.0811.181.181.181h2.638c.0999 0 .181-.081.181-.181v-2.6379c0-.1-.0811-.1811-.181-.1811z"})),(0,ie.createElement)(Zt.Path,{d:"m33.6606 14.4844h-17.6962c-.6707 0-1.2144.3917-1.2144.875v12.75c0 .4832.5437.875 1.2144.875h17.6962c.6707 0 1.2144-.3918 1.2144-.875v-12.75c0-.4833-.5437-.875-1.2144-.875z",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(Zt.Path,{d:"m15.1218 25.1989 5.3752-3.5884 4.5693 2.5772 4.7645-4.3127 5.0442 4.3127",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"}))),za.fullAutoplay=(0,ie.createElement)(Zt.SVG,{fill:"none",height:"48",viewBox:"0 0 48 48",width:"48",xmlns:"http://www.w3.org/2000/SVG"},(0,ie.createElement)(Zt.Path,{d:"m33.1606 14.4844h-17.6962c-.6707 0-1.2144.3917-1.2144.875v12.75c0 .4832.5437.875 1.2144.875h17.6962c.6707 0 1.2144-.3918 1.2144-.875v-12.75c0-.4833-.5437-.875-1.2144-.875z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(Zt.G,{fill:"currentColor"},(0,ie.createElement)(Zt.Path,{d:"m27.9817 21.598c.0004.1797-.0449.3566-.1317.5139-.0868.1574-.2122.2901-.3645.3856l-4.9876 3.151c-.1462.0917-.3143.1426-.4868.1474s-.3432-.0368-.4943-.1203c-.151-.0835-.2769-.206-.3646-.3546-.0877-.1487-.134-.3181-.134-.4907v-6.1772c0-.2601.1033-.5096.2872-.6935s.4334-.2872.6935-.2872c.1654.0012.3276.0463.47.1305l4.9702 2.8783c.1634.0912.2997.2242.395.3852.0953.1611.1462.3445.1476.5316z"}),(0,ie.createElement)(Zt.Path,{d:"m38 27.7344c-.8284 0-1.5-.6716-1.5-1.5v-9c0-.8285.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m10.5 15.7344c.8284 0 1.5.6715 1.5 1.5v9c0 .8284-.6716 1.5-1.5 1.5z"}))),za.fullScroll=(0,ie.createElement)(Zt.SVG,{fill:"none",height:"48",viewBox:"0 0 49 48",width:"49",xmlns:"http://www.w3.org/2000/SVG"},(0,ie.createElement)(Zt.G,{fill:"currentColor"},(0,ie.createElement)(Zt.Path,{d:"m28.6647 23.5531c-.3175 0-.6025.1399-.7976.3611-.1952-.2212-.4802-.3611-.7976-.3611-.2191 0-.4222.0665-.5913.1803-.1457-.4143-.5408-.712-1.0039-.712-.1936 0-.3754.0521-.5318.143v-3.0676c0-.5865-.4769-1.0635-1.0635-1.0635-.5865 0-1.0634.477-1.0634 1.0635v4.5171l-1.3751-1.0401c-.402-.402-1.1028-.4025-1.5038 0-.4147.4143-.4147 1.0896-.0053 1.4985l3.7546 3.98c.05.0538.1197.0841.193.0841h4.5198c.1218 0 .2281-.083.2579-.2016l1.0635-4.2539c.0053-.0207.008-.0425.008-.0643 0-.5865-.477-1.0635-1.0635-1.0635z"}),(0,ie.createElement)(Zt.Path,{d:"m26.0888 19.7099h2.5097l-.7583.7583c-.129.129-.129.3387 0 .4678.0642.0648.1489.0972.2336.0972s.1694-.0324.2342-.0966l1.3234-1.3227c.0304-.0311.0549-.0681.0715-.1078.0337-.0814.0337-.1721 0-.2534-.0166-.0404-.0411-.0768-.0715-.1079l-1.3234-1.3227c-.129-.129-.3387-.129-.4678 0-.129.129-.129.3388 0 .4678l.7583.7583h-2.5097c-.1826 0-.3309.1482-.3309.3308 0 .1827.1483.3309.3309.3309z"}),(0,ie.createElement)(Zt.Path,{d:"m21.577 19.0487h-2.5098l.7583-.7583c.129-.129.129-.3388 0-.4678-.0642-.0648-.1489-.0973-.2336-.0973s-.1694.0325-.2342.0966l-1.3234 1.3228c-.0305.0311-.055.0681-.0715.1078-.0337.0814-.0337.1721 0 .2535.0165.0403.041.0767.0715.1078l1.3234 1.3228c.129.129.3387.129.4678 0 .129-.1291.129-.3388 0-.4679l-.7583-.7583h2.5098c.1826 0 .3308-.1482.3308-.3308s-.1482-.3309-.3308-.3309z"})),(0,ie.createElement)(Zt.Path,{d:"m33.6606 14.4844h-17.6962c-.6707 0-1.2144.3917-1.2144.875v12.75c0 .4832.5437.875 1.2144.875h17.6962c.6707 0 1.2144-.3918 1.2144-.875v-12.75c0-.4833-.5437-.875-1.2144-.875z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(Zt.Path,{d:"m38.5 27.7344c-.8284 0-1.5-.6716-1.5-1.5v-9c0-.8285.6716-1.5 1.5-1.5z",fill:"currentColor"}),(0,ie.createElement)(Zt.Path,{d:"m11 15.7344c.8284 0 1.5.6715 1.5 1.5v9c0 .8284-.6716 1.5-1.5 1.5z",fill:"currentColor"})),za.lightbox=(0,ie.createElement)(Zt.SVG,{fill:"none",height:"48",viewBox:"0 0 48 48",width:"48",xmlns:"http://www.w3.org/2000/SVG"},(0,ie.createElement)(Zt.G,{fill:"currentColor"},(0,ie.createElement)(Zt.Path,{clipRule:"evenodd",d:"m28.6679 24.9019-1.6896-1.6896c.5232-.7721.7398-1.7116.6075-2.6349-.1324-.9232-.6041-1.764-1.3232-2.3581s-1.6338-.8987-2.5655-.8545c-.9316.0443-1.8134.4342-2.4729 1.0938-.6595.6595-1.0495 1.5412-1.0938 2.4729-.0442.9317.2605 1.8464.8545 2.5655.5941.719 1.4349 1.1908 2.3582 1.3232.9233.1323 1.8627-.0843 2.6349-.6076l1.6896 1.6897c.1326.1326.3125.2071.5001.2071s.3675-.0745.5002-.2071c.1326-.1327.2072-.3126.2072-.5002s-.0746-.3675-.2072-.5002zm-4.7939-1.2918c-.4951.0002-.9791-.1464-1.3908-.4214-.4118-.2749-.7327-.6658-.9222-1.1231-.1896-.4574-.2392-.9607-.1427-1.4462.0965-.4856.3349-.9316.685-1.2817s.7961-.5885 1.2817-.685c.4856-.0966.9889-.0469 1.4462.1426.4574.1896.8482.5105 1.1232.9222.2749.4118.4215.8958.4213 1.3909 0 .6635-.2635 1.2998-.7327 1.769-.4692.4691-1.1055.7327-1.769.7327z",fillRule:"evenodd"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 24.3594h1.5v4.03125h-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 14.4844h1.5v3.8125h-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 14.4844h1.5v3.8125h-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 14.4844h1.5v3.8125h-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 14.4844h1.5v3.8125h-1.5z"})),(0,ie.createElement)(Zt.Path,{d:"m33.1606 14.4844h-17.6962c-.6707 0-1.2144.3917-1.2144.875v12.75c0 .4832.5437.875 1.2144.875h17.6962c.6707 0 1.2144-.3918 1.2144-.875v-12.75c0-.4833-.5437-.875-1.2144-.875z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}));var Ta=za;const Pa=On()((e=>{if(Object.entries(e.images).length>0)return!1;const t=Ba.map((t=>!(Object.entries(t.attributes).filter((o=>{let[n]=o;return e[n]===t.attributes[n]})).length!==Object.entries(t.attributes).length)&&t.title)).filter((e=>"string"==typeof e));return t.length?t[0]:!(Object.entries(Na.attributes).filter((t=>{let[o]=t;return e[o]===Na.attributes[o]})).length!==Object.entries(Na.attributes).length)&&"skip"})),Na={attributes:{gridSize:"xlrg",radius:0,gutter:0,gutterMobile:0}},Ba=[{name:"full-thumbnails-xlrg",title:(0,le.__)("Thumbnails","coblocks"),icon:Ta.thumbnails,attributes:{thumbnails:!0,alignCells:!0,align:"full",autoPlay:!1,draggable:!1,freeScroll:!1,prevNextButtons:!1,gridSize:"xlrg",radius:0,gutter:0,gutterMobile:0,pageDots:!1},scope:["block"]},{name:"full-arrows-lrg",title:(0,le.__)("Full Autoplay","coblocks"),icon:Ta.fullAutoplay,attributes:{thumbnails:!1,alignCells:!1,align:"full",autoPlay:!0,draggable:!1,freeScroll:!1,prevNextButtons:!0,gridSize:"lrg",autoPlaySpeed:3e3},scope:["block"]},{name:"full-scroll-dots-lrg",title:(0,le.__)("Full Scroll","coblocks"),icon:Ta.fullScroll,attributes:{thumbnails:!1,alignCells:!0,align:"full",autoPlay:!0,prevNextButtons:!0,gridSize:"lrg",autoPlaySpeed:3e3,responsiveHeight:!0,pageDots:!0,freeScroll:!0,draggable:!0,pauseHover:!0},scope:["block"]},{name:"wide-lightbox-lrg",title:(0,le.__)("Lightbox","coblocks"),icon:Ta.lightbox,attributes:{thumbnails:!1,alignCells:!0,align:"wide",autoPlay:!0,prevNextButtons:!0,gridSize:"lrg",autoPlaySpeed:3e3,responsiveHeight:!0,pageDots:!1,freeScroll:!0,draggable:!1,pauseHover:!0,lightbox:!0},scope:["block"]}],Oa=e=>{const{name:t,setAttributes:o,clientId:n}=e,l=(0,co.useSelect)((e=>e("core/blocks").getBlockType(t)),[]),r=(0,co.useSelect)((e=>{var o;return null!==(o=e("core/blocks").getBlockVariations(t))&&void 0!==o?o:null}),[]);return(0,ie.createElement)(Yt.__experimentalBlockVariationPicker,{icon:Bt()(l,["icon","src"]),label:Bt()(l,["title"]),instructions:(0,le.__)("Select a carousel variation to start with.","coblocks"),variations:r,allowSkip:!0,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Na;var t;null!=e&&e.attributes&&o({...e.attributes,navForClass:Ra(null===(t=e.attributes)||void 0===t?void 0:t.thumbnails,n)})}})},Ra=(e,t)=>e?`has-nav-${t.split("-")[0]}`:"";var Ma=(0,Kt.compose)([Zt.withNotices])((e=>{const t=Ra(e.attributes.thumbnails,e.clientId),[o,n]=(0,ie.useState)(null),[l,r]=(0,ie.useState)(!1),a=(0,Kt.usePrevious)(e.isSelected);(0,ie.useEffect)((()=>{!e.isSelected&&a&&(n(null),r(!1)),!e.isSelected&&a&&l&&r(!1)}),[a,e.isSelected,l]),(0,ie.useEffect)((()=>{e.attributes.gutter<=0&&0!==e.attributes.radius&&e.setAttributes({radius:0})}),[e.attributes.gutter]),(0,ie.useEffect)((()=>{"xlrg"===e.attributes.gridSize&&e.setAttributes({gutter:0,gutterMobile:0})}),[e.attributes.gridSize]),(0,ie.useEffect)((()=>{t!==e.attributes.navForClass&&h({navForClass:t})}),[e.attributes.navForClass,t]),(0,ie.useEffect)((()=>{e.attributes.thumbnails&&e.attributes.pageDots&&h({pageDots:!1})}),[e.attributes.thumbnails,e.attributes.pageDots]);const c=(t,o)=>{const n=[...e.attributes.images];n[t]={...o},e.setAttributes({images:n})},i=()=>{e.isSelected||e.onSelect(),l&&r(!1)},{attributes:s,className:u,isSelected:d,noticeUI:m,setAttributes:h}=e,{align:p,gridSize:b,gutter:g,gutterMobile:f,height:v,images:_,pageDots:k,prevNextButtons:y,primaryCaption:w,alignCells:E,thumbnails:x,responsiveHeight:C,lightbox:S,navForClass:z}=s,T=Pa(s),P=!!_.length;if(!P&&!T&&"skip"!==T)return(0,ie.createElement)(Oa,e);const N=!(!T||"skip"===T)&&(0,le.sprintf)(
222
  /* translators: %s: Type of gallery variation */
@@ -231,7 +231,7 @@ description:(0,le.__)("Display multiple images in a beautiful carousel gallery."
231
  (0,le.__)("gallery","coblocks"),
232
  /* translators: block keyword */
233
  (0,le.__)("photos","coblocks")],supports:{align:["wide","full"],html:!1,coBlocksSpacing:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"}]}},transforms:La,edit:Ma,save:e=>{let{attributes:t,className:o}=e;const{autoPlay:n,autoPlaySpeed:l,draggable:r,freeScroll:a,gridSize:c,gutter:i,gutterMobile:s,height:u,images:d,pageDots:m,pauseHover:h,prevNextButtons:p,primaryCaption:b,alignCells:g,thumbnails:f,responsiveHeight:v,lightbox:_,navForClass:k}=t;if(d.length<=0)return;const y=Ut()(o,{"has-responsive-height":v}),w=Ut()("is-cropped",...na(t),{"has-horizontal-gutter":i>0,"has-lightbox":_}),E=Ut()("has-carousel",`has-carousel-${c}`,{"has-aligned-cells":g,[`has-margin-bottom-${i}`]:f&&i>0,[`has-margin-bottom-mobile-${s}`]:f&&s>0,[k]:f}),x={height:u?u+"px":void 0},C=Ut()("coblocks-gallery--figure",{[`has-margin-left-${i}`]:i>0,[`has-margin-left-mobile-${s}`]:s>0,[`has-margin-right-${i}`]:i>0,[`has-margin-right-mobile-${s}`]:s>0}),S={autoPlay:!(!n||!l)&&parseFloat(l),draggable:r,pageDots:m,prevNextButtons:p,wrapAround:!0,cellAlign:g?"left":"center",pauseAutoPlayOnHover:h,freeScroll:a,arrowShape:{x0:10,x1:60,y1:50,x2:65,y2:45,x3:20},thumbnails:f,responsiveHeight:v},z=Ut()("coblocks-gallery--caption","coblocks-gallery--primary-caption",{}),T=Ut()("carousel-nav",{[`has-margin-top-${i}`]:i>0,[`has-margin-top-mobile-${s}`]:s>0,[`has-negative-margin-left-${i}`]:i>0,[`has-negative-margin-left-mobile-${s}`]:s>0,[`has-negative-margin-right-${i}`]:i>0,[`has-negative-margin-right-mobile-${s}`]:s>0}),P=Ut()("coblocks--figure",{[`has-margin-left-${i}`]:i>0,[`has-margin-left-mobile-${s}`]:s>0,[`has-margin-right-${i}`]:i>0,[`has-margin-right-mobile-${s}`]:s>0}),N={asNavFor:`.${k}`,autoPlay:!1,contain:!0,cellAlign:"left",pageDots:!1,thumbnails:!1,draggable:r,prevNextButtons:!1,wrapAround:!1};return(0,ie.createElement)("div",{"aria-label":(0,le.__)("Carousel Gallery","coblocks"),className:y},(0,ie.createElement)("div",{className:w},(0,ie.createElement)("div",{className:E,style:v?void 0:x,"data-flickity":JSON.stringify(S)},d.map((e=>{const t=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,ie.createElement)("div",{key:e.id||e.url,className:"coblocks-gallery--item"},(0,ie.createElement)("figure",{className:C},t))}))),f?(0,ie.createElement)("div",{className:T,"data-flickity":JSON.stringify(N)},d.map((e=>{const t=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return(0,ie.createElement)("div",{key:e.id||e.url,className:"coblocks--item-thumbnail"},(0,ie.createElement)("figure",{className:P},t))}))):null),!Yt.RichText.isEmpty(b)&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:z,value:b}))},deprecated:ia};var ja=(0,Yt.withColors)("backgroundColor",{textColor:"color"},{buttonColor:"background-color"});const{getComputedStyle:Ga}=window,$a=(0,Zt.withFallbackStyles)(((e,t)=>{const{textColor:o,buttonColor:n,fontSize:l,customFontSize:r}=t.attributes,a=e.querySelector('[contenteditable="true"]'),c=a?Ga(a):null;return{fallbackButtonColor:n||!c?void 0:c.buttonColor,fallbackTextColor:o||!c?void 0:c.color,fallbackFontSize:l||r||!c?void 0:parseInt(c.fontSize)||void 0}}));var Ha=(0,Kt.compose)([ja,$a,(0,Yt.withFontSizes)("fontSize")])((e=>{const{buttonColor:t,fallbackButtonColor:o,fallbackTextColor:n,setButtonColor:l,setTextColor:r,textColor:a}=e;return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Text settings","coblocks"),className:"blocks-font-size"},(0,ie.createElement)(ir,e)),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:a.color,onChange:r,label:(0,le.__)("Text color","coblocks")},{value:t.color,onChange:l,label:(0,le.__)("Button Color","coblocks")}]},(0,ie.createElement)(Yt.ContrastChecker,{textColor:"#ffffff",backgroundColor:t.color,fallbackButtonColor:o,fallbackTextColor:n})))})),Ua=e=>{const{attributes:t,setAttributes:o}=e,{textAlign:n,via:l}=t;return(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.AlignmentToolbar,{onChange:e=>o({textAlign:e}),value:n}),(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)("div",{className:"wp-block-coblocks-click-to-tweet__via-wrapper"},(0,ie.createElement)("label",{"aria-label":(0,le.__)("Twitter Username","coblocks"),className:"wp-block-coblocks-click-to-tweet__via-label",htmlFor:"wp-block-coblocks-click-to-tweet__via"},(0,ie.createElement)(Zt.Icon,{icon:pe})),(0,ie.createElement)("input",{"aria-label":(0,le.__)("Twitter Username","coblocks"),className:"wp-block-coblocks-click-to-tweet__via",id:"wp-block-coblocks-click-to-tweet__via",onChange:e=>o({via:e.target.value}),placeholder:(0,le.__)("Username","coblocks"),type:"text",value:l}))))};const Wa=(0,co.withSelect)((e=>{const{getPermalink:t}=e("core/editor");return{postLink:t()}}));var qa=(0,Kt.compose)([Wa,ja,(0,Yt.withFontSizes)("fontSize")])((e=>{const{attributes:t,buttonColor:o,className:n,isSelected:l,setAttributes:r,textColor:a,fontSize:c,onReplace:i}=e,{buttonText:s,content:u,textAlign:d}=t,m=Ut()(n,{[`has-text-align-${d}`]:d});return(0,ie.createElement)(ie.Fragment,null,l&&(0,ie.createElement)(Ua,e),l&&(0,ie.createElement)(Ha,e),(0,ie.createElement)("blockquote",{className:m},(0,ie.createElement)(Yt.RichText,{tagName:"p",multiline:"false"
234
- /* translators: the text of the click to tweet element */,placeholder:(0,le.__)("Add a quote to tweet…","coblocks"),value:u,allowedFormats:[],className:Ut()("wp-block-coblocks-click-to-tweet__text",{"has-text-color":a.color,[a.class]:a.class,[null==c?void 0:c.class]:null==c?void 0:c.class}),style:{color:a.color,fontSize:It(c)},onChange:e=>r({content:e}),onRemove:e=>{const t=0===u.length||1===u.length;!e&&t&&i([])}}),(0,ie.createElement)(Yt.RichText,{tagName:"span",multiline:"false",placeholder:(0,le.__)("Add button…","coblocks"),value:s,allowedFormats:[],className:Ut()("wp-block-coblocks-click-to-tweet__twitter-btn",{"has-button-color":o.color,[o.class]:o.class}),style:{backgroundColor:o.color},onChange:e=>r({buttonText:e})})))})),Ya=JSON.parse('{"name":"coblocks/click-to-tweet","category":"formatting","attributes":{"content":{"type":"string","source":"html","selector":"p","default":""},"textAlign":{"type":"string"},"via":{"type":"string"},"buttonText":{"type":"string","default":"Tweet"},"buttonColor":{"type":"string"},"customButtonColor":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"fontSize":{"type":"string"},"customFontSize":{"type":"string"}}}'),Ka=e=>{let{attributes:t}=e;const{buttonColor:o,buttonText:n,customButtonColor:l,customTextColor:r,content:a,customFontSize:c,fontSize:i,textColor:s,textAlign:u,via:d}=t,m=d?`&via=${d}`:"",h=`http://twitter.com/share?&text=${encodeURIComponent(a)}&url=[post_permalink]${m}`,p=(0,Yt.getColorClassName)("color",s),b=(0,Yt.getFontSizeClass)(i),g=Ut()("wp-block-coblocks-click-to-tweet__text",{"has-text-color":s||r,[b]:b,[p]:p}),f=Ut()({[`has-text-align-${u}`]:u}),v={fontSize:b?void 0:c,color:p?void 0:r},_=(0,Yt.getColorClassName)("background-color",o),k=Ut()("wp-block-coblocks-click-to-tweet__twitter-btn",{"has-button-color":o||l,[_]:_}),y={backgroundColor:_?void 0:l};return!Yt.RichText.isEmpty(a)&&(0,ie.createElement)("blockquote",{className:f},(0,ie.createElement)(Yt.RichText.Content,{tagName:"p",className:g,style:v,value:a}),(0,ie.createElement)(Yt.RichText.Content,{tagName:"a",className:k,style:y,value:n,href:h,target:"_blank",rel:"noopener noreferrer"}))};var Za={from:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;const o=(0,sl.create)({html:t});return o.text=o.text.slice(0,280),[(0,ne.createBlock)(Ya.name,{content:(0,sl.toHTMLString)({value:o})})]}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:o}=e;const n=[(0,sl.create)({html:t}),(0,sl.create)({html:o})];return n[0].text=n[0].text.slice(0,280-n[1].text.length),[(0,ne.createBlock)(Ya.name,{content:(0,sl.toHTMLString)({value:n[0]})+(0,sl.toHTMLString)({value:n[1]})})]}},{type:"block",blocks:["core/quote"],transform:e=>{let{value:t,citation:o}=e;const n=[(0,sl.create)({html:t}),(0,sl.create)({html:o})];return n[0].text=n[0].text.slice(0,280-n[1].text.length),[(0,ne.createBlock)(Ya.name,{content:(0,sl.toHTMLString)({value:n[0]})+(0,sl.toHTMLString)({value:n[1]})})]}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,ne.createBlock)("core/paragraph",{content:t})}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{content:t}=e;return(0,ne.createBlock)("core/pullquote",{value:`<p>${t}</p>`})}},{type:"block",blocks:["core/quote"],transform:e=>{let{content:t}=e;return(0,ne.createBlock)("core/quote",{value:`<p>${t}</p>`})}}]};const Ja=[{attributes:{...Ya.attributes,url:{type:"attribute"}},save(e){const{buttonColor:t,buttonText:o,customButtonColor:n,customTextColor:l,content:r,customFontSize:a,fontSize:c,textColor:i,textAlign:s,url:u,via:d}=e.attributes,m=d?`&via=${d}`:"",h=`http://twitter.com/share?&text=${encodeURIComponent(r)}&url=${u}${m}`,p=(0,Yt.getColorClassName)("color",i),b=(0,Yt.getFontSizeClass)(c),g=Ut()("wp-block-coblocks-click-to-tweet__text",{"has-text-color":i||l,[b]:b,[p]:p}),f=Ut()({[`has-text-align-${s}`]:s}),v={fontSize:b?void 0:a,color:p?void 0:l},_=(0,Yt.getColorClassName)("background-color",t),k=Ut()("wp-block-coblocks-click-to-tweet__twitter-btn",{"has-button-color":t||n,[_]:_}),y={backgroundColor:_?void 0:n};return!Yt.RichText.isEmpty(r)&&(0,ie.createElement)("blockquote",{className:f},(0,ie.createElement)(Yt.RichText.Content,{tagName:"p",className:g,style:v,value:r}),(0,ie.createElement)(Yt.RichText.Content,{tagName:"a",className:k,style:y,value:o,href:h,target:"_blank",rel:"noopener noreferrer"}))}},{attributes:function(e){return(0,io.addFilter)("blocks.registerBlockType","coblocks/inspector/attributes",(t=>(Ao.includes(t.name)&&(e=Object.assign(e,Co)),t))),e}(Ya.attributes),save:Ka},{attributes:Ya.attributes,save(e){const{buttonColor:t,buttonText:o,customButtonColor:n,customTextColor:l,content:r,customFontSize:a,fontSize:c,textColor:i,textAlign:s,url:u,via:d}=e.attributes,m=d?`&via=${d}`:"",h=`http://twitter.com/share?&text=${encodeURIComponent(r)}&url=${u}${m}`,p=(0,Yt.getColorClassName)("color",i),b=(0,Yt.getFontSizeClass)(c),g=Ut()("wp-block-coblocks-click-to-tweet__text",{"has-text-color":i||l,[b]:b,[p]:p}),f={fontSize:b?void 0:a,color:p?void 0:l},v=(0,Yt.getColorClassName)("background-color",t),_=Ut()("wp-block-coblocks-click-to-tweet__twitter-btn",{"has-button-color":t||n,[v]:v}),k={backgroundColor:v?void 0:n};return!Yt.RichText.isEmpty(r)&&(0,ie.createElement)("blockquote",{style:{textAlign:s}},(0,ie.createElement)(Yt.RichText.Content,{tagName:"p",className:g,style:f,value:r}),(0,ie.createElement)(Yt.RichText.Content,{tagName:"a",className:_,style:k,value:o,href:h,target:"_blank",rel:"noopener noreferrer"}))}}];var Xa=Ja;const{name:Qa,category:ec,attributes:tc}=Ya,oc={
235
  /* translators: block name */
236
  title:(0,le.__)("Click to Tweet","coblocks"),
237
  /* translators: block description */
@@ -272,7 +272,7 @@ label:(0,le.__)("Default","coblocks"),isDefault:!0},{name:"tiled",
272
  /* translators: block style */
273
  label:(0,le.__)("Tiled","coblocks")},{name:"layered",
274
  /* translators: block style */
275
- label:(0,le.__)("Layered","coblocks")}],supports:{align:["wide","full"],gutter:{default:"small"}},example:{attributes:{images:[{index:0,url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{index:1,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},{index:2,url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{index:3,url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"},{index:4,url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"}]}},attributes:wc,transforms:_c,edit:fc,save:e=>{let{attributes:t}=e;const{animation:o,captions:n,captionStyle:l,filter:r,images:a,lightbox:c,linkTo:i,rel:s,shadow:u,target:d}=t,m=Ut()("wp-block-coblocks-gallery-collage__figure",{[`shadow-${u}`]:u&&"none"!==u});return(0,ie.createElement)(rc,t,(0,ie.createElement)("div",{"aria-label":(0,le.__)("Collage Gallery","coblocks"),className:Ut()({[`has-filter-${r}`]:"none"!==r,[`has-caption-style-${l}`]:n&&void 0!==l,"has-lightbox":c})},(0,ie.createElement)("ul",null,a.sort(((e,t)=>parseInt(e.index)-parseInt(t.index))).filter((e=>parseInt(e.index)<(["is-style-tiled","is-style-layered"].includes(t.className)?4:5))).map(((e,t)=>{let l;switch(i){case"media":l=e.url;break;case"attachment":l=e.link}e.imgLink&&(l=e.imgLink);const r=Ut()("wp-block-coblocks-gallery-collage__item",`item-${t+1}`,{"coblocks-animate":o}),a=Ut()(e.id&&[`wp-image-${e.id}`]),c=void 0===e.url?null:(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-index":e.index,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:a});return(0,ie.createElement)("li",{key:`image-${t}`,className:r,"data-coblocks-animation":o},c&&(0,ie.createElement)("figure",{className:m},l?(0,ie.createElement)("a",{href:l,target:d,rel:s},c):c,n&&e.caption&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:"wp-block-coblocks-gallery-collage__caption",value:e.caption})))})))))},deprecated:cc};var xc=JSON.parse('{"name":"coblocks/column","category":"layout","attributes":{"width":{"type":"string"},"contentAlign":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"verticalAlignment":{"type":"string"}}}'),Cc={paddingTop:{type:"number"},paddingRight:{type:"number"},paddingBottom:{type:"number"},paddingLeft:{type:"number"},paddingTopTablet:{type:"number"},paddingRightTablet:{type:"number"},paddingBottomTablet:{type:"number"},paddingLeftTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftMobile:{type:"number"},paddingUnit:{type:"string",default:"px"},paddingSize:{type:"string",default:"no"},paddingSyncUnits:{type:"boolean",default:!1},paddingSyncUnitsTablet:{type:"boolean",default:!0},paddingSyncUnitsMobile:{type:"boolean",default:!0},marginTop:{type:"number"},marginRight:{type:"number"},marginBottom:{type:"number"},marginLeft:{type:"number"},marginTopTablet:{type:"number"},marginRightTablet:{type:"number"},marginBottomTablet:{type:"number"},marginLeftTablet:{type:"number"},marginTopMobile:{type:"number"},marginRightMobile:{type:"number"},marginBottomMobile:{type:"number"},marginLeftMobile:{type:"number"},marginUnit:{type:"string",default:"px"},marginSize:{type:"string",default:"no"},marginSyncUnits:{type:"boolean",default:!1},marginSyncUnitsTablet:{type:"boolean",default:!1},marginSyncUnitsMobile:{type:"boolean",default:!1},hasMarginControl:{type:"boolean",default:!0},hasAlignmentControls:{type:"boolean",default:!0},hasStackedControl:{type:"boolean",default:!0}};const Sc=[{attributes:xc.attributes,save(e){let{attributes:t}=e;const{id:o,coblocks:n,backgroundType:l,backgroundColor:r,backgroundImg:a,customBackgroundColor:c,textColor:i,customTextColor:s,marginSize:u,paddingSize:d,contentAlign:m}=t,h=(0,Yt.getColorClassName)("color",i),p=(0,Yt.getColorClassName)("background-color",r);let b={[`coblocks-row--${o}`]:o,"has-text-color":i||s,[h]:h};n&&void 0!==n.id&&(b=Object.assign(b,[`coblocks-row-${n.id}`]));const g=Ut()(b),f=Ut()("wp-block-coblocks-column__inner",...Vr(t),{"has-padding":d&&"no"!==d,"has-margin":u&&"no"!==u,[`has-${d}-padding`]:d&&"advanced"!==d,[`has-${u}-margin`]:u&&"advanced"!==u}),v={color:h?void 0:s,textAlign:m||null},_={backgroundColor:p?void 0:c,backgroundImage:a&&"image"===l?`url(${a})`:void 0};return(0,ie.createElement)("div",{className:g,style:v},Qr(t),(0,ie.createElement)("div",{className:f,style:_},(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}},{attributes:{...Fr,...Cc,...xc.attributes},save(e){let{attributes:t}=e;const{coblocks:o,textColor:n,customTextColor:l,marginSize:r,paddingSize:a,contentAlign:c}=t,i=(0,Yt.getColorClassName)("color",n);let s="";o&&void 0!==o.id&&(s=Ut()(s,`coblocks-column-${o.id}`));const u=Ut()("wp-block-coblocks-column__inner",...Vr(t),{"has-padding":a&&"no"!==a,"has-margin":r&&"no"!==r,[`has-${a}-padding`]:a&&"advanced"!==a,[`has-${r}-margin`]:r&&"advanced"!==r}),d={textAlign:c||null},m={...Hr(t),color:i?void 0:l};return(0,ie.createElement)("div",{className:s,style:d},(0,ie.createElement)("div",{className:u,style:m},Qr(t),(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}}];var zc=Sc,Tc=(0,Yt.withColors)("backgroundColor",{textColor:"color"}),Pc=e=>{const{attributes:t,setAttributes:o,clientId:n,updateBlockAttributes:l,getBlockRootClientId:r}=e,{contentAlign:a,verticalAlignment:c}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.AlignmentToolbar,{value:a,onChange:e=>o({contentAlign:e})}),(0,ie.createElement)(Yt.BlockVerticalAlignmentToolbar,{onChange:e=>{const t=r(n);l(t,{verticalAlignment:null}),o({verticalAlignment:e})},value:c}),jr(e)))},Nc=o(5161),Bc=o.n(Nc);const Oc=[{name:(0,le.__)("None","coblocks"),size:0,slug:"no"},{name:(0,le.__)("Small","coblocks"),size:14,slug:"small"},{name:(0,le.__)("Medium","coblocks"),size:24,slug:"medium"},{name:(0,le.__)("Large","coblocks"),size:34,slug:"large"},{name:(0,le.__)("Huge","coblocks"),size:60,slug:"huge"}];class Rc extends ie.Component{constructor(){super(...arguments),this.getSelectValuesFromUtilitySizes=this.getSelectValuesFromUtilitySizes.bind(this),this.getCurrentSelectValue=this.getCurrentSelectValue.bind(this),this.setCurrentSelectValue=this.setCurrentSelectValue.bind(this),this.onChangeValue=this.onChangeValue.bind(this),this.getSelectOptions=this.getSelectOptions.bind(this)}getSelectValuesFromUtilitySizes(e,t){let o;if("string"==typeof t)return o=e.find((e=>e.slug===t)),o?o.slug:"custom"}getCurrentSelectValue(e){const{paddingSize:t,marginSize:o}=this.props;switch(e){case"margin":return o;case"padding":return t}}setCurrentSelectValue(e){const{type:t,setAttributes:o}=this.props;switch(t){case"margin":o({marginSize:e});break;case"padding":o({paddingSize:e})}}onChangeValue(e){const t=Oc.find((t=>t.slug===e));t&&this.setCurrentSelectValue(this.getSelectValuesFromUtilitySizes(Oc,t.slug))}getSelectOptions(e){return[...e.map((e=>({value:e.slug,label:e.name})))]}render(){const{type:e}=this.props;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.SelectControl,{className:"components-font-size-picker__select",label:`Choose ${e} preset`,hideLabelFromVision:!0,value:this.getCurrentSelectValue(e),onChange:this.onChangeValue,options:this.getSelectOptions(Oc)}))}}const Mc=["Top","Right","Bottom","Left"],Ac={margin:{top:(0,le.__)("Margin top","coblocks"),right:(0,le.__)("Margin right","coblocks"),bottom:(0,le.__)("Margin bottom","coblocks"),left:(0,le.__)("Margin left","coblocks")},padding:{top:(0,le.__)("Padding top","coblocks"),right:(0,le.__)("Padding right","coblocks"),bottom:(0,le.__)("Padding bottom","coblocks"),left:(0,le.__)("Padding left","coblocks")}};var Lc=(0,Kt.withInstanceId)((e=>{const{attributes:t,clientId:o,dimensionSize:n,help:l,instanceId:r,label:a=(0,le.__)("Margin","coblocks"),setAttributes:c,type:i="margin",unit:s}=e,{coblocks:u,marginSize:d,paddingSize:m,saveCoBlocksMeta:h}=t,{updateBlockAttributes:p}=(0,co.useDispatch)("core/block-editor"),b=(e,t)=>void 0!==e?`${e}${t}`:null,g=(e,t)=>{if(void 0!==e)return`${t}: ${e} !important`},f=()=>{const t=wp.data.select("core/editor").getEditedPostAttribute("meta"),l=wp.data.select("core/block-editor").getBlock(o);let r={};if(void 0!==u&&void 0!==u.id){const o=e.name.split("/").join("-")+"-"+u.id,a=l.attributes.paddingUnit,c=l.attributes.marginUnit,s={paddingTop:b(l.attributes.paddingTop,a),paddingRight:b(l.attributes.paddingRight,a),paddingBottom:b(l.attributes.paddingBottom,a),paddingLeft:b(l.attributes.paddingLeft,a),paddingTopTablet:b(l.attributes.paddingTopTablet,a),paddingRightTablet:b(l.attributes.paddingRightTablet,a),paddingBottomTablet:b(l.attributes.paddingBottomTablet,a),paddingLeftTablet:b(l.attributes.paddingLeftTablet,a),paddingTopMobile:b(l.attributes.paddingTopMobile,a),paddingRightMobile:b(l.attributes.paddingRightMobile,a),paddingBottomMobile:b(l.attributes.paddingBottomMobile,a),paddingLeftMobile:b(l.attributes.paddingLeftMobile,a)},d={marginTop:b(l.attributes.marginTop,c),marginRight:b(l.attributes.marginRight,c),marginBottom:b(l.attributes.marginBottom,c),marginLeft:b(l.attributes.marginLeft,c),marginTopTablet:b(l.attributes.marginTopTablet,c),marginRightTablet:b(l.attributes.marginRightTablet,c),marginBottomTablet:b(l.attributes.marginBottomTablet,c),marginLeftTablet:b(l.attributes.marginLeftTablet,c),marginTopMobile:b(l.attributes.marginTopMobile,c),marginRightMobile:b(l.attributes.marginRightMobile,c),marginBottomMobile:b(l.attributes.marginBottomMobile,c),marginLeftMobile:b(l.attributes.marginLeftMobile,c)};r=void 0===t||void 0===t._coblocks_dimensions||void 0!==t._coblocks_dimensions&&""===t._coblocks_dimensions?{}:JSON.parse(t._coblocks_dimensions),void 0===r[o]?(r[o]={},r[o][i]={}):void 0===r[o][i]&&(r[o][i]={}),r[o][i]="advanced"===n?"padding"===i?s:d:{},wp.data.dispatch("core/editor").editPost({meta:{_coblocks_dimensions:JSON.stringify(r)}});const m=document.head||document.getElementsByTagName("head")[0],h=document.createElement("style");h.type="text/css";const p=`\n\t\t\t\t@media only screen and (max-width: 768px) {\n\t\t\t\t\t.${o} > div {\n\t\t\t\t\t\t${g(s.paddingTopTablet,"padding-top")}\n\t\t\t\t\t\t${g(s.paddingRightTablet,"padding-right")}\n\t\t\t\t\t\t${g(s.paddingBottomTablet,"padding-bottom")}\n\t\t\t\t\t\t${g(s.paddingLeftTablet,"padding-left")}\n\t\t\t\t\t\t${g(d.marginTopTablet,"margin-top")}\n\t\t\t\t\t\t${g(d.marginRightTablet,"margin-right")}\n\t\t\t\t\t\t${g(d.marginBottomTablet,"margin-bottom")}\n\t\t\t\t\t\t${g(d.marginLeftTablet,"margin-left")}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@media only screen and (max-width: 514px) {\n\t\t\t\t\t.${o} > div {\n\t\t\t\t\t\t${g(s.paddingTopMobile,"padding-top")}\n\t\t\t\t\t\t${g(s.paddingRightMobile,"padding-right")}\n\t\t\t\t\t\t${g(s.paddingBottomMobile,"padding-bottom")}\n\t\t\t\t\t\t${g(s.paddingLeftMobile,"padding-left")}\n\t\t\t\t\t\t${g(d.marginTopMobile,"margin-top")}\n\t\t\t\t\t\t${g(d.marginRightMobile,"margin-right")}\n\t\t\t\t\t\t${g(d.marginBottomMobile,"margin-bottom")}\n\t\t\t\t\t\t${g(d.marginLeftMobile,"margin-left")}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t`;h.styleSheet?h.styleSheet.cssText=p:h.appendChild(document.createTextNode(p)),m.appendChild(h)}};h&&(f(),p(o,{saveCoBlocksMeta:!1}));const v=(t,o)=>{["coblocks/hero"].includes(e.name)&&"no"===t&&(o<0?(t="huge",o=60):o=-1),"padding"===i&&c({paddingSyncUnits:!0}),c({[`${i}Size`]:t}),o&&c({[`${i}Top`]:o=o<0?"":o,[`${i}Right`]:0,[`${i}Bottom`]:o,[`${i}Left`]:0,[`${i}Unit`]:"px"}),f()},_=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const o=[e["valueTop"+t],e["valueRight"+t],e["valueBottom"+t],e["valueLeft"+t]],n=Math.max.apply(null,o);c({[`${i}SyncUnits${t}`]:!e[`syncUnits${t}`],[`${i}Top${t}`]:n,[`${i}Right${t}`]:n,[`${i}Bottom${t}`]:n,[`${i}Left${t}`]:n}),f()},k=Ut()("components-base-control","components-coblocks-dimensions-control",{}),y=`inspector-coblocks-dimensions-control-${r}`,w=(t,o)=>{const n=""===t.target.value?void 0:Number(t.target.value);let l="";void 0!==t.target.getAttribute("data-device-type")&&void 0!==t.target.getAttribute("data-device-type")&&(l=t.target.getAttribute("data-device-type")),e["syncUnits"+l]?((e,t)=>{c({[`${i}Top${t}`]:e,[`${i}Right${t}`]:e,[`${i}Bottom${t}`]:e,[`${i}Left${t}`]:e}),f()})(n,l):((e,t,o)=>{c({[`${i}${o}${t}`]:e}),f()})(n,l,o)},E=[{
276
  /* translators: a unit of size (px) for css markup */
277
  name:(0,le.__)("Pixel","coblocks"),unitValue:"px"},{
278
  /* translators: a unit of size (em) for css markup */
@@ -282,19 +282,19 @@ name:(0,le.__)("Viewport width","coblocks"),unitValue:"vw"},{
282
  /* translators: a unit of size (vh) for css markup */
283
  name:(0,le.__)("Viewport height","coblocks"),unitValue:"vh"},{
284
  /* translators: a unit of size for css markup */
285
- name:(0,le.__)("Percentage","coblocks"),unitValue:"%"}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:k},"advanced"===n?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__header"},a&&(0,ie.createElement)("p",{className:"components-coblocks-dimensions-control__label"},a),(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__actions"},(0,ie.createElement)(Zt.ButtonGroup,{className:"components-coblocks-dimensions-control__units","aria-label":(0,le.__)("Select Units","coblocks")},Bc()(E,(e=>{let{unitValue:t,name:o}=e;return(0,ie.createElement)(Zt.Tooltip,{key:`coblocks-dimensions-control-unit-tooltip-${o}`,text:(0,le.sprintf)(
286
  /* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */
287
  (0,le.__)("%s units","coblocks"),o)},(0,ie.createElement)(Zt.Button,{key:t,className:"components-coblocks-dimensions-control__units--"+o,isSmall:!0,isPrimary:s===t,isSecondary:s!==t,"aria-pressed":s===t,"aria-label":(0,le.sprintf)(
288
  /* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */
289
  (0,le.__)("%s units","coblocks"),o),onClick:()=>(c({[`${i}Unit`]:t}),void f())},t))}))),(0,ie.createElement)(Zt.Button,{type:"button",onClick:()=>v("no",-1),isSmall:!0,isSecondary:!0,"aria-label":(0,le.sprintf)(
290
  /* translators: %s: a texual label */
291
- (0,le.__)("Turn off advanced %s settings","coblocks"),a.toLowerCase())},(0,le.__)("Reset","coblocks")))),(0,ie.createElement)(Zt.TabPanel,{className:"components-coblocks-dimensions-control__mobile-controls",activeClass:"is-active",initialTabName:"default",onSelect:e=>{let t="desktop";switch(e){case"desktop":t="tablet";break;case"tablet":t="mobile";break;case"mobile":t="desktop"}const o=document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item--${i}`);for(let e=0;e<o.length;e++)o[e].style.display="none";"default"===e?document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item-${i}--tablet`)[0].click():document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item-${i}--${t}`)[0].style.display="block"},tabs:[{name:"default",title:_e,className:`components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${i} components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--default components-coblocks-dimensions-control__mobile-controls-item-${i}--default`},{name:"desktop",title:_e,className:`components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${i} components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--desktop components-coblocks-dimensions-control__mobile-controls-item-${i}--desktop`},{name:"tablet",title:xt,className:`components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${i} components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--tablet components-coblocks-dimensions-control__mobile-controls-item-${i}--tablet`},{name:"mobile",title:it,className:`components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${i} components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--mobile components-coblocks-dimensions-control__mobile-controls-item-${i}--mobile`}]},(t=>{return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const o=e[`syncUnits${t}`];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__inputs"},Mc.map((o=>(0,ie.createElement)("input",{key:`coblocks-dimensions-control-number-${t}-${o}`,className:"components-coblocks-dimensions-control__number",type:"number",onChange:e=>w(e,o),"aria-label":Ac[i][o.toLowerCase()],"aria-describedby":l?y+"__help":void 0,value:e[`value${o}${t}`],min:"padding"===i?0:void 0,"data-device-type":t}))),(0,ie.createElement)(Zt.Tooltip,{text:o?(0,le.__)("Unsync","coblocks"):(0,le.__)("Sync","coblocks")},(0,ie.createElement)(Zt.Button,{className:"components-coblocks-dimensions-control_sync","aria-label":(0,le.__)("Sync units","coblocks"),isPrimary:!!o,isSecondary:!o,"aria-pressed":!!o,onClick:()=>_(t),"data-device-type":t,isSmall:!0},Et))))}(["default","desktop"].includes(t.name)?"":(o=t.name)&&o[0].toUpperCase()+o.slice(1)||"");var o})),(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__input-labels"},(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},(0,le.__)("Top","coblocks")),(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},(0,le.__)("Right","coblocks")),(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},(0,le.__)("Bottom","coblocks")),(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},(0,le.__)("Left","coblocks")),(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label-blank"}))):(0,ie.createElement)(Zt.BaseControl,{id:"textarea-1",label:a,help:l},(0,ie.createElement)("div",{className:"components-font-size-picker__controls"},(0,ie.createElement)(Rc,{type:i,setAttributes:c,paddingSize:m,marginSize:d}),(0,ie.createElement)(Zt.Button,{type:"button",onClick:()=>v("advanced",""),isSmall:!0,isSecondary:!0,"aria-label":(0,le.sprintf)(
292
  /* translators: %s: a texual label */
293
- (0,le.__)("Advanced %s settings","coblocks"),a.toLowerCase()),isPrimary:"advanced"===n},(0,le.__)("Advanced","coblocks"))))))}));const{getComputedStyle:Ic}=window,Dc=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?Ic(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var Fc=(0,Kt.compose)([Tc,Dc])((e=>{const{clientId:t,attributes:o,setAttributes:n,backgroundColor:l,setBackgroundColor:r,setTextColor:a,textColor:c,nextBlockClient:i,nextBlockClientId:s,lastId:u,updateBlockAttributes:d}=e,{width:m,marginTop:h,marginRight:p,marginBottom:b,marginLeft:g,marginTopTablet:f,marginRightTablet:v,marginBottomTablet:_,marginLeftTablet:k,marginTopMobile:y,marginRightMobile:w,marginBottomMobile:E,marginLeftMobile:x,marginUnit:C,marginSyncUnits:S,marginSyncUnitsTablet:z,marginSyncUnitsMobile:T,marginSize:P,paddingTop:N,paddingRight:B,paddingBottom:O,paddingLeft:R,paddingTopTablet:M,paddingRightTablet:A,paddingBottomTablet:L,paddingLeftTablet:I,paddingTopMobile:D,paddingRightMobile:F,paddingBottomMobile:V,paddingLeftMobile:j,paddingUnit:G,paddingSyncUnits:$,paddingSyncUnitsTablet:H,paddingSyncUnitsMobile:U,paddingSize:W}=o;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Column settings","coblocks"),className:"components-panel__body--column-settings"},(0,ie.createElement)(Lc,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),help:(0,le.__)("Space inside of the container.","coblocks"),valueTop:N,valueRight:B,valueBottom:O,valueLeft:R,valueTopTablet:M,valueRightTablet:A,valueBottomTablet:L,valueLeftTablet:I,valueTopMobile:D,valueRightMobile:F,valueBottomMobile:V,valueLeftMobile:j,unit:G,syncUnits:$,syncUnitsTablet:H,syncUnitsMobile:U,dimensionSize:W})),(0,ie.createElement)(Lc,Ft({},e,{type:"margin",label:(0,le.__)("Margin","coblocks"),help:(0,le.__)("Space around the container.","coblocks"),valueTop:h,valueRight:p,valueBottom:b,valueLeft:g,valueTopTablet:f,valueRightTablet:v,valueBottomTablet:_,valueLeftTablet:k,valueTopMobile:y,valueRightMobile:w,valueBottomMobile:E,valueLeftMobile:x,unit:C,syncUnits:S,syncUnitsTablet:z,syncUnitsMobile:T,dimensionSize:P})),u!==t?(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Width","coblocks"),value:parseFloat(m),onChange:e=>(e=>{const t=parseFloat(m)-e,o=parseFloat(i.attributes.width)+t;o>9&&(n({width:parseFloat(e).toFixed(2)}),d(s,{width:parseFloat(o).toFixed(2)}))})(e),min:10,max:100,step:.01}):null),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:l.color,onChange:r,label:(0,le.__)("Background color","coblocks")},{value:c.color,onChange:a,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasOverlay:!0}))))}));const Vc=(0,co.withSelect)(((e,t)=>{let{clientId:o}=t;const{getBlock:n,getBlockRootClientId:l,getNextBlockClientId:r,getPreviousBlockClientId:a,getBlocksByClientId:c}=e("core/block-editor"),i=l(o),s=n(o),u=r(o)||a(o),d=n(u),m=c(i),h="undefined"!==m[0].innerBlocks?m[0].innerBlocks[m[0].innerBlocks.length-1].clientId:o;return{getBlockRootClientId:l,hasInnerBlocks:!(!s||!s.innerBlocks.length),lastId:h,nextBlockClient:d,nextBlockClientId:u,parentBlocks:m,parentId:i}})),jc=(0,co.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/block-editor");return{updateBlockAttributes:t}}));var Gc=(0,Kt.compose)([Tc,Vc,jc])((e=>{const[t,o]=(0,ie.useState)(0),[n]=(0,ie.useState)(0),[l]=(0,ie.useState)(999999999),[r,a]=(0,ie.useState)(!1),{columnBlocks:c,attributes:i,className:s,isSelected:u,setAttributes:d,backgroundColor:m,textColor:h,hasInnerBlocks:p,parentId:b,nextBlockClient:g,nextBlockClientId:f,updateBlockAttributes:v,clientId:_}=e,{coblocks:k,backgroundImg:y,width:w,paddingTop:E,paddingRight:x,paddingBottom:C,paddingLeft:S,marginTop:z,marginRight:T,marginBottom:P,marginLeft:N,paddingUnit:B,marginUnit:O,marginSize:R,paddingSize:M,contentAlign:A,verticalAlignment:L}=i,I=(0,ie.createElement)($r,Ft({},e,{label:(0,le.__)("Add background to column","coblocks")}));let D=Ut()("wp-block-coblocks-column",{"wp-block-coblocks-column-placeholder":c&&c.innerBlocks&&Object.keys(c.innerBlocks).length<1},{[`has-text-align-${A}`]:A,[`is-vertically-aligned-${L}`]:L});k&&void 0!==k.id&&(D=Ut()(D,`coblocks-column-${k.id}`));const F=Ut()("wp-block-coblocks-column__inner",...Vr(i),{"has-margin":R&&"no"!==R,"has-padding":M&&"no"!==M,"has-text-color":h.color,[`has-${M}-padding`]:M&&!["no","advanced"].includes(M),[`has-${R}-margin`]:R&&!["no","advanced"].includes(R)}),V={...Hr(i),backgroundColor:m.color,color:h.color,marginBottom:"advanced"===R&&P?P+O:void 0,marginLeft:"advanced"===R&&N?N+O:void 0,marginRight:"advanced"===R&&T?T+O:void 0,marginTop:"advanced"===R&&z?z+O:void 0,paddingBottom:"advanced"===M&&C?C+B:void 0,paddingLeft:"advanced"===M&&S?S+B:void 0,paddingRight:"advanced"===M&&x?x+B:void 0,paddingTop:"advanced"===M&&E?E+B:void 0};return 100===parseInt(w)?(0,ie.createElement)(ie.Fragment,null,I,u&&(0,ie.createElement)(Pc,e),u&&(0,ie.createElement)(Fc,e),(0,ie.createElement)("div",{className:D,style:{backgroundColor:m.color,backgroundImage:y?`url(${y})`:void 0,color:h.color}},(0,ie.createElement)("div",{className:"wp-block-coblocks-column"},(0,ie.createElement)("div",{className:F,style:V},Qr(i),(0,ie.createElement)(Yt.InnerBlocks,{renderAppender:!p&&Yt.InnerBlocks.ButtonBlockAppender,templateLock:!1}))))):(0,ie.createElement)(ie.Fragment,null,I,u&&(0,ie.createElement)(Pc,e),u&&(0,ie.createElement)(Fc,e),(0,ie.createElement)("span",{className:Ut()("coblocks-resizeable-width",{"is-resizing":r})},u&&n>0?parseFloat(n).toFixed(1):parseFloat(w).toFixed(1),"%"),(0,ie.createElement)(Zt.ResizableBox,{className:Ut()(s,{"is-resizing":r,"is-selected-column":u}),enable:{bottom:!1,bottomLeft:!1,bottomRight:!1,left:!1,right:!0,top:!1,topLeft:!1,topRight:!1},maxWidth:l,minHeight:"20",onResize:(e,o,n,l)=>{const r=document.getElementById("block-"+b).getElementsByClassName("wp-block-coblocks-row__inner")[0].getBoundingClientRect(),a=(t+l.width)/r.width*100,c=parseFloat(w)-a,i=parseFloat(g.attributes.width)+c;document.getElementById("block-"+b).classList.add("is-resizing"),document.getElementById("block-"+_).getElementsByClassName("wp-block-coblocks-column")[0].style.width="auto",i>10&&a>10&&(v(f,{width:parseFloat(i).toFixed(2)}),d({width:parseFloat(a).toFixed(2)}))},onResizeStart:()=>{const e=document.getElementById("block-"+_),t=e.getBoundingClientRect();e.classList.add("is-resizing"),document.getElementById("block-"+b).classList.add("is-resizing"),o(t.width),a(!0)},onResizeStop:()=>{document.getElementById("block-"+_).classList.remove("is-resizing"),document.getElementById("block-"+b).classList.remove("is-resizing"),a(!1)},showHandle:u},(0,ie.createElement)("div",{className:D,style:{color:h.color}},(0,Mt.isBlobURL)(y)&&(0,ie.createElement)(Zt.Spinner,null),Qr(i),(0,ie.createElement)("div",{className:F,style:V},(0,ie.createElement)(Yt.InnerBlocks,{renderAppender:!p&&Yt.InnerBlocks.ButtonBlockAppender,templateLock:!1})))))}));const{name:$c,category:Hc}=xc,Uc={...Cc,...Fr,...xc.attributes},Wc={
294
  /* translators: block name */
295
  title:(0,le.__)("Column","coblocks"),
296
  /* translators: block description */
297
- description:(0,le.__)("An immediate child of a row.","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:ve}),parent:["coblocks/row"],supports:{inserter:!1},attributes:Uc,edit:Gc,getEditWrapperProps(e){const{paddingSize:t}=e;if("advanced"!==t&&"no"===t)return{"data-background-dropzone":!1}},save:e=>{let{attributes:t}=e;const{coblocks:o,textColor:n,customTextColor:l,marginSize:r,paddingSize:a,contentAlign:c,verticalAlignment:i}=t,s=(0,Yt.getColorClassName)("color",n);let u=Ut()({[`has-text-align-${c}`]:c,[`is-vertically-aligned-${i}`]:i});o&&void 0!==o.id&&(u=Ut()(u,`coblocks-column-${o.id}`));const d=Ut()("wp-block-coblocks-column__inner",...Vr(t),{"has-margin":r&&"no"!==r,"has-padding":a&&"no"!==a,"has-text-color":n||l,[s]:s,[`has-${a}-padding`]:a&&!["no","advanced"].includes(a),[`has-${r}-margin`]:r&&!["no","advanced"].includes(r)}),m={...Hr(t),color:s?void 0:l};return(0,ie.createElement)("div",{className:u},(0,ie.createElement)("div",{className:d,style:m},Qr(t),(0,ie.createElement)(Yt.InnerBlocks.Content,null)))},deprecated:zc};var qc=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"})),Yc=JSON.parse('{"name":"coblocks/dynamic-separator","category":"layout","attributes":{"height":{"type":"number","default":50},"color":{"type":"string"},"customColor":{"type":"string"}}}');const Kc=[{attributes:{...Yc.attributes},save(e){let{attributes:t,className:o}=e;const{color:n,customColor:l,height:r}=t,a=(0,Yt.getColorClassName)("color",n),c=Ut()(o,{"has-text-color":n||l,[a]:a}),i={color:a?void 0:l,height:r?r+"px":void 0};return(0,ie.createElement)("hr",{className:c,style:i})}}];var Zc=Kc,Jc=(0,Yt.withColors)({color:"color"}),Xc=(0,Kt.compose)([Jc])((e=>{const{attributes:{height:t},setAttributes:o,setColor:n,color:l,clientId:r}=e;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody
298
  /* translators: hr is html markup (horizonal rule) */,{title:(0,le.__)("Dynamic HR settings","coblocks")},(0,ie.createElement)(Zt.BaseControl,{id:`height-control-${r}`,label:(0,le.__)("Height in pixels","coblocks")},(0,ie.createElement)("input",{type:"number",onChange:e=>{o({height:parseInt(e.target.value,10)})},"aria-label":(0,le.__)("Height for the dynamic separator element in pixels.","coblocks"),value:t,min:"20",step:"10"}))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:l.color,onChange:n,label:(0,le.__)("Background color","coblocks")}]})))})),Qc=(0,Kt.compose)([Jc])((e=>{const{attributes:{height:t},className:o,isSelected:n,setAttributes:l,color:r}=e;return(0,ie.createElement)(ie.Fragment,null,n&&(0,ie.createElement)(Xc,e),(0,ie.createElement)(Zt.ResizableBox,{className:Ut()(o,{"is-selected":n,"has-background":r.color,[r.class]:r.class}),style:{color:r.color},size:{height:t},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:(e,o,n,r)=>{const a=parseInt(t+r.height,10);l({height:a})},showHandle:n}))})),ei={from:[{type:"block",blocks:["core/spacer"],transform:e=>{let{height:t}=e;return(0,ne.createBlock)(Yc.name,{height:t})}},{type:"block",blocks:["core/separator"],transform:()=>(0,ne.createBlock)(Yc.name)}],to:[{type:"block",blocks:["core/spacer"],transform:e=>{let{height:t}=e;return(0,ne.createBlock)("core/spacer",{height:t})}},{type:"block",blocks:["core/separator"],transform:()=>(0,ne.createBlock)("core/separator")}]};const{name:ti,category:oi,attributes:ni}=Yc,li={
299
  /* translators: block name */
300
  title:(0,le.__)("Dynamic HR","coblocks"),
@@ -315,7 +315,7 @@ label:(0,le.__)("Fullwidth","coblocks")}],example:{attributes:{height:100}},attr
315
  /* translators: block keyword */
316
  (0,le.__)("date","coblocks")],supports:{align:["wide","full"]},example:ki,transforms:wi,edit:e=>{const{className:t,attributes:o,setAttributes:n,clientId:l}=e,{insertBlock:r}=(0,co.useDispatch)("core/block-editor"),{innerBlocks:a}=(0,co.useSelect)((e=>({innerBlocks:e("core/block-editor").getBlocks(l)})));let c=(0,ie.useRef)(null),i=(0,ie.useRef)(null),s=(0,ie.useRef)(null);const u=o.externalCalendarUrl,[d,m]=(0,ie.useState)(!1),[h,p]=(0,ie.useState)(!!u||!1),[b,g]=(0,ie.useState)(u);(0,ie.useEffect)((()=>{c=new MutationObserver(f),c.observe(i,{childList:!0})}),[]),(0,ie.useEffect)((()=>()=>{u&&jQuery(s).slick("unslick"),c.disconnect()}),[u,c]);const f=e=>{for(const t of e)"childList"===t.type&&t.addedNodes.length>0&&t.addedNodes[0].outerHTML.match("wp-block-coblocks-events")&&(s=t.addedNodes[0].children[0],jQuery(s).slick({accessibility:!1,draggable:!1,infinite:!1,rows:s.dataset.perPage,swipe:!1,touchMove:!1}))},v=()=>{const e=(0,ne.createBlock)("coblocks/event-item");r(e,a.length,l)},_=[{icon:ar,onClick:()=>m(!d),title:(0,le.__)("Edit calendar URL","coblocks")}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(pi,{attributes:o,eventsRangeOptions:_i,onChangeEventsRange:e=>n({eventsRange:e}),onChangeEventsToShow:e=>n({eventsToShow:e}),showExternalCalendarControls:h,toggleExternalCalendarControls:()=>{0==!h&&n({externalCalendarUrl:""}),p(!h)}}),!!u&&(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,{controls:_})),h&&(!u||d)&&(0,ie.createElement)(Zt.Placeholder,{icon:"rss",instructions:(0,le.__)("Enter a URL that loads an iCal formatted calendar.","coblocks"),label:(0,le.__)("Calendar URL","coblocks")},(0,ie.createElement)("form",{onSubmit:()=>{n({externalCalendarUrl:b}),m(!1)}},(0,ie.createElement)(Zt.TextControl,{className:"components-placeholder__input",onChange:e=>g(e),placeholder:(0,le.__)("Enter URL here…","coblocks"),value:b}),(0,ie.createElement)(Zt.Button,{disabled:!b,isPrimary:!0,type:"submit"},(0,le.__)("Use URL","coblocks")))),!u&&!h&&(0,ie.createElement)("div",{className:Ut()(t,"coblocks-custom-event")},(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:fi,renderAppender:()=>(0,ie.createElement)(hi,{onClick:v}),template:vi,templateInsertUpdatesSelection:!1})),(0,ie.createElement)("div",{ref:e=>i=e},!!u&&(0,ie.createElement)(gi(),{attributes:o,block:"coblocks/events"})))},save:function(e){let{attributes:t}=e;const{className:o,externalCalendarUrl:n}=t;return!n&&(0,ie.createElement)("div",{className:o},(0,ie.createElement)(Yt.InnerBlocks.Content,null))}};var Si=e=>{let{onAddNewItem:t=Gt.noop,onAddNewHeading:o=Gt.noop}=e;return(0,ie.createElement)("div",{className:"coblocks-block-appender"},(0,ie.createElement)(Zt.Button,{className:"block-editor-button-block-appender",label:(0,le.__)("Add Question","coblocks"),onClick:t},(0,ie.createElement)(vl,{icon:_l})," ",(0,le.__)("Add Question","coblocks")),(0,ie.createElement)(Zt.Button,{className:"block-editor-button-block-appender",label:(0,le.__)("Category Title","coblocks"),onClick:o},(0,ie.createElement)(vl,{icon:_l})," ",(0,le.__)("Category Title","coblocks")))};const zi=["coblocks/faq-item","core/heading"],Ti=[["core/heading",{className:"wp-block-coblocks-faq__title",level:3,placeholder:(0,le.__)("FAQ title","coblocks")}],["coblocks/faq-item"]];var Pi={attributes:{},innerBlocks:[{attributes:{},innerBlocks:[{attributes:{className:"wp-block-coblocks-faq__title",content:(0,le.__)("FAQ","coblocks"),level:3},name:"core/heading"},{attributes:{answer:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed placerat convallis porta.",question:(0,le.__)("I am sick and I need to visit my doctor today. Can I get a priority appointment?","coblocks")},name:"coblocks/faq-item"},{attributes:{answer:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed placerat convallis porta.",question:(0,le.__)("When can I get my lab results?","coblocks")},name:"coblocks/faq-item"}],name:"coblocks/faq"}]},Ni=JSON.parse('{"name":"coblocks/faq","category":"layout","attributes":{"customTextColor":{"type":"string"},"textColor":{"type":"string"}}}');const{name:Bi,category:Oi}=Ni,Ri={description:(0,le.__)("Add a list of questions and answers.","coblocks"),edit:e=>{const{className:t,clientId:o}=e,{innerBlocks:n}=(0,co.useSelect)((e=>({innerBlocks:e("core/block-editor").getBlocks(o)}))),{insertBlock:l}=(0,co.useDispatch)("core/block-editor"),r=()=>{const e=(0,ne.createBlock)("coblocks/faq-item");l(e,n.length,o)},a=()=>{const e=(0,ne.createBlock)("core/heading",{className:"wp-block-coblocks-faq__heading",level:4,placeholder:(0,le.__)("Category name","coblocks")});l(e,n.length,o)};return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:t},(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:zi,renderAppender:()=>(0,ie.createElement)(Si,{onAddNewHeading:a,onAddNewItem:r}),template:Ti,templateInsertUpdatesSelection:!1})))},example:Pi,icon:(0,ie.createElement)(Zt.Icon,{icon:we}),keywords:["coblocks",
317
  /* translators: block keyword */
318
- (0,le.__)("FAQ","coblocks")],save:function(e){let{attributes:t}=e;const{className:o}=t;return(0,ie.createElement)("div",{className:o,itemScope:!0,itemType:"https://schema.org/FAQPage"},(0,ie.createElement)(Yt.InnerBlocks.Content,null))},supports:{align:["wide","full"],multiple:!1},title:(0,le._x)("FAQ","block name","coblocks")};var Mi=(0,Yt.withColors)({textColor:"color"}),Ai=(0,Kt.compose)([Mi])((e=>{const{textColor:t,setTextColor:o}=e,n=[{label:(0,le.__)("Text color","coblocks"),onChange:o,value:t.color}];return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Yt.PanelColorSettings,{colorSettings:n,initialOpen:!1,title:(0,le.__)("Color settings","coblocks")},(0,ie.createElement)(Yt.ContrastChecker,{isLargeText:!0,textColor:t.color})))}));const Li=["core/heading","core/list","core/paragraph"],Ii=[["core/paragraph",{placeholder:(0,le.__)("Enter the answer to the question","coblocks")}]];var Di=(0,Kt.compose)([Mi])((e=>{const{className:t,attributes:o,setAttributes:n,setTextColor:l,textColor:r}=e,{question:a}=o,c={color:r.color};return(0,ie.useEffect)((()=>{o.externalChange&&(n({textColor:o.textColor}),l(o.textColor))}),[o]),(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Ai,e),(0,ie.createElement)("div",{className:Ut()(t,{"has-text-color":r.color,[r.class]:r.class}),style:c},(0,ie.createElement)("div",{className:"wp-block-coblocks-faq-item__question"},(0,ie.createElement)(Yt.RichText,{className:"wp-block-coblocks-faq-item__question__content",onChange:e=>n({question:e}),placeholder:(0,le.__)("Write a question","coblocks"),tagName:"div",value:a}),(0,ie.createElement)(vl,{className:"wp-block-coblocks-faq-item__question__icon",icon:ge})),(0,ie.createElement)("div",{className:"wp-block-coblocks-faq-item__answer"},(0,ie.createElement)(Yt.InnerBlocks,{__experimentalCaptureToolbars:!0,allowedBlocks:Li,template:Ii,templateInsertUpdatesSelection:!1}))))})),Fi=JSON.parse('{"name":"coblocks/faq-item","category":"layout","attributes":{"open":{"type":"boolean","default":false},"question":{"type":"string","source":"html","selector":".wp-block-coblocks-faq-item__question__content"}}}');const{name:Vi,category:ji,attributes:Gi}=Fi,$i={attributes:Gi,description:(0,le.__)("A question/answer within the FAQ block.","coblocks"),edit:Di,icon:(0,ie.createElement)(Zt.Icon,{icon:ke}),parent:["coblocks/faq"],save:function(e){let{className:t,attributes:o}=e;const{customTextColor:n,open:l,question:r,textColor:a}=o,c=(0,Yt.getColorClassName)("color",a),i=Ut()(t,{[c]:c,"has-text-color":a||n});return(e=>{const t=["question"],o=Object.entries(e).filter((e=>{let[o]=e;return t.includes(o)}));return re((0,gr.Z)(o))})(o)?null:(0,ie.createElement)("details",{className:i,itemProp:"mainEntity",itemScope:!0,itemType:"https://schema.org/Question",open:l,style:{color:c?void 0:n}},(0,ie.createElement)("summary",{className:"wp-block-coblocks-faq-item__question",itemProp:"name"},(0,ie.createElement)(Yt.RichText.Content,{className:"wp-block-coblocks-faq-item__question__content",tagName:"div",value:r}),(0,ie.createElement)(Zt.Icon,{className:"wp-block-coblocks-faq-item__question__icon",icon:ge})),(0,ie.createElement)("div",{className:"wp-block-coblocks-faq-item__answer",itemProp:"acceptedAnswer",itemScope:!0,itemType:"https://schema.org/Answer"},(0,ie.createElement)("div",{itemProp:"text"},(0,ie.createElement)(Yt.InnerBlocks.Content,null))))},supports:{html:!1,reusable:!1},title:(0,le._x)("FAQ Item","block name","coblocks")};var Hi=e=>{const{attributes:t,setAttributes:o}=e,{contentAlign:n}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.AlignmentToolbar,{value:n,onChange:e=>o({contentAlign:e})}),jr(e)))},Ui=(0,Yt.withColors)("backgroundColor",{textColor:"color"});const{getComputedStyle:Wi}=window,qi=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?Wi(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var Yi=(0,Kt.compose)([Ui,qi])((e=>{const{attributes:t,backgroundColor:o,setAttributes:n,setBackgroundColor:l,textColor:r,setTextColor:a}=e,{paddingBottom:c,paddingLeft:i,paddingRight:s,paddingSize:u,paddingTop:d,paddingBottomTablet:m,paddingLeftTablet:h,paddingRightTablet:p,paddingTopTablet:b,paddingBottomMobile:g,paddingLeftMobile:f,paddingRightMobile:v,paddingTopMobile:_,paddingSyncUnits:k,paddingSyncUnitsTablet:y,paddingSyncUnitsMobile:w,paddingUnit:E}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Feature settings","coblocks")},(0,ie.createElement)(Lc,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),valueTop:d,valueRight:s,valueBottom:c,valueLeft:i,valueTopTablet:b,valueRightTablet:p,valueBottomTablet:m,valueLeftTablet:h,valueTopMobile:_,valueRightMobile:v,valueBottomMobile:g,valueLeftMobile:f,unit:E,syncUnits:k,syncUnitsTablet:y,syncUnitsMobile:w,dimensionSize:u}))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:e=>{l(e),u&&"no"!==u||n({paddingSize:"medium"}),e||n({paddingSize:"no"})},label:(0,le.__)("Background color","coblocks")},{value:r.color,onChange:a,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasOverlay:!0}))))}));const Ki=["core/button","core/paragraph","core/heading","core/image","coblocks/highlight"],Zi=[["coblocks/icon",{hasContentAlign:!1}],["core/heading",{
319
  /* translators: content placeholder */
320
  placeholder:(0,le.__)("Add feature title…","coblocks"),
321
  /* translators: content placeholder */
@@ -327,7 +327,7 @@ content:(0,le.__)("This is a feature block that you can use to highlight feature
327
  /* translators: block name */
328
  title:(0,le.__)("Feature","coblocks"),
329
  /* translators: block description */
330
- description:(0,le.__)("A singular child column within a parent features block.","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:Ee}),parent:["coblocks/features"],supports:{inserter:!1},attributes:ts,edit:Ji,save:e=>{let{attributes:t,className:o}=e;const{coblocks:n,contentAlign:l,customTextColor:r,textColor:a,paddingSize:c}=t,i=(0,Yt.getColorClassName)("color",a);let s=Ut()(o,{[`has-${l}-content`]:l});n&&void 0!==n.id&&(s=Ut()(s,`coblocks-feature-${n.id}`));const u=Ut()("wp-block-coblocks-feature__inner",...Vr(t),{"has-text-color":a||r,[i]:i,"has-padding":c&&"no"!==c,[`has-${c}-padding`]:c&&"advanced"!==c}),d={...Hr(t),color:i?void 0:r};return(0,ie.createElement)("div",{className:s},(0,ie.createElement)("div",{className:u,style:d},Qr(t),(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}};var ns=JSON.parse('{"name":"coblocks/features","category":"layout","attributes":{"headingLevel":{"type":"integer","default":4},"columns":{"type":"number","default":2},"contentAlign":{"type":"string","default":"center"}}}');var ls=[{attributes:{...Cc,...Fr,...ns.attributes,gutter:{type:"string",default:"large"}},save(e){const{coblocks:t,columns:o,contentAlign:n,customTextColor:l,textColor:r,gutter:a,marginSize:c,paddingSize:i}=e.attributes,s=(0,Yt.getColorClassName)("color",r);let u=e.className;t&&void 0!==t.id&&(u=Ut()(u,`coblocks-features-${t.id}`));const d=Ut()("wp-block-coblocks-features__inner",...Vr(e.attributes),{"has-text-color":r||l,[s]:s,"has-padding":i&&"no"!==i,[`has-${i}-padding`]:i&&"advanced"!==i,"has-margin":c&&"no"!==c,[`has-${c}-margin`]:c&&"advanced"!==c,[`has-${a}-gutter`]:a,[`has-${n}-content`]:n}),m={...Hr(e.attributes),color:s?void 0:l};return(0,ie.createElement)("div",{className:u,"data-columns":o},(0,ie.createElement)("div",{className:d,style:m},Qr(e.attributes),(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}}],rs=(0,Yt.withColors)("backgroundColor",{textColor:"color"});const{getComputedStyle:as}=window,cs=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?as(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var is=(0,Kt.compose)([rs,cs])((e=>{const{attributes:t,backgroundColor:o,clientId:n,setAttributes:l,setBackgroundColor:r,setTextColor:a,textColor:c,selectBlock:i}=e,{columns:s,gutter:u,marginBottom:d,marginBottomMobile:m,marginBottomTablet:h,marginLeft:p,marginLeftMobile:b,marginLeftTablet:g,marginRight:f,marginRightMobile:v,marginRightTablet:_,marginSize:k,marginSyncUnits:y,marginSyncUnitsMobile:w,marginSyncUnitsTablet:E,marginTop:x,marginTopMobile:C,marginTopTablet:S,marginUnit:z,paddingBottom:T,paddingBottomMobile:P,paddingBottomTablet:N,paddingLeft:B,paddingLeftMobile:O,paddingLeftTablet:R,paddingRight:M,paddingRightMobile:A,paddingRightTablet:L,paddingSize:I,paddingSyncUnits:D,paddingSyncUnitsMobile:F,paddingSyncUnitsTablet:V,paddingTop:j,paddingTopMobile:G,paddingTopTablet:$,paddingUnit:H}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Features settings","coblocks")},(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Columns","coblocks"),value:s,onChange:e=>{l({columns:Math.min(parseInt(e)||1,4)}),parseInt(e)<2?l({gutter:"no"}):"no"===u&&l({gutter:"large"}),i(n)},min:1,max:4}),s>=2&&(0,ie.createElement)(hc,e),(0,ie.createElement)(Lc,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),valueTop:j,valueRight:M,valueBottom:T,valueLeft:B,valueTopTablet:$,valueRightTablet:L,valueBottomTablet:N,valueLeftTablet:R,valueTopMobile:G,valueRightMobile:A,valueBottomMobile:P,valueLeftMobile:O,unit:H,syncUnits:D,syncUnitsTablet:V,syncUnitsMobile:F,dimensionSize:I})),(0,ie.createElement)(Lc,Ft({},e,{type:"margin",label:(0,le.__)("Margin","coblocks"),valueTop:x,valueRight:f,valueBottom:d,valueLeft:p,valueTopTablet:S,valueRightTablet:_,valueBottomTablet:h,valueLeftTablet:g,valueTopMobile:C,valueRightMobile:v,valueBottomMobile:m,valueLeftMobile:b,unit:z,syncUnits:y,syncUnitsTablet:E,syncUnitsMobile:w,dimensionSize:k}))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:e=>{r(e),I&&"no"!==I||l({paddingSize:"medium"}),e||l({paddingSize:"no"})},label:(0,le.__)("Background color","coblocks")},{value:c.color,onChange:a,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasCaption:!1,hasOverlay:!0,hasGalleryControls:!1}))))}));function ss(e){let{level:t,isPressed:o=!1}=e;const n={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return n.hasOwnProperty(t)?(0,ie.createElement)(Zt.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:o},(0,ie.createElement)(Zt.Path,{d:n[t]})):null}class us extends ie.Component{createLevelControl(e,t,o){const n=e===t;return{icon:(0,ie.createElement)(ss,{level:e,isPressed:n}),
331
  // translators: %s: heading level e.g: "1", "2", "3"
332
  title:(0,le.sprintf)((0,le.__)("Heading %d","coblocks"),e),isActive:n,onClick:()=>o(e)}}render(){const{isCollapsed:e=!0,minLevel:t,maxLevel:o,selectedLevel:n,onChange:l}=this.props;return(0,ie.createElement)(Zt.ToolbarGroup,{isCollapsed:e,icon:(0,ie.createElement)(ss,{level:n}),controls:(0,Gt.range)(t,o).map((e=>this.createLevelControl(e,n,l))),label:(0,le.__)("Change heading level")})}}var ds=us,ms=e=>{const{attributes:t,setAttributes:o,onChangeHeadingLevel:n}=e,{contentAlign:l,headingLevel:r}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(ds,{minLevel:2,maxLevel:6,selectedLevel:r,onChange:n}),(0,ie.createElement)(Yt.AlignmentToolbar,{value:l,onChange:e=>o({contentAlign:e})}),jr(e)))};const hs=["coblocks/feature"],ps=[["coblocks/feature"],["coblocks/feature"]];var bs=(0,Kt.compose)([rs,(0,co.withSelect)(((e,t)=>({innerBlocks:e("core/block-editor").getBlocks(t.clientId)}))),(0,co.withDispatch)((e=>({insertBlock:e("core/block-editor").insertBlock}))),e=>t=>(t.innerBlocks.length>0&&t.innerBlocks.reduce(((e,t)=>e+("coblocks/feature"===t.name)),0)<t.attributes.columns&&t.insertBlock((0,ne.createBlock)("coblocks/feature"),t.innerBlocks.length,t.clientId,!1),(0,ie.createElement)(e,t))])((e=>{const{attributes:t,textColor:o,className:n,backgroundColor:l,setAttributes:r,clientId:a,isSelected:c}=e,{coblocks:i,backgroundImg:s,columns:u,contentAlign:d,paddingTop:m,paddingRight:h,paddingBottom:p,paddingLeft:b,marginTop:g,marginRight:f,marginBottom:v,marginLeft:_,paddingUnit:k,marginUnit:y,marginSize:w,paddingSize:E}=t,{updateBlockAttributes:x,selectBlock:C}=(0,co.useDispatch)("core/block-editor"),{isSelected:S,innerBlocks:z}=(0,co.useSelect)((e=>{const{getBlockRootClientId:t,getBlockSelectionStart:o,getBlocks:n}=e("core/block-editor"),l=t(o());return{isSelected:c||a===l,innerBlocks:n(a)}})),T=(0,ie.createElement)($r,Ft({},e,{label:(0,le.__)("Add as background","coblocks")}));let P=n;i&&void 0!==i.id&&(P=Ut()(P,`coblocks-features-${i.id}`));const N=Ut()("wp-block-coblocks-features__inner",...Vr(t),{"has-columns":u>1,[`has-${u}-columns`]:u,"has-responsive-columns":u>1,"has-padding":E&&"no"!==E,[`has-${E}-padding`]:E&&"no"!==E&&"advanced"!==E,"has-margin":w&&"no"!==w,[`has-${w}-margin`]:w&&"no"!==w&&"advanced"!==w,[`has-${d}-content`]:d}),B={...Hr(t,l),color:o.color,textAlign:d,paddingTop:"advanced"===E&&m?m+k:void 0,paddingRight:"advanced"===E&&h?h+k:void 0,paddingBottom:"advanced"===E&&p?p+k:void 0,paddingLeft:"advanced"===E&&b?b+k:void 0,marginTop:"advanced"===w&&g?g+y:void 0,marginRight:"advanced"===w&&f?f+y:void 0,marginBottom:"advanced"===w&&v?v+y:void 0,marginLeft:"advanced"===w&&_?_+y:void 0};return(0,ie.createElement)(ie.Fragment,null,T,S&&(0,ie.createElement)(ms,Ft({},e,{onChangeHeadingLevel:e=>{var t;r({headingLevel:e}),t={headingLevel:e},z.forEach((e=>{"coblocks/feature"===e.name&&x(e.clientId,t)}))}})),S&&(0,ie.createElement)(is,Ft({selectBlock:C},e)),(0,ie.createElement)("div",{className:P},(0,ie.createElement)(rc,t,(0,ie.createElement)("div",{className:N,style:B},(0,Mt.isBlobURL)(s)&&(0,ie.createElement)(Zt.Spinner,null),Qr(t),(0,ie.createElement)(Yt.InnerBlocks,{template:ps,allowedBlocks:hs,templateInsertUpdatesSelection:!1,__experimentalCaptureToolbars:!0})))))}));var gs={from:[{type:"prefix",prefix:":feature",transform:e=>(0,ne.createBlock)(ns.name,{content:e,columns:1})},{type:"prefix",prefix:":features",transform:e=>(0,ne.createBlock)(ns.name,{content:e})},...[2,3].map((e=>({type:"prefix",prefix:Array(e+1).join(":")+"features",transform:t=>(0,ne.createBlock)(ns.name,{content:t,columns:e})})))]};const{name:fs,category:vs}=ns,_s={...Cc,...Fr,...ns.attributes},ks={
333
  /* translators: block name */
@@ -461,7 +461,7 @@ label:(0,le.__)("M","coblocks"),tooltip:(0,le.__)("Medium","coblocks")},{value:"
461
  /* translators: abbreviation for large size */
462
  label:(0,le.__)("L","coblocks"),tooltip:(0,le.__)("Large","coblocks")},{value:"huge",
463
  /* translators: abbreviation for largest size */
464
- label:(0,le.__)("XL","coblocks"),tooltip:(0,le.__)("Huge","coblocks")}];return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:"block-editor-block-styles block-editor-block-styles coblocks-editor-block-styles"},n.map((e=>(0,ie.createElement)("div",{key:`style-${e.name}`,className:Ut()("block-editor-block-styles__item block-editor-block-styles__item",{"is-active":t===e}),onClick:()=>i(e),onKeyDown:t=>{So.ENTER!==t.keyCode&&So.SPACE!==t.keyCode||(t.preventDefault(),i(e))},role:"button",tabIndex:"0","aria-label":e.label||e.name},(0,ie.createElement)("div",{className:"block-editor-block-styles__item-preview block-editor-block-styles__item-preview"},s?e.iconWithImages:e.icon),(0,ie.createElement)("div",{className:"block-editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name)))))),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Food & Drinks Settings","coblocks"),initialOpen:!0},"grid"===t.name&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Columns","coblocks"),value:o.columns,min:2,max:4,onChange:e=>l(e)}),(0,ie.createElement)(Yo,{label:(0,le.__)("Gutter","coblocks"),currentOption:o.gutter,options:d,onChange:e=>r(e)})),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Images","coblocks"),help:s?(0,le.__)("Showing images for each item","coblocks"):(0,le.__)("Toggle to show images for each item.","coblocks"),checked:s,onChange:a}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Prices","coblocks"),help:u?(0,le.__)("Showing the price of each item","coblocks"):(0,le.__)("Toggle to show the price of each item.","coblocks"),checked:u,onChange:c})))},Xu=e=>{const{attributes:t,onChangeHeadingLevel:o}=e,{headingLevel:n}=t;return(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(ds,{minLevel:2,maxLevel:5,selectedLevel:n,onChange:o}))};const Qu={};Qu.layoutGridIcon=(0,ie.createElement)(Zt.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m5 6h13v.87858073 1.12141927h-13z"}),(0,ie.createElement)(Zt.Path,{d:"m8 18h6v.8785807 1.1214193h-6z"}),(0,ie.createElement)(Zt.Path,{d:"m0 10h23v.8785807 1.1214193h-23z"}),(0,ie.createElement)(Zt.Path,{d:"m3 14h17v.8785807 1.1214193h-17z"}),(0,ie.createElement)(Zt.Path,{d:"m38 6h13v.87858073 1.12141927h-13z"}),(0,ie.createElement)(Zt.Path,{d:"m41 18h6v.8785807 1.1214193h-6z"}),(0,ie.createElement)(Zt.Path,{d:"m33 10h23v.8785807 1.1214193h-23z"}),(0,ie.createElement)(Zt.Path,{d:"m36 14h17v.8785807 1.1214193h-17z"}))),Qu.layoutGridIconWithImages=(0,ie.createElement)(Zt.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m0 0h24v14h-24z"}),(0,ie.createElement)(Zt.Path,{d:"m3 16h18v.8785807 1.1214193h-18z"}),(0,ie.createElement)(Zt.Path,{d:"m1 20h22v.8785807 1.1214193h-22z"}),(0,ie.createElement)(Zt.Path,{d:"m4 24h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{d:"m32 0h24v14h-24z"}),(0,ie.createElement)(Zt.Path,{d:"m35 16h18v.8785807 1.1214193h-18z"}),(0,ie.createElement)(Zt.Path,{d:"m33 20h22v.8785807 1.1214193h-22z"}),(0,ie.createElement)(Zt.Path,{d:"m36 24h16v.8785807 1.1214193h-16z"}))),Qu.layoutListIcon=(0,ie.createElement)(Zt.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m14 0h18v.87858073 1.12141927h-18z"}),(0,ie.createElement)(Zt.Path,{d:"m14 4h28v.87858073 1.12141927h-28z"}),(0,ie.createElement)(Zt.Path,{d:"m14 8h20v.87858073 1.12141927h-20z"}),(0,ie.createElement)(Zt.Path,{d:"m14 16h18v.8785807 1.1214193h-18z"}),(0,ie.createElement)(Zt.Path,{d:"m14 20h28v.8785807 1.1214193h-28z"}),(0,ie.createElement)(Zt.Path,{d:"m14 24h20v.8785807 1.1214193h-20z"}))),Qu.layoutListIconWithImages=(0,ie.createElement)(Zt.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m10 0h10v10h-10z"}),(0,ie.createElement)(Zt.Path,{d:"m22 0h14v.87858073 1.12141927h-14z"}),(0,ie.createElement)(Zt.Path,{d:"m22 4h22v.87858073 1.12141927h-22z"}),(0,ie.createElement)(Zt.Path,{d:"m22 8h16v.87858073 1.12141927h-16z"}),(0,ie.createElement)(Zt.Path,{d:"m10 16h10v10h-10z"}),(0,ie.createElement)(Zt.Path,{d:"m22 16h14v.8785807 1.1214193h-14z"}),(0,ie.createElement)(Zt.Path,{d:"m22 20h22v.8785807 1.1214193h-22z"}),(0,ie.createElement)(Zt.Path,{d:"m22 24h16v.8785807 1.1214193h-16z"})));var ed=Qu,td=window.wp.tokenList,od=o.n(td);const nd=["coblocks/food-item"],ld=[["core/heading",{level:3,placeholder:(0,le.__)("Menu title…","coblocks"),align:"center"}],["coblocks/food-item"],["coblocks/food-item"]],rd=[{name:"grid",
465
  /* translators: block style */
466
  label:(0,le.__)("Grid","coblocks"),icon:ed.layoutGridIcon,iconWithImages:ed.layoutGridIconWithImages,isDefault:!0},{name:"list",
467
  /* translators: block style */
@@ -483,13 +483,13 @@ description:(0,le.__)("A food and drink item within the Food & Drinks block.","c
483
  /* translators: an additional guest */
484
  ["coblocks/field-name",{label:(0,le.__)("Plus one","coblocks"),hasLastName:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-radio",{label:(0,le.__)("Will you be attending?","coblocks"),required:!0,options:[(0,le.__)("Yes","coblocks"),(0,le.__)("No","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:(0,le.__)("Notes?","coblocks")}],["coblocks/field-submit-button",{}]],
485
  /* translators: RSVP is an initialism derived from the French phrase Répondez s'il vous plaît, meaning "Please respond" to require confirmation of an invitation */
486
- submitButtonText:(0,le.__)("RSVP","coblocks")},{title:(0,le.__)("Appointment","coblocks"),icon:Dd.layoutAppointment,template:[["coblocks/field-name",{required:!0,hasLastName:!0}],["coblocks/field-phone",{required:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-date",{required:!0}],["coblocks/field-radio",{label:(0,le.__)("Time","coblocks"),required:!0,options:[(0,le.__)("Morning","coblocks"),(0,le.__)("Afternoon","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:(0,le.__)("Special notes","coblocks")}],["coblocks/field-submit-button",{}]],submitButtonText:(0,le.__)("Book Appointment","coblocks")}];class Vd extends ie.Component{componentDidUpdate(){const{updateInnerAttributes:e,attributes:t}=this.props,{textColor:o,customTextColor:n}=t;e({textColor:o,customTextColor:n})}render(){const{setTextColor:e,textColor:t}=this.props,o=[{value:(null==t?void 0:t.color)||"",onChange:e,label:(0,le.__)("Label color","coblocks")}];return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:o}))}}var jd=(0,Kt.compose)([(0,Yt.withColors)({textColor:"color"}),(0,co.withSelect)(((e,t)=>{const{getBlocksByClientId:o,getBlocks:n}=e("core/block-editor");return{getBlocksByClientId:o,innerBlocks:n(t.clientId)}})),(0,co.withDispatch)(((e,t)=>{const{getBlocksByClientId:o}=t,{updateBlockAttributes:n}=e("core/block-editor");return{updateInnerAttributes:e=>{o(t.clientId)[0].innerBlocks.forEach((t=>{(0,ne.hasBlockSupport)(t.name,"labelColor",!1)&&n(t.clientId,e)}))}}}))])(Vd);const Gd=["core/heading","core/paragraph","core/separator","core/spacer"],$d=(0,co.withSelect)(((e,t)=>{const{getBlocks:o}=e("core/block-editor"),{getBlocksByClientId:n}=e("core/editor"),{getBlockType:l,getBlockVariations:r,getDefaultBlockVariation:a}=e("core/blocks"),c=o(t.clientId);return{blockType:l(t.name),defaultVariation:void 0===a?null:a(t.name),getBlocksByClientId:n,hasInnerBlocks:e("core/block-editor").getBlocks(t.clientId).length>0,innerBlocks:c,variations:void 0===r?null:r(t.name)}})),Hd=(0,co.withDispatch)((e=>{const{insertBlock:t,replaceInnerBlocks:o}=e("core/block-editor"),{updateBlockAttributes:n}=e("core/editor");return{insertBlock:t,replaceInnerBlocks:o,updateBlockAttributes:n}}));var Ud=(0,Kt.compose)([$d,Hd])((e=>{const{blockType:t,className:o,hasInnerBlocks:n,innerBlocks:l,defaultVariation:r,clientId:a,innerBlockCount:c,insertBlock:i,getBlocksByClientId:s,updateBlockAttributes:u,instanceId:d,replaceInnerBlocks:m,variations:h,attributes:p,setAttributes:b}=e,[g,f]=(0,ie.useState)(!1),[v,_]=(0,ie.useState)(null),[k,y]=(0,ie.useState)(""),[w,E]=(0,ie.useState)(""),[x,C]=(0,ie.useState)(!1),[S,z]=(0,ie.useState)(null),[T,P]=(0,ie.useState)(p.subject||""===p.subject?p.subject:coblocksBlockData.form.emailSubject),N=(0,Kt.usePrevious)(c),B=(0,Kt.usePrevious)(S),O=(0,Kt.usePrevious)(l),R=Ut()(o,"coblocks-form");(0,ie.useEffect)((()=>{tl()({path:"/wp/v2/settings"}).then((e=>{y(e.coblocks_google_recaptcha_site_key),C(""!==e.coblocks_google_recaptcha_site_key&&""!==e.coblocks_google_recaptcha_secret_key),E(e.coblocks_google_recaptcha_secret_key)})),n&&z(l),H()||M()||!1!==n||z(r)}),[]),(0,ie.useEffect)((()=>{let e;N!==c&&z(c?l:null);const t=a;Bc()(Fd,(o=>{if(Ad()(o.template,S)){e=o.submitButtonText,Array.isArray(e)&&(e=e.join(""));const n=s(t)[0].innerBlocks;u(n[n.length-1].clientId,{submitButtonText:e})}})),(B!==S&&O&&O.length&&l.filter((e=>"coblocks/field-submit-button"===e.name)).length<1||l.length<O&&O.length&&l.filter((e=>"coblocks/field-submit-button"===e.name)).length<1)&&i((0,ne.createBlock)("coblocks/field-submit-button",{submitButtonText:(0,le.__)("Submit","coblocks")}),l.length,a,!1)}),[B,S,a,N,c,O,l]);const M=()=>!!ne.registerBlockVariation,A=e=>{P(e),b({subject:e})},L=e=>{b({successText:e})},I=e=>0!==(e=e.trim()).length&&!Rd.validate(e)&&{email:e},D=e=>{const t=e.target.value.split(",").map(I).filter(Boolean);t&&t.length&&_(t)},F=e=>{if(0===e.trim().length)return _(null),void b({to:e});_(null),b({to:e})},V=e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())},j=e=>{A(T+e.target.innerHTML)},G=()=>v&&v.length>0,$=e=>Bc()(e,(e=>{let[t,o,n=[]]=e;return(0,ne.createBlock)(t,o,$(n))})),H=()=>void 0!==Yt.InnerBlocks.prototype;return n||!M()?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Form settings","coblocks")},(()=>{const e=v,{to:t,successText:o}=p;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.TextControl,{"aria-describedby":`contact-form-${d}-email-${G()?"error":"help"}`,label:(0,le.__)("Email address","coblocks"),placeholder:(0,le.__)("name@example.com","coblocks"),onKeyDown:V,value:t||""===t?t:coblocksBlockData.form.adminEmail,onBlur:D,onChange:F,help:(0,le.__)("Enter the email address where emails should be sent to.","coblocks")}),(0,ie.createElement)(Ld,{isError:!0,id:`contact-form-${d}-email-error`},(e=>{if(e){if(1===e.length)return e[0]&&e[0].email?(0,le.sprintf)(
487
  /* translators: %s: placeholder for an email address */
488
  (0,le.__)("%s is not a valid email address.","coblocks"),e[0].email):e[0];if(2===e.length)return(0,le.sprintf)(
489
  /* translators: %1$s: placeholder for an email address. %2$s: placeholder for an email address */
490
  (0,le.__)("%1$s and %2$s are not valid email addresses.","coblocks"),e[0].email,e[1].email);const t=e.map((e=>e.email));return(0,le.sprintf)(
491
  /* translators: %s1: placeholder for comma separated email addresses */
492
- (0,le.__)("%s are not valid email addresses.","coblocks"),t.join(", "))}return null})(e)),(0,ie.createElement)(Zt.TextControl,{label:(0,le.__)("Subject","coblocks"),value:T,onChange:A,help:(0,ie.createElement)(ie.Fragment,null,(0,le.__)("You may use the following tags in the subject field: ","coblocks"),(0,ie.createElement)(Zt.Button,{isLink:!0,onClick:j},"[",(0,le.__)("email","coblocks"),"]"),(0,ie.createElement)(Zt.Button,{isLink:!0,onClick:j},"[",(0,le.__)("name","coblocks"),"]"))}),(0,ie.createElement)(Zt.TextareaControl,{label:(0,le.__)("Success message","coblocks"),placeholder:(0,le.__)("Your message was sent:","coblocks"),onKeyDown:V,value:o,onChange:L,help:(0,le.__)("Form submission confirmation text.","coblocks")}))})(),(0,io.applyFilters)("coblocks.advanced_forms_cta")),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Google reCAPTCHA","coblocks"),initialOpen:""!==w},(0,ie.createElement)("p",null,(0,le.__)("Add your reCAPTCHA site and secret keys to protect your form from spam.","coblocks")),(0,ie.createElement)("p",null,(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ExternalLink,{href:"https://g.co/recaptcha/v3"},""===k&&""===w?(0,le.__)("Generate keys","coblocks"):(0,le.__)("My keys","coblocks")),"| ",(0,ie.createElement)(Zt.ExternalLink,{href:"https://developers.google.com/recaptcha/docs/v3"},(0,le.__)("Get help","coblocks")))),(0,ie.createElement)(Zt.TextControl,{label:(0,le.__)("Site key","coblocks"),value:k,onChange:e=>y(e),className:"components-block-coblocks-form-recaptcha-key__custom-input"}),(0,ie.createElement)(Zt.TextControl,{label:(0,le.__)("Secret key","coblocks"),value:w,onChange:e=>E(e),className:"components-block-coblocks-form-recaptcha-key__custom-input"}),(0,ie.createElement)("div",{className:"components-base-control"},(0,ie.createElement)(Zt.Button,{isPrimary:!0,onClick:()=>{f(!0),tl()({path:"/wp/v2/settings",method:"POST",data:{coblocks_google_recaptcha_site_key:k,coblocks_google_recaptcha_secret_key:w}}).then((()=>{C(!0),f(!1)}))},disabled:""===k||""===w},g?(0,le.__)("Saving","coblocks"):(0,le.__)("Save","coblocks")),""!==k&&""!==w&&(0,ie.createElement)(Zt.Button,{className:"components-block-coblocks-form-recaptcha-key-remove__button",isSecondary:!0,onClick:()=>{y(""),E(""),x&&(f(!0),tl()({path:"/wp/v2/settings",method:"POST",data:{coblocks_google_recaptcha_site_key:"",coblocks_google_recaptcha_secret_key:""}}).then((()=>{C(!0),f(!1)})))},disabled:""===k||""===w},(0,le.__)("Remove","coblocks")))),(0,ie.createElement)(jd,e)),(0,ie.createElement)("div",{className:R},M()?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:Gd,__experimentalCaptureToolbars:!0})):(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InnerBlocks,{__experimentalTemplateOptions:Fd,__experimentalOnSelectTemplateOption:e=>{void 0===e&&(e=Fd[0].template),z(e)},__experimentalAllowTemplateOptionSkip:!0,template:H()?S:Fd[0].template,allowedBlocks:Gd,templateInsertUpdatesSelection:!1,__experimentalCaptureToolbars:!0})))):(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.__experimentalBlockVariationPicker,{icon:Bt()(t,["icon","src"]),label:Bt()(t,["title"]),instructions:(0,le.__)("Select a variation to start with.","coblocks"),variations:h,allowSkip:!0,onSelect:e=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;e.attributes&&b(e.attributes);const t=Bc()(h,(t=>{if(Ad()(t.innerBlocks,e.innerBlocks))return t.submitButtonText}));b({submitButtonText:t.join("")}),e.innerBlocks&&m(a,$(e.innerBlocks))}(e)}))})),Wd=[{name:"contact-form",title:(0,le.__)("Contact","coblocks"),icon:Dd.layoutContact,isDefault:!0,innerBlocks:[["coblocks/field-name",{required:!1}],["coblocks/field-email",{required:!0}],["coblocks/field-textarea",{required:!0}],["coblocks/field-submit-button",{submitButtonText:(0,le.__)("Contact Us","coblocks")}]],scope:["block"]},{name:"rsvp-form",title:(0,le.__)("RSVP","coblocks"),icon:Dd.layoutRSVP,innerBlocks:[["coblocks/field-name",{required:!0,hasLastName:!0}],
493
  /* translators: an additional guest */
494
  ["coblocks/field-name",{label:(0,le.__)("Plus one","coblocks"),hasLastName:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-radio",{label:(0,le.__)("Will you be attending?","coblocks"),required:!0,options:[(0,le.__)("Yes","coblocks"),(0,le.__)("No","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:(0,le.__)("Notes?","coblocks")}],
495
  /* translators: RSVP is an initialism derived from the French phrase Répondez s'il vous plaît, meaning "Please respond" to require confirmation of an invitation */
@@ -543,7 +543,7 @@ label:(0,le.__)("Center left","coblocks")},{value:"center-center",
543
  /* translators: block layout */
544
  label:(0,le.__)("Center center","coblocks")},{value:"center-right",
545
  /* translators: block layout */
546
- label:(0,le.__)("Center right","coblocks")}]);const u={"top-left":{wrapper:{contentAlign:"left"}},"top-center":{wrapper:{contentAlign:"center"}},"top-right":{wrapper:{contentAlign:"right"}},"center-left":{wrapper:{contentAlign:"left"}},"center-center":{wrapper:{contentAlign:"center"}},"center-right":{wrapper:{contentAlign:"right"}},"bottom-left":{wrapper:{contentAlign:"left"}},"bottom-center":{wrapper:{contentAlign:"center"}},"bottom-right":{wrapper:{contentAlign:"right"}}},d=Ut()("components-base-control","components-coblocks-css-grid-selector",{"is-fullscreen":c});return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:d},(0,ie.createElement)("p",{className:"components-base-control__label"},(0,le.__)("Layout","coblocks")),(0,ie.createElement)(Zt.ButtonGroup,{"aria-label":(0,le.__)("Select layout","coblocks")},Bc()(s,((e,r)=>{let{label:c,value:s}=e;return n?(0,ie.createElement)(Zt.Tooltip,{text:c,key:`grid-tooltip-${r}`},(0,ie.createElement)("div",{className:s===a?"is-selected":null},(0,ie.createElement)(Zt.Button,{isSmall:!0,isSecondary:s!==a,isPrimary:s===a,onClick:()=>{o({layout:s}),i(s.split("-")[1]),u[s].wrapper&&l(t,u[s].wrapper)}}))):(0,ie.createElement)("div",{className:s===a?"is-selected":null},(0,ie.createElement)(Zt.Button,{isSmall:!0,isSecondary:s!==a,isPrimary:s===a,onClick:()=>{o({layout:s}),u[s].wrapper&&(l(t,u[s].wrapper),i(s.split("-")[1]))}}))})))),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Fullscreen","coblocks"),checked:!!c,onChange:()=>{c&&(["bottom-left","top-left"].includes(a)&&(o({layout:"center-left"}),i("left")),["bottom-center","top-center"].includes(a)&&(o({layout:"center-center"}),i("center")),["bottom-right","top-right"].includes(a)&&(o({layout:"center-right"}),i("right"))),o({fullscreen:!c})},help:c?(0,le.__)("Fullscreen mode is enabled.","coblocks"):(0,le.__)("Toggle to enable fullscreen mode.","coblocks")}))}}var Sm=(0,Kt.withInstanceId)((0,Kt.compose)([(0,co.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/block-editor");return{updateBlockAttributes:t}})),(0,co.withSelect)(((e,t)=>{const{getBlocks:o}=e("core/block-editor");return{innerBlocks:o(t.clientId)}}))])(Cm));class zm extends ie.Component{constructor(){super(...arguments),this.saveMeta=this.saveMeta.bind(this)}saveMeta(){const e=wp.data.select("core/editor").getEditedPostAttribute("meta"),t=wp.data.select("core/block-editor").getBlock(this.props.clientId);let o={};if(void 0!==this.props.attributes.coblocks&&void 0!==this.props.attributes.coblocks.id){const n=this.props.name.split("/").join("-")+"-"+this.props.attributes.coblocks.id,l={height:t.attributes[this.props.type],heightTablet:t.attributes[this.props.type+"Tablet"],heightMobile:t.attributes[this.props.type+"Mobile"]};o=void 0===e._coblocks_responsive_height||void 0!==e._coblocks_responsive_height&&""===e._coblocks_responsive_height?{}:JSON.parse(e._coblocks_responsive_height),void 0===o[n]?(o[n]={},o[n][this.props.type]={}):void 0===o[n][this.props.type]&&(o[n][this.props.type]={}),o[n][this.props.type]=l,wp.data.dispatch("core/editor").editPost({meta:{_coblocks_responsive_height:JSON.stringify(o)}})}}render(){const{label:e=(0,le.__)("Height","coblocks"),height:t,heightTablet:o,heightMobile:n,onChange:l,onChangeTablet:r,onChangeMobile:a,min:c=10,max:i=1e3,step:s=1}=this.props,u=Ut()("components-base-control","components-coblocks-dimensions-control","components-coblocks-responsive-base-control",{});return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:u},(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("span",{className:"components-base-control__label"},e),(0,ie.createElement)(Zt.TabPanel,{className:"components-coblocks-dimensions-control__mobile-controls",activeClass:"is-active",initialTabName:"default",onSelect:e=>{let t="desktop";switch(e){case"desktop":t="tablet";break;case"tablet":t="mobile";break;case"mobile":t="desktop"}const o=document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item--${this.props.type}`);for(let e=0;e<o.length;e++)o[e].style.display="none";"default"===e?document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--tablet`)[0].click():document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--${t}`)[0].style.display="block"},tabs:[{name:"default",title:_e,className:`is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${this.props.type} components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--default components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--default`},{name:"desktop",title:_e,className:`is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${this.props.type} components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--desktop components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--desktop`},{name:"tablet",title:xt,className:`is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${this.props.type} components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--tablet components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--tablet`},{name:"mobile",title:it,className:`is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${this.props.type} components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--mobile components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--mobile`}]},(e=>"mobile"===e.name?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__inputs component-coblocks-is-mobile"},(0,ie.createElement)(Zt.BaseControl,null,(0,ie.createElement)("input",{type:"number",onChange:e=>{a(e),this.saveMeta()},value:n||"",min:c,step:s,max:i})))):"tablet"===e.name?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__inputs component-coblocks-is-tablet"},(0,ie.createElement)(Zt.BaseControl,null,(0,ie.createElement)("input",{type:"number",onChange:e=>{r(e),this.saveMeta()},value:o||"",min:c,step:s,max:i})))):(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__inputs component-coblocks-is-desktop"},(0,ie.createElement)(Zt.BaseControl,null,(0,ie.createElement)("input",{type:"number",onChange:e=>{l(e),this.saveMeta()},value:t||"",min:c,step:s,max:i})))))))))}}var Tm=(0,Kt.withInstanceId)(zm);const{getComputedStyle:Pm}=window,Nm=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?Pm(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var Bm=(0,Kt.compose)([xm,Nm])((e=>{const{attributes:t,backgroundColor:o,setAttributes:n,setBackgroundColor:l,setTextColor:r,textColor:a}=e,{fullscreen:c,maxWidth:i,paddingTop:s,paddingRight:u,paddingBottom:d,paddingLeft:m,paddingTopTablet:h,paddingRightTablet:p,paddingBottomTablet:b,paddingLeftTablet:g,paddingTopMobile:f,paddingRightMobile:v,paddingBottomMobile:_,paddingLeftMobile:k,paddingUnit:y,paddingSyncUnits:w,paddingSyncUnitsTablet:E,paddingSyncUnitsMobile:x,paddingSize:C,saveCoBlocksMeta:S,height:z,heightTablet:T,heightMobile:P,syncHeight:N}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Hero settings","coblocks")},(0,ie.createElement)(Lc,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),help:(0,le.__)("Space inside of the container.","coblocks"),valueTop:s,valueRight:u,valueBottom:d,valueLeft:m,valueTopTablet:h,valueRightTablet:p,valueBottomTablet:b,valueLeftTablet:g,valueTopMobile:f,valueRightMobile:v,valueBottomMobile:_,valueLeftMobile:k,unit:y,syncUnits:w,syncUnitsTablet:E,syncUnitsMobile:x,dimensionSize:C,saveCoBlocksMeta:S})),(0,ie.createElement)(Sm,e),!c&&(0,ie.createElement)(Tm,Ft({},e,{label:(0,le.__)("Height in pixels","coblocks"),height:z,heightTablet:T,heightMobile:P,onChange:e=>{n({height:parseInt(e.target.value,10)})},onChangeTablet:e=>{n({heightTablet:parseInt(e.target.value,10)})},onChangeMobile:e=>{n({heightMobile:parseInt(e.target.value,10)})},sync:N,type:"height",min:"500"})),(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Content width in pixels","coblocks"),value:parseInt(i),onChange:e=>n({maxWidth:parseInt(e)}),min:400,max:1e3,step:10,initialPosition:560})),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:e=>{l(e),C&&"no"!==C||n({paddingSize:"huge"})},label:(0,le.__)("Background color","coblocks")},{value:a.color,onChange:r,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasOverlay:!0}))))})),Om=function(e){let{icon:t="menu",label:o,menuLabel:n,className:l,props:r}=e;return(0,ie.createElement)(Zt.Dropdown,{className:Ut()("components-dropdown-menu",l),contentClassName:"components-dropdown-menu__popover",renderToggle:e=>{let{isOpen:n,onToggle:l}=e;return(0,ie.createElement)(Zt.ToolbarButton,{onClick:l,"aria-haspopup":"true","aria-expanded":n,onKeyDown:e=>{n||e.keyCode!==So.DOWN||(e.preventDefault(),e.stopPropagation(),l())},label:o,icon:t,showTooltip:!0})},renderContent:()=>(0,ie.createElement)(Zt.NavigableMenu,{className:"components-coblocks-grid-dropdown",role:"menu","aria-label":n},(0,ie.createElement)(Sm,Ft({},r,{tooltip:!1})))})},Rm=e=>{const{attributes:t,setAttributes:o}=e,{contentAlign:n}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)(Om,{icon:(0,ie.createElement)(Zt.Icon,{icon:tt}),label:(0,le.__)("Change layout","coblocks"),props:e})),(0,ie.createElement)(Yt.AlignmentToolbar,{onChange:e=>o({contentAlign:e}),value:n}),(0,ie.createElement)(jr,e)))};const Mm=["core/heading","core/paragraph","core/spacer","core/button","core/buttons","core/list","core/image","coblocks/alert","coblocks/gif","coblocks/social","coblocks/row","coblocks/column","coblocks/buttons"],Am=[["core/heading",{
547
  /* translators: content placeholder */
548
  placeholder:(0,le.__)("Add hero heading…","coblocks"),level:2}],["core/paragraph",{
549
  /* translators: content placeholder */
@@ -3640,7 +3640,7 @@ description:(0,le.__)("Add a stylized graphic symbol to communicate something mo
3640
  /* translators: block style */
3641
  label:(0,le.__)("Outlined","coblocks"),isDefault:!0},{name:"filled",
3642
  /* translators: block style */
3643
- label:(0,le.__)("Filled","coblocks")}],attributes:zh,edit:Eh,save:e=>{let{attributes:t,className:o}=e;const{icon:n,backgroundColor:l,customBackgroundColor:r,customIconColor:a,contentAlign:c,iconColor:i,height:s,width:u,borderRadius:d,padding:m,href:h,linkTarget:p,rel:b}=t;let g="outlined";t.className&&t.className.includes("is-style-filled")&&(g="filled");const f=(0,Yt.getColorClassName)("color",i),v=(0,Yt.getColorClassName)("background-color",l),_=Ut()(o,{[`has-text-align-${c}`]:c}),k=Ut()("wp-block-coblocks-icon__inner",{"has-text-color":i||a,[f]:f,"has-background":l||r,[v]:v}),y={backgroundColor:v?void 0:r,color:f?void 0:a,fill:f?void 0:a,height:s,width:u,borderRadius:d?d+"px":void 0,padding:m?m+"px":void 0};return(0,ie.createElement)("div",{className:_},(0,ie.createElement)("div",{className:k,style:y},void 0!==n&&(h?(0,ie.createElement)("a",{href:h,target:p,rel:b},rh[g][n]&&rh[g][n].icon):rh[g][n]&&rh[g][n].icon)))},deprecated:hh};var Ph=JSON.parse('{"name":"coblocks/logos","category":"layout","attributes":{"align":{"type":"string"},"images":{"type":"array","default":[],"source":"query","selector":"img","query":{"url":{"type":"string","source":"attribute","attribute":"src"},"alt":{"type":"string","source":"attribute","attribute":"alt","default":""},"id":{"type":"string","source":"attribute","attribute":"data-id"},"width":{"type":"string","source":"attribute","attribute":"data-width"}}}}}');const Nh=[{isEligible:e=>e.className&&-1!==e.className.indexOf("has-filter-grayscale"),attributes:{...Ph.attributes,grayscale:{type:"boolean",default:!1}},migrate:e=>({...e,className:e.className.replace("has-filter-grayscale","is-style-black-and-white")}),save:e=>{let{attributes:t,className:o}=e;const{images:n,grayscale:l,align:r}=t;if(!n.length)return null;const a=Ut()(o,{"has-filter-grayscale":l});let c;switch(r){case"wide":c=4;break;case"full":c=5;break;default:c=3}const i=(0,Gt.chunk)(n,c);return(0,ie.createElement)("div",{className:a},Object.keys(i).map((e=>(0,ie.createElement)("div",{className:"wp-block-coblocks-logos__row",key:"wrapper-"+e},i[e].map(((t,o)=>(0,ie.createElement)("div",{style:{width:t.width||100/n.length+"%"},key:"logo-"+e},(0,ie.createElement)("img",{key:"img-"+o,src:t.url,alt:t.alt,"data-id":t.id,"data-width":t.width||100/n.length+"%"}))))))))}}];var Bh=Nh,Oh=e=>{const{setAttributes:t,attributes:o}=e,n=!!o.images.length;return(0,ie.createElement)(Yt.BlockControls,null,n&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)(Yt.MediaUploadCheck,null,(0,ie.createElement)(Yt.MediaUpload,{allowedTypes:["image"],gallery:!0,multiple:!0,onSelect:e=>{t({images:e.map((e=>At(e)))})},render:e=>{let{open:t}=e;return(0,ie.createElement)(Zt.ToolbarButton,{className:"components-toolbar__control",icon:ar,label:(0,le.__)("Edit logos","coblocks"),onClick:t})},value:o.images.map((e=>e.id))})))))};const Rh=(0,ie.forwardRef)(((e,t)=>{let{isSelected:o,isStackedOnMobile:n,...l}=e;const r=(0,Kt.useViewportMatch)("small","<");return(0,ie.createElement)(Zt.ResizableBox,Ft({ref:t,showHandle:o&&(!r||!n)},l))}));var Mh=(0,ie.forwardRef)(((e,t)=>{const{isSelected:o,attributes:n,images:l,setAttributes:r}=e,[a,c]=(0,ie.useState)(null),i=(0,Kt.usePrevious)(o);let s;switch((0,ie.useEffect)((()=>{o&&i&&c(null)}),[i,o]),n.align){case"wide":s=4;break;case"full":s=5;break;default:s=3}const u=(0,Gt.chunk)(l,s);return(0,ie.createElement)(ie.Fragment,null,Object.keys(u).map((e=>{const n=u[e];return(0,ie.createElement)("div",{className:"wp-block-coblocks-logos__row",key:"wrapper-"+e},n.map(((l,i)=>(0,ie.createElement)(Rh,{axis:"x",ref:t,key:l.id+"-"+e+"-"+i,minWidth:"10%",maxWidth:100/n.length+"%",className:Ut()("resize",{"is-selected":l.id===a}),size:{width:l.width||100/n.length+"%"},enable:{top:!1,right:!0,bottom:!1,left:!0,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:(t,o,n)=>{const l=n.style.width;u[e][i].width=l;const a=u[e].reduce(((e,t)=>e+parseFloat(t.width)),0);if(a>100){const t=parseFloat(100-a);u[e].map(((o,n)=>n!==i?(o.width=parseFloat(o.width)+parseFloat(t/(u[e].length-1))+"%",o):o))}r({images:(0,Gt.flatten)(u)})},onClick:()=>{c(l.id)},onKeyDown:e=>{if(So.BACKSPACE===e.keyCode){const e=n.filter((e=>e.id!==l.id));c(null),r({images:e})}},showHandle:o},(0,ie.createElement)("img",{src:l.url,alt:l.alt,"data-id":l.id,"data-width":l.width||100/n.length+"%",tabIndex:"0"})))))})))})),Ah=(0,Kt.compose)([Zt.withNotices])((e=>{const{className:t,noticeOperations:o,attributes:n,noticeUI:l,isSelected:r}=e,a=!!n.images.length;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Oh,e),(0,ie.createElement)(gc,Ft({},e,{onSelect:t=>{const o=t.map((e=>At(e))),n=e.attributes.images||[];e.setAttributes({images:n.concat(o)})}})),(0,ie.createElement)("div",{className:t},(0,ie.createElement)(Mh,Ft({},e,{images:n.images})),(!a||r)&&(0,ie.createElement)(Yt.MediaPlaceholder,{addToGallery:a,isAppender:a,icon:(0,ie.createElement)(Zt.Icon,{icon:rt}),labels:{title:(0,le.__)("Logos & Badges","coblocks"),instructions:(0,le.__)("Drag images, upload new ones or select files from your library.","coblocks")},multiple:!0,accept:"image/*",allowedTypes:["image"],value:a?n.images:void 0,onError:o.createErrorNotice,notices:l,onSelect:t=>{e.setAttributes({images:t.map((e=>At(e)))})},className:Ut()({"is-appender":a})})))}));const{name:Lh,category:Ih,attributes:Dh}=Ph,Fh={
3644
  /* translators: block name */
3645
  title:(0,le.__)("Logos","coblocks"),
3646
  /* translators: block description */
@@ -3672,7 +3672,7 @@ label:(0,le.__)("Dark","coblocks")},{value:"night",
3672
  /* translators: block style */
3673
  label:(0,le.__)("Night","coblocks")},{value:"aubergine",
3674
  /* translators: block style */
3675
- label:(0,le.__)("Aubergine","coblocks")}];class Zh extends ie.Component{constructor(e){super(...arguments),this.state={apiKey:e.apiKey,isSavedKey:!1,keySaved:!1,address:e.attributes.address},this.setControls=this.setControls.bind(this),this.updateApiKey=this.updateApiKey.bind(this),this.removeApiKey=this.removeApiKey.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}componentDidMount(){this.setState({apiKey:this.props.apiKey})}setControls(){const{setAttributes:e,attributes:t}=this.props,{controls:o}=t;e({controls:!o,mapTypeControl:!o,zoomControl:!o,streetViewControl:!o,fullscreenControl:!o})}updateApiKey(){this.props.updateApiKeyCallBack(this.state.apiKey)}removeApiKey(){this.setState({apiKey:""}),this.props.updateApiKeyCallBack("")}handleKeyDown(e){e===So.ENTER&&this.updateApiKey()}render(){const{attributes:e,setAttributes:t,apiKey:o}=this.props,{address:n,height:l,skin:r,pinned:a,controls:c,zoom:i,iconSize:s,mapTypeControl:u,zoomControl:d,streetViewControl:m,fullscreenControl:h}=e;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,!!o&&n&&a&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:"components-coblocks-map-styles"},(0,ie.createElement)(Zt.ButtonGroup,{"aria-label":(0,le.__)("Select map style","coblocks")},Bc()(Kh,(e=>{let{label:o,value:n}=e;return(0,ie.createElement)("div",{className:n===r?"components-coblocks-map-styles__button-wrapper components-button--${ value } is-selected":"components-coblocks-map-styles__button-wrapper components-button--${ value }"},(0,ie.createElement)(Zt.Button,{className:n===r?`components-coblocks-map-styles__button components-button--${n} components-coblocks-map-styles__button--selected`:`components-button--${n} components-coblocks-map-styles__button`,isSmall:!0,onClick:()=>{t({skin:n})}}),(0,ie.createElement)("div",{className:"block-editor-block-styles__item-label"},o))}))))),n&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Map settings","coblocks")},(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.BaseControl,{label:(0,le.__)("Height in pixels","coblocks"),id:"map-height-control"},(0,ie.createElement)("input",{type:"number","aria-label":(0,le.__)("Height for the map in pixels","coblocks"),onChange:e=>t({height:parseInt(e.target.value,10)}),value:l,min:200,step:10})),(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Zoom Level","coblocks"),value:i,onChange:e=>t({zoom:e}),min:5,max:20,step:1}),!!o&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Marker size","coblocks"),value:s,onChange:e=>t({iconSize:e}),min:20,max:100,step:2}),!!o&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Map controls","coblocks"),checked:!!c,onChange:this.setControls,help:c?(0,le.__)("Fine control options are enabled.","coblocks"):(0,le.__)("Toggle to enable map control options.","coblocks")}))),!!o&&n&&a&&c&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Map controls","coblocks"),initialOpen:!1},(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Map type","coblocks"),checked:!!u,onChange:()=>t({mapTypeControl:!u}),help:u?(0,le.__)("Switching between standard and satellite map views is enabled.","coblocks"):(0,le.__)("Toggle to enable switching between standard and satellite maps.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Zoom controls","coblocks"),checked:!!d,onChange:()=>t({zoomControl:!d}),help:d?(0,le.__)("Showing map zoom controls.","coblocks"):(0,le.__)("Toggle to enable zooming in and out on the map with zoom controls.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Street view","coblocks"),checked:!!m,onChange:()=>t({streetViewControl:!m}),help:m?(0,le.__)("Showing the street view map control.","coblocks"):(0,le.__)("Toggle to show the street view control at the bottom right.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Fullscreen toggle","coblocks"),checked:!!h,onChange:()=>t({fullscreenControl:!h}),help:h?(0,le.__)("Showing the fullscreen map control.","coblocks"):(0,le.__)("Toggle to show the fullscreen map control.","coblocks")})),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Google Maps API key","coblocks"),initialOpen:!1,className:"components-coblocks-block-settings-sidebar"},(0,ie.createElement)("p",null,(0,le.__)("Add a Google Maps API key. Updating this API key will set all your maps to use the new key.","coblocks")),""===o&&(0,ie.createElement)("p",null,(0,ie.createElement)(Zt.ExternalLink,{href:"https://cloud.google.com/maps-platform"},(0,le.__)("Get a key","coblocks")),"| ",(0,ie.createElement)(Zt.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},(0,le.__)("Need help?","coblocks"))),(0,ie.createElement)(Zt.TextControl,{value:this.state.apiKey,onChange:e=>this.setState({apiKey:e}),placeholder:(0,le.__)("Add Google API key…","coblocks"),onKeyDown:e=>{let{keyCode:t}=e;return this.handleKeyDown(t)},className:"components-block-coblocks-map-api-key__custom-input"}),(0,ie.createElement)(Zt.Button,{isPrimary:!0,onClick:this.updateApiKey,disabled:""===this.state.apiKey||this.state.apiKey===this.props.apiKey},this.state.apiKey===this.props.apiKey&&""!==this.props.apiKey?(0,le.__)("Saved","coblocks"):(0,le.__)("Save","coblocks")),o&&(0,ie.createElement)(Zt.Button,{className:"components-block-coblocks-map-api-key-remove__button",isSecondary:!0,onClick:this.removeApiKey,disabled:this.state.apiKey!==this.props.apiKey||!this.state.apiKey},(0,le.__)("Remove","coblocks")))))}}var Jh=Zh;const Xh=[];Xh.silver=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Xh.retro=[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Xh.dark=[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Xh.night=[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Xh.aubergine=[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}];var Qh=Xh;class ep extends ie.Component{constructor(){super(...arguments),this.state={apiKey:"",address:this.props.attributes.address,coords:null,hasError:!1,isSavedKey:!1,keySaved:!1},this.updateApiKey=this.updateApiKey.bind(this),this.saveApiKey=this.saveApiKey.bind(this)}componentDidMount(){tl()({path:"/wp/v2/settings"}).then((e=>{this.setState({apiKey:e.coblocks_google_maps_api_key,isSavedKey:""!==e.coblocks_google_maps_api_key})}))}componentDidUpdate(){this.state.apiKey&&!this.props.attributes.hasApiKey&&this.props.setAttributes({hasApiKey:!0}),!this.props.isSelected&&!this.props.attributes.pinned&&this.state.address&&Object.keys(this.state.address).length&&this.props.setAttributes({address:this.state.address,pinned:!0})}updateApiKey(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.apiKey;const{attributes:t,setAttributes:o}=this.props;if(e=e.trim(),this.saveApiKey(e),""===e)return o({hasApiKey:!1}),void(t.address||o({pinned:!1}));t.address&&o({pinned:!0})}saveApiKey(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.apiKey;this.setState({apiKey:e}),tl()({path:"/wp/v2/settings",method:"POST",data:{coblocks_google_maps_api_key:e}}).then((()=>{this.setState({isSavedKey:!0,keySaved:!0})}))}render(){const{attributes:e,setAttributes:t,isSelected:o,className:n}=this.props,{address:l,height:r,iconSize:a,pinned:c,skin:i,mapTypeControl:s,zoomControl:u,streetViewControl:d,fullscreenControl:m,zoom:h}=e,p=document.documentElement.lang,b={url:"/wp-content/plugins/coblocks/assets/images/markers/"+i+".svg",scaledSize:{width:a,height:a}};return(0,ie.createElement)(ie.Fragment,null,o&&(0,ie.createElement)(Jh,Ft({},this.props,{apiKey:this.state.apiKey,updateApiKeyCallBack:this.updateApiKey})),o&&(0,ie.createElement)(Yh,Ft({},this.props,{apiKey:this.state.apiKey})),c?(0,ie.createElement)(Zt.ResizableBox,{size:{height:r,width:"100%"},className:Ut()(n,{"is-selected":o}),minHeight:"200",enable:{bottom:!0,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},onResizeStop:(e,o,n,l)=>{t({height:parseInt(r+l.height,10)})},showHandle:o},this.state.apiKey?(0,Kt.compose)((v={googleMapURL:`https://maps.googleapis.com/maps/api/js?key=${this.state.apiKey}&language=${p}&v=3.exp&libraries=geometry,drawing,places`,loadingElement:(0,ie.createElement)("div",{style:{height:"100%"}}),containerElement:(0,ie.createElement)("div",{style:{height:"100%"}}),mapElement:(0,ie.createElement)("div",{style:{height:"100%"}}),coords:null,props:this.props},g=function(e){return Ft({},e,"function"==typeof v?v(e):v)},function(e){var t=(0,Uh.createFactory)(e);return function(e){return t(g(e))}}),Hh.WS,Hh.OI,(f={componentDidMount(){(new window.google.maps.Geocoder).geocode({address:l},function(e,t){"OK"===t?(this.setState({coords:e[0].geometry.location.toJSON()}),this.props.props.setAttributes({lat:e[0].geometry.location.toJSON().lat.toString(),lng:e[0].geometry.location.toJSON().lng.toString(),hasError:""})):this.props.props.setAttributes({pinned:!1,hasError:(0,le.__)("Invalid API key, or too many requests","coblocks")})}.bind(this))}},function(e){var t=(0,Uh.createFactory)(e),o=function(e){function o(){return e.apply(this,arguments)||this}return l=e,(n=o).prototype=Object.create(l.prototype),n.prototype.constructor=n,Wh(n,l),o.prototype.render=function(){return t(Ft({},this.props,this.state))},o;var n,l}(Uh.Component);return Object.keys(f).forEach((function(e){return o.prototype[e]=f[e]})),o}))((e=>[e.coords?(0,ie.createElement)(Hh.b6,{isMarkerShown:!0,defaultZoom:e.props.attributes.zoom,defaultCenter:new window.google.maps.LatLng(e.coords),defaultOptions:{styles:Qh[i],draggable:!1,mapTypeControl:s,zoomControl:u,streetViewControl:d,fullscreenControl:m}},(0,ie.createElement)(Hh.Jx,{position:new window.google.maps.LatLng(e.coords),icon:b})):null]))():(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{style:{width:"100%",height:r,position:"absolute"}}),(0,ie.createElement)("div",{className:"iframe__overflow-wrapper"},(0,ie.createElement)("iframe",{title:(0,le.__)("Google Map","coblocks"),frameBorder:"0",style:{width:"100%",minHeight:r+"px"},src:`https://www.google.com/maps?q=${encodeURIComponent(l)}&output=embed&hl=${p}&z=${h}`})))):(0,ie.createElement)(Zt.Placeholder,{icon:(0,ie.createElement)(Zt.Icon,{icon:at}),label:(0,le.__)("Map","coblocks"),instructions:(0,le.__)("Enter a location or address to drop a pin on a Google map.","coblocks")},(0,ie.createElement)("form",{onSubmit:e=>{e&&e.preventDefault(),t({address:this.state.address,pinned:!0})}},(0,ie.createElement)(Zt.TextControl,{value:this.state.address||"",className:"components-placeholder__input",placeholder:(0,le.__)("Search for a place or address…","coblocks"),onChange:e=>this.setState({address:e})}),(0,ie.createElement)(Zt.Button,{isPrimary:!!this.state.address,isSecondary:!this.state.address,type:"submit",disabled:!this.state.address},(0,le.__)("Search","coblocks")),(0,ie.createElement)("div",{className:"components-placeholder__learn-more"},l&&(0,ie.createElement)(Zt.Button,{isTertiary:!0,className:"components-placeholder__cancel-button",title:(0,le.__)("Cancel","coblocks"),onClick:()=>{t({pinned:!c}),this.setState({address:this.props.attributes.address})},disabled:!l},(0,le.__)("Cancel","coblocks")))),e.lng&&e.hasError&&(0,ie.createElement)("span",{className:"invalid-google-maps-api-key"},e.hasError)));var g,f,v}}var tp=(0,Kt.compose)([Zt.withNotices])(ep);var op={from:[{type:"prefix",prefix:":map",transform:e=>(0,ne.createBlock)(Vh.name,{content:e})}]};const{name:np,category:lp,attributes:rp}=Vh,ap={
3676
  /* translators: block name */
3677
  title:(0,le.__)("Map","coblocks"),
3678
  /* translators: block description */
@@ -3696,7 +3696,7 @@ description:(0,le.__)("Display multiple images in an organized masonry gallery."
3696
  /* translators: block keyword */
3697
  (0,le.__)("photos","coblocks"),
3698
  /* translators: block keyword */
3699
- (0,le.__)("lightbox","coblocks")],supports:{align:["wide","full"],html:!1,coBlocksSpacing:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{index:0,url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{index:1,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},{index:2,url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{index:3,url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"},{index:4,url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"}]}},attributes:kp,transforms:fp,edit:bp,save:e=>{let{attributes:t,className:o}=e;const{animation:n,captions:l,gridSize:r,gutter:a,gutterMobile:c,images:i,linkTo:s,lightbox:u,rel:d,target:m}=t,h=Ut()(...na(t),{"has-gutter":a>0,"has-lightbox":u}),p=Ut()(`has-grid-${r}`,{[`has-gutter-${a}`]:a>0,[`has-gutter-mobile-${c}`]:c>0}),b=Ut()("coblocks-gallery--item",{"coblocks-animate":n}),g={...ra(t)};return(0,ie.createElement)("div",{"aria-label":(0,le.__)("Masonry Gallery","coblocks"),className:o},(0,ie.createElement)("div",{className:h},(0,ie.createElement)("ul",{className:p,style:g},i.map((e=>{let t;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const o=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,ie.createElement)("li",{key:e.id||e.url,className:b,"data-coblocks-animation":n},(0,ie.createElement)("figure",{className:"coblocks-gallery--figure"},t?(0,ie.createElement)("a",{href:t,target:m,rel:d},o):o,l&&e.caption&&e.caption.length>0&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:"coblocks-gallery--caption",value:e.caption})))})))))},deprecated:sp};var Ep=(0,Yt.withColors)("backgroundColor"),xp=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})),Cp=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})),Sp=e=>{const{attributes:t,setAttributes:o}=e,{mediaPosition:n}=t,l=[{icon:(0,ie.createElement)(Zt.Icon,{icon:xp}),isActive:"left"===n,onClick:()=>o({mediaPosition:"left"}),title:(0,le.__)("Show media on left","coblocks")},{icon:(0,ie.createElement)(Zt.Icon,{icon:Cp}),isActive:"right"===n,onClick:()=>o({mediaPosition:"right"}),title:(0,le.__)("Show media on right","coblocks")}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,{controls:l}),jr(e)))},zp=(0,Kt.compose)([Ep])((e=>{const{attributes:t,backgroundColor:o,setAttributes:n,setBackgroundColor:l}=e,{hasImgShadow:r,hasCardShadow:a,mediaUrl:c,mediaAlt:i,paddingBottom:s,paddingLeft:u,paddingRight:d,paddingSize:m,paddingTop:h,paddingBottomTablet:p,paddingLeftTablet:b,paddingRightTablet:g,paddingTopTablet:f,paddingBottomMobile:v,paddingLeftMobile:_,paddingRightMobile:k,paddingTopMobile:y,paddingSyncUnits:w,paddingSyncUnitsTablet:E,paddingSyncUnitsMobile:x,paddingUnit:C,maxWidth:S,align:z,mediaType:T}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Media Card settings","coblocks"),className:"block-coblocks__inspector-block-settings-panel-body"},(0,ie.createElement)(Lc,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),help:(0,le.__)("Space inside of the container.","coblocks"),valueTop:h,valueRight:d,valueBottom:s,valueLeft:u,valueTopTablet:f,valueRightTablet:g,valueBottomTablet:p,valueLeftTablet:b,valueTopMobile:y,valueRightMobile:k,valueBottomMobile:v,valueLeftMobile:_,unit:C,syncUnits:w,syncUnitsTablet:E,syncUnitsMobile:x,dimensionSize:m})),("full"===z||"wide"===z)&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Max width","coblocks"),className:"components-block-coblocks-media-card-maxwidth-range",value:parseFloat(S),onChange:e=>n({maxWidth:e}),min:400,max:2e3,step:1}),c&&"image"===T&&(0,ie.createElement)(Zt.TextareaControl,{label:(0,le.__)("Alt text (alternative text)","coblocks"),value:i,onChange:e=>n({mediaAlt:e}),help:(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,le.__)("Describe the purpose of the image","coblocks")),(0,le.__)("Leave empty if the image is purely decorative.","coblocks"))}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Card shadow","coblocks"),checked:!!a,onChange:()=>n({hasCardShadow:!a}),help:a?(0,le.__)("Showing card shadow.","coblocks"):(0,le.__)("Toggle to add a card shadow.","coblocks")}),T&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.sprintf)(
3700
  /* translators: %s: Placeholder is either 'Card, or 'Image' */
3701
  (0,le.__)(" %s shadow","coblocks"),T.charAt(0).toUpperCase()+T.slice(1)),checked:!!r,onChange:()=>n({hasImgShadow:!r}),help:r?(0,le.sprintf)(
3702
  /* translators: %s: placeholder is either 'Card, or 'Image' */
@@ -3773,7 +3773,7 @@ description:(0,le.__)("Display posts or an external blog feed as a carousel.","c
3773
  /* translators: abbreviation for extra large size */
3774
  (0,le.__)("XL","coblocks"),tooltip:
3775
  /* translators: label for extra large size option */
3776
- (0,le.__)("Huge","coblocks")}],z=[{value:"square",label:(0,le.__)("Square","coblocks"),tooltip:(0,le.__)("Square","coblocks")},{value:"circle",label:(0,le.__)("Circle","coblocks"),tooltip:(0,le.__)("Circle","coblocks")}],T=[{value:"square",label:(0,le.__)("Square","coblocks"),tooltip:(0,le.__)("Square","coblocks")},{value:"four-to-three",label:(0,le.__)("4:3","coblocks"),tooltip:(0,le.__)("4:3 Aspect ratio","coblocks")},{value:"sixteen-to-nine",label:(0,le.__)("16:9","coblocks"),tooltip:(0,le.__)("16:9 Aspect ratio","coblocks")},{value:"circle",label:(0,le.__)("Circle","coblocks"),tooltip:(0,le.__)("Circle","coblocks")}],P=e=>{r({columns:e>w?w:e})};C&&m>2&&P(2);const N=(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Posts settings","coblocks")},(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Post date","coblocks"),checked:p,help:p?(0,le.__)("Showing the publish date.","coblocks"):(0,le.__)("Toggle to show the publish date.","coblocks"),onChange:()=>r({displayPostDate:!p})}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Post content","coblocks"),checked:h,help:h?(0,le.__)("Showing the post content.","coblocks"):(0,le.__)("Toggle to show the post content.","coblocks"),onChange:()=>r({displayPostContent:!h})}),h&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Max words in content","coblocks"),value:b,onChange:e=>r({excerptLength:e}),min:5,max:75}),(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Columns","coblocks"),value:m,onChange:e=>{a(),P(e)},min:1,max:C?Math.min(2,i):Math.min(4,i),required:!0}),t.columns>=2&&(0,ie.createElement)(hc,e),u&&(0,ie.createElement)(Yo,{label:(0,le.__)("Thumbnail style","coblocks"),options:C?z:T,currentOption:f,onChange:e=>r({imageStyle:e})}),C&&u&&(0,ie.createElement)(Yo,{label:(0,le.__)("Thumbnail size","coblocks"),options:S,currentOption:g,onChange:e=>r({imageSize:e})}))),B=(0,ie.createElement)(Zt.QueryControls,{order:_,orderBy:k,categoriesList:c,selectedCategoryId:t.categories,categorySuggestions:c,selectedCategories:t.categories,onOrderChange:e=>r({order:e}),onOrderByChange:e=>r({orderBy:e}),onCategoryChange:e=>r({categories:""!==e?e:void 0})}),O=(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Feed settings","coblocks"),initialOpen:!s},(0,ie.createElement)(Zt.RadioControl,{selected:y,options:[{label:(0,le.__)("My blog","coblocks"),value:"internal"},{label:(0,le.__)("External feed","coblocks"),value:"external"}],onChange:e=>r({postFeedType:e})}),s||E&&(null==E?void 0:E.length)>0?(0,ie.createElement)(ie.Fragment,null,"internal"===y&&d?(()=>{const e=c.reduce(((e,t)=>({...e,[t.name]:t})),{}),o=c.reduce(((e,t)=>({...e,[t.name]:t})),{});return(0,ie.createElement)(Zt.QueryControls,{order:_,orderBy:k,categorySuggestions:e,selectedCategories:t.categories,onOrderChange:e=>r({order:e}),onOrderByChange:e=>r({orderBy:e}),onCategoryChange:e=>{const t=e.reduce(((e,t)=>{if("string"==typeof t){const n=o[t];n&&e.push(n)}else e.push(t);return e}),[]);r({categories:t}),e.length<2&&r({categoryRelation:"or"})}})})():B,E&&E.length>1&&(0,ie.createElement)(Zt.RadioControl,{label:(0,le.__)("Category relation","coblocks"),help:(0,le.__)("The logical relationship between each category when there is more than one.","coblocks"),selected:x,options:[{label:(0,le.__)("Or","coblocks"),value:"or"},{label:(0,le.__)("And","coblocks"),value:"and"}],onChange:e=>r({categoryRelation:e})}),(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Number of posts","coblocks"),value:w,onChange:e=>(e=>{const t={postsToShow:e};(m>e||1===e&&1!==m)&&Object.assign(t,{columns:e}),r(t)})(e),min:1,max:20})):null);return(0,ie.createElement)(Yt.InspectorControls,null,s?(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:"block-editor-block-styles coblocks-editor-block-styles"},n.map((e=>(0,ie.createElement)("div",{key:`style-${e.name}`,className:Ut()("block-editor-block-styles__item",{"is-active":o===e}),onClick:()=>{"horizontal"===e.name&&["four-to-three","sixteen-to-nine"].includes(f)&&r({imageStyle:"square"}),l(e)},onKeyDown:t=>{So.ENTER!==t.keyCode&&So.SPACE!==t.keyCode||(t.preventDefault(),l(e))},role:"button",tabIndex:"0","aria-label":e.label||e.name},(0,ie.createElement)("div",{className:"block-editor-block-styles__item-preview"},"left"===v&&e.iconAlt?e.iconAlt:e.icon),(0,ie.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label||e.name)))))):null,s?N:null,O)};const Sb={};Sb.styleHorizontalImageRight=(0,ie.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 26",height:"26",width:"56"},(0,ie.createElement)(Zt.Path,{d:"m48 11.0910645v-10.00000005h-10v10.00000005zm-40-6.00000005h24v-2h-24zm0 4v-2h18v2zm40 16.00000005h-10v-10h10zm-40-6v-2h24v2zm0 4v-2h18v2z"})),Sb.styleHorizontalImageLeft=(0,ie.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 26",height:"26",width:"56"},(0,ie.createElement)(Zt.Path,{d:"m18 11.0910645v-10.00000005h-10v10.00000005zm6-6.00000005h24v-2h-24zm0 4v-2h18v2zm-6 16.00000005h-10v-10h10zm6-6v-2h24v2zm0 4v-2h18v2z"})),Sb.styleStacked=(0,ie.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 26",height:"26",width:"56"},(0,ie.createElement)(Zt.Path,{d:"m26 17v-16h-16v16zm-16 4h10v-2h-10zm0 4v-2h10v2zm36-8h-16v-16h16zm-16 4v-2h10v2zm0 4v-2h10v2z"}));var zb=Sb;const Tb={per_page:-1},Pb=wp.tokenList,Nb=[{name:"stacked",
3777
  /* translators: block style */
3778
  label:(0,le.__)("Stacked","coblocks"),icon:zb.styleStacked,isDefault:!0},{name:"horizontal",
3779
  /* translators: block style */
@@ -3810,9 +3810,9 @@ description:(0,le.__)("A pricing table to help visitors compare products and pla
3810
  /* translators: block keyword */
3811
  (0,le.__)("landing","coblocks"),
3812
  /* translators: block keyword */
3813
- (0,le.__)("comparison","coblocks")],parent:["coblocks/pricing-table"],supports:{html:!1,inserter:!1,reusable:!1},attributes:pg,transforms:dg,edit:sg,save:e=>{let{attributes:t}=e;const{amount:o,currency:n,customBackgroundColor:l,customTextColor:r,features:a,backgroundColor:c,textColor:i,title:s}=t,u=(0,Yt.getColorClassName)("background-color",c),d=(0,Yt.getColorClassName)("color",i),m=Ut()({"has-background":c||l,[u]:u,"has-text-color":i||r,[d]:d}),h={backgroundColor:u?void 0:l,color:d?void 0:r};return(e=>{const t=["title","features","currency","amount"],o=Object.entries(e).filter((e=>{let[o]=e;return t.includes(o)}));return re((0,gr.Z)(o))})(t)?null:(0,ie.createElement)("div",{className:m,style:h},!Yt.RichText.isEmpty(s)&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__title",value:s}),!Yt.RichText.isEmpty(o)&&(0,ie.createElement)("div",{className:"wp-block-coblocks-pricing-table-item__price-wrapper"},!Yt.RichText.isEmpty(n)&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__currency",value:n}),(0,ie.createElement)(Yt.RichText.Content,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__amount",value:o})),!Yt.RichText.isEmpty(a)&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"ul",multiline:"li",className:"wp-block-coblocks-pricing-table-item__features",value:a}),(0,ie.createElement)(Yt.InnerBlocks.Content,null))}};var gg=JSON.parse('{"name":"coblocks/row","category":"layout","attributes":{"id":{"type":"number"},"columns":{"type":"number"},"layout":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"verticalAlignment":{"type":"string"}}}');const fg=[{attributes:{...Cc,...gg.attributes},save:function(e){let{attributes:t}=e;const{coblocks:o,backgroundColor:n,backgroundImg:l,columns:r,customBackgroundColor:a,customTextColor:c,id:i,layout:s,isStackedOnMobile:u,marginSize:d,paddingSize:m,textColor:h,focalPoint:p,hasParallax:b,backgroundType:g,verticalAlignment:f}=t,v=(0,Yt.getColorClassName)("color",h),_=(0,Yt.getColorClassName)("background-color",n);let k=Ut()({[`coblocks-row--${i}`]:i});o&&void 0!==o.id&&(k=Ut()(k,`coblocks-row-${o.id}`));const y=["wp-block-coblocks-row__inner",...Vr(t),{"has-text-color":h||c},{[v]:v},{"has-padding":m&&"no"!==m},{[`has-${m}-padding`]:!["advanced"].includes(m)},{"has-margin":d&&"no"!==d},{[`has-${d}-margin`]:!["advanced"].includes(d)},{"is-stacked-on-mobile":u},{[`are-vertically-aligned-${f}`]:f}],w={backgroundColor:_?void 0:a,backgroundImage:l&&"image"===g?`url(${l})`:void 0,backgroundPosition:p&&!b?`${100*p.x}% ${100*p.y}%`:void 0,color:v?void 0:c};return(0,ie.createElement)("div",{className:k,"data-columns":r,"data-id":i,"data-layout":s},(0,ie.createElement)(rc,t,(0,ie.createElement)("div",{className:Ut()(y),style:w},Qr(t),(0,ie.createElement)(Yt.InnerBlocks.Content,null))))}},{attributes:{...gg.attributes},save:function(e){let{attributes:t}=e;const{coblocks:o,backgroundColor:n,backgroundImg:l,columns:r,customBackgroundColor:a,customTextColor:c,gutter:i,id:s,layout:u,isStackedOnMobile:d,marginSize:m,paddingSize:h,textColor:p,focalPoint:b,hasParallax:g,backgroundType:f}=t,v=(0,Yt.getColorClassName)("color",p),_=(0,Yt.getColorClassName)("background-color",n);let k={};o&&void 0!==o.id&&(k=Object.assign(k,[`coblocks-row-${o.id}`]),k=Object.assign(k,[`coblocks-row--${s}`]));const y=Ut()(k),w=["wp-block-coblocks-row__inner",...Vr(t),{"has-text-color":p||c},{[v]:v},{[`has-${i}-gutter`]:i},{"has-padding":h&&"no"!==h},{[`has-${h}-padding`]:!["advanced"].includes(h)},{"has-margin":m&&"no"!==m},{[`has-${m}-margin`]:!["advanced"].includes(m)},{"is-stacked-on-mobile":d}],E={backgroundColor:_?void 0:a,backgroundImage:l&&"image"===f?`url(${l})`:void 0,backgroundPosition:b&&!g?`${100*b.x}% ${100*b.y}%`:void 0,color:v?void 0:c};return(0,ie.createElement)("div",{className:y,"data-columns":r,"data-id":s,"data-layout":u},Qr(t),(0,ie.createElement)("div",{className:w,style:E},(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}},{attributes:{isStackedOnMobile:{default:!0,type:"boolean"},...gg.attributes},save:function(e){let{attributes:t}=e;const{coblocks:o,backgroundColor:n,backgroundImg:l,columns:r,customBackgroundColor:a,customTextColor:c,gutter:i,id:s,layout:u,isStackedOnMobile:d,marginSize:m,paddingSize:h,textColor:p}=t,b=(0,Yt.getColorClassName)("color",p),g=(0,Yt.getColorClassName)("background-color",n);let f={"has-text-color":p||c,[b]:b};o&&void 0!==o.id&&(f=Object.assign(f,[`coblocks-row-${o.id}`]));const v=Ut()(f),_={color:b?void 0:c},k=["wp-block-coblocks-row__inner",...Vr(t),{[`has-${i}-gutter`]:i},{"has-padding":h&&"no"!==h},{[`has-${h}-padding`]:!["advanced"].includes(h)},{"has-margin":m&&"no"!==m},{[`has-${m}-margin`]:!["advanced"].includes(m)},{"is-stacked-on-mobile":d}],y={backgroundColor:g?void 0:a,backgroundImage:l?`url(${l})`:void 0};return(0,ie.createElement)("div",{className:v,"data-columns":r,"data-id":s,"data-layout":u,style:_},(0,ie.createElement)("div",{className:k,style:y},(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}}];var vg=fg,_g=(0,Yt.withColors)("backgroundColor",{textColor:"color"});const kg={};kg.row=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.Path,{d:"m16 0h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14zm0 4h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14z",transform:"translate(3 3)"})),kg.layout=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m10 0h2v18h-2z"}))),kg.columns=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}))),kg.colOne=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z"})),kg.colTwo=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}))),kg.colThree=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m16 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m32 2h2v22h-2z"}))),kg.colFour=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m12 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m36 2h2v22h-2z"}))),kg.layout5050=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}))),kg.layout7525=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m34 2h2v22h-2z"}))),kg.layout2575=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m14 2h2v22h-2z"}))),kg.layout6633=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m32 2h2v22h-2z"}))),kg.layout3366=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m16 2h2v22h-2z"}))),kg.layout333333=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m32 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m16 2h2v22h-2z"}))),kg.layout502525=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m36 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}))),kg.layout252550=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m11 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}))),kg.layout255025=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m11 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m37 2h2v22h-2z"}))),kg.layout206020=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m8 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m40 2h2v22h-2z"}))),kg.layout25252525=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m12 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m36 2h2v22h-2z"}))),kg.layout40202020=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m18 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m28 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m38 2h2v22h-2z"}))),kg.layout20202040=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"matrix(-1 0 0 -1 50 26)"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m39 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m30 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m20 2h2v22h-2z"}))),kg.smallLayout5050=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}))),kg.smallLayout7525=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m10 0h2v18h-2z"}))),kg.smallLayout2575=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m6 0h2v18h-2z"}))),kg.smallLayout3366=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m5 0h2v18h-2z"}))),kg.smallLayout6633=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m11 0h2v18h-2z"}))),kg.smallLayout333333=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m5 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m11 0h2v18h-2z"}))),kg.smallLayout502525=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m12 0h2v18h-2z"}))),kg.smallLayout252550=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m4 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}))),kg.smallLayout255025=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m5 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m11 0h2v18h-2z"}))),kg.smallLayout206020=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m4 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m12 0h2v18h-2z"}))),kg.smallLayout25252525=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m4 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m12 0h2v18h-2z"}))),kg.smallLayout40202020=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m7 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m10 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m13 0h2v18h-2z"}))),kg.smallLayout20202040=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m3 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m6 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m9 0h2v18h-2z"})));var yg=kg;const wg={2:[{key:"50-50",name:(0,le.__)("Equal split","coblocks"),icon:yg.layout5050,smallIcon:yg.smallLayout5050},{key:"66-33",name:(0,le.__)("Two thirds / one third","coblocks"),icon:yg.layout6633,smallIcon:yg.smallLayout6633},{key:"33-66",name:(0,le.__)("One third / two thirds","coblocks"),icon:yg.layout3366,smallIcon:yg.smallLayout3366},{key:"75-25",name:(0,le.__)("Three quarters / quarter","coblocks"),icon:yg.layout7525,smallIcon:yg.smallLayout7525},{key:"25-75",name:(0,le.__)("Quarter / three quarters","coblocks"),icon:yg.layout2575,smallIcon:yg.smallLayout2575}],3:[{key:"33-33-33",name:(0,le.__)("Thirds","coblocks"),icon:yg.layout333333,smallIcon:yg.smallLayout333333},{key:"50-25-25",name:(0,le.__)("Half / quarter / quarter","coblocks"),icon:yg.layout502525,smallIcon:yg.smallLayout502525},{key:"25-25-50",name:(0,le.__)("Quarter / quarter/ half","coblocks"),icon:yg.layout252550,smallIcon:yg.smallLayout252550},{key:"25-50-25",name:(0,le.__)("Quarter / half / quarter","coblocks"),icon:yg.layout255025,smallIcon:yg.smallLayout255025},{key:"20-60-20",name:(0,le.__)("One fifth/ three fifths / one fifth","coblocks"),icon:yg.layout206020,smallIcon:yg.smallLayout206020}],4:[{key:"25-25-25-25",name:(0,le.__)("Quarters","coblocks"),icon:yg.layout25252525,smallIcon:yg.smallLayout25252525},{key:"40-20-20-20",name:(0,le.__)("Two fifths / fifth / fifth / fifth","coblocks"),icon:yg.layout40202020,smallIcon:yg.smallLayout40202020},{key:"20-20-20-40",name:(0,le.__)("Fifth / fifth / fifth / two fifths","coblocks"),icon:yg.layout20202040,smallIcon:yg.smallLayout20202040}]},Eg=["coblocks/column"],xg={100:[["coblocks/column",{width:"100"}]],"50-50":[["coblocks/column",{width:"50"}],["coblocks/column",{width:"50"}]],"25-75":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"75"}]],"75-25":[["coblocks/column",{width:"75"}],["coblocks/column",{width:"25"}]],"66-33":[["coblocks/column",{width:"66"}],["coblocks/column",{width:"33"}]],"33-66":[["coblocks/column",{width:"33"}],["coblocks/column",{width:"66"}]],"33-33-33":[["coblocks/column",{width:"33.33"}],["coblocks/column",{width:"33.33"}],["coblocks/column",{width:"33.33"}]],"50-25-25":[["coblocks/column",{width:"50"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],"25-25-50":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"50"}]],"25-50-25":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"50"}],["coblocks/column",{width:"25"}]],"20-60-20":[["coblocks/column",{width:"20"}],["coblocks/column",{width:"60"}],["coblocks/column",{width:"20"}]],"25-25-25-25":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],"40-20-20-20":[["coblocks/column",{width:"40"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}]],"20-20-20-40":[["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"40"}]]};var Cg=e=>{const{clientId:t,attributes:o,setAttributes:n,getBlocksByClientId:l,updateBlockAttributes:r}=e,{columns:a,layout:c,verticalAlignment:i}=o;let s=1;return a&&(s=parseInt(a.toString().split("-"))),c?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,a&&s>1&&(0,ie.createElement)(Zt.ToolbarGroup,{isCollapsed:!0,icon:(()=>{let e=1;return a&&(e=parseInt(a.toString().split("-"))),void 0===c?yg.layout:Bc()(wg[e],(e=>{let{key:t,smallIcon:o}=e;return t===c?o:""}))})(),label:(0,le.__)("Change row block layout","coblocks"),controls:Bc()(wg[s],(e=>{let{name:o,key:a,smallIcon:i}=e;return{title:o,key:a,icon:i,isActive:a===c,onClick:()=>{const e=a.toString().split("-"),o=l(t);n({layout:a}),void 0!==o[0].innerBlocks&&Bc()(o[0].innerBlocks,((t,o)=>r(t.clientId,{width:e[o]})))}}}))}),(0,ie.createElement)(Yt.BlockVerticalAlignmentToolbar,{onChange:e=>{const o=l(t);n({verticalAlignment:e}),void 0!==o[0].innerBlocks&&Bc()(o[0].innerBlocks,(t=>r(t.clientId,{verticalAlignment:e})))},value:i}),c&&jr(e))):null};const{getComputedStyle:Sg}=window,zg=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?Sg(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var Tg=(0,Kt.compose)([_g,zg])((e=>{const{attributes:t,backgroundColor:o,clientId:n,setAttributes:l,setBackgroundColor:r,setTextColor:a,textColor:c,updateBlockAttributes:i,getBlocksByClientId:s}=e,{columns:u,layout:d,marginBottom:m,marginLeft:h,marginRight:p,marginSize:b,marginTop:g,marginBottomTablet:f,marginLeftTablet:v,marginRightTablet:_,marginTopTablet:k,marginBottomMobile:y,marginLeftMobile:w,marginRightMobile:E,marginTopMobile:x,marginSyncUnits:C,marginSyncUnitsTablet:S,marginSyncUnitsMobile:z,marginUnit:T,paddingBottom:P,paddingLeft:N,paddingRight:B,paddingSize:O,paddingTop:R,paddingBottomTablet:M,paddingLeftTablet:A,paddingRightTablet:L,paddingTopTablet:I,paddingBottomMobile:D,paddingLeftMobile:F,paddingRightMobile:V,paddingTopMobile:j,paddingSyncUnits:G,paddingSyncUnitsTablet:$,paddingSyncUnitsMobile:H,paddingUnit:U,hasMarginControl:W}=t;let q=1;u&&(q=parseInt(u.toString().split("-")));const Y=e=>{const t=e.toString().split("-"),o=s(n);l({layout:e}),void 0!==o[0].innerBlocks&&Bc()(o[0].innerBlocks,((e,o)=>i(e.clientId,{width:t[o]})))};return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,u&&q>=1&&(0,ie.createElement)(ie.Fragment,null,d&&(0,ie.createElement)(ie.Fragment,null,q>1&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:Ut()("block-editor-block-styles","coblocks-editor-block-styles")},Bc()(wg[q],(e=>{let{name:t,key:o,icon:n}=e;return(0,ie.createElement)("div",{key:`style-${t}`,className:Ut()("block-editor-block-styles__item",{"is-active":d===o}),onClick:()=>Y(o),onKeyPress:()=>Y(o),role:"button",tabIndex:"0","aria-label":t},(0,ie.createElement)("div",{className:"block-editor-block-styles__item-preview"},n))})))),d&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Row settings","coblocks")},q>=2&&(0,ie.createElement)(hc,e),(0,ie.createElement)(Lc,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),help:(0,le.__)("Space inside of the container.","coblocks"),valueTop:R,valueRight:B,valueBottom:P,valueLeft:N,valueTopTablet:I,valueRightTablet:L,valueBottomTablet:M,valueLeftTablet:A,valueTopMobile:j,valueRightMobile:V,valueBottomMobile:D,valueLeftMobile:F,unit:U,syncUnits:G,syncUnitsTablet:$,syncUnitsMobile:H,dimensionSize:O})),W&&(0,ie.createElement)(Lc,Ft({},e,{type:"margin",label:(0,le.__)("Margin","coblocks"),help:(0,le.__)("Space around the container.","coblocks"),valueTop:g,valueRight:p,valueBottom:m,valueLeft:h,valueTopTablet:k,valueRightTablet:_,valueBottomTablet:f,valueLeftTablet:v,valueTopMobile:x,valueRightMobile:E,valueBottomMobile:y,valueLeftMobile:w,unit:T,syncUnits:C,syncUnitsTablet:S,syncUnitsMobile:z,dimensionSize:b}))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:e=>{r(e),O&&"no"!==O||l({paddingSize:"medium"}),e||l({paddingSize:"no"})},label:(0,le.__)("Background color","coblocks")},{value:c.color,onChange:a,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasOverlay:!0})))))))}));const Pg=(0,co.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/block-editor");return{updateBlockAttributes:t}})),Ng=(0,co.withSelect)(((e,t)=>{const{getBlocks:o,getBlocksByClientId:n}=e("core/block-editor"),{getBlockType:l,getBlockVariations:r,getDefaultBlockVariation:a}=e("core/blocks"),c=o(t.clientId),{replaceInnerBlocks:i}=(0,co.useDispatch)("core/block-editor");return{blockType:l(t.name),defaultVariation:void 0===a?null:a(t.name),getBlocksByClientId:n,hasInnerBlocks:e("core/block-editor").getBlocks(t.clientId).length>0,innerBlocks:c,replaceInnerBlocks:i,variations:void 0===r?null:r(t.name)}}));var Bg=(0,Kt.compose)(_g,Ng,Pg)((e=>{const{attributes:t,isSelected:o,setAttributes:n,className:l,variations:r,hasInnerBlocks:a,defaultVariation:c,replaceInnerBlocks:i,blockType:s,textColor:u,backgroundColor:d,clientId:m}=e,{columns:h,layout:p,id:b,backgroundImg:g,coblocks:f,paddingSize:v,marginSize:_,marginUnit:k,marginTop:y,marginRight:w,marginBottom:E,marginLeft:x,paddingUnit:C,paddingTop:S,backgroundType:z,hasParallax:T,focalPoint:P,paddingRight:N,paddingBottom:B,isStackedOnMobile:O,paddingLeft:R,verticalAlignment:M}=t,A=(0,Kt.usePrevious)(a),[L,I]=(0,ie.useState)(!0);(0,ie.useEffect)((()=>{A&&!a&&(I(!0),n({columns:null,layout:null}))}),[a,A]);const D=e=>Bc()(e,(e=>{let[t,o,n=[]]=e;return(0,ne.createBlock)(t,o,D(n))})),F=()=>!!ne.registerBlockVariation,V=(0,ie.createElement)($r,Ft({},e,{label:(0,le.__)("Add background to row","coblocks")})),j=[{columns:1,icon:yg.colOne,key:"100",name:(0,le.__)("One column","coblocks")},{columns:2,icon:yg.colTwo,name:(0,le.__)("Two columns","coblocks")},{columns:3,icon:yg.colThree,name:(0,le.__)("Three columns","coblocks")},{columns:4,icon:yg.colFour,name:(0,le.__)("Four columns","coblocks")}];let G=1;if(h&&(G=parseInt(h.toString().split("-"))),!p&&L&&!F())return(0,ie.createElement)(ie.Fragment,null,o&&(0,ie.createElement)(Cg,e),o&&(0,ie.createElement)(Tg,e),(0,ie.createElement)(Zt.Placeholder,{className:"components-coblocks-row-placeholder",icon:(0,ie.createElement)(Zt.Icon,{icon:ft}),instructions:h?(0,le.sprintf)(
3814
  /* translators: %s: 'one' 'two' 'three' and 'four' */
3815
- (0,le.__)("Select a layout for this %s column row.","coblocks"),($=h,1===$?(0,le.__)("one","coblocks"):2===$?(0,le.__)("two","coblocks"):3===$?(0,le.__)("three","coblocks"):4===$?(0,le.__)("four","coblocks"):void 0)):(0,le.__)("Select the number of columns for this row.","coblocks"),key:"placeholder",label:h?(0,le.__)("Row layout","coblocks"):(0,le.__)("Row","coblocks")},h?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ButtonGroup,{"aria-label":(0,le.__)("Select row layout","coblocks"),className:"block-editor-inner-blocks__template-picker-options block-editor-block-pattern-picker__patterns"},(0,ie.createElement)(Zt.Button,{className:"components-coblocks-row-placeholder__back",icon:"exit",label:(0,le.__)("Back to columns","coblocks"),onClick:()=>{n({columns:null}),I(!0)}}),Bc()(wg[G],(e=>(0,ie.createElement)(Zt.Tooltip,{text:e.name},(0,ie.createElement)("div",{className:"components-coblocks-row-placeholder__button-wrapper"},(0,ie.createElement)(Zt.Button,{className:"components-coblocks-row-placeholder__button block-editor-inner-blocks__template-picker-option block-editor-block-pattern-picker__pattern",isSecondary:!0,key:e.key,onClick:()=>{n({layout:e.key}),I(!1)}},e.icon))))))):(0,ie.createElement)(Zt.ButtonGroup,{"aria-label":(0,le.__)("Select row columns","coblocks"),className:"block-editor-inner-blocks__template-picker-options block-editor-block-pattern-picker__patterns"},Bc()(j,(e=>(0,ie.createElement)(Zt.Tooltip,{text:e.name},(0,ie.createElement)("div",{className:"components-coblocks-row-placeholder__button-wrapper"},(0,ie.createElement)(Zt.Button,{className:"components-coblocks-row-placeholder__button block-editor-inner-blocks__template-picker-option block-editor-block-pattern-picker__pattern",isSecondary:!0,onClick:()=>{n({columns:e.columns,layout:1===e.columns?e.key:null}),1===e.columns&&I(!1)}},e.icon))))))));var $;let H=Ut()(l,{[`coblocks-row--${b}`]:b});f&&void 0!==f.id&&(H=Ut()(H,`coblocks-row-${f.id}`));const U=Ut()("wp-block-coblocks-row__inner",...Vr(t),{"has-margin":_&&"no"!==_,"has-padding":v&&"no"!==v,"has-text-color":u.color,[`has-${v}-padding`]:!["no","advanced"].includes(v),[`has-${_}-margin`]:!["no","advanced"].includes(_),"is-stacked-on-mobile":O,[`are-vertically-aligned-${M}`]:M}),W={backgroundColor:d.color,backgroundImage:g&&"image"===z?`url(${g})`:void 0,backgroundPosition:P&&!T?`${100*P.x}% ${100*P.y}%`:void 0,color:u.color,marginBottom:"advanced"===_&&E?E+k:void 0,marginLeft:"advanced"===_&&x?x+k:void 0,marginRight:"advanced"===_&&w?w+k:void 0,marginTop:"advanced"===_&&y?y+k:void 0,paddingBottom:"advanced"===v&&B?B+C:void 0,paddingLeft:"advanced"===v&&R?R+C:void 0,paddingRight:"advanced"===v&&N?N+C:void 0,paddingTop:"advanced"===v&&S?S+C:void 0};if(a||p){const n=()=>(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:Eg,renderAppender:()=>null,template:xg[p],templateInsertUpdatesSelection:1===h,templateLock:"all"}),l=()=>(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:Eg,renderAppender:()=>null,templateInsertUpdatesSelection:1===h,templateLock:"all"});return(0,ie.createElement)(ie.Fragment,null,V,o&&(0,ie.createElement)(Cg,e),o&&(0,ie.createElement)(Tg,e),(0,ie.createElement)("div",{className:H},(0,Mt.isBlobURL)(g)&&(0,ie.createElement)(Zt.Spinner,null),(0,ie.createElement)(rc,t,(0,ie.createElement)("div",{className:U,style:W},Qr(t),F()?l():n()))))}return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.__experimentalBlockVariationPicker,{allowSkip:!0,icon:Bt()(s,["icon","src"]),instructions:(0,le.__)("Select a variation to start with.","coblocks"),label:Bt()(s,["title"]),onSelect:e=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;e.attributes&&n(e.attributes),e.innerBlocks&&i(m,D(e.innerBlocks))}(e),variations:r}))}));function Og(e){let t;switch(e){default:t="50-50";break;case 3:t="33-33-33";break;case 4:t="25-25-25-25"}return t}var Rg={from:[{type:"prefix",prefix:":row",transform:e=>(0,ne.createBlock)(gg.name,{content:e})},...[2,3,4].map((e=>({type:"prefix",prefix:Array(e+1).join(":")+"row",transform:t=>(0,ne.createBlock)(gg.name,{content:t,columns:e,layout:Og(e)})})))]},Mg=[{name:"one-column",title:(0,le.__)("100","coblocks"),icon:yg.colOne,attributes:{columns:1,layout:"100"},isDefault:!0,innerBlocks:[["coblocks/column",{width:"100"}]],scope:["block"]},{name:"two-column-split",title:(0,le.__)("50 / 50","coblocks"),icon:yg.layout5050,attributes:{columns:2,layout:"50-50"},innerBlocks:[["coblocks/column",{width:"50"}],["coblocks/column",{width:"50"}]],scope:["block"]},{name:"two-column-third",title:(0,le.__)("66 / 33","coblocks"),icon:yg.layout6633,attributes:{columns:2,layout:"66-33"},innerBlocks:[["coblocks/column",{width:"66"}],["coblocks/column",{width:"33"}]],scope:["block"]},{name:"three-column",title:(0,le.__)("Thirds","coblocks"),icon:yg.layout502525,attributes:{columns:3,layout:"50-25-25"},innerBlocks:[["coblocks/column",{width:"50"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],scope:["block"]},{name:"four-column",title:(0,le.__)("Quarters","coblocks"),icon:yg.layout25252525,attributes:{columns:4,layout:"25-25-25-25"},innerBlocks:[["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],scope:["block"]}];const{name:Ag,category:Lg}=gg,Ig={...Cc,...Fr,...gg.attributes},Dg={
3816
  /* translators: block name */
3817
  title:(0,le.__)("Row","coblocks"),
3818
  /* translators: block description */
@@ -3822,21 +3822,21 @@ description:(0,le.__)("Add a structured wrapper for column blocks, then add cont
3822
  /* translators: block keyword */
3823
  (0,le.__)("columns","coblocks"),
3824
  /* translators: block keyword */
3825
- (0,le.__)("layouts","coblocks")],supports:{align:["wide","full"],anchor:!0,gutter:{default:"medium",customDefault:.8},stackedOnMobile:!0,coBlocksSpacing:!0},attributes:Ig,variations:Mg,transforms:Rg,edit:Bg,getEditWrapperProps:e=>{const{id:t,layout:o,columns:n,hasAlignmentControls:l}=e;return o?!1===l?{"data-align":""}:{"data-id":t,"data-columns":n,"data-layout":o}:{"data-id":t,"data-columns":n,"data-layout":"none"}},save:function(e){let{attributes:t}=e;const{coblocks:o,backgroundColor:n,backgroundImg:l,columns:r,customBackgroundColor:a,customTextColor:c,id:i,layout:s,isStackedOnMobile:u,marginSize:d,paddingSize:m,textColor:h,focalPoint:p,hasParallax:b,backgroundType:g,verticalAlignment:f}=t,v=(0,Yt.getColorClassName)("color",h),_=(0,Yt.getColorClassName)("background-color",n);let k=Ut()({[`coblocks-row--${i}`]:i});o&&void 0!==o.id&&(k=Ut()(k,`coblocks-row-${o.id}`));const y=["wp-block-coblocks-row__inner",...Vr(t),{"has-text-color":h||c},{[v]:v},{"has-padding":m&&"no"!==m},{[`has-${m}-padding`]:!["no","advanced"].includes(m)},{"has-margin":d&&"no"!==d},{[`has-${d}-margin`]:!["no","advanced"].includes(d)},{"is-stacked-on-mobile":u},{[`are-vertically-aligned-${f}`]:f}],w={backgroundColor:_?void 0:a,backgroundImage:l&&"image"===g?`url(${l})`:void 0,backgroundPosition:p&&!b?`${100*p.x}% ${100*p.y}%`:void 0,color:v?void 0:c};return(0,ie.createElement)("div",{className:k,"data-columns":r,"data-id":i,"data-layout":s},(0,ie.createElement)(rc,t,(0,ie.createElement)("div",{className:Ut()(y),style:w},Qr(t),(0,ie.createElement)(Yt.InnerBlocks.Content,null))))},deprecated:vg};var Fg=e=>{const{attributes:t,setAttributes:o,onToggleCta:n}=e;return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Service settings","coblocks")},(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Display button","coblocks"),help:t.showCta?(0,le.__)("Showing the call to action button.","coblocks"):(0,le.__)("Toggle to show a call to action button.","coblocks"),checked:t.showCta,onChange:n})),t.imageUrl&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Image settings","coblocks"),initialOpen:!1},(0,ie.createElement)(Zt.TextareaControl,{label:(0,le.__)("Alt text (alternative text)","coblocks"),value:t.imageAlt,onChange:e=>o({imageAlt:e}),help:(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,le.__)("Describe the purpose of the image","coblocks")),(0,le.__)("Leave empty if the image is purely decorative.","coblocks"))}),(0,ie.createElement)(Zt.FocalPointPicker,{label:(0,le.__)("Focal point","coblocks"),url:t.imageUrl,value:t.focalPoint,onChange:e=>o({focalPoint:e})})))};const Vg={};Vg.service43=(0,ie.createElement)(Zt.SVG,{height:"32",viewBox:"0 0 56 32",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m0 3h24v19.253906h-24z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 24h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 28h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{d:"m32 3h24v19.253906h-24z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 24h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 28h16v.8785807 1.1214193h-16z"}))),Vg.service169=(0,ie.createElement)(Zt.SVG,{height:"32",viewBox:"0 0 56 32",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m0 5h24v14h-24z"}),(0,ie.createElement)(Zt.Path,{d:"m32 5h24v14h-24z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 21h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 21h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 25h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 25h16v.8785807 1.1214193h-16z"}))),Vg.serviceSquare=(0,ie.createElement)(Zt.SVG,{height:"32",viewBox:"0 0 56 32",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m0 0h24v24h-24z"}),(0,ie.createElement)(Zt.Path,{d:"m32 0h24v24h-24z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 26h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 26h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 30h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 30h16v.8785807 1.1214193h-16z"}))),Vg.serviceCircle=(0,ie.createElement)(Zt.SVG,{height:"32",viewBox:"0 0 56 32",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)("circle",{cx:"12",cy:"12",r:"12"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 26h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 26h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 30h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 30h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)("circle",{cx:"44",cy:"12",r:"12"})));var jg=Vg;const Gg=["coblocks/service"],$g=[["coblocks/service"]],Hg=["core/heading","core/buttons","core/paragraph"],Ug=[{name:"threebyfour",label:"4:3",icon:jg.service43,isDefault:!0},{name:"sixbynine",label:"16:9",icon:jg.service169},{name:"square",label:(0,le.__)("Square","coblocks"),icon:jg.serviceSquare},{name:"circle",label:(0,le.__)("Circle","coblocks"),icon:jg.serviceCircle,defaultAlign:"center"}];function Wg(e,t){for(const o of new(od())(t).values()){if(-1===o.indexOf("is-style-"))continue;const t=o.substring(9),n=(0,Gt.find)(e,{name:t});if(n)return n}return(0,Gt.find)(e,"isDefault")}const qg=e=>{const t=["columns","buttons"],o=Object.entries(e).filter((e=>{let[o]=e;return t.includes(o)}));return re((0,gr.Z)(o))},Yg=e=>{const t=["content"];let o=!0;return e.forEach((e=>{const n=Object.entries(e.attributes).filter((e=>{let[o]=e;return t.includes(o)}));re((0,gr.Z)(n))||(o=!1)})),o};var Kg=JSON.parse('{"name":"coblocks/service","category":"layout","attributes":{"headingLevel":{"type":"integer","default":3},"showCta":{"type":"boolean","default":false},"imageUrl":{"type":"string","source":"attribute","selector":"img","attribute":"src","default":""},"imageAlt":{"type":"string","source":"attribute","selector":"img","attribute":"alt","default":""},"imageId":{"type":"number"},"focalPoint":{"type":"object"},"alignment":{"type":"string","default":"none"},"href":{"type":"string","source":"attribute","selector":"figure > a","attribute":"href"},"rel":{"type":"string","source":"attribute","selector":"figure > a","attribute":"rel"},"linkClass":{"type":"string","source":"attribute","selector":"figure > a","attribute":"class"},"linkDestination":{"type":"string"},"linkTarget":{"type":"string","source":"attribute","selector":"figure > a","attribute":"target"}},"supports":{"anchor":true}}');const{name:Zg,category:Jg,attributes:Xg}=Kg,Qg={
3826
  /* translators: block name */
3827
  title:(0,le.__)("Service","coblocks"),
3828
  /* translators: block description */
3829
- description:(0,le.__)("A single service item within a services block.","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:vt}),keywords:[],supports:{reusable:!1,html:!1,inserter:!1},example:{attributes:{}},attributes:Xg,edit:e=>{const{attributes:t,clientId:o,setAttributes:n}=e,l=(0,co.useSelect)((e=>e("core/block-editor").getBlocks(o)),[]),r=(0,co.useSelect)((e=>e("core").getMedia(t.imageId)),[]),a=(0,co.useSelect)((t=>{const{getBlockHierarchyRootClientId:n,getSelectedBlockClientId:l}=t("core/block-editor"),r=n(o),a=n(l());return e.isSelected||r===a})),{updateBlockAttributes:c,insertBlock:i,removeBlocks:s}=(0,co.useDispatch)("core/block-editor"),u=(e,t)=>{l.forEach((o=>{o.name===e&&c(o.clientId,t)}))};(0,ie.useEffect)((()=>{u("core/heading",{level:t.headingLevel})}),[t.headingLevel]),(0,ie.useEffect)((()=>{u("core/buttons",{contentJustification:t.alignment})}),[t.alignment]),(0,ie.useEffect)((()=>{!function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=l.filter((e=>"core/button"===e.name));if(r.length){s(r.map((e=>e.clientId)),!1);const n=(0,ne.createBlock)(e,t,r);return void i(n,l.length,o,!1)}const a=l.filter((t=>t.name===e));if(!a.length&&n){const n=(0,ne.createBlock)("core/button",{}),r=(0,ne.createBlock)(e,t,[n]);i(r,l.length,o,!1)}a.length&&!n&&s(a.map((e=>e.clientId)),!1)}("core/buttons",{contentJustification:t.alignment},t.showCta)}),[t.showCta]);const d=e=>{n({imageUrl:e.url,imageAlt:e.alt,imageId:e.id})},{className:m}=e,{headingLevel:h,href:p,imageUrl:b,linkClass:g,linkDestination:f,linkTarget:v,rel:_,showCta:k,alignment:y}=t,w=[["core/heading",{placeholder:
3830
  /* translators: placeholder text for input box */
3831
  (0,le.__)("Write title…","coblocks"),level:h,textAlign:y}],["core/paragraph",{
3832
  /* translators: content placeholder */
3833
- placeholder:(0,le.__)("Write description…","coblocks"),align:y}]];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.MediaReplaceFlow,{allowedTypes:["image"],mediaUrl:null,onSelect:e=>{d(e)}}),b&&(0,ie.createElement)(Yt.__experimentalImageURLInputUI,{url:p||"",onChangeUrl:e=>{let{href:t,...o}=e;const l={...o};void 0!==t&&(l.href=t),n(l)},linkDestination:f,mediaUrl:b,mediaLink:r&&r.link,linkTarget:v,linkClass:g,rel:_})),(0,ie.createElement)(Fg,{attributes:t,setAttributes:n,onToggleCta:()=>{n({showCta:!k})}}),(0,ie.createElement)("div",{className:m},b?(()=>{const e=Ut()("wp-block-coblocks-service__figure",{"is-transient":(0,Mt.isBlobURL)(t.imageUrl),"is-selected":a}),o=(0,ie.createElement)(Zt.DropZone,{onFilesDrop:d,label:(0,le.__)("Drop image to replace","coblocks")});return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("figure",{className:e},a&&(0,ie.createElement)(Zt.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right is-visible"},(0,ie.createElement)(Yt.MediaUploadCheck,null,(0,ie.createElement)(Yt.MediaUpload,{allowedTypes:["image"],onSelect:e=>d(e),value:null==r?void 0:r.url,render:e=>{let{open:t}=e;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.Button,{icon:_a,onClick:()=>n({imageUrl:"",imageAlt:"",imageId:null}),className:"coblocks-gallery-item__button",label:(0,le.__)("Remove image","coblocks"),disabled:!a}),(0,ie.createElement)(Zt.Button,{className:"coblocks-gallery-item__button-replace",onClick:t,label:(0,le.__)("Replace Image","coblocks")},(0,le.__)("Replace","coblocks")))}}))),o,(0,Mt.isBlobURL)(t.imageUrl)&&(0,ie.createElement)(Zt.Spinner,null),(0,ie.createElement)("img",{src:t.imageUrl,alt:t.imageAlt,style:{objectPosition:t.focalPoint?`${100*t.focalPoint.x}% ${100*t.focalPoint.y}%`:void 0}})))})():(0,ie.createElement)(Yt.MediaPlaceholder,{className:"wp-block-coblocks-service__figure",allowedTypes:["image"],multiple:!1,icon:"format-image",labels:{title:" "},onSelect:e=>n({imageUrl:e.url,imageAlt:e.alt,imageId:e.id})}),(0,ie.createElement)("div",{className:"wp-block-coblocks-service__content"},(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:Hg,template:w,templateLock:!1,templateInsertUpdatesSelection:!1}))))},save:function(e){let{className:t,attributes:o}=e;const{focalPoint:n,href:l,imageAlt:r,imageUrl:a,linkClass:c,linkTarget:i,rel:s}=o,u=(0,ie.createElement)("img",{src:a,alt:r,style:{objectPosition:n?`${100*n.x}% ${100*n.y}%`:void 0}}),d=(0,ie.createElement)("figure",{className:"wp-block-coblocks-service__figure"},l?(0,ie.createElement)("a",{className:c,href:l,target:i,rel:null!=s?s:void 0},u):u);return(0,ie.createElement)("div",{className:t},a&&d,(0,ie.createElement)("div",{className:"wp-block-coblocks-service__content"},(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}};var ef=JSON.parse('{"name":"coblocks/services","category":"layout","attributes":{"columns":{"type":"integer","default":2},"alignment":{"type":"string","default":"none"},"headingLevel":{"type":"integer","default":3},"buttons":{"type":"boolean","default":false}}}');const tf=[{attributes:{...ef.attributes},save(e){let{attributes:t,className:o}=e;return(0,ie.createElement)("div",{className:o,"data-columns":t.columns},(0,ie.createElement)(Yt.InnerBlocks.Content,null))}}];var of=tf,nf=e=>{const{attributes:t,setAttributes:o,activeStyle:n,layoutOptions:l,onToggleCtas:r,onUpdateStyle:a}=e;return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:Ut()("block-editor-block-styles","coblocks-editor-block-styles")},l.map((e=>(0,ie.createElement)("div",{key:`style-${e.name}`,className:Ut()("block-editor-block-styles__item",{"is-active":n===e},`align-${void 0===t.alignment||"none"===t.alignment?e.defaultAlign:t.alignment}`),onClick:()=>a(e),onKeyDown:t=>{So.ENTER!==t.keyCode&&So.SPACE!==t.keyCode||(t.preventDefault(),a(e))},role:"button",tabIndex:"0","aria-label":e.label||e.name},(0,ie.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.icon),(0,ie.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label||e.name)))))),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Services settings","coblocks")},(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Columns","coblocks"),value:t.columns,min:1,max:4,onChange:e=>o({columns:e})}),t.columns>=2&&(0,ie.createElement)(hc,e),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Display buttons","coblocks"),className:"components-toggle-control--services-action-button",help:t.buttons?(0,le.__)("Showing the call to action buttons.","coblocks"):(0,le.__)("Toggle to show call to action buttons.","coblocks"),checked:t.buttons,onChange:r})))},lf={attributes:{},innerBlocks:[{name:"coblocks/service",attributes:{imageUrl:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},innerBlocks:[{name:"core/heading",attributes:{content:(0,le.__)("Design","coblocks")}},{name:"core/paragraph",attributes:{content:(0,le.__)("We allow beautiful design to unfold as a reflection of a project’s unique vision, desires, and place in the landscape.","coblocks")}}]},{name:"coblocks/service",attributes:{imageUrl:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/heading",attributes:{content:(0,le.__)("Landscape","coblocks")}},{name:"core/paragraph",attributes:{content:(0,le.__)("We believe that the best innovative landscape architecture is a blend of both art and science, with a touch of wild.","coblocks")}}]}]};const{name:rf,category:af,attributes:cf}=ef,sf={
3834
  /* translators: block name */
3835
  title:(0,le.__)("Services","coblocks"),
3836
  /* translators: block description */
3837
  description:(0,le.__)("Add up to four columns of services to display.","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:_t}),keywords:["coblocks",
3838
  /* translators: block keyword */
3839
- (0,le.__)("features","coblocks")],supports:{align:["wide","full"],gutter:{default:"medium",customDefault:1.6},reusable:!1,html:!1},example:lf,attributes:cf,edit:e=>{const{className:t,attributes:o,setAttributes:n,clientId:l}=e,{updateBlockAttributes:r,insertBlock:a,removeBlocks:c}=(0,co.useDispatch)("core/block-editor"),i=(0,co.useSelect)((e=>e("core/block-editor").getBlocks(l)),[]),s=(e,t)=>{i.forEach((o=>{o.name===e&&r(o.clientId,t)}))},u=e=>{n({alignment:e}),s("coblocks/service",{alignment:e})};(0,ie.useEffect)((()=>{"circle"!==Wg(Ug,o.className).name||void 0!==o.alignment&&"none"!==o.alignment||u("center")}),[o.className]),(0,ie.useEffect)((()=>{const{buttons:t,headingLevel:o,alignment:n}=e;d("coblocks/service",{showCta:t,headingLevel:o,alignment:n})}),[o.columns,i]);const d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=i.filter((e=>!qg(e.attributes)||!Yg(e.innerBlocks))),n=i.filter((e=>qg(e.attributes)&&Yg(e.innerBlocks)));if(n.length+o.length>h&&c(n.filter(((e,t)=>0!==t)).map((e=>e.clientId)),!1),0===n.length||n.length+o.length<h){const o=(0,ne.createBlock)(e,t);a(o,i.length,l,!1)}},{alignment:m,columns:h}=o,p=Ut()("has-columns",{[`has-${h}-columns`]:h,"has-responsive-columns":h>1}),b=Wg(Ug,t);return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(ds,{minLevel:2,maxLevel:6,selectedLevel:o.headingLevel,onChange:e=>{n({headingLevel:e}),s("coblocks/service",{headingLevel:e})}}),(0,ie.createElement)(Yt.AlignmentToolbar,{value:m,onChange:u})),(0,ie.createElement)(nf,{attributes:o,setAttributes:n,activeStyle:b,layoutOptions:Ug,onToggleCtas:()=>{const e=!o.buttons;n({buttons:e}),s("coblocks/service",{showCta:e})},onUpdateStyle:e=>{const l=Wg(Ug,t),r=function(e,t,o){const n=new(od())(e);return t&&n.remove("is-style-"+t.name),n.add("is-style-"+o.name),n.value}(o.className,l,e);n({className:r})},onSetColumns:e=>{n({columns:parseInt(e)})}}),(0,ie.createElement)("div",{className:t},(0,ie.createElement)(rc,o,(0,ie.createElement)("div",{className:p},(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:Gg,template:$g,orientation:o.columns>1?"horizontal":"vertical",templateInsertUpdatesSelection:!1,__experimentalCaptureToolbars:!0})))))},save:function(e){let{className:t,attributes:o}=e;const n=Ut()("has-columns",{[`has-${o.columns}-columns`]:o.columns,"has-responsive-columns":o.columns>1});return(0,ie.createElement)("div",{className:t},(0,ie.createElement)(rc,o,(0,ie.createElement)("div",{className:n},(0,ie.createElement)(Yt.InnerBlocks.Content,null))))},deprecated:of},uf={};uf.wavy=(0,ie.createElement)(Zt.SVG,{className:"divider--wavy",viewBox:"0 0 100 10",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"m42.19.65c2.26-.25 5.15.04 7.55.53 2.36.49 7.09 2.35 10.05 3.57 7.58 3.22 13.37 4.45 19.26 4.97 2.36.21 4.87.35 10.34-.25s10.62-2.56 10.62-2.56v-6.91h-100.01v3.03s7.2 3.26 15.84 3.05c3.92-.07 9.28-.67 13.4-2.24 2.12-.81 5.22-1.82 7.97-2.42 2.72-.63 3.95-.67 4.98-.77z",fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 10)"})),uf.waves=(0,ie.createElement)(Zt.SVG,{className:"divider--waves",fill:"",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 300",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"M 1000 299 l 2 -279 c -155 -36 -310 135 -415 164 c -102.64 28.35 -149 -32 -232 -31 c -80 1 -142 53 -229 80 c -65.54 20.34 -101 15 -126 11.61 v 54.39 z"}),(0,ie.createElement)(Zt.Path,{d:"M 1000 286 l 2 -252 c -157 -43 -302 144 -405 178 c -101.11 33.38 -159 -47 -242 -46 c -80 1 -145.09 54.07 -229 87 c -65.21 25.59 -104.07 16.72 -126 10.61 v 22.39 z"}),(0,ie.createElement)(Zt.Path,{d:"M 1000 300 l 1 -230.29 c -217 -12.71 -300.47 129.15 -404 156.29 c -103 27 -174 -30 -257 -29 c -80 1 -130.09 37.07 -214 70 c -61.23 24 -108 15.61 -126 10.61 v 22.39 z"})),uf.sloped=(0,ie.createElement)(Zt.SVG,{className:"divider--sloped","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"M0 100 C 20 0 50 0 100 100 Z"})),uf.rounded=(0,ie.createElement)(Zt.SVG,{className:"divider--rounded",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 240 24",enableBackground:"new 0 0 240 24",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"M119.849,0C47.861,0,0,24,0,24h240C240,24,191.855,0.021,119.849,0z"})),uf.angled=(0,ie.createElement)(Zt.SVG,{className:"divider--angled","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},(0,ie.createElement)("polygon",{points:"0,100 100,0 100,100"})),uf.triangle=(0,ie.createElement)(Zt.SVG,{className:"divider--triangle",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"m0 0 50 100 50-100z",fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 100)"})),uf.pointed=(0,ie.createElement)(Zt.SVG,{className:"divider--pointed",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 100",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"M737.9,94.7L0,0v100h1000V0L737.9,94.7z"})),uf.hills=(0,ie.createElement)(Zt.SVG,{className:"divider--hills",viewBox:"0 0 1920 105",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 105)"},(0,ie.createElement)(Zt.Path,{d:"m1920 14.8827052c-116.23325 0-224.05162 88.3906828-395.09265 88.3906828-160.92196 0-254.53172-83.4344997-444.90735-83.4344997-154.297581 0-240.095847 39.6344097-367.66819 39.6344097-154.121863 0-198.902329-36.1223133-349.458242-36.1223133-144.878137 0-241.175717 80.8685493-362.873568 80.8685493 0-34.0793243 0-68.1494291 0-102.219534h1920z"}),(0,ie.createElement)(Zt.Path,{d:"m1920 14.6612844c-116.11434 0-223.9659 88.8291396-395.06196 88.8291396-160.92415 0-254.54487-83.7874573-444.93804-83.7874573-154.317311 0-240.088941 39.8974838-367.565152 39.8974838-154.034172 0-198.792715-36.4840402-349.164477-36.4840402-144.965828 0-241.283139 81.1250467-363.270371 81.1250467 0-34.7474052 0-69.4948104 0-104.241457h1920z"})));var df=uf;function mf(e){const t=xb()(e,"is-style-angled"),o=xb()(e,"is-style-hills"),n=xb()(e,"is-style-pointed"),l=xb()(e,"is-style-rounded"),r=xb()(e,"is-style-sloped"),a=xb()(e,"is-style-triangle"),c=xb()(e,"is-style-waves");let i=df.wavy;return t?i=df.angled:r?i=df.sloped:a?i=df.triangle:l?i=df.rounded:c?i=df.waves:n?i=df.pointed:o&&(i=df.hills),i}var hf=JSON.parse('{"name":"coblocks/shape-divider","category":"layout","attributes":{"shapeHeight":{"type":"string","default":"100px"},"backgroundHeight":{"type":"string","default":"50px"},"verticalFlip":{"type":"boolean","default":false},"horizontalFlip":{"type":"boolean","default":false},"color":{"type":"string"},"customColor":{"type":"string","default":"#111"},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"noBottomMargin":{"type":"boolean","default":true},"noTopMargin":{"type":"boolean","default":true}}}');const pf={};pf.wavy=(0,ie.createElement)("svg",{className:"divider--wavy",height:"100%",viewBox:"0 0 100 10",width:"100%",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"m42.19.65c2.26-.25 5.15.04 7.55.53 2.36.49 7.09 2.35 10.05 3.57 7.58 3.22 13.37 4.45 19.26 4.97 2.36.21 4.87.35 10.34-.25s10.62-2.56 10.62-2.56v-6.91h-100.01v3.03s7.2 3.26 15.84 3.05c3.92-.07 9.28-.67 13.4-2.24 2.12-.81 5.22-1.82 7.97-2.42 2.72-.63 3.95-.67 4.98-.77z",fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 10)"})),pf.waves=(0,ie.createElement)("svg",{className:"divider--waves",fill:"",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 300",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"M 1000 299 l 2 -279 c -155 -36 -310 135 -415 164 c -102.64 28.35 -149 -32 -232 -31 c -80 1 -142 53 -229 80 c -65.54 20.34 -101 15 -126 11.61 v 54.39 z"}),(0,ie.createElement)("path",{d:"M 1000 286 l 2 -252 c -157 -43 -302 144 -405 178 c -101.11 33.38 -159 -47 -242 -46 c -80 1 -145.09 54.07 -229 87 c -65.21 25.59 -104.07 16.72 -126 10.61 v 22.39 z"}),(0,ie.createElement)("path",{d:"M 1000 300 l 1 -230.29 c -217 -12.71 -300.47 129.15 -404 156.29 c -103 27 -174 -30 -257 -29 c -80 1 -130.09 37.07 -214 70 c -61.23 24 -108 15.61 -126 10.61 v 22.39 z"})),pf.sloped=(0,ie.createElement)("svg",{className:"divider--sloped","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 100 100",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"M0 100 C 20 0 50 0 100 100 Z"})),pf.rounded=(0,ie.createElement)("svg",{className:"divider--rounded",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100%",height:"100%",viewBox:"0 0 240 24",enableBackground:"new 0 0 240 24",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"M119.849,0C47.861,0,0,24,0,24h240C240,24,191.855,0.021,119.849,0z"})),pf.angled=(0,ie.createElement)("svg",{className:"divider--angled","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},(0,ie.createElement)("polygon",{points:"0,100 100,0 100,100"})),pf.triangle=(0,ie.createElement)("svg",{className:"divider--triangle",height:"100%",viewBox:"0 0 100 100",width:"100%",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"m0 0 50 100 50-100z",fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 100)"})),pf.pointed=(0,ie.createElement)("svg",{className:"divider--pointed",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 100",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"M737.9,94.7L0,0v100h1000V0L737.9,94.7z"})),pf.hills=(0,ie.createElement)("svg",{className:"divider--hills",height:"100%",viewBox:"0 0 1920 105",width:"100%",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)("g",{fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 105)"},(0,ie.createElement)("path",{d:"m1920 14.8827052c-116.23325 0-224.05162 88.3906828-395.09265 88.3906828-160.92196 0-254.53172-83.4344997-444.90735-83.4344997-154.297581 0-240.095847 39.6344097-367.66819 39.6344097-154.121863 0-198.902329-36.1223133-349.458242-36.1223133-144.878137 0-241.175717 80.8685493-362.873568 80.8685493 0-34.0793243 0-68.1494291 0-102.219534h1920z"}),(0,ie.createElement)("path",{d:"m1920 14.6612844c-116.11434 0-223.9659 88.8291396-395.06196 88.8291396-160.92415 0-254.54487-83.7874573-444.93804-83.7874573-154.317311 0-240.088941 39.8974838-367.565152 39.8974838-154.034172 0-198.792715-36.4840402-349.164477-36.4840402-144.965828 0-241.283139 81.1250467-363.270371 81.1250467 0-34.7474052 0-69.4948104 0-104.241457h1920z"})));var bf=pf;const gf=e=>{const{attributes:t}=e,o=(0,Yt.getColorClassName)("color",t.color),n=(0,Yt.getColorClassName)("background-color",t.backgroundColor);let l=Ut()(e.className,{"is-vertically-flipped":t.verticalFlip,"is-horizontally-flipped":t.horizontalFlip,[o]:o,[n]:n});t.coblocks&&void 0!==t.coblocks.id&&(l=Ut()(l,`coblocks-shape-divider-${t.coblocks.id}`));const r={backgroundColor:n?void 0:t.customBackgroundColor,color:o?void 0:t.customColor};return(0,ie.createElement)("div",{className:l,style:r,"aria-hidden":"true"},(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__svg-wrapper",style:{minHeight:t.shapeHeight}},(e=>{const t=xb()(e,"is-style-angled"),o=xb()(e,"is-style-hills"),n=xb()(e,"is-style-pointed"),l=xb()(e,"is-style-rounded"),r=xb()(e,"is-style-sloped"),a=xb()(e,"is-style-triangle"),c=xb()(e,"is-style-waves");let i=bf.wavy;return t?i=bf.angled:r?i=bf.sloped:a?i=bf.triangle:l?i=bf.rounded:c?i=bf.waves:n?i=bf.pointed:o&&(i=bf.hills),i})(t.className)),(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__alt-wrapper",style:{minHeight:t.backgroundHeight}}))},ff=[{attributes:{...hf.attributes,shapeHeight:{type:"number",default:100},backgroundHeight:{type:"number",default:50}},save(e){const{attributes:t}=e,o=(0,Yt.getColorClassName)("color",t.color),n=(0,Yt.getColorClassName)("background-color",t.backgroundColor),l=Ut()(e.className,{"is-vertically-flipped":t.verticalFlip,"is-horizontally-flipped":t.horizontalFlip,[o]:o,[n]:n}),r={backgroundColor:n?void 0:t.customBackgroundColor,color:o?void 0:t.customColor};return(0,ie.createElement)("div",{className:l,style:r,"aria-hidden":"true"},(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__svg-wrapper",style:{height:t.shapeHeight}},mf(t.className)),(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__alt-wrapper",style:{height:t.backgroundHeight}}))}},{attributes:{...hf.attributes,shapeHeight:{type:"number",default:100},backgroundHeight:{type:"number",default:50}},save:gf},{attributes:{...hf.attributes,coblocks:{type:"object"},align:{type:"string",default:"full"},height:{type:"number",default:100},heightTablet:{type:"number"},heightMobile:{type:"number"},shapeHeight:{type:"number",default:100},shapeHeightTablet:{type:"number"},backgroundHeight:{type:"number",default:50},backgroundHeightTablet:{type:"number"},backgroundHeightMobile:{type:"number"},syncHeight:{type:"boolean",default:!0},syncHeightAlt:{type:"boolean",default:!0},justAdded:{type:"boolean",default:!0}},migrate:e=>({...e,shapeHeight:parseInt(e.shapeHeight)+"px",backgroundHeight:parseInt(e.backgroundHeight)+"px"}),save:e=>{let{attributes:t,className:o}=e;const{backgroundColor:n,backgroundHeight:l,coblocks:r,color:a,customBackgroundColor:c,customColor:i,horizontalFlip:s,shapeHeight:u,verticalFlip:d}=t,m=(0,Yt.getColorClassName)("color",a),h=(0,Yt.getColorClassName)("background-color",n);let p=Ut()(o,{"is-vertically-flipped":d,"is-horizontally-flipped":s,[m]:m,[h]:h});r&&void 0!==r.id&&(p=Ut()(p,`coblocks-shape-divider-${r.id}`));const b={backgroundColor:h?void 0:c,color:m?void 0:i};return(0,ie.createElement)("div",{className:p,style:b,"aria-hidden":"true"},(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__svg-wrapper",style:{minHeight:u}},mf(t.className)),(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__alt-wrapper",style:{minHeight:l}}))}}];["noTopMargin","noBottomMargin"].forEach((e=>{ff.push({attributes:{...hf.attributes,shapeHeight:{type:"number",default:100},backgroundHeight:{type:"number",default:50},[e]:!1},save:gf})}));var vf=ff,_f=e=>{const{attributes:t,setAttributes:o}=e,{horizontalFlip:n,verticalFlip:l}=t,r=[{icon:(0,ie.createElement)(Zt.Icon,{icon:Be}),isActive:!!n,onClick:()=>o({horizontalFlip:!n}),title:(0,le.__)("Flip horiztonally","coblocks")},{icon:(0,ie.createElement)(Zt.Icon,{icon:Oe}),isActive:!!l,onClick:()=>o({verticalFlip:!l}),title:(0,le.__)("Flip vertically","coblocks")}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,{controls:r})))},kf=(0,Yt.withColors)("backgroundColor",{color:"color"}),yf=(0,Kt.compose)([kf])((e=>{const{attributes:t,setAttributes:o,setColor:n,color:l,backgroundColor:r,setBackgroundColor:a}=e,{shapeHeight:c,backgroundHeight:i}=t,s={labelPosition:"edge",units:[{value:"px",label:"px",default:20},{value:"vh",label:"vh",default:20},{value:"vw",label:"vw",default:20}],min:0,__unstableInputWidth:"80px"};return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Divider settings","coblocks")},(0,ie.createElement)(Zt.PanelRow,null,(0,ie.createElement)(Zt.__experimentalUnitControl,Ft({},s,{label:(0,le.__)("Shape height","coblocks"),onChange:e=>o({shapeHeight:e}),value:c}))),(0,ie.createElement)(Zt.PanelRow,null,(0,ie.createElement)(Zt.__experimentalUnitControl,Ft({},s,{label:(0,le.__)("Background height","coblocks"),onChange:e=>o({backgroundHeight:e}),value:i})))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:l.color,onChange:n,label:(0,le.__)("Shape color","coblocks")},{value:r.color,onChange:a,label:(0,le.__)("Background color","coblocks")}]}))})),wf=(0,Kt.compose)([kf])((e=>{const{attributes:t,className:o,isSelected:n,setAttributes:l,backgroundColor:r,color:a,toggleSelection:c}=e,{shapeHeight:i,backgroundHeight:s,verticalFlip:u,horizontalFlip:d}=t;return(0,ie.useEffect)((()=>{const e=(t.className||"").split(" ");e.includes("alignfull")&&l({align:"full",className:e.filter((e=>"alignfull"!==e)).join(" ")}),e.includes("alignwide")&&l({align:"wide",className:e.filter((e=>"alignwide"!==e)).join(" ")})}),[]),(0,ie.createElement)(ie.Fragment,null,n&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(yf,e),(0,ie.createElement)(_f,e)),(0,ie.createElement)("div",{className:Ut()(o,{"is-vertically-flipped":u,"is-horizontally-flipped":d}),style:{backgroundColor:r.color,color:a.color}},(0,ie.createElement)(Zt.ResizableBox,{className:Ut()("wp-block-coblocks-shape-divider__svg-wrapper",{"is-selected":n}),size:{height:i},minWidth:"100%",enable:{bottom:!0},onResizeStop:(e,t,o)=>{l({shapeHeight:parseInt(o.offsetHeight,10)+"px"}),c(!0)},onResizeStart:()=>c(!1),showHandle:n},mf(o)),(0,ie.createElement)(Zt.ResizableBox,{className:Ut()("wp-block-coblocks-shape-divider__alt-wrapper",{"is-selected":n}),size:{height:s},minWidth:"100%",enable:{bottom:!0},onResizeStop:(e,t,o)=>{l({backgroundHeight:parseInt(o.offsetHeight,10)+"px"}),c(!0)},onResizeStart:()=>c(!1),showHandle:n})))})),Ef={from:[{type:"prefix",prefix:":divider",transform:()=>(0,ne.createBlock)(hf.name)},{type:"block",blocks:["core/spacer"],transform:e=>{let{height:t}=e;return(0,ne.createBlock)(hf.name,{shapeHeight:t})}},{type:"block",blocks:["coblocks/dynamic-separator"],transform:e=>{let{height:t}=e;return(0,ne.createBlock)(hf.name,{shapeHeight:t})}},{type:"block",blocks:["core/separator"],transform:()=>(0,ne.createBlock)(hf.name)}]};const{name:xf,category:Cf,attributes:Sf}=hf,zf={
3840
  /* translators: block name */
3841
  title:(0,le.__)("Shape Divider","coblocks"),
3842
  /* translators: block description */
@@ -3858,7 +3858,7 @@ label:(0,le.__)("Rounded","coblocks")},{name:"triangle",
3858
  /* translators: block style */
3859
  label:(0,le.__)("Triangle","coblocks")},{name:"pointed",
3860
  /* translators: block style */
3861
- label:(0,le.__)("Pointed","coblocks")}],attributes:Sf,transforms:Ef,edit:wf,save:()=>null,deprecated:vf};var Tf=JSON.parse('{"name":"coblocks/social","category":"widgets","attributes":{"align":{"type":"string","enum":["wide","full"]},"className":{"type":"string"},"hasColors":{"type":"boolean","default":true},"borderRadius":{"type":"number","default":40},"size":{"type":"string","default":"med"},"iconSize":{"type":"number","default":22},"padding":{"type":"number","default":16},"textAlign":{"type":"string"},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"blockBackgroundColor":{"type":"string"},"customBlockBackgroundColor":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"twitter":{"type":"boolean","default":true},"facebook":{"type":"boolean","default":true},"pinterest":{"type":"boolean","default":true},"linkedin":{"type":"boolean","default":false},"tumblr":{"type":"boolean","default":false},"reddit":{"type":"boolean","default":false},"email":{"type":"boolean","default":false},"google":{"type":"boolean","default":false}}}');const Pf={to:[{type:"block",blocks:["core/social-links"],transform:e=>{var t,o,n;const{link:l="",title:r=""}=(null===(t=(0,co.select)("core/editor"))||void 0===t?void 0:t.getCurrentPost())||{},{colors:a}=(null===(o=(0,co.select)("core/block-editor"))||void 0===o?void 0:o.getSettings())||{},c=[];[{label:(0,le.__)("Share on Facebook","coblocks"),slug:"facebook",url:"https://facebook.com/sharer/sharer.php?u=%s&title=%s"},{label:(0,le.__)("Share on Twitter","coblocks"),slug:"twitter",url:"https://twitter.com/share?url=%s&link=%s"},{label:(0,le.__)("Share on Pinterest","coblocks"),slug:"pinterest",url:"https://pinterest.com/pin/create/button/?url=%s&description=%s"},{label:(0,le.__)("Share on LinkedIn","coblocks"),slug:"linkedin",url:"https://linkedin.com/shareArticle?url=%s&title=%s"},{label:(0,le.__)("Share via Email","coblocks"),slug:"email",url:"mailto:?body=%s&subject=%s"},{label:(0,le.__)("Share on Tumblr","coblocks"),slug:"tumblr",url:"https://tumblr.com/share/link?url=%s&name=%s"},{label:(0,le.__)("Share on Reddit","coblocks"),slug:"reddit",url:"https://reddit.com/submit?url=%s&title=%s"}].forEach((t=>{let{slug:o,label:n,url:a}=t;e[o]&&c.push((0,ne.createBlock)("core/social-link",{label:n,service:o,url:(0,le.sprintf)(a,encodeURIComponent(l),encodeURIComponent(r))}))}));const i=(0,Gt.find)(a,{slug:e.textColor});i&&(e.customTextColor=i.color);const s=(0,Gt.find)(a,{slug:e.backgroundColor});return s&&(e.customBackgroundColor=s.color),e.className&&[{new:"is-style-logos-only",old:"is-style-mask"},{new:"is-style-pill-shape",old:"is-style-icon"},{new:"is-style-default",old:"is-style-text"},{new:"is-style-pill-shape",old:"is-style-icon-and-text"},{new:"is-style-default",old:"is-style-circular"}].forEach((t=>{e.className=e.className.replace(t.old,t.new)})),(0,ne.createBlock)("core/social-links",{align:e.textAlign,className:e.className,customIconBackgroundColor:e.customBackgroundColor,customIconColor:e.customTextColor,iconBackgroundColor:e.backgroundColor,iconBackgroundColorValue:e.customBackgroundColor,iconColor:e.textColor,iconColorValue:e.customTextColor,openInNewTab:!0,size:null!==(n={lrg:"has-large-icon-size",med:"has-normal-icon-size",sml:"has-small-icon-size"}[e.size])&&void 0!==n?n:"normal"},c)}}]};var Nf=Pf;const{name:Bf,category:Of}=Tf,Rf={
3862
  /* translators: block name */
3863
  title:(0,le.__)("Share","coblocks"),
3864
  /* translators: block description */
@@ -3872,7 +3872,7 @@ label:(0,le.__)("Text","coblocks"),name:"text"},{
3872
  /* translators: block style */
3873
  label:(0,le.__)("Icon & Text","coblocks"),name:"icon-and-text"},{
3874
  /* translators: block style */
3875
- label:(0,le.__)("Circular","coblocks"),name:"circular"}],supports:{align:["wide","full"],coBlocksSpacing:!0},transforms:Nf,edit:e=>{var t;const{replaceBlocks:o}=(0,co.dispatch)("core/block-editor"),{colors:n}=(null===(t=(0,co.select)("core/block-editor"))||void 0===t?void 0:t.getSettings())||{};let l=(0,ne.switchToBlockType)(e,"core/social-links");const r={backgroundColor:e.attributes.blockBackgroundColor,style:{color:{background:e.attributes.customBlockBackgroundColor}}};if(r.backgroundColor||r.style.color.background){const e=(0,Gt.find)(n,{slug:r.background});e&&(r.style.color.background=e.color),l=(0,ne.createBlock)("core/group",r,l)}return o([e.clientId],l),null},save:()=>null};var Mf=e=>{let{attributes:t,setAttributes:o}=e;const{textAlign:n}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.AlignmentToolbar,{value:n,onChange:e=>o({textAlign:e})})))},Af=(0,Yt.withColors)("backgroundColor",{textColor:"color"},"blockBackgroundColor"),Lf=(0,Kt.compose)([Af])((e=>{const{className:t,attributes:o,setAttributes:n,setBackgroundColor:l,setBlockBackgroundColor:r,setTextColor:a,fallbackTextColor:c,backgroundColor:i,blockBackgroundColor:s,textColor:u,fallbackBackgroundColor:d}=e,{hasColors:m,borderRadius:h,size:p,iconSize:b,padding:g,facebook:f,twitter:v,instagram:_,tiktok:k,pinterest:y,linkedin:w,youtube:E,yelp:x,houzz:C,opensInNewTab:S}=o,z=(0,Gt.includes)(t,"is-style-mask"),T=(0,Gt.includes)(t,"is-style-text"),P=(0,Gt.includes)(t,"is-style-circular"),N=[{value:"sml",label:(0,le.__)("Small","coblocks")},{value:"med",label:(0,le.__)("Medium","coblocks")},{value:"lrg",label:(0,le.__)("Large","coblocks")}],B=[{value:s.color,onChange:r,label:(0,le.__)("Background color","coblocks")},{value:i.color,onChange:l,label:(0,le.__)("Button Color","coblocks")},{value:u.color,onChange:a,label:T?(0,le.__)("Text color","coblocks"):(0,le.__)("Icon color","coblocks")}],O=[{value:s.color,onChange:r,label:(0,le.__)("Background color","coblocks")},{value:i.color,onChange:l,label:(0,le.__)("Icon color","coblocks")}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Icon settings","coblocks")},(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Social colors","coblocks"),checked:!!m,onChange:()=>n({hasColors:!m}),help:e=>e?(0,le.__)("Share button colors are enabled.","coblocks"):(0,le.__)("Toggle to use official colors from each social media platform.","coblocks")}),!z&&!P&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Rounded corners","coblocks"),value:h,onChange:e=>n({borderRadius:e}),min:0,max:50}),(z||P)&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Icon size","coblocks"),value:b,onChange:e=>n({iconSize:e}),min:16,max:60}),P&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Circle size","coblocks"),value:g,onChange:e=>n({padding:e}),min:10,max:50}),!z&&!P&&(0,ie.createElement)(Zt.SelectControl,{label:(0,le.__)("Button size","coblocks"),value:p,options:N,onChange:e=>n({size:e}),className:"components-coblocks-inspector__social-button-size"}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Open links in new tab","coblocks"),checked:!!S,onChange:()=>n({opensInNewTab:!S})})),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Profiles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:"components-social-links-list"},(0,ie.createElement)(Zt.TextControl,{label:"Facebook",value:f,onChange:e=>n({facebook:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Twitter",value:v,onChange:e=>n({twitter:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Instagram",value:_,onChange:e=>n({instagram:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"TikTok",value:k,onChange:e=>n({tiktok:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Pinterest",value:y,onChange:e=>n({pinterest:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"LinkedIn",value:w,onChange:e=>n({linkedin:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"YouTube",value:E,onChange:e=>n({youtube:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Yelp",value:x,onChange:e=>n({yelp:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Houzz",value:C,onChange:e=>n({houzz:(0,Gt.escape)(e)})}))),!m&&(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:z?O:B},!z&&(0,ie.createElement)(Yt.ContrastChecker,{isLargeText:!0,textColor:u.color,backgroundColor:i.color,fallbackBackgroundColor:d,fallbackTextColor:c}))))})),If=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ie.createElement)(se.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"})),Df=(0,Kt.compose)([Af])((e=>{const{attributes:{borderRadius:t,customBlockBackgroundColor:o,facebook:n,hasColors:l,houzz:r,iconSize:a,instagram:c,linkedin:i,padding:s,pinterest:u,size:d,textAlign:m,tiktok:h,twitter:p,yelp:b,youtube:g,align:f},className:v,isSelected:_,backgroundColor:k,blockBackgroundColor:y,textColor:w,setAttributes:E}=e,[x,C]=(0,ie.useState)(""),S=(0,Kt.usePrevious)(_),z=(0,Kt.usePrevious)(f);(0,ie.useEffect)((()=>{!_&&S&&x&&C(""),z!==f&&["wide","full"].includes(f)&&void 0===m&&E({textAlign:"center"})}),[_,S,z,f,m,x]);const T=xb()(v,"is-style-mask"),P=xb()(v,"is-style-circular"),N=Ut()(v,"wp-block-coblocks-social",{[`has-button-size-${d}`]:d,"has-colors":l,"has-background":y.color||o}),B=Ut()("wp-block-button__link","wp-block-coblocks-social__button",{"has-background":l||k.color,"has-text-color":l||w.color,"has-padding":s,[w.class]:w.class}),O={borderRadius:t&&t+"px",backgroundColor:!l&&!T&&k.color,color:!l&&(e=>e?k.color?k.color:"black":w.color)(T),padding:P&&s+"px"},R={height:(T||P)&&a+"px",width:(T||P)&&a+"px"},M=[{slug:"facebook",name:(0,le.__)("Facebook","coblocks"),placeholder:(0,le.__)("https://facebook.com/","coblocks"),ariaLabel:(0,le.__)("Add Facebook profile","coblocks")},{slug:"twitter",name:(0,le.__)("Twitter","coblocks"),placeholder:(0,le.__)("https://twitter.com/","coblocks"),ariaLabel:(0,le.__)("Add Twitter profile","coblocks")},{slug:"instagram",name:(0,le.__)("Instagram","coblocks"),placeholder:(0,le.__)("https://instagram.com","coblocks"),ariaLabel:(0,le.__)("Add Instagram profile","coblocks")},{slug:"tiktok",name:(0,le.__)("TikTok","coblocks"),placeholder:(0,le.__)("https://tiktok.com","coblocks"),ariaLabel:(0,le.__)("Add TikTok profile","coblocks")},{slug:"pinterest",name:(0,le.__)("Pinterest","coblocks"),placeholder:(0,le.__)("https://pinterest.com","coblocks"),ariaLabel:(0,le.__)("Add Pinterest profile","coblocks")},{slug:"linkedin",name:(0,le.__)("LinkedIn","coblocks"),placeholder:(0,le.__)("https://linkedin.com","coblocks"),ariaLabel:(0,le.__)("Add LinkedIn profile","coblocks")},{slug:"youtube",name:(0,le.__)("YouTube","coblocks"),placeholder:(0,le.__)("https://youtube.com","coblocks"),ariaLabel:(0,le.__)("Add YouTube profile","coblocks")},{slug:"yelp",name:(0,le.__)("Yelp","coblocks"),placeholder:(0,le.__)("https://yelp.com","coblocks"),ariaLabel:(0,le.__)("Add Yelp profile","coblocks")},{slug:"houzz",name:(0,le.__)("Houzz","coblocks"),placeholder:(0,le.__)("https://houzz.com","coblocks"),ariaLabel:(0,le.__)("Add Houzz profile","coblocks")}],A=!(n||p||c||h||u||i||g||b||r);return(0,ie.createElement)(ie.Fragment,null,_&&(0,ie.createElement)(Mf,e),_&&(0,ie.createElement)(Lf,e),(0,ie.createElement)("div",{className:N,style:{textAlign:m,backgroundColor:y.color||""}},(0,ie.createElement)("ul",null,M.map((t=>(A||e.attributes[t.slug]||_)&&(0,ie.createElement)("li",{key:`social-profile-item-${t.slug}`},(0,ie.createElement)("button",{"aria-expanded":x===t.slug,"aria-label":t.ariaLabel,className:Ut()(B,`wp-block-coblocks-social__button--${t.slug}`,{"is-empty":!e.attributes[t.slug],"is-selected":x===t.slug}),style:O,onClick:()=>C(t.slug)},(0,ie.createElement)("span",{className:"wp-block-coblocks-social__icon",style:R}),(0,ie.createElement)("span",{className:"wp-block-coblocks-social__text"},t.name)),x===t.slug&&(0,ie.createElement)(Zt.Popover,null,(0,ie.createElement)("form",{className:"block-library-button__inline-link block-library-button__inline-link--coblocks",onSubmit:e=>{e.preventDefault(),C("")}},(0,ie.createElement)(Zt.Dashicon,{icon:"admin-links"}),(0,ie.createElement)("div",{className:"block-editor-url-input block-editor-url-input editor-url-input--coblocks"},(0,ie.createElement)(Zt.TextControl,{value:e.attributes[t.slug],placeholder:t.placeholder,onChange:e=>{E({[t.slug]:e})}})),(0,ie.createElement)(Zt.Button,{className:"is-save",icon:If,iconSize:20,label:(0,le.__)("Apply","coblocks"),type:"submit"})))))))))})),Ff=JSON.parse('{"name":"coblocks/social-profiles","category":"widgets","attributes":{"align":{"type":"string","enum":["wide","full"]},"className":{"type":"string"},"hasColors":{"type":"boolean","default":true},"opensInNewTab":{"type":"boolean","default":false},"borderRadius":{"type":"number","default":40},"size":{"type":"string","default":"med"},"iconSize":{"type":"number","default":22},"padding":{"type":"number","default":16},"textAlign":{"type":"string"},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"blockBackgroundColor":{"type":"string"},"customBlockBackgroundColor":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"facebook":{"type":"string","default":""},"twitter":{"type":"string","default":""},"instagram":{"type":"string","default":""},"tiktok":{"type":"string","default":""},"pinterest":{"type":"string","default":""},"linkedin":{"type":"string","default":""},"youtube":{"type":"string","default":""},"yelp":{"type":"string","default":""},"houzz":{"type":"string","default":""}}}');function Vf(e,t,o){switch(e){case"social-profiles":if(null!==localStorage.getItem("shareAttributes")){if(!1===o[t])return"";const e=localStorage.getItem("shareAttributes");return JSON.parse(e)[t]}return"";case"share":if(null!==localStorage.getItem("socialProfilesAttributes")&&!1!==o[t]){if(""===o[t])return!1;const e=localStorage.getItem("socialProfilesAttributes");return JSON.parse(e)[t]}return!!o[t]}}function jf(e,t){switch(e){case"share":localStorage.setItem("shareAttributes",JSON.stringify(t));break;case"social-profiles":localStorage.setItem("socialProfilesAttributes",JSON.stringify(t));break;default:return null}}const Gf={to:[{type:"block",blocks:["coblocks/social"],transform:e=>(jf("share",e),(0,ne.createBlock)("coblocks/social",{...e,facebook:Vf("share","facebook",e),twitter:Vf("share","twitter",e),pinterest:Vf("share","pinterest",e),linkedin:Vf("share","linkedin",e),email:Vf("share","email",e),tumblr:Vf("share","tumblr",e),google:Vf("share","google",e),reddit:Vf("share","reddit",e)}))}],from:[{type:"block",blocks:["coblocks/social"],transform:e=>(jf("social-profiles",e),(0,ne.createBlock)("coblocks/social-profiles",{...e,facebook:Vf("social-profiles","facebook",e),twitter:Vf("social-profiles","twitter",e),pinterest:Vf("social-profiles","pinterest",e),linkedin:Vf("social-profiles","linkedin",e),instagram:Vf("social-profiles","instagram",e),houzz:Vf("social-profiles","houzz",e),yelp:Vf("social-profiles","yelp",e),youtube:Vf("social-profiles","youtube",e)}))}]},{name:$f,category:Hf}=Ff,Uf={
3876
  /* translators: block name */
3877
  title:(0,le.__)("Social Profiles","coblocks"),
3878
  /* translators: block description */
@@ -3892,9 +3892,9 @@ label:(0,le.__)("Text","coblocks")},{name:"icon-and-text",
3892
  /* translators: block style */
3893
  label:(0,le.__)("Icon & Text","coblocks")},{name:"circular",
3894
  /* translators: block style */
3895
- label:(0,le.__)("Circular","coblocks")}],example:{attributes:{facebook:"#",instagram:"#",pinterest:"#",twitter:"#",youtube:"#",textAlign:"center"}},supports:{align:["wide","full"],coBlocksSpacing:!0},edit:Df,transforms:Gf,save:()=>null};var Wf=JSON.parse('{"name":"coblocks/gallery-stacked","category":"media","attributes":{"align":{"type":"string","default":"full"},"captionStyle":{"type":"string"},"fullwidth":{"type":"boolean","default":true},"gutter":{"type":"number","default":0},"gutterMobile":{"type":"number","default":0}}}');const qf=[{attributes:{...oa,...Fr,...Wf.attributes},save(e){let{attributes:t,className:o}=e;const{align:n,backgroundPadding:l,backgroundPaddingMobile:r,captionColor:a,captions:c,captionStyle:i,customCaptionColor:s,customFontSize:u,filter:d,fontSize:m,fullwidth:h,gutter:p,gutterMobile:b,images:g,linkTo:f,radius:v,rel:_,shadow:k,target:y}=t,w=Ut()("coblocks-gallery",{"has-no-alignment":!n,[`has-border-radius-${v}`]:v>0,[`has-filter-${d}`]:"none"!==d,[`has-caption-style-${i}`]:void 0!==i,[`has-background-border-radius-${t.backgroundRadius}`]:t.backgroundRadius>0,"has-padding":l>0,[`has-padding-${l}`]:l>0,[`has-padding-mobile-${r}`]:r>0}),E=Ut()(o,{}),x=(0,Yt.getColorClassName)("color",a),C=Ut()(w,...Vr(t),{"has-fullwidth-images":h,"has-margin":p>0}),S={...ra(t),...Hr(t),color:x?void 0:s},z=(0,Yt.getFontSizeClass)(m),T=Ut()("coblocks-gallery--figure",{[`has-margin-bottom-${p}`]:p>0,[`has-margin-bottom-mobile-${b}`]:b>0,[z]:z}),P=Ut()("coblocks-gallery--caption",{[z]:z}),N={fontSize:z?void 0:u};return(0,ie.createElement)("div",{className:E},Qr(t),(0,ie.createElement)("ul",{className:C,style:S},g.map((e=>{let t;switch(f){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const o=Ut()(e.id?[`wp-image-${e.id}`]:null,{[`has-shadow-${k}`]:"none"!==k||void 0!==k}),n=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:o});return(0,ie.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},(0,ie.createElement)("figure",{className:T},t?(0,ie.createElement)("a",{href:t,target:y,rel:_},n):n,c&&e.caption&&e.caption.length>0&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:P,value:e.caption,styles:N})))}))))}},{attributes:{...oa,...Fr,...Wf.attributes},save(e){let{attributes:t,className:o}=e;const{captionColor:n,captions:l,customCaptionColor:r,customFontSize:a,fontSize:c,fullwidth:i,gutter:s,gutterMobile:u,images:d,target:m,rel:h,linkTo:p,shadow:b}=t,g=(0,Yt.getColorClassName)("color",n),f=Ut()(...na(t),...Vr(t),{"has-fullwidth-images":i,"has-margin":s>0}),v={...ra(t),...Hr(t),color:g?void 0:r},_=(0,Yt.getFontSizeClass)(c),k=Ut()("coblocks-gallery--figure",{[`has-margin-bottom-${s}`]:s>0,[`has-margin-bottom-mobile-${u}`]:u>0,[_]:_}),y=Ut()("coblocks-gallery--caption",{[_]:_}),w={fontSize:_?void 0:a};return(0,ie.createElement)("div",{className:o},Qr(t),(0,ie.createElement)("ul",{className:f,style:v},d.map((e=>{let t;switch(p){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const o=Ut()(e.id?[`wp-image-${e.id}`]:null,{[`has-shadow-${b}`]:"none"!==b||void 0!==b}),n=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:o});return(0,ie.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},(0,ie.createElement)("figure",{className:k},t?(0,ie.createElement)("a",{href:t,target:m,rel:h},n):n,l&&e.caption&&e.caption.length>0&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:y,value:e.caption,styles:w})))}))))}}];var Yf=qf,Kf=(0,Kt.compose)([(0,co.withSelect)((e=>({wideControlsEnabled:e("core/editor").getEditorSettings().alignWide}))),(0,Yt.withFontSizes)("fontSize")])((e=>{const{attributes:t,setAttributes:o,wideControlsEnabled:n=!1}=e,{images:l,gutter:r,fullwidth:a,radius:c,shadow:i,captions:s,lightbox:u}=t;return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Stacked settings","coblocks")},n&&(0,ie.createElement)(Zt.ToggleControl,{label:l.length>1?(0,le.__)("Fullwidth images","coblocks"):(0,le.__)("Fullwidth image","coblocks"),checked:!!a,help:e=>e?(0,le.__)("Fullwidth images are enabled.","coblocks"):(0,le.__)("Toggle to fill the available gallery area with completely fullwidth images.","coblocks"),onChange:()=>{o({fullwidth:!a,shadow:"none"})}}),l.length>1&&(0,ie.createElement)(Zr,e),r>0&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Rounded corners","coblocks"),value:c,onChange:e=>{o({radius:e})},min:0,max:20,step:1}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Lightbox","coblocks"),checked:!!u,onChange:()=>o({lightbox:!u}),help:e=>e?(0,le.__)("Image lightbox is enabled.","coblocks"):(0,le.__)("Toggle to enable the image lightbox.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Captions","coblocks"),checked:!!s,onChange:()=>o({captions:!s}),help:e=>e?(0,le.__)("Showing captions for each media item.","coblocks"):(0,le.__)("Toggle to show media captions.","coblocks")}),s&&(0,ie.createElement)(ir,e),!a&&(0,ie.createElement)(pa,Ft({},e,{onChange:e=>{o({shadow:e})},value:i,label:(0,le.__)("Shadow","coblocks"),reset:!1}))),(0,ie.createElement)(dc,e))})),Zf=e=>{const{attributes:t}=e,{images:o}=t,n=!!o.length;return(0,ie.createElement)(Yt.BlockControls,null,n&&(0,ie.createElement)(Sn,e))},Jf=(0,Kt.compose)([(0,co.withSelect)((e=>({editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),wideControlsEnabled:e("core/editor").getEditorSettings().alignWide}))),(0,Yt.withFontSizes)("fontSize"),Zt.withNotices])((e=>{const{attributes:t,className:o,fontSize:n,isSelected:l,noticeUI:r,setAttributes:a}=e,{align:c,animation:i,captions:s,fullwidth:u,gutter:d,gutterMobile:m,images:h,shadow:p,linkTo:b,lightbox:g}=t,[f,v]=(0,ie.useState)(null);(0,ie.useEffect)((()=>{void 0!==t.captionStyle&&a({captionStyle:void 0})}),[]);const _=(0,Kt.usePrevious)(l);(0,ie.useEffect)((()=>{!l&&_&&v(null)}),[l]);const k=e=>()=>{f!==e&&v(e)},y=(e,o)=>{const n=[...t.images];n.splice(o,1,t.images[e]),n.splice(e,1,t.images[o]),v(o),a({images:n})},w=e=>()=>{e!==t.images.length-1&&y(e,e+1)},E=e=>()=>{const o=ua()(t.images,((t,o)=>e!==o));v(null),a({images:o})},x=(e,o)=>{const n=[...t.images];n[e]={...o},a({images:n})},C=!!h.length,S=(0,ie.createElement)(ie.Fragment,null,C?null:r,(0,ie.createElement)(Sa,Ft({},e,{label:(0,le.__)("Stacked","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:Xe}),gutter:d})));if(!C)return S;const z=Ut()(o,{"has-lightbox":g}),T=Ut()(...na(t),{"has-fullwidth-images":u,[`align${c}`]:c,"has-margin":d>0,"has-lightbox":g,[`has-margin-bottom-${d}`]:d>0,[`has-margin-bottom-mobile-${m}`]:m>0}),P=Ut()("coblocks-gallery--item",{[`coblocks-animate ${i}`]:i});return(0,ie.createElement)(ie.Fragment,null,l&&(0,ie.createElement)(Zf,e),l&&(0,ie.createElement)(Kf,e),r,(0,ie.createElement)("div",{className:z},(0,ie.createElement)("ul",{className:T},h.map(((e,t)=>{const o=(0,le.sprintf)(
3896
  /* translators: %1$d is the order number of the image, %2$d is the total number of images */
3897
- (0,le.__)("image %1$d of %2$d in gallery","coblocks"),t+1,h.length);return(0,ie.createElement)("li",{className:P,key:e.id||e.url},(0,ie.createElement)(Ca,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:b,gutter:d,gutterMobile:m,marginBottom:!0,shadow:p,isFirstItem:0===t,isLastItem:t+1===h.length,isSelected:l&&f===t,onMoveBackward:(r=t,()=>{0!==r&&y(r,r-1)}),onMoveForward:w(t),onRemove:E(t),onSelect:k(t),setAttributes:e=>((e,t)=>{h[e]&&a({images:[...h.slice(0,e),{...h[e],...t},...h.slice(e+1)]})})(t,e),caption:e.caption,"aria-label":o,captions:s,supportsCaption:!0,verticalMoving:!0,fontSize:n.size,imageIndex:t,replaceImage:x}));var r})),S)))}));const Xf={from:[{type:"block",blocks:["coblocks/gallery-collage","coblocks/gallery-masonry","coblocks/gallery-offset","coblocks/gallery-carousel","core/gallery"],transform:e=>(0,ne.createBlock)(Wf.name,{...la(e)})},{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{const t=ua()(e,(e=>{let{id:t,url:o}=e;return Number.isInteger(t)&&o})),o=!!ua()(e,(e=>{let{caption:t}=e;return!!t}));return t.length>0?(0,ne.createBlock)(Wf.name,{images:t.map(((e,t)=>{let{id:o,url:n,alt:l,caption:r}=e;return{index:t,id:o,url:n,alt:l||"",caption:r||""}})),ids:t.map((e=>{let{id:t}=e;return t})),captions:o}):(0,ne.createBlock)(Wf.name)}},{type:"prefix",prefix:":stacked",transform:e=>(0,ne.createBlock)(Wf.name,{content:e})}],to:[{type:"block",blocks:["core/gallery"],transform:e=>(0,ne.createBlock)("core/gallery",{...la(e)})}]};var Qf=Xf;const{name:ev,category:tv}=Wf,ov={...oa,...Wf.attributes},nv={
3898
  /* translators: block name */
3899
  title:(0,le.__)("Stacked","coblocks"),
3900
  /* translators: block description */
@@ -3904,4 +3904,4 @@ description:(0,le.__)("Display multiple images in a single column stacked galler
3904
  /* translators: block keyword */
3905
  (0,le.__)("photos","coblocks"),
3906
  /* translators: block keyword */
3907
- (0,le.__)("lightbox","coblocks")],supports:{align:["wide","full","left","center","right"],html:!1,coBlocksSpacing:!0},example:{attributes:{fullwidth:!1,gutter:5,images:[{index:0,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},{index:1,url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"}]}},attributes:ov,transforms:Qf,edit:Jf,save:e=>{let{attributes:t,className:o}=e;const{animation:n,captions:l,customFontSize:r,fontSize:a,fullwidth:c,gutter:i,gutterMobile:s,images:u,lightbox:d,linkTo:m,rel:h,shadow:p,target:b}=t,g=Ut()(o,{"has-lightbox":d}),f=Ut()(...na(t),{"has-fullwidth-images":c,"has-margin":i>0}),v=Ut()("coblocks-gallery--item",{"coblocks-animate":n}),_=(0,Yt.getFontSizeClass)(a),k=Ut()("coblocks-gallery--figure",{[`has-margin-bottom-${i}`]:i>0,[`has-margin-bottom-mobile-${s}`]:s>0,[_]:_}),y=Ut()("coblocks-gallery--caption",{[_]:_}),w={fontSize:_?void 0:r};return(0,ie.createElement)("div",{className:g},(0,ie.createElement)("ul",{className:f},u.map((e=>{let t;switch(m){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const o=Ut()(e.id?[`wp-image-${e.id}`]:null,{[`has-shadow-${p}`]:"none"!==p||void 0!==p}),r=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:o});return(0,ie.createElement)("li",{key:e.id||e.url,className:v,"data-coblocks-animation":n},(0,ie.createElement)("figure",{className:k},t?(0,ie.createElement)("a",{href:t,target:b,rel:h},r):r,l&&e.caption&&e.caption.length>0&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:y,value:e.caption,style:w})))}))))},deprecated:Yf};[l,r,a,c,i,s,u,d,m,h,b,p,g,f,v,_,y,w,x,C,T,N,P,S,z,k,B,E,O,R,M,A,L,I,D,F,V,j,G,$,H,U,q,W,Y,K,Z,J,X,Q,ee,te,oe].forEach((e=>{if(!e)return;let{category:t}=e;const{name:o,settings:n}=e;ae()||o.includes("gallery")||(t="coblocks"),(0,ne.registerBlockType)(o,{category:t,...n})}))},8140:function(){const e=document.querySelectorAll(".coblocks-animate");if("IntersectionObserver"in window){const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(e.target.classList.add(e.target.dataset.coblocksAnimation),t.unobserve(e.target))}))}),{threshold:[.15]});e.forEach((e=>{t.observe(e)}))}else e.forEach((e=>{e.classList.remove("coblocks-animate"),delete e.dataset.coblocksAnimation}))},6553:function(e,t,o){"use strict";function n(e){return void 0===Object.fromEntries?[...e].reduce(((e,t)=>{let{0:o,1:n}=t;return Object.assign(e,{[o]:n})}),{}):Object.fromEntries(e)}o.d(t,{Z:function(){return n}})},4043:function(e,t,o){e.exports={default:o(7185),__esModule:!0}},2945:function(e,t,o){e.exports={default:o(6981),__esModule:!0}},5861:function(e,t,o){e.exports={default:o(5627),__esModule:!0}},2242:function(e,t,o){e.exports={default:o(3391),__esModule:!0}},5105:function(e,t,o){e.exports={default:o(381),__esModule:!0}},5345:function(e,t,o){e.exports={default:o(433),__esModule:!0}},3516:function(e,t,o){e.exports={default:o(25),__esModule:!0}},4275:function(e,t,o){e.exports={default:o(2392),__esModule:!0}},9663:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},2600:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(2242))&&n.__esModule?n:{default:n};t.default=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,l.default)(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}()},8106:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(2242))&&n.__esModule?n:{default:n};t.default=function(e,t,o){return t in e?(0,l.default)(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}},8239:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(2945))&&n.__esModule?n:{default:n};t.default=l.default||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}},3196:function(e,t,o){"use strict";t.__esModule=!0;var n=a(o(5345)),l=a(o(5861)),r=a(o(2444));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,r.default)(t)));e.prototype=(0,l.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(n.default?(0,n.default)(e,t):e.__proto__=t)}},2723:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}},9135:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(2444))&&n.__esModule?n:{default:n};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,l.default)(t))&&"function"!=typeof t?e:t}},5315:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(4043))&&n.__esModule?n:{default:n};t.default=function(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return(0,l.default)(e)}},2444:function(e,t,o){"use strict";t.__esModule=!0;var n=a(o(4275)),l=a(o(3516)),r="function"==typeof l.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof l.default&&e.constructor===l.default&&e!==l.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof l.default&&"symbol"===r(n.default)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof l.default&&e.constructor===l.default&&e!==l.default.prototype?"symbol":void 0===e?"undefined":r(e)}},8129:function(e,t,o){"use strict";var n=o(690);function l(){var e={},t=0,o=0,n=0;return{add:function(l,r){r||(r=l,l=0),l>o?o=l:l<n&&(n=l),e[l]||(e[l]=[]),e[l].push(r),t++},process:function(){for(var t=n;t<=o;t++)for(var l=e[t],r=0;r<l.length;r++)(0,l[r])()},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,o=n.getOption(e,"async",!0),r=n.getOption(e,"auto",!0);r&&!o&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),o=!0);var a,c=l(),i=!1;function s(){for(i=!0;c.size();){var e=c;c=l(),e.process()}i=!1}function u(){a=setTimeout(s,0)}return{add:function(e,t){!i&&r&&o&&0===c.size()&&u(),c.add(e,t)},force:function(e){i||(void 0===e&&(e=o),a&&(clearTimeout(a),a=null),e?u():s())}}}},690:function(e){"use strict";(e.exports={}).getOption=function(e,t,o){var n=e[t];return null==n&&void 0!==o?o:n}},1807:function(e){var t=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t},5790:function(e,t){"use strict";t.E=function(){var e=[],t=e;function o(){t===e&&(t=e.slice())}return{listen:function(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var n=!0;return o(),t.push(e),function(){if(n){n=!1,o();var l=t.indexOf(e);t.splice(l,1)}}},emit:function(){for(var o=e=t,n=0;n<o.length;n++)o[n].apply(o,arguments)}}}},4184:function(e,t){var o;!function(){"use strict";var n={}.hasOwnProperty;function l(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var r=typeof o;if("string"===r||"number"===r)e.push(o);else if(Array.isArray(o)){if(o.length){var a=l.apply(null,o);a&&e.push(a)}}else if("object"===r)if(o.toString===Object.prototype.toString)for(var c in o)n.call(o,c)&&o[c]&&e.push(c);else e.push(o.toString())}}return e.join(" ")}e.exports?(l.default=l,e.exports=l):void 0===(o=function(){return l}.apply(t,[]))||(e.exports=o)}()},7185:function(e,t,o){o(1867),o(2586),e.exports=o(4579).Array.from},6981:function(e,t,o){o(2699),e.exports=o(4579).Object.assign},5627:function(e,t,o){o(6760);var n=o(4579).Object;e.exports=function(e,t){return n.create(e,t)}},3391:function(e,t,o){o(1477);var n=o(4579).Object;e.exports=function(e,t,o){return n.defineProperty(e,t,o)}},381:function(e,t,o){o(7220),e.exports=o(4579).Object.getPrototypeOf},433:function(e,t,o){o(9349),e.exports=o(4579).Object.setPrototypeOf},25:function(e,t,o){o(6840),o(4058),o(8174),o(6461),e.exports=o(4579).Symbol},2392:function(e,t,o){o(1867),o(3871),e.exports=o(5103).f("iterator")},5663:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},9003:function(e){e.exports=function(){}},2159:function(e,t,o){var n=o(6727);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},7428:function(e,t,o){var n=o(7932),l=o(8728),r=o(6531);e.exports=function(e){return function(t,o,a){var c,i=n(t),s=l(i.length),u=r(a,s);if(e&&o!=o){for(;s>u;)if((c=i[u++])!=c)return!0}else for(;s>u;u++)if((e||u in i)&&i[u]===o)return e||u||0;return!e&&-1}}},4677:function(e,t,o){var n=o(2894),l=o(2939)("toStringTag"),r="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,o,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(o=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),l))?o:r?n(t):"Object"==(a=n(t))&&"function"==typeof t.callee?"Arguments":a}},2894:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},4579:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},2445:function(e,t,o){"use strict";var n=o(4743),l=o(3101);e.exports=function(e,t,o){t in e?n.f(e,t,l(0,o)):e[t]=o}},9216:function(e,t,o){var n=o(5663);e.exports=function(e,t,o){if(n(e),void 0===t)return e;switch(o){case 1:return function(o){return e.call(t,o)};case 2:return function(o,n){return e.call(t,o,n)};case 3:return function(o,n,l){return e.call(t,o,n,l)}}return function(){return e.apply(t,arguments)}}},8333:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},9666:function(e,t,o){e.exports=!o(7929)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},7467:function(e,t,o){var n=o(6727),l=o(3938).document,r=n(l)&&n(l.createElement);e.exports=function(e){return r?l.createElement(e):{}}},3338:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},337:function(e,t,o){var n=o(6162),l=o(8195),r=o(6274);e.exports=function(e){var t=n(e),o=l.f;if(o)for(var a,c=o(e),i=r.f,s=0;c.length>s;)i.call(e,a=c[s++])&&t.push(a);return t}},3856:function(e,t,o){var n=o(3938),l=o(4579),r=o(9216),a=o(1818),c=o(7069),i=function(e,t,o){var s,u,d,m=e&i.F,h=e&i.G,p=e&i.S,b=e&i.P,g=e&i.B,f=e&i.W,v=h?l:l[t]||(l[t]={}),_=v.prototype,k=h?n:p?n[t]:(n[t]||{}).prototype;for(s in h&&(o=t),o)(u=!m&&k&&void 0!==k[s])&&c(v,s)||(d=u?k[s]:o[s],v[s]=h&&"function"!=typeof k[s]?o[s]:g&&u?r(d,n):f&&k[s]==d?function(e){var t=function(t,o,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,o)}return new e(t,o,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):b&&"function"==typeof d?r(Function.call,d):d,b&&((v.virtual||(v.virtual={}))[s]=d,e&i.R&&_&&!_[s]&&a(_,s,d)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,e.exports=i},7929:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},3938:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},7069:function(e){var t={}.hasOwnProperty;e.exports=function(e,o){return t.call(e,o)}},1818:function(e,t,o){var n=o(4743),l=o(3101);e.exports=o(9666)?function(e,t,o){return n.f(e,t,l(1,o))}:function(e,t,o){return e[t]=o,e}},4881:function(e,t,o){var n=o(3938).document;e.exports=n&&n.documentElement},3758:function(e,t,o){e.exports=!o(9666)&&!o(7929)((function(){return 7!=Object.defineProperty(o(7467)("div"),"a",{get:function(){return 7}}).a}))},799:function(e,t,o){var n=o(2894);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},5991:function(e,t,o){var n=o(5449),l=o(2939)("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||r[l]===e)}},1421:function(e,t,o){var n=o(2894);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6727:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},5602:function(e,t,o){var n=o(2159);e.exports=function(e,t,o,l){try{return l?t(n(o)[0],o[1]):t(o)}catch(t){var r=e.return;throw void 0!==r&&n(r.call(e)),t}}},3945:function(e,t,o){"use strict";var n=o(526),l=o(3101),r=o(5378),a={};o(1818)(a,o(2939)("iterator"),(function(){return this})),e.exports=function(e,t,o){e.prototype=n(a,{next:l(1,o)}),r(e,t+" Iterator")}},5700:function(e,t,o){"use strict";var n=o(6227),l=o(3856),r=o(7470),a=o(1818),c=o(5449),i=o(3945),s=o(5378),u=o(5089),d=o(2939)("iterator"),m=!([].keys&&"next"in[].keys()),h="keys",p="values",b=function(){return this};e.exports=function(e,t,o,g,f,v,_){i(o,t,g);var k,y,w,E=function(e){if(!m&&e in z)return z[e];switch(e){case h:case p:return function(){return new o(this,e)}}return function(){return new o(this,e)}},x=t+" Iterator",C=f==p,S=!1,z=e.prototype,T=z[d]||z["@@iterator"]||f&&z[f],P=T||E(f),N=f?C?E("entries"):P:void 0,B="Array"==t&&z.entries||T;if(B&&(w=u(B.call(new e)))!==Object.prototype&&w.next&&(s(w,x,!0),n||"function"==typeof w[d]||a(w,d,b)),C&&T&&T.name!==p&&(S=!0,P=function(){return T.call(this)}),n&&!_||!m&&!S&&z[d]||a(z,d,P),c[t]=P,c[x]=b,f)if(k={values:C?P:E(p),keys:v?P:E(h),entries:N},_)for(y in k)y in z||r(z,y,k[y]);else l(l.P+l.F*(m||S),t,k);return k}},6630:function(e,t,o){var n=o(2939)("iterator"),l=!1;try{var r=[7][n]();r.return=function(){l=!0},Array.from(r,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!l)return!1;var o=!1;try{var r=[7],a=r[n]();a.next=function(){return{done:o=!0}},r[n]=function(){return a},e(r)}catch(e){}return o}},5084:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},5449:function(e){e.exports={}},6227:function(e){e.exports=!0},7177:function(e,t,o){var n=o(5730)("meta"),l=o(6727),r=o(7069),a=o(4743).f,c=0,i=Object.isExtensible||function(){return!0},s=!o(7929)((function(){return i(Object.preventExtensions({}))})),u=function(e){a(e,n,{value:{i:"O"+ ++c,w:{}}})},d=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!l(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,n)){if(!i(e))return"F";if(!t)return"E";u(e)}return e[n].i},getWeak:function(e,t){if(!r(e,n)){if(!i(e))return!0;if(!t)return!1;u(e)}return e[n].w},onFreeze:function(e){return s&&d.NEED&&i(e)&&!r(e,n)&&u(e),e}}},8082:function(e,t,o){"use strict";var n=o(9666),l=o(6162),r=o(8195),a=o(6274),c=o(6530),i=o(799),s=Object.assign;e.exports=!s||o(7929)((function(){var e={},t={},o=Symbol(),n="abcdefghijklmnopqrst";return e[o]=7,n.split("").forEach((function(e){t[e]=e})),7!=s({},e)[o]||Object.keys(s({},t)).join("")!=n}))?function(e,t){for(var o=c(e),s=arguments.length,u=1,d=r.f,m=a.f;s>u;)for(var h,p=i(arguments[u++]),b=d?l(p).concat(d(p)):l(p),g=b.length,f=0;g>f;)h=b[f++],n&&!m.call(p,h)||(o[h]=p[h]);return o}:s},526:function(e,t,o){var n=o(2159),l=o(7856),r=o(3338),a=o(8989)("IE_PROTO"),c=function(){},i=function(){var e,t=o(7467)("iframe"),n=r.length;for(t.style.display="none",o(4881).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),i=e.F;n--;)delete i.prototype[r[n]];return i()};e.exports=Object.create||function(e,t){var o;return null!==e?(c.prototype=n(e),o=new c,c.prototype=null,o[a]=e):o=i(),void 0===t?o:l(o,t)}},4743:function(e,t,o){var n=o(2159),l=o(3758),r=o(3206),a=Object.defineProperty;t.f=o(9666)?Object.defineProperty:function(e,t,o){if(n(e),t=r(t,!0),n(o),l)try{return a(e,t,o)}catch(e){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(e[t]=o.value),e}},7856:function(e,t,o){var n=o(4743),l=o(2159),r=o(6162);e.exports=o(9666)?Object.defineProperties:function(e,t){l(e);for(var o,a=r(t),c=a.length,i=0;c>i;)n.f(e,o=a[i++],t[o]);return e}},6183:function(e,t,o){var n=o(6274),l=o(3101),r=o(7932),a=o(3206),c=o(7069),i=o(3758),s=Object.getOwnPropertyDescriptor;t.f=o(9666)?s:function(e,t){if(e=r(e),t=a(t,!0),i)try{return s(e,t)}catch(e){}if(c(e,t))return l(!n.f.call(e,t),e[t])}},4368:function(e,t,o){var n=o(7932),l=o(3230).f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?function(e){try{return l(e)}catch(e){return a.slice()}}(e):l(n(e))}},3230:function(e,t,o){var n=o(2963),l=o(3338).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,l)}},8195:function(e,t){t.f=Object.getOwnPropertySymbols},5089:function(e,t,o){var n=o(7069),l=o(6530),r=o(8989)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=l(e),n(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},2963:function(e,t,o){var n=o(7069),l=o(7932),r=o(7428)(!1),a=o(8989)("IE_PROTO");e.exports=function(e,t){var o,c=l(e),i=0,s=[];for(o in c)o!=a&&n(c,o)&&s.push(o);for(;t.length>i;)n(c,o=t[i++])&&(~r(s,o)||s.push(o));return s}},6162:function(e,t,o){var n=o(2963),l=o(3338);e.exports=Object.keys||function(e){return n(e,l)}},6274:function(e,t){t.f={}.propertyIsEnumerable},2584:function(e,t,o){var n=o(3856),l=o(4579),r=o(7929);e.exports=function(e,t){var o=(l.Object||{})[e]||Object[e],a={};a[e]=t(o),n(n.S+n.F*r((function(){o(1)})),"Object",a)}},3101:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7470:function(e,t,o){e.exports=o(1818)},2906:function(e,t,o){var n=o(6727),l=o(2159),r=function(e,t){if(l(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=o(9216)(Function.call,o(6183).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,o){return r(e,o),t?e.__proto__=o:n(e,o),e}}({},!1):void 0),check:r}},5378:function(e,t,o){var n=o(4743).f,l=o(7069),r=o(2939)("toStringTag");e.exports=function(e,t,o){e&&!l(e=o?e:e.prototype,r)&&n(e,r,{configurable:!0,value:t})}},8989:function(e,t,o){var n=o(250)("keys"),l=o(5730);e.exports=function(e){return n[e]||(n[e]=l(e))}},250:function(e,t,o){var n=o(4579),l=o(3938),r="__core-js_shared__",a=l[r]||(l[r]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:o(6227)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},510:function(e,t,o){var n=o(1052),l=o(8333);e.exports=function(e){return function(t,o){var r,a,c=String(l(t)),i=n(o),s=c.length;return i<0||i>=s?e?"":void 0:(r=c.charCodeAt(i))<55296||r>56319||i+1===s||(a=c.charCodeAt(i+1))<56320||a>57343?e?c.charAt(i):r:e?c.slice(i,i+2):a-56320+(r-55296<<10)+65536}}},6531:function(e,t,o){var n=o(1052),l=Math.max,r=Math.min;e.exports=function(e,t){return(e=n(e))<0?l(e+t,0):r(e,t)}},1052:function(e){var t=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:t)(e)}},7932:function(e,t,o){var n=o(799),l=o(8333);e.exports=function(e){return n(l(e))}},8728:function(e,t,o){var n=o(1052),l=Math.min;e.exports=function(e){return e>0?l(n(e),9007199254740991):0}},6530:function(e,t,o){var n=o(8333);e.exports=function(e){return Object(n(e))}},3206:function(e,t,o){var n=o(6727);e.exports=function(e,t){if(!n(e))return e;var o,l;if(t&&"function"==typeof(o=e.toString)&&!n(l=o.call(e)))return l;if("function"==typeof(o=e.valueOf)&&!n(l=o.call(e)))return l;if(!t&&"function"==typeof(o=e.toString)&&!n(l=o.call(e)))return l;throw TypeError("Can't convert object to primitive value")}},5730:function(e){var t=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+o).toString(36))}},6347:function(e,t,o){var n=o(3938),l=o(4579),r=o(6227),a=o(5103),c=o(4743).f;e.exports=function(e){var t=l.Symbol||(l.Symbol=r?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:a.f(e)})}},5103:function(e,t,o){t.f=o(2939)},2939:function(e,t,o){var n=o(250)("wks"),l=o(5730),r=o(3938).Symbol,a="function"==typeof r;(e.exports=function(e){return n[e]||(n[e]=a&&r[e]||(a?r:l)("Symbol."+e))}).store=n},3728:function(e,t,o){var n=o(4677),l=o(2939)("iterator"),r=o(5449);e.exports=o(4579).getIteratorMethod=function(e){if(null!=e)return e[l]||e["@@iterator"]||r[n(e)]}},2586:function(e,t,o){"use strict";var n=o(9216),l=o(3856),r=o(6530),a=o(5602),c=o(5991),i=o(8728),s=o(2445),u=o(3728);l(l.S+l.F*!o(6630)((function(e){Array.from(e)})),"Array",{from:function(e){var t,o,l,d,m=r(e),h="function"==typeof this?this:Array,p=arguments.length,b=p>1?arguments[1]:void 0,g=void 0!==b,f=0,v=u(m);if(g&&(b=n(b,p>2?arguments[2]:void 0,2)),null==v||h==Array&&c(v))for(o=new h(t=i(m.length));t>f;f++)s(o,f,g?b(m[f],f):m[f]);else for(d=v.call(m),o=new h;!(l=d.next()).done;f++)s(o,f,g?a(d,b,[l.value,f],!0):l.value);return o.length=f,o}})},3882:function(e,t,o){"use strict";var n=o(9003),l=o(5084),r=o(5449),a=o(7932);e.exports=o(5700)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,o=this._i++;return!e||o>=e.length?(this._t=void 0,l(1)):l(0,"keys"==t?o:"values"==t?e[o]:[o,e[o]])}),"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")},2699:function(e,t,o){var n=o(3856);n(n.S+n.F,"Object",{assign:o(8082)})},6760:function(e,t,o){var n=o(3856);n(n.S,"Object",{create:o(526)})},1477:function(e,t,o){var n=o(3856);n(n.S+n.F*!o(9666),"Object",{defineProperty:o(4743).f})},7220:function(e,t,o){var n=o(6530),l=o(5089);o(2584)("getPrototypeOf",(function(){return function(e){return l(n(e))}}))},9349:function(e,t,o){var n=o(3856);n(n.S,"Object",{setPrototypeOf:o(2906).set})},4058:function(){},1867:function(e,t,o){"use strict";var n=o(510)(!0);o(5700)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,o=this._i;return o>=t.length?{value:void 0,done:!0}:(e=n(t,o),this._i+=e.length,{value:e,done:!1})}))},6840:function(e,t,o){"use strict";var n=o(3938),l=o(7069),r=o(9666),a=o(3856),c=o(7470),i=o(7177).KEY,s=o(7929),u=o(250),d=o(5378),m=o(5730),h=o(2939),p=o(5103),b=o(6347),g=o(337),f=o(1421),v=o(2159),_=o(6727),k=o(6530),y=o(7932),w=o(3206),E=o(3101),x=o(526),C=o(4368),S=o(6183),z=o(8195),T=o(4743),P=o(6162),N=S.f,B=T.f,O=C.f,R=n.Symbol,M=n.JSON,A=M&&M.stringify,L=h("_hidden"),I=h("toPrimitive"),D={}.propertyIsEnumerable,F=u("symbol-registry"),V=u("symbols"),j=u("op-symbols"),G=Object.prototype,$="function"==typeof R&&!!z.f,H=n.QObject,U=!H||!H.prototype||!H.prototype.findChild,W=r&&s((function(){return 7!=x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a}))?function(e,t,o){var n=N(G,t);n&&delete G[t],B(e,t,o),n&&e!==G&&B(G,t,n)}:B,q=function(e){var t=V[e]=x(R.prototype);return t._k=e,t},Y=$&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},K=function(e,t,o){return e===G&&K(j,t,o),v(e),t=w(t,!0),v(o),l(V,t)?(o.enumerable?(l(e,L)&&e[L][t]&&(e[L][t]=!1),o=x(o,{enumerable:E(0,!1)})):(l(e,L)||B(e,L,E(1,{})),e[L][t]=!0),W(e,t,o)):B(e,t,o)},Z=function(e,t){v(e);for(var o,n=g(t=y(t)),l=0,r=n.length;r>l;)K(e,o=n[l++],t[o]);return e},J=function(e){var t=D.call(this,e=w(e,!0));return!(this===G&&l(V,e)&&!l(j,e))&&(!(t||!l(this,e)||!l(V,e)||l(this,L)&&this[L][e])||t)},X=function(e,t){if(e=y(e),t=w(t,!0),e!==G||!l(V,t)||l(j,t)){var o=N(e,t);return!o||!l(V,t)||l(e,L)&&e[L][t]||(o.enumerable=!0),o}},Q=function(e){for(var t,o=O(y(e)),n=[],r=0;o.length>r;)l(V,t=o[r++])||t==L||t==i||n.push(t);return n},ee=function(e){for(var t,o=e===G,n=O(o?j:y(e)),r=[],a=0;n.length>a;)!l(V,t=n[a++])||o&&!l(G,t)||r.push(V[t]);return r};$||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=m(arguments.length>0?arguments[0]:void 0),t=function(o){this===G&&t.call(j,o),l(this,L)&&l(this[L],e)&&(this[L][e]=!1),W(this,e,E(1,o))};return r&&U&&W(G,e,{configurable:!0,set:t}),q(e)},c(R.prototype,"toString",(function(){return this._k})),S.f=X,T.f=K,o(3230).f=C.f=Q,o(6274).f=J,z.f=ee,r&&!o(6227)&&c(G,"propertyIsEnumerable",J,!0),p.f=function(e){return q(h(e))}),a(a.G+a.W+a.F*!$,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;te.length>oe;)h(te[oe++]);for(var ne=P(h.store),le=0;ne.length>le;)b(ne[le++]);a(a.S+a.F*!$,"Symbol",{for:function(e){return l(F,e+="")?F[e]:F[e]=R(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!$,"Object",{create:function(e,t){return void 0===t?x(e):Z(x(e),t)},defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:X,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var re=s((function(){z.f(1)}));a(a.S+a.F*re,"Object",{getOwnPropertySymbols:function(e){return z.f(k(e))}}),M&&a(a.S+a.F*(!$||s((function(){var e=R();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))}))),"JSON",{stringify:function(e){for(var t,o,n=[e],l=1;arguments.length>l;)n.push(arguments[l++]);if(o=t=n[1],(_(t)||void 0!==e)&&!Y(e))return f(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!Y(t))return t}),n[1]=t,A.apply(M,n)}}),R.prototype[I]||o(1818)(R.prototype,I,R.prototype.valueOf),d(R,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},8174:function(e,t,o){o(6347)("asyncIterator")},6461:function(e,t,o){o(6347)("observable")},3871:function(e,t,o){o(3882);for(var n=o(3938),l=o(1818),r=o(5449),a=o(2939)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),i=0;i<c.length;i++){var s=c[i],u=n[s],d=u&&u.prototype;d&&!d[a]&&l(d,a,s),r[s]=r.Array}},6511:function(e,t,o){"use strict";var n=o(7418),l={};function r(e,t,o,n,l,r,a,c){if(!e){var i;if(void 0===t)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[o,n,l,r,a,c],u=0;(i=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw i.framesToPop=1,i}}var a="mixins";e.exports=function(e,t,o){var c=[],i={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var o=0;o<t.length;o++)m(e,t[o])},childContextTypes:function(e,t){e.childContextTypes=n({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=n({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=n({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var o in t){var n=t[o];if(t.hasOwnProperty(o)){if(r(!(o in u),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',o),o in e)return r("DEFINE_MANY_MERGED"===(s.hasOwnProperty(o)?s[o]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",o),void(e[o]=p(e[o],n));e[o]=n}}}(e,t)},autobind:function(){}};function d(e,t){var o=i.hasOwnProperty(t)?i[t]:null;_.hasOwnProperty(t)&&r("OVERRIDE_BASE"===o,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&r("DEFINE_MANY"===o||"DEFINE_MANY_MERGED"===o,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function m(e,o){if(o){r("function"!=typeof o,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),r(!t(o),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype,l=n.__reactAutoBindPairs;for(var c in o.hasOwnProperty(a)&&u.mixins(e,o.mixins),o)if(o.hasOwnProperty(c)&&c!==a){var s=o[c],m=n.hasOwnProperty(c);if(d(m,c),u.hasOwnProperty(c))u[c](e,s);else{var h=i.hasOwnProperty(c);if("function"!=typeof s||h||m||!1===o.autobind)if(m){var g=i[c];r(h&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,c),"DEFINE_MANY_MERGED"===g?n[c]=p(n[c],s):"DEFINE_MANY"===g&&(n[c]=b(n[c],s))}else n[c]=s;else l.push(c,s),n[c]=s}}}}function h(e,t){for(var o in r(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(o)&&(r(void 0===e[o],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",o),e[o]=t[o]);return e}function p(e,t){return function(){var o=e.apply(this,arguments),n=t.apply(this,arguments);if(null==o)return n;if(null==n)return o;var l={};return h(l,o),h(l,n),l}}function b(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function g(e,t){return t.bind(e)}var f={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},_={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},k=function(){};return n(k.prototype,e.prototype,_),function(e){var t=function(e,n,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,o=0;o<t.length;o+=2){var n=t[o],l=t[o+1];e[n]=g(e,l)}}(this),this.props=e,this.context=n,this.refs=l,this.updater=a||o,this.state=null;var c=this.getInitialState?this.getInitialState():null;r("object"==typeof c&&!Array.isArray(c),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=c};for(var n in t.prototype=new k,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],c.forEach(m.bind(null,t)),m(t,f),m(t,e),m(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),r(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),i)t.prototype[n]||(t.prototype[n]=null);return t}}},2555:function(e,t,o){"use strict";var n=o(9196),l=o(6511);if(void 0===n)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var r=(new n.Component).updater;e.exports=l(n.Component,n.isValidElement,r)},9741:function(e,t,o){var n,l;!function(r,a){"use strict";void 0===(l="function"==typeof(n=a)?n.call(t,o,t,e):n)||(e.exports=l)}(window,(function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],o=0;o<t.length;o++){var n=t[o]+"MatchesSelector";if(e[n])return n}}();return function(t,o){return t[e](o)}}))},9960:function(e,t){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(o=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===o.Tag||e.type===o.Script||e.type===o.Style},t.Root=o.Root,t.Text=o.Text,t.Directive=o.Directive,t.Comment=o.Comment,t.Script=o.Script,t.Style=o.Style,t.Tag=o.Tag,t.CDATA=o.CDATA,t.Doctype=o.Doctype},7790:function(e,t,o){"use strict";var n,l=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var l in t=arguments[o])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=o(9960),c=new Map([[a.ElementType.Tag,1],[a.ElementType.Script,1],[a.ElementType.Style,1],[a.ElementType.Directive,1],[a.ElementType.Text,3],[a.ElementType.CDATA,4],[a.ElementType.Comment,8],[a.ElementType.Root,9]]),i=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=c.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();t.Node=i;var s=function(e){function t(t,o){var n=e.call(this,t)||this;return n.data=o,n}return l(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(i);t.DataNode=s;var u=function(e){function t(t){return e.call(this,a.ElementType.Text,t)||this}return l(t,e),t}(s);t.Text=u;var d=function(e){function t(t){return e.call(this,a.ElementType.Comment,t)||this}return l(t,e),t}(s);t.Comment=d;var m=function(e){function t(t,o){var n=e.call(this,a.ElementType.Directive,o)||this;return n.name=t,n}return l(t,e),t}(s);t.ProcessingInstruction=m;var h=function(e){function t(t,o){var n=e.call(this,t)||this;return n.children=o,n}return l(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(i);t.NodeWithChildren=h;var p=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return l(t,e),t}(h);t.Document=p;var b=function(e){function t(t,o,n,l){void 0===n&&(n=[]),void 0===l&&(l="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var r=e.call(this,l,n)||this;return r.name=t,r.attribs=o,r}return l(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var o,n;return{name:t,value:e.attribs[t],namespace:null===(o=e["x-attribsNamespace"])||void 0===o?void 0:o[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,a.isTag)(e)}function f(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function _(e){return e.type===a.ElementType.Comment}function k(e){return e.type===a.ElementType.Directive}function y(e){return e.type===a.ElementType.Root}function w(e,t){var o;if(void 0===t&&(t=!1),v(e))o=new u(e.data);else if(_(e))o=new d(e.data);else if(g(e)){var n=t?E(e.children):[],l=new b(e.name,r({},e.attribs),n);n.forEach((function(e){return e.parent=l})),e["x-attribsNamespace"]&&(l["x-attribsNamespace"]=r({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(l["x-attribsPrefix"]=r({},e["x-attribsPrefix"])),o=l}else if(f(e)){n=t?E(e.children):[];var c=new h(a.ElementType.CDATA,n);n.forEach((function(e){return e.parent=c})),o=c}else if(y(e)){n=t?E(e.children):[];var i=new p(n);n.forEach((function(e){return e.parent=i})),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),o=i}else{if(!k(e))throw new Error("Not implemented yet: "+e.type);var s=new m(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),o=s}return o.startIndex=e.startIndex,o.endIndex=e.endIndex,o}function E(e){for(var t=e.map((function(e){return w(e,!0)})),o=1;o<t.length;o++)t[o].prev=t[o-1],t[o-1].next=t[o];return t}t.Element=b,t.isTag=g,t.isCDATA=f,t.isText=v,t.isComment=_,t.isDirective=k,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w},2268:function(e){"use strict";var t=e.exports={};t.isIE=function(e){return!(-1===(t=navigator.userAgent.toLowerCase()).indexOf("msie")&&-1===t.indexOf("trident")&&-1===t.indexOf(" edge/")||e&&e!==function(){var e=3,t=document.createElement("div"),o=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(o[0]);return e>4?e:void 0}());var t},t.isLegacyOpera=function(){return!!window.opera}},7900:function(e){"use strict";(e.exports={}).forEach=function(e,t){for(var o=0;o<e.length;o++){var n=t(e[o]);if(n)return n}}},7414:function(e,t,o){"use strict";var n=o(2268);e.exports=function(e){var t=(e=e||{}).reporter,o=e.batchProcessor,l=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function r(t){var o=e.important?" !important; ":"; ";return(t.join(o)+o).trim()}function a(e){return l(e).object}return{makeDetectable:function(e,a,c){c||(c=a,a=e,e=null),(e=e||{}).debug,n.isIE(8)?c(a):function(a,c){var i=r(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),s=!1,u=window.getComputedStyle(a),d=a.offsetWidth,m=a.offsetHeight;function h(){function o(){if("static"===u.position){a.style.setProperty("position","relative",e.important?"important":"");var o=function(t,o,n,l){var r=n[l];"auto"!==r&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(r)&&(t.warn("An element that is positioned static has style."+l+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+l+" will be set to 0. Element: ",o),o.style.setProperty(l,"0",e.important?"important":""))};o(t,a,u,"top"),o(t,a,u,"right"),o(t,a,u,"bottom"),o(t,a,u,"left")}}""!==u.position&&(o(),s=!0);var r=document.createElement("object");r.style.cssText=i,r.tabIndex=-1,r.type="text/html",r.setAttribute("aria-hidden","true"),r.onload=function(){s||o(),function e(t,o){if(!t.contentDocument){var n=l(t);return n.checkForObjectDocumentTimeoutId&&window.clearTimeout(n.checkForObjectDocumentTimeoutId),void(n.checkForObjectDocumentTimeoutId=setTimeout((function(){n.checkForObjectDocumentTimeoutId=0,e(t,o)}),100))}o(t.contentDocument)}(this,(function(e){c(a)}))},n.isIE()||(r.data="about:blank"),l(a)&&(a.appendChild(r),l(a).object=r,n.isIE()&&(r.data="about:blank"))}l(a).startSize={width:d,height:m},o?o.add(h):h()}(a,c)},addListener:function(e,t){function o(){t(e)}if(n.isIE(8))l(e).object={proxy:o},e.attachEvent("onresize",o);else{var r=a(e);if(!r)throw new Error("Element is not detectable by this strategy.");r.contentDocument.defaultView.addEventListener("resize",o)}},uninstall:function(e){if(l(e)){var t=a(e);t&&(n.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),l(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(l(e).checkForObjectDocumentTimeoutId),delete l(e).object)}}}}},787:function(e,t,o){"use strict";var n=o(7900).forEach;e.exports=function(e){var t=(e=e||{}).reporter,o=e.batchProcessor,l=e.stateHandler.getState,r=(e.stateHandler.hasState,e.idHandler);if(!o)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var a=function(){var e=document.createElement("div");e.style.cssText=s(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var t=document.createElement("div");t.style.cssText=s(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),t.appendChild(e),document.body.insertBefore(t,document.body.firstChild);var o=500-t.clientWidth,n=500-t.clientHeight;return document.body.removeChild(t),{width:o,height:n}}(),c="erd_scroll_detection_container";function i(e){!function(e,t,o){if(!e.getElementById(t)){var n=o+"_animation",l="/* Created by the element-resize-detector library. */\n";l+="."+o+" > div::-webkit-scrollbar { "+s(["display: none"])+" }\n\n",l+=".erd_scroll_detection_container_animation_active { "+s(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+n,"animation-name: "+n])+" }\n",l+="@-webkit-keyframes "+n+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(o,n){n=n||function(t){e.head.appendChild(t)};var l=e.createElement("style");l.innerHTML=o,l.id=t,n(l)}(l+="@keyframes "+n+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(e,"erd_scroll_detection_scrollbar_style",c)}function s(t){var o=e.important?" !important; ":"; ";return(t.join(o)+o).trim()}function u(e,o,n){if(e.addEventListener)e.addEventListener(o,n);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+o,n)}}function d(e,o,n){if(e.removeEventListener)e.removeEventListener(o,n);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+o,n)}}function m(e){return l(e).container.childNodes[0].childNodes[0].childNodes[0]}function h(e){return l(e).container.childNodes[0].childNodes[0].childNodes[1]}return i(window.document),{makeDetectable:function(e,i,d){function p(){if(e.debug){var o=Array.prototype.slice.call(arguments);if(o.unshift(r.get(i),"Scroll: "),t.log.apply)t.log.apply(null,o);else for(var n=0;n<o.length;n++)t.log(o[n])}}function b(e){var t=l(e).container.childNodes[0],o=window.getComputedStyle(t);return!o.width||-1===o.width.indexOf("px")}function g(){var e=window.getComputedStyle(i),t={};return t.position=e.position,t.width=i.offsetWidth,t.height=i.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.heightCSS=e.height,t}function f(){if(p("storeStyle invoked."),l(i)){var e=g();l(i).style=e}else p("Aborting because element has been uninstalled")}function v(e,t,o){l(e).lastWidth=t,l(e).lastHeight=o}function _(){return 2*a.width+1}function k(){return 2*a.height+1}function y(e){return e+10+_()}function w(e){return e+10+k()}function E(e,t,o){var n=m(e),l=h(e),r=y(t),a=w(o),c=function(e){return 2*e+_()}(t),i=function(e){return 2*e+k()}(o);n.scrollLeft=r,n.scrollTop=a,l.scrollLeft=c,l.scrollTop=i}function x(){var e=l(i).container;if(!e){(e=document.createElement("div")).className=c,e.style.cssText=s(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),l(i).container=e,function(e){e.className+=" "+c+"_animation_active"}(e),i.appendChild(e);var t=function(){l(i).onRendered&&l(i).onRendered()};u(e,"animationstart",t),l(i).onAnimationStart=t}return e}function C(){if(p("Injecting elements"),l(i)){!function(){var o=l(i).style;if("static"===o.position){i.style.setProperty("position","relative",e.important?"important":"");var n=function(e,t,o,n){var l=o[n];"auto"!==l&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(l)&&(e.warn("An element that is positioned static has style."+n+"="+l+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+n+" will be set to 0. Element: ",t),t.style[n]=0)};n(t,i,o,"top"),n(t,i,o,"right"),n(t,i,o,"bottom"),n(t,i,o,"left")}}();var o=l(i).container;o||(o=x());var n,r,d,m,h=a.width,b=a.height,g=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),f=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(["left: "+(n=(n=-(1+h))?n+"px":"0"),"top: "+(r=(r=-(1+b))?r+"px":"0"),"right: "+(m=(m=-h)?m+"px":"0"),"bottom: "+(d=(d=-b)?d+"px":"0")])),v=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),_=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),k=s(["position: absolute","left: 0","top: 0"]),y=s(["position: absolute","width: 200%","height: 200%"]),w=document.createElement("div"),E=document.createElement("div"),C=document.createElement("div"),S=document.createElement("div"),z=document.createElement("div"),T=document.createElement("div");w.dir="ltr",w.style.cssText=g,w.className=c,E.className=c,E.style.cssText=f,C.style.cssText=v,S.style.cssText=k,z.style.cssText=_,T.style.cssText=y,C.appendChild(S),z.appendChild(T),E.appendChild(C),E.appendChild(z),w.appendChild(E),o.appendChild(w),u(C,"scroll",P),u(z,"scroll",N),l(i).onExpandScroll=P,l(i).onShrinkScroll=N}else p("Aborting because element has been uninstalled");function P(){l(i).onExpand&&l(i).onExpand()}function N(){l(i).onShrink&&l(i).onShrink()}}function S(){function a(t,o,n){var l=function(e){return m(e).childNodes[0]}(t),r=y(o),a=w(n);l.style.setProperty("width",r+"px",e.important?"important":""),l.style.setProperty("height",a+"px",e.important?"important":"")}function c(n){var c=i.offsetWidth,u=i.offsetHeight,d=c!==l(i).lastWidth||u!==l(i).lastHeight;p("Storing current size",c,u),v(i,c,u),o.add(0,(function(){if(d)if(l(i))if(s()){if(e.debug){var o=i.offsetWidth,n=i.offsetHeight;o===c&&n===u||t.warn(r.get(i),"Scroll: Size changed before updating detector elements.")}a(i,c,u)}else p("Aborting because element container has not been initialized");else p("Aborting because element has been uninstalled")})),o.add(1,(function(){l(i)?s()?E(i,c,u):p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")})),d&&n&&o.add(2,(function(){l(i)?s()?n():p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")}))}function s(){return!!l(i).container}function u(){p("notifyListenersIfNeeded invoked");var e=l(i);return void 0===l(i).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?p("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?p("Not notifying: Size already notified"):(p("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void n(l(i).listeners,(function(e){e(i)})))}function d(){p("Scroll detected."),b(i)?p("Scroll event fired while unrendered. Ignoring..."):c(u)}if(p("registerListenersAndPositionElements invoked."),l(i)){l(i).onRendered=function(){if(p("startanimation triggered."),b(i))p("Ignoring since element is still unrendered...");else{p("Element rendered.");var e=m(i),t=h(i);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(p("Scrollbars out of sync. Updating detector elements..."),c(u))}},l(i).onExpand=d,l(i).onShrink=d;var g=l(i).style;a(i,g.width,g.height)}else p("Aborting because element has been uninstalled")}function z(){if(p("finalizeDomMutation invoked."),l(i)){var e=l(i).style;v(i,e.width,e.height),E(i,e.width,e.height)}else p("Aborting because element has been uninstalled")}function T(){d(i)}function P(){var e;p("Installing..."),l(i).listeners=[],e=g(),l(i).startSize={width:e.width,height:e.height},p("Element start size",l(i).startSize),o.add(0,f),o.add(1,C),o.add(2,S),o.add(3,z),o.add(4,T)}d||(d=i,i=e,e=null),e=e||{},p("Making detectable..."),function(e){return!function(e){var t=e.getRootNode&&e.getRootNode().contains(e);return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)||t}(e)||null===window.getComputedStyle(e)}(i)?(p("Element is detached"),x(),p("Waiting until element is attached..."),l(i).onRendered=function(){p("Element is now attached"),P()}):P()},addListener:function(e,t){if(!l(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");l(e).listeners.push(t)},uninstall:function(e){var t=l(e);t&&(t.onExpandScroll&&d(m(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&d(h(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&d(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:i}}},3844:function(e,t,o){"use strict";var n=o(7900).forEach,l=o(8452),r=o(6199),a=o(5805),c=o(9799),i=o(1724),s=o(2268),u=o(8129),d=o(1931),m=o(7414),h=o(787);function p(e){return Array.isArray(e)||void 0!==e.length}function b(e){if(Array.isArray(e))return e;var t=[];return n(e,(function(e){t.push(e)})),t}function g(e){return e&&1===e.nodeType}function f(e,t,o){var n=e[t];return null==n&&void 0!==o?o:n}e.exports=function(e){var t;if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var o=a(),v=c({idGenerator:o,stateHandler:d});t=v}var _=e.reporter;_||(_=i(!1===_));var k=f(e,"batchProcessor",u({reporter:_})),y={};y.callOnAdd=!!f(e,"callOnAdd",!0),y.debug=!!f(e,"debug",!1);var w,E=r(t),x=l({stateHandler:d}),C=f(e,"strategy","object"),S=f(e,"important",!1),z={reporter:_,batchProcessor:k,stateHandler:d,idHandler:t,important:S};if("scroll"===C&&(s.isLegacyOpera()?(_.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),C="object"):s.isIE(9)&&(_.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),C="object")),"scroll"===C)w=h(z);else{if("object"!==C)throw new Error("Invalid strategy name: "+C);w=m(z)}var T={};return{listenTo:function(e,o,l){function r(e){var t=E.get(e);n(t,(function(t){t(e)}))}function a(e,t,o){E.add(t,o),e&&o(t)}if(l||(l=o,o=e,e={}),!o)throw new Error("At least one element required.");if(!l)throw new Error("Listener required.");if(g(o))o=[o];else{if(!p(o))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");o=b(o)}var c=0,i=f(e,"callOnAdd",y.callOnAdd),s=f(e,"onReady",(function(){})),u=f(e,"debug",y.debug);n(o,(function(e){d.getState(e)||(d.initState(e),t.set(e));var m=t.get(e);if(u&&_.log("Attaching listener to element",m,e),!x.isDetectable(e))return u&&_.log(m,"Not detectable."),x.isBusy(e)?(u&&_.log(m,"System busy making it detectable"),a(i,e,l),T[m]=T[m]||[],void T[m].push((function(){++c===o.length&&s()}))):(u&&_.log(m,"Making detectable..."),x.markBusy(e,!0),w.makeDetectable({debug:u,important:S},e,(function(e){if(u&&_.log(m,"onElementDetectable"),d.getState(e)){x.markAsDetectable(e),x.markBusy(e,!1),w.addListener(e,r),a(i,e,l);var t=d.getState(e);if(t&&t.startSize){var h=e.offsetWidth,p=e.offsetHeight;t.startSize.width===h&&t.startSize.height===p||r(e)}T[m]&&n(T[m],(function(e){e()}))}else u&&_.log(m,"Element uninstalled before being detectable.");delete T[m],++c===o.length&&s()})));u&&_.log(m,"Already detecable, adding listener."),a(i,e,l),c++})),c===o.length&&s()},removeListener:E.removeListener,removeAllListeners:E.removeAllListeners,uninstall:function(e){if(!e)return _.error("At least one element is required.");if(g(e))e=[e];else{if(!p(e))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=b(e)}n(e,(function(e){E.removeAllListeners(e),w.uninstall(e),d.cleanState(e)}))},initDocument:function(e){w.initDocument&&w.initDocument(e)}}}},8452:function(e){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var o=t(e);return o&&!!o.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,o){t(e).busy=!!o}}}},5805:function(e){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},9799:function(e){"use strict";e.exports=function(e){var t=e.idGenerator,o=e.stateHandler.getState;return{get:function(e){var t=o(e);return t&&void 0!==t.id?t.id:null},set:function(e){var n=o(e);if(!n)throw new Error("setId required the element to have a resize detection state.");var l=t.generate();return n.id=l,l}}}},6199:function(e){"use strict";e.exports=function(e){var t={};function o(o){var n=e.get(o);return void 0===n?[]:t[n]||[]}return{get:o,add:function(o,n){var l=e.get(o);t[l]||(t[l]=[]),t[l].push(n)},removeListener:function(e,t){for(var n=o(e),l=0,r=n.length;l<r;++l)if(n[l]===t){n.splice(l,1);break}},removeAllListeners:function(e){var t=o(e);t&&(t.length=0)}}}},1724:function(e){"use strict";e.exports=function(e){function t(){}var o={log:t,warn:t,error:t};if(!e&&window.console){var n=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var o=0;o<arguments.length;o++)e(arguments[o])}};n(o,"log"),n(o,"warn"),n(o,"error")}return o}},1931:function(e){"use strict";function t(e){return e._erd}e.exports={initState:function(e){return e._erd={},t(e)},getState:t,cleanState:function(e){delete e._erd}}},3999:function(e,t){"use strict";var o=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!o.test(e))return!1;var t=e.split("@");return!(t[0].length>64||t[1].split(".").some((function(e){return e.length>63})))}},2988:function(e,t,o){var n=o(1755),l=o(6665).each;function r(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var o=this;this.listener=function(e){o.mql=e.currentTarget||e,o.assess()},this.mql.addListener(this.listener)}r.prototype={constuctor:r,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;l(t,(function(o,n){if(o.equals(e))return o.destroy(),!t.splice(n,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){l(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";l(this.handlers,(function(t){t[e]()}))}},e.exports=r},8177:function(e,t,o){var n=o(2988),l=o(6665),r=l.each,a=l.isFunction,c=l.isArray;function i(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}i.prototype={constructor:i,register:function(e,t,o){var l=this.queries,i=o&&this.browserIsIncapable;return l[e]||(l[e]=new n(e,i)),a(t)&&(t={match:t}),c(t)||(t=[t]),r(t,(function(t){a(t)&&(t={match:t}),l[e].addHandler(t)})),this},unregister:function(e,t){var o=this.queries[e];return o&&(t?o.removeHandler(t):(o.clear(),delete this.queries[e])),this}},e.exports=i},1755:function(e){function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},6665:function(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var o=0,n=e.length;o<n&&!1!==t(e[o],o);o++);}}},4974:function(e,t,o){var n=o(8177);e.exports=new n},7158:function(e,t,o){var n,l;"undefined"!=typeof window&&window,void 0===(l="function"==typeof(n=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var o=this._events=this._events||{},n=o[e]=o[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var o=this._onceEvents=this._onceEvents||{};return(o[e]=o[e]||{})[t]=!0,this}},t.off=function(e,t){var o=this._events&&this._events[e];if(o&&o.length){var n=o.indexOf(t);return-1!=n&&o.splice(n,1),this}},t.emitEvent=function(e,t){var o=this._events&&this._events[e];if(o&&o.length){o=o.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],l=0;l<o.length;l++){var r=o[l];n&&n[r]&&(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?n.call(t,o,t,e):n)||(e.exports=l)},9303:function(e){"use strict";var t=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,n){if(o(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var l=Object.keys(e),r=Object.keys(n);if(l.length!==r.length)return!1;for(var a=0;a<l.length;a++)if(!t.call(n,l[a])||!o(e[l[a]],n[l[a]]))return!1;return!0}},9047:function(e,t,o){var n,l;!function(r,a){n=[o(9741)],l=function(e){return function(e,t){"use strict";var o={extend:function(e,t){for(var o in t)e[o]=t[o];return e},modulo:function(e,t){return(e%t+t)%t}},n=Array.prototype.slice;o.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?n.call(e):[e]},o.removeFrom=function(e,t){var o=e.indexOf(t);-1!=o&&e.splice(o,1)},o.getParent=function(e,o){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,o))return e},o.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},o.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},o.filterFindElements=function(e,n){e=o.makeArray(e);var l=[];return e.forEach((function(e){if(e instanceof HTMLElement)if(n){t(e,n)&&l.push(e);for(var o=e.querySelectorAll(n),r=0;r<o.length;r++)l.push(o[r])}else l.push(e)})),l},o.debounceMethod=function(e,t,o){o=o||100;var n=e.prototype[t],l=t+"Timeout";e.prototype[t]=function(){var e=this[l];clearTimeout(e);var t=arguments,r=this;this[l]=setTimeout((function(){n.apply(r,t),delete r[l]}),o)}},o.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},o.toDashed=function(e){return e.replace(/(.)([A-Z])/g,(function(e,t,o){return t+"-"+o})).toLowerCase()};var l=e.console;return o.htmlInit=function(t,n){o.docReady((function(){var r=o.toDashed(n),a="data-"+r,c=document.querySelectorAll("["+a+"]"),i=document.querySelectorAll(".js-"+r),s=o.makeArray(c).concat(o.makeArray(i)),u=a+"-options",d=e.jQuery;s.forEach((function(e){var o,r=e.getAttribute(a)||e.getAttribute(u);try{o=r&&JSON.parse(r)}catch(t){return void(l&&l.error("Error parsing "+a+" on "+e.className+": "+t))}var c=new t(e,o);d&&d.data(e,n,c)}))}))},o}(r,e)}.apply(t,n),void 0===l||(e.exports=l)}(window)},3597:function(e,t,o){var n,l;window,n=[o(7217),o(9047)],void 0===(l=function(e,t){return function(e,t,o){"use strict";var n=t.prototype;return n.insert=function(e,t){var o=this._makeCells(e);if(o&&o.length){var n=this.cells.length;t=void 0===t?n:t;var l=function(e){var t=document.createDocumentFragment();return e.forEach((function(e){t.appendChild(e.element)})),t}(o),r=t==n;if(r)this.slider.appendChild(l);else{var a=this.cells[t].element;this.slider.insertBefore(l,a)}if(0===t)this.cells=o.concat(this.cells);else if(r)this.cells=this.cells.concat(o);else{var c=this.cells.splice(t,n-t);this.cells=this.cells.concat(o).concat(c)}this._sizeCells(o),this.cellChange(t,!0)}},n.append=function(e){this.insert(e,this.cells.length)},n.prepend=function(e){this.insert(e,0)},n.remove=function(e){var t=this.getCells(e);if(t&&t.length){var n=this.cells.length-1;t.forEach((function(e){e.remove();var t=this.cells.indexOf(e);n=Math.min(t,n),o.removeFrom(this.cells,e)}),this),this.cellChange(n,!0)}},n.cellSizeChange=function(e){var t=this.getCell(e);if(t){t.getSize();var o=this.cells.indexOf(t);this.cellChange(o)}},n.cellChange=function(e,t){var o=this.selectedElement;this._positionCells(e),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(o);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[e]),this.select(this.selectedIndex),t&&this.positionSliderAtSelected()},t}(0,e,t)}.apply(t,n))||(e.exports=l)},7880:function(e,t,o){var n,l;window,n=[o(9047)],void 0===(l=function(e){return function(e,t){"use strict";return{startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var e=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating){var t=this;requestAnimationFrame((function(){t.animate()}))}},positionSlider:function(){var e=this.x;this.options.wrapAround&&this.cells.length>1&&(e=t.modulo(e,this.slideableWidth),e-=this.slideableWidth,this.shiftWrapCells(e)),this.setTranslateX(e,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(e,t){e+=this.cursorPosition,e=this.options.rightToLeft?-e:e;var o=this.getPositionValue(e);this.slider.style.transform=t?"translate3d("+o+",0,0)":"translateX("+o+")"},dispatchScrollEvent:function(){var e=this.slides[0];if(e){var t=-this.x-e.target,o=t/this.slidesWidth;this.dispatchEvent("scroll",null,[o,t])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(e){return this.options.percentPosition?.01*Math.round(e/this.size.innerWidth*1e4)+"%":Math.round(e)+"px"},settle:function(e){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*e)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(e){var t=this.cursorPosition+e;this._shiftCells(this.beforeShiftCells,t,-1);var o=this.size.innerWidth-(e+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,o,1)},_shiftCells:function(e,t,o){for(var n=0;n<e.length;n++){var l=e[n],r=t>0?o:0;l.wrapShift(r),t-=l.size.outerWidth}},_unshiftCells:function(e){if(e&&e.length)for(var t=0;t<e.length;t++)e[t].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(e){this.velocity+=e},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var e=this.dragX-this.x-this.velocity;this.applyForce(e)}},applySelectedAttraction:function(){if((!this.isDraggable||!this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var e=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(e)}}}}(0,e)}.apply(t,n))||(e.exports=l)},7229:function(e,t,o){var n,l;window,n=[o(6131)],void 0===(l=function(e){return function(e,t){"use strict";function o(e,t){this.element=e,this.parent=t,this.create()}var n=o.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0},n.destroy=function(){this.unselect(),this.element.style.position="";var e=this.parent.originSide;this.element.style[e]="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=t(this.element)},n.setPosition=function(e){this.x=e,this.updateTarget(),this.renderPosition(e)},n.updateTarget=n.setDefaultTarget=function(){var e="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[e]+this.size.width*this.parent.cellAlign},n.renderPosition=function(e){var t=this.parent.originSide;this.element.style[t]=this.parent.getPositionValue(e)},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(e){this.shift=e,this.renderPosition(this.x+this.parent.slideableWidth*e)},n.remove=function(){this.element.parentNode.removeChild(this.element)},o}(0,e)}.apply(t,n))||(e.exports=l)},9690:function(e,t,o){var n,l;!function(r,a){n=[o(7217),o(4842),o(9047)],l=function(e,t,o){return function(e,t,o,n){"use strict";n.extend(t.defaults,{draggable:">1",dragThreshold:3}),t.createMethods.push("_createDrag");var l=t.prototype;n.extend(l,o.prototype),l._touchActionValue="pan-y";var r="createTouch"in document,a=!1;l._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),r&&!a&&(e.addEventListener("touchmove",(function(){})),a=!0)},l.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},l.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},l.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},l.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},l.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},l._uiChangeDrag=function(){delete this.isFreeScrolling},l.pointerDown=function(t,o){this.isDraggable?this.okayPointerDown(t)&&(this._pointerDownPreventDefault(t),this.pointerDownFocus(t),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=i(),e.addEventListener("scroll",this),this._pointerDownDefault(t,o)):this._pointerDownDefault(t,o)},l._pointerDownDefault=function(e,t){this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},this._bindPostStartEvents(e),this.dispatchEvent("pointerDown",e,[t])};var c={INPUT:!0,TEXTAREA:!0,SELECT:!0};function i(){return{x:e.pageXOffset,y:e.pageYOffset}}return l.pointerDownFocus=function(e){c[e.target.nodeName]||this.focus()},l._pointerDownPreventDefault=function(e){var t="touchstart"==e.type,o="touch"==e.pointerType,n=c[e.target.nodeName];t||o||n||e.preventDefault()},l.hasDragStarted=function(e){return Math.abs(e.x)>this.options.dragThreshold},l.pointerUp=function(e,t){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",e,[t]),this._dragPointerUp(e,t)},l.pointerDone=function(){e.removeEventListener("scroll",this),delete this.pointerDownScroll},l.dragStart=function(t,o){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),e.removeEventListener("scroll",this),this.dispatchEvent("dragStart",t,[o]))},l.pointerMove=function(e,t){var o=this._dragPointerMove(e,t);this.dispatchEvent("pointerMove",e,[t,o]),this._dragMove(e,t,o)},l.dragMove=function(e,t,o){if(this.isDraggable){e.preventDefault(),this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;this.options.wrapAround&&(o.x%=this.slideableWidth);var l=this.dragStartPosition+o.x*n;if(!this.options.wrapAround&&this.slides.length){var r=Math.max(-this.slides[0].target,this.dragStartPosition);l=l>r?.5*(l+r):l;var a=Math.min(-this.getLastSlide().target,this.dragStartPosition);l=l<a?.5*(l+a):l}this.dragX=l,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",e,[t,o])}},l.dragEnd=function(e,t){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var o=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||o!=this.selectedIndex||(o+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(o),delete this.isDragSelect,this.dispatchEvent("dragEnd",e,[t])}},l.dragEndRestingSelect=function(){var e=this.getRestingPosition(),t=Math.abs(this.getSlideDistance(-e,this.selectedIndex)),o=this._getClosestResting(e,t,1),n=this._getClosestResting(e,t,-1);return o.distance<n.distance?o.index:n.index},l._getClosestResting=function(e,t,o){for(var n=this.selectedIndex,l=1/0,r=this.options.contain&&!this.options.wrapAround?function(e,t){return e<=t}:function(e,t){return e<t};r(t,l)&&(n+=o,l=t,null!==(t=this.getSlideDistance(-e,n)));)t=Math.abs(t);return{distance:l,index:n-o}},l.getSlideDistance=function(e,t){var o=this.slides.length,l=this.options.wrapAround&&o>1,r=l?n.modulo(t,o):t,a=this.slides[r];if(!a)return null;var c=l?this.slideableWidth*Math.floor(t/o):0;return e-(a.target+c)},l.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var e=this.getSlideDistance(-this.dragX,this.selectedIndex),t=this.previousDragX-this.dragX;return e>0&&t>0?1:e<0&&t<0?-1:0},l.staticClick=function(e,t){var o=this.getParentCell(e.target),n=o&&o.element,l=o&&this.cells.indexOf(o);this.dispatchEvent("staticClick",e,[t,n,l])},l.onscroll=function(){var e=i(),t=this.pointerDownScroll.x-e.x,o=this.pointerDownScroll.y-e.y;(Math.abs(t)>3||Math.abs(o)>3)&&this._pointerDone()},t}(r,e,t,o)}.apply(t,n),void 0===l||(e.exports=l)}(window)},7217:function(e,t,o){var n,l;!function(r,a){n=[o(7158),o(6131),o(9047),o(7229),o(9714),o(7880)],l=function(e,t,o,n,l,a){return function(e,t,o,n,l,r,a){"use strict";var c=e.jQuery,i=e.getComputedStyle,s=e.console;function u(e,t){for(e=n.makeArray(e);e.length;)t.appendChild(e.shift())}var d=0,m={};function h(e,t){var o=n.getQueryElement(e);if(o){if(this.element=o,this.element.flickityGUID){var l=m[this.element.flickityGUID];return l&&l.option(t),l}c&&(this.$element=c(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t),this._create()}else s&&s.error("Bad element for Flickity: "+(o||e))}h.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},h.createMethods=[];var p=h.prototype;n.extend(p,t.prototype),p._create=function(){var t=this.guid=++d;for(var o in this.element.flickityGUID=t,m[t]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&e.addEventListener("resize",this),this.options.on){var n=this.options.on[o];this.on(o,n)}h.createMethods.forEach((function(e){this[e]()}),this),this.options.watchCSS?this.watchCSS():this.activate()},p.option=function(e){n.extend(this.options,e)},p.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),u(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},p._createSlider=function(){var e=document.createElement("div");e.className="flickity-slider",e.style[this.originSide]=0,this.slider=e},p._filterFindCellElements=function(e){return n.filterFindElements(e,this.options.cellSelector)},p.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},p._makeCells=function(e){return this._filterFindCellElements(e).map((function(e){return new l(e,this)}),this)},p.getLastCell=function(){return this.cells[this.cells.length-1]},p.getLastSlide=function(){return this.slides[this.slides.length-1]},p.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},p._positionCells=function(e){e=e||0,this.maxCellHeight=e&&this.maxCellHeight||0;var t=0;if(e>0){var o=this.cells[e-1];t=o.x+o.size.outerWidth}for(var n=this.cells.length,l=e;l<n;l++){var r=this.cells[l];r.setPosition(t),t+=r.size.outerWidth,this.maxCellHeight=Math.max(r.size.outerHeight,this.maxCellHeight)}this.slideableWidth=t,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},p._sizeCells=function(e){e.forEach((function(e){e.getSize()}))},p.updateSlides=function(){if(this.slides=[],this.cells.length){var e=new r(this);this.slides.push(e);var t="left"==this.originSide?"marginRight":"marginLeft",o=this._getCanCellFit();this.cells.forEach((function(n,l){if(e.cells.length){var a=e.outerWidth-e.firstMargin+(n.size.outerWidth-n.size[t]);o.call(this,l,a)||(e.updateTarget(),e=new r(this),this.slides.push(e)),e.addCell(n)}else e.addCell(n)}),this),e.updateTarget(),this.updateSelectedSlide()}},p._getCanCellFit=function(){var e=this.options.groupCells;if(!e)return function(){return!1};if("number"==typeof e){var t=parseInt(e,10);return function(e){return e%t!=0}}var o="string"==typeof e&&e.match(/^(\d+)%$/),n=o?parseInt(o[1],10)/100:1;return function(e,t){return t<=(this.size.innerWidth+1)*n}},p._init=p.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},p.getSize=function(){this.size=o(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var b={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return p.setCellAlign=function(){var e=b[this.options.cellAlign];this.cellAlign=e?e[this.originSide]:this.options.cellAlign},p.setGallerySize=function(){if(this.options.setGallerySize){var e=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=e+"px"}},p._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var e=this.cursorPosition,t=this.cells.length-1;this.beforeShiftCells=this._getGapCells(e,t,-1),e=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(e,0,1)}},p._getGapCells=function(e,t,o){for(var n=[];e>0;){var l=this.cells[t];if(!l)break;n.push(l),t+=o,e-=l.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var e=this.options.rightToLeft,t=e?"marginRight":"marginLeft",o=e?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[o],l=n<this.size.innerWidth,r=this.cursorPosition+this.cells[0].size[t],a=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((function(e){l?e.target=n*this.cellAlign:(e.target=Math.max(e.target,r),e.target=Math.min(e.target,a))}),this)}},p.dispatchEvent=function(e,t,o){var n=t?[t].concat(o):o;if(this.emitEvent(e,n),c&&this.$element){var l=e+=this.options.namespaceJQueryEvents?".flickity":"";if(t){var r=new c.Event(t);r.type=e,l=r}this.$element.trigger(l,o)}},p.select=function(e,t,o){if(this.isActive&&(e=parseInt(e,10),this._wrapSelect(e),(this.options.wrapAround||t)&&(e=n.modulo(e,this.slides.length)),this.slides[e])){var l=this.selectedIndex;this.selectedIndex=e,this.updateSelectedSlide(),o?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[e]),e!=l&&this.dispatchEvent("change",null,[e]),this.dispatchEvent("cellSelect")}},p._wrapSelect=function(e){var t=this.slides.length;if(!(this.options.wrapAround&&t>1))return e;var o=n.modulo(e,t),l=Math.abs(o-this.selectedIndex),r=Math.abs(o+t-this.selectedIndex),a=Math.abs(o-t-this.selectedIndex);!this.isDragSelect&&r<l?e+=t:!this.isDragSelect&&a<l&&(e-=t),e<0?this.x-=this.slideableWidth:e>=t&&(this.x+=this.slideableWidth)},p.previous=function(e,t){this.select(this.selectedIndex-1,e,t)},p.next=function(e,t){this.select(this.selectedIndex+1,e,t)},p.updateSelectedSlide=function(){var e=this.slides[this.selectedIndex];e&&(this.unselectSelectedSlide(),this.selectedSlide=e,e.select(),this.selectedCells=e.cells,this.selectedElements=e.getCellElements(),this.selectedCell=e.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var e=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(e&&"string"==typeof e&&this.queryCell(e))return void this.selectCell(e,!1,!0);var t=0;e&&this.slides[e]&&(t=e),this.select(t,!1,!0)}},p.selectCell=function(e,t,o){var n=this.queryCell(e);if(n){var l=this.getCellSlideIndex(n);this.select(l,t,o)}},p.getCellSlideIndex=function(e){for(var t=0;t<this.slides.length;t++)if(-1!=this.slides[t].cells.indexOf(e))return t},p.getCell=function(e){for(var t=0;t<this.cells.length;t++){var o=this.cells[t];if(o.element==e)return o}},p.getCells=function(e){e=n.makeArray(e);var t=[];return e.forEach((function(e){var o=this.getCell(e);o&&t.push(o)}),this),t},p.getCellElements=function(){return this.cells.map((function(e){return e.element}))},p.getParentCell=function(e){return this.getCell(e)||(e=n.getParent(e,".flickity-slider > *"),this.getCell(e))},p.getAdjacentCellElements=function(e,t){if(!e)return this.selectedSlide.getCellElements();t=void 0===t?this.selectedIndex:t;var o=this.slides.length;if(1+2*e>=o)return this.getCellElements();for(var l=[],r=t-e;r<=t+e;r++){var a=this.options.wrapAround?n.modulo(r,o):r,c=this.slides[a];c&&(l=l.concat(c.getCellElements()))}return l},p.queryCell=function(e){if("number"==typeof e)return this.cells[e];if("string"==typeof e){if(e.match(/^[#.]?[\d/]/))return;e=this.element.querySelector(e)}return this.getCell(e)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(e){"touchstart"!=e.type&&e.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(h,"onresize",150),p.resize=function(){if(this.isActive){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var e=this.selectedElements&&this.selectedElements[0];this.selectCell(e,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=i(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},p.onkeydown=function(e){var t=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!t){var o=h.keyboardHandlers[e.keyCode];o&&o.call(this)}},h.keyboardHandlers={37:function(){var e=this.options.rightToLeft?"next":"previous";this.uiChange(),this[e]()},39:function(){var e=this.options.rightToLeft?"previous":"next";this.uiChange(),this[e]()}},p.focus=function(){var t=e.pageYOffset;this.element.focus({preventScroll:!0}),e.pageYOffset!=t&&e.scrollTo(e.pageXOffset,t)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((function(e){e.destroy()})),this.element.removeChild(this.viewport),u(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),e.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete m[this.guid]},n.extend(p,a),h.data=function(e){var t=(e=n.getQueryElement(e))&&e.flickityGUID;return t&&m[t]},n.htmlInit(h,"flickity"),c&&c.bridget&&c.bridget("flickity",h),h.setJQuery=function(e){c=e},h.Cell=l,h.Slide=r,h}(r,e,t,o,n,l,a)}.apply(t,n),void 0===l||(e.exports=l)}(window)},2442:function(e,t,o){var n,l,r;window,l=[o(7217),o(9690),o(2410),o(7573),o(8516),o(3597),o(7227)],void 0===(r="function"==typeof(n=function(e){return e})?n.apply(t,l):n)||(e.exports=r)},7227:function(e,t,o){var n,l;window,n=[o(7217),o(9047)],void 0===(l=function(e,t){return function(e,t,o){"use strict";t.createMethods.push("_createLazyload");var n=t.prototype;function l(e,t){this.img=e,this.flickity=t,this.load()}return n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var e=this.options.lazyLoad;if(e){var t="number"==typeof e?e:0,n=this.getAdjacentCellElements(t),r=[];n.forEach((function(e){var t=function(e){if("IMG"==e.nodeName){var t=e.getAttribute("data-flickity-lazyload"),n=e.getAttribute("data-flickity-lazyload-src"),l=e.getAttribute("data-flickity-lazyload-srcset");if(t||n||l)return[e]}var r=e.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return o.makeArray(r)}(e);r=r.concat(t)})),r.forEach((function(e){new l(e,this)}),this)}},l.prototype.handleEvent=o.handleEvent,l.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var e=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),t=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=e,t&&this.img.setAttribute("srcset",t),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},l.prototype.onload=function(e){this.complete(e,"flickity-lazyloaded")},l.prototype.onerror=function(e){this.complete(e,"flickity-lazyerror")},l.prototype.complete=function(e,t){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var o=this.flickity.getParentCell(this.img),n=o&&o.element;this.flickity.cellSizeChange(n),this.img.classList.add(t),this.flickity.dispatchEvent("lazyLoad",e,n)},t.LazyLoader=l,t}(0,e,t)}.apply(t,n))||(e.exports=l)},7573:function(e,t,o){var n,l;window,n=[o(7217),o(4704),o(9047)],void 0===(l=function(e,t,o){return function(e,t,o,n){"use strict";function l(e){this.parent=e,this._create()}l.prototype=Object.create(o.prototype),l.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},l.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},l.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},l.prototype.setDots=function(){var e=this.parent.slides.length-this.dots.length;e>0?this.addDots(e):e<0&&this.removeDots(-e)},l.prototype.addDots=function(e){for(var t=document.createDocumentFragment(),o=[],n=this.dots.length,l=n+e,r=n;r<l;r++){var a=document.createElement("li");a.className="dot",a.setAttribute("aria-label","Page dot "+(r+1)),t.appendChild(a),o.push(a)}this.holder.appendChild(t),this.dots=this.dots.concat(o)},l.prototype.removeDots=function(e){this.dots.splice(this.dots.length-e,e).forEach((function(e){this.holder.removeChild(e)}),this)},l.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},l.prototype.onTap=l.prototype.onClick=function(e){var t=e.target;if("LI"==t.nodeName){this.parent.uiChange();var o=this.dots.indexOf(t);this.parent.select(o)}},l.prototype.destroy=function(){this.deactivate(),this.allOff()},t.PageDots=l,n.extend(t.defaults,{pageDots:!0}),t.createMethods.push("_createPageDots");var r=t.prototype;return r._createPageDots=function(){this.options.pageDots&&(this.pageDots=new l(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},r.activatePageDots=function(){this.pageDots.activate()},r.updateSelectedPageDots=function(){this.pageDots.updateSelected()},r.updatePageDots=function(){this.pageDots.setDots()},r.deactivatePageDots=function(){this.pageDots.deactivate()},t.PageDots=l,t}(0,e,t,o)}.apply(t,n))||(e.exports=l)},8516:function(e,t,o){var n,l;window,n=[o(7158),o(9047),o(7217)],void 0===(l=function(e,t,o){return function(e,t,o){"use strict";function n(e){this.parent=e,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}n.prototype=Object.create(e.prototype),n.prototype.play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){if("playing"==this.state){var e=this.parent.options.autoPlay;e="number"==typeof e?e:3e3;var t=this;this.clear(),this.timeout=setTimeout((function(){t.parent.next(!0),t.tick()}),e)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},t.extend(o.defaults,{pauseAutoPlayOnHover:!0}),o.createMethods.push("_createPlayer");var l=o.prototype;return l._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},l.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},l.playPlayer=function(){this.player.play()},l.stopPlayer=function(){this.player.stop()},l.pausePlayer=function(){this.player.pause()},l.unpausePlayer=function(){this.player.unpause()},l.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},l.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},l.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},o.Player=n,o}(e,t,o)}.apply(t,n))||(e.exports=l)},2410:function(e,t,o){var n,l;window,n=[o(7217),o(4704),o(9047)],void 0===(l=function(e,t,o){return function(e,t,o,n){"use strict";var l="http://www.w3.org/2000/svg";function r(e,t){this.direction=e,this.parent=t,this._create()}r.prototype=Object.create(o.prototype),r.prototype._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var e=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==e;var t=this.element=document.createElement("button");t.className="flickity-button flickity-prev-next-button",t.className+=this.isPrevious?" previous":" next",t.setAttribute("type","button"),this.disable(),t.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var o=this.createSVG();t.appendChild(o),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},r.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},r.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},r.prototype.createSVG=function(){var e=document.createElementNS(l,"svg");e.setAttribute("class","flickity-button-icon"),e.setAttribute("viewBox","0 0 100 100");var t,o=document.createElementNS(l,"path"),n="string"==typeof(t=this.parent.options.arrowShape)?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z";return o.setAttribute("d",n),o.setAttribute("class","arrow"),this.isLeft||o.setAttribute("transform","translate(100, 100) rotate(180) "),e.appendChild(o),e},r.prototype.handleEvent=n.handleEvent,r.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var e=this.isPrevious?"previous":"next";this.parent[e]()}},r.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},r.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},r.prototype.update=function(){var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var t=e.length?e.length-1:0,o=this.isPrevious?0:t;this[this.parent.selectedIndex==o?"disable":"enable"]()}},r.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(t.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),t.createMethods.push("_createPrevNextButtons");var a=t.prototype;return a._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new r(-1,this),this.nextButton=new r(1,this),this.on("activate",this.activatePrevNextButtons))},a.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},a.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},t.PrevNextButton=r,t}(0,e,t,o)}.apply(t,n))||(e.exports=l)},9714:function(e,t,o){var n,l;window,void 0===(l="function"==typeof(n=function(){"use strict";function e(e){this.parent=e,this.isOriginLeft="left"==e.originSide,this.cells=[],this.outerWidth=0,this.height=0}var t=e.prototype;return t.addCell=function(e){if(this.cells.push(e),this.outerWidth+=e.size.outerWidth,this.height=Math.max(e.size.outerHeight,this.height),1==this.cells.length){this.x=e.x;var t=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=e.size[t]}},t.updateTarget=function(){var e=this.isOriginLeft?"marginRight":"marginLeft",t=this.getLastCell(),o=t?t.size[e]:0,n=this.outerWidth-(this.firstMargin+o);this.target=this.x+this.firstMargin+n*this.parent.cellAlign},t.getLastCell=function(){return this.cells[this.cells.length-1]},t.select=function(){this.cells.forEach((function(e){e.select()}))},t.unselect=function(){this.cells.forEach((function(e){e.unselect()}))},t.getCellElements=function(){return this.cells.map((function(e){return e.element}))},e})?n.call(t,o,t,e):n)||(e.exports=l)},6131:function(e,t,o){var n,l;window,void 0===(l="function"==typeof(n=function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}var t="undefined"==typeof console?function(){}:function(e){console.error(e)},o=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=o.length;function l(e){var o=getComputedStyle(e);return o||t("Style returned "+o+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),o}var r,a=!1;function c(t){if(function(){if(!a){a=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var o=document.body||document.documentElement;o.appendChild(t);var n=l(t);r=200==Math.round(e(n.width)),c.isBoxSizeOuter=r,o.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var i=l(t);if("none"==i.display)return function(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<n;t++)e[o[t]]=0;return e}();var s={};s.width=t.offsetWidth,s.height=t.offsetHeight;for(var u=s.isBorderBox="border-box"==i.boxSizing,d=0;d<n;d++){var m=o[d],h=i[m],p=parseFloat(h);s[m]=isNaN(p)?0:p}var b=s.paddingLeft+s.paddingRight,g=s.paddingTop+s.paddingBottom,f=s.marginLeft+s.marginRight,v=s.marginTop+s.marginBottom,_=s.borderLeftWidth+s.borderRightWidth,k=s.borderTopWidth+s.borderBottomWidth,y=u&&r,w=e(i.width);!1!==w&&(s.width=w+(y?0:b+_));var E=e(i.height);return!1!==E&&(s.height=E+(y?0:g+k)),s.innerWidth=s.width-(b+_),s.innerHeight=s.height-(g+k),s.outerWidth=s.width+f,s.outerHeight=s.height+v,s}}return c})?n.call(t,o,t,e):n)||(e.exports=l)},885:function(e){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},8276:function(e,t,o){var n="html",l="head",r="body",a=/<([a-zA-Z]+[0-9]?)/,c=/<head.*>/i,i=/<body.*>/i,s=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var d=new window.DOMParser;s=u=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),d.parseFromString(e,"text/html")}}if(document.implementation){var m=o(1507).isIE,h=document.implementation.createHTMLDocument(m()?"html-dom-parser":void 0);s=function(e,t){return t?(h.documentElement.getElementsByTagName(t)[0].innerHTML=e,h):(h.documentElement.innerHTML=e,h)}}var p,b=document.createElement("template");b.content&&(p=function(e){return b.innerHTML=e,b.content.childNodes}),e.exports=function(e){var t,o,d,m,h=e.match(a);switch(h&&h[1]&&(t=h[1].toLowerCase()),t){case n:return o=u(e),c.test(e)||(d=o.getElementsByTagName(l)[0])&&d.parentNode.removeChild(d),i.test(e)||(d=o.getElementsByTagName(r)[0])&&d.parentNode.removeChild(d),o.getElementsByTagName(n);case l:case r:return m=s(e).getElementsByTagName(t),i.test(e)&&c.test(e)?m[0].parentNode.childNodes:m;default:return p?p(e):s(e,r).getElementsByTagName(r)[0].childNodes}}},4152:function(e,t,o){var n=o(8276),l=o(1507).formatDOM,r=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,o=e.match(r);return o&&o[1]&&(t=o[1]),l(n(e),null,t)}},1507:function(e,t,o){for(var n,l=o(885),r=o(7790),a=l.CASE_SENSITIVE_TAG_NAMES,c=r.Comment,i=r.Element,s=r.ProcessingInstruction,u=r.Text,d={},m=0,h=a.length;m<h;m++)n=a[m],d[n.toLowerCase()]=n;function p(e){for(var t,o={},n=0,l=e.length;n<l;n++)o[(t=e[n]).name]=t.value;return o}function b(e){return function(e){return d[e]}(e=e.toLowerCase())||e}e.exports={formatAttributes:p,formatDOM:function e(t,o,n){o=o||null;for(var l=[],r=0,a=t.length;r<a;r++){var d,m=t[r];switch(m.nodeType){case 1:(d=new i(b(m.nodeName),p(m.attributes))).children=e(m.childNodes,d);break;case 3:d=new u(m.nodeValue);break;case 8:d=new c(m.nodeValue);break;default:continue}var h=l[r-1]||null;h&&(h.next=d),d.parent=o,d.prev=h,d.next=null,l.push(d)}return n&&((d=new s(n.substring(0,n.indexOf(" ")).toLowerCase(),n)).next=l[0]||null,d.parent=o,l.unshift(d),l[1]&&(l[1].prev=l[0])),l},isIE:function(){return/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},488:function(e,t,o){var n=o(3670),l=o(484),r=o(4152),a={lowerCaseAttributeNames:!1};function c(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:n(r(e,(t=t||{}).htmlparser2||a),t)}c.domToReact=n,c.htmlToDOM=r,c.attributesToProps=l,c.Element=o(7790).Element,e.exports=c,e.exports.default=c},484:function(e,t,o){var n=o(83),l=o(4606);e.exports=function(e){var t,o,r,a,c;e=e||{};var i={};for(t in e)if(r=e[t],n.isCustomAttribute(t))i[t]=r;else if(o=t.toLowerCase(),a=n.possibleStandardNames[o])switch(i[a]=r,(c=n.getPropertyInfo(a))&&c.type){case n.BOOLEAN:i[a]=!0;break;case n.OVERLOADED_BOOLEAN:""===r&&(i[a]=!0)}else l.PRESERVE_CUSTOM_ATTRIBUTES&&(i[t]=r);return l.setStyleProp(e.style,i),i}},3670:function(e,t,o){var n=o(9196),l=o(484),r=o(4606),a=r.setStyleProp;function c(e){return r.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&r.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,o){for(var r,i,s,u,d=(o=o||{}).library||n,m=d.cloneElement,h=d.createElement,p=d.isValidElement,b=[],g="function"==typeof o.replace,f=o.trim,v=0,_=t.length;v<_;v++)if(r=t[v],g&&p(i=o.replace(r)))_>1&&(i=m(i,{key:i.key||v})),b.push(i);else if("text"!==r.type){switch(s=r.attribs,c(r)?a(s.style,s):s&&(s=l(s)),u=null,r.type){case"script":case"style":r.children[0]&&(s.dangerouslySetInnerHTML={__html:r.children[0].data});break;case"tag":"textarea"===r.name&&r.children[0]?s.defaultValue=r.children[0].data:r.children&&r.children.length&&(u=e(r.children,o));break;default:continue}_>1&&(s.key=v),b.push(h(r.name,s,u))}else f?r.data.trim()&&b.push(r.data):b.push(r.data);return 1===b.length?b[0]:b}},4606:function(e,t,o){var n=o(9196),l=o(1476).default,r={reactCompat:!0},a=n.version.split(".")[0]>=16;e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var o,n,l="function"==typeof t,r={},a={};for(o in e)n=e[o],l&&(r=t(o,n))&&2===r.length?a[r[0]]=r[1]:"string"==typeof n&&(a[n]=o);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=l(e,r)}catch(e){t.style={}}}}},7564:function(e,t,o){var n,l;!function(r,a){"use strict";n=[o(7158)],l=function(e){return function(e,t){var o=e.jQuery,n=e.console;function l(e,t){for(var o in t)e[o]=t[o];return e}var r=Array.prototype.slice;function a(e,t,c){if(!(this instanceof a))return new a(e,t,c);var i,s=e;"string"==typeof e&&(s=document.querySelectorAll(e)),s?(this.elements=(i=s,Array.isArray(i)?i:"object"==typeof i&&"number"==typeof i.length?r.call(i):[i]),this.options=l({},this.options),"function"==typeof t?c=t:l(this.options,t),c&&this.on("always",c),this.getImages(),o&&(this.jqDeferred=new o.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(s||e))}a.prototype=Object.create(t.prototype),a.prototype.options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&c[t]){for(var o=e.querySelectorAll("img"),n=0;n<o.length;n++){var l=o[n];this.addImage(l)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(n=0;n<r.length;n++){var a=r[n];this.addElementBackgroundImages(a)}}}};var c={1:!0,9:!0,11:!0};function i(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}return a.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var o=/url\((['"])?(.*?)\1\)/gi,n=o.exec(t.backgroundImage);null!==n;){var l=n&&n[2];l&&this.addBackground(l,e),n=o.exec(t.backgroundImage)}},a.prototype.addImage=function(e){var t=new i(e);this.images.push(t)},a.prototype.addBackground=function(e,t){var o=new s(e,t);this.images.push(o)},a.prototype.check=function(){var e=this;function t(t,o,n){setTimeout((function(){e.progress(t,o,n)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(e){e.once("progress",t),e.check()})):this.complete()},a.prototype.progress=function(e,t,o){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+o,e,t)},a.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},i.prototype=Object.create(t.prototype),i.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(i.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},a.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((o=t).fn.imagesLoaded=function(e,t){return new a(this,e,t).jqDeferred.promise(o(this))})},a.makeJQueryPlugin(),a}(r,e)}.apply(t,n),void 0===l||(e.exports=l)}("undefined"!=typeof window?window:this)},8139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,o=/\n/g,n=/^\s*/,l=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,i=/^\s+|\s+$/g,s="";function u(e){return e?e.replace(i,s):s}e.exports=function(e,i){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];i=i||{};var d=1,m=1;function h(e){var t=e.match(o);t&&(d+=t.length);var n=e.lastIndexOf("\n");m=~n?e.length-n:m+e.length}function p(){var e={line:d,column:m};return function(t){return t.position=new b(e),_(),t}}function b(e){this.start=e,this.end={line:d,column:m},this.source=i.source}b.prototype.content=e;var g=[];function f(t){var o=new Error(i.source+":"+d+":"+m+": "+t);if(o.reason=t,o.filename=i.source,o.line=d,o.column=m,o.source=e,!i.silent)throw o;g.push(o)}function v(t){var o=t.exec(e);if(o){var n=o[0];return h(n),e=e.slice(n.length),o}}function _(){v(n)}function k(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var o=2;s!=e.charAt(o)&&("*"!=e.charAt(o)||"/"!=e.charAt(o+1));)++o;if(o+=2,s===e.charAt(o-1))return f("End of comment missing");var n=e.slice(2,o-2);return m+=2,h(n),e=e.slice(o),m+=2,t({type:"comment",comment:n})}}function w(){var e=p(),o=v(l);if(o){if(y(),!v(r))return f("property missing ':'");var n=v(a),i=e({type:"declaration",property:u(o[0].replace(t,s)),value:n?u(n[0].replace(t,s)):s});return v(c),i}}return _(),function(){var e,t=[];for(k(t);e=w();)!1!==e&&(t.push(e),k(t));return t}()}},1143:function(e){"use strict";e.exports=function(e,t,o,n,l,r,a,c){if(!e){var i;if(void 0===t)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[o,n,l,r,a,c],u=0;(i=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw i.framesToPop=1,i}}},973:function(e,t,o){var n=o(1169),l=function(e){var t="",o=Object.keys(e);return o.forEach((function(l,r){var a=e[l];(function(e){return/[height|width]$/.test(e)})(l=n(l))&&"number"==typeof a&&(a+="px"),t+=!0===a?l:!1===a?"not "+l:"("+l+": "+a+")",r<o.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(o,n){t+=l(o),n<e.length-1&&(t+=", ")})),t):l(e)}},1296:function(e,t,o){var n=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,i="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=i||s||Function("return this")(),d=Object.prototype.toString,m=Math.max,h=Math.min,p=function(){return u.Date.now()};function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var o=r.test(e);return o||a.test(e)?c(e.slice(2),o?2:8):l.test(e)?NaN:+e}e.exports=function(e,t,o){var n,l,r,a,c,i,s=0,u=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var o=n,r=l;return n=l=void 0,s=t,a=e.apply(r,o)}function _(e){return s=e,c=setTimeout(y,t),u?v(e):a}function k(e){var o=e-i;return void 0===i||o>=t||o<0||d&&e-s>=r}function y(){var e=p();if(k(e))return w(e);c=setTimeout(y,function(e){var o=t-(e-i);return d?h(o,r-(e-s)):o}(e))}function w(e){return c=void 0,f&&n?v(e):(n=l=void 0,a)}function E(){var e=p(),o=k(e);if(n=arguments,l=this,i=e,o){if(void 0===c)return _(i);if(d)return c=setTimeout(y,t),v(i)}return void 0===c&&(c=setTimeout(y,t)),a}return t=g(t)||0,b(o)&&(u=!!o.leading,r=(d="maxWait"in o)?m(g(o.maxWait)||0,t):r,f="trailing"in o?!!o.trailing:f),E.cancel=function(){void 0!==c&&clearTimeout(c),s=0,n=i=l=c=void 0},E.flush=function(){return void 0===c?a:w(p())},E}},8552:function(e,t,o){var n=o(852)(o(5639),"DataView");e.exports=n},1989:function(e,t,o){var n=o(1789),l=o(401),r=o(7667),a=o(1327),c=o(1866);function i(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}i.prototype.clear=n,i.prototype.delete=l,i.prototype.get=r,i.prototype.has=a,i.prototype.set=c,e.exports=i},6425:function(e,t,o){var n=o(3118),l=o(9435);function r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}r.prototype=n(l.prototype),r.prototype.constructor=r,e.exports=r},8407:function(e,t,o){var n=o(7040),l=o(4125),r=o(2117),a=o(7518),c=o(4705);function i(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}i.prototype.clear=n,i.prototype.delete=l,i.prototype.get=r,i.prototype.has=a,i.prototype.set=c,e.exports=i},7548:function(e,t,o){var n=o(3118),l=o(9435);function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}r.prototype=n(l.prototype),r.prototype.constructor=r,e.exports=r},7071:function(e,t,o){var n=o(852)(o(5639),"Map");e.exports=n},3369:function(e,t,o){var n=o(4785),l=o(1285),r=o(6e3),a=o(9916),c=o(5265);function i(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}i.prototype.clear=n,i.prototype.delete=l,i.prototype.get=r,i.prototype.has=a,i.prototype.set=c,e.exports=i},3818:function(e,t,o){var n=o(852)(o(5639),"Promise");e.exports=n},8525:function(e,t,o){var n=o(852)(o(5639),"Set");e.exports=n},8668:function(e,t,o){var n=o(3369),l=o(619),r=o(2385);function a(e){var t=-1,o=null==e?0:e.length;for(this.__data__=new n;++t<o;)this.add(e[t])}a.prototype.add=a.prototype.push=l,a.prototype.has=r,e.exports=a},6384:function(e,t,o){var n=o(8407),l=o(7465),r=o(3779),a=o(7599),c=o(4758),i=o(4309);function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=l,s.prototype.delete=r,s.prototype.get=a,s.prototype.has=c,s.prototype.set=i,e.exports=s},2705:function(e,t,o){var n=o(5639).Symbol;e.exports=n},1149:function(e,t,o){var n=o(5639).Uint8Array;e.exports=n},577:function(e,t,o){var n=o(852)(o(5639),"WeakMap");e.exports=n},6874:function(e){e.exports=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}},7412:function(e){e.exports=function(e,t){for(var o=-1,n=null==e?0:e.length;++o<n&&!1!==t(e[o],o,e););return e}},4963:function(e){e.exports=function(e,t){for(var o=-1,n=null==e?0:e.length,l=0,r=[];++o<n;){var a=e[o];t(a,o,e)&&(r[l++]=a)}return r}},7443:function(e,t,o){var n=o(2118);e.exports=function(e,t){return!(null==e||!e.length)&&n(e,t,0)>-1}},4636:function(e,t,o){var n=o(2545),l=o(5694),r=o(1469),a=o(4144),c=o(5776),i=o(6719),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var o=r(e),u=!o&&l(e),d=!o&&!u&&a(e),m=!o&&!u&&!d&&i(e),h=o||u||d||m,p=h?n(e.length,String):[],b=p.length;for(var g in e)!t&&!s.call(e,g)||h&&("length"==g||d&&("offset"==g||"parent"==g)||m&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||c(g,b))||p.push(g);return p}},9932:function(e){e.exports=function(e,t){for(var o=-1,n=null==e?0:e.length,l=Array(n);++o<n;)l[o]=t(e[o],o,e);return l}},2488:function(e){e.exports=function(e,t){for(var o=-1,n=t.length,l=e.length;++o<n;)e[l+o]=t[o];return e}},2663:function(e){e.exports=function(e,t,o,n){var l=-1,r=null==e?0:e.length;for(n&&r&&(o=e[++l]);++l<r;)o=t(o,e[l],l,e);return o}},2908:function(e){e.exports=function(e,t){for(var o=-1,n=null==e?0:e.length;++o<n;)if(t(e[o],o,e))return!0;return!1}},4286:function(e){e.exports=function(e){return e.split("")}},4865:function(e,t,o){var n=o(9465),l=o(7813),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,o){var a=e[t];r.call(e,t)&&l(a,o)&&(void 0!==o||t in e)||n(e,t,o)}},8470:function(e,t,o){var n=o(7813);e.exports=function(e,t){for(var o=e.length;o--;)if(n(e[o][0],t))return o;return-1}},4037:function(e,t,o){var n=o(8363),l=o(3674);e.exports=function(e,t){return e&&n(t,l(t),e)}},3886:function(e,t,o){var n=o(8363),l=o(1704);e.exports=function(e,t){return e&&n(t,l(t),e)}},9465:function(e,t,o){var n=o(8777);e.exports=function(e,t,o){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}},5990:function(e,t,o){var n=o(6384),l=o(7412),r=o(4865),a=o(4037),c=o(3886),i=o(4626),s=o(278),u=o(5341),d=o(1911),m=o(8234),h=o(6904),p=o(4160),b=o(3824),g=o(9148),f=o(8517),v=o(1469),_=o(4144),k=o(6688),y=o(3218),w=o(2928),E=o(3674),x=o(1704),C="[object Arguments]",S="[object Function]",z="[object Object]",T={};T[C]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[z]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[S]=T["[object WeakMap]"]=!1,e.exports=function e(t,o,P,N,B,O){var R,M=1&o,A=2&o,L=4&o;if(P&&(R=B?P(t,N,B,O):P(t)),void 0!==R)return R;if(!y(t))return t;var I=v(t);if(I){if(R=b(t),!M)return s(t,R)}else{var D=p(t),F=D==S||"[object GeneratorFunction]"==D;if(_(t))return i(t,M);if(D==z||D==C||F&&!B){if(R=A||F?{}:f(t),!M)return A?d(t,c(R,t)):u(t,a(R,t))}else{if(!T[D])return B?t:{};R=g(t,D,M)}}O||(O=new n);var V=O.get(t);if(V)return V;O.set(t,R),w(t)?t.forEach((function(n){R.add(e(n,o,P,n,t,O))})):k(t)&&t.forEach((function(n,l){R.set(l,e(n,o,P,l,t,O))}));var j=I?void 0:(L?A?h:m:A?x:E)(t);return l(j||t,(function(n,l){j&&(n=t[l=n]),r(R,l,e(n,o,P,l,t,O))})),R}},3118:function(e,t,o){var n=o(3218),l=Object.create,r=function(){function e(){}return function(t){if(!n(t))return{};if(l)return l(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}();e.exports=r},8845:function(e){e.exports=function(e,t,o){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout((function(){e.apply(void 0,o)}),t)}},9881:function(e,t,o){var n=o(7816),l=o(9291)(n);e.exports=l},760:function(e,t,o){var n=o(9881);e.exports=function(e,t){var o=[];return n(e,(function(e,n,l){t(e,n,l)&&o.push(e)})),o}},1848:function(e){e.exports=function(e,t,o,n){for(var l=e.length,r=o+(n?1:-1);n?r--:++r<l;)if(t(e[r],r,e))return r;return-1}},1078:function(e,t,o){var n=o(2488),l=o(7285);e.exports=function e(t,o,r,a,c){var i=-1,s=t.length;for(r||(r=l),c||(c=[]);++i<s;){var u=t[i];o>0&&r(u)?o>1?e(u,o-1,r,a,c):n(c,u):a||(c[c.length]=u)}return c}},8483:function(e,t,o){var n=o(5063)();e.exports=n},7816:function(e,t,o){var n=o(8483),l=o(3674);e.exports=function(e,t){return e&&n(e,t,l)}},7786:function(e,t,o){var n=o(1811),l=o(327);e.exports=function(e,t){for(var o=0,r=(t=n(t,e)).length;null!=e&&o<r;)e=e[l(t[o++])];return o&&o==r?e:void 0}},8866:function(e,t,o){var n=o(2488),l=o(1469);e.exports=function(e,t,o){var r=t(e);return l(e)?r:n(r,o(e))}},4239:function(e,t,o){var n=o(2705),l=o(9607),r=o(2333),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?l(e):r(e)}},8565:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,o){return null!=e&&t.call(e,o)}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},2118:function(e,t,o){var n=o(1848),l=o(2722),r=o(2351);e.exports=function(e,t,o){return t==t?r(e,t,o):n(e,l,o)}},9454:function(e,t,o){var n=o(4239),l=o(7005);e.exports=function(e){return l(e)&&"[object Arguments]"==n(e)}},939:function(e,t,o){var n=o(2492),l=o(7005);e.exports=function e(t,o,r,a,c){return t===o||(null==t||null==o||!l(t)&&!l(o)?t!=t&&o!=o:n(t,o,r,a,e,c))}},2492:function(e,t,o){var n=o(6384),l=o(7114),r=o(8351),a=o(6096),c=o(4160),i=o(1469),s=o(4144),u=o(6719),d="[object Arguments]",m="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,o,b,g,f){var v=i(e),_=i(t),k=v?m:c(e),y=_?m:c(t),w=(k=k==d?h:k)==h,E=(y=y==d?h:y)==h,x=k==y;if(x&&s(e)){if(!s(t))return!1;v=!0,w=!1}if(x&&!w)return f||(f=new n),v||u(e)?l(e,t,o,b,g,f):r(e,t,k,o,b,g,f);if(!(1&o)){var C=w&&p.call(e,"__wrapped__"),S=E&&p.call(t,"__wrapped__");if(C||S){var z=C?e.value():e,T=S?t.value():t;return f||(f=new n),g(z,T,o,b,f)}}return!!x&&(f||(f=new n),a(e,t,o,b,g,f))}},5588:function(e,t,o){var n=o(4160),l=o(7005);e.exports=function(e){return l(e)&&"[object Map]"==n(e)}},2958:function(e,t,o){var n=o(6384),l=o(939);e.exports=function(e,t,o,r){var a=o.length,c=a,i=!r;if(null==e)return!c;for(e=Object(e);a--;){var s=o[a];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<c;){var u=(s=o[a])[0],d=e[u],m=s[1];if(i&&s[2]){if(void 0===d&&!(u in e))return!1}else{var h=new n;if(r)var p=r(d,m,u,e,t,h);if(!(void 0===p?l(m,d,3,r,h):p))return!1}}return!0}},2722:function(e){e.exports=function(e){return e!=e}},8458:function(e,t,o){var n=o(3560),l=o(5346),r=o(3218),a=o(346),c=/^\[object .+?Constructor\]$/,i=Function.prototype,s=Object.prototype,u=i.toString,d=s.hasOwnProperty,m=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||l(e))&&(n(e)?m:c).test(a(e))}},9221:function(e,t,o){var n=o(4160),l=o(7005);e.exports=function(e){return l(e)&&"[object Set]"==n(e)}},8749:function(e,t,o){var n=o(4239),l=o(1780),r=o(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&l(e.length)&&!!a[n(e)]}},7206:function(e,t,o){var n=o(1573),l=o(6432),r=o(6557),a=o(1469),c=o(9601);e.exports=function(e){return"function"==typeof e?e:null==e?r:"object"==typeof e?a(e)?l(e[0],e[1]):n(e):c(e)}},280:function(e,t,o){var n=o(5726),l=o(6916),r=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return l(e);var t=[];for(var o in Object(e))r.call(e,o)&&"constructor"!=o&&t.push(o);return t}},313:function(e,t,o){var n=o(3218),l=o(5726),r=o(3498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=l(e),o=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&o.push(c);return o}},9435:function(e){e.exports=function(){}},9199:function(e,t,o){var n=o(9881),l=o(8612);e.exports=function(e,t){var o=-1,r=l(e)?Array(e.length):[];return n(e,(function(e,n,l){r[++o]=t(e,n,l)})),r}},1573:function(e,t,o){var n=o(2958),l=o(1499),r=o(2634);e.exports=function(e){var t=l(e);return 1==t.length&&t[0][2]?r(t[0][0],t[0][1]):function(o){return o===e||n(o,e,t)}}},6432:function(e,t,o){var n=o(939),l=o(7361),r=o(9095),a=o(5403),c=o(9162),i=o(2634),s=o(327);e.exports=function(e,t){return a(e)&&c(t)?i(s(e),t):function(o){var a=l(o,e);return void 0===a&&a===t?r(o,e):n(t,a,3)}}},5970:function(e,t,o){var n=o(3012),l=o(9095);e.exports=function(e,t){return n(e,t,(function(t,o){return l(e,o)}))}},3012:function(e,t,o){var n=o(7786),l=o(611),r=o(1811);e.exports=function(e,t,o){for(var a=-1,c=t.length,i={};++a<c;){var s=t[a],u=n(e,s);o(u,s)&&l(i,r(s,e),u)}return i}},371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9152:function(e,t,o){var n=o(7786);e.exports=function(e){return function(t){return n(t,e)}}},107:function(e){e.exports=function(e,t,o,n,l){return l(e,(function(e,l,r){o=n?(n=!1,e):t(o,e,l,r)})),o}},5976:function(e,t,o){var n=o(6557),l=o(5357),r=o(61);e.exports=function(e,t){return r(l(e,t,n),e+"")}},611:function(e,t,o){var n=o(4865),l=o(1811),r=o(5776),a=o(3218),c=o(327);e.exports=function(e,t,o,i){if(!a(e))return e;for(var s=-1,u=(t=l(t,e)).length,d=u-1,m=e;null!=m&&++s<u;){var h=c(t[s]),p=o;if("__proto__"===h||"constructor"===h||"prototype"===h)return e;if(s!=d){var b=m[h];void 0===(p=i?i(b,h,m):void 0)&&(p=a(b)?b:r(t[s+1])?[]:{})}n(m,h,p),m=m[h]}return e}},8045:function(e,t,o){var n=o(6557),l=o(9250),r=l?function(e,t){return l.set(e,t),e}:n;e.exports=r},6560:function(e,t,o){var n=o(5703),l=o(8777),r=o(6557),a=l?function(e,t){return l(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:r;e.exports=a},4259:function(e){e.exports=function(e,t,o){var n=-1,l=e.length;t<0&&(t=-t>l?0:l+t),(o=o>l?l:o)<0&&(o+=l),l=t>o?0:o-t>>>0,t>>>=0;for(var r=Array(l);++n<l;)r[n]=e[n+t];return r}},2545:function(e){e.exports=function(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}},531:function(e,t,o){var n=o(2705),l=o(9932),r=o(1469),a=o(3448),c=n?n.prototype:void 0,i=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return l(t,e)+"";if(a(t))return i?i.call(t):"";var o=t+"";return"0"==o&&1/t==-1/0?"-0":o}},7561:function(e,t,o){var n=o(7990),l=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(l,""):e}},1717:function(e){e.exports=function(e){return function(t){return e(t)}}},7406:function(e,t,o){var n=o(1811),l=o(928),r=o(292),a=o(327);e.exports=function(e,t){return t=n(t,e),null==(e=r(e,t))||delete e[a(l(t))]}},7415:function(e,t,o){var n=o(9932);e.exports=function(e,t){return n(t,(function(t){return e[t]}))}},4757:function(e){e.exports=function(e,t){return e.has(t)}},4290:function(e,t,o){var n=o(6557);e.exports=function(e){return"function"==typeof e?e:n}},1811:function(e,t,o){var n=o(1469),l=o(5403),r=o(5514),a=o(9833);e.exports=function(e,t){return n(e)?e:l(e,t)?[e]:r(a(e))}},180:function(e,t,o){var n=o(4259);e.exports=function(e,t,o){var l=e.length;return o=void 0===o?l:o,!t&&o>=l?e:n(e,t,o)}},4318:function(e,t,o){var n=o(1149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},4626:function(e,t,o){e=o.nmd(e);var n=o(5639),l=t&&!t.nodeType&&t,r=l&&e&&!e.nodeType&&e,a=r&&r.exports===l?n.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var o=e.length,n=c?c(o):new e.constructor(o);return e.copy(n),n}},7157:function(e,t,o){var n=o(4318);e.exports=function(e,t){var o=t?n(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}},3147:function(e){var t=/\w*$/;e.exports=function(e){var o=new e.constructor(e.source,t.exec(e));return o.lastIndex=e.lastIndex,o}},419:function(e,t,o){var n=o(2705),l=n?n.prototype:void 0,r=l?l.valueOf:void 0;e.exports=function(e){return r?Object(r.call(e)):{}}},7133:function(e,t,o){var n=o(4318);e.exports=function(e,t){var o=t?n(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}},2157:function(e){var t=Math.max;e.exports=function(e,o,n,l){for(var r=-1,a=e.length,c=n.length,i=-1,s=o.length,u=t(a-c,0),d=Array(s+u),m=!l;++i<s;)d[i]=o[i];for(;++r<c;)(m||r<a)&&(d[n[r]]=e[r]);for(;u--;)d[i++]=e[r++];return d}},4054:function(e){var t=Math.max;e.exports=function(e,o,n,l){for(var r=-1,a=e.length,c=-1,i=n.length,s=-1,u=o.length,d=t(a-i,0),m=Array(d+u),h=!l;++r<d;)m[r]=e[r];for(var p=r;++s<u;)m[p+s]=o[s];for(;++c<i;)(h||r<a)&&(m[p+n[c]]=e[r++]);return m}},278:function(e){e.exports=function(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}},8363:function(e,t,o){var n=o(4865),l=o(9465);e.exports=function(e,t,o,r){var a=!o;o||(o={});for(var c=-1,i=t.length;++c<i;){var s=t[c],u=r?r(o[s],e[s],s,o,e):void 0;void 0===u&&(u=e[s]),a?l(o,s,u):n(o,s,u)}return o}},5341:function(e,t,o){var n=o(8363),l=o(9551);e.exports=function(e,t){return n(e,l(e),t)}},1911:function(e,t,o){var n=o(8363),l=o(1442);e.exports=function(e,t){return n(e,l(e),t)}},4429:function(e,t,o){var n=o(5639)["__core-js_shared__"];e.exports=n},7991:function(e){e.exports=function(e,t){for(var o=e.length,n=0;o--;)e[o]===t&&++n;return n}},1463:function(e,t,o){var n=o(5976),l=o(6612);e.exports=function(e){return n((function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,c=r>2?o[2]:void 0;for(a=e.length>3&&"function"==typeof a?(r--,a):void 0,c&&l(o[0],o[1],c)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var i=o[n];i&&e(t,i,n,a)}return t}))}},9291:function(e,t,o){var n=o(8612);e.exports=function(e,t){return function(o,l){if(null==o)return o;if(!n(o))return e(o,l);for(var r=o.length,a=t?r:-1,c=Object(o);(t?a--:++a<r)&&!1!==l(c[a],a,c););return o}}},5063:function(e){e.exports=function(e){return function(t,o,n){for(var l=-1,r=Object(t),a=n(t),c=a.length;c--;){var i=a[e?c:++l];if(!1===o(r[i],i,r))break}return t}}},2402:function(e,t,o){var n=o(1774),l=o(5639);e.exports=function(e,t,o){var r=1&t,a=n(e);return function t(){var n=this&&this!==l&&this instanceof t?a:e;return n.apply(r?o:this,arguments)}}},8805:function(e,t,o){var n=o(180),l=o(2689),r=o(3140),a=o(9833);e.exports=function(e){return function(t){t=a(t);var o=l(t)?r(t):void 0,c=o?o[0]:t.charAt(0),i=o?n(o,1).join(""):t.slice(1);return c[e]()+i}}},1774:function(e,t,o){var n=o(3118),l=o(3218);e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=n(e.prototype),r=e.apply(o,t);return l(r)?r:o}}},4578:function(e,t,o){var n=o(6874),l=o(1774),r=o(6935),a=o(4487),c=o(893),i=o(6460),s=o(5639);e.exports=function(e,t,o){var u=l(e);return function l(){for(var d=arguments.length,m=Array(d),h=d,p=c(l);h--;)m[h]=arguments[h];var b=d<3&&m[0]!==p&&m[d-1]!==p?[]:i(m,p);if((d-=b.length)<o)return a(e,t,r,l.placeholder,void 0,m,b,void 0,void 0,o-d);var g=this&&this!==s&&this instanceof l?u:e;return n(g,this,m)}}},6935:function(e,t,o){var n=o(2157),l=o(4054),r=o(7991),a=o(1774),c=o(4487),i=o(893),s=o(451),u=o(6460),d=o(5639);e.exports=function e(t,o,m,h,p,b,g,f,v,_){var k=128&o,y=1&o,w=2&o,E=24&o,x=512&o,C=w?void 0:a(t);return function S(){for(var z=arguments.length,T=Array(z),P=z;P--;)T[P]=arguments[P];if(E)var N=i(S),B=r(T,N);if(h&&(T=n(T,h,p,E)),b&&(T=l(T,b,g,E)),z-=B,E&&z<_){var O=u(T,N);return c(t,o,e,S.placeholder,m,T,O,f,v,_-z)}var R=y?m:this,M=w?R[t]:t;return z=T.length,f?T=s(T,f):x&&z>1&&T.reverse(),k&&v<z&&(T.length=v),this&&this!==d&&this instanceof S&&(M=C||a(M)),M.apply(R,T)}}},4375:function(e,t,o){var n=o(6874),l=o(1774),r=o(5639);e.exports=function(e,t,o,a){var c=1&t,i=l(e);return function t(){for(var l=-1,s=arguments.length,u=-1,d=a.length,m=Array(d+s),h=this&&this!==r&&this instanceof t?i:e;++u<d;)m[u]=a[u];for(;s--;)m[u++]=arguments[++l];return n(h,c?o:this,m)}}},4487:function(e,t,o){var n=o(6528),l=o(258),r=o(9255);e.exports=function(e,t,o,a,c,i,s,u,d,m){var h=8&t;t|=h?32:64,4&(t&=~(h?64:32))||(t&=-4);var p=[e,t,c,h?i:void 0,h?s:void 0,h?void 0:i,h?void 0:s,u,d,m],b=o.apply(void 0,p);return n(e)&&l(b,p),b.placeholder=a,r(b,e,t)}},7727:function(e,t,o){var n=o(8045),l=o(2402),r=o(4578),a=o(6935),c=o(4375),i=o(6833),s=o(3833),u=o(258),d=o(9255),m=o(554),h=Math.max;e.exports=function(e,t,o,p,b,g,f,v){var _=2&t;if(!_&&"function"!=typeof e)throw new TypeError("Expected a function");var k=p?p.length:0;if(k||(t&=-97,p=b=void 0),f=void 0===f?f:h(m(f),0),v=void 0===v?v:m(v),k-=b?b.length:0,64&t){var y=p,w=b;p=b=void 0}var E=_?void 0:i(e),x=[e,t,o,p,b,y,w,g,f,v];if(E&&s(x,E),e=x[0],t=x[1],o=x[2],p=x[3],b=x[4],!(v=x[9]=void 0===x[9]?_?0:e.length:h(x[9]-k,0))&&24&t&&(t&=-25),t&&1!=t)C=8==t||16==t?r(e,t,v):32!=t&&33!=t||b.length?a.apply(void 0,x):c(e,t,o,p);else var C=l(e,t,o);return d((E?n:u)(C,x),e,t)}},696:function(e,t,o){var n=o(8630);e.exports=function(e){return n(e)?void 0:e}},8777:function(e,t,o){var n=o(852),l=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=l},7114:function(e,t,o){var n=o(8668),l=o(2908),r=o(4757);e.exports=function(e,t,o,a,c,i){var s=1&o,u=e.length,d=t.length;if(u!=d&&!(s&&d>u))return!1;var m=i.get(e),h=i.get(t);if(m&&h)return m==t&&h==e;var p=-1,b=!0,g=2&o?new n:void 0;for(i.set(e,t),i.set(t,e);++p<u;){var f=e[p],v=t[p];if(a)var _=s?a(v,f,p,t,e,i):a(f,v,p,e,t,i);if(void 0!==_){if(_)continue;b=!1;break}if(g){if(!l(t,(function(e,t){if(!r(g,t)&&(f===e||c(f,e,o,a,i)))return g.push(t)}))){b=!1;break}}else if(f!==v&&!c(f,v,o,a,i)){b=!1;break}}return i.delete(e),i.delete(t),b}},8351:function(e,t,o){var n=o(2705),l=o(1149),r=o(7813),a=o(7114),c=o(8776),i=o(1814),s=n?n.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,o,n,s,d,m){switch(o){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new l(e),new l(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=c;case"[object Set]":var p=1&n;if(h||(h=i),e.size!=t.size&&!p)return!1;var b=m.get(e);if(b)return b==t;n|=2,m.set(e,t);var g=a(h(e),h(t),n,s,d,m);return m.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:function(e,t,o){var n=o(8234),l=Object.prototype.hasOwnProperty;e.exports=function(e,t,o,r,a,c){var i=1&o,s=n(e),u=s.length;if(u!=n(t).length&&!i)return!1;for(var d=u;d--;){var m=s[d];if(!(i?m in t:l.call(t,m)))return!1}var h=c.get(e),p=c.get(t);if(h&&p)return h==t&&p==e;var b=!0;c.set(e,t),c.set(t,e);for(var g=i;++d<u;){var f=e[m=s[d]],v=t[m];if(r)var _=i?r(v,f,m,t,e,c):r(f,v,m,e,t,c);if(!(void 0===_?f===v||a(f,v,o,r,c):_)){b=!1;break}g||(g="constructor"==m)}if(b&&!g){var k=e.constructor,y=t.constructor;k==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof y&&y instanceof y||(b=!1)}return c.delete(e),c.delete(t),b}},9021:function(e,t,o){var n=o(5564),l=o(5357),r=o(61);e.exports=function(e){return r(l(e,void 0,n),e+"")}},1957:function(e,t,o){var n="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g;e.exports=n},8234:function(e,t,o){var n=o(8866),l=o(9551),r=o(3674);e.exports=function(e){return n(e,r,l)}},6904:function(e,t,o){var n=o(8866),l=o(1442),r=o(1704);e.exports=function(e){return n(e,r,l)}},6833:function(e,t,o){var n=o(9250),l=o(308),r=n?function(e){return n.get(e)}:l;e.exports=r},7658:function(e,t,o){var n=o(2060),l=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+"",o=n[t],r=l.call(n,t)?o.length:0;r--;){var a=o[r],c=a.func;if(null==c||c==e)return a.name}return t}},893:function(e){e.exports=function(e){return e.placeholder}},5050:function(e,t,o){var n=o(7019);e.exports=function(e,t){var o=e.__data__;return n(t)?o["string"==typeof t?"string":"hash"]:o.map}},1499:function(e,t,o){var n=o(9162),l=o(3674);e.exports=function(e){for(var t=l(e),o=t.length;o--;){var r=t[o],a=e[r];t[o]=[r,a,n(a)]}return t}},852:function(e,t,o){var n=o(8458),l=o(7801);e.exports=function(e,t){var o=l(e,t);return n(o)?o:void 0}},5924:function(e,t,o){var n=o(5569)(Object.getPrototypeOf,Object);e.exports=n},9607:function(e,t,o){var n=o(2705),l=Object.prototype,r=l.hasOwnProperty,a=l.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=r.call(e,c),o=e[c];try{e[c]=void 0;var n=!0}catch(e){}var l=a.call(e);return n&&(t?e[c]=o:delete e[c]),l}},9551:function(e,t,o){var n=o(4963),l=o(479),r=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return r.call(e,t)})))}:l;e.exports=c},1442:function(e,t,o){var n=o(2488),l=o(5924),r=o(9551),a=o(479),c=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,r(e)),e=l(e);return t}:a;e.exports=c},4160:function(e,t,o){var n=o(8552),l=o(7071),r=o(3818),a=o(8525),c=o(577),i=o(4239),s=o(346),u="[object Map]",d="[object Promise]",m="[object Set]",h="[object WeakMap]",p="[object DataView]",b=s(n),g=s(l),f=s(r),v=s(a),_=s(c),k=i;(n&&k(new n(new ArrayBuffer(1)))!=p||l&&k(new l)!=u||r&&k(r.resolve())!=d||a&&k(new a)!=m||c&&k(new c)!=h)&&(k=function(e){var t=i(e),o="[object Object]"==t?e.constructor:void 0,n=o?s(o):"";if(n)switch(n){case b:return p;case g:return u;case f:return d;case v:return m;case _:return h}return t}),e.exports=k},7801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},8775:function(e){var t=/\{\n\/\* \[wrapped with (.+)\] \*/,o=/,? & /;e.exports=function(e){var n=e.match(t);return n?n[1].split(o):[]}},222:function(e,t,o){var n=o(1811),l=o(5694),r=o(1469),a=o(5776),c=o(1780),i=o(327);e.exports=function(e,t,o){for(var s=-1,u=(t=n(t,e)).length,d=!1;++s<u;){var m=i(t[s]);if(!(d=null!=e&&o(e,m)))break;e=e[m]}return d||++s!=u?d:!!(u=null==e?0:e.length)&&c(u)&&a(m,u)&&(r(e)||l(e))}},2689:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},1789:function(e,t,o){var n=o(4536);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:function(e,t,o){var n=o(4536),l=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return l.call(t,e)?t[e]:void 0}},1327:function(e,t,o){var n=o(4536),l=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:l.call(t,e)}},1866:function(e,t,o){var n=o(4536);e.exports=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},3824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var o=e.length,n=new e.constructor(o);return o&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},9148:function(e,t,o){var n=o(4318),l=o(7157),r=o(3147),a=o(419),c=o(7133);e.exports=function(e,t,o){var i=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return l(e,o);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,o);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return r(e);case"[object Symbol]":return a(e)}}},8517:function(e,t,o){var n=o(3118),l=o(5924),r=o(5726);e.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:n(l(e))}},3112:function(e){var t=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;e.exports=function(e,o){var n=o.length;if(!n)return e;var l=n-1;return o[l]=(n>1?"& ":"")+o[l],o=o.join(n>2?", ":" "),e.replace(t,"{\n/* [wrapped with "+o+"] */\n")}},7285:function(e,t,o){var n=o(2705),l=o(5694),r=o(1469),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return r(e)||l(e)||!!(a&&e&&e[a])}},5776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,o){var n=typeof e;return!!(o=null==o?9007199254740991:o)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<o}},6612:function(e,t,o){var n=o(7813),l=o(8612),r=o(5776),a=o(3218);e.exports=function(e,t,o){if(!a(o))return!1;var c=typeof t;return!!("number"==c?l(o)&&r(t,o.length):"string"==c&&t in o)&&n(o[t],e)}},5403:function(e,t,o){var n=o(1469),l=o(3448),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var o=typeof e;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=e&&!l(e))||a.test(e)||!r.test(e)||null!=t&&e in Object(t)}},7019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},6528:function(e,t,o){var n=o(6425),l=o(6833),r=o(7658),a=o(8111);e.exports=function(e){var t=r(e),o=a[t];if("function"!=typeof o||!(t in n.prototype))return!1;if(e===o)return!0;var c=l(o);return!!c&&e===c[0]}},5346:function(e,t,o){var n,l=o(4429),r=(n=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},5726:function(e){var t=Object.prototype;e.exports=function(e){var o=e&&e.constructor;return e===("function"==typeof o&&o.prototype||t)}},9162:function(e,t,o){var n=o(3218);e.exports=function(e){return e==e&&!n(e)}},7040:function(e){e.exports=function(){this.__data__=[],this.size=0}},4125:function(e,t,o){var n=o(8470),l=Array.prototype.splice;e.exports=function(e){var t=this.__data__,o=n(t,e);return!(o<0||(o==t.length-1?t.pop():l.call(t,o,1),--this.size,0))}},2117:function(e,t,o){var n=o(8470);e.exports=function(e){var t=this.__data__,o=n(t,e);return o<0?void 0:t[o][1]}},7518:function(e,t,o){var n=o(8470);e.exports=function(e){return n(this.__data__,e)>-1}},4705:function(e,t,o){var n=o(8470);e.exports=function(e,t){var o=this.__data__,l=n(o,e);return l<0?(++this.size,o.push([e,t])):o[l][1]=t,this}},4785:function(e,t,o){var n=o(1989),l=o(8407),r=o(7071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(r||l),string:new n}}},1285:function(e,t,o){var n=o(5050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6e3:function(e,t,o){var n=o(5050);e.exports=function(e){return n(this,e).get(e)}},9916:function(e,t,o){var n=o(5050);e.exports=function(e){return n(this,e).has(e)}},5265:function(e,t,o){var n=o(5050);e.exports=function(e,t){var o=n(this,e),l=o.size;return o.set(e,t),this.size+=o.size==l?0:1,this}},8776:function(e){e.exports=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e,n){o[++t]=[n,e]})),o}},2634:function(e){e.exports=function(e,t){return function(o){return null!=o&&o[e]===t&&(void 0!==t||e in Object(o))}}},4523:function(e,t,o){var n=o(8306);e.exports=function(e){var t=n(e,(function(e){return 500===o.size&&o.clear(),e})),o=t.cache;return t}},3833:function(e,t,o){var n=o(2157),l=o(4054),r=o(6460),a="__lodash_placeholder__",c=Math.min;e.exports=function(e,t){var o=e[1],i=t[1],s=o|i,u=s<131,d=128==i&&8==o||128==i&&256==o&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==o;if(!u&&!d)return e;1&i&&(e[2]=t[2],s|=1&o?0:4);var m=t[3];if(m){var h=e[3];e[3]=h?n(h,m,t[4]):m,e[4]=h?r(e[3],a):t[4]}return(m=t[5])&&(h=e[5],e[5]=h?l(h,m,t[6]):m,e[6]=h?r(e[5],a):t[6]),(m=t[7])&&(e[7]=m),128&i&&(e[8]=null==e[8]?t[8]:c(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=s,e}},9250:function(e,t,o){var n=o(577),l=n&&new n;e.exports=l},4536:function(e,t,o){var n=o(852)(Object,"create");e.exports=n},6916:function(e,t,o){var n=o(5569)(Object.keys,Object);e.exports=n},3498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}},1167:function(e,t,o){e=o.nmd(e);var n=o(1957),l=t&&!t.nodeType&&t,r=l&&e&&!e.nodeType&&e,a=r&&r.exports===l&&n.process,c=function(){try{return r&&r.require&&r.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(o){return e(t(o))}}},5357:function(e,t,o){var n=o(6874),l=Math.max;e.exports=function(e,t,o){return t=l(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,c=l(r.length-t,0),i=Array(c);++a<c;)i[a]=r[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=r[a];return s[t]=o(i),n(e,this,s)}}},292:function(e,t,o){var n=o(7786),l=o(4259);e.exports=function(e,t){return t.length<2?e:n(e,l(t,0,-1))}},2060:function(e){e.exports={}},451:function(e,t,o){var n=o(278),l=o(5776),r=Math.min;e.exports=function(e,t){for(var o=e.length,a=r(t.length,o),c=n(e);a--;){var i=t[a];e[a]=l(i,o)?c[i]:void 0}return e}},6460:function(e){var t="__lodash_placeholder__";e.exports=function(e,o){for(var n=-1,l=e.length,r=0,a=[];++n<l;){var c=e[n];c!==o&&c!==t||(e[n]=t,a[r++]=n)}return a}},5639:function(e,t,o){var n=o(1957),l="object"==typeof self&&self&&self.Object===Object&&self,r=n||l||Function("return this")();e.exports=r},619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:function(e){e.exports=function(e){return this.__data__.has(e)}},258:function(e,t,o){var n=o(8045),l=o(1275)(n);e.exports=l},1814:function(e){e.exports=function(e){var t=-1,o=Array(e.size);return e.forEach((function(e){o[++t]=e})),o}},61:function(e,t,o){var n=o(6560),l=o(1275)(n);e.exports=l},9255:function(e,t,o){var n=o(8775),l=o(3112),r=o(61),a=o(7241);e.exports=function(e,t,o){var c=t+"";return r(e,l(c,a(n(c),o)))}},1275:function(e){var t=Date.now;e.exports=function(e){var o=0,n=0;return function(){var l=t(),r=16-(l-n);if(n=l,r>0){if(++o>=800)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}},7465:function(e,t,o){var n=o(8407);e.exports=function(){this.__data__=new n,this.size=0}},3779:function(e){e.exports=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}},7599:function(e){e.exports=function(e){return this.__data__.get(e)}},4758:function(e){e.exports=function(e){return this.__data__.has(e)}},4309:function(e,t,o){var n=o(8407),l=o(7071),r=o(3369);e.exports=function(e,t){var o=this.__data__;if(o instanceof n){var a=o.__data__;if(!l||a.length<199)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new r(a)}return o.set(e,t),this.size=o.size,this}},2351:function(e){e.exports=function(e,t,o){for(var n=o-1,l=e.length;++n<l;)if(e[n]===t)return n;return-1}},3140:function(e,t,o){var n=o(4286),l=o(2689),r=o(676);e.exports=function(e){return l(e)?r(e):n(e)}},5514:function(e,t,o){var n=o(4523),l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(l,(function(e,o,n,l){t.push(n?l.replace(r,"$1"):o||e)})),t}));e.exports=a},327:function(e,t,o){var n=o(3448);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7990:function(e){var t=/\s/;e.exports=function(e){for(var o=e.length;o--&&t.test(e.charAt(o)););return o}},676:function(e){var t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",n="[^\\ud800-\\udfff]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",r="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+t+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",i=c+a+"(?:\\u200d(?:"+[n,l,r].join("|")+")"+c+a+")*",s="(?:"+[n+t+"?",t,l,r,"[\\ud800-\\udfff]"].join("|")+")",u=RegExp(o+"(?="+o+")|"+s+i,"g");e.exports=function(e){return e.match(u)||[]}},7241:function(e,t,o){var n=o(7412),l=o(7443),r=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];e.exports=function(e,t){return n(r,(function(o){var n="_."+o[0];t&o[1]&&!l(e,n)&&e.push(n)})),e.sort()}},1913:function(e,t,o){var n=o(6425),l=o(7548),r=o(278);e.exports=function(e){if(e instanceof n)return e.clone();var t=new l(e.__wrapped__,e.__chain__);return t.__actions__=r(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},8583:function(e,t,o){var n=o(4865),l=o(8363),r=o(1463),a=o(8612),c=o(5726),i=o(3674),s=Object.prototype.hasOwnProperty,u=r((function(e,t){if(c(t)||a(t))l(t,i(t),e);else for(var o in t)s.call(t,o)&&n(e,o,t[o])}));e.exports=u},8169:function(e,t,o){var n=o(5976),l=o(7727),r=o(893),a=o(6460),c=n((function(e,t,o){var n=1;if(o.length){var i=a(o,r(c));n|=32}return l(e,n,t,o,i)}));c.placeholder={},e.exports=c},5703:function(e){e.exports=function(e){return function(){return e}}},3279:function(e,t,o){var n=o(3218),l=o(7771),r=o(4841),a=Math.max,c=Math.min;e.exports=function(e,t,o){var i,s,u,d,m,h,p=0,b=!1,g=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var o=i,n=s;return i=s=void 0,p=t,d=e.apply(n,o)}function _(e){return p=e,m=setTimeout(y,t),b?v(e):d}function k(e){var o=e-h;return void 0===h||o>=t||o<0||g&&e-p>=u}function y(){var e=l();if(k(e))return w(e);m=setTimeout(y,function(e){var o=t-(e-h);return g?c(o,u-(e-p)):o}(e))}function w(e){return m=void 0,f&&i?v(e):(i=s=void 0,d)}function E(){var e=l(),o=k(e);if(i=arguments,s=this,h=e,o){if(void 0===m)return _(h);if(g)return clearTimeout(m),m=setTimeout(y,t),v(h)}return void 0===m&&(m=setTimeout(y,t)),d}return t=r(t)||0,n(o)&&(b=!!o.leading,u=(g="maxWait"in o)?a(r(o.maxWait)||0,t):u,f="trailing"in o?!!o.trailing:f),E.cancel=function(){void 0!==m&&clearTimeout(m),p=0,i=h=s=m=void 0},E.flush=function(){return void 0===m?d:w(l())},E}},8066:function(e,t,o){var n=o(8845),l=o(5976),r=o(4841),a=l((function(e,t,o){return n(e,r(t)||0,o)}));e.exports=a},3624:function(e,t,o){var n=o(4259),l=o(554);e.exports=function(e,t,o){var r=null==e?0:e.length;return r?(t=o||void 0===t?1:l(t),n(e,0,(t=r-t)<0?0:t)):[]}},7813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},3105:function(e,t,o){var n=o(4963),l=o(760),r=o(7206),a=o(1469);e.exports=function(e,t){return(a(e)?n:l)(e,r(t,3))}},998:function(e,t,o){var n=o(1848),l=o(7206),r=o(554),a=Math.max;e.exports=function(e,t,o){var c=null==e?0:e.length;if(!c)return-1;var i=null==o?0:r(o);return i<0&&(i=a(c+i,0)),n(e,l(t,3),i)}},5564:function(e,t,o){var n=o(1078);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},4486:function(e,t,o){var n=o(7412),l=o(9881),r=o(4290),a=o(1469);e.exports=function(e,t){return(a(e)?n:l)(e,r(t))}},7361:function(e,t,o){var n=o(7786);e.exports=function(e,t,o){var l=null==e?void 0:n(e,t);return void 0===l?o:l}},8721:function(e,t,o){var n=o(8565),l=o(222);e.exports=function(e,t){return null!=e&&l(e,t,n)}},9095:function(e,t,o){var n=o(13),l=o(222);e.exports=function(e,t){return null!=e&&l(e,t,n)}},6557:function(e){e.exports=function(e){return e}},4721:function(e,t,o){var n=o(2118),l=o(8612),r=o(7037),a=o(554),c=o(2628),i=Math.max;e.exports=function(e,t,o,s){e=l(e)?e:c(e),o=o&&!s?a(o):0;var u=e.length;return o<0&&(o=i(u+o,0)),r(e)?o<=u&&e.indexOf(t,o)>-1:!!u&&n(e,t,o)>-1}},5694:function(e,t,o){var n=o(9454),l=o(7005),r=Object.prototype,a=r.hasOwnProperty,c=r.propertyIsEnumerable,i=n(function(){return arguments}())?n:function(e){return l(e)&&a.call(e,"callee")&&!c.call(e,"callee")};e.exports=i},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,o){var n=o(3560),l=o(1780);e.exports=function(e){return null!=e&&l(e.length)&&!n(e)}},4144:function(e,t,o){e=o.nmd(e);var n=o(5639),l=o(5062),r=t&&!t.nodeType&&t,a=r&&e&&!e.nodeType&&e,c=a&&a.exports===r?n.Buffer:void 0,i=(c?c.isBuffer:void 0)||l;e.exports=i},1609:function(e,t,o){var n=o(280),l=o(4160),r=o(5694),a=o(1469),c=o(8612),i=o(4144),s=o(5726),u=o(6719),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(c(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||i(e)||u(e)||r(e)))return!e.length;var t=l(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!n(e).length;for(var o in e)if(d.call(e,o))return!1;return!0}},8446:function(e,t,o){var n=o(939);e.exports=function(e,t){return n(e,t)}},3560:function(e,t,o){var n=o(4239),l=o(3218);e.exports=function(e){if(!l(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6688:function(e,t,o){var n=o(5588),l=o(1717),r=o(1167),a=r&&r.isMap,c=a?l(a):n;e.exports=c},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},8630:function(e,t,o){var n=o(4239),l=o(5924),r=o(7005),a=Function.prototype,c=Object.prototype,i=a.toString,s=c.hasOwnProperty,u=i.call(Object);e.exports=function(e){if(!r(e)||"[object Object]"!=n(e))return!1;var t=l(e);if(null===t)return!0;var o=s.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&i.call(o)==u}},2928:function(e,t,o){var n=o(9221),l=o(1717),r=o(1167),a=r&&r.isSet,c=a?l(a):n;e.exports=c},7037:function(e,t,o){var n=o(4239),l=o(1469),r=o(7005);e.exports=function(e){return"string"==typeof e||!l(e)&&r(e)&&"[object String]"==n(e)}},3448:function(e,t,o){var n=o(4239),l=o(7005);e.exports=function(e){return"symbol"==typeof e||l(e)&&"[object Symbol]"==n(e)}},6719:function(e,t,o){var n=o(8749),l=o(1717),r=o(1167),a=r&&r.isTypedArray,c=a?l(a):n;e.exports=c},3674:function(e,t,o){var n=o(4636),l=o(280),r=o(8612);e.exports=function(e){return r(e)?n(e):l(e)}},1704:function(e,t,o){var n=o(4636),l=o(313),r=o(8612);e.exports=function(e){return r(e)?n(e,!0):l(e)}},928:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},1683:function(e,t,o){var n=o(8805)("toLowerCase");e.exports=n},5161:function(e,t,o){var n=o(9932),l=o(7206),r=o(9199),a=o(1469);e.exports=function(e,t){return(a(e)?n:r)(e,l(t,3))}},8306:function(e,t,o){var n=o(3369);function l(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var o=function(){var n=arguments,l=t?t.apply(this,n):n[0],r=o.cache;if(r.has(l))return r.get(l);var a=e.apply(this,n);return o.cache=r.set(l,a)||r,a};return o.cache=new(l.Cache||n),o}l.Cache=n,e.exports=l},308:function(e){e.exports=function(){}},7771:function(e,t,o){var n=o(5639);e.exports=function(){return n.Date.now()}},7557:function(e,t,o){var n=o(9932),l=o(5990),r=o(7406),a=o(1811),c=o(8363),i=o(696),s=o(9021),u=o(6904),d=s((function(e,t){var o={};if(null==e)return o;var s=!1;t=n(t,(function(t){return t=a(t,e),s||(s=t.length>1),t})),c(e,u(e),o),s&&(o=l(o,7,i));for(var d=t.length;d--;)r(o,t[d]);return o}));e.exports=d},8718:function(e,t,o){var n=o(5970),l=o(9021)((function(e,t){return null==e?{}:n(e,t)}));e.exports=l},9601:function(e,t,o){var n=o(371),l=o(9152),r=o(5403),a=o(327);e.exports=function(e){return r(e)?n(a(e)):l(e)}},4061:function(e,t,o){var n=o(2663),l=o(9881),r=o(7206),a=o(107),c=o(1469);e.exports=function(e,t,o){var i=c(e)?n:a,s=arguments.length<3;return i(e,r(t,4),o,s,l)}},479:function(e){e.exports=function(){return[]}},5062:function(e){e.exports=function(){return!1}},8913:function(e,t,o){var n=o(2545),l=o(4290),r=o(554),a=4294967295,c=Math.min;e.exports=function(e,t){if((e=r(e))<1||e>9007199254740991)return[];var o=a,i=c(e,a);t=l(t),e-=a;for(var s=n(i,t);++o<e;)t(o);return s}},8601:function(e,t,o){var n=o(4841);e.exports=function(e){return e?Infinity===(e=n(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},554:function(e,t,o){var n=o(8601);e.exports=function(e){var t=n(e),o=t%1;return t==t?o?t-o:t:0}},4841:function(e,t,o){var n=o(7561),l=o(3218),r=o(3448),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,i=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return NaN;if(l(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=l(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var o=c.test(e);return o||i.test(e)?s(e.slice(2),o?2:8):a.test(e)?NaN:+e}},9833:function(e,t,o){var n=o(531);e.exports=function(e){return null==e?"":n(e)}},2628:function(e,t,o){var n=o(7415),l=o(3674);e.exports=function(e){return null==e?[]:n(e,l(e))}},8111:function(e,t,o){var n=o(6425),l=o(7548),r=o(9435),a=o(1469),c=o(7005),i=o(1913),s=Object.prototype.hasOwnProperty;function u(e){if(c(e)&&!a(e)&&!(e instanceof n)){if(e instanceof l)return e;if(s.call(e,"__wrapped__"))return i(e)}return new l(e)}u.prototype=r.prototype,u.prototype.constructor=u,e.exports=u},8751:function(e,t,o){var n,l,r;window,l=[o(1794),o(6131)],void 0===(r="function"==typeof(n=function(e,t){"use strict";var o=e.create("masonry");o.compatOptions.fitWidth="isFitWidth";var n=o.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],o=e&&e.element;this.columnWidth=o&&t(o).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,l=this.containerWidth+this.gutter,r=l/n,a=n-l%n;r=Math[a&&a<1?"round":"floor"](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,o=t(e);this.containerWidth=o&&o.innerWidth},n._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,o=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](o,e),l={x:this.columnWidth*n.col,y:n.y},r=n.y+e.size.outerHeight,a=o+n.col,c=n.col;c<a;c++)this.colYs[c]=r;return l},n._getTopColPosition=function(e){var t=this._getTopColGroup(e),o=Math.min.apply(Math,t);return{col:t.indexOf(o),y:o}},n._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],o=this.cols+1-e,n=0;n<o;n++)t[n]=this._getColGroupY(n,e);return t},n._getColGroupY=function(e,t){if(t<2)return this.colYs[e];var o=this.colYs.slice(e,e+t);return Math.max.apply(Math,o)},n._getHorizontalColPosition=function(e,t){var o=this.horizontalColIndex%this.cols;o=e>1&&o+e>this.cols?0:o;var n=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=n?o+e:this.horizontalColIndex,{col:o,y:this._getColGroupY(o,e)}},n._manageStamp=function(e){var o=t(e),n=this._getElementOffset(e),l=this._getOption("originLeft")?n.left:n.right,r=l+o.outerWidth,a=Math.floor(l/this.columnWidth);a=Math.max(0,a);var c=Math.floor(r/this.columnWidth);c-=r%this.columnWidth?0:1,c=Math.min(this.cols-1,c);for(var i=(this._getOption("originTop")?n.top:n.bottom)+o.outerHeight,s=a;s<=c;s++)this.colYs[s]=Math.max(i,this.colYs[s])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},n._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},o})?n.apply(t,l):n)||(e.exports=r)},9588:function(e){e.exports=function(e,t){var o,n,l=0;function r(){var r,a,c=o,i=arguments.length;e:for(;c;){if(c.args.length===arguments.length){for(a=0;a<i;a++)if(c.args[a]!==arguments[a]){c=c.next;continue e}return c!==o&&(c===n&&(n=c.prev),c.prev.next=c.next,c.next&&(c.next.prev=c.prev),c.next=o,c.prev=null,o.prev=c,o=c),c.val}c=c.next}for(r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return c={args:r,val:e.apply(null,r)},o?(o.prev=c,c.next=o):n=c,l===t.maxSize?(n=n.prev).next=null:l++,o=c,c.val}return t=t||{},r.clear=function(){o=null,n=null,l=0},r}},7418:function(e){"use strict";var t=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var a,c,i=l(e),s=1;s<arguments.length;s++){for(var u in a=Object(arguments[s]))o.call(a,u)&&(i[u]=a[u]);if(t){c=t(a);for(var d=0;d<c.length;d++)n.call(a,c[d])&&(i[c[d]]=a[c[d]])}}return i}},652:function(e,t,o){var n,l,r;window,l=[o(7158),o(6131)],void 0===(r="function"==typeof(n=function(e,t){"use strict";var o=document.documentElement.style,n="string"==typeof o.transition?"transition":"WebkitTransition",l="string"==typeof o.transform?"transform":"WebkitTransform",r={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],a={transform:l,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"};function c(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var i=c.prototype=Object.create(e.prototype);i.constructor=c,i._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},i.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.getSize=function(){this.size=t(this.element)},i.css=function(e){var t=this.element.style;for(var o in e)t[a[o]||o]=e[o]},i.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=e[t?"left":"right"],l=e[o?"top":"bottom"],r=parseFloat(n),a=parseFloat(l),c=this.layout.size;-1!=n.indexOf("%")&&(r=r/100*c.width),-1!=l.indexOf("%")&&(a=a/100*c.height),r=isNaN(r)?0:r,a=isNaN(a)?0:a,r-=t?c.paddingLeft:c.paddingRight,a-=o?c.paddingTop:c.paddingBottom,this.position.x=r,this.position.y=a},i.layoutPosition=function(){var e=this.layout.size,t={},o=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),l=o?"paddingLeft":"paddingRight",r=o?"left":"right",a=o?"right":"left",c=this.position.x+e[l];t[r]=this.getXValue(c),t[a]="";var i=n?"paddingTop":"paddingBottom",s=n?"top":"bottom",u=n?"bottom":"top",d=this.position.y+e[i];t[s]=this.getYValue(d),t[u]="",this.css(t),this.emitEvent("layout",[this])},i.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},i.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},i._transitionTo=function(e,t){this.getPosition();var o=this.position.x,n=this.position.y,l=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),!l||this.isTransitioning){var r=e-o,a=t-n,c={};c.transform=this.getTranslate(r,a),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},i.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},i.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},i.moveTo=i._transitionTo,i.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},i._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},i.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t=this._transn;for(var o in e.onTransitionEnd)t.onEnd[o]=e.onTransitionEnd[o];for(o in e.to)t.ingProperties[o]=!0,e.isCleaning&&(t.clean[o]=!0);e.from&&(this.css(e.from),this.element.offsetHeight),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var s="opacity,"+l.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}));i.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:s,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(r,this,!1)}},i.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},i.onotransitionend=function(e){this.ontransitionend(e)};var u={"-webkit-transform":"transform"};i.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,o=u[e.propertyName]||e.propertyName;delete t.ingProperties[o],function(e){for(var t in e)return!1;return!0}(t.ingProperties)&&this.disableTransition(),o in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[o]),o in t.onEnd&&(t.onEnd[o].call(this),delete t.onEnd[o]),this.emitEvent("transitionEnd",[this])}},i.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(r,this,!1),this.isTransitioning=!1},i._removeStyles=function(e){var t={};for(var o in e)t[o]="";this.css(t)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return i.removeTransitionStyles=function(){this.css(d)},i.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},i.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},i.remove=function(){n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),this.hide()):this.removeElem()},i.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},i.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},i.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var o in t)return o},i.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},i.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},i.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},c})?n.apply(t,l):n)||(e.exports=r)},1794:function(e,t,o){var n,l;!function(r,a){"use strict";n=[o(7158),o(6131),o(9047),o(652)],l=function(e,t,o,n){return function(e,t,o,n,l){var r=e.console,a=e.jQuery,c=function(){},i=0,s={};function u(e,t){var o=n.getQueryElement(e);if(o){this.element=o,a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t);var l=++i;this.element.outlayerGUID=l,s[l]=this,this._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(o||e))}u.namespace="outlayer",u.Item=l,u.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=u.prototype;function m(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}n.extend(d,t.prototype),d.option=function(e){n.extend(this.options,e)},d._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},u.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(e){for(var t=this._filterFindItemElements(e),o=this.constructor.Item,n=[],l=0;l<t.length;l++){var r=new o(t[l],this);n.push(r)}return n},d._filterFindItemElements=function(e){return n.filterFindElements(e,this.options.itemSelector)},d.getItemElements=function(){return this.items.map((function(e){return e.element}))},d.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=o(this.element)},d._getMeasurement=function(e,t){var n,l=this.options[e];l?("string"==typeof l?n=this.element.querySelector(l):l instanceof HTMLElement&&(n=l),this[e]=n?o(n)[t]:l):this[e]=0},d.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},d._getItemsForLayout=function(e){return e.filter((function(e){return!e.isIgnored}))},d._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var o=[];e.forEach((function(e){var n=this._getItemLayoutPosition(e);n.item=e,n.isInstant=t||e.isLayoutInstant,o.push(n)}),this),this._processLayoutQueue(o)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(e){this.updateStagger(),e.forEach((function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)}),this)},d.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=function(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),o=t&&t[1],n=t&&t[2];return o.length?(o=parseFloat(o))*(h[n]||1):0}(e),this.stagger;this.stagger=0},d._positionItem=function(e,t,o,n,l){n?e.goTo(t,o):(e.stagger(l*this.stagger),e.moveTo(t,o))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},d._getContainerSize=c,d._setContainerMeasure=function(e,t){if(void 0!==e){var o=this.size;o.isBorderBox&&(e+=t?o.paddingLeft+o.paddingRight+o.borderLeftWidth+o.borderRightWidth:o.paddingBottom+o.paddingTop+o.borderTopWidth+o.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},d._emitCompleteOnItems=function(e,t){var o=this;function n(){o.dispatchEvent(e+"Complete",null,[t])}var l=t.length;if(t&&l){var r=0;t.forEach((function(t){t.once(e,a)}))}else n();function a(){++r==l&&n()}},d.dispatchEvent=function(e,t,o){var n=t?[t].concat(o):o;if(this.emitEvent(e,n),a)if(this.$element=this.$element||a(this.element),t){var l=a.Event(t);l.type=e,this.$element.trigger(l,o)}else this.$element.trigger(e,o)},d.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},d.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},d.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},d.unstamp=function(e){(e=this._find(e))&&e.forEach((function(e){n.removeFrom(this.stamps,e),this.unignore(e)}),this)},d._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),n.makeArray(e)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},d._manageStamp=c,d._getElementOffset=function(e){var t=e.getBoundingClientRect(),n=this._boundingRect,l=o(e);return{left:t.left-n.left-l.marginLeft,top:t.top-n.top-l.marginTop,right:n.right-t.right-l.marginRight,bottom:n.bottom-t.bottom-l.marginBottom}},d.handleEvent=n.handleEvent,d.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},n.debounceMethod(u,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var e=o(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},d.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},d.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},d.prepended=function(e){var t=this._itemize(e);if(t.length){var o=this.items.slice(0);this.items=t.concat(o),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(o)}},d.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,o){e.stagger(o*t),e.reveal()}))}},d.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach((function(e,o){e.stagger(o*t),e.hide()}))}},d.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},d.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},d.getItem=function(e){for(var t=0;t<this.items.length;t++){var o=this.items[t];if(o.element==e)return o}},d.getItems=function(e){e=n.makeArray(e);var t=[];return e.forEach((function(e){var o=this.getItem(e);o&&t.push(o)}),this),t},d.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach((function(e){e.remove(),n.removeFrom(this.items,e)}),this)},d.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach((function(e){e.destroy()})),this.unbindResize();var t=this.element.outlayerGUID;delete s[t],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},u.data=function(e){var t=(e=n.getQueryElement(e))&&e.outlayerGUID;return t&&s[t]},u.create=function(e,t){var o=m(u);return o.defaults=n.extend({},u.defaults),n.extend(o.defaults,t),o.compatOptions=n.extend({},u.compatOptions),o.namespace=e,o.data=u.data,o.Item=m(l),n.htmlInit(o,e),a&&a.bridget&&a.bridget(e,o),o};var h={ms:1,s:1e3};return u.Item=l,u}(r,e,t,o,n)}.apply(t,n),void 0===l||(e.exports=l)}(window)},2703:function(e,t,o){"use strict";var n=o(414);function l(){}function r(){}r.resetWarningCache=l,e.exports=function(){function e(e,t,o,l,r,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:l};return o.PropTypes=o,o}},5697:function(e,t,o){e.exports=o(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3917:function(e,t,o){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var l={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var c=r?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(l,a,c):l[a]=e[a]}return l.default=e,o&&o.set(e,l),l}(o(9196)),r=o(1850),a=i(o(7564)),c=i(o(5697));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function u(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var p=!("undefined"==typeof window||!window.document||!window.document.createElement),b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,n,c,i,s,b=(i=g,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=h(i);if(s){var o=h(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return m(this,e)});function g(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),(t=b.call(this,e)).state={flickityReady:!1,flickityCreated:!1,cellCount:0},t.carousel=null,t.flkty=null,t}return t=g,c=[{key:"getDerivedStateFromProps",value:function(e,t){var o=l.default.Children.count(e.children);return o!==t.cellCount?{flickityReady:!1,cellCount:o}:null}}],(n=[{key:"componentDidUpdate",value:function(e,t){var o=this,n=this.props,l=n.children,r=n.options,c=r.draggable,i=r.initialIndex,s=n.reloadOnUpdate,u=n.disableImagesLoaded,d=this.state.flickityReady;if(s||!t.flickityReady&&d){var m=this.flkty.isActive;this.flkty.deactivate(),this.flkty.selectedIndex=i||0,this.flkty.options.draggable=void 0===c?!!l&&l.length>1:c,m&&this.flkty.activate(),!u&&this.carousel&&(0,a.default)(this.carousel,(function(){o.flkty.reloadCells()}))}else this.flkty.reloadCells()}},{key:"componentDidMount",value:function(){if(!p)return null;var e=o(2442),t=this.props,n=t.flickityRef,l=t.options;this.flkty=new e(this.carousel,l),n&&n(this.flkty),this.props.static?this.setReady():this.setState({flickityCreated:!0})}},{key:"setReady",value:function(){var e=this;if(!this.state.flickityReady){var t=function(){return e.setState({flickityReady:!0})};this.props.disableImagesLoaded?t():(0,a.default)(this.carousel,t)}}},{key:"renderPortal",value:function(){var e=this;if(!this.carousel)return null;var t=this.carousel.querySelector(".flickity-slider");if(t){var o=(0,r.createPortal)(this.props.children,t);return setTimeout((function(){return e.setReady()}),0),o}}},{key:"render",value:function(){var e=this;return l.default.createElement(this.props.elementType,{className:this.props.className,ref:function(t){e.carousel=t}},this.props.static?this.props.children:this.renderPortal())}}])&&u(t.prototype,n),c&&u(t,c),g}(l.Component);b.propTypes={children:c.default.array,className:c.default.string,disableImagesLoaded:c.default.bool,elementType:c.default.string,flickityRef:c.default.func,options:c.default.object,reloadOnUpdate:c.default.bool,static:c.default.bool},b.defaultProps={className:"",disableImagesLoaded:!1,elementType:"div",options:{},reloadOnUpdate:!1,static:!1};var g=b;t.default=g,e.exports=t.default},8078:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BicyclingLayer=void 0;var n=h(o(8106)),l=h(o(5105)),r=h(o(9663)),a=h(o(2600)),c=h(o(9135)),i=h(o(3196)),s=h(o(9196)),u=h(o(5697)),d=o(2413),m=o(1822);function h(e){return e&&e.__esModule?e:{default:e}}var p=t.BicyclingLayer=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o)),i=new google.maps.BicyclingLayer;return(0,d.construct)(t.propTypes,g,a.props,i),i.setMap(a.context[m.MAP]),a.state=(0,n.default)({},m.BICYCLING_LAYER,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,d.componentDidMount)(this,this.state[m.BICYCLING_LAYER],b)}},{key:"componentDidUpdate",value:function(e){(0,d.componentDidUpdate)(this,this.state[m.BICYCLING_LAYER],b,g,e)}},{key:"componentWillUnmount",value:function(){(0,d.componentWillUnmount)(this);var e=this.state[m.BICYCLING_LAYER];e&&e.setMap(null)}},{key:"render",value:function(){return!1}}]),t}(s.default.PureComponent);p.propTypes={},p.contextTypes=(0,n.default)({},m.MAP,u.default.object),t.default=p;var b={},g={}},7877:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var n=h(o(8106)),l=h(o(5105)),r=h(o(9663)),a=h(o(2600)),c=h(o(9135)),i=h(o(3196)),s=h(o(9196)),u=h(o(5697)),d=o(2413),m=o(1822);function h(e){return e&&e.__esModule?e:{default:e}}var p=t.Circle=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o)),i=new google.maps.Circle;return(0,d.construct)(t.propTypes,g,a.props,i),i.setMap(a.context[m.MAP]),a.state=(0,n.default)({},m.CIRCLE,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,d.componentDidMount)(this,this.state[m.CIRCLE],b)}},{key:"componentDidUpdate",value:function(e){(0,d.componentDidUpdate)(this,this.state[m.CIRCLE],b,g,e)}},{key:"componentWillUnmount",value:function(){(0,d.componentWillUnmount)(this);var e=this.state[m.CIRCLE];e&&e.setMap(null)}},{key:"render",value:function(){return!1}},{key:"getBounds",value:function(){return this.state[m.CIRCLE].getBounds()}},{key:"getCenter",value:function(){return this.state[m.CIRCLE].getCenter()}},{key:"getDraggable",value:function(){return this.state[m.CIRCLE].getDraggable()}},{key:"getEditable",value:function(){return this.state[m.CIRCLE].getEditable()}},{key:"getRadius",value:function(){return this.state[m.CIRCLE].getRadius()}},{key:"getVisible",value:function(){return this.state[m.CIRCLE].getVisible()}}]),t}(s.default.PureComponent);p.propTypes={defaultCenter:u.default.any,defaultDraggable:u.default.bool,defaultEditable:u.default.bool,defaultOptions:u.default.any,defaultRadius:u.default.number,defaultVisible:u.default.bool,center:u.default.any,draggable:u.default.bool,editable:u.default.bool,options:u.default.any,radius:u.default.number,visible:u.default.bool,onDblClick:u.default.func,onDragEnd:u.default.func,onDragStart:u.default.func,onMouseDown:u.default.func,onMouseMove:u.default.func,onMouseOut:u.default.func,onMouseOver:u.default.func,onMouseUp:u.default.func,onRightClick:u.default.func,onCenterChanged:u.default.func,onClick:u.default.func,onDrag:u.default.func,onRadiusChanged:u.default.func},p.contextTypes=(0,n.default)({},m.MAP,u.default.object),t.default=p;var b={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onRadiusChanged:"radius_changed"},g={center:function(e,t){e.setCenter(t)},draggable:function(e,t){e.setDraggable(t)},editable:function(e,t){e.setEditable(t)},options:function(e,t){e.setOptions(t)},radius:function(e,t){e.setRadius(t)},visible:function(e,t){e.setVisible(t)}}},9522:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionsRenderer=void 0;var n=h(o(8106)),l=h(o(5105)),r=h(o(9663)),a=h(o(2600)),c=h(o(9135)),i=h(o(3196)),s=h(o(9196)),u=h(o(5697)),d=o(2413),m=o(1822);function h(e){return e&&e.__esModule?e:{default:e}}var p=t.DirectionsRenderer=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o)),i=new google.maps.DirectionsRenderer;return(0,d.construct)(t.propTypes,g,a.props,i),i.setMap(a.context[m.MAP]),a.state=(0,n.default)({},m.DIRECTIONS_RENDERER,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,d.componentDidMount)(this,this.state[m.DIRECTIONS_RENDERER],b)}},{key:"componentDidUpdate",value:function(e){(0,d.componentDidUpdate)(this,this.state[m.DIRECTIONS_RENDERER],b,g,e)}},{key:"componentWillUnmount",value:function(){(0,d.componentWillUnmount)(this);var e=this.state[m.DIRECTIONS_RENDERER];e&&e.setMap(null)}},{key:"render",value:function(){return!1}},{key:"getDirections",value:function(){return this.state[m.DIRECTIONS_RENDERER].getDirections()}},{key:"getPanel",value:function(){return this.state[m.DIRECTIONS_RENDERER].getPanel()}},{key:"getRouteIndex",value:function(){return this.state[m.DIRECTIONS_RENDERER].getRouteIndex()}}]),t}(s.default.PureComponent);p.propTypes={defaultDirections:u.default.any,defaultOptions:u.default.any,defaultPanel:u.default.any,defaultRouteIndex:u.default.number,directions:u.default.any,options:u.default.any,panel:u.default.any,routeIndex:u.default.number,onDirectionsChanged:u.default.func},p.contextTypes=(0,n.default)({},m.MAP,u.default.object),t.default=p;var b={onDirectionsChanged:"directions_changed"},g={directions:function(e,t){e.setDirections(t)},options:function(e,t){e.setOptions(t)},panel:function(e,t){e.setPanel(t)},routeIndex:function(e,t){e.setRouteIndex(t)}}},8489:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FusionTablesLayer=void 0;var n=h(o(8106)),l=h(o(5105)),r=h(o(9663)),a=h(o(2600)),c=h(o(9135)),i=h(o(3196)),s=h(o(9196)),u=h(o(5697)),d=o(2413),m=o(1822);function h(e){return e&&e.__esModule?e:{default:e}}var p=t.FusionTablesLayer=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o)),i=new google.maps.FusionTablesLayer;return(0,d.construct)(t.propTypes,g,a.props,i),i.setMap(a.context[m.MAP]),a.state=(0,n.default)({},m.FUSION_TABLES_LAYER,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,d.componentDidMount)(this,this.state[m.FUSION_TABLES_LAYER],b)}},{key:"componentDidUpdate",value:function(e){(0,d.componentDidUpdate)(this,this.state[m.FUSION_TABLES_LAYER],b,g,e)}},{key:"componentWillUnmount",value:function(){(0,d.componentWillUnmount)(this);var e=this.state[m.FUSION_TABLES_LAYER];e&&e.setMap(null)}},{key:"render",value:function(){return!1}}]),t}(s.default.PureComponent);p.propTypes={defaultOptions:u.default.any,options:u.default.any,onClick:u.default.func},p.contextTypes=(0,n.default)({},m.MAP,u.default.object),t.default=p;var b={onClick:"click"},g={options:function(e,t){e.setOptions(t)}}},4063:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMap=t.Map=void 0;var n=b(o(8106)),l=b(o(5315)),r=b(o(5105)),a=b(o(9663)),c=b(o(9135)),i=b(o(2600)),s=b(o(3196)),u=b(o(1143)),d=b(o(9196)),m=b(o(5697)),h=o(2413),p=o(1822);function b(e){return e&&e.__esModule?e:{default:e}}var g=t.Map=function(e){function t(e,o){(0,a.default)(this,t);var n=(0,c.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,o));return(0,u.default)(!!n.context[p.MAP],"Did you wrap <GoogleMap> component with withGoogleMap() HOC?"),(0,h.construct)(f.propTypes,_,n.props,n.context[p.MAP]),n}return(0,s.default)(t,e),(0,i.default)(t,[{key:"fitBounds",value:function(){var e;return(e=this.context[p.MAP]).fitBounds.apply(e,arguments)}},{key:"panBy",value:function(){var e;return(e=this.context[p.MAP]).panBy.apply(e,arguments)}},{key:"panTo",value:function(){var e;return(e=this.context[p.MAP]).panTo.apply(e,arguments)}},{key:"panToBounds",value:function(){var e;return(e=this.context[p.MAP]).panToBounds.apply(e,arguments)}}]),(0,i.default)(t,[{key:"componentDidMount",value:function(){(0,h.componentDidMount)(this,this.context[p.MAP],v)}},{key:"componentDidUpdate",value:function(e){(0,h.componentDidUpdate)(this,this.context[p.MAP],v,_,e)}},{key:"componentWillUnmount",value:function(){(0,h.componentWillUnmount)(this)}},{key:"render",value:function(){var e=this.props.children;return d.default.createElement("div",null,e)}},{key:"getBounds",value:function(){return this.context[p.MAP].getBounds()}},{key:"getCenter",value:function(){return this.context[p.MAP].getCenter()}},{key:"getClickableIcons",value:function(){return this.context[p.MAP].getClickableIcons()}},{key:"getDiv",value:function(){return this.context[p.MAP].getDiv()}},{key:"getHeading",value:function(){return this.context[p.MAP].getHeading()}},{key:"getMapTypeId",value:function(){return this.context[p.MAP].getMapTypeId()}},{key:"getProjection",value:function(){return this.context[p.MAP].getProjection()}},{key:"getStreetView",value:function(){return this.context[p.MAP].getStreetView()}},{key:"getTilt",value:function(){return this.context[p.MAP].getTilt()}},{key:"getZoom",value:function(){return this.context[p.MAP].getZoom()}}]),t}(d.default.PureComponent);g.displayName="GoogleMap",g.propTypes={defaultExtraMapTypes:m.default.arrayOf(m.default.arrayOf(m.default.any)),defaultCenter:m.default.any,defaultClickableIcons:m.default.bool,defaultHeading:m.default.number,defaultMapTypeId:m.default.any,defaultOptions:m.default.any,defaultStreetView:m.default.any,defaultTilt:m.default.number,defaultZoom:m.default.number,center:m.default.any,clickableIcons:m.default.bool,heading:m.default.number,mapTypeId:m.default.any,options:m.default.any,streetView:m.default.any,tilt:m.default.number,zoom:m.default.number,onDblClick:m.default.func,onDragEnd:m.default.func,onDragStart:m.default.func,onMapTypeIdChanged:m.default.func,onMouseMove:m.default.func,onMouseOut:m.default.func,onMouseOver:m.default.func,onRightClick:m.default.func,onTilesLoaded:m.default.func,onBoundsChanged:m.default.func,onCenterChanged:m.default.func,onClick:m.default.func,onDrag:m.default.func,onHeadingChanged:m.default.func,onIdle:m.default.func,onProjectionChanged:m.default.func,onResize:m.default.func,onTiltChanged:m.default.func,onZoomChanged:m.default.func},g.contextTypes=(0,n.default)({},p.MAP,m.default.object);var f=t.GoogleMap=g;t.default=g;var v={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},_={extraMapTypes:function(e,t){t.forEach((function(t){var o;return(o=e.mapTypes).set.apply(o,(0,l.default)(t))}))},center:function(e,t){e.setCenter(t)},clickableIcons:function(e,t){e.setClickableIcons(t)},heading:function(e,t){e.setHeading(t)},mapTypeId:function(e,t){e.setMapTypeId(t)},options:function(e,t){e.setOptions(t)},streetView:function(e,t){e.setStreetView(t)},tilt:function(e,t){e.setTilt(t)},zoom:function(e,t){e.setZoom(t)}}},5233:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroundOverlay=void 0;var n=p(o(8106)),l=p(o(5105)),r=p(o(9663)),a=p(o(2600)),c=p(o(9135)),i=p(o(3196)),s=p(o(670)),u=p(o(9196)),d=p(o(5697)),m=o(2413),h=o(1822);function p(e){return e&&e.__esModule?e:{default:e}}var b=t.GroundOverlay=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o));(0,s.default)(!e.url||!e.bounds,"\nFor GroundOveray, url and bounds are passed in to constructor and are immutable\n after iinstantiated. This is the behavior of Google Maps JavaScript API v3 (\n See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay)\n Hence, use the corresponding two props provided by `react-google-maps`.\n They're prefixed with _default_ (defaultUrl, defaultBounds).\n\n In some cases, you'll need the GroundOverlay component to reflect the changes\n of url and bounds. You can leverage the React's key property to remount the\n component. Typically, just `key={url}` would serve your need.\n See https://github.com/tomchentw/react-google-maps/issues/655\n");var i=new google.maps.GroundOverlay(e.defaultUrl||e.url,e.defaultBounds||e.bounds);return(0,m.construct)(t.propTypes,f,a.props,i),i.setMap(a.context[h.MAP]),a.state=(0,n.default)({},h.GROUND_LAYER,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,m.componentDidMount)(this,this.state[h.GROUND_LAYER],g)}},{key:"componentDidUpdate",value:function(e){(0,m.componentDidUpdate)(this,this.state[h.GROUND_LAYER],g,f,e)}},{key:"componentWillUnmount",value:function(){(0,m.componentWillUnmount)(this);var e=this.state[h.GROUND_LAYER];e&&e.setMap(null)}},{key:"render",value:function(){return!1}},{key:"getBounds",value:function(){return this.state[h.GROUND_LAYER].getBounds()}},{key:"getOpacity",value:function(){return this.state[h.GROUND_LAYER].getOpacity()}},{key:"getUrl",value:function(){return this.state[h.GROUND_LAYER].getUrl()}}]),t}(u.default.PureComponent);b.propTypes={defaultUrl:d.default.string,defaultBounds:d.default.object,url:d.default.string,bounds:d.default.object,defaultOpacity:d.default.number,opacity:d.default.number,onDblClick:d.default.func,onClick:d.default.func},b.contextTypes=(0,n.default)({},h.MAP,d.default.object),t.default=b;var g={onDblClick:"dblclick",onClick:"click"},f={opacity:function(e,t){e.setOpacity(t)}}},4844:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InfoWindow=void 0;var n,l=f(o(8106)),r=f(o(5105)),a=f(o(9663)),c=f(o(2600)),i=f(o(9135)),s=f(o(3196)),u=f(o(1143)),d=f(o(1807)),m=f(o(9196)),h=f(o(1850)),p=f(o(5697)),b=o(2413),g=o(1822);function f(e){return e&&e.__esModule?e:{default:e}}var v=t.InfoWindow=function(e){function t(e,o){(0,a.default)(this,t);var n=(0,i.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,o)),c=new google.maps.InfoWindow;return(0,b.construct)(t.propTypes,y,n.props,c),c.setMap(n.context[g.MAP]),n.state=(0,l.default)({},g.INFO_WINDOW,c),n}return(0,s.default)(t,e),(0,c.default)(t,[{key:"componentWillMount",value:function(){d.default&&!this.containerElement&&m.default.version.match(/^16/)&&(this.containerElement=document.createElement("div"))}},{key:"componentDidMount",value:function(){if((0,b.componentDidMount)(this,this.state[g.INFO_WINDOW],k),m.default.version.match(/^16/))return this.state[g.INFO_WINDOW].setContent(this.containerElement),void _(this.state[g.INFO_WINDOW],this.context[g.ANCHOR]);var e=document.createElement("div");h.default.unstable_renderSubtreeIntoContainer(this,m.default.Children.only(this.props.children),e),this.state[g.INFO_WINDOW].setContent(e),_(this.state[g.INFO_WINDOW],this.context[g.ANCHOR])}},{key:"componentDidUpdate",value:function(e){(0,b.componentDidUpdate)(this,this.state[g.INFO_WINDOW],k,y,e),m.default.version.match(/^16/)||this.props.children!==e.children&&h.default.unstable_renderSubtreeIntoContainer(this,m.default.Children.only(this.props.children),this.state[g.INFO_WINDOW].getContent())}},{key:"componentWillUnmount",value:function(){(0,b.componentWillUnmount)(this);var e=this.state[g.INFO_WINDOW];e&&(!m.default.version.match(/^16/)&&e.getContent()&&h.default.unmountComponentAtNode(e.getContent()),e.setMap(null))}},{key:"render",value:function(){return!!m.default.version.match(/^16/)&&h.default.createPortal(m.default.Children.only(this.props.children),this.containerElement)}},{key:"getPosition",value:function(){return this.state[g.INFO_WINDOW].getPosition()}},{key:"getZIndex",value:function(){return this.state[g.INFO_WINDOW].getZIndex()}}]),t}(m.default.PureComponent);v.propTypes={defaultOptions:p.default.any,defaultPosition:p.default.any,defaultZIndex:p.default.number,options:p.default.any,position:p.default.any,zIndex:p.default.number,onCloseClick:p.default.func,onDomReady:p.default.func,onContentChanged:p.default.func,onPositionChanged:p.default.func,onZindexChanged:p.default.func},v.contextTypes=(n={},(0,l.default)(n,g.MAP,p.default.object),(0,l.default)(n,g.ANCHOR,p.default.object),n),t.default=v;var _=function(e,t){t?e.open(e.getMap(),t):e.getPosition()?e.open(e.getMap()):(0,u.default)(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},k={onCloseClick:"closeclick",onDomReady:"domready",onContentChanged:"content_changed",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},y={options:function(e,t){e.setOptions(t)},position:function(e,t){e.setPosition(t)},zIndex:function(e,t){e.setZIndex(t)}}},3450:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KmlLayer=void 0;var n=h(o(8106)),l=h(o(5105)),r=h(o(9663)),a=h(o(2600)),c=h(o(9135)),i=h(o(3196)),s=h(o(9196)),u=h(o(5697)),d=o(2413),m=o(1822);function h(e){return e&&e.__esModule?e:{default:e}}var p=t.KmlLayer=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o)),i=new google.maps.KmlLayer;return(0,d.construct)(t.propTypes,g,a.props,i),i.setMap(a.context[m.MAP]),a.state=(0,n.default)({},m.KML_LAYER,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,d.componentDidMount)(this,this.state[m.KML_LAYER],b)}},{key:"componentDidUpdate",value:function(e){(0,d.componentDidUpdate)(this,this.state[m.KML_LAYER],b,g,e)}},{key:"componentWillUnmount",value:function(){(0,d.componentWillUnmount)(this);var e=this.state[m.KML_LAYER];e&&e.setMap(null)}},{key:"render",value:function(){return!1}},{key:"getDefaultViewport",value:function(){return this.state[m.KML_LAYER].getDefaultViewport()}},{key:"getMetadata",value:function(){return this.state[m.KML_LAYER].getMetadata()}},{key:"getStatus",value:function(){return this.state[m.KML_LAYER].getStatus()}},{key:"getUrl",value:function(){return this.state[m.KML_LAYER].getUrl()}},{key:"getZIndex",value:function(){return this.state[m.KML_LAYER].getZIndex()}}]),t}(s.default.PureComponent);p.propTypes={defaultOptions:u.default.any,defaultUrl:u.default.string,defaultZIndex:u.default.number,options:u.default.any,url:u.default.string,zIndex:u.default.number,onDefaultViewportChanged:u.default.func,onClick:u.default.func,onStatusChanged:u.default.func},p.contextTypes=(0,n.default)({},m.MAP,u.default.object),t.default=p;var b={onDefaultViewportChanged:"defaultviewport_changed",onClick:"click",onStatusChanged:"status_changed"},g={options:function(e,t){e.setOptions(t)},url:function(e,t){e.setUrl(t)},zIndex:function(e,t){e.setZIndex(t)}}},7026:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;var n,l=p(o(8106)),r=p(o(5105)),a=p(o(9663)),c=p(o(2600)),i=p(o(9135)),s=p(o(3196)),u=p(o(9196)),d=p(o(5697)),m=o(2413),h=o(1822);function p(e){return e&&e.__esModule?e:{default:e}}var b=t.Marker=function(e){function t(e,o){(0,a.default)(this,t);var n=(0,i.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,o)),c=new google.maps.Marker;(0,m.construct)(t.propTypes,f,n.props,c);var s=n.context[h.MARKER_CLUSTERER];return s?s.addMarker(c,!!n.props.noRedraw):c.setMap(n.context[h.MAP]),n.state=(0,l.default)({},h.MARKER,c),n}return(0,s.default)(t,e),(0,c.default)(t,[{key:"getChildContext",value:function(){return(0,l.default)({},h.ANCHOR,this.context[h.ANCHOR]||this.state[h.MARKER])}},{key:"componentDidMount",value:function(){(0,m.componentDidMount)(this,this.state[h.MARKER],g)}},{key:"componentDidUpdate",value:function(e){(0,m.componentDidUpdate)(this,this.state[h.MARKER],g,f,e)}},{key:"componentWillUnmount",value:function(){(0,m.componentWillUnmount)(this);var e=this.state[h.MARKER];if(e){var t=this.context[h.MARKER_CLUSTERER];t&&t.removeMarker(e,!!this.props.noRedraw),e.setMap(null)}}},{key:"render",value:function(){var e=this.props.children;return u.default.createElement("div",null,e)}},{key:"getAnimation",value:function(){return this.state[h.MARKER].getAnimation()}},{key:"getClickable",value:function(){return this.state[h.MARKER].getClickable()}},{key:"getCursor",value:function(){return this.state[h.MARKER].getCursor()}},{key:"getDraggable",value:function(){return this.state[h.MARKER].getDraggable()}},{key:"getIcon",value:function(){return this.state[h.MARKER].getIcon()}},{key:"getLabel",value:function(){return this.state[h.MARKER].getLabel()}},{key:"getOpacity",value:function(){return this.state[h.MARKER].getOpacity()}},{key:"getPlace",value:function(){return this.state[h.MARKER].getPlace()}},{key:"getPosition",value:function(){return this.state[h.MARKER].getPosition()}},{key:"getShape",value:function(){return this.state[h.MARKER].getShape()}},{key:"getTitle",value:function(){return this.state[h.MARKER].getTitle()}},{key:"getVisible",value:function(){return this.state[h.MARKER].getVisible()}},{key:"getZIndex",value:function(){return this.state[h.MARKER].getZIndex()}}]),t}(u.default.PureComponent);b.propTypes={noRedraw:d.default.bool,defaultAnimation:d.default.any,defaultClickable:d.default.bool,defaultCursor:d.default.string,defaultDraggable:d.default.bool,defaultIcon:d.default.any,defaultLabel:d.default.any,defaultOpacity:d.default.number,defaultOptions:d.default.any,defaultPlace:d.default.any,defaultPosition:d.default.any,defaultShape:d.default.any,defaultTitle:d.default.string,defaultVisible:d.default.bool,defaultZIndex:d.default.number,animation:d.default.any,clickable:d.default.bool,cursor:d.default.string,draggable:d.default.bool,icon:d.default.any,label:d.default.any,opacity:d.default.number,options:d.default.any,place:d.default.any,position:d.default.any,shape:d.default.any,title:d.default.string,visible:d.default.bool,zIndex:d.default.number,onDblClick:d.default.func,onDragEnd:d.default.func,onDragStart:d.default.func,onMouseDown:d.default.func,onMouseOut:d.default.func,onMouseOver:d.default.func,onMouseUp:d.default.func,onRightClick:d.default.func,onAnimationChanged:d.default.func,onClick:d.default.func,onClickableChanged:d.default.func,onCursorChanged:d.default.func,onDrag:d.default.func,onDraggableChanged:d.default.func,onFlatChanged:d.default.func,onIconChanged:d.default.func,onPositionChanged:d.default.func,onShapeChanged:d.default.func,onTitleChanged:d.default.func,onVisibleChanged:d.default.func,onZindexChanged:d.default.func},b.contextTypes=(n={},(0,l.default)(n,h.MAP,d.default.object),(0,l.default)(n,h.MARKER_CLUSTERER,d.default.object),n),b.childContextTypes=(0,l.default)({},h.ANCHOR,d.default.object),t.default=b;var g={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDrag:"drag",onDraggableChanged:"draggable_changed",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onPositionChanged:"position_changed",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},f={animation:function(e,t){e.setAnimation(t)},clickable:function(e,t){e.setClickable(t)},cursor:function(e,t){e.setCursor(t)},draggable:function(e,t){e.setDraggable(t)},icon:function(e,t){e.setIcon(t)},label:function(e,t){e.setLabel(t)},opacity:function(e,t){e.setOpacity(t)},options:function(e,t){e.setOptions(t)},place:function(e,t){e.setPlace(t)},position:function(e,t){e.setPosition(t)},shape:function(e,t){e.setShape(t)},title:function(e,t){e.setTitle(t)},visible:function(e,t){e.setVisible(t)},zIndex:function(e,t){e.setZIndex(t)}}},1764:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OverlayView=void 0;var n,l=y(o(8239)),r=y(o(8106)),a=y(o(5105)),c=y(o(9663)),i=y(o(2600)),s=y(o(9135)),u=y(o(3196)),d=y(o(8066)),m=y(o(8583)),h=y(o(8169)),p=y(o(1143)),b=y(o(9196)),g=y(o(1850)),f=y(o(5697)),v=o(2413),_=o(7e3),k=o(1822);function y(e){return e&&e.__esModule?e:{default:e}}var w=t.OverlayView=function(e){function t(e,o){(0,c.default)(this,t);var n=(0,s.default)(this,(t.__proto__||(0,a.default)(t)).call(this,e,o)),l=new google.maps.OverlayView;return l.onAdd=(0,h.default)(n.onAdd,n),l.draw=(0,h.default)(n.draw,n),l.onRemove=(0,h.default)(n.onRemove,n),n.onPositionElement=(0,h.default)(n.onPositionElement,n),l.setMap(n.context[k.MAP]),n.state=(0,r.default)({},k.OVERLAY_VIEW,l),n}return(0,u.default)(t,e),(0,i.default)(t,[{key:"onAdd",value:function(){this.containerElement=document.createElement("div"),this.containerElement.style.position="absolute"}},{key:"draw",value:function(){var e=this.props.mapPaneName;(0,p.default)(!!e,"OverlayView requires either props.mapPaneName or props.defaultMapPaneName but got %s",e),this.state[k.OVERLAY_VIEW].getPanes()[e].appendChild(this.containerElement),g.default.unstable_renderSubtreeIntoContainer(this,b.default.Children.only(this.props.children),this.containerElement,this.onPositionElement)}},{key:"onPositionElement",value:function(){var e=this.state[k.OVERLAY_VIEW].getProjection(),t=(0,l.default)({x:0,y:0},(0,_.getOffsetOverride)(this.containerElement,this.props)),o=(0,_.getLayoutStyles)(e,t,this.props);(0,m.default)(this.containerElement.style,o)}},{key:"onRemove",value:function(){this.containerElement.parentNode.removeChild(this.containerElement),g.default.unmountComponentAtNode(this.containerElement),this.containerElement=null}},{key:"componentDidMount",value:function(){(0,v.componentDidMount)(this,this.state[k.OVERLAY_VIEW],E)}},{key:"componentDidUpdate",value:function(e){(0,v.componentDidUpdate)(this,this.state[k.OVERLAY_VIEW],E,x,e),(0,d.default)(this.state[k.OVERLAY_VIEW].draw)}},{key:"componentWillUnmount",value:function(){(0,v.componentWillUnmount)(this);var e=this.state[k.OVERLAY_VIEW];e&&(e.setMap(null),e.onAdd=null,e.draw=null,e.onRemove=null)}},{key:"render",value:function(){return!1}},{key:"getPanes",value:function(){return this.state[k.OVERLAY_VIEW].getPanes()}},{key:"getProjection",value:function(){return this.state[k.OVERLAY_VIEW].getProjection()}}]),t}(b.default.PureComponent);w.FLOAT_PANE="floatPane",w.MAP_PANE="mapPane",w.MARKER_LAYER="markerLayer",w.OVERLAY_LAYER="overlayLayer",w.OVERLAY_MOUSE_TARGET="overlayMouseTarget",w.propTypes={mapPaneName:f.default.string,position:f.default.object,bounds:f.default.object,children:f.default.node.isRequired,getPixelPositionOffset:f.default.func},w.contextTypes=(n={},(0,r.default)(n,k.MAP,f.default.object),(0,r.default)(n,k.ANCHOR,f.default.object),n),t.default=w;var E={},x={}},1030:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Polygon=void 0;var n=h(o(8106)),l=h(o(5105)),r=h(o(9663)),a=h(o(2600)),c=h(o(9135)),i=h(o(3196)),s=h(o(9196)),u=h(o(5697)),d=o(2413),m=o(1822);function h(e){return e&&e.__esModule?e:{default:e}}var p=t.Polygon=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o)),i=new google.maps.Polygon;return(0,d.construct)(t.propTypes,g,a.props,i),i.setMap(a.context[m.MAP]),a.state=(0,n.default)({},m.POLYGON,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,d.componentDidMount)(this,this.state[m.POLYGON],b)}},{key:"componentDidUpdate",value:function(e){(0,d.componentDidUpdate)(this,this.state[m.POLYGON],b,g,e)}},{key:"componentWillUnmount",value:function(){(0,d.componentWillUnmount)(this);var e=this.state[m.POLYGON];e&&e.setMap(null)}},{key:"render",value:function(){return!1}},{key:"getDraggable",value:function(){return this.state[m.POLYGON].getDraggable()}},{key:"getEditable",value:function(){return this.state[m.POLYGON].getEditable()}},{key:"getPath",value:function(){return this.state[m.POLYGON].getPath()}},{key:"getPaths",value:function(){return this.state[m.POLYGON].getPaths()}},{key:"getVisible",value:function(){return this.state[m.POLYGON].getVisible()}}]),t}(s.default.PureComponent);p.propTypes={defaultDraggable:u.default.bool,defaultEditable:u.default.bool,defaultOptions:u.default.any,defaultPath:u.default.any,defaultPaths:u.default.any,defaultVisible:u.default.bool,draggable:u.default.bool,editable:u.default.bool,options:u.default.any,path:u.default.any,paths:u.default.any,visible:u.default.bool,onDblClick:u.default.func,onDragEnd:u.default.func,onDragStart:u.default.func,onMouseDown:u.default.func,onMouseMove:u.default.func,onMouseOut:u.default.func,onMouseOver:u.default.func,onMouseUp:u.default.func,onRightClick:u.default.func,onClick:u.default.func,onDrag:u.default.func},p.contextTypes=(0,n.default)({},m.MAP,u.default.object),t.default=p;var b={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onClick:"click",onDrag:"drag"},g={draggable:function(e,t){e.setDraggable(t)},editable:function(e,t){e.setEditable(t)},options:function(e,t){e.setOptions(t)},path:function(e,t){e.setPath(t)},paths:function(e,t){e.setPaths(t)},visible:function(e,t){e.setVisible(t)}}},6718:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Polyline=void 0;var n=h(o(8106)),l=h(o(5105)),r=h(o(9663)),a=h(o(2600)),c=h(o(9135)),i=h(o(3196)),s=h(o(9196)),u=h(o(5697)),d=o(2413),m=o(1822);function h(e){return e&&e.__esModule?e:{default:e}}var p=t.Polyline=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o)),i=new google.maps.Polyline;return(0,d.construct)(t.propTypes,g,a.props,i),i.setMap(a.context[m.MAP]),a.state=(0,n.default)({},m.POLYLINE,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,d.componentDidMount)(this,this.state[m.POLYLINE],b)}},{key:"componentDidUpdate",value:function(e){(0,d.componentDidUpdate)(this,this.state[m.POLYLINE],b,g,e)}},{key:"componentWillUnmount",value:function(){(0,d.componentWillUnmount)(this);var e=this.state[m.POLYLINE];e&&e.setMap(null)}},{key:"render",value:function(){return!1}},{key:"getDraggable",value:function(){return this.state[m.POLYLINE].getDraggable()}},{key:"getEditable",value:function(){return this.state[m.POLYLINE].getEditable()}},{key:"getPath",value:function(){return this.state[m.POLYLINE].getPath()}},{key:"getVisible",value:function(){return this.state[m.POLYLINE].getVisible()}}]),t}(s.default.PureComponent);p.propTypes={defaultDraggable:u.default.bool,defaultEditable:u.default.bool,defaultOptions:u.default.any,defaultPath:u.default.any,defaultVisible:u.default.bool,draggable:u.default.bool,editable:u.default.bool,options:u.default.any,path:u.default.any,visible:u.default.bool,onDblClick:u.default.func,onDragEnd:u.default.func,onDragStart:u.default.func,onMouseDown:u.default.func,onMouseMove:u.default.func,onMouseOut:u.default.func,onMouseOver:u.default.func,onMouseUp:u.default.func,onRightClick:u.default.func,onClick:u.default.func,onDrag:u.default.func},p.contextTypes=(0,n.default)({},m.MAP,u.default.object),t.default=p;var b={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onClick:"click",onDrag:"drag"},g={draggable:function(e,t){e.setDraggable(t)},editable:function(e,t){e.setEditable(t)},options:function(e,t){e.setOptions(t)},path:function(e,t){e.setPath(t)},visible:function(e,t){e.setVisible(t)}}},2755:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rectangle=void 0;var n=h(o(8106)),l=h(o(5105)),r=h(o(9663)),a=h(o(2600)),c=h(o(9135)),i=h(o(3196)),s=h(o(9196)),u=h(o(5697)),d=o(2413),m=o(1822);function h(e){return e&&e.__esModule?e:{default:e}}var p=t.Rectangle=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o)),i=new google.maps.Rectangle;return(0,d.construct)(t.propTypes,g,a.props,i),i.setMap(a.context[m.MAP]),a.state=(0,n.default)({},m.RECTANGLE,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,d.componentDidMount)(this,this.state[m.RECTANGLE],b)}},{key:"componentDidUpdate",value:function(e){(0,d.componentDidUpdate)(this,this.state[m.RECTANGLE],b,g,e)}},{key:"componentWillUnmount",value:function(){(0,d.componentWillUnmount)(this);var e=this.state[m.RECTANGLE];e&&e.setMap(null)}},{key:"render",value:function(){return!1}},{key:"getBounds",value:function(){return this.state[m.RECTANGLE].getBounds()}},{key:"getDraggable",value:function(){return this.state[m.RECTANGLE].getDraggable()}},{key:"getEditable",value:function(){return this.state[m.RECTANGLE].getEditable()}},{key:"getVisible",value:function(){return this.state[m.RECTANGLE].getVisible()}}]),t}(s.default.PureComponent);p.propTypes={defaultBounds:u.default.any,defaultDraggable:u.default.bool,defaultEditable:u.default.bool,defaultOptions:u.default.any,defaultVisible:u.default.bool,bounds:u.default.any,draggable:u.default.bool,editable:u.default.bool,options:u.default.any,visible:u.default.bool,onDblClick:u.default.func,onDragEnd:u.default.func,onDragStart:u.default.func,onMouseDown:u.default.func,onMouseMove:u.default.func,onMouseOut:u.default.func,onMouseOver:u.default.func,onMouseUp:u.default.func,onRightClick:u.default.func,onBoundsChanged:u.default.func,onClick:u.default.func,onDrag:u.default.func},p.contextTypes=(0,n.default)({},m.MAP,u.default.object),t.default=p;var b={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onBoundsChanged:"bounds_changed",onClick:"click",onDrag:"drag"},g={bounds:function(e,t){e.setBounds(t)},draggable:function(e,t){e.setDraggable(t)},editable:function(e,t){e.setEditable(t)},options:function(e,t){e.setOptions(t)},visible:function(e,t){e.setVisible(t)}}},618:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreetViewPanorama=void 0;var n=p(o(8106)),l=p(o(5105)),r=p(o(9663)),a=p(o(2600)),c=p(o(9135)),i=p(o(3196)),s=p(o(1143)),u=p(o(9196)),d=p(o(5697)),m=o(2413),h=o(1822);function p(e){return e&&e.__esModule?e:{default:e}}var b=t.StreetViewPanorama=function(e){function t(e,o){(0,r.default)(this,t);var n=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o));return(0,s.default)(!!n.context[h.MAP],"Did you render <StreetViewPanorama> as a child of <GoogleMap> with withGoogleMap() HOC?"),(0,m.construct)(t.propTypes,f,n.props,n.context[h.MAP].getStreetView()),n}return(0,i.default)(t,e),(0,a.default)(t,[{key:"getChildContext",value:function(){return(0,n.default)({},h.MAP,this.context[h.MAP].getStreetView())}},{key:"componentDidMount",value:function(){(0,m.componentDidMount)(this,this.context[h.MAP].getStreetView(),g)}},{key:"componentDidUpdate",value:function(e){(0,m.componentDidUpdate)(this,this.context[h.MAP].getStreetView(),g,f,e)}},{key:"componentWillUnmount",value:function(){(0,m.componentWillUnmount)(this);var e=this.context[h.MAP].getStreetView();e&&e.setVisible(!1)}},{key:"render",value:function(){var e=this.props.children;return u.default.createElement("div",null,e)}},{key:"getLinks",value:function(){return this.context[h.MAP].getLinks()}},{key:"getLocation",value:function(){return this.context[h.MAP].getLocation()}},{key:"getMotionTracking",value:function(){return this.context[h.MAP].getMotionTracking()}},{key:"getPano",value:function(){return this.context[h.MAP].getPano()}},{key:"getPhotographerPov",value:function(){return this.context[h.MAP].getPhotographerPov()}},{key:"getPosition",value:function(){return this.context[h.MAP].getPosition()}},{key:"getPov",value:function(){return this.context[h.MAP].getPov()}},{key:"getStatus",value:function(){return this.context[h.MAP].getStatus()}},{key:"getVisible",value:function(){return this.context[h.MAP].getVisible()}},{key:"getZoom",value:function(){return this.context[h.MAP].getZoom()}}]),t}(u.default.PureComponent);b.propTypes={defaultLinks:d.default.any,defaultMotionTracking:d.default.bool,defaultOptions:d.default.any,defaultPano:d.default.string,defaultPosition:d.default.any,defaultPov:d.default.any,defaultVisible:d.default.bool,defaultZoom:d.default.number,links:d.default.any,motionTracking:d.default.bool,options:d.default.any,pano:d.default.string,position:d.default.any,pov:d.default.any,visible:d.default.bool,zoom:d.default.number,onCloseClick:d.default.func,onPanoChanged:d.default.func,onPositionChanged:d.default.func,onPovChanged:d.default.func,onResize:d.default.func,onStatusChanged:d.default.func,onVisibleChanged:d.default.func,onZoomChanged:d.default.func},b.contextTypes=(0,n.default)({},h.MAP,d.default.object),b.childContextTypes=(0,n.default)({},h.MAP,d.default.object),t.default=b;var g={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},f={links:function(e,t){e.setLinks(t)},motionTracking:function(e,t){e.setMotionTracking(t)},options:function(e,t){e.setOptions(t)},pano:function(e,t){e.setPano(t)},position:function(e,t){e.setPosition(t)},pov:function(e,t){e.setPov(t)},visible:function(e,t){e.setVisible(t)},zoom:function(e,t){e.setZoom(t)}}},6875:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TrafficLayer=void 0;var n=h(o(8106)),l=h(o(5105)),r=h(o(9663)),a=h(o(2600)),c=h(o(9135)),i=h(o(3196)),s=h(o(9196)),u=h(o(5697)),d=o(2413),m=o(1822);function h(e){return e&&e.__esModule?e:{default:e}}var p=t.TrafficLayer=function(e){function t(e,o){(0,r.default)(this,t);var a=(0,c.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,o)),i=new google.maps.TrafficLayer;return(0,d.construct)(t.propTypes,g,a.props,i),i.setMap(a.context[m.MAP]),a.state=(0,n.default)({},m.TRAFFIC_LAYER,i),a}return(0,i.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){(0,d.componentDidMount)(this,this.state[m.TRAFFIC_LAYER],b)}},{key:"componentDidUpdate",value:function(e){(0,d.componentDidUpdate)(this,this.state[m.TRAFFIC_LAYER],b,g,e)}},{key:"componentWillUnmount",value:function(){(0,d.componentWillUnmount)(this);var e=this.state[m.TRAFFIC_LAYER];e&&e.setMap(null)}},{key:"render",value:function(){return!1}}]),t}(s.default.PureComponent);p.propTypes={defaultOptions:u.default.any,options:u.default.any},p.contextTypes=(0,n.default)({},m.MAP,u.default.object),t.default=p;var b={},g={options:function(e,t){e.setOptions(t)}}},1822:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAP="__SECRET_MAP_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.MARKER="__SECRET_MARKER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.MARKER_WITH_LABEL="__SECRET_MARKER_WITH_LABEL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.RECTANGLE="__SECRET_RECTANGLE_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.POLYLINE="__SECRET_POLYLINE_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.POLYGON="__SECRET_POLYGON_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.CIRCLE="__SECRET_CIRCLE_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.KML_LAYER="__SECRET_KML_LAYER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.DIRECTIONS_RENDERER="__SECRET_DIRECTIONS_RENDERER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.HEATMAP_LAYER="__SECRET_HEATMAP_LAYER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.FUSION_TABLES_LAYER="__SECRET_FUSION_TABLES_LAYER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.ANCHOR="__SECRET_ANCHOR_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.INFO_WINDOW="__SECRET_INFO_WINDOW_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.OVERLAY_VIEW="__SECRET_OVERLAY_VIEW_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.GROUND_LAYER="__SECRET_GROUND_LAYER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.DRAWING_MANAGER="__SECRET_DRAWING_MANAGER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.SEARCH_BOX="__SECRET_SEARCH_BOX_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.MARKER_CLUSTERER="__SECRET_MARKER_CLUSTERER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.INFO_BOX="__SECRET_INFO_BOX_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.TRAFFIC_LAYER="__SECRET_TRAFFIC_LAYER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.STREET_VIEW_PANORAMA="__SECRET_STREET_VIEW_PANORAMA_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",t.BICYCLING_LAYER="__SECRET_BICYCLING_LAYER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"},3458:function(e,t,o){"use strict";var n=o(1542);Object.defineProperty(t,"WS",{enumerable:!0,get:function(){return c(n).default}});var l=o(2537);Object.defineProperty(t,"OI",{enumerable:!0,get:function(){return c(l).default}});var r=o(4063);Object.defineProperty(t,"b6",{enumerable:!0,get:function(){return c(r).default}});o(7877);var a=o(7026);Object.defineProperty(t,"Jx",{enumerable:!0,get:function(){return c(a).default}});o(6718),o(1030),o(2755),o(4844),o(1764),o(5233),o(9522),o(8489),o(3450),o(6875),o(618),o(8078);function c(e){return e&&e.__esModule?e:{default:e}}},2413:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(o(8169)),l=s(o(3560)),r=s(o(4061)),a=s(o(4486)),c=s(o(1683)),i=s(o(8721));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,o){if((0,i.default)(e.prevProps,o)){var n=o.match(/^default(\S+)/);if(n){var l=(0,c.default)(n[1]);(0,i.default)(e.nextProps,l)||(e.nextProps[l]=e.prevProps[o])}else e.nextProps[o]=e.prevProps[o]}return e}function d(e,t,o,n){(0,a.default)(e,(function(e,l){var r=o[l];r!==t[l]&&e(n,r)}))}function m(e,t,o){var c=(0,r.default)(o,(function(o,n,r){return(0,l.default)(e.props[r])&&o.push(google.maps.event.addListener(t,n,e.props[r])),o}),[]);e.unregisterAllEvents=(0,n.default)(a.default,null,c,h)}function h(e){google.maps.event.removeListener(e)}t.construct=function(e,t,o,n){d(t,{},(0,r.default)(e,u,{nextProps:{},prevProps:o}).nextProps,n)},t.componentDidMount=function(e,t,o){m(e,t,o)},t.componentDidUpdate=function(e,t,o,n,l){e.unregisterAllEvents(),d(n,l,e.props,t),m(e,t,o)},t.componentWillUnmount=function(e){e.unregisterAllEvents()}},7e3:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,l=(n=o(3560))&&n.__esModule?n:{default:n};function r(e,t){return new t(e.lat,e.lng)}function a(e,t){return new t(new google.maps.LatLng(e.ne.lat,e.ne.lng),new google.maps.LatLng(e.sw.lat,e.sw.lng))}function c(e,t,o){return e instanceof t?e:o(e,t)}t.getOffsetOverride=function(e,t){var o=t.getPixelPositionOffset;return(0,l.default)(o)?o(e.offsetWidth,e.offsetHeight):{}},t.getLayoutStyles=function(e,t,o){return o.bounds?function(e,t,o){var n=e.fromLatLngToDivPixel(o.getNorthEast()),l=e.fromLatLngToDivPixel(o.getSouthWest());return n&&l?{left:l.x+t.x+"px",top:n.y+t.y+"px",width:n.x-l.x-t.x+"px",height:l.y-n.y-t.y+"px"}:{left:"-9999px",top:"-9999px"}}(e,t,c(o.bounds,google.maps.LatLngBounds,a)):function(e,t,o){var n=e.fromLatLngToDivPixel(o);if(n){var l=n.x,r=n.y;return{left:l+t.x+"px",top:r+t.y+"px"}}return{left:"-9999px",top:"-9999px"}}(e,t,c(o.position,google.maps.LatLng,r))}},2537:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=f(o(2723)),l=f(o(8106)),r=f(o(5105)),a=f(o(9663)),c=f(o(2600)),i=f(o(9135)),s=f(o(3196)),u=f(o(8169));t.withGoogleMap=v;var d=f(o(670)),m=f(o(1143)),h=o(1330),p=f(o(5697)),b=f(o(9196)),g=o(1822);function f(e){return e&&e.__esModule?e:{default:e}}function v(e){var t=b.default.createFactory(e),o=function(e){function o(){var e,t,n,l;(0,a.default)(this,o);for(var c=arguments.length,s=Array(c),d=0;d<c;d++)s[d]=arguments[d];return t=n=(0,i.default)(this,(e=o.__proto__||(0,r.default)(o)).call.apply(e,[this].concat(s))),n.state={map:null},n.handleComponentMount=(0,u.default)(n.handleComponentMount,n),l=t,(0,i.default)(n,l)}return(0,s.default)(o,e),(0,c.default)(o,[{key:"getChildContext",value:function(){return(0,l.default)({},g.MAP,this.state.map)}},{key:"componentWillMount",value:function(){var e=this.props,t=e.containerElement,o=e.mapElement;(0,m.default)(!!t&&!!o,"Required props containerElement or mapElement is missing. You need to provide both of them.\n The `google.maps.Map` instance will be initialized on mapElement and it's wrapped by containerElement.\nYou need to provide both of them since Google Map requires the DOM to have height when initialized.")}},{key:"handleComponentMount",value:function(e){if(!this.state.map&&null!==e){(0,d.default)("undefined"!=typeof google,"Make sure you've put a <script> tag in your <head> element to load Google Maps JavaScript API v3.\n If you're looking for built-in support to load it for you, use the \"async/ScriptjsLoader\" instead.\n See https://github.com/tomchentw/react-google-maps/pull/168");var t=new google.maps.Map(e);this.setState({map:t})}}},{key:"render",value:function(){var e=this.props,o=e.containerElement,l=e.mapElement,r=(0,n.default)(e,["containerElement","mapElement"]);return this.state.map?b.default.cloneElement(o,{},b.default.cloneElement(l,{ref:this.handleComponentMount}),b.default.createElement("div",null,t(r))):b.default.cloneElement(o,{},b.default.cloneElement(l,{ref:this.handleComponentMount}),b.default.createElement("div",null))}}]),o}(b.default.PureComponent);return o.displayName="withGoogleMap("+(0,h.getDisplayName)(e)+")",o.propTypes={containerElement:p.default.node.isRequired,mapElement:p.default.node.isRequired},o.childContextTypes=(0,l.default)({},g.MAP,p.default.object),o}t.default=v},1542:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=b(o(2723)),l=b(o(5105)),r=b(o(9663)),a=b(o(2600)),c=b(o(9135)),i=b(o(3196)),s=b(o(8169));t.withScriptjs=v;var u=b(o(1143)),d=b(o(1807)),m=o(1330),h=b(o(5697)),p=b(o(9196));function b(e){return e&&e.__esModule?e:{default:e}}var g="NONE",f="LOADED";function v(e){var t=p.default.createFactory(e),b=function(e){function m(){var e,t,o,n;(0,r.default)(this,m);for(var a=arguments.length,i=Array(a),u=0;u<a;u++)i[u]=arguments[u];return t=o=(0,c.default)(this,(e=m.__proto__||(0,l.default)(m)).call.apply(e,[this].concat(i))),o.state={loadingState:g},o.isUnmounted=!1,o.handleLoaded=(0,s.default)(o.handleLoaded,o),n=t,(0,c.default)(o,n)}return(0,i.default)(m,e),(0,a.default)(m,[{key:"handleLoaded",value:function(){this.isUnmounted||this.setState({loadingState:f})}},{key:"componentWillMount",value:function(){var e=this.props,t=e.loadingElement,o=e.googleMapURL;(0,u.default)(!!t&&!!o,"Required props loadingElement or googleMapURL is missing. You need to provide both of them.")}},{key:"componentDidMount",value:function(){this.state.loadingState===g&&d.default&&(this.setState({loadingState:"BEGIN"}),o(5277)(this.props.googleMapURL,this.handleLoaded))}},{key:"componentWillUnmount",value:function(){this.isUnmounted=!0}},{key:"render",value:function(){var e=this.props,o=e.loadingElement,l=(e.googleMapURL,(0,n.default)(e,["loadingElement","googleMapURL"]));return this.state.loadingState===f?t(l):o}}]),m}(p.default.PureComponent);return b.displayName="withScriptjs("+(0,m.getDisplayName)(e)+")",b.propTypes={loadingElement:h.default.node.isRequired,googleMapURL:h.default.string.isRequired},b}t.default=v},520:function(e){"use strict";var t={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,l=Object.getOwnPropertyNames,r=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,i=c&&c(Object);e.exports=function e(s,u,d){if("string"!=typeof u){if(i){var m=c(u);m&&m!==i&&e(s,m,d)}var h=l(u);r&&(h=h.concat(r(u)));for(var p=0;p<h.length;++p){var b=h[p];if(!(t[b]||o[b]||d&&d[b])){var g=a(u,b);try{n(s,b,g)}catch(e){}}}return s}return s}},1330:function(e,t,o){"use strict";o.r(t),o.d(t,{mapProps:function(){return b},withProps:function(){return y},withPropsOnChange:function(){return E},withHandlers:function(){return C},defaultProps:function(){return S},renameProp:function(){return T},renameProps:function(){return N},flattenProp:function(){return B},withState:function(){return O},withStateHandlers:function(){return R},withReducer:function(){return M},branch:function(){return L},renderComponent:function(){return I},renderNothing:function(){return F},shouldUpdate:function(){return V},pure:function(){return j},onlyUpdateForKeys:function(){return G},onlyUpdateForPropTypes:function(){return $},withContext:function(){return H},getContext:function(){return U},lifecycle:function(){return W},toClass:function(){return Y},setStatic:function(){return d},setPropTypes:function(){return K},setDisplayName:function(){return m},compose:function(){return Z},getDisplayName:function(){return h},wrapDisplayName:function(){return p},shallowEqual:function(){return a.a},isClassComponent:function(){return q},createSink:function(){return J},componentFromProp:function(){return X},nest:function(){return Q},hoistStatics:function(){return ee},componentFromStream:function(){return re},componentFromStreamWithConfig:function(){return le},mapPropsStream:function(){return ie},mapPropsStreamWithConfig:function(){return ce},createEventHandler:function(){return ue},createEventHandlerWithConfig:function(){return se},setObservableConfig:function(){return oe}});var n=o(9196),l=o.n(n),r=o(9303),a=o.n(r),c=o(520),i=o.n(c),s=o(5790),u=o(7121),d=function(e,t){return function(o){return o[e]=t,o}},m=function(e){return d("displayName",e)},h=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0},p=function(e,t){return t+"("+h(e)+")"},b=function(e){return function(t){var o=(0,n.createFactory)(t);return function(t){return o(e(t))}}},g=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},v=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},_=function(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o},k=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},y=function(e){return b((function(t){return f({},t,"function"==typeof e?e(t):e)}))},w=function(e,t){for(var o={},n=0;n<t.length;n++){var l=t[n];e.hasOwnProperty(l)&&(o[l]=e[l])}return o},E=function(e,t){return function(o){var l=(0,n.createFactory)(o),r="function"==typeof e?e:function(t,o){return!a()(w(t,e),w(o,e))},c=function(e){function o(){var n,l;g(this,o);for(var r=arguments.length,a=Array(r),c=0;c<r;c++)a[c]=arguments[c];return n=l=k(this,e.call.apply(e,[this].concat(a))),l.computedProps=t(l.props),k(l,n)}return v(o,e),o.prototype.componentWillReceiveProps=function(e){r(this.props,e)&&(this.computedProps=t(e))},o.prototype.render=function(){return l(f({},this.props,this.computedProps))},o}(n.Component);return c}},x=function(e,t){var o={};for(var n in e)e.hasOwnProperty(n)&&(o[n]=t(e[n],n));return o},C=function(e){return function(t){var o=(0,n.createFactory)(t),l=function(e){function t(){var o,n;g(this,t);for(var l=arguments.length,a=Array(l),c=0;c<l;c++)a[c]=arguments[c];return o=n=k(this,e.call.apply(e,[this].concat(a))),r.call(n),k(n,o)}return v(t,e),t.prototype.componentWillReceiveProps=function(){this.cachedHandlers={}},t.prototype.render=function(){return o(f({},this.props,this.handlers))},t}(n.Component),r=function(){var t=this;this.cachedHandlers={},this.handlers=x("function"==typeof e?e(this.props):e,(function(e,o){return function(){var n=t.cachedHandlers[o];if(n)return n.apply(void 0,arguments);var l=e(t.props);return t.cachedHandlers[o]=l,l.apply(void 0,arguments)}}))};return l}},S=function(e){return function(t){var o=(0,n.createFactory)(t),l=function(e){return o(e)};return l.defaultProps=e,l}},z=function(e,t){for(var o=_(e,[]),n=0;n<t.length;n++){var l=t[n];o.hasOwnProperty(l)&&delete o[l]}return o},T=function(e,t){return b((function(o){var n;return f({},z(o,[e]),((n={})[t]=o[e],n))}))},P=Object.keys,N=function(e){return b((function(t){return f({},z(t,P(e)),(o=w(t,P(e)),n=function(t,o){return e[o]},P(o).reduce((function(e,t){var l=o[t];return e[n(0,t)]=l,e}),{})));var o,n}))},B=function(e){return function(t){var o=(0,n.createFactory)(t);return function(t){return o(f({},t,t[e]))}}},O=function(e,t,o){return function(l){var r=(0,n.createFactory)(l),a=function(n){function l(){var e,t;g(this,l);for(var r=arguments.length,a=Array(r),c=0;c<r;c++)a[c]=arguments[c];return e=t=k(this,n.call.apply(n,[this].concat(a))),t.state={stateValue:"function"==typeof o?o(t.props):o},t.updateStateValue=function(e,o){return t.setState((function(t){var o=t.stateValue;return{stateValue:"function"==typeof e?e(o):e}}),o)},k(t,e)}return v(l,n),l.prototype.render=function(){var o;return r(f({},this.props,((o={})[e]=this.state.stateValue,o[t]=this.updateStateValue,o)))},l}(n.Component);return a}},R=function(e,t){return function(o){var l=(0,n.createFactory)(o),r=function(e){function t(){var o,n;g(this,t);for(var l=arguments.length,r=Array(l),a=0;a<l;a++)r[a]=arguments[a];return o=n=k(this,e.call.apply(e,[this].concat(r))),c.call(n),k(n,o)}return v(t,e),t.prototype.shouldComponentUpdate=function(e,t){var o=e!==this.props,n=!a()(t,this.state);return o||n},t.prototype.render=function(){return l(f({},this.props,this.state,this.stateUpdaters))},t}(n.Component),c=function(){var o=this;this.state="function"==typeof e?e(this.props):e,this.stateUpdaters=x(t,(function(e){return function(t){for(var n=arguments.length,l=Array(n>1?n-1:0),r=1;r<n;r++)l[r-1]=arguments[r];t&&"function"==typeof t.persist&&t.persist(),o.setState((function(o,n){return e(o,n).apply(void 0,[t].concat(l))}))}}))};return r}},M=function(e,t,o,l){return function(r){var a=(0,n.createFactory)(r),c=function(n){function r(){var e,t;g(this,r);for(var l=arguments.length,a=Array(l),c=0;c<l;c++)a[c]=arguments[c];return e=t=k(this,n.call.apply(n,[this].concat(a))),t.state={stateValue:t.initializeStateValue()},t.dispatch=function(e){return t.setState((function(t){var n=t.stateValue;return{stateValue:o(n,e)}}))},k(t,e)}return v(r,n),r.prototype.initializeStateValue=function(){return void 0!==l?"function"==typeof l?l(this.props):l:o(void 0,{type:"@@recompose/INIT"})},r.prototype.render=function(){var o;return a(f({},this.props,((o={})[e]=this.state.stateValue,o[t]=this.dispatch,o)))},r}(n.Component);return c}},A=function(e){return e},L=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A;return function(l){var r=void 0,a=void 0;return function(c){return e(c)?(r=r||(0,n.createFactory)(t(l)))(c):(a=a||(0,n.createFactory)(o(l)))(c)}}},I=function(e){return function(t){var o=(0,n.createFactory)(e);return function(e){return o(e)}}},D=function(e){function t(){return g(this,t),k(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){return null},t}(n.Component),F=function(e){return D},V=function(e){return function(t){var o=(0,n.createFactory)(t),l=function(t){function n(){return g(this,n),k(this,t.apply(this,arguments))}return v(n,t),n.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},n.prototype.render=function(){return o(this.props)},n}(n.Component);return l}},j=function(e){return V((function(e,t){return!a()(e,t)}))(e)},G=function(e){return V((function(t,o){return!a()(w(o,e),w(t,e))}))},$=function(e){var t=e.propTypes,o=Object.keys(t||{});return G(o)(e)},H=function(e,t){return function(o){var l=(0,n.createFactory)(o),r=function(e){function o(){var n,l;g(this,o);for(var r=arguments.length,a=Array(r),c=0;c<r;c++)a[c]=arguments[c];return n=l=k(this,e.call.apply(e,[this].concat(a))),l.getChildContext=function(){return t(l.props)},k(l,n)}return v(o,e),o.prototype.render=function(){return l(this.props)},o}(n.Component);return r.childContextTypes=e,r}},U=function(e){return function(t){var o=(0,n.createFactory)(t),l=function(e,t){return o(f({},e,t))};return l.contextTypes=e,l}},W=function(e){return function(t){var o=(0,n.createFactory)(t),l=function(e){function t(){return g(this,t),k(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){return o(f({},this.props,this.state))},t}(n.Component);return Object.keys(e).forEach((function(t){return l.prototype[t]=e[t]})),l}},q=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)},Y=function(e){if(q(e))return e;var t=function(t){function o(){return g(this,o),k(this,t.apply(this,arguments))}return v(o,t),o.prototype.render=function(){return"string"==typeof e?l().createElement(e,this.props):e(this.props,this.context)},o}(n.Component);return t.displayName=h(e),t.propTypes=e.propTypes,t.contextTypes=e.contextTypes,t.defaultProps=e.defaultProps,t},K=function(e){return d("propTypes",e)};function Z(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var J=function(e){return function(t){function o(){return g(this,o),k(this,t.apply(this,arguments))}return v(o,t),o.prototype.componentWillMount=function(){e(this.props)},o.prototype.componentWillReceiveProps=function(t){e(t)},o.prototype.render=function(){return null},o}(n.Component)},X=function(e){var t=function(t){return(0,n.createElement)(t[e],z(t,[e]))};return t.displayName="componentFromProp("+e+")",t},Q=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];var l=t.map(n.createFactory),r=function(e){var t=_(e,[]),o=e.children;return l.reduceRight((function(e,o){return o(t,e)}),o)};return r},ee=function(e){return function(t){var o=e(t);return i()(o,t),o}},te={fromESObservable:null,toESObservable:null},oe=function(e){te=e},ne={fromESObservable:function(e){return"function"==typeof te.fromESObservable?te.fromESObservable(e):e},toESObservable:function(e){return"function"==typeof te.toESObservable?te.toESObservable(e):e}},le=function(e){return function(t){return function(o){function n(){var l,r,a;g(this,n);for(var c=arguments.length,i=Array(c),d=0;d<c;d++)i[d]=arguments[d];return r=a=k(this,o.call.apply(o,[this].concat(i))),a.state={vdom:null},a.propsEmitter=(0,s.E)(),a.props$=e.fromESObservable(((l={subscribe:function(e){return{unsubscribe:a.propsEmitter.listen((function(t){t?e.next(t):e.complete()}))}}})[u.Z]=function(){return this},l)),a.vdom$=e.toESObservable(t(a.props$)),k(a,r)}return v(n,o),n.prototype.componentWillMount=function(){var e=this;this.subscription=this.vdom$.subscribe({next:function(t){e.setState({vdom:t})}}),this.propsEmitter.emit(this.props)},n.prototype.componentWillReceiveProps=function(e){this.propsEmitter.emit(e)},n.prototype.shouldComponentUpdate=function(e,t){return t.vdom!==this.state.vdom},n.prototype.componentWillUnmount=function(){this.propsEmitter.emit(),this.subscription.unsubscribe()},n.prototype.render=function(){return this.state.vdom},n}(n.Component)}},re=function(e){return le(ne)(e)},ae=function(e){return e},ce=function(e){var t=le({fromESObservable:ae,toESObservable:ae});return function(o){return function(l){var r=(0,n.createFactory)(l),a=e.fromESObservable,c=e.toESObservable;return t((function(e){var t;return(t={subscribe:function(t){var n=c(o(a(e))).subscribe({next:function(e){return t.next(r(e))}});return{unsubscribe:function(){return n.unsubscribe()}}}})[u.Z]=function(){return this},t}))}}},ie=function(e){return ce(ne)(e)},se=function(e){return function(){var t,o=(0,s.E)(),n=e.fromESObservable(((t={subscribe:function(e){return{unsubscribe:o.listen((function(t){return e.next(t)}))}}})[u.Z]=function(){return this},t));return{handler:o.emit,stream:n}}},ue=se(ne)},9566:function(e,t,o){var n="undefined"!=typeof window,l=n?window.Masonry||o(8751):null,r=n?o(7564):null,a=o(8583),c=o(3844),i=o(3279),s=o(7557),u=o(5697),d=o(9196),m=o(2555),h={enableResizableChildren:u.bool,disableImagesLoaded:u.bool,onImagesLoaded:u.func,updateOnEachImageLoad:u.bool,options:u.object,imagesLoadedOptions:u.object,elementType:u.string,onLayoutComplete:u.func,onRemoveComplete:u.func},p=m({masonry:!1,erd:void 0,latestKnownDomChildren:[],displayName:"MasonryComponent",imagesLoadedCancelRef:void 0,propTypes:h,getDefaultProps:function(){return{enableResizableChildren:!1,disableImagesLoaded:!1,updateOnEachImageLoad:!1,options:{},imagesLoadedOptions:{},className:"",elementType:"div",onLayoutComplete:function(){},onRemoveComplete:function(){}}},initializeMasonry:function(e){this.masonry&&!e||(this.masonry=new l(this.masonryContainer,this.props.options),this.props.onLayoutComplete&&this.masonry.on("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.on("removeComplete",this.props.onRemoveComplete),this.latestKnownDomChildren=this.getCurrentDomChildren())},getCurrentDomChildren:function(){var e=this.masonryContainer,t=this.props.options.itemSelector?e.querySelectorAll(this.props.options.itemSelector):e.children;return Array.prototype.slice.call(t)},diffDomChildren:function(){var e=!1,t=this.latestKnownDomChildren.filter((function(e){return!!e.parentNode}));t.length!==this.latestKnownDomChildren.length&&(e=!0);var o=this.getCurrentDomChildren(),n=t.filter((function(e){return!~o.indexOf(e)})),l=o.filter((function(e){return!~t.indexOf(e)})),r=0,a=l.filter((function(e){var t=r===o.indexOf(e);return t&&r++,t})),c=l.filter((function(e){return-1===a.indexOf(e)})),i=[];return 0===n.length&&(i=t.filter((function(e,t){return t!==o.indexOf(e)}))),this.latestKnownDomChildren=o,{old:t,new:o,removed:n,appended:c,prepended:a,moved:i,forceItemReload:e}},performLayout:function(){var e=this.diffDomChildren(),t=e.forceItemReload||e.moved.length>0;e.removed.length>0&&(this.props.enableResizableChildren&&e.removed.forEach(this.erd.removeAllListeners,this.erd),this.masonry.remove(e.removed),t=!0),e.appended.length>0&&(this.masonry.appended(e.appended),0===e.prepended.length&&(t=!0),this.props.enableResizableChildren&&e.appended.forEach(this.listenToElementResize,this)),e.prepended.length>0&&(this.masonry.prepended(e.prepended),this.props.enableResizableChildren&&e.prepended.forEach(this.listenToElementResize,this)),t&&this.masonry.reloadItems(),this.masonry.layout()},derefImagesLoaded:function(){this.imagesLoadedCancelRef(),this.imagesLoadedCancelRef=void 0},imagesLoaded:function(){if(!this.props.disableImagesLoaded){this.imagesLoadedCancelRef&&this.derefImagesLoaded();var e=this.props.updateOnEachImageLoad?"progress":"always",t=i(function(e){this.props.onImagesLoaded&&this.props.onImagesLoaded(e),this.masonry.layout()}.bind(this),100),o=r(this.masonryContainer,this.props.imagesLoadedOptions).on(e,t);this.imagesLoadedCancelRef=function(){o.off(e,t),t.cancel()}}},initializeResizableChildren:function(){this.props.enableResizableChildren&&(this.erd=c({strategy:"scroll"}),this.latestKnownDomChildren.forEach(this.listenToElementResize,this))},listenToElementResize:function(e){this.erd.listenTo(e,function(){this.masonry.layout()}.bind(this))},destroyErd:function(){this.erd&&this.latestKnownDomChildren.forEach(this.erd.uninstall,this.erd)},componentDidMount:function(){this.initializeMasonry(),this.initializeResizableChildren(),this.imagesLoaded()},componentDidUpdate:function(){this.performLayout(),this.imagesLoaded()},componentWillUnmount:function(){this.destroyErd(),this.props.onLayoutComplete&&this.masonry.off("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.off("removeComplete",this.props.onRemoveComplete),this.imagesLoadedCancelRef&&this.derefImagesLoaded(),this.masonry.destroy()},setRef:function(e){this.masonryContainer=e},render:function(){var e=s(this.props,Object.keys(h));return d.createElement(this.props.elementType,a({},e,{ref:this.setRef}),this.props.children)}});e.exports=p,e.exports.default=p},83:function(e,t,o){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function l(e,t,o,n,l,r,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=l,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=a}Object.defineProperty(t,"__esModule",{value:!0});var r={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){r[e]=new l(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t,o,a=(o=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,l,r=[],_n=!0,a=!1;try{for(o=o.call(e);!(_n=(n=o.next()).done)&&(r.push(n.value),!t||r.length!==t);_n=!0);}catch(e){a=!0,l=e}finally{try{_n||null==o.return||o.return()}finally{if(a)throw l}}return r}}(t,o)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?n(e,t):void 0}}(t,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],i=a[1];r[c]=new l(c,1,!1,i,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){r[e]=new l(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){r[e]=new l(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){r[e]=new l(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){r[e]=new l(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){r[e]=new l(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){r[e]=new l(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){r[e]=new l(e,5,!1,e.toLowerCase(),null,!1,!1)}));var a=/[\-\:]([a-z])/g,c=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(a,c);r[t]=new l(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(a,c);r[t]=new l(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(a,c);r[t]=new l(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){r[e]=new l(e,1,!1,e.toLowerCase(),null,!1,!1)})),r.xlinkHref=new l("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){r[e]=new l(e,1,!1,e.toLowerCase(),null,!0,!0)}));var i=o(8229),s=i.CAMELCASE,u=i.SAME,d=i.possibleStandardNames,m=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),h=Object.keys(d).reduce((function(e,t){var o=d[t];return o===u?e[t]=t:o===s?e[t.toLowerCase()]=t:e[t]=o,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return r.hasOwnProperty(e)?r[e]:null},t.isCustomAttribute=m,t.possibleStandardNames=h},8229:function(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},8205:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var n=a(o(9196)),l=a(o(4184)),r=o(5518);function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,o){return t&&h(e.prototype,t),o&&h(e,o),e}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,n=_(e);if(t){var l=_(this).constructor;o=Reflect.construct(n,arguments,l)}else o=n.apply(this,arguments);return v(this,o)}}function v(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var k=function(e){b(o,e);var t=f(o);function o(){return m(this,o),t.apply(this,arguments)}return p(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var o={key:"0","data-role":"none",className:(0,l.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.default.cloneElement(this.props.prevArrow,u(u({},o),r)):n.default.createElement("button",i({key:"0",type:"button"},o)," ","Previous")}}]),o}(n.default.PureComponent);t.PrevArrow=k;var y=function(e){b(o,e);var t=f(o);function o(){return m(this,o),t.apply(this,arguments)}return p(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,r.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var o={key:"1","data-role":"none",className:(0,l.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.default.cloneElement(this.props.nextArrow,u(u({},o),a)):n.default.createElement("button",i({key:"1",type:"button"},o)," ","Next")}}]),o}(n.default.PureComponent);t.NextArrow=y},3492:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,l=(n=o(9196))&&n.__esModule?n:{default:n},r={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return l.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return l.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=r},6329:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var n=a(o(9196)),l=a(o(4184)),r=o(5518);function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}function i(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function s(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(g,e);var t,o,a,c,b=(a=g,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(a);if(c){var o=p(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return h(this,e)});function g(){return u(this,g),b.apply(this,arguments)}return t=g,o=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,o=t.onMouseEnter,a=t.onMouseOver,c=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,m=t.slidesToShow,h=t.slideCount,p=t.currentSlide,b=(e={slideCount:h,slidesToScroll:d,slidesToShow:m,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,g={onMouseEnter:o,onMouseOver:a,onMouseLeave:c},f=[],v=0;v<b;v++){var _=(v+1)*d-1,k=u?_:(0,r.clamp)(_,0,h-1),y=k-(d-1),w=u?y:(0,r.clamp)(y,0,h-1),E=(0,l.default)({"slick-active":u?p>=w&&p<=k:p===w}),x={message:"dots",index:v,slidesToScroll:d,currentSlide:p},C=this.clickHandler.bind(this,x);f=f.concat(n.default.createElement("li",{key:v,className:E},n.default.cloneElement(this.props.customPaging(v),{onClick:C})))}return n.default.cloneElement(this.props.appendDots(f),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({className:this.props.dotsClass},g))}}],o&&d(t.prototype,o),g}(n.default.PureComponent);t.Dots=b},6066:function(e,t,o){"use strict";var n;t.Z=void 0;var l=((n=o(5798))&&n.__esModule?n:{default:n}).default;t.Z=l},6948:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},6801:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var n=m(o(9196)),l=m(o(6948)),r=m(o(1296)),a=m(o(4184)),c=o(5518),i=o(4740),s=o(6329),u=o(8205),d=m(o(1033));function m(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="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},h(e)}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p.apply(this,arguments)}function b(e,t){if(null==e)return{};var o,n,l=function(e,t){if(null==e)return{};var o,n,l={},r=Object.keys(e);for(n=0;n<r.length;n++)o=r[n],t.indexOf(o)>=0||(l[o]=e[o]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)o=r[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(l[o]=e[o])}return l}function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){E(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function v(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function k(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function E(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(C,e);var t,o,m,g,x=(m=C,g=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(m);if(g){var o=w(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return k(this,e)});function C(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,C),E(y(t=x.call(this,e)),"listRefHandler",(function(e){return t.list=e})),E(y(t),"trackRefHandler",(function(e){return t.track=e})),E(y(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,c.getHeight)(e)+"px"}})),E(y(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,c.getOnDemandLazySlides)(f(f({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var o=f({listRef:t.list,trackRef:t.track},t.props);t.updateState(o,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),E(y(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),E(y(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var o=(0,c.getOnDemandLazySlides)(f(f({},t.props),t.state));o.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(o)}})),t.props.onLazyLoad&&t.props.onLazyLoad(o))}t.adaptHeight();var l=f(f({listRef:t.list,trackRef:t.track},t.props),t.state),r=t.didPropsChange(e);r&&t.updateState(l,r,(function(){t.state.currentSlide>=n.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:n.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),E(y(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,r.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),E(y(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],o=Boolean(t.track&&t.track.node);if(o){var n=f(f({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(n,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),E(y(t),"updateState",(function(e,o,l){var r=(0,c.initializedState)(e);e=f(f(f({},e),r),{},{slideIndex:r.currentSlide});var a=(0,c.getTrackLeft)(e);e=f(f({},e),{},{left:a});var i=(0,c.getTrackCSS)(e);(o||n.default.Children.count(t.props.children)!==n.default.Children.count(e.children))&&(r.trackStyle=i),t.setState(r,l)})),E(y(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,o=0,l=[],r=(0,c.getPreClones)(f(f(f({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,c.getPostClones)(f(f(f({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){l.push(t.props.style.width),e+=t.props.style.width}));for(var i=0;i<r;i++)o+=l[l.length-1-i],e+=l[l.length-1-i];for(var s=0;s<a;s++)e+=l[s];for(var u=0;u<t.state.currentSlide;u++)o+=l[u];var d={width:e+"px",left:-o+"px"};if(t.props.centerMode){var m="".concat(l[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(m,") / 2 ) ")}return{trackStyle:d}}var h=n.default.Children.count(t.props.children),p=f(f(f({},t.props),t.state),{},{slideCount:h}),b=(0,c.getPreClones)(p)+(0,c.getPostClones)(p)+h,g=100/t.props.slidesToShow*b,v=100/b,_=-v*((0,c.getPreClones)(p)+t.state.currentSlide)*g/100;return t.props.centerMode&&(_+=(100-v*g/100)/2),{slideWidth:v+"%",trackStyle:{width:g+"%",left:_+"%"}}})),E(y(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],o=e.length,n=0;Array.prototype.forEach.call(e,(function(e){var l=function(){return++n&&n>=o&&t.onWindowResized()};if(e.onclick){var r=e.onclick;e.onclick=function(){r(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=l,e.onerror=function(){l(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),E(y(t),"progressiveLazyLoad",(function(){for(var e=[],o=f(f({},t.props),t.state),n=t.state.currentSlide;n<t.state.slideCount+(0,c.getPostClones)(o);n++)if(t.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var l=t.state.currentSlide-1;l>=-(0,c.getPreClones)(o);l--)if(t.state.lazyLoadedList.indexOf(l)<0){e.push(l);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),E(y(t),"slideHandler",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.props,l=n.asNavFor,r=n.beforeChange,a=n.onLazyLoad,i=n.speed,s=n.afterChange,u=t.state.currentSlide,d=(0,c.slideHandler)(f(f(f({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!o})),m=d.state,h=d.nextState;if(m){r&&r(u,m.currentSlide);var p=m.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));a&&p.length>0&&a(p),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),s&&s(u),delete t.animationEndCallback),t.setState(m,(function(){l&&t.asNavForIndex!==e&&(t.asNavForIndex=e,l.innerSlider.slideHandler(e)),h&&(t.animationEndCallback=setTimeout((function(){var e=h.animating,o=b(h,["animating"]);t.setState(o,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),s&&s(m.currentSlide),delete t.animationEndCallback}))}),i))}))}})),E(y(t),"changeSlide",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=f(f({},t.props),t.state),l=(0,c.changeSlide)(n,e);if((0===l||l)&&(!0===o?t.slideHandler(l,o):t.slideHandler(l),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var r=t.list.querySelectorAll(".slick-current");r[0]&&r[0].focus()}})),E(y(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),E(y(t),"keyHandler",(function(e){var o=(0,c.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==o&&t.changeSlide({message:o})})),E(y(t),"selectHandler",(function(e){t.changeSlide(e)})),E(y(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),E(y(t),"enableBodyScroll",(function(){window.ontouchmove=null})),E(y(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var o=(0,c.swipeStart)(e,t.props.swipe,t.props.draggable);""!==o&&t.setState(o)})),E(y(t),"swipeMove",(function(e){var o=(0,c.swipeMove)(e,f(f(f({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));o&&(o.swiping&&(t.clickable=!1),t.setState(o))})),E(y(t),"swipeEnd",(function(e){var o=(0,c.swipeEnd)(e,f(f(f({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(o){var n=o.triggerSlideHandler;delete o.triggerSlideHandler,t.setState(o),void 0!==n&&(t.slideHandler(n),t.props.verticalSwiping&&t.enableBodyScroll())}})),E(y(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),E(y(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),E(y(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),E(y(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},o)}),0))})),E(y(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,c.canGoNext)(f(f({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),E(y(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var o=t.state.autoplaying;if("update"===e){if("hovered"===o||"focused"===o||"paused"===o)return}else if("leave"===e){if("paused"===o||"focused"===o)return}else if("blur"===e&&("paused"===o||"hovered"===o))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),E(y(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var o=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==o&&"playing"!==o||t.setState({autoplaying:"focused"}):"playing"===o&&t.setState({autoplaying:"hovered"})})),E(y(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),E(y(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),E(y(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),E(y(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),E(y(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),E(y(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),E(y(t),"render",(function(){var e,o,l,r=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=f(f({},t.props),t.state),m=(0,c.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),h=t.props.pauseOnHover;if(m=f(f({},m),{},{onMouseEnter:h?t.onTrackOver:null,onMouseLeave:h?t.onTrackLeave:null,onMouseOver:h?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var b=(0,c.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),g=t.props.pauseOnDotsHover;b=f(f({},b),{},{clickHandler:t.changeSlide,onMouseEnter:g?t.onDotsLeave:null,onMouseOver:g?t.onDotsOver:null,onMouseLeave:g?t.onDotsLeave:null}),e=n.default.createElement(s.Dots,b)}var v=(0,c.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);v.clickHandler=t.changeSlide,t.props.arrows&&(o=n.default.createElement(u.PrevArrow,v),l=n.default.createElement(u.NextArrow,v));var _=null;t.props.vertical&&(_={height:t.state.listHeight});var k=null;!1===t.props.vertical?!0===t.props.centerMode&&(k={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(k={padding:t.props.centerPadding+" 0px"});var y=f(f({},_),k),w=t.props.touchMove,E={className:"slick-list",style:y,onClick:t.clickHandler,onMouseDown:w?t.swipeStart:null,onMouseMove:t.state.dragging&&w?t.swipeMove:null,onMouseUp:w?t.swipeEnd:null,onMouseLeave:t.state.dragging&&w?t.swipeEnd:null,onTouchStart:w?t.swipeStart:null,onTouchMove:t.state.dragging&&w?t.swipeMove:null,onTouchEnd:w?t.touchEnd:null,onTouchCancel:t.state.dragging&&w?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},x={className:r,dir:"ltr",style:t.props.style};return t.props.unslick&&(E={className:"slick-list"},x={className:r}),n.default.createElement("div",x,t.props.unslick?"":o,n.default.createElement("div",p({ref:t.listRefHandler},E),n.default.createElement(i.Track,p({ref:t.trackRefHandler},m),t.props.children)),t.props.unslick?"":l,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=f(f({},l.default),{},{currentSlide:t.props.initialSlide,slideCount:n.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var o=t.ssrInit();return t.state=f(f({},t.state),o),t}return t=C,(o=[{key:"didPropsChange",value:function(e){for(var t=!1,o=0,l=Object.keys(this.props);o<l.length;o++){var r=l[o];if(!e.hasOwnProperty(r)){t=!0;break}if("object"!==h(e[r])&&"function"!=typeof e[r]&&e[r]!==this.props[r]){t=!0;break}}return t||n.default.Children.count(this.props.children)!==n.default.Children.count(e.children)}}])&&v(t.prototype,o),C}(n.default.Component);t.InnerSlider=x},5798:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(o(9196)),l=o(6801),r=i(o(973)),a=i(o(3492)),c=o(5518);function i(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},u.apply(this,arguments)}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){v(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function h(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function b(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function v(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var _=(0,c.canUseDOM)()&&o(4974),k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(k,e);var t,o,i,s,d=(i=k,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(i);if(s){var o=f(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return b(this,e)});function k(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,k),v(g(t=d.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),v(g(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),v(g(t),"slickNext",(function(){return t.innerSlider.slickNext()})),v(g(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,o)})),v(g(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),v(g(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=k,(o=[{key:"media",value:function(e,t){_.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(o,n){var l;l=0===n?(0,r.default)({minWidth:0,maxWidth:o}):(0,r.default)({minWidth:t[n-1]+1,maxWidth:o}),(0,c.canUseDOM)()&&e.media(l,(function(){e.setState({breakpoint:o})}))}));var o=(0,r.default)({minWidth:t.slice(-1)[0]});(0,c.canUseDOM)()&&this.media(o,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){_.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,o=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===o.state.breakpoint})))[0].settings?"unslick":m(m(m({},a.default),this.props),t[0].settings):m(m({},a.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=n.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var c=[],i=null,s=0;s<r.length;s+=e.rows*e.slidesPerRow){for(var d=[],h=s;h<s+e.rows*e.slidesPerRow;h+=e.slidesPerRow){for(var p=[],b=h;b<h+e.slidesPerRow&&(e.variableWidth&&r[b].props.style&&(i=r[b].props.style.width),!(b>=r.length));b+=1)p.push(n.default.cloneElement(r[b],{key:100*s+10*h+b,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(n.default.createElement("div",{key:10*s+h},p))}e.variableWidth?c.push(n.default.createElement("div",{key:s,style:{width:i}},d)):c.push(n.default.createElement("div",{key:s},d))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:g},r)}return c.length<=e.slidesToShow&&(e.unslick=!0),n.default.createElement(l.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),c)}}])&&h(t.prototype,o),k}(n.default.Component);t.default=k},4740:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var n=a(o(9196)),l=a(o(4184)),r=o(5518);function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(this,arguments)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function f(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var v=function(e){var t,o,n,l,r;return n=(r=e.rtl?e.slideCount-1-e.index:e.index)<0||r>=e.slideCount,e.centerMode?(l=Math.floor(e.slidesToShow/2),o=(r-e.currentSlide)%e.slideCount==0,r>e.currentSlide-l-1&&r<=e.currentSlide+l&&(t=!0)):t=e.currentSlide<=r&&r<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":o,"slick-cloned":n,"slick-current":r===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},_=function(e,t){return e.key||t},k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(k,e);var t,o,a,c,b=(a=k,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(a);if(c){var o=p(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return m(this,e)});function k(){var e;s(this,k);for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return f(h(e=b.call.apply(b,[this].concat(o))),"node",null),f(h(e),"handleRef",(function(t){e.node=t})),e}return t=k,(o=[{key:"render",value:function(){var e=function(e){var t,o=[],a=[],c=[],i=n.default.Children.count(e.children),s=(0,r.lazyStartIndex)(e),u=(0,r.lazyEndIndex)(e);return n.default.Children.forEach(e.children,(function(d,m){var h,p={message:"children",index:m,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};h=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(m)>=0?d:n.default.createElement("div",null);var b=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(g(g({},e),{},{index:m})),f=h.props.className||"",k=v(g(g({},e),{},{index:m}));if(o.push(n.default.cloneElement(h,{key:"original"+_(h,m),"data-index":m,className:(0,l.default)(k,f),tabIndex:"-1","aria-hidden":!k["slick-active"],style:g(g({outline:"none"},h.props.style||{}),b),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}})),e.infinite&&!1===e.fade){var y=i-m;y<=(0,r.getPreClones)(e)&&i!==e.slidesToShow&&((t=-y)>=s&&(h=d),k=v(g(g({},e),{},{index:t})),a.push(n.default.cloneElement(h,{key:"precloned"+_(h,t),"data-index":t,tabIndex:"-1",className:(0,l.default)(k,f),"aria-hidden":!k["slick-active"],style:g(g({},h.props.style||{}),b),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}}))),i!==e.slidesToShow&&((t=i+m)<u&&(h=d),k=v(g(g({},e),{},{index:t})),c.push(n.default.cloneElement(h,{key:"postcloned"+_(h,t),"data-index":t,tabIndex:"-1",className:(0,l.default)(k,f),"aria-hidden":!k["slick-active"],style:g(g({},h.props.style||{}),b),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}})))}})),e.rtl?a.concat(o,c).reverse():a.concat(o,c)}(this.props),t=this.props,o={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",i({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},o),e)}}])&&u(t.prototype,o),k}(n.default.PureComponent);t.Track=k},5518:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=i,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var n,l=(n=o(9196))&&n.__esModule?n:{default:n};function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function a(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?r(Object(o),!0).forEach((function(t){c(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function c(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function i(e,t,o){return Math.max(t,Math.min(e,o))}var s=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=s;var u=function(e){for(var t=[],o=d(e),n=m(e),l=o;l<n;l++)e.lazyLoadedList.indexOf(l)<0&&t.push(l);return t};t.getOnDemandLazySlides=u,t.getRequiredLazySlides=function(e){for(var t=[],o=d(e),n=m(e),l=o;l<n;l++)t.push(l);return t};var d=function(e){return e.currentSlide-h(e)};t.lazyStartIndex=d;var m=function(e){return e.currentSlide+p(e)};t.lazyEndIndex=m;var h=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=h;var p=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=p;var b=function(e){return e&&e.offsetWidth||0};t.getWidth=b;var g=function(e){return e&&e.offsetHeight||0};t.getHeight=g;var f=function(e){var t,o,n,l,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,o=e.startY-e.curY,n=Math.atan2(o,t),(l=Math.round(180*n/Math.PI))<0&&(l=360-Math.abs(l)),l<=45&&l>=0||l<=360&&l>=315?"left":l>=135&&l<=225?"right":!0===r?l>=35&&l<=135?"up":"down":"vertical"};t.getSwipeDirection=f;var v=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=v,t.extractObject=function(e,t){var o={};return t.forEach((function(t){return o[t]=e[t]})),o},t.initializedState=function(e){var t,o=l.default.Children.count(e.children),n=e.listRef,r=Math.ceil(b(n)),c=e.trackRef&&e.trackRef.node,i=Math.ceil(b(c));if(e.vertical)t=r;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=r/100),t=Math.ceil((r-s)/e.slidesToShow)}var d=n&&g(n.querySelector('[data-index="0"]')),m=d*e.slidesToShow,h=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(h=o-1-e.initialSlide);var p=e.lazyLoadedList||[],f=u(a(a({},e),{},{currentSlide:h,lazyLoadedList:p})),v={slideCount:o,slideWidth:t,listWidth:r,trackWidth:i,currentSlide:h,slideHeight:d,listHeight:m,lazyLoadedList:p=p.concat(f)};return null===e.autoplaying&&e.autoplay&&(v.autoplaying="playing"),v},t.slideHandler=function(e){var t=e.waitForAnimate,o=e.animating,n=e.fade,l=e.infinite,r=e.index,c=e.slideCount,s=e.lazyLoad,d=e.currentSlide,m=e.centerMode,h=e.slidesToScroll,p=e.slidesToShow,b=e.useCSS,g=e.lazyLoadedList;if(t&&o)return{};var f,_,k,y=r,w={},S={},z=l?r:i(r,0,c-1);if(n){if(!l&&(r<0||r>=c))return{};r<0?y=r+c:r>=c&&(y=r-c),s&&g.indexOf(y)<0&&(g=g.concat(y)),w={animating:!0,currentSlide:y,lazyLoadedList:g,targetSlide:y},S={animating:!1,targetSlide:y}}else f=y,y<0?(f=y+c,l?c%h!=0&&(f=c-c%h):f=0):!v(e)&&y>d?y=f=d:m&&y>=c?(y=l?c:c-1,f=l?0:c-1):y>=c&&(f=y-c,l?c%h!=0&&(f=0):f=c-p),!l&&y+p>=c&&(f=c-p),_=C(a(a({},e),{},{slideIndex:y})),k=C(a(a({},e),{},{slideIndex:f})),l||(_===k&&(y=f),_=k),s&&(g=g.concat(u(a(a({},e),{},{currentSlide:y})))),b?(w={animating:!0,currentSlide:f,trackStyle:x(a(a({},e),{},{left:_})),lazyLoadedList:g,targetSlide:z},S={animating:!1,currentSlide:f,trackStyle:E(a(a({},e),{},{left:k})),swipeLeft:null,targetSlide:z}):w={currentSlide:f,trackStyle:E(a(a({},e),{},{left:k})),lazyLoadedList:g,targetSlide:z};return{state:w,nextState:S}},t.changeSlide=function(e,t){var o,n,l,r,c=e.slidesToScroll,i=e.slidesToShow,s=e.slideCount,u=e.currentSlide,d=e.targetSlide,m=e.lazyLoad,h=e.infinite;if(o=s%c!=0?0:(s-u)%c,"previous"===t.message)r=u-(l=0===o?c:i-o),m&&!h&&(r=-1==(n=u-l)?s-1:n),h||(r=d-c);else if("next"===t.message)r=u+(l=0===o?c:o),m&&!h&&(r=(u+c)%s+o),h||(r=d+c);else if("dots"===t.message)r=t.index*t.slidesToScroll;else if("children"===t.message){if(r=t.index,h){var p=P(a(a({},e),{},{targetSlide:r}));r>t.currentSlide&&"left"===p?r-=s:r<t.currentSlide&&"right"===p&&(r+=s)}}else"index"===t.message&&(r=Number(t.index));return r},t.keyHandler=function(e,t,o){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?o?"next":"previous":39===e.keyCode?o?"previous":"next":""},t.swipeStart=function(e,t,o){return"IMG"===e.target.tagName&&s(e),!t||!o&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var o=t.scrolling,n=t.animating,l=t.vertical,r=t.swipeToSlide,c=t.verticalSwiping,i=t.rtl,u=t.currentSlide,d=t.edgeFriction,m=t.edgeDragged,h=t.onEdge,p=t.swiped,b=t.swiping,g=t.slideCount,_=t.slidesToScroll,k=t.infinite,y=t.touchObject,w=t.swipeEvent,x=t.listHeight,S=t.listWidth;if(!o){if(n)return s(e);l&&r&&c&&s(e);var z,T={},P=C(t);y.curX=e.touches?e.touches[0].pageX:e.clientX,y.curY=e.touches?e.touches[0].pageY:e.clientY,y.swipeLength=Math.round(Math.sqrt(Math.pow(y.curX-y.startX,2)));var N=Math.round(Math.sqrt(Math.pow(y.curY-y.startY,2)));if(!c&&!b&&N>10)return{scrolling:!0};c&&(y.swipeLength=N);var B=(i?-1:1)*(y.curX>y.startX?1:-1);c&&(B=y.curY>y.startY?1:-1);var O=Math.ceil(g/_),R=f(t.touchObject,c),M=y.swipeLength;return k||(0===u&&("right"===R||"down"===R)||u+1>=O&&("left"===R||"up"===R)||!v(t)&&("left"===R||"up"===R))&&(M=y.swipeLength*d,!1===m&&h&&(h(R),T.edgeDragged=!0)),!p&&w&&(w(R),T.swiped=!0),z=l?P+M*(x/S)*B:i?P-M*B:P+M*B,c&&(z=P+M*B),T=a(a({},T),{},{touchObject:y,swipeLeft:z,trackStyle:E(a(a({},t),{},{left:z}))}),Math.abs(y.curX-y.startX)<.8*Math.abs(y.curY-y.startY)||y.swipeLength>10&&(T.swiping=!0,s(e)),T}},t.swipeEnd=function(e,t){var o=t.dragging,n=t.swipe,l=t.touchObject,r=t.listWidth,c=t.touchThreshold,i=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,m=t.scrolling,h=t.onSwipe,p=t.targetSlide,b=t.currentSlide,g=t.infinite;if(!o)return n&&s(e),{};var v=i?u/c:r/c,_=f(l,i),w={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(m)return w;if(!l.swipeLength)return w;if(l.swipeLength>v){var E,S;s(e),h&&h(_);var z=g?b:p;switch(_){case"left":case"up":S=z+y(t),E=d?k(t,S):S,w.currentDirection=0;break;case"right":case"down":S=z-y(t),E=d?k(t,S):S,w.currentDirection=1;break;default:E=z}w.triggerSlideHandler=E}else{var T=C(t);w.trackStyle=x(a(a({},t),{},{left:T}))}return w};var _=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,o=e.infinite?-1*e.slidesToShow:0,n=e.infinite?-1*e.slidesToShow:0,l=[];o<t;)l.push(o),o=n+e.slidesToScroll,n+=Math.min(e.slidesToScroll,e.slidesToShow);return l};t.getNavigableIndexes=_;var k=function(e,t){var o=_(e),n=0;if(t>o[o.length-1])t=o[o.length-1];else for(var l in o){if(t<o[l]){t=n;break}n=o[l]}return t};t.checkNavigable=k;var y=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var o,n=e.listRef,l=n.querySelectorAll&&n.querySelectorAll(".slick-slide")||[];if(Array.from(l).every((function(n){if(e.vertical){if(n.offsetTop+g(n)/2>-1*e.swipeLeft)return o=n,!1}else if(n.offsetLeft-t+b(n)/2>-1*e.swipeLeft)return o=n,!1;return!0})),!o)return 0;var r=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(o.dataset.index-r)||1}return e.slidesToScroll};t.getSlideCount=y;var w=function(e,t){return t.reduce((function(t,o){return t&&e.hasOwnProperty(o)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=w;var E=function(e){var t,o;w(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n=e.slideCount+2*e.slidesToShow;e.vertical?o=n*e.slideHeight:t=T(e)*e.slideWidth;var l={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var r=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";l=a(a({},l),{},{WebkitTransform:r,transform:c,msTransform:i})}else e.vertical?l.top=e.left:l.left=e.left;return e.fade&&(l={opacity:1}),t&&(l.width=t),o&&(l.height=o),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?l.marginTop=e.left+"px":l.marginLeft=e.left+"px"),l};t.getTrackCSS=E;var x=function(e){w(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=E(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=x;var C=function(e){if(e.unslick)return 0;w(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,o,n=e.slideIndex,l=e.trackRef,r=e.infinite,a=e.centerMode,c=e.slideCount,i=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,m=e.variableWidth,h=e.slideHeight,p=e.fade,b=e.vertical;if(p||1===e.slideCount)return 0;var g=0;if(r?(g=-S(e),c%s!=0&&n+s>c&&(g=-(n>c?i-(n-c):c%s)),a&&(g+=parseInt(i/2))):(c%s!=0&&n+s>c&&(g=i-c%s),a&&(g=parseInt(i/2))),t=b?n*h*-1+g*h:n*u*-1+g*u,!0===m){var f,v=l&&l.node;if(f=n+S(e),t=(o=v&&v.childNodes[f])?-1*o.offsetLeft:0,!0===a){f=r?n+S(e):n,o=v&&v.children[f],t=0;for(var _=0;_<f;_++)t-=v&&v.children[_]&&v.children[_].offsetWidth;t-=parseInt(e.centerPadding),t+=o&&(d-o.offsetWidth)/2}}return t};t.getTrackLeft=C;var S=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=S;var z=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=z;var T=function(e){return 1===e.slideCount?1:S(e)+e.slideCount+z(e)};t.getTotalSlides=T;var P=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+N(e)?"left":"right":e.targetSlide<e.currentSlide-B(e)?"right":"left"};t.siblingDirection=P;var N=function(e){var t=e.slidesToShow,o=e.centerMode,n=e.rtl,l=e.centerPadding;if(o){var r=(t-1)/2+1;return parseInt(l)>0&&(r+=1),n&&t%2==0&&(r+=1),r}return n?0:t-1};t.slidesOnRight=N;var B=function(e){var t=e.slidesToShow,o=e.centerMode,n=e.rtl,l=e.centerPadding;if(o){var r=(t-1)/2+1;return parseInt(l)>0&&(r+=1),n||t%2!=0||(r+=1),r}return n?t-1:0};t.slidesOnLeft=B,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},8766:function(e){"use strict";var t={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,l=Object.getOwnPropertyNames,r=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,i=c&&c(Object);e.exports=function e(s,u,d){if("string"!=typeof u){if(i){var m=c(u);m&&m!==i&&e(s,m,d)}var h=l(u);r&&(h=h.concat(r(u)));for(var p=0;p<h.length;++p){var b=h[p];if(!(t[b]||o[b]||d&&d[b])){var g=a(u,b);try{n(s,b,g)}catch(e){}}}return s}return s}},1033:function(e,t,o){"use strict";o.r(t);var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some((function(e,n){return e[0]===t&&(o=n,!0)})),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var o=e(this.__entries__,t),n=this.__entries__[o];return n&&n[1]},t.prototype.set=function(t,o){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,n=e(o,t);~n&&o.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var o=0,n=this.__entries__;o<n.length;o++){var l=n[o];e.call(t,l[1],l[0])}},t}()}(),l="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},c=["top","right","bottom","left","width","height","size","weight"],i="undefined"!=typeof MutationObserver,s=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var o=!1,n=!1,l=0;function r(){o&&(o=!1,e()),n&&i()}function c(){a(r)}function i(){var e=Date.now();if(o){if(e-l<2)return;n=!0}else o=!0,n=!1,setTimeout(c,20);l=e}return i}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,o=t.indexOf(e);~o&&t.splice(o,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){l&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),i?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){l&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,o=void 0===t?"":t;c.some((function(e){return!!~o.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var o=0,n=Object.keys(t);o<n.length;o++){var l=n[o];Object.defineProperty(e,l,{value:t[l],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||r},m=f(0,0,0,0);function h(e){return parseFloat(e)||0}function p(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce((function(t,o){return t+h(e["border-"+o+"-width"])}),0)}var b="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return l?b(e)?function(e){var t=e.getBBox();return f(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return m;var n=d(e).getComputedStyle(e),l=function(e){for(var t={},o=0,n=["top","right","bottom","left"];o<n.length;o++){var l=n[o],r=e["padding-"+l];t[l]=h(r)}return t}(n),r=l.left+l.right,a=l.top+l.bottom,c=h(n.width),i=h(n.height);if("border-box"===n.boxSizing&&(Math.round(c+r)!==t&&(c-=p(n,"left","right")+r),Math.round(i+a)!==o&&(i-=p(n,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var s=Math.round(c+r)-t,u=Math.round(i+a)-o;1!==Math.abs(s)&&(c-=s),1!==Math.abs(u)&&(i-=u)}return f(l.left,l.top,c,i)}(e):m}function f(e,t,o,n){return{x:e,y:t,width:o,height:n}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=f(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var o,n,l,r,a,c,i,s=(n=(o=t).x,l=o.y,r=o.width,a=o.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(c.prototype),u(i,{x:n,y:l,width:r,height:a,top:l,right:n+r,bottom:a+l,left:n}),i);u(this,{target:e,contentRect:s})},k=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),y="undefined"!=typeof WeakMap?new WeakMap:new n,w=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=s.getInstance(),n=new k(t,o,this);y.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=y.get(this))[e].apply(t,arguments)}}));var E=void 0!==r.ResizeObserver?r.ResizeObserver:w;t.default=E},5277:function(e,t,o){var n,l,r;r=function(){var e,t,o=document,n=o.getElementsByTagName("head")[0],l={},r={},a={},c={};function i(e,t){for(var o=0,n=e.length;o<n;++o)if(!t(e[o]))return!1;return 1}function s(e,t){i(e,(function(e){return t(e),1}))}function u(t,o,n){t=t.push?t:[t];var m=o&&o.call,h=m?o:n,p=m?t.join(""):o,b=t.length;function g(e){return e.call?e():l[e]}function f(){if(!--b)for(var e in l[p]=1,h&&h(),a)i(e.split("|"),g)&&!s(a[e],g)&&(a[e]=[])}return setTimeout((function(){s(t,(function t(o,n){return null===o?f():(n||/^https?:\/\//.test(o)||!e||(o=-1===o.indexOf(".js")?e+o+".js":e+o),c[o]?(p&&(r[p]=1),2==c[o]?f():setTimeout((function(){t(o,!0)}),0)):(c[o]=1,p&&(r[p]=1),void d(o,f)))}))}),0),u}function d(e,l){var r,a=o.createElement("script");a.onload=a.onerror=a.onreadystatechange=function(){a.readyState&&!/^c|loade/.test(a.readyState)||r||(a.onload=a.onreadystatechange=null,r=1,c[e]=2,l())},a.async=1,a.src=t?e+(-1===e.indexOf("?")?"?":"&")+t:e,n.insertBefore(a,n.lastChild)}return u.get=d,u.order=function(e,t,o){!function n(l){l=e.shift(),e.length?u(l,n):u(l,t,o)}()},u.path=function(t){e=t},u.urlArgs=function(e){t=e},u.ready=function(e,t,o){e=e.push?e:[e];var n,r=[];return!s(e,(function(e){l[e]||r.push(e)}))&&i(e,(function(e){return l[e]}))?t():(n=e.join("|"),a[n]=a[n]||[],a[n].push(t),o&&o(r)),u},u.done=function(e){u([null],e)},u},e.exports?e.exports=r():void 0===(l="function"==typeof(n=r)?n.call(t,o,t,e):n)||(e.exports=l)},1169:function(e){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},1476:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var l=n(o(7848)),r=o(6678);t.default=function(e,t){var o={};return e&&"string"==typeof e?(l.default(e,(function(e,n){e&&n&&(o[r.camelCase(e,t)]=n)})),o):o}},6678:function(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var o=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,l=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=function(e,t){return t.toUpperCase()},c=function(e,t){return t+"-"};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||l.test(e)||o.test(e)}(e)?e:(e=e.toLowerCase(),t.reactCompat||(e=e.replace(r,c)),e.replace(n,a))}},7848:function(e,t,o){var n=o(8139);e.exports=function(e,t){var o,l=null;if(!e||"string"!=typeof e)return l;for(var r,a,c=n(e),i="function"==typeof t,s=0,u=c.length;s<u;s++)r=(o=c[s]).property,a=o.value,i?t(r,a,o):a&&(l||(l={}),l[r]=a);return l}},7121:function(e,t,o){"use strict";o.d(t,{Z:function(){return n}}),e=o.hmd(e);var n=function(e){var t,o=e.Symbol;return"function"==typeof o?o.observable?t=o.observable:(t=o("observable"),o.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==o.g?o.g:e)},4842:function(e,t,o){var n,l;!function(r,a){n=[o(4704)],l=function(e){return function(e,t){"use strict";function o(){}var n=o.prototype=Object.create(t.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(t){for(var o=(t=void 0===t||t)?"addEventListener":"removeEventListener",n=t?this._touchActionValue:"",l=0;l<this.handles.length;l++){var r=this.handles[l];this._bindStartEvent(r,t),r[o]("click",this),e.PointerEvent&&(r.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(e,t){this.okayPointerDown(e)&&(this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},e.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t]))};var l={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},r={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(e){var t=l[e.target.nodeName],o=r[e.target.type],n=!t||o;return n||this._pointerReset(),n},n.pointerDownBlur=function(){var e=document.activeElement;e&&e.blur&&e!=document.body&&e.blur()},n.pointerMove=function(e,t){var o=this._dragPointerMove(e,t);this.emitEvent("pointerMove",[e,t,o]),this._dragMove(e,t,o)},n._dragPointerMove=function(e,t){var o={x:t.pageX-this.pointerDownPointer.pageX,y:t.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(o)&&this._dragStart(e,t),o},n.hasDragStarted=function(e){return Math.abs(e.x)>3||Math.abs(e.y)>3},n.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t]),this._dragPointerUp(e,t)},n._dragPointerUp=function(e,t){this.isDragging?this._dragEnd(e,t):this._staticClick(e,t)},n._dragStart=function(e,t){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(e,t)},n.dragStart=function(e,t){this.emitEvent("dragStart",[e,t])},n._dragMove=function(e,t,o){this.isDragging&&this.dragMove(e,t,o)},n.dragMove=function(e,t,o){e.preventDefault(),this.emitEvent("dragMove",[e,t,o])},n._dragEnd=function(e,t){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(e,t)},n.dragEnd=function(e,t){this.emitEvent("dragEnd",[e,t])},n.onclick=function(e){this.isPreventingClicks&&e.preventDefault()},n._staticClick=function(e,t){this.isIgnoringMouseUp&&"mouseup"==e.type||(this.staticClick(e,t),"mouseup"!=e.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(e,t){this.emitEvent("staticClick",[e,t])},o.getPointerPoint=t.getPointerPoint,o}(r,e)}.apply(t,n),void 0===l||(e.exports=l)}(window)},4704:function(e,t,o){var n,l;!function(r,a){n=[o(7158)],l=function(e){return function(e,t){"use strict";function o(){}var n=o.prototype=Object.create(t.prototype);n.bindStartEvent=function(e){this._bindStartEvent(e,!0)},n.unbindStartEvent=function(e){this._bindStartEvent(e,!1)},n._bindStartEvent=function(t,o){var n=(o=void 0===o||o)?"addEventListener":"removeEventListener",l="mousedown";e.PointerEvent?l="pointerdown":"ontouchstart"in e&&(l="touchstart"),t[n](l,this)},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.getTouch=function(e){for(var t=0;t<e.length;t++){var o=e[t];if(o.identifier==this.pointerIdentifier)return o}},n.onmousedown=function(e){var t=e.button;t&&0!==t&&1!==t||this._pointerDown(e,e)},n.ontouchstart=function(e){this._pointerDown(e,e.changedTouches[0])},n.onpointerdown=function(e){this._pointerDown(e,e)},n._pointerDown=function(e,t){e.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDown(e,t))},n.pointerDown=function(e,t){this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t])};var l={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return n._bindPostStartEvents=function(t){if(t){var o=l[t.type];o.forEach((function(t){e.addEventListener(t,this)}),this),this._boundPointerEvents=o}},n._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach((function(t){e.removeEventListener(t,this)}),this),delete this._boundPointerEvents)},n.onmousemove=function(e){this._pointerMove(e,e)},n.onpointermove=function(e){e.pointerId==this.pointerIdentifier&&this._pointerMove(e,e)},n.ontouchmove=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerMove(e,t)},n._pointerMove=function(e,t){this.pointerMove(e,t)},n.pointerMove=function(e,t){this.emitEvent("pointerMove",[e,t])},n.onmouseup=function(e){this._pointerUp(e,e)},n.onpointerup=function(e){e.pointerId==this.pointerIdentifier&&this._pointerUp(e,e)},n.ontouchend=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerUp(e,t)},n._pointerUp=function(e,t){this._pointerDone(),this.pointerUp(e,t)},n.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t])},n._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},n._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},n.pointerDone=function(){},n.onpointercancel=function(e){e.pointerId==this.pointerIdentifier&&this._pointerCancel(e,e)},n.ontouchcancel=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerCancel(e,t)},n._pointerCancel=function(e,t){this._pointerDone(),this.pointerCancel(e,t)},n.pointerCancel=function(e,t){this.emitEvent("pointerCancel",[e,t])},o.getPointerPoint=function(e){return{x:e.pageX,y:e.pageY}},o}(r,e)}.apply(t,n),void 0===l||(e.exports=l)}(window)},670:function(e){"use strict";e.exports=function(){}},9196:function(e){"use strict";e.exports=window.React},1850:function(e){"use strict";e.exports=window.ReactDOM}},o={};function n(e){var l=o[e];if(void 0!==l)return l.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return t[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=t,e=[],n.O=function(t,o,l,r){if(!o){var a=1/0;for(u=0;u<e.length;u++){o=e[u][0],l=e[u][1],r=e[u][2];for(var c=!0,i=0;i<o.length;i++)(!1&r||a>=r)&&Object.keys(n.O).every((function(e){return n.O[e](o[i])}))?o.splice(i--,1):(c=!1,r<a&&(a=r));if(c){e.splice(u--,1);var s=l();void 0!==s&&(t=s)}}return t}r=r||0;for(var u=e.length;u>0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[o,l,r]},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e={67:0,578:0,638:0,209:0};n.O.j=function(t){return 0===e[t]};var t=function(t,o){var l,r,a=o[0],c=o[1],i=o[2],s=0;if(a.some((function(t){return 0!==e[t]}))){for(l in c)n.o(c,l)&&(n.m[l]=c[l]);if(i)var u=i(n)}for(t&&t(o);s<a.length;s++)r=a[s],n.o(e,r)&&e[r]&&e[r][0](),e[a[s]]=0;return n.O(u)},o=self.webpackChunkcoblocks=self.webpackChunkcoblocks||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var l=n.O(void 0,[209],(function(){return n(2354)}));l=n.O(l)}();
1
+ !function(){var e,t={2354:function(e,t,o){"use strict";var n={};o.r(n),o.d(n,{name:function(){return ul},settings:function(){return dl}});var l={};o.r(l),o.d(l,{category:function(){return Cl},metadata:function(){return wl},name:function(){return xl},settings:function(){return zl}});var r={};o.r(r),o.d(r,{category:function(){return Vl},metadata:function(){return Ll},name:function(){return Fl},settings:function(){return Gl}});var a={};o.r(a),o.d(a,{attributes:function(){return tr},category:function(){return er},metadata:function(){return $l},name:function(){return Ql},settings:function(){return or}});var c={};o.r(c),o.d(c,{category:function(){return _r},metadata:function(){return nr},name:function(){return vr},settings:function(){return yr}});var i={};o.r(i),o.d(i,{category:function(){return Lr},metadata:function(){return wr},name:function(){return Ar},settings:function(){return Dr}});var s={};o.r(s),o.d(s,{category:function(){return Da},metadata:function(){return aa},name:function(){return Ia},settings:function(){return Va}});var u={};o.r(u),o.d(u,{category:function(){return ec},metadata:function(){return Ya},name:function(){return Qa},settings:function(){return oc}});var d={};o.r(d),o.d(d,{category:function(){return yc},metadata:function(){return nc},name:function(){return kc},settings:function(){return Ec}});var m={};o.r(m),o.d(m,{category:function(){return Hc},metadata:function(){return xc},name:function(){return $c},settings:function(){return Wc}});var h={};o.r(h),o.d(h,{category:function(){return oi},metadata:function(){return Yc},name:function(){return ti},settings:function(){return li}});var p={};o.r(p),o.d(p,{category:function(){return ui},icon:function(){return ke},metadata:function(){return ii},name:function(){return si},settings:function(){return mi}});var b={};o.r(b),o.d(b,{category:function(){return xi},metadata:function(){return yi},name:function(){return Ei},settings:function(){return Ci}});var g={};o.r(g),o.d(g,{category:function(){return Oi},metadata:function(){return Ni},name:function(){return Bi},settings:function(){return Ri}});var f={};o.r(f),o.d(f,{category:function(){return ji},icon:function(){return ke},metadata:function(){return Fi},name:function(){return Vi},settings:function(){return $i}});var v={};o.r(v),o.d(v,{category:function(){return es},metadata:function(){return Xi},name:function(){return Qi},settings:function(){return os}});var _={};o.r(_),o.d(_,{category:function(){return vs},metadata:function(){return ns},name:function(){return fs},settings:function(){return ks}});var k={};o.r(k),o.d(k,{category:function(){return Bs},metadata:function(){return Ps},name:function(){return Ns},settings:function(){return Rs}});var y={};o.r(y),o.d(y,{category:function(){return Ds},metadata:function(){return Ls},name:function(){return Is},settings:function(){return Vs}});var w={};o.r(w),o.d(w,{category:function(){return $s},metadata:function(){return js},name:function(){return Gs},settings:function(){return Us}});var E={};o.r(E),o.d(E,{category:function(){return Ks},metadata:function(){return qs},name:function(){return Ys},settings:function(){return Js}});var x={};o.r(x),o.d(x,{category:function(){return tu},metadata:function(){return Qs},name:function(){return eu},settings:function(){return nu}});var C={};o.r(C),o.d(C,{category:function(){return iu},metadata:function(){return au},name:function(){return cu},settings:function(){return uu}});var S={};o.r(S),o.d(S,{category:function(){return bu},metadata:function(){return hu},name:function(){return pu},settings:function(){return fu}});var z={};o.r(z),o.d(z,{category:function(){return Eu},metadata:function(){return yu},name:function(){return wu},settings:function(){return Cu}});var T={};o.r(T),o.d(T,{category:function(){return Pu},metadata:function(){return zu},name:function(){return Tu},settings:function(){return Bu}});var P={};o.r(P),o.d(P,{category:function(){return Au},metadata:function(){return Ru},name:function(){return Mu},settings:function(){return Iu}});var N={};o.r(N),o.d(N,{category:function(){return ju},metadata:function(){return Fu},name:function(){return Vu},settings:function(){return $u}});var B={};o.r(B),o.d(B,{category:function(){return qu},metadata:function(){return Uu},name:function(){return Wu},settings:function(){return Ku}});var O={};o.r(O),o.d(O,{category:function(){return dd},metadata:function(){return id},name:function(){return ud},settings:function(){return hd}});var R={};o.r(R),o.d(R,{category:function(){return Nd},metadata:function(){return yd},name:function(){return Pd},settings:function(){return Od}});var M={};o.r(M),o.d(M,{category:function(){return Kd},metadata:function(){return qd},name:function(){return Yd},settings:function(){return Jd}});var A={};o.r(A),o.d(A,{category:function(){return cm},metadata:function(){return rm},name:function(){return am},settings:function(){return sm}});var L={};o.r(L),o.d(L,{category:function(){return bm},metadata:function(){return um},name:function(){return pm},settings:function(){return fm}});var I={};o.r(I),o.d(I,{attributes:function(){return Vm},category:function(){return Fm},metadata:function(){return vm},name:function(){return Dm},settings:function(){return jm}});var D={};o.r(D),o.d(D,{category:function(){return Jm},metadata:function(){return Wm},name:function(){return Zm},settings:function(){return Qm}});var F={};o.r(F),o.d(F,{DEFAULT_ICON_SIZE:function(){return xh},category:function(){return Sh},metadata:function(){return eh},name:function(){return Ch},settings:function(){return Th}});var V={};o.r(V),o.d(V,{category:function(){return Ih},metadata:function(){return Ph},name:function(){return Lh},settings:function(){return Fh}});var j={};o.r(j),o.d(j,{category:function(){return lp},metadata:function(){return Vh},name:function(){return np},settings:function(){return ap}});var G={};o.r(G),o.d(G,{category:function(){return _p},metadata:function(){return cp},name:function(){return vp},settings:function(){return yp}});var $={};o.r($),o.d($,{category:function(){return Dp},metadata:function(){return Rp},name:function(){return Ip},settings:function(){return Vp}});var H={};o.r(H),o.d(H,{category:function(){return Zp},metadata:function(){return Hp},name:function(){return Kp},settings:function(){return Xp}});var U={};o.r(U),o.d(U,{category:function(){return ab},metadata:function(){return lb},name:function(){return rb},settings:function(){return ib}});var W={};o.r(W),o.d(W,{category:function(){return yb},name:function(){return kb},settings:function(){return wb}});var q={};o.r(q),o.d(q,{category:function(){return Fb},name:function(){return Db},settings:function(){return Vb}});var Y={};o.r(Y),o.d(Y,{category:function(){return tg},metadata:function(){return Zb},name:function(){return eg},settings:function(){return ng}});var K={};o.r(K),o.d(K,{category:function(){return hg},metadata:function(){return ug},name:function(){return mg},settings:function(){return bg}});var Z={};o.r(Z),o.d(Z,{category:function(){return Ig},metadata:function(){return gg},name:function(){return Lg},settings:function(){return Fg}});var J={};o.r(J),o.d(J,{category:function(){return Xg},metadata:function(){return Zg},name:function(){return Jg},settings:function(){return ef}});var X={};o.r(X),o.d(X,{category:function(){return cf},metadata:function(){return tf},name:function(){return af},settings:function(){return uf}});var Q={};o.r(Q),o.d(Q,{category:function(){return Sf},metadata:function(){return pf},name:function(){return Cf},settings:function(){return Tf}});var ee={};o.r(ee),o.d(ee,{category:function(){return Rf},name:function(){return Of},settings:function(){return Mf}});var te={};o.r(te),o.d(te,{category:function(){return Uf},name:function(){return Hf},settings:function(){return Wf}});var oe={};o.r(oe),o.d(oe,{category:function(){return ov},icon:function(){return Xe},metadata:function(){return qf},name:function(){return tv},settings:function(){return lv}});var ne=window.wp.blocks,le=window.wp.i18n;const re=e=>!Object.entries(e).map((e=>{let[,t]=e;return"string"==typeof t&&(t=t.trim()),t instanceof Array&&(t=t.length),t instanceof Object&&(t=Object.entries(t).length),!!t})).filter((e=>!0===e)).length,ae=()=>"function"==typeof ne.registerBlockCollection,ce=(0,ne.getCategories)().some((function(e){return"formatting"===e.slug}));var ie=window.wp.element,se=window.wp.primitives,ue=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m19 9c0-.27614-.2239-.5-.5-.5h-13c-.27614 0-.5.22386-.5.5v7.5c0 .2761.22386.5.5.5h13c.2761 0 .5-.2239.5-.5zm-13.875-3.5c-.89746 0-1.625.72754-1.625 1.625v9.75c0 .8975.72754 1.625 1.625 1.625h13.75c.8975 0 1.625-.7275 1.625-1.625v-9.75c0-.89746-.7275-1.625-1.625-1.625z",fill:"currentColor",fillRule:"evenodd"})),de=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m19 7c0-.27614-.2239-.5-.5-.5h-13c-.27614 0-.5.22386-.5.5v4.5c0 .2761.22386.5.5.5h13c.2761 0 .5-.2239.5-.5zm-.125 10h-13.75c-.06904 0-.125.056-.125.125v1.75c0 .069.05596.125.125.125h13.75c.069 0 .125-.056.125-.125v-1.75c0-.069-.056-.125-.125-.125zm-13.75-13.5c-.89746 0-1.625.72754-1.625 1.625v6.75c0 .8975.72754 1.625 1.625 1.625h13.75c.8975 0 1.625-.7275 1.625-1.625v-6.75c0-.89746-.7275-1.625-1.625-1.625zm0 12c-.89746 0-1.625.7275-1.625 1.625v1.75c0 .8975.72754 1.625 1.625 1.625h13.75c.8975 0 1.625-.7275 1.625-1.625v-1.75c0-.8975-.7275-1.625-1.625-1.625z",fill:"currentColor",fillRule:"evenodd"})),me=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m10.1758 20.4657c0 1.0083.8159 1.8242 1.8242 1.8242s1.8242-.8159 1.8242-1.8242z"}),(0,ie.createElement)(se.Path,{d:"m12 4.5c2 0 5.5 1.5 5.5 4.78988v6.71012c0 .2761-.2239.5-.5.5h-10.00002c-.27614 0-.5-.2239-.5-.5v-6.71012c0-3.28988 3.5-4.78988 5.50002-4.78988zm0-3c-.7608 0-1.375.76821-1.375 1.52904-3.12502.97096-5.62502 3.47096-5.62501 6.26084v7.08582c0 .2652-.10536.5195-.29289.7071l-1.3506 1.3506c-.12155.1215-.18984.2864-.18984.4583 0 .358.2902.6482.64818.6482h16.37026c.358 0 .6482-.2902.6482-.6482 0-.1719-.0683-.3368-.1898-.4583l-1.3506-1.3506c-.1876-.1876-.2929-.4419-.2929-.7071v-7.08582c0-2.78988-2.5-5.28988-5.625-6.26084 0-.76083-.6142-1.52904-1.375-1.52904z"}))),he=(0,ie.createElement)(se.SVG,{className:"coblocks-icon-animation",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{className:"small-circle",d:"M5.68,15.87a3.87,3.87,0,1,1,0-7.74,3.87,3.87,0,1,1,0,7.74Z",stroke:"#fff",strokeWidth:"1.5px",fill:"currentColor",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{className:"medium-circle",d:"M10.71,17.32A5.32,5.32,0,1,1,16.13,12,5.38,5.38,0,0,1,10.71,17.32Z",stroke:"#fff",strokeWidth:"1.5px",fill:"currentColor",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{className:"large-circle",d:"M16.15,18A6.06,6.06,0,0,1,10,12a6.12,6.12,0,0,1,12.23,0A6.06,6.06,0,0,1,16.15,18Z",stroke:"#fff",strokeWidth:"1.5px",fill:"currentColor",fillRule:"evenodd"})),pe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12 4c-4.416 0-8 3.584-8 8s3.584 8 8 8h4v-1.6h-4c-3.472 0-6.4-2.928-6.4-6.4s2.928-6.4 6.4-6.4 6.4 2.928 6.4 6.4v1.144c0 .632-.568 1.256-1.2 1.256s-1.2-.624-1.2-1.256v-1.144c0-2.208-1.792-4-4-4s-4 1.792-4 4 1.792 4 4 4c1.104 0 2.112-.448 2.832-1.176.52.712 1.416 1.176 2.368 1.176 1.576 0 2.8-1.28 2.8-2.856v-1.144c0-4.416-3.584-8-8-8zm0 10.4c-1.328 0-2.4-1.072-2.4-2.4s1.072-2.4 2.4-2.4 2.4 1.072 2.4 2.4-1.072 2.4-2.4 2.4z",fill:"currentColor"})),be=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m20 21v-3c0-1.1046-.8954-2-2-2h-12c-1.10457 0-2 .8954-2 2v3",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,ie.createElement)(se.Circle,{cx:"12",cy:"8",fill:"currentColor",r:"5"})),ge=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M19.39 14.99l-1.41 1.41L12 10.43 6.02 16.4l-1.41-1.41L12 7.6l7.39 7.39z"})),fe=((0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m5.87563 13 5.50317-5.48574-1.194-1.01418-4.24673 4.23322-1.43827-1.5881-1.24834.9572zm14.12437-7.49992h-7v1.49992h7zm0 5.99992h-10v1.5h10zm-13 5.5156h13v1.4843h-13z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.13877 4.50131L15.7841 4.5C17.2301 4.49975 17.7552 4.65057 18.2852 4.93385C18.8153 5.21712 19.2322 5.63288 19.5174 6.16268C19.8027 6.69248 19.9558 7.21802 19.9628 8.66734L19.9998 16.3299C20.0068 17.7793 19.8587 18.3048 19.5786 18.8347C19.2984 19.3646 18.8855 19.7805 18.3582 20.064C17.8309 20.3475 17.3073 20.4984 15.8612 20.4987L8.21593 20.5C6.76988 20.5002 6.24478 20.3494 5.71476 20.0662C5.18474 19.7829 4.76784 19.3671 4.48256 18.8373C4.19728 18.3075 4.04418 17.782 4.03719 16.3327L4.00024 8.67006C3.99325 7.22074 4.14128 6.69516 4.42145 6.16526C4.70162 5.63536 5.11451 5.21946 5.64179 4.936C6.16908 4.65255 6.69272 4.50155 8.13877 4.50131V4.50131ZM7.55556 7.16667C7.06464 7.16667 6.66667 7.56464 6.66667 8.05556V16.9444C6.66667 17.4354 7.06464 17.8333 7.55556 17.8333H10.2222C10.7131 17.8333 11.1111 17.4354 11.1111 16.9444V8.05556C11.1111 7.56464 10.7131 7.16667 10.2222 7.16667H7.55556ZM13.7778 13.3889C13.2869 13.3889 12.8889 13.7869 12.8889 14.2778V16.9444C12.8889 17.4354 13.2869 17.8333 13.7778 17.8333H16.4444C16.9354 17.8333 17.3333 17.4354 17.3333 16.9444V14.2778C17.3333 13.7869 16.9354 13.3889 16.4444 13.3889H13.7778ZM13.7778 7.16667C13.2869 7.16667 12.8889 7.56464 12.8889 8.05556V10.7222C12.8889 11.2131 13.2869 11.6111 13.7778 11.6111H16.4444C16.9354 11.6111 17.3333 11.2131 17.3333 10.7222V8.05556C17.3333 7.56464 16.9354 7.16667 16.4444 7.16667H13.7778Z",fill:"currentColor"}))),ve=((0,ie.createElement)(se.SVG,{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m3.97925 12.1853c0 4.4412 3.66683 8.0603 8.16665 8.0603 1.127 0 2.0417-.9027 2.0417-2.0151 0-.4916-.1879-.9672-.5227-1.346-.0653-.0806-.1062-.1693-.1062-.266 0-.2257.1797-.403.4084-.403h1.4455c2.7031 0 4.9-2.1683 4.9-4.8362 0-3.99793-3.6669-7.2543-8.1667-7.2543-4.49982 0-8.16665 3.61908-8.16665 8.0603zm1.36714 0c0-3.76664 3.05125-6.83291 6.79941-6.83291 3.7482 0 6.7995 2.68192 6.7995 5.97881 0 1.8876-1.5214 3.4164-3.3997 3.4164h-1.5044c-1.1729 0-2.1248.9566-2.1248 2.1353 0 .5125.1869 1.0164.5354 1.4093.051.0598.119.1623.119.299 0 .2391-.187.427-.425.427-3.74816 0-6.79941-3.0663-6.79941-6.8329zm2.38795-1.6121c-.66447 0-1.20313.5414-1.20313 1.2091s.53866 1.209 1.20313 1.209c.66446 0 1.20312-.5413 1.20312-1.209s-.53866-1.2091-1.20312-1.2091zm1.20313-2.01503c0-.66774.53866-1.20905 1.20313-1.20905.6645 0 1.2031.54131 1.2031 1.20905s-.5386 1.20905-1.2031 1.20905c-.66447 0-1.20313-.54131-1.20313-1.20905zm5.21353-1.20905c-.6645 0-1.2031.54131-1.2031 1.20905s.5386 1.20905 1.2031 1.20905 1.2031-.54131 1.2031-1.20905-.5386-1.20905-1.2031-1.20905zm1.2031 4.43318c0-.6677.5387-1.2091 1.2032-1.2091.6644 0 1.2031.5414 1.2031 1.2091s-.5387 1.209-1.2031 1.209c-.6645 0-1.2032-.5413-1.2032-1.209z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 4.75h14c.6904 0 1.25.55964 1.25 1.25v12c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-12c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m9 5.5h6v13h-6z",fill:"currentColor"}))),_e=((0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m4.99996 5-.00005 1.55h8.71739v-1.55zm-.00005 6.5312-.00005 1.5h14.00004v-1.5zm-.00015 5.9688.00005 1.5h8.71739v-1.5z",fill:"currentColor"})),(0,ie.createElement)(se.SVG,{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m12.8672 6h1.3535l4.8164 12.4277h-1.96l-1.0371-2.8125h-4.0736-.8668l-.3078.6177.0557-.1498-.87191 2.3446h-1.91602l1.49903-3.875h-2.6211l-.69727 1.875h-1.27734l3.20508-8.28512h.90234l1.48539 3.83272zm2.6455 8.0596-1.9863-5.51956-1.9864 5.51956zm-5.58106-.544-1.32422-3.67966-1.32422 3.67966z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12.5 0c.8325 0 1.5.61363636 1.5 1.36363636v11.27272724c0 .75-.675 1.3636364-1.5 1.3636364l-.5-2v-9h-10v9h10l.5 2h-11c-.8325 0-1.5-.6136364-1.5-1.3636364v-11.27272724c0-.75.6675-1.36363636 1.5-1.36363636zm-10 1c-.27614237 0-.5.22385763-.5.5s.22385763.5.5.5.5-.22385763.5-.5-.22385763-.5-.5-.5z",transform:"translate(1 1.001872)"}))),ke=((0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m19.75 8v10.7885c0 1.0833-.8794 1.9615-1.9656 1.9615-3.0519 0-8.97462 0-12.7844 0",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m6 4.5h10c.2761 0 .5.22386.5.5v12c0 .2761-.2239.5-.5.5h-10c-.27614 0-.5-.2239-.5-.5v-12c0-.27614.22386-.5.5-.5zm10-1.5h-10c-1.10457 0-2 .89543-2 2v12c0 1.1046.89543 2 2 2h10c1.1046 0 2-.8954 2-2v-12c0-1.10457-.8954-2-2-2zm-1 3.75h-8v1.5h8zm-8 3.25h8v1.5h-8zm6 3.25h-6v1.5h6z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m11.5 4h1.5v15.5h-1.5z"}),(0,ie.createElement)(se.Path,{d:"m8 4h8.5v1.5h-8.5z"}),(0,ie.createElement)(se.Path,{d:"m8 18.5h8.5v1.5h-8.5z"}))),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 3.75h14c.6904 0 1.25.55964 1.25 1.25v14c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-14c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m3 5c0-1.10457.89543-2 2-2h14c1.1046 0 2 .89543 2 2v2h-18z"}),(0,ie.createElement)(se.Path,{d:"m11.6959 13.7224c.3563-.5469.599-.9586.7281-1.2351.1351-.2765.2027-.5376.2027-.7834 0-.2642-.0768-.47-.2304-.6175-.1475-.1536-.3533-.2304-.6175-.2304-.2949 0-.5684.0707-.8203.212s-.4977.3318-.7373.5714l-.1475-1.1889c.2888-.2335.5899-.4086.9033-.52538.3133-.11675.6605-.17512 1.0414-.17512.3748 0 .6943.07988.9586.23963.2642.15357.4608.36257.5898.62677.1352.2642.2028.556.2028.8755 0 .3626-.0799.7343-.2396 1.1152-.1537.381-.4271.8695-.8203 1.4655l-.7558 1.1521h2.0461v1.1059h-4z"})))),ye=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 3.75h14c.6904 0 1.25.55964 1.25 1.25v14c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-14c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m3 5c0-1.10457.89543-2 2-2h14c1.1046 0 2 .89543 2 2v2h-18z"}),(0,ie.createElement)(se.Path,{d:"m7 10h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m7 14h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 10h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m15 10h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 14h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m15 14h2v2h-2z"}))),we=((0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m11.9731 4.00028c-4.15965-.00653-7.62297 3.2243-7.94838 7.41482-.32541 4.1905 2.59681 7.9277 6.70658 8.5769v-5.6309h-2.02198v-2.3167h2.02198v-1.7697c-.0901-.83737.1934-1.67177.7735-2.27661.58-.60484 1.3965-.91732 2.2275-.85256.5973.00788 1.1932.05895 1.7832.15283v1.97885h-1.0031c-.3459-.045-.6934.07049-.9454.31419s-.3814.5895-.3521.9407v1.5123h2.213l-.3582 2.3247h-1.8548v5.6309c4.1346-.6239 7.0873-4.3734 6.7604-8.5849-.3269-4.21147-3.8219-7.44995-8.0022-7.41482z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M12 2.25A9.75 9.75 0 1 0 21.75 12 9.761 9.761 0 0 0 12 2.25Zm0 18A8.25 8.25 0 1 1 20.25 12 8.26 8.26 0 0 1 12 20.25Z",fill:"currentColor"}),(0,ie.createElement)(se.Path,{d:"M12 7.083a2.753 2.753 0 0 0-2.75 2.75.75.75 0 1 0 1.5 0 1.25 1.25 0 0 1 2.5 0c0 .374-.166.613-.658.945A2.595 2.595 0 0 0 11.25 13v.25a.75.75 0 1 0 1.5 0V13c0-.39.171-.636.68-.978a2.555 2.555 0 0 0 1.32-2.188A2.753 2.753 0 0 0 12 7.084ZM11.996 15.125a1.127 1.127 0 1 0 .004 0h-.004Z",fill:"currentColor"}))),Ee=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m6 14h12v-1.5h-12z"}),(0,ie.createElement)(se.Path,{d:"m4 18h16v-1.5h-16z"}),(0,ie.createElement)(se.Path,{d:"m6 22h12v-1.5h-12z"})),(0,ie.createElement)(se.Path,{d:"m10.389 3.26543 3.2192-.00042c.0835-.00006.1661.01633.2432.04823s.1472.07869.2062.13769c.059.05899.1057.12904.1376.20614.0319.07709.0483.15973.0483.24317l.0017 3.85454-2.2452 2.24522-2.24463-2.24463.0005-3.85679c.00052-.16774.0674-.32849.18603-.44712.1186-.11863.2794-.18551.4471-.18603z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"})),xe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m10.302 7.30717c.5217-.26086 1.0434-.39128 1.6955-.52171-1.4347 1.56512-1.826 3.91284-.7825 5.99964 1.0434 1.9564 3.2606 2.9998 5.3475 2.739-.3913.3912-.913.7825-1.4347 1.0434-2.6086 1.4347-5.73882.3912-7.04309-2.2173-1.43469-2.4781-.39128-5.73876 2.21729-7.04303z",fill:"currentColor",fillRule:"evenodd"})),Ce=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m12 11.5 8 8.5h-8z"}),(0,ie.createElement)(se.Path,{d:"m4 4h8v7.5l-7.99993 8.5z"}))),Se=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m9.94924 3.75h-5.19924c-.55228 0-1 .44772-1 1v14.5c0 .5523.44772 1 1 1h14.5313c.5523 0 1-.4477 1-1v-5.6458",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m16.8656 9.85.9234-2.02354 2.0235-.92336-2.0235-.92336-.9234-2.02354-.9234 2.02354-2.0235.92336 2.0235.92336zm-3.6836.7367-1.2279-2.7013-1.2279 2.7013-2.7013 1.2279 2.7013 1.2279 1.2279 2.7013 1.2279-2.7013 2.7013-1.2279z",fill:"currentColor"})),ze=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.25",width:"16.5",x:"3.75",y:"3.75"}),(0,ie.createElement)(se.Path,{d:"m4 16 4.57143-3.3333 3.42857 2.2222 4-3.8889 4 3.8889",strokeLinejoin:"round"}))),Te=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",width:"16.5",x:"3.75",y:"3.75"}),(0,ie.createElement)(se.Path,{d:"m15.2225 13.2414c0 1.7797-1.4428 3.2225-3.2225 3.2225-1.7798 0-3.22253-1.4428-3.22253-3.2225 0-.3585.17475-.9012.53447-1.5851.34749-.6606.81936-1.3646 1.30426-2.01861.4828-.65129.9674-1.23811 1.3321-1.66292.0175-.02039.0347-.0404.0517-.06001.0169.01961.0341.03962.0516.06001.3647.42481.8493 1.01163 1.3321 1.66292.4849.65401.9568 1.35801 1.3043 2.01861.3597.6839.5345 1.2266.5345 1.5851z"}))),Pe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m9.27273 11.4545h-3.27273v1.091h3.27273zm1.18367-1.76723-1.1564-1.15636-.76909.76909 1.15636 1.1564zm2.0891-3.68727h-1.091v3.27273h1.091zm2.9236 3.3-.7691-.76909-1.1564 1.15636.7691.76913zm-.7418 2.1545v1.091h3.2727v-1.091zm-2.7273-1.0909c-.9055 0-1.6364.7309-1.6364 1.6364s.7309 1.6364 1.6364 1.6364 1.6364-.7309 1.6364-1.6364-.7309-1.6364-1.6364-1.6364zm1.5436 3.9491 1.1564 1.1564.7691-.7691-1.1564-1.1564zm-5.01269.3873.76909.7691 1.1564-1.1564-.76913-.7691zm2.92359 3.3h1.091v-3.2727h-1.091z",fill:"currentColor"})),Ne=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m15.4536 12.2145c-.1443-.0858-.2938-.1555-.4433-.2145.1495-.059.299-.1287.4433-.2145.9897-.5952 1.5412-1.6729 1.5464-2.78282-.4691-.27882-1.0052-.42895-1.5515-.42895-.5258 0-1.0567.13941-1.5413.42895-.1443.08579-.2783.18767-.402.28955.0257-.16622.0412-.33781.0412-.50939 0-1.19035-.6237-2.2252-1.5464-2.78284-.9227.55764-1.5464 1.59249-1.5464 2.78284 0 .17158.0155.34317.0412.50939-.1237-.10724-.2577-.20912-.402-.29491-.48455-.28955-1.01548-.42896-1.54125-.42896-.54124 0-1.08248.15014-1.55155.42896 0 1.10988.55155 2.18768 1.54639 2.78288.14433.0858.29382.1555.4433.2144-.14948.059-.29897.1287-.4433.2145-.98969.5952-1.54124 1.6729-1.54639 2.7829.46907.2788 1.00515.4289 1.55155.4289.52577 0 1.0567-.1394 1.54125-.4289.1443-.0858.2783-.1877.402-.2896-.0257.1716-.0412.3432-.0412.5148 0 1.1903.6237 2.2252 1.5464 2.7828.9227-.5576 1.5464-1.5925 1.5464-2.7828 0-.1716-.0155-.3432-.0412-.5094.1237.1072.2577.2037.402.2895.4846.2896 1.0155.429 1.5413.429.5412 0 1.0824-.1502 1.5515-.429-.0052-1.1099-.5567-2.1876-1.5464-2.7828zm-1.3093-2.0805c.1083-.0911.1959-.15545.2784-.19834.3144-.18767.6701-.28955 1.0309-.28955.1392 0 .2732.01609.4072.0429-.1598.48789-.4845.90619-.9175 1.16889-.0876.0536-.1856.0965-.299.1448l-.7113.2788c-.0876-.2466-.2114-.4665-.3711-.6649zm-2.1443-2.76135c.3247.38606.5155.89008.5155 1.41019 0 .10188-.0103.21984-.0258.3378l-.1186.77212c-.1237-.02145-.2474-.03753-.3711-.03753s-.2474.01608-.366.03753l-.1185-.77212c-.0207-.11796-.031-.23592-.031-.3378 0-.52547.1908-1.02413.5155-1.41019zm-3.86082 2.311c.13402-.03218.27319-.0429.41237-.0429.35567 0 .71134.09652 1.02577.28955.07732.04825.16495.1072.25258.1877l.5928.5147c-.1547.193-.2732.4075-.3608.6434l-.71138-.2788c-.10825-.0482-.20619-.0965-.28866-.1448-.44846-.268-.76805-.6809-.92268-1.16885zm1.71649 4.17695c-.10825.0911-.19588.1555-.27835.1984-.31443.1876-.6701.2895-1.03093.2895-.13917 0-.27319-.0161-.40721-.0429.15979-.4879.48453-.9061.91752-1.1689.08763-.0536.18557-.0965.29897-.1447l.71133-.2789c.0825.2467.2114.4719.3711.6649zm2.14433 2.7667c-.3247-.386-.5155-.89-.5155-1.4101 0-.1073.0103-.2199.031-.3486l.1134-.7614c.1185.0215.2422.0376.3711.0376.1237 0 .2474-.0161.366-.0376l.1185.7722c.0207.1179.031.2359.031.3378 0 .5254-.1908 1.0241-.5155 1.4101zm3.4485-2.2734c-.3557 0-.7114-.0965-1.0258-.2896-.0928-.0536-.1753-.1179-.2526-.1823l-.5928-.5147c.1547-.193.2784-.4075.3608-.6488l.7114.2788c.1134.0429.2113.0912.2938.1394.4381.2628.7577.681.9175 1.1689-.1392.0376-.2783.0483-.4123.0483z",fill:"currentColor"})),Be=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m5.5 18v-12c0-.27614.22386-.5.5-.5h3v-1.5h-3c-1.10457 0-2 .89543-2 2v12c0 1.1046.89543 2 2 2h3v-1.5h-3c-.27614 0-.5-.2239-.5-.5z"}),(0,ie.createElement)(se.Path,{d:"m13 2v20h-2v-20z"}),(0,ie.createElement)(se.Path,{d:"m16.5 4v1.5h-1.5v-1.5z"}),(0,ie.createElement)(se.Path,{d:"m20 6c0-1.10457-.8954-2-2-2v1.5c.2761 0 .5.22386.5.5z"}),(0,ie.createElement)(se.Path,{d:"m18.5 16.5v-2h1.5v2z"}),(0,ie.createElement)(se.Path,{d:"m20 13h-1.5v-2h1.5z"}),(0,ie.createElement)(se.Path,{d:"m18 18.5c.2761 0 .5-.2239.5-.5h1.5c0 1.1046-.8954 2-2 2z"}),(0,ie.createElement)(se.Path,{d:"m16.5 20v-1.5h-1.5v1.5z"}),(0,ie.createElement)(se.Path,{d:"m18.5 9.5h1.5v-2h-1.5z"}))),Oe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m6 5.5h12c.2761 0 .5.22386.5.5v3h1.5v-3c0-1.10457-.8954-2-2-2h-12c-1.10457 0-2 .89543-2 2v3h1.5v-3c0-.27614.22386-.5.5-.5z"}),(0,ie.createElement)(se.Path,{d:"m22 13h-20v-2h20z"}),(0,ie.createElement)(se.Path,{d:"m20 16.5h-1.5v-1.5h1.5z"}),(0,ie.createElement)(se.Path,{d:"m18 20c1.1046 0 2-.8954 2-2h-1.5c0 .2761-.2239.5-.5.5z"}),(0,ie.createElement)(se.Path,{d:"m7.5 18.5h2v1.5h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 20v-1.5h2v1.5z"}),(0,ie.createElement)(se.Path,{d:"m5.5 18c0 .2761.22386.5.5.5v1.5c-1.10457 0-2-.8954-2-2z"}),(0,ie.createElement)(se.Path,{d:"m4 16.5h1.5v-1.5h-1.5z"}),(0,ie.createElement)(se.Path,{d:"m14.5 18.5v1.5h2v-1.5z"}))),Re=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m20.2 17h-16.536c-.4424 0-.664-.3619-.664-.8095 0-4.9656 1.9848-9.12821 6.564-10.22997v-1.71351c0-.44766.3576-.80952.8-.80952h3.2c.4424 0 .8.36186.8.80952v1.71351c4.5792 1.10176 6.636 5.26437 6.636 10.22997 0 .4476-.3576.8095-.8.8095zm-7.336-12h-2v.70796c.2648-.02105.8296-.04129 1.1-.04129s.6352.02024.9.04129zm-.9 2.29688c-4.94375 0-7.0584 3.67062-7.464 8.20312h14.864c-.4056-4.5325-2.4563-8.20312-7.4-8.20312z"}),(0,ie.createElement)(se.Path,{d:"m2 18.5h20v1.5h-20z"}))),Me=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m17.7646 7.89213c-.096.53182-.5444.96979-1.1209 1.06364l-.4164.06257 1.2491 2.28376c.2242.4066.2242.9072-.032 1.3452-.2563.4066-.7046.6569-1.185.6569-.2563 0-.4805-.0626-.7046-.1877l-3.491-2.0022-3.39495 2.0022c-.22419.1251-.48041.1877-.7046.1877-.48041 0-.89677-.2503-1.18501-.6257-.25622-.3754-.28825-.8759-.09609-1.2826l1.12096-2.37756-.73663-.1877c-.44838-.12514-.80068-.43797-.96082-.84466-1.88962 1.3452-3.10666 3.34732-3.10666 5.59982 0 4.0981 4.03546 7.4142 8.9997 7.4142 4.9643 0 8.9997-3.3161 8.9997-7.4142.032-2.2837-1.2491-4.34847-3.2348-5.69367z"}),(0,ie.createElement)(se.Path,{d:"m7.35566 7.70438 1.92165.46925c.09608.03129.16014.15642.12811.25027l-1.6334 3.4725c-.06406.1564.09608.3128.25622.219l3.90736-2.31501c.064-.03129.1281-.03129.1922 0l4.0034 2.31501c.1601.0938.3523-.0939.2562-.2503l-1.9216-3.50377c-.0641-.09385 0-.25027.1281-.25027l1.7935-.31283c.1922-.03129.1922-.31284.032-.34412-.8967-.25027-2.4341-.65696-3.6511-.81338.0961-1.12621.4804-2.62783.7687-3.25351.2242-.50053-1.5694-.53182-1.7616 0-.1601.46926-.4483 2.03345-.5444 3.22223-1.24909.12513-2.94654.50054-3.90737.75081-.12811.06256-.12811.31283.03203.34412z"}))),Ae=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",fill:"currentColor",r:"8"}),(0,ie.createElement)(se.Path,{d:"m14.9586 9.09098-3.9304 5.28592-2.27901-1.6946",stroke:"#fff",strokeWidth:"1.5"})),Le=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 3.75h14c.6904 0 1.25.55964 1.25 1.25v14c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-14c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m11.6959 13.9724c.3563-.5469.599-.9586.7281-1.2351.1351-.2765.2027-.5376.2027-.7834 0-.2642-.0768-.47-.2304-.6175-.1475-.1536-.3533-.2304-.6175-.2304-.2949 0-.5684.0707-.8203.212s-.4977.3318-.7373.5714l-.1475-1.1889c.2888-.2335.5899-.4086.9033-.5254.3133-.1167.6605-.1751 1.0414-.1751.3748 0 .6943.0799.9586.2396.2642.1536.4608.3626.5898.6268.1352.2642.2028.556.2028.8755 0 .3626-.0799.7343-.2396 1.1152-.1537.381-.4271.8695-.8203 1.4655l-.7558 1.1521h2.0461v1.1059h-4z"}),(0,ie.createElement)(se.Path,{d:"m3 5c0-1.10457.89543-2 2-2h14c1.1046 0 2 .89543 2 2v2h-18z"}))),Ie=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m11.5 4c-4.692 0-8.5 3.808-8.5 8.5s3.808 8.5 8.5 8.5h4.25v-1.7h-4.25c-3.689 0-6.8-3.111-6.8-6.8s3.111-6.8 6.8-6.8 6.8 3.111 6.8 6.8v1.2155c0 .6715-.6035 1.3345-1.275 1.3345s-1.275-.663-1.275-1.3345v-1.2155c0-2.346-1.904-4.25-4.25-4.25s-4.25 1.904-4.25 4.25 1.904 4.25 4.25 4.25c1.173 0 2.244-.476 3.009-1.2495.5525.7565 1.5045 1.2495 2.516 1.2495 1.6745 0 2.975-1.36 2.975-3.0345v-1.2155c0-4.692-3.808-8.5-8.5-8.5zm0 11.05c-1.411 0-2.55-1.139-2.55-2.55s1.139-2.55 2.55-2.55 2.55 1.139 2.55 2.55-1.139 2.55-2.55 2.55z",fill:"currentColor"})),De=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12.0041 8.15789c2.2592 0 4.0928 1.76843 4.0928 3.94741 0 .5131-.1065.9947-.2947 1.4447l2.3902 2.3053c1.236-.9948 2.2101-2.2816 2.8076-3.75-1.4161-3.46583-4.9113-5.92109-9.0041-5.92109-1.146 0-2.24283.19737-3.25784.55263l1.76804 1.70527c.4666-.18158.9659-.28422 1.498-.28422zm-8.18555-2.15526 1.86631 1.8.37653.36316c-1.3588 1.01842-2.42292 2.37631-3.06139 3.93951 1.4161 3.4658 4.91132 5.921 9.0041 5.921 1.2688 0 2.4802-.2368 3.5853-.6631l.3438.3315 2.3983 2.3053 1.0396-1.0026-14.51298-13.9974zm4.52661 4.36577 1.26876 1.2237c-.04093.1658-.06549.3395-.06549.5132 0 1.3105 1.09687 2.3684 2.45567 2.3684.1801 0 .3602-.0237.5321-.0632l1.2687 1.2237c-.5484.2605-1.1541.4184-1.8008.4184-2.25922 0-4.09278-1.7684-4.09278-3.9473 0-.6237.16371-1.2079.43384-1.7369zm3.52794-.61577 2.5785 2.48687.0163-.1263c0-1.3106-1.0968-2.36846-2.4556-2.36846z",fill:"currentColor"})),Fe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m13 11.9999v-1c0-1.10459-.8954-2.00002-2-2.00002h-4c-1.10457 0-2 .89543-2 2.00002v1"}),(0,ie.createElement)(se.Path,{d:"m4 19.2499h9"}),(0,ie.createElement)(se.Path,{d:"m4 15.2499h16"})),(0,ie.createElement)(se.Circle,{cx:"9",cy:"5",fill:"currentColor",r:"2"})),Ve=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"14.5",rx:"1.25",stroke:"currentColor",strokeWidth:"1.5",width:"8.5",x:"7.75",y:"4.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m11 16h2v1.5h-2z",fill:"currentColor"})),je=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"7.25",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",fill:"currentColor",r:"4"}),(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"4",stroke:"currentColor"})),Ge=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"7.25"}),(0,ie.createElement)(se.Path,{d:"m8 11 3.7141 2.7755c.1781.133.4225.1326.6001-.001l3.6858-2.7745"}))),$e=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m5 7.25h14c.6904 0 1.25.55964 1.25 1.25v7c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-7c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m16 12.75h-8v-1.5h8z",fill:"currentColor",fillRule:"evenodd"})),He=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m4 8h16c.6904 0 1.25.55964 1.25 1.25v5c0 .6904-.5596 1.25-1.25 1.25h-16c-.69036 0-1.25-.5596-1.25-1.25v-5c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"})),Ue=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(se.Path,{d:"m19.9998 15.5h-16.00004v-1.5h16.00004z"}),(0,ie.createElement)(se.Path,{d:"m15.9998 5.5h-12.00004v-1.5h12.00004z"}),(0,ie.createElement)(se.Path,{d:"m19.9998 10.5h-16.00004v-1.5h16.00004z"}),(0,ie.createElement)(se.Path,{d:"m19.9998 20h-16.00004v-1.5h16.00004z"}))),We=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"7.25",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m10.5018 11.3502 4.4504-2.98515-1.4486 4.72825-4.45583 2.9533z",fill:"currentColor"})),qe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m19 6.75h-14c-.69036 0-1.25.55964-1.25 1.25v8.5c0 .6904.55964 1.25 1.25 1.25h14c.6904 0 1.25-.5596 1.25-1.25v-8.5c0-.69036-.5596-1.25-1.25-1.25z"}),(0,ie.createElement)(se.Path,{d:"m4 7 8 6 8-6"}))),Ye=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"14.5",rx:".875",stroke:"currentColor",strokeWidth:"1.5",width:"14.5",x:"4.75",y:"4.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m5.06667 14.6666 3.9619-2.1334 2.97143 1.4222 3.4667-2.4888 3.4666 2.4888",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m23 18c-.8284 0-1.5-.6716-1.5-1.5v-9c0-.82843.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m1 6c.82843 0 1.5.67157 1.5 1.5v9c0 .8284-.67157 1.5-1.500001 1.5z"}))),Ke=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Rect,{height:"13.5",rx:".875",width:"13.5",x:"7.75",y:"7.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m8 17 3.7143-2 2.7857 1.3333 3.25-2.3333 3.25 2.3333",strokeLinejoin:"round",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m22 3.75h-4.0005c-1.1046 0-1.9995.89543-1.9995 2v1.25m-12.25 15v-3.0002c0-1.1046.89543-1.9998 2-1.9998h1.25m-2-6.25c-1.5 0-2.25-.89543-2.25-2v-4c0-1.10457.89543-2 2-2h4c1.10457 0 2.25.75 2.25 2.25"}))),Ze=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{fill:"none",height:"13.5",rx:".875",stroke:"currentColor",strokeWidth:"1.5",width:"13.5",x:"3.75",y:"3.75"}),(0,ie.createElement)(se.Path,{d:"m4 13 3.71429-2 2.78571 1.3333 3.25-2.3333 3.25 2.3333",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m21.5 11c-.8284 0-1.5-.6716-1.5-1.5v-5c0-.82843.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m21.5 21c-.8284 0-1.5-.6716-1.5-1.5v-5c0-.8284.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m3 21.5c0-.8284.67157-1.5 1.5-1.5h12c.8284 0 1.5.6716 1.5 1.5z"}))),Je=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m20.75 21.75v-1c0-.5523-.4477-1-1-1h-5c-.5523 0-1 .4477-1 1v1"}),(0,ie.createElement)(se.Path,{d:"m10.25 21.75v-1c0-.5523-.44772-1-1-1h-5c-.55228 0-1 .4477-1 1v1"}),(0,ie.createElement)(se.Rect,{height:"13.5",rx:".875",width:"13.5",x:"5.25",y:"2.75"}),(0,ie.createElement)(se.Path,{d:"m5.5 12 3.71429-2 2.78571 1.3333 3.25-2.3333 3.25 2.3333",strokeLinejoin:"round"}))),Xe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"13.5",rx:".875",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m4 13 4.5-2.5 3.5 1.8333 4-3.3333 4 3.3333",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m3 21.5c0-.8284.67157-1.5 1.5-1.5h15c.8284 0 1.5.6716 1.5 1.5z",fill:"currentColor"})),Qe=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.25",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m8 4.5-4 5v-5z"}),(0,ie.createElement)(se.Path,{d:"m12 10.5h1v4h-1z"}),(0,ie.createElement)(se.Path,{d:"m10.2 10.5h-2.4c-.48 0-.8.3333-.8.6667v2.6666c0 .3334.32.6667.8.6667h2.4c.48 0 .8-.3333.8-.6667v-1.3333h-1.2v1h-1.6v-2h2.8v-.3333c0-.3334-.32-.6667-.8-.6667z"}),(0,ie.createElement)(se.Path,{d:"m17 11.5v-1h-3v4h1v-1.3333h1.3333v-1h-1.3333v-.6667z"}))),et=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12 3c-4.9725 0-9 4.13206-9 9.2285 0 4.0782 2.5785 7.5366 6.15375 8.7556.45.0869.615-.1985.615-.4438 0-.2192-.0075-.7998-.01125-1.5688-2.5035.5568-3.0315-1.2382-3.0315-1.2382-.4095-1.0651-1.00125-1.3497-1.00125-1.3497-.81525-.5721.063-.5606.063-.5606.90375.0646 1.3785.9505 1.3785.9505.8025 1.4112 2.10675 1.0036 2.62125.7676.081-.5968.3128-1.0036.57-1.2344-1.99875-.2307-4.0995-1.0243-4.0995-4.5604 0-1.0074.34875-1.8303.92625-2.4763-.10125-.23302-.405-1.17125.07875-2.44248 0 0 .75375-.24763 2.475.94593.72-.20534 1.485-.30685 2.25-.31147.765.00462 1.53.10613 2.25.31147 1.71-1.19356 2.4638-.94593 2.4638-.94593.4837 1.27123.18 2.20946.09 2.44248.5737.646.9225 1.4689.9225 2.4763 0 3.5453-2.1038 4.3259-4.1063 4.5527.315.2769.6075.8429.6075 1.7073 0 1.2351-.0112 2.2272-.0112 2.5271 0 .2422.1575.5306.6187.4383 3.6008-1.2104 6.177-4.6711 6.177-8.7432 0-5.09644-4.0297-9.2285-9-9.2285",fill:"currentColor"})),tt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m4 4h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 4h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m18 4h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m4 18h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m11 18h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m18 18h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m4 11h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m10 10h4v4h-4z"}),(0,ie.createElement)(se.Path,{d:"m18 11h2v2h-2z"}))),ot=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.25",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m5 15.25h14c.6904 0 1.25.5596 1.25 1.25v2.5c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25v-2.5c0-.6904.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m4 4h16v11h-16z",fill:"currentColor"})),nt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m6 22h8v-1.5h-8z"}),(0,ie.createElement)(se.Path,{d:"m13.1758 2.46347c-2.1834 3.59813-4.63759 7.27765-6.46611 10.71183-.08879.1668-.0675.1566-.05735.2834.12017.985.57349 2.8924.57349 2.8924s-.82048 1.913-1.22583 2.6489h2.4c.27105-.3982.5519-1.0806.78287-1.4935.28752-.0817 1.90663-.5383 2.75273-.9084.1162-.0508.144-.0958.2151-.1962 2.0301-3.6693 3.8383-7.45927 5.7349-11.1769.2357-.55654.1087-1.07052-.3943-1.35894-.9591-.56757-1.9166-1.13821-2.8746-1.70778-.5347-.27141-1.0654-.20883-1.4409.30519zm-5.42348 11.82773c-.03001-.1268.10567-.2255.21813-.1598l2.79925 1.6362c.1099.0643.0947.2271-.0257.2686-.584.2016-1.17592.3838-1.53469.4923-.03989.0121-.08273.0069-.11871-.0142l-.91474-.5345c-.03871-.0226-.0652-.0613-.07265-.1055-.09848-.5844-.23671-1.1009-.35089-1.5831z"}))),lt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m10.389 3.26543 3.2192-.00042c.0835-.00006.1661.01633.2432.04823s.1472.07869.2062.13769c.059.05899.1057.12904.1376.20614.0319.07709.0483.15973.0483.24317l.0017 3.85454-2.2452 2.24522-2.24463-2.24463.0005-3.85679c.00052-.16774.0674-.32849.18603-.44712.1186-.11863.2794-.18551.4471-.18603z"}),(0,ie.createElement)(se.Path,{d:"m13.611 20.7346-3.2192.0004c-.0835 0-.1661-.0163-.2432-.0482s-.1472-.0787-.20616-.1377c-.059-.059-.10578-.1291-.13769-.2062-.0319-.0771-.04829-.1597-.04823-.2431l-.00174-3.8546 2.24522-2.2452 2.2446 2.2446-.0005 3.8568c-.0005.1678-.0674.3285-.186.4471-.1186.1187-.2794.1855-.4471.1861z"}),(0,ie.createElement)(se.Path,{d:"m20.7346 10.389.0004 3.2192c0 .0835-.0163.1661-.0482.2432s-.0787.1472-.1377.2062-.1291.1057-.2062.1376-.1597.0483-.2431.0483l-3.8546.0017-2.2452-2.2452 2.2446-2.24463 3.8568.0005c.1678.00052.3285.0674.4471.18603.1187.1186.1855.2794.1861.4471z"}),(0,ie.createElement)(se.Path,{d:"m3.26543 13.611-.00042-3.2192c-.00006-.0835.01633-.1661.04823-.2432s.07869-.1472.13769-.20616c.05899-.059.12904-.10578.20614-.13769.07709-.0319.15973-.04829.24317-.04823l3.85454-.00174 2.24522 2.24522-2.24463 2.2446-3.85679-.0005c-.16774-.0005-.32849-.0674-.44712-.186s-.18551-.2794-.18603-.4471z"}))),rt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m12.0026 7.67357c-2.3621 0-4.25762 1.92468-4.25762 4.25763 0 2.3621 1.92468 4.2576 4.25762 4.2576 2.3621 0 4.2576-1.9247 4.2576-4.2576 0-2.33295-1.8955-4.25763-4.2576-4.25763zm.3208 5.36573-.9624.9624-.9623-.9624-.93318-.9331.96238-.9624.9331.9332 2.2163-2.2163.9624.9623zm8.1944-2.3037c-.3791-.35-.5249-.90406-.3207-1.37065l.1749-.43742c.2917-.67072-.0875-1.42893-.7873-1.63306l-.4666-.11665c-.4958-.14581-.8457-.58324-.8749-1.10815v-.49575c-.0291-.72904-.6999-1.25396-1.3997-1.13731l-.4666.08749c-.5249.08748-1.0207-.14581-1.254-.6124l-.2333-.40827c-.3499-.64155-1.1665-.81653-1.7497-.40826l-.3791.26246c-.4083.29161-.9915.29161-1.3998 0l-.3791-.29162c-.5832-.43743-1.42889-.2333-1.77883.40826l-.23329.40827c-.26246.46659-.75821.69988-1.28312.6124l-.46659-.08749c-.72905-.11665-1.37061.40826-1.42893 1.13731l-.02916.46659c-.02916.52491-.3791.96234-.87485 1.10815l-.46659.1458c-.69989.20414-1.07899.96234-.78737 1.63306l.17497.43743c.20413.46659.05832 1.02071-.32078 1.37061l-.34994.3208c-.55408.4666-.55408 1.3414 0 1.808l.34994.3208c.3791.3499.52491.904.32078 1.3706l-.17497.4374c-.29162.6707.08748 1.4289.78737 1.6331l.46659.1166c.49575.1458.84569.5833.87485 1.1082l.02916.4666c.02916.729.69988 1.2539 1.39977 1.1373l.46658-.0875c.52492-.0875 1.02067.1458 1.25396.6124l.2333.4082c.34994.6416 1.16645.8166 1.74975.4083l.3791-.2624c.4082-.2917.9915-.2917 1.3997 0l.3791.2916c.5833.4374 1.429.2333 1.7789-.4083l.2333-.4083c.2624-.4665.7582-.6998 1.2831-.6124l.4666.0875c.729.1167 1.3706-.4082 1.4289-1.1373l.0292-.4666c.0291-.5249.3791-.9623.8748-1.1081l.4666-.1167c.6999-.2041 1.079-.9623.7874-1.633l-.175-.4375c-.2041-.4665-.0583-1.0206.3208-1.3706l.3499-.3207c.5541-.4666.5541-1.3415 0-1.8081zm-8.5152 7.1154c-3.26612 0-5.89068-2.6537-5.89068-5.8906 0-3.26617 2.65372-5.89073 5.89068-5.89073 3.2661 0 5.8907 2.65372 5.8907 5.89073 0 3.2369-2.6246 5.8906-5.8907 5.8906z",fill:"currentColor"})),at=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m19.6976 16.8149-4.5045 2.7755c-.1023.0623-.219.0952-.338.0952-.1189 0-.2356-.0329-.3379-.0952l-3.2947-2.0192c.2929-.5543.4809-1.1606.5542-1.7867l3.2233 2.0124v-9.50002l-5.46036-3.34376v6.29688c-.4582-.4688-1.23302-.6921-2.00388-.7355-.09631 0-.19431-.0087-.29399-.0087-.09969 0-.19938 0-.29569.0087-.85883.0493-1.7495.4304-2.44608.9485v-4.963c-.0002-.11068.02756-.21953.08057-.31591s.12945-.177.22187-.23399l4.56823-2.85494c.10228-.06229.21901-.09516.33793-.09516s.23564.03287.3379.09516l4.807 2.96287 4.6025-2.83623c.0546-.03341.1169-.05136.1804-.05203.0636-.00067.1263.01598.1815.04824.0553.03225.1013.07897.1333.1354s.0488.12055.0488.18584v12.72755c-.0001.1103-.028.2188-.081.3149-.053.096-.1293.1764-.2214.2332zm-10.15796.8309-2.01909 2.2291c-.03574.0395-.07901.071-.12712.0925s-.10003.0326-.15251.0326-.10439-.0111-.15251-.0326c-.04811-.0215-.09138-.053-.12712-.0925l-2.01908-2.2291c-.46748-.5034-.77835-1.1384-.893-1.8239-.11465-.6856-.02788-1.3906.24925-2.0254.24163-.5429.62326-1.0077 1.10363-1.344.48036-.3364 1.04116-.5314 1.62172-.5641h.21796.21795c.58056.0327 1.14136.2277 1.62172.5641.48037.3363.862.8011 1.10366 1.344.2769.6349.3634 1.3401.2484 2.0256-.1149.6856-.4261 1.3205-.89386 1.8237zm-.81102-2.4164c0-.3019-.0872-.5971-.25058-.8481s-.39559-.4467-.66728-.5622c-.27169-.1156-.57064-.1458-.85907-.0869-.28842.0589-.55335.2043-.76129.4178s-.34955.4855-.40692.7816-.02793.603.08461.882c.11254.2789.30311.5173.54762.6851.24451.1677.53198.2572.82606.2572.19539 0 .38888-.0395.56938-.1163.18051-.0769.34449-.1895.48258-.3314s.24757-.3104.3222-.4958c.07462-.1854.11291-.3841.11269-.5847z",fill:"currentColor"})),ct=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m15.75 18v1.75c0 .5523-.4477 1-1 1h-10c-.55228 0-1-.4477-1-1v-15c0-.55228.44772-1 1-1h10c.5523 0 1 .44959 1 1.00188 0 2.11305 0 1.45031 0 1.24812",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"8",rx:"1",width:"8",x:"12",y:"8"})),it=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m6.5 0h-5c-.825 0-1.5.61363636-1.5 1.36363636v9.27272724c0 .75.675 1.3636364 1.5 1.3636364h5c.825 0 1.5-.6136364 1.5-1.3636364v-9.27272724c0-.75-.675-1.36363636-1.5-1.36363636zm-.5 10h-4v-8h4z",transform:"translate(4 2)"})),st=(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m13 10.5h-8c-.27614 0-.5.2239-.5.5v8c0 .2761.22386.5.5.5h8c.2761 0 .5-.2239.5-.5v-8c0-.2761-.2239-.5-.5-.5zm-8-1.5h8c1.1046 0 2 .89543 2 2v8c0 1.1046-.8954 2-2 2h-8c-1.10457 0-2-.8954-2-2v-8c0-1.10457.89543-2 2-2z",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{d:"m7.67708 16.8438v-3.6875l3.07292 1.8437z"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m9.03508 5c0-1.10457.89543-2 2.00002-2h7.9649c1.1046 0 2 .89543 2 2v8c0 1.1046-.8954 2-2 2h-1.9961v-1.5h1.9961c.2761 0 .5-.2239.5-.5v-2.838l-1.728-1.59293-.9927 1.11671c-.1351.15198-.3261.24259-.5292.25107-.2032.00848-.4011-.06589-.5484-.20609l-2.0421-1.9437-2.3585 2.55494-1.1022-1.01737 2.875-3.11459c.1363-.14762.3261-.2344.5269-.24089.2008-.0065.3958.06784.5413.20634l2.0317 1.93375.9844-1.10751c.1337-.15043.3223-.2408.5233-.2508s.3976.06121.5456.19762l1.2729 1.17337v-3.12192c0-.27614-.2239-.5-.5-.5h-7.9649c-.2762 0-.5.22386-.5.5v1.98438h-1.50002z",fillRule:"evenodd"}))),ut=(0,ie.createElement)(se.SVG,{"view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m8.5 8.5 3.5-3.5 3.5 3.5",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m15.5 15.5-3.5 3.5-3.5-3.5",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m11.25 18.0625v-12.25h1.5v12.25z"})),dt=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M.59 12c0-1.152.927-2.085 2.07-2.085 1.144 0 2.07.933 2.07 2.085a2.078 2.078 0 01-2.07 2.085A2.077 2.077 0 01.59 12zm14.54 2.085A2.077 2.077 0 0113.06 12c0-1.152.927-2.085 2.07-2.085 1.143 0 2.07.933 2.07 2.085a2.078 2.078 0 01-2.07 2.085zm0-10.426c-4.572 0-8.28 3.735-8.28 8.34 0 4.608 3.707 8.342 8.28 8.342 4.573 0 8.28-3.734 8.28-8.341 0-4.606-3.707-8.34-8.28-8.34z",fillRule:"evenodd"})),mt=((0,ie.createElement)(se.SVG,{fill:"none",height:"25",viewBox:"0 0 24 25",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m14.5314 1v1.49242h-2.0067v-1.49242zm4.9776 0c1.0996 0 1.991.89091 1.991 1.98989h-1.4933c0-.27475-.2228-.49747-.4977-.49747zm-1.4933 1.49242v-1.49242h-2.0067v1.49242zm1.991 10.94438v-1.9899h1.4933v1.9899zm0-3.4823h1.4933v-1.98989h-1.4933zm-.4977 5.4722c.2749 0 .4977-.2227.4977-.4975h1.4933c0 1.099-.8914 1.9899-1.991 1.9899zm1.991-8.95451h-1.4933v-1.98989h1.4933zm-10.4063-5.47219c-1.09964 0-1.99105.89091-1.99105 1.98989h1.49325c0-.27475.2229-.49747.4978-.49747zm-2.16208 4.87109 7.54938 7.54501v5.9282c0 .2976-.2415.5389-.5393.5389h-10.78475c-.29781 0-.53923-.2413-.53923-.5389v-12.93428c0-.29764.24142-.53893.53923-.53893zm5.39238-1.61678h-7.01009-2.15696c-1.19125 0-2.15695.96514-2.15695 2.15571v12.93428c0 1.1906.9657 2.1557 2.15695 2.1557h10.78475c1.1913 0 2.157-.9651 2.157-2.1557v-4.3114-7.0061-1.61678c0-1.19057-.9657-2.15571-2.157-2.15571z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m17.9584 12.5417-7.5833-7.58336h-3.79169c-.29915 0-.54166.24251-.54166.54166v13c0 .2991.24251.5417.54166.5417h10.83329c.2992 0 .5417-.2426.5417-.5417zm-9.20832-9.20836h7.04162 1.625c1.1967 0 2.1667.97005 2.1667 2.16666v1.625 7.0417 4.3333c0 1.1967-.97 2.1667-2.1667 2.1667h-10.83329c-1.19661 0-2.16666-.97-2.16666-2.1667v-13c0-1.19661.97005-2.16666 2.16666-2.16666z",fill:"currentColor",fillRule:"evenodd"})),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m20.1658 18.312c0 .9283-.7596 1.6879-1.688 1.6879-.9283 0-1.6879-.7596-1.6879-1.6879 0-.9284 1.6879-3.3758 1.6879-3.3758s1.688 2.4474 1.688 3.3758z",fill:"currentColor",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m4.97449 13c0 .422.16879.844.42198 1.1815l4.30419 4.3042c.67514.6752 1.68794.6752 2.36304 0l4.3042-4.3042c.2532-.3375.422-.7595.422-1.1815z",fill:"currentColor",fillRule:"evenodd"}),(0,ie.createElement)(se.Path,{d:"m7.92839 3.71155 6.66731 6.66725m-4.895 8.2708-4.30419-4.3042c-.67517-.6751-.67517-1.6879 0-2.3631l5.48569-5.3169 5.4014 5.4013c.6752.6752.6752 1.688 0 2.3631l-4.3042 4.3042c-.5908.5908-1.6035.5908-2.2787-.0844z",stroke:"currentColor",strokeWidth:"1.5"}))),ht=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m6 4.75h12c.6904 0 1.25.55964 1.25 1.25v12c0 .6904-.5596 1.25-1.25 1.25h-12c-.69036 0-1.25-.5596-1.25-1.25v-12c0-.69036.55964-1.25 1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m7 9h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m7 13h2v2h-2z"}),(0,ie.createElement)(se.Path,{d:"m10 9h7v2h-7z"}),(0,ie.createElement)(se.Path,{d:"m10 13h7v2h-7z"}),(0,ie.createElement)(se.Path,{d:"m23 18c-.8284 0-1.5-.6716-1.5-1.5v-9c0-.82843.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m1 6c.82843 0 1.5.67157 1.5 1.5v9c0 .8284-.67157 1.5-1.500001 1.5z"}))),pt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"8",rx:"1",width:"8",x:"3",y:"3"}),(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"8",rx:"1",width:"8",x:"13",y:"3"}),(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m13 18.25h5"}),(0,ie.createElement)(se.Path,{d:"m13 14.25h7"}),(0,ie.createElement)(se.Path,{d:"m3 18.25h5"}),(0,ie.createElement)(se.Path,{d:"m3 14.25h7"}))),bt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(se.Path,{d:"m18 4.5h-12c-.27614 0-.5.22386-.5.5v14.5c0 .2761.22386.5.5.5h12c.2761 0 .5-.2239.5-.5v-14.5c0-.27614-.2239-.5-.5-.5zm-12-1.5h12c1.1046 0 2 .89543 2 2v14.5c0 1.1046-.8954 2-2 2h-12c-1.10457 0-2-.8954-2-2v-14.5c0-1.10457.89543-2 2-2z"}),(0,ie.createElement)(se.Path,{d:"m10.9123 9.87699c-.3141.21991-.4123.45171-.4123.62301s.0982.4031.4123.623c.3118.2182.7824.377 1.3377.377v1.5c-.8254 0-1.6048-.233-2.1979-.6481-.59069-.4135-1.0521-1.0567-1.0521-1.8519 0-.79516.46141-1.43835 1.0521-1.85186.5931-.41517 1.3725-.64814 2.1979-.64814s1.6048.23297 2.1979.64814c.5907.41351 1.0521 1.0567 1.0521 1.85186 0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75c0-.1713-.0982-.4031-.4123-.62301-.3118-.21821-.7824-.37699-1.3377-.37699s-1.0259.15878-1.3377.37699z"}),(0,ie.createElement)(se.Path,{d:"m13.5877 14.623c.3141-.2199.4123-.4517.4123-.623s-.0982-.4031-.4123-.623c-.3118-.2182-.7824-.377-1.3377-.377v-1.5c.8254 0 1.6048.233 2.1979.6481.5907.4135 1.0521 1.0567 1.0521 1.8519s-.4614 1.4384-1.0521 1.8519c-.5931.4151-1.3725.6481-2.1979.6481s-1.6048-.233-2.1979-.6481c-.59069-.4135-1.0521-1.0567-1.0521-1.8519 0-.4142.33579-.75.75-.75.4142 0 .75.3358.75.75 0 .1713.0982.4031.4123.623.3118.2182.7824.377 1.3377.377s1.0259-.1588 1.3377-.377z"}),(0,ie.createElement)(se.Path,{d:"m12.25 15.5c.4142 0 .75.3358.75.75v.5c0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75v-.5c0-.4142.3358-.75.75-.75z"}),(0,ie.createElement)(se.Path,{d:"m12.25 7c.4142 0 .75.33579.75.75v.5c0 .41421-.3358.75-.75.75s-.75-.33579-.75-.75v-.5c0-.41421.3358-.75.75-.75z"}))),gt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(se.Path,{d:"m16 3h-10c-.27614 0-.5.22386-.5.5v13.5c0 .2761.22386.5.5.5h10c.2761 0 .5-.2239.5-.5v-13.5c0-.27614-.2239-.5-.5-.5zm-10-1.5h10c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-10c-1.10457 0-2-.8954-2-2v-13.5c0-1.10457.89543-2 2-2z"}),(0,ie.createElement)(se.Path,{d:"m9.91233 7.87699c-.31409.21986-.41233.45167-.41233.62301s.09824.40315.41233.62301c.31177.21821.78237.37699 1.33767.37699v1.5c-.8254 0-1.60477-.233-2.19786-.6481-.59073-.41355-1.05214-1.05674-1.05214-1.8519s.46141-1.43835 1.05214-1.85186c.59309-.41517 1.37246-.64814 2.19786-.64814s1.6048.23297 2.1979.64814c.5907.41351 1.0521 1.0567 1.0521 1.85186 0 .41421-.3358.75-.75.75s-.75-.33579-.75-.75c0-.17134-.0982-.40315-.4123-.62301-.3118-.21821-.7824-.37699-1.3377-.37699s-1.0259.15878-1.33767.37699z"}),(0,ie.createElement)(se.Path,{d:"m12.5877 12.623c.3141-.2199.4123-.4517.4123-.623s-.0982-.4031-.4123-.623c-.3118-.2182-.7824-.377-1.3377-.377v-1.5c.8254 0 1.6048.23297 2.1979.6481.5907.4135 1.0521 1.0567 1.0521 1.8519s-.4614 1.4384-1.0521 1.8519c-.5931.4151-1.3725.6481-2.1979.6481s-1.60477-.233-2.19786-.6481c-.59073-.4135-1.05214-1.0567-1.05214-1.8519 0-.4142.33579-.75.75-.75s.75.3358.75.75c0 .1713.09824.4031.41233.623.31177.2182.78237.377 1.33767.377s1.0259-.1588 1.3377-.377z"}),(0,ie.createElement)(se.Path,{d:"m11.25 13.5c.4142 0 .75.3358.75.75v.5c0 .4142-.3358.75-.75.75s-.75-.3358-.75-.75v-.5c0-.4142.3358-.75.75-.75z"}),(0,ie.createElement)(se.Path,{d:"m11.25 5c.4142 0 .75.33579.75.75v.5c0 .41421-.3358.75-.75.75s-.75-.33579-.75-.75v-.5c0-.41421.3358-.75.75-.75z"})),(0,ie.createElement)(se.Path,{d:"m20.25 8.25v11c0 1.1046-.8954 2-2 2h-8",stroke:"currentColor",strokeWidth:"1.5",fill:"none"})),ft=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m3.75 18v-12c0-.69036.55964-1.25 1.25-1.25h14c.6904 0 1.25.55964 1.25 1.25v12c0 .6904-.5596 1.25-1.25 1.25h-14c-.69036 0-1.25-.5596-1.25-1.25z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m3 15h6v18h-6z",fill:"currentColor",transform:"matrix(0 -1 1 0 -12 18)"})),vt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m4 20.25h16",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m4 16.25h9",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"9",rx:"2",width:"16",x:"4",y:"4"})),_t=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{stroke:"currentColor",strokeWidth:"1.5",fill:"none"},(0,ie.createElement)(se.Path,{d:"m4 20.25h16"}),(0,ie.createElement)(se.Path,{d:"m4 16.25h9"}),(0,ie.createElement)(se.Path,{d:"m22.25 9.5v-5.75c0-1.10457-.8954-2-2-2h-12.75"})),(0,ie.createElement)(se.Rect,{fill:"currentColor",height:"9",rx:"2",width:"16",x:"4",y:"4"})),kt=(0,ie.createElement)(se.SVG,{"view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m8.5 9.5c0-.82843-.67157-1.5-1.5-1.5s-1.5.67157-1.5 1.5c0 .8284.67157 1.5 1.5 1.5s1.5-.6716 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m13.5 14.5c0-.8284-.6716-1.5-1.5-1.5s-1.5.6716-1.5 1.5.6716 1.5 1.5 1.5 1.5-.6716 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m18.5 9.5c0-.82843-.6716-1.5-1.5-1.5s-1.5.67157-1.5 1.5c0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5z"}),(0,ie.createElement)(se.Path,{d:"m16.5 5h1v13.825h-1z"}),(0,ie.createElement)(se.Path,{d:"m6.5 5h1v14h-1z"}),(0,ie.createElement)(se.Path,{d:"m11.5 5h1v14h-1z"})),yt=(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Rect,{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)(se.Path,{clipRule:"evenodd",d:"m19.5 8.5v11h-15v-5-2c0 3.5 3.5 3.5 5 3.5 3 0 3.5-3.0452 5-5 1.2022-1.56673 3.2746-2.39739 5-2.5z",fill:"currentColor",fillRule:"evenodd"})),wt=((0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m15.5 6-8 6 8 6",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Rect,{height:"4",rx:"1",width:"4",x:"5",y:"10"}),(0,ie.createElement)(se.Rect,{height:"4",rx:"1",width:"4",x:"15",y:"4"}),(0,ie.createElement)(se.Rect,{height:"4",rx:"1",width:"4",x:"15",y:"16"}))),(0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 25",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{fill:"none",d:"m12.5 17v-2c0-1.1046-.8954-2-2-2h-4c-1.10457 0-2 .8954-2 2v2",stroke:"currentColor",strokeWidth:"1.5"}),(0,ie.createElement)(se.Path,{d:"m19.5 17v-1c0-1.1046-.8954-2-2-2h-2.5",fill:"none",stroke:"currentColor",strokeWidth:"1.5"}),(0,ie.createElement)(se.Circle,{cx:"15.5",cy:"10",fill:"currentColor",r:"2"}),(0,ie.createElement)(se.Circle,{cx:"8.5",cy:"9",fill:"currentColor",r:"2"}),(0,ie.createElement)(se.Circle,{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}))),Et=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"})),xt=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m11.25 0h-9c-.825 0-1.5.61363636-1.5 1.36363636v13.27272724c0 .75.675 1.3636364 1.5 1.3636364h9c.825 0 1.5-.6136364 1.5-1.3636364v-13.27272724c0-.75-.675-1.36363636-1.5-1.36363636zm-.5 14h-8v-12h8z",transform:"translate(1.25)"})),Ct=((0,ie.createElement)(se.SVG,{fill:"none","view-box":"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m7.34532 7.19644c.03127-.69843.67672-1.20533 1.36267-1.07017l8.89421 1.75261c.6859.13516 1.0908.84904.8547 1.50713l-3.8044 10.60739c-.1909.5322-.7422.8448-1.2968.7355l-5.59369-1.1022c-.55466-.1093-.94606-.6077-.92076-1.1725z",stroke:"currentColor",strokeWidth:"1.4",fill:"none"}),(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m18.7958.00018311-14.7958 6.08966689.76121 1.84948 14.79579-6.08967z"}),(0,ie.createElement)(se.Path,{d:"m13.5123 2.17454s-.9464.38951-2.1138.86999c-1.1673.48043-2.11357.86993-2.11357.86993-.48046-1.16736.0764-2.50318 1.24367-2.983611 1.1674-.480475 2.5032.076331 2.9837 1.243691z"}),(0,ie.createElement)(se.Path,{d:"m6.5 17 10-4-2.5 7-7-1z"}))),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m6.33693 7.16999c-.02446-.16261-.01354-.3286.03202-.48661.04555-.15801.12466-.30433.23193-.42898.10727-.12464.24018-.22467.38964-.29325.14946-.06859.31196-.10411.47641-.10416h9.06497c.7 0 1.235.622 1.13 1.313l-1.681 11.14301c-.0407.2706-.1771.5176-.3844.6961-.2074.1786-.4719.2768-.7456.2769h-5.70197c-.27363-.0001-.53816-.0983-.74552-.2769-.20736-.1785-.34378-.4255-.38448-.6961z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(se.Path,{d:"m20 4.99999h-16v2h16zm-5.714 0h-4.572c0-.60629.24085-1.18774.6696-1.61645.4287-.4287 1.0101-.66955 1.6164-.66955s1.1877.24085 1.6164.66955c.4288.42871.6696 1.01016.6696 1.61645z",fill:"currentColor"})),(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"m20.9644 6.21958c-.6699.29445-1.3852.49504-2.1383.58663.7675-.46249 1.3579-1.19144 1.6372-2.06117-.7198.4201-1.5177.72591-2.3669.89623-.6783-.72592-1.6449-1.18009-2.7183-1.18009-2.0566 0-3.7241 1.66756-3.7241 3.72192 0 .29521.034.57907.0961.85082-3.09594-.1461-5.83988-1.63275-7.67624-3.88013-.32322.54652-.50413 1.1816-.50413 1.87345 0 1.29439.65854 2.43208 1.6562 3.10046-.61085-.0197-1.18538-.18772-1.68648-.46627v.04617c0 1.8053 1.28152 3.3109 2.98692 3.6538-.31262.084-.64265.1294-.981.1294-.23769 0-.46553-.0227-.69337-.0651.47764 1.4784 1.85074 2.5563 3.485 2.5865-1.27168.9985-2.88322 1.5934-4.61891 1.5934-.29521 0-.58966-.0174-.88563-.0507 1.65696 1.0552 3.60913 1.6721 5.72027 1.6721 6.85347 0 10.59657-5.6741 10.59657-10.5867 0-.1582 0-.31792-.0114-.47688.7274-.52154 1.3625-1.18084 1.8621-1.9287z",fill:"currentColor"}))),St=(0,ie.createElement)(se.SVG,{fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.G,{fill:"currentColor"},(0,ie.createElement)(se.Path,{d:"m5 18.5v1.5h14v-1.5h-7z"}),(0,ie.createElement)(se.Path,{d:"m11.1155 4-4.88894 12.4444h2l.99556-2.6666h5.55558l.9955 2.6666h2l-4.88-12.4444zm-1.22672 8 2.11552-5.62667 2.1156 5.62667z"})));const zt=[{slug:"coblocks-galleries",title:(0,le.__)("Galleries","coblocks")},...(0,ne.getCategories)().filter((e=>{let{slug:t}=e;return"coblocks-galleries"!==t}))];ae()?(0,ne.registerBlockCollection)("coblocks",{title:"CoBlocks",icon:fe}):zt.unshift({slug:"coblocks",title:"CoBlocks",icon:fe}),(0,ne.setCategories)(zt);var Tt=o(8718),Pt=o.n(Tt),Nt=o(7361),Bt=o.n(Nt),Ot=o(998),Rt=o.n(Ot),Mt=window.wp.blob;const At=(e,t)=>{const o=Pt()(e,["alt","id","link","caption","imgLink"]);o.url=Bt()(e,["sizes","large","url"])||Bt()(e,["media_details","sizes","large","source_url"])||e.url;const n=Rt()(t,(function(e){return e.url===o.url}));return o.imgLink=n>=0?t[n].imgLink:"",o},Lt=["image"],It=e=>{var t;const o=null!==(t=null==e?void 0:e.size)&&void 0!==t?t:e;return RegExp(/([a-z])/).test(o)?o:o+"px"},Dt=(e=>{let t=0,o=0,n=0;switch(e.length){case 4:t="0x"+e[1]+e[1],o="0x"+e[2]+e[2],n="0x"+e[3]+e[3];break;case 7:t="0x"+e[1]+e[2],o="0x"+e[3]+e[4],n="0x"+e[5]+e[6]}return`${+t}, ${+o}, ${+n}`})(getComputedStyle(document.documentElement).getPropertyValue("--wp-admin-theme-color").trim());function Ft(){return Ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Ft.apply(this,arguments)}function Vt(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}document.documentElement.style.setProperty("--wp-admin-theme-color-rgb",Dt);const jt=[{className:"fadeIn",label:(0,le.__)("Fade in","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("path",{d:"m7.99992 12.6667c-.36667 0-.66667.3-.66667.6667 0 .3666.3.6666.66667.6666s.66667-.3.66667-.6666c0-.3667-.3-.6667-.66667-.6667zm0 2.6667c-.36667 0-.66667.3-.66667.6666 0 .3667.3.6667.66667.6667s.66667-.3.66667-.6667c0-.3666-.3-.6666-.66667-.6666zm0-5.3334c-.36667 0-.66667.3-.66667.6667s.3.6667.66667.6667.66667-.3.66667-.6667-.3-.6667-.66667-.6667zm0-2.66663c-.36667 0-.66667.3-.66667.66667s.3.66667.66667.66667.66667-.3.66667-.66667-.3-.66667-.66667-.66667zm5.33338 1.33334c.3666 0 .6666-.3.6666-.66667s-.3-.66667-.6666-.66667c-.3667 0-.6667.3-.6667.66667s.3.66667.6667.66667zm-2.6667 0c.3667 0 .6667-.3.6667-.66667s-.3-.66667-.6667-.66667-.66668.3-.66668.66667.29998.66667.66668.66667zm0 3.66669c-.5533 0-1.00001.4466-1.00001 1 0 .5533.44671 1 1.00001 1s1-.4467 1-1c0-.5534-.4467-1-1-1zm5.3333.3333c-.3666 0-.6666.3-.6666.6667 0 .3666.3.6666.6666.6666.3667 0 .6667-.3.6667-.6666 0-.3667-.3-.6667-.6667-.6667zm0 2.6667c-.3666 0-.6666.3-.6666.6666 0 .3667.3.6667.6666.6667.3667 0 .6667-.3.6667-.6667 0-.3666-.3-.6666-.6667-.6666zm0-5.3334c-.3666 0-.6666.3-.6666.6667s.3.6667.6666.6667c.3667 0 .6667-.3.6667-.6667s-.3-.6667-.6667-.6667zm0-2.66663c-.3666 0-.6666.3-.6666.66667s.3.66667.6666.66667c.3667 0 .6667-.3.6667-.66667s-.3-.66667-.6667-.66667zm-2.6666 8.00003c-.3667 0-.6667.3-.6667.6666 0 .3667.3.6667.6667.6667.3666 0 .6666-.3.6666-.6667 0-.3666-.3-.6666-.6666-.6666zm-2.6667-5.66669c-.5533 0-1.00001.44669-1.00001.99999s.44671 1 1.00001 1 1-.4467 1-1-.4467-.99999-1-.99999zm0 5.66669c-.3667 0-.66668.3-.66668.6666 0 .3667.29998.6667.66668.6667s.6667-.3.6667-.6667c0-.3666-.3-.6666-.6667-.6666zm2.6667-3c-.5534 0-1 .4466-1 1 0 .5533.4466 1 1 1 .5533 0 1-.4467 1-1 0-.5534-.4467-1-1-1zm0-2.66669c-.5534 0-1 .44669-1 .99999s.4466 1 1 1c.5533 0 1-.4467 1-1s-.4467-.99999-1-.99999z",fill:"currentColor"}))},{className:"zoomIn",label:(0,le.__)("Zoom in","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("rect",{height:"10.5",rx:"1.25",stroke:"currentColor",strokeOpacity:".75",strokeWidth:"1.5",width:"10.5",x:"6.75",y:"6.75",fill:"none"}),(0,ie.createElement)("rect",{fill:"currentColor",fillOpacity:".25",height:"4",rx:".5",width:"4",x:"10",y:"10"}))},{className:"slideInLeft",label:(0,le.__)("Slide in from left","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{clipRule:"evenodd",d:"m10.4375 16.3732 4.5625-4.546-4.5606-4.5772-1.0626 1.05873 3.5019 3.51457-3.49998 3.4873z",fillRule:"evenodd"}),(0,ie.createElement)("path",{d:"m13.5487 11.0606v1.5h-9.81249v-1.5z"})))},{className:"slideInRight",label:(0,le.__)("Slide in from right","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",transform:"matrix(-1 0 0 1 19.5 3)",width:"16.5",x:"-.75",y:".75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{clipRule:"evenodd",d:"m13.5625 16.3732-4.5625-4.546 4.5606-4.5772 1.0626 1.05873-3.5019 3.51457 3.5 3.4873z",fillRule:"evenodd"}),(0,ie.createElement)("path",{d:"m10.4513 11.0606v1.5h9.8125v-1.5z"})))},{className:"slideInBottom",label:(0,le.__)("Slide in from bottom","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{clipRule:"evenodd",d:"m16.5626 13.2363-4.5459-4.56259-4.57725 4.56059 1.05874 1.0626 3.51461-3.5019 3.4872 3.5z",fillRule:"evenodd"}),(0,ie.createElement)("path",{d:"m11.2501 10.125h1.5v9.8125h-1.5z"})))},{className:"clipHorizontal",label:(0,le.__)("Clip horizontally","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{d:"m9 12.0698h8v11h-8z",transform:"matrix(0 -1 1 0 -3.0698 21.0698)"}),(0,ie.createElement)("path",{d:"m4 20.0698h8v11h-8z",transform:"matrix(0 -1 1 0 -16.0698 24.0698)"})))},{className:"clipVertical",label:(0,le.__)("Clip vertically","coblocks"),icon:(0,ie.createElement)("svg",{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)("rect",{height:"16.5",rx:"1.53571",stroke:"currentColor",strokeWidth:"1.5",width:"16.5",x:"3.75",y:"3.75",fill:"none"}),(0,ie.createElement)("g",{fill:"currentColor"},(0,ie.createElement)("path",{d:"m12 4h7.5v11h-7.5z"}),(0,ie.createElement)("path",{d:"m4.5 9h7.5v11h-7.5z"})))}];var Gt=window.lodash,$t=o.n(Gt),Ht=o(4184),Ut=o.n(Ht),Wt=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),qt=window.wp.coreData,Yt=window.wp.blockEditor,Kt=window.wp.compose,Zt=window.wp.components;function Jt(e){let{hoveredAnimation:t,selected:o}=e;if(!t)return null;const n=$t().cloneDeep(o);return n.attributes.animation=t,(0,ie.createElement)("div",{className:"block-editor-block-switcher__popover__preview__parent"},(0,ie.createElement)("div",{className:"block-editor-block-switcher__popover__preview__container"},(0,ie.createElement)(Zt.Popover,{className:"block-editor-block-switcher__preview__popover",focusOnMount:!1,position:"bottom right"},(0,ie.createElement)("div",{className:"block-editor-block-switcher__preview coblocks__preview"},(0,ie.createElement)("div",{className:"block-editor-block-switcher__preview-title"},(0,le.__)("Preview animation")),(0,ie.createElement)(Yt.BlockPreview,{autoHeight:!0,blocks:{...n}}),(0,ie.createElement)(Zt.Tip,null,(0,le.__)("Animations occur as a visitor scrolls this block into view.","coblocks"))))))}class Xt extends ie.Component{constructor(){var e;super(...arguments),e=this,Vt(this,"onChangeHoveredAnimation",(e=>{this.setState({hoveredAnimation:e})})),Vt(this,"onAnimationClick",(function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{setAttributes:n}=e.props;return()=>{e.setState({hoveredAnimation:null}),n({animation:o}),t()}})),this.state={hoveredAnimation:null}}render(){const{attributes:{animation:e},selected:t}=this.props,{hoveredAnimation:o}=this.state;return(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)(Zt.DropdownMenu,{className:Ut()("components-coblocks-animation-toggle",e?"has-animation":""),icon:he,label:(0,le.__)("Add animation","coblocks"),noIcons:!0,popoverProps:{className:"components-coblocks-animation-dropdown"}},(n=>{let{onClose:l}=n;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.MenuGroup,null,(0,ie.createElement)(Jt,{hoveredAnimation:o,selected:t}),jt.map((t=>(0,ie.createElement)(Zt.MenuItem,{icon:e===t.className?Wt:t.icon,isSelected:e===t.className,key:`coblocks-animation-${t.className}`,label:t.label,onClick:this.onAnimationClick(l,t.className),onMouseEnter:()=>this.onChangeHoveredAnimation(t.className),onMouseLeave:()=>this.onChangeHoveredAnimation(null),role:"menuitemradio"},t.label)))),e&&(0,ie.createElement)(Zt.MenuGroup,null,(0,ie.createElement)(Zt.MenuItem,{isSelected:!1,label:(0,le.__)("Remove animation","coblocks"),onClick:this.onAnimationClick(l),role:"menuitemradio"},(0,le.__)("Remove animation","coblocks"))))}))))}}var Qt=(0,Kt.compose)([(0,Kt.ifCondition)((()=>{const[e]=(0,qt.useEntityProp)("root","site","coblocks_animation_controls_enabled");return e}))])(Xt),eo=(o(8140),window.wp.plugins);const to="CoBlocksSettingsModalControl",{Fill:oo,Slot:no}=(0,Zt.createSlotFill)(to),lo=oo;lo.Slot=function(e){let{children:t}=e;const o=(0,Zt.__experimentalUseSlot)(to);return Boolean(o.fills&&o.fills.length)?(0,ie.createElement)(no,{bubblesVirtually:!0}):t};var ro=lo,ao=function(e){let{label:t,help:o,settingsKey:n}=e;const[l,r]=(0,qt.useEntityProp)("root","site",n);return(0,ie.createElement)(ro,null,(0,ie.createElement)(Zt.CheckboxControl,{label:t,help:o,checked:!!l,onChange:r}))};(0,eo.registerPlugin)("coblocks-animation-control",{render:()=>(0,ie.createElement)(ao,{settingsKey:"coblocks_animation_controls_enabled",label:(0,le.__)("Animation controls","coblocks"),help:(0,le.__)("Allow animations to be used on blocks.","coblocks")})});var co=window.wp.data,io=window.wp.hooks;const so=[{blockType:"coblocks/gallery-carousel",animateChildren:!1},{blockType:"coblocks/gallery-collage",animateChildren:!0},{blockType:"coblocks/gallery-masonry",animateChildren:!0},{blockType:"coblocks/gallery-offset",animateChildren:!0},{blockType:"coblocks/gallery-stacked",animateChildren:!0},{blockType:"core/columns",animateChildren:!1},{blockType:"core/cover",animateChildren:!1},{blockType:"core/gallery",animateChildren:!1},{blockType:"core/group",animateChildren:!1},{blockType:"core/image",animateChildren:!1},{blockType:"core/media-text",animateChildren:!1}],uo="coblocks-animate",mo=(0,Kt.createHigherOrderComponent)((e=>ho((t=>{let{select:o,...n}=t;const l=o("core/block-editor").getBlock(n.clientId);return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,n),n.isSelected&&so.some((e=>e.blockType===n.name))&&(0,ie.createElement)(Qt,Ft({},n,{selectedBlock:l})))}))),"withControls");(0,io.addFilter)("editor.BlockEdit","coblocks/animations",mo),(0,io.addFilter)("blocks.registerBlockType","coblocks/inspector/attributes",(function(e){return so.some((t=>t.blockType===e.name))&&(e.attributes={...e.attributes,animation:{type:"string"}}),e})),(0,io.addFilter)("blocks.getSaveContent.extraProps","coblocks/applyAnimationSettings",(function(e,t,o){if(!so.some((e=>e.blockType===t.name&&!e.animateChildren)))return e;const{animation:n}=o;return n&&(e.className=Ut()(e.className,uo),e["data-coblocks-animation"]=n),e}));const ho=(0,Kt.compose)((0,co.withSelect)((e=>({selected:e("core/block-editor").getSelectedBlock(),select:e})))),po=(0,Kt.createHigherOrderComponent)((e=>ho((t=>{var o;let{select:n,...l}=t,r=l.wrapperProps;const a=n("core/block-editor").getBlockName(l.rootClientId||l.clientId);if(!so.some((e=>e.blockType===a&&!e.animateChildren)))return(0,ie.createElement)(e,l);if(null===(o=l.attributes)||void 0===o||!o.animation){var c,i;if(null!==(c=l.attributes)&&void 0!==c&&null!==(i=c.className)&&void 0!==i&&i.includes("coblocks-animate")){var s;const e=null===(s=l.attributes)||void 0===s?void 0:s.className.split(" ");l.attributes.className=e.filter((e=>"coblocks-animate"!==e)).join(" ")}return(0,ie.createElement)(e,l)}const{animation:u}=l.attributes,d=(0,ie.useRef)();(0,ie.useEffect)((()=>{d.current=u}),[u]);const m=d.current!==u,[h,p]=(0,ie.useState)(!1);return r={...r,className:Ut()(r.className,{[uo]:m||h,[u]:m||h})},l.isSelected&&(r={...r,onAnimationStart:()=>p(m),onAnimationEnd:()=>p(!1)}),(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,Ft({},l,{wrapperProps:r})),h&&(0,ie.createElement)("style",{dangerouslySetInnerHTML:{__html:".block-editor-block-contextual-toolbar, .block-editor-rich-text__inline-format-toolbar { display: none !important; }"}}))}))),"withAnimationSettings");(0,io.addFilter)("editor.BlockListBlock","coblocks/withAnimationSettings",po);var bo={textColor:{type:"string"},customTextColor:{type:"string"},customBackgroundColor:{type:"string"}};class go extends ie.Component{render(){const{name:e,attributes:t,setAttributes:o}=this.props,{customTextColor:n,customBackgroundColor:l}=t,r=[];return["core/list","core/quote"].includes(e)||r.push({value:l,onChange:e=>o({customBackgroundColor:e}),label:(0,le.__)("Background color","coblocks")}),r.push({value:n,onChange:e=>o({customTextColor:e}),label:(0,le.__)("Text color","coblocks")}),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:r})}}var fo=(0,Kt.compose)([(0,Yt.withColors)({textColor:"color"})])(go);function vo(){const[e,t]=(0,qt.useEntityProp)("root","site","coblocks_color_panel_controls_enabled"),[o,n]=(0,qt.useEntityProp)("root","site","coblocks_custom_colors_controls_enabled"),[l,r]=(0,qt.useEntityProp)("root","site","coblocks_gradient_presets_enabled"),{settings:a}=(0,co.useSelect)((e=>({settings:e("core/block-editor").getSettings()})),[]),{updateSettings:c}=(0,co.useDispatch)("core/block-editor"),i=(e,t)=>{var o,n,l,r,c,i;let s;switch(e){case"__experimentalFeatures.color.palette":s=null!==(o=null==a||null===(n=a.__experimentalFeatures)||void 0===n||null===(l=n.color)||void 0===l?void 0:l.palette)&&void 0!==o?o:{core:[]};break;case"__experimentalFeatures.color.gradients":s=null!==(r=null==a||null===(c=a.__experimentalFeatures)||void 0===c||null===(i=c.color)||void 0===i?void 0:i.gradients)&&void 0!==r?r:{core:[]};break;default:s=a[e]}const u=localStorage.getItem(e),d=()=>{var e;return!(Array.isArray(u)&&!u.length||(null==u?void 0:u.constructor)===Object&&0===(null===(e=Object.keys(u))||void 0===e?void 0:e.length))};return t||d()||localStorage.setItem(e,JSON.stringify(s)),t?u&&d()?JSON.parse(u):s:[]},s=e=>i(e,!0),u=e=>i(e,!1);return(0,ie.useEffect)((()=>{var t;[e,o,l].every((e=>void 0!==e))&&c({colors:e?s("colors"):u("colors"),disableCustomColors:!o,disableCustomGradients:!l,gradients:l?s("gradients"):u("gradients"),__experimentalFeatures:{...null==a?void 0:a.__experimentalFeatures,color:{...null==a||null===(t=a.__experimentalFeatures)||void 0===t?void 0:t.color,palette:e?s("__experimentalFeatures.color.palette"):u("__experimentalFeatures.color.palette"),gradients:l?s("__experimentalFeatures.color.gradients"):u("__experimentalFeatures.color.gradients")}}})}),[e,o,l]),(0,ie.createElement)(ro,null,(0,ie.createElement)(Zt.CheckboxControl,{label:(0,le.__)("Color settings","coblocks"),help:(0,le.__)("Allow color settings throughout the editor.","coblocks"),checked:!!e,onChange:e=>{t(e),n(e),r(e)}}),e&&(0,ie.createElement)(Zt.CheckboxControl,{label:(0,le.__)("Custom color pickers","coblocks"),help:(0,le.__)("Allow styling with custom colors.","coblocks"),checked:!!o,onChange:e=>{n(e),r(e)}}),o&&(0,ie.createElement)(Zt.CheckboxControl,{label:(0,le.__)("Gradient styles","coblocks"),help:(0,le.__)("Allow styling with gradient fills.","coblocks"),checked:!!l,onChange:e=>{r(e)}}))}(0,eo.registerPlugin)("coblocks-editor-settings-controls",{render:()=>(0,ie.createElement)(vo,null)});const _o=e=>(["core/cover","core/button","core/list","core/quote"].includes(e.name)?e.attributes.textPanelHeadingFontSizes=!0:e.attributes.textPanelHideSize=!0,["core/paragraph","core/cover","core/button"].includes(e.name)||(e.attributes.textPanelLineHeight=!0),e.attributes.textPanelHideColor=!0,e.attributes.textPanelShowSpacingControls=!0,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(fo,e))),ko=(0,Kt.createHigherOrderComponent)((e=>t=>(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,t),t.isSelected&&["core/list","core/quote"].includes(t.name)&&(0,ie.createElement)(_o,t))),"withInspectorControl");(0,io.addFilter)("blocks.registerBlockType","coblocks/colors/attributes",(function(e){return["core/list","core/quote"].includes(e.name)&&(e.attributes=Object.assign(e.attributes,bo)),e})),(0,io.addFilter)("editor.BlockEdit","coblocks/colors",ko);var yo={"Abril Fatface":{weight:["400"]},Anton:{weight:["400"]},Arvo:{weight:["400","700"]},Asap:{weight:["400","500","600","700"]},"Barlow Condensed":{weight:["100","200","300","400","500","600","700","800","900"]},Barlow:{weight:["100","200","300","400","500","600","700","800","900"]},"Cormorant Garamond":{weight:["300","400","500","600","700"]},Faustina:{weight:["400","500","600","700"]},"Fira Sans":{weight:["100","200","300","400","500","600","700","800","900"]},"IBM Plex Sans":{weight:["100","200","300","400","500","600","700"]},Inconsolata:{weight:["400","700"]},Heebo:{weight:["100","300","400","500","700","800","900"]},Karla:{weight:["400","700"]},Lato:{weight:["100","200","300","400","500","600","700","800","900"]},Lora:{weight:["400","700"]},Merriweather:{weight:["300","400","500","600","700","800","900"]},Montserrat:{weight:["100","200","300","400","500","600","700","800","900"]},"Noto Sans":{weight:["400","700"]},"Noto Serif":{weight:["400","700"]},"Open Sans":{weight:["300","400","500","600","700","800"]},Oswald:{weight:["200","300","400","500","600","700"]},"Playfair Display":{weight:["400","700","900"]},"PT Serif":{weight:["400","700"]},Roboto:{weight:["100","300","400","500","700","900"]},Rubik:{weight:["300","400","500","700","900"]},Tajawal:{weight:["200","300","400","500","700","800","900"]},Ubuntu:{weight:["300","400","500","700"]},Yrsa:{weight:["300","400","500","600","700"]}},wo=(0,Kt.withInstanceId)((function(e){let{label:t,value:o,help:n,instanceId:l,onChange:r,className:a,...c}=e;const i=`inspector-coblocks-font-family-${l}`,s=[{value:"",label:(0,le.__)("Default","coblocks")},{value:"Arial",label:"Arial"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Georgia",label:"Georgia"}];let u=[];return Object.keys(yo).forEach((e=>{u.push({value:e,label:e})})),s.reverse().forEach((e=>{u.unshift(e)})),u=wp.hooks.applyFilters("coblocks.google_fonts",u),(0,ie.createElement)(Zt.BaseControl,{label:t,id:i,help:n,className:a},(0,ie.createElement)("select",Ft({id:i,className:"components-select-control__input components-select-control__input--coblocks-fontfamily",onChange:e=>{const t=wp.data.select("core/editor").getEditedPostAttribute("meta");let o="";const n=":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic",l=document.createElement("link"),a=s.filter((function(t){return t.label===e.target.value})).length>0;l.rel="stylesheet",void 0!==t&&void 0!==t._coblocks_attr&&(o=t._coblocks_attr),o.length>0?(o.includes(e.target.value)||a||(l.href="https://fonts.googleapis.com/css?family="+e.target.value.replace(/ /g,"+")+n,document.head.appendChild(l)),o=o.replace(","+e.target.value,""),o=o+","+e.target.value):(l.href="https://fonts.googleapis.com/css?family="+e.target.value.replace(/ /g,"+")+n,document.head.appendChild(l),o=e.target.value),wp.data.dispatch("core/editor").editPost({meta:{_coblocks_attr:o}}),r(e.target.value)},"aria-describedby":n?`${i}__help`:void 0,value:o},c),u.map(((e,t)=>(0,ie.createElement)("option",{key:`${e.label}-${e.value}-${t}`,value:e.value},e.label)))))})),Eo={fontSize:{type:"string"},customFontSize:{type:"number"},fontFamily:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"},lineHeight:{type:"number"},letterSpacing:{type:"number"},fontWeight:{type:"string",default:""},textTransform:{type:"string",default:""},noBottomSpacing:{type:"boolean",default:!1},noTopSpacing:{type:"boolean",default:!1}},xo=window.wp.keycodes;const{getComputedStyle:Co}=window,So=(0,Zt.withFallbackStyles)(((e,t)=>{const{textColor:o,fontSize:n,customFontSize:l}=t.attributes,r=e.querySelector('[contenteditable="true"]'),a=r?Co(r):void 0;return{fallbackFontSize:n||l||!a?void 0:parseInt(a.fontSize)||void 0,fallbackTextColor:o||!a?void 0:a.color}})),zo=["core/paragraph","core/heading","core/button","core/list","coblocks/row","coblocks/column","coblocks/accordion","coblocks/accordion-item","coblocks/click-to-tweet","coblocks/alert","coblocks/pricing-table","coblocks/highlight"];class To extends ie.Component{render(){const{attributes:e,setAttributes:t,icon:o=St,label:n=(0,le.__)("Change typography","coblocks"),name:l}=this.props;if(!zo.includes(l))return null;const{customFontSize:r,fontFamily:a,lineHeight:c,letterSpacing:i,noBottomSpacing:s,noTopSpacing:u,fontWeight:d,textTransform:m}=e,h=[{
2
  /* translators: typography style */
3
  label:(0,le.__)("Default","coblocks"),value:""},{
4
  /* translators: typography style */
14
  /* translators: typography style */
15
  label:(0,le.__)("Capitalize","coblocks"),value:"capitalize"},{
16
  /* translators: typography style */
17
+ label:(0,le.__)("Normal","coblocks"),value:"initial"}];return void 0!==yo[a]&&void 0!==yo[a].weight&&yo[a].weight.forEach((e=>{h.push({label:e,value:e})})),(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)(Zt.Dropdown,{className:Ut()("components-dropdown-menu","components-coblocks-typography-dropdown"),contentClassName:"components-dropdown-menu__popover components-coblocks-typography-dropdown",renderContent:()=>(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-typography-dropdown__inner"},(0,ie.createElement)(wo,{className:"components-base-control--with-flex components-coblocks-typography-dropdown__inner--font",label:(0,le.__)("Font","coblocks"),onChange:e=>{return t({fontFamily:o=e}),void(void 0!==yo[o]&&void 0!==yo[o].weight&&d&&Object.values(yo[a].weight).indexOf(d)<0&&t({fontWeight:void 0}));var o},value:a}),void 0===e.textPanelFontWeight||void 0!==e.textPanelFontWeight&&void 0===e.textPanelFontWeight?(0,ie.createElement)(Zt.SelectControl,{className:"components-base-control--with-flex components-coblocks-typography-dropdown__inner--weight",label:(0,le.__)("Weight","coblocks"),onChange:e=>t({fontWeight:e}),options:h,value:d}):null,void 0===e.textPanelTextTransform||void 0!==e.textPanelTextTransform&&void 0===e.textPanelTextTransform?(0,ie.createElement)(Zt.SelectControl,{className:"components-base-control--with-flex components-coblocks-typography-dropdown__inner--transform",label:(0,le.__)("Transform","coblocks"),onChange:e=>t({textTransform:e}),options:p,value:m}):null,void 0===e.textPanelHideSize||void 0!==e.textPanelHideSize&&void 0===e.textPanelHideSize?(0,ie.createElement)(Zt.RangeControl,{className:"components-coblocks-typography-dropdown__inner--size",label:(0,le.__)("Size","coblocks"),max:100,min:1,onChange:e=>t({customFontSize:e}),step:1,value:parseFloat(r)||void 0}):null,void 0===e.textPanelLineHeight||void 0!==e.textPanelLineHeight&&void 0===e.textPanelLineHeight?(0,ie.createElement)(Zt.RangeControl,{className:"components-coblocks-typography-dropdown__inner--line-height",label:(0,le.__)("Line height","coblocks"),max:3,min:1,onChange:e=>t({lineHeight:e}),step:.01,value:parseFloat(c)||void 0}):null,void 0===e.textPanelLetterSpacing||void 0!==e.textPanelLetterSpacing&&void 0===e.textPanelLetterSpacing?(0,ie.createElement)(Zt.RangeControl,{className:"components-coblocks-typography-dropdown__inner--letter-spacing",label:(0,le.__)("Letter spacing","coblocks"),max:3,min:-1,onChange:e=>t({letterSpacing:e}),step:.1,value:parseFloat(i)||void 0}):null,void 0!==e.textPanelShowSpacingControls&&e.textPanelShowSpacingControls&&(0,ie.createElement)("div",{className:"components-coblocks-typography-dropdown__footer"},(0,ie.createElement)(Zt.ToggleControl,{checked:!!u,label:(0,le.__)("No top spacing","coblocks"),onChange:()=>t({noTopSpacing:!u})}),(0,ie.createElement)(Zt.ToggleControl,{checked:!!s,label:(0,le.__)("No bottom spacing","coblocks"),onChange:()=>t({noBottomSpacing:!s})})))),renderToggle:e=>{let{isOpen:t,onToggle:l}=e;return(0,ie.createElement)(Zt.ToolbarButton,{"aria-expanded":t,"aria-haspopup":"true",className:"components-dropdown-menu__toggle",icon:o,label:n,onClick:l,onKeyDown:e=>{t||e.keyCode!==xo.DOWN||(e.preventDefault(),e.stopPropagation(),l())},tooltip:n})}}))}}var Po=(0,Kt.compose)([So,(0,Kt.ifCondition)((()=>{const[e]=(0,qt.useEntityProp)("root","site","coblocks_typography_controls_enabled");return e}))])(To);class No extends ie.Component{render(){const{name:e,attributes:t}=this.props;if(!coblocksBlockData.typographyControlsEnabled)return null;let o=!1;const n=["core/paragraph","core/heading","core/cover","core/button","core/list","coblocks/row","coblocks/column","coblocks/accordion","coblocks/accordion-item","coblocks/click-to-tweet","coblocks/alert","coblocks/pricing-table","coblocks/highlight","coblocks/features"];return t.textPanelHideColor=!0,t.textPanelShowSpacingControls=!0,n.includes(e)?t.textPanelHeadingFontSizes=!0:t.textPanelHideSize=!0,n.includes(e)||(t.textPanelLineHeight=!0,t.textPanelLetterSpacing=!0),["coblocks/row","coblocks/column"].includes(e)&&(t.textPanelShowSpacingControls=!1),["coblocks/row"].includes(e)&&(t.layout||(o=!0)),o?null:(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Po,this.props))}}var Bo=No;const Oo=["fontFamily","lineHeight","letterSpacing","fontWeight","textTransform"];var Ro=function(e,t){const o=(0,Gt.pickBy)(e,((e,t)=>!!e&&Oo.includes(t)));return void 0!==e.customFontSize&&(o.fontSize=It(e.customFontSize)),void 0!==e.customTextColor&&(o.color=e.customTextColor),"coblocks/column"===t&&void 0!==e.width&&(o.width=e.width+"%"),o};(0,eo.registerPlugin)("coblocks-typography-control",{render:()=>(0,io.applyFilters)("coblocks-show-layout-selector",!0)&&(0,ie.createElement)(ao,{settingsKey:"coblocks_typography_controls_enabled",label:(0,le.__)("Typography controls","coblocks"),help:(0,le.__)("Allow block-level typography controls.","coblocks")})});const Mo=["core/paragraph","core/heading","core/pullquote","core/cover","core/quote","core/button","core/list","coblocks/row","coblocks/column","coblocks/accordion","coblocks/accordion-item","coblocks/alert","coblocks/highlight","coblocks/pricing-table","coblocks/features"],Ao=["coblocks/click-to-tweet"],Lo=(0,Kt.createHigherOrderComponent)((e=>t=>(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,t),t.isSelected&&Mo.includes(t.name)&&(0,ie.createElement)(Bo,t))),"withControls"),Io=(0,Kt.compose)((0,co.withSelect)((e=>({selected:e("core/block-editor").getSelectedBlock(),select:e})))),Do=(0,Kt.createHigherOrderComponent)((e=>Io((t=>{let{select:o,...n}=t,l=n.wrapperProps,r={};const a=o("core/block-editor").getBlock(n.clientId),c=o("core/block-editor").getBlockName(n.clientId);if(Mo.includes(c)&&null!=a&&a.attributes){const{customFontSize:e,fontFamily:t,lineHeight:o,fontWeight:n,letterSpacing:i,textTransform:s,customTextColor:u}=a.attributes;e&&(r=Object.assign(r,{"data-custom-fontsize":1})),o&&(r=Object.assign(r,{"data-custom-lineheight":1})),t&&(r=Object.assign(r,{"data-coblocks-font":1})),n&&(r=Object.assign(r,{"data-custom-fontweight":1})),s&&(r=Object.assign(r,{"data-custom-texttransform":1})),u&&(r=Object.assign(r,{"data-custom-textcolor":1})),i&&(r=Object.assign(r,{"data-custom-letterspacing":1})),l={...l,style:Ro(a.attributes,c),...r}}return(0,ie.createElement)(e,Ft({},n,{wrapperProps:l}))}))),"withFontSettings");(0,io.addFilter)("blocks.registerBlockType","coblocks/inspector/attributes",(function(e){return Mo.includes(e.name)&&(e.attributes=Object.assign(e.attributes,Eo)),e})),(0,io.addFilter)("editor.BlockEdit","coblocks/typography",Lo),(0,io.addFilter)("editor.BlockListBlock","coblocks/withFontSettings",Do),(0,io.addFilter)("blocks.getSaveContent.extraProps","coblocks/applyFontSettings",(function(e,t,o){if(Mo.includes(t.name)||Ao.includes(t.name)){void 0!==e.style?e.style=Object.assign(e.style,Ro(o,t.name)):e.style=Ro(o,t.name);const{fontFamily:n,lineHeight:l,fontWeight:r,letterSpacing:a,textTransform:c,noBottomSpacing:i,noTopSpacing:s}=o;n&&(e.className=Ut()(e.className,"has-custom-font")),r&&(e.className=Ut()(e.className,"has-custom-weight")),c&&(e.className=Ut()(e.className,"has-custom-transform")),l&&(e.className=Ut()(e.className,"has-custom-lineheight")),a&&(e.className=Ut()(e.className,"has-custom-letterspacing")),void 0!==i&&i&&(e.className=Ut()(e.className,"mb-0 pb-0")),void 0!==s&&s&&(e.className=Ut()(e.className,"mt-0 pt-0"))}return e}));const Fo=["coblocks/row","coblocks/column","coblocks/features","coblocks/feature","coblocks/media-card","coblocks/hero"],Vo=(0,Kt.createHigherOrderComponent)((e=>t=>{const{name:o}=t;if(Fo.includes(o)&&(t.attributes.coblocks=t.attributes.coblocks||{},void 0===t.attributes.coblocks.id)){const e=new Date;t.attributes.coblocks=Object.assign({},t.attributes.coblocks,{id:""+e.getMonth()+e.getDate()+e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()})}return(0,ie.createElement)(e,t)}),"withAttributes");(0,io.addFilter)("blocks.registerBlockType","coblocks/custom/attributes",(function(e){return Fo.includes(e.name)&&void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{coblocks:{type:"object"}})),e})),(0,io.addFilter)("editor.BlockEdit","coblocks/attributes",Vo);const jo=["core/image","core/gallery","core/spacer","core/cover","core/group"],Go=(0,Kt.createHigherOrderComponent)((e=>t=>{const{name:o,clientId:n,attributes:l,setAttributes:r,isSelected:a}=t,{isStackedOnMobile:c,noBottomMargin:i,noTopMargin:s}=l,u=(0,ne.hasBlockSupport)(o,"stackedOnMobile"),d=(0,ne.hasBlockSupport)(o,"coBlocksSpacing");(0,ie.useEffect)((()=>{document.getElementsByClassName("block-editor-block-list__layout is-root-container").length&&document.querySelectorAll(".block-editor-block-list__layout").forEach((e=>{e.childNodes.forEach((e=>{(e=>{if(!e.querySelector)return;const t=e.querySelector(".wp-block[data-align]"),o=(e,o)=>{t&&(t.style[e]=o)};switch(e.outerHTML.includes("data-coblocks-bottom-spacing")){case!0:e.style.marginBottom=0,o("marginBottom",0);break;case!1:e.style.marginBottom=null,o("marginBottom",null)}switch(e.outerHTML.includes("data-coblocks-top-spacing")){case!0:e.style.marginTop=0,o("marginTop",0);break;case!1:e.style.marginTop=null,o("marginTop",null)}})(e)}))}))}),[i,s]);const m=!!u||!!d;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(e,t),a&&m&&(0,ie.createElement)(Yt.InspectorAdvancedControls,null,u&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Stack on mobile","coblocks"),checked:!!c,onChange:()=>r({isStackedOnMobile:!c}),help:c?(0,le.__)("Responsiveness is enabled.","coblocks"):(0,le.__)("Toggle to stack elements on top of each other on smaller viewports.","coblocks")}),d&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Remove top spacing","coblocks"),checked:!!s,onChange:()=>r({noTopMargin:!s,marginTop:0,marginTopTablet:0,marginTopMobile:0}),help:s?(0,le.__)("Toggle to add top margin back.","coblocks"):(0,le.__)("Toggle to remove any top margin.","coblocks")}),d&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Remove bottom spacing","coblocks"),checked:!!i,onChange:()=>{r({noBottomMargin:!i,marginBottom:0,marginBottomTablet:0,marginBottomMobile:0});const e=wp.data.select("core/editor").getNextBlockClientId(n);e&&!i&&wp.data.dispatch("core/block-editor").updateBlockAttributes(e,{noTopMargin:!s,marginTop:0,marginTopTablet:0,marginTopMobile:0})},help:i?(0,le.__)("Toggle to add bottom margin back.","coblocks"):(0,le.__)("Toggle to remove any bottom margin.","coblocks")})))}),"withAdvancedControls"),$o=(0,Kt.compose)((0,co.withSelect)((e=>({selected:e("core/block-editor").getSelectedBlock(),select:e})))),Ho=(0,Kt.createHigherOrderComponent)((e=>$o((t=>{let{select:o,...n}=t,l=n.wrapperProps,r={};const a=o("core/block-editor").getBlock(n.rootClientId||n.clientId),c=o("core/block-editor").getBlockName(n.rootClientId||n.clientId),i=(0,ne.hasBlockSupport)(c,"coBlocksSpacing");let s=(0,ne.hasBlockSupport)(c,"align");if(["core/image"].includes(c)&&(s=!0),i&&null!=a&&a.attributes){const{noBottomMargin:e,noTopMargin:t}=a.attributes;void 0!==t&&t&&(r=Object.assign(r,{"data-coblocks-top-spacing":1})),void 0!==e&&e&&(r=Object.assign(r,{"data-coblocks-bottom-spacing":1}))}return s&&(r=Object.assign(r,{"data-coblocks-align-support":1})),(i||s)&&(l={...l,...r}),(0,ie.createElement)(e,Ft({},n,{wrapperProps:l}))}))),"addEditorBlockAttributes");(0,io.addFilter)("blocks.registerBlockType","coblocks/AdvancedControls/attributes",(function(e){return(0,ne.hasBlockSupport)(e,"stackedOnMobile")&&void 0!==e.attributes&&(e.attributes.isStackedOnMobile||(e.attributes=Object.assign(e.attributes,{isStackedOnMobile:{type:"boolean",default:!0}}))),jo.includes(e.name)&&(e.supports||(e.supports={}),e.supports=Object.assign(e.supports,{coBlocksSpacing:!0})),(0,ne.hasBlockSupport)(e,"coBlocksSpacing")&&void 0!==e.attributes&&(e.attributes.noBottomMargin||(e.attributes=Object.assign(e.attributes,{noBottomMargin:{type:"boolean",default:!1}})),e.attributes.noTopMargin||(e.attributes=Object.assign(e.attributes,{noTopMargin:{type:"boolean",default:!1}}))),e})),(0,io.addFilter)("editor.BlockEdit","coblocks/advanced",Go),(0,io.addFilter)("blocks.getSaveContent.extraProps","coblocks/applySpacingClass",(function(e,t,o){if((0,ne.hasBlockSupport)(t.name,"coBlocksSpacing")){const{noBottomMargin:t,noTopMargin:n}=o;void 0!==t&&t&&(e.className=Ut()(e.className,"mb-0")),void 0!==n&&n&&(e.className=Ut()(e.className,"mt-0"))}return e})),(0,io.addFilter)("editor.BlockListBlock","coblocks/addEditorBlockAttributes",Ho);const Uo=[{value:1,
18
  /* translators: abbreviation for small size */
19
  label:(0,le.__)("S","coblocks"),tooltip:(0,le.__)("Small","coblocks")},{value:2,
20
  /* translators: abbreviation for medium size */
216
  /* translators: abbreviation for extra large size */
217
  label:(0,le.__)("XL","coblocks"),tooltip:(0,le.__)("Extra Large","coblocks")}],"wide"===o?l.concat(r):"full"===o?l.concat(r).concat(a):l):"grid"!==e?n:!0===t&&"wide"===o?r.concat(l):!0===t&&"full"===o?a.concat(r).concat(l):l}render(){const{onChange:e,value:t,resetValue:o,label:n,reset:l=!0}=this.props;return(0,ie.createElement)(Zt.BaseControl,{id:"coblocks-select-size",label:n},(0,ie.createElement)(Zt.PanelRow,null,(0,ie.createElement)(Yo,{currentOption:t,options:this.getSizes(),onChange:t=>e(t)}),l&&(0,ie.createElement)(Zt.Button,{isSmall:!0,isSecondary:!0,onClick:()=>e(o)},(0,le.__)("Reset","coblocks"))))}}var pa=(0,Kt.compose)([(0,co.withSelect)((e=>({wideControlsEnabled:e("core/editor").getEditorSettings().alignWide})))])(ha),ba=[{value:1e3,label:(0,le.__)("One Second","coblocks")},{value:2e3,label:(0,le.__)("Two Seconds","coblocks")},{value:3e3,label:(0,le.__)("Three Seconds","coblocks")},{value:4e3,label:(0,le.__)("Four Seconds","coblocks")},{value:5e3,label:(0,le.__)("Five Seconds","coblocks")},{value:6e3,label:(0,le.__)("Six Seconds","coblocks")},{value:7e3,label:(0,le.__)("Seven Seconds","coblocks")},{value:8e3,label:(0,le.__)("Eight Seconds","coblocks")},{value:9e3,label:(0,le.__)("Nine Seconds","coblocks")},{value:1e4,label:(0,le.__)("Ten Seconds","coblocks")}],ga=e=>{const{attributes:t,setAttributes:o}=e,{autoPlay:n,autoPlaySpeed:l,draggable:r,freeScroll:a,pageDots:c,prevNextButtons:i,alignCells:s,pauseHover:u,thumbnails:d}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Slider settings","coblocks"),initialOpen:!1},(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Autoplay","coblocks"),checked:!!n,onChange:()=>o({autoPlay:!n}),help:t=>{const o=e.attributes.autoPlaySpeed/1e3,n=o>1?(0,le.__)("seconds","coblocks"):(0,le.__)("second","coblocks");return t?(0,le.sprintf)(
218
  /* translators: %1$d: Speed of the slider, %2$d: Time until the slide advances */
219
+ (0,le.__)("Advancing after %1$d %2$s.","coblocks"),o,n):(0,le.__)("Automatically advance to the next slide.","coblocks")}}),n&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.SelectControl,{label:(0,le.__)("Transition speed","coblocks"),value:l,onChange:e=>o({autoPlaySpeed:e}),options:ba,className:"components-coblocks-gallery-inspector__autoplayspeed-select"}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Pause on hover","coblocks"),checked:u,onChange:()=>o({pauseHover:!u}),help:e=>e?(0,le.__)("Pausing autoplay when hovering.","coblocks"):(0,le.__)("Toggle to pause autoplay when hovered.","coblocks")})),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Draggable","coblocks"),checked:!!r,onChange:()=>o({draggable:!r}),help:e=>e?(0,le.__)("Dragging and flicking enabled.","coblocks"):(0,le.__)("Toggle to enable drag functionality.","coblocks")}),r&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Free scroll","coblocks"),checked:!!a,onChange:()=>o({freeScroll:!a}),help:e=>e?(0,le.__)("Scrolling without fixed slides enabled.","coblocks"):(0,le.__)("Toggle to scroll without fixed slides.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Arrow navigation","coblocks"),checked:!!i,onChange:()=>o({prevNextButtons:!i}),help:e=>e?(0,le.__)("Showing slide navigation arrows.","coblocks"):(0,le.__)("Toggle to show slide navigation arrows.","coblocks")}),d?null:(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Dot navigation","coblocks"),checked:!!c,onChange:()=>o({pageDots:!c}),help:e=>e?(0,le.__)("Showing dot navigation.","coblocks"):(0,le.__)("Toggle to show dot navigation.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Align cells","coblocks"),checked:!!s,onChange:()=>o({alignCells:!s}),help:e=>e?(0,le.__)("Aligning slides to the left.","coblocks"):(0,le.__)("Aligning slides to the center.","coblocks")})))},fa=e=>{const[t,o]=(0,ie.useState)(null),n=t=>{e.setAttributes({height:t})},l=e=>{o(e)},{attributes:r,isSelected:a,setAttributes:c}=e,{align:i,gridSize:s,gutter:u,height:d,radius:m,thumbnails:h,responsiveHeight:p,lightbox:b}=r;return a&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Carousel settings","coblocks")},(0,ie.createElement)(pa,Ft({},e,{type:"grid",label:(0,le.__)("Size","coblocks"),onChange:t=>{e.setAttributes({gridSize:t})},value:s,resetValue:"xlrg"})),"xlrg"!==s&&("wide"===i||"full"===i)&&(0,ie.createElement)(Zr,Ft({},e,{max:20})),"xlrg"!==s&&!i&&(0,ie.createElement)(Zr,Ft({},e,{max:20})),u>0&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Rounded corners","coblocks"),value:m,onChange:t=>{e.setAttributes({radius:t})},min:0,max:20,step:1}),!p&&(0,ie.createElement)(Zt.BaseControl,{label:(0,le.__)("Height in pixels","coblocks"),className:"block-height-control",id:"gallery-carousel-height-control"},(0,ie.createElement)("input",{type:"number",className:"block-height-control__input",onChange:e=>{const t=""!==e.target.value?parseInt(e.target.value,10):void 0;if(t<0&&void 0!==t)return l(t),void n(0);l(null),n(t)},value:t||d,min:0,step:"10"})),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Lightbox","coblocks"),checked:!!b,onChange:()=>c({lightbox:!b}),help:e=>e?(0,le.__)("Image lightbox is enabled.","coblocks"):(0,le.__)("Toggle to enable the image lightbox.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Thumbnails","coblocks"),checked:!!h,onChange:()=>c({thumbnails:!h}),help:e=>e?(0,le.__)("Showing thumbnail navigation.","coblocks"):(0,le.__)("Toggle to show thumbnails.","coblocks")})),(0,ie.createElement)(ga,e)),(0,ie.createElement)(Yt.InspectorAdvancedControls,null,(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Responsive height","coblocks"),checked:!!p,onChange:()=>c({responsiveHeight:!p}),help:e=>e?(0,le.__)("Percentage based height is activated.","coblocks"):(0,le.__)("Toggle for percentage based height.","coblocks")})))},va=e=>{const{attributes:t}=e,{images:o}=t,n=!!o.length;return(0,ie.createElement)(Yt.BlockControls,null,n&&(0,ie.createElement)(Sn,e))},_a=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),ka=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})),ya=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})),wa=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),Ea=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));class xa extends ie.Component{constructor(){super(...arguments),this.onImageClick=this.onImageClick.bind(this),this.onSelectCaption=this.onSelectCaption.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.saveCustomLink=this.saveCustomLink.bind(this),this.state={captionSelected:!1,captionFocused:!1,isSaved:!1},this.container=(0,ie.createRef)()}onSelectCaption(){this.state.captionSelected||this.setState({captionSelected:!0}),this.props.isSelected||this.props.onSelect()}onImageClick(){this.props.isSelected||this.props.onSelect(),this.state.captionSelected&&this.setState({captionSelected:!1,captionFocused:!1})}onKeyDown(e){const t=this.container.current.ownerDocument;this.container===t.activeElement&&this.props.isSelected&&-1!==[xo.BACKSPACE,xo.DELETE].indexOf(e.keyCode)&&(e.stopPropagation(),e.preventDefault(),this.props.onRemove())}saveCustomLink(){this.setState({isSaved:!0})}componentDidUpdate(e){const{isSelected:t,image:o,url:n,imgLink:l}=this.props;o&&!n&&this.props.setAttributes({url:o.source_url,alt:o.alt_text}),this.state.captionSelected&&!t&&e.isSelected&&this.setState({captionSelected:!1,captionFocused:!1}),l&&!t&&e.isSelected&&this.setState({isSaved:!1})}render(){const{alt:e,caption:t,captions:o,fontSize:n,gutter:l,gutterMobile:r,id:a,isFirstItem:c,isLastItem:i,isSelected:s,linkTo:u,newClass:d,marginBottom:m,marginLeft:h,marginRight:p,marginTop:b,onMoveBackward:g,onMoveForward:f,onRemove:v,setAttributes:_,gutterUtility:k,shadow:y,supportsCaption:w,supportsMoving:E=!0,verticalMoving:x=!1,url:C,"aria-label":S,imgLink:z,imageIndex:T,replaceImage:P}=this.props,N=Ut()({[`has-shadow-${y}`]:"none"!==y||void 0!==y}),B=(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("img",{src:C,className:N,alt:e,"data-id":a,"data-imglink":z,onClick:this.onImageClick,tabIndex:"0",onKeyDown:this.onImageClick,"aria-label":S}),(0,Mt.isBlobURL)(C)&&(0,ie.createElement)(Zt.Spinner,null)),O=d||"coblocks-gallery--figure",R=Ut()(O,{"is-selected":s,"is-transient":C&&0===C.indexOf("blob:"),[`${k}`]:k,[`has-margin-top-${l}`]:b&&l>0,[`has-margin-top-mobile-${r}`]:b&&r>0,[`has-margin-right-${l}`]:p&&l>0,[`has-margin-right-mobile-${r}`]:p&&r>0,[`has-margin-bottom-${l}`]:m&&l>0,[`has-margin-bottom-mobile-${r}`]:m&&r>0,[`has-margin-left-${l}`]:h&&l>0,[`has-margin-left-mobile-${r}`]:h&&r>0}),M={fontSize:It(n)};return(0,ie.createElement)("figure",{className:R,tabIndex:"-1",onKeyDown:this.onKeyDown,ref:this.container},s&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right is-visible"},(0,ie.createElement)(Yt.MediaUploadCheck,null,(0,ie.createElement)(Yt.MediaUpload,{allowedTypes:["image"],onSelect:e=>{const t=At(e);P(T,t)},value:C,render:e=>{let{open:t}=e;return(0,ie.createElement)(Zt.Button,{className:"coblocks-gallery-item__button-replace",onClick:t,label:(0,le.__)("Replace Image","coblocks")},(0,le.__)("Replace","coblocks"))}})),(0,ie.createElement)(Zt.Button,{icon:_a,className:"coblocks-gallery-item__button",onClick:v,label:(0,le.__)("Remove image","coblocks"),disabled:!s}))),s&&(0,ie.createElement)(ie.Fragment,null,E&&(0,ie.createElement)(Zt.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-left"},(0,ie.createElement)(Zt.Button,{icon:x?ka:ya,onClick:!c&&g,className:"coblocks-gallery-item__button",label:(0,le.__)("Move image backward","coblocks"),"aria-disabled":c,disabled:!s}),(0,ie.createElement)(Zt.Button,{icon:x?wa:Ea,onClick:!i&&f,className:"coblocks-gallery-item__button",label:(0,le.__)("Move image forward","coblocks"),"aria-disabled":i,disabled:!s})),"custom"===u&&(0,ie.createElement)("form",{className:"components-coblocks-gallery-item__image-link",onSubmit:e=>e.preventDefault()},(0,ie.createElement)(Zt.Dashicon,{icon:"admin-links"}),(0,ie.createElement)(Yt.URLInput,{value:z,onChange:e=>_({imgLink:e})}),(0,ie.createElement)(Zt.Button,{icon:this.state.isSaved?"saved":"editor-break",label:this.state.isSaved?(0,le.__)("Saving","coblocks"):(0,le.__)("Apply","coblocks"),onClick:this.saveCustomLink,type:"submit"}))),B,!0!==w||Yt.RichText.isEmpty(t)&&!s||!o?null:(0,ie.createElement)(Yt.RichText,{tagName:"figcaption",placeholder:(0,le.__)("Write caption…","coblocks"),className:"coblocks-gallery--caption",style:M,value:t,isSelected:this.state.captionSelected,onChange:e=>_({caption:e}),unstableOnFocus:this.onSelectCaption,inlineToolbar:!0}))}}var Ca=(0,Kt.compose)([(0,co.withSelect)(((e,t)=>{const{getMedia:o}=e("core"),{id:n}=t;return{image:n?o(n):null}}))])(xa),Sa=e=>{const t=(e,t)=>{var o;const n=(0,Gt.find)(t,(t=>parseInt(null==t?void 0:t.id)===(null==e?void 0:e.id)));return Array.isArray(null==n?void 0:n.caption)?null==n||null===(o=n.caption)||void 0===o?void 0:o[0]:(null==n?void 0:n.caption)||(null==e?void 0:e.caption)||""},o=(e,t)=>{const o=(0,Gt.find)(t,(t=>parseInt(null==t?void 0:t.id)===(null==e?void 0:e.id)));return(null==o?void 0:o.imgLink)||(null==e?void 0:e.imgLink)||""},{attributes:n,gutter:l,isSelected:r}=e,{images:a}=n,c=!!a.length,i={marginTop:l+"px"},s=!c&&(e.variationLabel||(0,le.sprintf)(
220
  /* translators: %s: Type of gallery */
221
  (0,le.__)("%s Gallery","coblocks"),e.label));return(0,ie.createElement)("div",{style:i},(0,ie.createElement)(Yt.MediaPlaceholder,{addToGallery:c,isAppender:c,className:"coblocks-gallery--figure",disableMediaButtons:c&&!r,icon:!c&&(0,ie.createElement)(Zt.Icon,{icon:e.icon}),labels:{title:s,instructions:!c&&(0,le.__)("Drag images, upload new ones or select files from your library.","coblocks")},onSelect:n=>{const{images:l}=e.attributes;e.setAttributes({images:n.map((e=>({...At(e),caption:t(e,l),imgLink:o(e,l)})))})},accept:"image/*",allowedTypes:Lt,multiple:!0,value:c?a:void 0,onError:t=>{const{noticeOperations:o}=e;o.removeAllNotices(),o.createErrorNotice(t)}}))};const za={};za.thumbnails=(0,ie.createElement)(Zt.SVG,{fill:"none",height:"48",viewBox:"0 0 49 48",width:"49",xmlns:"http://www.w3.org/2000/SVG"},(0,ie.createElement)(Zt.G,{stroke:"currentColor"},(0,ie.createElement)(Zt.G,{fill:"currentColor"},(0,ie.createElement)(Zt.Path,{d:"m17.319 31.2656h-2.638c-.0999 0-.181.0811-.181.1811v2.6379c0 .1.0811.181.181.181h2.638c.0999 0 .181-.081.181-.181v-2.6379c0-.1-.0811-.1811-.181-.1811z"}),(0,ie.createElement)(Zt.Path,{d:"m22.3268 31.2656h-2.638c-.0999 0-.181.0811-.181.1811v2.6379c0 .1.0811.181.181.181h2.638c.1 0 .181-.081.181-.181v-2.6379c0-.1-.081-.1811-.181-.1811z"}),(0,ie.createElement)(Zt.Path,{d:"m27.319 31.2656h-2.638c-.0999 0-.181.0811-.181.1811v2.6379c0 .1.0811.181.181.181h2.638c.0999 0 .181-.081.181-.181v-2.6379c0-.1-.0811-.1811-.181-.1811z"})),(0,ie.createElement)(Zt.Path,{d:"m33.6606 14.4844h-17.6962c-.6707 0-1.2144.3917-1.2144.875v12.75c0 .4832.5437.875 1.2144.875h17.6962c.6707 0 1.2144-.3918 1.2144-.875v-12.75c0-.4833-.5437-.875-1.2144-.875z",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(Zt.Path,{d:"m15.1218 25.1989 5.3752-3.5884 4.5693 2.5772 4.7645-4.3127 5.0442 4.3127",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none"}))),za.fullAutoplay=(0,ie.createElement)(Zt.SVG,{fill:"none",height:"48",viewBox:"0 0 48 48",width:"48",xmlns:"http://www.w3.org/2000/SVG"},(0,ie.createElement)(Zt.Path,{d:"m33.1606 14.4844h-17.6962c-.6707 0-1.2144.3917-1.2144.875v12.75c0 .4832.5437.875 1.2144.875h17.6962c.6707 0 1.2144-.3918 1.2144-.875v-12.75c0-.4833-.5437-.875-1.2144-.875z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(Zt.G,{fill:"currentColor"},(0,ie.createElement)(Zt.Path,{d:"m27.9817 21.598c.0004.1797-.0449.3566-.1317.5139-.0868.1574-.2122.2901-.3645.3856l-4.9876 3.151c-.1462.0917-.3143.1426-.4868.1474s-.3432-.0368-.4943-.1203c-.151-.0835-.2769-.206-.3646-.3546-.0877-.1487-.134-.3181-.134-.4907v-6.1772c0-.2601.1033-.5096.2872-.6935s.4334-.2872.6935-.2872c.1654.0012.3276.0463.47.1305l4.9702 2.8783c.1634.0912.2997.2242.395.3852.0953.1611.1462.3445.1476.5316z"}),(0,ie.createElement)(Zt.Path,{d:"m38 27.7344c-.8284 0-1.5-.6716-1.5-1.5v-9c0-.8285.6716-1.5 1.5-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m10.5 15.7344c.8284 0 1.5.6715 1.5 1.5v9c0 .8284-.6716 1.5-1.5 1.5z"}))),za.fullScroll=(0,ie.createElement)(Zt.SVG,{fill:"none",height:"48",viewBox:"0 0 49 48",width:"49",xmlns:"http://www.w3.org/2000/SVG"},(0,ie.createElement)(Zt.G,{fill:"currentColor"},(0,ie.createElement)(Zt.Path,{d:"m28.6647 23.5531c-.3175 0-.6025.1399-.7976.3611-.1952-.2212-.4802-.3611-.7976-.3611-.2191 0-.4222.0665-.5913.1803-.1457-.4143-.5408-.712-1.0039-.712-.1936 0-.3754.0521-.5318.143v-3.0676c0-.5865-.4769-1.0635-1.0635-1.0635-.5865 0-1.0634.477-1.0634 1.0635v4.5171l-1.3751-1.0401c-.402-.402-1.1028-.4025-1.5038 0-.4147.4143-.4147 1.0896-.0053 1.4985l3.7546 3.98c.05.0538.1197.0841.193.0841h4.5198c.1218 0 .2281-.083.2579-.2016l1.0635-4.2539c.0053-.0207.008-.0425.008-.0643 0-.5865-.477-1.0635-1.0635-1.0635z"}),(0,ie.createElement)(Zt.Path,{d:"m26.0888 19.7099h2.5097l-.7583.7583c-.129.129-.129.3387 0 .4678.0642.0648.1489.0972.2336.0972s.1694-.0324.2342-.0966l1.3234-1.3227c.0304-.0311.0549-.0681.0715-.1078.0337-.0814.0337-.1721 0-.2534-.0166-.0404-.0411-.0768-.0715-.1079l-1.3234-1.3227c-.129-.129-.3387-.129-.4678 0-.129.129-.129.3388 0 .4678l.7583.7583h-2.5097c-.1826 0-.3309.1482-.3309.3308 0 .1827.1483.3309.3309.3309z"}),(0,ie.createElement)(Zt.Path,{d:"m21.577 19.0487h-2.5098l.7583-.7583c.129-.129.129-.3388 0-.4678-.0642-.0648-.1489-.0973-.2336-.0973s-.1694.0325-.2342.0966l-1.3234 1.3228c-.0305.0311-.055.0681-.0715.1078-.0337.0814-.0337.1721 0 .2535.0165.0403.041.0767.0715.1078l1.3234 1.3228c.129.129.3387.129.4678 0 .129-.1291.129-.3388 0-.4679l-.7583-.7583h2.5098c.1826 0 .3308-.1482.3308-.3308s-.1482-.3309-.3308-.3309z"})),(0,ie.createElement)(Zt.Path,{d:"m33.6606 14.4844h-17.6962c-.6707 0-1.2144.3917-1.2144.875v12.75c0 .4832.5437.875 1.2144.875h17.6962c.6707 0 1.2144-.3918 1.2144-.875v-12.75c0-.4833-.5437-.875-1.2144-.875z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,ie.createElement)(Zt.Path,{d:"m38.5 27.7344c-.8284 0-1.5-.6716-1.5-1.5v-9c0-.8285.6716-1.5 1.5-1.5z",fill:"currentColor"}),(0,ie.createElement)(Zt.Path,{d:"m11 15.7344c.8284 0 1.5.6715 1.5 1.5v9c0 .8284-.6716 1.5-1.5 1.5z",fill:"currentColor"})),za.lightbox=(0,ie.createElement)(Zt.SVG,{fill:"none",height:"48",viewBox:"0 0 48 48",width:"48",xmlns:"http://www.w3.org/2000/SVG"},(0,ie.createElement)(Zt.G,{fill:"currentColor"},(0,ie.createElement)(Zt.Path,{clipRule:"evenodd",d:"m28.6679 24.9019-1.6896-1.6896c.5232-.7721.7398-1.7116.6075-2.6349-.1324-.9232-.6041-1.764-1.3232-2.3581s-1.6338-.8987-2.5655-.8545c-.9316.0443-1.8134.4342-2.4729 1.0938-.6595.6595-1.0495 1.5412-1.0938 2.4729-.0442.9317.2605 1.8464.8545 2.5655.5941.719 1.4349 1.1908 2.3582 1.3232.9233.1323 1.8627-.0843 2.6349-.6076l1.6896 1.6897c.1326.1326.3125.2071.5001.2071s.3675-.0745.5002-.2071c.1326-.1327.2072-.3126.2072-.5002s-.0746-.3675-.2072-.5002zm-4.7939-1.2918c-.4951.0002-.9791-.1464-1.3908-.4214-.4118-.2749-.7327-.6658-.9222-1.1231-.1896-.4574-.2392-.9607-.1427-1.4462.0965-.4856.3349-.9316.685-1.2817s.7961-.5885 1.2817-.685c.4856-.0966.9889-.0469 1.4462.1426.4574.1896.8482.5105 1.1232.9222.2749.4118.4215.8958.4213 1.3909 0 .6635-.2635 1.2998-.7327 1.769-.4692.4691-1.1055.7327-1.769.7327z",fillRule:"evenodd"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 24.3594h1.5v4.03125h-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 14.4844h1.5v3.8125h-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 14.4844h1.5v3.8125h-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 14.4844h1.5v3.8125h-1.5z"}),(0,ie.createElement)(Zt.Path,{d:"m23.4844 14.4844h1.5v3.8125h-1.5z"})),(0,ie.createElement)(Zt.Path,{d:"m33.1606 14.4844h-17.6962c-.6707 0-1.2144.3917-1.2144.875v12.75c0 .4832.5437.875 1.2144.875h17.6962c.6707 0 1.2144-.3918 1.2144-.875v-12.75c0-.4833-.5437-.875-1.2144-.875z",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}));var Ta=za;const Pa=On()((e=>{if(Object.entries(e.images).length>0)return!1;const t=Ba.map((t=>!(Object.entries(t.attributes).filter((o=>{let[n]=o;return e[n]===t.attributes[n]})).length!==Object.entries(t.attributes).length)&&t.title)).filter((e=>"string"==typeof e));return t.length?t[0]:!(Object.entries(Na.attributes).filter((t=>{let[o]=t;return e[o]===Na.attributes[o]})).length!==Object.entries(Na.attributes).length)&&"skip"})),Na={attributes:{gridSize:"xlrg",radius:0,gutter:0,gutterMobile:0}},Ba=[{name:"full-thumbnails-xlrg",title:(0,le.__)("Thumbnails","coblocks"),icon:Ta.thumbnails,attributes:{thumbnails:!0,alignCells:!0,align:"full",autoPlay:!1,draggable:!1,freeScroll:!1,prevNextButtons:!1,gridSize:"xlrg",radius:0,gutter:0,gutterMobile:0,pageDots:!1},scope:["block"]},{name:"full-arrows-lrg",title:(0,le.__)("Full Autoplay","coblocks"),icon:Ta.fullAutoplay,attributes:{thumbnails:!1,alignCells:!1,align:"full",autoPlay:!0,draggable:!1,freeScroll:!1,prevNextButtons:!0,gridSize:"lrg",autoPlaySpeed:3e3},scope:["block"]},{name:"full-scroll-dots-lrg",title:(0,le.__)("Full Scroll","coblocks"),icon:Ta.fullScroll,attributes:{thumbnails:!1,alignCells:!0,align:"full",autoPlay:!0,prevNextButtons:!0,gridSize:"lrg",autoPlaySpeed:3e3,responsiveHeight:!0,pageDots:!0,freeScroll:!0,draggable:!0,pauseHover:!0},scope:["block"]},{name:"wide-lightbox-lrg",title:(0,le.__)("Lightbox","coblocks"),icon:Ta.lightbox,attributes:{thumbnails:!1,alignCells:!0,align:"wide",autoPlay:!0,prevNextButtons:!0,gridSize:"lrg",autoPlaySpeed:3e3,responsiveHeight:!0,pageDots:!1,freeScroll:!0,draggable:!1,pauseHover:!0,lightbox:!0},scope:["block"]}],Oa=e=>{const{name:t,setAttributes:o,clientId:n}=e,l=(0,co.useSelect)((e=>e("core/blocks").getBlockType(t)),[]),r=(0,co.useSelect)((e=>{var o;return null!==(o=e("core/blocks").getBlockVariations(t))&&void 0!==o?o:null}),[]);return(0,ie.createElement)(Yt.__experimentalBlockVariationPicker,{icon:Bt()(l,["icon","src"]),label:Bt()(l,["title"]),instructions:(0,le.__)("Select a carousel variation to start with.","coblocks"),variations:r,allowSkip:!0,onSelect:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Na;var t;null!=e&&e.attributes&&o({...e.attributes,navForClass:Ra(null===(t=e.attributes)||void 0===t?void 0:t.thumbnails,n)})}})},Ra=(e,t)=>e?`has-nav-${t.split("-")[0]}`:"";var Ma=(0,Kt.compose)([Zt.withNotices])((e=>{const t=Ra(e.attributes.thumbnails,e.clientId),[o,n]=(0,ie.useState)(null),[l,r]=(0,ie.useState)(!1),a=(0,Kt.usePrevious)(e.isSelected);(0,ie.useEffect)((()=>{!e.isSelected&&a&&(n(null),r(!1)),!e.isSelected&&a&&l&&r(!1)}),[a,e.isSelected,l]),(0,ie.useEffect)((()=>{e.attributes.gutter<=0&&0!==e.attributes.radius&&e.setAttributes({radius:0})}),[e.attributes.gutter]),(0,ie.useEffect)((()=>{"xlrg"===e.attributes.gridSize&&e.setAttributes({gutter:0,gutterMobile:0})}),[e.attributes.gridSize]),(0,ie.useEffect)((()=>{t!==e.attributes.navForClass&&h({navForClass:t})}),[e.attributes.navForClass,t]),(0,ie.useEffect)((()=>{e.attributes.thumbnails&&e.attributes.pageDots&&h({pageDots:!1})}),[e.attributes.thumbnails,e.attributes.pageDots]);const c=(t,o)=>{const n=[...e.attributes.images];n[t]={...o},e.setAttributes({images:n})},i=()=>{e.isSelected||e.onSelect(),l&&r(!1)},{attributes:s,className:u,isSelected:d,noticeUI:m,setAttributes:h}=e,{align:p,gridSize:b,gutter:g,gutterMobile:f,height:v,images:_,pageDots:k,prevNextButtons:y,primaryCaption:w,alignCells:E,thumbnails:x,responsiveHeight:C,lightbox:S,navForClass:z}=s,T=Pa(s),P=!!_.length;if(!P&&!T&&"skip"!==T)return(0,ie.createElement)(Oa,e);const N=!(!T||"skip"===T)&&(0,le.sprintf)(
222
  /* translators: %s: Type of gallery variation */
231
  (0,le.__)("gallery","coblocks"),
232
  /* translators: block keyword */
233
  (0,le.__)("photos","coblocks")],supports:{align:["wide","full"],html:!1,coBlocksSpacing:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"},{url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"}]}},transforms:La,edit:Ma,save:e=>{let{attributes:t,className:o}=e;const{autoPlay:n,autoPlaySpeed:l,draggable:r,freeScroll:a,gridSize:c,gutter:i,gutterMobile:s,height:u,images:d,pageDots:m,pauseHover:h,prevNextButtons:p,primaryCaption:b,alignCells:g,thumbnails:f,responsiveHeight:v,lightbox:_,navForClass:k}=t;if(d.length<=0)return;const y=Ut()(o,{"has-responsive-height":v}),w=Ut()("is-cropped",...na(t),{"has-horizontal-gutter":i>0,"has-lightbox":_}),E=Ut()("has-carousel",`has-carousel-${c}`,{"has-aligned-cells":g,[`has-margin-bottom-${i}`]:f&&i>0,[`has-margin-bottom-mobile-${s}`]:f&&s>0,[k]:f}),x={height:u?u+"px":void 0},C=Ut()("coblocks-gallery--figure",{[`has-margin-left-${i}`]:i>0,[`has-margin-left-mobile-${s}`]:s>0,[`has-margin-right-${i}`]:i>0,[`has-margin-right-mobile-${s}`]:s>0}),S={autoPlay:!(!n||!l)&&parseFloat(l),draggable:r,pageDots:m,prevNextButtons:p,wrapAround:!0,cellAlign:g?"left":"center",pauseAutoPlayOnHover:h,freeScroll:a,arrowShape:{x0:10,x1:60,y1:50,x2:65,y2:45,x3:20},thumbnails:f,responsiveHeight:v},z=Ut()("coblocks-gallery--caption","coblocks-gallery--primary-caption",{}),T=Ut()("carousel-nav",{[`has-margin-top-${i}`]:i>0,[`has-margin-top-mobile-${s}`]:s>0,[`has-negative-margin-left-${i}`]:i>0,[`has-negative-margin-left-mobile-${s}`]:s>0,[`has-negative-margin-right-${i}`]:i>0,[`has-negative-margin-right-mobile-${s}`]:s>0}),P=Ut()("coblocks--figure",{[`has-margin-left-${i}`]:i>0,[`has-margin-left-mobile-${s}`]:s>0,[`has-margin-right-${i}`]:i>0,[`has-margin-right-mobile-${s}`]:s>0}),N={asNavFor:`.${k}`,autoPlay:!1,contain:!0,cellAlign:"left",pageDots:!1,thumbnails:!1,draggable:r,prevNextButtons:!1,wrapAround:!1};return(0,ie.createElement)("div",{"aria-label":(0,le.__)("Carousel Gallery","coblocks"),className:y},(0,ie.createElement)("div",{className:w},(0,ie.createElement)("div",{className:E,style:v?void 0:x,"data-flickity":JSON.stringify(S)},d.map((e=>{const t=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,ie.createElement)("div",{key:e.id||e.url,className:"coblocks-gallery--item"},(0,ie.createElement)("figure",{className:C},t))}))),f?(0,ie.createElement)("div",{className:T,"data-flickity":JSON.stringify(N)},d.map((e=>{const t=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return(0,ie.createElement)("div",{key:e.id||e.url,className:"coblocks--item-thumbnail"},(0,ie.createElement)("figure",{className:P},t))}))):null),!Yt.RichText.isEmpty(b)&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:z,value:b}))},deprecated:ia};var ja=(0,Yt.withColors)("backgroundColor",{textColor:"color"},{buttonColor:"background-color"});const{getComputedStyle:Ga}=window,$a=(0,Zt.withFallbackStyles)(((e,t)=>{const{textColor:o,buttonColor:n,fontSize:l,customFontSize:r}=t.attributes,a=e.querySelector('[contenteditable="true"]'),c=a?Ga(a):null;return{fallbackButtonColor:n||!c?void 0:c.buttonColor,fallbackTextColor:o||!c?void 0:c.color,fallbackFontSize:l||r||!c?void 0:parseInt(c.fontSize)||void 0}}));var Ha=(0,Kt.compose)([ja,$a,(0,Yt.withFontSizes)("fontSize")])((e=>{const{buttonColor:t,fallbackButtonColor:o,fallbackTextColor:n,setButtonColor:l,setTextColor:r,textColor:a}=e;return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Text settings","coblocks"),className:"blocks-font-size"},(0,ie.createElement)(ir,e)),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:a.color,onChange:r,label:(0,le.__)("Text color","coblocks")},{value:t.color,onChange:l,label:(0,le.__)("Button Color","coblocks")}]},(0,ie.createElement)(Yt.ContrastChecker,{textColor:"#ffffff",backgroundColor:t.color,fallbackButtonColor:o,fallbackTextColor:n})))})),Ua=e=>{const{attributes:t,setAttributes:o}=e,{textAlign:n,via:l}=t;return(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.AlignmentToolbar,{onChange:e=>o({textAlign:e}),value:n}),(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)("div",{className:"wp-block-coblocks-click-to-tweet__via-wrapper"},(0,ie.createElement)("label",{"aria-label":(0,le.__)("Twitter Username","coblocks"),className:"wp-block-coblocks-click-to-tweet__via-label",htmlFor:"wp-block-coblocks-click-to-tweet__via"},(0,ie.createElement)(Zt.Icon,{icon:pe})),(0,ie.createElement)("input",{"aria-label":(0,le.__)("Twitter Username","coblocks"),className:"wp-block-coblocks-click-to-tweet__via",id:"wp-block-coblocks-click-to-tweet__via",onChange:e=>o({via:e.target.value}),placeholder:(0,le.__)("Username","coblocks"),type:"text",value:l}))))};const Wa=(0,co.withSelect)((e=>{const{getPermalink:t}=e("core/editor");return{postLink:t()}}));var qa=(0,Kt.compose)([Wa,ja,(0,Yt.withFontSizes)("fontSize")])((e=>{const{attributes:t,buttonColor:o,className:n,isSelected:l,setAttributes:r,textColor:a,fontSize:c,onReplace:i}=e,{buttonText:s,content:u,textAlign:d}=t,m=Ut()(n,{[`has-text-align-${d}`]:d});return(0,ie.createElement)(ie.Fragment,null,l&&(0,ie.createElement)(Ua,e),l&&(0,ie.createElement)(Ha,e),(0,ie.createElement)("blockquote",{className:m},(0,ie.createElement)(Yt.RichText,{tagName:"p",multiline:"false"
234
+ /* translators: the text of the click to tweet element */,placeholder:(0,le.__)("Add a quote to tweet…","coblocks"),value:u,allowedFormats:[],className:Ut()("wp-block-coblocks-click-to-tweet__text",{"has-text-color":a.color,[a.class]:a.class,[null==c?void 0:c.class]:null==c?void 0:c.class}),style:{color:a.color,fontSize:It(c)},onChange:e=>r({content:e}),onRemove:e=>{const t=0===u.length||1===u.length;!e&&t&&i([])}}),(0,ie.createElement)(Yt.RichText,{tagName:"span",multiline:"false",placeholder:(0,le.__)("Add button…","coblocks"),value:s,allowedFormats:[],className:Ut()("wp-block-coblocks-click-to-tweet__twitter-btn",{"has-button-color":o.color,[o.class]:o.class}),style:{backgroundColor:o.color},onChange:e=>r({buttonText:e})})))})),Ya=JSON.parse('{"name":"coblocks/click-to-tweet","category":"formatting","attributes":{"content":{"type":"string","source":"html","selector":"p","default":""},"textAlign":{"type":"string"},"via":{"type":"string"},"buttonText":{"type":"string","default":"Tweet"},"buttonColor":{"type":"string"},"customButtonColor":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"fontSize":{"type":"string"},"customFontSize":{"type":"string"}}}'),Ka=e=>{let{attributes:t}=e;const{buttonColor:o,buttonText:n,customButtonColor:l,customTextColor:r,content:a,customFontSize:c,fontSize:i,textColor:s,textAlign:u,via:d}=t,m=d?`&via=${d}`:"",h=`http://twitter.com/share?&text=${encodeURIComponent(a)}&url=[post_permalink]${m}`,p=(0,Yt.getColorClassName)("color",s),b=(0,Yt.getFontSizeClass)(i),g=Ut()("wp-block-coblocks-click-to-tweet__text",{"has-text-color":s||r,[b]:b,[p]:p}),f=Ut()({[`has-text-align-${u}`]:u}),v={fontSize:b?void 0:c,color:p?void 0:r},_=(0,Yt.getColorClassName)("background-color",o),k=Ut()("wp-block-coblocks-click-to-tweet__twitter-btn",{"has-button-color":o||l,[_]:_}),y={backgroundColor:_?void 0:l};return!Yt.RichText.isEmpty(a)&&(0,ie.createElement)("blockquote",{className:f},(0,ie.createElement)(Yt.RichText.Content,{tagName:"p",className:g,style:v,value:a}),(0,ie.createElement)(Yt.RichText.Content,{tagName:"a",className:k,style:y,value:n,href:h,target:"_blank",rel:"noopener noreferrer"}))};var Za={from:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;const o=(0,sl.create)({html:t});return o.text=o.text.slice(0,280),[(0,ne.createBlock)(Ya.name,{content:(0,sl.toHTMLString)({value:o})})]}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{value:t,citation:o}=e;const n=[(0,sl.create)({html:t}),(0,sl.create)({html:o})];return n[0].text=n[0].text.slice(0,280-n[1].text.length),[(0,ne.createBlock)(Ya.name,{content:(0,sl.toHTMLString)({value:n[0]})+(0,sl.toHTMLString)({value:n[1]})})]}},{type:"block",blocks:["core/quote"],transform:e=>{let{value:t,citation:o}=e;const n=[(0,sl.create)({html:t}),(0,sl.create)({html:o})];return n[0].text=n[0].text.slice(0,280-n[1].text.length),[(0,ne.createBlock)(Ya.name,{content:(0,sl.toHTMLString)({value:n[0]})+(0,sl.toHTMLString)({value:n[1]})})]}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,ne.createBlock)("core/paragraph",{content:t})}},{type:"block",blocks:["core/pullquote"],transform:e=>{let{content:t}=e;return(0,ne.createBlock)("core/pullquote",{value:`<p>${t}</p>`})}},{type:"block",blocks:["core/quote"],transform:e=>{let{content:t}=e;return(0,ne.createBlock)("core/quote",{value:`<p>${t}</p>`})}}]};const Ja=[{attributes:{...Ya.attributes,url:{type:"attribute"}},save(e){const{buttonColor:t,buttonText:o,customButtonColor:n,customTextColor:l,content:r,customFontSize:a,fontSize:c,textColor:i,textAlign:s,url:u,via:d}=e.attributes,m=d?`&via=${d}`:"",h=`http://twitter.com/share?&text=${encodeURIComponent(r)}&url=${u}${m}`,p=(0,Yt.getColorClassName)("color",i),b=(0,Yt.getFontSizeClass)(c),g=Ut()("wp-block-coblocks-click-to-tweet__text",{"has-text-color":i||l,[b]:b,[p]:p}),f=Ut()({[`has-text-align-${s}`]:s}),v={fontSize:b?void 0:a,color:p?void 0:l},_=(0,Yt.getColorClassName)("background-color",t),k=Ut()("wp-block-coblocks-click-to-tweet__twitter-btn",{"has-button-color":t||n,[_]:_}),y={backgroundColor:_?void 0:n};return!Yt.RichText.isEmpty(r)&&(0,ie.createElement)("blockquote",{className:f},(0,ie.createElement)(Yt.RichText.Content,{tagName:"p",className:g,style:v,value:r}),(0,ie.createElement)(Yt.RichText.Content,{tagName:"a",className:k,style:y,value:o,href:h,target:"_blank",rel:"noopener noreferrer"}))}},{attributes:function(e){return(0,io.addFilter)("blocks.registerBlockType","coblocks/inspector/attributes",(t=>(Ao.includes(t.name)&&(e=Object.assign(e,Eo)),t))),e}(Ya.attributes),save:Ka},{attributes:Ya.attributes,save(e){const{buttonColor:t,buttonText:o,customButtonColor:n,customTextColor:l,content:r,customFontSize:a,fontSize:c,textColor:i,textAlign:s,url:u,via:d}=e.attributes,m=d?`&via=${d}`:"",h=`http://twitter.com/share?&text=${encodeURIComponent(r)}&url=${u}${m}`,p=(0,Yt.getColorClassName)("color",i),b=(0,Yt.getFontSizeClass)(c),g=Ut()("wp-block-coblocks-click-to-tweet__text",{"has-text-color":i||l,[b]:b,[p]:p}),f={fontSize:b?void 0:a,color:p?void 0:l},v=(0,Yt.getColorClassName)("background-color",t),_=Ut()("wp-block-coblocks-click-to-tweet__twitter-btn",{"has-button-color":t||n,[v]:v}),k={backgroundColor:v?void 0:n};return!Yt.RichText.isEmpty(r)&&(0,ie.createElement)("blockquote",{style:{textAlign:s}},(0,ie.createElement)(Yt.RichText.Content,{tagName:"p",className:g,style:f,value:r}),(0,ie.createElement)(Yt.RichText.Content,{tagName:"a",className:_,style:k,value:o,href:h,target:"_blank",rel:"noopener noreferrer"}))}}];var Xa=Ja;const{name:Qa,category:ec,attributes:tc}=Ya,oc={
235
  /* translators: block name */
236
  title:(0,le.__)("Click to Tweet","coblocks"),
237
  /* translators: block description */
272
  /* translators: block style */
273
  label:(0,le.__)("Tiled","coblocks")},{name:"layered",
274
  /* translators: block style */
275
+ label:(0,le.__)("Layered","coblocks")}],supports:{align:["wide","full"],gutter:{default:"small"}},example:{attributes:{images:[{index:0,url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{index:1,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},{index:2,url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{index:3,url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"},{index:4,url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"}]}},attributes:wc,transforms:_c,edit:fc,save:e=>{let{attributes:t}=e;const{animation:o,captions:n,captionStyle:l,filter:r,images:a,lightbox:c,linkTo:i,rel:s,shadow:u,target:d}=t,m=Ut()("wp-block-coblocks-gallery-collage__figure",{[`shadow-${u}`]:u&&"none"!==u});return(0,ie.createElement)(rc,t,(0,ie.createElement)("div",{"aria-label":(0,le.__)("Collage Gallery","coblocks"),className:Ut()({[`has-filter-${r}`]:"none"!==r,[`has-caption-style-${l}`]:n&&void 0!==l,"has-lightbox":c})},(0,ie.createElement)("ul",null,a.sort(((e,t)=>parseInt(e.index)-parseInt(t.index))).filter((e=>parseInt(e.index)<(["is-style-tiled","is-style-layered"].includes(t.className)?4:5))).map(((e,t)=>{let l;switch(i){case"media":l=e.url;break;case"attachment":l=e.link}e.imgLink&&(l=e.imgLink);const r=Ut()("wp-block-coblocks-gallery-collage__item",`item-${t+1}`,{"coblocks-animate":o}),a=Ut()(e.id&&[`wp-image-${e.id}`]),c=void 0===e.url?null:(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-index":e.index,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:a});return(0,ie.createElement)("li",{key:`image-${t}`,className:r,"data-coblocks-animation":o},c&&(0,ie.createElement)("figure",{className:m},l?(0,ie.createElement)("a",{href:l,target:d,rel:s},c):c,n&&e.caption&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:"wp-block-coblocks-gallery-collage__caption",value:e.caption})))})))))},deprecated:cc};var xc=JSON.parse('{"name":"coblocks/column","category":"layout","attributes":{"width":{"type":"string"},"contentAlign":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"verticalAlignment":{"type":"string"}}}'),Cc={paddingTop:{type:"number"},paddingRight:{type:"number"},paddingBottom:{type:"number"},paddingLeft:{type:"number"},paddingTopTablet:{type:"number"},paddingRightTablet:{type:"number"},paddingBottomTablet:{type:"number"},paddingLeftTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRightMobile:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeftMobile:{type:"number"},paddingUnit:{type:"string",default:"px"},paddingSize:{type:"string",default:"no"},paddingSyncUnits:{type:"boolean",default:!1},paddingSyncUnitsTablet:{type:"boolean",default:!0},paddingSyncUnitsMobile:{type:"boolean",default:!0},marginTop:{type:"number"},marginRight:{type:"number"},marginBottom:{type:"number"},marginLeft:{type:"number"},marginTopTablet:{type:"number"},marginRightTablet:{type:"number"},marginBottomTablet:{type:"number"},marginLeftTablet:{type:"number"},marginTopMobile:{type:"number"},marginRightMobile:{type:"number"},marginBottomMobile:{type:"number"},marginLeftMobile:{type:"number"},marginUnit:{type:"string",default:"px"},marginSize:{type:"string",default:"no"},marginSyncUnits:{type:"boolean",default:!1},marginSyncUnitsTablet:{type:"boolean",default:!1},marginSyncUnitsMobile:{type:"boolean",default:!1},hasMarginControl:{type:"boolean",default:!0},hasAlignmentControls:{type:"boolean",default:!0},hasStackedControl:{type:"boolean",default:!0}};const Sc=[{attributes:xc.attributes,save(e){let{attributes:t}=e;const{id:o,coblocks:n,backgroundType:l,backgroundColor:r,backgroundImg:a,customBackgroundColor:c,textColor:i,customTextColor:s,marginSize:u,paddingSize:d,contentAlign:m}=t,h=(0,Yt.getColorClassName)("color",i),p=(0,Yt.getColorClassName)("background-color",r);let b={[`coblocks-row--${o}`]:o,"has-text-color":i||s,[h]:h};n&&void 0!==n.id&&(b=Object.assign(b,[`coblocks-row-${n.id}`]));const g=Ut()(b),f=Ut()("wp-block-coblocks-column__inner",...Vr(t),{"has-padding":d&&"no"!==d,"has-margin":u&&"no"!==u,[`has-${d}-padding`]:d&&"advanced"!==d,[`has-${u}-margin`]:u&&"advanced"!==u}),v={color:h?void 0:s,textAlign:m||null},_={backgroundColor:p?void 0:c,backgroundImage:a&&"image"===l?`url(${a})`:void 0};return(0,ie.createElement)("div",{className:g,style:v},Qr(t),(0,ie.createElement)("div",{className:f,style:_},(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}},{attributes:{...Fr,...Cc,...xc.attributes},save(e){let{attributes:t}=e;const{coblocks:o,textColor:n,customTextColor:l,marginSize:r,paddingSize:a,contentAlign:c}=t,i=(0,Yt.getColorClassName)("color",n);let s="";o&&void 0!==o.id&&(s=Ut()(s,`coblocks-column-${o.id}`));const u=Ut()("wp-block-coblocks-column__inner",...Vr(t),{"has-padding":a&&"no"!==a,"has-margin":r&&"no"!==r,[`has-${a}-padding`]:a&&"advanced"!==a,[`has-${r}-margin`]:r&&"advanced"!==r}),d={textAlign:c||null},m={...Hr(t),color:i?void 0:l};return(0,ie.createElement)("div",{className:s,style:d},(0,ie.createElement)("div",{className:u,style:m},Qr(t),(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}}];var zc=Sc,Tc=(0,Yt.withColors)("backgroundColor",{textColor:"color"}),Pc=o(5161),Nc=o.n(Pc);const Bc=[{name:(0,le.__)("None","coblocks"),size:0,slug:"no"},{name:(0,le.__)("Small","coblocks"),size:14,slug:"small"},{name:(0,le.__)("Medium","coblocks"),size:24,slug:"medium"},{name:(0,le.__)("Large","coblocks"),size:34,slug:"large"},{name:(0,le.__)("Huge","coblocks"),size:60,slug:"huge"}];class Oc extends ie.Component{constructor(){super(...arguments),this.getSelectValuesFromUtilitySizes=this.getSelectValuesFromUtilitySizes.bind(this),this.getCurrentSelectValue=this.getCurrentSelectValue.bind(this),this.setCurrentSelectValue=this.setCurrentSelectValue.bind(this),this.onChangeValue=this.onChangeValue.bind(this),this.getSelectOptions=this.getSelectOptions.bind(this)}getSelectValuesFromUtilitySizes(e,t){let o;if("string"==typeof t)return o=e.find((e=>e.slug===t)),o?o.slug:"custom"}getCurrentSelectValue(e){const{paddingSize:t,marginSize:o}=this.props;switch(e){case"margin":return o;case"padding":return t}}setCurrentSelectValue(e){const{type:t,setAttributes:o}=this.props;switch(t){case"margin":o({marginSize:e});break;case"padding":o({paddingSize:e})}}onChangeValue(e){const t=Bc.find((t=>t.slug===e));t&&this.setCurrentSelectValue(this.getSelectValuesFromUtilitySizes(Bc,t.slug))}getSelectOptions(e){return[...e.map((e=>({value:e.slug,label:e.name})))]}render(){const{type:e}=this.props;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.SelectControl,{className:"components-font-size-picker__select",label:`Choose ${e} preset`,hideLabelFromVision:!0,value:this.getCurrentSelectValue(e),onChange:this.onChangeValue,options:this.getSelectOptions(Bc)}))}}const Rc=["Top","Right","Bottom","Left"],Mc={margin:{top:(0,le.__)("Margin top","coblocks"),right:(0,le.__)("Margin right","coblocks"),bottom:(0,le.__)("Margin bottom","coblocks"),left:(0,le.__)("Margin left","coblocks")},padding:{top:(0,le.__)("Padding top","coblocks"),right:(0,le.__)("Padding right","coblocks"),bottom:(0,le.__)("Padding bottom","coblocks"),left:(0,le.__)("Padding left","coblocks")}};var Ac=(0,Kt.withInstanceId)((e=>{const{attributes:t,clientId:o,dimensionSize:n,help:l,instanceId:r,label:a=(0,le.__)("Margin","coblocks"),setAttributes:c,type:i="margin",unit:s}=e,{coblocks:u,marginSize:d,paddingSize:m,saveCoBlocksMeta:h}=t,{updateBlockAttributes:p}=(0,co.useDispatch)("core/block-editor"),b=(e,t)=>void 0!==e?`${e}${t}`:null,g=(e,t)=>{if(void 0!==e)return`${t}: ${e} !important`},f=()=>{const t=wp.data.select("core/editor").getEditedPostAttribute("meta"),l=wp.data.select("core/block-editor").getBlock(o);let r={};if(void 0!==u&&void 0!==u.id){const o=e.name.split("/").join("-")+"-"+u.id,a=l.attributes.paddingUnit,c=l.attributes.marginUnit,s={paddingTop:b(l.attributes.paddingTop,a),paddingRight:b(l.attributes.paddingRight,a),paddingBottom:b(l.attributes.paddingBottom,a),paddingLeft:b(l.attributes.paddingLeft,a),paddingTopTablet:b(l.attributes.paddingTopTablet,a),paddingRightTablet:b(l.attributes.paddingRightTablet,a),paddingBottomTablet:b(l.attributes.paddingBottomTablet,a),paddingLeftTablet:b(l.attributes.paddingLeftTablet,a),paddingTopMobile:b(l.attributes.paddingTopMobile,a),paddingRightMobile:b(l.attributes.paddingRightMobile,a),paddingBottomMobile:b(l.attributes.paddingBottomMobile,a),paddingLeftMobile:b(l.attributes.paddingLeftMobile,a)},d={marginTop:b(l.attributes.marginTop,c),marginRight:b(l.attributes.marginRight,c),marginBottom:b(l.attributes.marginBottom,c),marginLeft:b(l.attributes.marginLeft,c),marginTopTablet:b(l.attributes.marginTopTablet,c),marginRightTablet:b(l.attributes.marginRightTablet,c),marginBottomTablet:b(l.attributes.marginBottomTablet,c),marginLeftTablet:b(l.attributes.marginLeftTablet,c),marginTopMobile:b(l.attributes.marginTopMobile,c),marginRightMobile:b(l.attributes.marginRightMobile,c),marginBottomMobile:b(l.attributes.marginBottomMobile,c),marginLeftMobile:b(l.attributes.marginLeftMobile,c)};r=void 0===t||void 0===t._coblocks_dimensions||void 0!==t._coblocks_dimensions&&""===t._coblocks_dimensions?{}:JSON.parse(t._coblocks_dimensions),void 0===r[o]?(r[o]={},r[o][i]={}):void 0===r[o][i]&&(r[o][i]={}),r[o][i]="advanced"===n?"padding"===i?s:d:{},wp.data.dispatch("core/editor").editPost({meta:{_coblocks_dimensions:JSON.stringify(r)}});const m=document.head||document.getElementsByTagName("head")[0],h=document.createElement("style");h.type="text/css";const p=`\n\t\t\t\t@media only screen and (max-width: 768px) {\n\t\t\t\t\t.${o} > div {\n\t\t\t\t\t\t${g(s.paddingTopTablet,"padding-top")}\n\t\t\t\t\t\t${g(s.paddingRightTablet,"padding-right")}\n\t\t\t\t\t\t${g(s.paddingBottomTablet,"padding-bottom")}\n\t\t\t\t\t\t${g(s.paddingLeftTablet,"padding-left")}\n\t\t\t\t\t\t${g(d.marginTopTablet,"margin-top")}\n\t\t\t\t\t\t${g(d.marginRightTablet,"margin-right")}\n\t\t\t\t\t\t${g(d.marginBottomTablet,"margin-bottom")}\n\t\t\t\t\t\t${g(d.marginLeftTablet,"margin-left")}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@media only screen and (max-width: 514px) {\n\t\t\t\t\t.${o} > div {\n\t\t\t\t\t\t${g(s.paddingTopMobile,"padding-top")}\n\t\t\t\t\t\t${g(s.paddingRightMobile,"padding-right")}\n\t\t\t\t\t\t${g(s.paddingBottomMobile,"padding-bottom")}\n\t\t\t\t\t\t${g(s.paddingLeftMobile,"padding-left")}\n\t\t\t\t\t\t${g(d.marginTopMobile,"margin-top")}\n\t\t\t\t\t\t${g(d.marginRightMobile,"margin-right")}\n\t\t\t\t\t\t${g(d.marginBottomMobile,"margin-bottom")}\n\t\t\t\t\t\t${g(d.marginLeftMobile,"margin-left")}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t`;h.styleSheet?h.styleSheet.cssText=p:h.appendChild(document.createTextNode(p)),m.appendChild(h)}};h&&(f(),p(o,{saveCoBlocksMeta:!1}));const v=(t,o)=>{["coblocks/hero"].includes(e.name)&&"no"===t&&(o<0?(t="huge",o=60):o=-1),"padding"===i&&c({paddingSyncUnits:!0}),c({[`${i}Size`]:t}),o&&c({[`${i}Top`]:o=o<0?"":o,[`${i}Right`]:0,[`${i}Bottom`]:o,[`${i}Left`]:0,[`${i}Unit`]:"px"}),f()},_=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const o=[e["valueTop"+t],e["valueRight"+t],e["valueBottom"+t],e["valueLeft"+t]],n=Math.max.apply(null,o);c({[`${i}SyncUnits${t}`]:!e[`syncUnits${t}`],[`${i}Top${t}`]:n,[`${i}Right${t}`]:n,[`${i}Bottom${t}`]:n,[`${i}Left${t}`]:n}),f()},k=Ut()("components-base-control","components-coblocks-dimensions-control",{}),y=`inspector-coblocks-dimensions-control-${r}`,w=(t,o)=>{const n=""===t.target.value?void 0:Number(t.target.value);let l="";void 0!==t.target.getAttribute("data-device-type")&&void 0!==t.target.getAttribute("data-device-type")&&(l=t.target.getAttribute("data-device-type")),e["syncUnits"+l]?((e,t)=>{c({[`${i}Top${t}`]:e,[`${i}Right${t}`]:e,[`${i}Bottom${t}`]:e,[`${i}Left${t}`]:e}),f()})(n,l):((e,t,o)=>{c({[`${i}${o}${t}`]:e}),f()})(n,l,o)},E=[{
276
  /* translators: a unit of size (px) for css markup */
277
  name:(0,le.__)("Pixel","coblocks"),unitValue:"px"},{
278
  /* translators: a unit of size (em) for css markup */
282
  /* translators: a unit of size (vh) for css markup */
283
  name:(0,le.__)("Viewport height","coblocks"),unitValue:"vh"},{
284
  /* translators: a unit of size for css markup */
285
+ name:(0,le.__)("Percentage","coblocks"),unitValue:"%"}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:k},"advanced"===n?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__header"},a&&(0,ie.createElement)("p",{className:"components-coblocks-dimensions-control__label"},a),(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__actions"},(0,ie.createElement)(Zt.ButtonGroup,{className:"components-coblocks-dimensions-control__units","aria-label":(0,le.__)("Select Units","coblocks")},Nc()(E,(e=>{let{unitValue:t,name:o}=e;return(0,ie.createElement)(Zt.Tooltip,{key:`coblocks-dimensions-control-unit-tooltip-${o}`,text:(0,le.sprintf)(
286
  /* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */
287
  (0,le.__)("%s units","coblocks"),o)},(0,ie.createElement)(Zt.Button,{key:t,className:"components-coblocks-dimensions-control__units--"+o,isSmall:!0,isPrimary:s===t,isSecondary:s!==t,"aria-pressed":s===t,"aria-label":(0,le.sprintf)(
288
  /* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */
289
  (0,le.__)("%s units","coblocks"),o),onClick:()=>(c({[`${i}Unit`]:t}),void f())},t))}))),(0,ie.createElement)(Zt.Button,{type:"button",onClick:()=>v("no",-1),isSmall:!0,isSecondary:!0,"aria-label":(0,le.sprintf)(
290
  /* translators: %s: a texual label */
291
+ (0,le.__)("Turn off advanced %s settings","coblocks"),a.toLowerCase())},(0,le.__)("Reset","coblocks")))),(0,ie.createElement)(Zt.TabPanel,{className:"components-coblocks-dimensions-control__mobile-controls",activeClass:"is-active",initialTabName:"default",onSelect:e=>{let t="desktop";switch(e){case"desktop":t="tablet";break;case"tablet":t="mobile";break;case"mobile":t="desktop"}const o=document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item--${i}`);for(let e=0;e<o.length;e++)o[e].style.display="none";"default"===e?document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item-${i}--tablet`)[0].click():document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item-${i}--${t}`)[0].style.display="block"},tabs:[{name:"default",title:_e,className:`components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${i} components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--default components-coblocks-dimensions-control__mobile-controls-item-${i}--default`},{name:"desktop",title:_e,className:`components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${i} components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--desktop components-coblocks-dimensions-control__mobile-controls-item-${i}--desktop`},{name:"tablet",title:xt,className:`components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${i} components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--tablet components-coblocks-dimensions-control__mobile-controls-item-${i}--tablet`},{name:"mobile",title:it,className:`components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${i} components-button is-button is-default is-secondary components-coblocks-dimensions-control__mobile-controls-item--mobile components-coblocks-dimensions-control__mobile-controls-item-${i}--mobile`}]},(t=>{return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const o=e[`syncUnits${t}`];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__inputs"},Rc.map((o=>(0,ie.createElement)("input",{key:`coblocks-dimensions-control-number-${t}-${o}`,className:"components-coblocks-dimensions-control__number",type:"number",onChange:e=>w(e,o),"aria-label":Mc[i][o.toLowerCase()],"aria-describedby":l?y+"__help":void 0,value:e[`value${o}${t}`],min:"padding"===i?0:void 0,"data-device-type":t}))),(0,ie.createElement)(Zt.Tooltip,{text:o?(0,le.__)("Unsync","coblocks"):(0,le.__)("Sync","coblocks")},(0,ie.createElement)(Zt.Button,{className:"components-coblocks-dimensions-control_sync","aria-label":(0,le.__)("Sync units","coblocks"),isPrimary:!!o,isSecondary:!o,"aria-pressed":!!o,onClick:()=>_(t),"data-device-type":t,isSmall:!0},Et))))}(["default","desktop"].includes(t.name)?"":(o=t.name)&&o[0].toUpperCase()+o.slice(1)||"");var o})),(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__input-labels"},(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},(0,le.__)("Top","coblocks")),(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},(0,le.__)("Right","coblocks")),(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},(0,le.__)("Bottom","coblocks")),(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label"},(0,le.__)("Left","coblocks")),(0,ie.createElement)("span",{className:"components-coblocks-dimensions-control__number-label-blank"}))):(0,ie.createElement)(Zt.BaseControl,{id:"textarea-1",label:a,help:l},(0,ie.createElement)("div",{className:"components-font-size-picker__controls"},(0,ie.createElement)(Oc,{type:i,setAttributes:c,paddingSize:m,marginSize:d}),(0,ie.createElement)(Zt.Button,{type:"button",onClick:()=>v("advanced",""),isSmall:!0,isSecondary:!0,"aria-label":(0,le.sprintf)(
292
  /* translators: %s: a texual label */
293
+ (0,le.__)("Advanced %s settings","coblocks"),a.toLowerCase()),isPrimary:"advanced"===n},(0,le.__)("Advanced","coblocks"))))))}));const{getComputedStyle:Lc}=window,Ic=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?Lc(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var Dc=(0,Kt.compose)([Tc,Ic])((e=>{const{clientId:t,attributes:o,setAttributes:n,backgroundColor:l,setBackgroundColor:r,setTextColor:a,textColor:c,nextBlockClient:i,nextBlockClientId:s,lastId:u,updateBlockAttributes:d}=e,{width:m,marginTop:h,marginRight:p,marginBottom:b,marginLeft:g,marginTopTablet:f,marginRightTablet:v,marginBottomTablet:_,marginLeftTablet:k,marginTopMobile:y,marginRightMobile:w,marginBottomMobile:E,marginLeftMobile:x,marginUnit:C,marginSyncUnits:S,marginSyncUnitsTablet:z,marginSyncUnitsMobile:T,marginSize:P,paddingTop:N,paddingRight:B,paddingBottom:O,paddingLeft:R,paddingTopTablet:M,paddingRightTablet:A,paddingBottomTablet:L,paddingLeftTablet:I,paddingTopMobile:D,paddingRightMobile:F,paddingBottomMobile:V,paddingLeftMobile:j,paddingUnit:G,paddingSyncUnits:$,paddingSyncUnitsTablet:H,paddingSyncUnitsMobile:U,paddingSize:W}=o;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Column settings","coblocks"),className:"components-panel__body--column-settings"},(0,ie.createElement)(Ac,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),help:(0,le.__)("Space inside of the container.","coblocks"),valueTop:N,valueRight:B,valueBottom:O,valueLeft:R,valueTopTablet:M,valueRightTablet:A,valueBottomTablet:L,valueLeftTablet:I,valueTopMobile:D,valueRightMobile:F,valueBottomMobile:V,valueLeftMobile:j,unit:G,syncUnits:$,syncUnitsTablet:H,syncUnitsMobile:U,dimensionSize:W})),(0,ie.createElement)(Ac,Ft({},e,{type:"margin",label:(0,le.__)("Margin","coblocks"),help:(0,le.__)("Space around the container.","coblocks"),valueTop:h,valueRight:p,valueBottom:b,valueLeft:g,valueTopTablet:f,valueRightTablet:v,valueBottomTablet:_,valueLeftTablet:k,valueTopMobile:y,valueRightMobile:w,valueBottomMobile:E,valueLeftMobile:x,unit:C,syncUnits:S,syncUnitsTablet:z,syncUnitsMobile:T,dimensionSize:P})),u!==t?(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Width","coblocks"),value:parseFloat(m),onChange:e=>(e=>{const t=parseFloat(m)-e,o=parseFloat(i.attributes.width)+t;o>9&&(n({width:parseFloat(e).toFixed(2)}),d(s,{width:parseFloat(o).toFixed(2)}))})(e),min:10,max:100,step:.01}):null),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:l.color,onChange:r,label:(0,le.__)("Background color","coblocks")},{value:c.color,onChange:a,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasOverlay:!0}))))})),Fc=e=>{const{attributes:t,setAttributes:o,clientId:n,updateBlockAttributes:l,getBlockRootClientId:r}=e,{contentAlign:a,verticalAlignment:c}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.AlignmentToolbar,{value:a,onChange:e=>o({contentAlign:e})}),(0,ie.createElement)(Yt.BlockVerticalAlignmentToolbar,{onChange:e=>{const t=r(n);l(t,{verticalAlignment:null}),o({verticalAlignment:e})},value:c}),jr(e)))};const Vc=(0,co.withSelect)(((e,t)=>{let{clientId:o}=t;const{getBlock:n,getBlockRootClientId:l,getNextBlockClientId:r,getPreviousBlockClientId:a,getBlocksByClientId:c}=e("core/block-editor"),i=l(o),s=n(o),u=r(o)||a(o),d=n(u),m=c(i),h="undefined"!==m[0].innerBlocks?m[0].innerBlocks[m[0].innerBlocks.length-1].clientId:o;return{hasInnerBlocks:!(!s||!s.innerBlocks.length),parentId:i,nextBlockClient:d,nextBlockClientId:u,getBlockRootClientId:l,lastId:h,parentBlocks:m}})),jc=(0,co.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/block-editor");return{updateBlockAttributes:t}}));var Gc=(0,Kt.compose)([Tc,Vc,jc])((e=>{const[t,o]=(0,ie.useState)(0),[n]=(0,ie.useState)(0),[l]=(0,ie.useState)(999999999),[r,a]=(0,ie.useState)(!1),{columnBlocks:c,attributes:i,className:s,isSelected:u,setAttributes:d,backgroundColor:m,textColor:h,hasInnerBlocks:p,parentId:b,nextBlockClient:g,nextBlockClientId:f,updateBlockAttributes:v,clientId:_}=e,{coblocks:k,backgroundImg:y,width:w,paddingTop:E,paddingRight:x,paddingBottom:C,paddingLeft:S,marginTop:z,marginRight:T,marginBottom:P,marginLeft:N,paddingUnit:B,marginUnit:O,marginSize:R,paddingSize:M,contentAlign:A,verticalAlignment:L}=i,I=(0,ie.createElement)($r,Ft({},e,{label:(0,le.__)("Add background to column","coblocks")}));let D=Ut()("wp-block-coblocks-column",{"wp-block-coblocks-column-placeholder":c&&c.innerBlocks&&Object.keys(c.innerBlocks).length<1},{[`has-text-align-${A}`]:A,[`is-vertically-aligned-${L}`]:L});k&&void 0!==k.id&&(D=Ut()(D,`coblocks-column-${k.id}`));const F=Ut()("wp-block-coblocks-column__inner",...Vr(i),{"has-text-color":h.color,"has-padding":M&&"no"!==M,"has-margin":R&&"no"!==R,[`has-${M}-padding`]:M&&"advanced"!==M,[`has-${R}-margin`]:R&&"advanced"!==R}),V={...Hr(i),backgroundColor:m.color,color:h.color,paddingTop:"advanced"===M&&E?E+B:void 0,paddingRight:"advanced"===M&&x?x+B:void 0,paddingBottom:"advanced"===M&&C?C+B:void 0,paddingLeft:"advanced"===M&&S?S+B:void 0,marginTop:"advanced"===R&&z?z+O:void 0,marginRight:"advanced"===R&&T?T+O:void 0,marginBottom:"advanced"===R&&P?P+O:void 0,marginLeft:"advanced"===R&&N?N+O:void 0};return 100===parseInt(w)?(0,ie.createElement)(ie.Fragment,null,I,u&&(0,ie.createElement)(Fc,e),u&&(0,ie.createElement)(Dc,e),(0,ie.createElement)("div",{className:D,style:{backgroundColor:m.color,backgroundImage:y?`url(${y})`:void 0,color:h.color}},(0,ie.createElement)("div",{className:"wp-block-coblocks-column"},(0,ie.createElement)("div",{className:F,style:V},Qr(i),(0,ie.createElement)(Yt.InnerBlocks,{templateLock:!1,renderAppender:!p&&Yt.InnerBlocks.ButtonBlockAppender}))))):(0,ie.createElement)(ie.Fragment,null,I,u&&(0,ie.createElement)(Fc,e),u&&(0,ie.createElement)(Dc,e),(0,ie.createElement)("span",{className:Ut()("coblocks-resizeable-width",{"is-resizing":r})},u&&n>0?parseFloat(n).toFixed(1):parseFloat(w).toFixed(1),"%"),(0,ie.createElement)(Zt.ResizableBox,{className:Ut()(s,{"is-selected-column":u,"is-resizing":r}),maxWidth:l,minHeight:"20",enable:{top:!1,right:!0,bottom:!1,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:()=>{document.getElementById("block-"+_).classList.remove("is-resizing"),document.getElementById("block-"+b).classList.remove("is-resizing"),a(!1)},onResize:(e,o,n,l)=>{const r=document.getElementById("block-"+b).getElementsByClassName("wp-block-coblocks-row__inner")[0].getBoundingClientRect(),a=(t+l.width)/r.width*100,c=parseFloat(w)-a,i=parseFloat(g.attributes.width)+c;document.getElementById("block-"+b).classList.add("is-resizing"),document.getElementById("block-"+_).getElementsByClassName("wp-block-coblocks-column")[0].style.width="auto",i>10&&a>10&&(v(f,{width:parseFloat(i).toFixed(2)}),d({width:parseFloat(a).toFixed(2)}))},onResizeStart:()=>{const e=document.getElementById("block-"+_),t=e.getBoundingClientRect();e.classList.add("is-resizing"),document.getElementById("block-"+b).classList.add("is-resizing"),o(t.width),a(!0)},showHandle:u},(0,ie.createElement)("div",{className:D,style:{color:h.color}},(0,Mt.isBlobURL)(y)&&(0,ie.createElement)(Zt.Spinner,null),Qr(i),(0,ie.createElement)("div",{className:F,style:V},(0,ie.createElement)(Yt.InnerBlocks,{templateLock:!1,renderAppender:!p&&Yt.InnerBlocks.ButtonBlockAppender})))))}));const{name:$c,category:Hc}=xc,Uc={...Cc,...Fr,...xc.attributes},Wc={
294
  /* translators: block name */
295
  title:(0,le.__)("Column","coblocks"),
296
  /* translators: block description */
297
+ description:(0,le.__)("An immediate child of a row.","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:ve}),parent:["coblocks/row"],supports:{inserter:!1},attributes:Uc,edit:Gc,getEditWrapperProps(e){const{paddingSize:t}=e;if("advanced"!==t&&"no"===t)return{"data-background-dropzone":!1}},save:e=>{let{attributes:t}=e;const{coblocks:o,textColor:n,customTextColor:l,marginSize:r,paddingSize:a,contentAlign:c,verticalAlignment:i}=t,s=(0,Yt.getColorClassName)("color",n);let u=Ut()({[`has-text-align-${c}`]:c,[`is-vertically-aligned-${i}`]:i});o&&void 0!==o.id&&(u=Ut()(u,`coblocks-column-${o.id}`));const d=Ut()("wp-block-coblocks-column__inner",...Vr(t),{"has-text-color":n||l,[s]:s,"has-padding":a&&"no"!==a,"has-margin":r&&"no"!==r,[`has-${a}-padding`]:a&&"advanced"!==a,[`has-${r}-margin`]:r&&"advanced"!==r}),m={...Hr(t),color:s?void 0:l};return(0,ie.createElement)("div",{className:u},(0,ie.createElement)("div",{className:d,style:m},Qr(t),(0,ie.createElement)(Yt.InnerBlocks.Content,null)))},deprecated:zc};var qc=(0,ie.createElement)(se.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(se.Path,{d:"M20.2 7v4H3.8V7H2.2v9h1.6v-3.5h16.4V16h1.6V7z"})),Yc=JSON.parse('{"name":"coblocks/dynamic-separator","category":"layout","attributes":{"height":{"type":"number","default":50},"color":{"type":"string"},"customColor":{"type":"string"}}}');const Kc=[{attributes:{...Yc.attributes},save(e){let{attributes:t,className:o}=e;const{color:n,customColor:l,height:r}=t,a=(0,Yt.getColorClassName)("color",n),c=Ut()(o,{"has-text-color":n||l,[a]:a}),i={color:a?void 0:l,height:r?r+"px":void 0};return(0,ie.createElement)("hr",{className:c,style:i})}}];var Zc=Kc,Jc=(0,Yt.withColors)({color:"color"}),Xc=(0,Kt.compose)([Jc])((e=>{const{attributes:{height:t},setAttributes:o,setColor:n,color:l,clientId:r}=e;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody
298
  /* translators: hr is html markup (horizonal rule) */,{title:(0,le.__)("Dynamic HR settings","coblocks")},(0,ie.createElement)(Zt.BaseControl,{id:`height-control-${r}`,label:(0,le.__)("Height in pixels","coblocks")},(0,ie.createElement)("input",{type:"number",onChange:e=>{o({height:parseInt(e.target.value,10)})},"aria-label":(0,le.__)("Height for the dynamic separator element in pixels.","coblocks"),value:t,min:"20",step:"10"}))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:l.color,onChange:n,label:(0,le.__)("Background color","coblocks")}]})))})),Qc=(0,Kt.compose)([Jc])((e=>{const{attributes:{height:t},className:o,isSelected:n,setAttributes:l,color:r}=e;return(0,ie.createElement)(ie.Fragment,null,n&&(0,ie.createElement)(Xc,e),(0,ie.createElement)(Zt.ResizableBox,{className:Ut()(o,{"is-selected":n,"has-background":r.color,[r.class]:r.class}),style:{color:r.color},size:{height:t},minHeight:"20",enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:(e,o,n,r)=>{const a=parseInt(t+r.height,10);l({height:a})},showHandle:n}))})),ei={from:[{type:"block",blocks:["core/spacer"],transform:e=>{let{height:t}=e;return(0,ne.createBlock)(Yc.name,{height:t})}},{type:"block",blocks:["core/separator"],transform:()=>(0,ne.createBlock)(Yc.name)}],to:[{type:"block",blocks:["core/spacer"],transform:e=>{let{height:t}=e;return(0,ne.createBlock)("core/spacer",{height:t})}},{type:"block",blocks:["core/separator"],transform:()=>(0,ne.createBlock)("core/separator")}]};const{name:ti,category:oi,attributes:ni}=Yc,li={
299
  /* translators: block name */
300
  title:(0,le.__)("Dynamic HR","coblocks"),
315
  /* translators: block keyword */
316
  (0,le.__)("date","coblocks")],supports:{align:["wide","full"]},example:ki,transforms:wi,edit:e=>{const{className:t,attributes:o,setAttributes:n,clientId:l}=e,{insertBlock:r}=(0,co.useDispatch)("core/block-editor"),{innerBlocks:a}=(0,co.useSelect)((e=>({innerBlocks:e("core/block-editor").getBlocks(l)})));let c=(0,ie.useRef)(null),i=(0,ie.useRef)(null),s=(0,ie.useRef)(null);const u=o.externalCalendarUrl,[d,m]=(0,ie.useState)(!1),[h,p]=(0,ie.useState)(!!u||!1),[b,g]=(0,ie.useState)(u);(0,ie.useEffect)((()=>{c=new MutationObserver(f),c.observe(i,{childList:!0})}),[]),(0,ie.useEffect)((()=>()=>{u&&jQuery(s).slick("unslick"),c.disconnect()}),[u,c]);const f=e=>{for(const t of e)"childList"===t.type&&t.addedNodes.length>0&&t.addedNodes[0].outerHTML.match("wp-block-coblocks-events")&&(s=t.addedNodes[0].children[0],jQuery(s).slick({accessibility:!1,draggable:!1,infinite:!1,rows:s.dataset.perPage,swipe:!1,touchMove:!1}))},v=()=>{const e=(0,ne.createBlock)("coblocks/event-item");r(e,a.length,l)},_=[{icon:ar,onClick:()=>m(!d),title:(0,le.__)("Edit calendar URL","coblocks")}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(pi,{attributes:o,eventsRangeOptions:_i,onChangeEventsRange:e=>n({eventsRange:e}),onChangeEventsToShow:e=>n({eventsToShow:e}),showExternalCalendarControls:h,toggleExternalCalendarControls:()=>{0==!h&&n({externalCalendarUrl:""}),p(!h)}}),!!u&&(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,{controls:_})),h&&(!u||d)&&(0,ie.createElement)(Zt.Placeholder,{icon:"rss",instructions:(0,le.__)("Enter a URL that loads an iCal formatted calendar.","coblocks"),label:(0,le.__)("Calendar URL","coblocks")},(0,ie.createElement)("form",{onSubmit:()=>{n({externalCalendarUrl:b}),m(!1)}},(0,ie.createElement)(Zt.TextControl,{className:"components-placeholder__input",onChange:e=>g(e),placeholder:(0,le.__)("Enter URL here…","coblocks"),value:b}),(0,ie.createElement)(Zt.Button,{disabled:!b,isPrimary:!0,type:"submit"},(0,le.__)("Use URL","coblocks")))),!u&&!h&&(0,ie.createElement)("div",{className:Ut()(t,"coblocks-custom-event")},(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:fi,renderAppender:()=>(0,ie.createElement)(hi,{onClick:v}),template:vi,templateInsertUpdatesSelection:!1})),(0,ie.createElement)("div",{ref:e=>i=e},!!u&&(0,ie.createElement)(gi(),{attributes:o,block:"coblocks/events"})))},save:function(e){let{attributes:t}=e;const{className:o,externalCalendarUrl:n}=t;return!n&&(0,ie.createElement)("div",{className:o},(0,ie.createElement)(Yt.InnerBlocks.Content,null))}};var Si=e=>{let{onAddNewItem:t=Gt.noop,onAddNewHeading:o=Gt.noop}=e;return(0,ie.createElement)("div",{className:"coblocks-block-appender"},(0,ie.createElement)(Zt.Button,{className:"block-editor-button-block-appender",label:(0,le.__)("Add Question","coblocks"),onClick:t},(0,ie.createElement)(vl,{icon:_l})," ",(0,le.__)("Add Question","coblocks")),(0,ie.createElement)(Zt.Button,{className:"block-editor-button-block-appender",label:(0,le.__)("Category Title","coblocks"),onClick:o},(0,ie.createElement)(vl,{icon:_l})," ",(0,le.__)("Category Title","coblocks")))};const zi=["coblocks/faq-item","core/heading"],Ti=[["core/heading",{className:"wp-block-coblocks-faq__title",level:3,placeholder:(0,le.__)("FAQ title","coblocks")}],["coblocks/faq-item"]];var Pi={attributes:{},innerBlocks:[{attributes:{},innerBlocks:[{attributes:{className:"wp-block-coblocks-faq__title",content:(0,le.__)("FAQ","coblocks"),level:3},name:"core/heading"},{attributes:{answer:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed placerat convallis porta.",question:(0,le.__)("I am sick and I need to visit my doctor today. Can I get a priority appointment?","coblocks")},name:"coblocks/faq-item"},{attributes:{answer:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed placerat convallis porta.",question:(0,le.__)("When can I get my lab results?","coblocks")},name:"coblocks/faq-item"}],name:"coblocks/faq"}]},Ni=JSON.parse('{"name":"coblocks/faq","category":"layout","attributes":{"customTextColor":{"type":"string"},"textColor":{"type":"string"}}}');const{name:Bi,category:Oi}=Ni,Ri={description:(0,le.__)("Add a list of questions and answers.","coblocks"),edit:e=>{const{className:t,clientId:o}=e,{innerBlocks:n}=(0,co.useSelect)((e=>({innerBlocks:e("core/block-editor").getBlocks(o)}))),{insertBlock:l}=(0,co.useDispatch)("core/block-editor"),r=()=>{const e=(0,ne.createBlock)("coblocks/faq-item");l(e,n.length,o)},a=()=>{const e=(0,ne.createBlock)("core/heading",{className:"wp-block-coblocks-faq__heading",level:4,placeholder:(0,le.__)("Category name","coblocks")});l(e,n.length,o)};return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:t},(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:zi,renderAppender:()=>(0,ie.createElement)(Si,{onAddNewHeading:a,onAddNewItem:r}),template:Ti,templateInsertUpdatesSelection:!1})))},example:Pi,icon:(0,ie.createElement)(Zt.Icon,{icon:we}),keywords:["coblocks",
317
  /* translators: block keyword */
318
+ (0,le.__)("FAQ","coblocks")],save:function(e){let{attributes:t}=e;const{className:o}=t;return(0,ie.createElement)("div",{className:o,itemScope:!0,itemType:"https://schema.org/FAQPage"},(0,ie.createElement)(Yt.InnerBlocks.Content,null))},supports:{align:["wide","full"],multiple:!1},title:(0,le._x)("FAQ","block name","coblocks")};var Mi=(0,Yt.withColors)({textColor:"color"}),Ai=(0,Kt.compose)([Mi])((e=>{const{textColor:t,setTextColor:o}=e,n=[{label:(0,le.__)("Text color","coblocks"),onChange:o,value:t.color}];return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Yt.PanelColorSettings,{colorSettings:n,initialOpen:!1,title:(0,le.__)("Color settings","coblocks")},(0,ie.createElement)(Yt.ContrastChecker,{isLargeText:!0,textColor:t.color})))}));const Li=["core/heading","core/list","core/paragraph"],Ii=[["core/paragraph",{placeholder:(0,le.__)("Enter the answer to the question","coblocks")}]];var Di=(0,Kt.compose)([Mi])((e=>{const{className:t,attributes:o,setAttributes:n,setTextColor:l,textColor:r}=e,{question:a}=o,c={color:r.color};return(0,ie.useEffect)((()=>{o.externalChange&&(n({textColor:o.textColor}),l(o.textColor))}),[o]),(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Ai,e),(0,ie.createElement)("div",{className:Ut()(t,{"has-text-color":r.color,[r.class]:r.class}),style:c},(0,ie.createElement)("div",{className:"wp-block-coblocks-faq-item__question"},(0,ie.createElement)(Yt.RichText,{className:"wp-block-coblocks-faq-item__question__content",onChange:e=>n({question:e}),placeholder:(0,le.__)("Write a question","coblocks"),tagName:"div",value:a}),(0,ie.createElement)(vl,{className:"wp-block-coblocks-faq-item__question__icon",icon:ge})),(0,ie.createElement)("div",{className:"wp-block-coblocks-faq-item__answer"},(0,ie.createElement)(Yt.InnerBlocks,{__experimentalCaptureToolbars:!0,allowedBlocks:Li,template:Ii,templateInsertUpdatesSelection:!1}))))})),Fi=JSON.parse('{"name":"coblocks/faq-item","category":"layout","attributes":{"open":{"type":"boolean","default":false},"question":{"type":"string","source":"html","selector":".wp-block-coblocks-faq-item__question__content"}}}');const{name:Vi,category:ji,attributes:Gi}=Fi,$i={attributes:Gi,description:(0,le.__)("A question/answer within the FAQ block.","coblocks"),edit:Di,icon:(0,ie.createElement)(Zt.Icon,{icon:ke}),parent:["coblocks/faq"],save:function(e){let{className:t,attributes:o}=e;const{customTextColor:n,open:l,question:r,textColor:a}=o,c=(0,Yt.getColorClassName)("color",a),i=Ut()(t,{[c]:c,"has-text-color":a||n});return(e=>{const t=["question"],o=Object.entries(e).filter((e=>{let[o]=e;return t.includes(o)}));return re((0,gr.Z)(o))})(o)?null:(0,ie.createElement)("details",{className:i,itemProp:"mainEntity",itemScope:!0,itemType:"https://schema.org/Question",open:l,style:{color:c?void 0:n}},(0,ie.createElement)("summary",{className:"wp-block-coblocks-faq-item__question",itemProp:"name"},(0,ie.createElement)(Yt.RichText.Content,{className:"wp-block-coblocks-faq-item__question__content",tagName:"div",value:r}),(0,ie.createElement)(Zt.Icon,{className:"wp-block-coblocks-faq-item__question__icon",icon:ge})),(0,ie.createElement)("div",{className:"wp-block-coblocks-faq-item__answer",itemProp:"acceptedAnswer",itemScope:!0,itemType:"https://schema.org/Answer"},(0,ie.createElement)("div",{itemProp:"text"},(0,ie.createElement)(Yt.InnerBlocks.Content,null))))},supports:{html:!1,reusable:!1},title:(0,le._x)("FAQ Item","block name","coblocks")};var Hi=e=>{const{attributes:t,setAttributes:o}=e,{contentAlign:n}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.AlignmentToolbar,{value:n,onChange:e=>o({contentAlign:e})}),jr(e)))},Ui=(0,Yt.withColors)("backgroundColor",{textColor:"color"});const{getComputedStyle:Wi}=window,qi=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?Wi(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var Yi=(0,Kt.compose)([Ui,qi])((e=>{const{attributes:t,backgroundColor:o,setAttributes:n,setBackgroundColor:l,textColor:r,setTextColor:a}=e,{paddingBottom:c,paddingLeft:i,paddingRight:s,paddingSize:u,paddingTop:d,paddingBottomTablet:m,paddingLeftTablet:h,paddingRightTablet:p,paddingTopTablet:b,paddingBottomMobile:g,paddingLeftMobile:f,paddingRightMobile:v,paddingTopMobile:_,paddingSyncUnits:k,paddingSyncUnitsTablet:y,paddingSyncUnitsMobile:w,paddingUnit:E}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Feature settings","coblocks")},(0,ie.createElement)(Ac,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),valueTop:d,valueRight:s,valueBottom:c,valueLeft:i,valueTopTablet:b,valueRightTablet:p,valueBottomTablet:m,valueLeftTablet:h,valueTopMobile:_,valueRightMobile:v,valueBottomMobile:g,valueLeftMobile:f,unit:E,syncUnits:k,syncUnitsTablet:y,syncUnitsMobile:w,dimensionSize:u}))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:e=>{l(e),u&&"no"!==u||n({paddingSize:"medium"}),e||n({paddingSize:"no"})},label:(0,le.__)("Background color","coblocks")},{value:r.color,onChange:a,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasOverlay:!0}))))}));const Ki=["core/button","core/paragraph","core/heading","core/image","coblocks/highlight"],Zi=[["coblocks/icon",{hasContentAlign:!1}],["core/heading",{
319
  /* translators: content placeholder */
320
  placeholder:(0,le.__)("Add feature title…","coblocks"),
321
  /* translators: content placeholder */
327
  /* translators: block name */
328
  title:(0,le.__)("Feature","coblocks"),
329
  /* translators: block description */
330
+ description:(0,le.__)("A singular child column within a parent features block.","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:Ee}),parent:["coblocks/features"],supports:{inserter:!1},attributes:ts,edit:Ji,save:e=>{let{attributes:t,className:o}=e;const{coblocks:n,contentAlign:l,customTextColor:r,textColor:a,paddingSize:c}=t,i=(0,Yt.getColorClassName)("color",a);let s=Ut()(o,{[`has-${l}-content`]:l});n&&void 0!==n.id&&(s=Ut()(s,`coblocks-feature-${n.id}`));const u=Ut()("wp-block-coblocks-feature__inner",...Vr(t),{"has-text-color":a||r,[i]:i,"has-padding":c&&"no"!==c,[`has-${c}-padding`]:c&&"advanced"!==c}),d={...Hr(t),color:i?void 0:r};return(0,ie.createElement)("div",{className:s},(0,ie.createElement)("div",{className:u,style:d},Qr(t),(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}};var ns=JSON.parse('{"name":"coblocks/features","category":"layout","attributes":{"headingLevel":{"type":"integer","default":4},"columns":{"type":"number","default":2},"contentAlign":{"type":"string","default":"center"}}}');var ls=[{attributes:{...Cc,...Fr,...ns.attributes,gutter:{type:"string",default:"large"}},save(e){const{coblocks:t,columns:o,contentAlign:n,customTextColor:l,textColor:r,gutter:a,marginSize:c,paddingSize:i}=e.attributes,s=(0,Yt.getColorClassName)("color",r);let u=e.className;t&&void 0!==t.id&&(u=Ut()(u,`coblocks-features-${t.id}`));const d=Ut()("wp-block-coblocks-features__inner",...Vr(e.attributes),{"has-text-color":r||l,[s]:s,"has-padding":i&&"no"!==i,[`has-${i}-padding`]:i&&"advanced"!==i,"has-margin":c&&"no"!==c,[`has-${c}-margin`]:c&&"advanced"!==c,[`has-${a}-gutter`]:a,[`has-${n}-content`]:n}),m={...Hr(e.attributes),color:s?void 0:l};return(0,ie.createElement)("div",{className:u,"data-columns":o},(0,ie.createElement)("div",{className:d,style:m},Qr(e.attributes),(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}}],rs=(0,Yt.withColors)("backgroundColor",{textColor:"color"});const{getComputedStyle:as}=window,cs=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?as(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var is=(0,Kt.compose)([rs,cs])((e=>{const{attributes:t,backgroundColor:o,clientId:n,setAttributes:l,setBackgroundColor:r,setTextColor:a,textColor:c,selectBlock:i}=e,{columns:s,gutter:u,marginBottom:d,marginBottomMobile:m,marginBottomTablet:h,marginLeft:p,marginLeftMobile:b,marginLeftTablet:g,marginRight:f,marginRightMobile:v,marginRightTablet:_,marginSize:k,marginSyncUnits:y,marginSyncUnitsMobile:w,marginSyncUnitsTablet:E,marginTop:x,marginTopMobile:C,marginTopTablet:S,marginUnit:z,paddingBottom:T,paddingBottomMobile:P,paddingBottomTablet:N,paddingLeft:B,paddingLeftMobile:O,paddingLeftTablet:R,paddingRight:M,paddingRightMobile:A,paddingRightTablet:L,paddingSize:I,paddingSyncUnits:D,paddingSyncUnitsMobile:F,paddingSyncUnitsTablet:V,paddingTop:j,paddingTopMobile:G,paddingTopTablet:$,paddingUnit:H}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Features settings","coblocks")},(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Columns","coblocks"),value:s,onChange:e=>{l({columns:Math.min(parseInt(e)||1,4)}),parseInt(e)<2?l({gutter:"no"}):"no"===u&&l({gutter:"large"}),i(n)},min:1,max:4}),s>=2&&(0,ie.createElement)(hc,e),(0,ie.createElement)(Ac,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),valueTop:j,valueRight:M,valueBottom:T,valueLeft:B,valueTopTablet:$,valueRightTablet:L,valueBottomTablet:N,valueLeftTablet:R,valueTopMobile:G,valueRightMobile:A,valueBottomMobile:P,valueLeftMobile:O,unit:H,syncUnits:D,syncUnitsTablet:V,syncUnitsMobile:F,dimensionSize:I})),(0,ie.createElement)(Ac,Ft({},e,{type:"margin",label:(0,le.__)("Margin","coblocks"),valueTop:x,valueRight:f,valueBottom:d,valueLeft:p,valueTopTablet:S,valueRightTablet:_,valueBottomTablet:h,valueLeftTablet:g,valueTopMobile:C,valueRightMobile:v,valueBottomMobile:m,valueLeftMobile:b,unit:z,syncUnits:y,syncUnitsTablet:E,syncUnitsMobile:w,dimensionSize:k}))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:e=>{r(e),I&&"no"!==I||l({paddingSize:"medium"}),e||l({paddingSize:"no"})},label:(0,le.__)("Background color","coblocks")},{value:c.color,onChange:a,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasCaption:!1,hasOverlay:!0,hasGalleryControls:!1}))))}));function ss(e){let{level:t,isPressed:o=!1}=e;const n={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return n.hasOwnProperty(t)?(0,ie.createElement)(Zt.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:o},(0,ie.createElement)(Zt.Path,{d:n[t]})):null}class us extends ie.Component{createLevelControl(e,t,o){const n=e===t;return{icon:(0,ie.createElement)(ss,{level:e,isPressed:n}),
331
  // translators: %s: heading level e.g: "1", "2", "3"
332
  title:(0,le.sprintf)((0,le.__)("Heading %d","coblocks"),e),isActive:n,onClick:()=>o(e)}}render(){const{isCollapsed:e=!0,minLevel:t,maxLevel:o,selectedLevel:n,onChange:l}=this.props;return(0,ie.createElement)(Zt.ToolbarGroup,{isCollapsed:e,icon:(0,ie.createElement)(ss,{level:n}),controls:(0,Gt.range)(t,o).map((e=>this.createLevelControl(e,n,l))),label:(0,le.__)("Change heading level")})}}var ds=us,ms=e=>{const{attributes:t,setAttributes:o,onChangeHeadingLevel:n}=e,{contentAlign:l,headingLevel:r}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(ds,{minLevel:2,maxLevel:6,selectedLevel:r,onChange:n}),(0,ie.createElement)(Yt.AlignmentToolbar,{value:l,onChange:e=>o({contentAlign:e})}),jr(e)))};const hs=["coblocks/feature"],ps=[["coblocks/feature"],["coblocks/feature"]];var bs=(0,Kt.compose)([rs,(0,co.withSelect)(((e,t)=>({innerBlocks:e("core/block-editor").getBlocks(t.clientId)}))),(0,co.withDispatch)((e=>({insertBlock:e("core/block-editor").insertBlock}))),e=>t=>(t.innerBlocks.length>0&&t.innerBlocks.reduce(((e,t)=>e+("coblocks/feature"===t.name)),0)<t.attributes.columns&&t.insertBlock((0,ne.createBlock)("coblocks/feature"),t.innerBlocks.length,t.clientId,!1),(0,ie.createElement)(e,t))])((e=>{const{attributes:t,textColor:o,className:n,backgroundColor:l,setAttributes:r,clientId:a,isSelected:c}=e,{coblocks:i,backgroundImg:s,columns:u,contentAlign:d,paddingTop:m,paddingRight:h,paddingBottom:p,paddingLeft:b,marginTop:g,marginRight:f,marginBottom:v,marginLeft:_,paddingUnit:k,marginUnit:y,marginSize:w,paddingSize:E}=t,{updateBlockAttributes:x,selectBlock:C}=(0,co.useDispatch)("core/block-editor"),{isSelected:S,innerBlocks:z}=(0,co.useSelect)((e=>{const{getBlockRootClientId:t,getBlockSelectionStart:o,getBlocks:n}=e("core/block-editor"),l=t(o());return{isSelected:c||a===l,innerBlocks:n(a)}})),T=(0,ie.createElement)($r,Ft({},e,{label:(0,le.__)("Add as background","coblocks")}));let P=n;i&&void 0!==i.id&&(P=Ut()(P,`coblocks-features-${i.id}`));const N=Ut()("wp-block-coblocks-features__inner",...Vr(t),{"has-columns":u>1,[`has-${u}-columns`]:u,"has-responsive-columns":u>1,"has-padding":E&&"no"!==E,[`has-${E}-padding`]:E&&"no"!==E&&"advanced"!==E,"has-margin":w&&"no"!==w,[`has-${w}-margin`]:w&&"no"!==w&&"advanced"!==w,[`has-${d}-content`]:d}),B={...Hr(t,l),color:o.color,textAlign:d,paddingTop:"advanced"===E&&m?m+k:void 0,paddingRight:"advanced"===E&&h?h+k:void 0,paddingBottom:"advanced"===E&&p?p+k:void 0,paddingLeft:"advanced"===E&&b?b+k:void 0,marginTop:"advanced"===w&&g?g+y:void 0,marginRight:"advanced"===w&&f?f+y:void 0,marginBottom:"advanced"===w&&v?v+y:void 0,marginLeft:"advanced"===w&&_?_+y:void 0};return(0,ie.createElement)(ie.Fragment,null,T,S&&(0,ie.createElement)(ms,Ft({},e,{onChangeHeadingLevel:e=>{var t;r({headingLevel:e}),t={headingLevel:e},z.forEach((e=>{"coblocks/feature"===e.name&&x(e.clientId,t)}))}})),S&&(0,ie.createElement)(is,Ft({selectBlock:C},e)),(0,ie.createElement)("div",{className:P},(0,ie.createElement)(rc,t,(0,ie.createElement)("div",{className:N,style:B},(0,Mt.isBlobURL)(s)&&(0,ie.createElement)(Zt.Spinner,null),Qr(t),(0,ie.createElement)(Yt.InnerBlocks,{template:ps,allowedBlocks:hs,templateInsertUpdatesSelection:!1,__experimentalCaptureToolbars:!0})))))}));var gs={from:[{type:"prefix",prefix:":feature",transform:e=>(0,ne.createBlock)(ns.name,{content:e,columns:1})},{type:"prefix",prefix:":features",transform:e=>(0,ne.createBlock)(ns.name,{content:e})},...[2,3].map((e=>({type:"prefix",prefix:Array(e+1).join(":")+"features",transform:t=>(0,ne.createBlock)(ns.name,{content:t,columns:e})})))]};const{name:fs,category:vs}=ns,_s={...Cc,...Fr,...ns.attributes},ks={
333
  /* translators: block name */
461
  /* translators: abbreviation for large size */
462
  label:(0,le.__)("L","coblocks"),tooltip:(0,le.__)("Large","coblocks")},{value:"huge",
463
  /* translators: abbreviation for largest size */
464
+ label:(0,le.__)("XL","coblocks"),tooltip:(0,le.__)("Huge","coblocks")}];return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:"block-editor-block-styles block-editor-block-styles coblocks-editor-block-styles"},n.map((e=>(0,ie.createElement)("div",{key:`style-${e.name}`,className:Ut()("block-editor-block-styles__item block-editor-block-styles__item",{"is-active":t===e}),onClick:()=>i(e),onKeyDown:t=>{xo.ENTER!==t.keyCode&&xo.SPACE!==t.keyCode||(t.preventDefault(),i(e))},role:"button",tabIndex:"0","aria-label":e.label||e.name},(0,ie.createElement)("div",{className:"block-editor-block-styles__item-preview block-editor-block-styles__item-preview"},s?e.iconWithImages:e.icon),(0,ie.createElement)("div",{className:"block-editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name)))))),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Food & Drinks Settings","coblocks"),initialOpen:!0},"grid"===t.name&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Columns","coblocks"),value:o.columns,min:2,max:4,onChange:e=>l(e)}),(0,ie.createElement)(Yo,{label:(0,le.__)("Gutter","coblocks"),currentOption:o.gutter,options:d,onChange:e=>r(e)})),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Images","coblocks"),help:s?(0,le.__)("Showing images for each item","coblocks"):(0,le.__)("Toggle to show images for each item.","coblocks"),checked:s,onChange:a}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Prices","coblocks"),help:u?(0,le.__)("Showing the price of each item","coblocks"):(0,le.__)("Toggle to show the price of each item.","coblocks"),checked:u,onChange:c})))},Xu=e=>{const{attributes:t,onChangeHeadingLevel:o}=e,{headingLevel:n}=t;return(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(ds,{minLevel:2,maxLevel:5,selectedLevel:n,onChange:o}))};const Qu={};Qu.layoutGridIcon=(0,ie.createElement)(Zt.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m5 6h13v.87858073 1.12141927h-13z"}),(0,ie.createElement)(Zt.Path,{d:"m8 18h6v.8785807 1.1214193h-6z"}),(0,ie.createElement)(Zt.Path,{d:"m0 10h23v.8785807 1.1214193h-23z"}),(0,ie.createElement)(Zt.Path,{d:"m3 14h17v.8785807 1.1214193h-17z"}),(0,ie.createElement)(Zt.Path,{d:"m38 6h13v.87858073 1.12141927h-13z"}),(0,ie.createElement)(Zt.Path,{d:"m41 18h6v.8785807 1.1214193h-6z"}),(0,ie.createElement)(Zt.Path,{d:"m33 10h23v.8785807 1.1214193h-23z"}),(0,ie.createElement)(Zt.Path,{d:"m36 14h17v.8785807 1.1214193h-17z"}))),Qu.layoutGridIconWithImages=(0,ie.createElement)(Zt.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m0 0h24v14h-24z"}),(0,ie.createElement)(Zt.Path,{d:"m3 16h18v.8785807 1.1214193h-18z"}),(0,ie.createElement)(Zt.Path,{d:"m1 20h22v.8785807 1.1214193h-22z"}),(0,ie.createElement)(Zt.Path,{d:"m4 24h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{d:"m32 0h24v14h-24z"}),(0,ie.createElement)(Zt.Path,{d:"m35 16h18v.8785807 1.1214193h-18z"}),(0,ie.createElement)(Zt.Path,{d:"m33 20h22v.8785807 1.1214193h-22z"}),(0,ie.createElement)(Zt.Path,{d:"m36 24h16v.8785807 1.1214193h-16z"}))),Qu.layoutListIcon=(0,ie.createElement)(Zt.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m14 0h18v.87858073 1.12141927h-18z"}),(0,ie.createElement)(Zt.Path,{d:"m14 4h28v.87858073 1.12141927h-28z"}),(0,ie.createElement)(Zt.Path,{d:"m14 8h20v.87858073 1.12141927h-20z"}),(0,ie.createElement)(Zt.Path,{d:"m14 16h18v.8785807 1.1214193h-18z"}),(0,ie.createElement)(Zt.Path,{d:"m14 20h28v.8785807 1.1214193h-28z"}),(0,ie.createElement)(Zt.Path,{d:"m14 24h20v.8785807 1.1214193h-20z"}))),Qu.layoutListIconWithImages=(0,ie.createElement)(Zt.SVG,{height:"26",viewBox:"0 0 56 26",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m10 0h10v10h-10z"}),(0,ie.createElement)(Zt.Path,{d:"m22 0h14v.87858073 1.12141927h-14z"}),(0,ie.createElement)(Zt.Path,{d:"m22 4h22v.87858073 1.12141927h-22z"}),(0,ie.createElement)(Zt.Path,{d:"m22 8h16v.87858073 1.12141927h-16z"}),(0,ie.createElement)(Zt.Path,{d:"m10 16h10v10h-10z"}),(0,ie.createElement)(Zt.Path,{d:"m22 16h14v.8785807 1.1214193h-14z"}),(0,ie.createElement)(Zt.Path,{d:"m22 20h22v.8785807 1.1214193h-22z"}),(0,ie.createElement)(Zt.Path,{d:"m22 24h16v.8785807 1.1214193h-16z"})));var ed=Qu,td=window.wp.tokenList,od=o.n(td);const nd=["coblocks/food-item"],ld=[["core/heading",{level:3,placeholder:(0,le.__)("Menu title…","coblocks"),align:"center"}],["coblocks/food-item"],["coblocks/food-item"]],rd=[{name:"grid",
465
  /* translators: block style */
466
  label:(0,le.__)("Grid","coblocks"),icon:ed.layoutGridIcon,iconWithImages:ed.layoutGridIconWithImages,isDefault:!0},{name:"list",
467
  /* translators: block style */
483
  /* translators: an additional guest */
484
  ["coblocks/field-name",{label:(0,le.__)("Plus one","coblocks"),hasLastName:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-radio",{label:(0,le.__)("Will you be attending?","coblocks"),required:!0,options:[(0,le.__)("Yes","coblocks"),(0,le.__)("No","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:(0,le.__)("Notes?","coblocks")}],["coblocks/field-submit-button",{}]],
485
  /* translators: RSVP is an initialism derived from the French phrase Répondez s'il vous plaît, meaning "Please respond" to require confirmation of an invitation */
486
+ submitButtonText:(0,le.__)("RSVP","coblocks")},{title:(0,le.__)("Appointment","coblocks"),icon:Dd.layoutAppointment,template:[["coblocks/field-name",{required:!0,hasLastName:!0}],["coblocks/field-phone",{required:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-date",{required:!0}],["coblocks/field-radio",{label:(0,le.__)("Time","coblocks"),required:!0,options:[(0,le.__)("Morning","coblocks"),(0,le.__)("Afternoon","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:(0,le.__)("Special notes","coblocks")}],["coblocks/field-submit-button",{}]],submitButtonText:(0,le.__)("Book Appointment","coblocks")}];class Vd extends ie.Component{componentDidUpdate(){const{updateInnerAttributes:e,attributes:t}=this.props,{textColor:o,customTextColor:n}=t;e({textColor:o,customTextColor:n})}render(){const{setTextColor:e,textColor:t}=this.props,o=[{value:(null==t?void 0:t.color)||"",onChange:e,label:(0,le.__)("Label color","coblocks")}];return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:o}))}}var jd=(0,Kt.compose)([(0,Yt.withColors)({textColor:"color"}),(0,co.withSelect)(((e,t)=>{const{getBlocksByClientId:o,getBlocks:n}=e("core/block-editor");return{getBlocksByClientId:o,innerBlocks:n(t.clientId)}})),(0,co.withDispatch)(((e,t)=>{const{getBlocksByClientId:o}=t,{updateBlockAttributes:n}=e("core/block-editor");return{updateInnerAttributes:e=>{o(t.clientId)[0].innerBlocks.forEach((t=>{(0,ne.hasBlockSupport)(t.name,"labelColor",!1)&&n(t.clientId,e)}))}}}))])(Vd);const Gd=["core/heading","core/paragraph","core/separator","core/spacer"],$d=(0,co.withSelect)(((e,t)=>{const{getBlocks:o}=e("core/block-editor"),{getBlocksByClientId:n}=e("core/editor"),{getBlockType:l,getBlockVariations:r,getDefaultBlockVariation:a}=e("core/blocks"),c=o(t.clientId);return{blockType:l(t.name),defaultVariation:void 0===a?null:a(t.name),getBlocksByClientId:n,hasInnerBlocks:e("core/block-editor").getBlocks(t.clientId).length>0,innerBlocks:c,variations:void 0===r?null:r(t.name)}})),Hd=(0,co.withDispatch)((e=>{const{insertBlock:t,replaceInnerBlocks:o}=e("core/block-editor"),{updateBlockAttributes:n}=e("core/editor");return{insertBlock:t,replaceInnerBlocks:o,updateBlockAttributes:n}}));var Ud=(0,Kt.compose)([$d,Hd])((e=>{const{blockType:t,className:o,hasInnerBlocks:n,innerBlocks:l,defaultVariation:r,clientId:a,innerBlockCount:c,insertBlock:i,getBlocksByClientId:s,updateBlockAttributes:u,instanceId:d,replaceInnerBlocks:m,variations:h,attributes:p,setAttributes:b}=e,[g,f]=(0,ie.useState)(!1),[v,_]=(0,ie.useState)(null),[k,y]=(0,ie.useState)(""),[w,E]=(0,ie.useState)(""),[x,C]=(0,ie.useState)(!1),[S,z]=(0,ie.useState)(null),[T,P]=(0,ie.useState)(p.subject||""===p.subject?p.subject:coblocksBlockData.form.emailSubject),N=(0,Kt.usePrevious)(c),B=(0,Kt.usePrevious)(S),O=(0,Kt.usePrevious)(l),R=Ut()(o,"coblocks-form");(0,ie.useEffect)((()=>{tl()({path:"/wp/v2/settings"}).then((e=>{y(e.coblocks_google_recaptcha_site_key),C(""!==e.coblocks_google_recaptcha_site_key&&""!==e.coblocks_google_recaptcha_secret_key),E(e.coblocks_google_recaptcha_secret_key)})),n&&z(l),H()||M()||!1!==n||z(r)}),[]),(0,ie.useEffect)((()=>{let e;N!==c&&z(c?l:null);const t=a;Nc()(Fd,(o=>{if(Ad()(o.template,S)){e=o.submitButtonText,Array.isArray(e)&&(e=e.join(""));const n=s(t)[0].innerBlocks;u(n[n.length-1].clientId,{submitButtonText:e})}})),(B!==S&&O&&O.length&&l.filter((e=>"coblocks/field-submit-button"===e.name)).length<1||l.length<O&&O.length&&l.filter((e=>"coblocks/field-submit-button"===e.name)).length<1)&&i((0,ne.createBlock)("coblocks/field-submit-button",{submitButtonText:(0,le.__)("Submit","coblocks")}),l.length,a,!1)}),[B,S,a,N,c,O,l]);const M=()=>!!ne.registerBlockVariation,A=e=>{P(e),b({subject:e})},L=e=>{b({successText:e})},I=e=>0!==(e=e.trim()).length&&!Rd.validate(e)&&{email:e},D=e=>{const t=e.target.value.split(",").map(I).filter(Boolean);t&&t.length&&_(t)},F=e=>{if(0===e.trim().length)return _(null),void b({to:e});_(null),b({to:e})},V=e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())},j=e=>{A(T+e.target.innerHTML)},G=()=>v&&v.length>0,$=e=>Nc()(e,(e=>{let[t,o,n=[]]=e;return(0,ne.createBlock)(t,o,$(n))})),H=()=>void 0!==Yt.InnerBlocks.prototype;return n||!M()?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Form settings","coblocks")},(()=>{const e=v,{to:t,successText:o}=p;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.TextControl,{"aria-describedby":`contact-form-${d}-email-${G()?"error":"help"}`,label:(0,le.__)("Email address","coblocks"),placeholder:(0,le.__)("name@example.com","coblocks"),onKeyDown:V,value:t||""===t?t:coblocksBlockData.form.adminEmail,onBlur:D,onChange:F,help:(0,le.__)("Enter the email address where emails should be sent to.","coblocks")}),(0,ie.createElement)(Ld,{isError:!0,id:`contact-form-${d}-email-error`},(e=>{if(e){if(1===e.length)return e[0]&&e[0].email?(0,le.sprintf)(
487
  /* translators: %s: placeholder for an email address */
488
  (0,le.__)("%s is not a valid email address.","coblocks"),e[0].email):e[0];if(2===e.length)return(0,le.sprintf)(
489
  /* translators: %1$s: placeholder for an email address. %2$s: placeholder for an email address */
490
  (0,le.__)("%1$s and %2$s are not valid email addresses.","coblocks"),e[0].email,e[1].email);const t=e.map((e=>e.email));return(0,le.sprintf)(
491
  /* translators: %s1: placeholder for comma separated email addresses */
492
+ (0,le.__)("%s are not valid email addresses.","coblocks"),t.join(", "))}return null})(e)),(0,ie.createElement)(Zt.TextControl,{label:(0,le.__)("Subject","coblocks"),value:T,onChange:A,help:(0,ie.createElement)(ie.Fragment,null,(0,le.__)("You may use the following tags in the subject field: ","coblocks"),(0,ie.createElement)(Zt.Button,{isLink:!0,onClick:j},"[",(0,le.__)("email","coblocks"),"]"),(0,ie.createElement)(Zt.Button,{isLink:!0,onClick:j},"[",(0,le.__)("name","coblocks"),"]"))}),(0,ie.createElement)(Zt.TextareaControl,{label:(0,le.__)("Success message","coblocks"),placeholder:(0,le.__)("Your message was sent:","coblocks"),onKeyDown:V,value:o,onChange:L,help:(0,le.__)("Form submission confirmation text.","coblocks")}))})(),(0,io.applyFilters)("coblocks.advanced_forms_cta")),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Google reCAPTCHA","coblocks"),initialOpen:""!==w},(0,ie.createElement)("p",null,(0,le.__)("Add your reCAPTCHA site and secret keys to protect your form from spam.","coblocks")),(0,ie.createElement)("p",null,(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ExternalLink,{href:"https://g.co/recaptcha/v3"},""===k&&""===w?(0,le.__)("Generate keys","coblocks"):(0,le.__)("My keys","coblocks")),"| ",(0,ie.createElement)(Zt.ExternalLink,{href:"https://developers.google.com/recaptcha/docs/v3"},(0,le.__)("Get help","coblocks")))),(0,ie.createElement)(Zt.TextControl,{label:(0,le.__)("Site key","coblocks"),value:k,onChange:e=>y(e),className:"components-block-coblocks-form-recaptcha-key__custom-input"}),(0,ie.createElement)(Zt.TextControl,{label:(0,le.__)("Secret key","coblocks"),value:w,onChange:e=>E(e),className:"components-block-coblocks-form-recaptcha-key__custom-input"}),(0,ie.createElement)("div",{className:"components-base-control"},(0,ie.createElement)(Zt.Button,{isPrimary:!0,onClick:()=>{f(!0),tl()({path:"/wp/v2/settings",method:"POST",data:{coblocks_google_recaptcha_site_key:k,coblocks_google_recaptcha_secret_key:w}}).then((()=>{C(!0),f(!1)}))},disabled:""===k||""===w},g?(0,le.__)("Saving","coblocks"):(0,le.__)("Save","coblocks")),""!==k&&""!==w&&(0,ie.createElement)(Zt.Button,{className:"components-block-coblocks-form-recaptcha-key-remove__button",isSecondary:!0,onClick:()=>{y(""),E(""),x&&(f(!0),tl()({path:"/wp/v2/settings",method:"POST",data:{coblocks_google_recaptcha_site_key:"",coblocks_google_recaptcha_secret_key:""}}).then((()=>{C(!0),f(!1)})))},disabled:""===k||""===w},(0,le.__)("Remove","coblocks")))),(0,ie.createElement)(jd,e)),(0,ie.createElement)("div",{className:R},M()?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:Gd,__experimentalCaptureToolbars:!0})):(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InnerBlocks,{__experimentalTemplateOptions:Fd,__experimentalOnSelectTemplateOption:e=>{void 0===e&&(e=Fd[0].template),z(e)},__experimentalAllowTemplateOptionSkip:!0,template:H()?S:Fd[0].template,allowedBlocks:Gd,templateInsertUpdatesSelection:!1,__experimentalCaptureToolbars:!0})))):(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.__experimentalBlockVariationPicker,{icon:Bt()(t,["icon","src"]),label:Bt()(t,["title"]),instructions:(0,le.__)("Select a variation to start with.","coblocks"),variations:h,allowSkip:!0,onSelect:e=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;e.attributes&&b(e.attributes);const t=Nc()(h,(t=>{if(Ad()(t.innerBlocks,e.innerBlocks))return t.submitButtonText}));b({submitButtonText:t.join("")}),e.innerBlocks&&m(a,$(e.innerBlocks))}(e)}))})),Wd=[{name:"contact-form",title:(0,le.__)("Contact","coblocks"),icon:Dd.layoutContact,isDefault:!0,innerBlocks:[["coblocks/field-name",{required:!1}],["coblocks/field-email",{required:!0}],["coblocks/field-textarea",{required:!0}],["coblocks/field-submit-button",{submitButtonText:(0,le.__)("Contact Us","coblocks")}]],scope:["block"]},{name:"rsvp-form",title:(0,le.__)("RSVP","coblocks"),icon:Dd.layoutRSVP,innerBlocks:[["coblocks/field-name",{required:!0,hasLastName:!0}],
493
  /* translators: an additional guest */
494
  ["coblocks/field-name",{label:(0,le.__)("Plus one","coblocks"),hasLastName:!0}],["coblocks/field-email",{required:!0}],["coblocks/field-radio",{label:(0,le.__)("Will you be attending?","coblocks"),required:!0,options:[(0,le.__)("Yes","coblocks"),(0,le.__)("No","coblocks")],isInline:!0}],["coblocks/field-textarea",{label:(0,le.__)("Notes?","coblocks")}],
495
  /* translators: RSVP is an initialism derived from the French phrase Répondez s'il vous plaît, meaning "Please respond" to require confirmation of an invitation */
543
  /* translators: block layout */
544
  label:(0,le.__)("Center center","coblocks")},{value:"center-right",
545
  /* translators: block layout */
546
+ label:(0,le.__)("Center right","coblocks")}]);const u={"top-left":{wrapper:{contentAlign:"left"}},"top-center":{wrapper:{contentAlign:"center"}},"top-right":{wrapper:{contentAlign:"right"}},"center-left":{wrapper:{contentAlign:"left"}},"center-center":{wrapper:{contentAlign:"center"}},"center-right":{wrapper:{contentAlign:"right"}},"bottom-left":{wrapper:{contentAlign:"left"}},"bottom-center":{wrapper:{contentAlign:"center"}},"bottom-right":{wrapper:{contentAlign:"right"}}},d=Ut()("components-base-control","components-coblocks-css-grid-selector",{"is-fullscreen":c});return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:d},(0,ie.createElement)("p",{className:"components-base-control__label"},(0,le.__)("Layout","coblocks")),(0,ie.createElement)(Zt.ButtonGroup,{"aria-label":(0,le.__)("Select layout","coblocks")},Nc()(s,((e,r)=>{let{label:c,value:s}=e;return n?(0,ie.createElement)(Zt.Tooltip,{text:c,key:`grid-tooltip-${r}`},(0,ie.createElement)("div",{className:s===a?"is-selected":null},(0,ie.createElement)(Zt.Button,{isSmall:!0,isSecondary:s!==a,isPrimary:s===a,onClick:()=>{o({layout:s}),i(s.split("-")[1]),u[s].wrapper&&l(t,u[s].wrapper)}}))):(0,ie.createElement)("div",{className:s===a?"is-selected":null},(0,ie.createElement)(Zt.Button,{isSmall:!0,isSecondary:s!==a,isPrimary:s===a,onClick:()=>{o({layout:s}),u[s].wrapper&&(l(t,u[s].wrapper),i(s.split("-")[1]))}}))})))),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Fullscreen","coblocks"),checked:!!c,onChange:()=>{c&&(["bottom-left","top-left"].includes(a)&&(o({layout:"center-left"}),i("left")),["bottom-center","top-center"].includes(a)&&(o({layout:"center-center"}),i("center")),["bottom-right","top-right"].includes(a)&&(o({layout:"center-right"}),i("right"))),o({fullscreen:!c})},help:c?(0,le.__)("Fullscreen mode is enabled.","coblocks"):(0,le.__)("Toggle to enable fullscreen mode.","coblocks")}))}}var Sm=(0,Kt.withInstanceId)((0,Kt.compose)([(0,co.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/block-editor");return{updateBlockAttributes:t}})),(0,co.withSelect)(((e,t)=>{const{getBlocks:o}=e("core/block-editor");return{innerBlocks:o(t.clientId)}}))])(Cm));class zm extends ie.Component{constructor(){super(...arguments),this.saveMeta=this.saveMeta.bind(this)}saveMeta(){const e=wp.data.select("core/editor").getEditedPostAttribute("meta"),t=wp.data.select("core/block-editor").getBlock(this.props.clientId);let o={};if(void 0!==this.props.attributes.coblocks&&void 0!==this.props.attributes.coblocks.id){const n=this.props.name.split("/").join("-")+"-"+this.props.attributes.coblocks.id,l={height:t.attributes[this.props.type],heightTablet:t.attributes[this.props.type+"Tablet"],heightMobile:t.attributes[this.props.type+"Mobile"]};o=void 0===e._coblocks_responsive_height||void 0!==e._coblocks_responsive_height&&""===e._coblocks_responsive_height?{}:JSON.parse(e._coblocks_responsive_height),void 0===o[n]?(o[n]={},o[n][this.props.type]={}):void 0===o[n][this.props.type]&&(o[n][this.props.type]={}),o[n][this.props.type]=l,wp.data.dispatch("core/editor").editPost({meta:{_coblocks_responsive_height:JSON.stringify(o)}})}}render(){const{label:e=(0,le.__)("Height","coblocks"),height:t,heightTablet:o,heightMobile:n,onChange:l,onChangeTablet:r,onChangeMobile:a,min:c=10,max:i=1e3,step:s=1}=this.props,u=Ut()("components-base-control","components-coblocks-dimensions-control","components-coblocks-responsive-base-control",{});return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:u},(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("span",{className:"components-base-control__label"},e),(0,ie.createElement)(Zt.TabPanel,{className:"components-coblocks-dimensions-control__mobile-controls",activeClass:"is-active",initialTabName:"default",onSelect:e=>{let t="desktop";switch(e){case"desktop":t="tablet";break;case"tablet":t="mobile";break;case"mobile":t="desktop"}const o=document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item--${this.props.type}`);for(let e=0;e<o.length;e++)o[e].style.display="none";"default"===e?document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--tablet`)[0].click():document.getElementsByClassName(`components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--${t}`)[0].style.display="block"},tabs:[{name:"default",title:_e,className:`is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${this.props.type} components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--default components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--default`},{name:"desktop",title:_e,className:`is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${this.props.type} components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--desktop components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--desktop`},{name:"tablet",title:xt,className:`is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${this.props.type} components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--tablet components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--tablet`},{name:"mobile",title:it,className:`is-secondary components-coblocks-dimensions-control__mobile-controls-item components-coblocks-dimensions-control__mobile-controls-item--${this.props.type} components-button is-button is-default components-coblocks-dimensions-control__mobile-controls-item--mobile components-coblocks-dimensions-control__mobile-controls-item-${this.props.type}--mobile`}]},(e=>"mobile"===e.name?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__inputs component-coblocks-is-mobile"},(0,ie.createElement)(Zt.BaseControl,null,(0,ie.createElement)("input",{type:"number",onChange:e=>{a(e),this.saveMeta()},value:n||"",min:c,step:s,max:i})))):"tablet"===e.name?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__inputs component-coblocks-is-tablet"},(0,ie.createElement)(Zt.BaseControl,null,(0,ie.createElement)("input",{type:"number",onChange:e=>{r(e),this.saveMeta()},value:o||"",min:c,step:s,max:i})))):(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{className:"components-coblocks-dimensions-control__inputs component-coblocks-is-desktop"},(0,ie.createElement)(Zt.BaseControl,null,(0,ie.createElement)("input",{type:"number",onChange:e=>{l(e),this.saveMeta()},value:t||"",min:c,step:s,max:i})))))))))}}var Tm=(0,Kt.withInstanceId)(zm);const{getComputedStyle:Pm}=window,Nm=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?Pm(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var Bm=(0,Kt.compose)([xm,Nm])((e=>{const{attributes:t,backgroundColor:o,setAttributes:n,setBackgroundColor:l,setTextColor:r,textColor:a}=e,{fullscreen:c,maxWidth:i,paddingTop:s,paddingRight:u,paddingBottom:d,paddingLeft:m,paddingTopTablet:h,paddingRightTablet:p,paddingBottomTablet:b,paddingLeftTablet:g,paddingTopMobile:f,paddingRightMobile:v,paddingBottomMobile:_,paddingLeftMobile:k,paddingUnit:y,paddingSyncUnits:w,paddingSyncUnitsTablet:E,paddingSyncUnitsMobile:x,paddingSize:C,saveCoBlocksMeta:S,height:z,heightTablet:T,heightMobile:P,syncHeight:N}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Hero settings","coblocks")},(0,ie.createElement)(Ac,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),help:(0,le.__)("Space inside of the container.","coblocks"),valueTop:s,valueRight:u,valueBottom:d,valueLeft:m,valueTopTablet:h,valueRightTablet:p,valueBottomTablet:b,valueLeftTablet:g,valueTopMobile:f,valueRightMobile:v,valueBottomMobile:_,valueLeftMobile:k,unit:y,syncUnits:w,syncUnitsTablet:E,syncUnitsMobile:x,dimensionSize:C,saveCoBlocksMeta:S})),(0,ie.createElement)(Sm,e),!c&&(0,ie.createElement)(Tm,Ft({},e,{label:(0,le.__)("Height in pixels","coblocks"),height:z,heightTablet:T,heightMobile:P,onChange:e=>{n({height:parseInt(e.target.value,10)})},onChangeTablet:e=>{n({heightTablet:parseInt(e.target.value,10)})},onChangeMobile:e=>{n({heightMobile:parseInt(e.target.value,10)})},sync:N,type:"height",min:"500"})),(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Content width in pixels","coblocks"),value:parseInt(i),onChange:e=>n({maxWidth:parseInt(e)}),min:400,max:1e3,step:10,initialPosition:560})),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:e=>{l(e),C&&"no"!==C||n({paddingSize:"huge"})},label:(0,le.__)("Background color","coblocks")},{value:a.color,onChange:r,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasOverlay:!0}))))})),Om=function(e){let{icon:t="menu",label:o,menuLabel:n,className:l,props:r}=e;return(0,ie.createElement)(Zt.Dropdown,{className:Ut()("components-dropdown-menu",l),contentClassName:"components-dropdown-menu__popover",renderToggle:e=>{let{isOpen:n,onToggle:l}=e;return(0,ie.createElement)(Zt.ToolbarButton,{onClick:l,"aria-haspopup":"true","aria-expanded":n,onKeyDown:e=>{n||e.keyCode!==xo.DOWN||(e.preventDefault(),e.stopPropagation(),l())},label:o,icon:t,showTooltip:!0})},renderContent:()=>(0,ie.createElement)(Zt.NavigableMenu,{className:"components-coblocks-grid-dropdown",role:"menu","aria-label":n},(0,ie.createElement)(Sm,Ft({},r,{tooltip:!1})))})},Rm=e=>{const{attributes:t,setAttributes:o}=e,{contentAlign:n}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)(Om,{icon:(0,ie.createElement)(Zt.Icon,{icon:tt}),label:(0,le.__)("Change layout","coblocks"),props:e})),(0,ie.createElement)(Yt.AlignmentToolbar,{onChange:e=>o({contentAlign:e}),value:n}),(0,ie.createElement)(jr,e)))};const Mm=["core/heading","core/paragraph","core/spacer","core/button","core/buttons","core/list","core/image","coblocks/alert","coblocks/gif","coblocks/social","coblocks/row","coblocks/column","coblocks/buttons"],Am=[["core/heading",{
547
  /* translators: content placeholder */
548
  placeholder:(0,le.__)("Add hero heading…","coblocks"),level:2}],["core/paragraph",{
549
  /* translators: content placeholder */
3640
  /* translators: block style */
3641
  label:(0,le.__)("Outlined","coblocks"),isDefault:!0},{name:"filled",
3642
  /* translators: block style */
3643
+ label:(0,le.__)("Filled","coblocks")}],attributes:zh,edit:Eh,save:e=>{let{attributes:t,className:o}=e;const{icon:n,backgroundColor:l,customBackgroundColor:r,customIconColor:a,contentAlign:c,iconColor:i,height:s,width:u,borderRadius:d,padding:m,href:h,linkTarget:p,rel:b}=t;let g="outlined";t.className&&t.className.includes("is-style-filled")&&(g="filled");const f=(0,Yt.getColorClassName)("color",i),v=(0,Yt.getColorClassName)("background-color",l),_=Ut()(o,{[`has-text-align-${c}`]:c}),k=Ut()("wp-block-coblocks-icon__inner",{"has-text-color":i||a,[f]:f,"has-background":l||r,[v]:v}),y={backgroundColor:v?void 0:r,color:f?void 0:a,fill:f?void 0:a,height:s,width:u,borderRadius:d?d+"px":void 0,padding:m?m+"px":void 0};return(0,ie.createElement)("div",{className:_},(0,ie.createElement)("div",{className:k,style:y},void 0!==n&&(h?(0,ie.createElement)("a",{href:h,target:p,rel:b},rh[g][n]&&rh[g][n].icon):rh[g][n]&&rh[g][n].icon)))},deprecated:hh};var Ph=JSON.parse('{"name":"coblocks/logos","category":"layout","attributes":{"align":{"type":"string"},"images":{"type":"array","default":[],"source":"query","selector":"img","query":{"url":{"type":"string","source":"attribute","attribute":"src"},"alt":{"type":"string","source":"attribute","attribute":"alt","default":""},"id":{"type":"string","source":"attribute","attribute":"data-id"},"width":{"type":"string","source":"attribute","attribute":"data-width"}}}}}');const Nh=[{isEligible:e=>e.className&&-1!==e.className.indexOf("has-filter-grayscale"),attributes:{...Ph.attributes,grayscale:{type:"boolean",default:!1}},migrate:e=>({...e,className:e.className.replace("has-filter-grayscale","is-style-black-and-white")}),save:e=>{let{attributes:t,className:o}=e;const{images:n,grayscale:l,align:r}=t;if(!n.length)return null;const a=Ut()(o,{"has-filter-grayscale":l});let c;switch(r){case"wide":c=4;break;case"full":c=5;break;default:c=3}const i=(0,Gt.chunk)(n,c);return(0,ie.createElement)("div",{className:a},Object.keys(i).map((e=>(0,ie.createElement)("div",{className:"wp-block-coblocks-logos__row",key:"wrapper-"+e},i[e].map(((t,o)=>(0,ie.createElement)("div",{style:{width:t.width||100/n.length+"%"},key:"logo-"+e},(0,ie.createElement)("img",{key:"img-"+o,src:t.url,alt:t.alt,"data-id":t.id,"data-width":t.width||100/n.length+"%"}))))))))}}];var Bh=Nh,Oh=e=>{const{setAttributes:t,attributes:o}=e,n=!!o.images.length;return(0,ie.createElement)(Yt.BlockControls,null,n&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ToolbarGroup,null,(0,ie.createElement)(Yt.MediaUploadCheck,null,(0,ie.createElement)(Yt.MediaUpload,{allowedTypes:["image"],gallery:!0,multiple:!0,onSelect:e=>{t({images:e.map((e=>At(e)))})},render:e=>{let{open:t}=e;return(0,ie.createElement)(Zt.ToolbarButton,{className:"components-toolbar__control",icon:ar,label:(0,le.__)("Edit logos","coblocks"),onClick:t})},value:o.images.map((e=>e.id))})))))};const Rh=(0,ie.forwardRef)(((e,t)=>{let{isSelected:o,isStackedOnMobile:n,...l}=e;const r=(0,Kt.useViewportMatch)("small","<");return(0,ie.createElement)(Zt.ResizableBox,Ft({ref:t,showHandle:o&&(!r||!n)},l))}));var Mh=(0,ie.forwardRef)(((e,t)=>{const{isSelected:o,attributes:n,images:l,setAttributes:r}=e,[a,c]=(0,ie.useState)(null),i=(0,Kt.usePrevious)(o);let s;switch((0,ie.useEffect)((()=>{o&&i&&c(null)}),[i,o]),n.align){case"wide":s=4;break;case"full":s=5;break;default:s=3}const u=(0,Gt.chunk)(l,s);return(0,ie.createElement)(ie.Fragment,null,Object.keys(u).map((e=>{const n=u[e];return(0,ie.createElement)("div",{className:"wp-block-coblocks-logos__row",key:"wrapper-"+e},n.map(((l,i)=>(0,ie.createElement)(Rh,{axis:"x",ref:t,key:l.id+"-"+e+"-"+i,minWidth:"10%",maxWidth:100/n.length+"%",className:Ut()("resize",{"is-selected":l.id===a}),size:{width:l.width||100/n.length+"%"},enable:{top:!1,right:!0,bottom:!1,left:!0,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:(t,o,n)=>{const l=n.style.width;u[e][i].width=l;const a=u[e].reduce(((e,t)=>e+parseFloat(t.width)),0);if(a>100){const t=parseFloat(100-a);u[e].map(((o,n)=>n!==i?(o.width=parseFloat(o.width)+parseFloat(t/(u[e].length-1))+"%",o):o))}r({images:(0,Gt.flatten)(u)})},onClick:()=>{c(l.id)},onKeyDown:e=>{if(xo.BACKSPACE===e.keyCode){const e=n.filter((e=>e.id!==l.id));c(null),r({images:e})}},showHandle:o},(0,ie.createElement)("img",{src:l.url,alt:l.alt,"data-id":l.id,"data-width":l.width||100/n.length+"%",tabIndex:"0"})))))})))})),Ah=(0,Kt.compose)([Zt.withNotices])((e=>{const{className:t,noticeOperations:o,attributes:n,noticeUI:l,isSelected:r}=e,a=!!n.images.length;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Oh,e),(0,ie.createElement)(gc,Ft({},e,{onSelect:t=>{const o=t.map((e=>At(e))),n=e.attributes.images||[];e.setAttributes({images:n.concat(o)})}})),(0,ie.createElement)("div",{className:t},(0,ie.createElement)(Mh,Ft({},e,{images:n.images})),(!a||r)&&(0,ie.createElement)(Yt.MediaPlaceholder,{addToGallery:a,isAppender:a,icon:(0,ie.createElement)(Zt.Icon,{icon:rt}),labels:{title:(0,le.__)("Logos & Badges","coblocks"),instructions:(0,le.__)("Drag images, upload new ones or select files from your library.","coblocks")},multiple:!0,accept:"image/*",allowedTypes:["image"],value:a?n.images:void 0,onError:o.createErrorNotice,notices:l,onSelect:t=>{e.setAttributes({images:t.map((e=>At(e)))})},className:Ut()({"is-appender":a})})))}));const{name:Lh,category:Ih,attributes:Dh}=Ph,Fh={
3644
  /* translators: block name */
3645
  title:(0,le.__)("Logos","coblocks"),
3646
  /* translators: block description */
3672
  /* translators: block style */
3673
  label:(0,le.__)("Night","coblocks")},{value:"aubergine",
3674
  /* translators: block style */
3675
+ label:(0,le.__)("Aubergine","coblocks")}];class Zh extends ie.Component{constructor(e){super(...arguments),this.state={apiKey:e.apiKey,isSavedKey:!1,keySaved:!1,address:e.attributes.address},this.setControls=this.setControls.bind(this),this.updateApiKey=this.updateApiKey.bind(this),this.removeApiKey=this.removeApiKey.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}componentDidMount(){this.setState({apiKey:this.props.apiKey})}setControls(){const{setAttributes:e,attributes:t}=this.props,{controls:o}=t;e({controls:!o,mapTypeControl:!o,zoomControl:!o,streetViewControl:!o,fullscreenControl:!o})}updateApiKey(){this.props.updateApiKeyCallBack(this.state.apiKey)}removeApiKey(){this.setState({apiKey:""}),this.props.updateApiKeyCallBack("")}handleKeyDown(e){e===xo.ENTER&&this.updateApiKey()}render(){const{attributes:e,setAttributes:t,apiKey:o}=this.props,{address:n,height:l,skin:r,pinned:a,controls:c,zoom:i,iconSize:s,mapTypeControl:u,zoomControl:d,streetViewControl:m,fullscreenControl:h}=e;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,!!o&&n&&a&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:"components-coblocks-map-styles"},(0,ie.createElement)(Zt.ButtonGroup,{"aria-label":(0,le.__)("Select map style","coblocks")},Nc()(Kh,(e=>{let{label:o,value:n}=e;return(0,ie.createElement)("div",{className:n===r?"components-coblocks-map-styles__button-wrapper components-button--${ value } is-selected":"components-coblocks-map-styles__button-wrapper components-button--${ value }"},(0,ie.createElement)(Zt.Button,{className:n===r?`components-coblocks-map-styles__button components-button--${n} components-coblocks-map-styles__button--selected`:`components-button--${n} components-coblocks-map-styles__button`,isSmall:!0,onClick:()=>{t({skin:n})}}),(0,ie.createElement)("div",{className:"block-editor-block-styles__item-label"},o))}))))),n&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Map settings","coblocks")},(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.BaseControl,{label:(0,le.__)("Height in pixels","coblocks"),id:"map-height-control"},(0,ie.createElement)("input",{type:"number","aria-label":(0,le.__)("Height for the map in pixels","coblocks"),onChange:e=>t({height:parseInt(e.target.value,10)}),value:l,min:200,step:10})),(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Zoom Level","coblocks"),value:i,onChange:e=>t({zoom:e}),min:5,max:20,step:1}),!!o&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Marker size","coblocks"),value:s,onChange:e=>t({iconSize:e}),min:20,max:100,step:2}),!!o&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Map controls","coblocks"),checked:!!c,onChange:this.setControls,help:c?(0,le.__)("Fine control options are enabled.","coblocks"):(0,le.__)("Toggle to enable map control options.","coblocks")}))),!!o&&n&&a&&c&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Map controls","coblocks"),initialOpen:!1},(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Map type","coblocks"),checked:!!u,onChange:()=>t({mapTypeControl:!u}),help:u?(0,le.__)("Switching between standard and satellite map views is enabled.","coblocks"):(0,le.__)("Toggle to enable switching between standard and satellite maps.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Zoom controls","coblocks"),checked:!!d,onChange:()=>t({zoomControl:!d}),help:d?(0,le.__)("Showing map zoom controls.","coblocks"):(0,le.__)("Toggle to enable zooming in and out on the map with zoom controls.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Street view","coblocks"),checked:!!m,onChange:()=>t({streetViewControl:!m}),help:m?(0,le.__)("Showing the street view map control.","coblocks"):(0,le.__)("Toggle to show the street view control at the bottom right.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Fullscreen toggle","coblocks"),checked:!!h,onChange:()=>t({fullscreenControl:!h}),help:h?(0,le.__)("Showing the fullscreen map control.","coblocks"):(0,le.__)("Toggle to show the fullscreen map control.","coblocks")})),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Google Maps API key","coblocks"),initialOpen:!1,className:"components-coblocks-block-settings-sidebar"},(0,ie.createElement)("p",null,(0,le.__)("Add a Google Maps API key. Updating this API key will set all your maps to use the new key.","coblocks")),""===o&&(0,ie.createElement)("p",null,(0,ie.createElement)(Zt.ExternalLink,{href:"https://cloud.google.com/maps-platform"},(0,le.__)("Get a key","coblocks")),"| ",(0,ie.createElement)(Zt.ExternalLink,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},(0,le.__)("Need help?","coblocks"))),(0,ie.createElement)(Zt.TextControl,{value:this.state.apiKey,onChange:e=>this.setState({apiKey:e}),placeholder:(0,le.__)("Add Google API key…","coblocks"),onKeyDown:e=>{let{keyCode:t}=e;return this.handleKeyDown(t)},className:"components-block-coblocks-map-api-key__custom-input"}),(0,ie.createElement)(Zt.Button,{isPrimary:!0,onClick:this.updateApiKey,disabled:""===this.state.apiKey||this.state.apiKey===this.props.apiKey},this.state.apiKey===this.props.apiKey&&""!==this.props.apiKey?(0,le.__)("Saved","coblocks"):(0,le.__)("Save","coblocks")),o&&(0,ie.createElement)(Zt.Button,{className:"components-block-coblocks-map-api-key-remove__button",isSecondary:!0,onClick:this.removeApiKey,disabled:this.state.apiKey!==this.props.apiKey||!this.state.apiKey},(0,le.__)("Remove","coblocks")))))}}var Jh=Zh;const Xh=[];Xh.silver=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Xh.retro=[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Xh.dark=[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Xh.night=[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}],Xh.aubergine=[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"transit",stylers:[{visibility:"off"}]}];var Qh=Xh;class ep extends ie.Component{constructor(){super(...arguments),this.state={apiKey:"",address:this.props.attributes.address,coords:null,hasError:!1,isSavedKey:!1,keySaved:!1},this.updateApiKey=this.updateApiKey.bind(this),this.saveApiKey=this.saveApiKey.bind(this)}componentDidMount(){tl()({path:"/wp/v2/settings"}).then((e=>{this.setState({apiKey:e.coblocks_google_maps_api_key,isSavedKey:""!==e.coblocks_google_maps_api_key})}))}componentDidUpdate(){this.state.apiKey&&!this.props.attributes.hasApiKey&&this.props.setAttributes({hasApiKey:!0}),!this.props.isSelected&&!this.props.attributes.pinned&&this.state.address&&Object.keys(this.state.address).length&&this.props.setAttributes({address:this.state.address,pinned:!0})}updateApiKey(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.apiKey;const{attributes:t,setAttributes:o}=this.props;if(e=e.trim(),this.saveApiKey(e),""===e)return o({hasApiKey:!1}),void(t.address||o({pinned:!1}));t.address&&o({pinned:!0})}saveApiKey(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.apiKey;this.setState({apiKey:e}),tl()({path:"/wp/v2/settings",method:"POST",data:{coblocks_google_maps_api_key:e}}).then((()=>{this.setState({isSavedKey:!0,keySaved:!0})}))}render(){const{attributes:e,setAttributes:t,isSelected:o,className:n}=this.props,{address:l,height:r,iconSize:a,pinned:c,skin:i,mapTypeControl:s,zoomControl:u,streetViewControl:d,fullscreenControl:m,zoom:h}=e,p=document.documentElement.lang,b={url:"/wp-content/plugins/coblocks/assets/images/markers/"+i+".svg",scaledSize:{width:a,height:a}};return(0,ie.createElement)(ie.Fragment,null,o&&(0,ie.createElement)(Jh,Ft({},this.props,{apiKey:this.state.apiKey,updateApiKeyCallBack:this.updateApiKey})),o&&(0,ie.createElement)(Yh,Ft({},this.props,{apiKey:this.state.apiKey})),c?(0,ie.createElement)(Zt.ResizableBox,{size:{height:r,width:"100%"},className:Ut()(n,{"is-selected":o}),minHeight:"200",enable:{bottom:!0,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},onResizeStop:(e,o,n,l)=>{t({height:parseInt(r+l.height,10)})},showHandle:o},this.state.apiKey?(0,Kt.compose)((v={googleMapURL:`https://maps.googleapis.com/maps/api/js?key=${this.state.apiKey}&language=${p}&v=3.exp&libraries=geometry,drawing,places`,loadingElement:(0,ie.createElement)("div",{style:{height:"100%"}}),containerElement:(0,ie.createElement)("div",{style:{height:"100%"}}),mapElement:(0,ie.createElement)("div",{style:{height:"100%"}}),coords:null,props:this.props},g=function(e){return Ft({},e,"function"==typeof v?v(e):v)},function(e){var t=(0,Uh.createFactory)(e);return function(e){return t(g(e))}}),Hh.WS,Hh.OI,(f={componentDidMount(){(new window.google.maps.Geocoder).geocode({address:l},function(e,t){"OK"===t?(this.setState({coords:e[0].geometry.location.toJSON()}),this.props.props.setAttributes({lat:e[0].geometry.location.toJSON().lat.toString(),lng:e[0].geometry.location.toJSON().lng.toString(),hasError:""})):this.props.props.setAttributes({pinned:!1,hasError:(0,le.__)("Invalid API key, or too many requests","coblocks")})}.bind(this))}},function(e){var t=(0,Uh.createFactory)(e),o=function(e){function o(){return e.apply(this,arguments)||this}return l=e,(n=o).prototype=Object.create(l.prototype),n.prototype.constructor=n,Wh(n,l),o.prototype.render=function(){return t(Ft({},this.props,this.state))},o;var n,l}(Uh.Component);return Object.keys(f).forEach((function(e){return o.prototype[e]=f[e]})),o}))((e=>[e.coords?(0,ie.createElement)(Hh.b6,{isMarkerShown:!0,defaultZoom:e.props.attributes.zoom,defaultCenter:new window.google.maps.LatLng(e.coords),defaultOptions:{styles:Qh[i],draggable:!1,mapTypeControl:s,zoomControl:u,streetViewControl:d,fullscreenControl:m}},(0,ie.createElement)(Hh.Jx,{position:new window.google.maps.LatLng(e.coords),icon:b})):null]))():(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("div",{style:{width:"100%",height:r,position:"absolute"}}),(0,ie.createElement)("div",{className:"iframe__overflow-wrapper"},(0,ie.createElement)("iframe",{title:(0,le.__)("Google Map","coblocks"),frameBorder:"0",style:{width:"100%",minHeight:r+"px"},src:`https://www.google.com/maps?q=${encodeURIComponent(l)}&output=embed&hl=${p}&z=${h}`})))):(0,ie.createElement)(Zt.Placeholder,{icon:(0,ie.createElement)(Zt.Icon,{icon:at}),label:(0,le.__)("Map","coblocks"),instructions:(0,le.__)("Enter a location or address to drop a pin on a Google map.","coblocks")},(0,ie.createElement)("form",{onSubmit:e=>{e&&e.preventDefault(),t({address:this.state.address,pinned:!0})}},(0,ie.createElement)(Zt.TextControl,{value:this.state.address||"",className:"components-placeholder__input",placeholder:(0,le.__)("Search for a place or address…","coblocks"),onChange:e=>this.setState({address:e})}),(0,ie.createElement)(Zt.Button,{isPrimary:!!this.state.address,isSecondary:!this.state.address,type:"submit",disabled:!this.state.address},(0,le.__)("Search","coblocks")),(0,ie.createElement)("div",{className:"components-placeholder__learn-more"},l&&(0,ie.createElement)(Zt.Button,{isTertiary:!0,className:"components-placeholder__cancel-button",title:(0,le.__)("Cancel","coblocks"),onClick:()=>{t({pinned:!c}),this.setState({address:this.props.attributes.address})},disabled:!l},(0,le.__)("Cancel","coblocks")))),e.lng&&e.hasError&&(0,ie.createElement)("span",{className:"invalid-google-maps-api-key"},e.hasError)));var g,f,v}}var tp=(0,Kt.compose)([Zt.withNotices])(ep);var op={from:[{type:"prefix",prefix:":map",transform:e=>(0,ne.createBlock)(Vh.name,{content:e})}]};const{name:np,category:lp,attributes:rp}=Vh,ap={
3676
  /* translators: block name */
3677
  title:(0,le.__)("Map","coblocks"),
3678
  /* translators: block description */
3696
  /* translators: block keyword */
3697
  (0,le.__)("photos","coblocks"),
3698
  /* translators: block keyword */
3699
+ (0,le.__)("lightbox","coblocks")],supports:{align:["wide","full"],html:!1,coBlocksSpacing:!0},example:{attributes:{gridSize:"lrg",gutter:5,images:[{index:0,url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},{index:1,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},{index:2,url:"https://s.w.org/images/core/5.3/Biologia_Centrali-Americana_-_Cantorchilus_semibadius_1902.jpg"},{index:3,url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg"},{index:4,url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"}]}},attributes:kp,transforms:fp,edit:bp,save:e=>{let{attributes:t,className:o}=e;const{animation:n,captions:l,gridSize:r,gutter:a,gutterMobile:c,images:i,linkTo:s,lightbox:u,rel:d,target:m}=t,h=Ut()(...na(t),{"has-gutter":a>0,"has-lightbox":u}),p=Ut()(`has-grid-${r}`,{[`has-gutter-${a}`]:a>0,[`has-gutter-mobile-${c}`]:c>0}),b=Ut()("coblocks-gallery--item",{"coblocks-animate":n}),g={...ra(t)};return(0,ie.createElement)("div",{"aria-label":(0,le.__)("Masonry Gallery","coblocks"),className:o},(0,ie.createElement)("div",{className:h},(0,ie.createElement)("ul",{className:p,style:g},i.map((e=>{let t;switch(s){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const o=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:e.id?`wp-image-${e.id}`:null});return(0,ie.createElement)("li",{key:e.id||e.url,className:b,"data-coblocks-animation":n},(0,ie.createElement)("figure",{className:"coblocks-gallery--figure"},t?(0,ie.createElement)("a",{href:t,target:m,rel:d},o):o,l&&e.caption&&e.caption.length>0&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:"coblocks-gallery--caption",value:e.caption})))})))))},deprecated:sp};var Ep=(0,Yt.withColors)("backgroundColor"),xp=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})),Cp=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,ie.createElement)(se.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})),Sp=e=>{const{attributes:t,setAttributes:o}=e,{mediaPosition:n}=t,l=[{icon:(0,ie.createElement)(Zt.Icon,{icon:xp}),isActive:"left"===n,onClick:()=>o({mediaPosition:"left"}),title:(0,le.__)("Show media on left","coblocks")},{icon:(0,ie.createElement)(Zt.Icon,{icon:Cp}),isActive:"right"===n,onClick:()=>o({mediaPosition:"right"}),title:(0,le.__)("Show media on right","coblocks")}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,{controls:l}),jr(e)))},zp=(0,Kt.compose)([Ep])((e=>{const{attributes:t,backgroundColor:o,setAttributes:n,setBackgroundColor:l}=e,{hasImgShadow:r,hasCardShadow:a,mediaUrl:c,mediaAlt:i,paddingBottom:s,paddingLeft:u,paddingRight:d,paddingSize:m,paddingTop:h,paddingBottomTablet:p,paddingLeftTablet:b,paddingRightTablet:g,paddingTopTablet:f,paddingBottomMobile:v,paddingLeftMobile:_,paddingRightMobile:k,paddingTopMobile:y,paddingSyncUnits:w,paddingSyncUnitsTablet:E,paddingSyncUnitsMobile:x,paddingUnit:C,maxWidth:S,align:z,mediaType:T}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Media Card settings","coblocks"),className:"block-coblocks__inspector-block-settings-panel-body"},(0,ie.createElement)(Ac,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),help:(0,le.__)("Space inside of the container.","coblocks"),valueTop:h,valueRight:d,valueBottom:s,valueLeft:u,valueTopTablet:f,valueRightTablet:g,valueBottomTablet:p,valueLeftTablet:b,valueTopMobile:y,valueRightMobile:k,valueBottomMobile:v,valueLeftMobile:_,unit:C,syncUnits:w,syncUnitsTablet:E,syncUnitsMobile:x,dimensionSize:m})),("full"===z||"wide"===z)&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Max width","coblocks"),className:"components-block-coblocks-media-card-maxwidth-range",value:parseFloat(S),onChange:e=>n({maxWidth:e}),min:400,max:2e3,step:1}),c&&"image"===T&&(0,ie.createElement)(Zt.TextareaControl,{label:(0,le.__)("Alt text (alternative text)","coblocks"),value:i,onChange:e=>n({mediaAlt:e}),help:(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,le.__)("Describe the purpose of the image","coblocks")),(0,le.__)("Leave empty if the image is purely decorative.","coblocks"))}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Card shadow","coblocks"),checked:!!a,onChange:()=>n({hasCardShadow:!a}),help:a?(0,le.__)("Showing card shadow.","coblocks"):(0,le.__)("Toggle to add a card shadow.","coblocks")}),T&&(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.sprintf)(
3700
  /* translators: %s: Placeholder is either 'Card, or 'Image' */
3701
  (0,le.__)(" %s shadow","coblocks"),T.charAt(0).toUpperCase()+T.slice(1)),checked:!!r,onChange:()=>n({hasImgShadow:!r}),help:r?(0,le.sprintf)(
3702
  /* translators: %s: placeholder is either 'Card, or 'Image' */
3773
  /* translators: abbreviation for extra large size */
3774
  (0,le.__)("XL","coblocks"),tooltip:
3775
  /* translators: label for extra large size option */
3776
+ (0,le.__)("Huge","coblocks")}],z=[{value:"square",label:(0,le.__)("Square","coblocks"),tooltip:(0,le.__)("Square","coblocks")},{value:"circle",label:(0,le.__)("Circle","coblocks"),tooltip:(0,le.__)("Circle","coblocks")}],T=[{value:"square",label:(0,le.__)("Square","coblocks"),tooltip:(0,le.__)("Square","coblocks")},{value:"four-to-three",label:(0,le.__)("4:3","coblocks"),tooltip:(0,le.__)("4:3 Aspect ratio","coblocks")},{value:"sixteen-to-nine",label:(0,le.__)("16:9","coblocks"),tooltip:(0,le.__)("16:9 Aspect ratio","coblocks")},{value:"circle",label:(0,le.__)("Circle","coblocks"),tooltip:(0,le.__)("Circle","coblocks")}],P=e=>{r({columns:e>w?w:e})};C&&m>2&&P(2);const N=(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Posts settings","coblocks")},(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Post date","coblocks"),checked:p,help:p?(0,le.__)("Showing the publish date.","coblocks"):(0,le.__)("Toggle to show the publish date.","coblocks"),onChange:()=>r({displayPostDate:!p})}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Post content","coblocks"),checked:h,help:h?(0,le.__)("Showing the post content.","coblocks"):(0,le.__)("Toggle to show the post content.","coblocks"),onChange:()=>r({displayPostContent:!h})}),h&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Max words in content","coblocks"),value:b,onChange:e=>r({excerptLength:e}),min:5,max:75}),(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Columns","coblocks"),value:m,onChange:e=>{a(),P(e)},min:1,max:C?Math.min(2,i):Math.min(4,i),required:!0}),t.columns>=2&&(0,ie.createElement)(hc,e),u&&(0,ie.createElement)(Yo,{label:(0,le.__)("Thumbnail style","coblocks"),options:C?z:T,currentOption:f,onChange:e=>r({imageStyle:e})}),C&&u&&(0,ie.createElement)(Yo,{label:(0,le.__)("Thumbnail size","coblocks"),options:S,currentOption:g,onChange:e=>r({imageSize:e})}))),B=(0,ie.createElement)(Zt.QueryControls,{order:_,orderBy:k,categoriesList:c,selectedCategoryId:t.categories,categorySuggestions:c,selectedCategories:t.categories,onOrderChange:e=>r({order:e}),onOrderByChange:e=>r({orderBy:e}),onCategoryChange:e=>r({categories:""!==e?e:void 0})}),O=(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Feed settings","coblocks"),initialOpen:!s},(0,ie.createElement)(Zt.RadioControl,{selected:y,options:[{label:(0,le.__)("My blog","coblocks"),value:"internal"},{label:(0,le.__)("External feed","coblocks"),value:"external"}],onChange:e=>r({postFeedType:e})}),s||E&&(null==E?void 0:E.length)>0?(0,ie.createElement)(ie.Fragment,null,"internal"===y&&d?(()=>{const e=c.reduce(((e,t)=>({...e,[t.name]:t})),{}),o=c.reduce(((e,t)=>({...e,[t.name]:t})),{});return(0,ie.createElement)(Zt.QueryControls,{order:_,orderBy:k,categorySuggestions:e,selectedCategories:t.categories,onOrderChange:e=>r({order:e}),onOrderByChange:e=>r({orderBy:e}),onCategoryChange:e=>{const t=e.reduce(((e,t)=>{if("string"==typeof t){const n=o[t];n&&e.push(n)}else e.push(t);return e}),[]);r({categories:t}),e.length<2&&r({categoryRelation:"or"})}})})():B,E&&E.length>1&&(0,ie.createElement)(Zt.RadioControl,{label:(0,le.__)("Category relation","coblocks"),help:(0,le.__)("The logical relationship between each category when there is more than one.","coblocks"),selected:x,options:[{label:(0,le.__)("Or","coblocks"),value:"or"},{label:(0,le.__)("And","coblocks"),value:"and"}],onChange:e=>r({categoryRelation:e})}),(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Number of posts","coblocks"),value:w,onChange:e=>(e=>{const t={postsToShow:e};(m>e||1===e&&1!==m)&&Object.assign(t,{columns:e}),r(t)})(e),min:1,max:20})):null);return(0,ie.createElement)(Yt.InspectorControls,null,s?(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:"block-editor-block-styles coblocks-editor-block-styles"},n.map((e=>(0,ie.createElement)("div",{key:`style-${e.name}`,className:Ut()("block-editor-block-styles__item",{"is-active":o===e}),onClick:()=>{"horizontal"===e.name&&["four-to-three","sixteen-to-nine"].includes(f)&&r({imageStyle:"square"}),l(e)},onKeyDown:t=>{xo.ENTER!==t.keyCode&&xo.SPACE!==t.keyCode||(t.preventDefault(),l(e))},role:"button",tabIndex:"0","aria-label":e.label||e.name},(0,ie.createElement)("div",{className:"block-editor-block-styles__item-preview"},"left"===v&&e.iconAlt?e.iconAlt:e.icon),(0,ie.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label||e.name)))))):null,s?N:null,O)};const Sb={};Sb.styleHorizontalImageRight=(0,ie.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 26",height:"26",width:"56"},(0,ie.createElement)(Zt.Path,{d:"m48 11.0910645v-10.00000005h-10v10.00000005zm-40-6.00000005h24v-2h-24zm0 4v-2h18v2zm40 16.00000005h-10v-10h10zm-40-6v-2h24v2zm0 4v-2h18v2z"})),Sb.styleHorizontalImageLeft=(0,ie.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 26",height:"26",width:"56"},(0,ie.createElement)(Zt.Path,{d:"m18 11.0910645v-10.00000005h-10v10.00000005zm6-6.00000005h24v-2h-24zm0 4v-2h18v2zm-6 16.00000005h-10v-10h10zm6-6v-2h24v2zm0 4v-2h18v2z"})),Sb.styleStacked=(0,ie.createElement)(Zt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 26",height:"26",width:"56"},(0,ie.createElement)(Zt.Path,{d:"m26 17v-16h-16v16zm-16 4h10v-2h-10zm0 4v-2h10v2zm36-8h-16v-16h16zm-16 4v-2h10v2zm0 4v-2h10v2z"}));var zb=Sb;const Tb={per_page:-1},Pb=wp.tokenList,Nb=[{name:"stacked",
3777
  /* translators: block style */
3778
  label:(0,le.__)("Stacked","coblocks"),icon:zb.styleStacked,isDefault:!0},{name:"horizontal",
3779
  /* translators: block style */
3810
  /* translators: block keyword */
3811
  (0,le.__)("landing","coblocks"),
3812
  /* translators: block keyword */
3813
+ (0,le.__)("comparison","coblocks")],parent:["coblocks/pricing-table"],supports:{html:!1,inserter:!1,reusable:!1},attributes:pg,transforms:dg,edit:sg,save:e=>{let{attributes:t}=e;const{amount:o,currency:n,customBackgroundColor:l,customTextColor:r,features:a,backgroundColor:c,textColor:i,title:s}=t,u=(0,Yt.getColorClassName)("background-color",c),d=(0,Yt.getColorClassName)("color",i),m=Ut()({"has-background":c||l,[u]:u,"has-text-color":i||r,[d]:d}),h={backgroundColor:u?void 0:l,color:d?void 0:r};return(e=>{const t=["title","features","currency","amount"],o=Object.entries(e).filter((e=>{let[o]=e;return t.includes(o)}));return re((0,gr.Z)(o))})(t)?null:(0,ie.createElement)("div",{className:m,style:h},!Yt.RichText.isEmpty(s)&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__title",value:s}),!Yt.RichText.isEmpty(o)&&(0,ie.createElement)("div",{className:"wp-block-coblocks-pricing-table-item__price-wrapper"},!Yt.RichText.isEmpty(n)&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__currency",value:n}),(0,ie.createElement)(Yt.RichText.Content,{tagName:"span",className:"wp-block-coblocks-pricing-table-item__amount",value:o})),!Yt.RichText.isEmpty(a)&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"ul",multiline:"li",className:"wp-block-coblocks-pricing-table-item__features",value:a}),(0,ie.createElement)(Yt.InnerBlocks.Content,null))}};var gg=JSON.parse('{"name":"coblocks/row","category":"layout","attributes":{"id":{"type":"number"},"columns":{"type":"number"},"layout":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"verticalAlignment":{"type":"string"}}}');const{attributes:fg}=gg,vg=[{attributes:fg,save:function(e){let{attributes:t}=e;const{coblocks:o,backgroundColor:n,backgroundImg:l,columns:r,customBackgroundColor:a,customTextColor:c,gutter:i,id:s,layout:u,isStackedOnMobile:d,marginSize:m,paddingSize:h,textColor:p,focalPoint:b,hasParallax:g,backgroundType:f}=t,v=(0,Yt.getColorClassName)("color",p),_=(0,Yt.getColorClassName)("background-color",n);let k={};o&&void 0!==o.id&&(k=Object.assign(k,[`coblocks-row-${o.id}`]),k=Object.assign(k,[`coblocks-row--${s}`]));const y=Ut()(k),w=["wp-block-coblocks-row__inner",...Vr(t),{"has-text-color":p||c},{[v]:v},{[`has-${i}-gutter`]:i},{"has-padding":h&&"no"!==h},{[`has-${h}-padding`]:!["advanced"].includes(h)},{"has-margin":m&&"no"!==m},{[`has-${m}-margin`]:!["advanced"].includes(m)},{"is-stacked-on-mobile":d}],E={backgroundColor:_?void 0:a,backgroundImage:l&&"image"===f?`url(${l})`:void 0,backgroundPosition:b&&!g?`${100*b.x}% ${100*b.y}%`:void 0,color:v?void 0:c};return(0,ie.createElement)("div",{className:y,"data-id":s,"data-columns":r,"data-layout":u},Qr(t),(0,ie.createElement)("div",{className:w,style:E},(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}},{attributes:{isStackedOnMobile:{type:"boolean",default:!0},...fg},save:function(e){let{attributes:t}=e;const{coblocks:o,backgroundColor:n,backgroundImg:l,columns:r,customBackgroundColor:a,customTextColor:c,gutter:i,id:s,layout:u,isStackedOnMobile:d,marginSize:m,paddingSize:h,textColor:p}=t,b=(0,Yt.getColorClassName)("color",p),g=(0,Yt.getColorClassName)("background-color",n);let f={"has-text-color":p||c,[b]:b};o&&void 0!==o.id&&(f=Object.assign(f,[`coblocks-row-${o.id}`]));const v=Ut()(f),_={color:b?void 0:c},k=["wp-block-coblocks-row__inner",...Vr(t),{[`has-${i}-gutter`]:i},{"has-padding":h&&"no"!==h},{[`has-${h}-padding`]:!["advanced"].includes(h)},{"has-margin":m&&"no"!==m},{[`has-${m}-margin`]:!["advanced"].includes(m)},{"is-stacked-on-mobile":d}],y={backgroundColor:g?void 0:a,backgroundImage:l?`url(${l})`:void 0};return(0,ie.createElement)("div",{className:v,"data-id":s,"data-columns":r,"data-layout":u,style:_},(0,ie.createElement)("div",{className:k,style:y},(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}}];var _g=vg;const kg={};kg.row=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.Path,{d:"m16 0h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14zm0 4h-14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm0 6h-14v-4h14z",transform:"translate(3 3)"})),kg.layout=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m10 0h2v18h-2z"}))),kg.columns=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",role:"img",focusable:"false",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}))),kg.colOne=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z"})),kg.colTwo=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}))),kg.colThree=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m16 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m32 2h2v22h-2z"}))),kg.colFour=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m12 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m36 2h2v22h-2z"}))),kg.layout5050=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}))),kg.layout7525=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m34 2h2v22h-2z"}))),kg.layout2575=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m14 2h2v22h-2z"}))),kg.layout6633=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m32 2h2v22h-2z"}))),kg.layout3366=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m16 2h2v22h-2z"}))),kg.layout333333=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m32 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m16 2h2v22h-2z"}))),kg.layout502525=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m36 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}))),kg.layout252550=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m11 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}))),kg.layout255025=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m11 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m37 2h2v22h-2z"}))),kg.layout206020=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m8 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m40 2h2v22h-2z"}))),kg.layout25252525=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m12 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m24 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m36 2h2v22h-2z"}))),kg.layout40202020=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m18 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m28 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m38 2h2v22h-2z"}))),kg.layout20202040=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"26",viewBox:"0 0 50 26",width:"50",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"matrix(-1 0 0 -1 50 26)"},(0,ie.createElement)(Zt.Path,{d:"m48.0833333 0h-46.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v22c0 1.1.8625 2 1.91666667 2h46.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-22c0-1.1-.8625-2-1.9166667-2zm0 24h-46.16666663v-22h46.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m39 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m30 2h2v22h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m20 2h2v22h-2z"}))),kg.smallLayout5050=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}))),kg.smallLayout7525=(0,ie.createElement)(Zt.SVG,{"aria-hidden":!0,className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m10 0h2v18h-2z"}))),kg.smallLayout2575=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m6 0h2v18h-2z"}))),kg.smallLayout3366=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m5 0h2v18h-2z"}))),kg.smallLayout6633=(0,ie.createElement)(Zt.SVG,{className:"dashicon",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m11 0h2v18h-2z"}))),kg.smallLayout333333=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m5 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m11 0h2v18h-2z"}))),kg.smallLayout502525=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m12 0h2v18h-2z"}))),kg.smallLayout252550=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m4 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}))),kg.smallLayout255025=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m5 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m11 0h2v18h-2z"}))),kg.smallLayout206020=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m4 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m12 0h2v18h-2z"}))),kg.smallLayout25252525=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m4 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m8 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m12 0h2v18h-2z"}))),kg.smallLayout40202020=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m7 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m10 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m13 0h2v18h-2z"}))),kg.smallLayout20202040=(0,ie.createElement)(Zt.SVG,{height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"translate(3 3)"},(0,ie.createElement)(Zt.Path,{d:"m16.0833333 0h-14.16666663c-1.05416667 0-1.91666667.9-1.91666667 2v14c0 1.1.8625 2 1.91666667 2h14.16666663c1.0541667 0 1.9166667-.9 1.9166667-2v-14c0-1.1-.8625-2-1.9166667-2zm0 16h-14.16666663v-14h14.16666663z",fillRule:"nonzero"}),(0,ie.createElement)(Zt.Path,{d:"m3 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m6 0h2v18h-2z"}),(0,ie.createElement)(Zt.Path,{d:"m9 0h2v18h-2z"})));var yg=kg;const wg={2:[{key:"50-50",name:(0,le.__)("Equal split","coblocks"),icon:yg.layout5050,smallIcon:yg.smallLayout5050},{key:"66-33",name:(0,le.__)("Two thirds / one third","coblocks"),icon:yg.layout6633,smallIcon:yg.smallLayout6633},{key:"33-66",name:(0,le.__)("One third / two thirds","coblocks"),icon:yg.layout3366,smallIcon:yg.smallLayout3366},{key:"75-25",name:(0,le.__)("Three quarters / quarter","coblocks"),icon:yg.layout7525,smallIcon:yg.smallLayout7525},{key:"25-75",name:(0,le.__)("Quarter / three quarters","coblocks"),icon:yg.layout2575,smallIcon:yg.smallLayout2575}],3:[{key:"33-33-33",name:(0,le.__)("Thirds","coblocks"),icon:yg.layout333333,smallIcon:yg.smallLayout333333},{key:"50-25-25",name:(0,le.__)("Half / quarter / quarter","coblocks"),icon:yg.layout502525,smallIcon:yg.smallLayout502525},{key:"25-25-50",name:(0,le.__)("Quarter / quarter/ half","coblocks"),icon:yg.layout252550,smallIcon:yg.smallLayout252550},{key:"25-50-25",name:(0,le.__)("Quarter / half / quarter","coblocks"),icon:yg.layout255025,smallIcon:yg.smallLayout255025},{key:"20-60-20",name:(0,le.__)("One fifth/ three fifths / one fifth","coblocks"),icon:yg.layout206020,smallIcon:yg.smallLayout206020}],4:[{key:"25-25-25-25",name:(0,le.__)("Quarters","coblocks"),icon:yg.layout25252525,smallIcon:yg.smallLayout25252525},{key:"40-20-20-20",name:(0,le.__)("Two fifths / fifth / fifth / fifth","coblocks"),icon:yg.layout40202020,smallIcon:yg.smallLayout40202020},{key:"20-20-20-40",name:(0,le.__)("Fifth / fifth / fifth / two fifths","coblocks"),icon:yg.layout20202040,smallIcon:yg.smallLayout20202040}]},Eg=["coblocks/column"],xg={100:[["coblocks/column",{width:"100"}]],"50-50":[["coblocks/column",{width:"50"}],["coblocks/column",{width:"50"}]],"25-75":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"75"}]],"75-25":[["coblocks/column",{width:"75"}],["coblocks/column",{width:"25"}]],"66-33":[["coblocks/column",{width:"66"}],["coblocks/column",{width:"33"}]],"33-66":[["coblocks/column",{width:"33"}],["coblocks/column",{width:"66"}]],"33-33-33":[["coblocks/column",{width:"33.33"}],["coblocks/column",{width:"33.33"}],["coblocks/column",{width:"33.33"}]],"50-25-25":[["coblocks/column",{width:"50"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],"25-25-50":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"50"}]],"25-50-25":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"50"}],["coblocks/column",{width:"25"}]],"20-60-20":[["coblocks/column",{width:"20"}],["coblocks/column",{width:"60"}],["coblocks/column",{width:"20"}]],"25-25-25-25":[["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],"40-20-20-20":[["coblocks/column",{width:"40"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}]],"20-20-20-40":[["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"20"}],["coblocks/column",{width:"40"}]]};var Cg=(0,Yt.withColors)("backgroundColor",{textColor:"color"});const{getComputedStyle:Sg}=window,zg=(0,Zt.withFallbackStyles)(((e,t)=>{const{backgroundColor:o}=t.attributes,n=e.querySelector('[contenteditable="true"]'),l=n?Sg(n):null;return{fallbackBackgroundColor:o||!l?void 0:l.backgroundColor}}));var Tg=(0,Kt.compose)([Cg,zg])((e=>{const{attributes:t,backgroundColor:o,clientId:n,setAttributes:l,setBackgroundColor:r,setTextColor:a,textColor:c,updateBlockAttributes:i,getBlocksByClientId:s}=e,{columns:u,layout:d,marginBottom:m,marginLeft:h,marginRight:p,marginSize:b,marginTop:g,marginBottomTablet:f,marginLeftTablet:v,marginRightTablet:_,marginTopTablet:k,marginBottomMobile:y,marginLeftMobile:w,marginRightMobile:E,marginTopMobile:x,marginSyncUnits:C,marginSyncUnitsTablet:S,marginSyncUnitsMobile:z,marginUnit:T,paddingBottom:P,paddingLeft:N,paddingRight:B,paddingSize:O,paddingTop:R,paddingBottomTablet:M,paddingLeftTablet:A,paddingRightTablet:L,paddingTopTablet:I,paddingBottomMobile:D,paddingLeftMobile:F,paddingRightMobile:V,paddingTopMobile:j,paddingSyncUnits:G,paddingSyncUnitsTablet:$,paddingSyncUnitsMobile:H,paddingUnit:U,hasMarginControl:W}=t;let q=1;u&&(q=parseInt(u.toString().split("-")));const Y=e=>{const t=e.toString().split("-"),o=s(n);l({layout:e}),void 0!==o[0].innerBlocks&&Nc()(o[0].innerBlocks,((e,o)=>i(e.clientId,{width:t[o]})))};return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,u&&q>=1&&(0,ie.createElement)(ie.Fragment,null,d&&(0,ie.createElement)(ie.Fragment,null,q>1&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:Ut()("block-editor-block-styles","coblocks-editor-block-styles")},Nc()(wg[q],(e=>{let{name:t,key:o,icon:n}=e;return(0,ie.createElement)("div",{key:`style-${t}`,className:Ut()("block-editor-block-styles__item",{"is-active":d===o}),onClick:()=>Y(o),onKeyPress:()=>Y(o),role:"button",tabIndex:"0","aria-label":t},(0,ie.createElement)("div",{className:"block-editor-block-styles__item-preview"},n))})))),d&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Row settings","coblocks")},q>=2&&(0,ie.createElement)(hc,e),(0,ie.createElement)(Ac,Ft({},e,{type:"padding",label:(0,le.__)("Padding","coblocks"),help:(0,le.__)("Space inside of the container.","coblocks"),valueTop:R,valueRight:B,valueBottom:P,valueLeft:N,valueTopTablet:I,valueRightTablet:L,valueBottomTablet:M,valueLeftTablet:A,valueTopMobile:j,valueRightMobile:V,valueBottomMobile:D,valueLeftMobile:F,unit:U,syncUnits:G,syncUnitsTablet:$,syncUnitsMobile:H,dimensionSize:O})),W&&(0,ie.createElement)(Ac,Ft({},e,{type:"margin",label:(0,le.__)("Margin","coblocks"),help:(0,le.__)("Space around the container.","coblocks"),valueTop:g,valueRight:p,valueBottom:m,valueLeft:h,valueTopTablet:k,valueRightTablet:_,valueBottomTablet:f,valueLeftTablet:v,valueTopMobile:x,valueRightMobile:E,valueBottomMobile:y,valueLeftMobile:w,unit:T,syncUnits:C,syncUnitsTablet:S,syncUnitsMobile:z,dimensionSize:b}))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:o.color,onChange:e=>{r(e),O&&"no"!==O||l({paddingSize:"medium"}),e||l({paddingSize:"no"})},label:(0,le.__)("Background color","coblocks")},{value:c.color,onChange:a,label:(0,le.__)("Text color","coblocks")}]}),(0,ie.createElement)(Xr,Ft({},e,{hasOverlay:!0})))))))})),Pg=e=>{const{clientId:t,attributes:o,setAttributes:n,getBlocksByClientId:l,updateBlockAttributes:r}=e,{columns:a,layout:c,verticalAlignment:i}=o;let s=1;return a&&(s=parseInt(a.toString().split("-"))),c?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,a&&s>1&&(0,ie.createElement)(Zt.ToolbarGroup,{isCollapsed:!0,icon:(()=>{let e=1;return a&&(e=parseInt(a.toString().split("-"))),void 0===c?yg.layout:Nc()(wg[e],(e=>{let{key:t,smallIcon:o}=e;return t===c?o:""}))})(),label:(0,le.__)("Change row block layout","coblocks"),controls:Nc()(wg[s],(e=>{let{name:o,key:a,smallIcon:i}=e;return{title:o,key:a,icon:i,isActive:a===c,onClick:()=>{const e=a.toString().split("-"),o=l(t);n({layout:a}),void 0!==o[0].innerBlocks&&Nc()(o[0].innerBlocks,((t,o)=>r(t.clientId,{width:e[o]})))}}}))}),(0,ie.createElement)(Yt.BlockVerticalAlignmentToolbar,{onChange:e=>{const o=l(t);n({verticalAlignment:e}),void 0!==o[0].innerBlocks&&Nc()(o[0].innerBlocks,(t=>r(t.clientId,{verticalAlignment:e})))},value:i}),c&&jr(e))):null};const Ng=(0,co.withDispatch)((e=>{const{updateBlockAttributes:t}=e("core/block-editor");return{updateBlockAttributes:t}})),Bg=(0,co.withSelect)(((e,t)=>{const{getBlocks:o,getBlocksByClientId:n}=e("core/block-editor"),{getBlockType:l,getBlockVariations:r,getDefaultBlockVariation:a}=e("core/blocks"),c=o(t.clientId),{replaceInnerBlocks:i}=(0,co.useDispatch)("core/block-editor");return{innerBlocks:c,hasInnerBlocks:e("core/block-editor").getBlocks(t.clientId).length>0,blockType:l(t.name),defaultVariation:void 0===a?null:a(t.name),variations:void 0===r?null:r(t.name),replaceInnerBlocks:i,getBlocksByClientId:n}}));var Og=(0,Kt.compose)(Cg,Bg,Ng)((e=>{const{attributes:t,isSelected:o,setAttributes:n,className:l,variations:r,hasInnerBlocks:a,defaultVariation:c,replaceInnerBlocks:i,blockType:s,textColor:u,backgroundColor:d,clientId:m}=e,{columns:h,layout:p,id:b,backgroundImg:g,coblocks:f,paddingSize:v,marginSize:_,marginUnit:k,marginTop:y,marginRight:w,marginBottom:E,marginLeft:x,paddingUnit:C,paddingTop:S,backgroundType:z,hasParallax:T,focalPoint:P,paddingRight:N,paddingBottom:B,isStackedOnMobile:O,paddingLeft:R,verticalAlignment:M}=t,A=(0,Kt.usePrevious)(a),[L,I]=(0,ie.useState)(!0);(0,ie.useEffect)((()=>{A&&!a&&(I(!0),n({layout:null,columns:null}))}),[a,A]);const D=e=>Nc()(e,(e=>{let[t,o,n=[]]=e;return(0,ne.createBlock)(t,o,D(n))})),F=()=>!!ne.registerBlockVariation,V=(0,ie.createElement)($r,Ft({},e,{label:(0,le.__)("Add background to row","coblocks")})),j=[{columns:1,name:(0,le.__)("One column","coblocks"),icon:yg.colOne,key:"100"},{columns:2,name:(0,le.__)("Two columns","coblocks"),icon:yg.colTwo},{columns:3,name:(0,le.__)("Three columns","coblocks"),icon:yg.colThree},{columns:4,name:(0,le.__)("Four columns","coblocks"),icon:yg.colFour}];let G=1;if(h&&(G=parseInt(h.toString().split("-"))),!p&&L&&!F())return(0,ie.createElement)(ie.Fragment,null,o&&(0,ie.createElement)(Pg,e),o&&(0,ie.createElement)(Tg,e),(0,ie.createElement)(Zt.Placeholder,{key:"placeholder",className:"components-coblocks-row-placeholder",icon:(0,ie.createElement)(Zt.Icon,{icon:ft}),label:h?(0,le.__)("Row layout","coblocks"):(0,le.__)("Row","coblocks"),instructions:h?(0,le.sprintf)(
3814
  /* translators: %s: 'one' 'two' 'three' and 'four' */
3815
+ (0,le.__)("Select a layout for this %s column row.","coblocks"),($=h,1===$?(0,le.__)("one","coblocks"):2===$?(0,le.__)("two","coblocks"):3===$?(0,le.__)("three","coblocks"):4===$?(0,le.__)("four","coblocks"):void 0)):(0,le.__)("Select the number of columns for this row.","coblocks")},h?(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ButtonGroup,{"aria-label":(0,le.__)("Select row layout","coblocks"),className:"block-editor-inner-blocks__template-picker-options block-editor-block-pattern-picker__patterns"},(0,ie.createElement)(Zt.Button,{icon:"exit",className:"components-coblocks-row-placeholder__back",onClick:()=>{n({columns:null}),I(!0)},label:(0,le.__)("Back to columns","coblocks")}),Nc()(wg[G],(e=>(0,ie.createElement)(Zt.Tooltip,{text:e.name},(0,ie.createElement)("div",{className:"components-coblocks-row-placeholder__button-wrapper"},(0,ie.createElement)(Zt.Button,{key:e.key,className:"components-coblocks-row-placeholder__button block-editor-inner-blocks__template-picker-option block-editor-block-pattern-picker__pattern",isSecondary:!0,onClick:()=>{n({layout:e.key}),I(!1)}},e.icon))))))):(0,ie.createElement)(Zt.ButtonGroup,{"aria-label":(0,le.__)("Select row columns","coblocks"),className:"block-editor-inner-blocks__template-picker-options block-editor-block-pattern-picker__patterns"},Nc()(j,(e=>(0,ie.createElement)(Zt.Tooltip,{text:e.name},(0,ie.createElement)("div",{className:"components-coblocks-row-placeholder__button-wrapper"},(0,ie.createElement)(Zt.Button,{className:"components-coblocks-row-placeholder__button block-editor-inner-blocks__template-picker-option block-editor-block-pattern-picker__pattern",isSecondary:!0,onClick:()=>{n({columns:e.columns,layout:1===e.columns?e.key:null}),1===e.columns&&I(!1)}},e.icon))))))));var $;let H=Ut()(l,{[`coblocks-row--${b}`]:b});f&&void 0!==f.id&&(H=Ut()(H,`coblocks-row-${f.id}`));const U=Ut()("wp-block-coblocks-row__inner",...Vr(t),{"has-text-color":u.color,"has-padding":v&&"no"!==v,[`has-${v}-padding`]:v&&"advanced"!==v,"has-margin":_&&"no"!==_,[`has-${_}-margin`]:_&&"advanced"!==_,"is-stacked-on-mobile":O,[`are-vertically-aligned-${M}`]:M}),W={backgroundColor:d.color,backgroundImage:g&&"image"===z?`url(${g})`:void 0,backgroundPosition:P&&!T?`${100*P.x}% ${100*P.y}%`:void 0,color:u.color,paddingTop:"advanced"===v&&S?S+C:void 0,paddingRight:"advanced"===v&&N?N+C:void 0,paddingBottom:"advanced"===v&&B?B+C:void 0,paddingLeft:"advanced"===v&&R?R+C:void 0,marginTop:"advanced"===_&&y?y+k:void 0,marginRight:"advanced"===_&&w?w+k:void 0,marginBottom:"advanced"===_&&E?E+k:void 0,marginLeft:"advanced"===_&&x?x+k:void 0};if(a||p){const n=()=>(0,ie.createElement)(Yt.InnerBlocks,{template:xg[p],templateLock:"all",allowedBlocks:Eg,templateInsertUpdatesSelection:1===h,renderAppender:()=>null}),l=()=>(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:Eg,templateInsertUpdatesSelection:1===h,renderAppender:()=>null,templateLock:"all"});return(0,ie.createElement)(ie.Fragment,null,V,o&&(0,ie.createElement)(Pg,e),o&&(0,ie.createElement)(Tg,e),(0,ie.createElement)("div",{className:H},(0,Mt.isBlobURL)(g)&&(0,ie.createElement)(Zt.Spinner,null),(0,ie.createElement)(rc,t,(0,ie.createElement)("div",{className:U,style:W},Qr(t),F()?l():n()))))}return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.__experimentalBlockVariationPicker,{icon:Bt()(s,["icon","src"]),label:Bt()(s,["title"]),instructions:(0,le.__)("Select a variation to start with.","coblocks"),variations:r,allowSkip:!0,onSelect:e=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;e.attributes&&n(e.attributes),e.innerBlocks&&i(m,D(e.innerBlocks))}(e)}))}));function Rg(e){let t;switch(e){default:t="50-50";break;case 3:t="33-33-33";break;case 4:t="25-25-25-25"}return t}var Mg={from:[{type:"prefix",prefix:":row",transform:e=>(0,ne.createBlock)(gg.name,{content:e})},...[2,3,4].map((e=>({type:"prefix",prefix:Array(e+1).join(":")+"row",transform:t=>(0,ne.createBlock)(gg.name,{content:t,columns:e,layout:Rg(e)})})))]},Ag=[{name:"one-column",title:(0,le.__)("100","coblocks"),icon:yg.colOne,attributes:{columns:1,layout:"100"},isDefault:!0,innerBlocks:[["coblocks/column",{width:"100"}]],scope:["block"]},{name:"two-column-split",title:(0,le.__)("50 / 50","coblocks"),icon:yg.layout5050,attributes:{columns:2,layout:"50-50"},innerBlocks:[["coblocks/column",{width:"50"}],["coblocks/column",{width:"50"}]],scope:["block"]},{name:"two-column-third",title:(0,le.__)("66 / 33","coblocks"),icon:yg.layout6633,attributes:{columns:2,layout:"66-33"},innerBlocks:[["coblocks/column",{width:"66"}],["coblocks/column",{width:"33"}]],scope:["block"]},{name:"three-column",title:(0,le.__)("Thirds","coblocks"),icon:yg.layout502525,attributes:{columns:3,layout:"50-25-25"},innerBlocks:[["coblocks/column",{width:"50"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],scope:["block"]},{name:"four-column",title:(0,le.__)("Quarters","coblocks"),icon:yg.layout25252525,attributes:{columns:4,layout:"25-25-25-25"},innerBlocks:[["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}],["coblocks/column",{width:"25"}]],scope:["block"]}];const{name:Lg,category:Ig}=gg,Dg={...Cc,...Fr,...gg.attributes},Fg={
3816
  /* translators: block name */
3817
  title:(0,le.__)("Row","coblocks"),
3818
  /* translators: block description */
3822
  /* translators: block keyword */
3823
  (0,le.__)("columns","coblocks"),
3824
  /* translators: block keyword */
3825
+ (0,le.__)("layouts","coblocks")],supports:{align:["wide","full"],anchor:!0,gutter:{default:"medium",customDefault:.8},stackedOnMobile:!0,coBlocksSpacing:!0},attributes:Dg,variations:Ag,transforms:Mg,edit:Og,getEditWrapperProps:e=>{const{id:t,layout:o,columns:n,hasAlignmentControls:l}=e;return o?!1===l?{"data-align":""}:{"data-id":t,"data-columns":n,"data-layout":o}:{"data-id":t,"data-columns":n,"data-layout":"none"}},save:function(e){let{attributes:t}=e;const{coblocks:o,backgroundColor:n,backgroundImg:l,columns:r,customBackgroundColor:a,customTextColor:c,id:i,layout:s,isStackedOnMobile:u,marginSize:d,paddingSize:m,textColor:h,focalPoint:p,hasParallax:b,backgroundType:g,verticalAlignment:f}=t,v=(0,Yt.getColorClassName)("color",h),_=(0,Yt.getColorClassName)("background-color",n);let k=Ut()({[`coblocks-row--${i}`]:i});o&&void 0!==o.id&&(k=Ut()(k,`coblocks-row-${o.id}`));const y=["wp-block-coblocks-row__inner",...Vr(t),{"has-text-color":h||c},{[v]:v},{"has-padding":m&&"no"!==m},{[`has-${m}-padding`]:!["advanced"].includes(m)},{"has-margin":d&&"no"!==d},{[`has-${d}-margin`]:!["advanced"].includes(d)},{"is-stacked-on-mobile":u},{[`are-vertically-aligned-${f}`]:f}],w={backgroundColor:_?void 0:a,backgroundImage:l&&"image"===g?`url(${l})`:void 0,backgroundPosition:p&&!b?`${100*p.x}% ${100*p.y}%`:void 0,color:v?void 0:c};return(0,ie.createElement)("div",{className:k,"data-id":i,"data-columns":r,"data-layout":s},(0,ie.createElement)(rc,t,(0,ie.createElement)("div",{className:Ut()(y),style:w},Qr(t),(0,ie.createElement)(Yt.InnerBlocks.Content,null))))},deprecated:_g};var Vg=e=>{const{attributes:t,setAttributes:o,onToggleCta:n}=e;return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Service settings","coblocks")},(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Display button","coblocks"),help:t.showCta?(0,le.__)("Showing the call to action button.","coblocks"):(0,le.__)("Toggle to show a call to action button.","coblocks"),checked:t.showCta,onChange:n})),t.imageUrl&&(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Image settings","coblocks"),initialOpen:!1},(0,ie.createElement)(Zt.TextareaControl,{label:(0,le.__)("Alt text (alternative text)","coblocks"),value:t.imageAlt,onChange:e=>o({imageAlt:e}),help:(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,le.__)("Describe the purpose of the image","coblocks")),(0,le.__)("Leave empty if the image is purely decorative.","coblocks"))}),(0,ie.createElement)(Zt.FocalPointPicker,{label:(0,le.__)("Focal point","coblocks"),url:t.imageUrl,value:t.focalPoint,onChange:e=>o({focalPoint:e})})))};const jg={};jg.service43=(0,ie.createElement)(Zt.SVG,{height:"32",viewBox:"0 0 56 32",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m0 3h24v19.253906h-24z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 24h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 28h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{d:"m32 3h24v19.253906h-24z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 24h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 28h16v.8785807 1.1214193h-16z"}))),jg.service169=(0,ie.createElement)(Zt.SVG,{height:"32",viewBox:"0 0 56 32",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m0 5h24v14h-24z"}),(0,ie.createElement)(Zt.Path,{d:"m32 5h24v14h-24z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 21h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 21h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 25h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 25h16v.8785807 1.1214193h-16z"}))),jg.serviceSquare=(0,ie.createElement)(Zt.SVG,{height:"32",viewBox:"0 0 56 32",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)(Zt.Path,{d:"m0 0h24v24h-24z"}),(0,ie.createElement)(Zt.Path,{d:"m32 0h24v24h-24z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 26h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 26h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 30h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 30h16v.8785807 1.1214193h-16z"}))),jg.serviceCircle=(0,ie.createElement)(Zt.SVG,{height:"32",viewBox:"0 0 56 32",width:"56",xmlns:"http://www.w3.org/2000/svg"},(0,ie.createElement)(Zt.G,{fill:"currentColor",fillRule:"evenodd"},(0,ie.createElement)("circle",{cx:"12",cy:"12",r:"12"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 26h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 26h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m0 30h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)(Zt.Path,{className:"service-svg-moving-path",d:"m32 30h16v.8785807 1.1214193h-16z"}),(0,ie.createElement)("circle",{cx:"44",cy:"12",r:"12"})));var Gg=jg;const $g=["coblocks/service"],Hg=[["coblocks/service"]],Ug=["core/heading","core/buttons","core/paragraph"],Wg=[{name:"threebyfour",label:"4:3",icon:Gg.service43,isDefault:!0},{name:"sixbynine",label:"16:9",icon:Gg.service169},{name:"square",label:(0,le.__)("Square","coblocks"),icon:Gg.serviceSquare},{name:"circle",label:(0,le.__)("Circle","coblocks"),icon:Gg.serviceCircle,defaultAlign:"center"}];function qg(e,t){for(const o of new(od())(t).values()){if(-1===o.indexOf("is-style-"))continue;const t=o.substring(9),n=(0,Gt.find)(e,{name:t});if(n)return n}return(0,Gt.find)(e,"isDefault")}const Yg=e=>{const t=["columns","buttons"],o=Object.entries(e).filter((e=>{let[o]=e;return t.includes(o)}));return re((0,gr.Z)(o))},Kg=e=>{const t=["content"];let o=!0;return e.forEach((e=>{const n=Object.entries(e.attributes).filter((e=>{let[o]=e;return t.includes(o)}));re((0,gr.Z)(n))||(o=!1)})),o};var Zg=JSON.parse('{"name":"coblocks/service","category":"layout","attributes":{"headingLevel":{"type":"integer","default":3},"showCta":{"type":"boolean","default":false},"imageUrl":{"type":"string","source":"attribute","selector":"img","attribute":"src","default":""},"imageAlt":{"type":"string","source":"attribute","selector":"img","attribute":"alt","default":""},"imageId":{"type":"number"},"focalPoint":{"type":"object"},"alignment":{"type":"string","default":"none"},"href":{"type":"string","source":"attribute","selector":"figure > a","attribute":"href"},"rel":{"type":"string","source":"attribute","selector":"figure > a","attribute":"rel"},"linkClass":{"type":"string","source":"attribute","selector":"figure > a","attribute":"class"},"linkDestination":{"type":"string"},"linkTarget":{"type":"string","source":"attribute","selector":"figure > a","attribute":"target"}},"supports":{"anchor":true}}');const{name:Jg,category:Xg,attributes:Qg}=Zg,ef={
3826
  /* translators: block name */
3827
  title:(0,le.__)("Service","coblocks"),
3828
  /* translators: block description */
3829
+ description:(0,le.__)("A single service item within a services block.","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:vt}),keywords:[],supports:{reusable:!1,html:!1,inserter:!1},example:{attributes:{}},attributes:Qg,edit:e=>{const{attributes:t,clientId:o,setAttributes:n}=e,l=(0,co.useSelect)((e=>e("core/block-editor").getBlocks(o)),[]),r=(0,co.useSelect)((e=>e("core").getMedia(t.imageId)),[]),a=(0,co.useSelect)((t=>{const{getBlockHierarchyRootClientId:n,getSelectedBlockClientId:l}=t("core/block-editor"),r=n(o),a=n(l());return e.isSelected||r===a})),{updateBlockAttributes:c,insertBlock:i,removeBlocks:s}=(0,co.useDispatch)("core/block-editor"),u=(e,t)=>{l.forEach((o=>{o.name===e&&c(o.clientId,t)}))};(0,ie.useEffect)((()=>{u("core/heading",{level:t.headingLevel})}),[t.headingLevel]),(0,ie.useEffect)((()=>{u("core/buttons",{contentJustification:t.alignment})}),[t.alignment]),(0,ie.useEffect)((()=>{!function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=l.filter((e=>"core/button"===e.name));if(r.length){s(r.map((e=>e.clientId)),!1);const n=(0,ne.createBlock)(e,t,r);return void i(n,l.length,o,!1)}const a=l.filter((t=>t.name===e));if(!a.length&&n){const n=(0,ne.createBlock)("core/button",{}),r=(0,ne.createBlock)(e,t,[n]);i(r,l.length,o,!1)}a.length&&!n&&s(a.map((e=>e.clientId)),!1)}("core/buttons",{contentJustification:t.alignment},t.showCta)}),[t.showCta]);const d=e=>{n({imageUrl:e.url,imageAlt:e.alt,imageId:e.id})},{className:m}=e,{headingLevel:h,href:p,imageUrl:b,linkClass:g,linkDestination:f,linkTarget:v,rel:_,showCta:k,alignment:y}=t,w=[["core/heading",{placeholder:
3830
  /* translators: placeholder text for input box */
3831
  (0,le.__)("Write title…","coblocks"),level:h,textAlign:y}],["core/paragraph",{
3832
  /* translators: content placeholder */
3833
+ placeholder:(0,le.__)("Write description…","coblocks"),align:y}]];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.MediaReplaceFlow,{allowedTypes:["image"],mediaUrl:null,onSelect:e=>{d(e)}}),b&&(0,ie.createElement)(Yt.__experimentalImageURLInputUI,{url:p||"",onChangeUrl:e=>{let{href:t,...o}=e;const l={...o};void 0!==t&&(l.href=t),n(l)},linkDestination:f,mediaUrl:b,mediaLink:r&&r.link,linkTarget:v,linkClass:g,rel:_})),(0,ie.createElement)(Vg,{attributes:t,setAttributes:n,onToggleCta:()=>{n({showCta:!k})}}),(0,ie.createElement)("div",{className:m},b?(()=>{const e=Ut()("wp-block-coblocks-service__figure",{"is-transient":(0,Mt.isBlobURL)(t.imageUrl),"is-selected":a}),o=(0,ie.createElement)(Zt.DropZone,{onFilesDrop:d,label:(0,le.__)("Drop image to replace","coblocks")});return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)("figure",{className:e},a&&(0,ie.createElement)(Zt.ButtonGroup,{className:"block-library-gallery-item__inline-menu is-right is-visible"},(0,ie.createElement)(Yt.MediaUploadCheck,null,(0,ie.createElement)(Yt.MediaUpload,{allowedTypes:["image"],onSelect:e=>d(e),value:null==r?void 0:r.url,render:e=>{let{open:t}=e;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Zt.Button,{icon:_a,onClick:()=>n({imageUrl:"",imageAlt:"",imageId:null}),className:"coblocks-gallery-item__button",label:(0,le.__)("Remove image","coblocks"),disabled:!a}),(0,ie.createElement)(Zt.Button,{className:"coblocks-gallery-item__button-replace",onClick:t,label:(0,le.__)("Replace Image","coblocks")},(0,le.__)("Replace","coblocks")))}}))),o,(0,Mt.isBlobURL)(t.imageUrl)&&(0,ie.createElement)(Zt.Spinner,null),(0,ie.createElement)("img",{src:t.imageUrl,alt:t.imageAlt,style:{objectPosition:t.focalPoint?`${100*t.focalPoint.x}% ${100*t.focalPoint.y}%`:void 0}})))})():(0,ie.createElement)(Yt.MediaPlaceholder,{className:"wp-block-coblocks-service__figure",allowedTypes:["image"],multiple:!1,icon:"format-image",labels:{title:" "},onSelect:e=>n({imageUrl:e.url,imageAlt:e.alt,imageId:e.id})}),(0,ie.createElement)("div",{className:"wp-block-coblocks-service__content"},(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:Ug,template:w,templateLock:!1,templateInsertUpdatesSelection:!1}))))},save:function(e){let{className:t,attributes:o}=e;const{focalPoint:n,href:l,imageAlt:r,imageUrl:a,linkClass:c,linkTarget:i,rel:s}=o,u=(0,ie.createElement)("img",{src:a,alt:r,style:{objectPosition:n?`${100*n.x}% ${100*n.y}%`:void 0}}),d=(0,ie.createElement)("figure",{className:"wp-block-coblocks-service__figure"},l?(0,ie.createElement)("a",{className:c,href:l,target:i,rel:null!=s?s:void 0},u):u);return(0,ie.createElement)("div",{className:t},a&&d,(0,ie.createElement)("div",{className:"wp-block-coblocks-service__content"},(0,ie.createElement)(Yt.InnerBlocks.Content,null)))}};var tf=JSON.parse('{"name":"coblocks/services","category":"layout","attributes":{"columns":{"type":"integer","default":2},"alignment":{"type":"string","default":"none"},"headingLevel":{"type":"integer","default":3},"buttons":{"type":"boolean","default":false}}}');const of=[{attributes:{...tf.attributes},save(e){let{attributes:t,className:o}=e;return(0,ie.createElement)("div",{className:o,"data-columns":t.columns},(0,ie.createElement)(Yt.InnerBlocks.Content,null))}}];var nf=of,lf=e=>{const{attributes:t,setAttributes:o,activeStyle:n,layoutOptions:l,onToggleCtas:r,onUpdateStyle:a}=e;return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Styles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:Ut()("block-editor-block-styles","coblocks-editor-block-styles")},l.map((e=>(0,ie.createElement)("div",{key:`style-${e.name}`,className:Ut()("block-editor-block-styles__item",{"is-active":n===e},`align-${void 0===t.alignment||"none"===t.alignment?e.defaultAlign:t.alignment}`),onClick:()=>a(e),onKeyDown:t=>{xo.ENTER!==t.keyCode&&xo.SPACE!==t.keyCode||(t.preventDefault(),a(e))},role:"button",tabIndex:"0","aria-label":e.label||e.name},(0,ie.createElement)("div",{className:"block-editor-block-styles__item-preview"},e.icon),(0,ie.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label||e.name)))))),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Services settings","coblocks")},(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Columns","coblocks"),value:t.columns,min:1,max:4,onChange:e=>o({columns:e})}),t.columns>=2&&(0,ie.createElement)(hc,e),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Display buttons","coblocks"),className:"components-toggle-control--services-action-button",help:t.buttons?(0,le.__)("Showing the call to action buttons.","coblocks"):(0,le.__)("Toggle to show call to action buttons.","coblocks"),checked:t.buttons,onChange:r})))},rf={attributes:{},innerBlocks:[{name:"coblocks/service",attributes:{imageUrl:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"},innerBlocks:[{name:"core/heading",attributes:{content:(0,le.__)("Design","coblocks")}},{name:"core/paragraph",attributes:{content:(0,le.__)("We allow beautiful design to unfold as a reflection of a project’s unique vision, desires, and place in the landscape.","coblocks")}}]},{name:"coblocks/service",attributes:{imageUrl:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},innerBlocks:[{name:"core/heading",attributes:{content:(0,le.__)("Landscape","coblocks")}},{name:"core/paragraph",attributes:{content:(0,le.__)("We believe that the best innovative landscape architecture is a blend of both art and science, with a touch of wild.","coblocks")}}]}]};const{name:af,category:cf,attributes:sf}=tf,uf={
3834
  /* translators: block name */
3835
  title:(0,le.__)("Services","coblocks"),
3836
  /* translators: block description */
3837
  description:(0,le.__)("Add up to four columns of services to display.","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:_t}),keywords:["coblocks",
3838
  /* translators: block keyword */
3839
+ (0,le.__)("features","coblocks")],supports:{align:["wide","full"],gutter:{default:"medium",customDefault:1.6},reusable:!1,html:!1},example:rf,attributes:sf,edit:e=>{const{className:t,attributes:o,setAttributes:n,clientId:l}=e,{updateBlockAttributes:r,insertBlock:a,removeBlocks:c}=(0,co.useDispatch)("core/block-editor"),i=(0,co.useSelect)((e=>e("core/block-editor").getBlocks(l)),[]),s=(e,t)=>{i.forEach((o=>{o.name===e&&r(o.clientId,t)}))},u=e=>{n({alignment:e}),s("coblocks/service",{alignment:e})};(0,ie.useEffect)((()=>{"circle"!==qg(Wg,o.className).name||void 0!==o.alignment&&"none"!==o.alignment||u("center")}),[o.className]),(0,ie.useEffect)((()=>{const{buttons:t,headingLevel:o,alignment:n}=e;d("coblocks/service",{showCta:t,headingLevel:o,alignment:n})}),[o.columns,i]);const d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=i.filter((e=>!Yg(e.attributes)||!Kg(e.innerBlocks))),n=i.filter((e=>Yg(e.attributes)&&Kg(e.innerBlocks)));if(n.length+o.length>h&&c(n.filter(((e,t)=>0!==t)).map((e=>e.clientId)),!1),0===n.length||n.length+o.length<h){const o=(0,ne.createBlock)(e,t);a(o,i.length,l,!1)}},{alignment:m,columns:h}=o,p=Ut()("has-columns",{[`has-${h}-columns`]:h,"has-responsive-columns":h>1}),b=qg(Wg,t);return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(ds,{minLevel:2,maxLevel:6,selectedLevel:o.headingLevel,onChange:e=>{n({headingLevel:e}),s("coblocks/service",{headingLevel:e})}}),(0,ie.createElement)(Yt.AlignmentToolbar,{value:m,onChange:u})),(0,ie.createElement)(lf,{attributes:o,setAttributes:n,activeStyle:b,layoutOptions:Wg,onToggleCtas:()=>{const e=!o.buttons;n({buttons:e}),s("coblocks/service",{showCta:e})},onUpdateStyle:e=>{const l=qg(Wg,t),r=function(e,t,o){const n=new(od())(e);return t&&n.remove("is-style-"+t.name),n.add("is-style-"+o.name),n.value}(o.className,l,e);n({className:r})},onSetColumns:e=>{n({columns:parseInt(e)})}}),(0,ie.createElement)("div",{className:t},(0,ie.createElement)(rc,o,(0,ie.createElement)("div",{className:p},(0,ie.createElement)(Yt.InnerBlocks,{allowedBlocks:$g,template:Hg,orientation:o.columns>1?"horizontal":"vertical",templateInsertUpdatesSelection:!1,__experimentalCaptureToolbars:!0})))))},save:function(e){let{className:t,attributes:o}=e;const n=Ut()("has-columns",{[`has-${o.columns}-columns`]:o.columns,"has-responsive-columns":o.columns>1});return(0,ie.createElement)("div",{className:t},(0,ie.createElement)(rc,o,(0,ie.createElement)("div",{className:n},(0,ie.createElement)(Yt.InnerBlocks.Content,null))))},deprecated:nf},df={};df.wavy=(0,ie.createElement)(Zt.SVG,{className:"divider--wavy",viewBox:"0 0 100 10",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"m42.19.65c2.26-.25 5.15.04 7.55.53 2.36.49 7.09 2.35 10.05 3.57 7.58 3.22 13.37 4.45 19.26 4.97 2.36.21 4.87.35 10.34-.25s10.62-2.56 10.62-2.56v-6.91h-100.01v3.03s7.2 3.26 15.84 3.05c3.92-.07 9.28-.67 13.4-2.24 2.12-.81 5.22-1.82 7.97-2.42 2.72-.63 3.95-.67 4.98-.77z",fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 10)"})),df.waves=(0,ie.createElement)(Zt.SVG,{className:"divider--waves",fill:"",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 300",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"M 1000 299 l 2 -279 c -155 -36 -310 135 -415 164 c -102.64 28.35 -149 -32 -232 -31 c -80 1 -142 53 -229 80 c -65.54 20.34 -101 15 -126 11.61 v 54.39 z"}),(0,ie.createElement)(Zt.Path,{d:"M 1000 286 l 2 -252 c -157 -43 -302 144 -405 178 c -101.11 33.38 -159 -47 -242 -46 c -80 1 -145.09 54.07 -229 87 c -65.21 25.59 -104.07 16.72 -126 10.61 v 22.39 z"}),(0,ie.createElement)(Zt.Path,{d:"M 1000 300 l 1 -230.29 c -217 -12.71 -300.47 129.15 -404 156.29 c -103 27 -174 -30 -257 -29 c -80 1 -130.09 37.07 -214 70 c -61.23 24 -108 15.61 -126 10.61 v 22.39 z"})),df.sloped=(0,ie.createElement)(Zt.SVG,{className:"divider--sloped","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"M0 100 C 20 0 50 0 100 100 Z"})),df.rounded=(0,ie.createElement)(Zt.SVG,{className:"divider--rounded",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 240 24",enableBackground:"new 0 0 240 24",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"M119.849,0C47.861,0,0,24,0,24h240C240,24,191.855,0.021,119.849,0z"})),df.angled=(0,ie.createElement)(Zt.SVG,{className:"divider--angled","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},(0,ie.createElement)("polygon",{points:"0,100 100,0 100,100"})),df.triangle=(0,ie.createElement)(Zt.SVG,{className:"divider--triangle",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"m0 0 50 100 50-100z",fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 100)"})),df.pointed=(0,ie.createElement)(Zt.SVG,{className:"divider--pointed",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 100",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.Path,{d:"M737.9,94.7L0,0v100h1000V0L737.9,94.7z"})),df.hills=(0,ie.createElement)(Zt.SVG,{className:"divider--hills",viewBox:"0 0 1920 105",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)(Zt.G,{fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 105)"},(0,ie.createElement)(Zt.Path,{d:"m1920 14.8827052c-116.23325 0-224.05162 88.3906828-395.09265 88.3906828-160.92196 0-254.53172-83.4344997-444.90735-83.4344997-154.297581 0-240.095847 39.6344097-367.66819 39.6344097-154.121863 0-198.902329-36.1223133-349.458242-36.1223133-144.878137 0-241.175717 80.8685493-362.873568 80.8685493 0-34.0793243 0-68.1494291 0-102.219534h1920z"}),(0,ie.createElement)(Zt.Path,{d:"m1920 14.6612844c-116.11434 0-223.9659 88.8291396-395.06196 88.8291396-160.92415 0-254.54487-83.7874573-444.93804-83.7874573-154.317311 0-240.088941 39.8974838-367.565152 39.8974838-154.034172 0-198.792715-36.4840402-349.164477-36.4840402-144.965828 0-241.283139 81.1250467-363.270371 81.1250467 0-34.7474052 0-69.4948104 0-104.241457h1920z"})));var mf=df;function hf(e){const t=xb()(e,"is-style-angled"),o=xb()(e,"is-style-hills"),n=xb()(e,"is-style-pointed"),l=xb()(e,"is-style-rounded"),r=xb()(e,"is-style-sloped"),a=xb()(e,"is-style-triangle"),c=xb()(e,"is-style-waves");let i=mf.wavy;return t?i=mf.angled:r?i=mf.sloped:a?i=mf.triangle:l?i=mf.rounded:c?i=mf.waves:n?i=mf.pointed:o&&(i=mf.hills),i}var pf=JSON.parse('{"name":"coblocks/shape-divider","category":"layout","attributes":{"shapeHeight":{"type":"string","default":"100px"},"backgroundHeight":{"type":"string","default":"50px"},"verticalFlip":{"type":"boolean","default":false},"horizontalFlip":{"type":"boolean","default":false},"color":{"type":"string"},"customColor":{"type":"string","default":"#111"},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"noBottomMargin":{"type":"boolean","default":true},"noTopMargin":{"type":"boolean","default":true}}}');const bf={};bf.wavy=(0,ie.createElement)("svg",{className:"divider--wavy",height:"100%",viewBox:"0 0 100 10",width:"100%",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"m42.19.65c2.26-.25 5.15.04 7.55.53 2.36.49 7.09 2.35 10.05 3.57 7.58 3.22 13.37 4.45 19.26 4.97 2.36.21 4.87.35 10.34-.25s10.62-2.56 10.62-2.56v-6.91h-100.01v3.03s7.2 3.26 15.84 3.05c3.92-.07 9.28-.67 13.4-2.24 2.12-.81 5.22-1.82 7.97-2.42 2.72-.63 3.95-.67 4.98-.77z",fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 10)"})),bf.waves=(0,ie.createElement)("svg",{className:"divider--waves",fill:"",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 300",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"M 1000 299 l 2 -279 c -155 -36 -310 135 -415 164 c -102.64 28.35 -149 -32 -232 -31 c -80 1 -142 53 -229 80 c -65.54 20.34 -101 15 -126 11.61 v 54.39 z"}),(0,ie.createElement)("path",{d:"M 1000 286 l 2 -252 c -157 -43 -302 144 -405 178 c -101.11 33.38 -159 -47 -242 -46 c -80 1 -145.09 54.07 -229 87 c -65.21 25.59 -104.07 16.72 -126 10.61 v 22.39 z"}),(0,ie.createElement)("path",{d:"M 1000 300 l 1 -230.29 c -217 -12.71 -300.47 129.15 -404 156.29 c -103 27 -174 -30 -257 -29 c -80 1 -130.09 37.07 -214 70 c -61.23 24 -108 15.61 -126 10.61 v 22.39 z"})),bf.sloped=(0,ie.createElement)("svg",{className:"divider--sloped","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 100 100",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"M0 100 C 20 0 50 0 100 100 Z"})),bf.rounded=(0,ie.createElement)("svg",{className:"divider--rounded",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100%",height:"100%",viewBox:"0 0 240 24",enableBackground:"new 0 0 240 24",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"M119.849,0C47.861,0,0,24,0,24h240C240,24,191.855,0.021,119.849,0z"})),bf.angled=(0,ie.createElement)("svg",{className:"divider--angled","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},(0,ie.createElement)("polygon",{points:"0,100 100,0 100,100"})),bf.triangle=(0,ie.createElement)("svg",{className:"divider--triangle",height:"100%",viewBox:"0 0 100 100",width:"100%",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"m0 0 50 100 50-100z",fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 100)"})),bf.pointed=(0,ie.createElement)("svg",{className:"divider--pointed",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 100",preserveAspectRatio:"none"},(0,ie.createElement)("path",{d:"M737.9,94.7L0,0v100h1000V0L737.9,94.7z"})),bf.hills=(0,ie.createElement)("svg",{className:"divider--hills",height:"100%",viewBox:"0 0 1920 105",width:"100%",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},(0,ie.createElement)("g",{fillRule:"evenodd",transform:"matrix(1 0 0 -1 0 105)"},(0,ie.createElement)("path",{d:"m1920 14.8827052c-116.23325 0-224.05162 88.3906828-395.09265 88.3906828-160.92196 0-254.53172-83.4344997-444.90735-83.4344997-154.297581 0-240.095847 39.6344097-367.66819 39.6344097-154.121863 0-198.902329-36.1223133-349.458242-36.1223133-144.878137 0-241.175717 80.8685493-362.873568 80.8685493 0-34.0793243 0-68.1494291 0-102.219534h1920z"}),(0,ie.createElement)("path",{d:"m1920 14.6612844c-116.11434 0-223.9659 88.8291396-395.06196 88.8291396-160.92415 0-254.54487-83.7874573-444.93804-83.7874573-154.317311 0-240.088941 39.8974838-367.565152 39.8974838-154.034172 0-198.792715-36.4840402-349.164477-36.4840402-144.965828 0-241.283139 81.1250467-363.270371 81.1250467 0-34.7474052 0-69.4948104 0-104.241457h1920z"})));var gf=bf;const ff=e=>{const{attributes:t}=e,o=(0,Yt.getColorClassName)("color",t.color),n=(0,Yt.getColorClassName)("background-color",t.backgroundColor);let l=Ut()(e.className,{"is-vertically-flipped":t.verticalFlip,"is-horizontally-flipped":t.horizontalFlip,[o]:o,[n]:n});t.coblocks&&void 0!==t.coblocks.id&&(l=Ut()(l,`coblocks-shape-divider-${t.coblocks.id}`));const r={backgroundColor:n?void 0:t.customBackgroundColor,color:o?void 0:t.customColor};return(0,ie.createElement)("div",{className:l,style:r,"aria-hidden":"true"},(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__svg-wrapper",style:{minHeight:t.shapeHeight}},(e=>{const t=xb()(e,"is-style-angled"),o=xb()(e,"is-style-hills"),n=xb()(e,"is-style-pointed"),l=xb()(e,"is-style-rounded"),r=xb()(e,"is-style-sloped"),a=xb()(e,"is-style-triangle"),c=xb()(e,"is-style-waves");let i=gf.wavy;return t?i=gf.angled:r?i=gf.sloped:a?i=gf.triangle:l?i=gf.rounded:c?i=gf.waves:n?i=gf.pointed:o&&(i=gf.hills),i})(t.className)),(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__alt-wrapper",style:{minHeight:t.backgroundHeight}}))},vf=[{attributes:{...pf.attributes,shapeHeight:{type:"number",default:100},backgroundHeight:{type:"number",default:50}},save(e){const{attributes:t}=e,o=(0,Yt.getColorClassName)("color",t.color),n=(0,Yt.getColorClassName)("background-color",t.backgroundColor),l=Ut()(e.className,{"is-vertically-flipped":t.verticalFlip,"is-horizontally-flipped":t.horizontalFlip,[o]:o,[n]:n}),r={backgroundColor:n?void 0:t.customBackgroundColor,color:o?void 0:t.customColor};return(0,ie.createElement)("div",{className:l,style:r,"aria-hidden":"true"},(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__svg-wrapper",style:{height:t.shapeHeight}},hf(t.className)),(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__alt-wrapper",style:{height:t.backgroundHeight}}))}},{attributes:{...pf.attributes,shapeHeight:{type:"number",default:100},backgroundHeight:{type:"number",default:50}},save:ff},{attributes:{...pf.attributes,coblocks:{type:"object"},align:{type:"string",default:"full"},height:{type:"number",default:100},heightTablet:{type:"number"},heightMobile:{type:"number"},shapeHeight:{type:"number",default:100},shapeHeightTablet:{type:"number"},backgroundHeight:{type:"number",default:50},backgroundHeightTablet:{type:"number"},backgroundHeightMobile:{type:"number"},syncHeight:{type:"boolean",default:!0},syncHeightAlt:{type:"boolean",default:!0},justAdded:{type:"boolean",default:!0}},migrate:e=>({...e,shapeHeight:parseInt(e.shapeHeight)+"px",backgroundHeight:parseInt(e.backgroundHeight)+"px"}),save:e=>{let{attributes:t,className:o}=e;const{backgroundColor:n,backgroundHeight:l,coblocks:r,color:a,customBackgroundColor:c,customColor:i,horizontalFlip:s,shapeHeight:u,verticalFlip:d}=t,m=(0,Yt.getColorClassName)("color",a),h=(0,Yt.getColorClassName)("background-color",n);let p=Ut()(o,{"is-vertically-flipped":d,"is-horizontally-flipped":s,[m]:m,[h]:h});r&&void 0!==r.id&&(p=Ut()(p,`coblocks-shape-divider-${r.id}`));const b={backgroundColor:h?void 0:c,color:m?void 0:i};return(0,ie.createElement)("div",{className:p,style:b,"aria-hidden":"true"},(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__svg-wrapper",style:{minHeight:u}},hf(t.className)),(0,ie.createElement)("div",{className:"wp-block-coblocks-shape-divider__alt-wrapper",style:{minHeight:l}}))}}];["noTopMargin","noBottomMargin"].forEach((e=>{vf.push({attributes:{...pf.attributes,shapeHeight:{type:"number",default:100},backgroundHeight:{type:"number",default:50},[e]:!1},save:ff})}));var _f=vf,kf=e=>{const{attributes:t,setAttributes:o}=e,{horizontalFlip:n,verticalFlip:l}=t,r=[{icon:(0,ie.createElement)(Zt.Icon,{icon:Be}),isActive:!!n,onClick:()=>o({horizontalFlip:!n}),title:(0,le.__)("Flip horiztonally","coblocks")},{icon:(0,ie.createElement)(Zt.Icon,{icon:Oe}),isActive:!!l,onClick:()=>o({verticalFlip:!l}),title:(0,le.__)("Flip vertically","coblocks")}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Zt.ToolbarGroup,{controls:r})))},yf=(0,Yt.withColors)("backgroundColor",{color:"color"}),wf=(0,Kt.compose)([yf])((e=>{const{attributes:t,setAttributes:o,setColor:n,color:l,backgroundColor:r,setBackgroundColor:a}=e,{shapeHeight:c,backgroundHeight:i}=t,s={labelPosition:"edge",units:[{value:"px",label:"px",default:20},{value:"vh",label:"vh",default:20},{value:"vw",label:"vw",default:20}],min:0,__unstableInputWidth:"80px"};return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Divider settings","coblocks")},(0,ie.createElement)(Zt.PanelRow,null,(0,ie.createElement)(Zt.__experimentalUnitControl,Ft({},s,{label:(0,le.__)("Shape height","coblocks"),onChange:e=>o({shapeHeight:e}),value:c}))),(0,ie.createElement)(Zt.PanelRow,null,(0,ie.createElement)(Zt.__experimentalUnitControl,Ft({},s,{label:(0,le.__)("Background height","coblocks"),onChange:e=>o({backgroundHeight:e}),value:i})))),(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:[{value:l.color,onChange:n,label:(0,le.__)("Shape color","coblocks")},{value:r.color,onChange:a,label:(0,le.__)("Background color","coblocks")}]}))})),Ef=(0,Kt.compose)([yf])((e=>{const{attributes:t,className:o,isSelected:n,setAttributes:l,backgroundColor:r,color:a,toggleSelection:c}=e,{shapeHeight:i,backgroundHeight:s,verticalFlip:u,horizontalFlip:d}=t;return(0,ie.useEffect)((()=>{const e=(t.className||"").split(" ");e.includes("alignfull")&&l({align:"full",className:e.filter((e=>"alignfull"!==e)).join(" ")}),e.includes("alignwide")&&l({align:"wide",className:e.filter((e=>"alignwide"!==e)).join(" ")})}),[]),(0,ie.createElement)(ie.Fragment,null,n&&(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(wf,e),(0,ie.createElement)(kf,e)),(0,ie.createElement)("div",{className:Ut()(o,{"is-vertically-flipped":u,"is-horizontally-flipped":d}),style:{backgroundColor:r.color,color:a.color}},(0,ie.createElement)(Zt.ResizableBox,{className:Ut()("wp-block-coblocks-shape-divider__svg-wrapper",{"is-selected":n}),size:{height:i},minWidth:"100%",enable:{bottom:!0},onResizeStop:(e,t,o)=>{l({shapeHeight:parseInt(o.offsetHeight,10)+"px"}),c(!0)},onResizeStart:()=>c(!1),showHandle:n},hf(o)),(0,ie.createElement)(Zt.ResizableBox,{className:Ut()("wp-block-coblocks-shape-divider__alt-wrapper",{"is-selected":n}),size:{height:s},minWidth:"100%",enable:{bottom:!0},onResizeStop:(e,t,o)=>{l({backgroundHeight:parseInt(o.offsetHeight,10)+"px"}),c(!0)},onResizeStart:()=>c(!1),showHandle:n})))})),xf={from:[{type:"prefix",prefix:":divider",transform:()=>(0,ne.createBlock)(pf.name)},{type:"block",blocks:["core/spacer"],transform:e=>{let{height:t}=e;return(0,ne.createBlock)(pf.name,{shapeHeight:t})}},{type:"block",blocks:["coblocks/dynamic-separator"],transform:e=>{let{height:t}=e;return(0,ne.createBlock)(pf.name,{shapeHeight:t})}},{type:"block",blocks:["core/separator"],transform:()=>(0,ne.createBlock)(pf.name)}]};const{name:Cf,category:Sf,attributes:zf}=pf,Tf={
3840
  /* translators: block name */
3841
  title:(0,le.__)("Shape Divider","coblocks"),
3842
  /* translators: block description */
3858
  /* translators: block style */
3859
  label:(0,le.__)("Triangle","coblocks")},{name:"pointed",
3860
  /* translators: block style */
3861
+ label:(0,le.__)("Pointed","coblocks")}],attributes:zf,transforms:xf,edit:Ef,save:()=>null,deprecated:_f};var Pf=JSON.parse('{"name":"coblocks/social","category":"widgets","attributes":{"align":{"type":"string","enum":["wide","full"]},"className":{"type":"string"},"hasColors":{"type":"boolean","default":true},"borderRadius":{"type":"number","default":40},"size":{"type":"string","default":"med"},"iconSize":{"type":"number","default":22},"padding":{"type":"number","default":16},"textAlign":{"type":"string"},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"blockBackgroundColor":{"type":"string"},"customBlockBackgroundColor":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"twitter":{"type":"boolean","default":true},"facebook":{"type":"boolean","default":true},"pinterest":{"type":"boolean","default":true},"linkedin":{"type":"boolean","default":false},"tumblr":{"type":"boolean","default":false},"reddit":{"type":"boolean","default":false},"email":{"type":"boolean","default":false},"google":{"type":"boolean","default":false}}}');const Nf={to:[{type:"block",blocks:["core/social-links"],transform:e=>{var t,o,n;const{link:l="",title:r=""}=(null===(t=(0,co.select)("core/editor"))||void 0===t?void 0:t.getCurrentPost())||{},{colors:a}=(null===(o=(0,co.select)("core/block-editor"))||void 0===o?void 0:o.getSettings())||{},c=[];[{label:(0,le.__)("Share on Facebook","coblocks"),slug:"facebook",url:"https://facebook.com/sharer/sharer.php?u=%s&title=%s"},{label:(0,le.__)("Share on Twitter","coblocks"),slug:"twitter",url:"https://twitter.com/share?url=%s&link=%s"},{label:(0,le.__)("Share on Pinterest","coblocks"),slug:"pinterest",url:"https://pinterest.com/pin/create/button/?url=%s&description=%s"},{label:(0,le.__)("Share on LinkedIn","coblocks"),slug:"linkedin",url:"https://linkedin.com/shareArticle?url=%s&title=%s"},{label:(0,le.__)("Share via Email","coblocks"),slug:"email",url:"mailto:?body=%s&subject=%s"},{label:(0,le.__)("Share on Tumblr","coblocks"),slug:"tumblr",url:"https://tumblr.com/share/link?url=%s&name=%s"},{label:(0,le.__)("Share on Reddit","coblocks"),slug:"reddit",url:"https://reddit.com/submit?url=%s&title=%s"}].forEach((t=>{let{slug:o,label:n,url:a}=t;e[o]&&c.push((0,ne.createBlock)("core/social-link",{label:n,service:o,url:(0,le.sprintf)(a,encodeURIComponent(l),encodeURIComponent(r))}))}));const i=(0,Gt.find)(a,{slug:e.textColor});i&&(e.customTextColor=i.color);const s=(0,Gt.find)(a,{slug:e.backgroundColor});return s&&(e.customBackgroundColor=s.color),e.className&&[{new:"is-style-logos-only",old:"is-style-mask"},{new:"is-style-pill-shape",old:"is-style-icon"},{new:"is-style-default",old:"is-style-text"},{new:"is-style-pill-shape",old:"is-style-icon-and-text"},{new:"is-style-default",old:"is-style-circular"}].forEach((t=>{e.className=e.className.replace(t.old,t.new)})),(0,ne.createBlock)("core/social-links",{align:e.textAlign,className:e.className,customIconBackgroundColor:e.customBackgroundColor,customIconColor:e.customTextColor,iconBackgroundColor:e.backgroundColor,iconBackgroundColorValue:e.customBackgroundColor,iconColor:e.textColor,iconColorValue:e.customTextColor,openInNewTab:!0,size:null!==(n={lrg:"has-large-icon-size",med:"has-normal-icon-size",sml:"has-small-icon-size"}[e.size])&&void 0!==n?n:"normal"},c)}}]};var Bf=Nf;const{name:Of,category:Rf}=Pf,Mf={
3862
  /* translators: block name */
3863
  title:(0,le.__)("Share","coblocks"),
3864
  /* translators: block description */
3872
  /* translators: block style */
3873
  label:(0,le.__)("Icon & Text","coblocks"),name:"icon-and-text"},{
3874
  /* translators: block style */
3875
+ label:(0,le.__)("Circular","coblocks"),name:"circular"}],supports:{align:["wide","full"],coBlocksSpacing:!0},transforms:Bf,edit:e=>{var t;const{replaceBlocks:o}=(0,co.dispatch)("core/block-editor"),{colors:n}=(null===(t=(0,co.select)("core/block-editor"))||void 0===t?void 0:t.getSettings())||{};let l=(0,ne.switchToBlockType)(e,"core/social-links");const r={backgroundColor:e.attributes.blockBackgroundColor,style:{color:{background:e.attributes.customBlockBackgroundColor}}};if(r.backgroundColor||r.style.color.background){const e=(0,Gt.find)(n,{slug:r.background});e&&(r.style.color.background=e.color),l=(0,ne.createBlock)("core/group",r,l)}return o([e.clientId],l),null},save:()=>null};var Af=e=>{let{attributes:t,setAttributes:o}=e;const{textAlign:n}=t;return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.BlockControls,null,(0,ie.createElement)(Yt.AlignmentToolbar,{value:n,onChange:e=>o({textAlign:e})})))},Lf=(0,Yt.withColors)("backgroundColor",{textColor:"color"},"blockBackgroundColor"),If=(0,Kt.compose)([Lf])((e=>{const{className:t,attributes:o,setAttributes:n,setBackgroundColor:l,setBlockBackgroundColor:r,setTextColor:a,fallbackTextColor:c,backgroundColor:i,blockBackgroundColor:s,textColor:u,fallbackBackgroundColor:d}=e,{hasColors:m,borderRadius:h,size:p,iconSize:b,padding:g,facebook:f,twitter:v,instagram:_,tiktok:k,pinterest:y,linkedin:w,youtube:E,yelp:x,houzz:C,opensInNewTab:S}=o,z=(0,Gt.includes)(t,"is-style-mask"),T=(0,Gt.includes)(t,"is-style-text"),P=(0,Gt.includes)(t,"is-style-circular"),N=[{value:"sml",label:(0,le.__)("Small","coblocks")},{value:"med",label:(0,le.__)("Medium","coblocks")},{value:"lrg",label:(0,le.__)("Large","coblocks")}],B=[{value:s.color,onChange:r,label:(0,le.__)("Background color","coblocks")},{value:i.color,onChange:l,label:(0,le.__)("Button Color","coblocks")},{value:u.color,onChange:a,label:T?(0,le.__)("Text color","coblocks"):(0,le.__)("Icon color","coblocks")}],O=[{value:s.color,onChange:r,label:(0,le.__)("Background color","coblocks")},{value:i.color,onChange:l,label:(0,le.__)("Icon color","coblocks")}];return(0,ie.createElement)(ie.Fragment,null,(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Icon settings","coblocks")},(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Social colors","coblocks"),checked:!!m,onChange:()=>n({hasColors:!m}),help:e=>e?(0,le.__)("Share button colors are enabled.","coblocks"):(0,le.__)("Toggle to use official colors from each social media platform.","coblocks")}),!z&&!P&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Rounded corners","coblocks"),value:h,onChange:e=>n({borderRadius:e}),min:0,max:50}),(z||P)&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Icon size","coblocks"),value:b,onChange:e=>n({iconSize:e}),min:16,max:60}),P&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Circle size","coblocks"),value:g,onChange:e=>n({padding:e}),min:10,max:50}),!z&&!P&&(0,ie.createElement)(Zt.SelectControl,{label:(0,le.__)("Button size","coblocks"),value:p,options:N,onChange:e=>n({size:e}),className:"components-coblocks-inspector__social-button-size"}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Open links in new tab","coblocks"),checked:!!S,onChange:()=>n({opensInNewTab:!S})})),(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Profiles","coblocks"),initialOpen:!1},(0,ie.createElement)("div",{className:"components-social-links-list"},(0,ie.createElement)(Zt.TextControl,{label:"Facebook",value:f,onChange:e=>n({facebook:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Twitter",value:v,onChange:e=>n({twitter:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Instagram",value:_,onChange:e=>n({instagram:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"TikTok",value:k,onChange:e=>n({tiktok:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Pinterest",value:y,onChange:e=>n({pinterest:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"LinkedIn",value:w,onChange:e=>n({linkedin:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"YouTube",value:E,onChange:e=>n({youtube:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Yelp",value:x,onChange:e=>n({yelp:(0,Gt.escape)(e)})}),(0,ie.createElement)(Zt.TextControl,{label:"Houzz",value:C,onChange:e=>n({houzz:(0,Gt.escape)(e)})}))),!m&&(0,ie.createElement)(Yt.PanelColorSettings,{title:(0,le.__)("Color settings","coblocks"),initialOpen:!1,colorSettings:z?O:B},!z&&(0,ie.createElement)(Yt.ContrastChecker,{isLargeText:!0,textColor:u.color,backgroundColor:i.color,fallbackBackgroundColor:d,fallbackTextColor:c}))))})),Df=(0,ie.createElement)(se.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,ie.createElement)(se.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"})),Ff=(0,Kt.compose)([Lf])((e=>{const{attributes:{borderRadius:t,customBlockBackgroundColor:o,facebook:n,hasColors:l,houzz:r,iconSize:a,instagram:c,linkedin:i,padding:s,pinterest:u,size:d,textAlign:m,tiktok:h,twitter:p,yelp:b,youtube:g,align:f},className:v,isSelected:_,backgroundColor:k,blockBackgroundColor:y,textColor:w,setAttributes:E}=e,[x,C]=(0,ie.useState)(""),S=(0,Kt.usePrevious)(_),z=(0,Kt.usePrevious)(f);(0,ie.useEffect)((()=>{!_&&S&&x&&C(""),z!==f&&["wide","full"].includes(f)&&void 0===m&&E({textAlign:"center"})}),[_,S,z,f,m,x]);const T=xb()(v,"is-style-mask"),P=xb()(v,"is-style-circular"),N=Ut()(v,"wp-block-coblocks-social",{[`has-button-size-${d}`]:d,"has-colors":l,"has-background":y.color||o}),B=Ut()("wp-block-button__link","wp-block-coblocks-social__button",{"has-background":l||k.color,"has-text-color":l||w.color,"has-padding":s,[w.class]:w.class}),O={borderRadius:t&&t+"px",backgroundColor:!l&&!T&&k.color,color:!l&&(e=>e?k.color?k.color:"black":w.color)(T),padding:P&&s+"px"},R={height:(T||P)&&a+"px",width:(T||P)&&a+"px"},M=[{slug:"facebook",name:(0,le.__)("Facebook","coblocks"),placeholder:(0,le.__)("https://facebook.com/","coblocks"),ariaLabel:(0,le.__)("Add Facebook profile","coblocks")},{slug:"twitter",name:(0,le.__)("Twitter","coblocks"),placeholder:(0,le.__)("https://twitter.com/","coblocks"),ariaLabel:(0,le.__)("Add Twitter profile","coblocks")},{slug:"instagram",name:(0,le.__)("Instagram","coblocks"),placeholder:(0,le.__)("https://instagram.com","coblocks"),ariaLabel:(0,le.__)("Add Instagram profile","coblocks")},{slug:"tiktok",name:(0,le.__)("TikTok","coblocks"),placeholder:(0,le.__)("https://tiktok.com","coblocks"),ariaLabel:(0,le.__)("Add TikTok profile","coblocks")},{slug:"pinterest",name:(0,le.__)("Pinterest","coblocks"),placeholder:(0,le.__)("https://pinterest.com","coblocks"),ariaLabel:(0,le.__)("Add Pinterest profile","coblocks")},{slug:"linkedin",name:(0,le.__)("LinkedIn","coblocks"),placeholder:(0,le.__)("https://linkedin.com","coblocks"),ariaLabel:(0,le.__)("Add LinkedIn profile","coblocks")},{slug:"youtube",name:(0,le.__)("YouTube","coblocks"),placeholder:(0,le.__)("https://youtube.com","coblocks"),ariaLabel:(0,le.__)("Add YouTube profile","coblocks")},{slug:"yelp",name:(0,le.__)("Yelp","coblocks"),placeholder:(0,le.__)("https://yelp.com","coblocks"),ariaLabel:(0,le.__)("Add Yelp profile","coblocks")},{slug:"houzz",name:(0,le.__)("Houzz","coblocks"),placeholder:(0,le.__)("https://houzz.com","coblocks"),ariaLabel:(0,le.__)("Add Houzz profile","coblocks")}],A=!(n||p||c||h||u||i||g||b||r);return(0,ie.createElement)(ie.Fragment,null,_&&(0,ie.createElement)(Af,e),_&&(0,ie.createElement)(If,e),(0,ie.createElement)("div",{className:N,style:{textAlign:m,backgroundColor:y.color||""}},(0,ie.createElement)("ul",null,M.map((t=>(A||e.attributes[t.slug]||_)&&(0,ie.createElement)("li",{key:`social-profile-item-${t.slug}`},(0,ie.createElement)("button",{"aria-expanded":x===t.slug,"aria-label":t.ariaLabel,className:Ut()(B,`wp-block-coblocks-social__button--${t.slug}`,{"is-empty":!e.attributes[t.slug],"is-selected":x===t.slug}),style:O,onClick:()=>C(t.slug)},(0,ie.createElement)("span",{className:"wp-block-coblocks-social__icon",style:R}),(0,ie.createElement)("span",{className:"wp-block-coblocks-social__text"},t.name)),x===t.slug&&(0,ie.createElement)(Zt.Popover,null,(0,ie.createElement)("form",{className:"block-library-button__inline-link block-library-button__inline-link--coblocks",onSubmit:e=>{e.preventDefault(),C("")}},(0,ie.createElement)(Zt.Dashicon,{icon:"admin-links"}),(0,ie.createElement)("div",{className:"block-editor-url-input block-editor-url-input editor-url-input--coblocks"},(0,ie.createElement)(Zt.TextControl,{value:e.attributes[t.slug],placeholder:t.placeholder,onChange:e=>{E({[t.slug]:e})}})),(0,ie.createElement)(Zt.Button,{className:"is-save",icon:Df,iconSize:20,label:(0,le.__)("Apply","coblocks"),type:"submit"})))))))))})),Vf=JSON.parse('{"name":"coblocks/social-profiles","category":"widgets","attributes":{"align":{"type":"string","enum":["wide","full"]},"className":{"type":"string"},"hasColors":{"type":"boolean","default":true},"opensInNewTab":{"type":"boolean","default":false},"borderRadius":{"type":"number","default":40},"size":{"type":"string","default":"med"},"iconSize":{"type":"number","default":22},"padding":{"type":"number","default":16},"textAlign":{"type":"string"},"backgroundColor":{"type":"string"},"customBackgroundColor":{"type":"string"},"blockBackgroundColor":{"type":"string"},"customBlockBackgroundColor":{"type":"string"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"facebook":{"type":"string","default":""},"twitter":{"type":"string","default":""},"instagram":{"type":"string","default":""},"tiktok":{"type":"string","default":""},"pinterest":{"type":"string","default":""},"linkedin":{"type":"string","default":""},"youtube":{"type":"string","default":""},"yelp":{"type":"string","default":""},"houzz":{"type":"string","default":""}}}');function jf(e,t,o){switch(e){case"social-profiles":if(null!==localStorage.getItem("shareAttributes")){if(!1===o[t])return"";const e=localStorage.getItem("shareAttributes");return JSON.parse(e)[t]}return"";case"share":if(null!==localStorage.getItem("socialProfilesAttributes")&&!1!==o[t]){if(""===o[t])return!1;const e=localStorage.getItem("socialProfilesAttributes");return JSON.parse(e)[t]}return!!o[t]}}function Gf(e,t){switch(e){case"share":localStorage.setItem("shareAttributes",JSON.stringify(t));break;case"social-profiles":localStorage.setItem("socialProfilesAttributes",JSON.stringify(t));break;default:return null}}const $f={to:[{type:"block",blocks:["coblocks/social"],transform:e=>(Gf("share",e),(0,ne.createBlock)("coblocks/social",{...e,facebook:jf("share","facebook",e),twitter:jf("share","twitter",e),pinterest:jf("share","pinterest",e),linkedin:jf("share","linkedin",e),email:jf("share","email",e),tumblr:jf("share","tumblr",e),google:jf("share","google",e),reddit:jf("share","reddit",e)}))}],from:[{type:"block",blocks:["coblocks/social"],transform:e=>(Gf("social-profiles",e),(0,ne.createBlock)("coblocks/social-profiles",{...e,facebook:jf("social-profiles","facebook",e),twitter:jf("social-profiles","twitter",e),pinterest:jf("social-profiles","pinterest",e),linkedin:jf("social-profiles","linkedin",e),instagram:jf("social-profiles","instagram",e),houzz:jf("social-profiles","houzz",e),yelp:jf("social-profiles","yelp",e),youtube:jf("social-profiles","youtube",e)}))}]},{name:Hf,category:Uf}=Vf,Wf={
3876
  /* translators: block name */
3877
  title:(0,le.__)("Social Profiles","coblocks"),
3878
  /* translators: block description */
3892
  /* translators: block style */
3893
  label:(0,le.__)("Icon & Text","coblocks")},{name:"circular",
3894
  /* translators: block style */
3895
+ label:(0,le.__)("Circular","coblocks")}],example:{attributes:{facebook:"#",instagram:"#",pinterest:"#",twitter:"#",youtube:"#",textAlign:"center"}},supports:{align:["wide","full"],coBlocksSpacing:!0},edit:Ff,transforms:$f,save:()=>null};var qf=JSON.parse('{"name":"coblocks/gallery-stacked","category":"media","attributes":{"align":{"type":"string","default":"full"},"captionStyle":{"type":"string"},"fullwidth":{"type":"boolean","default":true},"gutter":{"type":"number","default":0},"gutterMobile":{"type":"number","default":0}}}');const Yf=[{attributes:{...oa,...Fr,...qf.attributes},save(e){let{attributes:t,className:o}=e;const{align:n,backgroundPadding:l,backgroundPaddingMobile:r,captionColor:a,captions:c,captionStyle:i,customCaptionColor:s,customFontSize:u,filter:d,fontSize:m,fullwidth:h,gutter:p,gutterMobile:b,images:g,linkTo:f,radius:v,rel:_,shadow:k,target:y}=t,w=Ut()("coblocks-gallery",{"has-no-alignment":!n,[`has-border-radius-${v}`]:v>0,[`has-filter-${d}`]:"none"!==d,[`has-caption-style-${i}`]:void 0!==i,[`has-background-border-radius-${t.backgroundRadius}`]:t.backgroundRadius>0,"has-padding":l>0,[`has-padding-${l}`]:l>0,[`has-padding-mobile-${r}`]:r>0}),E=Ut()(o,{}),x=(0,Yt.getColorClassName)("color",a),C=Ut()(w,...Vr(t),{"has-fullwidth-images":h,"has-margin":p>0}),S={...ra(t),...Hr(t),color:x?void 0:s},z=(0,Yt.getFontSizeClass)(m),T=Ut()("coblocks-gallery--figure",{[`has-margin-bottom-${p}`]:p>0,[`has-margin-bottom-mobile-${b}`]:b>0,[z]:z}),P=Ut()("coblocks-gallery--caption",{[z]:z}),N={fontSize:z?void 0:u};return(0,ie.createElement)("div",{className:E},Qr(t),(0,ie.createElement)("ul",{className:C,style:S},g.map((e=>{let t;switch(f){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const o=Ut()(e.id?[`wp-image-${e.id}`]:null,{[`has-shadow-${k}`]:"none"!==k||void 0!==k}),n=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:o});return(0,ie.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},(0,ie.createElement)("figure",{className:T},t?(0,ie.createElement)("a",{href:t,target:y,rel:_},n):n,c&&e.caption&&e.caption.length>0&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:P,value:e.caption,styles:N})))}))))}},{attributes:{...oa,...Fr,...qf.attributes},save(e){let{attributes:t,className:o}=e;const{captionColor:n,captions:l,customCaptionColor:r,customFontSize:a,fontSize:c,fullwidth:i,gutter:s,gutterMobile:u,images:d,target:m,rel:h,linkTo:p,shadow:b}=t,g=(0,Yt.getColorClassName)("color",n),f=Ut()(...na(t),...Vr(t),{"has-fullwidth-images":i,"has-margin":s>0}),v={...ra(t),...Hr(t),color:g?void 0:r},_=(0,Yt.getFontSizeClass)(c),k=Ut()("coblocks-gallery--figure",{[`has-margin-bottom-${s}`]:s>0,[`has-margin-bottom-mobile-${u}`]:u>0,[_]:_}),y=Ut()("coblocks-gallery--caption",{[_]:_}),w={fontSize:_?void 0:a};return(0,ie.createElement)("div",{className:o},Qr(t),(0,ie.createElement)("ul",{className:f,style:v},d.map((e=>{let t;switch(p){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const o=Ut()(e.id?[`wp-image-${e.id}`]:null,{[`has-shadow-${b}`]:"none"!==b||void 0!==b}),n=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:o});return(0,ie.createElement)("li",{key:e.id||e.url,className:"coblocks-gallery--item"},(0,ie.createElement)("figure",{className:k},t?(0,ie.createElement)("a",{href:t,target:m,rel:h},n):n,l&&e.caption&&e.caption.length>0&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:y,value:e.caption,styles:w})))}))))}}];var Kf=Yf,Zf=(0,Kt.compose)([(0,co.withSelect)((e=>({wideControlsEnabled:e("core/editor").getEditorSettings().alignWide}))),(0,Yt.withFontSizes)("fontSize")])((e=>{const{attributes:t,setAttributes:o,wideControlsEnabled:n=!1}=e,{images:l,gutter:r,fullwidth:a,radius:c,shadow:i,captions:s,lightbox:u}=t;return(0,ie.createElement)(Yt.InspectorControls,null,(0,ie.createElement)(Zt.PanelBody,{title:(0,le.__)("Stacked settings","coblocks")},n&&(0,ie.createElement)(Zt.ToggleControl,{label:l.length>1?(0,le.__)("Fullwidth images","coblocks"):(0,le.__)("Fullwidth image","coblocks"),checked:!!a,help:e=>e?(0,le.__)("Fullwidth images are enabled.","coblocks"):(0,le.__)("Toggle to fill the available gallery area with completely fullwidth images.","coblocks"),onChange:()=>{o({fullwidth:!a,shadow:"none"})}}),l.length>1&&(0,ie.createElement)(Zr,e),r>0&&(0,ie.createElement)(Zt.RangeControl,{label:(0,le.__)("Rounded corners","coblocks"),value:c,onChange:e=>{o({radius:e})},min:0,max:20,step:1}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Lightbox","coblocks"),checked:!!u,onChange:()=>o({lightbox:!u}),help:e=>e?(0,le.__)("Image lightbox is enabled.","coblocks"):(0,le.__)("Toggle to enable the image lightbox.","coblocks")}),(0,ie.createElement)(Zt.ToggleControl,{label:(0,le.__)("Captions","coblocks"),checked:!!s,onChange:()=>o({captions:!s}),help:e=>e?(0,le.__)("Showing captions for each media item.","coblocks"):(0,le.__)("Toggle to show media captions.","coblocks")}),s&&(0,ie.createElement)(ir,e),!a&&(0,ie.createElement)(pa,Ft({},e,{onChange:e=>{o({shadow:e})},value:i,label:(0,le.__)("Shadow","coblocks"),reset:!1}))),(0,ie.createElement)(dc,e))})),Jf=e=>{const{attributes:t}=e,{images:o}=t,n=!!o.length;return(0,ie.createElement)(Yt.BlockControls,null,n&&(0,ie.createElement)(Sn,e))},Xf=(0,Kt.compose)([(0,co.withSelect)((e=>({editorSidebarOpened:e("core/edit-post").isEditorSidebarOpened(),pluginSidebarOpened:e("core/edit-post").isPluginSidebarOpened(),publishSidebarOpened:e("core/edit-post").isPublishSidebarOpened(),wideControlsEnabled:e("core/editor").getEditorSettings().alignWide}))),(0,Yt.withFontSizes)("fontSize"),Zt.withNotices])((e=>{const{attributes:t,className:o,fontSize:n,isSelected:l,noticeUI:r,setAttributes:a}=e,{align:c,animation:i,captions:s,fullwidth:u,gutter:d,gutterMobile:m,images:h,shadow:p,linkTo:b,lightbox:g}=t,[f,v]=(0,ie.useState)(null);(0,ie.useEffect)((()=>{void 0!==t.captionStyle&&a({captionStyle:void 0})}),[]);const _=(0,Kt.usePrevious)(l);(0,ie.useEffect)((()=>{!l&&_&&v(null)}),[l]);const k=e=>()=>{f!==e&&v(e)},y=(e,o)=>{const n=[...t.images];n.splice(o,1,t.images[e]),n.splice(e,1,t.images[o]),v(o),a({images:n})},w=e=>()=>{e!==t.images.length-1&&y(e,e+1)},E=e=>()=>{const o=ua()(t.images,((t,o)=>e!==o));v(null),a({images:o})},x=(e,o)=>{const n=[...t.images];n[e]={...o},a({images:n})},C=!!h.length,S=(0,ie.createElement)(ie.Fragment,null,C?null:r,(0,ie.createElement)(Sa,Ft({},e,{label:(0,le.__)("Stacked","coblocks"),icon:(0,ie.createElement)(Zt.Icon,{icon:Xe}),gutter:d})));if(!C)return S;const z=Ut()(o,{"has-lightbox":g}),T=Ut()(...na(t),{"has-fullwidth-images":u,[`align${c}`]:c,"has-margin":d>0,"has-lightbox":g,[`has-margin-bottom-${d}`]:d>0,[`has-margin-bottom-mobile-${m}`]:m>0}),P=Ut()("coblocks-gallery--item",{[`coblocks-animate ${i}`]:i});return(0,ie.createElement)(ie.Fragment,null,l&&(0,ie.createElement)(Jf,e),l&&(0,ie.createElement)(Zf,e),r,(0,ie.createElement)("div",{className:z},(0,ie.createElement)("ul",{className:T},h.map(((e,t)=>{const o=(0,le.sprintf)(
3896
  /* translators: %1$d is the order number of the image, %2$d is the total number of images */
3897
+ (0,le.__)("image %1$d of %2$d in gallery","coblocks"),t+1,h.length);return(0,ie.createElement)("li",{className:P,key:e.id||e.url},(0,ie.createElement)(Ca,{url:e.url,alt:e.alt,id:e.id,imgLink:e.imgLink,linkTo:b,gutter:d,gutterMobile:m,marginBottom:!0,shadow:p,isFirstItem:0===t,isLastItem:t+1===h.length,isSelected:l&&f===t,onMoveBackward:(r=t,()=>{0!==r&&y(r,r-1)}),onMoveForward:w(t),onRemove:E(t),onSelect:k(t),setAttributes:e=>((e,t)=>{h[e]&&a({images:[...h.slice(0,e),{...h[e],...t},...h.slice(e+1)]})})(t,e),caption:e.caption,"aria-label":o,captions:s,supportsCaption:!0,verticalMoving:!0,fontSize:n.size,imageIndex:t,replaceImage:x}));var r})),S)))}));const Qf={from:[{type:"block",blocks:["coblocks/gallery-collage","coblocks/gallery-masonry","coblocks/gallery-offset","coblocks/gallery-carousel","core/gallery"],transform:e=>(0,ne.createBlock)(qf.name,{...la(e)})},{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{const t=ua()(e,(e=>{let{id:t,url:o}=e;return Number.isInteger(t)&&o})),o=!!ua()(e,(e=>{let{caption:t}=e;return!!t}));return t.length>0?(0,ne.createBlock)(qf.name,{images:t.map(((e,t)=>{let{id:o,url:n,alt:l,caption:r}=e;return{index:t,id:o,url:n,alt:l||"",caption:r||""}})),ids:t.map((e=>{let{id:t}=e;return t})),captions:o}):(0,ne.createBlock)(qf.name)}},{type:"prefix",prefix:":stacked",transform:e=>(0,ne.createBlock)(qf.name,{content:e})}],to:[{type:"block",blocks:["core/gallery"],transform:e=>(0,ne.createBlock)("core/gallery",{...la(e)})}]};var ev=Qf;const{name:tv,category:ov}=qf,nv={...oa,...qf.attributes},lv={
3898
  /* translators: block name */
3899
  title:(0,le.__)("Stacked","coblocks"),
3900
  /* translators: block description */
3904
  /* translators: block keyword */
3905
  (0,le.__)("photos","coblocks"),
3906
  /* translators: block keyword */
3907
+ (0,le.__)("lightbox","coblocks")],supports:{align:["wide","full","left","center","right"],html:!1,coBlocksSpacing:!0},example:{attributes:{fullwidth:!1,gutter:5,images:[{index:0,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"},{index:1,url:"https://s.w.org/images/core/5.3/Glacial_lakes,_Bhutan.jpg"}]}},attributes:nv,transforms:ev,edit:Xf,save:e=>{let{attributes:t,className:o}=e;const{animation:n,captions:l,customFontSize:r,fontSize:a,fullwidth:c,gutter:i,gutterMobile:s,images:u,lightbox:d,linkTo:m,rel:h,shadow:p,target:b}=t,g=Ut()(o,{"has-lightbox":d}),f=Ut()(...na(t),{"has-fullwidth-images":c,"has-margin":i>0}),v=Ut()("coblocks-gallery--item",{"coblocks-animate":n}),_=(0,Yt.getFontSizeClass)(a),k=Ut()("coblocks-gallery--figure",{[`has-margin-bottom-${i}`]:i>0,[`has-margin-bottom-mobile-${s}`]:s>0,[_]:_}),y=Ut()("coblocks-gallery--caption",{[_]:_}),w={fontSize:_?void 0:r};return(0,ie.createElement)("div",{className:g},(0,ie.createElement)("ul",{className:f},u.map((e=>{let t;switch(m){case"media":t=e.url;break;case"attachment":t=e.link}e.imgLink&&(t=e.imgLink);const o=Ut()(e.id?[`wp-image-${e.id}`]:null,{[`has-shadow-${p}`]:"none"!==p||void 0!==p}),r=(0,ie.createElement)("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-imglink":e.imgLink,"data-link":e.link,className:o});return(0,ie.createElement)("li",{key:e.id||e.url,className:v,"data-coblocks-animation":n},(0,ie.createElement)("figure",{className:k},t?(0,ie.createElement)("a",{href:t,target:b,rel:h},r):r,l&&e.caption&&e.caption.length>0&&(0,ie.createElement)(Yt.RichText.Content,{tagName:"figcaption",className:y,value:e.caption,style:w})))}))))},deprecated:Kf};[l,r,a,c,i,s,u,d,m,h,b,p,g,f,v,_,y,w,x,C,T,N,P,S,z,k,B,E,O,R,M,A,L,I,D,F,V,j,G,$,H,U,q,W,Y,K,Z,J,X,Q,ee,te,oe].forEach((e=>{if(!e)return;let{category:t}=e;const{name:o,settings:n}=e;ae()||o.includes("gallery")||(t="coblocks"),(0,ne.registerBlockType)(o,{category:t,...n})}))},8140:function(){const e=document.querySelectorAll(".coblocks-animate");if("IntersectionObserver"in window){const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(e.target.classList.add(e.target.dataset.coblocksAnimation),t.unobserve(e.target))}))}),{threshold:[.15]});e.forEach((e=>{t.observe(e)}))}else e.forEach((e=>{e.classList.remove("coblocks-animate"),delete e.dataset.coblocksAnimation}))},6553:function(e,t,o){"use strict";function n(e){return void 0===Object.fromEntries?[...e].reduce(((e,t)=>{let{0:o,1:n}=t;return Object.assign(e,{[o]:n})}),{}):Object.fromEntries(e)}o.d(t,{Z:function(){return n}})},4043:function(e,t,o){e.exports={default:o(7185),__esModule:!0}},2945:function(e,t,o){e.exports={default:o(6981),__esModule:!0}},5861:function(e,t,o){e.exports={default:o(5627),__esModule:!0}},2242:function(e,t,o){e.exports={default:o(3391),__esModule:!0}},5105:function(e,t,o){e.exports={default:o(381),__esModule:!0}},5345:function(e,t,o){e.exports={default:o(433),__esModule:!0}},3516:function(e,t,o){e.exports={default:o(25),__esModule:!0}},4275:function(e,t,o){e.exports={default:o(2392),__esModule:!0}},9663:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},2600:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(2242))&&n.__esModule?n:{default:n};t.default=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,l.default)(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}()},8106:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(2242))&&n.__esModule?n:{default:n};t.default=function(e,t,o){return t in e?(0,l.default)(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}},8239:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(2945))&&n.__esModule?n:{default:n};t.default=l.default||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}},3196:function(e,t,o){"use strict";t.__esModule=!0;var n=a(o(5345)),l=a(o(5861)),r=a(o(2444));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,r.default)(t)));e.prototype=(0,l.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(n.default?(0,n.default)(e,t):e.__proto__=t)}},2723:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}},9135:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(2444))&&n.__esModule?n:{default:n};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,l.default)(t))&&"function"!=typeof t?e:t}},5315:function(e,t,o){"use strict";t.__esModule=!0;var n,l=(n=o(4043))&&n.__esModule?n:{default:n};t.default=function(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return(0,l.default)(e)}},2444:function(e,t,o){"use strict";t.__esModule=!0;var n=a(o(4275)),l=a(o(3516)),r="function"==typeof l.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof l.default&&e.constructor===l.default&&e!==l.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof l.default&&"symbol"===r(n.default)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof l.default&&e.constructor===l.default&&e!==l.default.prototype?"symbol":void 0===e?"undefined":r(e)}},8129:function(e,t,o){"use strict";var n=o(690);function l(){var e={},t=0,o=0,n=0;return{add:function(l,r){r||(r=l,l=0),l>o?o=l:l<n&&(n=l),e[l]||(e[l]=[]),e[l].push(r),t++},process:function(){for(var t=n;t<=o;t++)for(var l=e[t],r=0;r<l.length;r++)(0,l[r])()},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,o=n.getOption(e,"async",!0),r=n.getOption(e,"auto",!0);r&&!o&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),o=!0);var a,c=l(),i=!1;function s(){for(i=!0;c.size();){var e=c;c=l(),e.process()}i=!1}function u(){a=setTimeout(s,0)}return{add:function(e,t){!i&&r&&o&&0===c.size()&&u(),c.add(e,t)},force:function(e){i||(void 0===e&&(e=o),a&&(clearTimeout(a),a=null),e?u():s())}}}},690:function(e){"use strict";(e.exports={}).getOption=function(e,t,o){var n=e[t];return null==n&&void 0!==o?o:n}},1807:function(e){var t=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t},5790:function(e,t){"use strict";t.E=function(){var e=[],t=e;function o(){t===e&&(t=e.slice())}return{listen:function(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var n=!0;return o(),t.push(e),function(){if(n){n=!1,o();var l=t.indexOf(e);t.splice(l,1)}}},emit:function(){for(var o=e=t,n=0;n<o.length;n++)o[n].apply(o,arguments)}}}},4184:function(e,t){var o;!function(){"use strict";var n={}.hasOwnProperty;function l(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var r=typeof o;if("string"===r||"number"===r)e.push(o);else if(Array.isArray(o)){if(o.length){var a=l.apply(null,o);a&&e.push(a)}}else if("object"===r)if(o.toString===Object.prototype.toString)for(var c in o)n.call(o,c)&&o[c]&&e.push(c);else e.push(o.toString())}}return e.join(" ")}e.exports?(l.default=l,e.exports=l):void 0===(o=function(){return l}.apply(t,[]))||(e.exports=o)}()},7185:function(e,t,o){o(1867),o(2586),e.exports=o(4579).Array.from},6981:function(e,t,o){o(2699),e.exports=o(4579).Object.assign},5627:function(e,t,o){o(6760);var n=o(4579).Object;e.exports=function(e,t){return n.create(e,t)}},3391:function(e,t,o){o(1477);var n=o(4579).Object;e.exports=function(e,t,o){return n.defineProperty(e,t,o)}},381:function(e,t,o){o(7220),e.exports=o(4579).Object.getPrototypeOf},433:function(e,t,o){o(9349),e.exports=o(4579).Object.setPrototypeOf},25:function(e,t,o){o(6840),o(4058),o(8174),o(6461),e.exports=o(4579).Symbol},2392:function(e,t,o){o(1867),o(3871),e.exports=o(5103).f("iterator")},5663:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},9003:function(e){e.exports=function(){}},2159:function(e,t,o){var n=o(6727);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},7428:function(e,t,o){var n=o(7932),l=o(8728),r=o(6531);e.exports=function(e){return function(t,o,a){var c,i=n(t),s=l(i.length),u=r(a,s);if(e&&o!=o){for(;s>u;)if((c=i[u++])!=c)return!0}else for(;s>u;u++)if((e||u in i)&&i[u]===o)return e||u||0;return!e&&-1}}},4677:function(e,t,o){var n=o(2894),l=o(2939)("toStringTag"),r="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,o,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(o=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),l))?o:r?n(t):"Object"==(a=n(t))&&"function"==typeof t.callee?"Arguments":a}},2894:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},4579:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},2445:function(e,t,o){"use strict";var n=o(4743),l=o(3101);e.exports=function(e,t,o){t in e?n.f(e,t,l(0,o)):e[t]=o}},9216:function(e,t,o){var n=o(5663);e.exports=function(e,t,o){if(n(e),void 0===t)return e;switch(o){case 1:return function(o){return e.call(t,o)};case 2:return function(o,n){return e.call(t,o,n)};case 3:return function(o,n,l){return e.call(t,o,n,l)}}return function(){return e.apply(t,arguments)}}},8333:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},9666:function(e,t,o){e.exports=!o(7929)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},7467:function(e,t,o){var n=o(6727),l=o(3938).document,r=n(l)&&n(l.createElement);e.exports=function(e){return r?l.createElement(e):{}}},3338:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},337:function(e,t,o){var n=o(6162),l=o(8195),r=o(6274);e.exports=function(e){var t=n(e),o=l.f;if(o)for(var a,c=o(e),i=r.f,s=0;c.length>s;)i.call(e,a=c[s++])&&t.push(a);return t}},3856:function(e,t,o){var n=o(3938),l=o(4579),r=o(9216),a=o(1818),c=o(7069),i=function(e,t,o){var s,u,d,m=e&i.F,h=e&i.G,p=e&i.S,b=e&i.P,g=e&i.B,f=e&i.W,v=h?l:l[t]||(l[t]={}),_=v.prototype,k=h?n:p?n[t]:(n[t]||{}).prototype;for(s in h&&(o=t),o)(u=!m&&k&&void 0!==k[s])&&c(v,s)||(d=u?k[s]:o[s],v[s]=h&&"function"!=typeof k[s]?o[s]:g&&u?r(d,n):f&&k[s]==d?function(e){var t=function(t,o,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,o)}return new e(t,o,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):b&&"function"==typeof d?r(Function.call,d):d,b&&((v.virtual||(v.virtual={}))[s]=d,e&i.R&&_&&!_[s]&&a(_,s,d)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,e.exports=i},7929:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},3938:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},7069:function(e){var t={}.hasOwnProperty;e.exports=function(e,o){return t.call(e,o)}},1818:function(e,t,o){var n=o(4743),l=o(3101);e.exports=o(9666)?function(e,t,o){return n.f(e,t,l(1,o))}:function(e,t,o){return e[t]=o,e}},4881:function(e,t,o){var n=o(3938).document;e.exports=n&&n.documentElement},3758:function(e,t,o){e.exports=!o(9666)&&!o(7929)((function(){return 7!=Object.defineProperty(o(7467)("div"),"a",{get:function(){return 7}}).a}))},799:function(e,t,o){var n=o(2894);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},5991:function(e,t,o){var n=o(5449),l=o(2939)("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||r[l]===e)}},1421:function(e,t,o){var n=o(2894);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6727:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},5602:function(e,t,o){var n=o(2159);e.exports=function(e,t,o,l){try{return l?t(n(o)[0],o[1]):t(o)}catch(t){var r=e.return;throw void 0!==r&&n(r.call(e)),t}}},3945:function(e,t,o){"use strict";var n=o(526),l=o(3101),r=o(5378),a={};o(1818)(a,o(2939)("iterator"),(function(){return this})),e.exports=function(e,t,o){e.prototype=n(a,{next:l(1,o)}),r(e,t+" Iterator")}},5700:function(e,t,o){"use strict";var n=o(6227),l=o(3856),r=o(7470),a=o(1818),c=o(5449),i=o(3945),s=o(5378),u=o(5089),d=o(2939)("iterator"),m=!([].keys&&"next"in[].keys()),h="keys",p="values",b=function(){return this};e.exports=function(e,t,o,g,f,v,_){i(o,t,g);var k,y,w,E=function(e){if(!m&&e in z)return z[e];switch(e){case h:case p:return function(){return new o(this,e)}}return function(){return new o(this,e)}},x=t+" Iterator",C=f==p,S=!1,z=e.prototype,T=z[d]||z["@@iterator"]||f&&z[f],P=T||E(f),N=f?C?E("entries"):P:void 0,B="Array"==t&&z.entries||T;if(B&&(w=u(B.call(new e)))!==Object.prototype&&w.next&&(s(w,x,!0),n||"function"==typeof w[d]||a(w,d,b)),C&&T&&T.name!==p&&(S=!0,P=function(){return T.call(this)}),n&&!_||!m&&!S&&z[d]||a(z,d,P),c[t]=P,c[x]=b,f)if(k={values:C?P:E(p),keys:v?P:E(h),entries:N},_)for(y in k)y in z||r(z,y,k[y]);else l(l.P+l.F*(m||S),t,k);return k}},6630:function(e,t,o){var n=o(2939)("iterator"),l=!1;try{var r=[7][n]();r.return=function(){l=!0},Array.from(r,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!l)return!1;var o=!1;try{var r=[7],a=r[n]();a.next=function(){return{done:o=!0}},r[n]=function(){return a},e(r)}catch(e){}return o}},5084:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},5449:function(e){e.exports={}},6227:function(e){e.exports=!0},7177:function(e,t,o){var n=o(5730)("meta"),l=o(6727),r=o(7069),a=o(4743).f,c=0,i=Object.isExtensible||function(){return!0},s=!o(7929)((function(){return i(Object.preventExtensions({}))})),u=function(e){a(e,n,{value:{i:"O"+ ++c,w:{}}})},d=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!l(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,n)){if(!i(e))return"F";if(!t)return"E";u(e)}return e[n].i},getWeak:function(e,t){if(!r(e,n)){if(!i(e))return!0;if(!t)return!1;u(e)}return e[n].w},onFreeze:function(e){return s&&d.NEED&&i(e)&&!r(e,n)&&u(e),e}}},8082:function(e,t,o){"use strict";var n=o(9666),l=o(6162),r=o(8195),a=o(6274),c=o(6530),i=o(799),s=Object.assign;e.exports=!s||o(7929)((function(){var e={},t={},o=Symbol(),n="abcdefghijklmnopqrst";return e[o]=7,n.split("").forEach((function(e){t[e]=e})),7!=s({},e)[o]||Object.keys(s({},t)).join("")!=n}))?function(e,t){for(var o=c(e),s=arguments.length,u=1,d=r.f,m=a.f;s>u;)for(var h,p=i(arguments[u++]),b=d?l(p).concat(d(p)):l(p),g=b.length,f=0;g>f;)h=b[f++],n&&!m.call(p,h)||(o[h]=p[h]);return o}:s},526:function(e,t,o){var n=o(2159),l=o(7856),r=o(3338),a=o(8989)("IE_PROTO"),c=function(){},i=function(){var e,t=o(7467)("iframe"),n=r.length;for(t.style.display="none",o(4881).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),i=e.F;n--;)delete i.prototype[r[n]];return i()};e.exports=Object.create||function(e,t){var o;return null!==e?(c.prototype=n(e),o=new c,c.prototype=null,o[a]=e):o=i(),void 0===t?o:l(o,t)}},4743:function(e,t,o){var n=o(2159),l=o(3758),r=o(3206),a=Object.defineProperty;t.f=o(9666)?Object.defineProperty:function(e,t,o){if(n(e),t=r(t,!0),n(o),l)try{return a(e,t,o)}catch(e){}if("get"in o||"set"in o)throw TypeError("Accessors not supported!");return"value"in o&&(e[t]=o.value),e}},7856:function(e,t,o){var n=o(4743),l=o(2159),r=o(6162);e.exports=o(9666)?Object.defineProperties:function(e,t){l(e);for(var o,a=r(t),c=a.length,i=0;c>i;)n.f(e,o=a[i++],t[o]);return e}},6183:function(e,t,o){var n=o(6274),l=o(3101),r=o(7932),a=o(3206),c=o(7069),i=o(3758),s=Object.getOwnPropertyDescriptor;t.f=o(9666)?s:function(e,t){if(e=r(e),t=a(t,!0),i)try{return s(e,t)}catch(e){}if(c(e,t))return l(!n.f.call(e,t),e[t])}},4368:function(e,t,o){var n=o(7932),l=o(3230).f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?function(e){try{return l(e)}catch(e){return a.slice()}}(e):l(n(e))}},3230:function(e,t,o){var n=o(2963),l=o(3338).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,l)}},8195:function(e,t){t.f=Object.getOwnPropertySymbols},5089:function(e,t,o){var n=o(7069),l=o(6530),r=o(8989)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=l(e),n(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},2963:function(e,t,o){var n=o(7069),l=o(7932),r=o(7428)(!1),a=o(8989)("IE_PROTO");e.exports=function(e,t){var o,c=l(e),i=0,s=[];for(o in c)o!=a&&n(c,o)&&s.push(o);for(;t.length>i;)n(c,o=t[i++])&&(~r(s,o)||s.push(o));return s}},6162:function(e,t,o){var n=o(2963),l=o(3338);e.exports=Object.keys||function(e){return n(e,l)}},6274:function(e,t){t.f={}.propertyIsEnumerable},2584:function(e,t,o){var n=o(3856),l=o(4579),r=o(7929);e.exports=function(e,t){var o=(l.Object||{})[e]||Object[e],a={};a[e]=t(o),n(n.S+n.F*r((function(){o(1)})),"Object",a)}},3101:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7470:function(e,t,o){e.exports=o(1818)},2906:function(e,t,o){var n=o(6727),l=o(2159),r=function(e,t){if(l(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=o(9216)(Function.call,o(6183).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,o){return r(e,o),t?e.__proto__=o:n(e,o),e}}({},!1):void 0),check:r}},5378:function(e,t,o){var n=o(4743).f,l=o(7069),r=o(2939)("toStringTag");e.exports=function(e,t,o){e&&!l(e=o?e:e.prototype,r)&&n(e,r,{configurable:!0,value:t})}},8989:function(e,t,o){var n=o(250)("keys"),l=o(5730);e.exports=function(e){return n[e]||(n[e]=l(e))}},250:function(e,t,o){var n=o(4579),l=o(3938),r="__core-js_shared__",a=l[r]||(l[r]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:o(6227)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},510:function(e,t,o){var n=o(1052),l=o(8333);e.exports=function(e){return function(t,o){var r,a,c=String(l(t)),i=n(o),s=c.length;return i<0||i>=s?e?"":void 0:(r=c.charCodeAt(i))<55296||r>56319||i+1===s||(a=c.charCodeAt(i+1))<56320||a>57343?e?c.charAt(i):r:e?c.slice(i,i+2):a-56320+(r-55296<<10)+65536}}},6531:function(e,t,o){var n=o(1052),l=Math.max,r=Math.min;e.exports=function(e,t){return(e=n(e))<0?l(e+t,0):r(e,t)}},1052:function(e){var t=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:t)(e)}},7932:function(e,t,o){var n=o(799),l=o(8333);e.exports=function(e){return n(l(e))}},8728:function(e,t,o){var n=o(1052),l=Math.min;e.exports=function(e){return e>0?l(n(e),9007199254740991):0}},6530:function(e,t,o){var n=o(8333);e.exports=function(e){return Object(n(e))}},3206:function(e,t,o){var n=o(6727);e.exports=function(e,t){if(!n(e))return e;var o,l;if(t&&"function"==typeof(o=e.toString)&&!n(l=o.call(e)))return l;if("function"==typeof(o=e.valueOf)&&!n(l=o.call(e)))return l;if(!t&&"function"==typeof(o=e.toString)&&!n(l=o.call(e)))return l;throw TypeError("Can't convert object to primitive value")}},5730:function(e){var t=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+o).toString(36))}},6347:function(e,t,o){var n=o(3938),l=o(4579),r=o(6227),a=o(5103),c=o(4743).f;e.exports=function(e){var t=l.Symbol||(l.Symbol=r?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:a.f(e)})}},5103:function(e,t,o){t.f=o(2939)},2939:function(e,t,o){var n=o(250)("wks"),l=o(5730),r=o(3938).Symbol,a="function"==typeof r;(e.exports=function(e){return n[e]||(n[e]=a&&r[e]||(a?r:l)("Symbol."+e))}).store=n},3728:function(e,t,o){var n=o(4677),l=o(2939)("iterator"),r=o(5449);e.exports=o(4579).getIteratorMethod=function(e){if(null!=e)return e[l]||e["@@iterator"]||r[n(e)]}},2586:function(e,t,o){"use strict";var n=o(9216),l=o(3856),r=o(6530),a=o(5602),c=o(5991),i=o(8728),s=o(2445),u=o(3728);l(l.S+l.F*!o(6630)((function(e){Array.from(e)})),"Array",{from:function(e){var t,o,l,d,m=r(e),h="function"==typeof this?this:Array,p=arguments.length,b=p>1?arguments[1]:void 0,g=void 0!==b,f=0,v=u(m);if(g&&(b=n(b,p>2?arguments[2]:void 0,2)),null==v||h==Array&&c(v))for(o=new h(t=i(m.length));t>f;f++)s(o,f,g?b(m[f],f):m[f]);else for(d=v.call(m),o=new h;!(l=d.next()).done;f++)s(o,f,g?a(d,b,[l.value,f],!0):l.value);return o.length=f,o}})},3882:function(e,t,o){"use strict";var n=o(9003),l=o(5084),r=o(5449),a=o(7932);e.exports=o(5700)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,o=this._i++;return!e||o>=e.length?(this._t=void 0,l(1)):l(0,"keys"==t?o:"values"==t?e[o]:[o,e[o]])}),"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")},2699:function(e,t,o){var n=o(3856);n(n.S+n.F,"Object",{assign:o(8082)})},6760:function(e,t,o){var n=o(3856);n(n.S,"Object",{create:o(526)})},1477:function(e,t,o){var n=o(3856);n(n.S+n.F*!o(9666),"Object",{defineProperty:o(4743).f})},7220:function(e,t,o){var n=o(6530),l=o(5089);o(2584)("getPrototypeOf",(function(){return function(e){return l(n(e))}}))},9349:function(e,t,o){var n=o(3856);n(n.S,"Object",{setPrototypeOf:o(2906).set})},4058:function(){},1867:function(e,t,o){"use strict";var n=o(510)(!0);o(5700)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,o=this._i;return o>=t.length?{value:void 0,done:!0}:(e=n(t,o),this._i+=e.length,{value:e,done:!1})}))},6840:function(e,t,o){"use strict";var n=o(3938),l=o(7069),r=o(9666),a=o(3856),c=o(7470),i=o(7177).KEY,s=o(7929),u=o(250),d=o(5378),m=o(5730),h=o(2939),p=o(5103),b=o(6347),g=o(337),f=o(1421),v=o(2159),_=o(6727),k=o(6530),y=o(7932),w=o(3206),E=o(3101),x=o(526),C=o(4368),S=o(6183),z=o(8195),T=o(4743),P=o(6162),N=S.f,B=T.f,O=C.f,R=n.Symbol,M=n.JSON,A=M&&M.stringify,L=h("_hidden"),I=h("toPrimitive"),D={}.propertyIsEnumerable,F=u("symbol-registry"),V=u("symbols"),j=u("op-symbols"),G=Object.prototype,$="function"==typeof R&&!!z.f,H=n.QObject,U=!H||!H.prototype||!H.prototype.findChild,W=r&&s((function(){return 7!=x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a}))?function(e,t,o){var n=N(G,t);n&&delete G[t],B(e,t,o),n&&e!==G&&B(G,t,n)}:B,q=function(e){var t=V[e]=x(R.prototype);return t._k=e,t},Y=$&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},K=function(e,t,o){return e===G&&K(j,t,o),v(e),t=w(t,!0),v(o),l(V,t)?(o.enumerable?(l(e,L)&&e[L][t]&&(e[L][t]=!1),o=x(o,{enumerable:E(0,!1)})):(l(e,L)||B(e,L,E(1,{})),e[L][t]=!0),W(e,t,o)):B(e,t,o)},Z=function(e,t){v(e);for(var o,n=g(t=y(t)),l=0,r=n.length;r>l;)K(e,o=n[l++],t[o]);return e},J=function(e){var t=D.call(this,e=w(e,!0));return!(this===G&&l(V,e)&&!l(j,e))&&(!(t||!l(this,e)||!l(V,e)||l(this,L)&&this[L][e])||t)},X=function(e,t){if(e=y(e),t=w(t,!0),e!==G||!l(V,t)||l(j,t)){var o=N(e,t);return!o||!l(V,t)||l(e,L)&&e[L][t]||(o.enumerable=!0),o}},Q=function(e){for(var t,o=O(y(e)),n=[],r=0;o.length>r;)l(V,t=o[r++])||t==L||t==i||n.push(t);return n},ee=function(e){for(var t,o=e===G,n=O(o?j:y(e)),r=[],a=0;n.length>a;)!l(V,t=n[a++])||o&&!l(G,t)||r.push(V[t]);return r};$||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=m(arguments.length>0?arguments[0]:void 0),t=function(o){this===G&&t.call(j,o),l(this,L)&&l(this[L],e)&&(this[L][e]=!1),W(this,e,E(1,o))};return r&&U&&W(G,e,{configurable:!0,set:t}),q(e)},c(R.prototype,"toString",(function(){return this._k})),S.f=X,T.f=K,o(3230).f=C.f=Q,o(6274).f=J,z.f=ee,r&&!o(6227)&&c(G,"propertyIsEnumerable",J,!0),p.f=function(e){return q(h(e))}),a(a.G+a.W+a.F*!$,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;te.length>oe;)h(te[oe++]);for(var ne=P(h.store),le=0;ne.length>le;)b(ne[le++]);a(a.S+a.F*!$,"Symbol",{for:function(e){return l(F,e+="")?F[e]:F[e]=R(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!$,"Object",{create:function(e,t){return void 0===t?x(e):Z(x(e),t)},defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:X,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var re=s((function(){z.f(1)}));a(a.S+a.F*re,"Object",{getOwnPropertySymbols:function(e){return z.f(k(e))}}),M&&a(a.S+a.F*(!$||s((function(){var e=R();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))}))),"JSON",{stringify:function(e){for(var t,o,n=[e],l=1;arguments.length>l;)n.push(arguments[l++]);if(o=t=n[1],(_(t)||void 0!==e)&&!Y(e))return f(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!Y(t))return t}),n[1]=t,A.apply(M,n)}}),R.prototype[I]||o(1818)(R.prototype,I,R.prototype.valueOf),d(R,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},8174:function(e,t,o){o(6347)("asyncIterator")},6461:function(e,t,o){o(6347)("observable")},3871:function(e,t,o){o(3882);for(var n=o(3938),l=o(1818),r=o(5449),a=o(2939)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),i=0;i<c.length;i++){var s=c[i],u=n[s],d=u&&u.prototype;d&&!d[a]&&l(d,a,s),r[s]=r.Array}},6511:function(e,t,o){"use strict";var n=o(7418),l={};function r(e,t,o,n,l,r,a,c){if(!e){var i;if(void 0===t)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[o,n,l,r,a,c],u=0;(i=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw i.framesToPop=1,i}}var a="mixins";e.exports=function(e,t,o){var c=[],i={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var o=0;o<t.length;o++)m(e,t[o])},childContextTypes:function(e,t){e.childContextTypes=n({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=n({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=n({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var o in t){var n=t[o];if(t.hasOwnProperty(o)){if(r(!(o in u),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',o),o in e)return r("DEFINE_MANY_MERGED"===(s.hasOwnProperty(o)?s[o]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",o),void(e[o]=p(e[o],n));e[o]=n}}}(e,t)},autobind:function(){}};function d(e,t){var o=i.hasOwnProperty(t)?i[t]:null;_.hasOwnProperty(t)&&r("OVERRIDE_BASE"===o,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&r("DEFINE_MANY"===o||"DEFINE_MANY_MERGED"===o,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function m(e,o){if(o){r("function"!=typeof o,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),r(!t(o),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype,l=n.__reactAutoBindPairs;for(var c in o.hasOwnProperty(a)&&u.mixins(e,o.mixins),o)if(o.hasOwnProperty(c)&&c!==a){var s=o[c],m=n.hasOwnProperty(c);if(d(m,c),u.hasOwnProperty(c))u[c](e,s);else{var h=i.hasOwnProperty(c);if("function"!=typeof s||h||m||!1===o.autobind)if(m){var g=i[c];r(h&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,c),"DEFINE_MANY_MERGED"===g?n[c]=p(n[c],s):"DEFINE_MANY"===g&&(n[c]=b(n[c],s))}else n[c]=s;else l.push(c,s),n[c]=s}}}}function h(e,t){for(var o in r(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(o)&&(r(void 0===e[o],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",o),e[o]=t[o]);return e}function p(e,t){return function(){var o=e.apply(this,arguments),n=t.apply(this,arguments);if(null==o)return n;if(null==n)return o;var l={};return h(l,o),h(l,n),l}}function b(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function g(e,t){return t.bind(e)}var f={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},_={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},k=function(){};return n(k.prototype,e.prototype,_),function(e){var t=function(e,n,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,o=0;o<t.length;o+=2){var n=t[o],l=t[o+1];e[n]=g(e,l)}}(this),this.props=e,this.context=n,this.refs=l,this.updater=a||o,this.state=null;var c=this.getInitialState?this.getInitialState():null;r("object"==typeof c&&!Array.isArray(c),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=c};for(var n in t.prototype=new k,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],c.forEach(m.bind(null,t)),m(t,f),m(t,e),m(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),r(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),i)t.prototype[n]||(t.prototype[n]=null);return t}}},2555:function(e,t,o){"use strict";var n=o(9196),l=o(6511);if(void 0===n)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var r=(new n.Component).updater;e.exports=l(n.Component,n.isValidElement,r)},9741:function(e,t,o){var n,l;!function(r,a){"use strict";void 0===(l="function"==typeof(n=a)?n.call(t,o,t,e):n)||(e.exports=l)}(window,(function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],o=0;o<t.length;o++){var n=t[o]+"MatchesSelector";if(e[n])return n}}();return function(t,o){return t[e](o)}}))},9960:function(e,t){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(o=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===o.Tag||e.type===o.Script||e.type===o.Style},t.Root=o.Root,t.Text=o.Text,t.Directive=o.Directive,t.Comment=o.Comment,t.Script=o.Script,t.Style=o.Style,t.Tag=o.Tag,t.CDATA=o.CDATA,t.Doctype=o.Doctype},7790:function(e,t,o){"use strict";var n,l=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var l in t=arguments[o])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=o(9960),c=new Map([[a.ElementType.Tag,1],[a.ElementType.Script,1],[a.ElementType.Style,1],[a.ElementType.Directive,1],[a.ElementType.Text,3],[a.ElementType.CDATA,4],[a.ElementType.Comment,8],[a.ElementType.Root,9]]),i=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=c.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();t.Node=i;var s=function(e){function t(t,o){var n=e.call(this,t)||this;return n.data=o,n}return l(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(i);t.DataNode=s;var u=function(e){function t(t){return e.call(this,a.ElementType.Text,t)||this}return l(t,e),t}(s);t.Text=u;var d=function(e){function t(t){return e.call(this,a.ElementType.Comment,t)||this}return l(t,e),t}(s);t.Comment=d;var m=function(e){function t(t,o){var n=e.call(this,a.ElementType.Directive,o)||this;return n.name=t,n}return l(t,e),t}(s);t.ProcessingInstruction=m;var h=function(e){function t(t,o){var n=e.call(this,t)||this;return n.children=o,n}return l(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(i);t.NodeWithChildren=h;var p=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return l(t,e),t}(h);t.Document=p;var b=function(e){function t(t,o,n,l){void 0===n&&(n=[]),void 0===l&&(l="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var r=e.call(this,l,n)||this;return r.name=t,r.attribs=o,r}return l(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var o,n;return{name:t,value:e.attribs[t],namespace:null===(o=e["x-attribsNamespace"])||void 0===o?void 0:o[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,a.isTag)(e)}function f(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function _(e){return e.type===a.ElementType.Comment}function k(e){return e.type===a.ElementType.Directive}function y(e){return e.type===a.ElementType.Root}function w(e,t){var o;if(void 0===t&&(t=!1),v(e))o=new u(e.data);else if(_(e))o=new d(e.data);else if(g(e)){var n=t?E(e.children):[],l=new b(e.name,r({},e.attribs),n);n.forEach((function(e){return e.parent=l})),e["x-attribsNamespace"]&&(l["x-attribsNamespace"]=r({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(l["x-attribsPrefix"]=r({},e["x-attribsPrefix"])),o=l}else if(f(e)){n=t?E(e.children):[];var c=new h(a.ElementType.CDATA,n);n.forEach((function(e){return e.parent=c})),o=c}else if(y(e)){n=t?E(e.children):[];var i=new p(n);n.forEach((function(e){return e.parent=i})),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),o=i}else{if(!k(e))throw new Error("Not implemented yet: "+e.type);var s=new m(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),o=s}return o.startIndex=e.startIndex,o.endIndex=e.endIndex,o}function E(e){for(var t=e.map((function(e){return w(e,!0)})),o=1;o<t.length;o++)t[o].prev=t[o-1],t[o-1].next=t[o];return t}t.Element=b,t.isTag=g,t.isCDATA=f,t.isText=v,t.isComment=_,t.isDirective=k,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w},2268:function(e){"use strict";var t=e.exports={};t.isIE=function(e){return!(-1===(t=navigator.userAgent.toLowerCase()).indexOf("msie")&&-1===t.indexOf("trident")&&-1===t.indexOf(" edge/")||e&&e!==function(){var e=3,t=document.createElement("div"),o=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(o[0]);return e>4?e:void 0}());var t},t.isLegacyOpera=function(){return!!window.opera}},7900:function(e){"use strict";(e.exports={}).forEach=function(e,t){for(var o=0;o<e.length;o++){var n=t(e[o]);if(n)return n}}},7414:function(e,t,o){"use strict";var n=o(2268);e.exports=function(e){var t=(e=e||{}).reporter,o=e.batchProcessor,l=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function r(t){var o=e.important?" !important; ":"; ";return(t.join(o)+o).trim()}function a(e){return l(e).object}return{makeDetectable:function(e,a,c){c||(c=a,a=e,e=null),(e=e||{}).debug,n.isIE(8)?c(a):function(a,c){var i=r(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),s=!1,u=window.getComputedStyle(a),d=a.offsetWidth,m=a.offsetHeight;function h(){function o(){if("static"===u.position){a.style.setProperty("position","relative",e.important?"important":"");var o=function(t,o,n,l){var r=n[l];"auto"!==r&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(r)&&(t.warn("An element that is positioned static has style."+l+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+l+" will be set to 0. Element: ",o),o.style.setProperty(l,"0",e.important?"important":""))};o(t,a,u,"top"),o(t,a,u,"right"),o(t,a,u,"bottom"),o(t,a,u,"left")}}""!==u.position&&(o(),s=!0);var r=document.createElement("object");r.style.cssText=i,r.tabIndex=-1,r.type="text/html",r.setAttribute("aria-hidden","true"),r.onload=function(){s||o(),function e(t,o){if(!t.contentDocument){var n=l(t);return n.checkForObjectDocumentTimeoutId&&window.clearTimeout(n.checkForObjectDocumentTimeoutId),void(n.checkForObjectDocumentTimeoutId=setTimeout((function(){n.checkForObjectDocumentTimeoutId=0,e(t,o)}),100))}o(t.contentDocument)}(this,(function(e){c(a)}))},n.isIE()||(r.data="about:blank"),l(a)&&(a.appendChild(r),l(a).object=r,n.isIE()&&(r.data="about:blank"))}l(a).startSize={width:d,height:m},o?o.add(h):h()}(a,c)},addListener:function(e,t){function o(){t(e)}if(n.isIE(8))l(e).object={proxy:o},e.attachEvent("onresize",o);else{var r=a(e);if(!r)throw new Error("Element is not detectable by this strategy.");r.contentDocument.defaultView.addEventListener("resize",o)}},uninstall:function(e){if(l(e)){var t=a(e);t&&(n.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),l(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(l(e).checkForObjectDocumentTimeoutId),delete l(e).object)}}}}},787:function(e,t,o){"use strict";var n=o(7900).forEach;e.exports=function(e){var t=(e=e||{}).reporter,o=e.batchProcessor,l=e.stateHandler.getState,r=(e.stateHandler.hasState,e.idHandler);if(!o)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var a=function(){var e=document.createElement("div");e.style.cssText=s(["position: absolute","width: 1000px","height: 1000px","visibility: hidden","margin: 0","padding: 0"]);var t=document.createElement("div");t.style.cssText=s(["position: absolute","width: 500px","height: 500px","overflow: scroll","visibility: none","top: -1500px","left: -1500px","visibility: hidden","margin: 0","padding: 0"]),t.appendChild(e),document.body.insertBefore(t,document.body.firstChild);var o=500-t.clientWidth,n=500-t.clientHeight;return document.body.removeChild(t),{width:o,height:n}}(),c="erd_scroll_detection_container";function i(e){!function(e,t,o){if(!e.getElementById(t)){var n=o+"_animation",l="/* Created by the element-resize-detector library. */\n";l+="."+o+" > div::-webkit-scrollbar { "+s(["display: none"])+" }\n\n",l+=".erd_scroll_detection_container_animation_active { "+s(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+n,"animation-name: "+n])+" }\n",l+="@-webkit-keyframes "+n+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(o,n){n=n||function(t){e.head.appendChild(t)};var l=e.createElement("style");l.innerHTML=o,l.id=t,n(l)}(l+="@keyframes "+n+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}(e,"erd_scroll_detection_scrollbar_style",c)}function s(t){var o=e.important?" !important; ":"; ";return(t.join(o)+o).trim()}function u(e,o,n){if(e.addEventListener)e.addEventListener(o,n);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+o,n)}}function d(e,o,n){if(e.removeEventListener)e.removeEventListener(o,n);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+o,n)}}function m(e){return l(e).container.childNodes[0].childNodes[0].childNodes[0]}function h(e){return l(e).container.childNodes[0].childNodes[0].childNodes[1]}return i(window.document),{makeDetectable:function(e,i,d){function p(){if(e.debug){var o=Array.prototype.slice.call(arguments);if(o.unshift(r.get(i),"Scroll: "),t.log.apply)t.log.apply(null,o);else for(var n=0;n<o.length;n++)t.log(o[n])}}function b(e){var t=l(e).container.childNodes[0],o=window.getComputedStyle(t);return!o.width||-1===o.width.indexOf("px")}function g(){var e=window.getComputedStyle(i),t={};return t.position=e.position,t.width=i.offsetWidth,t.height=i.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.heightCSS=e.height,t}function f(){if(p("storeStyle invoked."),l(i)){var e=g();l(i).style=e}else p("Aborting because element has been uninstalled")}function v(e,t,o){l(e).lastWidth=t,l(e).lastHeight=o}function _(){return 2*a.width+1}function k(){return 2*a.height+1}function y(e){return e+10+_()}function w(e){return e+10+k()}function E(e,t,o){var n=m(e),l=h(e),r=y(t),a=w(o),c=function(e){return 2*e+_()}(t),i=function(e){return 2*e+k()}(o);n.scrollLeft=r,n.scrollTop=a,l.scrollLeft=c,l.scrollTop=i}function x(){var e=l(i).container;if(!e){(e=document.createElement("div")).className=c,e.style.cssText=s(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),l(i).container=e,function(e){e.className+=" "+c+"_animation_active"}(e),i.appendChild(e);var t=function(){l(i).onRendered&&l(i).onRendered()};u(e,"animationstart",t),l(i).onAnimationStart=t}return e}function C(){if(p("Injecting elements"),l(i)){!function(){var o=l(i).style;if("static"===o.position){i.style.setProperty("position","relative",e.important?"important":"");var n=function(e,t,o,n){var l=o[n];"auto"!==l&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(l)&&(e.warn("An element that is positioned static has style."+n+"="+l+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+n+" will be set to 0. Element: ",t),t.style[n]=0)};n(t,i,o,"top"),n(t,i,o,"right"),n(t,i,o,"bottom"),n(t,i,o,"left")}}();var o=l(i).container;o||(o=x());var n,r,d,m,h=a.width,b=a.height,g=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),f=s(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(["left: "+(n=(n=-(1+h))?n+"px":"0"),"top: "+(r=(r=-(1+b))?r+"px":"0"),"right: "+(m=(m=-h)?m+"px":"0"),"bottom: "+(d=(d=-b)?d+"px":"0")])),v=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),_=s(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),k=s(["position: absolute","left: 0","top: 0"]),y=s(["position: absolute","width: 200%","height: 200%"]),w=document.createElement("div"),E=document.createElement("div"),C=document.createElement("div"),S=document.createElement("div"),z=document.createElement("div"),T=document.createElement("div");w.dir="ltr",w.style.cssText=g,w.className=c,E.className=c,E.style.cssText=f,C.style.cssText=v,S.style.cssText=k,z.style.cssText=_,T.style.cssText=y,C.appendChild(S),z.appendChild(T),E.appendChild(C),E.appendChild(z),w.appendChild(E),o.appendChild(w),u(C,"scroll",P),u(z,"scroll",N),l(i).onExpandScroll=P,l(i).onShrinkScroll=N}else p("Aborting because element has been uninstalled");function P(){l(i).onExpand&&l(i).onExpand()}function N(){l(i).onShrink&&l(i).onShrink()}}function S(){function a(t,o,n){var l=function(e){return m(e).childNodes[0]}(t),r=y(o),a=w(n);l.style.setProperty("width",r+"px",e.important?"important":""),l.style.setProperty("height",a+"px",e.important?"important":"")}function c(n){var c=i.offsetWidth,u=i.offsetHeight,d=c!==l(i).lastWidth||u!==l(i).lastHeight;p("Storing current size",c,u),v(i,c,u),o.add(0,(function(){if(d)if(l(i))if(s()){if(e.debug){var o=i.offsetWidth,n=i.offsetHeight;o===c&&n===u||t.warn(r.get(i),"Scroll: Size changed before updating detector elements.")}a(i,c,u)}else p("Aborting because element container has not been initialized");else p("Aborting because element has been uninstalled")})),o.add(1,(function(){l(i)?s()?E(i,c,u):p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")})),d&&n&&o.add(2,(function(){l(i)?s()?n():p("Aborting because element container has not been initialized"):p("Aborting because element has been uninstalled")}))}function s(){return!!l(i).container}function u(){p("notifyListenersIfNeeded invoked");var e=l(i);return void 0===l(i).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?p("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?p("Not notifying: Size already notified"):(p("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void n(l(i).listeners,(function(e){e(i)})))}function d(){p("Scroll detected."),b(i)?p("Scroll event fired while unrendered. Ignoring..."):c(u)}if(p("registerListenersAndPositionElements invoked."),l(i)){l(i).onRendered=function(){if(p("startanimation triggered."),b(i))p("Ignoring since element is still unrendered...");else{p("Element rendered.");var e=m(i),t=h(i);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(p("Scrollbars out of sync. Updating detector elements..."),c(u))}},l(i).onExpand=d,l(i).onShrink=d;var g=l(i).style;a(i,g.width,g.height)}else p("Aborting because element has been uninstalled")}function z(){if(p("finalizeDomMutation invoked."),l(i)){var e=l(i).style;v(i,e.width,e.height),E(i,e.width,e.height)}else p("Aborting because element has been uninstalled")}function T(){d(i)}function P(){var e;p("Installing..."),l(i).listeners=[],e=g(),l(i).startSize={width:e.width,height:e.height},p("Element start size",l(i).startSize),o.add(0,f),o.add(1,C),o.add(2,S),o.add(3,z),o.add(4,T)}d||(d=i,i=e,e=null),e=e||{},p("Making detectable..."),function(e){return!function(e){var t=e.getRootNode&&e.getRootNode().contains(e);return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)||t}(e)||null===window.getComputedStyle(e)}(i)?(p("Element is detached"),x(),p("Waiting until element is attached..."),l(i).onRendered=function(){p("Element is now attached"),P()}):P()},addListener:function(e,t){if(!l(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");l(e).listeners.push(t)},uninstall:function(e){var t=l(e);t&&(t.onExpandScroll&&d(m(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&d(h(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&d(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:i}}},3844:function(e,t,o){"use strict";var n=o(7900).forEach,l=o(8452),r=o(6199),a=o(5805),c=o(9799),i=o(1724),s=o(2268),u=o(8129),d=o(1931),m=o(7414),h=o(787);function p(e){return Array.isArray(e)||void 0!==e.length}function b(e){if(Array.isArray(e))return e;var t=[];return n(e,(function(e){t.push(e)})),t}function g(e){return e&&1===e.nodeType}function f(e,t,o){var n=e[t];return null==n&&void 0!==o?o:n}e.exports=function(e){var t;if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var o=a(),v=c({idGenerator:o,stateHandler:d});t=v}var _=e.reporter;_||(_=i(!1===_));var k=f(e,"batchProcessor",u({reporter:_})),y={};y.callOnAdd=!!f(e,"callOnAdd",!0),y.debug=!!f(e,"debug",!1);var w,E=r(t),x=l({stateHandler:d}),C=f(e,"strategy","object"),S=f(e,"important",!1),z={reporter:_,batchProcessor:k,stateHandler:d,idHandler:t,important:S};if("scroll"===C&&(s.isLegacyOpera()?(_.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),C="object"):s.isIE(9)&&(_.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),C="object")),"scroll"===C)w=h(z);else{if("object"!==C)throw new Error("Invalid strategy name: "+C);w=m(z)}var T={};return{listenTo:function(e,o,l){function r(e){var t=E.get(e);n(t,(function(t){t(e)}))}function a(e,t,o){E.add(t,o),e&&o(t)}if(l||(l=o,o=e,e={}),!o)throw new Error("At least one element required.");if(!l)throw new Error("Listener required.");if(g(o))o=[o];else{if(!p(o))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");o=b(o)}var c=0,i=f(e,"callOnAdd",y.callOnAdd),s=f(e,"onReady",(function(){})),u=f(e,"debug",y.debug);n(o,(function(e){d.getState(e)||(d.initState(e),t.set(e));var m=t.get(e);if(u&&_.log("Attaching listener to element",m,e),!x.isDetectable(e))return u&&_.log(m,"Not detectable."),x.isBusy(e)?(u&&_.log(m,"System busy making it detectable"),a(i,e,l),T[m]=T[m]||[],void T[m].push((function(){++c===o.length&&s()}))):(u&&_.log(m,"Making detectable..."),x.markBusy(e,!0),w.makeDetectable({debug:u,important:S},e,(function(e){if(u&&_.log(m,"onElementDetectable"),d.getState(e)){x.markAsDetectable(e),x.markBusy(e,!1),w.addListener(e,r),a(i,e,l);var t=d.getState(e);if(t&&t.startSize){var h=e.offsetWidth,p=e.offsetHeight;t.startSize.width===h&&t.startSize.height===p||r(e)}T[m]&&n(T[m],(function(e){e()}))}else u&&_.log(m,"Element uninstalled before being detectable.");delete T[m],++c===o.length&&s()})));u&&_.log(m,"Already detecable, adding listener."),a(i,e,l),c++})),c===o.length&&s()},removeListener:E.removeListener,removeAllListeners:E.removeAllListeners,uninstall:function(e){if(!e)return _.error("At least one element is required.");if(g(e))e=[e];else{if(!p(e))return _.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=b(e)}n(e,(function(e){E.removeAllListeners(e),w.uninstall(e),d.cleanState(e)}))},initDocument:function(e){w.initDocument&&w.initDocument(e)}}}},8452:function(e){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var o=t(e);return o&&!!o.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,o){t(e).busy=!!o}}}},5805:function(e){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},9799:function(e){"use strict";e.exports=function(e){var t=e.idGenerator,o=e.stateHandler.getState;return{get:function(e){var t=o(e);return t&&void 0!==t.id?t.id:null},set:function(e){var n=o(e);if(!n)throw new Error("setId required the element to have a resize detection state.");var l=t.generate();return n.id=l,l}}}},6199:function(e){"use strict";e.exports=function(e){var t={};function o(o){var n=e.get(o);return void 0===n?[]:t[n]||[]}return{get:o,add:function(o,n){var l=e.get(o);t[l]||(t[l]=[]),t[l].push(n)},removeListener:function(e,t){for(var n=o(e),l=0,r=n.length;l<r;++l)if(n[l]===t){n.splice(l,1);break}},removeAllListeners:function(e){var t=o(e);t&&(t.length=0)}}}},1724:function(e){"use strict";e.exports=function(e){function t(){}var o={log:t,warn:t,error:t};if(!e&&window.console){var n=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var o=0;o<arguments.length;o++)e(arguments[o])}};n(o,"log"),n(o,"warn"),n(o,"error")}return o}},1931:function(e){"use strict";function t(e){return e._erd}e.exports={initState:function(e){return e._erd={},t(e)},getState:t,cleanState:function(e){delete e._erd}}},3999:function(e,t){"use strict";var o=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!o.test(e))return!1;var t=e.split("@");return!(t[0].length>64||t[1].split(".").some((function(e){return e.length>63})))}},2988:function(e,t,o){var n=o(1755),l=o(6665).each;function r(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var o=this;this.listener=function(e){o.mql=e.currentTarget||e,o.assess()},this.mql.addListener(this.listener)}r.prototype={constuctor:r,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;l(t,(function(o,n){if(o.equals(e))return o.destroy(),!t.splice(n,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){l(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";l(this.handlers,(function(t){t[e]()}))}},e.exports=r},8177:function(e,t,o){var n=o(2988),l=o(6665),r=l.each,a=l.isFunction,c=l.isArray;function i(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}i.prototype={constructor:i,register:function(e,t,o){var l=this.queries,i=o&&this.browserIsIncapable;return l[e]||(l[e]=new n(e,i)),a(t)&&(t={match:t}),c(t)||(t=[t]),r(t,(function(t){a(t)&&(t={match:t}),l[e].addHandler(t)})),this},unregister:function(e,t){var o=this.queries[e];return o&&(t?o.removeHandler(t):(o.clear(),delete this.queries[e])),this}},e.exports=i},1755:function(e){function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},6665:function(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var o=0,n=e.length;o<n&&!1!==t(e[o],o);o++);}}},4974:function(e,t,o){var n=o(8177);e.exports=new n},7158:function(e,t,o){var n,l;"undefined"!=typeof window&&window,void 0===(l="function"==typeof(n=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var o=this._events=this._events||{},n=o[e]=o[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var o=this._onceEvents=this._onceEvents||{};return(o[e]=o[e]||{})[t]=!0,this}},t.off=function(e,t){var o=this._events&&this._events[e];if(o&&o.length){var n=o.indexOf(t);return-1!=n&&o.splice(n,1),this}},t.emitEvent=function(e,t){var o=this._events&&this._events[e];if(o&&o.length){o=o.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],l=0;l<o.length;l++){var r=o[l];n&&n[r]&&(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?n.call(t,o,t,e):n)||(e.exports=l)},9303:function(e){"use strict";var t=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,n){if(o(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var l=Object.keys(e),r=Object.keys(n);if(l.length!==r.length)return!1;for(var a=0;a<l.length;a++)if(!t.call(n,l[a])||!o(e[l[a]],n[l[a]]))return!1;return!0}},9047:function(e,t,o){var n,l;!function(r,a){n=[o(9741)],l=function(e){return function(e,t){"use strict";var o={extend:function(e,t){for(var o in t)e[o]=t[o];return e},modulo:function(e,t){return(e%t+t)%t}},n=Array.prototype.slice;o.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?n.call(e):[e]},o.removeFrom=function(e,t){var o=e.indexOf(t);-1!=o&&e.splice(o,1)},o.getParent=function(e,o){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,o))return e},o.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},o.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},o.filterFindElements=function(e,n){e=o.makeArray(e);var l=[];return e.forEach((function(e){if(e instanceof HTMLElement)if(n){t(e,n)&&l.push(e);for(var o=e.querySelectorAll(n),r=0;r<o.length;r++)l.push(o[r])}else l.push(e)})),l},o.debounceMethod=function(e,t,o){o=o||100;var n=e.prototype[t],l=t+"Timeout";e.prototype[t]=function(){var e=this[l];clearTimeout(e);var t=arguments,r=this;this[l]=setTimeout((function(){n.apply(r,t),delete r[l]}),o)}},o.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},o.toDashed=function(e){return e.replace(/(.)([A-Z])/g,(function(e,t,o){return t+"-"+o})).toLowerCase()};var l=e.console;return o.htmlInit=function(t,n){o.docReady((function(){var r=o.toDashed(n),a="data-"+r,c=document.querySelectorAll("["+a+"]"),i=document.querySelectorAll(".js-"+r),s=o.makeArray(c).concat(o.makeArray(i)),u=a+"-options",d=e.jQuery;s.forEach((function(e){var o,r=e.getAttribute(a)||e.getAttribute(u);try{o=r&&JSON.parse(r)}catch(t){return void(l&&l.error("Error parsing "+a+" on "+e.className+": "+t))}var c=new t(e,o);d&&d.data(e,n,c)}))}))},o}(r,e)}.apply(t,n),void 0===l||(e.exports=l)}(window)},3597:function(e,t,o){var n,l;window,n=[o(7217),o(9047)],void 0===(l=function(e,t){return function(e,t,o){"use strict";var n=t.prototype;return n.insert=function(e,t){var o=this._makeCells(e);if(o&&o.length){var n=this.cells.length;t=void 0===t?n:t;var l=function(e){var t=document.createDocumentFragment();return e.forEach((function(e){t.appendChild(e.element)})),t}(o),r=t==n;if(r)this.slider.appendChild(l);else{var a=this.cells[t].element;this.slider.insertBefore(l,a)}if(0===t)this.cells=o.concat(this.cells);else if(r)this.cells=this.cells.concat(o);else{var c=this.cells.splice(t,n-t);this.cells=this.cells.concat(o).concat(c)}this._sizeCells(o),this.cellChange(t,!0)}},n.append=function(e){this.insert(e,this.cells.length)},n.prepend=function(e){this.insert(e,0)},n.remove=function(e){var t=this.getCells(e);if(t&&t.length){var n=this.cells.length-1;t.forEach((function(e){e.remove();var t=this.cells.indexOf(e);n=Math.min(t,n),o.removeFrom(this.cells,e)}),this),this.cellChange(n,!0)}},n.cellSizeChange=function(e){var t=this.getCell(e);if(t){t.getSize();var o=this.cells.indexOf(t);this.cellChange(o)}},n.cellChange=function(e,t){var o=this.selectedElement;this._positionCells(e),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(o);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[e]),this.select(this.selectedIndex),t&&this.positionSliderAtSelected()},t}(0,e,t)}.apply(t,n))||(e.exports=l)},7880:function(e,t,o){var n,l;window,n=[o(9047)],void 0===(l=function(e){return function(e,t){"use strict";return{startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var e=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating){var t=this;requestAnimationFrame((function(){t.animate()}))}},positionSlider:function(){var e=this.x;this.options.wrapAround&&this.cells.length>1&&(e=t.modulo(e,this.slideableWidth),e-=this.slideableWidth,this.shiftWrapCells(e)),this.setTranslateX(e,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(e,t){e+=this.cursorPosition,e=this.options.rightToLeft?-e:e;var o=this.getPositionValue(e);this.slider.style.transform=t?"translate3d("+o+",0,0)":"translateX("+o+")"},dispatchScrollEvent:function(){var e=this.slides[0];if(e){var t=-this.x-e.target,o=t/this.slidesWidth;this.dispatchEvent("scroll",null,[o,t])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(e){return this.options.percentPosition?.01*Math.round(e/this.size.innerWidth*1e4)+"%":Math.round(e)+"px"},settle:function(e){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*e)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(e){var t=this.cursorPosition+e;this._shiftCells(this.beforeShiftCells,t,-1);var o=this.size.innerWidth-(e+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,o,1)},_shiftCells:function(e,t,o){for(var n=0;n<e.length;n++){var l=e[n],r=t>0?o:0;l.wrapShift(r),t-=l.size.outerWidth}},_unshiftCells:function(e){if(e&&e.length)for(var t=0;t<e.length;t++)e[t].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(e){this.velocity+=e},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var e=this.dragX-this.x-this.velocity;this.applyForce(e)}},applySelectedAttraction:function(){if((!this.isDraggable||!this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var e=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(e)}}}}(0,e)}.apply(t,n))||(e.exports=l)},7229:function(e,t,o){var n,l;window,n=[o(6131)],void 0===(l=function(e){return function(e,t){"use strict";function o(e,t){this.element=e,this.parent=t,this.create()}var n=o.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0},n.destroy=function(){this.unselect(),this.element.style.position="";var e=this.parent.originSide;this.element.style[e]="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=t(this.element)},n.setPosition=function(e){this.x=e,this.updateTarget(),this.renderPosition(e)},n.updateTarget=n.setDefaultTarget=function(){var e="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[e]+this.size.width*this.parent.cellAlign},n.renderPosition=function(e){var t=this.parent.originSide;this.element.style[t]=this.parent.getPositionValue(e)},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(e){this.shift=e,this.renderPosition(this.x+this.parent.slideableWidth*e)},n.remove=function(){this.element.parentNode.removeChild(this.element)},o}(0,e)}.apply(t,n))||(e.exports=l)},9690:function(e,t,o){var n,l;!function(r,a){n=[o(7217),o(4842),o(9047)],l=function(e,t,o){return function(e,t,o,n){"use strict";n.extend(t.defaults,{draggable:">1",dragThreshold:3}),t.createMethods.push("_createDrag");var l=t.prototype;n.extend(l,o.prototype),l._touchActionValue="pan-y";var r="createTouch"in document,a=!1;l._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),r&&!a&&(e.addEventListener("touchmove",(function(){})),a=!0)},l.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},l.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},l.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},l.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},l.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},l._uiChangeDrag=function(){delete this.isFreeScrolling},l.pointerDown=function(t,o){this.isDraggable?this.okayPointerDown(t)&&(this._pointerDownPreventDefault(t),this.pointerDownFocus(t),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=i(),e.addEventListener("scroll",this),this._pointerDownDefault(t,o)):this._pointerDownDefault(t,o)},l._pointerDownDefault=function(e,t){this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},this._bindPostStartEvents(e),this.dispatchEvent("pointerDown",e,[t])};var c={INPUT:!0,TEXTAREA:!0,SELECT:!0};function i(){return{x:e.pageXOffset,y:e.pageYOffset}}return l.pointerDownFocus=function(e){c[e.target.nodeName]||this.focus()},l._pointerDownPreventDefault=function(e){var t="touchstart"==e.type,o="touch"==e.pointerType,n=c[e.target.nodeName];t||o||n||e.preventDefault()},l.hasDragStarted=function(e){return Math.abs(e.x)>this.options.dragThreshold},l.pointerUp=function(e,t){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",e,[t]),this._dragPointerUp(e,t)},l.pointerDone=function(){e.removeEventListener("scroll",this),delete this.pointerDownScroll},l.dragStart=function(t,o){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),e.removeEventListener("scroll",this),this.dispatchEvent("dragStart",t,[o]))},l.pointerMove=function(e,t){var o=this._dragPointerMove(e,t);this.dispatchEvent("pointerMove",e,[t,o]),this._dragMove(e,t,o)},l.dragMove=function(e,t,o){if(this.isDraggable){e.preventDefault(),this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;this.options.wrapAround&&(o.x%=this.slideableWidth);var l=this.dragStartPosition+o.x*n;if(!this.options.wrapAround&&this.slides.length){var r=Math.max(-this.slides[0].target,this.dragStartPosition);l=l>r?.5*(l+r):l;var a=Math.min(-this.getLastSlide().target,this.dragStartPosition);l=l<a?.5*(l+a):l}this.dragX=l,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",e,[t,o])}},l.dragEnd=function(e,t){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var o=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||o!=this.selectedIndex||(o+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(o),delete this.isDragSelect,this.dispatchEvent("dragEnd",e,[t])}},l.dragEndRestingSelect=function(){var e=this.getRestingPosition(),t=Math.abs(this.getSlideDistance(-e,this.selectedIndex)),o=this._getClosestResting(e,t,1),n=this._getClosestResting(e,t,-1);return o.distance<n.distance?o.index:n.index},l._getClosestResting=function(e,t,o){for(var n=this.selectedIndex,l=1/0,r=this.options.contain&&!this.options.wrapAround?function(e,t){return e<=t}:function(e,t){return e<t};r(t,l)&&(n+=o,l=t,null!==(t=this.getSlideDistance(-e,n)));)t=Math.abs(t);return{distance:l,index:n-o}},l.getSlideDistance=function(e,t){var o=this.slides.length,l=this.options.wrapAround&&o>1,r=l?n.modulo(t,o):t,a=this.slides[r];if(!a)return null;var c=l?this.slideableWidth*Math.floor(t/o):0;return e-(a.target+c)},l.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var e=this.getSlideDistance(-this.dragX,this.selectedIndex),t=this.previousDragX-this.dragX;return e>0&&t>0?1:e<0&&t<0?-1:0},l.staticClick=function(e,t){var o=this.getParentCell(e.target),n=o&&o.element,l=o&&this.cells.indexOf(o);this.dispatchEvent("staticClick",e,[t,n,l])},l.onscroll=function(){var e=i(),t=this.pointerDownScroll.x-e.x,o=this.pointerDownScroll.y-e.y;(Math.abs(t)>3||Math.abs(o)>3)&&this._pointerDone()},t}(r,e,t,o)}.apply(t,n),void 0===l||(e.exports=l)}(window)},7217:function(e,t,o){var n,l;!function(r,a){n=[o(7158),o(6131),o(9047),o(7229),o(9714),o(7880)],l=function(e,t,o,n,l,a){return function(e,t,o,n,l,r,a){"use strict";var c=e.jQuery,i=e.getComputedStyle,s=e.console;function u(e,t){for(e=n.makeArray(e);e.length;)t.appendChild(e.shift())}var d=0,m={};function h(e,t){var o=n.getQueryElement(e);if(o){if(this.element=o,this.element.flickityGUID){var l=m[this.element.flickityGUID];return l&&l.option(t),l}c&&(this.$element=c(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(t),this._create()}else s&&s.error("Bad element for Flickity: "+(o||e))}h.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},h.createMethods=[];var p=h.prototype;n.extend(p,t.prototype),p._create=function(){var t=this.guid=++d;for(var o in this.element.flickityGUID=t,m[t]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&e.addEventListener("resize",this),this.options.on){var n=this.options.on[o];this.on(o,n)}h.createMethods.forEach((function(e){this[e]()}),this),this.options.watchCSS?this.watchCSS():this.activate()},p.option=function(e){n.extend(this.options,e)},p.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),u(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},p._createSlider=function(){var e=document.createElement("div");e.className="flickity-slider",e.style[this.originSide]=0,this.slider=e},p._filterFindCellElements=function(e){return n.filterFindElements(e,this.options.cellSelector)},p.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},p._makeCells=function(e){return this._filterFindCellElements(e).map((function(e){return new l(e,this)}),this)},p.getLastCell=function(){return this.cells[this.cells.length-1]},p.getLastSlide=function(){return this.slides[this.slides.length-1]},p.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},p._positionCells=function(e){e=e||0,this.maxCellHeight=e&&this.maxCellHeight||0;var t=0;if(e>0){var o=this.cells[e-1];t=o.x+o.size.outerWidth}for(var n=this.cells.length,l=e;l<n;l++){var r=this.cells[l];r.setPosition(t),t+=r.size.outerWidth,this.maxCellHeight=Math.max(r.size.outerHeight,this.maxCellHeight)}this.slideableWidth=t,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},p._sizeCells=function(e){e.forEach((function(e){e.getSize()}))},p.updateSlides=function(){if(this.slides=[],this.cells.length){var e=new r(this);this.slides.push(e);var t="left"==this.originSide?"marginRight":"marginLeft",o=this._getCanCellFit();this.cells.forEach((function(n,l){if(e.cells.length){var a=e.outerWidth-e.firstMargin+(n.size.outerWidth-n.size[t]);o.call(this,l,a)||(e.updateTarget(),e=new r(this),this.slides.push(e)),e.addCell(n)}else e.addCell(n)}),this),e.updateTarget(),this.updateSelectedSlide()}},p._getCanCellFit=function(){var e=this.options.groupCells;if(!e)return function(){return!1};if("number"==typeof e){var t=parseInt(e,10);return function(e){return e%t!=0}}var o="string"==typeof e&&e.match(/^(\d+)%$/),n=o?parseInt(o[1],10)/100:1;return function(e,t){return t<=(this.size.innerWidth+1)*n}},p._init=p.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},p.getSize=function(){this.size=o(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var b={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return p.setCellAlign=function(){var e=b[this.options.cellAlign];this.cellAlign=e?e[this.originSide]:this.options.cellAlign},p.setGallerySize=function(){if(this.options.setGallerySize){var e=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=e+"px"}},p._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var e=this.cursorPosition,t=this.cell