/*! grapesjs-preset-webpage - 1.0.3 */ !function(e,n){'object'==typeof exports&&'object'==typeof module?module.exports=n():'function'==typeof define&&define.amd?define([],n):'object'==typeof exports?exports["grapesjs-preset-webpage"]=n():e["grapesjs-preset-webpage"]=n()}('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:this,(()=>(()=>{"use strict";var e={d:(n,t)=>{for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n),r:e=>{'undefined'!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:'Module'}),Object.defineProperty(e,'__esModule',{value:!0})}},n={};e.r(n),e.d(n,{default:()=>u});var t=void 0&&(void 0).__assign||function(){return t=Object.assign||function(e){for(var n,t=1,o=arguments.length;t=0&&e.Blocks.add(o,t(t({select:!0,category:'Basic'},r),n.block(o)))};o('link-block',{label:'Link Block',media:"\n \n ",content:{type:'link',editable:!1,droppable:!0,style:{display:'inline-block',padding:'5px','min-height':'50px','min-width':'50px'}}}),o('quote',{label:'Quote',media:"\n \n ",content:"
\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore ipsum dolor sit\n
"}),o('text-basic',{label:'Text section',media:"\n \n ",content:"
\n

Insert title here

\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua

\n
"})}(e,l),s(e,l),function(e,n){var t=e.Panels,l=e.getConfig(),s='sw-visibility',d='export-template',u='open-sm',m='open-tm',p='open-layers',v='open-blocks',H='fullscreen',C='preview',f='style="display: block; max-width:22px"';l.showDevices=!1,t.getPanels().reset([{id:'commands',buttons:[{}]},{id:'devices-c',buttons:[{id:r,command:r,active:!0,label:"\n \n ")},{id:i,command:i,label:"\n \n ")},{id:a,command:a,label:"\n \n ")}]},{id:'options',buttons:[{id:s,command:s,context:s,label:"\n \n ")},{id:C,context:C,command:function(){return e.runCommand(C)},label:"")},{id:H,command:H,context:H,label:"\n \n ")},{id:d,command:function(){return e.runCommand(d)},label:"\n \n ")},{id:'undo',command:function(){return e.runCommand('core:undo')},label:"\n \n ")},{id:'redo',command:function(){return e.runCommand('core:redo')},label:"\n \n ")},{id:o,command:function(){return e.runCommand(o)},label:"\n \n ")},{id:c,command:function(){return e.runCommand(c)},label:"\n \n ")}]},{id:'views',buttons:[{id:u,command:u,active:!0,label:"\n \n ")},{id:m,command:m,label:"\n \n ")},{id:p,command:p,label:"\n \n ")},{id:v,command:v,label:"\n \n ")}]}]);var g=t.getButton('views',v);e.on('load',(function(){return null==g?void 0:g.set('active',!0)})),n.showStylesOnChange&&e.on('component:selected',(function(){var n=t.getButton('views',u),o=t.getButton('views',p);o&&o.get('active')||!e.getSelected()||null==n||n.set('active',!0)}))}(e,l)};return n})())); //# sourceMappingURL=index.js.map