!function(){"use strict";var e,n={277:function(e,n,t){var o=window.wp.blocks,r=window.wp.element,u=window.wp.i18n,i=window.wp.blockEditor,l=window.wp.components,c=window.wp.serverSideRender,a=t.n(c);(0,o.registerBlockType)("ubermenu/ubermenu-block",{edit:function(e){let{attributes:n,setAttributes:t}=e;const o=Object.keys(window.ubermenu_block.menu_options).map((e=>({value:e,label:window.ubermenu_block.menu_options[e]}))),c=Object.keys(window.ubermenu_block.config_options).map((e=>({value:e,label:window.ubermenu_block.config_options[e]})));return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(l.PanelBody,null,(0,r.createElement)(l.SelectControl,{label:(0,u.__)("Menu"),value:n.menuId,onChange:e=>t({menuId:+e}),options:o}),(0,r.createElement)(l.SelectControl,{label:(0,u.__)("Configuration"),value:n.configId,onChange:e=>t({configId:e}),options:c}))),(0,r.createElement)("div",(0,i.useBlockProps)(),(0,r.createElement)(a(),{block:"ubermenu/ubermenu-block",attributes:n})))},save:function(){return null}})}},t={};function o(e){var r=t[e];if(void 0!==r)return r.exports;var u=t[e]={exports:{}};return n[e](u,u.exports,o),u.exports}o.m=n,e=[],o.O=function(n,t,r,u){if(!t){var i=1/0;for(f=0;f<e.length;f++){t=e[f][0],r=e[f][1],u=e[f][2];for(var l=!0,c=0;c<t.length;c++)(!1&u||i>=u)&&Object.keys(o.O).every((function(e){return o.O[e](t[c])}))?t.splice(c--,1):(l=!1,u<i&&(i=u));if(l){e.splice(f--,1);var a=r();void 0!==a&&(n=a)}}return n}u=u||0;for(var f=e.length;f>0&&e[f-1][2]>u;f--)e[f]=e[f-1];e[f]=[t,r,u]},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){var e={826:0,431:0};o.O.j=function(n){return 0===e[n]};var n=function(n,t){var r,u,i=t[0],l=t[1],c=t[2],a=0;if(i.some((function(n){return 0!==e[n]}))){for(r in l)o.o(l,r)&&(o.m[r]=l[r]);if(c)var f=c(o)}for(n&&n(t);a<i.length;a++)u=i[a],o.o(e,u)&&e[u]&&e[u][0](),e[u]=0;return o.O(f)},t=self.webpackChunku=self.webpackChunku||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}();var r=o.O(void 0,[431],(function(){return o(277)}));r=o.O(r)}();