"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _createClass=function(){function e(e,t){for(var i=0;i'),s=$('
').appendTo(a);return a.appendTo(n),""!==i&&$(""+i+"").appendTo(s),a}},{key:"createRows",value:function e(){var t=this,i=$('
').appendTo(this.element);this.createCells("liquid-st-day","",i),$.each(this.days,function(e,n){t.createCells("liquid-st-day",n,i)}),$.each(this.times,function(e,i){var n=$('
').appendTo(t.$element);n.attr("data-time",i),t.createCells("liquid-st-time",i,n),t.appendScheduleCells(n,i)})}},{key:"appendScheduleCells",value:function e(t,i){var n=this;$.each(this.days,function(e,a){var s=n.createCells("","",t);$.each(n.$cells.filter(function(e,t){return $(t).data("st-cell").time.replace(/\s/g,"")==i}),function(i,l){var r=$(l),u=r.data("st-cell");u.day==n.days[e]&&(s.attr("data-day",a),s.attr("data-time",u.time),s.attr("data-category",u.category),$(""+u.name+""+u.info+"").appendTo(t.find(".liquid-st-cell").eq(e+1).children()),n.appendCellDetails(s,u))})})}},{key:"appendCellDetails",value:function e(t,i){t.append('
'+i.name+"
"+i.info+'

'+i.description+'

'+i.buttonText+"
")}},{key:"positionDetails",value:function e(){var t=$(this.element).width(),i=$(this.element).height(),n=$(".liquid-st-cell",this.element).filter(function(e,t){return $(t).find(".liquid-st-cell-details").length});$.each(n,function(e,n){var a=$(n),s=a.outerWidth(),l=a.outerHeight(),r=a.position(),u=a.find(".liquid-st-cell-details"),c=u.outerWidth(),o=u.outerHeight(),d=u.position();s+r.left+c+d.left>=t&&a.addClass("cell-details-left"),l+r.top+o+d.top>=i&&a.addClass("cell-details-top")})}}]),e}();$.fn[n]=function(e){return this.each(function(){var t=$(this).data("st-options")||e;$.data(this,"plugin_"+n)||$.data(this,"plugin_"+n,new s(this,t))})}}(jQuery,window,document),jQuery(document).ready(function($){$("[data-liquid-schedule-table=true]").liquidScheduleTable()});var _createClass=function(){function e(e,t){for(var i=0;i