/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, {
/******/ 				configurable: false,
/******/ 				enumerable: true,
/******/ 				get: getter
/******/ 			});
/******/ 		}
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/*!***********************!*\
  !*** ./src/blocks.js ***!
  \***********************/
/*! no exports provided */
/*! all exports used */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__revslider__ = __webpack_require__(/*! ./revslider */ 1);\n/**\n * Gutenberg Blocks\n *\n * All blocks related JavaScript files should be imported here.\n * You can create a new block folder in this dir and include code\n * for that block here as well.\n *\n * All blocks should be included here since this is the file that\n * Webpack is compiling as the input file.\n */\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9ja3MuanM/N2I1YiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEd1dGVuYmVyZyBCbG9ja3NcbiAqXG4gKiBBbGwgYmxvY2tzIHJlbGF0ZWQgSmF2YVNjcmlwdCBmaWxlcyBzaG91bGQgYmUgaW1wb3J0ZWQgaGVyZS5cbiAqIFlvdSBjYW4gY3JlYXRlIGEgbmV3IGJsb2NrIGZvbGRlciBpbiB0aGlzIGRpciBhbmQgaW5jbHVkZSBjb2RlXG4gKiBmb3IgdGhhdCBibG9jayBoZXJlIGFzIHdlbGwuXG4gKlxuICogQWxsIGJsb2NrcyBzaG91bGQgYmUgaW5jbHVkZWQgaGVyZSBzaW5jZSB0aGlzIGlzIHRoZSBmaWxlIHRoYXRcbiAqIFdlYnBhY2sgaXMgY29tcGlsaW5nIGFzIHRoZSBpbnB1dCBmaWxlLlxuICovXG5cbmltcG9ydCAnLi9yZXZzbGlkZXInO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy5qc1xuLy8gbW9kdWxlIGlkID0gMFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///0\n");

/***/ }),
/* 1 */
/*!********************************!*\
  !*** ./src/revslider/index.js ***!
  \********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__deprecated__ = __webpack_require__(/*! ./deprecated */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__revslider__ = __webpack_require__(/*! ./revslider */ 5);\n/**\n * Block dependencies\n */\n\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\n\n\n\n\n\n/**\n * Register block\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType('themepunch/revslider', {\n  title: __('Slider Revolution', 'revslider'),\n  description: __('Add your Slider Revolution Module!', 'revslider'),\n  category: 'themepunch',\n  icon: {\n    src: 'update',\n    background: 'rgb(94, 53, 177)',\n    color: 'white',\n    viewbox: \"0 0 28 28\"\n  },\n  keywords: [__('Banner', 'revslider'), __('CTA', 'revslider'), __('Slider', 'revslider')],\n  attributes: {\n    checked: {\n      type: 'boolean',\n      default: false\n    },\n    modal: {\n      type: 'boolean',\n      default: false\n    },\n    content: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'text'\n    },\n    text: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'text'\n    },\n    slidertitle: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'attribute',\n      attribute: 'data-slidertitle'\n    },\n    sliderImage: {\n      type: 'string'\n    },\n    hideSliderImage: {\n      boolean: false\n    },\n    alias: {\n      type: 'string'\n    },\n    zindex: {\n      type: 'string'\n    }\n  },\n  edit: function edit(props) {\n    var setAttributes = props.setAttributes;\n\n    return wp.element.createElement(\n      'div',\n      null,\n      wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__revslider__[\"a\" /* RevSlider */], Object.assign({ setAttributes: setAttributes }, props))\n    );\n  },\n  deprecated: __WEBPACK_IMPORTED_MODULE_2__deprecated__[\"a\" /* deprecated */],\n  save: function save(props) {\n    var _props$attributes = props.attributes,\n        text = _props$attributes.text,\n        content = _props$attributes.content,\n        slidertitle = _props$attributes.slidertitle,\n        modal = _props$attributes.modal,\n        zindex = _props$attributes.zindex;\n\n    var style = void 0;\n    style = zindex ? \"z-index:\" + zindex + \";\" : \"\";\n    var shortcode = !content && text ? text : content;\n    return wp.element.createElement(\n      'div',\n      { className: 'revslider', 'data-modal': modal, 'data-slidertitle': slidertitle, style: style },\n      shortcode\n    );\n  }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 4156 characters]\n//# sourceURL=webpack-internal:///1\n");

/***/ }),
/* 2 */
/*!**********************************!*\
  !*** ./src/revslider/style.scss ***!
  \**********************************/
/*! dynamic exports provided */
/***/ (function(module, exports) {

eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9yZXZzbGlkZXIvc3R5bGUuc2Nzcz85MjcyIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvcmV2c2xpZGVyL3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///2\n");

/***/ }),
/* 3 */
/*!***********************************!*\
  !*** ./src/revslider/editor.scss ***!
  \***********************************/
/*! dynamic exports provided */
/***/ (function(module, exports) {

eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9yZXZzbGlkZXIvZWRpdG9yLnNjc3M/ZDA3MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL3JldnNsaWRlci9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gM1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///3\n");

/***/ }),
/* 4 */
/*!*************************************!*\
  !*** ./src/revslider/deprecated.js ***!
  \*************************************/
/*! exports provided: deprecated */
/*! exports used: deprecated */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return deprecated; });\nvar deprecated = [{\n  attributes: {\n    checked: {\n      type: 'boolean',\n      default: false\n    },\n    modal: {\n      type: 'boolean',\n      default: false\n    },\n    text: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'text'\n    },\n    sliderTitle: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'attribute',\n      attribute: 'data-slidertitle'\n    },\n    sliderImage: {\n      type: 'string'\n    },\n    hideSliderImage: {\n      boolean: false\n    }\n  },\n  save: function save(props) {\n    var _props$attributes = props.attributes,\n        text = _props$attributes.text,\n        sliderTitle = _props$attributes.sliderTitle,\n        modal = _props$attributes.modal;\n\n    return wp.element.createElement(\n      'div',\n      { className: 'revslider', 'data-modal': modal, 'data-slidertitle': sliderTitle },\n      text\n    );\n  }\n}, {\n  attributes: {\n    checked: {\n      type: 'boolean',\n      default: false\n    },\n    text: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'text'\n    },\n    sliderTitle: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'attribute',\n      attribute: 'data-slidertitle'\n    }\n  },\n  save: function save(props) {\n    return wp.element.createElement(\n      'div',\n      { className: 'revslider', 'data-slidertitle': props.attributes.sliderTitle },\n      props.attributes.text\n    );\n  }\n}, {\n  attributes: {\n    checked: {\n      type: 'boolean',\n      default: false\n    },\n    modal: {\n      type: 'boolean',\n      default: false\n    },\n    popup: {\n      type: 'object'\n    },\n    text: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'text'\n    },\n    sliderTitle: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'attribute',\n      attribute: 'data-slidertitle'\n    },\n    sliderImage: {\n      type: 'string'\n    },\n    hideSliderImage: {\n      boolean: false\n    },\n    offset: {\n      type: 'object'\n    },\n    layout: {\n      type: 'string '\n    },\n    alias: {\n      type: 'string'\n    },\n    zindex: {\n      type: 'string'\n    },\n    shortcode: {\n      type: 'string'\n    }\n  },\n  save: function save(props) {\n    var _props$attributes2 = props.attributes,\n        text = _props$attributes2.text,\n        sliderTitle = _props$attributes2.sliderTitle,\n        modal = _props$attributes2.modal,\n        zindex = _props$attributes2.zindex;\n\n    var style = void 0;\n    style = zindex ? \"z-index:\" + zindex + \";\" : \"\";\n    return wp.element.createElement(\n      'div',\n      { className: 'revslider', 'data-modal': modal, 'data-slidertitle': sliderTitle, style: style },\n      text\n    );\n  }\n}, {\n  attributes: {\n    checked: {\n      type: 'boolean',\n      default: false\n    },\n    modal: {\n      type: 'boolean',\n      default: false\n    },\n    popup: {\n      type: 'object'\n    },\n    content: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'text'\n    },\n    text: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'text'\n    },\n    sliderTitle: {\n      selector: '.revslider',\n      type: 'string',\n      source: 'attribute',\n      attribute: 'data-slidertitle'\n    },\n    sliderImage: {\n      type: 'string'\n    },\n    hideSliderImage: {\n      boolean: false\n    },\n    offset: {\n      type: 'object'\n    },\n    layout: {\n      type: 'string '\n    },\n    alias: {\n      type: 'string'\n    },\n    zindex: {\n      type: 'string'\n    },\n    shortcode: {\n      type: 'string'\n    }\n  },\n  save: function save(props) {\n    var _props$attributes3 = props.attributes,\n        text = _props$attributes3.text,\n        content = _props$attributes3.content,\n        sliderTitle = _props$attributes3.sliderTitle,\n        modal = _props$attributes3.modal,\n        zindex = _props$attributes3.zindex;\n\n    var style = void 0;\n    style = zindex ? \"z-index:\" + zindex + \";\" : \"\";\n    var shortcode = !content && text ? text : content;\n    return wp.element.createElement(\n      'div',\n      { className: 'revslider', 'data-modal': modal, 'data-slidertitle': sliderTitle, style: style },\n      shortcode\n    );\n  }\n}];\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 7436 characters]\n//# sourceURL=webpack-internal:///4\n");

/***/ }),
/* 5 */
/*!************************************!*\
  !*** ./src/revslider/revslider.js ***!
  \************************************/
/*! exports provided: RevSlider */
/*! exports used: RevSlider */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return RevSlider; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__revSliderImage__ = __webpack_require__(/*! ./revSliderImage */ 6);\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * RevSlider Editor Element\n */\n\n/**\n * Internal block libraries\n*/\nvar Component = wp.element.Component;\nvar _wp$components = wp.components,\n    TextControl = _wp$components.TextControl,\n    Button = _wp$components.Button,\n    Tooltip = _wp$components.Tooltip;\n\nif (typeof wp.blockEditor !== 'undefined') var InspectorControls = wp.blockEditor.InspectorControls;else var InspectorControls = wp.editor.InspectorControls;\n\n\n\n/**\n * Component RevSlider for usage in block\n*/\nvar RevSlider = function (_Component) {\n  _inherits(RevSlider, _Component);\n\n  function RevSlider() {\n    _classCallCheck(this, RevSlider);\n\n    var _this = _possibleConstructorReturn(this, (RevSlider.__proto__ || Object.getPrototypeOf(RevSlider)).apply(this, arguments));\n\n    _this.openBlockSettings = function () {\n      var data = false;\n      RVS.SC.BLOCK = _this.state;\n      revslider_react = _this;\n      if (!_this.props.attributes.alias) return false;\n      RVS.SC.openBlockSettings('gutenberg', _this.props.attributes.content);\n    };\n\n    _this.openLibrary = function () {\n      revslider_react = _this;\n      RVS.SC.BLOCK = _this.props.attributes;\n      RVS.SC.openTemplateLibrary('gutenberg');\n    };\n\n    _this.openSliderEditor = function () {\n      if (!_this.props.attributes.alias) return false;\n      RVS.SC.openSliderEditor(_this.props.attributes.alias);\n    };\n\n    _this.openOptimizer = function () {\n      if (!_this.props.attributes.alias) return false;\n      RVS.SC.openOptimizer(_this.props.attributes.alias);\n    };\n\n    _this.setSliderAttributes = function (alias) {\n      setAttributes({ alias: alias });\n      setAttributes({ sliderImage: _this.state.sliderImage });\n    };\n\n    _this.state = jQuery.extend(true, {}, _this.props.attributes);\n    window.revslider_react = {};\n    return _this;\n  }\n\n  _createClass(RevSlider, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      revslider_react = this;\n      // Create Block in RVS with current state\n      RVS.SC.BLOCK = this.state;\n\n      // Open Template Library when block is added for the first time to the page\n      if (!this.props.attributes.content && !this.props.attributes.text && wp.data.select('core/editor').isEditedPostDirty()) {\n        RVS.SC.openTemplateLibrary('gutenberg');\n      } else {\n        // Fallback for saved blocks with no alias attribute (< RevSlider V6.1.6)\n        if (!this.props.attributes.alias) {\n          var shortcode = this.props.attributes.content !== undefined ? RVS.SC.parseShortCode(this.props.attributes.content) : RVS.SC.parseShortCode(this.props.attributes.text);\n          if (shortcode.attributes.alias) {\n            this.props.attributes.alias = shortcode.attributes.alias;\n            RVS.SC.BLOCK.alias = this.props.attributes.alias;\n            this.props.setAttributes({ alias: shortcode.attributes.alias });\n          }\n        }\n        if (!this.props.attributes.slidertitle) {\n          if (this.props.attributes.sliderTitle) {\n            this.props.setAttributes({ slidertitle: this.props.attributes.sliderTitle });\n          }\n        }\n      }\n    }\n\n    // Open Block Settings like offset, popup, admin thumb\n\n\n    // Open Template Library\n\n\n    // Link to Slider Editor in new tab\n\n\n    // Open File Optimizer PopUp\n\n\n    // Update Attributes in case Slider alias changes\n\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this2 = this;\n\n      revslider_react = this;\n      // Set Attributes from State (state was changed in RevSlider JS)\n      this.props.setAttributes(this.state);\n      var setAttributes = this.props.setAttributes;\n\n      // Turn off Styling in Block Options Sidebar when leaving block\n\n      {\n        !this.props.isSelected && RVS.SC.updateBlockViews(false);\n      }\n\n      if (!this.props.attributes.slidertitle) {\n        if (this.props.attributes.sliderTitle) {\n          this.props.setAttributes({ slidertitle: this.props.attributes.sliderTitle });\n        }\n      }\n\n      return [wp.element.createElement(\n        InspectorControls,\n        null,\n        this.props.attributes.alias && wp.element.createElement(\n          'div',\n          { className: 'rs_optimizer_button_wrapper', onClick: this.openOptimizer },\n          wp.element.createElement(\n            Button,\n            {\n              isDefault: true,\n              className: 'rs_optimizer_button'\n            },\n            'flash_on'\n          ),\n          wp.element.createElement(\n            'span',\n            null,\n            'Optimize File Sizes'\n          )\n        )\n      ), wp.element.createElement(\n        'div',\n        { className: 'revslider_block', 'data-modal': this.props.attributes.modal },\n        wp.element.createElement(\n          'div',\n          { 'class': 'sliderBar' },\n          wp.element.createElement(\n            'span',\n            null,\n            this.props.attributes.slidertitle,\n            '\\xA0'\n          ),\n          wp.element.createElement(TextControl, {\n            className: 'slider_slug',\n            value: this.props.attributes.content,\n            onChange: function onChange(content) {\n              return setSliderAttributes(_this2.props.attributes.content);\n            }\n          }),\n          wp.element.createElement(\n            'div',\n            { 'class': 'slider_editor_button_wrap' },\n            wp.element.createElement(\n              Tooltip,\n              { text: 'Open Block Settings' },\n              wp.element.createElement(\n                Button,\n                {\n                  isDefault: true,\n                  onClick: this.openBlockSettings,\n                  className: 'slider_editor_button'\n                },\n                'tune'\n              )\n            ),\n            wp.element.createElement(\n              Tooltip,\n              { text: 'Open Slider Editor' },\n              wp.element.createElement(\n                Button,\n                {\n                  isDefault: true,\n                  onClick: this.openSliderEditor,\n                  className: 'slider_editor_button'\n                },\n                'edit'\n              )\n            ),\n            wp.element.createElement(\n              Button,\n              {\n                isDefault: true,\n                onClick: this.openLibrary,\n                className: 'slider_edit_button'\n              },\n              'Select Module'\n            )\n          )\n        ),\n        wp.element.createElement(__WEBPACK_IMPORTED_MODULE_0__revSliderImage__[\"a\" /* RevSliderImage */], Object.assign({ setAttributes: setAttributes }, this.props))\n      )];\n    }\n  }]);\n\n  return RevSlider;\n}(Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 12908 characters]\n//# sourceURL=webpack-internal:///5\n");

/***/ }),
/* 6 */
/*!*****************************************!*\
  !*** ./src/revslider/revSliderImage.js ***!
  \*****************************************/
/*! exports provided: RevSliderImage */
/*! exports used: RevSliderImage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return RevSliderImage; });\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * RevSlider Editor Element\n */\n\n/**\n * Internal block libraries\n*/\nvar Component = wp.element.Component;\n\n/**\n * Component RevSlider for usage in block\n*/\n\nvar RevSliderImage = function (_Component) {\n  _inherits(RevSliderImage, _Component);\n\n  function RevSliderImage() {\n    _classCallCheck(this, RevSliderImage);\n\n    var _this = _possibleConstructorReturn(this, (RevSliderImage.__proto__ || Object.getPrototypeOf(RevSliderImage)).apply(this, arguments));\n\n    _this.state = {\n      response: undefined,\n      alias: _this.props.attributes.alias,\n      slidertitle: _this.props.attributes.slidertitle\n    };\n\n    return _this;\n  }\n\n  // Load Slider Image before it is mounted\n\n\n  _createClass(RevSliderImage, [{\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      this.loadSliderImage();\n    }\n\n    // Load Slider Image when it is mounted\n\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {}\n    //this.loadSliderImage();\n\n\n    // When new Props are send to the Block it will reload the image when the alias has changed\n\n  }, {\n    key: \"componentWillReceiveProps\",\n    value: function componentWillReceiveProps() {\n      if (this.state.alias != this.props.attributes.alias) this.loadSliderImage();\n    }\n\n    // Loads the Slider Admin Thumb via Ajax Call\n\n  }, {\n    key: \"loadSliderImage\",\n    value: function loadSliderImage() {\n      this.setState({ response: undefined });\n      this.setState({ alias: this.props.attributes.alias });\n      var self = this;\n      if (!this.props.attributes.alias) {\n        if (this.props.attributes.content !== undefined || this.props.attributes.text !== undefined) {\n          var shortcode = this.props.attributes.content !== undefined ? RVS.SC.parseShortCode(this.props.attributes.content) : RVS.SC.parseShortCode(this.props.attributes.text);\n          if (shortcode.attributes.alias) {\n            this.props.attributes.alias = shortcode.attributes.alias;\n          }\n        }\n      }\n      if (this.props.attributes.alias) {\n        RVS.F.ajaxRequest('getSliderImage', { alias: this.props.attributes.alias }, function (response) {\n          if (response.success) {\n            if (response !== undefined && response.image !== undefined) {\n              self.setState({\n                response: response\n              });\n            }\n            RVS.F.showWaitAMinute({ fadeIn: 0, text: RVS_LANG.loadingcontent });\n          }\n        });\n      }\n    }\n\n    // Renders the different states of the image (loading, loaded and no image)\n\n  }, {\n    key: \"render\",\n    value: function render() {\n      //Image Loaded\n      if (this.state.response && this.state.response.image !== \"\") {\n        return [wp.element.createElement(\n          \"div\",\n          { className: \"sliderImage\" },\n          wp.element.createElement(\"div\", { style: { backgroundImage: 'url(' + this.state.response.image + ')' } })\n        )];\n      } else {\n        //Image Loading\n        if (!this.state.response) return [wp.element.createElement(\"div\", { className: \"sliderImageLoading\" })];\n        //No Image\n        else {\n            return [wp.element.createElement(\"div\", { className: \"noSliderImage\" })];\n          }\n      }\n    }\n  }]);\n\n  return RevSliderImage;\n}(Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 7660 characters]\n//# sourceURL=webpack-internal:///6\n");

/***/ })
/******/ ]);