(window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./shortcode/editor.css":function(e,t){e.exports=".vce-shortcode {\n  min-height: 1em;\n}\n"},"./shortcode/index.js":function(e,t,o){"use strict";o.r(t);var s=o("./node_modules/vc-cake/index.js"),n=o.n(s),r=o("./node_modules/@babel/runtime/helpers/extends/index.js"),c=o.n(r),a=o("./node_modules/@babel/runtime/helpers/classCallCheck/index.js"),i=o.n(a),d=o("./node_modules/@babel/runtime/helpers/createClass/index.js"),l=o.n(d),u=o("./node_modules/@babel/runtime/helpers/get/index.js"),p=o.n(u),h=o("./node_modules/@babel/runtime/helpers/inherits/index.js"),m=o.n(h),v=o("./node_modules/@babel/runtime/helpers/possibleConstructorReturn/index.js"),f=o.n(v),y=o("./node_modules/@babel/runtime/helpers/getPrototypeOf/index.js"),b=o.n(y),g=o("./node_modules/react/index.js"),x=o.n(g),j=o("./node_modules/lodash/lodash.js"),C=o.n(j);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,s=b()(e);if(t){var n=b()(this).constructor;o=Reflect.construct(s,arguments,n)}else o=s.apply(this,arguments);return f()(this,o)}}var S=function(e){m()(o,e);var t=_(o);function o(e){var s;return i()(this,o),(s=t.call(this,e)).delayedShortcodeUpdate=C.a.debounce(s.updateShortcodeElement,500),s}return l()(o,[{key:"componentDidMount",value:function(){p()(b()(o.prototype),"updateShortcodeToHtml",this).call(this,this.props.atts.shortcode,this.refs.vcvhelper)}},{key:"updateShortcodeElement",value:function(){p()(b()(o.prototype),"updateShortcodeToHtml",this).call(this,this.props.atts.shortcode,this.refs.vcvhelper)}},{key:"componentDidUpdate",value:function(e){this.props.atts.shortcode!==e.atts.shortcode&&this.delayedShortcodeUpdate()}},{key:"render",value:function(){var e=this.props,t=e.id,o=e.atts,s=e.editor,n=o.shortcode,r=o.customClass,a=o.metaCustomId,i="vce-shortcode",d={};"string"==typeof r&&r&&(i=i.concat(" "+r)),a&&(d.id=a);var l=this.applyDO("all");return x.a.createElement("div",c()({className:i},s,d),x.a.createElement("div",c()({className:"vce-shortcode-wrapper vce",id:"el-"+t},l),x.a.createElement("div",{className:"vcvhelper",ref:"vcvhelper","data-vcvs-html":n})))}}]),o}(n.a.getService("api").elementComponent);(0,n.a.getService("cook").add)(o("./shortcode/settings.json"),(function(e){e.add(S)}),{css:!1,editorCss:o("./node_modules/raw-loader/index.js!./shortcode/editor.css")},"")},"./shortcode/settings.json":function(e){e.exports=JSON.parse('{"shortcode":{"type":"string","access":"public","value":"Insert [shortcode] of any WordPress plugin installed on your website."},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["shortcode","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"customClass":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from the custom CSS option."}},"assetsLibrary":{"access":"public","type":"string","value":["animate"]},"metaCustomId":{"type":"customId","access":"public","value":"","options":{"label":"Element ID","description":"Apply a unique ID to the element to link it directly by using #your_id (for element ID use lowercase input only)."}},"tag":{"access":"protected","type":"string","value":"shortcode"}}')}},[["./shortcode/index.js"]]]);