(()=>{"use strict";const e=window.wp.blocks,t=window.wp.element,r=(window.wp.i18n,JSON.parse("{\"UU\":\"tripzzy/slide\",\"DD\":\"Slide\",\"Kk\":\"<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M1 5.09091C1 4.48842 1.47969 4 2.07143 4H29.9286C30.5203 4 31 4.48842 31 5.09091V26.9091C31 27.5116 30.5203 28 29.9286 28H2.07143C1.47969 28 1 27.5116 1 26.9091V5.09091ZM3.14286 6.18182V25.8182H28.8571V6.18182H3.14286Z' fill='#3EB368'/><path fill-rule='evenodd' clip-rule='evenodd' d='M8.79716 12.2734C9.04334 12.4405 9.10986 12.7792 8.94574 13.0298L7.00099 16L8.94574 18.9702C9.10986 19.2208 9.04334 19.5595 8.79716 19.7266C8.55098 19.8937 8.21838 19.8259 8.05426 19.5753L5.9114 16.3026C5.79144 16.1193 5.79144 15.8807 5.9114 15.6974L8.05426 12.4247C8.21838 12.1741 8.55098 12.1063 8.79716 12.2734ZM23.2028 12.2734C23.449 12.1063 23.7816 12.1741 23.9457 12.4247L26.0886 15.6974C26.2086 15.8807 26.2086 16.1193 26.0886 16.3026L23.9457 19.5753C23.7816 19.8259 23.449 19.8937 23.2028 19.7266C22.9567 19.5595 22.8901 19.2208 23.0543 18.9702L24.999 16L23.0543 13.0298C22.8901 12.7792 22.9567 12.4405 23.2028 12.2734Z' fill='#3EB368'/></svg>\",\"h_\":\"Single Slide block to be used with Slider block\"}")),o=window.wp.blockEditor,n=window.wp.data;function i(e){return i="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},i(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r.UU,u=r.Kk,a=r.attributes,p=r.DD,d=r.h_;(0,e.registerBlockType)(s,{title:p,icon:React.createElement(t.RawHTML,null,u),attributes:a,description:d,edit:function(e){var t=e.attributes,r=t.templateLock,i=void 0!==r&&r,s=(t.allowedBlocks,e.setAttributes,e.clientId),u=(0,o.useBlockProps)({className:"swiper-slide"}),a=(0,n.useSelect)(function(e){var t=e(o.store),r=t.getBlockOrder,n=(0,t.getBlockRootClientId)(s);return{hasChildBlocks:r(s).length>0,rootClientId:n,columnsIds:r(n)}},[s]).hasChildBlocks,p=((0,n.useDispatch)(o.store).updateBlockAttributes,(0,o.useInnerBlocksProps)(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},u),{templateLock:i,allowedBlocks:["core/cover"],renderAppender:a?void 0:o.InnerBlocks.ButtonBlockAppender}));return React.createElement("div",p)},save:function(e){e.attributes;var t=o.useBlockProps.save({className:"swiper-slide"}),r=o.useInnerBlocksProps.save(t);return React.createElement("div",r)}})})();