(()=>{"use strict";var e={"./assets/blocks/tablesome-shortcode/edit.js":(e,t,o)=>{o.d(t,{default:()=>n});var r=o("@wordpress/block-editor"),s=o("@wordpress/components"),a=o("@wordpress/i18n");function n(e){var t=e.attributes,o=e.setAttributes,n=(0,r.useBlockProps)({className:"csf-shortcode-block"});return React.createElement("div",n,React.createElement(s.Button,{variant:"secondary",className:"csf-shortcode-button","data-modal-id":"tablesome-shortcode","data-gutenberg-id":"tablesome/shortcode",onClick:function(){window.csf_gutenberg_props={attributes:t,setAttributes:o}}},(0,a.__)("Add Tablesome Shortcode","tablesome")),React.createElement(s.TextareaControl,{placeholder:(0,a.__)("Write shortcode here...","tablesome"),value:t.shortcode||"",onChange:function(e){return o({shortcode:e})},className:"blocks-shortcode__textarea"}))}},"./assets/blocks/tablesome-shortcode/save.js":(e,t,o)=>{o.d(t,{default:()=>s});var r=o("@wordpress/element");function s(e){var t=e.attributes;return React.createElement(r.RawHTML,null,t.shortcode)}},"@wordpress/block-editor":e=>{e.exports=wp.blockEditor},"@wordpress/blocks":e=>{e.exports=wp.blocks},"@wordpress/components":e=>{e.exports=wp.components},"@wordpress/element":e=>{e.exports=wp.element},"@wordpress/i18n":e=>{e.exports=wp.i18n},"./assets/blocks/tablesome-shortcode/block.json":e=>{e.exports=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"tablesome/shortcode","version":"1.0.0","title":"Tablesome","category":"widgets","icon":"editor-table","description":"Insert a Tablesome table with customizable display options.","keywords":["tablesome","table","data","grid","spreadsheet"],"textdomain":"tablesome","editorScript":"tablesome-block","attributes":{"shortcode":{"type":"string","default":""}},"supports":{"html":false,"className":false,"customClassName":false}}')}},t={};function o(r){var s=t[r];if(void 0!==s)return s.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=o("@wordpress/blocks"),t=o("./assets/blocks/tablesome-shortcode/edit.js"),r=o("./assets/blocks/tablesome-shortcode/save.js"),s=o("./assets/blocks/tablesome-shortcode/block.json");function a(e){return a="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},a(e)}function n(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){l(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function l(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}(0,e.registerBlockType)(s.name,c(c({},s),{},{edit:t.default,save:r.default}))})()})();