text: var D8=function(){return{date:new Date,addDays:function(a){a*=864E5;var b=D8.create(this.date.getTime()+a);!1===b.isDST()&&!0===this.isDST()?(b=this.date.getTimezoneOffset()-b.date.getTimezoneOffset(),a-=6E4*b):!0===b.isDST()&&!1===this.isDST()&&(b=b.date.getTimezoneOffset()-this.date.getTimezoneOffset(),a+=6E4*b);return this.addMilliseconds(a)},addHours:function(a){return this.addMilliseconds(36E5*a)},addMinutes:function(a){return this.addMilliseconds(6E4*a)},addSeconds:function(a){return this.addMilliseconds(1E3*
  a)},addMilliseconds:function(a){var b=new D8;b.date=new Date(this.getTimestamp()+a);return b},timeBetween:function(a,b,c){var d=this.getTimestamp()?this.getTimestamp():null;a=a.getTimestamp()?a.getTimestamp():null;if(d&&a){switch(b){case "days":b=(a-d)/864E5;break;case "hours":b=(a-d)/36E5;break;case "minutes":b=(a-d)/6E4;break;case "seconds":b=(a-d)/1E3;break;default:b=a-d}!1!==c&&(b=Math.round(b));return b}if(d)throw"Error: Invalid d8 object passed when calling timeBetween()!";throw"Error: Trying to access timeBetween() on an invalid d8 object.";
  },yesterday:function(){return this.addDays(-1)},tomorrow:function(){return this.addDays(1)},getTimestamp:function(){return this.date.getTime()},getCalendarWeek:function(){year=parseIntRadixTen(this.format("yyyy"));month=parseIntRadixTen(this.format("m"));day=parseIntRadixTen(this.format("d"));var a=Math.floor((14-month)/12),b=year+4800-a,a=day+Math.floor((153*(month+12*a-3)+2)/5)+365*b+Math.floor(b/4)-Math.floor(b/100)+Math.floor(b/400)-32045,a=(a+31741-a%7)%146097%36524%1461,b=Math.floor(a/1460);return Math.floor(((a-b)%
  365+b)/7)+1},format:function(a,b){if(isNaN(this.getTimestamp()))throw"Error: Trying to access format() on an invalid d8 object.";var c=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g,f=function(a,b){a=String(a);for(b=b||2;a.length<b;)a="0"+a;return a};1==arguments.length&&("[object String]"==Object.prototype.toString.call(this.date)&&!/\d/.test(this.date))&&(a=this.date);var m="Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
  n="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" "),e=b?"getUTC":"get",h=this.date[e+"Date"](),k=this.date[e+"Day"](),j=this.date[e+"Month"](),p=this.date[e+"FullYear"](),g=this.date[e+"Hours"](),q=this.date[e+"Minutes"](),r=this.date[e+"Seconds"](),e=this.date[e+"Milliseconds"](),l=b?0:this.date.getTimezoneOffset(),s={d:h,dd:f(h),ddd:m[k],dddd:m[k+7],D:k,m:j+1,mm:f(j+1),mmm:n[j],mmmm:n[j+12],yy:String(p).slice(2),
  yyyy:p,h:g%12||12,hh:f(g%12||12),H:g,HH:f(g),M:q,MM:f(q),s:r,ss:f(r),l:f(e,3),L:f(99<e?Math.round(e/10):e),t:12>g?"a":"p",tt:12>g?"am":"pm",T:12>g?"A":"P",TT:12>g?"AM":"PM",Z:b?"UTC":(String(this).match(c)||[""]).pop().replace(d,""),o:(0<l?"-":"+")+f(100*Math.floor(Math.abs(l)/60)+Math.abs(l)%60,4),S:["th","st","nd","rd"][3<h%10?0:(10!=h%100-h%10)*h%10]},c=a.replace(/d{1,4}|D{1}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,function(a){return a in s?s[a]:a.slice(1,a.length-1)});return Number(c)==
  c?Number(c):c},getDatesOfCalendarWeek:function(a){year=this.format("yyyy");var b=D8.create("01/01/"+year),c=-7;for(51<b.getCalendarWeek()&&(c=7);1!==b.getCalendarWeek();)b=b.addDays(c);c=parseIntRadixTen(b.format("D"));b=a?1==c?b:b.addDays(8-(0==c?7:c)):0==c?b:b.addDays(7-c);a=this.getCalendarWeek();b=b.addDays(7*(a-1));a=[];for(c=0;7>c;c++){var d=b.addDays(c),d=D8.create(d.format("mm")+"/"+d.format("dd")+"/"+d.format("yyyy"));a.push(d)}return a},isLeapYear:function(){var a=Number(this.format("yyyy"));return 0===
  a%4&&0!==a%100||0===a%400},isDST:function(){var a=D8(new Date).format("yyyy");return(new D8("01.01."+a)).date.getTimezoneOffset()==this.date.getTimezoneOffset()?!1:!0}}};D8.now=function(){var a=new D8;a.date=new Date;return a};D8.getCalendarWeek=function(a,b,c){var d=Math.floor((14-b)/12);a=a+4800-d;b=c+Math.floor((153*(b+12*d-3)+2)/5)+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)-32045;b=(b+31741-b%7)%146097%36524%1461;c=Math.floor(b/1460);return Math.floor(((b-c)%365+c)/7)+1};
  D8.getCalendarWeekByDate=function(a){return D8.getCalendarWeek(a.format("yyyy"),a.format("mm"),a.format("dd"))};D8.getDatesOfCalendarWeek=function(a,b,c){c=D8.create("01.01."+c).addDays(-8);for(var d=D8.getCalendarWeekByDate(c);1!==d;)c=c.addDays(1),d=D8.getCalendarWeekByDate(c);b||(c=c.addDays(-1));a=c.addDays(7*(a-1));b=[];for(c=0;7>c;c++)d=a.addDays(c),d=this.create(d.format("mm")+"/"+d.format("dd")+"/"+d.format("yyyy")),b.push(d);return b};
  D8.getDateByWeekdayAndCalendarWeek=function(a,b,c){if(b&&!isNaN(b)&&(a&&!isNaN(a)||0===a)){if((c=this.getDatesOfCalendarWeek(b,!1,c))&&0<c.length&&c[a])return c[a];throw"Error: Day "+a+" of calendar week "+b+" could not be found!";}throw"Error: Please pass a valid calendarWeek and a valid day of the week!";};
  D8.create=function(a){var b,c="number"===typeof a?a:null;if(!c){if((b=/(\d{1,2})\.(\d{1,2})\.(\d{2,4})/.exec(a))&&b[1]&&b[2]&&b[3])a=a.split(" "),a=b[2]+"/"+b[1]+"/"+b[3]+(a[1]?" "+a[1]:"");try{c=Date.parse(a)}catch(d){throw"Error: Invalid dateString '"+a+"' passed to create().";}}if(!c)return D8.now();a=new D8;a.date=new Date(c);return a};D8.isLeapYear=function(a){if(a){if(a=Number(a))return 0===a%4&&0!==a%100||0===a%400;throw"No valid year (number) passed.";}throw"No year passed.";};
  D8.isDST=function(a){a=D8.create(a);return(new Date(1)).getTimezoneOffset()==a.date.getTimezoneOffset()?!1:!0};var \u00d8=D8;