diff --git a/openassessment/__init__.py b/openassessment/__init__.py index 218a7e739a..683b87f4fc 100644 --- a/openassessment/__init__.py +++ b/openassessment/__init__.py @@ -2,4 +2,4 @@ Initialization Information for Open Assessment Module """ -__version__ = '6.16.4' +__version__ = '6.16.5' diff --git a/openassessment/xblock/static/dist/manifest.json b/openassessment/xblock/static/dist/manifest.json index 572336564e..da1e0e022a 100644 --- a/openassessment/xblock/static/dist/manifest.json +++ b/openassessment/xblock/static/dist/manifest.json @@ -4,18 +4,18 @@ "openassessment-editor-textarea.js.map": "/openassessment-editor-textarea.cbb31e4372be87d437fb.js.map", "openassessment-editor-tinymce.js": "/openassessment-editor-tinymce.2a1e66e98a2a1132f633.js", "openassessment-editor-tinymce.js.map": "/openassessment-editor-tinymce.2a1e66e98a2a1132f633.js.map", - "openassessment-lms.css": "/openassessment-lms.42bdf01af5d117224bc9.css", - "openassessment-lms.js": "/openassessment-lms.42bdf01af5d117224bc9.js", - "openassessment-lms.css.map": "/openassessment-lms.42bdf01af5d117224bc9.css.map", - "openassessment-lms.js.map": "/openassessment-lms.42bdf01af5d117224bc9.js.map", - "openassessment-ltr.css": "/openassessment-ltr.0c6318822d5661f0f9ea.css", - "openassessment-ltr.js": "/openassessment-ltr.0c6318822d5661f0f9ea.js", - "openassessment-ltr.css.map": "/openassessment-ltr.0c6318822d5661f0f9ea.css.map", - "openassessment-ltr.js.map": "/openassessment-ltr.0c6318822d5661f0f9ea.js.map", - "openassessment-rtl.css": "/openassessment-rtl.c938e1614108d8feb891.css", - "openassessment-rtl.js": "/openassessment-rtl.c938e1614108d8feb891.js", - "openassessment-rtl.css.map": "/openassessment-rtl.c938e1614108d8feb891.css.map", - "openassessment-rtl.js.map": "/openassessment-rtl.c938e1614108d8feb891.js.map", + "openassessment-lms.css": "/openassessment-lms.1d1152611b06737ce755.css", + "openassessment-lms.js": "/openassessment-lms.1d1152611b06737ce755.js", + "openassessment-lms.css.map": "/openassessment-lms.1d1152611b06737ce755.css.map", + "openassessment-lms.js.map": "/openassessment-lms.1d1152611b06737ce755.js.map", + "openassessment-ltr.css": "/openassessment-ltr.97990de9668aaa4cd1d5.css", + "openassessment-ltr.js": "/openassessment-ltr.97990de9668aaa4cd1d5.js", + "openassessment-ltr.css.map": "/openassessment-ltr.97990de9668aaa4cd1d5.css.map", + "openassessment-ltr.js.map": "/openassessment-ltr.97990de9668aaa4cd1d5.js.map", + "openassessment-rtl.css": "/openassessment-rtl.19576ab9f81f644cb7fd.css", + "openassessment-rtl.js": "/openassessment-rtl.19576ab9f81f644cb7fd.js", + "openassessment-rtl.css.map": "/openassessment-rtl.19576ab9f81f644cb7fd.css.map", + "openassessment-rtl.js.map": "/openassessment-rtl.19576ab9f81f644cb7fd.js.map", "openassessment-studio.js": "/openassessment-studio.b58bb4e55f63dadac6de.js", "openassessment-studio.js.map": "/openassessment-studio.b58bb4e55f63dadac6de.js.map", "fallback-default.png": "/4620b30a966533ace489dcc7afb151b9.png", diff --git a/openassessment/xblock/static/dist/openassessment-lms.1d1152611b06737ce755.css b/openassessment/xblock/static/dist/openassessment-lms.1d1152611b06737ce755.css new file mode 100644 index 0000000000..fd92fd62ff --- /dev/null +++ b/openassessment/xblock/static/dist/openassessment-lms.1d1152611b06737ce755.css @@ -0,0 +1,3 @@ + + +/*# sourceMappingURL=openassessment-lms.1d1152611b06737ce755.css.map*/ \ No newline at end of file diff --git a/openassessment/xblock/static/dist/openassessment-lms.42bdf01af5d117224bc9.js b/openassessment/xblock/static/dist/openassessment-lms.1d1152611b06737ce755.js similarity index 63% rename from openassessment/xblock/static/dist/openassessment-lms.42bdf01af5d117224bc9.js rename to openassessment/xblock/static/dist/openassessment-lms.1d1152611b06737ce755.js index 77dcc2344c..461b1065ae 100644 --- a/openassessment/xblock/static/dist/openassessment-lms.42bdf01af5d117224bc9.js +++ b/openassessment/xblock/static/dist/openassessment-lms.1d1152611b06737ce755.js @@ -1,11 +1,11 @@ -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=207)}([function(e,t,n){"use strict";e.exports=n(193)},function(e,t,n){e.exports=n(198)()},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,o;function r(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function p(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(c(e,t))return!1;return!0}function b(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function M(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,o=[],r=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,v=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var S=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},B={};function x(e,t,n,o){var r=o;"string"==typeof o&&(r=function(){return this[o]()}),e&&(B[e]=r),t&&(B[t[0]]=function(){return T(r.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function D(e,t){return e.isValid()?(t=j(t,e.localeData()),E[t]=E[t]||function(e){var t,n,o,r=e.match(S);for(t=0,n=r.length;t=0&&k.test(e);)e=e.replace(k,o),k.lastIndex=0,n-=1;return e}var C={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function X(e){return"string"==typeof e?C[e]||C[e.toLowerCase()]:void 0}function P(e){var t,n,o={};for(n in e)c(e,n)&&(t=X(n))&&(o[t]=e[n]);return o}var Y,H={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},I=/\d/,F=/\d\d/,U=/\d{3}/,V=/\d{4}/,G=/[+-]?\d{6}/,$=/\d\d?/,K=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,Z=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ne=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ie=/^[1-9]\d?/,ce=/^([1-9]\d|\d)/;function pe(e,t,n){Y[e]=R(t)?t:function(e,o){return e&&n?n:t}}function be(e,t){return c(Y,e)?Y[e](t._strict,t._locale):new RegExp(se(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,o,r){return t||n||o||r}))))}function se(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Me(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Me(t)),n}Y={};var le={};function ze(e,t){var n,o,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=ue(e)}),o=e.length,n=0;n68?1900:2e3)};var me,he=qe("FullYear",!0);function qe(e,t){return function(n){return null!=n?(ye(this,e,n),r.updateOffset(this,t),this):We(this,e)}}function We(e,t){if(!e.isValid())return NaN;var n=e._d,o=e._isUTC;switch(t){case"Milliseconds":return o?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return o?n.getUTCSeconds():n.getSeconds();case"Minutes":return o?n.getUTCMinutes():n.getMinutes();case"Hours":return o?n.getUTCHours():n.getHours();case"Date":return o?n.getUTCDate():n.getDate();case"Day":return o?n.getUTCDay():n.getDay();case"Month":return o?n.getUTCMonth():n.getMonth();case"FullYear":return o?n.getUTCFullYear():n.getFullYear();default:return NaN}}function ye(e,t,n){var o,r,a,i,c;if(e.isValid()&&!isNaN(n)){switch(o=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?o.setUTCMilliseconds(n):o.setMilliseconds(n));case"Seconds":return void(r?o.setUTCSeconds(n):o.setSeconds(n));case"Minutes":return void(r?o.setUTCMinutes(n):o.setMinutes(n));case"Hours":return void(r?o.setUTCHours(n):o.setHours(n));case"Date":return void(r?o.setUTCDate(n):o.setDate(n));case"FullYear":break;default:return}a=n,i=e.month(),c=29!==(c=e.date())||1!==i||fe(a)?c:28,r?o.setUTCFullYear(a,i,c):o.setFullYear(a,i,c)}}function ge(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,o=(t%(n=12)+n)%n;return e+=(t-o)/12,1===o?fe(e)?29:28:31-o%7%2}me=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(c=new Date(e+400,t,n,o,r,a,i),isFinite(c.getFullYear())&&c.setFullYear(e)):c=new Date(e,t,n,o,r,a,i),c}function Be(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xe(e,t,n){var o=7+t-n;return-(7+Be(e,0,o).getUTCDay()-t)%7+o-1}function De(e,t,n,o,r){var a,i,c=1+7*(t-1)+(7+n-o)%7+xe(e,o,r);return c<=0?i=Ae(a=e-1)+c:c>Ae(e)?(a=e+1,i=c-Ae(e)):(a=e,i=c),{year:a,dayOfYear:i}}function je(e,t,n){var o,r,a=xe(e.year(),t,n),i=Math.floor((e.dayOfYear()-a-1)/7)+1;return i<1?o=i+Ce(r=e.year()-1,t,n):i>Ce(e.year(),t,n)?(o=i-Ce(e.year(),t,n),r=e.year()+1):(r=e.year(),o=i),{week:o,year:r}}function Ce(e,t,n){var o=xe(e,t,n),r=xe(e+1,t,n);return(Ae(e)-o+r)/7}function Xe(e,t){return e.slice(t,7).concat(e.slice(0,t))}x("w",["ww",2],"wo","week"),x("W",["WW",2],"Wo","isoWeek"),pe("w",$,ie),pe("ww",$,F),pe("W",$,ie),pe("WW",$,F),de(["w","ww","W","WW"],(function(e,t,n,o){t[o.substr(0,1)]=ue(e)})),x("d",0,"do","day"),x("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),x("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),x("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),x("e",0,0,"weekday"),x("E",0,0,"isoWeekday"),pe("d",$),pe("e",$),pe("E",$),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),de(["dd","ddd","dddd"],(function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);null!=r?t.d=r:d(n).invalidWeekday=e})),de(["d","e","E"],(function(e,t,n,o){t[o]=ue(e)}));var Pe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),He="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ie=ae,Fe=ae,Ue=ae;function Ve(e,t,n){var o,r,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)a=z([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=me.call(this._weekdaysParse,i))?r:null:"ddd"===t?-1!==(r=me.call(this._shortWeekdaysParse,i))?r:null:-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:"dddd"===t?-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._shortWeekdaysParse,i))||-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:"ddd"===t?-1!==(r=me.call(this._shortWeekdaysParse,i))||-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:-1!==(r=me.call(this._minWeekdaysParse,i))||-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._shortWeekdaysParse,i))?r:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,o,r,a,i=[],c=[],p=[],b=[];for(t=0;t<7;t++)n=z([2e3,1]).day(t),o=se(this.weekdaysMin(n,"")),r=se(this.weekdaysShort(n,"")),a=se(this.weekdays(n,"")),i.push(o),c.push(r),p.push(a),b.push(o),b.push(r),b.push(a);i.sort(e),c.sort(e),p.sort(e),b.sort(e),this._weekdaysRegex=new RegExp("^("+b.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ke(e,t){x(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}x("H",["HH",2],0,"hour"),x("h",["hh",2],0,$e),x("k",["kk",2],0,(function(){return this.hours()||24})),x("hmm",0,0,(function(){return""+$e.apply(this)+T(this.minutes(),2)})),x("hmmss",0,0,(function(){return""+$e.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),x("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),x("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),pe("a",Je),pe("A",Je),pe("H",$,ce),pe("h",$,ie),pe("k",$,ie),pe("HH",$,F),pe("hh",$,F),pe("kk",$,F),pe("hmm",K),pe("hmmss",J),pe("Hmm",K),pe("Hmmss",J),ze(["H","HH"],3),ze(["k","kk"],(function(e,t,n){var o=ue(e);t[3]=24===o?0:o})),ze(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ze(["h","hh"],(function(e,t,n){t[3]=ue(e),d(n).bigHour=!0})),ze("hmm",(function(e,t,n){var o=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o)),d(n).bigHour=!0})),ze("hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o,2)),t[5]=ue(e.substr(r)),d(n).bigHour=!0})),ze("Hmm",(function(e,t,n){var o=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o))})),ze("Hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o,2)),t[5]=ue(e.substr(r))}));var Qe,Ze=qe("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ve,monthsShort:_e,week:{dow:0,doy:6},weekdays:Pe,weekdaysMin:He,weekdaysShort:Ye,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function ot(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n0;){if(o=at(r.slice(0,t).join("-")))return o;if(n&&n.length>=t&&ot(r,n)>=t-1)break;t--}a++}return Qe}(e)}function bt(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ge(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,d(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),d(e)._overflowWeeks&&-1===t&&(t=7),d(e)._overflowWeekday&&-1===t&&(t=8),d(e).overflow=t),e}var st=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ut=/Z|[+-]\d\d(?::?\d\d)?/,lt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],zt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],dt=/^\/?Date\((-?\d+)/i,Ot=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ft={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function At(e){var t,n,o,r,a,i,c=e._i,p=st.exec(c)||Mt.exec(c),b=lt.length,s=zt.length;if(p){for(d(e).iso=!0,t=0,n=b;t7)&&(p=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,b=je(_t(),a,i),n=qt(t.gg,e._a[0],b.year),o=qt(t.w,b.week),null!=t.d?((r=t.d)<0||r>6)&&(p=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(p=!0)):r=a),o<1||o>Ce(n,a,i)?d(e)._overflowWeeks=!0:null!=p?d(e)._overflowWeekday=!0:(c=De(n,o,r,a,i),e._a[0]=c.year,e._dayOfYear=c.dayOfYear)}(e),null!=e._dayOfYear&&(i=qt(e._a[0],o[0]),(e._dayOfYear>Ae(i)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),n=Be(i,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=o[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Be:Ee).apply(null,c),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(d(e).weekdayMismatch=!0)}}function yt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],d(e).empty=!0;var t,n,o,a,i,c,p,b=""+e._i,s=b.length,M=0;for(p=(o=j(e._f,e._locale).match(S)||[]).length,t=0;t0&&d(e).unusedInput.push(i),b=b.slice(b.indexOf(n)+n.length),M+=n.length),B[a]?(n?d(e).empty=!1:d(e).unusedTokens.push(a),Oe(a,n,e)):e._strict&&!n&&d(e).unusedTokens.push(a);d(e).charsLeftOver=s-M,b.length>0&&d(e).unusedInput.push(b),e._a[3]<=12&&!0===d(e).bigHour&&e._a[3]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var o;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((o=e.isPM(n))&&t<12&&(t+=12),o||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(c=d(e).era)&&(e._a[0]=e._locale.erasConvertYear(c,e._a[0])),Wt(e),bt(e)}else ht(e);else At(e)}function gt(e){var t=e._i,n=e._f;return e._locale=e._locale||pt(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),W(t)?new q(bt(t)):(M(t)?e._d=t:a(n)?function(e){var t,n,o,r,a,i,c=!1,p=e._f.length;if(0===p)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:f()}));function wt(e,t){var n,o;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return _t();for(n=t[0],o=1;o=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function cn(){var e,t,n,o,r,a=[],i=[],c=[],p=[],b=this.eras();for(e=0,t=b.length;e(a=Ce(e,o,r))&&(t=a),sn.call(this,e,t,n,o,r))}function sn(e,t,n,o,r){var a=De(e,t,n,o,r),i=Be(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}x("N",0,0,"eraAbbr"),x("NN",0,0,"eraAbbr"),x("NNN",0,0,"eraAbbr"),x("NNNN",0,0,"eraName"),x("NNNNN",0,0,"eraNarrow"),x("y",["y",1],"yo","eraYear"),x("y",["yy",2],0,"eraYear"),x("y",["yyy",3],0,"eraYear"),x("y",["yyyy",4],0,"eraYear"),pe("N",an),pe("NN",an),pe("NNN",an),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,o){var r=n._locale.erasParse(e,o,n._strict);r?d(n).era=r:d(n).invalidEra=e})),pe("y",te),pe("yy",te),pe("yyy",te),pe("yyyy",te),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||te})),ze(["y","yy","yyy","yyyy"],0),ze(["yo"],(function(e,t,n,o){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,r):t[0]=parseInt(e,10)})),x(0,["gg",2],0,(function(){return this.weekYear()%100})),x(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),pe("G",ne),pe("g",ne),pe("GG",$,F),pe("gg",$,F),pe("GGGG",Z,V),pe("gggg",Z,V),pe("GGGGG",ee,G),pe("ggggg",ee,G),de(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,o){t[o.substr(0,2)]=ue(e)})),de(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),x("Q",0,"Qo","quarter"),pe("Q",I),ze("Q",(function(e,t){t[1]=3*(ue(e)-1)})),x("D",["DD",2],"Do","date"),pe("D",$,ie),pe("DD",$,F),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],2),ze("Do",(function(e,t){t[2]=ue(e.match($)[0])}));var Mn=qe("Date",!0);x("DDD",["DDDD",3],"DDDo","dayOfYear"),pe("DDD",Q),pe("DDDD",U),ze(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),x("m",["mm",2],0,"minute"),pe("m",$,ce),pe("mm",$,F),ze(["m","mm"],4);var un=qe("Minutes",!1);x("s",["ss",2],0,"second"),pe("s",$,ce),pe("ss",$,F),ze(["s","ss"],5);var ln,zn,dn=qe("Seconds",!1);for(x("S",0,0,(function(){return~~(this.millisecond()/100)})),x(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),x(0,["SSS",3],0,"millisecond"),x(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),x(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),x(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),x(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),x(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),x(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),pe("S",Q,I),pe("SS",Q,F),pe("SSS",Q,U),ln="SSSS";ln.length<=9;ln+="S")pe(ln,te);function On(e,t){t[6]=ue(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")ze(ln,On);zn=qe("Milliseconds",!1),x("z",0,0,"zoneAbbr"),x("zz",0,0,"zoneName");var fn=q.prototype;function An(e){return e}fn.add=Vt,fn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):Jt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||_t(),o=Dt(n,this).startOf("day"),a=r.calendarFormat(this,o)||"sameElse",i=t&&(R(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,_t(n)))},fn.clone=function(){return new q(this)},fn.diff=function(e,t,n){var o,r,a;if(!this.isValid())return NaN;if(!(o=Dt(e,this)).isValid())return NaN;switch(r=6e4*(o.utcOffset()-this.utcOffset()),t=X(t)){case"year":a=Qt(this,o)/12;break;case"month":a=Qt(this,o);break;case"quarter":a=Qt(this,o)/3;break;case"second":a=(this-o)/1e3;break;case"minute":a=(this-o)/6e4;break;case"hour":a=(this-o)/36e5;break;case"day":a=(this-o-r)/864e5;break;case"week":a=(this-o-r)/6048e5;break;default:a=this-o}return n?a:Me(a)},fn.endOf=function(e){var t,n;if(void 0===(e=X(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},fn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=D(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(W(e)&&e.isValid()||_t(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(_t(),e)},fn.to=function(e,t){return this.isValid()&&(W(e)&&e.isValid()||_t(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(_t(),e)},fn.get=function(e){return R(this[e=X(e)])?this[e]():this},fn.invalidAt=function(){return d(this).overflow},fn.isAfter=function(e,t){var n=W(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=X(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?D(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",D(n,"Z")):D(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,o="moment",r="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(fn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.eraName=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Ct,fn.isUTC=Ct,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=g("dates accessor is deprecated. Use date instead.",Mn),fn.months=g("months accessor is deprecated. Use month instead",Se),fn.years=g("years accessor is deprecated. Use year instead",he),fn.zone=g("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),fn.isDSTShifted=g("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!b(this._isDSTShifted))return this._isDSTShifted;var e,t={};return h(t,this),(t=gt(t))._a?(e=t._isUTC?z(t._a):_t(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var o,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0;for(o=0;o0):this._isDSTShifted=!1,this._isDSTShifted}));var mn=N.prototype;function hn(e,t,n,o){var r=pt(),a=z().set(o,t);return r[n](a,e)}function qn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=hn(e,o,n,"month");return r}function Wn(e,t,n,o){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var r,a=pt(),i=e?a._week.dow:0,c=[];if(null!=n)return hn(t,(n+i)%7,o,"day");for(r=0;r<7;r++)c[r]=hn(t,(r+i)%7,o,"day");return c}mn.calendar=function(e,t,n){var o=this._calendar[e]||this._calendar.sameElse;return R(o)?o.call(t,n):o},mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(S).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},mn.invalidDate=function(){return this._invalidDate},mn.ordinal=function(e){return this._ordinal.replace("%d",e)},mn.preparse=An,mn.postformat=An,mn.relativeTime=function(e,t,n,o){var r=this._relativeTime[n];return R(r)?r(e,t,n,o):r.replace(/%d/i,e)},mn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return R(n)?n(t):n.replace(/%s/i,t)},mn.set=function(e){var t,n;for(n in e)c(e,n)&&(R(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},mn.eras=function(e,t){var n,o,a,i=this._eras||pt("en")._eras;for(n=0,o=i.length;n=0)return p[o]},mn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},mn.erasAbbrRegex=function(e){return c(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},mn.erasNameRegex=function(e){return c(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},mn.erasNarrowRegex=function(e){return c(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},mn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},mn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},mn.monthsParse=function(e,t,n){var o,r,a;if(this._monthsParseExact)return Ne.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=z([2e3,o]),n&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[o]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[o]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}},mn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ke.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=we),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},mn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ke.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},mn.week=function(e){return je(e,this._week.dow,this._week.doy).week},mn.firstDayOfYear=function(){return this._week.doy},mn.firstDayOfWeek=function(){return this._week.dow},mn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Xe(n,this._week.dow):e?n[e.day()]:n},mn.weekdaysMin=function(e){return!0===e?Xe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},mn.weekdaysShort=function(e){return!0===e?Xe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},mn.weekdaysParse=function(e,t,n){var o,r,a;if(this._weekdaysParseExact)return Ve.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=z([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(n&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(n&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}},mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ie),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ue),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},mn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=g("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=g("moment.langData is deprecated. Use moment.localeData instead.",pt);var yn=Math.abs;function gn(e,t,n,o){var r=Yt(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function Ln(e){return 146097*e/4800}function Rn(e){return function(){return this.as(e)}}var wn=Rn("ms"),Nn=Rn("s"),Tn=Rn("m"),Sn=Rn("h"),kn=Rn("d"),En=Rn("w"),Bn=Rn("M"),xn=Rn("Q"),Dn=Rn("y"),jn=wn;function Cn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Xn=Cn("milliseconds"),Pn=Cn("seconds"),Yn=Cn("minutes"),Hn=Cn("hours"),In=Cn("days"),Fn=Cn("months"),Un=Cn("years"),Vn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $n(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}var Kn=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o,r,a,i,c,p=Kn(this._milliseconds)/1e3,b=Kn(this._days),s=Kn(this._months),M=this.asSeconds();return M?(e=Me(p/60),t=Me(e/60),p%=60,e%=60,n=Me(s/12),s%=12,o=p?p.toFixed(3).replace(/\.?0+$/,""):"",r=M<0?"-":"",a=Jn(this._months)!==Jn(M)?"-":"",i=Jn(this._days)!==Jn(M)?"-":"",c=Jn(this._milliseconds)!==Jn(M)?"-":"",r+"P"+(n?a+n+"Y":"")+(s?a+s+"M":"")+(b?i+b+"D":"")+(t||e||p?"T":"")+(t?c+t+"H":"")+(e?c+e+"M":"")+(p?c+o+"S":"")):"P0D"}var Zn=Tt.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=yn(this._milliseconds),this._days=yn(this._days),this._months=yn(this._months),e.milliseconds=yn(e.milliseconds),e.seconds=yn(e.seconds),e.minutes=yn(e.minutes),e.hours=yn(e.hours),e.months=yn(e.months),e.years=yn(e.years),this},Zn.add=function(e,t){return gn(this,e,t,1)},Zn.subtract=function(e,t){return gn(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if("month"===(e=X(e))||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,n=this._months+_n(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ln(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=wn,Zn.asSeconds=Nn,Zn.asMinutes=Tn,Zn.asHours=Sn,Zn.asDays=kn,Zn.asWeeks=En,Zn.asMonths=Bn,Zn.asQuarters=xn,Zn.asYears=Dn,Zn.valueOf=jn,Zn._bubble=function(){var e,t,n,o,r,a=this._milliseconds,i=this._days,c=this._months,p=this._data;return a>=0&&i>=0&&c>=0||a<=0&&i<=0&&c<=0||(a+=864e5*vn(Ln(c)+i),i=0,c=0),p.milliseconds=a%1e3,e=Me(a/1e3),p.seconds=e%60,t=Me(e/60),p.minutes=t%60,n=Me(t/60),p.hours=n%24,i+=Me(n/24),r=Me(_n(i)),c+=r,i-=vn(Ln(r)),o=Me(c/12),c%=12,p.days=i,p.months=c,p.years=o,this},Zn.clone=function(){return Yt(this)},Zn.get=function(e){return e=X(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=Xn,Zn.seconds=Pn,Zn.minutes=Yn,Zn.hours=Hn,Zn.days=In,Zn.weeks=function(){return Me(this.days()/7)},Zn.months=Fn,Zn.years=Un,Zn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,o,r=!1,a=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(a=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),o=function(e,t,n,o){var r=Yt(e).abs(),a=Vn(r.as("s")),i=Vn(r.as("m")),c=Vn(r.as("h")),p=Vn(r.as("d")),b=Vn(r.as("M")),s=Vn(r.as("w")),M=Vn(r.as("y")),u=a<=n.ss&&["s",a]||a0,u[4]=o,$n.apply(null,u)}(this,!r,a,n),r&&(o=n.pastFuture(+this,o)),n.postformat(o)},Zn.toISOString=Qn,Zn.toString=Qn,Zn.toJSON=Qn,Zn.locale=Zt,Zn.localeData=tn,Zn.toIsoString=g("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Zn.lang=en,x("X",0,0,"unix"),x("x",0,0,"valueOf"),pe("x",ne),pe("X",/[+-]?\d+(\.\d{1,3})?/),ze("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,n){n._d=new Date(ue(e))})), +!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=207)}([function(e,t,n){"use strict";e.exports=n(193)},function(e,t,n){e.exports=n(198)()},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,o;function r(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function p(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(c(e,t))return!1;return!0}function s(e){return void 0===e}function b(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function M(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,o=[],r=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,v=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var S=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},B={};function x(e,t,n,o){var r=o;"string"==typeof o&&(r=function(){return this[o]()}),e&&(B[e]=r),t&&(B[t[0]]=function(){return N(r.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function D(e,t){return e.isValid()?(t=j(t,e.localeData()),E[t]=E[t]||function(e){var t,n,o,r=e.match(S);for(t=0,n=r.length;t=0&&k.test(e);)e=e.replace(k,o),k.lastIndex=0,n-=1;return e}var C={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function P(e){return"string"==typeof e?C[e]||C[e.toLowerCase()]:void 0}function X(e){var t,n,o={};for(n in e)c(e,n)&&(t=P(n))&&(o[t]=e[n]);return o}var Y,H={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},I=/\d/,F=/\d\d/,U=/\d{3}/,V=/\d{4}/,G=/[+-]?\d{6}/,$=/\d\d?/,K=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,Z=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ne=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ie=/^[1-9]\d?/,ce=/^([1-9]\d|\d)/;function pe(e,t,n){Y[e]=R(t)?t:function(e,o){return e&&n?n:t}}function se(e,t){return c(Y,e)?Y[e](t._strict,t._locale):new RegExp(be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,o,r){return t||n||o||r}))))}function be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Me(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Me(t)),n}Y={};var le={};function ze(e,t){var n,o,r=t;for("string"==typeof e&&(e=[e]),b(t)&&(r=function(e,n){n[t]=ue(e)}),o=e.length,n=0;n68?1900:2e3)};var me,he=qe("FullYear",!0);function qe(e,t){return function(n){return null!=n?(ge(this,e,n),r.updateOffset(this,t),this):ye(this,e)}}function ye(e,t){if(!e.isValid())return NaN;var n=e._d,o=e._isUTC;switch(t){case"Milliseconds":return o?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return o?n.getUTCSeconds():n.getSeconds();case"Minutes":return o?n.getUTCMinutes():n.getMinutes();case"Hours":return o?n.getUTCHours():n.getHours();case"Date":return o?n.getUTCDate():n.getDate();case"Day":return o?n.getUTCDay():n.getDay();case"Month":return o?n.getUTCMonth():n.getMonth();case"FullYear":return o?n.getUTCFullYear():n.getFullYear();default:return NaN}}function ge(e,t,n){var o,r,a,i,c;if(e.isValid()&&!isNaN(n)){switch(o=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?o.setUTCMilliseconds(n):o.setMilliseconds(n));case"Seconds":return void(r?o.setUTCSeconds(n):o.setSeconds(n));case"Minutes":return void(r?o.setUTCMinutes(n):o.setMinutes(n));case"Hours":return void(r?o.setUTCHours(n):o.setHours(n));case"Date":return void(r?o.setUTCDate(n):o.setDate(n));case"FullYear":break;default:return}a=n,i=e.month(),c=29!==(c=e.date())||1!==i||fe(a)?c:28,r?o.setUTCFullYear(a,i,c):o.setFullYear(a,i,c)}}function We(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,o=(t%(n=12)+n)%n;return e+=(t-o)/12,1===o?fe(e)?29:28:31-o%7%2}me=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(c=new Date(e+400,t,n,o,r,a,i),isFinite(c.getFullYear())&&c.setFullYear(e)):c=new Date(e,t,n,o,r,a,i),c}function Be(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xe(e,t,n){var o=7+t-n;return-(7+Be(e,0,o).getUTCDay()-t)%7+o-1}function De(e,t,n,o,r){var a,i,c=1+7*(t-1)+(7+n-o)%7+xe(e,o,r);return c<=0?i=Ae(a=e-1)+c:c>Ae(e)?(a=e+1,i=c-Ae(e)):(a=e,i=c),{year:a,dayOfYear:i}}function je(e,t,n){var o,r,a=xe(e.year(),t,n),i=Math.floor((e.dayOfYear()-a-1)/7)+1;return i<1?o=i+Ce(r=e.year()-1,t,n):i>Ce(e.year(),t,n)?(o=i-Ce(e.year(),t,n),r=e.year()+1):(r=e.year(),o=i),{week:o,year:r}}function Ce(e,t,n){var o=xe(e,t,n),r=xe(e+1,t,n);return(Ae(e)-o+r)/7}function Pe(e,t){return e.slice(t,7).concat(e.slice(0,t))}x("w",["ww",2],"wo","week"),x("W",["WW",2],"Wo","isoWeek"),pe("w",$,ie),pe("ww",$,F),pe("W",$,ie),pe("WW",$,F),de(["w","ww","W","WW"],(function(e,t,n,o){t[o.substr(0,1)]=ue(e)})),x("d",0,"do","day"),x("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),x("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),x("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),x("e",0,0,"weekday"),x("E",0,0,"isoWeekday"),pe("d",$),pe("e",$),pe("E",$),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),de(["dd","ddd","dddd"],(function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);null!=r?t.d=r:d(n).invalidWeekday=e})),de(["d","e","E"],(function(e,t,n,o){t[o]=ue(e)}));var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),He="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ie=ae,Fe=ae,Ue=ae;function Ve(e,t,n){var o,r,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)a=z([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=me.call(this._weekdaysParse,i))?r:null:"ddd"===t?-1!==(r=me.call(this._shortWeekdaysParse,i))?r:null:-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:"dddd"===t?-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._shortWeekdaysParse,i))||-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:"ddd"===t?-1!==(r=me.call(this._shortWeekdaysParse,i))||-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:-1!==(r=me.call(this._minWeekdaysParse,i))||-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._shortWeekdaysParse,i))?r:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,o,r,a,i=[],c=[],p=[],s=[];for(t=0;t<7;t++)n=z([2e3,1]).day(t),o=be(this.weekdaysMin(n,"")),r=be(this.weekdaysShort(n,"")),a=be(this.weekdays(n,"")),i.push(o),c.push(r),p.push(a),s.push(o),s.push(r),s.push(a);i.sort(e),c.sort(e),p.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ke(e,t){x(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}x("H",["HH",2],0,"hour"),x("h",["hh",2],0,$e),x("k",["kk",2],0,(function(){return this.hours()||24})),x("hmm",0,0,(function(){return""+$e.apply(this)+N(this.minutes(),2)})),x("hmmss",0,0,(function(){return""+$e.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),x("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),x("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),pe("a",Je),pe("A",Je),pe("H",$,ce),pe("h",$,ie),pe("k",$,ie),pe("HH",$,F),pe("hh",$,F),pe("kk",$,F),pe("hmm",K),pe("hmmss",J),pe("Hmm",K),pe("Hmmss",J),ze(["H","HH"],3),ze(["k","kk"],(function(e,t,n){var o=ue(e);t[3]=24===o?0:o})),ze(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ze(["h","hh"],(function(e,t,n){t[3]=ue(e),d(n).bigHour=!0})),ze("hmm",(function(e,t,n){var o=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o)),d(n).bigHour=!0})),ze("hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o,2)),t[5]=ue(e.substr(r)),d(n).bigHour=!0})),ze("Hmm",(function(e,t,n){var o=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o))})),ze("Hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o,2)),t[5]=ue(e.substr(r))}));var Qe,Ze=qe("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ve,monthsShort:_e,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:He,weekdaysShort:Ye,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function ot(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n0;){if(o=at(r.slice(0,t).join("-")))return o;if(n&&n.length>=t&&ot(r,n)>=t-1)break;t--}a++}return Qe}(e)}function st(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>We(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,d(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),d(e)._overflowWeeks&&-1===t&&(t=7),d(e)._overflowWeekday&&-1===t&&(t=8),d(e).overflow=t),e}var bt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ut=/Z|[+-]\d\d(?::?\d\d)?/,lt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],zt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],dt=/^\/?Date\((-?\d+)/i,Ot=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ft={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function At(e){var t,n,o,r,a,i,c=e._i,p=bt.exec(c)||Mt.exec(c),s=lt.length,b=zt.length;if(p){for(d(e).iso=!0,t=0,n=s;t7)&&(p=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,s=je(_t(),a,i),n=qt(t.gg,e._a[0],s.year),o=qt(t.w,s.week),null!=t.d?((r=t.d)<0||r>6)&&(p=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(p=!0)):r=a),o<1||o>Ce(n,a,i)?d(e)._overflowWeeks=!0:null!=p?d(e)._overflowWeekday=!0:(c=De(n,o,r,a,i),e._a[0]=c.year,e._dayOfYear=c.dayOfYear)}(e),null!=e._dayOfYear&&(i=qt(e._a[0],o[0]),(e._dayOfYear>Ae(i)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),n=Be(i,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=o[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Be:Ee).apply(null,c),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(d(e).weekdayMismatch=!0)}}function gt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],d(e).empty=!0;var t,n,o,a,i,c,p,s=""+e._i,b=s.length,M=0;for(p=(o=j(e._f,e._locale).match(S)||[]).length,t=0;t0&&d(e).unusedInput.push(i),s=s.slice(s.indexOf(n)+n.length),M+=n.length),B[a]?(n?d(e).empty=!1:d(e).unusedTokens.push(a),Oe(a,n,e)):e._strict&&!n&&d(e).unusedTokens.push(a);d(e).charsLeftOver=b-M,s.length>0&&d(e).unusedInput.push(s),e._a[3]<=12&&!0===d(e).bigHour&&e._a[3]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var o;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((o=e.isPM(n))&&t<12&&(t+=12),o||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(c=d(e).era)&&(e._a[0]=e._locale.erasConvertYear(c,e._a[0])),yt(e),st(e)}else ht(e);else At(e)}function Wt(e){var t=e._i,n=e._f;return e._locale=e._locale||pt(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new q(st(t)):(M(t)?e._d=t:a(n)?function(e){var t,n,o,r,a,i,c=!1,p=e._f.length;if(0===p)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:f()}));function wt(e,t){var n,o;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return _t();for(n=t[0],o=1;o=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function cn(){var e,t,n,o,r,a=[],i=[],c=[],p=[],s=this.eras();for(e=0,t=s.length;e(a=Ce(e,o,r))&&(t=a),bn.call(this,e,t,n,o,r))}function bn(e,t,n,o,r){var a=De(e,t,n,o,r),i=Be(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}x("N",0,0,"eraAbbr"),x("NN",0,0,"eraAbbr"),x("NNN",0,0,"eraAbbr"),x("NNNN",0,0,"eraName"),x("NNNNN",0,0,"eraNarrow"),x("y",["y",1],"yo","eraYear"),x("y",["yy",2],0,"eraYear"),x("y",["yyy",3],0,"eraYear"),x("y",["yyyy",4],0,"eraYear"),pe("N",an),pe("NN",an),pe("NNN",an),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,o){var r=n._locale.erasParse(e,o,n._strict);r?d(n).era=r:d(n).invalidEra=e})),pe("y",te),pe("yy",te),pe("yyy",te),pe("yyyy",te),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||te})),ze(["y","yy","yyy","yyyy"],0),ze(["yo"],(function(e,t,n,o){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,r):t[0]=parseInt(e,10)})),x(0,["gg",2],0,(function(){return this.weekYear()%100})),x(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),pe("G",ne),pe("g",ne),pe("GG",$,F),pe("gg",$,F),pe("GGGG",Z,V),pe("gggg",Z,V),pe("GGGGG",ee,G),pe("ggggg",ee,G),de(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,o){t[o.substr(0,2)]=ue(e)})),de(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),x("Q",0,"Qo","quarter"),pe("Q",I),ze("Q",(function(e,t){t[1]=3*(ue(e)-1)})),x("D",["DD",2],"Do","date"),pe("D",$,ie),pe("DD",$,F),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],2),ze("Do",(function(e,t){t[2]=ue(e.match($)[0])}));var Mn=qe("Date",!0);x("DDD",["DDDD",3],"DDDo","dayOfYear"),pe("DDD",Q),pe("DDDD",U),ze(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),x("m",["mm",2],0,"minute"),pe("m",$,ce),pe("mm",$,F),ze(["m","mm"],4);var un=qe("Minutes",!1);x("s",["ss",2],0,"second"),pe("s",$,ce),pe("ss",$,F),ze(["s","ss"],5);var ln,zn,dn=qe("Seconds",!1);for(x("S",0,0,(function(){return~~(this.millisecond()/100)})),x(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),x(0,["SSS",3],0,"millisecond"),x(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),x(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),x(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),x(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),x(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),x(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),pe("S",Q,I),pe("SS",Q,F),pe("SSS",Q,U),ln="SSSS";ln.length<=9;ln+="S")pe(ln,te);function On(e,t){t[6]=ue(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")ze(ln,On);zn=qe("Milliseconds",!1),x("z",0,0,"zoneAbbr"),x("zz",0,0,"zoneName");var fn=q.prototype;function An(e){return e}fn.add=Vt,fn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):Jt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||_t(),o=Dt(n,this).startOf("day"),a=r.calendarFormat(this,o)||"sameElse",i=t&&(R(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,_t(n)))},fn.clone=function(){return new q(this)},fn.diff=function(e,t,n){var o,r,a;if(!this.isValid())return NaN;if(!(o=Dt(e,this)).isValid())return NaN;switch(r=6e4*(o.utcOffset()-this.utcOffset()),t=P(t)){case"year":a=Qt(this,o)/12;break;case"month":a=Qt(this,o);break;case"quarter":a=Qt(this,o)/3;break;case"second":a=(this-o)/1e3;break;case"minute":a=(this-o)/6e4;break;case"hour":a=(this-o)/36e5;break;case"day":a=(this-o-r)/864e5;break;case"week":a=(this-o-r)/6048e5;break;default:a=this-o}return n?a:Me(a)},fn.endOf=function(e){var t,n;if(void 0===(e=P(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},fn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=D(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||_t(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(_t(),e)},fn.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||_t(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(_t(),e)},fn.get=function(e){return R(this[e=P(e)])?this[e]():this},fn.invalidAt=function(){return d(this).overflow},fn.isAfter=function(e,t){var n=y(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=P(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?D(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",D(n,"Z")):D(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,o="moment",r="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(fn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.eraName=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Ct,fn.isUTC=Ct,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=W("dates accessor is deprecated. Use date instead.",Mn),fn.months=W("months accessor is deprecated. Use month instead",Se),fn.years=W("years accessor is deprecated. Use year instead",he),fn.zone=W("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),fn.isDSTShifted=W("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return h(t,this),(t=Wt(t))._a?(e=t._isUTC?z(t._a):_t(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var o,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0;for(o=0;o0):this._isDSTShifted=!1,this._isDSTShifted}));var mn=T.prototype;function hn(e,t,n,o){var r=pt(),a=z().set(o,t);return r[n](a,e)}function qn(e,t,n){if(b(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=hn(e,o,n,"month");return r}function yn(e,t,n,o){"boolean"==typeof e?(b(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,b(t)&&(n=t,t=void 0),t=t||"");var r,a=pt(),i=e?a._week.dow:0,c=[];if(null!=n)return hn(t,(n+i)%7,o,"day");for(r=0;r<7;r++)c[r]=hn(t,(r+i)%7,o,"day");return c}mn.calendar=function(e,t,n){var o=this._calendar[e]||this._calendar.sameElse;return R(o)?o.call(t,n):o},mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(S).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},mn.invalidDate=function(){return this._invalidDate},mn.ordinal=function(e){return this._ordinal.replace("%d",e)},mn.preparse=An,mn.postformat=An,mn.relativeTime=function(e,t,n,o){var r=this._relativeTime[n];return R(r)?r(e,t,n,o):r.replace(/%d/i,e)},mn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return R(n)?n(t):n.replace(/%s/i,t)},mn.set=function(e){var t,n;for(n in e)c(e,n)&&(R(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},mn.eras=function(e,t){var n,o,a,i=this._eras||pt("en")._eras;for(n=0,o=i.length;n=0)return p[o]},mn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},mn.erasAbbrRegex=function(e){return c(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},mn.erasNameRegex=function(e){return c(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},mn.erasNarrowRegex=function(e){return c(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},mn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},mn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},mn.monthsParse=function(e,t,n){var o,r,a;if(this._monthsParseExact)return Te.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=z([2e3,o]),n&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[o]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[o]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}},mn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ke.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=we),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},mn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ke.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},mn.week=function(e){return je(e,this._week.dow,this._week.doy).week},mn.firstDayOfYear=function(){return this._week.doy},mn.firstDayOfWeek=function(){return this._week.dow},mn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pe(n,this._week.dow):e?n[e.day()]:n},mn.weekdaysMin=function(e){return!0===e?Pe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},mn.weekdaysShort=function(e){return!0===e?Pe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},mn.weekdaysParse=function(e,t,n){var o,r,a;if(this._weekdaysParseExact)return Ve.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=z([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(n&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(n&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}},mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ie),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ue),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},mn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=W("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=W("moment.langData is deprecated. Use moment.localeData instead.",pt);var gn=Math.abs;function Wn(e,t,n,o){var r=Yt(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function Ln(e){return 146097*e/4800}function Rn(e){return function(){return this.as(e)}}var wn=Rn("ms"),Tn=Rn("s"),Nn=Rn("m"),Sn=Rn("h"),kn=Rn("d"),En=Rn("w"),Bn=Rn("M"),xn=Rn("Q"),Dn=Rn("y"),jn=wn;function Cn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=Cn("milliseconds"),Xn=Cn("seconds"),Yn=Cn("minutes"),Hn=Cn("hours"),In=Cn("days"),Fn=Cn("months"),Un=Cn("years"),Vn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $n(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}var Kn=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o,r,a,i,c,p=Kn(this._milliseconds)/1e3,s=Kn(this._days),b=Kn(this._months),M=this.asSeconds();return M?(e=Me(p/60),t=Me(e/60),p%=60,e%=60,n=Me(b/12),b%=12,o=p?p.toFixed(3).replace(/\.?0+$/,""):"",r=M<0?"-":"",a=Jn(this._months)!==Jn(M)?"-":"",i=Jn(this._days)!==Jn(M)?"-":"",c=Jn(this._milliseconds)!==Jn(M)?"-":"",r+"P"+(n?a+n+"Y":"")+(b?a+b+"M":"")+(s?i+s+"D":"")+(t||e||p?"T":"")+(t?c+t+"H":"")+(e?c+e+"M":"")+(p?c+o+"S":"")):"P0D"}var Zn=Nt.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},Zn.add=function(e,t){return Wn(this,e,t,1)},Zn.subtract=function(e,t){return Wn(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if("month"===(e=P(e))||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,n=this._months+_n(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ln(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=wn,Zn.asSeconds=Tn,Zn.asMinutes=Nn,Zn.asHours=Sn,Zn.asDays=kn,Zn.asWeeks=En,Zn.asMonths=Bn,Zn.asQuarters=xn,Zn.asYears=Dn,Zn.valueOf=jn,Zn._bubble=function(){var e,t,n,o,r,a=this._milliseconds,i=this._days,c=this._months,p=this._data;return a>=0&&i>=0&&c>=0||a<=0&&i<=0&&c<=0||(a+=864e5*vn(Ln(c)+i),i=0,c=0),p.milliseconds=a%1e3,e=Me(a/1e3),p.seconds=e%60,t=Me(e/60),p.minutes=t%60,n=Me(t/60),p.hours=n%24,i+=Me(n/24),r=Me(_n(i)),c+=r,i-=vn(Ln(r)),o=Me(c/12),c%=12,p.days=i,p.months=c,p.years=o,this},Zn.clone=function(){return Yt(this)},Zn.get=function(e){return e=P(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=Pn,Zn.seconds=Xn,Zn.minutes=Yn,Zn.hours=Hn,Zn.days=In,Zn.weeks=function(){return Me(this.days()/7)},Zn.months=Fn,Zn.years=Un,Zn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,o,r=!1,a=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(a=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),o=function(e,t,n,o){var r=Yt(e).abs(),a=Vn(r.as("s")),i=Vn(r.as("m")),c=Vn(r.as("h")),p=Vn(r.as("d")),s=Vn(r.as("M")),b=Vn(r.as("w")),M=Vn(r.as("y")),u=a<=n.ss&&["s",a]||a0,u[4]=o,$n.apply(null,u)}(this,!r,a,n),r&&(o=n.pastFuture(+this,o)),n.postformat(o)},Zn.toISOString=Qn,Zn.toString=Qn,Zn.toJSON=Qn,Zn.locale=Zt,Zn.localeData=tn,Zn.toIsoString=W("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Zn.lang=en,x("X",0,0,"unix"),x("x",0,0,"valueOf"),pe("x",ne),pe("X",/[+-]?\d+(\.\d{1,3})?/),ze("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,n){n._d=new Date(ue(e))})), //! moment.js -r.version="2.30.1",t=_t,r.fn=fn,r.min=function(){var e=[].slice.call(arguments,0);return wt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return wt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=z,r.unix=function(e){return _t(1e3*e)},r.months=function(e,t){return qn(e,t,"months")},r.isDate=M,r.locale=it,r.invalid=f,r.duration=Yt,r.isMoment=W,r.weekdays=function(e,t,n){return Wn(e,t,n,"weekdays")},r.parseZone=function(){return _t.apply(null,arguments).parseZone()},r.localeData=pt,r.isDuration=St,r.monthsShort=function(e,t){return qn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return Wn(e,t,n,"weekdaysMin")},r.defineLocale=ct,r.updateLocale=function(e,t){if(null!=t){var n,o,r=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(w(tt[e]._config,t)):(null!=(o=at(e))&&(r=o._config),t=w(r,t),null==o&&(t.abbr=e),(n=new N(t)).parentLocale=tt[e],tt[e]=n),it(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===it()&&it(e)):null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return v(tt)},r.weekdaysShort=function(e,t,n){return Wn(e,t,n,"weekdaysShort")},r.normalizeUnits=X,r.relativeTimeRounding=function(e){return void 0===e?Vn:"function"==typeof e&&(Vn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=fn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(34)(e))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return p}));var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=0&&n<=r.b}}function B(e){return function(t){return null==t?void 0:t[e]}}var x=B("byteLength"),D=E(x),j=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var C=r.r?function(e){return r.l?Object(r.l)(e)&&!_(e):D(e)&&j.test(r.t.call(e))}:k(!1),X=B("length");function P(e,t){t=function(e){for(var t={},n=e.length,o=0;o":">",'"':""","'":"'","`":"`"},Ce=De(je),Xe=De(be(je)),Pe=F.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ye=/(.)^/,He={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ie=/\\|'|\r|\n|\u2028|\u2029/g;function Fe(e){return"\\"+He[e]}var Ue=/^\s*(\w|\$)+\s*$/;function Ve(e,t,n){!t&&n&&(t=n),t=ze({},t,F.templateSettings);var o=RegExp([(t.escape||Ye).source,(t.interpolate||Ye).source,(t.evaluate||Ye).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(o,(function(t,n,o,i,c){return a+=e.slice(r,c).replace(Ie,Fe),r=c+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":o?a+="'+\n((__t=("+o+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t})),a+="';\n";var i,c=t.variable;if(c){if(!Ue.test(c))throw new Error("variable is not a bare identifier: "+c)}else a="with(obj||{}){\n"+a+"}\n",c="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{i=new Function(c,"_",a)}catch(e){throw e.source=a,e}var p=function(e){return i.call(this,e,F)};return p.source="function("+c+"){\n"+a+"}",p}function Ge(e,t,n){var o=(t=he(t)).length;if(!o)return q(n)?n.call(e):n;for(var r=0;r1)ot(c,t-1,n,o),r=o.length;else for(var p=0,b=c.length;pt?(o&&(clearTimeout(o),o=null),c=b,i=e.apply(r,a),o||(r=a=null)):o||!1===n.trailing||(o=setTimeout(p,s)),i};return b.cancel=function(){clearTimeout(o),c=0,o=r=a=null},b}function bt(e,t,n){var o,r,i,c,p,b=function(){var a=xe()-r;t>a?o=setTimeout(b,t-a):(o=null,n||(c=e.apply(p,i)),o||(i=p=null))},s=a((function(a){return p=this,i=a,r=xe(),o||(o=setTimeout(b,t),n&&(c=e.apply(p,i))),c}));return s.cancel=function(){clearTimeout(o),o=i=p=null},s}function st(e,t){return et(t,e)}function Mt(e){return function(){return!e.apply(this,arguments)}}function ut(){var e=arguments,t=e.length-1;return function(){for(var n=t,o=e[t].apply(this,arguments);n--;)o=e[n].call(this,o);return o}}function lt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function zt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var dt=et(zt,2);function Ot(e,t,n){t=Ne(t,n);for(var o,r=Y(e),a=0,i=r.length;a0?0:r-1;a>=0&&a0?c=i>=0?i:Math.max(i+p,c):p=i>=0?Math.min(i+1,p):i+p+1;else if(n&&i&&p)return o[i=n(o,a)]===a?i:-1;if(a!=a)return(i=t(r.q.call(o,c,p),S))>=0?i+c:-1;for(i=e>0?c:p-1;i>=0&&i0?0:i-1;for(r||(o=t[a?a[c]:c],c+=e);c>=0&&c=3;return t(e,Le(n,r,4),o,a)}}var wt=Rt(1),Nt=Rt(-1);function Tt(e,t,n){var o=[];return t=Ne(t,n),_t(e,(function(e,n,r){t(e,n,r)&&o.push(e)})),o}function St(e,t,n){return Tt(e,Mt(Ne(t)),n)}function kt(e,t,n){t=Ne(t,n);for(var o=!nt(e)&&Y(e),r=(o||e).length,a=0;a=0}var xt=a((function(e,t,n){var o,r;return q(t)?r=t:(t=he(t),o=t.slice(0,-1),t=t[t.length-1]),Lt(e,(function(e){var a=r;if(!a){if(o&&o.length&&(e=qe(e,o)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function Dt(e,t){return Lt(e,_e(t))}function jt(e,t){return Tt(e,ve(t))}function Ct(e,t,n){var o,r,a=-1/0,i=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var c=0,p=(e=nt(e)?e:ce(e)).length;ca&&(a=o);else t=Ne(t,n),_t(e,(function(e,n,o){((r=t(e,n,o))>i||r===-1/0&&a===-1/0)&&(a=e,i=r)}));return a}function Xt(e,t,n){var o,r,a=1/0,i=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var c=0,p=(e=nt(e)?e:ce(e)).length;co||void 0===n)return 1;if(n1&&(o=Le(o,t[1])),t=$(e)):(o=Qt,t=ot(t,!1,!1),e=Object(e));for(var r=0,a=t.length;r1&&(n=t[1])):(t=Lt(ot(t,!1,!1),String),o=function(e,n){return!Bt(t,n)}),Zt(e,o,n)}));function tn(e,t,n){return r.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function nn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:tn(e,e.length-t)}function on(e,t,n){return r.q.call(e,null==t||n?1:t)}function rn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:on(e,Math.max(0,e.length-t))}function an(e){return Tt(e,Boolean)}function cn(e,t){return ot(e,t,!1)}var pn=a((function(e,t){return t=ot(t,!0,!0),Tt(e,(function(e){return!Bt(t,e)}))})),bn=a((function(e,t){return pn(e,t)}));function sn(e,t,n,o){b(t)||(o=n,n=t,t=!1),null!=n&&(n=Ne(n,o));for(var r=[],a=[],i=0,c=X(e);i1?o.rejectWith(this,[gettext("Multiple teams returned for course")]):0===e.count?o.resolveWith(this,[null]):o.resolveWith(this,[e.results[0]])})).fail((function(){o.rejectWith(this,[gettext("Could not load teams information.")])}))})).promise()}},{key:"getUsername",value:function(){var e=this.url("get_student_username");return $.Deferred((function(t){$.ajax({type:"POST",url:e,data:JSON.stringify({}),contentType:i}).done((function(e){null===e.username?t.rejectWith(this,[gettext("User lookup failed")]):t.resolveWith(this,[e.username])})).fail((function(){t.rejectWith(this,[gettext("Error when looking up username")])}))}))}},{key:"cloneRubric",value:function(e){var t=this.url("get_rubric"),n={target_rubric_block_id:String(e)};return $.Deferred((function(e){$.ajax({type:"POST",url:t,data:JSON.stringify(n),contentType:i}).done((function(t){t.success?e.resolveWith(this,[t.rubric]):e.rejectWith(this,[t.msg])})).fail((function(){e.rejectWith(this,[gettext("Failed to clone rubric")])}))}))}}])&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();t.a=c},,,,,function(e,t,n){var o; +*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e="",t=0;t=0&&n<=r.b}}function B(e){return function(t){return null==t?void 0:t[e]}}var x=B("byteLength"),D=E(x),j=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var C=r.r?function(e){return r.l?Object(r.l)(e)&&!_(e):D(e)&&j.test(r.t.call(e))}:k(!1),P=B("length");function X(e,t){t=function(e){for(var t={},n=e.length,o=0;o":">",'"':""","'":"'","`":"`"},Ce=De(je),Pe=De(se(je)),Xe=F.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ye=/(.)^/,He={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ie=/\\|'|\r|\n|\u2028|\u2029/g;function Fe(e){return"\\"+He[e]}var Ue=/^\s*(\w|\$)+\s*$/;function Ve(e,t,n){!t&&n&&(t=n),t=ze({},t,F.templateSettings);var o=RegExp([(t.escape||Ye).source,(t.interpolate||Ye).source,(t.evaluate||Ye).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(o,(function(t,n,o,i,c){return a+=e.slice(r,c).replace(Ie,Fe),r=c+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":o?a+="'+\n((__t=("+o+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t})),a+="';\n";var i,c=t.variable;if(c){if(!Ue.test(c))throw new Error("variable is not a bare identifier: "+c)}else a="with(obj||{}){\n"+a+"}\n",c="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{i=new Function(c,"_",a)}catch(e){throw e.source=a,e}var p=function(e){return i.call(this,e,F)};return p.source="function("+c+"){\n"+a+"}",p}function Ge(e,t,n){var o=(t=he(t)).length;if(!o)return q(n)?n.call(e):n;for(var r=0;r1)ot(c,t-1,n,o),r=o.length;else for(var p=0,s=c.length;pt?(o&&(clearTimeout(o),o=null),c=s,i=e.apply(r,a),o||(r=a=null)):o||!1===n.trailing||(o=setTimeout(p,b)),i};return s.cancel=function(){clearTimeout(o),c=0,o=r=a=null},s}function st(e,t,n){var o,r,i,c,p,s=function(){var a=xe()-r;t>a?o=setTimeout(s,t-a):(o=null,n||(c=e.apply(p,i)),o||(i=p=null))},b=a((function(a){return p=this,i=a,r=xe(),o||(o=setTimeout(s,t),n&&(c=e.apply(p,i))),c}));return b.cancel=function(){clearTimeout(o),o=i=p=null},b}function bt(e,t){return et(t,e)}function Mt(e){return function(){return!e.apply(this,arguments)}}function ut(){var e=arguments,t=e.length-1;return function(){for(var n=t,o=e[t].apply(this,arguments);n--;)o=e[n].call(this,o);return o}}function lt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function zt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var dt=et(zt,2);function Ot(e,t,n){t=Te(t,n);for(var o,r=Y(e),a=0,i=r.length;a0?0:r-1;a>=0&&a0?c=i>=0?i:Math.max(i+p,c):p=i>=0?Math.min(i+1,p):i+p+1;else if(n&&i&&p)return o[i=n(o,a)]===a?i:-1;if(a!=a)return(i=t(r.q.call(o,c,p),S))>=0?i+c:-1;for(i=e>0?c:p-1;i>=0&&i0?0:i-1;for(r||(o=t[a?a[c]:c],c+=e);c>=0&&c=3;return t(e,Le(n,r,4),o,a)}}var wt=Rt(1),Tt=Rt(-1);function Nt(e,t,n){var o=[];return t=Te(t,n),_t(e,(function(e,n,r){t(e,n,r)&&o.push(e)})),o}function St(e,t,n){return Nt(e,Mt(Te(t)),n)}function kt(e,t,n){t=Te(t,n);for(var o=!nt(e)&&Y(e),r=(o||e).length,a=0;a=0}var xt=a((function(e,t,n){var o,r;return q(t)?r=t:(t=he(t),o=t.slice(0,-1),t=t[t.length-1]),Lt(e,(function(e){var a=r;if(!a){if(o&&o.length&&(e=qe(e,o)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function Dt(e,t){return Lt(e,_e(t))}function jt(e,t){return Nt(e,ve(t))}function Ct(e,t,n){var o,r,a=-1/0,i=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var c=0,p=(e=nt(e)?e:ce(e)).length;ca&&(a=o);else t=Te(t,n),_t(e,(function(e,n,o){((r=t(e,n,o))>i||r===-1/0&&a===-1/0)&&(a=e,i=r)}));return a}function Pt(e,t,n){var o,r,a=1/0,i=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var c=0,p=(e=nt(e)?e:ce(e)).length;co||void 0===n)return 1;if(n1&&(o=Le(o,t[1])),t=$(e)):(o=Qt,t=ot(t,!1,!1),e=Object(e));for(var r=0,a=t.length;r1&&(n=t[1])):(t=Lt(ot(t,!1,!1),String),o=function(e,n){return!Bt(t,n)}),Zt(e,o,n)}));function tn(e,t,n){return r.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function nn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:tn(e,e.length-t)}function on(e,t,n){return r.q.call(e,null==t||n?1:t)}function rn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:on(e,Math.max(0,e.length-t))}function an(e){return Nt(e,Boolean)}function cn(e,t){return ot(e,t,!1)}var pn=a((function(e,t){return t=ot(t,!0,!0),Nt(e,(function(e){return!Bt(t,e)}))})),sn=a((function(e,t){return pn(e,t)}));function bn(e,t,n,o){s(t)||(o=n,n=t,t=!1),null!=n&&(n=Te(n,o));for(var r=[],a=[],i=0,c=P(e);i1?o.rejectWith(this,[gettext("Multiple teams returned for course")]):0===e.count?o.resolveWith(this,[null]):o.resolveWith(this,[e.results[0]])})).fail((function(){o.rejectWith(this,[gettext("Could not load teams information.")])}))})).promise()}},{key:"getUsername",value:function(){var e=this.url("get_student_username");return $.Deferred((function(t){$.ajax({type:"POST",url:e,data:JSON.stringify({}),contentType:i}).done((function(e){null===e.username?t.rejectWith(this,[gettext("User lookup failed")]):t.resolveWith(this,[e.username])})).fail((function(){t.rejectWith(this,[gettext("Error when looking up username")])}))}))}},{key:"cloneRubric",value:function(e){var t=this.url("get_rubric"),n={target_rubric_block_id:String(e)};return $.Deferred((function(e){$.ajax({type:"POST",url:t,data:JSON.stringify(n),contentType:i}).done((function(t){t.success?e.resolveWith(this,[t.rubric]):e.rejectWith(this,[t.msg])})).fail((function(){e.rejectWith(this,[gettext("Failed to clone rubric")])}))}))}}])&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();t.a=c},,,,,function(e,t,n){var o; /*! * jQuery JavaScript Library v3.7.1 * https://jquery.com/ @@ -15,24 +15,24 @@ r.version="2.30.1",t=_t,r.fn=fn,r.min=function(){var e=[].slice.call(arguments,0 * https://jquery.org/license * * Date: 2023-08-28T13:37Z - */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,r){"use strict";var a=[],i=Object.getPrototypeOf,c=a.slice,p=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},b=a.push,s=a.indexOf,M={},u=M.toString,l=M.hasOwnProperty,z=l.toString,d=z.call(Object),O={},f=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},A=function(e){return null!=e&&e===e.window},m=n.document,h={type:!0,src:!0,nonce:!0,noModule:!0};function q(e,t,n){var o,r,a=(n=n||m).createElement("script");if(a.text=e,t)for(o in h)(r=t[o]||t.getAttribute&&t.getAttribute(o))&&a.setAttribute(o,r);n.head.appendChild(a).parentNode.removeChild(a)}function W(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?M[u.call(e)]||"object":typeof e}var y=/HTML$/i,g=function(e,t){return new g.fn.init(e,t)};function v(e){var t=!!e&&"length"in e&&e.length,n=W(e);return!f(e)&&!A(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function _(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}g.fn=g.prototype={jquery:"3.7.1",constructor:g,length:0,toArray:function(){return c.call(this)},get:function(e){return null==e?c.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=g.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return g.each(this,e)},map:function(e){return this.pushStack(g.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(g.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(g.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+N+")"+N+"*"),P=new RegExp(N+"|>"),Y=new RegExp(D),H=new RegExp("^"+k+"$"),I={ID:new RegExp("^#("+k+")"),CLASS:new RegExp("^\\.("+k+")"),TAG:new RegExp("^("+k+"|[*])"),ATTR:new RegExp("^"+x),PSEUDO:new RegExp("^"+D),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},F=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,$=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),K=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},J=function(){pe()},Q=ue((function(e){return!0===e.disabled&&_(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{d.apply(a=c.call(E.childNodes),E.childNodes),a[E.childNodes.length].nodeType}catch(e){d={apply:function(e,t){B.apply(e,c.call(t))},call:function(e){B.apply(e,c.call(arguments,1))}}}function Z(e,t,n,o){var r,a,i,c,b,s,l,z=t&&t.ownerDocument,A=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==A&&9!==A&&11!==A)return n;if(!o&&(pe(t),t=t||p,M)){if(11!==A&&(b=V.exec(e)))if(r=b[1]){if(9===A){if(!(i=t.getElementById(r)))return n;if(i.id===r)return d.call(n,i),n}else if(z&&(i=z.getElementById(r))&&Z.contains(t,i)&&i.id===r)return d.call(n,i),n}else{if(b[2])return d.apply(n,t.getElementsByTagName(e)),n;if((r=b[3])&&t.getElementsByClassName)return d.apply(n,t.getElementsByClassName(r)),n}if(!(y[e+" "]||u&&u.test(e))){if(l=e,z=t,1===A&&(P.test(e)||X.test(e))){for((z=G.test(e)&&ce(t.parentNode)||t)==t&&O.scope||((c=t.getAttribute("id"))?c=g.escapeSelector(c):t.setAttribute("id",c=f)),a=(s=se(e)).length;a--;)s[a]=(c?"#"+c:":scope")+" "+Me(s[a]);l=s.join(",")}try{return d.apply(n,z.querySelectorAll(l)),n}catch(t){y(e,!0)}finally{c===f&&t.removeAttribute("id")}}}return Ae(e.replace(T,"$1"),t,n,o)}function ee(){var e=[];return function n(o,r){return e.push(o+" ")>t.cacheLength&&delete n[e.shift()],n[o+" "]=r}}function te(e){return e[f]=!0,e}function ne(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function oe(e){return function(t){return _(t,"input")&&t.type===e}}function re(e){return function(t){return(_(t,"input")||_(t,"button"))&&t.type===e}}function ae(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ie(e){return te((function(t){return t=+t,te((function(n,o){for(var r,a=e([],n.length,t),i=a.length;i--;)n[r=a[i]]&&(n[r]=!(o[r]=n[r]))}))}))}function ce(e){return e&&void 0!==e.getElementsByTagName&&e}function pe(e){var n,o=e?e.ownerDocument||e:E;return o!=p&&9===o.nodeType&&o.documentElement?(b=(p=o).documentElement,M=!g.isXMLDoc(p),z=b.matches||b.webkitMatchesSelector||b.msMatchesSelector,b.msMatchesSelector&&E!=p&&(n=p.defaultView)&&n.top!==n&&n.addEventListener("unload",J),O.getById=ne((function(e){return b.appendChild(e).id=g.expando,!p.getElementsByName||!p.getElementsByName(g.expando).length})),O.disconnectedMatch=ne((function(e){return z.call(e,"*")})),O.scope=ne((function(){return p.querySelectorAll(":scope")})),O.cssHas=ne((function(){try{return p.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),O.getById?(t.filter.ID=function(e){var t=e.replace($,K);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&M){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace($,K);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&M){var n,o,r,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(r=t.getElementsByName(e),o=0;a=r[o++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&M)return t.getElementsByClassName(e)},u=[],ne((function(e){var t;b.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||u.push("\\["+N+"*(?:value|"+S+")"),e.querySelectorAll("[id~="+f+"-]").length||u.push("~="),e.querySelectorAll("a#"+f+"+*").length||u.push(".#.+[+~]"),e.querySelectorAll(":checked").length||u.push(":checked"),(t=p.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),b.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&u.push(":enabled",":disabled"),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||u.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")")})),O.cssHas||u.push(":has"),u=u.length&&new RegExp(u.join("|")),v=function(e,t){if(e===t)return i=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!O.sortDetached&&t.compareDocumentPosition(e)===n?e===p||e.ownerDocument==E&&Z.contains(E,e)?-1:t===p||t.ownerDocument==E&&Z.contains(E,t)?1:r?s.call(r,e)-s.call(r,t):0:4&n?-1:1)},p):p}for(e in Z.matches=function(e,t){return Z(e,null,null,t)},Z.matchesSelector=function(e,t){if(pe(e),M&&!y[t+" "]&&(!u||!u.test(t)))try{var n=z.call(e,t);if(n||O.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){y(t,!0)}return Z(t,p,null,[e]).length>0},Z.contains=function(e,t){return(e.ownerDocument||e)!=p&&pe(e),g.contains(e,t)},Z.attr=function(e,n){(e.ownerDocument||e)!=p&&pe(e);var o=t.attrHandle[n.toLowerCase()],r=o&&l.call(t.attrHandle,n.toLowerCase())?o(e,n,!M):void 0;return void 0!==r?r:e.getAttribute(n)},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},g.uniqueSort=function(e){var t,n=[],o=0,a=0;if(i=!O.sortStable,r=!O.sortStable&&c.call(e,0),R.call(e,v),i){for(;t=e[a++];)t===e[a]&&(o=n.push(a));for(;o--;)w.call(e,n[o],1)}return r=null,e},g.fn.uniqueSort=function(){return this.pushStack(g.uniqueSort(c.apply(this)))},(t=g.expr={cacheLength:50,createPseudo:te,match:I,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,K),e[3]=(e[3]||e[4]||e[5]||"").replace($,K),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return I.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=se(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace($,K).toLowerCase();return"*"===e?function(){return!0}:function(e){return _(e,t)}},CLASS:function(e){var t=h[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&h(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(o){var r=Z.attr(o,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(j," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,o,r){var a="nth"!==e.slice(0,3),i="last"!==e.slice(-4),c="of-type"===t;return 1===o&&0===r?function(e){return!!e.parentNode}:function(t,n,p){var b,s,M,u,l,z=a!==i?"nextSibling":"previousSibling",d=t.parentNode,O=c&&t.nodeName.toLowerCase(),m=!p&&!c,h=!1;if(d){if(a){for(;z;){for(M=t;M=M[z];)if(c?_(M,O):1===M.nodeType)return!1;l=z="only"===e&&!l&&"nextSibling"}return!0}if(l=[i?d.firstChild:d.lastChild],i&&m){for(h=(u=(b=(s=d[f]||(d[f]={}))[e]||[])[0]===A&&b[1])&&b[2],M=u&&d.childNodes[u];M=++u&&M&&M[z]||(h=u=0)||l.pop();)if(1===M.nodeType&&++h&&M===t){s[e]=[A,u,h];break}}else if(m&&(h=u=(b=(s=t[f]||(t[f]={}))[e]||[])[0]===A&&b[1]),!1===h)for(;(M=++u&&M&&M[z]||(h=u=0)||l.pop())&&(!(c?_(M,O):1===M.nodeType)||!++h||(m&&((s=M[f]||(M[f]={}))[e]=[A,h]),M!==t)););return(h-=r)===o||h%o==0&&h/o>=0}}},PSEUDO:function(e,n){var o,r=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return r[f]?r(n):r.length>1?(o=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var o,a=r(e,n),i=a.length;i--;)e[o=s.call(e,a[i])]=!(t[o]=a[i])})):function(e){return r(e,0,o)}):r}},pseudos:{not:te((function(e){var t=[],n=[],o=fe(e.replace(T,"$1"));return o[f]?te((function(e,t,n,r){for(var a,i=o(e,null,r,[]),c=e.length;c--;)(a=i[c])&&(e[c]=!(t[c]=a))})):function(e,r,a){return t[0]=e,o(t,null,a,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return Z(e,t).length>0}})),contains:te((function(e){return e=e.replace($,K),function(t){return(t.textContent||g.text(t)).indexOf(e)>-1}})),lang:te((function(e){return H.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace($,K).toLowerCase(),function(t){var n;do{if(n=M?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===b},focus:function(e){return e===function(){try{return p.activeElement}catch(e){}}()&&p.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ae(!1),disabled:ae(!0),checked:function(e){return _(e,"input")&&!!e.checked||_(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return U.test(e.nodeName)},input:function(e){return F.test(e.nodeName)},button:function(e){return _(e,"input")&&"button"===e.type||_(e,"button")},text:function(e){var t;return _(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ie((function(){return[0]})),last:ie((function(e,t){return[t-1]})),eq:ie((function(e,t,n){return[n<0?n+t:n]})),even:ie((function(e,t){for(var n=0;nt?t:n;--o>=0;)e.push(o);return e})),gt:ie((function(e,t,n){for(var o=n<0?n+t:n;++o1?function(t,n,o){for(var r=e.length;r--;)if(!e[r](t,n,o))return!1;return!0}:e[0]}function ze(e,t,n,o,r){for(var a,i=[],c=0,p=e.length,b=null!=t;c-1&&(a[b]=!(i[b]=u))}}else l=ze(l===i?l.splice(f,l.length):l),r?r(null,i,l,p):d.apply(i,l)}))}function Oe(e){for(var n,r,a,i=e.length,c=t.relative[e[0].type],p=c||t.relative[" "],b=c?1:0,M=ue((function(e){return e===n}),p,!0),u=ue((function(e){return s.call(n,e)>-1}),p,!0),l=[function(e,t,r){var a=!c&&(r||t!=o)||((n=t).nodeType?M(e,t,r):u(e,t,r));return n=null,a}];b1&&le(l),b>1&&Me(e.slice(0,b-1).concat({value:" "===e[b-2].type?"*":""})).replace(T,"$1"),r,b0,a=e.length>0,i=function(i,c,b,s,u){var l,z,O,f=0,m="0",h=i&&[],q=[],W=o,y=i||a&&t.find.TAG("*",u),v=A+=null==W?1:Math.random()||.1,_=y.length;for(u&&(o=c==p||c||u);m!==_&&null!=(l=y[m]);m++){if(a&&l){for(z=0,c||l.ownerDocument==p||(pe(l),b=!M);O=e[z++];)if(O(l,c||p,b)){d.call(s,l);break}u&&(A=v)}r&&((l=!O&&l)&&f--,i&&h.push(l))}if(f+=m,r&&m!==f){for(z=0;O=n[z++];)O(h,q,c,b);if(i){if(f>0)for(;m--;)h[m]||q[m]||(q[m]=L.call(s));q=ze(q)}d.apply(s,q),u&&!i&&q.length>0&&f+n.length>1&&g.uniqueSort(s)}return u&&(A=v,o=W),h};return r?te(i):i}(i,a))).selector=e}return c}function Ae(e,n,o,r){var a,i,c,p,b,s="function"==typeof e&&e,u=!r&&se(e=s.selector||e);if(o=o||[],1===u.length){if((i=u[0]=u[0].slice(0)).length>2&&"ID"===(c=i[0]).type&&9===n.nodeType&&M&&t.relative[i[1].type]){if(!(n=(t.find.ID(c.matches[0].replace($,K),n)||[])[0]))return o;s&&(n=n.parentNode),e=e.slice(i.shift().value.length)}for(a=I.needsContext.test(e)?0:i.length;a--&&(c=i[a],!t.relative[p=c.type]);)if((b=t.find[p])&&(r=b(c.matches[0].replace($,K),G.test(i[0].type)&&ce(n.parentNode)||n))){if(i.splice(a,1),!(e=r.length&&Me(i)))return d.apply(o,r),o;break}}return(s||fe(e,u))(r,n,!M,o,!n||G.test(e)&&ce(n.parentNode)||n),o}be.prototype=t.filters=t.pseudos,t.setFilters=new be,O.sortStable=f.split("").sort(v).join("")===f,pe(),O.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),g.find=Z,g.expr[":"]=g.expr.pseudos,g.unique=g.uniqueSort,Z.compile=fe,Z.select=Ae,Z.setDocument=pe,Z.tokenize=se,Z.escape=g.escapeSelector,Z.getText=g.text,Z.isXML=g.isXMLDoc,Z.selectors=g.expr,Z.support=g.support,Z.uniqueSort=g.uniqueSort}();var x=function(e,t,n){for(var o=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&g(e).is(n))break;o.push(e)}return o},D=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},j=g.expr.match.needsContext,C=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function X(e,t,n){return f(t)?g.grep(e,(function(e,o){return!!t.call(e,o,e)!==n})):t.nodeType?g.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?g.grep(e,(function(e){return s.call(t,e)>-1!==n})):g.filter(t,e,n)}g.filter=function(e,t,n){var o=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===o.nodeType?g.find.matchesSelector(o,e)?[o]:[]:g.find.matches(e,g.grep(t,(function(e){return 1===e.nodeType})))},g.fn.extend({find:function(e){var t,n,o=this.length,r=this;if("string"!=typeof e)return this.pushStack(g(e).filter((function(){for(t=0;t1?g.uniqueSort(n):n},filter:function(e){return this.pushStack(X(this,e||[],!1))},not:function(e){return this.pushStack(X(this,e||[],!0))},is:function(e){return!!X(this,"string"==typeof e&&j.test(e)?g(e):e||[],!1).length}});var P,Y=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(g.fn.init=function(e,t,n){var o,r;if(!e)return this;if(n=n||P,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Y.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof g?t[0]:t,g.merge(this,g.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),C.test(o[1])&&g.isPlainObject(t))for(o in t)f(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(r=m.getElementById(o[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):f(e)?void 0!==n.ready?n.ready(e):e(g):g.makeArray(e,this)}).prototype=g.fn,P=g(m);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}g.fn.extend({has:function(e){var t=g(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&g.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?g.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?s.call(g(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(g.uniqueSort(g.merge(this.get(),g(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),g.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x(e,"parentNode")},parentsUntil:function(e,t,n){return x(e,"parentNode",n)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return x(e,"nextSibling")},prevAll:function(e){return x(e,"previousSibling")},nextUntil:function(e,t,n){return x(e,"nextSibling",n)},prevUntil:function(e,t,n){return x(e,"previousSibling",n)},siblings:function(e){return D((e.parentNode||{}).firstChild,e)},children:function(e){return D(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(_(e,"template")&&(e=e.content||e),g.merge([],e.childNodes))}},(function(e,t){g.fn[e]=function(n,o){var r=g.map(this,t,n);return"Until"!==e.slice(-5)&&(o=n),o&&"string"==typeof o&&(r=g.filter(o,r)),this.length>1&&(I[e]||g.uniqueSort(r),H.test(e)&&r.reverse()),this.pushStack(r)}}));var U=/[^\x20\t\r\n\f]+/g;function V(e){return e}function G(e){throw e}function $(e,t,n,o){var r;try{e&&f(r=e.promise)?r.call(e).done(t).fail(n):e&&f(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(o))}catch(e){n.apply(void 0,[e])}}g.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return g.each(e.match(U)||[],(function(e,n){t[n]=!0})),t}(e):g.extend({},e);var t,n,o,r,a=[],i=[],c=-1,p=function(){for(r=r||e.once,o=t=!0;i.length;c=-1)for(n=i.shift();++c-1;)a.splice(n,1),n<=c&&c--})),this},has:function(e){return e?g.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return r=i=[],a=n="",this},disabled:function(){return!a},lock:function(){return r=i=[],n||t||(a=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],i.push(n),t||p()),this},fire:function(){return b.fireWith(this,arguments),this},fired:function(){return!!o}};return b},g.extend({Deferred:function(e){var t=[["notify","progress",g.Callbacks("memory"),g.Callbacks("memory"),2],["resolve","done",g.Callbacks("once memory"),g.Callbacks("once memory"),0,"resolved"],["reject","fail",g.Callbacks("once memory"),g.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return g.Deferred((function(n){g.each(t,(function(t,o){var r=f(e[o[4]])&&e[o[4]];a[o[1]]((function(){var e=r&&r.apply(this,arguments);e&&f(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,o,r){var a=0;function i(e,t,o,r){return function(){var c=this,p=arguments,b=function(){var n,b;if(!(e=a&&(o!==G&&(c=void 0,p=[n]),t.rejectWith(c,p))}};e?s():(g.Deferred.getErrorHook?s.error=g.Deferred.getErrorHook():g.Deferred.getStackHook&&(s.error=g.Deferred.getStackHook()),n.setTimeout(s))}}return g.Deferred((function(n){t[0][3].add(i(0,n,f(r)?r:V,n.notifyWith)),t[1][3].add(i(0,n,f(e)?e:V)),t[2][3].add(i(0,n,f(o)?o:G))})).promise()},promise:function(e){return null!=e?g.extend(e,r):r}},a={};return g.each(t,(function(e,n){var i=n[2],c=n[5];r[n[1]]=i.add,c&&i.add((function(){o=c}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),i.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=i.fireWith})),r.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,o=Array(n),r=c.call(arguments),a=g.Deferred(),i=function(e){return function(n){o[e]=this,r[e]=arguments.length>1?c.call(arguments):n,--t||a.resolveWith(o,r)}};if(t<=1&&($(e,a.done(i(n)).resolve,a.reject,!t),"pending"===a.state()||f(r[n]&&r[n].then)))return a.then();for(;n--;)$(r[n],i(n),a.reject);return a.promise()}});var K=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;g.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&K.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},g.readyException=function(e){n.setTimeout((function(){throw e}))};var J=g.Deferred();function Q(){m.removeEventListener("DOMContentLoaded",Q),n.removeEventListener("load",Q),g.ready()}g.fn.ready=function(e){return J.then(e).catch((function(e){g.readyException(e)})),this},g.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--g.readyWait:g.isReady)||(g.isReady=!0,!0!==e&&--g.readyWait>0||J.resolveWith(m,[g]))}}),g.ready.then=J.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?n.setTimeout(g.ready):(m.addEventListener("DOMContentLoaded",Q),n.addEventListener("load",Q));var Z=function(e,t,n,o,r,a,i){var c=0,p=e.length,b=null==n;if("object"===W(n))for(c in r=!0,n)Z(e,t,c,n[c],!0,a,i);else if(void 0!==o&&(r=!0,f(o)||(i=!0),b&&(i?(t.call(e,o),t=null):(b=t,t=function(e,t,n){return b.call(g(e),n)})),t))for(;c1,null,!0)},removeData:function(e){return this.each((function(){ce.remove(this,e)}))}}),g.extend({queue:function(e,t,n){var o;if(e)return t=(t||"fx")+"queue",o=ie.get(e,t),n&&(!o||Array.isArray(n)?o=ie.access(e,t,g.makeArray(n)):o.push(n)),o||[]},dequeue:function(e,t){t=t||"fx";var n=g.queue(e,t),o=n.length,r=n.shift(),a=g._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),o--),r&&("fx"===t&&n.unshift("inprogress"),delete a.stop,r.call(e,(function(){g.dequeue(e,t)}),a)),!o&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ie.get(e,n)||ie.access(e,n,{empty:g.Callbacks("once memory").add((function(){ie.remove(e,[t+"queue",n])}))})}}),g.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,_e=/^$|^module$|\/(?:java|ecma)script/i;We=m.createDocumentFragment().appendChild(m.createElement("div")),(ye=m.createElement("input")).setAttribute("type","radio"),ye.setAttribute("checked","checked"),ye.setAttribute("name","t"),We.appendChild(ye),O.checkClone=We.cloneNode(!0).cloneNode(!0).lastChild.checked,We.innerHTML="",O.noCloneChecked=!!We.cloneNode(!0).lastChild.defaultValue,We.innerHTML="",O.option=!!We.lastChild;var Le={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Re(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?g.merge([e],n):n}function we(e,t){for(var n=0,o=e.length;n",""]);var Ne=/<|&#?\w+;/;function Te(e,t,n,o,r){for(var a,i,c,p,b,s,M=t.createDocumentFragment(),u=[],l=0,z=e.length;l-1)r&&r.push(a);else if(b=de(a),i=Re(M.appendChild(a),"script"),b&&we(i),n)for(s=0;a=i[s++];)_e.test(a.type||"")&&n.push(a);return M}var Se=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Ee(){return!1}function Be(e,t,n,o,r,a){var i,c;if("object"==typeof t){for(c in"string"!=typeof n&&(o=o||n,n=void 0),t)Be(e,c,n,o,t[c],a);return e}if(null==o&&null==r?(r=n,o=n=void 0):null==r&&("string"==typeof n?(r=o,o=void 0):(r=o,o=n,n=void 0)),!1===r)r=Ee;else if(!r)return e;return 1===a&&(i=r,(r=function(e){return g().off(e),i.apply(this,arguments)}).guid=i.guid||(i.guid=g.guid++)),e.each((function(){g.event.add(this,t,r,o,n)}))}function xe(e,t,n){n?(ie.set(e,t,!1),g.event.add(e,t,{namespace:!1,handler:function(e){var n,o=ie.get(this,t);if(1&e.isTrigger&&this[t]){if(o)(g.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=c.call(arguments),ie.set(this,t,o),this[t](),n=ie.get(this,t),ie.set(this,t,!1),o!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else o&&(ie.set(this,t,g.event.trigger(o[0],o.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=ke)}})):void 0===ie.get(e,t)&&g.event.add(e,t,ke)}g.event={global:{},add:function(e,t,n,o,r){var a,i,c,p,b,s,M,u,l,z,d,O=ie.get(e);if(re(e))for(n.handler&&(n=(a=n).handler,r=a.selector),r&&g.find.matchesSelector(ze,r),n.guid||(n.guid=g.guid++),(p=O.events)||(p=O.events=Object.create(null)),(i=O.handle)||(i=O.handle=function(t){return void 0!==g&&g.event.triggered!==t.type?g.event.dispatch.apply(e,arguments):void 0}),b=(t=(t||"").match(U)||[""]).length;b--;)l=d=(c=Se.exec(t[b])||[])[1],z=(c[2]||"").split(".").sort(),l&&(M=g.event.special[l]||{},l=(r?M.delegateType:M.bindType)||l,M=g.event.special[l]||{},s=g.extend({type:l,origType:d,data:o,handler:n,guid:n.guid,selector:r,needsContext:r&&g.expr.match.needsContext.test(r),namespace:z.join(".")},a),(u=p[l])||((u=p[l]=[]).delegateCount=0,M.setup&&!1!==M.setup.call(e,o,z,i)||e.addEventListener&&e.addEventListener(l,i)),M.add&&(M.add.call(e,s),s.handler.guid||(s.handler.guid=n.guid)),r?u.splice(u.delegateCount++,0,s):u.push(s),g.event.global[l]=!0)},remove:function(e,t,n,o,r){var a,i,c,p,b,s,M,u,l,z,d,O=ie.hasData(e)&&ie.get(e);if(O&&(p=O.events)){for(b=(t=(t||"").match(U)||[""]).length;b--;)if(l=d=(c=Se.exec(t[b])||[])[1],z=(c[2]||"").split(".").sort(),l){for(M=g.event.special[l]||{},u=p[l=(o?M.delegateType:M.bindType)||l]||[],c=c[2]&&new RegExp("(^|\\.)"+z.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=a=u.length;a--;)s=u[a],!r&&d!==s.origType||n&&n.guid!==s.guid||c&&!c.test(s.namespace)||o&&o!==s.selector&&("**"!==o||!s.selector)||(u.splice(a,1),s.selector&&u.delegateCount--,M.remove&&M.remove.call(e,s));i&&!u.length&&(M.teardown&&!1!==M.teardown.call(e,z,O.handle)||g.removeEvent(e,l,O.handle),delete p[l])}else for(l in p)g.event.remove(e,l+t[b],n,o,!0);g.isEmptyObject(p)&&ie.remove(e,"handle events")}},dispatch:function(e){var t,n,o,r,a,i,c=new Array(arguments.length),p=g.event.fix(e),b=(ie.get(this,"events")||Object.create(null))[p.type]||[],s=g.event.special[p.type]||{};for(c[0]=p,t=1;t=1))for(;b!==this;b=b.parentNode||this)if(1===b.nodeType&&("click"!==e.type||!0!==b.disabled)){for(a=[],i={},n=0;n-1:g.find(r,this,null,[b]).length),i[r]&&a.push(o);a.length&&c.push({elem:b,handlers:a})}return b=this,p\s*$/g;function Xe(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&g(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ye(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,o,r,a,i,c;if(1===t.nodeType){if(ie.hasData(e)&&(c=ie.get(e).events))for(r in ie.remove(t,"handle events"),c)for(n=0,o=c[r].length;n1&&"string"==typeof z&&!O.checkClone&&je.test(z))return e.each((function(r){var a=e.eq(r);d&&(t[0]=z.call(this,r,a.html())),Fe(a,t,n,o)}));if(u&&(a=(r=Te(t,e[0].ownerDocument,!1,e,o)).firstChild,1===r.childNodes.length&&(r=a),a||o)){for(c=(i=g.map(Re(r,"script"),Pe)).length;M0&&we(i,!p&&Re(e,"script")),c},cleanData:function(e){for(var t,n,o,r=g.event.special,a=0;void 0!==(n=e[a]);a++)if(re(n)){if(t=n[ie.expando]){if(t.events)for(o in t.events)r[o]?g.event.remove(n,o):g.removeEvent(n,o,t.handle);n[ie.expando]=void 0}n[ce.expando]&&(n[ce.expando]=void 0)}}}),g.fn.extend({detach:function(e){return Ue(this,e,!0)},remove:function(e){return Ue(this,e)},text:function(e){return Z(this,(function(e){return void 0===e?g.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Fe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Xe(this,e).appendChild(e)}))},prepend:function(){return Fe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Xe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(g.cleanData(Re(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return g.clone(this,e,t)}))},html:function(e){return Z(this,(function(e){var t=this[0]||{},n=0,o=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!De.test(e)&&!Le[(ve.exec(e)||["",""])[1].toLowerCase()]){e=g.htmlPrefilter(e);try{for(;n=0&&(p+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-p-c-.5))||0),p+b}function bt(e,t,n){var o=$e(e),r=(!O.boxSizingReliable()||n)&&"border-box"===g.css(e,"boxSizing",!1,o),a=r,i=Qe(e,t,o),c="offset"+t[0].toUpperCase()+t.slice(1);if(Ve.test(i)){if(!n)return i;i="auto"}return(!O.boxSizingReliable()&&r||!O.reliableTrDimensions()&&_(e,"tr")||"auto"===i||!parseFloat(i)&&"inline"===g.css(e,"display",!1,o))&&e.getClientRects().length&&(r="border-box"===g.css(e,"boxSizing",!1,o),(a=c in e)&&(i=e[c])),(i=parseFloat(i)||0)+pt(e,t,n||(r?"border":"content"),a,o,i)+"px"}function st(e,t,n,o,r){return new st.prototype.init(e,t,n,o,r)}g.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,a,i,c=oe(t),p=Ge.test(t),b=e.style;if(p||(t=ot(c)),i=g.cssHooks[t]||g.cssHooks[c],void 0===n)return i&&"get"in i&&void 0!==(r=i.get(e,!1,o))?r:b[t];"string"===(a=typeof n)&&(r=ue.exec(n))&&r[1]&&(n=Ae(e,t,r),a="number"),null!=n&&n==n&&("number"!==a||p||(n+=r&&r[3]||(g.cssNumber[c]?"":"px")),O.clearCloneStyle||""!==n||0!==t.indexOf("background")||(b[t]="inherit"),i&&"set"in i&&void 0===(n=i.set(e,n,o))||(p?b.setProperty(t,n):b[t]=n))}},css:function(e,t,n,o){var r,a,i,c=oe(t);return Ge.test(t)||(t=ot(c)),(i=g.cssHooks[t]||g.cssHooks[c])&&"get"in i&&(r=i.get(e,!0,n)),void 0===r&&(r=Qe(e,t,o)),"normal"===r&&t in it&&(r=it[t]),""===n||n?(a=parseFloat(r),!0===n||isFinite(a)?a||0:r):r}}),g.each(["height","width"],(function(e,t){g.cssHooks[t]={get:function(e,n,o){if(n)return!rt.test(g.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?bt(e,t,o):Ke(e,at,(function(){return bt(e,t,o)}))},set:function(e,n,o){var r,a=$e(e),i=!O.scrollboxSize()&&"absolute"===a.position,c=(i||o)&&"border-box"===g.css(e,"boxSizing",!1,a),p=o?pt(e,t,o,c,a):0;return c&&i&&(p-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-pt(e,t,"border",!1,a)-.5)),p&&(r=ue.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=g.css(e,t)),ct(0,n,p)}}})),g.cssHooks.marginLeft=Ze(O.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),g.each({margin:"",padding:"",border:"Width"},(function(e,t){g.cssHooks[e+t]={expand:function(n){for(var o=0,r={},a="string"==typeof n?n.split(" "):[n];o<4;o++)r[e+le[o]+t]=a[o]||a[o-2]||a[0];return r}},"margin"!==e&&(g.cssHooks[e+t].set=ct)})),g.fn.extend({css:function(e,t){return Z(this,(function(e,t,n){var o,r,a={},i=0;if(Array.isArray(t)){for(o=$e(e),r=t.length;i1)}}),g.Tween=st,st.prototype={constructor:st,init:function(e,t,n,o,r,a){this.elem=e,this.prop=n,this.easing=r||g.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=a||(g.cssNumber[n]?"":"px")},cur:function(){var e=st.propHooks[this.prop];return e&&e.get?e.get(this):st.propHooks._default.get(this)},run:function(e){var t,n=st.propHooks[this.prop];return this.options.duration?this.pos=t=g.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):st.propHooks._default.set(this),this}},st.prototype.init.prototype=st.prototype,st.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=g.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){g.fx.step[e.prop]?g.fx.step[e.prop](e):1!==e.elem.nodeType||!g.cssHooks[e.prop]&&null==e.elem.style[ot(e.prop)]?e.elem[e.prop]=e.now:g.style(e.elem,e.prop,e.now+e.unit)}}},st.propHooks.scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},g.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},g.fx=st.prototype.init,g.fx.step={};var Mt,ut,lt=/^(?:toggle|show|hide)$/,zt=/queueHooks$/;function dt(){ut&&(!1===m.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(dt):n.setTimeout(dt,g.fx.interval),g.fx.tick())}function Ot(){return n.setTimeout((function(){Mt=void 0})),Mt=Date.now()}function ft(e,t){var n,o=0,r={height:e};for(t=t?1:0;o<4;o+=2-t)r["margin"+(n=le[o])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function At(e,t,n){for(var o,r=(mt.tweeners[t]||[]).concat(mt.tweeners["*"]),a=0,i=r.length;a1)},removeAttr:function(e){return this.each((function(){g.removeAttr(this,e)}))}}),g.extend({attr:function(e,t,n){var o,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?g.prop(e,t,n):(1===a&&g.isXMLDoc(e)||(r=g.attrHooks[t.toLowerCase()]||(g.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void g.removeAttr(e,t):r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(o=r.get(e,t))?o:null==(o=g.find.attr(e,t))?void 0:o)},attrHooks:{type:{set:function(e,t){if(!O.radioValue&&"radio"===t&&_(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o=0,r=t&&t.match(U);if(r&&1===e.nodeType)for(;n=r[o++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?g.removeAttr(e,n):e.setAttribute(n,n),n}},g.each(g.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=qt[t]||g.find.attr;qt[t]=function(e,t,o){var r,a,i=t.toLowerCase();return o||(a=qt[i],qt[i]=r,r=null!=n(e,t,o)?i:null,qt[i]=a),r}}));var Wt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function gt(e){return(e.match(U)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(U)||[]}g.fn.extend({prop:function(e,t){return Z(this,g.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[g.propFix[e]||e]}))}}),g.extend({prop:function(e,t,n){var o,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&g.isXMLDoc(e)||(t=g.propFix[t]||t,r=g.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:e[t]=n:r&&"get"in r&&null!==(o=r.get(e,t))?o:e[t]},propHooks:{tabIndex:{get:function(e){var t=g.find.attr(e,"tabindex");return t?parseInt(t,10):Wt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),O.optSelected||(g.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),g.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){g.propFix[this.toLowerCase()]=this})),g.fn.extend({addClass:function(e){var t,n,o,r,a,i;return f(e)?this.each((function(t){g(this).addClass(e.call(this,t,vt(this)))})):(t=_t(e)).length?this.each((function(){if(o=vt(this),n=1===this.nodeType&&" "+gt(o)+" "){for(a=0;a-1;)n=n.replace(" "+r+" "," ");i=gt(n),o!==i&&this.setAttribute("class",i)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,o,r,a,i=typeof e,c="string"===i||Array.isArray(e);return f(e)?this.each((function(n){g(this).toggleClass(e.call(this,n,vt(this),t),t)})):"boolean"==typeof t&&c?t?this.addClass(e):this.removeClass(e):(n=_t(e),this.each((function(){if(c)for(a=g(this),r=0;r-1)return!0;return!1}});var Lt=/\r/g;g.fn.extend({val:function(e){var t,n,o,r=this[0];return arguments.length?(o=f(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=o?e.call(this,n,g(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=g.map(r,(function(e){return null==e?"":e+""}))),(t=g.valHooks[this.type]||g.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=g.valHooks[r.type]||g.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(Lt,""):null==n?"":n:void 0}}),g.extend({valHooks:{option:{get:function(e){var t=g.find.attr(e,"value");return null!=t?t:gt(g.text(e))}},select:{get:function(e){var t,n,o,r=e.options,a=e.selectedIndex,i="select-one"===e.type,c=i?null:[],p=i?a+1:r.length;for(o=a<0?p:i?a:0;o-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),g.each(["radio","checkbox"],(function(){g.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=g.inArray(g(e).val(),t)>-1}},O.checkOn||(g.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Rt=n.location,wt={guid:Date.now()},Nt=/\?/;g.parseXML=function(e){var t,o;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return o=t&&t.getElementsByTagName("parsererror")[0],t&&!o||g.error("Invalid XML: "+(o?g.map(o.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Tt=/^(?:focusinfocus|focusoutblur)$/,St=function(e){e.stopPropagation()};g.extend(g.event,{trigger:function(e,t,o,r){var a,i,c,p,b,s,M,u,z=[o||m],d=l.call(e,"type")?e.type:e,O=l.call(e,"namespace")?e.namespace.split("."):[];if(i=u=c=o=o||m,3!==o.nodeType&&8!==o.nodeType&&!Tt.test(d+g.event.triggered)&&(d.indexOf(".")>-1&&(O=d.split("."),d=O.shift(),O.sort()),b=d.indexOf(":")<0&&"on"+d,(e=e[g.expando]?e:new g.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=O.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+O.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=o),t=null==t?[e]:g.makeArray(t,[e]),M=g.event.special[d]||{},r||!M.trigger||!1!==M.trigger.apply(o,t))){if(!r&&!M.noBubble&&!A(o)){for(p=M.delegateType||d,Tt.test(p+d)||(i=i.parentNode);i;i=i.parentNode)z.push(i),c=i;c===(o.ownerDocument||m)&&z.push(c.defaultView||c.parentWindow||n)}for(a=0;(i=z[a++])&&!e.isPropagationStopped();)u=i,e.type=a>1?p:M.bindType||d,(s=(ie.get(i,"events")||Object.create(null))[e.type]&&ie.get(i,"handle"))&&s.apply(i,t),(s=b&&i[b])&&s.apply&&re(i)&&(e.result=s.apply(i,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||M._default&&!1!==M._default.apply(z.pop(),t)||!re(o)||b&&f(o[d])&&!A(o)&&((c=o[b])&&(o[b]=null),g.event.triggered=d,e.isPropagationStopped()&&u.addEventListener(d,St),o[d](),e.isPropagationStopped()&&u.removeEventListener(d,St),g.event.triggered=void 0,c&&(o[b]=c)),e.result}},simulate:function(e,t,n){var o=g.extend(new g.Event,n,{type:e,isSimulated:!0});g.event.trigger(o,null,t)}}),g.fn.extend({trigger:function(e,t){return this.each((function(){g.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return g.event.trigger(e,t,n,!0)}});var kt=/\[\]$/,Et=/\r?\n/g,Bt=/^(?:submit|button|image|reset|file)$/i,xt=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,o){var r;if(Array.isArray(t))g.each(t,(function(t,r){n||kt.test(e)?o(e,r):Dt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,o)}));else if(n||"object"!==W(t))o(e,t);else for(r in t)Dt(e+"["+r+"]",t[r],n,o)}g.param=function(e,t){var n,o=[],r=function(e,t){var n=f(t)?t():t;o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!g.isPlainObject(e))g.each(e,(function(){r(this.name,this.value)}));else for(n in e)Dt(n,e[n],t,r);return o.join("&")},g.fn.extend({serialize:function(){return g.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=g.prop(this,"elements");return e?g.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!g(this).is(":disabled")&&xt.test(this.nodeName)&&!Bt.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=g(this).val();return null==n?null:Array.isArray(n)?g.map(n,(function(e){return{name:t.name,value:e.replace(Et,"\r\n")}})):{name:t.name,value:n.replace(Et,"\r\n")}})).get()}});var jt=/%20/g,Ct=/#.*$/,Xt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Yt=/^(?:GET|HEAD)$/,Ht=/^\/\//,It={},Ft={},Ut="*/".concat("*"),Vt=m.createElement("a");function Gt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var o,r=0,a=t.toLowerCase().match(U)||[];if(f(n))for(;o=a[r++];)"+"===o[0]?(o=o.slice(1)||"*",(e[o]=e[o]||[]).unshift(n)):(e[o]=e[o]||[]).push(n)}}function $t(e,t,n,o){var r={},a=e===Ft;function i(c){var p;return r[c]=!0,g.each(e[c]||[],(function(e,c){var b=c(t,n,o);return"string"!=typeof b||a||r[b]?a?!(p=b):void 0:(t.dataTypes.unshift(b),i(b),!1)})),p}return i(t.dataTypes[0])||!r["*"]&&i("*")}function Kt(e,t){var n,o,r=g.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:o||(o={}))[n]=t[n]);return o&&g.extend(!0,e,o),e}Vt.href=Rt.href,g.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Rt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Rt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":g.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Kt(Kt(e,g.ajaxSettings),t):Kt(g.ajaxSettings,e)},ajaxPrefilter:Gt(It),ajaxTransport:Gt(Ft),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,r,a,i,c,p,b,s,M,u,l=g.ajaxSetup({},t),z=l.context||l,d=l.context&&(z.nodeType||z.jquery)?g(z):g.event,O=g.Deferred(),f=g.Callbacks("once memory"),A=l.statusCode||{},h={},q={},W="canceled",y={readyState:0,getResponseHeader:function(e){var t;if(b){if(!i)for(i={};t=Pt.exec(a);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return b?a:null},setRequestHeader:function(e,t){return null==b&&(e=q[e.toLowerCase()]=q[e.toLowerCase()]||e,h[e]=t),this},overrideMimeType:function(e){return null==b&&(l.mimeType=e),this},statusCode:function(e){var t;if(e)if(b)y.always(e[y.status]);else for(t in e)A[t]=[A[t],e[t]];return this},abort:function(e){var t=e||W;return o&&o.abort(t),v(0,t),this}};if(O.promise(y),l.url=((e||l.url||Rt.href)+"").replace(Ht,Rt.protocol+"//"),l.type=t.method||t.type||l.method||l.type,l.dataTypes=(l.dataType||"*").toLowerCase().match(U)||[""],null==l.crossDomain){p=m.createElement("a");try{p.href=l.url,p.href=p.href,l.crossDomain=Vt.protocol+"//"+Vt.host!=p.protocol+"//"+p.host}catch(e){l.crossDomain=!0}}if(l.data&&l.processData&&"string"!=typeof l.data&&(l.data=g.param(l.data,l.traditional)),$t(It,l,t,y),b)return y;for(M in(s=g.event&&l.global)&&0==g.active++&&g.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Yt.test(l.type),r=l.url.replace(Ct,""),l.hasContent?l.data&&l.processData&&0===(l.contentType||"").indexOf("application/x-www-form-urlencoded")&&(l.data=l.data.replace(jt,"+")):(u=l.url.slice(r.length),l.data&&(l.processData||"string"==typeof l.data)&&(r+=(Nt.test(r)?"&":"?")+l.data,delete l.data),!1===l.cache&&(r=r.replace(Xt,"$1"),u=(Nt.test(r)?"&":"?")+"_="+wt.guid+++u),l.url=r+u),l.ifModified&&(g.lastModified[r]&&y.setRequestHeader("If-Modified-Since",g.lastModified[r]),g.etag[r]&&y.setRequestHeader("If-None-Match",g.etag[r])),(l.data&&l.hasContent&&!1!==l.contentType||t.contentType)&&y.setRequestHeader("Content-Type",l.contentType),y.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+("*"!==l.dataTypes[0]?", "+Ut+"; q=0.01":""):l.accepts["*"]),l.headers)y.setRequestHeader(M,l.headers[M]);if(l.beforeSend&&(!1===l.beforeSend.call(z,y,l)||b))return y.abort();if(W="abort",f.add(l.complete),y.done(l.success),y.fail(l.error),o=$t(Ft,l,t,y)){if(y.readyState=1,s&&d.trigger("ajaxSend",[y,l]),b)return y;l.async&&l.timeout>0&&(c=n.setTimeout((function(){y.abort("timeout")}),l.timeout));try{b=!1,o.send(h,v)}catch(e){if(b)throw e;v(-1,e)}}else v(-1,"No Transport");function v(e,t,i,p){var M,u,m,h,q,W=t;b||(b=!0,c&&n.clearTimeout(c),o=void 0,a=p||"",y.readyState=e>0?4:0,M=e>=200&&e<300||304===e,i&&(h=function(e,t,n){for(var o,r,a,i,c=e.contents,p=e.dataTypes;"*"===p[0];)p.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(r in c)if(c[r]&&c[r].test(o)){p.unshift(r);break}if(p[0]in n)a=p[0];else{for(r in n){if(!p[0]||e.converters[r+" "+p[0]]){a=r;break}i||(i=r)}a=a||i}if(a)return a!==p[0]&&p.unshift(a),n[a]}(l,y,i)),!M&&g.inArray("script",l.dataTypes)>-1&&g.inArray("json",l.dataTypes)<0&&(l.converters["text script"]=function(){}),h=function(e,t,n,o){var r,a,i,c,p,b={},s=e.dataTypes.slice();if(s[1])for(i in e.converters)b[i.toLowerCase()]=e.converters[i];for(a=s.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!p&&o&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),p=a,a=s.shift())if("*"===a)a=p;else if("*"!==p&&p!==a){if(!(i=b[p+" "+a]||b["* "+a]))for(r in b)if((c=r.split(" "))[1]===a&&(i=b[p+" "+c[0]]||b["* "+c[0]])){!0===i?i=b[r]:!0!==b[r]&&(a=c[0],s.unshift(c[1]));break}if(!0!==i)if(i&&e.throws)t=i(t);else try{t=i(t)}catch(e){return{state:"parsererror",error:i?e:"No conversion from "+p+" to "+a}}}return{state:"success",data:t}}(l,h,y,M),M?(l.ifModified&&((q=y.getResponseHeader("Last-Modified"))&&(g.lastModified[r]=q),(q=y.getResponseHeader("etag"))&&(g.etag[r]=q)),204===e||"HEAD"===l.type?W="nocontent":304===e?W="notmodified":(W=h.state,u=h.data,M=!(m=h.error))):(m=W,!e&&W||(W="error",e<0&&(e=0))),y.status=e,y.statusText=(t||W)+"",M?O.resolveWith(z,[u,W,y]):O.rejectWith(z,[y,W,m]),y.statusCode(A),A=void 0,s&&d.trigger(M?"ajaxSuccess":"ajaxError",[y,l,M?u:m]),f.fireWith(z,[y,W]),s&&(d.trigger("ajaxComplete",[y,l]),--g.active||g.event.trigger("ajaxStop")))}return y},getJSON:function(e,t,n){return g.get(e,t,n,"json")},getScript:function(e,t){return g.get(e,void 0,t,"script")}}),g.each(["get","post"],(function(e,t){g[t]=function(e,n,o,r){return f(n)&&(r=r||o,o=n,n=void 0),g.ajax(g.extend({url:e,type:t,dataType:r,data:n,success:o},g.isPlainObject(e)&&e))}})),g.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),g._evalUrl=function(e,t,n){return g.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){g.globalEval(e,t,n)}})},g.fn.extend({wrapAll:function(e){var t;return this[0]&&(f(e)&&(e=e.call(this[0])),t=g(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return f(e)?this.each((function(t){g(this).wrapInner(e.call(this,t))})):this.each((function(){var t=g(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=f(e);return this.each((function(n){g(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){g(this).replaceWith(this.childNodes)})),this}}),g.expr.pseudos.hidden=function(e){return!g.expr.pseudos.visible(e)},g.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},g.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Qt=g.ajaxSettings.xhr();O.cors=!!Qt&&"withCredentials"in Qt,O.ajax=Qt=!!Qt,g.ajaxTransport((function(e){var t,o;if(O.cors||Qt&&!e.crossDomain)return{send:function(r,a){var i,c=e.xhr();if(c.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)c[i]=e.xhrFields[i];for(i in e.mimeType&&c.overrideMimeType&&c.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)c.setRequestHeader(i,r[i]);t=function(e){return function(){t&&(t=o=c.onload=c.onerror=c.onabort=c.ontimeout=c.onreadystatechange=null,"abort"===e?c.abort():"error"===e?"number"!=typeof c.status?a(0,"error"):a(c.status,c.statusText):a(Jt[c.status]||c.status,c.statusText,"text"!==(c.responseType||"text")||"string"!=typeof c.responseText?{binary:c.response}:{text:c.responseText},c.getAllResponseHeaders()))}},c.onload=t(),o=c.onerror=c.ontimeout=t("error"),void 0!==c.onabort?c.onabort=o:c.onreadystatechange=function(){4===c.readyState&&n.setTimeout((function(){t&&o()}))},t=t("abort");try{c.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),g.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),g.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return g.globalEval(e),e}}}),g.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),g.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(o,r){t=g("