text: /*!
   * Dashmix - v2.0.0
   * @author pixelcave - https://pixelcave.com
   * Copyright (c) 2019
   */
  !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var r=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,a;return t=e,a=[{key:"addEvent",value:function(){var e=this,t=jQuery(".js-add-event"),n="";jQuery(".js-form-add-event").on("submit",function(r){return(n=t.prop("value"))&&(jQuery(".js-events").prepend("<li>"+jQuery("<div />").text(n).html()+"</li>"),t.prop("value",""),e.initEvents()),!1})}},{key:"initEvents",value:function(){jQuery(".js-events").find("li").each(function(e,t){var n=jQuery(t),r={title:jQuery.trim(n.text()),color:n.css("background-color")};n.data("eventObject",r),n.draggable({zIndex:999,revert:!0,revertDuration:0})})}},{key:"initCalendar",value:function(){var e=new Date,t=e.getDate(),n=e.getMonth(),r=e.getFullYear();jQuery(".js-calendar").fullCalendar({themeSystem:"bootstrap4",firstDay:1,editable:!0,droppable:!0,header:{left:"title",right:"prev,next today month,agendaWeek,agendaDay,listWeek"},drop:function(e,t,n,r){var a=jQuery(n.helper),i=a.data("eventObject"),l=jQuery.extend({},i);l.start=e,jQuery(".js-calendar").fullCalendar("renderEvent",l,!0),a.remove()},events:[{title:"Gaming Day",start:new Date(r,n,1),allDay:!0,color:"#fcf7e6"},{title:"Skype Meeting",start:new Date(r,n,3)},{title:"Project X",start:new Date(r,n,9),end:new Date(r,n,12),allDay:!0,color:"#fae9e8"},{title:"Work",start:new Date(r,n,17),end:new Date(r,n,19),allDay:!0,color:"#fae9e8"},{id:999,title:"Hiking (repeated)",start:new Date(r,n,t-1,15,0)},{id:999,title:"Hiking (repeated)",start:new Date(r,n,t+3,15,0)},{title:"Landing Template",start:new Date(r,n,t-3),end:new Date(r,n,t-3),allDay:!0,color:"#fcf7e6"},{title:"Lunch",start:new Date(r,n,t+7,15,0),color:"#ebf5df"},{title:"Coding",start:new Date(r,n,t,8,0),end:new Date(r,n,t,14,0),color:"#fcf7e6"},{title:"Trip",start:new Date(r,n,25),end:new Date(r,n,27),allDay:!0,color:"#fcf7e6"},{title:"Reading",start:new Date(r,n,t+8,20,0),end:new Date(r,n,t+8,22,0)},{title:"Follow me on Twitter",start:new Date(r,n,22),allDay:!0,url:"http://twitter.com/pixelcave"}]})}},{key:"init",value:function(){this.addEvent(),this.initEvents(),this.initCalendar()}}],(r=null)&&n(t.prototype,r),a&&n(t,a),e}();jQuery(function(){r.init()})}]);