(window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./rawJs/editor.css":function(e,t){e.exports="/* ----------------------------------------------\n * Raw JS\n * ---------------------------------------------- */\n.vce-raw-js-container {\n  min-height: 30px;\n}\n"},"./rawJs/index.js":function(e,t,s){"use strict";s.r(t);var r=s("./node_modules/vc-cake/index.js"),n=s.n(r),a=s("./node_modules/@babel/runtime/helpers/extends/index.js"),o=s.n(a),i=s("./node_modules/@babel/runtime/helpers/classCallCheck/index.js"),c=s.n(i),p=s("./node_modules/@babel/runtime/helpers/createClass/index.js"),l=s.n(p),d=s("./node_modules/@babel/runtime/helpers/inherits/index.js"),u=s.n(d),m=s("./node_modules/@babel/runtime/helpers/possibleConstructorReturn/index.js"),v=s.n(m),f=s("./node_modules/@babel/runtime/helpers/getPrototypeOf/index.js"),h=s.n(f),b=s("./node_modules/react/index.js"),w=s.n(b);function y(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 s,r=h()(e);if(t){var n=h()(this).constructor;s=Reflect.construct(r,arguments,n)}else s=r.apply(this,arguments);return v()(this,s)}}var J=function(e){u()(s,e);var t=y(s);function s(){return c()(this,s),t.apply(this,arguments)}return l()(s,[{key:"componentDidMount",value:function(){this.props.editor&&this.updateJsScript(this.props.atts.rawJs)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.atts.rawJs!==e.atts.rawJs&&this.props.editor&&this.updateJsScript(e.atts.rawJs)}},{key:"updateJsScript",value:function(e){var t=this.refs.rawJsWrapper;this.updateInlineScript(t,e)}},{key:"render",value:function(){var e=this.props,t=e.id,s=e.atts,r=e.editor,n=s.customClass,a=s.metaCustomId,i="vce-raw-js-container",c={};"string"==typeof n&&n&&(i=i.concat(" "+n)),a&&(c.id=a);var p=this.applyDO("all");return w.a.createElement("div",o()({className:i},r,c),w.a.createElement("div",o()({className:"vce-raw-js-wrapper",id:"el-"+t},p,{ref:"rawJsWrapper"})))}}]),s}(Object(r.getService)("api").elementComponent);(0,n.a.getService("cook").add)(s("./rawJs/settings.json"),(function(e){e.add(J)}),{css:!1,editorCss:s("./node_modules/raw-loader/index.js!./rawJs/editor.css")},"")},"./rawJs/settings.json":function(e){e.exports=JSON.parse('{"rawJs":{"type":"rawCode","access":"public","value":"var d=document;d.currentScript&&d.currentScript.parentNode.insertBefore(d.createTextNode(\'JavaScript is a high-level, dynamic, untyped, and interpreted programming language.\'),d.currentScript)","options":{"label":"Raw JS","description":"Add a custom JavaScript code to the WordPress website to execute it on this particular page.","mode":"javascript"}},"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."}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["rawJs","metaCustomId","customClass"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"metaBackendLabels":{"type":"group","access":"protected","value":[{"value":["rawJs"]}]},"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":"rawJs"}}')}},[["./rawJs/index.js"]]]);