"use strict";function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var PcBase=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"init",value:function(){this.selectors={colorPicker:"#main_color"},this.initColorPicker()}},{key:"initColorPicker",value:function(){var e=jQuery(this.selectors.colorPicker).val();jQuery(this.selectors.colorPicker).spectrum({preferredFormat:"hex",color:e,showInitial:!0,showInput:!0})}}]),e}();window.PcBase=new PcBase;
//# sourceMappingURL=base.js.map