(()=>{"use strict";var e,t={445:()=>{const e=window.wp.blocks,t=window.wp.components,l=window.wp.blockEditor,a="wp-block-block-development-examples-counter-js-99def1";(0,e.registerBlockType)("block-development-examples/counter-js-99def1",{edit:({attributes:e,setAttributes:a})=>React.createElement(React.Fragment,null,React.createElement("div",(0,l.useBlockProps)(),React.createElement("p",null,"Javascript Counter"),React.createElement("span",null,"Initial value"),React.createElement(t.__experimentalNumberControl,{placeholder:"Enter the initial value",value:e.initial,onChange:e=>a({initial:e})}),React.createElement("span",null,"Incremental value"),React.createElement(t.__experimentalNumberControl,{placeholder:"Enter the incremental value",value:e.increment,onChange:e=>a({increment:e})}))),save:({attributes:e})=>React.createElement("div",l.useBlockProps.save(),React.createElement("p",null,"Javascript 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("button",{className:a+"__decrement"},"-"),React.createElement("input",{width:"5",step:e.increment,type:"number",className:a+"__value",value:e.initial}),React.createElement("button",{className:a+"__increment"},"+"))})}},l={};function a(e){var n=l[e];if(void 0!==n)return n.exports;var r=l[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,e=[],a.O=(t,l,n,r)=>{if(!l){var c=1/0;for(m=0;m<e.length;m++){l=e[m][0],n=e[m][1],r=e[m][2];for(var o=!0,i=0;i<l.length;i++)(!1&r||c>=r)&&Object.keys(a.O).every((e=>a.O[e](l[i])))?l.splice(i--,1):(o=!1,r<c&&(c=r));if(o){e.splice(m--,1);var s=n();void 0!==s&&(t=s)}}return t}r=r||0;for(var m=e.length;m>0&&e[m-1][2]>r;m--)e[m]=e[m-1];e[m]=[l,n,r]},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={609:0,333:0};a.O.j=t=>0===e[t];var t=(t,l)=>{var n,r,c=l[0],o=l[1],i=l[2],s=0;if(c.some((t=>0!==e[t]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(i)var m=i(a)}for(t&&t(l);s<c.length;s++)r=c[s],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(m)},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 n=a.O(void 0,[333],(()=>a(445)));n=a.O(n)})();