!function(e){function l(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,l),n.l=!0,n.exports}var t={};l.m=e,l.c=t,l.d=function(e,t,a){l.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:a})},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,l){return Object.prototype.hasOwnProperty.call(e,l)},l.p="",l(l.s=0)}([function(e,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0});t(1)},function(e,l,t){"use strict";var a=t(2),n=(t.n(a),t(3)),u=t.n(n),o=t(4),i=wp.i18n.__,r=wp.blocks.registerBlockType,b=wp.editor,d=b.InspectorControls,f=b.InnerBlocks,s=wp.components,v=s.PanelBody,c=(s.PanelRow,s.TextControl),p=s.SelectControl,h=s.ToggleControl,m=s.RangeControl,g=(s.Autocomplete,wp.element.Fragment),I={animation:{type:"string"},customClass:{type:"string"},delay:{type:"number",default:0},threshold:{type:"number",default:50},hideEl:{type:"boolean",default:!1}};r("ab/animate",{title:i("Animated Block"),icon:"controls-play",category:"layout",attributes:I,description:i("Add whatever content blocks you'd like inside the animated block."),edit:function(e){var l=e.attributes,t=e.setAttributes,a=e.className,n=l.animation,r=void 0===n?"":n,b=l.customClass,s=void 0===b?"":b,I=l.delay,O=l.threshold,w=l.hideEl,y=function(e){if(!e)return void t({delay:0});t({delay:parseInt(e,10)})};return wp.element.createElement(g,null,wp.element.createElement(d,null,wp.element.createElement(v,null,wp.element.createElement(p,{label:i("Animation"),value:r,options:o.a,onChange:function(e){return t({animation:e})}}),wp.element.createElement(c,{label:i("Custom Animation / CSS Class"),value:s,onChange:function(e){return t({customClass:e})}}),wp.element.createElement(c,{label:i("Animation Delay (ms)"),value:I,onChange:y}),wp.element.createElement(m,{label:i("Threshold"),value:O,onChange:function(e){return t({threshold:e})},min:1,max:100}),wp.element.createElement(h,{label:i("Set to 0 opacity"),checked:w,onChange:function(e){return t({hideEl:e})}}))),wp.element.createElement("div",{className:u()(a,"animated",r)},wp.element.createElement(f,null)))},save:function(e){var l=e.attributes,t=e.className,a=l.animation,n=void 0===a?"":a,o=l.customClass,i=void 0===o?"":o,r=l.delay,b=l.threshold,d=l.hideEl;return wp.element.createElement("div",{className:u()(t,{"scroll-hide":d}),"data-scroll-class":n+" "+i,"data-scroll-delay":r,"data-scroll-threshold":b},wp.element.createElement(f.Content,null))}})},function(e,l){},function(e,l,t){var a,n;!function(){"use strict";function t(){for(var e=[],l=0;l