/*! For license information please see jquery.sidr.min.js.LICENSE.txt */
!function(){"use strict";function e(e){return"status"===e?o:m[e]?m[e].apply(this,Array.prototype.slice.call(arguments,1)):"function"!=typeof e&&"string"!=typeof e&&e?void p.error("Method "+e+" does not exist on jQuery.sidr"):m.toggle.apply(this,arguments)}var n={classCallCheck:function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}};n.createClass=function(){function e(e,n){for(var t=0;t").attr("id",a).appendTo(v("body"))),t.supported&&d.css(t.property,i.side+" "+i.speed/1e3+"s "+i.timing),d.addClass("sidr").addClass(i.side).data({speed:i.speed,side:i.side,body:i.body,displace:i.displace,timing:i.timing,method:i.method,onOpen:i.onOpen,onClose:i.onClose,onOpenEnd:i.onOpenEnd,onCloseEnd:i.onCloseEnd}),d=function(e,n){if("function"==typeof n.source){var t=n.source(name);e.html(t)}else if("string"==typeof n.source&&s.isUrl(n.source))v.get(n.source,(function(n){e.html(n)}));else if("string"==typeof n.source){var i="",o=n.source.split(",");if(v.each(o,(function(e,n){i+='
'+v(n).html()+"
"})),n.renaming){var a=v("").html(i);a.find("*").each((function(e,n){var t=v(n);s.addPrefixes(t)})),i=a.html()}e.html(i)}else null!==n.source&&v.error("Invalid Sidr Source");return e}(d,i),this.each((function(){var n=v(this),t=n.data("sidr"),s=!1;t||(o.moving=!1,o.opened=!1,n.data("sidr",a),n.bind(i.bind,(function(n){n.preventDefault(),s||(s=!0,e(i.method,a),setTimeout((function(){s=!1}),100))})))}))}}();