text: (function(){var t,n;n="undefined"==typeof require||null===require||require.amd?this.moment:require("moment"),t=function(){function t(t,r){this.start=n(t),this.end=n(r)}return t.prototype.contains=function(t){return this.start<=t&&t<=this.end},t.prototype._by_string=function(t,r){var e,i;for(e=n(this.start),i=[];this.contains(e);)r.call(this,e.clone()),i.push(e.add(t,1));return i},t.prototype._by_range=function(t,r){var e,i,o,u;if(i=Math.round(this/t),1/0===i)return this;for(u=[],e=o=0;i>=0?i>=o:o>=i;e=i>=0?++o:--o)u.push(r.call(this,n(this.start.valueOf()+t.valueOf()*e)));return u},t.prototype.overlaps=function(t){return this.start<t.end&&this.end>t.start},t.prototype.by=function(t,n){return"string"==typeof t?this._by_string(t,n):this._by_range(t,n),this},t.prototype.valueOf=function(){return this.end-this.start},t}(),n.fn.range=function(n,r){return new t(n,r)},n.fn.within=function(t){return t.contains(this._d)},null!=("undefined"!=typeof module&&null!==module?module.exports:void 0)&&(module.exports=n)}).call(this);