(()=>{"use strict";var e,t={3:()=>{const e=window.wp.blocks,t=window.wp.components,l=window.wp.blockEditor;(0,e.registerBlockType)("block-development-examples/counter-react-99def1",{edit:({attributes:e,setAttributes:n})=>React.createElement(React.Fragment,null,React.createElement("div",(0,l.useBlockProps)(),React.createElement("p",null,"React Counter"),React.createElement("span",null,"Initial value"),React.createElement(t.__experimentalNumberControl,{placeholder:"Enter the initial value",value:e.initial,onChange:e=>n({initial:e})}),React.createElement("span",null,"Incremental value"),React.createElement(t.__experimentalNumberControl,{placeholder:"Enter the incremental value",value:e.increment,onChange:e=>n({increment:e})}))),save:({attributes:e})=>React.createElement("div",l.useBlockProps.save(),React.createElement("p",null,"React Counter"),React.createElement("details",null,React.createElement("summary",null,"Attributes"),React.createElement("pre",null,React.createElement("small",null,JSON.stringify(e,null,2)))),React.createElement("br",null),React.createElement("div",{className:"counter-contaner","data-gutenberg-attributes":JSON.stringify(e)},React.createElement("button",null,"-"),React.createElement("input",{width:"5",type:"number",readOnly:!0,value:e.initial}),React.createElement("button",null,"+")))})}},l={};function n(e){var a=l[e];if(void 0!==a)return a.exports;var r=l[e]={exports:{}};return t[e](r,r.exports,n),r.exports}n.m=t,e=[],n.O=(t,l,a,r)=>{if(!l){var c=1/0;for(s=0;s<e.length;s++){l=e[s][0],a=e[s][1],r=e[s][2];for(var i=!0,o=0;o<l.length;o++)(!1&r||c>=r)&&Object.keys(n.O).every((e=>n.O[e](l[o])))?l.splice(o--,1):(i=!1,r<c&&(c=r));if(i){e.splice(s--,1);var u=a();void 0!==u&&(t=u)}}return t}r=r||0;for(var s=e.length;s>0&&e[s-1][2]>r;s--)e[s]=e[s-1];e[s]=[l,a,r]},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={829:0,169:0};n.O.j=t=>0===e[t];var t=(t,l)=>{var a,r,c=l[0],i=l[1],o=l[2],u=0;if(c.some((t=>0!==e[t]))){for(a in i)n.o(i,a)&&(n.m[a]=i[a]);if(o)var s=o(n)}for(t&&t(l);u<c.length;u++)r=c[u],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(s)},l=self.webpackChunk_block_development_examples_interactive_blocks_demos_99def1=self.webpackChunk_block_development_examples_interactive_blocks_demos_99def1||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var a=n.O(void 0,[169],(()=>n(3)));a=n.O(a)})();