(()=>{"use strict";var e,a={290(){const e=window.wp.blocks,a=window.wp.i18n,t=window.wp.blockEditor,n=window.wp.components,r=window.wp.hooks;var l=JSON.parse('{"UU":"super-advent-calendar/advent-calendar"}').UU;(0,e.registerBlockType)(l,{edit:function(e){var l=e.attributes,c=e.setAttributes,o=(0,t.useBlockProps)({className:"superac"}),s=(0,r.applyFilters)("superac-animations",[{label:(0,a.__)("No animation","super-advent-calendar"),value:"none"},{label:(0,a.__)("Flip","super-advent-calendar"),value:"flip"}]),i=(0,n.withFilters)("superac-special-effects")(function(){return React.createElement(React.Fragment,null)});return React.createElement(React.Fragment,null,React.createElement(t.InspectorControls,null,React.createElement(n.PanelBody,{initialOpen:!0,title:(0,a.__)("Effects","super-advent-calendar")},React.createElement(n.SelectControl,{__nextHasNoMarginBottom:!0,label:(0,a.__)("Revealing animation","super-advent-calendar"),onChange:function(e){return c({animation:e})},options:s,value:l.animation}),React.createElement(i,{attributes:l,setAttributes:c})),!vsSacSettings.isPremium&&React.createElement(n.PanelBody,{opened:!0,title:(0,a.__)("Upgrade to Premium","super-advent-calendar")},React.createElement("p",null,(0,a.__)("Unlock exclusive features with our premium plan.","super-advent-calendar"),React.createElement("a",{href:"https://www.verdant.studio/plugins/super-advent-calendar/#pricing",rel:"noopener noreferrer",target:"_blank"}," ",(0,a.__)("Learn More.","super-advent-calendar"))))),React.createElement("div",o,React.createElement(t.InnerBlocks,{allowedBlocks:["super-advent-calendar/advent-calendar-day"],renderAppender:t.InnerBlocks.ButtonBlockAppender})))},save:function(){var e=t.useBlockProps.save({className:"superac"});return React.createElement("div",e,React.createElement(t.InnerBlocks.Content,null))}})}},t={};function n(e){var r=t[e];if(void 0!==r)return r.exports;var l=t[e]={exports:{}};return a[e](l,l.exports,n),l.exports}n.m=a,e=[],n.O=(a,t,r,l)=>{if(!t){var c=1/0;for(p=0;p<e.length;p++){for(var[t,r,l]=e[p],o=!0,s=0;s<t.length;s++)(!1&l||c>=l)&&Object.keys(n.O).every(e=>n.O[e](t[s]))?t.splice(s--,1):(o=!1,l<c&&(c=l));if(o){e.splice(p--,1);var i=r();void 0!==i&&(a=i)}}return a}l=l||0;for(var p=e.length;p>0&&e[p-1][2]>l;p--)e[p]=e[p-1];e[p]=[t,r,l]},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={617:0,413:0};n.O.j=a=>0===e[a];var a=(a,t)=>{var r,l,[c,o,s]=t,i=0;if(c.some(a=>0!==e[a])){for(r in o)n.o(o,r)&&(n.m[r]=o[r]);if(s)var p=s(n)}for(a&&a(t);i<c.length;i++)l=c[i],n.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return n.O(p)},t=globalThis.webpackChunksuper_advent_calendar=globalThis.webpackChunksuper_advent_calendar||[];t.forEach(a.bind(null,0)),t.push=a.bind(null,t.push.bind(t))})();var r=n.O(void 0,[413],()=>n(290));r=n.O(r)})();