(()=>{var e,r={75:(e,r,o)=>{"use strict";const n=window.wp.blocks,t=JSON.parse('{"UU":"snow-monkey-blocks/price-menu"}'),s=window.ReactJSXRuntime,i=(0,s.jsxs)("svg",{viewBox:"0 0 24 24",children:[(0,s.jsx)("path",{d:"M12,3a9,9,0,1,0,9,9A9,9,0,0,0,12,3Zm0,17a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z"}),(0,s.jsx)("path",{d:"M12.33,11.34c-.76-.29-1.42-.54-1.42-1s.45-.85,1.17-.85a2.31,2.31,0,0,1,1.63.63l.06.06.61-.69-.06,0a2.82,2.82,0,0,0-1.79-.89V7h-.86V8.52A1.89,1.89,0,0,0,9.8,10.33c0,1.14,1.12,1.58,2.1,2,.79.31,1.54.61,1.54,1.2s-.49.9-1.29.9a3.45,3.45,0,0,1-2.08-.76L10,13.57l-.54.81.06,0a4.17,4.17,0,0,0,2.16.9V17h.86V15.32c1.23-.16,2-.9,2-1.9C14.55,12.18,13.37,11.73,12.33,11.34Z"})]});var a=o(6942),c=o.n(a);const l=window.wp.blockEditor,u=window.wp.data,p=["snow-monkey-blocks/price-menu-item"],d=[["snow-monkey-blocks/price-menu-item"]];(0,n.registerBlockType)(t.UU,{icon:{foreground:"#cd162c",src:i},edit:function({attributes:e,className:r,clientId:o}){const{templateLock:n}=e,t=(0,u.useSelect)((e=>!!e("core/block-editor").getBlock(o)?.innerBlocks?.length),[o]),i=c()("smb-price-menu",r),a=(0,l.useBlockProps)({className:i}),v=(0,l.useInnerBlocksProps)(a,{allowedBlocks:p,template:d,templateLock:n,renderAppender:t?void 0:l.InnerBlocks.ButtonBlockAppender});return(0,s.jsx)("div",{...v})},save:function({className:e}){const r=c()("smb-price-menu",e);return(0,s.jsx)("div",{...l.useInnerBlocksProps.save(l.useBlockProps.save({className:r}))})}})},6942:(e,r)=>{var o;!function(){"use strict";var n={}.hasOwnProperty;function t(){for(var e="",r=0;r<arguments.length;r++){var o=arguments[r];o&&(e=i(e,s(o)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return t.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var o in e)n.call(e,o)&&e[o]&&(r=i(r,o));return r}function i(e,r){return r?e?e+" "+r:e+r:e}e.exports?(t.default=t,e.exports=t):void 0===(o=function(){return t}.apply(r,[]))||(e.exports=o)}()}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var s=o[e]={exports:{}};return r[e](s,s.exports,n),s.exports}n.m=r,e=[],n.O=(r,o,t,s)=>{if(!o){var i=1/0;for(u=0;u<e.length;u++){for(var[o,t,s]=e[u],a=!0,c=0;c<o.length;c++)(!1&s||i>=s)&&Object.keys(n.O).every((e=>n.O[e](o[c])))?o.splice(c--,1):(a=!1,s<i&&(i=s));if(a){e.splice(u--,1);var l=t();void 0!==l&&(r=l)}}return r}s=s||0;for(var u=e.length;u>0&&e[u-1][2]>s;u--)e[u]=e[u-1];e[u]=[o,t,s]},n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var o in r)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={9215:0,1863:0};n.O.j=r=>0===e[r];var r=(r,o)=>{var t,s,[i,a,c]=o,l=0;if(i.some((r=>0!==e[r]))){for(t in a)n.o(a,t)&&(n.m[t]=a[t]);if(c)var u=c(n)}for(r&&r(o);l<i.length;l++)s=i[l],n.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return n.O(u)},o=globalThis.webpackChunk=globalThis.webpackChunk||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var t=n.O(void 0,[1863],(()=>n(75)));t=n.O(t)})();