!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";function b(a){if(a instanceof Date)return a;if(String(a).match(g))return String(a).match(/^[0-9]*$/)&&(a=Number(a)),String(a).match(/\-/)&&(a=String(a).replace(/\-/g,"/")),new Date(a);throw new Error("Couldn't cast `"+a+"` to a date object.")}function c(a){var b=a.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(b)}function d(a){return function(b){var d=b.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(d)for(var f=0,g=d.length;f=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),totalDays:Math.floor(this.totalSecsLeft/60/60/24),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-d.getFullYear())},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))},dispatchEvent:function(b){var c=a.Event(b+".countdown");c.finalDate=this.finalDate,c.elapsed=this.elapsed,c.offset=a.extend({},this.offset),c.strftime=d(this.offset),this.$el.trigger(c)}}),a.fn.countdown=function(){var b=Array.prototype.slice.call(arguments,0);return this.each(function(){var c=a(this).data("countdown-instance");if(void 0!==c){var d=f[c],e=b[0];j.prototype.hasOwnProperty(e)?d[e].apply(d,b.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(d.setFinalDate.call(d,e),d.start()):a.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))}else new j(this,b[0],b[1])})}}),function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.dayjs=b()}(this,function(){"use strict";var a="millisecond",b="second",c="minute",d="hour",e="day",f="week",g="month",h="quarter",i="year",j="date",k=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,l=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},n=function(a,b,c){var d=String(a);return!d||d.length>=b?a:""+Array(b+1-d.length).join(c)+a},o={s:n,z:function(a){var b=-a.utcOffset(),c=Math.abs(b),d=Math.floor(c/60),e=c%60;return(b<=0?"+":"-")+n(d,2,"0")+":"+n(e,2,"0")},m:function a(b,c){if(b.date()=0&&(f[l]=parseInt(k,10))}var m=f[3],n=24===m?0:m,o=f[0]+"-"+f[1]+"-"+f[2]+" "+n+":"+f[4]+":"+f[5]+":000",p=+b;return(e.utc(o).valueOf()-(p-=p%1e3))/6e4},j=d.prototype;j.tz=function(a,b){void 0===a&&(a=f);var c=this.utcOffset(),d=this.toDate().toLocaleString("en-US",{timeZone:a}),h=Math.round((this.toDate()-new Date(d))/1e3/60),i=e(d).$set("millisecond",this.$ms).utcOffset(g-h,!0);if(b){var j=i.utcOffset();i=i.add(c-j,"minute")}return i.$x.$timezone=a,i},j.offsetName=function(a){var b=this.$x.$timezone||e.tz.guess(),c=h(this.valueOf(),b,{timeZoneName:a}).find(function(a){return"timezonename"===a.type.toLowerCase()});return c&&c.value},e.tz=function(a,b,c){var d=c&&b,g=c||b||f,h=i(+e(),g);if("string"!=typeof a)return e(a).tz(g);var j=function(a,b,c){var d=a-60*b*1e3,e=i(d,c);if(b===e)return[d,b];var f=i(d-=60*(e-b)*1e3,c);return e===f?[d,e]:[a-60*Math.min(e,f)*1e3,Math.max(e,f)]}(e.utc(a,d).valueOf(),h,g),k=j[0],l=j[1],m=e(k).utcOffset(l);return m.$x.$timezone=g,m},e.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},e.tz.setDefault=function(a){f=a}}}),function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.dayjs_plugin_utc=b()}(this,function(){"use strict";return function(a,b,c){var d=b.prototype;c.utc=function(a){return new b({date:a,utc:!0,args:arguments})},d.utc=function(a){var b=c(this.toDate(),{locale:this.$L,utc:!0});return a?b.add(this.utcOffset(),"minute"):b},d.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var e=d.parse;d.parse=function(a){a.utc&&(this.$u=!0),this.$utils().u(a.$offset)||(this.$offset=a.$offset),e.call(this,a)};var f=d.init;d.init=function(){if(this.$u){var a=this.$d;this.$y=a.getUTCFullYear(),this.$M=a.getUTCMonth(),this.$D=a.getUTCDate(),this.$W=a.getUTCDay(),this.$H=a.getUTCHours(),this.$m=a.getUTCMinutes(),this.$s=a.getUTCSeconds(),this.$ms=a.getUTCMilliseconds()}else f.call(this)};var g=d.utcOffset;d.utcOffset=function(a,b){var c=this.$utils().u;if(c(a))return this.$u?0:c(this.$offset)?g.call(this):this.$offset;var d=Math.abs(a)<=16?60*a:a,e=this;if(b)return e.$offset=d,e.$u=0===a,e;if(0!==a){var f=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(e=this.local().add(d+f,"minute")).$offset=d,e.$x.$localOffset=f}else e=this.utc();return e};var h=d.format;d.format=function(a){var b=a||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,b)},d.valueOf=function(){var a=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*a},d.isUTC=function(){return!!this.$u},d.toISOString=function(){return this.toDate().toISOString()},d.toString=function(){return this.toDate().toUTCString()};var i=d.toDate;d.toDate=function(a){return"s"===a&&this.$offset?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():i.call(this)};var j=d.diff;d.diff=function(a,b,d){if(this.$u===a.$u)return j.call(this,a,b,d);var e=this.local(),f=c(a).local();return j.call(e,f,b,d)}}});