/*! For license information please see LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[74],[,,function(t,e,r){var n,o;!function(){"use strict";var h,c={};c.VERSION="1.6.0";var l={},d=function(t,e){return function(){return e.apply(t,arguments)}},f=function(){var t,i,e=arguments,r=e[0];for(i=1;i=e.value},trace:function(){this.invoke(c.TRACE,arguments)},debug:function(){this.invoke(c.DEBUG,arguments)},info:function(){this.invoke(c.INFO,arguments)},warn:function(){this.invoke(c.WARN,arguments)},error:function(){this.invoke(c.ERROR,arguments)},time:function(label){"string"==typeof label&&label.length>0&&this.invoke(c.TIME,[label,"start"])},timeEnd:function(label){"string"==typeof label&&label.length>0&&this.invoke(c.TIME,[label,"end"])},invoke:function(t,e){h&&this.enabledFor(t)&&h(e,f({level:t},this.context))}};var _,v=new y({filterLevel:c.OFF});(_=c).enabledFor=d(v,v.enabledFor),_.trace=d(v,v.trace),_.debug=d(v,v.debug),_.time=d(v,v.time),_.timeEnd=d(v,v.timeEnd),_.info=d(v,v.info),_.warn=d(v,v.warn),_.error=d(v,v.error),_.log=_.info,c.setHandler=function(t){h=t},c.setLevel=function(t){for(var e in v.setLevel(t),l)l.hasOwnProperty(e)&&l[e].setLevel(t)},c.getLevel=function(){return v.getLevel()},c.get=function(t){return l[t]||(l[t]=new y(f({name:t},v.context)))},c.createDefaultHandler=function(t){(t=t||{}).formatter=t.formatter||function(t,e){e.name&&t.unshift("["+e.name+"]")};var e={},r=function(t,e){Function.prototype.apply.call(t,console,e)};return"undefined"==typeof console?function(){}:function(n,o){n=Array.prototype.slice.call(n);var h,l=console.log;o.level===c.TIME?(h=(o.name?"["+o.name+"] ":"")+n[0],"start"===n[1]?console.time?console.time(h):e[h]=(new Date).getTime():console.timeEnd?console.timeEnd(h):r(l,[h+": "+((new Date).getTime()-e[h])+"ms"])):(o.level===c.WARN&&console.warn?l=console.warn:o.level===c.ERROR&&console.error?l=console.error:o.level===c.INFO&&console.info?l=console.info:o.level===c.DEBUG&&console.debug?l=console.debug:o.level===c.TRACE&&console.trace&&(l=console.trace),t.formatter(n,o),r(l,n))}},c.useDefaults=function(t){c.setLevel(t&&t.defaultLevel||c.DEBUG),c.setHandler(c.createDefaultHandler(t))},void 0===(o="function"==typeof(n=c)?n.call(e,r,e,t):n)||(t.exports=o)}()},,function(t,e,r){(function(t){t.exports=function(){"use strict";var e,n;function o(){return e.apply(null,arguments)}function h(t){e=t}function c(input){return input instanceof Array||"[object Array]"===Object.prototype.toString.call(input)}function l(input){return null!=input&&"[object Object]"===Object.prototype.toString.call(input)}function d(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function f(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(d(t,e))return!1;return!0}function m(input){return void 0===input}function y(input){return"number"==typeof input||"[object Number]"===Object.prototype.toString.call(input)}function _(input){return input instanceof Date||"[object Date]"===Object.prototype.toString.call(input)}function map(t,e){var i,r=[],n=t.length;for(i=0;i>>0;for(i=0;i0)for(i=0;i=0?r?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+n}var z=/(\[[^\[]*\])|(\\)?([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,$=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},G={};function V(t,e,r,n){var o=n;"string"==typeof n&&(o=function(){return this[n]()}),t&&(G[t]=o),e&&(G[e[0]]=function(){return U(o.apply(this,arguments),e[1],e[2])}),r&&(G[r]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function Z(input){return input.match(/\[[\s\S]/)?input.replace(/^\[|\]$/g,""):input.replace(/\\/g,"")}function K(t){var i,e,r=t.match(z);for(i=0,e=r.length;i=0&&$.test(t);)t=t.replace($,r),$.lastIndex=0,i-=1;return t}var X={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"};function tt(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(z).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])}var et="Invalid date";function nt(){return this._invalidDate}var it="%d",ot=/\d{1,2}/;function at(t){return this._ordinal.replace("%d",t)}var st={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"};function ut(t,e,r,n){var output=this._relativeTime[r];return j(output)?output(t,e,r,n):output.replace(/%d/i,t)}function ht(t,output){var e=this._relativeTime[t>0?"future":"past"];return j(e)?e(output):e.replace(/%s/i,output)}var ct={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 lt(t){return"string"==typeof t?ct[t]||ct[t.toLowerCase()]:void 0}function ft(t){var e,r,n={};for(r in t)d(t,r)&&(e=lt(r))&&(n[e]=t[r]);return n}var pt={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};function mt(t){var u,e=[];for(u in t)d(t,u)&&e.push({unit:u,priority:pt[u]});return e.sort(function(a,b){return a.priority-b.priority}),e}var yt,gt=/\d/,_t=/\d\d/,vt=/\d{3}/,bt=/\d{4}/,wt=/[+-]?\d{6}/,Mt=/\d\d?/,At=/\d\d\d\d?/,St=/\d\d\d\d\d\d?/,kt=/\d{1,3}/,Lt=/\d{1,4}/,Tt=/[+-]?\d{1,6}/,xt=/\d+/,Et=/[+-]?\d+/,Dt=/Z|[+-]\d\d:?\d\d/gi,Yt=/Z|[+-]\d\d(?::?\d\d)?/gi,Ct=/[+-]?\d+(\.\d{1,3})?/,Ot=/[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,Pt=/^[1-9]\d?/,Rt=/^([1-9]\d|\d)/;function jt(t,e,r){yt[t]=j(e)?e:function(t,n){return t&&r?r:e}}function It(t,e){return d(yt,t)?yt[t](e._strict,e._locale):new RegExp(Nt(t))}function Nt(s){return Bt(s.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,r,n,o){return e||r||n||o}))}function Bt(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ht(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Ft(t){var e=+t,r=0;return 0!==e&&isFinite(e)&&(r=Ht(e)),r}yt={};var Ut={};function zt(t,e){var i,r,n=e;for("string"==typeof t&&(t=[t]),y(e)&&(n=function(input,t){t[e]=Ft(input)}),r=t.length,i=0;i68?1900:2e3)};var ne,ie=ae("FullYear",!0);function oe(){return Wt(this.year())}function ae(t,e){return function(r){return null!=r?(ue(this,t,r),o.updateOffset(this,e),this):se(this,t)}}function se(t,e){if(!t.isValid())return NaN;var r=t._d,n=t._isUTC;switch(e){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function ue(t,e,r){var n,o,h,c,l;if(t.isValid()&&!isNaN(r)){switch(n=t._d,o=t._isUTC,e){case"Milliseconds":return void(o?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(o?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(o?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(o?n.setUTCHours(r):n.setHours(r));case"Date":return void(o?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}h=r,c=t.month(),l=29!==(l=t.date())||1!==c||Wt(h)?l:28,o?n.setUTCFullYear(h,c,l):n.setFullYear(h,c,l)}}function he(t){return j(this[t=lt(t)])?this[t]():this}function ce(t,e){if("object"==typeof t){var i,r=mt(t=ft(t)),n=r.length;for(i=0;i=0?(c=new Date(t+400,e,r,n,o,s,h),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,e,r,n,o,s,h),c}function Ee(t){var e,r;return t<100&&t>=0?((r=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function De(t,e,r){var n=7+e-r;return-(7+Ee(t,0,n).getUTCDay()-e)%7+n-1}function Ye(t,e,r,n,o){var h,c,l=1+7*(e-1)+(7+r-n)%7+De(t,n,o);return l<=0?c=re(h=t-1)+l:l>re(t)?(h=t+1,c=l-re(t)):(h=t,c=l),{year:h,dayOfYear:c}}function Ce(t,e,r){var n,o,h=De(t.year(),e,r),c=Math.floor((t.dayOfYear()-h-1)/7)+1;return c<1?n=c+Oe(o=t.year()-1,e,r):c>Oe(t.year(),e,r)?(n=c-Oe(t.year(),e,r),o=t.year()+1):(o=t.year(),n=c),{week:n,year:o}}function Oe(t,e,r){var n=De(t,e,r),o=De(t+1,e,r);return(re(t)-n+o)/7}function Pe(t){return Ce(t,this._week.dow,this._week.doy).week}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),jt("w",Mt,Pt),jt("ww",Mt,_t),jt("W",Mt,Pt),jt("WW",Mt,_t),qt(["w","ww","W","WW"],function(input,t,e,r){t[r.substr(0,1)]=Ft(input)});var Re={dow:0,doy:6};function je(){return this._week.dow}function Ie(){return this._week.doy}function Ne(input){var t=this.localeData().week(this);return null==input?t:this.add(7*(input-t),"d")}function Be(input){var t=Ce(this,1,4).week;return null==input?t:this.add(7*(input-t),"d")}function He(input,t){return"string"!=typeof input?input:isNaN(input)?"number"==typeof(input=t.weekdaysParse(input))?input:null:parseInt(input,10)}function Fe(input,t){return"string"==typeof input?t.weekdaysParse(input)%7||7:isNaN(input)?null:input}function Ue(t,e){return t.slice(e,7).concat(t.slice(0,e))}V("d",0,"do","day"),V("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),V("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),V("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),jt("d",Mt),jt("e",Mt),jt("E",Mt),jt("dd",function(t,e){return e.weekdaysMinRegex(t)}),jt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),jt("dddd",function(t,e){return e.weekdaysRegex(t)}),qt(["dd","ddd","dddd"],function(input,t,e,r){var n=e._locale.weekdaysParse(input,r,e._strict);null!=n?t.d=n:A(e).invalidWeekday=input}),qt(["d","e","E"],function(input,t,e,r){t[r]=Ft(input)});var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),We=Ot,Ge=Ot,Ve=Ot;function Ze(t,e){var r=c(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ue(r,this._week.dow):t?r[t.day()]:r}function Ke(t){return!0===t?Ue(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Je(t){return!0===t?Ue(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Qe(t,e,r){var i,n,o,h=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=w([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===e?-1!==(n=ne.call(this._weekdaysParse,h))?n:null:"ddd"===e?-1!==(n=ne.call(this._shortWeekdaysParse,h))?n:null:-1!==(n=ne.call(this._minWeekdaysParse,h))?n:null:"dddd"===e?-1!==(n=ne.call(this._weekdaysParse,h))||-1!==(n=ne.call(this._shortWeekdaysParse,h))||-1!==(n=ne.call(this._minWeekdaysParse,h))?n:null:"ddd"===e?-1!==(n=ne.call(this._shortWeekdaysParse,h))||-1!==(n=ne.call(this._weekdaysParse,h))||-1!==(n=ne.call(this._minWeekdaysParse,h))?n:null:-1!==(n=ne.call(this._minWeekdaysParse,h))||-1!==(n=ne.call(this._weekdaysParse,h))||-1!==(n=ne.call(this._shortWeekdaysParse,h))?n:null}function Xe(t,e,r){var i,n,o;if(this._weekdaysParseExact)return Qe.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(n=w([2e3,1]).day(i),r&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(r&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(r&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!r&&this._weekdaysParse[i].test(t))return i}}function er(input){if(!this.isValid())return null!=input?this:NaN;var t=se(this,"Day");return null!=input?(input=He(input,this.localeData()),this.add(input-t,"d")):t}function rr(input){if(!this.isValid())return null!=input?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==input?t:this.add(input-t,"d")}function nr(input){if(!this.isValid())return null!=input?this:NaN;if(null!=input){var t=Fe(input,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function ir(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||sr.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function or(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||sr.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ge),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ar(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||sr.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function sr(){function t(a,b){return b.length-a.length}var i,e,r,n,o,h=[],c=[],l=[],d=[];for(i=0;i<7;i++)e=w([2e3,1]).day(i),r=Bt(this.weekdaysMin(e,"")),n=Bt(this.weekdaysShort(e,"")),o=Bt(this.weekdays(e,"")),h.push(r),c.push(n),l.push(o),d.push(r),d.push(n),d.push(o);h.sort(t),c.sort(t),l.sort(t),d.sort(t),this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+h.join("|")+")","i")}function ur(){return this.hours()%12||12}function cr(){return this.hours()||24}function lr(t,e){V(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function dr(t,e){return e._meridiemParse}function fr(input){return"p"===(input+"").toLowerCase().charAt(0)}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,ur),V("k",["kk",2],0,cr),V("hmm",0,0,function(){return""+ur.apply(this)+U(this.minutes(),2)}),V("hmmss",0,0,function(){return""+ur.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),lr("a",!0),lr("A",!1),jt("a",dr),jt("A",dr),jt("H",Mt,Rt),jt("h",Mt,Pt),jt("k",Mt,Pt),jt("HH",Mt,_t),jt("hh",Mt,_t),jt("kk",Mt,_t),jt("hmm",At),jt("hmmss",St),jt("Hmm",At),jt("Hmmss",St),zt(["H","HH"],Kt),zt(["k","kk"],function(input,t,e){var r=Ft(input);t[Kt]=24===r?0:r}),zt(["a","A"],function(input,t,e){e._isPm=e._locale.isPM(input),e._meridiem=input}),zt(["h","hh"],function(input,t,e){t[Kt]=Ft(input),A(e).bigHour=!0}),zt("hmm",function(input,t,e){var r=input.length-2;t[Kt]=Ft(input.substr(0,r)),t[Jt]=Ft(input.substr(r)),A(e).bigHour=!0}),zt("hmmss",function(input,t,e){var r=input.length-4,n=input.length-2;t[Kt]=Ft(input.substr(0,r)),t[Jt]=Ft(input.substr(r,2)),t[Qt]=Ft(input.substr(n)),A(e).bigHour=!0}),zt("Hmm",function(input,t,e){var r=input.length-2;t[Kt]=Ft(input.substr(0,r)),t[Jt]=Ft(input.substr(r))}),zt("Hmmss",function(input,t,e){var r=input.length-4,n=input.length-2;t[Kt]=Ft(input.substr(0,r)),t[Jt]=Ft(input.substr(r,2)),t[Qt]=Ft(input.substr(n))});var pr=/[ap]\.?m?\.?/i,mr=ae("Hours",!0);function yr(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var gr,_r={calendar:H,longDateFormat:X,invalidDate:et,ordinal:it,dayOfMonthOrdinalParse:ot,relativeTime:st,months:fe,monthsShort:pe,week:Re,weekdays:ze,weekdaysMin:$e,weekdaysShort:qe,meridiemParse:pr},vr={},wr={};function Mr(t,e){var i,r=Math.min(t.length,e.length);for(i=0;i0;){if(n=Lr(o.slice(0,e).join("-")))return n;if(r&&r.length>=e&&Mr(o,r)>=e-1)break;e--}i++}return gr}function kr(t){return!(!t||!t.match("^[^/\\\\]*$"))}function Lr(e){var n=null;if(void 0===vr[e]&&void 0!==t&&t&&t.exports&&kr(e))try{n=gr._abbr,r(930)("./"+e),Tr(n)}catch(t){vr[e]=null}return vr[e]}function Tr(t,e){var data;return t&&((data=m(e)?Dr(t):xr(t,e))?gr=data:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),gr._abbr}function xr(t,e){if(null!==e){var r,n=_r;if(e.abbr=t,null!=vr[t])R("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=vr[t]._config;else if(null!=e.parentLocale)if(null!=vr[e.parentLocale])n=vr[e.parentLocale]._config;else{if(null==(r=Lr(e.parentLocale)))return wr[e.parentLocale]||(wr[e.parentLocale]=[]),wr[e.parentLocale].push({name:t,config:e}),null;n=r._config}return vr[t]=new B(N(n,e)),wr[t]&&wr[t].forEach(function(t){xr(t.name,t.config)}),Tr(t),vr[t]}return delete vr[t],null}function Er(t,e){if(null!=e){var r,n,o=_r;null!=vr[t]&&null!=vr[t].parentLocale?vr[t].set(N(vr[t]._config,e)):(null!=(n=Lr(t))&&(o=n._config),e=N(o,e),null==n&&(e.abbr=t),(r=new B(e)).parentLocale=vr[t],vr[t]=r),Tr(t)}else null!=vr[t]&&(null!=vr[t].parentLocale?(vr[t]=vr[t].parentLocale,t===Tr()&&Tr(t)):null!=vr[t]&&delete vr[t]);return vr[t]}function Dr(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return gr;if(!c(t)){if(e=Lr(t))return e;t=[t]}return Sr(t)}function Yr(){return O(vr)}function Cr(t){var e,a=t._a;return a&&-2===A(t).overflow&&(e=a[Vt]<0||a[Vt]>11?Vt:a[Zt]<1||a[Zt]>de(a[Gt],a[Vt])?Zt:a[Kt]<0||a[Kt]>24||24===a[Kt]&&(0!==a[Jt]||0!==a[Qt]||0!==a[Xt])?Kt:a[Jt]<0||a[Jt]>59?Jt:a[Qt]<0||a[Qt]>59?Qt:a[Xt]<0||a[Xt]>999?Xt:-1,A(t)._overflowDayOfYear&&(eZt)&&(e=Zt),A(t)._overflowWeeks&&-1===e&&(e=te),A(t)._overflowWeekday&&-1===e&&(e=ee),A(t).overflow=e),t}var Or=/^\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)?)?$/,Pr=/^\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)?)?$/,Rr=/Z|[+-]\d\d(?::?\d\d)?/,jr=[["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]],Ir=[["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/]],Nr=/^\/?Date\((-?\d+)/i,Br=/^(?:(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}))$/,Hr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Fr(t){var i,e,r,n,o,h,c=t._i,l=Or.exec(c)||Pr.exec(c),d=jr.length,f=Ir.length;if(l){for(A(t).iso=!0,i=0,e=d;ire(o)||0===t._dayOfYear)&&(A(t)._overflowDayOfYear=!0),e=Ee(o,0,t._dayOfYear),t._a[Vt]=e.getUTCMonth(),t._a[Zt]=e.getUTCDate()),i=0;i<3&&null==t._a[i];++i)t._a[i]=input[i]=r[i];for(;i<7;i++)t._a[i]=input[i]=null==t._a[i]?2===i?1:0:t._a[i];24===t._a[Kt]&&0===t._a[Jt]&&0===t._a[Qt]&&0===t._a[Xt]&&(t._nextDay=!0,t._a[Kt]=0),t._d=(t._useUTC?Ee:xe).apply(null,input),n=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Kt]=24),t._w&&void 0!==t._w.d&&t._w.d!==n&&(A(t).weekdayMismatch=!0)}}function Qr(t){var e,r,n,o,h,c,l,d,f;null!=(e=t._w).GG||null!=e.W||null!=e.E?(h=1,c=4,r=Zr(e.GG,t._a[Gt],Ce(un(),1,4).year),n=Zr(e.W,1),((o=Zr(e.E,1))<1||o>7)&&(d=!0)):(h=t._locale._week.dow,c=t._locale._week.doy,f=Ce(un(),h,c),r=Zr(e.gg,t._a[Gt],f.year),n=Zr(e.w,f.week),null!=e.d?((o=e.d)<0||o>6)&&(d=!0):null!=e.e?(o=e.e+h,(e.e<0||e.e>6)&&(d=!0)):o=h),n<1||n>Oe(r,h,c)?A(t)._overflowWeeks=!0:null!=d?A(t)._overflowWeekday=!0:(l=Ye(r,n,o,h,c),t._a[Gt]=l.year,t._dayOfYear=l.dayOfYear)}function Xr(t){if(t._f!==o.ISO_8601)if(t._f!==o.RFC_2822){t._a=[],A(t).empty=!0;var i,e,r,n,h,c,l,d=""+t._i,f=d.length,m=0;for(l=(r=Q(t._f,t._locale).match(z)||[]).length,i=0;i0&&A(t).unusedInput.push(h),d=d.slice(d.indexOf(e)+e.length),m+=e.length),G[n]?(e?A(t).empty=!1:A(t).unusedTokens.push(n),$t(n,e,t)):t._strict&&!e&&A(t).unusedTokens.push(n);A(t).charsLeftOver=f-m,d.length>0&&A(t).unusedInput.push(d),t._a[Kt]<=12&&!0===A(t).bigHour&&t._a[Kt]>0&&(A(t).bigHour=void 0),A(t).parsedDateParts=t._a.slice(0),A(t).meridiem=t._meridiem,t._a[Kt]=tn(t._locale,t._a[Kt],t._meridiem),null!==(c=A(t).era)&&(t._a[Gt]=t._locale.erasConvertYear(c,t._a[Gt])),Jr(t),Cr(t)}else Gr(t);else Fr(t)}function tn(t,e,r){var n;return null==r?e:null!=t.meridiemHour?t.meridiemHour(e,r):null!=t.isPM?((n=t.isPM(r))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}function en(t){var e,r,n,i,o,h,c=!1,l=t._f.length;if(0===l)return A(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis?this:t:k()});function ln(t,e){var r,i;if(1===e.length&&c(e[0])&&(e=e[0]),!e.length)return un();for(r=e[0],i=1;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Rn(){if(!m(this._isDSTShifted))return this._isDSTShifted;var t,e={};return x(e,this),(e=on(e))._a?(t=e._isUTC?w(e._a):un(e._a),this._isDSTShifted=this.isValid()&&Mn(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jn(){return!!this.isValid()&&!this._isUTC}function In(){return!!this.isValid()&&this._isUTC}function Nn(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Bn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Hn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fn(input,t){var e,r,n,o=input,h=null;return bn(input)?o={ms:input._milliseconds,d:input._days,M:input._months}:y(input)||!isNaN(+input)?(o={},t?o[t]=+input:o.milliseconds=+input):(h=Bn.exec(input))?(e="-"===h[1]?-1:1,o={y:0,d:Ft(h[Zt])*e,h:Ft(h[Kt])*e,m:Ft(h[Jt])*e,s:Ft(h[Qt])*e,ms:Ft(wn(1e3*h[Xt]))*e}):(h=Hn.exec(input))?(e="-"===h[1]?-1:1,o={y:Un(h[2],e),M:Un(h[3],e),w:Un(h[4],e),d:Un(h[5],e),h:Un(h[6],e),m:Un(h[7],e),s:Un(h[8],e)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(n=qn(un(o.from),un(o.to)),(o={}).ms=n.milliseconds,o.M=n.months),r=new vn(o),bn(input)&&d(input,"_locale")&&(r._locale=input._locale),bn(input)&&d(input,"_isValid")&&(r._isValid=input._isValid),r}function Un(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function zn(base,t){var e={};return e.months=t.month()-base.month()+12*(t.year()-base.year()),base.clone().add(e.months,"M").isAfter(t)&&--e.months,e.milliseconds=+t-+base.clone().add(e.months,"M"),e}function qn(base,t){var e;return base.isValid()&&t.isValid()?(t=Ln(t,base),base.isBefore(t)?e=zn(base,t):((e=zn(t,base)).milliseconds=-e.milliseconds,e.months=-e.months),e):{milliseconds:0,months:0}}function $n(t,e){return function(r,n){var o;return null===n||isNaN(+n)||(R(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=r,r=n,n=o),Wn(this,Fn(r,n),t),this}}function Wn(t,e,r,n){var h=e._milliseconds,c=wn(e._days),l=wn(e._months);t.isValid()&&(n=null==n||n,l&&Me(t,se(t,"Month")+l*r),c&&ue(t,"Date",se(t,"Date")+c*r),h&&t._d.setTime(t._d.valueOf()+h*r),n&&o.updateOffset(t,c||l))}Fn.fn=vn.prototype,Fn.invalid=_n;var Gn=$n(1,"add"),Vn=$n(-1,"subtract");function Zn(input){return"string"==typeof input||input instanceof String}function Kn(input){return D(input)||_(input)||Zn(input)||y(input)||Qn(input)||Jn(input)||null==input}function Jn(input){var i,t,e=l(input)&&!f(input),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=n.length;for(i=0;ie.valueOf():e.valueOf()9999?J(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",J(r,"Z")):J(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function pi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,r,n,o="moment",h="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",h="Z"),t="["+o+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",n=h+'[")]',this.format(t+e+r+n)}function mi(t){t||(t=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var output=J(this,t);return this.localeData().postformat(output)}function yi(time,t){return this.isValid()&&(D(time)&&time.isValid()||un(time).isValid())?Fn({to:this,from:time}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gi(t){return this.from(un(),t)}function _i(time,t){return this.isValid()&&(D(time)&&time.isValid()||un(time).isValid())?Fn({from:this,to:time}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function vi(t){return this.to(un(),t)}function bi(t){var e;return void 0===t?this._locale._abbr:(null!=(e=Dr(t))&&(this._locale=e),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var wi=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function Mi(){return this._locale}var Ai=1e3,Si=60*Ai,ki=60*Si,Li=3506328*ki;function Ti(t,e){return(t%e+e)%e}function xi(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-Li:new Date(t,e,r).valueOf()}function Ei(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-Li:Date.UTC(t,e,r)}function Di(t){var time,e;if(void 0===(t=lt(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?Ei:xi,t){case"year":time=e(this.year(),0,1);break;case"quarter":time=e(this.year(),this.month()-this.month()%3,1);break;case"month":time=e(this.year(),this.month(),1);break;case"week":time=e(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":time=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":time=e(this.year(),this.month(),this.date());break;case"hour":time=this._d.valueOf(),time-=Ti(time+(this._isUTC?0:this.utcOffset()*Si),ki);break;case"minute":time=this._d.valueOf(),time-=Ti(time,Si);break;case"second":time=this._d.valueOf(),time-=Ti(time,Ai)}return this._d.setTime(time),o.updateOffset(this,!0),this}function Yi(t){var time,e;if(void 0===(t=lt(t))||"millisecond"===t||!this.isValid())return this;switch(e=this._isUTC?Ei:xi,t){case"year":time=e(this.year()+1,0,1)-1;break;case"quarter":time=e(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":time=e(this.year(),this.month()+1,1)-1;break;case"week":time=e(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":time=e(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":time=e(this.year(),this.month(),this.date()+1)-1;break;case"hour":time=this._d.valueOf(),time+=ki-Ti(time+(this._isUTC?0:this.utcOffset()*Si),ki)-1;break;case"minute":time=this._d.valueOf(),time+=Si-Ti(time,Si)-1;break;case"second":time=this._d.valueOf(),time+=Ai-Ti(time,Ai)-1}return this._d.setTime(time),o.updateOffset(this,!0),this}function Ci(){return this._d.valueOf()-6e4*(this._offset||0)}function Oi(){return Math.floor(this.valueOf()/1e3)}function Pi(){return new Date(this.valueOf())}function Ri(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function ji(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Ii(){return this.isValid()?this.toISOString():null}function Ni(){return S(this)}function Bi(){return v({},A(this))}function Hi(){return A(this).overflow}function Fi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ui(t,e){var i,r,n,h=this._eras||Dr("en")._eras;for(i=0,r=h.length;i=0)return c[i]}function qi(t,e){var r=t.since<=t.until?1:-1;return void 0===e?o(t.since).year():o(t.since).year()+(e-t.offset)*r}function $i(){var i,t,e,r=this.localeData().eras();for(i=0,t=r.length;i(o=Oe(input,r,n))&&(t=o),lo.call(this,input,t,e,r,n))}function lo(t,e,r,n,o){var h=Ye(t,e,r,n,o),c=Ee(h.year,0,h.dayOfYear);return this.year(c.getUTCFullYear()),this.month(c.getUTCMonth()),this.date(c.getUTCDate()),this}function fo(input){return null==input?Math.ceil((this.month()+1)/3):this.month(3*(input-1)+this.month()%3)}V("N",0,0,"eraAbbr"),V("NN",0,0,"eraAbbr"),V("NNN",0,0,"eraAbbr"),V("NNNN",0,0,"eraName"),V("NNNNN",0,0,"eraNarrow"),V("y",["y",1],"yo","eraYear"),V("y",["yy",2],0,"eraYear"),V("y",["yyy",3],0,"eraYear"),V("y",["yyyy",4],0,"eraYear"),jt("N",Qi),jt("NN",Qi),jt("NNN",Qi),jt("NNNN",Xi),jt("NNNNN",to),zt(["N","NN","NNN","NNNN","NNNNN"],function(input,t,e,r){var n=e._locale.erasParse(input,r,e._strict);n?A(e).era=n:A(e).invalidEra=input}),jt("y",xt),jt("yy",xt),jt("yyy",xt),jt("yyyy",xt),jt("yo",eo),zt(["y","yy","yyy","yyyy"],Gt),zt(["yo"],function(input,t,e,r){var n;e._locale._eraYearOrdinalRegex&&(n=input.match(e._locale._eraYearOrdinalRegex)),e._locale.eraYearOrdinalParse?t[Gt]=e._locale.eraYearOrdinalParse(input,n):t[Gt]=parseInt(input,10)}),V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),no("gggg","weekYear"),no("ggggg","weekYear"),no("GGGG","isoWeekYear"),no("GGGGG","isoWeekYear"),jt("G",Et),jt("g",Et),jt("GG",Mt,_t),jt("gg",Mt,_t),jt("GGGG",Lt,bt),jt("gggg",Lt,bt),jt("GGGGG",Tt,wt),jt("ggggg",Tt,wt),qt(["gggg","ggggg","GGGG","GGGGG"],function(input,t,e,r){t[r.substr(0,2)]=Ft(input)}),qt(["gg","GG"],function(input,t,e,r){t[r]=o.parseTwoDigitYear(input)}),V("Q",0,"Qo","quarter"),jt("Q",gt),zt("Q",function(input,t){t[Vt]=3*(Ft(input)-1)}),V("D",["DD",2],"Do","date"),jt("D",Mt,Pt),jt("DD",Mt,_t),jt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),zt(["D","DD"],Zt),zt("Do",function(input,t){t[Zt]=Ft(input.match(Mt)[0])});var po=ae("Date",!0);function mo(input){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==input?t:this.add(input-t,"d")}V("DDD",["DDDD",3],"DDDo","dayOfYear"),jt("DDD",kt),jt("DDDD",vt),zt(["DDD","DDDD"],function(input,t,e){e._dayOfYear=Ft(input)}),V("m",["mm",2],0,"minute"),jt("m",Mt,Rt),jt("mm",Mt,_t),zt(["m","mm"],Jt);var yo=ae("Minutes",!1);V("s",["ss",2],0,"second"),jt("s",Mt,Rt),jt("ss",Mt,_t),zt(["s","ss"],Qt);var go,_o,vo=ae("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),jt("S",kt,gt),jt("SS",kt,_t),jt("SSS",kt,vt),go="SSSS";go.length<=9;go+="S")jt(go,xt);function bo(input,t){t[Xt]=Ft(1e3*("0."+input))}for(go="S";go.length<=9;go+="S")zt(go,bo);function wo(){return this._isUTC?"UTC":""}function Mo(){return this._isUTC?"Coordinated Universal Time":""}_o=ae("Milliseconds",!1),V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var Ao=E.prototype;function So(input){return un(1e3*input)}function ko(){return un.apply(null,arguments).parseZone()}function Lo(t){return t}Ao.add=Gn,Ao.calendar=ei,Ao.clone=ri,Ao.diff=hi,Ao.endOf=Yi,Ao.format=mi,Ao.from=yi,Ao.fromNow=gi,Ao.to=_i,Ao.toNow=vi,Ao.get=he,Ao.invalidAt=Hi,Ao.isAfter=ni,Ao.isBefore=ii,Ao.isBetween=oi,Ao.isSame=ai,Ao.isSameOrAfter=si,Ao.isSameOrBefore=ui,Ao.isValid=Ni,Ao.lang=wi,Ao.locale=bi,Ao.localeData=Mi,Ao.max=cn,Ao.min=hn,Ao.parsingFlags=Bi,Ao.set=ce,Ao.startOf=Di,Ao.subtract=Vn,Ao.toArray=Ri,Ao.toObject=ji,Ao.toDate=Pi,Ao.toISOString=fi,Ao.inspect=pi,"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ao[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ao.toJSON=Ii,Ao.toString=di,Ao.unix=Oi,Ao.valueOf=Ci,Ao.creationData=Fi,Ao.eraName=$i,Ao.eraNarrow=Wi,Ao.eraAbbr=Gi,Ao.eraYear=Vi,Ao.year=ie,Ao.isLeapYear=oe,Ao.weekYear=io,Ao.isoWeekYear=oo,Ao.quarter=Ao.quarters=fo,Ao.month=Ae,Ao.daysInMonth=Se,Ao.week=Ao.weeks=Ne,Ao.isoWeek=Ao.isoWeeks=Be,Ao.weeksInYear=uo,Ao.weeksInWeekYear=ho,Ao.isoWeeksInYear=ao,Ao.isoWeeksInISOWeekYear=so,Ao.date=po,Ao.day=Ao.days=er,Ao.weekday=rr,Ao.isoWeekday=nr,Ao.dayOfYear=mo,Ao.hour=Ao.hours=mr,Ao.minute=Ao.minutes=yo,Ao.second=Ao.seconds=vo,Ao.millisecond=Ao.milliseconds=_o,Ao.utcOffset=xn,Ao.utc=Dn,Ao.local=Yn,Ao.parseZone=Cn,Ao.hasAlignedHourOffset=On,Ao.isDST=Pn,Ao.isLocal=jn,Ao.isUtcOffset=In,Ao.isUtc=Nn,Ao.isUTC=Nn,Ao.zoneAbbr=wo,Ao.zoneName=Mo,Ao.dates=C("dates accessor is deprecated. Use date instead.",po),Ao.months=C("months accessor is deprecated. Use month instead",Ae),Ao.years=C("years accessor is deprecated. Use year instead",ie),Ao.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",En),Ao.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Rn);var To=B.prototype;function xo(t,e,r,n){var o=Dr(),h=w().set(n,e);return o[r](h,t)}function Eo(t,e,r){if(y(t)&&(e=t,t=void 0),t=t||"",null!=e)return xo(t,e,r,"month");var i,n=[];for(i=0;i<12;i++)n[i]=xo(t,i,r,"month");return n}function Do(t,e,r,n){"boolean"==typeof t?(y(e)&&(r=e,e=void 0),e=e||""):(r=e=t,t=!1,y(e)&&(r=e,e=void 0),e=e||"");var i,o=Dr(),h=t?o._week.dow:0,c=[];if(null!=r)return xo(e,(r+h)%7,n,"day");for(i=0;i<7;i++)c[i]=xo(e,(i+h)%7,n,"day");return c}function Yo(t,e){return Eo(t,e,"months")}function Co(t,e){return Eo(t,e,"monthsShort")}function Oo(t,e,r){return Do(t,e,r,"weekdays")}function Po(t,e,r){return Do(t,e,r,"weekdaysShort")}function Ro(t,e,r){return Do(t,e,r,"weekdaysMin")}To.calendar=F,To.longDateFormat=tt,To.invalidDate=nt,To.ordinal=at,To.preparse=Lo,To.postformat=Lo,To.relativeTime=ut,To.pastFuture=ht,To.set=I,To.eras=Ui,To.erasParse=zi,To.erasConvertYear=qi,To.erasAbbrRegex=Ki,To.erasNameRegex=Zi,To.erasNarrowRegex=Ji,To.months=_e,To.monthsShort=ve,To.monthsParse=we,To.monthsRegex=Le,To.monthsShortRegex=ke,To.week=Pe,To.firstDayOfYear=Ie,To.firstDayOfWeek=je,To.weekdays=Ze,To.weekdaysMin=Je,To.weekdaysShort=Ke,To.weekdaysParse=Xe,To.weekdaysRegex=ir,To.weekdaysShortRegex=or,To.weekdaysMinRegex=ar,To.isPM=fr,To.meridiem=yr,Tr("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(t){var b=t%10;return t+(1===Ft(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}}),o.lang=C("moment.lang is deprecated. Use moment.locale instead.",Tr),o.langData=C("moment.langData is deprecated. Use moment.localeData instead.",Dr);var jo=Math.abs;function Io(){var data=this._data;return this._milliseconds=jo(this._milliseconds),this._days=jo(this._days),this._months=jo(this._months),data.milliseconds=jo(data.milliseconds),data.seconds=jo(data.seconds),data.minutes=jo(data.minutes),data.hours=jo(data.hours),data.months=jo(data.months),data.years=jo(data.years),this}function No(t,input,e,r){var n=Fn(input,e);return t._milliseconds+=r*n._milliseconds,t._days+=r*n._days,t._months+=r*n._months,t._bubble()}function Bo(input,t){return No(this,input,t,1)}function Ho(input,t){return No(this,input,t,-1)}function Fo(t){return t<0?Math.floor(t):Math.ceil(t)}function Uo(){var t,e,r,n,o,h=this._milliseconds,c=this._days,l=this._months,data=this._data;return h>=0&&c>=0&&l>=0||h<=0&&c<=0&&l<=0||(h+=864e5*Fo(qo(l)+c),c=0,l=0),data.milliseconds=h%1e3,t=Ht(h/1e3),data.seconds=t%60,e=Ht(t/60),data.minutes=e%60,r=Ht(e/60),data.hours=r%24,c+=Ht(r/24),l+=o=Ht(zo(c)),c-=Fo(qo(o)),n=Ht(l/12),l%=12,data.days=c,data.months=l,data.years=n,this}function zo(t){return 4800*t/146097}function qo(t){return 146097*t/4800}function $o(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if("month"===(t=lt(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,r=this._months+zo(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(qo(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}}function Wo(t){return function(){return this.as(t)}}var Go=Wo("ms"),Vo=Wo("s"),Zo=Wo("m"),Ko=Wo("h"),Jo=Wo("d"),Qo=Wo("w"),Xo=Wo("M"),ta=Wo("Q"),ea=Wo("y"),ra=Go;function na(){return Fn(this)}function ia(t){return t=lt(t),this.isValid()?this[t+"s"]():NaN}function oa(t){return function(){return this.isValid()?this._data[t]:NaN}}var aa=oa("milliseconds"),sa=oa("seconds"),ua=oa("minutes"),ha=oa("hours"),ca=oa("days"),la=oa("months"),da=oa("years");function fa(){return Ht(this.days()/7)}var pa=Math.round,ma={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ya(t,e,r,n,o){return o.relativeTime(e||1,!!r,t,n)}function ga(t,e,r,n){var o=Fn(t).abs(),h=pa(o.as("s")),c=pa(o.as("m")),l=pa(o.as("h")),d=pa(o.as("d")),f=pa(o.as("M")),m=pa(o.as("w")),y=pa(o.as("y")),a=h<=r.ss&&["s",h]||h0,a[4]=n,ya.apply(null,a)}function _a(t){return void 0===t?pa:"function"==typeof t&&(pa=t,!0)}function va(t,e){return void 0!==ma[t]&&(void 0===e?ma[t]:(ma[t]=e,"s"===t&&(ma.ss=e-1),!0))}function ba(t,e){if(!this.isValid())return this.localeData().invalidDate();var r,output,n=!1,th=ma;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(th=Object.assign({},ma,e),null!=e.s&&null==e.ss&&(th.ss=e.s-1)),output=ga(this,!n,th,r=this.localeData()),n&&(output=r.pastFuture(+this,output)),r.postformat(output)}var wa=Math.abs;function Ma(t){return(t>0)-(t<0)||+t}function Aa(){if(!this.isValid())return this.localeData().invalidDate();var t,e,r,s,n,o,h,c,l=wa(this._milliseconds)/1e3,d=wa(this._days),f=wa(this._months),m=this.asSeconds();return m?(t=Ht(l/60),e=Ht(t/60),l%=60,t%=60,r=Ht(f/12),f%=12,s=l?l.toFixed(3).replace(/\.?0+$/,""):"",n=m<0?"-":"",o=Ma(this._months)!==Ma(m)?"-":"",h=Ma(this._days)!==Ma(m)?"-":"",c=Ma(this._milliseconds)!==Ma(m)?"-":"",n+"P"+(r?o+r+"Y":"")+(f?o+f+"M":"")+(d?h+d+"D":"")+(e||t||l?"T":"")+(e?c+e+"H":"")+(t?c+t+"M":"")+(l?c+s+"S":"")):"P0D"}var Sa=vn.prototype;return Sa.isValid=gn,Sa.abs=Io,Sa.add=Bo,Sa.subtract=Ho,Sa.as=$o,Sa.asMilliseconds=Go,Sa.asSeconds=Vo,Sa.asMinutes=Zo,Sa.asHours=Ko,Sa.asDays=Jo,Sa.asWeeks=Qo,Sa.asMonths=Xo,Sa.asQuarters=ta,Sa.asYears=ea,Sa.valueOf=ra,Sa._bubble=Uo,Sa.clone=na,Sa.get=ia,Sa.milliseconds=aa,Sa.seconds=sa,Sa.minutes=ua,Sa.hours=ha,Sa.days=ca,Sa.weeks=fa,Sa.months=la,Sa.years=da,Sa.humanize=ba,Sa.toISOString=Aa,Sa.toString=Aa,Sa.toJSON=Aa,Sa.locale=bi,Sa.localeData=Mi,Sa.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Aa),Sa.lang=wi,V("X",0,0,"unix"),V("x",0,0,"valueOf"),jt("x",Et),jt("X",Ct),zt("X",function(input,t,e){e._d=new Date(1e3*parseFloat(input))}),zt("x",function(input,t,e){e._d=new Date(Ft(input))}),o.version="2.30.1",h(un),o.fn=Ao,o.min=dn,o.max=fn,o.now=pn,o.utc=w,o.unix=So,o.months=Yo,o.isDate=_,o.locale=Tr,o.invalid=k,o.duration=Fn,o.isMoment=D,o.weekdays=Oo,o.parseZone=ko,o.localeData=Dr,o.isDuration=bn,o.monthsShort=Co,o.weekdaysMin=Ro,o.defineLocale=xr,o.updateLocale=Er,o.locales=Yr,o.weekdaysShort=Po,o.normalizeUnits=lt,o.relativeTimeRounding=_a,o.relativeTimeThreshold=va,o.calendarFormat=ti,o.prototype=Ao,o.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"},o}()}).call(this,r(76)(t))},,,function(t,e,r){"use strict";r.d(e,"k",function(){return h}),r.d(e,"m",function(){return c}),r.d(e,"l",function(){return l}),r.d(e,"e",function(){return d}),r.d(e,"b",function(){return f}),r.d(e,"s",function(){return m}),r.d(e,"g",function(){return y}),r.d(e,"h",function(){return _}),r.d(e,"d",function(){return v}),r.d(e,"r",function(){return w}),r.d(e,"j",function(){return M}),r.d(e,"t",function(){return A}),r.d(e,"o",function(){return S}),r.d(e,"q",function(){return k}),r.d(e,"f",function(){return L}),r.d(e,"c",function(){return T}),r.d(e,"i",function(){return x}),r.d(e,"p",function(){return E}),r.d(e,"a",function(){return j}),r.d(e,"v",function(){return I}),r.d(e,"n",function(){return N}),r.d(e,"u",function(){return B});r(14);var n=r(3),o=r(71);function h(t){n.default.config.errorHandler&&n.default.config.errorHandler(t)}function c(t){return t.then(t=>t.default||t)}function l(t){return t.$options&&"function"==typeof t.$options.fetch&&!t.$options.fetch.length}function d(t,e=[]){const r=t.$children||[];for(const t of r)t.$fetch&&e.push(t),t.$children&&d(t,e);return e}function f(t,e){if(!e&&t.options.__hasNuxtData)return;const r=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=r,t.options.data=function(){const data=r.call(this,this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),{...data,...e}},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}function m(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=n.default.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function y(t,e=!1,r="components"){return Array.prototype.concat.apply([],t.matched.map((t,n)=>Object.keys(t[r]).map(o=>(e&&e.push(n),t[r][o]))))}function _(t,e=!1){return y(t,e,"instances")}function v(t,e){return Array.prototype.concat.apply([],t.matched.map((t,r)=>Object.keys(t.components).reduce((n,o)=>(t.components[o]?n.push(e(t.components[o],t.instances[o],t,o,r)):delete t.components[o],n),[])))}function w(t,e){return Promise.all(v(t,async(t,r,n,o)=>{if("function"==typeof t&&!t.options)try{t=await t()}catch(t){if(t&&"ChunkLoadError"===t.name&&"undefined"!=typeof window&&window.sessionStorage){const t=Date.now();try{const e=parseInt(window.sessionStorage.getItem("nuxt-reload"));(!e||e+6e4({...e.options.meta,...(t.matched[r]||{}).meta}))}}async function A(t,e){t.context||(t.context={isStatic:!0,isDev:!1,isHMR:!1,app:t,store:t.store,payload:e.payload,error:e.error,base:t.router.options.base,env:{APK_VERSION:"10.12.16",WEB_VERSION:"10.12.16.34",CONTENT_VERSION:"1.17.4",CONTENT_DATE:"2026-08-06T18:24:36.000Z",SOUND_USE_WEB_AUDIO:"1",PORT:"4002",HOST:"0.0.0.0",APP_CONTEXT:"/",SOCKET_HOST_URL:"",SOCKET_HOST_PATH:"/interchat/back/socket.io",API_URL:"/interchat/back/api",WEB_RTC_CONFIG_STRING:'{"iceServers":[{"urls":["stun:ksitalk.com:3478","stun:stun.l.google.com:19302","stun:stun1.l.google.com:19302"]},{"urls":["turn:ksitalk.com:3478?transport=udp","turn:ksitalk.com:3478?transport=tcp"],"username":"ctalk","credential":"ctalk-turn-2026"}]}',RSA_ENABLE:"1",RSA_KEY_SIZE:"1024",CRYPT_STORE_PASSPHRASE_LENGTH:"16",CRYPT_STORE_PASSPHRASE_LENGTH_MIN:"8",CRYPT_STORE_AUTO_GENERATE:"1",ENABLE_ECHO_CANCEL:"1",SHOW_APP_STORE_BUTTON:"1",ENABLE_VIDEO:"1",LINK_CONTENT_ZIP:"https://ksitalk.com/download/Distributive/dist.zip",LINK_APPLICATION_ANDROID:"https://ksitalk.com/download/Android/ksitalk-latest.apk",LINK_APPLICATION_ANDROID_BRANDS:'{"anytalk":"https://anytalk.chess2000.com/download/Android/latest"}',BRAND_DEFAULT:"ksitalk",ALLOW_REGISTRATION:"1",SEND_LOG:"1",FILE_AUTO_RECEIVE_LIMIT:"15728640",FILE_TRANSFER_LIMIT:"157286400",SHOW_RELOAD_BUTTON:"0",BUILD_ENABLE_PWA:"1",AI_AGENT:"claude-code_2-1-219_agent",ALLUSERSPROFILE:"C:\\ProgramData",ANTHROPIC_BASE_URL:"https://api.anthropic.com",API_TIMEOUT_MS:"900000",APPDATA:"C:\\Users\\Serge\\AppData\\Roaming",BAGGAGE:"sentry-environment=production,sentry-release=Claude%401.25927.0,sentry-public_key=2f98127cbffe4740b1f767a2de77d23b,sentry-trace_id=6a597f34e3bc4232a85cb95d912cd055,sentry-org_id=1158394",CHROME_CRASHPAD_PIPE_NAME:"\\\\.\\pipe\\crashpad_27576_XPWLQCLGBMELPRJT",CLAUDECODE:"1",CLAUDE_AGENT_SDK_VERSION:"0.3.221",CLAUDE_CODE_CHILD_SESSION:"1",CLAUDE_CODE_DISABLE_CRON:"",CLAUDE_CODE_EAGER_FLUSH:"1",CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES:"false",CLAUDE_CODE_ENABLE_ASK_USER_QUESTION_TOOL:"true",CLAUDE_CODE_ENTRYPOINT:"claude-desktop",CLAUDE_CODE_HOST_SESSION_ID:"local_18a429a5-a52c-48af-8a5c-f35c73bff917",CLAUDE_CODE_OAUTH_SCOPES:"user:inference user:file_upload user:profile user:sessions:claude_code",CLAUDE_CODE_REPORT_FINDINGS:"1",CLAUDE_CODE_SDK_HAS_HOST_AUTH_REFRESH:"1",CLAUDE_CODE_SDK_HAS_OAUTH_REFRESH:"1",CLAUDE_CODE_SESSION_ID:"da8d63e6-c1e4-420a-84cb-250b00682c24",CLAUDE_PID:"10880",CLAUDE_PREVIEW_CLASSIFIER_FLOOR:"1",CommonProgramFiles:"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files",CommonProgramW6432:"C:\\Program Files\\Common Files",COMPUTERNAME:"SERGE-HP-MINI",ComSpec:"C:\\WINDOWS\\system32\\cmd.exe",COREPACK_ENABLE_AUTO_PIN:"0",DISABLE_AUTOUPDATER:"1",DISABLE_MICROCOMPACT:"1",DriverData:"C:\\Windows\\System32\\Drivers\\DriverData",GCM_INTERACTIVE:"never",GH_TOKEN:"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",GITHUB_TOKEN:"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",GITLAB_TOKEN:"si91oX8ejxqUejuU7UfM",GITLAB_USER:"si91oX8ejxqUejuU7UfM",GIT_ASKPASS:"",GIT_EDITOR:"true",GIT_TERMINAL_PROMPT:"0",HOMEDRIVE:"C:",HOMEPATH:"\\Users\\Serge",JIRA_API_TOKEN:"ATATT3xFfGF0sLtfri27Wbwq16IxHE2_lw2f9VaVB3_smBly-2dq_zYZKJWxWBue6lDAGG0NmABvVsrSTVheP8CO9Jg45X9pZUeZqskzKtiXqcBv2yhAp4HPveNGphcDBHm_IhxxbOt_V0EP2YKG7wqJ-oQo4A-T3jSSLdUJnVMu-0p7Mp4digA=16318EE0\n",JIRA_BASE_URL:"https://keystars.atlassian.net",JIRA_EMAIL:"slaytonne@gmail.com",LOCALAPPDATA:"C:\\Users\\Serge\\AppData\\Local",LOGONSERVER:"\\\\SERGE-HP-MINI",MCP_CONNECTION_NONBLOCKING:"true",NoDefaultCurrentDirectoryInExePath:"1",NODE_ENV:"production",NODE_USE_SYSTEM_CA:"1",NO_COLOR:"1",NUMBER_OF_PROCESSORS:"12",OneDrive:"C:\\Users\\Serge\\OneDrive",OPENAI_API_KEY:"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",OS:"Windows_NT",PATH:"C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\GitHub CLI\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Users\\Serge\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\;C:\\Users\\Serge\\AppData\\Local\\Programs\\Python\\Python312\\;C:\\Users\\Serge\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Users\\Serge\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Serge\\.dotnet\\tools;C:\\Users\\Serge\\AppData\\AndroidCLI;C:\\Users\\Serge\\AppData\\Roaming\\npm;D:\\Projects\\Codex\\Backgammon\\.tools\\php-8.5.7;C:\\Users\\Serge\\.cache\\codex-runtimes\\codex-primary-runtime\\dependencies\\node\\bin;C:\\Users\\Serge\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\\ffmpeg-8.1.2-full_build\\bin;C:\\Users\\Serge\\AppData\\Local\\Programs\\Python\\Python312;C:\\Program Files\\nodejs;C:\\Program Files\\Git\\mingw64\\bin",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 151 Stepping 5, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"9705",ProgramData:"C:\\ProgramData",ProgramFiles:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PSExecutionPolicyPreference:"Bypass",PSModulePath:"C:\\Users\\Serge\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",PUBLIC:"C:\\Users\\Public",PYTHONIOENCODING:"utf-8:surrogateescape","SENTRY-TRACE":"6a597f34e3bc4232a85cb95d912cd055-bfada9494caf4186",SystemDrive:"C:",SystemRoot:"C:\\WINDOWS",TEMP:"C:\\Users\\Serge\\AppData\\Local\\Temp",TMP:"C:\\Users\\Serge\\AppData\\Local\\Temp",USERDOMAIN:"SERGE-HP-MINI",USERDOMAIN_ROAMINGPROFILE:"SERGE-HP-MINI",USERNAME:"Serge",USERPROFILE:"C:\\Users\\Serge",USE_LOCAL_OAUTH:"",USE_STAGING_OAUTH:"",VUE_ENV:"server",windir:"C:\\WINDOWS",ZES_ENABLE_SYSMAN:"1",_applied:"true"}},e.req&&(t.context.req=e.req),e.res&&(t.context.res=e.res),e.ssrContext&&(t.context.ssrContext=e.ssrContext),t.context.redirect=(e,path,r)=>{if(!e)return;t.context._redirected=!0;let n=typeof path;if("number"==typeof e||"undefined"!==n&&"object"!==n||(r=path||{},n=typeof(path=e),e=302),"object"===n&&(path=t.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=Object(o.d)(path,r),window.location.assign(path),new Error("ERR_REDIRECT");t.context.next({path:path,query:r,status:e})},t.context.nuxtState=window.__NUXT__);const[r,n]=await Promise.all([M(e.route),M(e.from)]);e.route&&(t.context.route=r),e.from&&(t.context.from=n),e.error&&(t.context.error=e.error),t.context.next=e.next,t.context._redirected=!1,t.context._errored=!1,t.context.isHMR=!1,t.context.params=t.context.route.params||{},t.context.query=t.context.route.query||{}}function S(t,e,r){return!t.length||e._redirected||e._errored||r&&r.aborted?Promise.resolve():k(t[0],e).then(()=>S(t.slice(1),e,r))}function k(t,e){let r;return r=2===t.length?new Promise(r=>{t(e,function(t,data){t&&e.error(t),r(data=data||{})})}):t(e),r&&r instanceof Promise&&"function"==typeof r.then?r:Promise.resolve(r)}function L(base,t){if("hash"===t)return window.location.hash.replace(/^#\//,"");base=decodeURI(base).slice(0,-1);let path=decodeURI(window.location.pathname);base&&path.startsWith(base)&&(path=path.slice(base.length));const e=(path||"/")+window.location.search+window.location.hash;return Object(o.c)(e)}function T(t,e){return function(t,e){const r=new Array(t.length);for(let i=0;i{window.onNuxtReadyCbs.push(t)};const D=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Y(t,e){const r=e?/[?#]/g:/[/?#]/g;return encodeURI(t).replace(r,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase())}function C(t){return Y(t,!0)}function O(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function P(t){return t.replace(/([=!:$/()])/g,"\\$1")}function R(t){return t&&t.sensitive?"":"i"}function j(t,e,r){t.$options[e]||(t.$options[e]=[]),t.$options[e].includes(r)||t.$options[e].push(r)}const I=o.b,N=(o.e,o.a);function B(t){try{window.history.scrollRestoration=t}catch(t){}}},,function(t,e,r){"use strict";r.d(e,"a",function(){return v}),r.d(e,"d",function(){return n.default}),r.d(e,"b",function(){return A}),r.d(e,"c",function(){return S}),r.d(e,"e",function(){return k});var n=r(3);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function h(t){return function(t){if(Array.isArray(t)){for(var i=0,e=new Array(t.length);i1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var r=t.prototype;Object.getOwnPropertyNames(r).forEach(function(t){if("constructor"!==t)if(f.indexOf(t)>-1)e[t]=r[t];else{var n=Object.getOwnPropertyDescriptor(r,t);void 0!==n.value?"function"==typeof n.value?(e.methods||(e.methods={}))[t]=n.value:(e.mixins||(e.mixins=[])).push({data:function(){return function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},t,n.value)}}):(n.get||n.set)&&((e.computed||(e.computed={}))[t]={get:n.get,set:n.set})}}),(e.mixins||(e.mixins=[])).push({data:function(){return function(t,e){var r=e.prototype._init;e.prototype._init=function(){var e=this,r=Object.getOwnPropertyNames(t);if(t.$options.props)for(var n in t.$options.props)t.hasOwnProperty(n)||r.push(n);r.forEach(function(r){Object.defineProperty(e,r,{get:function(){return t[r]},set:function(e){t[r]=e},configurable:!0})})};var data=new e;e.prototype._init=r;var n={};return Object.keys(data).forEach(function(t){void 0!==data[t]&&(n[t]=data[t])}),n}(this,t)}});var h=t.__decorators__;h&&(h.forEach(function(t){return t(e)}),delete t.__decorators__);var d,m,_=Object.getPrototypeOf(t.prototype),v=_ instanceof n.default?_.constructor:n.default,w=v.extend(e);return function(t,e,r){Object.getOwnPropertyNames(e).forEach(function(n){if(!y[n]){var h=Object.getOwnPropertyDescriptor(t,n);if(!h||h.configurable){var c,d,f=Object.getOwnPropertyDescriptor(e,n);if(!l){if("cid"===n)return;var m=Object.getOwnPropertyDescriptor(r,n);if(c=f.value,d=o(c),null!=c&&("object"===d||"function"===d)&&m&&m.value===f.value)return}0,Object.defineProperty(t,n,f)}}})}(w,t,v),"undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys&&(c(d=w,m=t),Object.getOwnPropertyNames(m.prototype).forEach(function(t){c(d.prototype,m.prototype,t)}),Object.getOwnPropertyNames(m).forEach(function(t){c(d,m,t)})),w}var y={prototype:!0,arguments:!0,callee:!0,caller:!0};function _(t){return"function"==typeof t?m(t):function(e){return m(e,t)}}_.registerHooks=function(t){f.push.apply(f,h(t))};var v=_;var w="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function M(t,e,r){if(w&&!Array.isArray(t)&&"function"!=typeof t&&!t.hasOwnProperty("type")&&void 0===t.type){var n=Reflect.getMetadata("design:type",e,r);n!==Object&&(t.type=n)}}function A(t){return void 0===t&&(t={}),function(e,r){M(t,e,r),d(function(e,r){(e.props||(e.props={}))[r]=t})(e,r)}}function S(t,e){return void 0===e&&(e={}),function(r,n){M(e,r,n),d(function(r,n){(r.props||(r.props={}))[t]=e,(r.computed||(r.computed={}))[n]={get:function(){return this[t]},set:function(e){this.$emit("update:"+t,e)}}})(r,n)}}function k(path,t){void 0===t&&(t={});var e=t.deep,r=void 0!==e&&e,n=t.immediate,o=void 0!==n&&n;return d(function(t,e){"object"!=typeof t.watch&&(t.watch=Object.create(null));var n=t.watch;"object"!=typeof n[path]||Array.isArray(n[path])?void 0===n[path]&&(n[path]=[]):n[path]=[n[path]],n[path].push({handler:e,deep:r,immediate:o})})}},,,,,,function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var content=t(e);return e[2]?"@media ".concat(e[2]," {").concat(content,"}"):content}).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var i=0;ie.parts.length&&(r.parts.length=e.parts.length)}else{var o=[];for(n=0;n=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|t}function w(t,e){if(d.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(t).length;default:if(n)return Z(t).length;e=(""+e).toLowerCase(),n=!0}}function M(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,r);case"utf8":case"utf-8":return O(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return j(this,e,r);case"base64":return C(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function A(b,t,e){var i=b[t];b[t]=b[e],b[e]=i}function S(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=d.from(e,n)),d.isBuffer(e))return 0===e.length?-1:k(t,e,r,n,o);if("number"==typeof e)return e&=255,d.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):k(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function k(t,e,r,n,o){var i,h=1,c=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;h=2,c/=2,l/=2,r/=2}function d(t,i){return 1===h?t[i]:t.readUInt16BE(i*h)}if(o){var f=-1;for(i=r;ic&&(r=c-l),i=r;i>=0;i--){for(var m=!0,y=0;yo&&(n=o):n=o;var h=e.length;if(h%2!=0)throw new TypeError("Invalid hex string");n>h/2&&(n=h/2);for(var i=0;i>8,o=r%256,h.push(o),h.push(n);return h}(e,t.length-r),t,r,n)}function C(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function O(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:d>223?3:d>191?2:1;if(i+m<=r)switch(m){case 1:d<128&&(f=d);break;case 2:128==(192&(o=t[i+1]))&&(l=(31&d)<<6|63&o)>127&&(f=l);break;case 3:o=t[i+1],h=t[i+2],128==(192&o)&&128==(192&h)&&(l=(15&d)<<12|(63&o)<<6|63&h)>2047&&(l<55296||l>57343)&&(f=l);break;case 4:o=t[i+1],h=t[i+2],c=t[i+3],128==(192&o)&&128==(192&h)&&128==(192&c)&&(l=(15&d)<<18|(63&o)<<12|(63&h)<<6|63&c)>65535&&l<1114112&&(f=l)}null===f?(f=65533,m=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=m}return function(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);var r="",i=0;for(;i0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},d.prototype.compare=function(t,e,r,n,o){if(!d.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var h=(o>>>=0)-(n>>>=0),c=(r>>>=0)-(e>>>=0),l=Math.min(h,c),f=this.slice(n,o),m=t.slice(e,r),i=0;io)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return L(this,t,e,r);case"utf8":case"utf-8":return T(this,t,e,r);case"ascii":return x(this,t,e,r);case"latin1":case"binary":return E(this,t,e,r);case"base64":return D(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,t,e,r);default:if(h)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function R(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var o="",i=e;ir)throw new RangeError("Trying to access beyond buffer length")}function H(t,e,r,n,o,h){if(!d.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function F(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function U(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function z(t,e,r,n,o,h){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function $(t,e,r,n,h){return h||z(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function W(t,e,r,n,h){return h||z(t,0,r,8),o.write(t,e,r,n,52,8),r+8}d.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(o*=256);)n+=this[t+--e]*o;return n},d.prototype.readUInt8=function(t,e){return e||B(t,1,this.length),this[t]},d.prototype.readUInt16LE=function(t,e){return e||B(t,2,this.length),this[t]|this[t+1]<<8},d.prototype.readUInt16BE=function(t,e){return e||B(t,2,this.length),this[t]<<8|this[t+1]},d.prototype.readUInt32LE=function(t,e){return e||B(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},d.prototype.readUInt32BE=function(t,e){return e||B(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},d.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var n=this[t],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*e)),n},d.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var i=e,n=1,o=this[t+--i];i>0&&(n*=256);)o+=this[t+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},d.prototype.readInt8=function(t,e){return e||B(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},d.prototype.readInt16LE=function(t,e){e||B(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},d.prototype.readInt16BE=function(t,e){e||B(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},d.prototype.readInt32LE=function(t,e){return e||B(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},d.prototype.readInt32BE=function(t,e){return e||B(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},d.prototype.readFloatLE=function(t,e){return e||B(t,4,this.length),o.read(this,t,!0,23,4)},d.prototype.readFloatBE=function(t,e){return e||B(t,4,this.length),o.read(this,t,!1,23,4)},d.prototype.readDoubleLE=function(t,e){return e||B(t,8,this.length),o.read(this,t,!0,52,8)},d.prototype.readDoubleBE=function(t,e){return e||B(t,8,this.length),o.read(this,t,!1,52,8)},d.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||H(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i=0&&(o*=256);)this[e+i]=t/o&255;return e+r},d.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,1,255,0),d.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},d.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},d.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},d.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):U(this,t,e,!0),e+4},d.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},d.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);H(this,t,e,r,o-1,-o)}var i=0,h=1,sub=0;for(this[e]=255&t;++i=0&&(h*=256);)t<0&&0===sub&&0!==this[e+i+1]&&(sub=1),this[e+i]=(t/h|0)-sub&255;return e+r},d.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,1,127,-128),d.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},d.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},d.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},d.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,4,2147483647,-2147483648),d.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):U(this,t,e,!0),e+4},d.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||H(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},d.prototype.writeFloatLE=function(t,e,r){return $(this,t,e,!0,r)},d.prototype.writeFloatBE=function(t,e,r){return $(this,t,e,!1,r)},d.prototype.writeDoubleLE=function(t,e,r){return W(this,t,e,!0,r)},d.prototype.writeDoubleBE=function(t,e,r){return W(this,t,e,!1,r)},d.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else if(o<1e3||!d.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&h.push(239,191,189);continue}if(i+1===n){(e-=3)>-1&&h.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&h.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&h.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;h.push(r)}else if(r<2048){if((e-=2)<0)break;h.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;h.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;h.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return h}function K(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(G,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function J(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(27))},,,,,,,,,,,,,function(t,e,r){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=r(93),e.createHash=e.Hash=r(119),e.createHmac=e.Hmac=r(296);var n=r(739),o=Object.keys(n),h=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);e.getHashes=function(){return h};var p=r(299);e.pbkdf2=p.pbkdf2,e.pbkdf2Sync=p.pbkdf2Sync;var c=r(741);e.Cipher=c.Cipher,e.createCipher=c.createCipher,e.Cipheriv=c.Cipheriv,e.createCipheriv=c.createCipheriv,e.Decipher=c.Decipher,e.createDecipher=c.createDecipher,e.Decipheriv=c.Decipheriv,e.createDecipheriv=c.createDecipheriv,e.getCiphers=c.getCiphers,e.listCiphers=c.listCiphers;var l=r(756);e.DiffieHellmanGroup=l.DiffieHellmanGroup,e.createDiffieHellmanGroup=l.createDiffieHellmanGroup,e.getDiffieHellman=l.getDiffieHellman,e.createDiffieHellman=l.createDiffieHellman,e.DiffieHellman=l.DiffieHellman;var d=r(763);e.createSign=d.createSign,e.Sign=d.Sign,e.createVerify=d.createVerify,e.Verify=d.Verify,e.createECDH=r(801);var f=r(804);e.publicEncrypt=f.publicEncrypt,e.privateEncrypt=f.privateEncrypt,e.publicDecrypt=f.publicDecrypt,e.privateDecrypt=f.privateDecrypt;var m=r(808);e.randomFill=m.randomFill,e.randomFillSync=m.randomFillSync,e.createCredentials=function(){throw new Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify")},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},,,,,function(t,e,r){(function(e){r(33);t.exports.linebrk=function(t,e){for(var r="",i=0;i+e0){if(r>=4)return t.readUIntBE(e,r);for(var n=0,i=e+r,o=0;i>e;i--,o+=2)n+=t[i-1]*Math.pow(16,o);return n}return NaN},t.exports._={isObject:function(t){var e=typeof t;return!!t&&("object"==e||"function"==e)},isString:function(t){return"string"==typeof t||t instanceof String},isNumber:function(t){return"number"==typeof t||!isNaN(parseFloat(t))&&isFinite(t)},omit:function(t,e){var r={};for(var n in t)t.hasOwnProperty(n)&&n!==e&&(r[n]=t[n]);return r}},t.exports.trimSurroundingText=function(data,t,e){var r=0,n=data.length,o=data.indexOf(t);o>=0&&(r=o+t.length);var h=data.indexOf(e,o);return h>=0&&(n=h),data.substring(r,n)}}).call(this,r(24))},,,,function(t,e,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,h=o&&"function"==typeof o.apply?o.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var c=Number.isNaN||function(t){return t!=t};function l(){l.init.call(this)}t.exports=l,t.exports.once=function(t,e){return new Promise(function(r,n){function o(r){t.removeListener(e,h),n(r)}function h(){"function"==typeof t.removeListener&&t.removeListener("error",o),r([].slice.call(arguments))}S(t,e,h,{once:!0}),"error"!==e&&function(t,e,r){"function"==typeof t.on&&S(t,"error",e,r)}(t,o,{once:!0})})},l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var d=10;function f(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function m(t){return void 0===t._maxListeners?l.defaultMaxListeners:t._maxListeners}function y(t,e,r,n){var o,h,c,l;if(f(r),void 0===(h=t._events)?(h=t._events=Object.create(null),t._eventsCount=0):(void 0!==h.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),h=t._events),c=h[e]),void 0===c)c=h[e]=r,++t._eventsCount;else if("function"==typeof c?c=h[e]=n?[r,c]:[c,r]:n?c.unshift(r):c.push(r),(o=m(t))>0&&c.length>o&&!c.warned){c.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+c.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=t,d.type=e,d.count=c.length,l=d,console&&console.warn&&console.warn(l)}return t}function _(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function v(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},o=_.bind(n);return o.listener=r,n.wrapFn=o,o}function w(t,e,r){var n=t._events;if(void 0===n)return[];var o=n[e];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(t){for(var e=new Array(t.length),i=0;i0&&(o=e[0]),o instanceof Error)throw o;var c=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw c.context=o,c}var l=n[t];if(void 0===l)return!1;if("function"==typeof l)h(l,this,e);else{var d=l.length,f=A(l,d);for(i=0;i=0;i--)if(r[i]===e||r[i].listener===e){h=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(t,e){for(;e+1=0;i--)this.removeListener(t,e[i]);return this},l.prototype.listeners=function(t){return w(this,t,!0)},l.prototype.rawListeners=function(t){return w(this,t,!1)},l.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):M.call(t,e)},l.prototype.listenerCount=M,l.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},,,,,function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=r,r.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},function(t,e,r){"use strict";var n=e,o=r(65),h=r(47),c=r(314);n.assert=h,n.toArray=c.toArray,n.zero2=c.zero2,n.toHex=c.toHex,n.encode=c.encode,n.getNAF=function(t,e,r){var i,n=new Array(Math.max(t.bitLength(),r)+1);for(i=0;i(o>>1)-1?(o>>1)-l:l,h.isubn(c)):c=0,n[i]=c,h.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,o=0,h=0;t.cmpn(-o)>0||e.cmpn(-h)>0;){var c,l,d=t.andln(3)+o&3,f=e.andln(3)+h&3;3===d&&(d=-1),3===f&&(f=-1),c=1&d?3!==(n=t.andln(7)+o&7)&&5!==n||2!==f?d:-d:0,r[0].push(c),l=1&f?3!==(n=e.andln(7)+h&7)&&5!==n||2!==d?f:-f:0,r[1].push(l),2*o===c+1&&(o=1-o),2*h===l+1&&(h=1-h),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"==typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new o(t,"hex","le")}},,,,,function(t,e,r){t.exports=r(679)},function(t,e,r){"use strict";(function(t){var n=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var o,h=n(r(33)),c=r(112),l="aes-256-ctr";function d(){if(!o)throw new Error("You should set password first.")}e.generatePassword=function(){return h.randomBytes(32)},e.setPassword=function(p){if(!t.isBuffer(p)||32!==p.length)throw new Error("password should be 32 length buffer");o=p},e.createEncryptStream=function(input){d();var e=o,r=h.randomBytes(16),n=h.createCipheriv(l,e,r),f=!1;return input.pipe(n).pipe(new c.Transform({transform:function(e,n,o){f?this.push(e):(f=!0,this.push(t.concat([r,e]))),o()}}))},e.createDecryptStream=function(output){d();var t,e=o;return new c.Transform({transform:function(r,n,o){if(t)this.push(r);else{t=r.slice(0,16);var c=h.createDecipheriv(l,e,t);this.pipe(c).pipe(output),this.push(r.slice(16))}o()}})}}).call(this,r(20).Buffer)},,,function(t,e,r){"use strict";var n=r(47),o=r(15);function h(t,i){return 55296==(64512&t.charCodeAt(i))&&(!(i<0||i+1>=t.length)&&56320==(64512&t.charCodeAt(i+1)))}function c(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function l(t){return 1===t.length?"0"+t:t}function d(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=o,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i>6|192,r[p++]=63&n|128):h(t,i)?(n=65536+((1023&n)<<10)+(1023&t.charCodeAt(++i)),r[p++]=n>>18|240,r[p++]=n>>12&63|128,r[p++]=n>>6&63|128,r[p++]=63&n|128):(r[p++]=n>>12|224,r[p++]=n>>6&63|128,r[p++]=63&n|128)}else for(i=0;i>>0}return c},e.split32=function(t,e){for(var r=new Array(4*t.length),i=0,n=0;i>>24,r[n+1]=o>>>16&255,r[n+2]=o>>>8&255,r[n+3]=255&o):(r[n+3]=o>>>24,r[n+2]=o>>>16&255,r[n+1]=o>>>8&255,r[n]=255&o)}return r},e.rotr32=function(t,b){return t>>>b|t<<32-b},e.rotl32=function(t,b){return t<>>32-b},e.sum32=function(a,b){return a+b>>>0},e.sum32_3=function(a,b,t){return a+b+t>>>0},e.sum32_4=function(a,b,t,e){return a+b+t+e>>>0},e.sum32_5=function(a,b,t,e,r){return a+b+t+e+r>>>0},e.sum64=function(t,e,r,n){var o=t[e],h=n+t[e+1]>>>0,c=(h>>0,t[e+1]=h},e.sum64_hi=function(t,e,r,n){return(e+n>>>0>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,o,h,c,dl){var l=0,d=e;return l+=(d=d+n>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,r,n,o,h,c,dl){return e+n+h+dl>>>0},e.sum64_5_hi=function(t,e,r,n,o,h,c,dl,l,d){var f=0,m=e;return f+=(m=m+n>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,r,n,o,h,c,dl,l,d){return e+n+h+dl+d>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},,,,,,,function(t,e,r){!function(){"use strict";var e="undefined"!=typeof window&&void 0!==window.document?window.document:{},r=t.exports,n=function(){for(var t,r=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,n=r.length,o={};i=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=l(t,r);return r-1>=e&&(n|=l(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i=49?c-49+10:c>=17?c-17+10:c}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i=e;i-=2)n=d(t,e,i)<=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;this.strip()},h.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,h=o%r,c=Math.min(o,o-h)+e,l=0,i=e;i1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,c=o/67108864|0;r.words[0]=h;for(var l=1;l>>26,f=67108863&c,m=Math.min(l,e.length-1),y=Math.max(0,l-t.length+1);y<=m;y++){var i=l-y|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[y])+f)/67108864|0,f=67108863&o}r.words[l]=0|f,c=0|d}return 0!==c?r.words[l]=0|c:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),e=0!==o||i!==this.length-1?m[6-c.length]+c+e:c+e}for(0!==o&&(e=o.toString(16)+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var l=y[base],d=_[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var v=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?v+e:m[l-v.length]+v+e}for(this.isZero()&&(e="0"+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,l=new t(h),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),l[i]=b;for(;i=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 8191&e||(r+=13,e>>>=13),127&e||(r+=7,e>>>=7),15&e||(r+=4,e>>>=4),3&e||(r+=2,e>>>=2),1&e||r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;it.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;it.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;it.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i>>26;for(;0!==r&&i>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;it.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i>26,this.words[i]=67108863&e;for(;0!==n&&i>26,this.words[i]=67108863&e;if(0===n&&i>>13,y=0|a[1],_=8191&y,v=y>>>13,w=0|a[2],M=8191&w,A=w>>>13,S=0|a[3],k=8191&S,L=S>>>13,T=0|a[4],x=8191&T,E=T>>>13,D=0|a[5],Y=8191&D,C=D>>>13,O=0|a[6],P=8191&O,R=O>>>13,j=0|a[7],I=8191&j,N=j>>>13,B=0|a[8],H=8191&B,F=B>>>13,U=0|a[9],z=8191&U,$=U>>>13,W=0|b[0],G=8191&W,V=W>>>13,Z=0|b[1],K=8191&Z,J=Z>>>13,Q=0|b[2],X=8191&Q,tt=Q>>>13,et=0|b[3],nt=8191&et,it=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],ht=8191&ut,ct=ut>>>13,lt=0|b[6],ft=8191<,pt=lt>>>13,mt=0|b[7],yt=8191&mt,gt=mt>>>13,_t=0|b[8],vt=8191&_t,bt=_t>>>13,wt=0|b[9],Mt=8191&wt,At=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var St=(l+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,V))+Math.imul(m,G)|0))<<13)|0;l=((h=Math.imul(m,V))+(o>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(_,G),o=(o=Math.imul(_,V))+Math.imul(v,G)|0,h=Math.imul(v,V);var kt=(l+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,J)|0)+Math.imul(m,K)|0))<<13)|0;l=((h=h+Math.imul(m,J)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(M,G),o=(o=Math.imul(M,V))+Math.imul(A,G)|0,h=Math.imul(A,V),n=n+Math.imul(_,K)|0,o=(o=o+Math.imul(_,J)|0)+Math.imul(v,K)|0,h=h+Math.imul(v,J)|0;var Lt=(l+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,X)|0))<<13)|0;l=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(k,G),o=(o=Math.imul(k,V))+Math.imul(L,G)|0,h=Math.imul(L,V),n=n+Math.imul(M,K)|0,o=(o=o+Math.imul(M,J)|0)+Math.imul(A,K)|0,h=h+Math.imul(A,J)|0,n=n+Math.imul(_,X)|0,o=(o=o+Math.imul(_,tt)|0)+Math.imul(v,X)|0,h=h+Math.imul(v,tt)|0;var Tt=(l+(n=n+Math.imul(f,nt)|0)|0)+((8191&(o=(o=o+Math.imul(f,it)|0)+Math.imul(m,nt)|0))<<13)|0;l=((h=h+Math.imul(m,it)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,V))+Math.imul(E,G)|0,h=Math.imul(E,V),n=n+Math.imul(k,K)|0,o=(o=o+Math.imul(k,J)|0)+Math.imul(L,K)|0,h=h+Math.imul(L,J)|0,n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(_,nt)|0,o=(o=o+Math.imul(_,it)|0)+Math.imul(v,nt)|0,h=h+Math.imul(v,it)|0;var xt=(l+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;l=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(Y,G),o=(o=Math.imul(Y,V))+Math.imul(C,G)|0,h=Math.imul(C,V),n=n+Math.imul(x,K)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(E,K)|0,h=h+Math.imul(E,J)|0,n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(L,X)|0,h=h+Math.imul(L,tt)|0,n=n+Math.imul(M,nt)|0,o=(o=o+Math.imul(M,it)|0)+Math.imul(A,nt)|0,h=h+Math.imul(A,it)|0,n=n+Math.imul(_,at)|0,o=(o=o+Math.imul(_,st)|0)+Math.imul(v,at)|0,h=h+Math.imul(v,st)|0;var Et=(l+(n=n+Math.imul(f,ht)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,ht)|0))<<13)|0;l=((h=h+Math.imul(m,ct)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),o=(o=Math.imul(P,V))+Math.imul(R,G)|0,h=Math.imul(R,V),n=n+Math.imul(Y,K)|0,o=(o=o+Math.imul(Y,J)|0)+Math.imul(C,K)|0,h=h+Math.imul(C,J)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(E,X)|0,h=h+Math.imul(E,tt)|0,n=n+Math.imul(k,nt)|0,o=(o=o+Math.imul(k,it)|0)+Math.imul(L,nt)|0,h=h+Math.imul(L,it)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(_,ht)|0,o=(o=o+Math.imul(_,ct)|0)+Math.imul(v,ht)|0,h=h+Math.imul(v,ct)|0;var Dt=(l+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;l=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,V))+Math.imul(N,G)|0,h=Math.imul(N,V),n=n+Math.imul(P,K)|0,o=(o=o+Math.imul(P,J)|0)+Math.imul(R,K)|0,h=h+Math.imul(R,J)|0,n=n+Math.imul(Y,X)|0,o=(o=o+Math.imul(Y,tt)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(x,nt)|0,o=(o=o+Math.imul(x,it)|0)+Math.imul(E,nt)|0,h=h+Math.imul(E,it)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(L,at)|0,h=h+Math.imul(L,st)|0,n=n+Math.imul(M,ht)|0,o=(o=o+Math.imul(M,ct)|0)+Math.imul(A,ht)|0,h=h+Math.imul(A,ct)|0,n=n+Math.imul(_,ft)|0,o=(o=o+Math.imul(_,pt)|0)+Math.imul(v,ft)|0,h=h+Math.imul(v,pt)|0;var Yt=(l+(n=n+Math.imul(f,yt)|0)|0)+((8191&(o=(o=o+Math.imul(f,gt)|0)+Math.imul(m,yt)|0))<<13)|0;l=((h=h+Math.imul(m,gt)|0)+(o>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,n=Math.imul(H,G),o=(o=Math.imul(H,V))+Math.imul(F,G)|0,h=Math.imul(F,V),n=n+Math.imul(I,K)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(N,K)|0,h=h+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,o=(o=o+Math.imul(P,tt)|0)+Math.imul(R,X)|0,h=h+Math.imul(R,tt)|0,n=n+Math.imul(Y,nt)|0,o=(o=o+Math.imul(Y,it)|0)+Math.imul(C,nt)|0,h=h+Math.imul(C,it)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(E,at)|0,h=h+Math.imul(E,st)|0,n=n+Math.imul(k,ht)|0,o=(o=o+Math.imul(k,ct)|0)+Math.imul(L,ht)|0,h=h+Math.imul(L,ct)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(_,yt)|0,o=(o=o+Math.imul(_,gt)|0)+Math.imul(v,yt)|0,h=h+Math.imul(v,gt)|0;var Ct=(l+(n=n+Math.imul(f,vt)|0)|0)+((8191&(o=(o=o+Math.imul(f,bt)|0)+Math.imul(m,vt)|0))<<13)|0;l=((h=h+Math.imul(m,bt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(z,G),o=(o=Math.imul(z,V))+Math.imul($,G)|0,h=Math.imul($,V),n=n+Math.imul(H,K)|0,o=(o=o+Math.imul(H,J)|0)+Math.imul(F,K)|0,h=h+Math.imul(F,J)|0,n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(P,nt)|0,o=(o=o+Math.imul(P,it)|0)+Math.imul(R,nt)|0,h=h+Math.imul(R,it)|0,n=n+Math.imul(Y,at)|0,o=(o=o+Math.imul(Y,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(x,ht)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(E,ht)|0,h=h+Math.imul(E,ct)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(L,ft)|0,h=h+Math.imul(L,pt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,gt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,gt)|0,n=n+Math.imul(_,vt)|0,o=(o=o+Math.imul(_,bt)|0)+Math.imul(v,vt)|0,h=h+Math.imul(v,bt)|0;var Ot=(l+(n=n+Math.imul(f,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(f,At)|0)+Math.imul(m,Mt)|0))<<13)|0;l=((h=h+Math.imul(m,At)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(z,K),o=(o=Math.imul(z,J))+Math.imul($,K)|0,h=Math.imul($,J),n=n+Math.imul(H,X)|0,o=(o=o+Math.imul(H,tt)|0)+Math.imul(F,X)|0,h=h+Math.imul(F,tt)|0,n=n+Math.imul(I,nt)|0,o=(o=o+Math.imul(I,it)|0)+Math.imul(N,nt)|0,h=h+Math.imul(N,it)|0,n=n+Math.imul(P,at)|0,o=(o=o+Math.imul(P,st)|0)+Math.imul(R,at)|0,h=h+Math.imul(R,st)|0,n=n+Math.imul(Y,ht)|0,o=(o=o+Math.imul(Y,ct)|0)+Math.imul(C,ht)|0,h=h+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(E,ft)|0,h=h+Math.imul(E,pt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,gt)|0)+Math.imul(L,yt)|0,h=h+Math.imul(L,gt)|0,n=n+Math.imul(M,vt)|0,o=(o=o+Math.imul(M,bt)|0)+Math.imul(A,vt)|0,h=h+Math.imul(A,bt)|0;var Pt=(l+(n=n+Math.imul(_,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(_,At)|0)+Math.imul(v,Mt)|0))<<13)|0;l=((h=h+Math.imul(v,At)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,tt))+Math.imul($,X)|0,h=Math.imul($,tt),n=n+Math.imul(H,nt)|0,o=(o=o+Math.imul(H,it)|0)+Math.imul(F,nt)|0,h=h+Math.imul(F,it)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(P,ht)|0,o=(o=o+Math.imul(P,ct)|0)+Math.imul(R,ht)|0,h=h+Math.imul(R,ct)|0,n=n+Math.imul(Y,ft)|0,o=(o=o+Math.imul(Y,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(x,yt)|0,o=(o=o+Math.imul(x,gt)|0)+Math.imul(E,yt)|0,h=h+Math.imul(E,gt)|0,n=n+Math.imul(k,vt)|0,o=(o=o+Math.imul(k,bt)|0)+Math.imul(L,vt)|0,h=h+Math.imul(L,bt)|0;var Rt=(l+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,At)|0)+Math.imul(A,Mt)|0))<<13)|0;l=((h=h+Math.imul(A,At)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(z,nt),o=(o=Math.imul(z,it))+Math.imul($,nt)|0,h=Math.imul($,it),n=n+Math.imul(H,at)|0,o=(o=o+Math.imul(H,st)|0)+Math.imul(F,at)|0,h=h+Math.imul(F,st)|0,n=n+Math.imul(I,ht)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(N,ht)|0,h=h+Math.imul(N,ct)|0,n=n+Math.imul(P,ft)|0,o=(o=o+Math.imul(P,pt)|0)+Math.imul(R,ft)|0,h=h+Math.imul(R,pt)|0,n=n+Math.imul(Y,yt)|0,o=(o=o+Math.imul(Y,gt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,gt)|0,n=n+Math.imul(x,vt)|0,o=(o=o+Math.imul(x,bt)|0)+Math.imul(E,vt)|0,h=h+Math.imul(E,bt)|0;var jt=(l+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,At)|0)+Math.imul(L,Mt)|0))<<13)|0;l=((h=h+Math.imul(L,At)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(z,at),o=(o=Math.imul(z,st))+Math.imul($,at)|0,h=Math.imul($,st),n=n+Math.imul(H,ht)|0,o=(o=o+Math.imul(H,ct)|0)+Math.imul(F,ht)|0,h=h+Math.imul(F,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(P,yt)|0,o=(o=o+Math.imul(P,gt)|0)+Math.imul(R,yt)|0,h=h+Math.imul(R,gt)|0,n=n+Math.imul(Y,vt)|0,o=(o=o+Math.imul(Y,bt)|0)+Math.imul(C,vt)|0,h=h+Math.imul(C,bt)|0;var It=(l+(n=n+Math.imul(x,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(x,At)|0)+Math.imul(E,Mt)|0))<<13)|0;l=((h=h+Math.imul(E,At)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(z,ht),o=(o=Math.imul(z,ct))+Math.imul($,ht)|0,h=Math.imul($,ct),n=n+Math.imul(H,ft)|0,o=(o=o+Math.imul(H,pt)|0)+Math.imul(F,ft)|0,h=h+Math.imul(F,pt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,gt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,gt)|0,n=n+Math.imul(P,vt)|0,o=(o=o+Math.imul(P,bt)|0)+Math.imul(R,vt)|0,h=h+Math.imul(R,bt)|0;var Nt=(l+(n=n+Math.imul(Y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(Y,At)|0)+Math.imul(C,Mt)|0))<<13)|0;l=((h=h+Math.imul(C,At)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(z,ft),o=(o=Math.imul(z,pt))+Math.imul($,ft)|0,h=Math.imul($,pt),n=n+Math.imul(H,yt)|0,o=(o=o+Math.imul(H,gt)|0)+Math.imul(F,yt)|0,h=h+Math.imul(F,gt)|0,n=n+Math.imul(I,vt)|0,o=(o=o+Math.imul(I,bt)|0)+Math.imul(N,vt)|0,h=h+Math.imul(N,bt)|0;var Bt=(l+(n=n+Math.imul(P,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(P,At)|0)+Math.imul(R,Mt)|0))<<13)|0;l=((h=h+Math.imul(R,At)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(z,yt),o=(o=Math.imul(z,gt))+Math.imul($,yt)|0,h=Math.imul($,gt),n=n+Math.imul(H,vt)|0,o=(o=o+Math.imul(H,bt)|0)+Math.imul(F,vt)|0,h=h+Math.imul(F,bt)|0;var Ht=(l+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,At)|0)+Math.imul(N,Mt)|0))<<13)|0;l=((h=h+Math.imul(N,At)|0)+(o>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(z,vt),o=(o=Math.imul(z,bt))+Math.imul($,vt)|0,h=Math.imul($,bt);var Ft=(l+(n=n+Math.imul(H,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(H,At)|0)+Math.imul(F,Mt)|0))<<13)|0;l=((h=h+Math.imul(F,At)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863;var Ut=(l+(n=Math.imul(z,Mt))|0)+((8191&(o=(o=Math.imul(z,At))+Math.imul($,Mt)|0))<<13)|0;return l=((h=Math.imul($,At))+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,c[0]=St,c[1]=kt,c[2]=Lt,c[3]=Tt,c[4]=xt,c[5]=Et,c[6]=Dt,c[7]=Yt,c[8]=Ct,c[9]=Ot,c[10]=Pt,c[11]=Rt,c[12]=jt,c[13]=It,c[14]=Nt,c[15]=Bt,c[16]=Ht,c[17]=Ft,c[18]=Ut,0!==l&&(c[19]=l,r.length++),r};function M(t,e,r){return(new A).mulp(t,e,r)}function A(t,e){this.x=t,this.y=e}Math.imul||(w=v),h.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?v(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h>>26)|0)>>>26,c&=67108863}r.words[h]=l,n=c,c=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):M(this,t,e),r},A.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i>=1;return n},A.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i>>=1)i++;return 1<>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),0===t&&(this.length=1,this._normSign()),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<s)for(this.length-=s,i=0;i=0&&(0!==l||i>=o);i--){var d=0|this.words[i];this.words[i]=l<<26-h|d>>>h,l=d&mask}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i=0;l--){var d=67108864*(0|a.words[b.length+l])+(0|a.words[b.length+l-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,l);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,l),a.isZero()||(a.negative^=1);q&&(q.words[l]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!==(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=e.mod.abs(),n=t.abs().iushrn(1),o=1&t.words[0],c=r.cmp(n);if(c<0||1===o&&0===c)return e.div;var l=new h(1);return l.negative=this.negative^t.negative,e.div.iadd(l)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),c=new h(0),l=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0===(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var y=0,_=1;0===(e.words[0]&_)&&y<26;++y,_<<=1);if(y>0)for(e.iushrn(y);y-- >0;)(c.isOdd()||l.isOdd())&&(c.iadd(d),l.isub(f)),c.iushrn(1),l.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(l)):(e.isub(t),c.isub(r),l.isub(o))}return{a:c,b:l,gcd:e.iushln(g)}},h.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0===(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var l=0,d=1;0===(b.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(b.iushrn(l);l-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return!(1&this.words[0])},h.prototype.isOdd=function(){return!(1&~this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:ot.length)return 1;if(this.length=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){ab&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new D(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function k(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function L(){k.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function T(){k.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){k.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){k.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function Y(t){D.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}k.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},k.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},k.prototype.split=function(input,t){input.iushrn(this.n,0,t)},k.prototype.imulK=function(t){return t.imul(this.k)},o(L,k),L.prototype.split=function(input,output){for(var mask=4194303,t=Math.min(input.length,9),i=0;i>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},L.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new L;else if("p224"===t)e=new T;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new E}return S[t]=e,e},D.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},D.prototype._verify2=function(a,b){n(0===(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},D.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},D.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},D.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},D.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},D.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},D.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},D.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},D.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},D.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},D.prototype.isqr=function(a){return this.imul(a,a.clone())},D.prototype.sqr=function(a){return this.mul(a,a)},D.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new h(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new h(2*l*l).toRed(this);0!==this.pow(l,c).cmp(o);)l.redIAdd(o);for(var d=this.pow(l,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),y=s;0!==m.cmp(r);){for(var _=m,i=0;0!==_.cmp(r);i++)_=_.redSqr();n(i=0;i--){for(var l=t.words[i],d=c-1;d>=0;d--){var f=l>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},D.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},D.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new Y(t)},o(Y,D),Y.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Y.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},Y.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(76)(t))},function(t,e){t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(object,t){return Object.prototype.hasOwnProperty.call(object,t)},r.p="",r(r.s=0)}([function(t,e,r){"use strict";var n=Object.assign||function(t){for(var i=1;i0?2==q.length?typeof q[1]==c?this[q[0]]=q[1].call(this,l):this[q[0]]=q[1]:3==q.length?typeof q[1]!==c||q[1].exec&&q[1].test?this[q[0]]=l?l.replace(q[1],q[2]):h:this[q[0]]=l?q[1].call(this,l,q[2]):h:4==q.length&&(this[q[0]]=l?q[3].call(this,l.replace(q[1],q[2])):h):this[q]=l||h;i+=2}},str:function(t,map){for(var i in map)if(typeof map[i]===d&&map[i].length>0){for(var e=0;e{Object(v.u)("auto")}),window.addEventListener("load",()=>{Object(v.u)("manual")}));const w=()=>{};o.default.use(y.a);const M={mode:"hash",base:"/",linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,r){let n=!1;const o=t!==e;r?n=r:o&&function(t){const e=Object(v.g)(t);if(1===e.length){const{options:t={}}=e[0];return!1!==t.scrollToTop}return e.some(({options:t})=>t&&t.scrollToTop)}(t)&&(n={x:0,y:0});const h=window.$nuxt;return(!o||t.path===e.path&&t.hash!==e.hash)&&h.$nextTick(()=>h.$emit("triggerScroll")),new Promise(e=>{h.$once("triggerScroll",()=>{if(t.hash){let e=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(e="#"+window.CSS.escape(e.substr(1)));try{const t=document.querySelector(e);if(t){var r;n={selector:e};const o=Number(null===(r=getComputedStyle(t)["scroll-margin-top"])||void 0===r?void 0:r.replace("px",""));o&&(n.offset={y:o})}}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(n)})})},routes:[{path:"/call",component:()=>Object(v.m)(Promise.all([r.e(1),r.e(42)]).then(r.bind(null,1042))),name:"call"},{path:"/callroom",component:()=>Object(v.m)(r.e(43).then(r.bind(null,1043))),name:"callroom"},{path:"/chats",component:()=>Object(v.m)(Promise.resolve().then(r.bind(null,58))),name:"chats"},{path:"/conference",component:()=>Object(v.m)(r.e(44).then(r.bind(null,1044))),name:"conference"},{path:"/conferenceVideo",component:()=>Object(v.m)(r.e(45).then(r.bind(null,1045))),name:"conferenceVideo"},{path:"/groupchat",component:()=>Object(v.m)(r.e(2).then(r.bind(null,1040))),name:"groupchat"},{path:"/integration",component:()=>Object(v.m)(r.e(47).then(r.bind(null,1046))),name:"integration"},{path:"/login",component:()=>Object(v.m)(Promise.all([r.e(0),r.e(48)]).then(r.bind(null,1079))),name:"login"},{path:"/login-code",component:()=>Object(v.m)(Promise.all([r.e(0),r.e(49)]).then(r.bind(null,1047))),name:"login-code"},{path:"/options",component:()=>Object(v.m)(r.e(59).then(r.bind(null,1048))),name:"options"},{path:"/pinned",component:()=>Object(v.m)(r.e(66).then(r.bind(null,1049))),name:"pinned"},{path:"/register",component:()=>Object(v.m)(r.e(67).then(r.bind(null,1050))),name:"register"},{path:"/testFrame",component:()=>Object(v.m)(r.e(68).then(r.bind(null,1051))),name:"testFrame"},{path:"/transfer",component:()=>Object(v.m)(r.e(69).then(r.bind(null,1052))),name:"transfer"},{path:"/transferSelect",component:()=>Object(v.m)(r.e(70).then(r.bind(null,1053))),name:"transferSelect"},{path:"/userAddExact",component:()=>Object(v.m)(r.e(71).then(r.bind(null,1054))),name:"userAddExact"},{path:"/users",component:()=>Object(v.m)(Promise.resolve().then(r.bind(null,168))),name:"users"},{path:"/workspace",component:()=>Object(v.m)(r.e(72).then(r.bind(null,1055))),name:"workspace"},{path:"/menu/main",component:()=>Object(v.m)(r.e(50).then(r.bind(null,1056))),name:"menu-main"},{path:"/options/appupdate",component:()=>Object(v.m)(r.e(52).then(r.bind(null,1080))),name:"options-appupdate"},{path:"/options/audiodevice",component:()=>Object(v.m)(r.e(53).then(r.bind(null,1057))),name:"options-audiodevice"},{path:"/options/autotranslate",component:()=>Object(v.m)(r.e(54).then(r.bind(null,1058))),name:"options-autotranslate"},{path:"/options/bugreport",component:()=>Object(v.m)(r.e(55).then(r.bind(null,1059))),name:"options-bugreport"},{path:"/options/chat",component:()=>Object(v.m)(r.e(56).then(r.bind(null,1060))),name:"options-chat"},{path:"/options/devices",component:()=>Object(v.m)(r.e(57).then(r.bind(null,1061))),name:"options-devices"},{path:"/options/general",component:()=>Object(v.m)(r.e(58).then(r.bind(null,1062))),name:"options-general"},{path:"/options/language",component:()=>Object(v.m)(r.e(60).then(r.bind(null,1063))),name:"options-language"},{path:"/options/linkdevice",component:()=>Object(v.m)(Promise.all([r.e(0),r.e(61)]).then(r.bind(null,1064))),name:"options-linkdevice"},{path:"/options/profile",component:()=>Object(v.m)(r.e(62).then(r.bind(null,1065))),name:"options-profile"},{path:"/options/security",component:()=>Object(v.m)(r.e(65).then(r.bind(null,1066))),name:"options-security"},{path:"/users/edit",component:()=>Object(v.m)(Promise.resolve().then(r.bind(null,543))),name:"users-edit"},{path:"/users/transfer",component:()=>Object(v.m)(Promise.resolve().then(r.bind(null,44))),name:"users-transfer"},{path:"/options/appupdate/history",component:()=>Object(v.m)(r.e(51).then(r.bind(null,1041))),name:"options-appupdate-history"},{path:"/options/security/auth",component:()=>Object(v.m)(r.e(63).then(r.bind(null,1067))),name:"options-security-auth"},{path:"/options/security/crypto",component:()=>Object(v.m)(r.e(64).then(r.bind(null,1068))),name:"options-security-crypto"},{path:"/",component:()=>Object(v.m)(r.e(46).then(r.bind(null,1069))),name:"index"}],fallback:!1};var A={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render(t,{parent:e,data:data,props:r}){const n=e.$createElement;data.nuxtChild=!0;const o=e,h=e.$nuxt.nuxt.transitions,c=e.$nuxt.nuxt.defaultTransition;let l=0;for(;e;)e.$vnode&&e.$vnode.data.nuxtChild&&l++,e=e.$parent;data.nuxtChildDepth=l;const d=h[l]||c,f={};S.forEach(t=>{void 0!==d[t]&&(f[t]=d[t])});const m={};k.forEach(t=>{"function"==typeof d[t]&&(m[t]=d[t].bind(o))});{const t=m.beforeEnter;m.beforeEnter=e=>{if(window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")}),t)return t.call(o,e)}}if(!1===d.css){const t=m.leave;(!t||t.length<2)&&(m.leave=(e,r)=>{t&&t.call(o,e),o.$nextTick(r)})}let y=n("routerView",data);return r.keepAlive&&(y=n("keep-alive",{props:r.keepAliveProps},[y])),n("transition",{props:f,on:m},[y])}};const S=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],k=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"];var L={name:"NuxtError",props:{error:{type:Object,default:null}},computed:{statusCode(){return this.error&&this.error.statusCode||500},message(){return this.error.message||"Error"}},head(){return{title:this.message,meta:[{name:"viewport",content:"width=device-width,initial-scale=1.0,minimum-scale=1.0"}]}}},T=(r(622),r(5)),x=Object(T.a)(L,function(){var t=this,e=t._self._c;return e("div",{staticClass:"__nuxt-error-page"},[e("div",{staticClass:"error"},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"90",fill:"#DBE1EC",viewBox:"0 0 48 48"}},[e("path",{attrs:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}})]),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(t.message))]),t._v(" "),404===t.statusCode?e("p",{staticClass:"description"},[void 0===t.$route?e("a",{staticClass:"error-link",attrs:{href:"/"}}):e("NuxtLink",{staticClass:"error-link",attrs:{to:"/"}},[t._v("Back to the home page")])],1):t._e(),t._v(" "),t._m(0)])])},[function(){var t=this._self._c;return t("div",{staticClass:"logo"},[t("a",{attrs:{href:"https://nuxtjs.org",target:"_blank",rel:"noopener"}},[this._v("Nuxt")])])}],!1,null,null,null).exports,E=(r(14),{name:"Nuxt",components:{NuxtChild:A,NuxtError:x},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(v.c)(this.$route.matched[0].path)(this.$route.params);const[t]=this.$route.matched;if(!t)return this.$route.path;const e=t.components.default;if(e&&e.options){const{options:t}=e;if(t.key)return"function"==typeof t.key?t.key(this.$route):t.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate(){o.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render(t){return this.nuxt.err&&this.nuxt.errPageReady?this.errorFromNuxtError?(this.$nextTick(()=>this.errorFromNuxtError=!1),t("div",{},[t("h2","An error occurred while showing the error page"),t("p","Unfortunately an error occurred and while showing the error page another error occurred"),t("p",`Error details: ${this.errorFromNuxtError.toString()}`),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick(()=>this.displayingNuxtError=!1),t(x,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),D=r(542),Y=(r(624),r(626),r(628),r(634),r(636),r(638),r(658),r(557)),C=r(544),O=r(545),P=r(558),R=r(546),j=r(547);const I={_back:Object(v.s)(Y.a),_default:Object(v.s)(C.a),_integration:Object(v.s)(O.a),_loggedIn:Object(v.s)(P.a),_minimal_dark:Object(v.s)(R.a),_minimal:Object(v.s)(j.a)};var N={render(t,e){const r=t("NuxtLoading",{ref:"loading"}),n=t(this.layout||"nuxt"),o=t("div",{domProps:{id:"__layout"},key:this.layoutName},[n]),h=t("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter(t){window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")})}}},[o]);return t("div",{domProps:{id:"__nuxt"}},[r,h])},data:()=>({isOnline:!0,layout:null,layoutName:"",nbFetching:0}),beforeCreate(){o.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created(){this.$root.$options.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},async mounted(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline(){return!this.isOnline},isFetching(){return this.nbFetching>0},isPreview(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},async refresh(){const t=Object(v.h)(this.$route);if(!t.length)return;this.$loading.start();const e=t.map(async t=>{let p=[];t.$options.fetch&&t.$options.fetch.length&&p.push(Object(v.q)(t.$options.fetch,this.context)),t.$options.asyncData&&p.push(Object(v.q)(t.$options.asyncData,this.context).then(e=>{for(const r in e)o.default.set(t.$data,r,e[r])})),await Promise.all(p),p=[],t.$fetch&&p.push(t.$fetch());for(const component of Object(v.e)(t.$vnode.componentInstance))p.push(component.$fetch());return Promise.all(p)});try{await Promise.all(e)}catch(t){this.$loading.fail(t),Object(v.k)(t),this.error(t)}this.$loading.finish()},errorChanged(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());let t=(x.options||x).layout;"function"==typeof t&&(t=t(this.context)),this.nuxt.errPageReady=!0,this.setLayout(t)}},setLayout(t){return t&&I["_"+t]||(t="default"),this.layoutName=t,this.layout=I["_"+t],this.layout},loadLayout:t=>(t&&I["_"+t]||(t="default"),Promise.resolve(I["_"+t]))},components:{NuxtLoading:D.default}};o.default.use(h.a);const B=["state","getters","actions","mutations"];let H={};H=function(t,e){if((t=t.default||t).commit)throw new Error(`[nuxt] ${e} should export a method that returns a Vuex instance.`);return"function"!=typeof t&&(t=Object.assign({},t)),U(t,e)}(r(884),"store/index.ts"),H.modules=H.modules||{},z(r(362),"brand.js"),z(r(173),"crypt.ts"),z(r(228),"platformDevice.ts"),z(r(934),"screen.ts"),z(r(907),"Users/index.ts"),z(r(932),"FileShare/index.ts"),z(r(908),"Call/index.ts"),z(r(56),"Call/CallMessages.ts"),z(r(50),"Call/startCall.ts"),z(r(909),"FileShare/authModuleFix.ts"),z(r(46),"FileShare/TransferMessages.ts"),z(r(109),"Call/types/CallInfo.ts"),z(r(34),"Call/types/Message.ts"),z(r(22),"Call/types/Status.ts"),z(r(910),"FileShare/types/FileInfo.ts"),z(r(32),"FileShare/types/Message.ts"),z(r(26),"FileShare/types/Status.ts");const F=H instanceof Function?H:()=>new h.a.Store(Object.assign({strict:!1},H));function U(t,e){if(t.state&&"function"!=typeof t.state){console.warn(`'state' should be a method that returns an object in ${e}`);const r=Object.assign({},t.state);t=Object.assign({},t,{state:()=>r})}return t}function z(t,e){t=t.default||t;const r=e.replace(/\.(js|mjs|ts)$/,"").split("/");let n=r[r.length-1];const o=`store/${e}`;if(t="state"===n?function(t,e){if("function"!=typeof t){console.warn(`${e} should export a method that returns an object`);const r=Object.assign({},t);return()=>r}return U(t,e)}(t,o):U(t,o),B.includes(n)){const e=n;return void W($(H,r,{isProperty:!0}),t,e)}"index"===n&&(r.pop(),n=r[r.length-1]);const h=$(H,r);for(const e of B)W(h,t[e],e);!1===t.namespaced&&delete h.namespaced}function $(t,e,{isProperty:r=!1}={}){if(!e.length||r&&1===e.length)return t;const n=e.shift();return t.modules[n]=t.modules[n]||{},t.modules[n].namespaced=!0,t.modules[n].modules=t.modules[n].modules||{},$(t.modules[n],e,{isProperty:r})}function W(t,e,r){e&&("state"===r?t.state=e||t.state:t[r]=Object.assign({},t[r],e))}const G=()=>Promise.resolve().then(r.bind(null,68)).then(t=>Ye(t.default||t)),V=()=>Promise.resolve().then(r.bind(null,35)).then(t=>Ye(t.default||t)),Z=()=>r.e(7).then(r.bind(null,961)).then(t=>Ye(t.default||t)),K=()=>r.e(1).then(r.bind(null,981)).then(t=>Ye(t.default||t)),J=()=>Promise.resolve().then(r.bind(null,521)).then(t=>Ye(t.default||t)),Q=()=>Promise.resolve().then(r.bind(null,522)).then(t=>Ye(t.default||t)),X=()=>Promise.resolve().then(r.bind(null,181)).then(t=>Ye(t.default||t)),tt=()=>Promise.resolve().then(r.bind(null,99)).then(t=>Ye(t.default||t)),et=()=>Promise.resolve().then(r.bind(null,179)).then(t=>Ye(t.default||t)),nt=()=>r.e(10).then(r.bind(null,1070)).then(t=>Ye(t.default||t)),it=()=>r.e(11).then(r.bind(null,1071)).then(t=>Ye(t.default||t)),ot=()=>r.e(13).then(r.bind(null,1072)).then(t=>Ye(t.default||t)),at=()=>r.e(14).then(r.bind(null,960)).then(t=>Ye(t.default||t)),st=()=>Promise.resolve().then(r.bind(null,182)).then(t=>Ye(t.default||t)),ut=()=>Promise.resolve().then(r.bind(null,232)).then(t=>Ye(t.default||t)),ht=()=>Promise.resolve().then(r.bind(null,100)).then(t=>Ye(t.default||t)),ct=()=>Promise.resolve().then(r.bind(null,101)).then(t=>Ye(t.default||t)),lt=()=>Promise.resolve().then(r.bind(null,542)).then(t=>Ye(t.default||t)),ft=()=>r.e(20).then(r.bind(null,1081)).then(t=>Ye(t.default||t)),pt=()=>r.e(22).then(r.bind(null,1073)).then(t=>Ye(t.default||t)),mt=()=>Promise.resolve().then(r.bind(null,180)).then(t=>Ye(t.default||t)),yt=()=>Promise.resolve().then(r.bind(null,567)).then(t=>Ye(t.default||t)),gt=()=>r.e(23).then(r.bind(null,962)).then(t=>Ye(t.default||t)),_t=()=>Promise.resolve().then(r.bind(null,49)).then(t=>Ye(t.default||t)),vt=()=>r.e(35).then(r.bind(null,938)).then(t=>Ye(t.default||t)),bt=()=>Promise.resolve().then(r.bind(null,177)).then(t=>Ye(t.default||t)),wt=()=>r.e(37).then(r.bind(null,1074)).then(t=>Ye(t.default||t)),Mt=()=>Promise.resolve().then(r.bind(null,88)).then(t=>Ye(t.default||t)),At=()=>Promise.resolve().then(r.bind(null,178)).then(t=>Ye(t.default||t)),St=()=>r.e(5).then(r.bind(null,1075)).then(t=>Ye(t.default||t)),kt=()=>r.e(6).then(r.bind(null,959)).then(t=>Ye(t.default||t)),Lt=()=>Promise.resolve().then(r.bind(null,67)).then(t=>Ye(t.default||t)),Tt=()=>Promise.resolve().then(r.bind(null,549)).then(t=>Ye(t.default||t)),xt=()=>Promise.resolve().then(r.bind(null,548)).then(t=>Ye(t.default||t)),Et=()=>Promise.resolve().then(r.bind(null,130)).then(t=>Ye(t.default||t)),Dt=()=>Promise.resolve().then(r.bind(null,23)).then(t=>Ye(t.default||t)),Yt=()=>r.e(15).then(r.bind(null,1031)).then(t=>Ye(t.default||t)),Ct=()=>Promise.resolve().then(r.bind(null,235)).then(t=>Ye(t.default||t)),Ot=()=>Promise.resolve().then(r.bind(null,63)).then(t=>Ye(t.default||t)),Pt=()=>Promise.resolve().then(r.bind(null,159)).then(t=>Ye(t.default||t)),Rt=()=>Promise.resolve().then(r.bind(null,931)).then(t=>Ye(t.default||t)),jt=()=>Promise.resolve().then(r.bind(null,933)).then(t=>Ye(t.default||t)),It=()=>Promise.resolve().then(r.bind(null,233)).then(t=>Ye(t.default||t)),Nt=()=>r.e(16).then(r.bind(null,1032)).then(t=>Ye(t.default||t)),Bt=()=>r.e(17).then(r.bind(null,1033)).then(t=>Ye(t.default||t)),Ht=()=>Promise.resolve().then(r.bind(null,554)).then(t=>Ye(t.default||t)),Ft=()=>r.e(18).then(r.bind(null,1034)).then(t=>Ye(t.default||t)),Ut=()=>r.e(8).then(r.bind(null,1076)).then(t=>Ye(t.default||t)),zt=()=>r.e(9).then(r.bind(null,983)).then(t=>Ye(t.default||t)),qt=()=>r.e(12).then(r.bind(null,1077)).then(t=>Ye(t.default||t)),$t=()=>r.e(19).then(r.bind(null,982)).then(t=>Ye(t.default||t)),Wt=()=>Promise.resolve().then(r.bind(null,550)).then(t=>Ye(t.default||t)),Gt=()=>Promise.resolve().then(r.bind(null,169)).then(t=>Ye(t.default||t)),Vt=()=>Promise.resolve().then(r.bind(null,553)).then(t=>Ye(t.default||t)),Zt=()=>Promise.resolve().then(r.bind(null,541)).then(t=>Ye(t.default||t)),Kt=()=>Promise.resolve().then(r.bind(null,551)).then(t=>Ye(t.default||t)),Jt=()=>Promise.resolve().then(r.bind(null,61)).then(t=>Ye(t.default||t)),Qt=()=>Promise.resolve().then(r.bind(null,170)).then(t=>Ye(t.default||t)),Xt=()=>Promise.resolve().then(r.bind(null,552)).then(t=>Ye(t.default||t)),te=()=>Promise.resolve().then(r.bind(null,171)).then(t=>Ye(t.default||t)),ee=()=>r.e(24).then(r.bind(null,990)).then(t=>Ye(t.default||t)),re=()=>Promise.resolve().then(r.bind(null,127)).then(t=>Ye(t.default||t)),ne=()=>Promise.resolve().then(r.bind(null,105)).then(t=>Ye(t.default||t)),ie=()=>r.e(33).then(r.bind(null,1035)).then(t=>Ye(t.default||t)),oe=()=>Promise.resolve().then(r.bind(null,559)).then(t=>Ye(t.default||t)),ae=()=>Promise.resolve().then(r.bind(null,560)).then(t=>Ye(t.default||t)),se=()=>Promise.resolve().then(r.bind(null,102)).then(t=>Ye(t.default||t)),ue=()=>Promise.resolve().then(r.bind(null,561)).then(t=>Ye(t.default||t)),he=()=>Promise.resolve().then(r.bind(null,69)).then(t=>Ye(t.default||t)),ce=()=>Promise.resolve().then(r.bind(null,174)).then(t=>Ye(t.default||t)),le=()=>r.e(34).then(r.bind(null,1082)).then(t=>Ye(t.default||t)),de=()=>r.e(36).then(r.bind(null,1078)).then(t=>Ye(t.default||t)),fe=()=>Promise.resolve().then(r.bind(null,252)).then(t=>Ye(t.default||t)),pe=()=>Promise.resolve().then(r.bind(null,229)).then(t=>Ye(t.default||t)),me=()=>Promise.resolve().then(r.bind(null,562)).then(t=>Ye(t.default||t)),ye=()=>r.e(21).then(r.bind(null,1083)).then(t=>Ye(t.default||t)),ge=()=>Promise.resolve().then(r.bind(null,563)).then(t=>Ye(t.default||t)),_e=()=>Promise.resolve().then(r.bind(null,565)).then(t=>Ye(t.default||t)),ve=()=>Promise.resolve().then(r.bind(null,564)).then(t=>Ye(t.default||t)),be=()=>Promise.resolve().then(r.bind(null,555)).then(t=>Ye(t.default||t)),we=()=>Promise.resolve().then(r.bind(null,556)).then(t=>Ye(t.default||t)),Me=()=>r.e(25).then(r.bind(null,984)).then(t=>Ye(t.default||t)),Ae=()=>r.e(26).then(r.bind(null,985)).then(t=>Ye(t.default||t)),Se=()=>Promise.resolve().then(r.bind(null,523)).then(t=>Ye(t.default||t)),ke=()=>r.e(31).then(r.bind(null,986)).then(t=>Ye(t.default||t)),Le=()=>r.e(27).then(r.bind(null,989)).then(t=>Ye(t.default||t)),Te=()=>r.e(28).then(r.bind(null,988)).then(t=>Ye(t.default||t)),xe=()=>r.e(29).then(r.bind(null,948)).then(t=>Ye(t.default||t)),Ee=()=>r.e(30).then(r.bind(null,949)).then(t=>Ye(t.default||t)),De=()=>r.e(32).then(r.bind(null,987)).then(t=>Ye(t.default||t));function Ye(t){if(!t||!t.functional)return t;const e=Array.isArray(t.props)?t.props:Object.keys(t.props||{});return{render(r){const n={},o={};for(const t in this.$attrs)e.includes(t)?o[t]=this.$attrs[t]:n[t]=this.$attrs[t];return r(t,{on:this.$listeners,attrs:n,props:o,scopedSlots:this.$scopedSlots},this.$slots.default)}}}for(const t in n)o.default.component(t,n[t]),o.default.component("Lazy"+t,n[t]);function Ce(t,e,r){return t.find(t=>r?t[e]===r:t[e])}var meta=r(534),Oe=function({app:t}){!function(t,e){if("function"!=typeof t)for(const r in e){const n=e[r];if(Array.isArray(n)){t[r]=t[r]||[];for(const e of n)e.hid&&Ce(t[r],"hid",e.hid)||e.name&&Ce(t[r],"name",e.name)||t[r].push(e)}else if("object"==typeof n){t[r]=t[r]||{};for(const e in n)t[r][e]=n[e]}else void 0===t[r]&&(t[r]=n)}else console.warn("Cannot merge meta. Avoid using head as a function!")}(t.head,meta)},Pe=async function(t,e){const r={"64x64":"/nuxt/icons/icon_64x64.7b3a3b.png","120x120":"/nuxt/icons/icon_120x120.7b3a3b.png","144x144":"/nuxt/icons/icon_144x144.7b3a3b.png","152x152":"/nuxt/icons/icon_152x152.7b3a3b.png","192x192":"/nuxt/icons/icon_192x192.7b3a3b.png","384x384":"/nuxt/icons/icon_384x384.7b3a3b.png","512x512":"/nuxt/icons/icon_512x512.7b3a3b.png",ipad_1536x2048:"/nuxt/icons/splash_ipad_1536x2048.7b3a3b.png",ipadpro9_1536x2048:"/nuxt/icons/splash_ipadpro9_1536x2048.7b3a3b.png",ipadpro10_1668x2224:"/nuxt/icons/splash_ipadpro10_1668x2224.7b3a3b.png",ipadpro12_2048x2732:"/nuxt/icons/splash_ipadpro12_2048x2732.7b3a3b.png",iphonese_640x1136:"/nuxt/icons/splash_iphonese_640x1136.7b3a3b.png",iphone6_50x1334:"/nuxt/icons/splash_iphone6_50x1334.7b3a3b.png",iphoneplus_1080x1920:"/nuxt/icons/splash_iphoneplus_1080x1920.7b3a3b.png",iphonex_1125x2436:"/nuxt/icons/splash_iphonex_1125x2436.7b3a3b.png",iphonexr_828x1792:"/nuxt/icons/splash_iphonexr_828x1792.7b3a3b.png",iphonexsmax_1242x2688:"/nuxt/icons/splash_iphonexsmax_1242x2688.7b3a3b.png"};e("icon",t=>r[t+"x"+t]||"")},Re=(r(911),r(535));const je={COMPONENT_OPTIONS_KEY:"nuxtI18n",STRATEGIES:{PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"}},Ie=!1,Ne=void 0,Be={vueI18n:{fallbackLocale:"en"},vueI18nLoader:!1,locales:[{code:"en",file:"en.json",name:"English"},{code:"ru",file:"ru.json",name:"Русский"},{code:"de",file:"de.json",name:"Deutsch"},{code:"fr",file:"fr.json",name:"Français"},{code:"es",file:"es.json",name:"Español"}],defaultLocale:"en",defaultDirection:"ltr",routesNameSeparator:"___",defaultLocaleRouteNameSuffix:"default",sortRoutes:!0,strategy:"no_prefix",lazy:!0,langDir:"D:\\Projects\\Codex\\KSITalk\\Interchat\\frontend\\locales",rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!0,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",onlyOnNoPrefix:!1,onlyOnRoot:!1,useCookie:!0},differentDomains:!1,seo:!1,baseUrl:"",vuex:{moduleName:"i18n",syncLocale:!0,syncMessages:!1,syncRouteParams:!0},parsePages:!0,pages:{},skipSettingLocaleOnNavigate:!1,beforeLanguageSwitch:()=>null,onBeforeLanguageSwitch:()=>{},onLanguageSwitched:()=>null,normalizedLocales:[{code:"en",file:"en.json",name:"English"},{code:"ru",file:"ru.json",name:"Русский"},{code:"de",file:"de.json",name:"Deutsch"},{code:"fr",file:"fr.json",name:"Français"},{code:"es",file:"es.json",name:"Español"}],localeCodes:["en","ru","de","fr","es"]},He={"en.json":()=>Promise.resolve(Re),"ru.json":()=>r.e(41).then(r.t.bind(null,1036,3)),"de.json":()=>r.e(38).then(r.t.bind(null,1037,3)),"fr.json":()=>r.e(40).then(r.t.bind(null,1038,3)),"es.json":()=>r.e(39).then(r.t.bind(null,1039,3))};var Fe=r(167),Ue=r(240),ze=r.n(Ue);function qe(text){return`[nuxt-i18n] ${text}`}function $e(t,e){const r=[],n=[];for(const e of t){const{code:code}=e,t=e.iso||code;n.push({code:code,iso:t})}for(const[t,o]of e.entries()){const h=n.find(t=>t.iso.toLowerCase()===o.toLowerCase());if(h){r.push({code:h.code,score:1-t/e.length});break}}for(const[t,o]of e.entries()){const h=o.split("-")[0].toLowerCase(),c=n.find(t=>t.iso.split("-")[0].toLowerCase()===h);if(c){r.push({code:c.code,score:.999-t/e.length});break}}return r.length>1&&r.sort((t,e)=>t.score===e.score?e.code.length-t.code.length:e.score-t.score),r.length?r[0].code:void 0}function We(t){return new RegExp(`^/(${t.join("|")})(?:/|$)`,"i")}var Ge=r(85);async function Ve(t,e){const{app:r}=t,{i18n:n}=r;if(n.loadedLanguages||(n.loadedLanguages=[]),!n.loadedLanguages.includes(e)){const r=Be.normalizedLocales.find(t=>t.code===e);if(r){const{file:o}=r;if(o){let r;{const{nuxtState:n}=t;n&&n.__i18n&&n.__i18n.langs[e]&&(r=n.__i18n.langs[e],t.isDev&&He[o]())}if(!r)try{const n=await He[o]().then(t=>t.default||t);r="function"==typeof n?await Promise.resolve(n(t,e)):n}catch(t){console.error(qe(`Failed loading async locale export: ${t.message}`))}r&&(n.setLocaleMessage(e,r),n.loadedLanguages.push(e))}else console.warn(qe(`Could not find lang file for locale ${e}`))}else console.warn(qe(`Attempted to load messages for non-existant locale code "${e}"`))}}function Ze(t,e,r,{differentDomains:n,normalizedLocales:o}){if("function"==typeof t)return t(e);if(n&&r){const t=Ke(r,e.req,{normalizedLocales:o});if(t)return t}return t}function Ke(t,e,{normalizedLocales:r}){const n=r.find(e=>e.code===t);if(n&&n.domain){if(Object(Ge.hasProtocol)(n.domain))return n.domain;let t;return t=window.location.protocol.split(":")[0],`${t}://${n.domain}`}console.warn(qe(`Could not find domain name for locale ${t}`))}var Je=r(83);function Qe(t,e){const r=rr.call(this,t,e);return r?r.route.fullPath:""}function Xe(t,e){const r=rr.call(this,t,e);return r?r.route:void 0}function er(t,e){const r=rr.call(this,t,e);return r?r.location:void 0}function rr(t,e){if(!t)return;const{i18n:r}=this;if(!(e=e||r.locale))return;"string"==typeof t&&(t="/"===t[0]?{path:t}:{name:t});let n=Object.assign({},t);if(n.path&&!n.name){const t=this.router.resolve(n).route,o=this.getRouteBaseName(t);if(o)n={name:or(o,e),params:t.params,query:t.query,hash:t.hash};else{!(e===Be.defaultLocale&&[je.STRATEGIES.PREFIX_EXCEPT_DEFAULT,je.STRATEGIES.PREFIX_AND_DEFAULT].includes(Be.strategy)||Be.strategy===je.STRATEGIES.NO_PREFIX||r.differentDomains)&&(n.path=`/${e}${n.path}`),n.path=Ne?Object(Ge.withTrailingSlash)(n.path,!0):Object(Ge.withoutTrailingSlash)(n.path,!0)}}else{n.name||n.path||(n.name=this.getRouteBaseName()),n.name=or(n.name,e);const{params:t}=n;t&&void 0===t[0]&&t.pathMatch&&(t[0]=t.pathMatch)}const o=this.router.resolve(n);return o.route.name?o:this.router.resolve(t)}function nr(t){const e=this.getRouteBaseName();if(!e)return"";const{i18n:r,route:n,store:o}=this,{params:h,...c}=n;let l={};Be.vuex&&Be.vuex.syncRouteParams&&o&&(l=o.getters[`${Be.vuex.moduleName}/localeRouteParams`](t));const d=Object.assign({},c,{name:e,params:{...h,...l,0:h.pathMatch}});let path=this.localePath(d,t);if(r.differentDomains){const e={differentDomains:r.differentDomains,normalizedLocales:Be.normalizedLocales},n=Ke(t,this.req,e);n&&(path=n+path)}return path}function ir(t){const e=void 0!==t?t:this.route;if(e&&e.name)return e.name.split(Be.routesNameSeparator)[0]}function or(t,e){let r=t+(Be.strategy===je.STRATEGIES.NO_PREFIX?"":Be.routesNameSeparator+e);return e===Be.defaultLocale&&Be.strategy===je.STRATEGIES.PREFIX_AND_DEFAULT&&(r+=Be.routesNameSeparator+Be.defaultLocaleRouteNameSuffix),r}Je.a.nuxti18n=async t=>{const{app:e,isHMR:r}=t;if(r)return;const[n,o,h]=await e.i18n.__onNavigate(t.route);if(n&&o){const e=h?t.route.query:void 0;t.redirect(n,o,e)}};const ar=function(t){return function(){const e={getRouteBaseName:this.getRouteBaseName,i18n:this.$i18n,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,req:null,route:this.$route,router:this.$router,store:this.$store};return t.call(e,...arguments)}},sr=function(t,e){return function(){const{app:r,req:n,route:o,store:h}=t,c={getRouteBaseName:r.getRouteBaseName,i18n:r.i18n,localePath:r.localePath,localeLocation:r.localeLocation,localeRoute:r.localeRoute,req:null,route:o,router:r.router,store:h};return e.call(c,...arguments)}},ur={install(t){t.mixin({methods:{localePath:ar(Qe),localeRoute:ar(Xe),localeLocation:ar(er),switchLocalePath:ar(nr),getRouteBaseName:ar(ir)}})}};var cr=t=>{o.default.use(ur);const{app:e,store:r}=t;e.localePath=t.localePath=sr(t,Qe),e.localeRoute=t.localeRoute=sr(t,Xe),e.localeLocation=t.localeLocation=sr(t,er),e.switchLocalePath=t.switchLocalePath=sr(t,nr),e.getRouteBaseName=t.getRouteBaseName=sr(t,ir),r&&(r.localePath=e.localePath,r.localeRoute=e.localeRoute,r.localeLocation=e.localeLocation,r.switchLocalePath=e.switchLocalePath,r.getRouteBaseName=e.getRouteBaseName)},lr=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],dr=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function fr(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}var pr=Array.isArray;function mr(t){return null!==t&&"object"==typeof t}function yr(t){return"boolean"==typeof t}function gr(t){return"string"==typeof t}var _r=Object.prototype.toString;function vr(t){return"[object Object]"===_r.call(t)}function wr(t){return null==t}function Mr(t){return"function"==typeof t}function Ar(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=null,n=null;return 1===t.length?mr(t[0])||pr(t[0])?n=t[0]:"string"==typeof t[0]&&(r=t[0]):2===t.length&&("string"==typeof t[0]&&(r=t[0]),(mr(t[1])||pr(t[1]))&&(n=t[1])),{locale:r,params:n}}function Sr(t){return JSON.parse(JSON.stringify(t))}function kr(t,e){return!!~t.indexOf(e)}var Lr=Object.prototype.hasOwnProperty;function Tr(t,e){return Lr.call(t,e)}function xr(t){for(var e=arguments,output=Object(t),i=1;i0;)e[r]=arguments[r+1];var n=this.$i18n;return n._t.apply(n,[t,n.locale,n._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];var o=this.$i18n;return o._tc.apply(o,[t,o.locale,o._getMessages(),this,e].concat(r))},t.prototype.$te=function(t,e){var r=this.$i18n;return r._te(t,r.locale,r._getMessages(),e)},t.prototype.$d=function(t){for(var e,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(e=this.$i18n).d.apply(e,[t].concat(r))},t.prototype.$n=function(t){for(var e,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(e=this.$i18n).n.apply(e,[t].concat(r))}})(Pr),Pr.mixin(function(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n){if(t.i18n instanceof on){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach(function(t){e=xr(e,JSON.parse(t))}),Object.keys(e).forEach(function(r){t.i18n.mergeLocaleMessage(r,e[r])})}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(vr(t.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof on?this.$root.$i18n:null;if(r&&(t.i18n.root=this.$root,t.i18n.formatter=r.formatter,t.i18n.fallbackLocale=r.fallbackLocale,t.i18n.formatFallbackMessages=r.formatFallbackMessages,t.i18n.silentTranslationWarn=r.silentTranslationWarn,t.i18n.silentFallbackWarn=r.silentFallbackWarn,t.i18n.pluralizationRules=r.pluralizationRules,t.i18n.preserveDirectiveContent=r.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var n=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach(function(t){n=xr(n,JSON.parse(t))}),t.i18n.messages=n}catch(t){}var o=t.i18n.sharedMessages;o&&vr(o)&&(t.i18n.messages=xr(t.i18n.messages,o)),this._i18n=new on(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof on?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof on&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof on||vr(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof on||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof on)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick(function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)})}}}}(e.bridge)),Pr.directive("t",{bind:jr,update:Ir,unbind:Nr}),Pr.component(Dr.name,Dr),Pr.component(Rr.name,Rr),Pr.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var zr=function(){this._caches=Object.create(null)};zr.prototype.interpolate=function(t,e){if(!e)return[t];var r=this._caches[t];return r||(r=function(t){var e=[],r=0,text="";for(;r0)m--,f=4,y[0]();else{if(m=0,void 0===e)return!1;if(!1===(e=Zr(e)))return!1;y[1]()}};null!==f;)if(d++,"\\"!==(t=path[d])||!_()){if(n=Vr(t),8===(o=(c=Wr[f])[n]||c.else||8))return;if(f=o[0],(h=y[o[1]])&&(r=void 0===(r=o[2])?t:r,!1===h()))return;if(7===f)return l}}(path),t&&(this._cache[path]=t)),t||[]},Kr.prototype.getPathValue=function(t,path){if(!mr(t))return null;var e=this.parsePath(path);if(0===e.length)return null;for(var r=e.length,n=t,i=0;i/,Xr=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,tn=/^@(?:\.([a-zA-Z]+))?:/,en=/[()]/g,rn={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},nn=new zr,on=function(t){var e=this;void 0===t&&(t={}),!Pr&&"undefined"!=typeof window&&window.Vue&&Ur(window.Vue);var r=t.locale||"en-US",n=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),o=t.messages||{},h=t.dateTimeFormats||t.datetimeFormats||{},c=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||nn,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new Kr,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,r){var n=Object.getPrototypeOf(e);if(n&&n.getChoiceIndex)return n.getChoiceIndex.call(e,t,r);var o,h;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,r]):(o=t,h=r,o=Math.abs(o),2===h?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(t,r){return!(!t||!r)&&(!wr(e._path.getPathValue(t,r))||!!t[r])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,o[t])}),this._initVM({locale:r,fallbackLocale:n,messages:o,dateTimeFormats:h,numberFormats:c})},an={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};on.prototype._checkLocaleMessage=function(t,e,r){var n=function(t,e,r,o){if(vr(r))Object.keys(r).forEach(function(h){var c=r[h];vr(c)?(o.push(h),o.push("."),n(t,e,c,o),o.pop(),o.pop()):(o.push(h),n(t,e,c,o),o.pop())});else if(pr(r))r.forEach(function(r,h){vr(r)?(o.push("["+h+"]"),o.push("."),n(t,e,r,o),o.pop(),o.pop()):(o.push("["+h+"]"),n(t,e,r,o),o.pop())});else if(gr(r)){if(Qr.test(r)){var h="Detected HTML in message '"+r+"' of keypath '"+o.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?fr(h):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(h)}}};n(e,t,r,[])},on.prototype._initVM=function(data){var t=Pr.config.silent;Pr.config.silent=!0,this._vm=new Pr({data:data,__VUE18N__INSTANCE__:!0}),Pr.config.silent=t},on.prototype.destroyVM=function(){this._vm.$destroy()},on.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},on.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.delete(e));}(this._dataListeners,t)},on.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",function(){for(var e,r,n=(e=t._dataListeners,r=[],e.forEach(function(a){return r.push(a)}),r),i=n.length;i--;)Pr.nextTick(function(){n[i]&&n[i].$forceUpdate()})},{deep:!0})},on.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,r=this._vm;return this.vm.$watch("locale",function(n){r.$set(r,"locale",n),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=n),r.$forceUpdate()},{immediate:!0})}if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",function(t){n.$set(n,"locale",t),n.$forceUpdate()},{immediate:!0})},on.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},an.vm.get=function(){return this._vm},an.messages.get=function(){return Sr(this._getMessages())},an.dateTimeFormats.get=function(){return Sr(this._getDateTimeFormats())},an.numberFormats.get=function(){return Sr(this._getNumberFormats())},an.availableLocales.get=function(){return Object.keys(this.messages).sort()},an.locale.get=function(){return this._vm.locale},an.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},an.fallbackLocale.get=function(){return this._vm.fallbackLocale},an.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},an.formatFallbackMessages.get=function(){return this._formatFallbackMessages},an.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},an.missing.get=function(){return this._missing},an.missing.set=function(t){this._missing=t},an.formatter.get=function(){return this._formatter},an.formatter.set=function(t){this._formatter=t},an.silentTranslationWarn.get=function(){return this._silentTranslationWarn},an.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},an.silentFallbackWarn.get=function(){return this._silentFallbackWarn},an.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},an.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},an.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},an.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},an.warnHtmlInMessage.set=function(t){var e=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,r!==t&&("warn"===t||"error"===t)){var n=this._getMessages();Object.keys(n).forEach(function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,n[t])})}},an.postTranslation.get=function(){return this._postTranslation},an.postTranslation.set=function(t){this._postTranslation=t},an.sync.get=function(){return this._sync},an.sync.set=function(t){this._sync=t},on.prototype._getMessages=function(){return this._vm.messages},on.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},on.prototype._getNumberFormats=function(){return this._vm.numberFormats},on.prototype._warnDefault=function(t,e,r,n,o,h){if(!wr(r))return r;if(this._missing){var c=this._missing.apply(null,[t,e,n,o]);if(gr(c))return c}else 0;if(this._formatFallbackMessages){var l=Ar.apply(void 0,o);return this._render(e,h,l.params,e)}return e},on.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:wr(t))&&!wr(this._root)&&this._fallbackRoot},on.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},on.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},on.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},on.prototype._interpolate=function(t,e,r,n,o,h,c){if(!e)return null;var l,d=this._path.getPathValue(e,r);if(pr(d)||vr(d))return d;if(wr(d)){if(!vr(e))return null;if(!gr(l=e[r])&&!Mr(l))return null}else{if(!gr(d)&&!Mr(d))return null;l=d}return gr(l)&&(l.indexOf("@:")>=0||l.indexOf("@.")>=0)&&(l=this._link(t,e,l,n,"raw",h,c)),this._render(l,o,h,r)},on.prototype._link=function(t,e,r,n,o,h,c){var l=r,d=l.match(Xr);for(var f in d)if(d.hasOwnProperty(f)){var link=d[f],m=link.match(tn),y=m[0],_=m[1],v=link.replace(y,"").replace(en,"");if(kr(c,v))return l;c.push(v);var w=this._interpolate(t,e,v,n,"raw"===o?"string":o,"raw"===o?void 0:h,c);if(this._isFallbackRoot(w)){if(!this._root)throw Error("unexpected error");var M=this._root.$i18n;w=M._translate(M._getMessages(),M.locale,M.fallbackLocale,v,n,o,h)}w=this._warnDefault(t,v,w,n,pr(h)?h:[h],o),this._modifiers.hasOwnProperty(_)?w=this._modifiers[_](w):rn.hasOwnProperty(_)&&(w=rn[_](w)),c.pop(),l=w?l.replace(link,w):l}return l},on.prototype._createMessageContext=function(t,e,path,r){var n=this,o=pr(t)?t:[],h=mr(t)?t:{},c=this._getMessages(),l=this.locale;return{list:function(t){return o[t]},named:function(t){return h[t]},values:t,formatter:e,path:path,messages:c,locale:l,linked:function(t){return n._interpolate(l,c[l]||{},t,null,r,void 0,[t])}}},on.prototype._render=function(t,e,r,path){if(Mr(t))return t(this._createMessageContext(r,this._formatter||nn,path,e));var n=this._formatter.interpolate(t,r,path);return n||(n=nn.interpolate(t,r,path)),"string"!==e||gr(n)?n:n.join("")},on.prototype._appendItemToChain=function(t,e,r){var n=!1;return kr(t,e)||(n=!0,e&&(n="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),r&&r[e]&&(n=r[e]))),n},on.prototype._appendLocaleToChain=function(t,e,r){var n,o=e.split("-");do{var h=o.join("-");n=this._appendItemToChain(t,h,r),o.splice(-1,1)}while(o.length&&!0===n);return n},on.prototype._appendBlockToChain=function(t,e,r){for(var n=!0,i=0;i0;)h[c]=arguments[c+4];if(!t)return"";var l,d=Ar.apply(void 0,h);this._escapeParameterHtml&&(d.params=(null!=(l=d.params)&&Object.keys(l).forEach(function(t){"string"==typeof l[t]&&(l[t]=l[t].replace(//g,">").replace(/"/g,""").replace(/'/g,"'"))}),l));var f=d.locale||e,m=this._translate(r,f,this.fallbackLocale,t,n,"string",d.params);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[t].concat(h))}return m=this._warnDefault(f,t,m,n,h,"string"),this._postTranslation&&null!=m&&(m=this._postTranslation(m,t)),m},on.prototype.t=function(t){for(var e,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(r))},on.prototype._i=function(t,e,r,n,o){var h=this._translate(r,e,this.fallbackLocale,t,n,"raw",o);if(this._isFallbackRoot(h)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,o)}return this._warnDefault(e,t,h,n,[o],"raw")},on.prototype.i=function(t,e,r){return t?(gr(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,r)):""},on.prototype._tc=function(t,e,r,n,o){for(var h,c=[],l=arguments.length-5;l-- >0;)c[l]=arguments[l+5];if(!t)return"";void 0===o&&(o=1);var d={count:o,n:o},f=Ar.apply(void 0,c);return f.params=Object.assign(d,f.params),c=null===f.locale?[f.params]:[f.locale,f.params],this.fetchChoice((h=this)._t.apply(h,[t,e,r,n].concat(c)),o)},on.prototype.fetchChoice=function(t,e){if(!t||!gr(t))return null;var r=t.split("|");return r[e=this.getChoiceIndex(e,r.length)]?r[e].trim():t},on.prototype.tc=function(t,e){for(var r,n=[],o=arguments.length-2;o-- >0;)n[o]=arguments[o+2];return(r=this)._tc.apply(r,[t,this.locale,this._getMessages(),null,e].concat(n))},on.prototype._te=function(t,e,r){for(var n=[],o=arguments.length-3;o-- >0;)n[o]=arguments[o+3];var h=Ar.apply(void 0,n).locale||e;return this._exist(r[h],t)},on.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},on.prototype.getLocaleMessage=function(t){return Sr(this._vm.messages[t]||{})},on.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},on.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,xr(void 0!==this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},on.prototype.getDateTimeFormat=function(t){return Sr(this._vm.dateTimeFormats[t]||{})},on.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},on.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,xr(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},on.prototype._clearDateTimeFormat=function(t,e){for(var r in e){var n=t+"__"+r;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},on.prototype._localizeDateTime=function(t,e,r,n,o,h){for(var c=e,l=n[c],d=this._getLocaleChain(e,r),i=0;i0;)e[r]=arguments[r+1];var n=this.locale,o=null,h=null;return 1===e.length?(gr(e[0])?o=e[0]:mr(e[0])&&(e[0].locale&&(n=e[0].locale),e[0].key&&(o=e[0].key)),h=Object.keys(e[0]).reduce(function(t,r){var n;return kr(dr,r)?Object.assign({},t,((n={})[r]=e[0][r],n)):t},null)):2===e.length&&(gr(e[0])&&(o=e[0]),gr(e[1])&&(n=e[1])),this._d(t,n,o,h)},on.prototype.getNumberFormat=function(t){return Sr(this._vm.numberFormats[t]||{})},on.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},on.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,xr(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},on.prototype._clearNumberFormat=function(t,e){for(var r in e){var n=t+"__"+r;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},on.prototype._getNumberFormatter=function(t,e,r,n,o,h){for(var c=e,l=n[c],d=this._getLocaleChain(e,r),i=0;i0;)e[r]=arguments[r+1];var n=this.locale,o=null,h=null;return 1===e.length?gr(e[0])?o=e[0]:mr(e[0])&&(e[0].locale&&(n=e[0].locale),e[0].key&&(o=e[0].key),h=Object.keys(e[0]).reduce(function(t,r){var n;return kr(lr,r)?Object.assign({},t,((n={})[r]=e[0][r],n)):t},null)):2===e.length&&(gr(e[0])&&(o=e[0]),gr(e[1])&&(n=e[1])),this._n(t,n,o,h)},on.prototype._ntp=function(t,e,r,n){if(!on.availabilities.numberFormat)return[];if(!r)return(n?new Intl.NumberFormat(e,n):new Intl.NumberFormat(e)).formatToParts(t);var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),r,n),h=o&&o.formatToParts(t);if(this._isFallbackRoot(h)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,r,n)}return h||[]},Object.defineProperties(on.prototype,an),Object.defineProperty(on,"availabilities",{get:function(){if(!Jr){var t="undefined"!=typeof Intl;Jr={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return Jr}}),on.install=Ur,on.version="8.28.2";var sn=on;function un({addDirAttribute:t=!0,addSeoAttributes:e=!1}={}){if(!this.$i18n)return{};const r={htmlAttrs:{},link:[],meta:[]},n=this.$i18n.localeProperties,o=n.iso,h=n.dir||Be.defaultDirection;if(t&&(r.htmlAttrs.dir=h),e&&(c.a.hasMetaInfo?c.a.hasMetaInfo(this):this._hasMetaInfo)&&this.$i18n.locale&&this.$i18n.locales&&!1!==this.$options[je.COMPONENT_OPTIONS_KEY]&&(!this.$options[je.COMPONENT_OPTIONS_KEY]||!1!==this.$options[je.COMPONENT_OPTIONS_KEY].seo)){o&&(r.htmlAttrs.lang=o);const t=this.$i18n.locales;(function(t,e,link){if(Be.strategy===je.STRATEGIES.NO_PREFIX)return;const r=new Map;for(const e of t){const t=e.iso;if(!t){console.warn(qe("Locale ISO code is required to generate alternate link"));continue}const[n,o]=t.split("-");n&&o&&(e.isCatchallLocale||!r.has(n))&&r.set(n,e),r.set(t,e)}for(const[t,n]of r.entries()){const r=this.switchLocalePath(n.code);r&&link.push({hid:`i18n-alt-${t}`,rel:"alternate",href:d(r,e),hreflang:t})}if(Be.defaultLocale){const t=this.switchLocalePath(Be.defaultLocale);t&&link.push({hid:"i18n-xd",rel:"alternate",href:d(t,e),hreflang:"x-default"})}}).bind(this)(t,this.$i18n.__baseUrl,r.link),function(t,link){const e=this.localeRoute({...this.$route,name:this.getRouteBaseName()}),r=e?e.path:null;r&&link.push({hid:"i18n-can",rel:"canonical",href:d(r,t)})}.bind(this)(this.$i18n.__baseUrl,r.link),function(t,e,meta){const r=t&&e;if(!r)return;meta.push({hid:"i18n-og",property:"og:locale",content:l(e)})}.bind(this)(n,o,r.meta),function(t,e,meta){const r=t.filter(t=>{const r=t.iso;return r&&r!==e});if(r.length){const t=r.map(t=>({hid:`i18n-og-alt-${t.iso}`,property:"og:locale:alternate",content:l(t.iso)}));meta.push(...t)}}.bind(this)(t,o,r.meta)}function l(t){return(t||"").replace(/-/g,"_")}function d(t,e){return t.match(/^https?:\/\//)?t:e+t}return r}function hn(){return un.call(this,{addDirAttribute:!1,addSeoAttributes:!0})}function cn(t,e,r){"object"==typeof r.value&&(r.value=ln(r.value)),r.enumerable&&!r.get&&!r.set&&r.configurable&&r.writable&&"__proto__"!==e?t[e]=r.value:Object.defineProperty(t,e,r)}function ln(t){if("object"!=typeof t)return t;var e,r,n,i=0,o=Object.prototype.toString.call(t);if("[object Object]"===o?n=Object.create(t.__proto__||null):"[object Array]"===o?n=Array(t.length):"[object Set]"===o?(n=new Set,t.forEach(function(t){n.add(ln(t))})):"[object Map]"===o?(n=new Map,t.forEach(function(t,e){n.set(ln(e),ln(t))})):"[object Date]"===o?n=new Date(+t):"[object RegExp]"===o?n=new RegExp(t.source,t.flags):"[object DataView]"===o?n=new t.constructor(ln(t.buffer)):"[object ArrayBuffer]"===o?n=t.slice(0):"Array]"===o.slice(-6)&&(n=new t.constructor(t)),n){for(r=Object.getOwnPropertySymbols(t);i{const{app:e,route:r,store:n,req:h,res:c,redirect:l}=t;Be.vuex&&n&&function(t,e){const r={namespaced:!0,state:()=>({...e.syncLocale?{locale:""}:{},...e.syncMessages?{messages:{}}:{},...e.syncRouteParams?{routeParams:{}}:{}}),actions:{...e.syncLocale?{setLocale({commit:t},e){t("setLocale",e)}}:{},...e.syncMessages?{setMessages({commit:t},e){t("setMessages",e)}}:{},...e.syncRouteParams?{setRouteParams({commit:t},e){t("setRouteParams",e)}}:{}},mutations:{...e.syncLocale?{setLocale(t,e){t.locale=e}}:{},...e.syncMessages?{setMessages(t,e){t.messages=e}}:{},...e.syncRouteParams?{setRouteParams(t,e){t.routeParams=e}}:{}},getters:{...e.syncRouteParams?{localeRouteParams:({routeParams:t})=>e=>t&&t[e]||{}}:{}}};t.registerModule(e.moduleName,r,{preserveState:!!t.state[e.moduleName]})}(n,Be.vuex,Be.localeCodes);const{lazy:d}=Be;d&&(!0===d||d.skipNuxtState);const{alwaysRedirect:f,fallbackLocale:m,onlyOnNoPrefix:y,onlyOnRoot:_,useCookie:v,cookieKey:w,cookieDomain:M,cookieSecure:A,cookieCrossOrigin:S}=Be.detectBrowserLanguage,k=async(r,{initialSetup:h=!1}={})=>{if(!r)return;if(!h&&e.i18n.differentDomains)return;const c=e.i18n.locale;if(r===c)return;const d=e.i18n.onBeforeLanguageSwitch(c,r,h,t);if(d&&e.i18n.localeCodes.includes(d)){if(d===c)return;r=d}if(h||e.i18n.beforeLanguageSwitch(c,r),v&&e.i18n.setLocaleCookie(r),Be.langDir){const n=e.i18n.fallbackLocale;if(Be.lazy){if(n){let e=[];Array.isArray(n)?e=n.map(e=>Ve(t,e)):"object"==typeof n?(n[r]&&(e=e.concat(n[r].map(e=>Ve(t,e)))),n.default&&(e=e.concat(n.default.map(e=>Ve(t,e))))):r!==n&&e.push(Ve(t,n)),await Promise.all(e)}await Ve(t,r)}else await Promise.all(Be.localeCodes.map(e=>Ve(t,e)))}e.i18n.locale=r;const f=Be.normalizedLocales.find(t=>t.code===r)||{code:r};for(const t of Object.keys(e.i18n.localeProperties))e.i18n.localeProperties[t]=void 0;for(const[t,r]of Object.entries(f))o.default.set(e.i18n.localeProperties,t,ln(r));Be.vuex&&await async function(t,e=null,r=null,n){n&&t&&(null!==e&&n.syncLocale&&await t.dispatch(n.moduleName+"/setLocale",e),null!==r&&n.syncMessages&&await t.dispatch(n.moduleName+"/setMessages",r))}(n,r,e.i18n.getLocaleMessage(r),Be.vuex);const{route:m}=t,y=T(m,r);h?e.i18n.__redirect=y:(e.i18n.onLanguageSwitched(c,r),y&&l(y))},L=function(t,{routesNameSeparator:e,defaultLocaleRouteNameSuffix:r}){const n=`(${t.join("|")})`,o=new RegExp(`${e}${n}(?:${e}${r})?$`,"i"),h=We(t);return t=>{if(t.name){const e=t.name.match(o);if(e&&e.length>1)return e[1]}else if(t.path){const e=t.path.match(h);if(e&&e.length>1)return e[1]}return""}}(Be.localeCodes,{routesNameSeparator:Be.routesNameSeparator,defaultLocaleRouteNameSuffix:Be.defaultLocaleRouteNameSuffix}),T=(t,r)=>{if(!r||e.i18n.differentDomains||Be.strategy===je.STRATEGIES.NO_PREFIX)return"";if(L(t)===r&&(!_&&!y||r!==Be.defaultLocale||Be.strategy!==je.STRATEGIES.PREFIX_AND_DEFAULT))return"";let n=e.switchLocalePath(r);return n||(n=e.localePath(t.fullPath,r)),!n||n===t.fullPath||n.startsWith("//")?"":n},x=async r=>{if("/"===r.path&&Be.rootRedirect){let t=302,path=Be.rootRedirect;return"string"!=typeof Be.rootRedirect&&(t=Be.rootRedirect.statusCode,path=Be.rootRedirect.path),[t,`/${path}`,!0]}const n=e.i18n.__redirect;if(n)return e.i18n.__redirect=null,[302,n];const o={differentDomains:Be.differentDomains,normalizedLocales:Be.normalizedLocales};e.i18n.__baseUrl=Ze(Be.baseUrl,t,e.i18n.locale,o);const h=Be.detectBrowserLanguage&&C(r)||L(r)||e.i18n.locale||e.i18n.defaultLocale||"";return Be.skipSettingLocaleOnNavigate?(e.i18n.__pendingLocale=h,e.i18n.__pendingLocalePromise=new Promise(t=>{e.i18n.__resolvePendingLocalePromise=t})):await e.i18n.setLocale(h),[null,null]},E=async()=>{e.i18n.__pendingLocale&&(await e.i18n.setLocale(e.i18n.__pendingLocale),e.i18n.__resolvePendingLocalePromise(""),e.i18n.__pendingLocale=null)},D=async()=>{e.i18n.__pendingLocale&&await e.i18n.__pendingLocalePromise},Y=()=>"undefined"!=typeof navigator&&navigator.languages?$e(Be.normalizedLocales,navigator.languages):h&&void 0!==h.headers["accept-language"]?$e(Be.normalizedLocales,h.headers["accept-language"].split(",").map(t=>t.split(";")[0])):void 0,C=t=>{if(Be.strategy!==je.STRATEGIES.NO_PREFIX)if(_){if("/"!==t.path)return""}else if(y&&!f&&t.path.match(We(Be.localeCodes)))return"";let r;v&&(r=e.i18n.getLocaleCookie())||(r=Y());const n=r||m;return!n||v&&!f&&e.i18n.getLocaleCookie()||n===e.i18n.locale?"":n},O=t=>{t.locales=ln(Be.locales),t.localeCodes=ln(Be.localeCodes),t.localeProperties=o.default.observable(ln(Be.normalizedLocales.find(e=>e.code===t.locale)||{code:t.locale})),t.defaultLocale=Be.defaultLocale,t.differentDomains=Be.differentDomains,t.beforeLanguageSwitch=Be.beforeLanguageSwitch,t.onBeforeLanguageSwitch=Be.onBeforeLanguageSwitch,t.onLanguageSwitched=Be.onLanguageSwitched,t.setLocaleCookie=t=>function(t,e,{useCookie:r,cookieDomain:n,cookieKey:o,cookieSecure:h,cookieCrossOrigin:c}){if(!r)return;const l=new Date,d={expires:new Date(l.setDate(l.getDate()+365)),path:"/",sameSite:c?"none":"lax",secure:c||h};n&&(d.domain=n),ze.a.set(o,t,d)}(t,0,{useCookie:v,cookieDomain:M,cookieKey:w,cookieSecure:A,cookieCrossOrigin:S}),t.getLocaleCookie=()=>function(t,{useCookie:e,cookieKey:r,localeCodes:n}){if(e){let t;if(t=ze.a.get(r),t&&n.includes(t))return t}}(0,{useCookie:v,cookieKey:w,localeCodes:Be.localeCodes}),t.setLocale=t=>k(t),t.getBrowserLocale=()=>Y(),t.finalizePendingLocaleChange=E,t.waitForPendingLocaleChange=D,t.__baseUrl=e.i18n.__baseUrl,t.__pendingLocale=e.i18n.__pendingLocale,t.__pendingLocalePromise=e.i18n.__pendingLocalePromise,t.__resolvePendingLocalePromise=e.i18n.__resolvePendingLocalePromise},P="function"==typeof Be.vueI18n?await Be.vueI18n(t):ln(Be.vueI18n);P.componentInstanceCreatedListener=O,e.i18n=t.i18n=new sn(P),e.i18n.locale="",e.i18n.fallbackLocale=P.fallbackLocale||"",O(e.i18n);const R={differentDomains:Be.differentDomains,normalizedLocales:Be.normalizedLocales};if(e.i18n.__baseUrl=Ze(Be.baseUrl,t,"",R),e.i18n.__onNavigate=x,o.default.prototype.$nuxtI18nSeo=hn,o.default.prototype.$nuxtI18nHead=un,n&&(n.$i18n=e.i18n,n.state.localeDomains))for(const t of e.i18n.locales)"string"!=typeof t&&(t.domain=n.state.localeDomains[t.code]);let j=Be.detectBrowserLanguage?C(r):"";if(!j){const{vuex:t}=Be;if(t&&t.syncLocale&&n&&""!==n.state[t.moduleName].locale)j=n.state[t.moduleName].locale;else if(e.i18n.differentDomains){j=function(t){let e;if(e=window.location.host,e){const r=t.find(t=>t.domain===e);if(r)return r.code}return""}(Be.normalizedLocales)}else if(Be.strategy!==je.STRATEGIES.NO_PREFIX){j=L(r)}}if(!j&&v&&(j=e.i18n.getLocaleCookie()),j||(j=e.i18n.defaultLocale||""),await k(j,{initialSetup:!0}),Ie){const[e,r]=await x(t.route);r&&location.assign(Object(Ge.joinURL)(t.base,r))}};const fn=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,pn=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;const mn=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,yn=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;const gn="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.39 Safari/537.36";var _n=async function(t,e){let r="";r=void 0!==t.req?t.req.headers["user-agent"]:"undefined"!=typeof navigator?navigator.userAgent:gn,r||(r=gn);let n=null,o=null,h=null,c=null,l=!1,d=!0;if("Amazon CloudFront"===r)"true"===t.req.headers["cloudfront-is-mobile-viewer"]&&(n=!0,o=!0),"true"===t.req.headers["cloudfront-is-tablet-viewer"]&&(n=!1,o=!0);else if(t.req&&t.req.headers["cf-device-type"])switch(t.req.headers["cf-device-type"]){case"mobile":n=!0,o=!0;break;case"tablet":n=!1,o=!0;break;case"desktop":n=!1,o=!1}else a=r,n=fn.test(a)||pn.test(a.substr(0,4)),o=function(a){return mn.test(a)||yn.test(a.substr(0,4))}(r),h=function(a){return/iPad|iPhone|iPod/.test(a)}(r),c=function(a){return/android/i.test(a)}(r);var a;l=function(a){return/Windows/.test(a)}(r),d=function(a){return/Mac OS X/.test(a)}(r),t.isMobile=n,t.isMobileOrTablet=o,t.isTablet=!n&&o,t.isDesktop=!o,t.isDesktopOrTablet=!n,t.isIos=h,t.isAndroid=c,t.isWindows=l,t.isMacOS=d,e("device",{isMobile:n,isMobileOrTablet:o,isTablet:!n&&o,isDesktop:!o,isIos:h,isAndroid:c,isWindows:l,isMacOS:d,isDesktopOrTablet:!n})},vn=r(137),bn=r.n(vn);function wn(t){if(null===t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&(!(Symbol.iterator in t)&&(!(Symbol.toStringTag in t)||"[object Module]"===Object.prototype.toString.call(t)))}function Mn(t,e,r=".",n){if(!wn(e))return Mn(t,{},r,n);const object={...e};for(const e of Object.keys(t)){if("__proto__"===e||"constructor"===e)continue;const o=t[e];null!=o&&(n&&n(object,e,o,r)||(Array.isArray(o)&&Array.isArray(object[e])?object[e]=[...o,...object[e]]:wn(o)&&wn(object[e])?object[e]=Mn(o,object[e],(r?`${r}.`:"")+e.toString(),n):object[e]=o))}return object}function An(t){return(...e)=>e.reduce((p,e)=>Mn(p,e,"",t),{})}const Sn=An(),kn=(An((object,t,e)=>{if(void 0!==object[t]&&"function"==typeof e)return object[t]=e(object[t]),!0}),An((object,t,e)=>{if(Array.isArray(object[t])&&"function"==typeof e)return object[t]=e(object[t]),!0}),{setBaseURL(t){this.defaults.baseURL=t},setHeader(t,e,r="common"){for(const n of Array.isArray(r)?r:[r])e?this.defaults.headers[n][t]=e:delete this.defaults.headers[n][t]},setToken(t,e,r="common"){const n=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",n,r)},onRequest(t){this.interceptors.request.use(e=>t(e)||e)},onResponse(t){this.interceptors.response.use(e=>t(e)||e)},onRequestError(t){this.interceptors.request.use(void 0,e=>t(e)||Promise.reject(e))},onResponseError(t){this.interceptors.response.use(void 0,e=>t(e)||Promise.reject(e))},onError(t){this.onRequestError(t),this.onResponseError(t)},create(t){return Ln(Sn(t,this.defaults))}});for(const t of["request","delete","get","head","options","post","put","patch"])kn["$"+t]=function(){return this[t].apply(this,arguments).then(t=>t&&t.data)};const Ln=t=>{const e=bn.a.create(t);return e.CancelToken=bn.a.CancelToken,e.isCancel=bn.a.isCancel,(t=>{for(const e in kn)t[e]=kn[e].bind(t)})(e),e.onRequest(t=>{t.headers={...e.defaults.headers.common,...t.headers}}),Tn(e),xn(e),e},Tn=t=>{t.onRequest(t=>{void 0===t.withCredentials&&(/^https?:\/\//i.test(t.url)&&0!==t.url.indexOf(t.baseURL)||(t.withCredentials=!0))})},xn=t=>{const e={finish:()=>{},start:()=>{},fail:()=>{},set:()=>{}},r=()=>{const t="undefined"!=typeof window&&window.$nuxt;return t&&t.$loading&&t.$loading.set?t.$loading:e};let n=0;t.onRequest(t=>{t&&!1===t.progress||n++}),t.onResponse(t=>{t&&t.config&&!1===t.config.progress||(n--,n<=0&&(n=0,r().finish()))}),t.onError(t=>{t&&t.config&&!1===t.config.progress||(n--,bn.a.isCancel(t)?n<=0&&(n=0,r().finish()):(r().fail(),r().finish()))});const o=t=>{if(!n||!t.total)return;const progress=100*t.loaded/(t.total*n);r().set(Math.min(100,progress))};t.defaults.onUploadProgress=o,t.defaults.onDownloadProgress=o};var En=(t,e)=>{const r=t.$config&&t.$config.axios||{},n=r.browserBaseURL||r.browserBaseUrl||r.baseURL||r.baseUrl||"/interchat/back/api";const o=Ln({baseURL:n,headers:{common:{Accept:"application/json, text/plain, */*"},delete:{},get:{},head:{},post:{},put:{},patch:{},"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"}});t.$axios=o,e("axios",o)},Dn=r(241),Yn=r(242),Cn=r(243),On=r(244),Pn=r(245),Rn=r(246),jn=r(36),In=r(247),Nn=r(248),Bn=r(249);const Hn=t=>null==t,Fn=t=>!Hn(t),Un=(a,b)=>a.split("?")[0].replace(/\/+$/,"")===b.split("?")[0].replace(/\/+$/,""),zn=u=>u&&u.length&&/^\/([a-zA-Z0-9@\-%_~][/a-zA-Z0-9@\-%_~]*)?([?][^#]*)?(#[^#]*)?$/.test(u),qn=(t,e,r)=>t.matched.some(t=>Object.values(t.components).some(component=>component.options&&component.options[e]===r));function $n(path=""){let t=path.split("?")[0];return"/"===t.charAt(t.length-1)&&(t=t.slice(0,-1)),t}function Wn(t){return"string"==typeof t?t:JSON.stringify(t)}function Gn(t){if("string"==typeof t)try{return JSON.parse(t)}catch(t){}return t}function Vn(t,e){if(!e||!t)return t;if(e in t)return t[e];const r=Array.isArray(e)?e:(e+"").split(".");let n=t;for(;r.length&&n;)n=n[r.shift()];return n}class Zn{constructor(t,e){this.ctx=t,this.options=e,this._initState()}setUniversal(t,e){return Hn(e)?this.removeUniversal(t):(this.setState(t,e),this.setCookie(t,e),this.setLocalStorage(t,e),e)}getUniversal(t){let e=this.getState(t);return Hn(e)&&(e=this.getCookie(t)),Hn(e)&&(e=this.getLocalStorage(t)),e}syncUniversal(t,e){let r=this.getUniversal(t);return Hn(r)&&Fn(e)&&(r=e),Fn(r)&&this.setUniversal(t,r),r}removeUniversal(t){this.removeState(t),this.removeLocalStorage(t),this.removeCookie(t)}_initState(){if(o.default.set(this,"_state",{}),this._useVuex=this.options.vuex&&this.ctx.store,this._useVuex){const t={namespaced:!0,state:()=>this.options.initialState,mutations:{SET(t,e){o.default.set(t,e.key,e.value)}}};this.ctx.store.registerModule(this.options.vuex.namespace,t,{preserveState:Boolean(this.ctx.store.state[this.options.vuex.namespace])}),this.state=this.ctx.store.state[this.options.vuex.namespace]}else o.default.set(this,"state",{})}setState(t,e){return"_"===t[0]?o.default.set(this._state,t,e):this._useVuex?this.ctx.store.commit(this.options.vuex.namespace+"/SET",{key:t,value:e}):o.default.set(this.state,t,e),e}getState(t){return"_"!==t[0]?this.state[t]:this._state[t]}watchState(t,e){if(this._useVuex)return this.ctx.store.watch(e=>Vn(e[this.options.vuex.namespace],t),e)}removeState(t){this.setState(t,void 0)}setLocalStorage(t,e){if(Hn(e))return this.removeLocalStorage(t);if("undefined"==typeof localStorage||!this.options.localStorage)return;const r=this.options.localStorage.prefix+t;try{localStorage.setItem(r,Wn(e))}catch(t){if(!this.options.ignoreExceptions)throw t}return e}getLocalStorage(t){if("undefined"==typeof localStorage||!this.options.localStorage)return;const e=this.options.localStorage.prefix+t;return Gn(localStorage.getItem(e))}removeLocalStorage(t){if("undefined"==typeof localStorage||!this.options.localStorage)return;const e=this.options.localStorage.prefix+t;localStorage.removeItem(e)}getCookies(){const t=document.cookie;return Object(Fe.parse)(t||"")||{}}setCookie(t,e,r={}){if(!this.options.cookie)return;const n=this.options.cookie.prefix+t,o=Object.assign({},this.options.cookie.options,r),h=Wn(e);Hn(e)&&(o.maxAge=-1),"number"==typeof o.expires&&(o.expires=new Date(1*new Date+864e5*o.expires));const c=Object(Fe.serialize)(n,h,o);return document.cookie=c,e}getCookie(t){if(!this.options.cookie)return;const e=this.options.cookie.prefix+t,r=this.getCookies();return Gn(r[e]?decodeURIComponent(r[e]):void 0)}removeCookie(t,e){this.setCookie(t,void 0,e)}}class Kn{constructor(t,e){this.ctx=t,this.options=e,this.strategies={},this._errorListeners=[],this._redirectListeners=[],e.initialState={user:null,loggedIn:!1};const r=new Zn(t,e);this.$storage=r,this.$state=r.state}async init(){if(this.options.resetOnError&&this.onError((...t)=>{("function"!=typeof this.options.resetOnError||this.options.resetOnError(...t))&&this.reset()}),this.$storage.syncUniversal("strategy",this.options.defaultStrategy),!this.strategy&&(this.$storage.setUniversal("strategy",this.options.defaultStrategy),!this.strategy))return Promise.resolve();try{await this.mounted()}catch(t){this.callOnError(t)}finally{this.options.watchLoggedIn&&this.$storage.watchState("loggedIn",t=>{qn(this.ctx.route,"auth",!1)||this.redirect(t?"home":"logout")})}}get state(){return this._state_warn_shown||(this._state_warn_shown=!0,console.warn("[AUTH] $auth.state is deprecated. Please use $auth.$state or top level props like $auth.loggedIn")),this.$state}getState(t){return this._get_state_warn_shown||(this._get_state_warn_shown=!0,console.warn("[AUTH] $auth.getState is deprecated. Please use $auth.$storage.getState() or top level props like $auth.loggedIn")),this.$storage.getState(t)}get strategy(){return this.strategies[this.$state.strategy]}registerStrategy(t,e){this.strategies[t]=e}setStrategy(t){return t===this.$storage.getUniversal("strategy")?Promise.resolve():(this.$storage.setUniversal("strategy",t),this.mounted())}mounted(){return this.strategy.mounted?Promise.resolve(this.strategy.mounted(...arguments)).catch(t=>(this.callOnError(t,{method:"mounted"}),Promise.reject(t))):this.fetchUserOnce()}loginWith(t,...e){return this.setStrategy(t).then(()=>this.login(...e))}login(){return this.strategy.login?this.wrapLogin(this.strategy.login(...arguments)).catch(t=>(this.callOnError(t,{method:"login"}),Promise.reject(t))):Promise.resolve()}fetchUser(){return this.strategy.fetchUser?Promise.resolve(this.strategy.fetchUser(...arguments)).catch(t=>(this.callOnError(t,{method:"fetchUser"}),Promise.reject(t))):Promise.resolve()}logout(){return this.strategy.logout?Promise.resolve(this.strategy.logout(...arguments)).catch(t=>(this.callOnError(t,{method:"logout"}),Promise.reject(t))):(this.reset(),Promise.resolve())}setUserToken(t){return this.strategy.setUserToken?Promise.resolve(this.strategy.setUserToken(t)).catch(t=>(this.callOnError(t,{method:"setUserToken"}),Promise.reject(t))):(this.setToken(this.strategy.name,t),Promise.resolve())}reset(){return this.strategy.reset?Promise.resolve(this.strategy.reset(...arguments)).catch(t=>(this.callOnError(t,{method:"reset"}),Promise.reject(t))):(this.setUser(!1),this.setToken(this.$state.strategy,!1),this.setRefreshToken(this.$state.strategy,!1),Promise.resolve())}getToken(t){const e=this.options.token.prefix+t;return this.$storage.getUniversal(e)}setToken(t,e){const r=this.options.token.prefix+t;return this.$storage.setUniversal(r,e)}syncToken(t){const e=this.options.token.prefix+t;return this.$storage.syncUniversal(e)}getRefreshToken(t){const e=this.options.refresh_token.prefix+t;return this.$storage.getUniversal(e)}setRefreshToken(t,e){const r=this.options.refresh_token.prefix+t;return this.$storage.setUniversal(r,e)}syncRefreshToken(t){const e=this.options.refresh_token.prefix+t;return this.$storage.syncUniversal(e)}get user(){return this.$state.user}get loggedIn(){return this.$state.loggedIn}fetchUserOnce(){return this.$state.user?Promise.resolve():this.fetchUser(...arguments)}setUser(t){this.$storage.setState("user",t),this.$storage.setState("loggedIn",Boolean(t))}get busy(){return this.$storage.getState("busy")}request(t,e,r){const n="object"==typeof e?Object.assign({},e,t):t;if(this.ctx.app.$axios)return this.ctx.app.$axios.request(n).then(t=>{const e=n.propertyName?Vn(t.data,n.propertyName):t.data;return r?{response:t,result:e}:e}).catch(t=>(this.callOnError(t,{method:"request"}),Promise.reject(t)));console.error("[AUTH] add the @nuxtjs/axios module to nuxt.config file")}requestWith(t,e,r,n){const o=this.getToken(t),h=Object.assign({},r,e),c=this.strategies[t].options.tokenName||"Authorization";return h.headers||(h.headers={}),!h.headers[c]&&Fn(o)&&o&&(h.headers[c]=o),this.request(h,!1,n)}wrapLogin(t){return this.$storage.setState("busy",!0),this.error=null,Promise.resolve(t).then(t=>(this.$storage.setState("busy",!1),t)).catch(t=>(this.$storage.setState("busy",!1),Promise.reject(t)))}onError(t){this._errorListeners.push(t)}callOnError(t,e={}){this.error=t;for(const r of this._errorListeners)r(t,e)}redirect(t,e=!1){if(!this.options.redirect)return;const r=this.options.fullPathRedirect?this.ctx.route.fullPath:this.ctx.route.path;let n=this.options.redirect[t];if(n){if(this.options.rewriteRedirects&&("login"===t&&zn(r)&&!Un(n,r)&&this.$storage.setUniversal("redirect",r),"home"===t)){const t=this.$storage.getUniversal("redirect");this.$storage.setUniversal("redirect",null),zn(t)&&(n=t)}n=this.callOnRedirect(n,r)||n,Un(n,r)||(e?window.location.replace(n):this.ctx.redirect(n,this.ctx.query))}}onRedirect(t){this._redirectListeners.push(t)}callOnRedirect(t,e){for(const r of this._redirectListeners)t=r(t,e)||t;return t}hasScope(t){const e=this.$state.user&&Vn(this.$state.user,this.options.scopeKey);return!!e&&(Array.isArray(e)?e.includes(t):Boolean(Vn(e,t)))}}Je.a.auth=function(t){if(qn(t.route,"auth",!1))return;const e=((t,e=!1)=>[].concat.apply([],t.matched.map(function(t,r){return Object.keys(t.components).map(function(n){return e&&e.push(r),t.components[n]})})))(t.route,[]);if(!e.length)return;const{login:r,callback:n}=t.$auth.options.redirect,o=qn(t.route,"auth","guest"),h=e=>$n(t.route.path)===$n(e);t.$auth.$state.loggedIn?(!r||h(r)||o)&&t.$auth.redirect("home"):o||n&&h(n)||t.$auth.redirect("login")};class Jn{constructor(t,e){this.$auth=t,this.name=e._name,this.options=Object.assign({},Qn,e)}_setToken(t){this.options.globalToken&&this.$auth.ctx.app.$axios.setHeader(this.options.tokenName,t)}_clearToken(){this.options.globalToken&&this.$auth.ctx.app.$axios.setHeader(this.options.tokenName,!1)}mounted(){if(this.options.tokenRequired){const t=this.$auth.syncToken(this.name);this._setToken(t)}return this.$auth.fetchUserOnce()}async login(t){if(!this.options.endpoints.login)return;await this.$auth.reset();const{response:e,result:r}=await this.$auth.request(t,this.options.endpoints.login,!0);if(this.options.tokenRequired){const t=this.options.tokenType?this.options.tokenType+" "+r:r;this.$auth.setToken(this.name,t),this._setToken(t)}return this.options.autoFetchUser&&await this.fetchUser(),e}async setUserToken(t){const e=this.options.tokenType?this.options.tokenType+" "+t:t;return this.$auth.setToken(this.name,e),this._setToken(e),this.fetchUser()}async fetchUser(t){if(this.options.tokenRequired&&!this.$auth.getToken(this.name))return;if(!this.options.endpoints.user)return void this.$auth.setUser({});const e=await this.$auth.requestWith(this.name,t,this.options.endpoints.user);this.$auth.setUser(e)}async logout(t){return this.options.endpoints.logout&&await this.$auth.requestWith(this.name,t,this.options.endpoints.logout).catch(()=>{}),this.$auth.reset()}async reset(){return this.options.tokenRequired&&this._clearToken(),this.$auth.setUser(!1),this.$auth.setToken(this.name,!1),this.$auth.setRefreshToken(this.name,!1),Promise.resolve()}}const Qn={tokenRequired:!0,tokenType:"Bearer",globalToken:!0,tokenName:"Authorization",autoFetchUser:!0};var Xn=function(t,e){const r=new Kn(t,{resetOnError:!1,scopeKey:"scope",rewriteRedirects:!1,fullPathRedirect:!1,watchLoggedIn:!0,redirect:{login:"/login",logout:"/",home:"/",callback:"/callback"},vuex:{namespace:"auth"},cookie:{prefix:"auth.",options:{path:"/"}},localStorage:{prefix:"auth."},token:{prefix:"_token."},refresh_token:{prefix:"_refresh_token."},defaultStrategy:"local"});return r.registerStrategy("local",new Jn(r,{endpoints:{login:{url:"/auth/login",method:"post",propertyName:"token"},logout:{url:"/auth/logout",method:"post"},user:{url:"/users/me",method:"get",propertyName:"user"}},tokenRequired:!0,tokenType:"",_name:"local"})),e("auth",r),t.$auth=r,r.init().catch(t=>{console.error("[ERROR] [AUTH]",t)})},ti=r(250);o.default.component(d.a.name,d.a),o.default.component(m.a.name,{...m.a,render:(t,e)=>(m.a._warned||(m.a._warned=!0,console.warn(" has been deprecated and will be removed in Nuxt 3, please use instead")),m.a.render(t,e))}),o.default.component(A.name,A),o.default.component("NChild",A),o.default.component(E.name,E),Object.defineProperty(o.default.prototype,"$nuxt",{get(){const t=this.$root?this.$root.$options.$nuxt:null;return t||"undefined"==typeof window?t:window.$nuxt},configurable:!0}),o.default.use(c.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});const ei={name:"page",mode:"out-in",appear:!0,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};h.a.Store.prototype.registerModule;async function ri(t,e={}){const r=F(t),n=await function(t,e){const base=e._app&&e._app.basePath||M.base,r=new y.a({...M,base:base}),n=r.push;r.push=function(t,e=w,r){return n.call(this,t,e,r)};const o=r.resolve.bind(r);return r.resolve=(t,e,r)=>("string"==typeof t&&(t=Object(_.c)(t)),o(t,e,r)),r}(0,e);r.$router=n;const h={head:{title:"",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1, user-scalable = no"},{hid:"description",name:"description",content:""},{name:"appleStatusBarStyle",content:"black-translucent"}],script:[],link:[{rel:"icon",type:"image/svg+xml",href:"/favicon.svg"},{rel:"alternate icon",type:"image/png",href:"/icon.png"},{rel:"apple-touch-icon",href:"/icon.png"}],style:[]},store:r,router:n,nuxt:{defaultTransition:ei,transitions:[ei],setTransitions(t){return Array.isArray(t)||(t=[t]),t=t.map(t=>t=t?"string"==typeof t?Object.assign({},ei,{name:t}):Object.assign({},ei,t):ei),this.$options.nuxt.transitions=t,t},err:null,errPageReady:!1,dateErr:null,error(e){e=e||null,h.context._errored=Boolean(e),e=e?Object(v.p)(e):null;let r=h.nuxt;return this&&(r=this.nuxt||this.$options.nuxt),r.dateErr=Date.now(),r.err=e,r.errPageReady=!1,t&&(t.nuxt.error=e),e}},...N};r.app=h;const c=t?t.next:t=>h.router.push(t);let l;if(t)l=n.resolve(t.url).route;else{const path=Object(v.f)(n.options.base,n.options.mode);l=n.resolve(path).route}function d(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error(`inject('${t}', value) has no value provided`);h[t="$"+t]=e,h.context[t]||(h.context[t]=e),r[t]=h[t];const n="__nuxt_"+t+"_installed__";o.default[n]||(o.default[n]=!0,o.default.use(()=>{Object.prototype.hasOwnProperty.call(o.default.prototype,t)||Object.defineProperty(o.default.prototype,t,{get(){return this.$root.$options[t]}})}))}return await Object(v.t)(h,{store:r,route:l,next:c,error:h.nuxt.error.bind(h),payload:t?t.payload:void 0,req:t?t.req:void 0,res:t?t.res:void 0,beforeRenderFns:t?t.beforeRenderFns:void 0,beforeSerializeFns:t?t.beforeSerializeFns:void 0,ssrContext:t}),d("config",e),window.__NUXT__&&window.__NUXT__.state&&r.replaceState(window.__NUXT__.state),h.context.enablePreview=function(t={}){h.previewData=Object.assign({},t),d("preview",t)},"function"==typeof Oe&&await Oe(h.context,d),"function"==typeof Pe&&await Pe(h.context,d),"function"==typeof cr&&await cr(h.context,d),"function"==typeof dn&&await dn(h.context,d),"function"==typeof _n&&await _n(h.context,d),"function"==typeof En&&await En(h.context,d),"function"==typeof Dn.a&&await Object(Dn.a)(h.context,d),"function"==typeof Yn.default&&await Object(Yn.default)(h.context,d),"function"==typeof Cn.default&&await Object(Cn.default)(h.context,d),"function"==typeof On.default&&await Object(On.default)(h.context,d),"function"==typeof Pn.default&&await Object(Pn.default)(h.context,d),"function"==typeof Rn.a&&await Object(Rn.a)(h.context,d),"function"==typeof jn.b&&await Object(jn.b)(h.context,d),"function"==typeof In.a&&await Object(In.a)(h.context,d),"function"==typeof Nn.default&&await Object(Nn.default)(h.context,d),"function"==typeof Bn.default&&await Object(Bn.default)(h.context,d),"function"==typeof Xn&&await Xn(h.context,d),"function"==typeof ti.a&&await Object(ti.a)(h.context,d),h.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},await new Promise((t,e)=>{{const{route:e}=n.resolve(h.context.route.fullPath);if(!e.matched.length)return t()}n.replace(h.context.route.fullPath,t,r=>{if(!r._isRouter)return e(r);if(2!==r.type)return t();const o=n.afterEach(async(e,r)=>{h.context.route=await Object(v.j)(e),h.context.params=e.params||{},h.context.query=e.query||{},o(),t()})})}),{store:r,app:h,router:n}}},,function(t,e,r){"use strict";var n=r(18).Buffer,o=r(112).Transform,h=r(118).StringDecoder,c=r(15),l=r(146);function d(t){o.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}c(d,o),d.prototype.update=function(data,t,e){var r=l(data,t),n=this._update(r);return this.hashMode?this:(e&&(n=this._toString(n,e)),n)},d.prototype.setAutoPadding=function(){},d.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},d.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},d.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},d.prototype._transform=function(data,t,e){var r;try{this.hashMode?this._update(data):this.push(this._update(data))}catch(t){r=t}finally{e(r)}},d.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},d.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},d.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new h(e),this._encoding=e),this._encoding!==e)throw new Error("can’t switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},t.exports=d},,,,,function(t,e,r){(function(e){var n=r(153),o=r(885),h=(r(33),r(224).Ber,r(38)._),c=r(38),l=r(98),d=r(899);void 0===n.RSA_NO_PADDING&&(n.RSA_NO_PADDING=3),t.exports=function(){var t={node10:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],node:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],iojs:["md4","md5","ripemd160","sha1","sha224","sha256","sha384","sha512"],browser:["md5","ripemd160","sha1","sha256","sha512"]},r="pkcs1_oaep",n="pkcs1",f={private:"pkcs1-private-pem","private-der":"pkcs1-private-der",public:"pkcs8-public-pem","public-der":"pkcs8-public-der"};function m(t,l,d){if(!(this instanceof m))return new m(t,l,d);h.isObject(l)&&(d=l,l=void 0),this.$options={signingScheme:n,signingSchemeOptions:{hash:"sha256",saltLength:null},encryptionScheme:r,encryptionSchemeOptions:{hash:"sha1",label:null},environment:c.detectEnvironment(),rsaUtils:this},this.keyPair=new o.Key,this.$cache={},e.isBuffer(t)||h.isString(t)?this.importKey(t,l):h.isObject(t)&&this.generateKeyPair(t.b,t.e),this.setOptions(d)}return m.prototype.setOptions=function(e){if((e=e||{}).environment&&(this.$options.environment=e.environment),e.signingScheme){if(h.isString(e.signingScheme)){var o=e.signingScheme.toLowerCase().split("-");1==o.length?t.node.indexOf(o[0])>-1?(this.$options.signingSchemeOptions={hash:o[0]},this.$options.signingScheme=n):(this.$options.signingScheme=o[0],this.$options.signingSchemeOptions={hash:null}):(this.$options.signingSchemeOptions={hash:o[1]},this.$options.signingScheme=o[0])}else h.isObject(e.signingScheme)&&(this.$options.signingScheme=e.signingScheme.scheme||n,this.$options.signingSchemeOptions=h.omit(e.signingScheme,"scheme"));if(!l.isSignature(this.$options.signingScheme))throw Error("Unsupported signing scheme");if(this.$options.signingSchemeOptions.hash&&-1===t[this.$options.environment].indexOf(this.$options.signingSchemeOptions.hash))throw Error("Unsupported hashing algorithm for "+this.$options.environment+" environment")}if(e.encryptionScheme){if(h.isString(e.encryptionScheme)?(this.$options.encryptionScheme=e.encryptionScheme.toLowerCase(),this.$options.encryptionSchemeOptions={}):h.isObject(e.encryptionScheme)&&(this.$options.encryptionScheme=e.encryptionScheme.scheme||r,this.$options.encryptionSchemeOptions=h.omit(e.encryptionScheme,"scheme")),!l.isEncryption(this.$options.encryptionScheme))throw Error("Unsupported encryption scheme");if(this.$options.encryptionSchemeOptions.hash&&-1===t[this.$options.environment].indexOf(this.$options.encryptionSchemeOptions.hash))throw Error("Unsupported hashing algorithm for "+this.$options.environment+" environment")}this.keyPair.setOptions(this.$options)},m.prototype.generateKeyPair=function(t,e){if(e=e||65537,(t=t||2048)%8!=0)throw Error("Key size must be a multiple of 8.");return this.keyPair.generate(t,e.toString(16)),this.$cache={},this},m.prototype.importKey=function(t,e){if(!t)throw Error("Empty key given");if(e&&(e=f[e]||e),!d.detectAndImport(this.keyPair,t,e)&&void 0===e)throw Error("Key format must be specified");return this.$cache={},this},m.prototype.exportKey=function(t){return t=f[t=t||"private"]||t,this.$cache[t]||(this.$cache[t]=d.detectAndExport(this.keyPair,t)),this.$cache[t]},m.prototype.isPrivate=function(){return this.keyPair.isPrivate()},m.prototype.isPublic=function(t){return this.keyPair.isPublic(t)},m.prototype.isEmpty=function(t){return!(this.keyPair.n||this.keyPair.e||this.keyPair.d)},m.prototype.encrypt=function(t,e,r){return this.$$encryptKey(!1,t,e,r)},m.prototype.decrypt=function(t,e){return this.$$decryptKey(!1,t,e)},m.prototype.encryptPrivate=function(t,e,r){return this.$$encryptKey(!0,t,e,r)},m.prototype.decryptPublic=function(t,e){return this.$$decryptKey(!0,t,e)},m.prototype.$$encryptKey=function(t,e,r,n){try{var o=this.keyPair.encrypt(this.$getDataForEncrypt(e,n),t);return"buffer"!=r&&r?o.toString(r):o}catch(t){throw Error("Error during encryption. Original error: "+t)}},m.prototype.$$decryptKey=function(t,r,n){try{r=h.isString(r)?e.from(r,"base64"):r;var o=this.keyPair.decrypt(r,t);if(null===o)throw Error("Key decrypt method returns null.");return this.$getDecryptedData(o,n)}catch(t){throw Error("Error during decryption (probably incorrect key). Original error: "+t)}},m.prototype.sign=function(t,e,r){if(!this.isPrivate())throw Error("This is not private key");var n=this.keyPair.sign(this.$getDataForEncrypt(t,r));return e&&"buffer"!=e&&(n=n.toString(e)),n},m.prototype.verify=function(t,e,r,n){if(!this.isPublic())throw Error("This is not public key");return n=n&&"buffer"!=n?n:null,this.keyPair.verify(this.$getDataForEncrypt(t,r),e,n)},m.prototype.getKeySize=function(){return this.keyPair.keySize},m.prototype.getMaxMessageSize=function(){return this.keyPair.maxMessageLength},m.prototype.$getDataForEncrypt=function(t,r){if(h.isString(t)||h.isNumber(t))return e.from(""+t,r||"utf8");if(e.isBuffer(t))return t;if(h.isObject(t))return e.from(JSON.stringify(t));throw Error("Unexpected data type")},m.prototype.$getDecryptedData=function(t,e){return"buffer"==(e=e||"buffer")?t:"json"==e?JSON.parse(t.toString()):t.toString(e)},m}()}).call(this,r(20).Buffer)},,function(t,e,r){"use strict";var n=r(145),o=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=y;var h=Object.create(r(117));h.inherits=r(15);var c=r(283),l=r(203);h.inherits(y,c);for(var d=o(l.prototype),f=0;f1?{type:v[n],data:data.substring(1)}:{type:v[n]}:w}n=new Uint8Array(data)[0];var o=c(data,1);return M&&"blob"===t&&(o=new M([o])),{type:v[n],data:o}},e.decodeBase64Packet=function(t,e){var r=v[t.charAt(0)];if(!n)return{type:r,data:{base64:!0,data:t.substr(1)}};var data=n.decode(t.substr(1));return"blob"===e&&M&&(data=new M([data])),{type:r,data:data}},e.encodePayload=function(t,r,n){"function"==typeof r&&(n=r,r=null);var o=h(t);if(r&&o)return M&&!y?e.encodePayloadAsBlob(t,n):e.encodePayloadAsArrayBuffer(t,n);if(!t.length)return n("0:");map(t,function(t,n){e.encodePacket(t,!!o&&r,!1,function(t){n(null,function(t){return t.length+":"+t}(t))})},function(t,e){return n(e.join(""))})},e.decodePayload=function(data,t,r){if("string"!=typeof data)return e.decodePayloadAsBinary(data,t,r);var n;if("function"==typeof t&&(r=t,t=null),""===data)return r(w,0,1);for(var o,h,c="",i=0,l=data.length;i0;){for(var h=new Uint8Array(n),l=0===h[0],d="",i=1;255!==h[i];i++){if(d.length>310)return r(w,0,1);d+=h[i]}n=c(n,2+d.length),d=parseInt(d);var f=c(n,0,d);if(l)try{f=String.fromCharCode.apply(null,new Uint8Array(f))}catch(t){var m=new Uint8Array(f);f="";for(i=0;ih)throw new RangeError("requested too many random bytes");var r=c.allocUnsafe(t);if(t>0)if(t>o)for(var d=0;d=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,o=(r-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var h=this._hash();return t?h.toString(t):h},h.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=h},function(t,e,r){"use strict";var n={};function o(code,t,e){e||(e=Error);var r=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(e);r.prototype.name=e.name,r.prototype.code=code,n[code]=r}function h(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map(function(i){return String(i)}),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}o("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),o("ERR_INVALID_ARG_TYPE",function(t,e,r){var n,o,c,l;if("string"==typeof e&&(o="not ",e.substr(!c||c<0?0:+c,o.length)===o)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))l="The ".concat(t," ").concat(n," ").concat(h(e,"type"));else{var d=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";l='The "'.concat(t,'" ').concat(d," ").concat(n," ").concat(h(e,"type"))}return l+=". Received type ".concat(typeof r)},TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},function(t,e,r){"use strict";(function(e){var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=f;var o=r(338),h=r(342);r(15)(f,o);for(var c=n(h.prototype),l=0;l>14;--o>=0;){var l=16383&this[i],d=this[i++]>>14,f=c*l+d*h;n=((l=h*l+((16383&f)<<14)+e[r]+n)>>28)+(f>>14)+c*d,e[r++]=268435455&l}return n},h.prototype.DB=28,h.prototype.DM=268435455,h.prototype.DV=1<<28;h.prototype.FV=Math.pow(2,52),h.prototype.F1=24,h.prototype.F2=4;var l,d,f=new Array;for(l="0".charCodeAt(0),d=0;d<=9;++d)f[l++]=d;for(l="a".charCodeAt(0),d=10;d<36;++d)f[l++]=d;for(l="A".charCodeAt(0),d=10;d<36;++d)f[l++]=d;function m(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function y(s,i){var t=f[s.charCodeAt(i)];return null==t?-1:t}function _(i){var t=c();return t.fromInt(i),t}function v(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function w(t){this.m=t}function M(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,e+=16),255&t||(t>>=8,e+=8),15&t||(t>>=4,e+=4),3&t||(t>>=2,e+=2),1&t||++e,e}function x(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function E(){}function D(t){return t}function Y(t){this.r2=c(),this.q3=c(),h.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}w.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},w.prototype.revert=function(t){return t},w.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},w.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},w.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},M.prototype.convert=function(t){var e=c();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(h.ZERO)>0&&this.m.subTo(e,e),e},M.prototype.revert=function(t){var e=c();return t.copyTo(e),this.reduce(e),e},M.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var i=0;i>15)*this.mpl&this.um)<<15)&t.DM;for(t[e=i+this.m.t]+=this.m.am(0,r,t,i,0,this.m.t);t[e]>=t.DV;)t[e]-=t.DV,t[++e]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},M.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},M.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},E.prototype.convert=D,E.prototype.revert=D,E.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r)},E.prototype.sqrTo=function(t,e){t.squareTo(e)},Y.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=c();return t.copyTo(e),this.reduce(e),e},Y.prototype.revert=function(t){return t},Y.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},Y.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},Y.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var C=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],O=(1<<26)/C[C.length-1];h.prototype.copyTo=function(t){for(var i=this.t-1;i>=0;--i)t[i]=this[i];t.t=this.t,t.s=this.s},h.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+DV:this.t=0},h.prototype.fromString=function(data,t,e){var r;switch(t){case 2:r=1;break;case 4:r=2;break;case 8:r=3;break;case 16:r=4;break;case 32:r=5;break;case 256:r=8;break;default:return void this.fromRadix(data,t)}this.t=0,this.s=0;for(var i=data.length,n=!1,o=0;--i>=0;){var c=8==r?255&data[i]:y(data,i);c<0?"-"==data.charAt(i)&&(n=!0):(n=!1,0===o?this[this.t++]=c:o+r>this.DB?(this[this.t-1]|=(c&(1<>this.DB-o):this[this.t-1]|=c<=this.DB&&(o-=this.DB))}!e&&8==r&&128&data[0]&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},h.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},h.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--i)e[i+h+1]=this[i]>>n|c,c=(this[i]&o)<=0;--i)e[i]=0;e[h]=c,e.t=this.t+h+1,e.s=this.s,e.clamp()},h.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,o=this.DB-n,h=(1<>n;for(var i=r+1;i>n;n>0&&(e[this.t-r-1]|=(this.s&h)<>=this.DB;if(a.t>=this.DB;e+=this.s}else{for(e+=this.s;i>=this.DB;e-=a.s}t.s=e<0?-1:0,e<-1?t[i++]=this.DV+e:e>0&&(t[i++]=e),t.t=i,t.clamp()},h.prototype.multiplyTo=function(a,t){var e=this.abs(),r=a.abs(),i=e.t;for(t.t=i+r.t;--i>=0;)t[i]=0;for(i=0;i=0;)t[i]=0;for(i=0;i=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},h.prototype.divRemTo=function(t,q,e){var r=t.abs();if(!(r.t<=0)){var n=this.abs();if(n.t0?(r.lShiftTo(f,o),n.lShiftTo(f,e)):(r.copyTo(o),n.copyTo(e));var m=o.t,y=o[m-1];if(0!==y){var _=y*(1<1?o[m-2]>>this.F2:0),w=this.FV/_,M=(1<=0&&(e[e.t++]=1,e.subTo(k,e)),h.ONE.dlShiftTo(m,k),k.subTo(o,o);o.t=0;){var L=e[--i]==y?this.DM:Math.floor(e[i]*w+(e[i-1]+A)*M);if((e[i]+=o.am(0,L,e,S,0,m))0&&e.rShiftTo(f,e),l<0&&h.ZERO.subTo(e,e)}}},h.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(!(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},h.prototype.isEven=function(){return 0===(this.t>0?1&this[0]:this.s)},h.prototype.exp=function(t,e){if(t>4294967295||t<1)return h.ONE;var r=c(),n=c(),g=e.convert(this),i=v(t)-1;for(g.copyTo(r);--i>=0;)if(e.sqrTo(r,n),(t&1<0)e.mulTo(n,g,r);else{var o=r;r=n,n=o}return e.revert(r)},h.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},h.prototype.toRadix=function(b){if(null==b&&(b=10),0===this.signum()||b<2||b>36)return"0";var t=this.chunkSize(b),a=Math.pow(b,t),e=_(a),r=c(),n=c(),o="";for(this.divRemTo(e,r,n);r.signum()>0;)o=(a+n.intValue()).toString(b).substr(1)+o,r.divRemTo(e,r,n);return n.intValue().toString(b)+o},h.prototype.fromRadix=function(s,b){this.fromInt(0),null==b&&(b=10);for(var t=this.chunkSize(b),e=Math.pow(b,t),r=!1,n=0,o=0,i=0;i=t&&(this.dMultiply(e),this.dAddOffset(o,0),n=0,o=0))}n>0&&(this.dMultiply(Math.pow(b,n)),this.dAddOffset(o,0)),r&&h.ZERO.subTo(this,this)},h.prototype.fromNumber=function(a,b){if("number"==typeof b)if(a<2)this.fromInt(1);else for(this.fromNumber(a),this.testBit(a-1)||this.bitwiseTo(h.ONE.shiftLeft(a-1),S,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(b);)this.dAddOffset(2,0),this.bitLength()>a&&this.subTo(h.ONE.shiftLeft(a-1),this);else{var t=n.randomBytes(1+(a>>3)),e=7&a;e>0?t[0]&=(1<>=this.DB;if(a.t>=this.DB;e+=this.s}else{for(e+=this.s;i>=this.DB;e+=a.s}t.s=e<0?-1:0,e>0?t[i++]=e:e<-1&&(t[i++]=this.DV+e),t.t=i,t.clamp()},h.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},h.prototype.dAddOffset=function(t,e){if(0!==t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},h.prototype.multiplyLowerTo=function(a,t,e){var r,i=Math.min(this.t+a.t,t);for(e.s=0,e.t=i;i>0;)e[--i]=0;for(r=e.t-this.t;i=0;)e[i]=0;for(i=Math.max(t-this.t,0);i0)if(0===e)r=this[0]%t;else for(var i=this.t-1;i>=0;--i)r=(e*r+this[i])%t;return r},h.prototype.millerRabin=function(t){var e=this.subtract(h.ONE),r=e.getLowestSetBit();if(r<=0)return!1;var n=e.shiftRight(r);(t=t+1>>1)>C.length&&(t=C.length);for(var a=c(),i=0;i0)for(p>p)>0&&(n=!0,o=m(e));i>=0;)p>(p+=this.DB-t)):(e=this[i]>>(p-=t)&r,p<=0&&(p+=this.DB,--i)),e>0&&(n=!0),n&&(o+=m(e));return n?o:"0"},h.prototype.negate=function(){var t=c();return h.ZERO.subTo(this,t),t},h.prototype.abs=function(){return this.s<0?this.negate():this},h.prototype.compareTo=function(a){var t=this.s-a.s;if(0!=t)return t;var i=this.t;if(0!=(t=i-a.t))return this.s<0?-t:t;for(;--i>=0;)if(0!=(t=this[i]-a[i]))return t;return 0},h.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+v(this[this.t-1]^this.s&this.DM)},h.prototype.mod=function(a){var t=c();return this.abs().divRemTo(a,null,t),this.s<0&&t.compareTo(h.ZERO)>0&&a.subTo(t,t),t},h.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new w(e):new M(e),this.exp(t,r)},h.prototype.clone=function(){var t=c();return this.copyTo(t),t},h.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0===this.t)return-1}else{if(1==this.t)return this[0];if(0===this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<>24},h.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},h.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},h.prototype.toByteArray=function(){var i=this.t,t=new Array;t[0]=this.s;var e,p=this.DB-i*this.DB%8,r=0;if(i-- >0)for(p>p)!=(this.s&this.DM)>>p&&(t[r++]=e|this.s<=0;)p<8?(e=(this[i]&(1<>(p+=this.DB-8)):(e=this[i]>>(p-=8)&255,p<=0&&(p+=this.DB,--i)),128&e&&(e|=-256),0===r&&(128&this.s)!=(128&e)&&++r,(r>0||e!=this.s)&&(t[r++]=e);return t},h.prototype.toBuffer=function(t){var r=e.from(this.toByteArray());if(!0===t&&0===r[0])r=r.slice(1);else if(o.isNumber(t)){if(r.length>t){for(var i=0;i0?this:a},h.prototype.and=function(a){var t=c();return this.bitwiseTo(a,A,t),t},h.prototype.or=function(a){var t=c();return this.bitwiseTo(a,S,t),t},h.prototype.xor=function(a){var t=c();return this.bitwiseTo(a,k,t),t},h.prototype.andNot=function(a){var t=c();return this.bitwiseTo(a,L,t),t},h.prototype.not=function(){for(var t=c(),i=0;i=this.t?0!=this.s:!!(this[e]&1<1){var f=c();for(n.sqrTo(g[1],f);h<=d;)g[h]=c(),n.mulTo(f,g[h-2],g[h]),h+=2}var m,y,A=t.t-1,S=!0,k=c();for(i=v(t[A])-1;A>=0;){for(i>=l?m=t[A]>>i-l&d:(m=(t[A]&(1<0&&(m|=t[A-1]>>this.DB+i-l)),h=r;!(1&m);)m>>=1,--h;if((i-=h)<0&&(i+=this.DB,--A),S)g[m].copyTo(o),S=!1;else{for(;h>1;)n.sqrTo(o,k),n.sqrTo(k,o),h-=2;h>0?n.sqrTo(o,k):(y=o,o=k,k=y),n.mulTo(k,g[m],o)}for(;A>=0&&!(t[A]&1<=0?(u.subTo(r,u),e&&a.subTo(n,a),b.subTo(o,b)):(r.subTo(u,r),e&&n.subTo(a,n),o.subTo(b,o))}return 0!=r.compareTo(h.ONE)?h.ZERO:o.compareTo(t)>=0?o.subtract(t):o.signum()<0?(o.addTo(t,o),o.signum()<0?o.add(t):o):o},h.prototype.pow=function(t){return this.exp(t,new E)},h.prototype.gcd=function(a){var t=this.s<0?this.negate():this.clone(),e=a.s<0?a.negate():a.clone();if(t.compareTo(e)<0){var r=t;t=e,e=r}var i=t.getLowestSetBit(),g=e.getLowestSetBit();if(g<0)return t;for(i0&&(t.rShiftTo(g,t),e.rShiftTo(g,e));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),t.compareTo(e)>=0?(t.subTo(e,t),t.rShiftTo(1,t)):(e.subTo(t,e),e.rShiftTo(1,e));return g>0&&e.lShiftTo(g,e),e},h.prototype.isProbablePrime=function(t){var i,e=this.abs();if(1==e.t&&e[0]<=C[C.length-1]){for(i=0;i0?t[0].split("/")[1]:"sendrecv",uri:t[1]}},n.writeExtmap=function(t){return"a=extmap:"+(t.id||t.preferredId)+(t.direction&&"sendrecv"!==t.direction?"/"+t.direction:"")+" "+t.uri+"\r\n"},n.parseFmtp=function(line){for(var t,e={},r=line.substr(line.indexOf(" ")+1).split(";"),n=0;n-1?(e.attribute=line.substr(t+1,r-t-1),e.value=line.substr(r+1)):e.attribute=line.substr(t+1),e},n.parseSsrcGroup=function(line){var t=line.substr(13).split(" ");return{semantics:t.shift(),ssrcs:t.map(function(t){return parseInt(t,10)})}},n.getMid=function(t){var e=n.matchPrefix(t,"a=mid:")[0];if(e)return e.substr(6)},n.parseFingerprint=function(line){var t=line.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1]}},n.getDtlsParameters=function(t,e){return{role:"auto",fingerprints:n.matchPrefix(t+e,"a=fingerprint:").map(n.parseFingerprint)}},n.writeDtlsParameters=function(t,e){var r="a=setup:"+e+"\r\n";return t.fingerprints.forEach(function(t){r+="a=fingerprint:"+t.algorithm+" "+t.value+"\r\n"}),r},n.parseCryptoLine=function(line){var t=line.substr(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},n.writeCryptoLine=function(t){return"a=crypto:"+t.tag+" "+t.cryptoSuite+" "+("object"==typeof t.keyParams?n.writeCryptoKeyParams(t.keyParams):t.keyParams)+(t.sessionParams?" "+t.sessionParams.join(" "):"")+"\r\n"},n.parseCryptoKeyParams=function(t){if(0!==t.indexOf("inline:"))return null;var e=t.substr(7).split("|");return{keyMethod:"inline",keySalt:e[0],lifeTime:e[1],mkiValue:e[2]?e[2].split(":")[0]:void 0,mkiLength:e[2]?e[2].split(":")[1]:void 0}},n.writeCryptoKeyParams=function(t){return t.keyMethod+":"+t.keySalt+(t.lifeTime?"|"+t.lifeTime:"")+(t.mkiValue&&t.mkiLength?"|"+t.mkiValue+":"+t.mkiLength:"")},n.getCryptoParameters=function(t,e){return n.matchPrefix(t+e,"a=crypto:").map(n.parseCryptoLine)},n.getIceParameters=function(t,e){var r=n.matchPrefix(t+e,"a=ice-ufrag:")[0],o=n.matchPrefix(t+e,"a=ice-pwd:")[0];return r&&o?{usernameFragment:r.substr(12),password:o.substr(10)}:null},n.writeIceParameters=function(t){return"a=ice-ufrag:"+t.usernameFragment+"\r\na=ice-pwd:"+t.password+"\r\n"},n.parseRtpParameters=function(t){for(var e={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},r=n.splitLines(t)[0].split(" "),i=3;i0?"9":"0",r+=" UDP/TLS/RTP/SAVPF ",r+=e.codecs.map(function(t){return void 0!==t.preferredPayloadType?t.preferredPayloadType:t.payloadType}).join(" ")+"\r\n",r+="c=IN IP4 0.0.0.0\r\n",r+="a=rtcp:9 IN IP4 0.0.0.0\r\n",e.codecs.forEach(function(t){r+=n.writeRtpMap(t),r+=n.writeFmtp(t),r+=n.writeRtcpFb(t)});var o=0;return e.codecs.forEach(function(t){t.maxptime>o&&(o=t.maxptime)}),o>0&&(r+="a=maxptime:"+o+"\r\n"),r+="a=rtcp-mux\r\n",e.headerExtensions&&e.headerExtensions.forEach(function(t){r+=n.writeExtmap(t)}),r},n.parseRtpEncodingParameters=function(t){var e,r=[],o=n.parseRtpParameters(t),h=-1!==o.fecMechanisms.indexOf("RED"),c=-1!==o.fecMechanisms.indexOf("ULPFEC"),l=n.matchPrefix(t,"a=ssrc:").map(function(line){return n.parseSsrcMedia(line)}).filter(function(t){return"cname"===t.attribute}),d=l.length>0&&l[0].ssrc,f=n.matchPrefix(t,"a=ssrc-group:FID").map(function(line){return line.substr(17).split(" ").map(function(t){return parseInt(t,10)})});f.length>0&&f[0].length>1&&f[0][0]===d&&(e=f[0][1]),o.codecs.forEach(function(t){if("RTX"===t.name.toUpperCase()&&t.parameters.apt){var n={ssrc:d,codecPayloadType:parseInt(t.parameters.apt,10)};d&&e&&(n.rtx={ssrc:e}),r.push(n),h&&((n=JSON.parse(JSON.stringify(n))).fec={ssrc:d,mechanism:c?"red+ulpfec":"red"},r.push(n))}}),0===r.length&&d&&r.push({ssrc:d});var m=n.matchPrefix(t,"b=");return m.length&&(m=0===m[0].indexOf("b=TIAS:")?parseInt(m[0].substr(7),10):0===m[0].indexOf("b=AS:")?1e3*parseInt(m[0].substr(5),10)*.95-16e3:void 0,r.forEach(function(t){t.maxBitrate=m})),r},n.parseRtcpParameters=function(t){var e={},r=n.matchPrefix(t,"a=ssrc:").map(function(line){return n.parseSsrcMedia(line)}).filter(function(t){return"cname"===t.attribute})[0];r&&(e.cname=r.value,e.ssrc=r.ssrc);var o=n.matchPrefix(t,"a=rtcp-rsize");e.reducedSize=o.length>0,e.compound=0===o.length;var h=n.matchPrefix(t,"a=rtcp-mux");return e.mux=h.length>0,e},n.parseMsid=function(t){var e,r=n.matchPrefix(t,"a=msid:");if(1===r.length)return{stream:(e=r[0].substr(7).split(" "))[0],track:e[1]};var o=n.matchPrefix(t,"a=ssrc:").map(function(line){return n.parseSsrcMedia(line)}).filter(function(t){return"msid"===t.attribute});return o.length>0?{stream:(e=o[0].value.split(" "))[0],track:e[1]}:void 0},n.parseSctpDescription=function(t){var e,r=n.parseMLine(t),o=n.matchPrefix(t,"a=max-message-size:");o.length>0&&(e=parseInt(o[0].substr(19),10)),isNaN(e)&&(e=65536);var h=n.matchPrefix(t,"a=sctp-port:");if(h.length>0)return{port:parseInt(h[0].substr(12),10),protocol:r.fmt,maxMessageSize:e};if(n.matchPrefix(t,"a=sctpmap:").length>0){var c=n.matchPrefix(t,"a=sctpmap:")[0].substr(10).split(" ");return{port:parseInt(c[0],10),protocol:c[1],maxMessageSize:e}}},n.writeSctpDescription=function(t,e){var output=[];return output="DTLS/SCTP"!==t.protocol?["m="+t.kind+" 9 "+t.protocol+" "+e.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+e.port+"\r\n"]:["m="+t.kind+" 9 "+t.protocol+" "+e.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+e.port+" "+e.protocol+" 65535\r\n"],void 0!==e.maxMessageSize&&output.push("a=max-message-size:"+e.maxMessageSize+"\r\n"),output.join("")},n.generateSessionId=function(){return Math.random().toString().substr(2,21)},n.writeSessionBoilerplate=function(t,e,r){var o=void 0!==e?e:2;return"v=0\r\no="+(r||"thisisadapterortc")+" "+(t||n.generateSessionId())+" "+o+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},n.writeMediaSection=function(t,e,r,o){var h=n.writeRtpDescription(t.kind,e);if(h+=n.writeIceParameters(t.iceGatherer.getLocalParameters()),h+=n.writeDtlsParameters(t.dtlsTransport.getLocalParameters(),"offer"===r?"actpass":"active"),h+="a=mid:"+t.mid+"\r\n",t.direction?h+="a="+t.direction+"\r\n":t.rtpSender&&t.rtpReceiver?h+="a=sendrecv\r\n":t.rtpSender?h+="a=sendonly\r\n":t.rtpReceiver?h+="a=recvonly\r\n":h+="a=inactive\r\n",t.rtpSender){var c="msid:"+o.id+" "+t.rtpSender.track.id+"\r\n";h+="a="+c,h+="a=ssrc:"+t.sendEncodingParameters[0].ssrc+" "+c,t.sendEncodingParameters[0].rtx&&(h+="a=ssrc:"+t.sendEncodingParameters[0].rtx.ssrc+" "+c,h+="a=ssrc-group:FID "+t.sendEncodingParameters[0].ssrc+" "+t.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return h+="a=ssrc:"+t.sendEncodingParameters[0].ssrc+" cname:"+n.localCName+"\r\n",t.rtpSender&&t.sendEncodingParameters[0].rtx&&(h+="a=ssrc:"+t.sendEncodingParameters[0].rtx.ssrc+" cname:"+n.localCName+"\r\n"),h},n.getDirection=function(t,e){for(var r=n.splitLines(t),i=0;i0?c.map(function(){return t(!1)}):t(!1))}};t.exports=n},function(t,e,r){"use strict";var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),o=new Uint8Array(16);function h(){if(!n)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(o)}for(var c=[],l=0;l<256;++l)c[l]=(l+256).toString(16).substr(1);var d=function(t,e){var i=e||0,r=c;return[r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]]].join("")};e.a=function(t,e,r){var i=e&&r||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var n=(t=t||{}).random||(t.rng||h)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,e)for(var o=0;o<16;++o)e[i+o]=n[o];return e||d(n)}},function(t,e,r){t.exports=o;var n=r(42).EventEmitter;function o(){n.call(this)}r(15)(o,n),o.Readable=r(116),o.Writable=r(689),o.Duplex=r(690),o.Transform=r(691),o.PassThrough=r(692),o.Stream=o,o.prototype.pipe=function(t,e){var source=this;function r(e){t.writable&&!1===t.write(e)&&source.pause&&source.pause()}function o(){source.readable&&source.resume&&source.resume()}source.on("data",r),t.on("drain",o),t._isStdio||e&&!1===e.end||(source.on("end",c),source.on("close",l));var h=!1;function c(){h||(h=!0,t.end())}function l(){h||(h=!0,"function"==typeof t.destroy&&t.destroy())}function d(t){if(f(),0===n.listenerCount(this,"error"))throw t}function f(){source.removeListener("data",r),t.removeListener("drain",o),source.removeListener("end",c),source.removeListener("close",l),source.removeListener("error",d),t.removeListener("error",d),source.removeListener("end",f),source.removeListener("close",f),t.removeListener("close",f)}return source.on("error",d),t.on("error",d),source.on("end",f),source.on("close",f),t.on("close",f),t.emit("pipe",source),t}},,function(t,e){var r=[].slice;t.exports=function(t,e){if("string"==typeof e&&(e=t[e]),"function"!=typeof e)throw new Error("bind() requires a function");var n=r.call(arguments,2);return function(){return e.apply(t,n.concat(r.call(arguments)))}}},function(t,e,r){(function(t){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},i=0;i=n)return t;switch(t){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch(t){return"[Circular]"}default:return t}}),c=r[i];i=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),w(r)?n.showHidden=r:r&&e._extend(n,r),k(n.showHidden)&&(n.showHidden=!1),k(n.depth)&&(n.depth=2),k(n.colors)&&(n.colors=!1),k(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=d),m(n,t,n.depth)}function d(t,e){var style=l.styles[e];return style?"["+l.colors[style][0]+"m"+t+"["+l.colors[style][1]+"m":t}function f(t,e){return t}function m(t,r,n){if(t.customInspect&&r&&D(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return S(o)||(o=m(t,o,n)),o}var h=function(t,e){if(k(e))return t.stylize("undefined","undefined");if(S(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(A(e))return t.stylize(""+e,"number");if(w(e))return t.stylize(""+e,"boolean");if(M(e))return t.stylize("null","null")}(t,r);if(h)return h;var c=Object.keys(r),l=function(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}(c);if(t.showHidden&&(c=Object.getOwnPropertyNames(r)),E(r)&&(c.indexOf("message")>=0||c.indexOf("description")>=0))return y(r);if(0===c.length){if(D(r)){var d=r.name?": "+r.name:"";return t.stylize("[Function"+d+"]","special")}if(L(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return t.stylize(Date.prototype.toString.call(r),"date");if(E(r))return y(r)}var output,base="",f=!1,T=["{","}"];(v(r)&&(f=!0,T=["[","]"]),D(r))&&(base=" [Function"+(r.name?": "+r.name:"")+"]");return L(r)&&(base=" "+RegExp.prototype.toString.call(r)),x(r)&&(base=" "+Date.prototype.toUTCString.call(r)),E(r)&&(base=" "+y(r)),0!==c.length||f&&0!=r.length?n<0?L(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),output=f?function(t,e,r,n,o){for(var output=[],i=0,h=e.length;i=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(e>60)return t[0]+(""===base?"":base+"\n ")+" "+output.join(",\n ")+" "+t[1];return t[0]+base+" "+output.join(", ")+" "+t[1]}(output,base,T)):T[0]+base+T[1]}function y(t){return"["+Error.prototype.toString.call(t)+"]"}function _(t,e,r,n,o,h){var c,l,desc;if((desc=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?l=desc.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):desc.set&&(l=t.stylize("[Setter]","special")),P(n,o)||(c="["+o+"]"),l||(t.seen.indexOf(desc.value)<0?(l=M(r)?m(t,desc.value,null):m(t,desc.value,r-1)).indexOf("\n")>-1&&(l=h?l.split("\n").map(function(line){return" "+line}).join("\n").substr(2):"\n"+l.split("\n").map(function(line){return" "+line}).join("\n")):l=t.stylize("[Circular]","special")),k(c)){if(h&&o.match(/^\d+$/))return l;(c=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(c=c.substr(1,c.length-2),c=t.stylize(c,"name")):(c=c.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),c=t.stylize(c,"string"))}return c+": "+l}function v(t){return Array.isArray(t)}function w(t){return"boolean"==typeof t}function M(t){return null===t}function A(t){return"number"==typeof t}function S(t){return"string"==typeof t}function k(t){return void 0===t}function L(t){return T(t)&&"[object RegExp]"===Y(t)}function T(t){return"object"==typeof t&&null!==t}function x(t){return T(t)&&"[object Date]"===Y(t)}function E(t){return T(t)&&("[object Error]"===Y(t)||t instanceof Error)}function D(t){return"function"==typeof t}function Y(t){return Object.prototype.toString.call(t)}function C(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(r){if(k(h)&&(h=t.env.NODE_DEBUG||""),r=r.toUpperCase(),!c[r])if(new RegExp("\\b"+r+"\\b","i").test(h)){var n=t.pid;c[r]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",r,n,t)}}else c[r]=function(){};return c[r]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=v,e.isBoolean=w,e.isNull=M,e.isNullOrUndefined=function(t){return null==t},e.isNumber=A,e.isString=S,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=k,e.isRegExp=L,e.isObject=T,e.isDate=x,e.isError=E,e.isFunction=D,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(681);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,time;console.log("%s - %s",(t=new Date,time=[C(t.getHours()),C(t.getMinutes()),C(t.getSeconds())].join(":"),[t.getDate(),O[t.getMonth()],time].join(" ")),e.format.apply(e,arguments))},e.inherits=r(682),e._extend=function(t,e){if(!e||!T(e))return t;for(var r=Object.keys(e),i=r.length;i--;)t[r[i]]=e[r[i]];return t};var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(R&&t[R]){var e;if("function"!=typeof(e=t[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,R,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise(function(t,n){e=t,r=n}),o=[],i=0;i>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function l(t){var p=this.lastTotal-this.lastNeed,e=function(t,e){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==e?e:this.lastNeed<=t.length?(t.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,p,0,t.length),void(this.lastNeed-=t.length))}function d(t,i){if((t.length-i)%2==0){var e=t.toString("utf16le",i);if(e){var r=e.charCodeAt(e.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],e.slice(0,-1)}return e}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",i,t.length-1)}function f(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function m(t,i){var e=(t.length-i)%3;return 0===e?t.toString("base64",i):(this.lastNeed=3-e,this.lastTotal=3,1===e?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",i,t.length-e))}function y(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function _(t){return t.toString(this.encoding)}function v(t){return t&&t.length?this.write(t):""}e.StringDecoder=h,h.prototype.write=function(t){if(0===t.length)return"";var e,i;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i=0)return n>0&&(t.lastNeed=n-1),n;if(--r=0)return n>0&&(t.lastNeed=n-2),n;if(--r=0)return n>0&&(2===n?n=0:t.lastNeed=n-3),n;return 0}(this,t,i);if(!this.lastNeed)return t.toString("utf8",i);this.lastTotal=e;var r=t.length-(e-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",i,r)},h.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){"use strict";var n=r(15),o=r(204),h=r(205),c=r(212),l=r(75);function d(t){l.call(this,"digest"),this._hash=t}n(d,l),d.prototype._update=function(data){this._hash.update(data)},d.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new o:"rmd160"===t||"ripemd160"===t?new h:new d(c(t))}},function(t,e,r){"use strict";t.exports=TypeError},function(t,e,r){"use strict";var n=r(716);if(n)try{n([],"length")}catch(t){n=null}t.exports=n},function(t,e,r){"use strict";var n=r(719);t.exports=Function.prototype.bind||n},function(t,e,r){(function(e){t.exports=function(a,b){for(var t=Math.min(a.length,b.length),r=new e(t),i=0;i=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(o())}).call(this,r(24))},function(t,e){e.encode=function(t){var e="";for(var i in t)t.hasOwnProperty(i)&&(e.length&&(e+="&"),e+=encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return e},e.decode=function(t){for(var e={},r=t.split("&"),i=0,n=r.length;i=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(o())}).call(this,r(24))},function(t,e,r){"use strict";(function(e){void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,o){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var h,i,c=arguments.length;switch(c){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,r)});case 3:return e.nextTick(function(){t.call(null,r,n)});case 4:return e.nextTick(function(){t.call(null,r,n,o)});default:for(h=new Array(c-1),i=0;i255||~~y!==y)throw new RangeError("Array items must be numbers in the range 0-255.")}if(m||n.isBuffer(data)&&data.constructor&&"function"==typeof data.constructor.isBuffer&&data.constructor.isBuffer(data))return n.from(data);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},function(t,e,r){"use strict";var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch(t){n=!1}t.exports=n},function(t,e,r){var n=r(18).Buffer;function o(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i>>24]^m[w>>>16&255]^y[M>>>8&255]^_[255&A]^e[S++],c=f[w>>>24]^m[M>>>16&255]^y[A>>>8&255]^_[255&v]^e[S++],l=f[M>>>24]^m[A>>>16&255]^y[v>>>8&255]^_[255&w]^e[S++],d=f[A>>>24]^m[v>>>16&255]^y[w>>>8&255]^_[255&M]^e[S++],v=h,w=c,M=l,A=d;return h=(n[v>>>24]<<24|n[w>>>16&255]<<16|n[M>>>8&255]<<8|n[255&A])^e[S++],c=(n[w>>>24]<<24|n[M>>>16&255]<<16|n[A>>>8&255]<<8|n[255&v])^e[S++],l=(n[M>>>24]<<24|n[A>>>16&255]<<16|n[v>>>8&255]<<8|n[255&w])^e[S++],d=(n[A>>>24]<<24|n[v>>>16&255]<<16|n[w>>>8&255]<<8|n[255&M])^e[S++],[h>>>=0,c>>>=0,l>>>=0,d>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],d=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],o=[[],[],[],[]],h=[[],[],[],[]],c=0,l=0,i=0;i<256;++i){var d=l^l<<1^l<<2^l<<3^l<<4;d=d>>>8^255&d^99,r[c]=d,n[d]=c;var f=t[c],m=t[f],y=t[m],_=257*t[d]^16843008*d;o[0][c]=_<<24|_>>>8,o[1][c]=_<<16|_>>>16,o[2][c]=_<<8|_>>>24,o[3][c]=_,_=16843009*y^65537*m^257*f^16843008*c,h[0][d]=_<<24|_>>>8,h[1][d]=_<<16|_>>>16,h[2][d]=_<<8|_>>>24,h[3][d]=_,0===c?c=l=1:(c=f^t[t[t[y^f]]],l^=t[t[l]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:h}}();function f(t){this._key=o(t),this._reset()}f.blockSize=16,f.keySize=32,f.prototype.blockSize=f.blockSize,f.prototype.keySize=f.keySize,f.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),o=[],h=0;h>>24,c=d.SBOX[c>>>24]<<24|d.SBOX[c>>>16&255]<<16|d.SBOX[c>>>8&255]<<8|d.SBOX[255&c],c^=l[h/e|0]<<24):e>6&&h%e===4&&(c=d.SBOX[c>>>24]<<24|d.SBOX[c>>>16&255]<<16|d.SBOX[c>>>8&255]<<8|d.SBOX[255&c]),o[h]=o[h-e]^c}for(var f=[],m=0;m>>24]]^d.INV_SUB_MIX[1][d.SBOX[_>>>16&255]]^d.INV_SUB_MIX[2][d.SBOX[_>>>8&255]]^d.INV_SUB_MIX[3][d.SBOX[255&_]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=f},f.prototype.encryptBlockRaw=function(t){return c(t=o(t),this._keySchedule,d.SUB_MIX,d.SBOX,this._nRounds)},f.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},f.prototype.decryptBlock=function(t){var e=(t=o(t))[1];t[1]=t[3],t[3]=e;var r=c(t,this._invKeySchedule,d.INV_SUB_MIX,d.INV_SBOX,this._nRounds),h=n.allocUnsafe(16);return h.writeUInt32BE(r[0],0),h.writeUInt32BE(r[3],4),h.writeUInt32BE(r[2],8),h.writeUInt32BE(r[1],12),h},f.prototype.scrub=function(){h(this._keySchedule),h(this._invKeySchedule),h(this._key)},t.exports.AES=f},function(t,e,r){var n=r(18).Buffer,o=r(204);t.exports=function(t,e,r,h){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var c=r/8,l=n.alloc(c),d=n.alloc(h||0),f=n.alloc(0);c>0||h>0;){var m=new o;m.update(f),m.update(t),e&&m.update(e),f=m.digest();var y=0;if(c>0){var _=l.length-c;y=Math.min(c,f.length),f.copy(l,_,0,y),c-=y}if(y0){var v=d.length-h,w=Math.min(h,f.length-y);f.copy(d,v,y,y+w),h-=w}}return f.fill(0),{key:l,iv:d}}},function(t,e,r){"use strict";var n=r(65),o=r(48),h=o.getNAF,c=o.getJSF,l=o.assert;function d(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(p,t){l(p.precomputed);var e=p._getDoubles(),r=h(t,1,this._bitLength),n=(1<=o;f--)c=(c<<1)+r[f];d.push(c)}for(var a=this.jpoint(null,null,null),b=this.jpoint(null,null,null),i=n;i>0;i--){for(o=0;o=0;i--){for(var d=0;i>=0&&0===o[i];i--)d++;if(i>=0&&d++,c=c.dblp(d),i<0)break;var f=o[i];l(0!==f),c="affine"===p.type?f>0?c.mixedAdd(n[f-1>>1]):c.mixedAdd(n[-f-1>>1].neg()):f>0?c.add(n[f-1>>1]):c.add(n[-f-1>>1].neg())}return"affine"===p.type?c.toP():c},d.prototype._wnafMulAdd=function(t,e,r,n,o){var i,l,p,d=this._wnafT1,f=this._wnafT2,m=this._wnafT3,y=0;for(i=0;i=1;i-=2){var a=i-1,b=i;if(1===d[a]&&1===d[b]){var v=[e[a],null,null,e[b]];0===e[a].y.cmp(e[b].y)?(v[1]=e[a].add(e[b]),v[2]=e[a].toJ().mixedAdd(e[b].neg())):0===e[a].y.cmp(e[b].y.redNeg())?(v[1]=e[a].toJ().mixedAdd(e[b]),v[2]=e[a].add(e[b].neg())):(v[1]=e[a].toJ().mixedAdd(e[b]),v[2]=e[a].toJ().mixedAdd(e[b].neg()));var w=[-3,-1,-5,-7,0,7,5,1,3],M=c(r[a],r[b]);for(y=Math.max(M[0].length,y),m[a]=new Array(y),m[b]=new Array(y),l=0;l=0;i--){for(var T=0;i>=0;){var x=!0;for(l=0;l=0&&T++,k=k.dblp(T),i<0)break;for(l=0;l0?p=f[l][E-1>>1]:E<0&&(p=f[l][-E-1>>1].neg()),k="affine"===p.type?k.mixedAdd(p):k.add(p))}}for(i=0;i=Math.ceil((t.bitLength()+1)/e.step)},f.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=51||!n(function(){var e=[];return(e.constructor={})[c]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},"23cb":function(t,e,r){var n=r("a691"),o=Math.max,h=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):h(r,e)}},"23e7":function(t,e,r){var n=r("da84"),o=r("06cf").f,h=r("9112"),c=r("6eeb"),l=r("ce4e"),d=r("e893"),f=r("94ca");t.exports=function(t,source){var e,r,m,y,_,v=t.target,w=t.global,M=t.stat;if(e=w?n:M?n[v]||l(v,{}):(n[v]||{}).prototype)for(r in source){if(y=source[r],m=t.noTargetGet?(_=o(e,r))&&_.value:e[r],!f(w?r:v+(M?".":"#")+r,t.forced)&&void 0!==m){if(typeof y==typeof m)continue;d(y,m)}(t.sham||m&&m.sham)&&h(y,"sham",!0),c(e,r,y,t)}}},"241c":function(t,e,r){var n=r("ca84"),o=r("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},"24fb":function(t,e,r){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var content=function(t,e){var content=t[1]||"",r=t[3];if(!r)return content;if(e&&"function"==typeof btoa){var n=(h=r,c=btoa(unescape(encodeURIComponent(JSON.stringify(h)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(data," */")),o=r.sources.map(function(source){return"/*# sourceURL=".concat(r.sourceRoot).concat(source," */")});return[content].concat(o).concat([n]).join("\n")}var h,c,data;return[content].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(content,"}"):content}).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var i=0;i=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},"31ae":function(t,e,r){var n=r("24fb");(t.exports=n(!1)).push([t.i,".progress-container[data-v-f1691f2e]{stroke-width:2px}.progress-container .top[data-v-f1691f2e]{z-index:2}.progress-content[data-v-f1691f2e]{stroke-width:2px}.progress-content .top[data-v-f1691f2e]{z-index:1}",""])},"342f":function(t,e,r){var n=r("d066");t.exports=n("navigator","userAgent")||""},"37e8":function(t,e,r){var n=r("83ab"),o=r("9bf2"),h=r("825a"),c=r("df75");t.exports=n?Object.defineProperties:function(t,e){h(t);for(var r,n=c(e),l=n.length,d=0;l>d;)o.f(t,r=n[d++],e[r]);return t}},"3bbe":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,r){"use strict";var n=r("6547").charAt,o=r("69f3"),h=r("7dd0"),c="String Iterator",l=o.set,d=o.getterFor(c);h(String,"String",function(t){l(this,{type:c,string:String(t),index:0})},function(){var t,e=d(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})})},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,r){var n=r("da84");t.exports=n},"44ad":function(t,e,r){var n=r("d039"),o=r("c6b6"),h="".split;t.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?h.call(t,""):Object(t)}:Object},"44d2":function(t,e,r){var n=r("b622"),o=r("7c73"),h=r("9bf2"),c=n("unscopables"),l=Array.prototype;null==l[c]&&h.f(l,c,{configurable:!0,value:o(null)}),t.exports=function(t){l[c][t]=!0}},4930:function(t,e,r){var n=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!n(function(){return!String(Symbol())})},"499e":function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},i=0;ie.parts.length&&(r.parts.length=e.parts.length)}else{var o=[];for(n=0;nm;)if((l=d[m++])!=l)return!0}else for(;f>m;m++)if((t||m in d)&&d[m]===r)return t||m||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"50c4":function(t,e,r){var n=r("a691"),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},5135:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},5692:function(t,e,r){var n=r("c430"),o=r("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,r){var n=r("d066"),o=r("241c"),h=r("7418"),c=r("825a");t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=h.f;return r?e.concat(r(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,r){var n=r("1d80"),o="["+r("5899")+"]",h=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),l=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(h,"")),2&t&&(r=r.replace(c,"")),r}};t.exports={start:l(1),end:l(2),trim:l(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6547:function(t,e,r){var n=r("a691"),o=r("1d80"),h=function(t){return function(e,r){var h,c,l=String(o(e)),d=n(r),f=l.length;return d<0||d>=f?t?"":void 0:(h=l.charCodeAt(d))<55296||h>56319||d+1===f||(c=l.charCodeAt(d+1))<56320||c>57343?t?l.charAt(d):h:t?l.slice(d,d+2):c-56320+(h-55296<<10)+65536}};t.exports={codeAt:h(!1),charAt:h(!0)}},"65f0":function(t,e,r){var n=r("861d"),o=r("e8b5"),h=r("b622")("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[h])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},"69f3":function(t,e,r){var n,o,h,c=r("7f9a"),l=r("da84"),d=r("861d"),f=r("9112"),m=r("5135"),y=r("f772"),_=r("d012"),v=l.WeakMap;if(c){var w=new v,M=w.get,A=w.has,S=w.set;n=function(t,e){return S.call(w,t,e),e},o=function(t){return M.call(w,t)||{}},h=function(t){return A.call(w,t)}}else{var k=y("state");_[k]=!0,n=function(t,e){return f(t,k,e),e},o=function(t){return m(t,k)?t[k]:{}},h=function(t){return m(t,k)}}t.exports={set:n,get:o,has:h,enforce:function(t){return h(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!d(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},"6eeb":function(t,e,r){var n=r("da84"),o=r("9112"),h=r("5135"),c=r("ce4e"),l=r("8925"),d=r("69f3"),f=d.get,m=d.enforce,y=String(String).split("String");(t.exports=function(t,e,r,l){var d=!!l&&!!l.unsafe,f=!!l&&!!l.enumerable,_=!!l&&!!l.noTargetGet;"function"==typeof r&&("string"!=typeof e||h(r,"name")||o(r,"name",e),m(r).source=y.join("string"==typeof e?e:"")),t!==n?(d?!_&&t[e]&&(f=!0):delete t[e],f?t[e]=r:o(t,e,r)):f?t[e]=r:c(e,r)})(Function.prototype,"toString",function(){return"function"==typeof this&&f(this).source||l(this)})},7156:function(t,e,r){var n=r("861d"),o=r("d2bb");t.exports=function(t,e,r){var h,c;return o&&"function"==typeof(h=e.constructor)&&h!==r&&n(c=h.prototype)&&c!==r.prototype&&o(t,c),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,r){var path=r("428f"),n=r("5135"),o=r("e538"),h=r("9bf2").f;t.exports=function(t){var e=path.Symbol||(path.Symbol={});n(e,t)||h(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,r){var n=r("1d80");t.exports=function(t){return Object(n(t))}},"7c73":function(t,e,r){var n,o=r("825a"),h=r("37e8"),c=r("7839"),l=r("d012"),html=r("1be4"),d=r("cc12"),f=r("f772"),m="prototype",y="script",_=f("IE_PROTO"),v=function(){},w=function(content){return"<"+y+">"+content+""},M=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,iframe,e;M=n?function(t){t.write(w("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):(iframe=d("iframe"),e="java"+y+":",iframe.style.display="none",html.appendChild(iframe),iframe.src=String(e),(t=iframe.contentWindow.document).open(),t.write(w("document.F=Object")),t.close(),t.F);for(var r=c.length;r--;)delete M[m][c[r]];return M()};l[_]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(v[m]=o(t),r=new v,v[m]=null,r[_]=t):r=M(),void 0===e?r:h(r,e)}},"7dd0":function(t,e,r){"use strict";var n=r("23e7"),o=r("9ed3"),h=r("e163"),c=r("d2bb"),l=r("d44e"),d=r("9112"),f=r("6eeb"),m=r("b622"),y=r("c430"),_=r("3f8c"),v=r("ae93"),w=v.IteratorPrototype,M=v.BUGGY_SAFARI_ITERATORS,A=m("iterator"),S="keys",k="values",L="entries",T=function(){return this};t.exports=function(t,e,r,m,v,x,E){o(r,e,m);var D,Y,C,O=function(t){if(t===v&&N)return N;if(!M&&t in j)return j[t];switch(t){case S:case k:case L:return function(){return new r(this,t)}}return function(){return new r(this)}},P=e+" Iterator",R=!1,j=t.prototype,I=j[A]||j["@@iterator"]||v&&j[v],N=!M&&I||O(v),B="Array"==e&&j.entries||I;if(B&&(D=h(B.call(new t)),w!==Object.prototype&&D.next&&(y||h(D)===w||(c?c(D,w):"function"!=typeof D[A]&&d(D,A,T)),l(D,P,!0,!0),y&&(_[P]=T))),v==k&&I&&I.name!==k&&(R=!0,N=function(){return I.call(this)}),y&&!E||j[A]===N||d(j,A,N),_[e]=N,v)if(Y={values:O(k),keys:x?N:O(S),entries:O(L)},E)for(C in Y)(M||R||!(C in j))&&f(j,C,Y[C]);else n({target:e,proto:!0,forced:M||R},Y);return Y}},"7e69":function(t,e,r){"use strict";var n=r("ce94");r.n(n).a},"7f9a":function(t,e,r){var n=r("da84"),o=r("8925"),h=n.WeakMap;t.exports="function"==typeof h&&/native code/.test(o(h))},"825a":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,r){var n=r("d039");t.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},8418:function(t,e,r){"use strict";var n=r("c04e"),o=r("9bf2"),h=r("5c6c");t.exports=function(object,t,e){var r=n(t);r in object?o.f(object,r,h(0,e)):object[r]=e}},"861d":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},8925:function(t,e,r){var n=r("c6cd"),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},"8bbf":function(t,e){t.exports=r(3)},"90e3":function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},9112:function(t,e,r){var n=r("83ab"),o=r("9bf2"),h=r("5c6c");t.exports=n?function(object,t,e){return o.f(object,t,h(1,e))}:function(object,t,e){return object[t]=e,object}},"94ca":function(t,e,r){var n=r("d039"),o=/#|\.prototype\./,h=function(t,e){var r=data[c(t)];return r==d||r!=l&&("function"==typeof e?n(e):!!e)},c=h.normalize=function(t){return String(t).replace(o,".").toLowerCase()},data=h.data={},l=h.NATIVE="N",d=h.POLYFILL="P";t.exports=h},"9bf2":function(t,e,r){var n=r("83ab"),o=r("0cfb"),h=r("825a"),c=r("c04e"),l=Object.defineProperty;e.f=n?l:function(t,e,r){if(h(t),e=c(e,!0),h(r),o)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"9ed3":function(t,e,r){"use strict";var n=r("ae93").IteratorPrototype,o=r("7c73"),h=r("5c6c"),c=r("d44e"),l=r("3f8c"),d=function(){return this};t.exports=function(t,e,r){var f=e+" Iterator";return t.prototype=o(n,{next:h(1,r)}),c(t,f,!1,!0),l[f]=d,t}},a4d3:function(t,e,r){"use strict";var n=r("23e7"),o=r("da84"),h=r("d066"),c=r("c430"),l=r("83ab"),d=r("4930"),f=r("fdbf"),m=r("d039"),y=r("5135"),_=r("e8b5"),v=r("861d"),w=r("825a"),M=r("7b0b"),A=r("fc6a"),S=r("c04e"),k=r("5c6c"),L=r("7c73"),T=r("df75"),x=r("241c"),E=r("057f"),D=r("7418"),Y=r("06cf"),C=r("9bf2"),O=r("d1e7"),P=r("9112"),R=r("6eeb"),j=r("5692"),I=r("f772"),N=r("d012"),B=r("90e3"),H=r("b622"),F=r("e538"),U=r("746f"),z=r("d44e"),$=r("69f3"),W=r("b727").forEach,G=I("hidden"),V="Symbol",Z="prototype",K=H("toPrimitive"),J=$.set,Q=$.getterFor(V),X=Object[Z],tt=o.Symbol,et=h("JSON","stringify"),nt=Y.f,it=C.f,ot=E.f,at=O.f,st=j("symbols"),ut=j("op-symbols"),ht=j("string-to-symbol-registry"),ct=j("symbol-to-string-registry"),lt=j("wks"),ft=o.QObject,pt=!ft||!ft[Z]||!ft[Z].findChild,mt=l&&m(function(){return 7!=L(it({},"a",{get:function(){return it(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=nt(X,e);n&&delete X[e],it(t,e,r),n&&t!==X&&it(X,e,n)}:it,yt=function(t,e){var symbol=st[t]=L(tt[Z]);return J(symbol,{type:V,tag:t,description:e}),l||(symbol.description=e),symbol},gt=f?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof tt},_t=function(t,e,r){t===X&&_t(ut,e,r),w(t);var n=S(e,!0);return w(r),y(st,n)?(r.enumerable?(y(t,G)&&t[G][n]&&(t[G][n]=!1),r=L(r,{enumerable:k(0,!1)})):(y(t,G)||it(t,G,k(1,{})),t[G][n]=!0),mt(t,n,r)):it(t,n,r)},vt=function(t,e){w(t);var r=A(e),n=T(r).concat(At(r));return W(n,function(e){l&&!bt.call(r,e)||_t(t,e,r[e])}),t},bt=function(t){var e=S(t,!0),r=at.call(this,e);return!(this===X&&y(st,e)&&!y(ut,e))&&(!(r||!y(this,e)||!y(st,e)||y(this,G)&&this[G][e])||r)},wt=function(t,e){var r=A(t),n=S(e,!0);if(r!==X||!y(st,n)||y(ut,n)){var o=nt(r,n);return!o||!y(st,n)||y(r,G)&&r[G][n]||(o.enumerable=!0),o}},Mt=function(t){var e=ot(A(t)),r=[];return W(e,function(t){y(st,t)||y(N,t)||r.push(t)}),r},At=function(t){var e=t===X,r=ot(e?ut:A(t)),n=[];return W(r,function(t){!y(st,t)||e&&!y(X,t)||n.push(st[t])}),n};(d||(tt=function(){if(this instanceof tt)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=B(t),r=function(t){this===X&&r.call(ut,t),y(this,G)&&y(this[G],e)&&(this[G][e]=!1),mt(this,e,k(1,t))};return l&&pt&&mt(X,e,{configurable:!0,set:r}),yt(e,t)},R(tt[Z],"toString",function(){return Q(this).tag}),R(tt,"withoutSetter",function(t){return yt(B(t),t)}),O.f=bt,C.f=_t,Y.f=wt,x.f=E.f=Mt,D.f=At,F.f=function(t){return yt(H(t),t)},l&&(it(tt[Z],"description",{configurable:!0,get:function(){return Q(this).description}}),c||R(X,"propertyIsEnumerable",bt,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:tt}),W(T(lt),function(t){U(t)}),n({target:V,stat:!0,forced:!d},{for:function(t){var e=String(t);if(y(ht,e))return ht[e];var symbol=tt(e);return ht[e]=symbol,ct[symbol]=e,symbol},keyFor:function(t){if(!gt(t))throw TypeError(t+" is not a symbol");if(y(ct,t))return ct[t]},useSetter:function(){pt=!0},useSimple:function(){pt=!1}}),n({target:"Object",stat:!0,forced:!d,sham:!l},{create:function(t,e){return void 0===e?L(t):vt(L(t),e)},defineProperty:_t,defineProperties:vt,getOwnPropertyDescriptor:wt}),n({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:Mt,getOwnPropertySymbols:At}),n({target:"Object",stat:!0,forced:m(function(){D.f(1)})},{getOwnPropertySymbols:function(t){return D.f(M(t))}}),et)&&n({target:"JSON",stat:!0,forced:!d||m(function(){var symbol=tt();return"[null]"!=et([symbol])||"{}"!=et({a:symbol})||"{}"!=et(Object(symbol))})},{stringify:function(t,e,r){for(var n,o=[t],h=1;arguments.length>h;)o.push(arguments[h++]);if(n=e,(v(e)||void 0!==t)&&!gt(t))return _(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!gt(e))return e}),o[1]=e,et.apply(null,o)}});tt[Z][K]||P(tt[Z],K,tt[Z].valueOf),z(tt,V),N[G]=!0},a691:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},a9e3:function(t,e,r){"use strict";var n=r("83ab"),o=r("da84"),h=r("94ca"),c=r("6eeb"),l=r("5135"),d=r("c6b6"),f=r("7156"),m=r("c04e"),y=r("d039"),_=r("7c73"),v=r("241c").f,w=r("06cf").f,M=r("9bf2").f,A=r("58a8").trim,S="Number",k=o[S],L=k.prototype,T=d(_(L))==S,x=function(t){var e,r,n,o,h,c,l,code,d=m(t,!1);if("string"==typeof d&&d.length>2)if(43===(e=(d=A(d)).charCodeAt(0))||45===e){if(88===(r=d.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(d.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+d}for(c=(h=d.slice(2)).length,l=0;lo)return NaN;return parseInt(h,n)}return+d};if(h(S,!k(" 0o1")||!k("0b1")||k("+0x1"))){for(var E,D=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof D&&(T?y(function(){L.valueOf.call(r)}):d(r)!=S)?f(new k(x(e)),r,D):x(e)},Y=n?v(k):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;Y.length>C;C++)l(k,E=Y[C])&&!l(D,E)&&M(D,E,w(k,E));D.prototype=L,L.constructor=D,c(o,S,D)}},ad6d:function(t,e,r){"use strict";var n=r("825a");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae40:function(t,e,r){var n=r("83ab"),o=r("d039"),h=r("5135"),c=Object.defineProperty,l={},d=function(t){throw t};t.exports=function(t,e){if(h(l,t))return l[t];e||(e={});var r=[][t],f=!!h(e,"ACCESSORS")&&e.ACCESSORS,m=h(e,0)?e[0]:d,y=h(e,1)?e[1]:void 0;return l[t]=!!r&&!o(function(){if(f&&!n)return!0;var t={length:-1};f?c(t,1,{enumerable:!0,get:d}):t[1]=1,r.call(t,m,y)})}},ae93:function(t,e,r){"use strict";var n,o,h,c=r("e163"),l=r("9112"),d=r("5135"),f=r("b622"),m=r("c430"),y=f("iterator"),_=!1;[].keys&&("next"in(h=[].keys())?(o=c(c(h)))!==Object.prototype&&(n=o):_=!0),null==n&&(n={}),m||d(n,y)||l(n,y,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:_}},af29:function(t,e,r){var content=r("f311");"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r("499e").default)("e91a3666",content,!0,{sourceMap:!1,shadowMode:!1})},b041:function(t,e,r){"use strict";var n=r("00ee"),o=r("f5df");t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},b622:function(t,e,r){var n=r("da84"),o=r("5692"),h=r("5135"),c=r("90e3"),l=r("4930"),d=r("fdbf"),f=o("wks"),m=n.Symbol,y=d?m:m&&m.withoutSetter||c;t.exports=function(t){return h(f,t)||(l&&h(m,t)?f[t]=m[t]:f[t]=y("Symbol."+t)),f[t]}},b727:function(t,e,r){var n=r("0366"),o=r("44ad"),h=r("7b0b"),c=r("50c4"),l=r("65f0"),d=[].push,f=function(t){var e=1==t,r=2==t,f=3==t,m=4==t,y=6==t,_=5==t||y;return function(v,w,M,A){for(var S,k,L=h(v),T=o(L),x=n(w,M,3),E=c(T.length),D=0,Y=A||l,C=e?Y(v,E):r?Y(v,0):void 0;E>D;D++)if((_||D in T)&&(k=x(S=T[D],D,L),t))if(e)C[D]=k;else if(k)switch(t){case 3:return!0;case 5:return S;case 6:return D;case 2:d.call(C,S)}else if(m)return!1;return y?-1:f||m?m:C}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6)}},c04e:function(t,e,r){var n=r("861d");t.exports=function(input,t){if(!n(input))return input;var e,r;if(t&&"function"==typeof(e=input.toString)&&!n(r=e.call(input)))return r;if("function"==typeof(e=input.valueOf)&&!n(r=e.call(input)))return r;if(!t&&"function"==typeof(e=input.toString)&&!n(r=e.call(input)))return r;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},c6cd:function(t,e,r){var n=r("da84"),o=r("ce4e"),h="__core-js_shared__",c=n[h]||o(h,{});t.exports=c},c869:function(t,e,r){"use strict";var n=r("af29");r.n(n).a},c8ba:function(t,e){var g;g=function(){return this}();try{g=g||new Function("return this")()}catch(t){"object"==typeof window&&(g=window)}t.exports=g},ca84:function(t,e,r){var n=r("5135"),o=r("fc6a"),h=r("4d64").indexOf,c=r("d012");t.exports=function(object,t){var e,r=o(object),i=0,l=[];for(e in r)!n(c,e)&&n(r,e)&&l.push(e);for(;t.length>i;)n(r,e=t[i++])&&(~h(l,e)||l.push(e));return l}},cc12:function(t,e,r){var n=r("da84"),o=r("861d"),h=n.document,c=o(h)&&o(h.createElement);t.exports=function(t){return c?h.createElement(t):{}}},ce4e:function(t,e,r){var n=r("da84"),o=r("9112");t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},ce94:function(t,e,r){var content=r("31ae");"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r("499e").default)("bfa0d6aa",content,!0,{sourceMap:!1,shadowMode:!1})},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},d066:function(t,e,r){var path=r("428f"),n=r("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(path[t])||o(n[t]):path[t]&&path[t][e]||n[t]&&n[t][e]}},d1e7:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,h=o&&!n.call({1:2},1);e.f=h?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},d28b:function(t,e,r){r("746f")("iterator")},d2bb:function(t,e,r){var n=r("825a"),o=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,h){return n(r),o(h),e?t.call(r,h):r.__proto__=h,r}}():void 0)},d3b7:function(t,e,r){var n=r("00ee"),o=r("6eeb"),h=r("b041");n||o(Object.prototype,"toString",h,{unsafe:!0})},d44e:function(t,e,r){var n=r("9bf2").f,o=r("5135"),h=r("b622")("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,h)&&n(t,h,{configurable:!0,value:e})}},da84:function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r("c8ba"))},ddb0:function(t,e,r){var n=r("da84"),o=r("fdbc"),h=r("e260"),c=r("9112"),l=r("b622"),d=l("iterator"),f=l("toStringTag"),m=h.values;for(var y in o){var _=n[y],v=_&&_.prototype;if(v){if(v[d]!==m)try{c(v,d,m)}catch(t){v[d]=m}if(v[f]||c(v,f,y),o[y])for(var w in h)if(v[w]!==h[w])try{c(v,w,h[w])}catch(t){v[w]=h[w]}}}},df75:function(t,e,r){var n=r("ca84"),o=r("7839");t.exports=Object.keys||function(t){return n(t,o)}},e01a:function(t,e,r){"use strict";var n=r("23e7"),o=r("83ab"),h=r("da84"),c=r("5135"),l=r("861d"),d=r("9bf2").f,f=r("e893"),m=h.Symbol;if(o&&"function"==typeof m&&(!("description"in m.prototype)||void 0!==m().description)){var y={},_=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof _?new m(t):void 0===t?m():m(t);return""===t&&(y[e]=!0),e};f(_,m);var v=_.prototype=m.prototype;v.constructor=_;var w=v.toString,M="Symbol(test)"==String(m("test")),A=/^Symbol\((.*)\)[^)]+$/;d(v,"description",{configurable:!0,get:function(){var symbol=l(this)?this.valueOf():this,t=w.call(symbol);if(c(y,symbol))return"";var desc=M?t.slice(7,-1):t.replace(A,"$1");return""===desc?void 0:desc}}),n({global:!0,forced:!0},{Symbol:_})}},e163:function(t,e,r){var n=r("5135"),o=r("7b0b"),h=r("f772"),c=r("e177"),l=h("IE_PROTO"),d=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),n(t,l)?t[l]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?d:null}},e177:function(t,e,r){var n=r("d039");t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},e260:function(t,e,r){"use strict";var n=r("fc6a"),o=r("44d2"),h=r("3f8c"),c=r("69f3"),l=r("7dd0"),d="Array Iterator",f=c.set,m=c.getterFor(d);t.exports=l(Array,"Array",function(t,e){f(this,{type:d,target:n(t),index:0,kind:e})},function(){var t=m(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values"),h.Arguments=h.Array,o("keys"),o("values"),o("entries")},e538:function(t,e,r){var n=r("b622");e.f=n},e893:function(t,e,r){var n=r("5135"),o=r("56ef"),h=r("06cf"),c=r("9bf2");t.exports=function(t,source){for(var e=o(source),r=c.f,l=h.f,i=0;i62?t=65:(t=this.value,t+=3):this.value>72?t=75:(t=this.value,t+=3),t+"%"}return 0===this.value&&this.line?this.defaultOptions.layout.horizontalTextAlign+this.defaultOptions.layout.zeroOffset+"%":this.defaultOptions.layout.horizontalTextAlign+"%"},cylinderProgressColor:function(){return 0===this.value?this.defaultOptions.progress.backgroundColor:this.defaultOptions.progress.color},cylinderBackgroundColor:function(){return 100===this.value?this.defaultOptions.progress.color:this.defaultOptions.progress.backgroundColor},cylinderBackgroundColorStroke:function(){return this.LightenColor(this.cylinderBackgroundColor,25)},cylinderColorStroke:function(){return this.LightenColor(this.cylinderProgressColor,5)},textStyle:function(){return{display:this.defaultOptions.text.hideText?"none":"inherit",fill:this.defaultOptions.text.color,fontSize:c(this.defaultOptions.text.fontSize),fontFamily:this.defaultOptions.text.fontFamily,textShadow:this.defaultOptions.text.shadowEnable?"1px 1px 1px "+this.defaultOptions.text.shadowColor:"none"}},textStyleCircle:function(){return{display:this.defaultOptions.text.hideText?"none":"inherit",color:this.defaultOptions.text.color,fontSize:c(this.defaultOptions.text.fontSize),fontFamily:this.defaultOptions.text.fontFamily,textShadow:this.defaultOptions.text.shadowEnable?"1px 1px 1px "+this.defaultOptions.text.shadowColor:"none",top:c(this.defaultOptions.layout.verticalTextAlign),left:c(this.defaultOptions.layout.horizontalTextAlign),position:"relative"}},progressColor:function(){return this.defaultOptions.progress.color},backgroundColor:function(){return this.defaultOptions.progress.backgroundColor},progressValue:function(){return this.value+"%"}},methods:{mergeDefaultOptionsWithProp:function(t){var e=this.defaultOptions;for(var option in t)if(null!==t[option]&&"object"===h(t[option]))for(var r in t[option])void 0!==t[option][r]&&null!==t[option][r]&&(e[option][r]=t[option][r]);else e[option]=t[option]},updateValue:function(t){var e=100-t;this.cylinder?(this.rectHeight=80-.8*e,this.rectY=.8*e+20,this.topCy=-.8*-e+20,this.cylText=100-e+"%"):this.circle&&(this.strokeCircle=2*Math.PI*this.radiusCircle,this.strokeCircleOffset=this.strokeCircle*((100-t)/100))},LightenColor:function(t,e){var r=!1;"#"===t[0]&&(t=t.slice(1),r=!0);var n=parseInt(t,16),o=(n>>16)+e;o>255?o=255:o<0&&(o=0);var b=(n>>8&255)+e;b>255?b=255:b<0&&(b=0);var g=(255&n)+e;return g>255?g=255:g<0&&(g=0),(r?"#":"")+(g|b<<8|o<<16).toString(16)}},watch:{value:function(t){this.updateValue(t)},options:function(t){null!=t&&this.mergeDefaultOptionsWithProp(t)}}};function d(t,e,r,n,o,h,c,l){var d,f="function"==typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=r,f._compiled=!0),n&&(f.functional=!0),h&&(f._scopeId="data-v-"+h),c?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},f._ssrRegister=d):o&&(d=l?function(){o.call(this,this.$root.$options.shadowRoot)}:o),d)if(f.functional){f._injectStyles=d;var m=f.render;f.render=function(t,e){return d.call(e),m(t,e)}}else{var y=f.beforeCreate;f.beforeCreate=y?[].concat(y,d):[d]}return{exports:t,options:f}}var f=d({name:"ProgressBarBattery",mixins:[l],props:{options:{type:Object,required:!1,default:function(){}},value:{type:Number,required:!1,default:0}}},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"progress-bar-battery"}},[r("svg",{style:t.batteryStyleSvgFrame,attrs:{id:"battery-progress"}},[r("rect",{style:t.batteryStyleFrame,attrs:{fill:t.backgroundColor,"stroke-width":"3",rx:"5",ry:"5"}}),r("rect",{attrs:{fill:t.backgroundColor,"stroke-width":"3",x:t.defaultOptions.layout.width,y:t.defaultOptions.layout.height/4,width:t.defaultOptions.layout.width/16,height:t.defaultOptions.layout.height/2,rx:"1"}}),r("rect",{style:t.batteryProgress,attrs:{fill:t.progressColor,x:t.defaultOptions.layout.progressPadding/2,y:t.defaultOptions.layout.progressPadding/2}}),r("text",{style:t.textStyle,attrs:{x:t.horizontalTextAlignP,y:t.verticalTextAlignP}},[t._v(" "+t._s(t.value)+"% ")])])])},[],!1,null,null,null).exports,m=d({name:"ProgressBarCircle",mixins:[l],props:{options:{type:Object,required:!1,default:function(){}},value:{type:Number,required:!1,default:0}}},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"progress-bar-circle"}},[r("div",{style:t.textStyleCircle},[t._v(" "+t._s(t.value+"%")+" ")]),r("svg",{attrs:{width:t.width,height:t.height,viewBox:"0 0 120 120"}},[r("circle",{attrs:{cx:"60",cy:"60",r:t.radiusCircle,fill:"none",stroke:t.backgroundColor,"stroke-width":t.defaultOptions.layout.strokeWidth}}),r("circle",{attrs:{cx:"60",cy:"60",r:t.radiusCircle,fill:"none",stroke:t.progressColor,"stroke-width":t.defaultOptions.layout.strokeWidth,"stroke-dasharray":t.strokeCircle,"stroke-dashoffset":t.strokeCircleOffset}})])])},[],!1,null,null,null).exports,y={name:"ProgressBarCylinder",mixins:[l],props:{options:{type:Object,required:!1,default:function(){}},value:{type:Number,required:!1,default:0}}},_=(r("7e69"),{name:"ProgressBar",components:{ProgressBarBattery:f,ProgressBarCircle:m,ProgressBarCylinder:d(y,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"progress-bar-cylinder"}},[r("svg",{attrs:{id:"cylinder-progress",width:"150px",height:"120px"}},[r("g",{staticClass:"progress-container",attrs:{stroke:t.cylinderBackgroundColorStroke,fill:t.backgroundColor}},[r("rect",{attrs:{x:"0",y:"20",width:"100%",height:"80"}}),r("ellipse",{staticClass:"top",attrs:{cx:"75",cy:"20",rx:"50%",ry:"15"}}),r("ellipse",{staticClass:"bottom",attrs:{cx:"75",cy:"100",rx:"50%",ry:"15"}})]),r("g",{staticClass:"progress-content",attrs:{stroke:t.cylinderColorStroke,fill:t.cylinderProgressColor}},[r("rect",{attrs:{x:"0",y:t.rectY,width:"100%",height:t.rectHeight}}),r("ellipse",{staticClass:"top",attrs:{cx:"75",cy:t.topCy,rx:"50%",ry:"15"}}),r("ellipse",{staticClass:"bottom",attrs:{cx:"75",cy:"100",rx:"50%",ry:"15"}})]),r("g",{staticClass:"progress-container"},[r("ellipse",{staticClass:"top",attrs:{stroke:t.cylinderBackgroundColorStroke,cx:"75",cy:"20",rx:"50%",ry:"15",fill:"none"}})]),r("text",{style:t.textStyle,attrs:{x:t.horizontalTextAlignP,y:t.verticalTextAlignP}},[t._v(" "+t._s(t.value)+"% ")])])])},[],!1,null,"f1691f2e",null).exports,ProgressBarLine:d({name:"ProgressBarLine",mixins:[l],props:{options:{type:Object,required:!1,default:function(){}},value:{type:Number,required:!1,default:0}}},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"progress-bar-line"}},[r("svg",{style:t.lineStyleSvgFrame,attrs:{id:"line-progress"}},[r("line",{attrs:{x1:"0",y1:"50%",x2:"100%",y2:"50%",stroke:t.backgroundColor,"stroke-width":t.defaultOptions.layout.height}}),r("line",{attrs:{x1:"0",y1:"50%",x2:t.progressValue,y2:"50%",stroke:t.progressColor,"stroke-width":t.lineProgressHeight}}),r("text",{style:t.textStyle,attrs:{x:t.horizontalTextAlignP,y:t.verticalTextAlignP}},[t._v(" "+t._s(t.value)+"% ")])])])},[],!1,null,null,null).exports},mixins:[l],props:{options:{type:Object,required:!1,default:function(){}},value:{type:Number,required:!1,default:0}}}),v=(r("c869"),d(_,function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.progressBarType,{tag:"component",staticClass:"progress-bar",attrs:{value:t.value,options:t.options}})},[],!1,null,"8248d938",null).exports);o.a.component("ProgressBar",v);var w=v;e.default=w},fb6a:function(t,e,r){"use strict";var n=r("23e7"),o=r("861d"),h=r("e8b5"),c=r("23cb"),l=r("50c4"),d=r("fc6a"),f=r("8418"),m=r("b622"),y=r("1dde"),_=r("ae40"),v=y("slice"),w=_("slice",{ACCESSORS:!0,0:0,1:2}),M=m("species"),A=[].slice,S=Math.max;n({target:"Array",proto:!0,forced:!v||!w},{slice:function(t,e){var r,n,m,y=d(this),_=l(y.length),v=c(t,_),w=c(void 0===e?_:e,_);if(h(y)&&("function"!=typeof(r=y.constructor)||r!==Array&&!h(r.prototype)?o(r)&&null===(r=r[M])&&(r=void 0):r=void 0,r===Array||void 0===r))return A.call(y,v,w);for(n=new(void 0===r?Array:r)(S(w-v,0)),m=0;v0&&n[n.length-1])||6!==h[0]&&2!==h[0])){o=0;continue}if(3===h[0]&&(!n||h[1]>n[0]&&h[1]1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");if(this._currentReleaser){var t=this._currentReleaser;this._currentReleaser=void 0,t()}},t.prototype._dispatch=function(){var t=this,e=this._queue.shift();if(e){var r=!1;this._currentReleaser=function(){r||(r=!0,t._value++,t._dispatch())},e([this._value--,this._currentReleaser])}},t}(),c=function(){function t(){this._semaphore=new h(1)}return t.prototype.acquire=function(){return n(this,void 0,void 0,function(){var t;return o(this,function(e){switch(e.label){case 0:return[4,this._semaphore.acquire()];case 1:return t=e.sent(),[2,t[1]]}})})},t.prototype.runExclusive=function(t){return this._semaphore.runExclusive(function(){return t()})},t.prototype.isLocked=function(){return this._semaphore.isLocked()},t.prototype.release=function(){this._semaphore.release()},t}()},,,,function(t,e,r){"use strict";r(14);var n=r(3);const o=window.requestIdleCallback||function(t){const e=Date.now();return setTimeout(function(){t({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))})},1)},h=window.cancelIdleCallback||function(t){clearTimeout(t)},c=window.IntersectionObserver&&new window.IntersectionObserver(t=>{t.forEach(({intersectionRatio:t,target:link})=>{t<=0||!link.__prefetch||link.__prefetch()})});e.a={name:"NuxtLink",extends:n.default.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}},mounted(){this.prefetch&&!this.noPrefetch&&(this.handleId=o(this.observe,{timeout:2e3}))},beforeDestroy(){h(this.handleId),this.__observed&&(c.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe(){c&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),c.observe(this.$el),this.__observed=!0)},shouldPrefetch(){return this.getPrefetchComponents().length>0},canPrefetch(){const t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map(t=>t.components.default).filter(t=>"function"==typeof t&&!t.options&&!t.__prefetched)},prefetchLink(){if(!this.canPrefetch())return;c.unobserve(this.$el);const t=this.getPrefetchComponents();for(const e of t){const t=e();t instanceof Promise&&t.catch(()=>{}),e.__prefetched=!0}}}}},,,,,,,,,,,,,,,,,function(t,e){var s=1e3,r=60*s,n=60*r,o=24*n,h=365.25*o;function c(t,e,r){if(!(t0)return function(t){if((t=String(t)).length>100)return;var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!e)return;var c=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*h;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(t);if("number"===d&&!1===isNaN(t))return e.long?c(l=t,o,"day")||c(l,n,"hour")||c(l,r,"minute")||c(l,s,"second")||l+" ms":function(t){if(t>=o)return Math.round(t/o)+"d";if(t>=n)return Math.round(t/n)+"h";if(t>=r)return Math.round(t/r)+"m";if(t>=s)return Math.round(t/s)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,r){var n=r(596)("socket.io-parser"),o=r(598),h=r(599),c=r(263),l=r(264);function d(){}e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=d,e.Decoder=y;var f=e.ERROR+'"encode error"';function m(t){var r=""+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(r+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(r+=t.nsp+","),null!=t.id&&(r+=t.id),null!=t.data){var o=function(t){try{return JSON.stringify(t)}catch(t){return!1}}(t.data);if(!1===o)return f;r+=o}return n("encoded %j as %s",t,r),r}function y(t){this.reconstructor=null,t=t||{},this.opts={maxAttachments:t.maxAttachments||10}}function _(t){this.reconPack=t,this.buffers=[]}d.prototype.encode=function(t,r){(n("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type)?function(t,e){function r(t){var r=h.deconstructPacket(t),n=m(r.packet),o=r.buffers;o.unshift(n),e(o)}h.removeBlobs(t,r)}(t,r):r([m(t)])},o(y.prototype),y.prototype.add=function(t){var r;if("string"==typeof t){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");r=function(t,r){var i=0,p={type:Number(t.charAt(0))};if(null==e.types[p.type])return o="unknown packet type "+p.type,{type:e.ERROR,data:"parser error: "+o};var o;if(e.BINARY_EVENT===p.type||e.BINARY_ACK===p.type){for(var h=i+1;"-"!==t.charAt(++i)&&i!=t.length;);var l=t.substring(h,i);if(l!=Number(l)||"-"!==t.charAt(i))throw new Error("Illegal attachments");var d=Number(l);if(!v(d)||d<1)throw new Error("Illegal attachments");if(d>r)throw new Error("too many attachments");p.attachments=d}if("/"===t.charAt(i+1)){for(h=i+1;++i;){if(","===(m=t.charAt(i)))break;if(i===t.length)break}p.nsp=t.substring(h,i)}else p.nsp="/";var f=t.charAt(i+1);if(""!==f&&Number(f)==f){for(h=i+1;++i;){var m;if(null==(m=t.charAt(i))||Number(m)!=m){--i;break}if(i===t.length)break}p.id=Number(t.substring(h,i+1))}if(t.charAt(++i)){var y=function(t){try{return JSON.parse(t)}catch(t){return!1}}(t.substr(i));if(!function(t,e){switch(t){case 0:return"object"==typeof e;case 1:return void 0===e;case 4:return"string"==typeof e||"object"==typeof e;case 2:case 5:return c(e)&&("string"==typeof e[0]||"number"==typeof e[0]);case 3:case 6:return c(e)}}(p.type,y))throw new Error("invalid payload");p.data=y}return n("decoded %s as %j",t,p),p}(t,this.opts.maxAttachments),e.BINARY_EVENT===r.type||e.BINARY_ACK===r.type?this.reconstructor=new _(r):this.emit("decoded",r)}else{if(!l(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(r=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit("decoded",r))}},y.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},_.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=h.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},_.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]};var v=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}},function(t,e,r){var n=r(604),o=r(196);t.exports=function(t){var e=t.xdomain,r=t.xscheme,h=t.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!e||n))return new XMLHttpRequest}catch(t){}try{if("undefined"!=typeof XDomainRequest&&!r&&h)return new XDomainRequest}catch(t){}if(!e)try{return new(o[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(t){}}},function(t,e){t.exports="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")()},function(t,e,r){var n=r(92),o=r(198);function h(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}t.exports=h,o(h.prototype),h.prototype.onError=function(t,desc){var e=new Error(t);return e.type="TransportError",e.description=desc,this.emit("error",e),this},h.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},h.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},h.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},h.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},h.prototype.onData=function(data){var t=n.decodePacket(data,this.socket.binaryType);this.onPacket(t)},h.prototype.onPacket=function(t){this.emit("packet",t)},h.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},function(t,e,r){function n(t){if(t)return function(t){for(var e in n.prototype)t[e]=n.prototype[e];return t}(t)}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},n.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},A.prototype._writev=null,A.prototype.end=function(t,e,r){var o=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||function(t,e,r){e.ending=!0,E(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,o,r)},Object.defineProperty(A.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),A.prototype.destroy=v.destroy,A.prototype._undestroy=v.undestroy,A.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(27))},function(t,e,r){"use strict";var n=r(15),o=r(698),h=r(18).Buffer,c=new Array(16);function l(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function d(t,e){return t<>>32-e}function f(a,b,t,e,r,n,s){return d(a+(b&t|~b&e)+r+n|0,s)+b|0}function m(a,b,t,e,r,n,s){return d(a+(b&e|t&~e)+r+n|0,s)+b|0}function y(a,b,t,e,r,n,s){return d(a+(b^t^e)+r+n|0,s)+b|0}function _(a,b,t,e,r,n,s){return d(a+(t^(b|~e))+r+n|0,s)+b|0}n(l,o),l.prototype._update=function(){for(var t=c,i=0;i<16;++i)t[i]=this._block.readInt32LE(4*i);var a=this._a,b=this._b,e=this._c,r=this._d;a=f(a,b,e,r,t[0],3614090360,7),r=f(r,a,b,e,t[1],3905402710,12),e=f(e,r,a,b,t[2],606105819,17),b=f(b,e,r,a,t[3],3250441966,22),a=f(a,b,e,r,t[4],4118548399,7),r=f(r,a,b,e,t[5],1200080426,12),e=f(e,r,a,b,t[6],2821735955,17),b=f(b,e,r,a,t[7],4249261313,22),a=f(a,b,e,r,t[8],1770035416,7),r=f(r,a,b,e,t[9],2336552879,12),e=f(e,r,a,b,t[10],4294925233,17),b=f(b,e,r,a,t[11],2304563134,22),a=f(a,b,e,r,t[12],1804603682,7),r=f(r,a,b,e,t[13],4254626195,12),e=f(e,r,a,b,t[14],2792965006,17),a=m(a,b=f(b,e,r,a,t[15],1236535329,22),e,r,t[1],4129170786,5),r=m(r,a,b,e,t[6],3225465664,9),e=m(e,r,a,b,t[11],643717713,14),b=m(b,e,r,a,t[0],3921069994,20),a=m(a,b,e,r,t[5],3593408605,5),r=m(r,a,b,e,t[10],38016083,9),e=m(e,r,a,b,t[15],3634488961,14),b=m(b,e,r,a,t[4],3889429448,20),a=m(a,b,e,r,t[9],568446438,5),r=m(r,a,b,e,t[14],3275163606,9),e=m(e,r,a,b,t[3],4107603335,14),b=m(b,e,r,a,t[8],1163531501,20),a=m(a,b,e,r,t[13],2850285829,5),r=m(r,a,b,e,t[2],4243563512,9),e=m(e,r,a,b,t[7],1735328473,14),a=y(a,b=m(b,e,r,a,t[12],2368359562,20),e,r,t[5],4294588738,4),r=y(r,a,b,e,t[8],2272392833,11),e=y(e,r,a,b,t[11],1839030562,16),b=y(b,e,r,a,t[14],4259657740,23),a=y(a,b,e,r,t[1],2763975236,4),r=y(r,a,b,e,t[4],1272893353,11),e=y(e,r,a,b,t[7],4139469664,16),b=y(b,e,r,a,t[10],3200236656,23),a=y(a,b,e,r,t[13],681279174,4),r=y(r,a,b,e,t[0],3936430074,11),e=y(e,r,a,b,t[3],3572445317,16),b=y(b,e,r,a,t[6],76029189,23),a=y(a,b,e,r,t[9],3654602809,4),r=y(r,a,b,e,t[12],3873151461,11),e=y(e,r,a,b,t[15],530742520,16),a=_(a,b=y(b,e,r,a,t[2],3299628645,23),e,r,t[0],4096336452,6),r=_(r,a,b,e,t[7],1126891415,10),e=_(e,r,a,b,t[14],2878612391,15),b=_(b,e,r,a,t[5],4237533241,21),a=_(a,b,e,r,t[12],1700485571,6),r=_(r,a,b,e,t[3],2399980690,10),e=_(e,r,a,b,t[10],4293915773,15),b=_(b,e,r,a,t[1],2240044497,21),a=_(a,b,e,r,t[8],1873313359,6),r=_(r,a,b,e,t[15],4264355552,10),e=_(e,r,a,b,t[6],2734768916,15),b=_(b,e,r,a,t[13],1309151649,21),a=_(a,b,e,r,t[4],4149444226,6),r=_(r,a,b,e,t[11],3174756917,10),e=_(e,r,a,b,t[2],718787259,15),b=_(b,e,r,a,t[9],3951481745,21),this._a=this._a+a|0,this._b=this._b+b|0,this._c=this._c+e|0,this._d=this._d+r|0},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=h.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=l},function(t,e,r){"use strict";var n=r(20).Buffer,o=r(15),h=r(699),c=new Array(16),l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],m=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],y=[0,1518500249,1859775393,2400959708,2840853838],hr=[1352829926,1548603684,1836072691,2053994217,0];function _(t,e){return t<>>32-e}function v(a,b,t,e,r,n,o,s){return _(a+(b^t^e)+n+o|0,s)+r|0}function w(a,b,t,e,r,n,o,s){return _(a+(b&t|~b&e)+n+o|0,s)+r|0}function M(a,b,t,e,r,n,o,s){return _(a+((b|~t)^e)+n+o|0,s)+r|0}function A(a,b,t,e,r,n,o,s){return _(a+(b&e|t&~e)+n+o|0,s)+r|0}function S(a,b,t,e,r,n,o,s){return _(a+(b^(t|~e))+n+o|0,s)+r|0}function k(){h.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}o(k,h),k.prototype._update=function(){for(var t=c,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,o=0|this._c,dl=0|this._d,h=0|this._e,k=0|this._a,br=0|this._b,L=0|this._c,T=0|this._d,x=0|this._e,i=0;i<80;i+=1){var E,tr;i<16?(E=v(r,n,o,dl,h,t[l[i]],y[0],f[i]),tr=S(k,br,L,T,x,t[d[i]],hr[0],m[i])):i<32?(E=w(r,n,o,dl,h,t[l[i]],y[1],f[i]),tr=A(k,br,L,T,x,t[d[i]],hr[1],m[i])):i<48?(E=M(r,n,o,dl,h,t[l[i]],y[2],f[i]),tr=M(k,br,L,T,x,t[d[i]],hr[2],m[i])):i<64?(E=A(r,n,o,dl,h,t[l[i]],y[3],f[i]),tr=w(k,br,L,T,x,t[d[i]],hr[3],m[i])):(E=S(r,n,o,dl,h,t[l[i]],y[4],f[i]),tr=v(k,br,L,T,x,t[d[i]],hr[4],m[i])),r=h,h=dl,dl=_(o,10),o=n,n=E,k=x,x=T,T=_(L,10),L=br,br=tr}var D=this._b+o+T|0;this._b=this._c+dl+x|0,this._c=this._d+h+k|0,this._d=this._e+r+br|0,this._e=this._a+n+L|0,this._a=D},k.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=k},function(t,e,r){"use strict";var n=r(288),o=r(209),h=o([n("%String.prototype.indexOf%")]);t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&h(t,".prototype.")>-1?o([r]):r}},function(t,e,r){"use strict";t.exports=Object},function(t,e,r){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var h=Object.getOwnPropertyDescriptor(t,e);if(42!==h.value||!0!==h.enumerable)return!1}return!0}},function(t,e,r){"use strict";var n=r(122),o=r(120),h=r(210),c=r(293);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new o("a function is required");return c(n,h,t)}},function(t,e,r){"use strict";t.exports=Function.prototype.call},function(t,e,r){"use strict";t.exports=Function.prototype.apply},function(t,e,r){"use strict";t.exports=function(e){var r=e.toLowerCase(),n=t.exports[r];if(!n)throw new Error(r+" is not supported (we accept pull requests)");return new n},t.exports.sha=r(734),t.exports.sha1=r(735),t.exports.sha224=r(736),t.exports.sha256=r(294),t.exports.sha384=r(737),t.exports.sha512=r(295)},function(t,e,r){"use strict";var n=r(47);function o(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==t.padding}t.exports=o,o.prototype._init=function(){},o.prototype.update=function(data){return 0===data.length?[]:"decrypt"===this.type?this._updateDecrypt(data):this._updateEncrypt(data)},o.prototype._buffer=function(data,t){for(var e=Math.min(this.buffer.length-this.bufferOff,data.length-t),i=0;i0;r--)t+=this._buffer(data,t),e+=this._flushBuffer(n,e);return t+=this._buffer(data,t),n},o.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},o.prototype._pad=function(t,e){if(0===e)return!1;for(;e=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function l(t,e){var r=function(t){var e=c(t);return{blinder:e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(e),o=e.modulus.byteLength(),l=new n(t).mul(r.blinder).umod(e.modulus),d=l.toRed(n.mont(e.prime1)),f=l.toRed(n.mont(e.prime2)),m=e.coefficient,p=e.prime1,q=e.prime2,y=d.redPow(e.exponent1).fromRed(),_=f.redPow(e.exponent2).fromRed(),v=y.isub(_).imul(m).umod(p).imul(q);return _.iadd(v).imul(r.unblinder).umod(e.modulus).toArrayLike(h,"be",o)}l.getr=c,t.exports=l},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(765).Buffer}catch(t){}function l(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function d(t,e,r){var n=l(t,r);return r-1>=e&&(n|=l(t,r-1)<<4),n}function f(t,e,r,o){for(var h=0,b=0,c=Math.min(t.length,r),i=e;i=49?l-49+10:l>=17?l-17+10:l,n(l>=0&&b0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this._strip()},h.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i=e;i-=2)n=d(t,e,i)<=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;this._strip()},h.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,h=o%r,c=Math.min(o,o-h)+e,l=0,i=e;i1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{h.prototype[Symbol.for("nodejs.util.inspect.custom")]=y}catch(t){h.prototype.inspect=y}else h.prototype.inspect=y;function y(){return(this.red?""}var _=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],w=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),e=0!==o||i!==this.length-1?_[6-c.length]+c+e:c+e}for(0!==o&&(e=o.toString(16)+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var l=v[base],d=w[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(d).toString(base);e=(f=f.idivn(d)).isZero()?m+e:_[l-m.length]+m+e}for(this.isZero()&&(e="0"+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16,2)},c&&(h.prototype.toBuffer=function(t,e){return this.toArrayLike(c,t,e)}),h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function M(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,c=o/67108864|0;r.words[0]=h;for(var l=1;l>>26,f=67108863&c,m=Math.min(l,e.length-1),y=Math.max(0,l-t.length+1);y<=m;y++){var i=l-y|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[y])+f)/67108864|0,f=67108863&o}r.words[l]=0|f,c=0|d}return 0!==c?r.words[l]=0|c:r.length--,r._strip()}h.prototype.toArrayLike=function(t,e,r){this._strip();var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0");var c=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,h);return this["_toArrayLike"+("le"===e?"LE":"BE")](c,o),c},h.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i>8&255),r>16&255),6===o?(r>24&255),n=0,o=0):(n=h>>>24,o+=2)}if(r=0&&(t[r--]=h>>8&255),r>=0&&(t[r--]=h>>16&255),6===o?(r>=0&&(t[r--]=h>>24&255),n=0,o=0):(n=h>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?h.prototype._countBits=function(t){return 32-Math.clz32(t)}:h.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 8191&e||(r+=13,e>>>=13),127&e||(r+=7,e>>>=7),15&e||(r+=4,e>>>=4),3&e||(r+=2,e>>>=2),1&e||r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;it.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;it.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;it.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i>>26;for(;0!==r&&i>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;it.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i>26,this.words[i]=67108863&e;for(;0!==n&&i>26,this.words[i]=67108863&e;if(0===n&&i>>13,y=0|a[1],_=8191&y,v=y>>>13,w=0|a[2],M=8191&w,A=w>>>13,S=0|a[3],k=8191&S,L=S>>>13,T=0|a[4],x=8191&T,E=T>>>13,D=0|a[5],Y=8191&D,C=D>>>13,O=0|a[6],P=8191&O,R=O>>>13,j=0|a[7],I=8191&j,N=j>>>13,B=0|a[8],H=8191&B,F=B>>>13,U=0|a[9],z=8191&U,$=U>>>13,W=0|b[0],G=8191&W,V=W>>>13,Z=0|b[1],K=8191&Z,J=Z>>>13,Q=0|b[2],X=8191&Q,tt=Q>>>13,et=0|b[3],nt=8191&et,it=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],ht=8191&ut,ct=ut>>>13,lt=0|b[6],ft=8191<,pt=lt>>>13,mt=0|b[7],yt=8191&mt,gt=mt>>>13,_t=0|b[8],vt=8191&_t,bt=_t>>>13,wt=0|b[9],Mt=8191&wt,At=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var St=(l+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,V))+Math.imul(m,G)|0))<<13)|0;l=((h=Math.imul(m,V))+(o>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(_,G),o=(o=Math.imul(_,V))+Math.imul(v,G)|0,h=Math.imul(v,V);var kt=(l+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,J)|0)+Math.imul(m,K)|0))<<13)|0;l=((h=h+Math.imul(m,J)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(M,G),o=(o=Math.imul(M,V))+Math.imul(A,G)|0,h=Math.imul(A,V),n=n+Math.imul(_,K)|0,o=(o=o+Math.imul(_,J)|0)+Math.imul(v,K)|0,h=h+Math.imul(v,J)|0;var Lt=(l+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,X)|0))<<13)|0;l=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(k,G),o=(o=Math.imul(k,V))+Math.imul(L,G)|0,h=Math.imul(L,V),n=n+Math.imul(M,K)|0,o=(o=o+Math.imul(M,J)|0)+Math.imul(A,K)|0,h=h+Math.imul(A,J)|0,n=n+Math.imul(_,X)|0,o=(o=o+Math.imul(_,tt)|0)+Math.imul(v,X)|0,h=h+Math.imul(v,tt)|0;var Tt=(l+(n=n+Math.imul(f,nt)|0)|0)+((8191&(o=(o=o+Math.imul(f,it)|0)+Math.imul(m,nt)|0))<<13)|0;l=((h=h+Math.imul(m,it)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,V))+Math.imul(E,G)|0,h=Math.imul(E,V),n=n+Math.imul(k,K)|0,o=(o=o+Math.imul(k,J)|0)+Math.imul(L,K)|0,h=h+Math.imul(L,J)|0,n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(_,nt)|0,o=(o=o+Math.imul(_,it)|0)+Math.imul(v,nt)|0,h=h+Math.imul(v,it)|0;var xt=(l+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;l=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(Y,G),o=(o=Math.imul(Y,V))+Math.imul(C,G)|0,h=Math.imul(C,V),n=n+Math.imul(x,K)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(E,K)|0,h=h+Math.imul(E,J)|0,n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(L,X)|0,h=h+Math.imul(L,tt)|0,n=n+Math.imul(M,nt)|0,o=(o=o+Math.imul(M,it)|0)+Math.imul(A,nt)|0,h=h+Math.imul(A,it)|0,n=n+Math.imul(_,at)|0,o=(o=o+Math.imul(_,st)|0)+Math.imul(v,at)|0,h=h+Math.imul(v,st)|0;var Et=(l+(n=n+Math.imul(f,ht)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,ht)|0))<<13)|0;l=((h=h+Math.imul(m,ct)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),o=(o=Math.imul(P,V))+Math.imul(R,G)|0,h=Math.imul(R,V),n=n+Math.imul(Y,K)|0,o=(o=o+Math.imul(Y,J)|0)+Math.imul(C,K)|0,h=h+Math.imul(C,J)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(E,X)|0,h=h+Math.imul(E,tt)|0,n=n+Math.imul(k,nt)|0,o=(o=o+Math.imul(k,it)|0)+Math.imul(L,nt)|0,h=h+Math.imul(L,it)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(_,ht)|0,o=(o=o+Math.imul(_,ct)|0)+Math.imul(v,ht)|0,h=h+Math.imul(v,ct)|0;var Dt=(l+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;l=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,V))+Math.imul(N,G)|0,h=Math.imul(N,V),n=n+Math.imul(P,K)|0,o=(o=o+Math.imul(P,J)|0)+Math.imul(R,K)|0,h=h+Math.imul(R,J)|0,n=n+Math.imul(Y,X)|0,o=(o=o+Math.imul(Y,tt)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(x,nt)|0,o=(o=o+Math.imul(x,it)|0)+Math.imul(E,nt)|0,h=h+Math.imul(E,it)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(L,at)|0,h=h+Math.imul(L,st)|0,n=n+Math.imul(M,ht)|0,o=(o=o+Math.imul(M,ct)|0)+Math.imul(A,ht)|0,h=h+Math.imul(A,ct)|0,n=n+Math.imul(_,ft)|0,o=(o=o+Math.imul(_,pt)|0)+Math.imul(v,ft)|0,h=h+Math.imul(v,pt)|0;var Yt=(l+(n=n+Math.imul(f,yt)|0)|0)+((8191&(o=(o=o+Math.imul(f,gt)|0)+Math.imul(m,yt)|0))<<13)|0;l=((h=h+Math.imul(m,gt)|0)+(o>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,n=Math.imul(H,G),o=(o=Math.imul(H,V))+Math.imul(F,G)|0,h=Math.imul(F,V),n=n+Math.imul(I,K)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(N,K)|0,h=h+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,o=(o=o+Math.imul(P,tt)|0)+Math.imul(R,X)|0,h=h+Math.imul(R,tt)|0,n=n+Math.imul(Y,nt)|0,o=(o=o+Math.imul(Y,it)|0)+Math.imul(C,nt)|0,h=h+Math.imul(C,it)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(E,at)|0,h=h+Math.imul(E,st)|0,n=n+Math.imul(k,ht)|0,o=(o=o+Math.imul(k,ct)|0)+Math.imul(L,ht)|0,h=h+Math.imul(L,ct)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(_,yt)|0,o=(o=o+Math.imul(_,gt)|0)+Math.imul(v,yt)|0,h=h+Math.imul(v,gt)|0;var Ct=(l+(n=n+Math.imul(f,vt)|0)|0)+((8191&(o=(o=o+Math.imul(f,bt)|0)+Math.imul(m,vt)|0))<<13)|0;l=((h=h+Math.imul(m,bt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(z,G),o=(o=Math.imul(z,V))+Math.imul($,G)|0,h=Math.imul($,V),n=n+Math.imul(H,K)|0,o=(o=o+Math.imul(H,J)|0)+Math.imul(F,K)|0,h=h+Math.imul(F,J)|0,n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(P,nt)|0,o=(o=o+Math.imul(P,it)|0)+Math.imul(R,nt)|0,h=h+Math.imul(R,it)|0,n=n+Math.imul(Y,at)|0,o=(o=o+Math.imul(Y,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(x,ht)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(E,ht)|0,h=h+Math.imul(E,ct)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(L,ft)|0,h=h+Math.imul(L,pt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,gt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,gt)|0,n=n+Math.imul(_,vt)|0,o=(o=o+Math.imul(_,bt)|0)+Math.imul(v,vt)|0,h=h+Math.imul(v,bt)|0;var Ot=(l+(n=n+Math.imul(f,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(f,At)|0)+Math.imul(m,Mt)|0))<<13)|0;l=((h=h+Math.imul(m,At)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(z,K),o=(o=Math.imul(z,J))+Math.imul($,K)|0,h=Math.imul($,J),n=n+Math.imul(H,X)|0,o=(o=o+Math.imul(H,tt)|0)+Math.imul(F,X)|0,h=h+Math.imul(F,tt)|0,n=n+Math.imul(I,nt)|0,o=(o=o+Math.imul(I,it)|0)+Math.imul(N,nt)|0,h=h+Math.imul(N,it)|0,n=n+Math.imul(P,at)|0,o=(o=o+Math.imul(P,st)|0)+Math.imul(R,at)|0,h=h+Math.imul(R,st)|0,n=n+Math.imul(Y,ht)|0,o=(o=o+Math.imul(Y,ct)|0)+Math.imul(C,ht)|0,h=h+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(E,ft)|0,h=h+Math.imul(E,pt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,gt)|0)+Math.imul(L,yt)|0,h=h+Math.imul(L,gt)|0,n=n+Math.imul(M,vt)|0,o=(o=o+Math.imul(M,bt)|0)+Math.imul(A,vt)|0,h=h+Math.imul(A,bt)|0;var Pt=(l+(n=n+Math.imul(_,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(_,At)|0)+Math.imul(v,Mt)|0))<<13)|0;l=((h=h+Math.imul(v,At)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,tt))+Math.imul($,X)|0,h=Math.imul($,tt),n=n+Math.imul(H,nt)|0,o=(o=o+Math.imul(H,it)|0)+Math.imul(F,nt)|0,h=h+Math.imul(F,it)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(P,ht)|0,o=(o=o+Math.imul(P,ct)|0)+Math.imul(R,ht)|0,h=h+Math.imul(R,ct)|0,n=n+Math.imul(Y,ft)|0,o=(o=o+Math.imul(Y,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(x,yt)|0,o=(o=o+Math.imul(x,gt)|0)+Math.imul(E,yt)|0,h=h+Math.imul(E,gt)|0,n=n+Math.imul(k,vt)|0,o=(o=o+Math.imul(k,bt)|0)+Math.imul(L,vt)|0,h=h+Math.imul(L,bt)|0;var Rt=(l+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,At)|0)+Math.imul(A,Mt)|0))<<13)|0;l=((h=h+Math.imul(A,At)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(z,nt),o=(o=Math.imul(z,it))+Math.imul($,nt)|0,h=Math.imul($,it),n=n+Math.imul(H,at)|0,o=(o=o+Math.imul(H,st)|0)+Math.imul(F,at)|0,h=h+Math.imul(F,st)|0,n=n+Math.imul(I,ht)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(N,ht)|0,h=h+Math.imul(N,ct)|0,n=n+Math.imul(P,ft)|0,o=(o=o+Math.imul(P,pt)|0)+Math.imul(R,ft)|0,h=h+Math.imul(R,pt)|0,n=n+Math.imul(Y,yt)|0,o=(o=o+Math.imul(Y,gt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,gt)|0,n=n+Math.imul(x,vt)|0,o=(o=o+Math.imul(x,bt)|0)+Math.imul(E,vt)|0,h=h+Math.imul(E,bt)|0;var jt=(l+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,At)|0)+Math.imul(L,Mt)|0))<<13)|0;l=((h=h+Math.imul(L,At)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(z,at),o=(o=Math.imul(z,st))+Math.imul($,at)|0,h=Math.imul($,st),n=n+Math.imul(H,ht)|0,o=(o=o+Math.imul(H,ct)|0)+Math.imul(F,ht)|0,h=h+Math.imul(F,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(P,yt)|0,o=(o=o+Math.imul(P,gt)|0)+Math.imul(R,yt)|0,h=h+Math.imul(R,gt)|0,n=n+Math.imul(Y,vt)|0,o=(o=o+Math.imul(Y,bt)|0)+Math.imul(C,vt)|0,h=h+Math.imul(C,bt)|0;var It=(l+(n=n+Math.imul(x,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(x,At)|0)+Math.imul(E,Mt)|0))<<13)|0;l=((h=h+Math.imul(E,At)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(z,ht),o=(o=Math.imul(z,ct))+Math.imul($,ht)|0,h=Math.imul($,ct),n=n+Math.imul(H,ft)|0,o=(o=o+Math.imul(H,pt)|0)+Math.imul(F,ft)|0,h=h+Math.imul(F,pt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,gt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,gt)|0,n=n+Math.imul(P,vt)|0,o=(o=o+Math.imul(P,bt)|0)+Math.imul(R,vt)|0,h=h+Math.imul(R,bt)|0;var Nt=(l+(n=n+Math.imul(Y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(Y,At)|0)+Math.imul(C,Mt)|0))<<13)|0;l=((h=h+Math.imul(C,At)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(z,ft),o=(o=Math.imul(z,pt))+Math.imul($,ft)|0,h=Math.imul($,pt),n=n+Math.imul(H,yt)|0,o=(o=o+Math.imul(H,gt)|0)+Math.imul(F,yt)|0,h=h+Math.imul(F,gt)|0,n=n+Math.imul(I,vt)|0,o=(o=o+Math.imul(I,bt)|0)+Math.imul(N,vt)|0,h=h+Math.imul(N,bt)|0;var Bt=(l+(n=n+Math.imul(P,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(P,At)|0)+Math.imul(R,Mt)|0))<<13)|0;l=((h=h+Math.imul(R,At)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(z,yt),o=(o=Math.imul(z,gt))+Math.imul($,yt)|0,h=Math.imul($,gt),n=n+Math.imul(H,vt)|0,o=(o=o+Math.imul(H,bt)|0)+Math.imul(F,vt)|0,h=h+Math.imul(F,bt)|0;var Ht=(l+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,At)|0)+Math.imul(N,Mt)|0))<<13)|0;l=((h=h+Math.imul(N,At)|0)+(o>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(z,vt),o=(o=Math.imul(z,bt))+Math.imul($,vt)|0,h=Math.imul($,bt);var Ft=(l+(n=n+Math.imul(H,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(H,At)|0)+Math.imul(F,Mt)|0))<<13)|0;l=((h=h+Math.imul(F,At)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863;var Ut=(l+(n=Math.imul(z,Mt))|0)+((8191&(o=(o=Math.imul(z,At))+Math.imul($,Mt)|0))<<13)|0;return l=((h=Math.imul($,At))+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,c[0]=St,c[1]=kt,c[2]=Lt,c[3]=Tt,c[4]=xt,c[5]=Et,c[6]=Dt,c[7]=Yt,c[8]=Ct,c[9]=Ot,c[10]=Pt,c[11]=Rt,c[12]=jt,c[13]=It,c[14]=Nt,c[15]=Bt,c[16]=Ht,c[17]=Ft,c[18]=Ut,0!==l&&(c[19]=l,r.length++),r};function S(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h>>26)|0)>>>26,c&=67108863}r.words[h]=l,n=c,c=o}return 0!==n?r.words[h]=n:r.length--,r._strip()}function k(t,e,r){return S(t,e,r)}function L(t,e){this.x=t,this.y=e}Math.imul||(A=M),h.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?A(this,t,e):r<63?M(this,t,e):r<1024?S(this,t,e):k(this,t,e)},L.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i>=1;return n},L.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i>>=1)i++;return 1<>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i>=26,r+=o/67108864|0,r+=h>>>26,this.words[i]=67108863&h}return 0!==r&&(this.words[i]=r,this.length++),0===t&&(this.length=1,this._normSign()),e?this.ineg():this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>o&1}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<s)for(this.length-=s,i=0;i=0&&(0!==l||i>=o);i--){var d=0|this.words[i];this.words[i]=l<<26-h|d>>>h,l=d&mask}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===c)return this._strip();for(n(-1===c),c=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i=0;l--){var d=67108864*(0|a.words[b.length+l])+(0|a.words[b.length+l-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,l);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,l),a.isZero()||(a.negative^=1);q&&(q.words[l]=d)}return q&&q._strip(),a._strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!==(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modrn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=e.mod.abs(),n=t.abs().iushrn(1),o=1&t.words[0],c=r.cmp(n);if(c<0||1===o&&0===c)return e.div;var l=new h(1);return l.negative=this.negative^t.negative,e.div.iadd(l)},h.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var p=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(p*r+(0|this.words[i]))%t;return e?-r:r},h.prototype.modn=function(t){return this.modrn(t)},h.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),c=new h(0),l=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0===(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var y=0,_=1;0===(e.words[0]&_)&&y<26;++y,_<<=1);if(y>0)for(e.iushrn(y);y-- >0;)(c.isOdd()||l.isOdd())&&(c.iadd(d),l.isub(f)),c.iushrn(1),l.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(l)):(e.isub(t),c.isub(r),l.isub(o))}return{a:c,b:l,gcd:e.iushln(g)}},h.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0===(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var l=0,d=1;0===(b.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(b.iushrn(l);l-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return!(1&this.words[0])},h.prototype.isOdd=function(){return!(1&~this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:ot.length)return 1;if(this.length=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){ab&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new O(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var T={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function D(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function Y(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function O(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function P(t){O.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(E,x),E.prototype.split=function(input,output){for(var mask=4194303,t=Math.min(input.length,9),i=0;i>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(T[t])return T[t];var e;if("k256"===t)e=new E;else if("p224"===t)e=new D;else if("p192"===t)e=new Y;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new C}return T[t]=e,e},O.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},O.prototype._verify2=function(a,b){n(0===(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},O.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):(m(a,a.umod(this.m)._forceRed(this)),a)},O.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},O.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},O.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},O.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},O.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},O.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},O.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},O.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},O.prototype.isqr=function(a){return this.imul(a,a.clone())},O.prototype.sqr=function(a){return this.mul(a,a)},O.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new h(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new h(2*l*l).toRed(this);0!==this.pow(l,c).cmp(o);)l.redIAdd(o);for(var d=this.pow(l,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),y=s;0!==m.cmp(r);){for(var _=m,i=0;0!==_.cmp(r);i++)_=_.redSqr();n(i=0;i--){for(var l=t.words[i],d=c-1;d>=0;d--){var f=l>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},O.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},O.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new P(t)},o(P,O),P.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},P.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},P.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},P.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},P.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(76)(t))},function(t,e,r){"use strict";var n=e;n.version=r(766).version,n.utils=r(48),n.rand=r(216),n.curve=r(315),n.curves=r(220),n.ec=r(778),n.eddsa=r(782)},function(t,e,r){"use strict";var pre,n=e,o=r(221),h=r(315),c=r(48).assert;function l(t){"short"===t.type?this.curve=new h.short(t):"edwards"===t.type?this.curve=new h.edwards(t):this.curve=new h.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function d(t,e){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){var r=new l(e);return Object.defineProperty(n,t,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=l,d("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),d("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),d("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),d("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),d("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),d("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),d("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{pre=r(777)}catch(t){pre=void 0}d("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",pre]})},function(t,e,r){var n=e;n.utils=r(57),n.common=r(124),n.sha=r(771),n.ripemd=r(775),n.hmac=r(776),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(806).Buffer}catch(t){}function l(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=l(t,r);return r-1>=e&&(n|=l(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i=49?c-49+10:c>=17?c-17+10:c}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i=e;i-=2)n=d(t,e,i)<=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;this.strip()},h.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,h=o%r,c=Math.min(o,o-h)+e,l=0,i=e;i1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,c=o/67108864|0;r.words[0]=h;for(var l=1;l>>26,f=67108863&c,m=Math.min(l,e.length-1),y=Math.max(0,l-t.length+1);y<=m;y++){var i=l-y|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[y])+f)/67108864|0,f=67108863&o}r.words[l]=0|f,c=0|d}return 0!==c?r.words[l]=0|c:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),e=0!==o||i!==this.length-1?m[6-c.length]+c+e:c+e}for(0!==o&&(e=o.toString(16)+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var l=y[base],d=_[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var v=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?v+e:m[l-v.length]+v+e}for(this.isZero()&&(e="0"+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,l=new t(h),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),l[i]=b;for(;i=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 8191&e||(r+=13,e>>>=13),127&e||(r+=7,e>>>=7),15&e||(r+=4,e>>>=4),3&e||(r+=2,e>>>=2),1&e||r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;it.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;it.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;it.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i>>26;for(;0!==r&&i>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;it.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i>26,this.words[i]=67108863&e;for(;0!==n&&i>26,this.words[i]=67108863&e;if(0===n&&i>>13,y=0|a[1],_=8191&y,v=y>>>13,w=0|a[2],M=8191&w,A=w>>>13,S=0|a[3],k=8191&S,L=S>>>13,T=0|a[4],x=8191&T,E=T>>>13,D=0|a[5],Y=8191&D,C=D>>>13,O=0|a[6],P=8191&O,R=O>>>13,j=0|a[7],I=8191&j,N=j>>>13,B=0|a[8],H=8191&B,F=B>>>13,U=0|a[9],z=8191&U,$=U>>>13,W=0|b[0],G=8191&W,V=W>>>13,Z=0|b[1],K=8191&Z,J=Z>>>13,Q=0|b[2],X=8191&Q,tt=Q>>>13,et=0|b[3],nt=8191&et,it=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],ht=8191&ut,ct=ut>>>13,lt=0|b[6],ft=8191<,pt=lt>>>13,mt=0|b[7],yt=8191&mt,gt=mt>>>13,_t=0|b[8],vt=8191&_t,bt=_t>>>13,wt=0|b[9],Mt=8191&wt,At=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var St=(l+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,V))+Math.imul(m,G)|0))<<13)|0;l=((h=Math.imul(m,V))+(o>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(_,G),o=(o=Math.imul(_,V))+Math.imul(v,G)|0,h=Math.imul(v,V);var kt=(l+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,J)|0)+Math.imul(m,K)|0))<<13)|0;l=((h=h+Math.imul(m,J)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(M,G),o=(o=Math.imul(M,V))+Math.imul(A,G)|0,h=Math.imul(A,V),n=n+Math.imul(_,K)|0,o=(o=o+Math.imul(_,J)|0)+Math.imul(v,K)|0,h=h+Math.imul(v,J)|0;var Lt=(l+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,X)|0))<<13)|0;l=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(k,G),o=(o=Math.imul(k,V))+Math.imul(L,G)|0,h=Math.imul(L,V),n=n+Math.imul(M,K)|0,o=(o=o+Math.imul(M,J)|0)+Math.imul(A,K)|0,h=h+Math.imul(A,J)|0,n=n+Math.imul(_,X)|0,o=(o=o+Math.imul(_,tt)|0)+Math.imul(v,X)|0,h=h+Math.imul(v,tt)|0;var Tt=(l+(n=n+Math.imul(f,nt)|0)|0)+((8191&(o=(o=o+Math.imul(f,it)|0)+Math.imul(m,nt)|0))<<13)|0;l=((h=h+Math.imul(m,it)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,V))+Math.imul(E,G)|0,h=Math.imul(E,V),n=n+Math.imul(k,K)|0,o=(o=o+Math.imul(k,J)|0)+Math.imul(L,K)|0,h=h+Math.imul(L,J)|0,n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(_,nt)|0,o=(o=o+Math.imul(_,it)|0)+Math.imul(v,nt)|0,h=h+Math.imul(v,it)|0;var xt=(l+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;l=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(Y,G),o=(o=Math.imul(Y,V))+Math.imul(C,G)|0,h=Math.imul(C,V),n=n+Math.imul(x,K)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(E,K)|0,h=h+Math.imul(E,J)|0,n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(L,X)|0,h=h+Math.imul(L,tt)|0,n=n+Math.imul(M,nt)|0,o=(o=o+Math.imul(M,it)|0)+Math.imul(A,nt)|0,h=h+Math.imul(A,it)|0,n=n+Math.imul(_,at)|0,o=(o=o+Math.imul(_,st)|0)+Math.imul(v,at)|0,h=h+Math.imul(v,st)|0;var Et=(l+(n=n+Math.imul(f,ht)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,ht)|0))<<13)|0;l=((h=h+Math.imul(m,ct)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),o=(o=Math.imul(P,V))+Math.imul(R,G)|0,h=Math.imul(R,V),n=n+Math.imul(Y,K)|0,o=(o=o+Math.imul(Y,J)|0)+Math.imul(C,K)|0,h=h+Math.imul(C,J)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(E,X)|0,h=h+Math.imul(E,tt)|0,n=n+Math.imul(k,nt)|0,o=(o=o+Math.imul(k,it)|0)+Math.imul(L,nt)|0,h=h+Math.imul(L,it)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(_,ht)|0,o=(o=o+Math.imul(_,ct)|0)+Math.imul(v,ht)|0,h=h+Math.imul(v,ct)|0;var Dt=(l+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;l=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,V))+Math.imul(N,G)|0,h=Math.imul(N,V),n=n+Math.imul(P,K)|0,o=(o=o+Math.imul(P,J)|0)+Math.imul(R,K)|0,h=h+Math.imul(R,J)|0,n=n+Math.imul(Y,X)|0,o=(o=o+Math.imul(Y,tt)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(x,nt)|0,o=(o=o+Math.imul(x,it)|0)+Math.imul(E,nt)|0,h=h+Math.imul(E,it)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(L,at)|0,h=h+Math.imul(L,st)|0,n=n+Math.imul(M,ht)|0,o=(o=o+Math.imul(M,ct)|0)+Math.imul(A,ht)|0,h=h+Math.imul(A,ct)|0,n=n+Math.imul(_,ft)|0,o=(o=o+Math.imul(_,pt)|0)+Math.imul(v,ft)|0,h=h+Math.imul(v,pt)|0;var Yt=(l+(n=n+Math.imul(f,yt)|0)|0)+((8191&(o=(o=o+Math.imul(f,gt)|0)+Math.imul(m,yt)|0))<<13)|0;l=((h=h+Math.imul(m,gt)|0)+(o>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,n=Math.imul(H,G),o=(o=Math.imul(H,V))+Math.imul(F,G)|0,h=Math.imul(F,V),n=n+Math.imul(I,K)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(N,K)|0,h=h+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,o=(o=o+Math.imul(P,tt)|0)+Math.imul(R,X)|0,h=h+Math.imul(R,tt)|0,n=n+Math.imul(Y,nt)|0,o=(o=o+Math.imul(Y,it)|0)+Math.imul(C,nt)|0,h=h+Math.imul(C,it)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(E,at)|0,h=h+Math.imul(E,st)|0,n=n+Math.imul(k,ht)|0,o=(o=o+Math.imul(k,ct)|0)+Math.imul(L,ht)|0,h=h+Math.imul(L,ct)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(_,yt)|0,o=(o=o+Math.imul(_,gt)|0)+Math.imul(v,yt)|0,h=h+Math.imul(v,gt)|0;var Ct=(l+(n=n+Math.imul(f,vt)|0)|0)+((8191&(o=(o=o+Math.imul(f,bt)|0)+Math.imul(m,vt)|0))<<13)|0;l=((h=h+Math.imul(m,bt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(z,G),o=(o=Math.imul(z,V))+Math.imul($,G)|0,h=Math.imul($,V),n=n+Math.imul(H,K)|0,o=(o=o+Math.imul(H,J)|0)+Math.imul(F,K)|0,h=h+Math.imul(F,J)|0,n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(P,nt)|0,o=(o=o+Math.imul(P,it)|0)+Math.imul(R,nt)|0,h=h+Math.imul(R,it)|0,n=n+Math.imul(Y,at)|0,o=(o=o+Math.imul(Y,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(x,ht)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(E,ht)|0,h=h+Math.imul(E,ct)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(L,ft)|0,h=h+Math.imul(L,pt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,gt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,gt)|0,n=n+Math.imul(_,vt)|0,o=(o=o+Math.imul(_,bt)|0)+Math.imul(v,vt)|0,h=h+Math.imul(v,bt)|0;var Ot=(l+(n=n+Math.imul(f,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(f,At)|0)+Math.imul(m,Mt)|0))<<13)|0;l=((h=h+Math.imul(m,At)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(z,K),o=(o=Math.imul(z,J))+Math.imul($,K)|0,h=Math.imul($,J),n=n+Math.imul(H,X)|0,o=(o=o+Math.imul(H,tt)|0)+Math.imul(F,X)|0,h=h+Math.imul(F,tt)|0,n=n+Math.imul(I,nt)|0,o=(o=o+Math.imul(I,it)|0)+Math.imul(N,nt)|0,h=h+Math.imul(N,it)|0,n=n+Math.imul(P,at)|0,o=(o=o+Math.imul(P,st)|0)+Math.imul(R,at)|0,h=h+Math.imul(R,st)|0,n=n+Math.imul(Y,ht)|0,o=(o=o+Math.imul(Y,ct)|0)+Math.imul(C,ht)|0,h=h+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(E,ft)|0,h=h+Math.imul(E,pt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,gt)|0)+Math.imul(L,yt)|0,h=h+Math.imul(L,gt)|0,n=n+Math.imul(M,vt)|0,o=(o=o+Math.imul(M,bt)|0)+Math.imul(A,vt)|0,h=h+Math.imul(A,bt)|0;var Pt=(l+(n=n+Math.imul(_,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(_,At)|0)+Math.imul(v,Mt)|0))<<13)|0;l=((h=h+Math.imul(v,At)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,tt))+Math.imul($,X)|0,h=Math.imul($,tt),n=n+Math.imul(H,nt)|0,o=(o=o+Math.imul(H,it)|0)+Math.imul(F,nt)|0,h=h+Math.imul(F,it)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(P,ht)|0,o=(o=o+Math.imul(P,ct)|0)+Math.imul(R,ht)|0,h=h+Math.imul(R,ct)|0,n=n+Math.imul(Y,ft)|0,o=(o=o+Math.imul(Y,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(x,yt)|0,o=(o=o+Math.imul(x,gt)|0)+Math.imul(E,yt)|0,h=h+Math.imul(E,gt)|0,n=n+Math.imul(k,vt)|0,o=(o=o+Math.imul(k,bt)|0)+Math.imul(L,vt)|0,h=h+Math.imul(L,bt)|0;var Rt=(l+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,At)|0)+Math.imul(A,Mt)|0))<<13)|0;l=((h=h+Math.imul(A,At)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(z,nt),o=(o=Math.imul(z,it))+Math.imul($,nt)|0,h=Math.imul($,it),n=n+Math.imul(H,at)|0,o=(o=o+Math.imul(H,st)|0)+Math.imul(F,at)|0,h=h+Math.imul(F,st)|0,n=n+Math.imul(I,ht)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(N,ht)|0,h=h+Math.imul(N,ct)|0,n=n+Math.imul(P,ft)|0,o=(o=o+Math.imul(P,pt)|0)+Math.imul(R,ft)|0,h=h+Math.imul(R,pt)|0,n=n+Math.imul(Y,yt)|0,o=(o=o+Math.imul(Y,gt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,gt)|0,n=n+Math.imul(x,vt)|0,o=(o=o+Math.imul(x,bt)|0)+Math.imul(E,vt)|0,h=h+Math.imul(E,bt)|0;var jt=(l+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,At)|0)+Math.imul(L,Mt)|0))<<13)|0;l=((h=h+Math.imul(L,At)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(z,at),o=(o=Math.imul(z,st))+Math.imul($,at)|0,h=Math.imul($,st),n=n+Math.imul(H,ht)|0,o=(o=o+Math.imul(H,ct)|0)+Math.imul(F,ht)|0,h=h+Math.imul(F,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(P,yt)|0,o=(o=o+Math.imul(P,gt)|0)+Math.imul(R,yt)|0,h=h+Math.imul(R,gt)|0,n=n+Math.imul(Y,vt)|0,o=(o=o+Math.imul(Y,bt)|0)+Math.imul(C,vt)|0,h=h+Math.imul(C,bt)|0;var It=(l+(n=n+Math.imul(x,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(x,At)|0)+Math.imul(E,Mt)|0))<<13)|0;l=((h=h+Math.imul(E,At)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(z,ht),o=(o=Math.imul(z,ct))+Math.imul($,ht)|0,h=Math.imul($,ct),n=n+Math.imul(H,ft)|0,o=(o=o+Math.imul(H,pt)|0)+Math.imul(F,ft)|0,h=h+Math.imul(F,pt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,gt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,gt)|0,n=n+Math.imul(P,vt)|0,o=(o=o+Math.imul(P,bt)|0)+Math.imul(R,vt)|0,h=h+Math.imul(R,bt)|0;var Nt=(l+(n=n+Math.imul(Y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(Y,At)|0)+Math.imul(C,Mt)|0))<<13)|0;l=((h=h+Math.imul(C,At)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(z,ft),o=(o=Math.imul(z,pt))+Math.imul($,ft)|0,h=Math.imul($,pt),n=n+Math.imul(H,yt)|0,o=(o=o+Math.imul(H,gt)|0)+Math.imul(F,yt)|0,h=h+Math.imul(F,gt)|0,n=n+Math.imul(I,vt)|0,o=(o=o+Math.imul(I,bt)|0)+Math.imul(N,vt)|0,h=h+Math.imul(N,bt)|0;var Bt=(l+(n=n+Math.imul(P,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(P,At)|0)+Math.imul(R,Mt)|0))<<13)|0;l=((h=h+Math.imul(R,At)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(z,yt),o=(o=Math.imul(z,gt))+Math.imul($,yt)|0,h=Math.imul($,gt),n=n+Math.imul(H,vt)|0,o=(o=o+Math.imul(H,bt)|0)+Math.imul(F,vt)|0,h=h+Math.imul(F,bt)|0;var Ht=(l+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,At)|0)+Math.imul(N,Mt)|0))<<13)|0;l=((h=h+Math.imul(N,At)|0)+(o>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(z,vt),o=(o=Math.imul(z,bt))+Math.imul($,vt)|0,h=Math.imul($,bt);var Ft=(l+(n=n+Math.imul(H,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(H,At)|0)+Math.imul(F,Mt)|0))<<13)|0;l=((h=h+Math.imul(F,At)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863;var Ut=(l+(n=Math.imul(z,Mt))|0)+((8191&(o=(o=Math.imul(z,At))+Math.imul($,Mt)|0))<<13)|0;return l=((h=Math.imul($,At))+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,c[0]=St,c[1]=kt,c[2]=Lt,c[3]=Tt,c[4]=xt,c[5]=Et,c[6]=Dt,c[7]=Yt,c[8]=Ct,c[9]=Ot,c[10]=Pt,c[11]=Rt,c[12]=jt,c[13]=It,c[14]=Nt,c[15]=Bt,c[16]=Ht,c[17]=Ft,c[18]=Ut,0!==l&&(c[19]=l,r.length++),r};function M(t,e,r){return(new A).mulp(t,e,r)}function A(t,e){this.x=t,this.y=e}Math.imul||(w=v),h.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?v(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h>>26)|0)>>>26,c&=67108863}r.words[h]=l,n=c,c=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):M(this,t,e),r},A.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i>=1;return n},A.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i>>=1)i++;return 1<>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),0===t&&(this.length=1,this._normSign()),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<s)for(this.length-=s,i=0;i=0&&(0!==l||i>=o);i--){var d=0|this.words[i];this.words[i]=l<<26-h|d>>>h,l=d&mask}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i=0;l--){var d=67108864*(0|a.words[b.length+l])+(0|a.words[b.length+l-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,l);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,l),a.isZero()||(a.negative^=1);q&&(q.words[l]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!==(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=e.mod.abs(),n=t.abs().iushrn(1),o=1&t.words[0],c=r.cmp(n);if(c<0||1===o&&0===c)return e.div;var l=new h(1);return l.negative=this.negative^t.negative,e.div.iadd(l)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),c=new h(0),l=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0===(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var y=0,_=1;0===(e.words[0]&_)&&y<26;++y,_<<=1);if(y>0)for(e.iushrn(y);y-- >0;)(c.isOdd()||l.isOdd())&&(c.iadd(d),l.isub(f)),c.iushrn(1),l.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(l)):(e.isub(t),c.isub(r),l.isub(o))}return{a:c,b:l,gcd:e.iushln(g)}},h.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0===(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var l=0,d=1;0===(b.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(b.iushrn(l);l-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return!(1&this.words[0])},h.prototype.isOdd=function(){return!(1&~this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:ot.length)return 1;if(this.length=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){ab&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new D(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function k(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function L(){k.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function T(){k.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){k.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){k.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function Y(t){D.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}k.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},k.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},k.prototype.split=function(input,t){input.iushrn(this.n,0,t)},k.prototype.imulK=function(t){return t.imul(this.k)},o(L,k),L.prototype.split=function(input,output){for(var mask=4194303,t=Math.min(input.length,9),i=0;i>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},L.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new L;else if("p224"===t)e=new T;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new E}return S[t]=e,e},D.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},D.prototype._verify2=function(a,b){n(0===(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},D.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},D.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},D.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},D.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},D.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},D.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},D.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},D.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},D.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},D.prototype.isqr=function(a){return this.imul(a,a.clone())},D.prototype.sqr=function(a){return this.mul(a,a)},D.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new h(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new h(2*l*l).toRed(this);0!==this.pow(l,c).cmp(o);)l.redIAdd(o);for(var d=this.pow(l,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),y=s;0!==m.cmp(r);){for(var _=m,i=0;0!==_.cmp(r);i++)_=_.redSqr();n(i=0;i--){for(var l=t.words[i],d=c-1;d>=0;d--){var f=l>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},D.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},D.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new Y(t)},o(Y,D),Y.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Y.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},Y.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(76)(t))},function(t,e,r){"use strict";var n=r(95).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}t.exports=function t(e,r,h){if("function"==typeof r)return t(e,null,r);r||(r={}),h=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),o=0;o=r&&parseInt(n[r],10)}function y(t,e,r){if(!t.RTCPeerConnection)return;const n=t.RTCPeerConnection.prototype,o=n.addEventListener;n.addEventListener=function(t,n){if(t!==e)return o.apply(this,arguments);const h=t=>{const e=r(t);e&&(n.handleEvent?n.handleEvent(e):n(e))};return this._eventMap=this._eventMap||{},this._eventMap[e]||(this._eventMap[e]=new Map),this._eventMap[e].set(n,h),o.apply(this,[t,h])};const h=n.removeEventListener;n.removeEventListener=function(t,r){if(t!==e||!this._eventMap||!this._eventMap[e])return h.apply(this,arguments);if(!this._eventMap[e].has(r))return h.apply(this,arguments);const n=this._eventMap[e].get(r);return this._eventMap[e].delete(r),0===this._eventMap[e].size&&delete this._eventMap[e],0===Object.keys(this._eventMap).length&&delete this._eventMap,h.apply(this,[t,n])},Object.defineProperty(n,"on"+e,{get(){return this["_on"+e]},set(t){this["_on"+e]&&(this.removeEventListener(e,this["_on"+e]),delete this["_on"+e]),t&&this.addEventListener(e,this["_on"+e]=t)},enumerable:!0,configurable:!0})}function _(t){return"boolean"!=typeof t?new Error("Argument type: "+typeof t+". Please use a boolean."):(d=t,t?"adapter.js logging disabled":"adapter.js logging enabled")}function v(t){return"boolean"!=typeof t?new Error("Argument type: "+typeof t+". Please use a boolean."):(f=!t,"adapter.js deprecation warnings "+(t?"disabled":"enabled"))}function w(){if("object"==typeof window){if(d)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}}function M(t,e){f&&console.warn(t+" is deprecated, please use "+e+" instead.")}function A(t){return"[object Object]"===Object.prototype.toString.call(t)}function S(data){return A(data)?Object.keys(data).reduce(function(t,e){const r=A(data[e]),n=r?S(data[e]):data[e],o=r&&!Object.keys(n).length;return void 0===n||o?t:Object.assign(t,{[e]:n})},{}):data}function k(t,base,e){base&&!e.has(base.id)&&(e.set(base.id,base),Object.keys(base).forEach(r=>{r.endsWith("Id")?k(t,t.get(base[r]),e):r.endsWith("Ids")&&base[r].forEach(r=>{k(t,t.get(r),e)})}))}function L(t,track,e){const r=e?"outbound-rtp":"inbound-rtp",n=new Map;if(null===track)return n;const o=[];return t.forEach(t=>{"track"===t.type&&t.trackIdentifier===track.id&&o.push(t)}),o.forEach(e=>{t.forEach(o=>{o.type===r&&o.trackId===e.id&&k(t,o,n)})}),n}const T=w;function x(t,e){const r=t&&t.navigator;if(!r.mediaDevices)return;const n=function(t){if("object"!=typeof t||t.mandatory||t.optional)return t;const e={};return Object.keys(t).forEach(r=>{if("require"===r||"advanced"===r||"mediaSource"===r)return;const n="object"==typeof t[r]?t[r]:{ideal:t[r]};void 0!==n.exact&&"number"==typeof n.exact&&(n.min=n.max=n.exact);const o=function(t,e){return t?t+e.charAt(0).toUpperCase()+e.slice(1):"deviceId"===e?"sourceId":e};if(void 0!==n.ideal){e.optional=e.optional||[];let t={};"number"==typeof n.ideal?(t[o("min",r)]=n.ideal,e.optional.push(t),t={},t[o("max",r)]=n.ideal,e.optional.push(t)):(t[o("",r)]=n.ideal,e.optional.push(t))}void 0!==n.exact&&"number"!=typeof n.exact?(e.mandatory=e.mandatory||{},e.mandatory[o("",r)]=n.exact):["min","max"].forEach(t=>{void 0!==n[t]&&(e.mandatory=e.mandatory||{},e.mandatory[o(t,r)]=n[t])})}),t.advanced&&(e.optional=(e.optional||[]).concat(t.advanced)),e},o=function(t,o){if(e.version>=61)return o(t);if((t=JSON.parse(JSON.stringify(t)))&&"object"==typeof t.audio){const e=function(t,a,b){a in t&&!(b in t)&&(t[b]=t[a],delete t[a])};e((t=JSON.parse(JSON.stringify(t))).audio,"autoGainControl","googAutoGainControl"),e(t.audio,"noiseSuppression","googNoiseSuppression"),t.audio=n(t.audio)}if(t&&"object"==typeof t.video){let h=t.video.facingMode;h=h&&("object"==typeof h?h:{ideal:h});const c=e.version<66;if(h&&("user"===h.exact||"environment"===h.exact||"user"===h.ideal||"environment"===h.ideal)&&(!r.mediaDevices.getSupportedConstraints||!r.mediaDevices.getSupportedConstraints().facingMode||c)){let e;if(delete t.video.facingMode,"environment"===h.exact||"environment"===h.ideal?e=["back","rear"]:"user"!==h.exact&&"user"!==h.ideal||(e=["front"]),e)return r.mediaDevices.enumerateDevices().then(r=>{let c=(r=r.filter(t=>"videoinput"===t.kind)).find(t=>e.some(e=>t.label.toLowerCase().includes(e)));return!c&&r.length&&e.includes("back")&&(c=r[r.length-1]),c&&(t.video.deviceId=h.exact?{exact:c.deviceId}:{ideal:c.deviceId}),t.video=n(t.video),T("chrome: "+JSON.stringify(t)),o(t)})}t.video=n(t.video)}return T("chrome: "+JSON.stringify(t)),o(t)},h=function(t){return e.version>=64?t:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[t.name]||t.name,message:t.message,constraint:t.constraint||t.constraintName,toString(){return this.name+(this.message&&": ")+this.message}}};if(r.getUserMedia=function(t,e,n){o(t,t=>{r.webkitGetUserMedia(t,e,t=>{n&&n(h(t))})})}.bind(r),r.mediaDevices.getUserMedia){const t=r.mediaDevices.getUserMedia.bind(r.mediaDevices);r.mediaDevices.getUserMedia=function(e){return o(e,e=>t(e).then(t=>{if(e.audio&&!t.getAudioTracks().length||e.video&&!t.getVideoTracks().length)throw t.getTracks().forEach(track=>{track.stop()}),new DOMException("","NotFoundError");return t},t=>Promise.reject(h(t))))}}}function E(t,e){t.navigator.mediaDevices&&"getDisplayMedia"in t.navigator.mediaDevices||t.navigator.mediaDevices&&("function"==typeof e?t.navigator.mediaDevices.getDisplayMedia=function(r){return e(r).then(e=>{const n=r.video&&r.video.width,o=r.video&&r.video.height,h=r.video&&r.video.frameRate;return r.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:e,maxFrameRate:h||3}},n&&(r.video.mandatory.maxWidth=n),o&&(r.video.mandatory.maxHeight=o),t.navigator.mediaDevices.getUserMedia(r)})}:console.error("shimGetDisplayMedia: getSourceId argument is not a function"))}function D(t){t.MediaStream=t.MediaStream||t.webkitMediaStream}function Y(t){if("object"==typeof t&&t.RTCPeerConnection&&!("ontrack"in t.RTCPeerConnection.prototype)){Object.defineProperty(t.RTCPeerConnection.prototype,"ontrack",{get(){return this._ontrack},set(t){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=t)},enumerable:!0,configurable:!0});const e=t.RTCPeerConnection.prototype.setRemoteDescription;t.RTCPeerConnection.prototype.setRemoteDescription=function(){return this._ontrackpoly||(this._ontrackpoly=e=>{e.stream.addEventListener("addtrack",r=>{let n;n=t.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(t=>t.track&&t.track.id===r.track.id):{track:r.track};const o=new Event("track");o.track=r.track,o.receiver=n,o.transceiver={receiver:n},o.streams=[e.stream],this.dispatchEvent(o)}),e.stream.getTracks().forEach(track=>{let r;r=t.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(t=>t.track&&t.track.id===track.id):{track:track};const n=new Event("track");n.track=track,n.receiver=r,n.transceiver={receiver:r},n.streams=[e.stream],this.dispatchEvent(n)})},this.addEventListener("addstream",this._ontrackpoly)),e.apply(this,arguments)}}else y(t,"track",t=>(t.transceiver||Object.defineProperty(t,"transceiver",{value:{receiver:t.receiver}}),t))}function C(t){if("object"==typeof t&&t.RTCPeerConnection&&!("getSenders"in t.RTCPeerConnection.prototype)&&"createDTMFSender"in t.RTCPeerConnection.prototype){const e=function(t,track){return{track:track,get dtmf(){return void 0===this._dtmf&&("audio"===track.kind?this._dtmf=t.createDTMFSender(track):this._dtmf=null),this._dtmf},_pc:t}};if(!t.RTCPeerConnection.prototype.getSenders){t.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};const r=t.RTCPeerConnection.prototype.addTrack;t.RTCPeerConnection.prototype.addTrack=function(track,t){let n=r.apply(this,arguments);return n||(n=e(this,track),this._senders.push(n)),n};const n=t.RTCPeerConnection.prototype.removeTrack;t.RTCPeerConnection.prototype.removeTrack=function(t){n.apply(this,arguments);const e=this._senders.indexOf(t);-1!==e&&this._senders.splice(e,1)}}const r=t.RTCPeerConnection.prototype.addStream;t.RTCPeerConnection.prototype.addStream=function(t){this._senders=this._senders||[],r.apply(this,[t]),t.getTracks().forEach(track=>{this._senders.push(e(this,track))})};const n=t.RTCPeerConnection.prototype.removeStream;t.RTCPeerConnection.prototype.removeStream=function(t){this._senders=this._senders||[],n.apply(this,[t]),t.getTracks().forEach(track=>{const t=this._senders.find(s=>s.track===track);t&&this._senders.splice(this._senders.indexOf(t),1)})}}else if("object"==typeof t&&t.RTCPeerConnection&&"getSenders"in t.RTCPeerConnection.prototype&&"createDTMFSender"in t.RTCPeerConnection.prototype&&t.RTCRtpSender&&!("dtmf"in t.RTCRtpSender.prototype)){const e=t.RTCPeerConnection.prototype.getSenders;t.RTCPeerConnection.prototype.getSenders=function(){const t=e.apply(this,[]);return t.forEach(t=>t._pc=this),t},Object.defineProperty(t.RTCRtpSender.prototype,"dtmf",{get(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function O(t){if(!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype.getStats;t.RTCPeerConnection.prototype.getStats=function(){const[t,r,n]=arguments;if(arguments.length>0&&"function"==typeof t)return e.apply(this,arguments);if(0===e.length&&(0===arguments.length||"function"!=typeof t))return e.apply(this,[]);const o=function(t){const e={};return t.result().forEach(t=>{const r={id:t.id,timestamp:t.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[t.type]||t.type};t.names().forEach(e=>{r[e]=t.stat(e)}),e[r.id]=r}),e},h=function(t){return new Map(Object.keys(t).map(e=>[e,t[e]]))};if(arguments.length>=2){const n=function(t){r(h(o(t)))};return e.apply(this,[n,t])}return new Promise((t,r)=>{e.apply(this,[function(e){t(h(o(e)))},r])}).then(r,n)}}function P(t){if(!("object"==typeof t&&t.RTCPeerConnection&&t.RTCRtpSender&&t.RTCRtpReceiver))return;if(!("getStats"in t.RTCRtpSender.prototype)){const e=t.RTCPeerConnection.prototype.getSenders;e&&(t.RTCPeerConnection.prototype.getSenders=function(){const t=e.apply(this,[]);return t.forEach(t=>t._pc=this),t});const r=t.RTCPeerConnection.prototype.addTrack;r&&(t.RTCPeerConnection.prototype.addTrack=function(){const t=r.apply(this,arguments);return t._pc=this,t}),t.RTCRtpSender.prototype.getStats=function(){const t=this;return this._pc.getStats().then(e=>L(e,t.track,!0))}}if(!("getStats"in t.RTCRtpReceiver.prototype)){const e=t.RTCPeerConnection.prototype.getReceivers;e&&(t.RTCPeerConnection.prototype.getReceivers=function(){const t=e.apply(this,[]);return t.forEach(t=>t._pc=this),t}),y(t,"track",t=>(t.receiver._pc=t.srcElement,t)),t.RTCRtpReceiver.prototype.getStats=function(){const t=this;return this._pc.getStats().then(e=>L(e,t.track,!1))}}if(!("getStats"in t.RTCRtpSender.prototype)||!("getStats"in t.RTCRtpReceiver.prototype))return;const e=t.RTCPeerConnection.prototype.getStats;t.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof t.MediaStreamTrack){const track=arguments[0];let t,e,r;return this.getSenders().forEach(s=>{s.track===track&&(t?r=!0:t=s)}),this.getReceivers().forEach(t=>(t.track===track&&(e?r=!0:e=t),t.track===track)),r||t&&e?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):t?t.getStats():e?e.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return e.apply(this,arguments)}}function R(t){t.RTCPeerConnection.prototype.getLocalStreams=function(){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(t=>this._shimmedLocalStreams[t][0])};const e=t.RTCPeerConnection.prototype.addTrack;t.RTCPeerConnection.prototype.addTrack=function(track,t){if(!t)return e.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};const r=e.apply(this,arguments);return this._shimmedLocalStreams[t.id]?-1===this._shimmedLocalStreams[t.id].indexOf(r)&&this._shimmedLocalStreams[t.id].push(r):this._shimmedLocalStreams[t.id]=[t,r],r};const r=t.RTCPeerConnection.prototype.addStream;t.RTCPeerConnection.prototype.addStream=function(t){this._shimmedLocalStreams=this._shimmedLocalStreams||{},t.getTracks().forEach(track=>{if(this.getSenders().find(s=>s.track===track))throw new DOMException("Track already exists.","InvalidAccessError")});const e=this.getSenders();r.apply(this,arguments);const n=this.getSenders().filter(t=>-1===e.indexOf(t));this._shimmedLocalStreams[t.id]=[t].concat(n)};const n=t.RTCPeerConnection.prototype.removeStream;t.RTCPeerConnection.prototype.removeStream=function(t){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[t.id],n.apply(this,arguments)};const o=t.RTCPeerConnection.prototype.removeTrack;t.RTCPeerConnection.prototype.removeTrack=function(t){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},t&&Object.keys(this._shimmedLocalStreams).forEach(e=>{const r=this._shimmedLocalStreams[e].indexOf(t);-1!==r&&this._shimmedLocalStreams[e].splice(r,1),1===this._shimmedLocalStreams[e].length&&delete this._shimmedLocalStreams[e]}),o.apply(this,arguments)}}function j(t,e){if(!t.RTCPeerConnection)return;if(t.RTCPeerConnection.prototype.addTrack&&e.version>=65)return R(t);const r=t.RTCPeerConnection.prototype.getLocalStreams;t.RTCPeerConnection.prototype.getLocalStreams=function(){const t=r.apply(this);return this._reverseStreams=this._reverseStreams||{},t.map(t=>this._reverseStreams[t.id])};const n=t.RTCPeerConnection.prototype.addStream;t.RTCPeerConnection.prototype.addStream=function(e){if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},e.getTracks().forEach(track=>{if(this.getSenders().find(s=>s.track===track))throw new DOMException("Track already exists.","InvalidAccessError")}),!this._reverseStreams[e.id]){const r=new t.MediaStream(e.getTracks());this._streams[e.id]=r,this._reverseStreams[r.id]=e,e=r}n.apply(this,[e])};const o=t.RTCPeerConnection.prototype.removeStream;function h(t,e){let r=e.sdp;return Object.keys(t._reverseStreams||[]).forEach(e=>{const n=t._reverseStreams[e],o=t._streams[n.id];r=r.replace(new RegExp(o.id,"g"),n.id)}),new RTCSessionDescription({type:e.type,sdp:r})}t.RTCPeerConnection.prototype.removeStream=function(t){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},o.apply(this,[this._streams[t.id]||t]),delete this._reverseStreams[this._streams[t.id]?this._streams[t.id].id:t.id],delete this._streams[t.id]},t.RTCPeerConnection.prototype.addTrack=function(track,e){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");const r=[].slice.call(arguments,1);if(1!==r.length||!r[0].getTracks().find(t=>t===track))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(this.getSenders().find(s=>s.track===track))throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};const n=this._streams[e.id];if(n)n.addTrack(track),Promise.resolve().then(()=>{this.dispatchEvent(new Event("negotiationneeded"))});else{const r=new t.MediaStream([track]);this._streams[e.id]=r,this._reverseStreams[r.id]=e,this.addStream(r)}return this.getSenders().find(s=>s.track===track)},["createOffer","createAnswer"].forEach(function(e){const r=t.RTCPeerConnection.prototype[e],n={[e](){const t=arguments;return arguments.length&&"function"==typeof arguments[0]?r.apply(this,[e=>{const desc=h(this,e);t[0].apply(null,[desc])},e=>{t[1]&&t[1].apply(null,e)},arguments[2]]):r.apply(this,arguments).then(t=>h(this,t))}};t.RTCPeerConnection.prototype[e]=n[e]});const c=t.RTCPeerConnection.prototype.setLocalDescription;t.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=function(t,e){let r=e.sdp;return Object.keys(t._reverseStreams||[]).forEach(e=>{const n=t._reverseStreams[e],o=t._streams[n.id];r=r.replace(new RegExp(n.id,"g"),o.id)}),new RTCSessionDescription({type:e.type,sdp:r})}(this,arguments[0]),c.apply(this,arguments)):c.apply(this,arguments)};const l=Object.getOwnPropertyDescriptor(t.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(t.RTCPeerConnection.prototype,"localDescription",{get(){const t=l.get.apply(this);return""===t.type?t:h(this,t)}}),t.RTCPeerConnection.prototype.removeTrack=function(t){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!t._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(!(t._pc===this))throw new DOMException("Sender was not created by this connection.","InvalidAccessError");let e;this._streams=this._streams||{},Object.keys(this._streams).forEach(r=>{this._streams[r].getTracks().find(track=>t.track===track)&&(e=this._streams[r])}),e&&(1===e.getTracks().length?this.removeStream(this._reverseStreams[e.id]):e.removeTrack(t.track),this.dispatchEvent(new Event("negotiationneeded")))}}function I(t,e){!t.RTCPeerConnection&&t.webkitRTCPeerConnection&&(t.RTCPeerConnection=t.webkitRTCPeerConnection),t.RTCPeerConnection&&e.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){const r=t.RTCPeerConnection.prototype[e],n={[e](){return arguments[0]=new("addIceCandidate"===e?t.RTCIceCandidate:t.RTCSessionDescription)(arguments[0]),r.apply(this,arguments)}};t.RTCPeerConnection.prototype[e]=n[e]})}function N(t,e){y(t,"negotiationneeded",t=>{const r=t.target;if(!(e.version<72||r.getConfiguration&&"plan-b"===r.getConfiguration().sdpSemantics)||"stable"===r.signalingState)return t})}var B=r(530),H=r.n(B);function F(t){const e=t&&t.navigator,r=e.mediaDevices.getUserMedia.bind(e.mediaDevices);e.mediaDevices.getUserMedia=function(t){return r(t).catch(t=>Promise.reject(function(t){return{name:{PermissionDeniedError:"NotAllowedError"}[t.name]||t.name,message:t.message,constraint:t.constraint,toString(){return this.name}}}(t)))}}function U(t){"getDisplayMedia"in t.navigator&&t.navigator.mediaDevices&&(t.navigator.mediaDevices&&"getDisplayMedia"in t.navigator.mediaDevices||(t.navigator.mediaDevices.getDisplayMedia=t.navigator.getDisplayMedia.bind(t.navigator)))}function z(t,e){if(t.RTCIceGatherer&&(t.RTCIceCandidate||(t.RTCIceCandidate=function(t){return t}),t.RTCSessionDescription||(t.RTCSessionDescription=function(t){return t}),e.version<15025)){const e=Object.getOwnPropertyDescriptor(t.MediaStreamTrack.prototype,"enabled");Object.defineProperty(t.MediaStreamTrack.prototype,"enabled",{set(t){e.set.call(this,t);const r=new Event("enabled");r.enabled=t,this.dispatchEvent(r)}})}t.RTCRtpSender&&!("dtmf"in t.RTCRtpSender.prototype)&&Object.defineProperty(t.RTCRtpSender.prototype,"dtmf",{get(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=new t.RTCDtmfSender(this):"video"===this.track.kind&&(this._dtmf=null)),this._dtmf}}),t.RTCDtmfSender&&!t.RTCDTMFSender&&(t.RTCDTMFSender=t.RTCDtmfSender);const r=H()(t,e.version);t.RTCPeerConnection=function(t){return t&&t.iceServers&&(t.iceServers=function(t){let e=!1;return(t=JSON.parse(JSON.stringify(t))).filter(t=>{if(t&&(t.urls||t.url)){let r=t.urls||t.url;t.url&&!t.urls&&M("RTCIceServer.url","RTCIceServer.urls");const n="string"==typeof r;return n&&(r=[r]),r=r.filter(t=>{if(0===t.indexOf("stun:"))return!1;const r=t.startsWith("turn")&&!t.startsWith("turn:[")&&t.includes("transport=udp");return r&&!e?(e=!0,!0):r&&!e}),delete t.url,t.urls=n?r[0]:r,!!r.length}})}(t.iceServers,e.version),w("ICE servers after filtering:",t.iceServers)),new r(t)},t.RTCPeerConnection.prototype=r.prototype}function $(t){t.RTCRtpSender&&!("replaceTrack"in t.RTCRtpSender.prototype)&&(t.RTCRtpSender.prototype.replaceTrack=t.RTCRtpSender.prototype.setTrack)}function W(t,e){const r=t&&t.navigator,n=t&&t.MediaStreamTrack;if(r.getUserMedia=function(t,e,n){M("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),r.mediaDevices.getUserMedia(t).then(e,n)},!(e.version>55&&"autoGainControl"in r.mediaDevices.getSupportedConstraints())){const t=function(t,a,b){a in t&&!(b in t)&&(t[b]=t[a],delete t[a])},e=r.mediaDevices.getUserMedia.bind(r.mediaDevices);if(r.mediaDevices.getUserMedia=function(r){return"object"==typeof r&&"object"==typeof r.audio&&(r=JSON.parse(JSON.stringify(r)),t(r.audio,"autoGainControl","mozAutoGainControl"),t(r.audio,"noiseSuppression","mozNoiseSuppression")),e(r)},n&&n.prototype.getSettings){const e=n.prototype.getSettings;n.prototype.getSettings=function(){const r=e.apply(this,arguments);return t(r,"mozAutoGainControl","autoGainControl"),t(r,"mozNoiseSuppression","noiseSuppression"),r}}if(n&&n.prototype.applyConstraints){const e=n.prototype.applyConstraints;n.prototype.applyConstraints=function(r){return"audio"===this.kind&&"object"==typeof r&&(r=JSON.parse(JSON.stringify(r)),t(r,"autoGainControl","mozAutoGainControl"),t(r,"noiseSuppression","mozNoiseSuppression")),e.apply(this,[r])}}}}function G(t,e){t.navigator.mediaDevices&&"getDisplayMedia"in t.navigator.mediaDevices||t.navigator.mediaDevices&&(t.navigator.mediaDevices.getDisplayMedia=function(r){if(!r||!r.video){const t=new DOMException("getDisplayMedia without video constraints is undefined");return t.name="NotFoundError",t.code=8,Promise.reject(t)}return!0===r.video?r.video={mediaSource:e}:r.video.mediaSource=e,t.navigator.mediaDevices.getUserMedia(r)})}function V(t){"object"==typeof t&&t.RTCTrackEvent&&"receiver"in t.RTCTrackEvent.prototype&&!("transceiver"in t.RTCTrackEvent.prototype)&&Object.defineProperty(t.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function Z(t,e){if("object"!=typeof t||!t.RTCPeerConnection&&!t.mozRTCPeerConnection)return;!t.RTCPeerConnection&&t.mozRTCPeerConnection&&(t.RTCPeerConnection=t.mozRTCPeerConnection),e.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){const r=t.RTCPeerConnection.prototype[e],n={[e](){return arguments[0]=new("addIceCandidate"===e?t.RTCIceCandidate:t.RTCSessionDescription)(arguments[0]),r.apply(this,arguments)}};t.RTCPeerConnection.prototype[e]=n[e]});const r={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},n=t.RTCPeerConnection.prototype.getStats;t.RTCPeerConnection.prototype.getStats=function(){const[t,o,h]=arguments;return n.apply(this,[t||null]).then(t=>{if(e.version<53&&!o)try{t.forEach(t=>{t.type=r[t.type]||t.type})}catch(e){if("TypeError"!==e.name)throw e;t.forEach((e,i)=>{t.set(i,Object.assign({},e,{type:r[e.type]||e.type}))})}return t}).then(o,h)}}function K(t){if("object"!=typeof t||!t.RTCPeerConnection||!t.RTCRtpSender)return;if(t.RTCRtpSender&&"getStats"in t.RTCRtpSender.prototype)return;const e=t.RTCPeerConnection.prototype.getSenders;e&&(t.RTCPeerConnection.prototype.getSenders=function(){const t=e.apply(this,[]);return t.forEach(t=>t._pc=this),t});const r=t.RTCPeerConnection.prototype.addTrack;r&&(t.RTCPeerConnection.prototype.addTrack=function(){const t=r.apply(this,arguments);return t._pc=this,t}),t.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}function J(t){if("object"!=typeof t||!t.RTCPeerConnection||!t.RTCRtpSender)return;if(t.RTCRtpSender&&"getStats"in t.RTCRtpReceiver.prototype)return;const e=t.RTCPeerConnection.prototype.getReceivers;e&&(t.RTCPeerConnection.prototype.getReceivers=function(){const t=e.apply(this,[]);return t.forEach(t=>t._pc=this),t}),y(t,"track",t=>(t.receiver._pc=t.srcElement,t)),t.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}function Q(t){t.RTCPeerConnection&&!("removeStream"in t.RTCPeerConnection.prototype)&&(t.RTCPeerConnection.prototype.removeStream=function(t){M("removeStream","removeTrack"),this.getSenders().forEach(e=>{e.track&&t.getTracks().includes(e.track)&&this.removeTrack(e)})})}function X(t){t.DataChannel&&!t.RTCDataChannel&&(t.RTCDataChannel=t.DataChannel)}function tt(t){if("object"!=typeof t||!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype.addTransceiver;e&&(t.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];const t=arguments[1],r=t&&"sendEncodings"in t;r&&t.sendEncodings.forEach(t=>{if("rid"in t){if(!/^[a-z0-9]{0,16}$/i.test(t.rid))throw new TypeError("Invalid RID value provided.")}if("scaleResolutionDownBy"in t&&!(parseFloat(t.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in t&&!(parseFloat(t.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")});const n=e.apply(this,arguments);if(r){const{sender:e}=n,r=e.getParameters();(!("encodings"in r)||1===r.encodings.length&&0===Object.keys(r.encodings[0]).length)&&(r.encodings=t.sendEncodings,e.sendEncodings=t.sendEncodings,this.setParametersPromises.push(e.setParameters(r).then(()=>{delete e.sendEncodings}).catch(()=>{delete e.sendEncodings})))}return n})}function et(t){if("object"!=typeof t||!t.RTCRtpSender)return;const e=t.RTCRtpSender.prototype.getParameters;e&&(t.RTCRtpSender.prototype.getParameters=function(){const t=e.apply(this,arguments);return"encodings"in t||(t.encodings=[].concat(this.sendEncodings||[{}])),t})}function nt(t){if("object"!=typeof t||!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype.createOffer;t.RTCPeerConnection.prototype.createOffer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>e.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):e.apply(this,arguments)}}function it(t){if("object"!=typeof t||!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype.createAnswer;t.RTCPeerConnection.prototype.createAnswer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>e.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):e.apply(this,arguments)}}function ot(t){if("object"==typeof t&&t.RTCPeerConnection){if("getLocalStreams"in t.RTCPeerConnection.prototype||(t.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in t.RTCPeerConnection.prototype)){const e=t.RTCPeerConnection.prototype.addTrack;t.RTCPeerConnection.prototype.addStream=function(t){this._localStreams||(this._localStreams=[]),this._localStreams.includes(t)||this._localStreams.push(t),t.getAudioTracks().forEach(track=>e.call(this,track,t)),t.getVideoTracks().forEach(track=>e.call(this,track,t))},t.RTCPeerConnection.prototype.addTrack=function(track,...t){return t&&t.forEach(t=>{this._localStreams?this._localStreams.includes(t)||this._localStreams.push(t):this._localStreams=[t]}),e.apply(this,arguments)}}"removeStream"in t.RTCPeerConnection.prototype||(t.RTCPeerConnection.prototype.removeStream=function(t){this._localStreams||(this._localStreams=[]);const e=this._localStreams.indexOf(t);if(-1===e)return;this._localStreams.splice(e,1);const r=t.getTracks();this.getSenders().forEach(t=>{r.includes(t.track)&&this.removeTrack(t)})})}}function at(t){if("object"==typeof t&&t.RTCPeerConnection&&("getRemoteStreams"in t.RTCPeerConnection.prototype||(t.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in t.RTCPeerConnection.prototype))){Object.defineProperty(t.RTCPeerConnection.prototype,"onaddstream",{get(){return this._onaddstream},set(t){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=t),this.addEventListener("track",this._onaddstreampoly=t=>{t.streams.forEach(t=>{if(this._remoteStreams||(this._remoteStreams=[]),this._remoteStreams.includes(t))return;this._remoteStreams.push(t);const e=new Event("addstream");e.stream=t,this.dispatchEvent(e)})})}});const e=t.RTCPeerConnection.prototype.setRemoteDescription;t.RTCPeerConnection.prototype.setRemoteDescription=function(){const t=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(e){e.streams.forEach(e=>{if(t._remoteStreams||(t._remoteStreams=[]),t._remoteStreams.indexOf(e)>=0)return;t._remoteStreams.push(e);const r=new Event("addstream");r.stream=e,t.dispatchEvent(r)})}),e.apply(t,arguments)}}}function st(t){if("object"!=typeof t||!t.RTCPeerConnection)return;const e=t.RTCPeerConnection.prototype,r=e.createOffer,n=e.createAnswer,o=e.setLocalDescription,h=e.setRemoteDescription,c=e.addIceCandidate;e.createOffer=function(t,e){const n=arguments.length>=2?arguments[2]:arguments[0],o=r.apply(this,[n]);return e?(o.then(t,e),Promise.resolve()):o},e.createAnswer=function(t,e){const r=arguments.length>=2?arguments[2]:arguments[0],o=n.apply(this,[r]);return e?(o.then(t,e),Promise.resolve()):o};let l=function(t,e,r){const n=o.apply(this,[t]);return r?(n.then(e,r),Promise.resolve()):n};e.setLocalDescription=l,l=function(t,e,r){const n=h.apply(this,[t]);return r?(n.then(e,r),Promise.resolve()):n},e.setRemoteDescription=l,l=function(t,e,r){const n=c.apply(this,[t]);return r?(n.then(e,r),Promise.resolve()):n},e.addIceCandidate=l}function ut(t){const e=t&&t.navigator;if(e.mediaDevices&&e.mediaDevices.getUserMedia){const t=e.mediaDevices,r=t.getUserMedia.bind(t);e.mediaDevices.getUserMedia=t=>r(ht(t))}!e.getUserMedia&&e.mediaDevices&&e.mediaDevices.getUserMedia&&(e.getUserMedia=function(t,r,n){e.mediaDevices.getUserMedia(t).then(r,n)}.bind(e))}function ht(t){return t&&void 0!==t.video?Object.assign({},t,{video:S(t.video)}):t}function ct(t){if(!t.RTCPeerConnection)return;const e=t.RTCPeerConnection;t.RTCPeerConnection=function(t,r){if(t&&t.iceServers){const e=[];for(let i=0;ie.generateCertificate})}function lt(t){"object"==typeof t&&t.RTCTrackEvent&&"receiver"in t.RTCTrackEvent.prototype&&!("transceiver"in t.RTCTrackEvent.prototype)&&Object.defineProperty(t.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function ft(t){const e=t.RTCPeerConnection.prototype.createOffer;t.RTCPeerConnection.prototype.createOffer=function(t){if(t){void 0!==t.offerToReceiveAudio&&(t.offerToReceiveAudio=!!t.offerToReceiveAudio);const e=this.getTransceivers().find(t=>"audio"===t.receiver.track.kind);!1===t.offerToReceiveAudio&&e?"sendrecv"===e.direction?e.setDirection?e.setDirection("sendonly"):e.direction="sendonly":"recvonly"===e.direction&&(e.setDirection?e.setDirection("inactive"):e.direction="inactive"):!0!==t.offerToReceiveAudio||e||this.addTransceiver("audio"),void 0!==t.offerToReceiveVideo&&(t.offerToReceiveVideo=!!t.offerToReceiveVideo);const r=this.getTransceivers().find(t=>"video"===t.receiver.track.kind);!1===t.offerToReceiveVideo&&r?"sendrecv"===r.direction?r.setDirection?r.setDirection("sendonly"):r.direction="sendonly":"recvonly"===r.direction&&(r.setDirection?r.setDirection("inactive"):r.direction="inactive"):!0!==t.offerToReceiveVideo||r||this.addTransceiver("video")}return e.apply(this,arguments)}}function pt(t){"object"!=typeof t||t.AudioContext||(t.AudioContext=t.webkitAudioContext)}var mt=r(108),yt=r.n(mt);function gt(t){if(!t.RTCIceCandidate||t.RTCIceCandidate&&"foundation"in t.RTCIceCandidate.prototype)return;const e=t.RTCIceCandidate;t.RTCIceCandidate=function(t){if("object"==typeof t&&t.candidate&&0===t.candidate.indexOf("a=")&&((t=JSON.parse(JSON.stringify(t))).candidate=t.candidate.substr(2)),t.candidate&&t.candidate.length){const r=new e(t),n=yt.a.parseCandidate(t.candidate),o=Object.assign(r,n);return o.toJSON=function(){return{candidate:o.candidate,sdpMid:o.sdpMid,sdpMLineIndex:o.sdpMLineIndex,usernameFragment:o.usernameFragment}},o}return new e(t)},t.RTCIceCandidate.prototype=e.prototype,y(t,"icecandidate",e=>(e.candidate&&Object.defineProperty(e,"candidate",{value:new t.RTCIceCandidate(e.candidate),writable:"false"}),e))}function _t(t,e){if(!t.RTCPeerConnection)return;"sctp"in t.RTCPeerConnection.prototype||Object.defineProperty(t.RTCPeerConnection.prototype,"sctp",{get(){return void 0===this._sctp?null:this._sctp}});const r=t.RTCPeerConnection.prototype.setRemoteDescription;t.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===e.browser&&e.version>=76){const{sdpSemantics:t}=this.getConfiguration();"plan-b"===t&&Object.defineProperty(this,"sctp",{get(){return void 0===this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(function(t){if(!t||!t.sdp)return!1;const e=yt.a.splitSections(t.sdp);return e.shift(),e.some(t=>{const e=yt.a.parseMLine(t);return e&&"application"===e.kind&&-1!==e.protocol.indexOf("SCTP")})}(arguments[0])){const t=function(t){const e=t.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===e||e.length<2)return-1;const r=parseInt(e[1],10);return r!=r?-1:r}(arguments[0]),r=function(t){let r=65536;return"firefox"===e.browser&&(r=e.version<57?-1===t?16384:2147483637:e.version<60?57===e.version?65535:65536:2147483637),r}(t),n=function(t,r){let n=65536;"firefox"===e.browser&&57===e.version&&(n=65535);const o=yt.a.matchPrefix(t.sdp,"a=max-message-size:");return o.length>0?n=parseInt(o[0].substr(19),10):"firefox"===e.browser&&-1!==r&&(n=2147483637),n}(arguments[0],t);let o;o=0===r&&0===n?Number.POSITIVE_INFINITY:0===r||0===n?Math.max(r,n):Math.min(r,n);const h={};Object.defineProperty(h,"maxMessageSize",{get:()=>o}),this._sctp=h}return r.apply(this,arguments)}}function vt(t){if(!t.RTCPeerConnection||!("createDataChannel"in t.RTCPeerConnection.prototype))return;function e(t,e){const r=t.send;t.send=function(){const data=arguments[0],n=data.length||data.size||data.byteLength;if("open"===t.readyState&&e.sctp&&n>e.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+e.sctp.maxMessageSize+" bytes)");return r.apply(t,arguments)}}const r=t.RTCPeerConnection.prototype.createDataChannel;t.RTCPeerConnection.prototype.createDataChannel=function(){const t=r.apply(this,arguments);return e(t,this),t},y(t,"datachannel",t=>(e(t.channel,t.target),t))}function bt(t){if(!t.RTCPeerConnection||"connectionState"in t.RTCPeerConnection.prototype)return;const e=t.RTCPeerConnection.prototype;Object.defineProperty(e,"connectionState",{get(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(e,"onconnectionstatechange",{get(){return this._onconnectionstatechange||null},set(t){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),t&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=t)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach(t=>{const r=e[t];e[t]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=t=>{const e=t.target;if(e._lastConnectionState!==e.connectionState){e._lastConnectionState=e.connectionState;const r=new Event("connectionstatechange",t);e.dispatchEvent(r)}return t},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),r.apply(this,arguments)}})}function wt(t,e){if(!t.RTCPeerConnection)return;if("chrome"===e.browser&&e.version>=71)return;if("safari"===e.browser&&e.version>=605)return;const r=t.RTCPeerConnection.prototype.setRemoteDescription;t.RTCPeerConnection.prototype.setRemoteDescription=function(desc){if(desc&&desc.sdp&&-1!==desc.sdp.indexOf("\na=extmap-allow-mixed")){const e=desc.sdp.split("\n").filter(line=>"a=extmap-allow-mixed"!==line.trim()).join("\n");t.RTCSessionDescription&&desc instanceof t.RTCSessionDescription?arguments[0]=new t.RTCSessionDescription({type:desc.type,sdp:e}):desc.sdp=e}return r.apply(this,arguments)}}function Mt(t,e){if(!t.RTCPeerConnection||!t.RTCPeerConnection.prototype)return;const r=t.RTCPeerConnection.prototype.addIceCandidate;r&&0!==r.length&&(t.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===e.browser&&e.version<78||"firefox"===e.browser&&e.version<68||"safari"===e.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():r.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}const At=function({window:t}={},e={shimChrome:!0,shimFirefox:!0,shimEdge:!0,shimSafari:!0}){const r=w,d=function(t){const e={browser:null,version:null};if(void 0===t||!t.navigator)return e.browser="Not a browser.",e;const{navigator:r}=t;if(r.mozGetUserMedia)e.browser="firefox",e.version=m(r.userAgent,/Firefox\/(\d+)\./,1);else if(r.webkitGetUserMedia||!1===t.isSecureContext&&t.webkitRTCPeerConnection&&!t.RTCIceGatherer)e.browser="chrome",e.version=m(r.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(r.mediaDevices&&r.userAgent.match(/Edge\/(\d+).(\d+)$/))e.browser="edge",e.version=m(r.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!t.RTCPeerConnection||!r.userAgent.match(/AppleWebKit\/(\d+)\./))return e.browser="Not a supported browser.",e;e.browser="safari",e.version=m(r.userAgent,/AppleWebKit\/(\d+)\./,1),e.supportsUnifiedPlan=t.RTCRtpTransceiver&&"currentDirection"in t.RTCRtpTransceiver.prototype}return e}(t),f={browserDetails:d,commonShim:l,extractVersion:m,disableLog:_,disableWarnings:v};switch(d.browser){case"chrome":if(!n||!I||!e.shimChrome)return r("Chrome shim is not included in this adapter release."),f;if(null===d.version)return r("Chrome shim can not determine version, not shimming."),f;r("adapter.js shimming chrome."),f.browserShim=n,Mt(t,d),x(t,d),D(t),I(t,d),Y(t),j(t,d),C(t),O(t),P(t),N(t,d),gt(t),bt(t),_t(t,d),vt(t),wt(t,d);break;case"firefox":if(!h||!Z||!e.shimFirefox)return r("Firefox shim is not included in this adapter release."),f;r("adapter.js shimming firefox."),f.browserShim=h,Mt(t,d),W(t,d),Z(t,d),V(t),Q(t),K(t),J(t),X(t),tt(t),et(t),nt(t),it(t),gt(t),bt(t),_t(t,d),vt(t);break;case"edge":if(!o||!z||!e.shimEdge)return r("MS edge shim is not included in this adapter release."),f;r("adapter.js shimming edge."),f.browserShim=o,F(t),U(t),z(t,d),$(t),_t(t,d),vt(t);break;case"safari":if(!c||!e.shimSafari)return r("Safari shim is not included in this adapter release."),f;r("adapter.js shimming safari."),f.browserShim=c,Mt(t,d),ct(t),ft(t),st(t),ot(t),at(t),lt(t),ut(t),pt(t),gt(t),_t(t,d),vt(t),wt(t,d);break;default:r("Unsupported browser!")}return f}({window:"undefined"==typeof window?void 0:window});e.a=At},,,function(t,e,r){"use strict";r(14);var n={name:"Avatar",props:{fullname:{type:String,default:""},size:{type:Number,default:48},radius:{type:Number,default:50,validator:t=>t>=0&&t<=50},color:{type:String,default:""},image:{type:String,default:""}},computed:{initials(){return this.fullname.split(/[\s-]+/).map(t=>t.substr(0,1)).join("").substr(0,3).toUpperCase()},style(){const t=this.initials.length>2?this.size/3:this.size/2;return{width:this.size+"px",height:this.size+"px","border-radius":this.radius+"%","font-size":t+"px","background-color":""===this.color?this.toColor(this.fullname):this.color,"background-image":this.hasImage?"url("+this.image+")":"none"}},hasImage(){return""!==this.image}},methods:{toColor(t){let e=0;if(!t)return"black";for(const r of t.split(""))e=(e<<8-e)+r.charCodeAt(0);return"#"+Math.abs(e).toString(16).substr(0,6)}}},o=(r(668),r(5)),component=Object(o.a)(n,function(){var t=this,e=t._self._c;return e("div",{staticClass:"avatar",style:t.style},[e("table",[e("tbody",[e("tr",[t.hasImage?t._e():e("td",[t._v("\n "+t._s(t.initials)+"\n ")])])])])])},[],!1,null,"0da76b57",null);e.a=component.exports},,function(t,e,r){"use strict";var n={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var r=e.parent,n=e.slots,o=e.props,h=n(),c=h.default;void 0===c&&(c=[]);var l=h.placeholder;return r._isMounted?c:(r.$once("hook:mounted",function(){r.$forceUpdate()}),o.placeholderTag&&(o.placeholder||l)?t(o.placeholderTag,{class:["client-only-placeholder"]},o.placeholder||l):c.length>0?c.map(function(){return t(!1)}):t(!1))}};t.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){var r=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(t){var e=t,b=t.indexOf("["),o=t.indexOf("]");-1!=b&&-1!=o&&(t=t.substring(0,b)+t.substring(b,o).replace(/:/g,";")+t.substring(o,t.length));for(var h,data,c=r.exec(t||""),l={},i=14;i--;)l[n[i]]=c[i]||"";return-1!=b&&-1!=o&&(l.source=e,l.host=l.host.substring(1,l.host.length-1).replace(/;/g,":"),l.authority=l.authority.replace("[","").replace("]","").replace(/;/g,":"),l.ipv6uri=!0),l.pathNames=function(t,path){var e=/\/{2,9}/g,r=path.replace(e,"/").split("/");"/"!=path.substr(0,1)&&0!==path.length||r.splice(0,1);"/"==path.substr(path.length-1,1)&&r.splice(r.length-1,1);return r}(0,l.path),l.queryKey=(h=l.query,data={},h.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(t,e,r){e&&(data[e]=r)}),data),l}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){(function(e){t.exports=function(t){return r&&e.isBuffer(t)||n&&(t instanceof ArrayBuffer||o(t))};var r="function"==typeof e&&"function"==typeof e.isBuffer,n="function"==typeof ArrayBuffer,o=function(t){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer}}).call(this,r(20).Buffer)},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){var n=r(602),o=r(272),h=r(273),c=r(194),l=r(274),d=r(114),f=r(141)("socket.io-client:manager"),m=r(271),y=r(618),_=Object.prototype.hasOwnProperty;function v(t,e){if(!(this instanceof v))return new v(t,e);t&&"object"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.nsps={},this.subs=[],this.opts=e,this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new y({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var r=e.parser||c;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this.autoConnect=!1!==e.autoConnect,this.autoConnect&&this.open()}t.exports=v,v.prototype.emitAll=function(){for(var t in this.emit.apply(this,arguments),this.nsps)_.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},v.prototype.updateSocketIds=function(){for(var t in this.nsps)_.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},v.prototype.generateId=function(t){return("/"===t?"":t+"#")+this.engine.id},h(v.prototype),v.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},v.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},v.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},v.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},v.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},v.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},v.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},v.prototype.open=v.prototype.connect=function(t,e){if(f("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;f("opening %s",this.uri),this.engine=n(this.uri,this.opts);var r=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var h=l(r,"open",function(){o.onopen(),t&&t()}),c=l(r,"error",function(data){if(f("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",data),t){var e=new Error("Connection error");e.data=data,t(e)}else o.maybeReconnectOnOpen()});if(!1!==this._timeout){var d=this._timeout;f("connect attempt will timeout after %d",d),0===d&&h.destroy();var m=setTimeout(function(){f("connect attempt timed out after %d",d),h.destroy(),r.close(),r.emit("error","timeout"),o.emitAll("connect_timeout",d)},d);this.subs.push({destroy:function(){clearTimeout(m)}})}return this.subs.push(h),this.subs.push(c),this},v.prototype.onopen=function(){f("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(l(t,"data",d(this,"ondata"))),this.subs.push(l(t,"ping",d(this,"onping"))),this.subs.push(l(t,"pong",d(this,"onpong"))),this.subs.push(l(t,"error",d(this,"onerror"))),this.subs.push(l(t,"close",d(this,"onclose"))),this.subs.push(l(this.decoder,"decoded",d(this,"ondecoded")))},v.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},v.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},v.prototype.ondata=function(data){this.decoder.add(data)},v.prototype.ondecoded=function(t){this.emit("packet",t)},v.prototype.onerror=function(t){f("error",t),this.emitAll("error",t)},v.prototype.socket=function(t,e){var r=this.nsps[t];if(!r){r=new o(this,t,e),this.nsps[t]=r;var n=this;r.on("connecting",h),r.on("connect",function(){r.id=n.generateId(t)}),this.autoConnect&&h()}function h(){~m(n.connecting,r)||n.connecting.push(r)}return r},v.prototype.destroy=function(t){var e=m(this.connecting,t);~e&&this.connecting.splice(e,1),this.connecting.length||this.close()},v.prototype.packet=function(t){f("writing packet %j",t);var e=this;t.query&&0===t.type&&(t.nsp+="?"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,function(r){for(var i=0;i0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},v.prototype.cleanup=function(){f("cleanup");for(var t=this.subs.length,i=0;i=this._reconnectionAttempts)f("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();f("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var r=setTimeout(function(){t.skipReconnect||(f("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open(function(e){e?(f("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(f("reconnect success"),t.onreconnect())}))},e);this.subs.push({destroy:function(){clearTimeout(r)}})}},v.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},function(t,e,r){var n=r(195),o=r(605),h=r(614),c=r(615);e.polling=function(t){var e=!1,r=!1,c=!1!==t.jsonp;if("undefined"!=typeof location){var l="https:"===location.protocol,d=location.port;d||(d=l?443:80),e=t.hostname!==location.hostname||d!==t.port,r=t.secure!==l}if(t.xdomain=e,t.xscheme=r,"open"in new n(t)&&!t.forceJSONP)return new o(t);if(!c)throw new Error("JSONP disabled");return new h(t)},e.websocket=c},function(t,e,r){var n=r(197),o=r(142),h=r(92),c=r(143),l=r(270),d=r(144)("engine.io-client:polling");t.exports=m;var f=null!=new(r(195))({xdomain:!1}).responseType;function m(t){var e=t&&t.forceBase64;f&&!e||(this.supportsBinary=!1),n.call(this,t)}c(m,n),m.prototype.name="polling",m.prototype.doOpen=function(){this.poll()},m.prototype.pause=function(t){var e=this;function r(){d("paused"),e.readyState="paused",t()}if(this.readyState="pausing",this.polling||!this.writable){var n=0;this.polling&&(d("we are currently polling - waiting to pause"),n++,this.once("pollComplete",function(){d("pre-pause polling complete"),--n||r()})),this.writable||(d("we are currently writing - waiting to pause"),n++,this.once("drain",function(){d("pre-pause writing complete"),--n||r()}))}else r()},m.prototype.poll=function(){d("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},m.prototype.onData=function(data){var t=this;d("polling got data %s",data);h.decodePayload(data,this.socket.binaryType,function(e,r,n){if("opening"===t.readyState&&"open"===e.type&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)}),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():d('ignoring poll - transport state "%s"',this.readyState))},m.prototype.doClose=function(){var t=this;function e(){d("writing close packet"),t.write([{type:"close"}])}"open"===this.readyState?(d("transport open - closing"),e()):(d("transport not open - deferring close"),this.once("open",e))},m.prototype.write=function(t){var e=this;this.writable=!1;var r=function(){e.writable=!0,e.emit("drain")};h.encodePayload(t,this.supportsBinary,function(data){e.doWrite(data,r)})},m.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",r="";return!1!==this.timestampRequests&&(t[this.timestampParam]=l()),this.supportsBinary||t.sid||(t.b64=1),t=o.encode(t),this.port&&("https"===e&&443!==Number(this.port)||"http"===e&&80!==Number(this.port))&&(r=":"+this.port),t.length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+r+this.path+t}},function(t,e,r){(function(e){var n=r(607),o=Object.prototype.toString,h="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===o.call(Blob),c="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===o.call(File);t.exports=function t(r){if(!r||"object"!=typeof r)return!1;if(n(r)){for(var i=0,o=r.length;i0);return e}function l(){var t=c(+new Date);return t!==n?(h=0,n=t):t+"."+c(h++)}for(;i<64;i++)map[o[i]]=i;l.encode=c,l.decode=function(t){var e=0;for(i=0;i0?("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===f.prototype||(e=function(t){return f.from(t)}(e)),n?c.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):x(t,c,e,!0):c.ended?t.emit("error",new Error("stream.push() after EOF")):(c.reading=!1,c.decoder&&!r?(e=c.decoder.write(e),c.objectMode||0!==e.length?x(t,c,e,!1):O(t,c)):x(t,c,e,!1))):n||(c.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=E?t=E:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function Y(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(v("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?o.nextTick(C,t):C(t))}function C(t){v("emit readable"),t.emit("readable"),I(t)}function O(t,e){e.readingMore||(e.readingMore=!0,o.nextTick(P,t,e))}function P(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;to.length?o.length:t;if(h===o.length?n+=o:n+=o.slice(0,t),0===(t-=h)){h===o.length?(++r,p.next?e.head=p.next:e.head=e.tail=null):(e.head=p,p.data=o.slice(h));break}++r}return e.length-=r,n}(t,e):function(t,e){var r=f.allocUnsafe(t),p=e.head,n=1;p.data.copy(r),t-=p.data.length;for(;p=p.next;){var o=p.data,h=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,h),0===(t-=h)){h===o.length?(++n,p.next?e.head=p.next:e.head=e.tail=null):(e.head=p,p.data=o.slice(h));break}++n}return e.length-=n,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function B(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,o.nextTick(H,e,t))}function H(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function F(t,e){for(var i=0,r=t.length;i=e.highWaterMark||e.ended))return v("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):Y(this),null;if(0===(t=D(t,e))&&e.ended)return 0===e.length&&B(this),null;var n,o=e.needReadable;return v("need readable",o),(0===e.length||e.length-t0?N(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&B(this)),null!==n&&this.emit("data",n),n},L.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},L.prototype.pipe=function(t,e){var r=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=t;break;case 1:h.pipes=[h.pipes,t];break;default:h.pipes.push(t)}h.pipesCount+=1,v("pipe count=%d opts=%j",h.pipesCount,e);var d=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?m:L;function f(e,n){v("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,v("cleanup"),t.removeListener("close",S),t.removeListener("finish",k),t.removeListener("drain",y),t.removeListener("error",A),t.removeListener("unpipe",f),r.removeListener("end",m),r.removeListener("end",L),r.removeListener("data",M),_=!0,!h.awaitDrain||t._writableState&&!t._writableState.needDrain||y())}function m(){v("onend"),t.end()}h.endEmitted?o.nextTick(d):r.once("end",d),t.on("unpipe",f);var y=function(t){return function(){var e=t._readableState;v("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&l(t,"data")&&(e.flowing=!0,I(t))}}(r);t.on("drain",y);var _=!1;var w=!1;function M(e){v("ondata"),w=!1,!1!==t.write(e)||w||((1===h.pipesCount&&h.pipes===t||h.pipesCount>1&&-1!==F(h.pipes,t))&&!_&&(v("false write response, pause",h.awaitDrain),h.awaitDrain++,w=!0),r.pause())}function A(e){v("onerror",e),L(),t.removeListener("error",A),0===l(t,"error")&&t.emit("error",e)}function S(){t.removeListener("finish",k),L()}function k(){v("onfinish"),t.removeListener("close",S),L()}function L(){v("unpipe"),r.unpipe(t)}return r.on("data",M),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?c(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",A),t.once("close",S),t.once("finish",k),t.emit("pipe",r),h.flowing||(v("pipe resume"),r.resume()),t},L.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i=31},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){return JSON.stringify(t)},e.enable(n())},function(t,e,r){"use strict";var n,o=r(207),h=r(703),c=r(704),l=r(705),d=r(706),f=r(289),m=r(120),y=r(707),_=r(708),v=r(709),w=r(710),M=r(711),A=r(712),S=r(713),k=r(714),L=Function,T=function(t){try{return L('"use strict"; return ('+t+").constructor;")()}catch(t){}},x=r(121),E=r(147),D=function(){throw new m},Y=x?function(){try{return D}catch(t){try{return x(arguments,"callee").get}catch(t){return D}}}():D,C=r(717)(),O=r(290),P=r(292),R=r(291),j=r(211),I=r(210),N={},B="undefined"!=typeof Uint8Array&&O?O(Uint8Array):n,H={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":C&&O?O([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":N,"%AsyncGenerator%":N,"%AsyncGeneratorFunction%":N,"%AsyncIteratorPrototype%":N,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":h,"%eval%":eval,"%EvalError%":c,"%Float16Array%":"undefined"==typeof Float16Array?n:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":L,"%GeneratorFunction%":N,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&O?O(O([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&C&&O?O((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":l,"%ReferenceError%":d,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&C&&O?O((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&O?O(""[Symbol.iterator]()):n,"%Symbol%":C?Symbol:n,"%SyntaxError%":f,"%ThrowTypeError%":Y,"%TypedArray%":B,"%TypeError%":m,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":y,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":I,"%Function.prototype.apply%":j,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":P,"%Math.abs%":_,"%Math.floor%":v,"%Math.max%":w,"%Math.min%":M,"%Math.pow%":A,"%Math.round%":S,"%Math.sign%":k,"%Reflect.getPrototypeOf%":R};if(O)try{null.error}catch(t){var F=O(O(t));H["%Error.prototype%"]=F}var U=function t(e){var r;if("%AsyncFunction%"===e)r=T("async function () {}");else if("%GeneratorFunction%"===e)r=T("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=T("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&O&&(r=O(o.prototype))}return H[e]=r,r},z={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},$=r(122),W=r(721),G=$.call(I,Array.prototype.concat),V=$.call(j,Array.prototype.splice),Z=$.call(I,String.prototype.replace),K=$.call(I,String.prototype.slice),J=$.call(I,RegExp.prototype.exec),Q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,X=/\\(\\)?/g,tt=function(t,e){var r,n=t;if(W(z,n)&&(n="%"+(r=z[n])[0]+"%"),W(H,n)){var o=H[n];if(o===N&&(o=U(n)),void 0===o&&!e)throw new m("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new f("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new m("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new m('"allowMissing" argument must be a boolean');if(null===J(/^%?[^%]*%?$/,t))throw new f("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=K(t,0,1),r=K(t,-1);if("%"===e&&"%"!==r)throw new f("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new f("invalid intrinsic syntax, expected opening `%`");var n=[];return Z(t,Q,function(t,e,r,o){n[n.length]=r?Z(o,X,"$1"):e||t}),n}(t),n=r.length>0?r[0]:"",o=tt("%"+n+"%",e),h=o.name,c=o.value,l=!1,d=o.alias;d&&(n=d[0],V(r,G([0,1],d)));for(var i=1,y=!0;i=r.length){var desc=x(c,_);c=(y=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:c[_]}else y=W(c,_),c=c[_];y&&!l&&(H[h]=c)}}return c}},function(t,e,r){"use strict";t.exports=SyntaxError},function(t,e,r){"use strict";var n=r(291),o=r(292),h=r(718);t.exports=n?function(t){return n(t)}:o?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return o(t)}:h?function(t){return h(t)}:null},function(t,e,r){"use strict";t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},function(t,e,r){"use strict";var n=r(207);t.exports=n.getPrototypeOf||null},function(t,e,r){"use strict";var n=r(122),o=r(211),h=r(210),c=r(720);t.exports=c||n.call(h,o)},function(t,e,r){"use strict";var n=r(15),o=r(94),h=r(18).Buffer,c=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=new Array(64);function d(){this.init(),this._w=l,o.call(this,64,56)}function f(t,e,r){return r^t&(e^r)}function m(t,e,r){return t&e|r&(t|e)}function y(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function _(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function v(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function w(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}n(d,o),d.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},d.prototype._update=function(t){for(var e=this._w,a=0|this._a,b=0|this._b,r=0|this._c,n=0|this._d,o=0|this._e,h=0|this._f,g=0|this._g,l=0|this._h,i=0;i<16;++i)e[i]=t.readInt32BE(4*i);for(;i<64;++i)e[i]=w(e[i-2])+e[i-7]+v(e[i-15])+e[i-16]|0;for(var d=0;d<64;++d){var M=l+_(o)+f(o,h,g)+c[d]+e[d]|0,A=y(a)+m(a,b,r)|0;l=g,g=h,h=o,o=n+M|0,n=r,r=b,b=a,a=M+A|0}this._a=a+this._a|0,this._b=b+this._b|0,this._c=r+this._c|0,this._d=n+this._d|0,this._e=o+this._e|0,this._f=h+this._f|0,this._g=g+this._g|0,this._h=l+this._h|0},d.prototype._hash=function(){var t=h.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=d},function(t,e,r){"use strict";var n=r(15),o=r(94),h=r(18).Buffer,c=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160);function d(){this.init(),this._w=l,o.call(this,128,112)}function f(t,e,r){return r^t&(e^r)}function m(t,e,r){return t&e|r&(t|e)}function y(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function _(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function v(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function w(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function M(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function A(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function S(a,b){return a>>>0>>0?1:0}n(d,o),d.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},d.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,h=0|this._dh,l=0|this._eh,d=0|this._fh,k=0|this._gh,L=0|this._hh,T=0|this._al,x=0|this._bl,E=0|this._cl,dl=0|this._dl,D=0|this._el,Y=0|this._fl,C=0|this._gl,O=0|this._hl,i=0;i<32;i+=2)e[i]=t.readInt32BE(4*i),e[i+1]=t.readInt32BE(4*i+4);for(;i<160;i+=2){var P=e[i-30],R=e[i-30+1],j=v(P,R),I=w(R,P),N=M(P=e[i-4],R=e[i-4+1]),B=A(R,P),H=e[i-14],F=e[i-14+1],U=e[i-32],z=e[i-32+1],$=I+F|0,W=j+H+S($,I)|0;W=(W=W+N+S($=$+B|0,B)|0)+U+S($=$+z|0,z)|0,e[i]=W,e[i+1]=$}for(var G=0;G<160;G+=2){W=e[G],$=e[G+1];var V=m(r,n,o),Z=m(T,x,E),K=y(r,T),J=y(T,r),Q=_(l,D),X=_(D,l),tt=c[G],et=c[G+1],nt=f(l,d,k),it=f(D,Y,C),ot=O+X|0,at=L+Q+S(ot,O)|0;at=(at=(at=at+nt+S(ot=ot+it|0,it)|0)+tt+S(ot=ot+et|0,et)|0)+W+S(ot=ot+$|0,$)|0;var st=J+Z|0,ut=K+V+S(st,J)|0;L=k,O=C,k=d,C=Y,d=l,Y=D,l=h+at+S(D=dl+ot|0,dl)|0,h=o,dl=E,o=n,E=x,n=r,x=T,r=at+ut+S(T=ot+st|0,ot)|0}this._al=this._al+T|0,this._bl=this._bl+x|0,this._cl=this._cl+E|0,this._dl=this._dl+dl|0,this._el=this._el+D|0,this._fl=this._fl+Y|0,this._gl=this._gl+C|0,this._hl=this._hl+O|0,this._ah=this._ah+r+S(this._al,T)|0,this._bh=this._bh+n+S(this._bl,x)|0,this._ch=this._ch+o+S(this._cl,E)|0,this._dh=this._dh+h+S(this._dl,dl)|0,this._eh=this._eh+l+S(this._el,D)|0,this._fh=this._fh+d+S(this._fl,Y)|0,this._gh=this._gh+k+S(this._gl,C)|0,this._hh=this._hh+L+S(this._hl,O)|0},d.prototype._hash=function(){var t=h.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=d},function(t,e,r){"use strict";var n=r(15),o=r(738),h=r(75),c=r(18).Buffer,l=r(297),d=r(205),f=r(212),m=c.alloc(128);function y(t,e){h.call(this,"digest"),"string"==typeof e&&(e=c.from(e));var r="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>r)?e=("rmd160"===t?new d:f(t)).update(e).digest():e.lengtho||e!=e)throw new TypeError("Bad key length");return e+0}},function(t,e,r){"use strict";(function(e,r){var n;if(e.process&&e.process.browser)n="utf-8";else if(e.process&&e.process.version){n=parseInt(r.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";t.exports=n}).call(this,r(27),r(24))},function(t,e,r){"use strict";var n=r(297),o=r(205),h=r(212),c=r(18).Buffer,l=r(300),d=r(301),f=r(303),m=c.alloc(128),y={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},_={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function v(data){return(new o).update(data).digest()}function w(t,e,r){var o=function(t){return"rmd160"===t||"ripemd160"===t?v:"md5"===t?n:function(data){return h(t).update(data).digest()}}(t),l="sha512"===t||"sha384"===t?128:64;e.length>l?e=o(e):e.length>>0},e.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},e.ip=function(t,e,r,n){for(var o=0,h=0,i=6;i>=0;i-=2){for(var c=0;c<=24;c+=8)o<<=1,o|=e>>>c+i&1;for(c=0;c<=24;c+=8)o<<=1,o|=t>>>c+i&1}for(i=6;i>=0;i-=2){for(c=1;c<=25;c+=8)h<<=1,h|=e>>>c+i&1;for(c=1;c<=25;c+=8)h<<=1,h|=t>>>c+i&1}r[n+0]=o>>>0,r[n+1]=h>>>0},e.rip=function(t,e,r,n){for(var o=0,h=0,i=0;i<4;i++)for(var c=24;c>=0;c-=8)o<<=1,o|=e>>>c+i&1,o<<=1,o|=t>>>c+i&1;for(i=4;i<8;i++)for(c=24;c>=0;c-=8)h<<=1,h|=e>>>c+i&1,h<<=1,h|=t>>>c+i&1;r[n+0]=o>>>0,r[n+1]=h>>>0},e.pc1=function(t,e,r,n){for(var o=0,h=0,i=7;i>=5;i--){for(var c=0;c<=24;c+=8)o<<=1,o|=e>>c+i&1;for(c=0;c<=24;c+=8)o<<=1,o|=t>>c+i&1}for(c=0;c<=24;c+=8)o<<=1,o|=e>>c+i&1;for(i=1;i<=3;i++){for(c=0;c<=24;c+=8)h<<=1,h|=e>>c+i&1;for(c=0;c<=24;c+=8)h<<=1,h|=t>>c+i&1}for(c=0;c<=24;c+=8)h<<=1,h|=t>>c+i&1;r[n+0]=o>>>0,r[n+1]=h>>>0},e.r28shl=function(t,e){return t<>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,r,o){for(var h=0,c=0,l=n.length>>>1,i=0;i>>n[i]&1;for(i=l;i>>n[i]&1;r[o+0]=h>>>0,r[o+1]=c>>>0},e.expand=function(t,e,r){var n=0,o=0;n=(1&t)<<5|t>>>27;for(var i=23;i>=15;i-=4)n<<=6,n|=t>>>i&63;for(i=11;i>=3;i-=4)o|=t>>>i&63,o<<=6;o|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var r=0,i=0;i<4;i++){r<<=4,r|=o[64*i+(t>>>18-6*i&63)]}for(i=0;i<4;i++){r<<=4,r|=o[256+64*i+(e>>>18-6*i&63)]}return r>>>0};var h=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,i=0;i>>h[i]&1;return e>>>0},e.padSplit=function(t,e,r){for(var n=t.toString(2);n.length>>1];r=h.r28shl(r,c),o=h.r28shl(o,c),h.pc2(r,o,t.keys,i)}},d.prototype._update=function(t,e,r,n){var o=this._desState,c=h.readUInt32BE(t,e),l=h.readUInt32BE(t,e+4);h.ip(c,l,o.tmp,0),c=o.tmp[0],l=o.tmp[1],"encrypt"===this.type?this._encrypt(o,c,l,o.tmp,0):this._decrypt(o,c,l,o.tmp,0),c=o.tmp[0],l=o.tmp[1],h.writeUInt32BE(r,c,n),h.writeUInt32BE(r,l,n+4)},d.prototype._pad=function(t,e){if(!1===this.padding)return!1;for(var r=t.length-e,i=e;i>>0,c=m}h.rip(l,c,n,o)},d.prototype._decrypt=function(t,e,r,n,o){for(var c=r,l=e,i=t.keys.length-2;i>=0;i-=2){var d=t.keys[i],f=t.keys[i+1];h.expand(c,t.tmp,0),d^=t.tmp[0],f^=t.tmp[1];var s=h.substitute(d,f),m=c;c=(l^h.permute(s))>>>0,l=m}h.rip(c,l,n,o)}},function(t,e,r){var n=r(123),o=r(18).Buffer,h=r(307);function c(t){var e=t._cipher.encryptBlockRaw(t._prev);return h(t._prev),e}e.encrypt=function(t,e){var r=Math.ceil(e.length/16),h=t._cache.length;t._cache=o.concat([t._cache,o.allocUnsafe(16*r)]);for(var i=0;it;)r.ishrn(1);if(r.isEven()&&r.iadd(l),r.testn(1)||r.iadd(d),e.cmp(d)){if(!e.cmp(f))for(;r.mod(m).cmp(y);)r.iadd(v)}else for(;r.mod(h).cmp(_);)r.iadd(v);if(A(w=r.shrn(1))&&A(r)&&S(w)&&S(r)&&c.test(w)&&c.test(r))return r}}},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(757).Buffer}catch(t){}function l(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=l(t,r);return r-1>=e&&(n|=l(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i=49?c-49+10:c>=17?c-17+10:c}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i=e;i-=2)n=d(t,e,i)<=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;this.strip()},h.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,h=o%r,c=Math.min(o,o-h)+e,l=0,i=e;i1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,c=o/67108864|0;r.words[0]=h;for(var l=1;l>>26,f=67108863&c,m=Math.min(l,e.length-1),y=Math.max(0,l-t.length+1);y<=m;y++){var i=l-y|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[y])+f)/67108864|0,f=67108863&o}r.words[l]=0|f,c=0|d}return 0!==c?r.words[l]=0|c:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),e=0!==o||i!==this.length-1?m[6-c.length]+c+e:c+e}for(0!==o&&(e=o.toString(16)+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var l=y[base],d=_[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var v=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?v+e:m[l-v.length]+v+e}for(this.isZero()&&(e="0"+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,l=new t(h),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),l[i]=b;for(;i=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 8191&e||(r+=13,e>>>=13),127&e||(r+=7,e>>>=7),15&e||(r+=4,e>>>=4),3&e||(r+=2,e>>>=2),1&e||r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;it.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;it.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;it.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i>>26;for(;0!==r&&i>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;it.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i>26,this.words[i]=67108863&e;for(;0!==n&&i>26,this.words[i]=67108863&e;if(0===n&&i>>13,y=0|a[1],_=8191&y,v=y>>>13,w=0|a[2],M=8191&w,A=w>>>13,S=0|a[3],k=8191&S,L=S>>>13,T=0|a[4],x=8191&T,E=T>>>13,D=0|a[5],Y=8191&D,C=D>>>13,O=0|a[6],P=8191&O,R=O>>>13,j=0|a[7],I=8191&j,N=j>>>13,B=0|a[8],H=8191&B,F=B>>>13,U=0|a[9],z=8191&U,$=U>>>13,W=0|b[0],G=8191&W,V=W>>>13,Z=0|b[1],K=8191&Z,J=Z>>>13,Q=0|b[2],X=8191&Q,tt=Q>>>13,et=0|b[3],nt=8191&et,it=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],ht=8191&ut,ct=ut>>>13,lt=0|b[6],ft=8191<,pt=lt>>>13,mt=0|b[7],yt=8191&mt,gt=mt>>>13,_t=0|b[8],vt=8191&_t,bt=_t>>>13,wt=0|b[9],Mt=8191&wt,At=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var St=(l+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,V))+Math.imul(m,G)|0))<<13)|0;l=((h=Math.imul(m,V))+(o>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(_,G),o=(o=Math.imul(_,V))+Math.imul(v,G)|0,h=Math.imul(v,V);var kt=(l+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,J)|0)+Math.imul(m,K)|0))<<13)|0;l=((h=h+Math.imul(m,J)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(M,G),o=(o=Math.imul(M,V))+Math.imul(A,G)|0,h=Math.imul(A,V),n=n+Math.imul(_,K)|0,o=(o=o+Math.imul(_,J)|0)+Math.imul(v,K)|0,h=h+Math.imul(v,J)|0;var Lt=(l+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,X)|0))<<13)|0;l=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(k,G),o=(o=Math.imul(k,V))+Math.imul(L,G)|0,h=Math.imul(L,V),n=n+Math.imul(M,K)|0,o=(o=o+Math.imul(M,J)|0)+Math.imul(A,K)|0,h=h+Math.imul(A,J)|0,n=n+Math.imul(_,X)|0,o=(o=o+Math.imul(_,tt)|0)+Math.imul(v,X)|0,h=h+Math.imul(v,tt)|0;var Tt=(l+(n=n+Math.imul(f,nt)|0)|0)+((8191&(o=(o=o+Math.imul(f,it)|0)+Math.imul(m,nt)|0))<<13)|0;l=((h=h+Math.imul(m,it)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,V))+Math.imul(E,G)|0,h=Math.imul(E,V),n=n+Math.imul(k,K)|0,o=(o=o+Math.imul(k,J)|0)+Math.imul(L,K)|0,h=h+Math.imul(L,J)|0,n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(_,nt)|0,o=(o=o+Math.imul(_,it)|0)+Math.imul(v,nt)|0,h=h+Math.imul(v,it)|0;var xt=(l+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;l=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(Y,G),o=(o=Math.imul(Y,V))+Math.imul(C,G)|0,h=Math.imul(C,V),n=n+Math.imul(x,K)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(E,K)|0,h=h+Math.imul(E,J)|0,n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(L,X)|0,h=h+Math.imul(L,tt)|0,n=n+Math.imul(M,nt)|0,o=(o=o+Math.imul(M,it)|0)+Math.imul(A,nt)|0,h=h+Math.imul(A,it)|0,n=n+Math.imul(_,at)|0,o=(o=o+Math.imul(_,st)|0)+Math.imul(v,at)|0,h=h+Math.imul(v,st)|0;var Et=(l+(n=n+Math.imul(f,ht)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,ht)|0))<<13)|0;l=((h=h+Math.imul(m,ct)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),o=(o=Math.imul(P,V))+Math.imul(R,G)|0,h=Math.imul(R,V),n=n+Math.imul(Y,K)|0,o=(o=o+Math.imul(Y,J)|0)+Math.imul(C,K)|0,h=h+Math.imul(C,J)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(E,X)|0,h=h+Math.imul(E,tt)|0,n=n+Math.imul(k,nt)|0,o=(o=o+Math.imul(k,it)|0)+Math.imul(L,nt)|0,h=h+Math.imul(L,it)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(_,ht)|0,o=(o=o+Math.imul(_,ct)|0)+Math.imul(v,ht)|0,h=h+Math.imul(v,ct)|0;var Dt=(l+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;l=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,V))+Math.imul(N,G)|0,h=Math.imul(N,V),n=n+Math.imul(P,K)|0,o=(o=o+Math.imul(P,J)|0)+Math.imul(R,K)|0,h=h+Math.imul(R,J)|0,n=n+Math.imul(Y,X)|0,o=(o=o+Math.imul(Y,tt)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(x,nt)|0,o=(o=o+Math.imul(x,it)|0)+Math.imul(E,nt)|0,h=h+Math.imul(E,it)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(L,at)|0,h=h+Math.imul(L,st)|0,n=n+Math.imul(M,ht)|0,o=(o=o+Math.imul(M,ct)|0)+Math.imul(A,ht)|0,h=h+Math.imul(A,ct)|0,n=n+Math.imul(_,ft)|0,o=(o=o+Math.imul(_,pt)|0)+Math.imul(v,ft)|0,h=h+Math.imul(v,pt)|0;var Yt=(l+(n=n+Math.imul(f,yt)|0)|0)+((8191&(o=(o=o+Math.imul(f,gt)|0)+Math.imul(m,yt)|0))<<13)|0;l=((h=h+Math.imul(m,gt)|0)+(o>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,n=Math.imul(H,G),o=(o=Math.imul(H,V))+Math.imul(F,G)|0,h=Math.imul(F,V),n=n+Math.imul(I,K)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(N,K)|0,h=h+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,o=(o=o+Math.imul(P,tt)|0)+Math.imul(R,X)|0,h=h+Math.imul(R,tt)|0,n=n+Math.imul(Y,nt)|0,o=(o=o+Math.imul(Y,it)|0)+Math.imul(C,nt)|0,h=h+Math.imul(C,it)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(E,at)|0,h=h+Math.imul(E,st)|0,n=n+Math.imul(k,ht)|0,o=(o=o+Math.imul(k,ct)|0)+Math.imul(L,ht)|0,h=h+Math.imul(L,ct)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(_,yt)|0,o=(o=o+Math.imul(_,gt)|0)+Math.imul(v,yt)|0,h=h+Math.imul(v,gt)|0;var Ct=(l+(n=n+Math.imul(f,vt)|0)|0)+((8191&(o=(o=o+Math.imul(f,bt)|0)+Math.imul(m,vt)|0))<<13)|0;l=((h=h+Math.imul(m,bt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(z,G),o=(o=Math.imul(z,V))+Math.imul($,G)|0,h=Math.imul($,V),n=n+Math.imul(H,K)|0,o=(o=o+Math.imul(H,J)|0)+Math.imul(F,K)|0,h=h+Math.imul(F,J)|0,n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(P,nt)|0,o=(o=o+Math.imul(P,it)|0)+Math.imul(R,nt)|0,h=h+Math.imul(R,it)|0,n=n+Math.imul(Y,at)|0,o=(o=o+Math.imul(Y,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(x,ht)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(E,ht)|0,h=h+Math.imul(E,ct)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(L,ft)|0,h=h+Math.imul(L,pt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,gt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,gt)|0,n=n+Math.imul(_,vt)|0,o=(o=o+Math.imul(_,bt)|0)+Math.imul(v,vt)|0,h=h+Math.imul(v,bt)|0;var Ot=(l+(n=n+Math.imul(f,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(f,At)|0)+Math.imul(m,Mt)|0))<<13)|0;l=((h=h+Math.imul(m,At)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(z,K),o=(o=Math.imul(z,J))+Math.imul($,K)|0,h=Math.imul($,J),n=n+Math.imul(H,X)|0,o=(o=o+Math.imul(H,tt)|0)+Math.imul(F,X)|0,h=h+Math.imul(F,tt)|0,n=n+Math.imul(I,nt)|0,o=(o=o+Math.imul(I,it)|0)+Math.imul(N,nt)|0,h=h+Math.imul(N,it)|0,n=n+Math.imul(P,at)|0,o=(o=o+Math.imul(P,st)|0)+Math.imul(R,at)|0,h=h+Math.imul(R,st)|0,n=n+Math.imul(Y,ht)|0,o=(o=o+Math.imul(Y,ct)|0)+Math.imul(C,ht)|0,h=h+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(E,ft)|0,h=h+Math.imul(E,pt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,gt)|0)+Math.imul(L,yt)|0,h=h+Math.imul(L,gt)|0,n=n+Math.imul(M,vt)|0,o=(o=o+Math.imul(M,bt)|0)+Math.imul(A,vt)|0,h=h+Math.imul(A,bt)|0;var Pt=(l+(n=n+Math.imul(_,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(_,At)|0)+Math.imul(v,Mt)|0))<<13)|0;l=((h=h+Math.imul(v,At)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,tt))+Math.imul($,X)|0,h=Math.imul($,tt),n=n+Math.imul(H,nt)|0,o=(o=o+Math.imul(H,it)|0)+Math.imul(F,nt)|0,h=h+Math.imul(F,it)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(P,ht)|0,o=(o=o+Math.imul(P,ct)|0)+Math.imul(R,ht)|0,h=h+Math.imul(R,ct)|0,n=n+Math.imul(Y,ft)|0,o=(o=o+Math.imul(Y,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(x,yt)|0,o=(o=o+Math.imul(x,gt)|0)+Math.imul(E,yt)|0,h=h+Math.imul(E,gt)|0,n=n+Math.imul(k,vt)|0,o=(o=o+Math.imul(k,bt)|0)+Math.imul(L,vt)|0,h=h+Math.imul(L,bt)|0;var Rt=(l+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,At)|0)+Math.imul(A,Mt)|0))<<13)|0;l=((h=h+Math.imul(A,At)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(z,nt),o=(o=Math.imul(z,it))+Math.imul($,nt)|0,h=Math.imul($,it),n=n+Math.imul(H,at)|0,o=(o=o+Math.imul(H,st)|0)+Math.imul(F,at)|0,h=h+Math.imul(F,st)|0,n=n+Math.imul(I,ht)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(N,ht)|0,h=h+Math.imul(N,ct)|0,n=n+Math.imul(P,ft)|0,o=(o=o+Math.imul(P,pt)|0)+Math.imul(R,ft)|0,h=h+Math.imul(R,pt)|0,n=n+Math.imul(Y,yt)|0,o=(o=o+Math.imul(Y,gt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,gt)|0,n=n+Math.imul(x,vt)|0,o=(o=o+Math.imul(x,bt)|0)+Math.imul(E,vt)|0,h=h+Math.imul(E,bt)|0;var jt=(l+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,At)|0)+Math.imul(L,Mt)|0))<<13)|0;l=((h=h+Math.imul(L,At)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(z,at),o=(o=Math.imul(z,st))+Math.imul($,at)|0,h=Math.imul($,st),n=n+Math.imul(H,ht)|0,o=(o=o+Math.imul(H,ct)|0)+Math.imul(F,ht)|0,h=h+Math.imul(F,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(P,yt)|0,o=(o=o+Math.imul(P,gt)|0)+Math.imul(R,yt)|0,h=h+Math.imul(R,gt)|0,n=n+Math.imul(Y,vt)|0,o=(o=o+Math.imul(Y,bt)|0)+Math.imul(C,vt)|0,h=h+Math.imul(C,bt)|0;var It=(l+(n=n+Math.imul(x,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(x,At)|0)+Math.imul(E,Mt)|0))<<13)|0;l=((h=h+Math.imul(E,At)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(z,ht),o=(o=Math.imul(z,ct))+Math.imul($,ht)|0,h=Math.imul($,ct),n=n+Math.imul(H,ft)|0,o=(o=o+Math.imul(H,pt)|0)+Math.imul(F,ft)|0,h=h+Math.imul(F,pt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,gt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,gt)|0,n=n+Math.imul(P,vt)|0,o=(o=o+Math.imul(P,bt)|0)+Math.imul(R,vt)|0,h=h+Math.imul(R,bt)|0;var Nt=(l+(n=n+Math.imul(Y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(Y,At)|0)+Math.imul(C,Mt)|0))<<13)|0;l=((h=h+Math.imul(C,At)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(z,ft),o=(o=Math.imul(z,pt))+Math.imul($,ft)|0,h=Math.imul($,pt),n=n+Math.imul(H,yt)|0,o=(o=o+Math.imul(H,gt)|0)+Math.imul(F,yt)|0,h=h+Math.imul(F,gt)|0,n=n+Math.imul(I,vt)|0,o=(o=o+Math.imul(I,bt)|0)+Math.imul(N,vt)|0,h=h+Math.imul(N,bt)|0;var Bt=(l+(n=n+Math.imul(P,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(P,At)|0)+Math.imul(R,Mt)|0))<<13)|0;l=((h=h+Math.imul(R,At)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(z,yt),o=(o=Math.imul(z,gt))+Math.imul($,yt)|0,h=Math.imul($,gt),n=n+Math.imul(H,vt)|0,o=(o=o+Math.imul(H,bt)|0)+Math.imul(F,vt)|0,h=h+Math.imul(F,bt)|0;var Ht=(l+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,At)|0)+Math.imul(N,Mt)|0))<<13)|0;l=((h=h+Math.imul(N,At)|0)+(o>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(z,vt),o=(o=Math.imul(z,bt))+Math.imul($,vt)|0,h=Math.imul($,bt);var Ft=(l+(n=n+Math.imul(H,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(H,At)|0)+Math.imul(F,Mt)|0))<<13)|0;l=((h=h+Math.imul(F,At)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863;var Ut=(l+(n=Math.imul(z,Mt))|0)+((8191&(o=(o=Math.imul(z,At))+Math.imul($,Mt)|0))<<13)|0;return l=((h=Math.imul($,At))+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,c[0]=St,c[1]=kt,c[2]=Lt,c[3]=Tt,c[4]=xt,c[5]=Et,c[6]=Dt,c[7]=Yt,c[8]=Ct,c[9]=Ot,c[10]=Pt,c[11]=Rt,c[12]=jt,c[13]=It,c[14]=Nt,c[15]=Bt,c[16]=Ht,c[17]=Ft,c[18]=Ut,0!==l&&(c[19]=l,r.length++),r};function M(t,e,r){return(new A).mulp(t,e,r)}function A(t,e){this.x=t,this.y=e}Math.imul||(w=v),h.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?v(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h>>26)|0)>>>26,c&=67108863}r.words[h]=l,n=c,c=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):M(this,t,e),r},A.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i>=1;return n},A.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i>>=1)i++;return 1<>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),0===t&&(this.length=1,this._normSign()),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<s)for(this.length-=s,i=0;i=0&&(0!==l||i>=o);i--){var d=0|this.words[i];this.words[i]=l<<26-h|d>>>h,l=d&mask}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i=0;l--){var d=67108864*(0|a.words[b.length+l])+(0|a.words[b.length+l-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,l);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,l),a.isZero()||(a.negative^=1);q&&(q.words[l]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!==(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=e.mod.abs(),n=t.abs().iushrn(1),o=1&t.words[0],c=r.cmp(n);if(c<0||1===o&&0===c)return e.div;var l=new h(1);return l.negative=this.negative^t.negative,e.div.iadd(l)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),c=new h(0),l=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0===(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var y=0,_=1;0===(e.words[0]&_)&&y<26;++y,_<<=1);if(y>0)for(e.iushrn(y);y-- >0;)(c.isOdd()||l.isOdd())&&(c.iadd(d),l.isub(f)),c.iushrn(1),l.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(l)):(e.isub(t),c.isub(r),l.isub(o))}return{a:c,b:l,gcd:e.iushln(g)}},h.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0===(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var l=0,d=1;0===(b.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(b.iushrn(l);l-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return!(1&this.words[0])},h.prototype.isOdd=function(){return!(1&~this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:ot.length)return 1;if(this.length=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){ab&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new D(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function k(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function L(){k.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function T(){k.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){k.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){k.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function Y(t){D.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}k.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},k.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},k.prototype.split=function(input,t){input.iushrn(this.n,0,t)},k.prototype.imulK=function(t){return t.imul(this.k)},o(L,k),L.prototype.split=function(input,output){for(var mask=4194303,t=Math.min(input.length,9),i=0;i>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},L.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new L;else if("p224"===t)e=new T;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new E}return S[t]=e,e},D.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},D.prototype._verify2=function(a,b){n(0===(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},D.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},D.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},D.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},D.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},D.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},D.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},D.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},D.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},D.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},D.prototype.isqr=function(a){return this.imul(a,a.clone())},D.prototype.sqr=function(a){return this.mul(a,a)},D.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new h(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new h(2*l*l).toRed(this);0!==this.pow(l,c).cmp(o);)l.redIAdd(o);for(var d=this.pow(l,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),y=s;0!==m.cmp(r);){for(var _=m,i=0;0!==_.cmp(r);i++)_=_.redSqr();n(i=0;i--){for(var l=t.words[i],d=c-1;d>=0;d--){var f=l>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},D.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},D.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new Y(t)},o(Y,D),Y.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Y.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},Y.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(76)(t))},function(t,e,r){var n=r(758),o=r(216);function h(t){this.rand=t||new o.Rand}t.exports=h,h.create=function(t){return new h(t)},h.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var a=new n(this.rand.generate(r))}while(a.cmp(t)>=0);return a},h.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},h.prototype.test=function(t,e,r){var o=t.bitLength(),h=n.mont(t),c=new n(1).toRed(h);e||(e=Math.max(1,o/48|0));for(var l=t.subn(1),s=0;!l.testn(s);s++);for(var d=t.shrn(s),f=l.toRed(h);e>0;e--){var a=this._randrange(new n(2),l);r&&r(a);var m=a.toRed(h).redPow(d);if(0!==m.cmp(c)&&0!==m.cmp(f)){for(var i=1;i0;e--){var a=this._randrange(new n(2),c),g=t.gcd(a);if(0!==g.cmpn(1))return g;var f=a.toRed(o).redPow(l);if(0!==f.cmp(h)&&0!==f.cmp(d)){for(var i=1;i>8,h=255&n;o?r.push(o,h):r.push(h)}return r},n.zero2=o,n.toHex=h,n.encode=function(t,e){return"hex"===e?h(t):t}},function(t,e,r){"use strict";var n=e;n.base=r(150),n.short=r(768),n.mont=r(769),n.edwards=r(770)},function(t,e,r){"use strict";var n=r(57).rotr32;function o(t,e,r){return t&e^~t&r}function h(t,e,r){return t&e^t&r^e&r}function c(t,e,r){return t^e^r}e.ft_1=function(s,t,e,r){return 0===s?o(t,e,r):1===s||3===s?c(t,e,r):2===s?h(t,e,r):void 0},e.ch32=o,e.maj32=h,e.p32=c,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},function(t,e,r){"use strict";var n=r(57),o=r(124),h=r(316),c=r(47),l=n.sum32,d=n.sum32_4,f=n.sum32_5,m=h.ch32,y=h.maj32,_=h.s0_256,v=h.s1_256,w=h.g0_256,M=h.g1_256,A=o.BlockHash,S=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function k(){if(!(this instanceof k))return new k;A.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=S,this.W=new Array(64)}n.inherits(k,A),t.exports=k,k.blockSize=512,k.outSize=256,k.hmacStrength=192,k.padLength=64,k.prototype._update=function(t,e){for(var r=this.W,i=0;i<16;i++)r[i]=t[e+i];for(;i>6],o=!(32&r);if(31&~r)r&=31;else{var h=r;for(r=0;!(128&~h);){if(h=t.readUInt8(e),t.isError(h))return h;r<<=7,r|=127&h}}return{cls:n,primitive:o,tag:r,tagStr:c.tag[r]}}function m(t,e,r){var n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(!(128&n))return n;var o=127&n;if(o>4)return t.error("length octect is too long");n=0;for(var i=0;i=31)return n.error("Multi-octet tag encoding unsupported");e||(o|=32);return o|=c.tagClassByName[r||"universal"]<<6,o}(t,e,r,this.reporter);if(content.length<128)return(header=new o(2))[0]=n,header[1]=content.length,this._createEncoderBuffer([header,content]);for(var h=1,i=content.length;i>=256;i>>=8)h++;(header=new o(2+h))[0]=n,header[1]=128|h;i=1+h;for(var l=content.length;l>0;i--,l>>=8)header[i]=255&l;return this._createEncoderBuffer([header,content])},d.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var r=new o(2*t.length),i=0;i=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}var n=0;for(i=0;i=128;h>>=7)n++}var c=new o(n),l=c.length-1;for(i=t.length-1;i>=0;i--){h=t[i];for(c[l--]=127&h;(h>>=7)>0;)c[l--]=128|127&h}return this._createEncoderBuffer(c)},d.prototype._encodeTime=function(time,t){var e,r=new Date(time);return"gentime"===t?e=[f(r.getFullYear()),f(r.getUTCMonth()+1),f(r.getUTCDate()),f(r.getUTCHours()),f(r.getUTCMinutes()),f(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?e=[f(r.getFullYear()%100),f(r.getUTCMonth()+1),f(r.getUTCDate()),f(r.getUTCHours()),f(r.getUTCMinutes()),f(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(e,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!o.isBuffer(t)){var r=t.toArray();!t.sign&&128&r[0]&&r.unshift(0),t=new o(r)}if(o.isBuffer(t)){var n=t.length;0===t.length&&n++;var h=new o(n);return t.copy(h),0===t.length&&(h[0]=0),this._createEncoderBuffer(h)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);n=1;for(var i=t;i>=256;i>>=8)n++;for(i=(h=new Array(n)).length-1;i>=0;i--)h[i]=255&t,t>>=8;return 128&h[0]&&h.unshift(0),this._createEncoderBuffer(new o(h))},d.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},d.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},d.prototype._skipDefault=function(t,e,r){var i,n=this._baseState;if(null===n.default)return!1;var data=t.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,e,r).join()),data.length!==n.defaultBuffer.length)return!1;for(i=0;i0)if("string"==typeof e||c.objectMode||Object.getPrototypeOf(e)===l.prototype||(e=function(t){return l.from(t)}(e)),n)c.endEmitted?E(t,new x):P(t,c,e,!0);else if(c.ended)E(t,new L);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!r?(e=c.decoder.write(e),c.objectMode||0!==e.length?P(t,c,e,!1):B(t,c)):P(t,c,e,!1)}else n||(c.reading=!1,B(t,c));return!c.ended&&(c.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=R?t=R:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function I(t){var e=t._readableState;f("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(N,t))}function N(t){var e=t._readableState;f("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,$(t)}function B(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(H,t,e))}function H(t,e){for(;!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function U(t){f("readable nexttick read 0"),t.read(0)}function z(t,e){f("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),$(t),e.flowing&&!e.reading&&t.read(0)}function $(t){var e=t._readableState;for(f("flow",e.flowing);e.flowing&&null!==t.read(););}function W(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function G(t){var e=t._readableState;f("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(V,e,t))}function V(t,e){if(f("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function Z(t,e){for(var i=0,r=t.length;i=e.highWaterMark:e.length>0)||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?G(this):I(this),null;if(0===(t=j(t,e))&&e.ended)return 0===e.length&&G(this),null;var n,o=e.needReadable;return f("need readable",o),(0===e.length||e.length-t0?W(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&G(this)),null!==n&&this.emit("data",n),n},C.prototype._read=function(t){E(this,new T("_read()"))},C.prototype.pipe=function(t,e){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,e);var c=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?d:A;function l(e,n){f("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,f("cleanup"),t.removeListener("close",w),t.removeListener("finish",M),t.removeListener("drain",m),t.removeListener("error",v),t.removeListener("unpipe",l),r.removeListener("end",d),r.removeListener("end",A),r.removeListener("data",_),y=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||m())}function d(){f("onend"),t.end()}o.endEmitted?n.nextTick(c):r.once("end",c),t.on("unpipe",l);var m=function(t){return function(){var e=t._readableState;f("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&h(t,"data")&&(e.flowing=!0,$(t))}}(r);t.on("drain",m);var y=!1;function _(e){f("ondata");var n=t.write(e);f("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==Z(o.pipes,t))&&!y&&(f("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function v(e){f("onerror",e),A(),t.removeListener("error",v),0===h(t,"error")&&E(t,e)}function w(){t.removeListener("finish",M),A()}function M(){f("onfinish"),t.removeListener("close",w),A()}function A(){f("unpipe"),r.unpipe(t)}return r.on("data",_),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",v),t.once("close",w),t.once("finish",M),t.emit("pipe",r),o.flowing||(f("pipe resume"),r.resume()),t},C.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===t&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,f("on readable",o.length,o.reading),o.length?I(this):o.reading||n.nextTick(U,this))),r},C.prototype.addListener=C.prototype.on,C.prototype.removeListener=function(t,e){var r=c.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(F,this),r},C.prototype.removeAllListeners=function(t){var e=c.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(F,this),e},C.prototype.resume=function(){var t=this._readableState;return t.flowing||(f("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(z,t,e))}(this,t)),t.paused=!1,this},C.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},C.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",function(){if(f("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(o){(f("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))}),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(C.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(C.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),C.prototype._write=function(t,e,r){r(new M("_write()"))},C.prototype._writev=null,C.prototype.end=function(t,e,r){var o=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||function(t,e,r){e.ending=!0,N(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,o,r),this},Object.defineProperty(C.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),C.prototype.destroy=y.destroy,C.prototype._undestroy=y.undestroy,C.prototype._destroy=function(t,e){e(t)}}).call(this,r(27),r(24))},function(t,e,r){"use strict";t.exports=m;var n=r(95).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,h=n.ERR_MULTIPLE_CALLBACK,c=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=n.ERR_TRANSFORM_WITH_LENGTH_0,d=r(96);function f(t,data){var e=this._transformState;e.transforming=!1;var r=e.writecb;if(null===r)return this.emit("error",new h);e.writechunk=null,e.writecb=null,null!=data&&this.push(data),r(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length(()=>{"use strict";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},e={};t.d(e,{default:()=>m});const r="undefined"!=typeof window?window.HTMLElement:Object,n={mounted(){this.enforceFocus&&document.addEventListener("focusin",this.focusIn)},methods:{focusIn(t){if(!this.isActive)return;if(t.target===this.$el||this.$el.contains(t.target))return;let e=this.container?this.container:this.isFullPage?null:this.$el.parentElement;(this.isFullPage||e&&e.contains(t.target))&&(t.preventDefault(),this.$el.focus())}},beforeDestroy(){document.removeEventListener("focusin",this.focusIn)}};function o(t,e,r,n,o,h,c,l){var d,f="function"==typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=r,f._compiled=!0),n&&(f.functional=!0),h&&(f._scopeId="data-v-"+h),c?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},f._ssrRegister=d):o&&(d=l?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),d)if(f.functional){f._injectStyles=d;var m=f.render;f.render=function(t,e){return d.call(e),m(t,e)}}else{var y=f.beforeCreate;f.beforeCreate=y?[].concat(y,d):[d]}return{exports:t,options:f}}const h={Spinner:o({name:"spinner",props:{color:{type:String,default:"#000"},height:{type:Number,default:64},width:{type:Number,default:64}}},function(){var t=this,e=t._self._c;return e("svg",{attrs:{viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,stroke:t.color}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[e("g",{attrs:{transform:"translate(1 1)","stroke-width":"2"}},[e("circle",{attrs:{"stroke-opacity":".25",cx:"18",cy:"18",r:"18"}}),e("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[e("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.8s",repeatCount:"indefinite"}})],1)])])])},[],!1,null,null,null).exports,Dots:o({name:"dots",props:{color:{type:String,default:"#000"},height:{type:Number,default:240},width:{type:Number,default:60}}},function(){var t=this,e=t._self._c;return e("svg",{attrs:{viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:t.color,width:t.width,height:t.height}},[e("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":"0.3"}},[e("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),e("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[e("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])},[],!1,null,null,null).exports,Bars:o({name:"bars",props:{color:{type:String,default:"#000"},height:{type:Number,default:40},width:{type:Number,default:40}}},function(){var t=this,e=t._self._c;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",height:t.height,width:t.width,fill:t.color}},[e("rect",{attrs:{x:"0",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"10",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:"0.6s",repeatCount:"indefinite"}})]),e("rect",{attrs:{x:"20",y:"13",width:"4",height:"5"}},[e("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}}),e("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:"0.6s",repeatCount:"indefinite"}})])])},[],!1,null,null,null).exports},c={name:"vue-loading",mixins:[n],props:{active:Boolean,programmatic:Boolean,container:[Object,Function,r],isFullPage:{type:Boolean,default:!0},enforceFocus:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!1},transition:{type:String,default:"fade"},canCancel:Boolean,onCancel:{type:Function,default:()=>{}},color:String,backgroundColor:String,blur:{type:String,default:"2px"},opacity:Number,width:Number,height:Number,zIndex:Number,loader:{type:String,default:"spinner"}},data(){return{isActive:this.active}},components:h,beforeMount(){this.programmatic&&(this.container?(this.isFullPage=!1,this.container.appendChild(this.$el)):document.body.appendChild(this.$el))},mounted(){this.programmatic&&(this.isActive=!0),document.addEventListener("keyup",this.keyPress)},methods:{cancel(){this.canCancel&&this.isActive&&(this.hide(),this.onCancel.apply(null,arguments))},hide(){this.$emit("hide"),this.$emit("update:active",!1),this.programmatic&&(this.isActive=!1,setTimeout(()=>{var t;this.$destroy(),void 0!==(t=this.$el).remove?t.remove():t.parentNode.removeChild(t)},150))},disableScroll(){this.isFullPage&&this.lockScroll&&document.body.classList.add("vld-shown")},enableScroll(){this.isFullPage&&this.lockScroll&&document.body.classList.remove("vld-shown")},keyPress(t){27===t.keyCode&&this.cancel()}},watch:{active(t){this.isActive=t},isActive(t){t?this.disableScroll():this.enableScroll()}},computed:{bgStyle(){return{background:this.backgroundColor,opacity:this.opacity,backdropFilter:`blur(${this.blur})`}}},beforeDestroy(){document.removeEventListener("keyup",this.keyPress)}};var l=o(c,function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:t.transition}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"vld-overlay is-active",class:{"is-full-page":t.isFullPage},style:{zIndex:t.zIndex},attrs:{tabindex:"0","aria-busy":t.isActive,"aria-label":"Loading"}},[e("div",{staticClass:"vld-background",style:t.bgStyle,on:{click:function(e){return e.preventDefault(),t.cancel.apply(null,arguments)}}}),e("div",{staticClass:"vld-icon"},[t._t("before"),t._t("default",function(){return[e(t.loader,{tag:"component",attrs:{color:t.color,width:t.width,height:t.height}})]}),t._t("after")],2)])])},[],!1,null,null,null);const d=l.exports,f=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{show(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;const h=Object.assign({},e,n,{programmatic:!0}),c=new(t.extend(d))({el:document.createElement("div"),propsData:h}),l=Object.assign({},r,o);return Object.keys(l).map(t=>{c.$slots[t]=l[t]}),c}}};d.install=function(t){let e=f(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});t.$loading=e,t.prototype.$loading=e};const m=d;return e=e.default})(),t.exports=n()},,,,,function(t,e,r){var n=r(97),o=r(98);t.exports=function(t,e){var r=o.pkcs1.makeScheme(t,e);return{encrypt:function(e,o){var h,c;return o?(h=new n(r.encPad(e,{type:1})),c=t.$doPrivate(h)):(h=new n(t.encryptionScheme.encPad(e)),c=t.$doPublic(h)),c.toBuffer(t.encryptedDataLength)},decrypt:function(e,o){var h,c=new n(e);return o?(h=t.$doPublic(c),r.encUnPad(h.toBuffer(t.encryptedDataLength),{type:1})):(h=t.$doPrivate(c),t.encryptionScheme.encUnPad(h.toBuffer(t.encryptedDataLength)))}}}},function(t,e,r){"use strict";(function(e){var n=r(894)();function o(a,b){if(a===b)return 0;for(var t=a.length,e=b.length,i=0,r=Math.min(t,e);i=0;i--)if(h[i]!==l[i])return!1;for(i=h.length-1;i>=0;i--)if(!L(a[o=h[i]],b[o],t,e))return!1;return!0}(t,e,r,n))}return r?t===e:t==e}function T(object){return"[object Arguments]"==Object.prototype.toString.call(object)}function x(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function E(t,e,r,n){var o;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=function(t){var e;try{t()}catch(t){e=t}return e}(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!o&&S(o,r,"Missing expected exception"+n);var h="string"==typeof n,l=!t&&o&&!r;if((!t&&c.isError(o)&&h&&x(o,r)||l)&&S(o,r,"Got unwanted exception"+n),t&&o&&r&&!x(o,r)||!t&&o)throw o}_.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return M(A(t.actual),128)+" "+t.operator+" "+M(A(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||S;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var n=r.stack,o=w(e),h=n.indexOf("\n"+o);if(h>=0){var c=n.indexOf("\n",h+1);n=n.substring(c+1)}this.stack=n}}},c.inherits(_.AssertionError,Error),_.fail=S,_.ok=k,_.equal=function(t,e,r){t!=e&&S(t,e,r,"==",_.equal)},_.notEqual=function(t,e,r){t==e&&S(t,e,r,"!=",_.notEqual)},_.deepEqual=function(t,e,r){L(t,e,!1)||S(t,e,r,"deepEqual",_.deepEqual)},_.deepStrictEqual=function(t,e,r){L(t,e,!0)||S(t,e,r,"deepStrictEqual",_.deepStrictEqual)},_.notDeepEqual=function(t,e,r){L(t,e,!1)&&S(t,e,r,"notDeepEqual",_.notDeepEqual)},_.notDeepStrictEqual=function t(e,r,n){L(e,r,!0)&&S(e,r,n,"notDeepStrictEqual",t)},_.strictEqual=function(t,e,r){t!==e&&S(t,e,r,"===",_.strictEqual)},_.notStrictEqual=function(t,e,r){t===e&&S(t,e,r,"!==",_.notStrictEqual)},_.throws=function(t,e,r){E(!0,t,e,r)},_.doesNotThrow=function(t,e,r){E(!1,t,e,r)},_.ifError=function(t){if(t)throw t},_.strict=n(function t(e,r){e||S(e,!0,r,"==",t)},_,{equal:_.strictEqual,deepEqual:_.deepStrictEqual,notEqual:_.notStrictEqual,notDeepEqual:_.notDeepStrictEqual}),_.strict.strict=_.strict;var D=Object.keys||function(t){var e=[];for(var r in t)l.call(t,r)&&e.push(r);return e}}).call(this,r(27))},function(t,e,r){"use strict";var n=Object.prototype.toString;t.exports=function(t){var e=n.call(t),r="[object Arguments]"===e;return r||(r="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===n.call(t.callee)),r}},function(t,e,r){"use strict";(function(e){var n,o=r(20),h=o.Buffer,c={};for(n in o)o.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(c[n]=o[n]);var l=c.Buffer={};for(n in h)h.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(l[n]=h[n]);if(c.Buffer.prototype=h.prototype,l.from&&l.from!==Uint8Array.from||(l.from=function(t,e,r){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return h(t,e,r)}),l.alloc||(l.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var n=h(t);return e&&0!==e.length?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n}),!c.kStringMaxLength)try{c.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(t){}c.constants||(c.constants={MAX_LENGTH:c.kMaxLength},c.kStringMaxLength&&(c.constants.MAX_STRING_LENGTH=c.kStringMaxLength)),t.exports=c}).call(this,r(24))},function(t,e,r){(function(e){var n=r(33),o="aes-256-ctr",h={encrypt:function(t,r){if("string"!=typeof t||!t)throw new TypeError('Provided "key" must be a non-empty string');if("string"!=typeof r||!r)throw new TypeError('Provided "plaintext" must be a non-empty string');var h=n.createHash("sha256");h.update(t);var c=n.randomBytes(16),l=n.createCipheriv(o,h.digest(),c),d=l.update(new e(r));return e.concat([c,d,l.final()]).toString("base64")},decrypt:function(t,r){if("string"!=typeof t||!t)throw new TypeError('Provided "key" must be a non-empty string');if("string"!=typeof r||!r)throw new TypeError('Provided "encrypted" must be a non-empty string');var h=n.createHash("sha256");h.update(t);var input=new e(r,"base64");if(input.length<17)throw new TypeError('Provided "encrypted" must decrypt to a non-empty string');var c=input.slice(0,16),l=n.createDecipheriv(o,h.digest(),c),d=input.slice(16);return l.update(d)+l.final()}};function c(t){if("string"!=typeof t||!t)throw new TypeError('Provided "key" must be a non-empty string');Object.defineProperty(this,"key",{value:t})}c.prototype.encrypt=function(t){return h.encrypt(this.key,t)},c.prototype.decrypt=function(t){return h.decrypt(this.key,t)},h.createCipher=function(t){return new c(t)},t.exports=h}).call(this,r(20).Buffer)},function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o="~";function h(){}function c(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function l(t,e,r,n,h){if("function"!=typeof r)throw new TypeError("The listener must be a function");var l=new c(r,n||t,h),d=o?o+e:e;return t._events[d]?t._events[d].fn?t._events[d]=[t._events[d],l]:t._events[d].push(l):(t._events[d]=l,t._eventsCount++),t}function d(t,e){0===--t._eventsCount?t._events=new h:delete t._events[e]}function f(){this._events=new h,this._eventsCount=0}Object.create&&(h.prototype=Object.create(null),(new h).__proto__||(o=!1)),f.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(o?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},f.prototype.listeners=function(t){var e=o?o+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,n=r.length,h=new Array(n);i=20?"ste":"de")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},h=function(u){return function(t,e,r,h){var c=n(t),l=o[u][n(t)];return 2===c&&(l=l[e?0:1]),l.replace(/%d/i,t)}},c=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:c,monthsShort:c,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(input){return"م"===input},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:h("s"),ss:h("s"),m:h("m"),mm:h("m"),h:h("h"),hh:h("h"),d:h("d"),dd:h("d"),M:h("M"),MM:h("M"),y:h("y"),yy:h("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return r[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(r(4))},function(t,e,r){!function(t){"use strict";var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(u){return function(t,n,o,h){var c=e(t),l=r[u][e(t)];return 2===c&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-dz",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(input){return"م"===input},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:0,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},r=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(u){return function(t,e,o,h){var c=r(t),l=n[u][r(t)];return 2===c&&(l=l[e?0:1]),l.replace(/%d/i,t)}},h=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:h,monthsShort:h,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(input){return"م"===input},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(input){return"م"===input},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[٣٤٥٦٧٨٩٠]/g,function(t){return r[t]}).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,function(t){return r[t]}).split("").reverse().join("").replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(input){return"م"===input},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return r[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(input){return/^(gündüz|axşam)$/.test(input)},meridiem:function(t,e,r){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var a=t%10,b=t%100-a,r=t>=100?100:null;return t+(e[a]||e[b]||e[r])},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e){var r=t.split("_");return e%10==1&&e%100!=11?r[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?r[1]:r[2]}function r(t,r,n){return"m"===n?r?"хвіліна":"хвіліну":"h"===n?r?"гадзіна":"гадзіну":t+" "+e({ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:r?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n],+t)}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:r,mm:r,h:r,hh:r,d:"дзень",dd:r,M:"месяц",MM:r,y:"год",yy:r},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(input){return/^(дня|вечара)$/.test(input)},meridiem:function(t,e,r){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,r=t%100;return 0===t?t+"-ев":0===r?t+"-ен":r>10&&r<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,r){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};t.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e?t<4?t:t+12:"ভোর"===e||"সকাল"===e?t:"দুপুর"===e?t>=3?t:t+12:"বিকাল"===e||"সন্ধ্যা"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},r={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,r){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r){return t+" "+o({mm:"munutenn",MM:"miz",dd:"devezh"}[r],t)}function r(t){switch(n(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function n(t){return t>9?n(t%10):t}function o(text,t){return 2===t?h(text):text}function h(text){var t={m:"v",b:"v",d:"z"};return void 0===t[text.charAt(0)]?text:t[text.charAt(0)]+text.substring(1)}var c=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,d=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,f=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,m=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],y=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],_=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:_,fullWeekdaysParse:m,shortWeekdaysParse:y,minWeekdaysParse:_,monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:d,monthsShortStrictRegex:f,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:r},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,r){return t<12?"a.m.":"g.m."}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){if("m"===r)return e?"jedna minuta":n?"jednu minutu":"jedne minute"}function r(t,e,r){var n=t+" ";switch(r){case"ss":return n+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"mm":return n+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return"jedan sat";case"hh":return n+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return n+=1===t?"dan":"dana";case"MM":return n+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return n+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:r,m:e,mm:r,h:r,hh:r,d:"dan",dd:r,M:"mjesec",MM:r,y:"godinu",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var output=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(output="a"),t+output},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},r="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],o=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function h(t){return t>1&&t<5&&1!=~~(t/10)}function c(t,e,r,n){var o=t+" ";switch(r){case"s":return e||n?"pár sekund":"pár sekundami";case"ss":return e||n?o+(h(t)?"sekundy":"sekund"):o+"sekundami";case"m":return e?"minuta":n?"minutu":"minutou";case"mm":return e||n?o+(h(t)?"minuty":"minut"):o+"minutami";case"h":return e?"hodina":n?"hodinu":"hodinou";case"hh":return e||n?o+(h(t)?"hodiny":"hodin"):o+"hodinami";case"d":return e||n?"den":"dnem";case"dd":return e||n?o+(h(t)?"dny":"dní"):o+"dny";case"M":return e||n?"měsíc":"měsícem";case"MM":return e||n?o+(h(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return e||n?"rok":"rokem";case"yy":return e||n?o+(h(t)?"roky":"let"):o+"lety"}}t.defineLocale("cs",{months:e,monthsShort:r,monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(output){return output+(/сехет$/i.exec(output)?"рен":/ҫул$/i.exec(output)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var output="";return t>20?output=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(output=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+output},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?o[r][0]:o[r][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?o[r][0]:o[r][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?o[r][0]:o[r][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],r=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:r,weekdaysShort:r,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(input){return"މފ"===input},meridiem:function(t,e,r){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(input){return"undefined"!=typeof Function&&input instanceof Function||"[object Function]"===Object.prototype.toString.call(input)}t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,r){return t>11?r?"μμ":"ΜΜ":r?"πμ":"ΠΜ"},isPM:function(input){return"μ"===(input+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(t,r){var output=this._calendarEl[t],n=r&&r.hours();return e(output)&&(output=output.apply(r)),output.replace("{}",n%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(input){return"p"===input.charAt(0).toLowerCase()},meridiem:function(t,e,r){return t>11?r?"p.t.m.":"P.T.M.":r?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(r(4))},function(t,e,r){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(r(4))},function(t,e,r){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?o[r][2]?o[r][2]:o[r][1]:n?o[r][0]:o[r][1]}t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},r={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(input){return/بعد از ظهر/.test(input)},meridiem:function(t,e,r){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,function(t){return r[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function n(t,e,r,n){var h="";switch(r){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"ss":h=n?"sekunnin":"sekuntia";break;case"m":return n?"minuutin":"minuutti";case"mm":h=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":h=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":h=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":h=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":h=n?"vuoden":"vuotta"}return h=o(t,n)+" "+h}function o(t,n){return t<10?n?r[t]:e[t]:t}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,o=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:e,monthsShortStrictRegex:r,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],r=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],n=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],o=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],h=["Do","Lu","Má","Cé","Dé","A","Sa"];t.defineLocale("ga",{months:e,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:o,weekdaysMin:h,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],r=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],n=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],o=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],h=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];t.defineLocale("gd",{months:e,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:o,weekdaysMin:h,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" म्हयन्यानी",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return n?o[r][0]:o[r][1]}t.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){return"D"===e?t+"वेर":t},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return n?o[r][0]:o[r][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){return"D"===e?t+"er":t},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},r={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(input){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(input)},meridiem:function(t,e,r){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?r?'לפנה"צ':"לפני הצהריים":t<18?r?'אחה"צ':"אחרי הצהריים":"בערב"}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],o=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i];t.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:n,longMonthsParse:n,shortMonthsParse:o,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r){var n=t+" ";switch(r){case"ss":return n+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return n+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return n+=1===t?"dan":"dana";case"MM":return n+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return n+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function r(t,e,r,n){var o=t;switch(r){case"s":return n||e?"néhány másodperc":"néhány másodperce";case"ss":return o+(n||e)?" másodperc":" másodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return o+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" óra":" órája");case"hh":return o+(n||e?" óra":" órája");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return o+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" hónap":" hónapja");case"MM":return o+(n||e?" hónap":" hónapja");case"y":return"egy"+(n||e?" év":" éve");case"yy":return o+(n||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(input){return"u"===input.charAt(1).toLowerCase()},meridiem:function(t,e,r){return t<12?!0===r?"de":"DE":!0===r?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(input){return/^(ցերեկվա|երեկոյան)$/.test(input)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,r){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function r(t,r,n,o){var h=t+" ";switch(n){case"s":return r||o?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?h+(r||o?"sekúndur":"sekúndum"):h+"sekúnda";case"m":return r?"mínúta":"mínútu";case"mm":return e(t)?h+(r||o?"mínútur":"mínútum"):r?h+"mínúta":h+"mínútu";case"hh":return e(t)?h+(r||o?"klukkustundir":"klukkustundum"):h+"klukkustund";case"d":return r?"dagur":o?"dag":"degi";case"dd":return e(t)?r?h+"dagar":h+(o?"daga":"dögum"):r?h+"dagur":h+(o?"dag":"degi");case"M":return r?"mánuður":o?"mánuð":"mánuði";case"MM":return e(t)?r?h+"mánuðir":h+(o?"mánuði":"mánuðum"):r?h+"mánuður":h+(o?"mánuð":"mánuði");case"y":return r||o?"ár":"ári";case"yy":return e(t)?h+(r||o?"ár":"árum"):h+(r||o?"ár":"ári")}}t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:r,ss:r,m:r,mm:r,h:"klukkustund",hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(s){return(/^[0-9].+$/.test(s)?"tra":"in")+" "+s},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(input,t){return"元"===t[1]?1:parseInt(t[1]||input,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(input){return"午後"===input},meridiem:function(t,e,r){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()!==t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"y":return 1===t?"元年":t+"年";case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,r){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(s){return s.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,function(t,e,r){return"ი"===r?e+"ში":e+r+"ში"})},past:function(s){return/(წამი|წუთი|საათი|დღე|თვე)/.test(s)?s.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(s)?s.replace(/წელი$/,"წლის წინ"):s},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var a=t%10,b=t>=100?100:null;return t+(e[t]||e[a]||e[b])},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},r={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(input){return"ល្ងាច"===input},meridiem:function(t,e,r){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},r={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,r){return t<12?"오전":"오후"}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];t.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(input){return/ئێواره‌/.test(input)},meridiem:function(t,e,r){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return r[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o={s:["çend sanîye","çend sanîyeyan"],ss:[t+" sanîye",t+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[t+" deqîqe",t+" deqîqeyan"],h:["saetek","saetekê"],hh:[t+" saet",t+" saetan"],d:["rojek","rojekê"],dd:[t+" roj",t+" rojan"],w:["hefteyek","hefteyekê"],ww:[t+" hefte",t+" hefteyan"],M:["mehek","mehekê"],MM:[t+" meh",t+" mehan"],y:["salek","salekê"],yy:[t+" sal",t+" salan"]};return e?o[r][0]:o[r][1]}function r(t){var e=(t=""+t).substring(t.length-1),r=t.length>1?t.substring(t.length-2):"";return 12==r||13==r||"2"!=e&&"3"!=e&&"50"!=r&&"70"!=e&&"80"!=e?"ê":"yê"}t.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(t,e,r){return t<12?r?"bn":"BN":r?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,w:e,ww:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(t,e){var p=e.toLowerCase();return p.includes("w")||p.includes("m")?t+".":t+r(t)},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){var a=t%10,b=t>=100?100:null;return t+(e[t]||e[a]||e[b])},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?o[r][0]:o[r][1]}function r(t){return o(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t}function n(t){return o(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t}function o(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return o(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return o(t)}return o(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:r,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(input){return"ຕອນແລງ"===input},meridiem:function(t,e,r){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function r(t,e,r,n){return e?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"}function n(t,e,r,n){return e?h(r)[0]:n?h(r)[1]:h(r)[2]}function o(t){return t%10==0||t>10&&t<20}function h(t){return e[t].split("_")}function c(t,e,r,c){var l=t+" ";return 1===t?l+n(t,e,r[0],c):e?l+(o(t)?h(r)[1]:h(r)[0]):c?l+h(r)[1]:l+(o(t)?h(r)[1]:h(r)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:r,ss:c,m:n,mm:c,h:n,hh:c,d:n,dd:c,M:n,MM:c,y:n,yy:c},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function r(t,e,r){return r?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function n(t,n,o){return t+" "+r(e[o],t,n)}function o(t,n,o){return r(e[o],t,n)}function h(t,e){return e?"dažas sekundes":"dažām sekundēm"}t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:h,ss:n,m:o,mm:n,h:o,hh:n,d:o,dd:n,M:o,MM:n,y:o,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,r,n){var o=e.words[n];return 1===n.length?r?o[0]:o[1]:t+" "+e.correctGrammaticalCase(t,o)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,r=t%100;return 0===t?t+"-ев":0===r?t+"-ен":r>10&&r<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,r){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){switch(r){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(input){return"ҮХ"===input},meridiem:function(t,e,r){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(t,e,r,n){var output="";if(e)switch(r){case"s":output="काही सेकंद";break;case"ss":output="%d सेकंद";break;case"m":output="एक मिनिट";break;case"mm":output="%d मिनिटे";break;case"h":output="एक तास";break;case"hh":output="%d तास";break;case"d":output="एक दिवस";break;case"dd":output="%d दिवस";break;case"M":output="एक महिना";break;case"MM":output="%d महिने";break;case"y":output="एक वर्ष";break;case"yy":output="%d वर्षे"}else switch(r){case"s":output="काही सेकंदां";break;case"ss":output="%d सेकंदां";break;case"m":output="एका मिनिटा";break;case"mm":output="%d मिनिटां";break;case"h":output="एका तासा";break;case"hh":output="%d तासां";break;case"d":output="एका दिवसा";break;case"dd":output="%d दिवसां";break;case"M":output="एका महिन्या";break;case"MM":output="%d महिन्यां";break;case"y":output="एका वर्षा";break;case"yy":output="%d वर्षां"}return output.replace(/%d/i,t)}t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(t,e){return 12===t&&(t=0),"पहाटे"===e||"सकाळी"===e?t:"दुपारी"===e||"सायंकाळी"===e||"रात्री"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,r){return t>=0&&t<6?"पहाटे":t<12?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,r){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,r){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},r={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,r){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var output=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(output="a"),t+output},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},r={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function o(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function h(t,e,r){var n=t+" ";switch(r){case"ss":return n+(o(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return n+(o(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return n+(o(t)?"godziny":"godzin");case"ww":return n+(o(t)?"tygodnie":"tygodni");case"MM":return n+(o(t)?"miesiące":"miesięcy");case"yy":return n+(o(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,n){return t?/D MMMM/.test(n)?r[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:h,m:h,mm:h,h:h,hh:h,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:h,M:"miesiąc",MM:h,y:"rok",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r){var n=" ";return(t%100>=20||t>=100&&t%100==0)&&(n=" de "),t+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[r]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e){var r=t.split("_");return e%10==1&&e%100!=11?r[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?r[1]:r[2]}function r(t,r,n){return"m"===n?r?"минута":"минуту":t+" "+e({ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n],+t)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:r,m:r,mm:r,h:"час",hh:r,d:"день",dd:r,w:"неделя",ww:r,M:"месяц",MM:r,y:"год",yy:r},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(input){return/^(дня|вечера)$/.test(input)},meridiem:function(t,e,r){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],r=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(input){return"شام"===input},meridiem:function(t,e,r){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(input){return"ප.ව."===input||"පස් වරු"===input},meridiem:function(t,e,r){return t>11?r?"ප.ව.":"පස් වරු":r?"පෙ.ව.":"පෙර වරු"}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),r="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(t){return t>1&&t<5}function o(t,e,r,o){var h=t+" ";switch(r){case"s":return e||o?"pár sekúnd":"pár sekundami";case"ss":return e||o?h+(n(t)?"sekundy":"sekúnd"):h+"sekundami";case"m":return e?"minúta":o?"minútu":"minútou";case"mm":return e||o?h+(n(t)?"minúty":"minút"):h+"minútami";case"h":return e?"hodina":o?"hodinu":"hodinou";case"hh":return e||o?h+(n(t)?"hodiny":"hodín"):h+"hodinami";case"d":return e||o?"deň":"dňom";case"dd":return e||o?h+(n(t)?"dni":"dní"):h+"dňami";case"M":return e||o?"mesiac":"mesiacom";case"MM":return e||o?h+(n(t)?"mesiace":"mesiacov"):h+"mesiacmi";case"y":return e||o?"rok":"rokom";case"yy":return e||o?h+(n(t)?"roky":"rokov"):h+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:r,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o=t+" ";switch(r){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"ss":return o+=1===t?e?"sekundo":"sekundi":2===t?e||n?"sekundi":"sekundah":t<5?e||n?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return o+=1===t?e?"minuta":"minuto":2===t?e||n?"minuti":"minutama":t<5?e||n?"minute":"minutami":e||n?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return o+=1===t?e?"ura":"uro":2===t?e||n?"uri":"urama":t<5?e||n?"ure":"urami":e||n?"ur":"urami";case"d":return e||n?"en dan":"enim dnem";case"dd":return o+=1===t?e||n?"dan":"dnem":2===t?e||n?"dni":"dnevoma":e||n?"dni":"dnevi";case"M":return e||n?"en mesec":"enim mesecem";case"MM":return o+=1===t?e||n?"mesec":"mesecem":2===t?e||n?"meseca":"mesecema":t<5?e||n?"mesece":"meseci":e||n?"mesecev":"meseci";case"y":return e||n?"eno leto":"enim letom";case"yy":return o+=1===t?e||n?"leto":"letom":2===t?e||n?"leti":"letoma":t<5?e||n?"leta":"leti":e||n?"let":"leti"}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(input){return"M"===input.charAt(0)},meridiem:function(t,e,r){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10==1?e[0]:e[1]:e[2]},translate:function(t,r,n,o){var h,c=e.words[n];return 1===n.length?"y"===n&&r?"jedna godina":o||r?c[0]:c[1]:(h=e.correctGrammaticalCase(t,c),"yy"===n&&r&&"godinu"===h?t+" godina":t+" "+h)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10==1?e[0]:e[1]:e[2]},translate:function(t,r,n,o){var h,c=e.words[n];return 1===n.length?"y"===n&&r?"једна година":o||r?c[0]:c[1]:(h=e.correctGrammaticalCase(t,c),"yy"===n&&r&&"годину"===h?t+" година":t+" "+h)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,r){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?":e":1===b||2===b?":a":":e")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},r={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(t){return r[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,r){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e||"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};t.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){var a=t%10,b=t>=100?100:null;return t+(e[t]||e[a]||e[b])},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(input){return"หลังเที่ยง"===input},meridiem:function(t,e,r){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(t,r){switch(r){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var a=t%10,b=t%100-a,n=t>=100?100:null;return t+(e[a]||e[b]||e[n])}},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function r(output){var time=output;return time=-1!==output.indexOf("jaj")?time.slice(0,-3)+"leS":-1!==output.indexOf("jar")?time.slice(0,-3)+"waQ":-1!==output.indexOf("DIS")?time.slice(0,-3)+"nem":time+" pIq"}function n(output){var time=output;return time=-1!==output.indexOf("jaj")?time.slice(0,-3)+"Hu’":-1!==output.indexOf("jar")?time.slice(0,-3)+"wen":-1!==output.indexOf("DIS")?time.slice(0,-3)+"ben":time+" ret"}function o(t,e,r,n){var o=h(t);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}function h(t){var r=Math.floor(t%1e3/100),n=Math.floor(t%100/10),o=t%10,h="";return r>0&&(h+=e[r]+"vatlh"),n>0&&(h+=(""!==h?" ":"")+e[n]+"maH"),o>0&&(h+=(""!==h?" ":"")+e[o]),""===h?"pagh":h}t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:r,past:n,s:"puS lup",ss:o,m:"wa’ tup",mm:o,h:"wa’ rep",hh:o,d:"wa’ jaj",dd:o,M:"wa’ jar",MM:o,y:"wa’ DIS",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(t,e,r){return t<12?r?"öö":"ÖÖ":r?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(input){return"ös"===input||"ÖS"===input},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,r){switch(r){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var a=t%10,b=t%100-a,n=t>=100?100:null;return t+(e[a]||e[b]||e[n])}},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e,r,n){var o={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return n||e?o[r][0]:o[r][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(input){return"d'o"===input.toLowerCase()},meridiem:function(t,e,r){return t>11?r?"d'o":"D'O":r?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,r){var n=100*t+e;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";function e(t,e){var r=t.split("_");return e%10==1&&e%100!=11?r[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?r[1]:r[2]}function r(t,r,n){return"m"===n?r?"хвилина":"хвилину":"h"===n?r?"година":"годину":t+" "+e({ss:r?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:r?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:r?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n],+t)}function n(t,e){var r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?r.nominative.slice(1,7).concat(r.nominative.slice(0,1)):t?r[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:r.nominative}function o(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:n,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:o("[Сьогодні "),nextDay:o("[Завтра "),lastDay:o("[Вчора "),nextWeek:o("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return o("[Минулої] dddd [").call(this);case 1:case 2:case 4:return o("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:r,m:r,mm:r,h:"годину",hh:r,d:"день",dd:r,M:"місяць",MM:r,y:"рік",yy:r},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(input){return/^(дня|вечора)$/.test(input)},meridiem:function(t,e,r){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],r=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(input){return"شام"===input},meridiem:function(t,e,r){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(input){return/^ch$/i.test(input)},meridiem:function(t,e,r){return t<12?r?"sa":"SA":r?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var b=t%10;return t+(1==~~(t%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,r){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(t){return t.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(t){return this.week()!==t.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,r){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1200?"上午":1200===n?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,r){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(r(4))},function(t,e,r){!function(t){"use strict";t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,r){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(r(4))},,,,function(t,e,r){"use strict";function n(t,e){return e=e||{},new Promise(function(r,n){var s=new XMLHttpRequest,o=[],u={},a=function t(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:t,headers:{keys:function(){return o},entries:function(){return o.map(function(t){return[t,s.getResponseHeader(t)]})},get:function(t){return s.getResponseHeader(t)},has:function(t){return null!=s.getResponseHeader(t)}}}};for(var i in s.open(e.method||"get",t,!0),s.onload=function(){s.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(t,e){u[e]||o.push(u[e]=e)}),r(a())},s.onerror=n,s.withCredentials="include"==e.credentials,e.headers)s.setRequestHeader(i,e.headers[i]);s.send(e.body||null)})}r.d(e,"a",function(){return n})},function(t,e,r){var n=r(594),o=r(194),h=r(266),c=r(141)("socket.io-client");t.exports=e=d;var l=e.managers={};function d(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,o=n(t),source=o.source,d=o.id,path=o.path,f=l[d]&&path in l[d].nsps;return e.forceNew||e["force new connection"]||!1===e.multiplex||f?(c("ignoring socket cache for %s",source),r=h(source,e)):(l[d]||(c("new io instance for %s",source),l[d]=h(source,e)),r=l[d]),o.query&&!e.query&&(e.query=o.query),r.socket(o.path,e)}e.protocol=o.protocol,e.connect=d,e.Manager=r(266),e.Socket=r(272)},function(t,e,r){"use strict";var n=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function h(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function c(t,source,e){return t.concat(source).map(function(element){return h(element,e)})}function l(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(symbol){return Object.propertyIsEnumerable.call(t,symbol)}):[]}(t))}function d(object,t){try{return t in object}catch(t){return!1}}function f(t,source,e){var r={};return e.isMergeableObject(t)&&l(t).forEach(function(n){r[n]=h(t[n],e)}),l(source).forEach(function(n){(function(t,e){return d(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,n)||(d(t,n)&&e.isMergeableObject(source[n])?r[n]=function(t,e){if(!e.customMerge)return m;var r=e.customMerge(t);return"function"==typeof r?r:m}(n,e)(t[n],source[n],e):r[n]=h(source[n],e))}),r}function m(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||c,e.isMergeableObject=e.isMergeableObject||n,e.cloneUnlessOtherwiseSpecified=h;var r=Array.isArray(source);return r===Array.isArray(t)?r?e.arrayMerge(t,source,e):f(t,source,e):h(source,e)}m.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,r){return m(t,r,e)},{})};var y=m;t.exports=y},function(t,e,r){r(809),t.exports=ZingTouch},function(t,e,r){(function(e){var n=r(832).Writable,o=r(15),h=r(841);if("undefined"==typeof Uint8Array)var c=r(842).Uint8Array;else c=Uint8Array;function l(t,e){if(!(this instanceof l))return new l(t,e);"function"==typeof t&&(e=t,t={}),t||(t={});var r=t.encoding,o=!1;r?"u8"!==(r=String(r).toLowerCase())&&"uint8"!==r||(r="uint8array"):o=!0,n.call(this,{objectMode:!0}),this.encoding=r,this.shouldInferEncoding=o,e&&this.on("finish",function(){e(this.getBody())}),this.body=[]}t.exports=l,o(l,n),l.prototype._write=function(t,e,r){this.body.push(t),r()},l.prototype.inferEncoding=function(t){var r=void 0===t?this.body[0]:t;return e.isBuffer(r)?"buffer":"undefined"!=typeof Uint8Array&&r instanceof Uint8Array?"uint8array":Array.isArray(r)?"array":"string"==typeof r?"string":"[object Object]"===Object.prototype.toString.call(r)?"object":"buffer"},l.prototype.getBody=function(){return this.encoding||0!==this.body.length?(this.shouldInferEncoding&&(this.encoding=this.inferEncoding()),"array"===this.encoding?function(t){for(var e=[],i=0;i=14393&&-1===t.indexOf("?transport=udp"):(r=!0,!0)}),delete t.url,t.urls=o?n[0]:n,!!n.length}})}(r.iceServers||[],e),this._iceGatherers=[],r.iceCandidatePoolSize)for(var i=r.iceCandidatePoolSize;i>0;i--)this._iceGatherers.push(new t.RTCIceGatherer({iceServers:r.iceServers,gatherPolicy:r.iceTransportPolicy}));else r.iceCandidatePoolSize=0;this._config=r,this.transceivers=[],this._sdpSessionId=n.generateSessionId(),this._sdpSessionVersion=0,this._dtlsRole=void 0,this._isClosed=!1};Object.defineProperty(m.prototype,"localDescription",{configurable:!0,get:function(){return this._localDescription}}),Object.defineProperty(m.prototype,"remoteDescription",{configurable:!0,get:function(){return this._remoteDescription}}),m.prototype.onicecandidate=null,m.prototype.onaddstream=null,m.prototype.ontrack=null,m.prototype.onremovestream=null,m.prototype.onsignalingstatechange=null,m.prototype.oniceconnectionstatechange=null,m.prototype.onconnectionstatechange=null,m.prototype.onicegatheringstatechange=null,m.prototype.onnegotiationneeded=null,m.prototype.ondatachannel=null,m.prototype._dispatchEvent=function(t,e){this._isClosed||(this.dispatchEvent(e),"function"==typeof this["on"+t]&&this["on"+t](e))},m.prototype._emitGatheringStateChange=function(){var t=new Event("icegatheringstatechange");this._dispatchEvent("icegatheringstatechange",t)},m.prototype.getConfiguration=function(){return this._config},m.prototype.getLocalStreams=function(){return this.localStreams},m.prototype.getRemoteStreams=function(){return this.remoteStreams},m.prototype._createTransceiver=function(t,e){var r=this.transceivers.length>0,n={track:null,iceGatherer:null,iceTransport:null,dtlsTransport:null,localCapabilities:null,remoteCapabilities:null,rtpSender:null,rtpReceiver:null,kind:t,mid:null,sendEncodingParameters:null,recvEncodingParameters:null,stream:null,associatedRemoteMediaStreams:[],wantReceive:!0};if(this.usingBundle&&r)n.iceTransport=this.transceivers[0].iceTransport,n.dtlsTransport=this.transceivers[0].dtlsTransport;else{var o=this._createIceAndDtlsTransports();n.iceTransport=o.iceTransport,n.dtlsTransport=o.dtlsTransport}return e||this.transceivers.push(n),n},m.prototype.addTrack=function(track,e){if(this._isClosed)throw d("InvalidStateError","Attempted to call addTrack on a closed peerconnection.");var r;if(this.transceivers.find(function(s){return s.track===track}))throw d("InvalidAccessError","Track already exists.");for(var i=0;i=15025)t.getTracks().forEach(function(track){r.addTrack(track,t)});else{var n=t.clone();t.getTracks().forEach(function(track,t){var e=n.getTracks()[t];track.addEventListener("enabled",function(t){e.enabled=t.enabled})}),n.getTracks().forEach(function(track){r.addTrack(track,n)})}},m.prototype.removeTrack=function(e){if(this._isClosed)throw d("InvalidStateError","Attempted to call removeTrack on a closed peerconnection.");if(!(e instanceof t.RTCRtpSender))throw new TypeError("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.");var r=this.transceivers.find(function(t){return t.rtpSender===e});if(!r)throw d("InvalidAccessError","Sender was not created by this connection.");var n=r.stream;r.rtpSender.stop(),r.rtpSender=null,r.track=null,r.stream=null,-1===this.transceivers.map(function(t){return t.stream}).indexOf(n)&&this.localStreams.indexOf(n)>-1&&this.localStreams.splice(this.localStreams.indexOf(n),1),this._maybeFireNegotiationNeeded()},m.prototype.removeStream=function(t){var e=this;t.getTracks().forEach(function(track){var t=e.getSenders().find(function(s){return s.track===track});t&&e.removeTrack(t)})},m.prototype.getSenders=function(){return this.transceivers.filter(function(t){return!!t.rtpSender}).map(function(t){return t.rtpSender})},m.prototype.getReceivers=function(){return this.transceivers.filter(function(t){return!!t.rtpReceiver}).map(function(t){return t.rtpReceiver})},m.prototype._createIceGatherer=function(e,r){var n=this;if(r&&e>0)return this.transceivers[0].iceGatherer;if(this._iceGatherers.length)return this._iceGatherers.shift();var o=new t.RTCIceGatherer({iceServers:this._config.iceServers,gatherPolicy:this._config.iceTransportPolicy});return Object.defineProperty(o,"state",{value:"new",writable:!0}),this.transceivers[e].bufferedCandidateEvents=[],this.transceivers[e].bufferCandidates=function(t){var r=!t.candidate||0===Object.keys(t.candidate).length;o.state=r?"completed":"gathering",null!==n.transceivers[e].bufferedCandidateEvents&&n.transceivers[e].bufferedCandidateEvents.push(t)},o.addEventListener("localcandidate",this.transceivers[e].bufferCandidates),o},m.prototype._gather=function(e,r){var o=this,h=this.transceivers[r].iceGatherer;if(!h.onlocalcandidate){var c=this.transceivers[r].bufferedCandidateEvents;this.transceivers[r].bufferedCandidateEvents=null,h.removeEventListener("localcandidate",this.transceivers[r].bufferCandidates),h.onlocalcandidate=function(t){if(!(o.usingBundle&&r>0)){var c=new Event("icecandidate");c.candidate={sdpMid:e,sdpMLineIndex:r};var l=t.candidate,d=!l||0===Object.keys(l).length;if(d)"new"!==h.state&&"gathering"!==h.state||(h.state="completed");else{"new"===h.state&&(h.state="gathering"),l.component=1,l.ufrag=h.getLocalParameters().usernameFragment;var f=n.writeCandidate(l);c.candidate=Object.assign(c.candidate,n.parseCandidate(f)),c.candidate.candidate=f,c.candidate.toJSON=function(){return{candidate:c.candidate.candidate,sdpMid:c.candidate.sdpMid,sdpMLineIndex:c.candidate.sdpMLineIndex,usernameFragment:c.candidate.usernameFragment}}}var m=n.getMediaSections(o._localDescription.sdp);m[c.candidate.sdpMLineIndex]+=d?"a=end-of-candidates\r\n":"a="+c.candidate.candidate+"\r\n",o._localDescription.sdp=n.getDescription(o._localDescription.sdp)+m.join("");var y=o.transceivers.every(function(t){return t.iceGatherer&&"completed"===t.iceGatherer.state});"gathering"!==o.iceGatheringState&&(o.iceGatheringState="gathering",o._emitGatheringStateChange()),d||o._dispatchEvent("icecandidate",c),y&&(o._dispatchEvent("icecandidate",new Event("icecandidate")),o.iceGatheringState="complete",o._emitGatheringStateChange())}},t.setTimeout(function(){c.forEach(function(t){h.onlocalcandidate(t)})},0)}},m.prototype._createIceAndDtlsTransports=function(){var e=this,r=new t.RTCIceTransport(null);r.onicestatechange=function(){e._updateIceConnectionState(),e._updateConnectionState()};var n=new t.RTCDtlsTransport(r);return n.ondtlsstatechange=function(){e._updateConnectionState()},n.onerror=function(){Object.defineProperty(n,"state",{value:"failed",writable:!0}),e._updateConnectionState()},{iceTransport:r,dtlsTransport:n}},m.prototype._disposeIceAndDtlsTransports=function(t){var e=this.transceivers[t].iceGatherer;e&&(delete e.onlocalcandidate,delete this.transceivers[t].iceGatherer);var r=this.transceivers[t].iceTransport;r&&(delete r.onicestatechange,delete this.transceivers[t].iceTransport);var n=this.transceivers[t].dtlsTransport;n&&(delete n.ondtlsstatechange,delete n.onerror,delete this.transceivers[t].dtlsTransport)},m.prototype._transceive=function(t,r,o){var c=h(t.localCapabilities,t.remoteCapabilities);r&&t.rtpSender&&(c.encodings=t.sendEncodingParameters,c.rtcp={cname:n.localCName,compound:t.rtcpParameters.compound},t.recvEncodingParameters.length&&(c.rtcp.ssrc=t.recvEncodingParameters[0].ssrc),t.rtpSender.send(c)),o&&t.rtpReceiver&&c.codecs.length>0&&("video"===t.kind&&t.recvEncodingParameters&&e<15019&&t.recvEncodingParameters.forEach(function(p){delete p.rtx}),t.recvEncodingParameters.length?c.encodings=t.recvEncodingParameters:c.encodings=[{}],c.rtcp={compound:t.rtcpParameters.compound},t.rtcpParameters.cname&&(c.rtcp.cname=t.rtcpParameters.cname),t.sendEncodingParameters.length&&(c.rtcp.ssrc=t.sendEncodingParameters[0].ssrc),t.rtpReceiver.receive(c))},m.prototype.setLocalDescription=function(t){var e,r,o=this;if(-1===["offer","answer"].indexOf(t.type))return Promise.reject(d("TypeError",'Unsupported type "'+t.type+'"'));if(!c("setLocalDescription",t.type,o.signalingState)||o._isClosed)return Promise.reject(d("InvalidStateError","Can not set local "+t.type+" in state "+o.signalingState));if("offer"===t.type)e=n.splitSections(t.sdp),r=e.shift(),e.forEach(function(t,e){var r=n.parseRtpParameters(t);o.transceivers[e].localCapabilities=r}),o.transceivers.forEach(function(t,e){o._gather(t.mid,e)});else if("answer"===t.type){e=n.splitSections(o._remoteDescription.sdp),r=e.shift();var l=n.matchPrefix(r,"a=ice-lite").length>0;e.forEach(function(t,e){var c=o.transceivers[e],d=c.iceGatherer,f=c.iceTransport,m=c.dtlsTransport,y=c.localCapabilities,_=c.remoteCapabilities;if(!(n.isRejected(t)&&0===n.matchPrefix(t,"a=bundle-only").length)&&!c.rejected){var v=n.getIceParameters(t,r),w=n.getDtlsParameters(t,r);l&&(w.role="server"),o.usingBundle&&0!==e||(o._gather(c.mid,e),"new"===f.state&&f.start(d,v,l?"controlling":"controlled"),"new"===m.state&&m.start(w));var M=h(y,_);o._transceive(c,M.codecs.length>0,!1)}})}return o._localDescription={type:t.type,sdp:t.sdp},"offer"===t.type?o._updateSignalingState("have-local-offer"):o._updateSignalingState("stable"),Promise.resolve()},m.prototype.setRemoteDescription=function(o){var m=this;if(-1===["offer","answer"].indexOf(o.type))return Promise.reject(d("TypeError",'Unsupported type "'+o.type+'"'));if(!c("setRemoteDescription",o.type,m.signalingState)||m._isClosed)return Promise.reject(d("InvalidStateError","Can not set remote "+o.type+" in state "+m.signalingState));var y={};m.remoteStreams.forEach(function(t){y[t.id]=t});var _=[],v=n.splitSections(o.sdp),w=v.shift(),M=n.matchPrefix(w,"a=ice-lite").length>0,A=n.matchPrefix(w,"a=group:BUNDLE ").length>0;m.usingBundle=A;var S=n.matchPrefix(w,"a=ice-options:")[0];return m.canTrickleIceCandidates=!!S&&S.substr(14).split(" ").indexOf("trickle")>=0,v.forEach(function(c,d){var f=n.splitLines(c),v=n.getKind(c),S=n.isRejected(c)&&0===n.matchPrefix(c,"a=bundle-only").length,k=f[0].substr(2).split(" ")[2],L=n.getDirection(c,w),T=n.parseMsid(c),x=n.getMid(c)||n.generateIdentifier();if(S||"application"===v&&("DTLS/SCTP"===k||"UDP/DTLS/SCTP"===k))m.transceivers[d]={mid:x,kind:v,protocol:k,rejected:!0};else{var E,D,Y,C,O,P,R,j,track;!S&&m.transceivers[d]&&m.transceivers[d].rejected&&(m.transceivers[d]=m._createTransceiver(v,!0));var I,N,B=n.parseRtpParameters(c);S||(I=n.getIceParameters(c,w),(N=n.getDtlsParameters(c,w)).role="client"),R=n.parseRtpEncodingParameters(c);var H=n.parseRtcpParameters(c),F=n.matchPrefix(c,"a=end-of-candidates",w).length>0,U=n.matchPrefix(c,"a=candidate:").map(function(t){return n.parseCandidate(t)}).filter(function(t){return 1===t.component});if(("offer"===o.type||"answer"===o.type)&&!S&&A&&d>0&&m.transceivers[d]&&(m._disposeIceAndDtlsTransports(d),m.transceivers[d].iceGatherer=m.transceivers[0].iceGatherer,m.transceivers[d].iceTransport=m.transceivers[0].iceTransport,m.transceivers[d].dtlsTransport=m.transceivers[0].dtlsTransport,m.transceivers[d].rtpSender&&m.transceivers[d].rtpSender.setTransport(m.transceivers[0].dtlsTransport),m.transceivers[d].rtpReceiver&&m.transceivers[d].rtpReceiver.setTransport(m.transceivers[0].dtlsTransport)),"offer"!==o.type||S){if("answer"===o.type&&!S){D=(E=m.transceivers[d]).iceGatherer,Y=E.iceTransport,C=E.dtlsTransport,O=E.rtpReceiver,P=E.sendEncodingParameters,j=E.localCapabilities,m.transceivers[d].recvEncodingParameters=R,m.transceivers[d].remoteCapabilities=B,m.transceivers[d].rtcpParameters=H,U.length&&"new"===Y.state&&(!M&&!F||A&&0!==d?U.forEach(function(t){l(E.iceTransport,t)}):Y.setRemoteCandidates(U)),A&&0!==d||("new"===Y.state&&Y.start(D,I,"controlling"),"new"===C.state&&C.start(N)),!h(E.localCapabilities,E.remoteCapabilities).codecs.filter(function(t){return"rtx"===t.name.toLowerCase()}).length&&E.sendEncodingParameters[0].rtx&&delete E.sendEncodingParameters[0].rtx,m._transceive(E,"sendrecv"===L||"recvonly"===L,"sendrecv"===L||"sendonly"===L),!O||"sendrecv"!==L&&"sendonly"!==L?delete E.rtpReceiver:(track=O.track,T?(y[T.stream]||(y[T.stream]=new t.MediaStream),r(track,y[T.stream]),_.push([track,O,y[T.stream]])):(y.default||(y.default=new t.MediaStream),r(track,y.default),_.push([track,O,y.default])))}}else{(E=m.transceivers[d]||m._createTransceiver(v)).mid=x,E.iceGatherer||(E.iceGatherer=m._createIceGatherer(d,A)),U.length&&"new"===E.iceTransport.state&&(!F||A&&0!==d?U.forEach(function(t){l(E.iceTransport,t)}):E.iceTransport.setRemoteCandidates(U)),j=t.RTCRtpReceiver.getCapabilities(v),e<15019&&(j.codecs=j.codecs.filter(function(t){return"rtx"!==t.name})),P=E.sendEncodingParameters||[{ssrc:1001*(2*d+2)}];var z,$=!1;if("sendrecv"===L||"sendonly"===L){if($=!E.rtpReceiver,O=E.rtpReceiver||new t.RTCRtpReceiver(E.dtlsTransport,v),$)track=O.track,T&&"-"===T.stream||(T?(y[T.stream]||(y[T.stream]=new t.MediaStream,Object.defineProperty(y[T.stream],"id",{get:function(){return T.stream}})),Object.defineProperty(track,"id",{get:function(){return T.track}}),z=y[T.stream]):(y.default||(y.default=new t.MediaStream),z=y.default)),z&&(r(track,z),E.associatedRemoteMediaStreams.push(z)),_.push([track,O,z])}else E.rtpReceiver&&E.rtpReceiver.track&&(E.associatedRemoteMediaStreams.forEach(function(s){var e=s.getTracks().find(function(t){return t.id===E.rtpReceiver.track.id});e&&function(track,e){e.removeTrack(track),e.dispatchEvent(new t.MediaStreamTrackEvent("removetrack",{track:track}))}(e,s)}),E.associatedRemoteMediaStreams=[]);E.localCapabilities=j,E.remoteCapabilities=B,E.rtpReceiver=O,E.rtcpParameters=H,E.sendEncodingParameters=P,E.recvEncodingParameters=R,m._transceive(m.transceivers[d],!1,$)}}}),void 0===m._dtlsRole&&(m._dtlsRole="offer"===o.type?"active":"passive"),m._remoteDescription={type:o.type,sdp:o.sdp},"offer"===o.type?m._updateSignalingState("have-remote-offer"):m._updateSignalingState("stable"),Object.keys(y).forEach(function(e){var r=y[e];if(r.getTracks().length){if(-1===m.remoteStreams.indexOf(r)){m.remoteStreams.push(r);var n=new Event("addstream");n.stream=r,t.setTimeout(function(){m._dispatchEvent("addstream",n)})}_.forEach(function(t){var track=t[0],e=t[1];r.id===t[2].id&&f(m,track,e,[r])})}}),_.forEach(function(t){t[2]||f(m,t[0],t[1],[])}),t.setTimeout(function(){m&&m.transceivers&&m.transceivers.forEach(function(t){t.iceTransport&&"new"===t.iceTransport.state&&t.iceTransport.getRemoteCandidates().length>0&&(console.warn("Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification"),t.iceTransport.addRemoteCandidate({}))})},4e3),Promise.resolve()},m.prototype.close=function(){this.transceivers.forEach(function(t){t.iceTransport&&t.iceTransport.stop(),t.dtlsTransport&&t.dtlsTransport.stop(),t.rtpSender&&t.rtpSender.stop(),t.rtpReceiver&&t.rtpReceiver.stop()}),this._isClosed=!0,this._updateSignalingState("closed")},m.prototype._updateSignalingState=function(t){this.signalingState=t;var e=new Event("signalingstatechange");this._dispatchEvent("signalingstatechange",e)},m.prototype._maybeFireNegotiationNeeded=function(){var e=this;"stable"===this.signalingState&&!0!==this.needNegotiation&&(this.needNegotiation=!0,t.setTimeout(function(){if(e.needNegotiation){e.needNegotiation=!1;var t=new Event("negotiationneeded");e._dispatchEvent("negotiationneeded",t)}},0))},m.prototype._updateIceConnectionState=function(){var t,e={new:0,closed:0,checking:0,connected:0,completed:0,disconnected:0,failed:0};if(this.transceivers.forEach(function(t){t.iceTransport&&!t.rejected&&e[t.iceTransport.state]++}),t="new",e.failed>0?t="failed":e.checking>0?t="checking":e.disconnected>0?t="disconnected":e.new>0?t="new":e.connected>0?t="connected":e.completed>0&&(t="completed"),t!==this.iceConnectionState){this.iceConnectionState=t;var r=new Event("iceconnectionstatechange");this._dispatchEvent("iceconnectionstatechange",r)}},m.prototype._updateConnectionState=function(){var t,e={new:0,closed:0,connecting:0,connected:0,completed:0,disconnected:0,failed:0};if(this.transceivers.forEach(function(t){t.iceTransport&&t.dtlsTransport&&!t.rejected&&(e[t.iceTransport.state]++,e[t.dtlsTransport.state]++)}),e.connected+=e.completed,t="new",e.failed>0?t="failed":e.connecting>0?t="connecting":e.disconnected>0?t="disconnected":e.new>0?t="new":e.connected>0&&(t="connected"),t!==this.connectionState){this.connectionState=t;var r=new Event("connectionstatechange");this._dispatchEvent("connectionstatechange",r)}},m.prototype.createOffer=function(){var r=this;if(r._isClosed)return Promise.reject(d("InvalidStateError","Can not call createOffer after close"));var h=r.transceivers.filter(function(t){return"audio"===t.kind}).length,c=r.transceivers.filter(function(t){return"video"===t.kind}).length,l=arguments[0];if(l){if(l.mandatory||l.optional)throw new TypeError("Legacy mandatory/optional constraints not supported.");void 0!==l.offerToReceiveAudio&&(h=!0===l.offerToReceiveAudio?1:!1===l.offerToReceiveAudio?0:l.offerToReceiveAudio),void 0!==l.offerToReceiveVideo&&(c=!0===l.offerToReceiveVideo?1:!1===l.offerToReceiveVideo?0:l.offerToReceiveVideo)}for(r.transceivers.forEach(function(t){"audio"===t.kind?--h<0&&(t.wantReceive=!1):"video"===t.kind&&--c<0&&(t.wantReceive=!1)});h>0||c>0;)h>0&&(r._createTransceiver("audio"),h--),c>0&&(r._createTransceiver("video"),c--);var f=n.writeSessionBoilerplate(r._sdpSessionId,r._sdpSessionVersion++);r.transceivers.forEach(function(o,h){var track=o.track,c=o.kind,l=o.mid||n.generateIdentifier();o.mid=l,o.iceGatherer||(o.iceGatherer=r._createIceGatherer(h,r.usingBundle));var d=t.RTCRtpSender.getCapabilities(c);e<15019&&(d.codecs=d.codecs.filter(function(t){return"rtx"!==t.name})),d.codecs.forEach(function(t){"H264"===t.name&&void 0===t.parameters["level-asymmetry-allowed"]&&(t.parameters["level-asymmetry-allowed"]="1"),o.remoteCapabilities&&o.remoteCapabilities.codecs&&o.remoteCapabilities.codecs.forEach(function(e){t.name.toLowerCase()===e.name.toLowerCase()&&t.clockRate===e.clockRate&&(t.preferredPayloadType=e.payloadType)})}),d.headerExtensions.forEach(function(t){(o.remoteCapabilities&&o.remoteCapabilities.headerExtensions||[]).forEach(function(e){t.uri===e.uri&&(t.id=e.id)})});var f=o.sendEncodingParameters||[{ssrc:1001*(2*h+1)}];track&&e>=15019&&"video"===c&&!f[0].rtx&&(f[0].rtx={ssrc:f[0].ssrc+1}),o.wantReceive&&(o.rtpReceiver=new t.RTCRtpReceiver(o.dtlsTransport,c)),o.localCapabilities=d,o.sendEncodingParameters=f}),"max-compat"!==r._config.bundlePolicy&&(f+="a=group:BUNDLE "+r.transceivers.map(function(t){return t.mid}).join(" ")+"\r\n"),f+="a=ice-options:trickle\r\n",r.transceivers.forEach(function(t,e){f+=o(t,t.localCapabilities,"offer",t.stream,r._dtlsRole),f+="a=rtcp-rsize\r\n",!t.iceGatherer||"new"===r.iceGatheringState||0!==e&&r.usingBundle||(t.iceGatherer.getLocalCandidates().forEach(function(t){t.component=1,f+="a="+n.writeCandidate(t)+"\r\n"}),"completed"===t.iceGatherer.state&&(f+="a=end-of-candidates\r\n"))});var desc=new t.RTCSessionDescription({type:"offer",sdp:f});return Promise.resolve(desc)},m.prototype.createAnswer=function(){var r=this;if(r._isClosed)return Promise.reject(d("InvalidStateError","Can not call createAnswer after close"));if("have-remote-offer"!==r.signalingState&&"have-local-pranswer"!==r.signalingState)return Promise.reject(d("InvalidStateError","Can not call createAnswer in signalingState "+r.signalingState));var c=n.writeSessionBoilerplate(r._sdpSessionId,r._sdpSessionVersion++);r.usingBundle&&(c+="a=group:BUNDLE "+r.transceivers.map(function(t){return t.mid}).join(" ")+"\r\n"),c+="a=ice-options:trickle\r\n";var l=n.getMediaSections(r._remoteDescription.sdp).length;r.transceivers.forEach(function(t,n){if(!(n+1>l)){if(t.rejected)return"application"===t.kind?"DTLS/SCTP"===t.protocol?c+="m=application 0 DTLS/SCTP 5000\r\n":c+="m=application 0 "+t.protocol+" webrtc-datachannel\r\n":"audio"===t.kind?c+="m=audio 0 UDP/TLS/RTP/SAVPF 0\r\na=rtpmap:0 PCMU/8000\r\n":"video"===t.kind&&(c+="m=video 0 UDP/TLS/RTP/SAVPF 120\r\na=rtpmap:120 VP8/90000\r\n"),void(c+="c=IN IP4 0.0.0.0\r\na=inactive\r\na=mid:"+t.mid+"\r\n");var d;if(t.stream)"audio"===t.kind?d=t.stream.getAudioTracks()[0]:"video"===t.kind&&(d=t.stream.getVideoTracks()[0]),d&&e>=15019&&"video"===t.kind&&!t.sendEncodingParameters[0].rtx&&(t.sendEncodingParameters[0].rtx={ssrc:t.sendEncodingParameters[0].ssrc+1});var f=h(t.localCapabilities,t.remoteCapabilities);!f.codecs.filter(function(t){return"rtx"===t.name.toLowerCase()}).length&&t.sendEncodingParameters[0].rtx&&delete t.sendEncodingParameters[0].rtx,c+=o(t,f,"answer",t.stream,r._dtlsRole),t.rtcpParameters&&t.rtcpParameters.reducedSize&&(c+="a=rtcp-rsize\r\n")}});var desc=new t.RTCSessionDescription({type:"answer",sdp:c});return Promise.resolve(desc)},m.prototype.addIceCandidate=function(t){var e,r=this;return t&&void 0===t.sdpMLineIndex&&!t.sdpMid?Promise.reject(new TypeError("sdpMLineIndex or sdpMid required")):new Promise(function(o,h){if(!r._remoteDescription)return h(d("InvalidStateError","Can not add ICE candidate without a remote description"));if(t&&""!==t.candidate){var c=t.sdpMLineIndex;if(t.sdpMid)for(var i=0;i0?n.parseCandidate(t.candidate):{};if("tcp"===m.protocol&&(0===m.port||9===m.port))return o();if(m.component&&1!==m.component)return o();if((0===c||c>0&&f.iceTransport!==r.transceivers[0].iceTransport)&&!l(f.iceTransport,m))return h(d("OperationError","Can not add ICE candidate"));var y=t.candidate.trim();0===y.indexOf("a=")&&(y=y.substr(2)),(e=n.getMediaSections(r._remoteDescription.sdp))[c]+="a="+(m.type?y:"end-of-candidates")+"\r\n",r._remoteDescription.sdp=n.getDescription(r._remoteDescription.sdp)+e.join("")}else for(var _=0;_{this.noSleepVideo.duration<=1?this.noSleepVideo.setAttribute("loop",""):this.noSleepVideo.addEventListener("timeupdate",()=>{this.noSleepVideo.currentTime>.5&&(this.noSleepVideo.currentTime=Math.random())})}))}_addSourceToVideo(element,t,e){var source=document.createElement("source");source.src=e,source.type=`video/${t}`,element.appendChild(source)}enable(){h?(this.disable(),console.warn("\n NoSleep enabled for older iOS devices. This can interrupt\n active or long-running network requests from completing successfully.\n See https://github.com/richtr/NoSleep.js/issues/15 for more details.\n "),this.noSleepTimer=window.setInterval(()=>{document.hidden||(window.location.href=window.location.href.split("#")[0],window.setTimeout(window.stop,0))},15e3)):this.noSleepVideo.play()}disable(){h?this.noSleepTimer&&(console.warn("\n NoSleep now disabled for older iOS devices.\n "),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause()}}},function(t){t.exports=JSON.parse('{"title":"","meta":[{"hid":"charset","charset":"utf-8"},{"hid":"viewport","name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui"},{"hid":"mobile-web-app-capable","name":"mobile-web-app-capable","content":"yes"},{"hid":"apple-mobile-web-app-capable","name":"apple-mobile-web-app-capable","content":"yes"},{"hid":"apple-mobile-web-app-status-bar-style","name":"apple-mobile-web-app-status-bar-style","content":"default"},{"hid":"theme-color","name":"theme-color","content":"#3B8070"},{"hid":"og:type","name":"og:type","property":"og:type","content":"website"}],"link":[{"hid":"shortcut-icon","rel":"shortcut icon","href":"/nuxt/icons/icon_64x64.7b3a3b.png"},{"hid":"apple-touch-icon","rel":"apple-touch-icon","href":"/nuxt/icons/icon_512x512.7b3a3b.png","sizes":"512x512"},{"href":"/nuxt/icons/splash_iphonese_640x1136.7b3a3b.png","media":"(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-iphonese"},{"href":"/nuxt/icons/splash_iphone6_50x1334.7b3a3b.png","media":"(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-iphone6"},{"href":"/nuxt/icons/splash_iphoneplus_1080x1920.7b3a3b.png","media":"(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-iphoneplus"},{"href":"/nuxt/icons/splash_iphonex_1125x2436.7b3a3b.png","media":"(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-iphonex"},{"href":"/nuxt/icons/splash_iphonexr_828x1792.7b3a3b.png","media":"(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-iphonexr"},{"href":"/nuxt/icons/splash_iphonexsmax_1242x2688.7b3a3b.png","media":"(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-iphonexsmax"},{"href":"/nuxt/icons/splash_ipad_1536x2048.7b3a3b.png","media":"(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-ipad"},{"media":"(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-ipadpro1"},{"media":"(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-ipadpro2"},{"media":"(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)","rel":"apple-touch-startup-image","hid":"apple-touch-startup-image-ipadpro3"},{"rel":"manifest","href":"/nuxt/manifest.8ff53256.json","hid":"manifest"}],"htmlAttrs":{"lang":"en"}}')},,function(t,e,r){!function(){"use strict";var e={};e.install=function(t,e){function r(t){return t._vuebarState}function n(e){return!!e.firstChild||(t.util.warn("(Vuebar) Element 1 with v-bar directive doesn't have required child element 2."),!1)}function o(t){var e=r(t);e.visibleArea=e.el2.clientHeight/e.el2.scrollHeight}function h(t,e){var n=r(t);if(!e)return n.barTop=n.el2.scrollTop*n.visibleArea,!1;var o=e.clientY-n.el1.getBoundingClientRect().top;o<=n.mouseBarOffsetY&&(n.barTop=0),o>n.mouseBarOffsetY&&(n.barTop=o-n.mouseBarOffsetY),n.barTop+n.barHeight>=n.el2.clientHeight&&(n.barTop=n.el2.clientHeight-n.barHeight)}function c(t){var e=r(t);e.visibleArea>=1?e.barHeight=0:e.barHeight=e.el2.clientHeight*e.visibleArea}function l(t,e){e=e||{};var n=r(t);n.dragger.style.height=parseInt(Math.round(n.barHeight))+"px",n.dragger.style.top=parseInt(Math.round(n.barTop))+"px",n.draggerEnabled&&n.visibleArea<1?(k(n.el1,n.config.el1ScrollInvisibleClass),S(n.el1,n.config.el1ScrollVisibleClass)):(k(n.el1,n.config.el1ScrollVisibleClass),S(n.el1,n.config.el1ScrollInvisibleClass)),e.withScrollingClasses&&(S(n.el1,n.config.el1ScrollingClass),n.scrollingClassTimeout&&clearTimeout(n.scrollingClassTimeout),n.scrollingClassTimeout=setTimeout(function(){k(n.el1,n.config.el1ScrollingClass)},n.config.scrollThrottle+5),S(n.el1,n.config.el1ScrollingPhantomClass),n.scrollingPhantomClassTimeout&&clearTimeout(n.scrollingPhantomClassTimeout),n.scrollingPhantomClassTimeout=setTimeout(function(){k(n.el1,n.config.el1ScrollingPhantomClass)},n.config.scrollThrottle+n.config.scrollingPhantomDelay))}function d(e,n){(n=n||{}).immediate&&(o(e),h(e),c(e),l(e)),t.nextTick(function(){if(!r(e))return!1;o(e),h(e),c(e),l(e)}.bind(this))}function f(t){return function(e){!function(t,e){var n=r(t);if(n.visibleArea>=1)return!1;var o=n.el2.scrollHeight-n.el2.clientHeight,h=n.el2.scrollTop,c=e.deltaY<0,l=e.deltaY>0;(h<=0&&c||h>=o&&l)&&e.preventDefault()}(t,e)}.bind(this)}function m(t){var e=r(t);return M(function(e){h(t,e),l(t),function(t){var e=r(t);e.scrollTop=e.barTop*(e.el2.scrollHeight/e.el2.clientHeight)}(t),function(t){var e=r(t);e.el2.scrollTop=e.scrollTop}(t)}.bind(this),e.config.draggerThrottle)}function y(t){var e,n,o,h=r(t);return e=function(e){d(t)}.bind(this),n=h.config.resizeDebounce,o=null,function(){var t=this,r=arguments;clearTimeout(o),o=setTimeout(function(){e.apply(t,r)},n)}}function _(e,_){if(!n.call(this,e))return!1;if(e._vuebarState)return t.util.warn("(Vuebar) Tried to initialize second time. If you see this please create an issue on https://github.com/DominikSerafin/vuebar with all relevent debug information. Thank you!"),!1;var v=function(t){return t._vuebarState={config:{scrollThrottle:10,draggerThrottle:10,resizeRefresh:!0,observerThrottle:100,resizeDebounce:100,unselectableBody:!0,overrideFloatingScrollbar:!0,scrollingPhantomDelay:1e3,draggingPhantomDelay:1e3,preventParentScroll:!1,useScrollbarPseudo:!1,el1Class:"vb",el1ScrollVisibleClass:"vb-visible",el1ScrollInvisibleClass:"vb-invisible",el1ScrollingClass:"vb-scrolling",el1ScrollingPhantomClass:"vb-scrolling-phantom",el1DraggingClass:"vb-dragging",el1DraggingPhantomClass:"vb-dragging-phantom",el2Class:"vb-content",draggerClass:"vb-dragger",draggerStylerClass:"vb-dragger-styler"},binding:null,el1:null,el2:null,dragger:null,draggerEnabled:null,visibleArea:0,scrollTop:0,barTop:0,barHeight:0,mouseBarOffsetY:0,barDragging:!1,mutationObserver:null,scrollingClassTimeout:null,draggingClassTimeout:null,scrollingPhantomClassTimeout:null,draggingPhantomClassTimeout:null,barMousedown:null,documentMousemove:null,documentMouseup:null,windowResize:null,scrollHandler:null,wheelHandler:null},t._vuebarState}(e),w=_.value?_.value:_||{};for(var L in w)v.config[L]=w[L];var T=function(){function t(){var t=window.navigator.userAgent.match(/(?:MSIE |Trident\/.*; rv:)(\d+)/);return t?parseInt(t[1]):void 0}var e=window.navigator.userAgent,r=window.navigator.vendor,n=e.toLowerCase().indexOf("chrome")>-1&&r.toLowerCase().indexOf("google")>-1,o=e.indexOf("Edge")>-1,h=!!window.safari||e.toLowerCase().indexOf("safari")>-1&&r.toLowerCase().indexOf("apple")>-1,c=8==t(),l=9==t(),d=10==t(),f=11==t(),m=c||l||d||f,y=e||r||window.opera,_=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(y)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(y.substr(0,4));return{edge:o,chrome:n,safari:h,mobile:_,ie:m,ie8:c,ie9:l,ie10:d,ie11:f}}(),x=function(t){t=t||document.body;var e=0,r=0,n=document.createElement("div"),o=document.createElement("div");return n.style.position="absolute",n.style.pointerEvents="none",n.style.bottom="0",n.style.right="0",n.style.width="100px",n.style.overflow="hidden",n.appendChild(o),t.appendChild(n),e=o.offsetWidth,o.style.width="100%",n.style.overflowY="scroll",r=e-o.offsetWidth,t.removeChild(n),r}(e.firstElementChild),E=0==x;v.draggerEnabled=!E||v.config.overrideFloatingScrollbar?1:0,v.binding=_.value?_:null,v.el1=e,v.el2=e.firstElementChild,v.dragger=function(t){var e=r(t),n=document.createElement("div"),o=document.createElement("div");return n.className=e.config.draggerClass,n.style.position="absolute",e.draggerEnabled||(n.style.display="none"),o.className=e.config.draggerStylerClass,n.appendChild(o),e.el1.appendChild(n),n}(e),v.barMousedown=function(t){var e=r(t);return function(t){if(1!==t.which)return!1;e.barDragging=!0,e.mouseBarOffsetY=t.offsetY,e.el1.style.userSelect="none",e.config.unselectableBody&&A(document.body,"UserSelect","none"),S(e.el1,e.config.el1DraggingClass),e.draggingPhantomClassTimeout&&clearTimeout(e.draggingPhantomClassTimeout),S(e.el1,e.config.el1DraggingPhantomClass),document.addEventListener("mousemove",e.documentMousemove,0),document.addEventListener("mouseup",e.documentMouseup,0)}.bind(this)}(e),v.documentMousemove=m(e),v.documentMouseup=function(t){var e=r(t);return function(t){e.barDragging=!1,e.el1.style.userSelect="",e.config.unselectableBody&&A(document.body,"UserSelect",""),k(e.el1,e.config.el1DraggingClass),e.draggingPhantomClassTimeout=setTimeout(function(){k(e.el1,e.config.el1DraggingPhantomClass)},e.config.draggingPhantomDelay),document.removeEventListener("mousemove",e.documentMousemove,0),document.removeEventListener("mouseup",e.documentMouseup,0)}.bind(this)}(e),v.windowResize=y(e),v.scrollHandler=function(t){var e=r(t);return M(function(r){o(t),c(t),e.barDragging||(h(t),l(t,{withScrollingClasses:!0}))}.bind(this),e.config.scrollThrottle)}(e),v.wheelHandler=f(e),v.mutationObserver=function(t){if("undefined"==typeof MutationObserver)return null;var e=r(t),n=new MutationObserver(M(function(e){d(t)},e.config.observerThrottle));return n.observe(e.el2,{childList:!0,characterData:!0,subtree:!0}),n}(e),S(v.el1,v.config.el1Class),v.el1.style.position="relative",v.el1.style.overflow="hidden",S(v.el2,v.config.el2Class),v.el2.style.display="block",v.el2.style.overflowX="hidden",v.el2.style.overflowY="scroll",v.el2.style.height="100%",v.draggerEnabled&&(v.config.useScrollbarPseudo&&(T.chrome||T.safari)?(v.el2.style.width="100%",function(t){var e="vuebar-pseudo-element-styles",n="."+r(t).config.el2Class+"::-webkit-scrollbar",o=document.getElementById(e),h=null;o||((o=document.createElement("style")).id=e,document.head.appendChild(o));for(var c=!1,i=0,l=(h=o.sheet).rules.length;i0;)e[r]=arguments[r+1];if(S(Object.assign))return Object.assign.apply(Object,[t].concat(e));if(null==t)throw new TypeError("Cannot convert undefined or null to object");var n=Object(t);return e.forEach(function(t){null!=t&&Object.keys(t).forEach(function(e){n[e]=t[e]})}),n},D=0,Y="{id}",C=function(t,e){for(var r=Array.isArray(t)?t:T(t),i=0;i=0&&t.maxLength<524288&&(e=_("max:"+t.maxLength,e)),t.minLength>0&&(e=_("min:"+t.minLength,e)),"number"===t.type&&(e=_("decimal",e),""!==t.min&&(e=_("min_value:"+t.min,e)),""!==t.max&&(e=_("max_value:"+t.max,e))),e;if(function(t){return B(["date","week","month","datetime-local","time"],t.type)}(t)){var r=t.step&&Number(t.step)<60?"HH:mm:ss":"HH:mm";if("date"===t.type)return _("date_format:yyyy-MM-dd",e);if("datetime-local"===t.type)return _("date_format:yyyy-MM-ddT"+r,e);if("month"===t.type)return _("date_format:yyyy-MM",e);if("week"===t.type)return _("date_format:yyyy-[W]WW",e);if("time"===t.type)return _("date_format:"+r,e)}return e},N=function(t){return S(Object.values)?Object.values(t):Object.keys(t).map(function(e){return t[e]})},B=function(t,e){return-1!==t.indexOf(e)},H=function(t){return Array.isArray(t)&&0===t.length},F=function(t,e,r){Object.defineProperty(t,e,{configurable:!1,writable:!0,value:r})},U="en",z=function(t){void 0===t&&(t={}),this.container={},this.merge(t)},$={locale:{configurable:!0}};$.locale.get=function(){return U},$.locale.set=function(t){U=t||"en"},z.prototype.hasLocale=function(t){return!!this.container[t]},z.prototype.setDateFormat=function(t,e){this.container[t]||(this.container[t]={}),this.container[t].dateFormat=e},z.prototype.getDateFormat=function(t){return this.container[t]&&this.container[t].dateFormat?this.container[t].dateFormat:null},z.prototype.getMessage=function(t,e,data){var r=null;return r=this.hasMessage(t,e)?this.container[t].messages[e]:this._getDefaultMessage(t),S(r)?r.apply(void 0,data):r},z.prototype.getFieldMessage=function(t,e,r,data){if(!this.hasLocale(t))return this.getMessage(t,r,data);var n=this.container[t].custom&&this.container[t].custom[e];if(!n||!n[r])return this.getMessage(t,r,data);var o=n[r];return S(o)?o.apply(void 0,data):o},z.prototype._getDefaultMessage=function(t){return this.hasMessage(t,"_default")?this.container[t].messages._default:this.container.en.messages._default},z.prototype.getAttribute=function(t,e,r){return void 0===r&&(r=""),this.hasAttribute(t,e)?this.container[t].attributes[e]:r},z.prototype.hasMessage=function(t,e){return!!(this.hasLocale(t)&&this.container[t].messages&&this.container[t].messages[e])},z.prototype.hasAttribute=function(t,e){return!!(this.hasLocale(t)&&this.container[t].attributes&&this.container[t].attributes[e])},z.prototype.merge=function(t){j(this.container,t)},z.prototype.setMessage=function(t,e,r){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].messages||(this.container[t].messages={}),this.container[t].messages[e]=r},z.prototype.setAttribute=function(t,e,r){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].attributes[e]=r},Object.defineProperties(z.prototype,$);var W={default:new z({en:{messages:{},attributes:{},custom:{}}})},G="default",V=function(){};V._checkDriverName=function(t){if(!t)throw M("you must provide a name to the dictionary driver")},V.setDriver=function(t,e){void 0===e&&(e=null),this._checkDriverName(t),e&&(W[t]=e),G=t},V.getDriver=function(){return W[G]};var Z=function t(e,r){void 0===e&&(e=null),void 0===r&&(r=null),this.vmId=r||null,this.items=e&&e instanceof t?e.items:[]};Z.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var t=this,e=0;return{next:function(){return{value:t.items[e++],done:e>t.items.length}}}},Z.prototype.add=function(t){var e;(e=this.items).push.apply(e,this._normalizeError(t))},Z.prototype._normalizeError=function(t){var e=this;return Array.isArray(t)?t.map(function(t){return t.scope=l(t.scope)?null:t.scope,t.vmId=l(t.vmId)?e.vmId||null:t.vmId,t}):(t.scope=l(t.scope)?null:t.scope,t.vmId=l(t.vmId)?this.vmId||null:t.vmId,[t])},Z.prototype.regenerate=function(){this.items.forEach(function(i){i.msg=S(i.regenerate)?i.regenerate():i.msg})},Z.prototype.update=function(t,e){var r=O(this.items,function(i){return i.id===t});if(r){var n=this.items.indexOf(r);this.items.splice(n,1),r.scope=e.scope,this.items.push(r)}},Z.prototype.all=function(t){var e=this;return this.items.filter(function(r){var n=!0,o=!0;return l(t)||(n=r.scope===t),l(e.vmId)||(o=r.vmId===e.vmId),o&&n}).map(function(t){return t.msg})},Z.prototype.any=function(t){var e=this;return!!this.items.filter(function(r){var n=!0,o=!0;return l(t)||(n=r.scope===t),l(e.vmId)||(o=r.vmId===e.vmId),o&&n}).length},Z.prototype.clear=function(t){var e=this,r=l(this.vmId)?function(){return!0}:function(i){return i.vmId===e.vmId},n=function(i){return i.scope===t};0===arguments.length?n=function(){return!0}:l(t)&&(t=null);for(var i=0;i=9999&&(D=0,Y=Y.replace("{id}","_{id}")),D++,Y.replace("{id}",String(D))),this.el=t.el,this.updated=!1,this.vmId=t.vmId,F(this,"dependencies",[]),F(this,"watchers",[]),F(this,"events",[]),this.delay=0,this.rules={},this.forceRequired=!1,this._cacheId(t),this.classNames=E({},gt.classNames),t=E({},gt,t),this._delay=l(t.delay)?0:t.delay,this.validity=t.validity,this.aria=t.aria,this.flags=t.flags||{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1},F(this,"vm",t.vm),F(this,"componentInstance",t.component),this.ctorConfig=this.componentInstance?m("$options.$_veeValidate",this.componentInstance):void 0,this.update(t),this.initialValue=this.value,this.updated=!1},vt={validator:{configurable:!0},isRequired:{configurable:!0},isDisabled:{configurable:!0},alias:{configurable:!0},value:{configurable:!0},bails:{configurable:!0},rejectsFalse:{configurable:!0}};vt.validator.get=function(){return this.vm&&this.vm.$validator?this.vm.$validator:{validate:function(){return Promise.resolve(!0)}}},vt.isRequired.get=function(){return!!this.rules.required||this.forceRequired},vt.isDisabled.get=function(){return!(!this.el||!this.el.disabled)},vt.alias.get=function(){if(this._alias)return this._alias;var t=null;return this.ctorConfig&&this.ctorConfig.alias&&(t=S(this.ctorConfig.alias)?this.ctorConfig.alias.call(this.componentInstance):this.ctorConfig.alias),!t&&this.el&&(t=h(this.el,"as")),!t&&this.componentInstance?this.componentInstance.$attrs&&this.componentInstance.$attrs["data-vv-as"]:t},vt.value.get=function(){if(S(this.getter))return this.getter()},vt.bails.get=function(){return this._bails},vt.rejectsFalse.get=function(){return this.componentInstance&&this.ctorConfig?!!this.ctorConfig.rejectsFalse:!!this.el&&"checkbox"===this.el.type},_t.prototype.matches=function(t){var e=this;if(!t)return!0;if(t.id)return this.id===t.id;var r=l(t.vmId)?function(){return!0}:function(t){return t===e.vmId};return!!r(t.vmId)&&(void 0===t.name&&void 0===t.scope||(void 0===t.scope?this.name===t.name:void 0===t.name?this.scope===t.scope:t.name===this.name&&t.scope===this.scope))},_t.prototype._cacheId=function(t){this.el&&!t.targetOf&&(this.el._veeValidateId=this.id)},_t.prototype.waitFor=function(t){this._waitingFor=t},_t.prototype.isWaitingFor=function(t){return this._waitingFor===t},_t.prototype.update=function(t){var e,r,n,o=this;if(this.targetOf=t.targetOf||null,this.immediate=t.immediate||this.immediate||!1,this.persist=t.persist||this.persist||!1,!l(t.scope)&&t.scope!==this.scope&&S(this.validator.update)&&this.validator.update(this.id,{scope:t.scope}),this.scope=l(t.scope)?l(this.scope)?null:this.scope:t.scope,this.name=(l(t.name)?t.name:String(t.name))||this.name||null,this.rules=void 0!==t.rules?v(t.rules):this.rules,this._bails=void 0!==t.bails?t.bails:this._bails,this.model=t.model||this.model,this.listen=void 0!==t.listen?t.listen:this.listen,this.classes=!(!t.classes&&!this.classes)&&!this.componentInstance,this.classNames=A(t.classNames)?j(this.classNames,t.classNames):this.classNames,this.getter=S(t.getter)?t.getter:this.getter,this._alias=t.alias||this._alias,this.events=t.events?pt(t.events):this.events,this.delay=(e=this.events,r=t.delay||this.delay,n=this._delay,"number"==typeof r?e.reduce(function(t,e){return t[e]=r,t},{}):e.reduce(function(t,e){return"object"==typeof r&&e in r?(t[e]=r[e],t):"number"==typeof n?(t[e]=n,t):(t[e]=n&&n[e]||0,t)},{})),this.updateDependencies(),this.addActionListeners(),void 0!==t.rules&&(this.flags.required=this.isRequired),0===Object.keys(t.rules||{}).length&&this.updated){var h=this.flags.validated;this.validator.validate("#"+this.id).then(function(){o.flags.validated=h})}this.flags.validated&&void 0!==t.rules&&this.updated&&this.validator.validate("#"+this.id),this.updated=!0,this.addValueListeners(),this.el&&(this.updateClasses(),this.updateAriaAttrs())},_t.prototype.reset=function(){var t=this;this._cancellationToken&&(this._cancellationToken.cancelled=!0,delete this._cancellationToken);var e={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1};Object.keys(this.flags).filter(function(t){return"required"!==t}).forEach(function(r){t.flags[r]=e[r]}),this.initialValue=this.value,this.flags.changed=!1,this.addValueListeners(),this.addActionListeners(),this.updateClasses(!0),this.updateAriaAttrs(),this.updateCustomValidity()},_t.prototype.setFlags=function(t){var e=this,r={pristine:"dirty",dirty:"pristine",valid:"invalid",invalid:"valid",touched:"untouched",untouched:"touched"};Object.keys(t).forEach(function(n){e.flags[n]=t[n],r[n]&&void 0===t[r[n]]&&(e.flags[r[n]]=!t[n])}),void 0===t.untouched&&void 0===t.touched&&void 0===t.dirty&&void 0===t.pristine||this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},_t.prototype.updateDependencies=function(){var t=this;this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[];var e=Object.keys(this.rules).reduce(function(e,r){return ct.isTargetRule(r)&&e.push({selector:t.rules[r][0],name:r}),e},[]);e.length&&this.vm&&this.vm.$el&&e.forEach(function(e){var r=e.selector,n=e.name,o=t.vm.$refs[r],h=Array.isArray(o)?o[0]:o;if(h){var c={vm:t.vm,classes:t.classes,classNames:t.classNames,delay:t.delay,scope:t.scope,events:t.events.join("|"),immediate:t.immediate,targetOf:t.id};S(h.$watch)?(c.component=h,c.el=h.$el,c.getter=ut.resolveGetter(h.$el,h.$vnode)):(c.el=h,c.getter=ut.resolveGetter(h,{})),t.dependencies.push({name:n,field:new _t(c)})}})},_t.prototype.unwatch=function(t){if(void 0===t&&(t=null),!t)return this.watchers.forEach(function(t){return t.unwatch()}),void(this.watchers=[]);this.watchers.filter(function(e){return t.test(e.tag)}).forEach(function(t){return t.unwatch()}),this.watchers=this.watchers.filter(function(e){return!t.test(e.tag)})},_t.prototype.updateClasses=function(t){var e=this;if(void 0===t&&(t=!1),this.classes&&!this.isDisabled){var r=function(r){L(r,e.classNames.dirty,e.flags.dirty),L(r,e.classNames.pristine,e.flags.pristine),L(r,e.classNames.touched,e.flags.touched),L(r,e.classNames.untouched,e.flags.untouched),t&&(L(r,e.classNames.valid,!1),L(r,e.classNames.invalid,!1)),!l(e.flags.valid)&&e.flags.validated&&L(r,e.classNames.valid,e.flags.valid),!l(e.flags.invalid)&&e.flags.validated&&L(r,e.classNames.invalid,e.flags.invalid)};if(o(this.el)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');T(n).forEach(r)}else r(this.el)}},_t.prototype.addActionListeners=function(){var t=this;if(this.unwatch(/class/),this.el){var e=function(){t.flags.touched=!0,t.flags.untouched=!1,t.classes&&(L(t.el,t.classNames.touched,!0),L(t.el,t.classNames.untouched,!1)),t.unwatch(/^class_blur$/)},r=n(this.el)?"input":"change",h=function(){t.flags.dirty=!0,t.flags.pristine=!1,t.classes&&(L(t.el,t.classNames.pristine,!1),L(t.el,t.classNames.dirty,!0)),t.unwatch(/^class_input$/)};if(this.componentInstance&&S(this.componentInstance.$once))return this.componentInstance.$once("input",h),this.componentInstance.$once("blur",e),this.watchers.push({tag:"class_input",unwatch:function(){t.componentInstance.$off("input",h)}}),void this.watchers.push({tag:"class_blur",unwatch:function(){t.componentInstance.$off("blur",e)}});if(this.el){yt(this.el,r,h);var c=o(this.el)?"change":"blur";yt(this.el,c,e),this.watchers.push({tag:"class_input",unwatch:function(){t.el.removeEventListener(r,h)}}),this.watchers.push({tag:"class_blur",unwatch:function(){t.el.removeEventListener(c,e)}})}}},_t.prototype.checkValueChanged=function(){return(null!==this.initialValue||""!==this.value||!n(this.el))&&this.value!==this.initialValue},_t.prototype._determineInputEvent=function(){return this.componentInstance?this.componentInstance.$options.model&&this.componentInstance.$options.model.event||"input":this.model&&this.model.lazy?"change":n(this.el)?"input":"change"},_t.prototype._determineEventList=function(t){var e=this;return!this.events.length||this.componentInstance||n(this.el)?[].concat(this.events).map(function(t){return"input"===t&&e.model&&e.model.lazy?"change":t}):this.events.map(function(e){return"input"===e?t:e})},_t.prototype.addValueListeners=function(){var t=this;if(this.unwatch(/^input_.+/),this.listen&&this.el){var e={cancelled:!1},r=this.targetOf?function(){var e=t.validator._resolveField("#"+t.targetOf);e&&e.flags.validated&&t.validator.validate("#"+t.targetOf)}:function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];(0===r.length||ft(r[0]))&&(r[0]=t.value),t.flags.pending=!0,t._cancellationToken=e,t.validator.validate("#"+t.id,r[0])},n=this._determineInputEvent(),o=this._determineEventList(n);if(B(o,n)){var h=null,c=null,l=!1;if(this.model&&this.model.expression&&(h=this.vm,c=this.model.expression,l=!0),!c&&this.componentInstance&&this.componentInstance.$options.model&&(h=this.componentInstance,c=this.componentInstance.$options.model.prop||"value"),h&&c){var d=y(r,this.delay[n],e),f=h.$watch(c,d);this.watchers.push({tag:"input_model",unwatch:function(){t.vm.$nextTick(function(){f()})}}),l&&(o=o.filter(function(t){return t!==n}))}}o.forEach(function(n){var o=y(r,t.delay[n],e);t._addComponentEventListener(n,o),t._addHTMLEventListener(n,o)})}},_t.prototype._addComponentEventListener=function(t,e){var r=this;this.componentInstance&&(this.componentInstance.$on(t,e),this.watchers.push({tag:"input_vue",unwatch:function(){r.componentInstance.$off(t,e)}}))},_t.prototype._addHTMLEventListener=function(t,e){var r=this;if(this.el&&!this.componentInstance){var n=function(n){yt(n,t,e),r.watchers.push({tag:"input_native",unwatch:function(){n.removeEventListener(t,e)}})};if(n(this.el),o(this.el)){var h=document.querySelectorAll('input[name="'+this.el.name+'"]');T(h).forEach(function(t){t._veeValidateId&&t!==r.el||n(t)})}}},_t.prototype.updateAriaAttrs=function(){var t=this;if(this.aria&&this.el&&S(this.el.setAttribute)){var e=function(e){e.setAttribute("aria-required",t.isRequired?"true":"false"),e.setAttribute("aria-invalid",t.flags.invalid?"true":"false")};if(o(this.el)){var r=document.querySelectorAll('input[name="'+this.el.name+'"]');T(r).forEach(e)}else e(this.el)}},_t.prototype.updateCustomValidity=function(){this.validity&&this.el&&S(this.el.setCustomValidity)&&this.validator.errors&&this.el.setCustomValidity(this.flags.valid?"":this.validator.errors.firstById(this.id)||"")},_t.prototype.destroy=function(){this._cancellationToken&&(this._cancellationToken.cancelled=!0),this.unwatch(),this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[]},Object.defineProperties(_t.prototype,vt);var bt=function(t){void 0===t&&(t=[]),this.items=t||[],this.itemsById=this.items.reduce(function(t,e){return t[e.id]=e,t},{})},wt={length:{configurable:!0}};bt.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var t=this,e=0;return{next:function(){return{value:t.items[e++],done:e>t.items.length}}}},wt.length.get=function(){return this.items.length},bt.prototype.find=function(t){return O(this.items,function(e){return e.matches(t)})},bt.prototype.findById=function(t){return this.itemsById[t]||null},bt.prototype.filter=function(t){return Array.isArray(t)?this.items.filter(function(e){return t.some(function(t){return e.matches(t)})}):this.items.filter(function(e){return e.matches(t)})},bt.prototype.map=function(t){return this.items.map(t)},bt.prototype.remove=function(t){var e=null;if(!(e=t instanceof _t?t:this.find(t)))return null;var r=this.items.indexOf(e);return this.items.splice(r,1),delete this.itemsById[e.id],e},bt.prototype.push=function(t){if(!(t instanceof _t))throw M("FieldBag only accepts instances of Field that has an id defined.");if(!t.id)throw M("Field id must be defined.");if(this.findById(t.id))throw M("Field with id "+t.id+" is already added.");this.items.push(t),this.itemsById[t.id]=t},Object.defineProperties(bt.prototype,wt);var Mt=function(base,t){this.id=t._uid,this._base=base,this._paused=!1,this.errors=new Z(base.errors,this.id)},At={flags:{configurable:!0},rules:{configurable:!0},fields:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};At.flags.get=function(){var t=this;return this._base.fields.items.filter(function(e){return e.vmId===t.id}).reduce(function(t,e){return e.scope&&(t["$"+e.scope]||(t["$"+e.scope]={}),t["$"+e.scope][e.name]=e.flags),t[e.name]=e.flags,t},{})},At.rules.get=function(){return this._base.rules},At.fields.get=function(){return new bt(this._base.fields.filter({vmId:this.id}))},At.dictionary.get=function(){return this._base.dictionary},At.locale.get=function(){return this._base.locale},At.locale.set=function(t){this._base.locale=t},Mt.prototype.localize=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];return(t=this._base).localize.apply(t,e)},Mt.prototype.update=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];return(t=this._base).update.apply(t,e)},Mt.prototype.attach=function(t){var e=E({},t,{vmId:this.id});return this._base.attach(e)},Mt.prototype.pause=function(){this._paused=!0},Mt.prototype.resume=function(){this._paused=!1},Mt.prototype.remove=function(t){return this._base.remove(t)},Mt.prototype.detach=function(t,e){return this._base.detach(t,e,this.id)},Mt.prototype.extend=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];return(t=this._base).extend.apply(t,e)},Mt.prototype.validate=function(t,e,r){return void 0===r&&(r={}),this._paused?Promise.resolve(!0):this._base.validate(t,e,E({},{vmId:this.id},r||{}))},Mt.prototype.verify=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];return(t=this._base).verify.apply(t,e)},Mt.prototype.validateAll=function(t,e){return void 0===e&&(e={}),this._paused?Promise.resolve(!0):this._base.validateAll(t,E({},{vmId:this.id},e||{}))},Mt.prototype.validateScopes=function(t){return void 0===t&&(t={}),this._paused?Promise.resolve(!0):this._base.validateScopes(E({},{vmId:this.id},t||{}))},Mt.prototype.destroy=function(){delete this.id,delete this._base},Mt.prototype.reset=function(t){return this._base.reset(Object.assign({},t||{},{vmId:this.id}))},Mt.prototype.flag=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];return(t=this._base).flag.apply(t,e.concat([this.id]))},Mt.prototype._resolveField=function(){for(var t,e=[],r=arguments.length;r--;)e[r]=arguments[r];return(t=this._base)._resolveField.apply(t,e)},Object.defineProperties(Mt.prototype,At);var St=null,kt=function(){return St},Lt={provide:function(){return this.$validator&&!P(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!P(this.$vnode)&&!1!==this.$options.$__veeInject){this.$parent||X(this.$options.$_veeValidate||{});var t=J(this);(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=new Mt(kt(),this));var e,r=(e=this.$options.inject,!(!A(e)||!e.$validator));if(this.$validator||!t.inject||r||(this.$validator=new Mt(kt(),this)),r||this.$validator){if(!r&&this.$validator)this.$options._base.util.defineReactive(this.$validator,"errors",this.$validator.errors);this.$options.computed||(this.$options.computed={}),this.$options.computed[t.errorBagName||"errors"]=function(){return this.$validator.errors},this.$options.computed[t.fieldsBagName||"fields"]=function(){return this.$validator.fields.items.reduce(function(t,e){return e.scope?(t["$"+e.scope]||(t["$"+e.scope]={}),t["$"+e.scope][e.name]=e.flags,t):(t[e.name]=e.flags,t)},{})}}}},beforeDestroy:function(){this.$validator&&this._uid===this.$validator.id&&this.$validator.errors.clear()}};function Tt(t,e){return e&&e.$validator?e.$validator.fields.findById(t._veeValidateId):null}var xt={bind:function(t,e,r){var n=r.context.$validator;if(n){var o=ut.generate(t,e,r);n.attach(o)}},inserted:function(t,e,r){var n=Tt(t,r.context),o=ut.resolveScope(t,e,r);n&&o!==n.scope&&(n.update({scope:o}),n.updated=!1)},update:function(t,e,r){var n=Tt(t,r.context);if(!(!n||n.updated&&d(e.value,e.oldValue))){var o=ut.resolveScope(t,e,r),h=ut.resolveRules(t,e,r);n.update({scope:o,rules:h})}},unbind:function(t,e,r){var n=r.context,o=Tt(t,n);o&&n.$validator.detach(o)}},Et=function(t,e,r){void 0===e&&(e={fastExit:!0}),void 0===r&&(r=null),this.errors=new Z,this.fields=new bt,this._createFields(t),this.paused=!1,this.fastExit=!!l(e&&e.fastExit)||e.fastExit,this.$vee=r||{_vm:{$nextTick:function(t){return S(t)?t():Promise.resolve()},$emit:function(){},$off:function(){}}}},Dt={rules:{configurable:!0},dictionary:{configurable:!0},flags:{configurable:!0},locale:{configurable:!0}},Yt={rules:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};Yt.rules.get=function(){return ct.rules},Dt.rules.get=function(){return ct.rules},Dt.dictionary.get=function(){return V.getDriver()},Yt.dictionary.get=function(){return V.getDriver()},Dt.flags.get=function(){return this.fields.items.reduce(function(t,e){var r;return e.scope?(t["$"+e.scope]=((r={})[e.name]=e.flags,r),t):(t[e.name]=e.flags,t)},{})},Dt.locale.get=function(){return Et.locale},Dt.locale.set=function(t){Et.locale=t},Yt.locale.get=function(){return V.getDriver().locale},Yt.locale.set=function(t){var e=t!==V.getDriver().locale;V.getDriver().locale=t,e&&Et.$vee&&Et.$vee._vm&&Et.$vee._vm.$emit("localeChanged")},Et.create=function(t,e){return new Et(t,e)},Et.extend=function(t,e,r){void 0===r&&(r={}),Et._guardExtend(t,e);var n=e.options||{};Et._merge(t,{validator:e,paramNames:r&&r.paramNames||e.paramNames,options:E({hasTarget:!1,immediate:!0},n,r||{})})},Et.remove=function(t){ct.remove(t)},Et.prototype.localize=function(t,e){Et.localize(t,e)},Et.localize=function(t,e){var r;if(A(t))V.getDriver().merge(t);else{if(e){var n=t||e.name;e=E({},e),V.getDriver().merge(((r={})[n]=e,r))}t&&(Et.locale=t)}},Et.prototype.attach=function(t){var e=this,r={name:t.name,scope:t.scope,persist:!0},n=t.persist?this.fields.find(r):null;n&&(t.flags=n.flags,n.destroy(),this.fields.remove(n));var o=t.initialValue,h=new _t(t);return this.fields.push(h),h.immediate?this.$vee._vm.$nextTick(function(){return e.validate("#"+h.id,o||h.value,{vmId:t.vmId})}):this._validate(h,o||h.value,{initial:!0}).then(function(t){h.flags.valid=t.valid,h.flags.invalid=!t.valid}),h},Et.prototype.flag=function(t,e,r){void 0===r&&(r=null);var n=this._resolveField(t,void 0,r);n&&e&&n.setFlags(e)},Et.prototype.detach=function(t,e,r){var n=S(t.destroy)?t:this._resolveField(t,e,r);n&&(n.persist||(n.destroy(),this.errors.remove(n.name,n.scope,n.vmId),this.fields.remove(n)))},Et.prototype.extend=function(t,e,r){void 0===r&&(r={}),Et.extend(t,e,r)},Et.prototype.reset=function(t){var e=this;return this.$vee._vm.$nextTick().then(function(){return e.$vee._vm.$nextTick()}).then(function(){e.fields.filter(t).forEach(function(r){r.waitFor(null),r.reset(),e.errors.remove(r.name,r.scope,t&&t.vmId)})})},Et.prototype.update=function(t,e){var r=e.scope;this._resolveField("#"+t)&&this.errors.update(t,{scope:r})},Et.prototype.remove=function(t){Et.remove(t)},Et.prototype.validate=function(t,e,r){var n=this;void 0===r&&(r={});var o=r.silent,h=r.vmId;if(this.paused)return Promise.resolve(!0);if(l(t))return this.validateScopes({silent:o,vmId:h});if("*"===t)return this.validateAll(void 0,{silent:o,vmId:h});if(/^(.+)\.\*$/.test(t)){var c=t.match(/^(.+)\.\*$/)[1];return this.validateAll(c)}var d=this._resolveField(t);if(!d)return this._handleFieldNotFound(t);o||(d.flags.pending=!0),void 0===e&&(e=d.value);var f=this._validate(d,e);return d.waitFor(f),f.then(function(t){return!o&&d.isWaitingFor(f)&&(d.waitFor(null),n._handleValidationResults([t],h)),t.valid})},Et.prototype.pause=function(){return this.paused=!0,this},Et.prototype.resume=function(){return this.paused=!1,this},Et.prototype.validateAll=function(t,e){var r=this;void 0===e&&(e={});var n=e.silent,o=e.vmId;if(this.paused)return Promise.resolve(!0);var h=null,c=!1;return"string"==typeof t?h={scope:t,vmId:o}:A(t)?(h=Object.keys(t).map(function(t){return{name:t,vmId:o,scope:null}}),c=!0):h=Array.isArray(t)?t.map(function(t){return"object"==typeof t?Object.assign({vmId:o},t):{name:t,vmId:o}}):{scope:null,vmId:o},Promise.all(this.fields.filter(h).map(function(e){return r._validate(e,c?t[e.name]:e.value)})).then(function(t){return n||r._handleValidationResults(t,o),t.every(function(t){return t.valid})})},Et.prototype.validateScopes=function(t){var e=this;void 0===t&&(t={});var r=t.silent,n=t.vmId;return this.paused?Promise.resolve(!0):Promise.all(this.fields.filter({vmId:n}).map(function(t){return e._validate(t,t.value)})).then(function(t){return r||e._handleValidationResults(t,n),t.every(function(t){return t.valid})})},Et.prototype.verify=function(t,e,r){void 0===r&&(r={});var n={name:r&&r.name||"{field}",rules:v(e),bails:m("bails",r,!0),forceRequired:!1,get isRequired(){return!!this.rules.required||this.forceRequired}},o=Object.keys(n.rules).filter(ct.isTargetRule);return o.length&&r&&A(r.values)&&(n.dependencies=o.map(function(t){var e=n.rules[t][0];return{name:t,field:{value:r.values[e]}}})),this._validate(n,t).then(function(t){var e=[],r={};return t.errors.forEach(function(t){e.push(t.msg),r[t.rule]=t.msg}),{valid:t.valid,errors:e,failedRules:r}})},Et.prototype.destroy=function(){this.$vee._vm.$off("localeChanged")},Et.prototype._createFields=function(t){var e=this;t&&Object.keys(t).forEach(function(r){var n=E({},{name:r,rules:t[r]});e.attach(n)})},Et.prototype._getDateFormat=function(t){var e=null;return t.date_format&&Array.isArray(t.date_format)&&(e=t.date_format[0]),e||V.getDriver().getDateFormat(this.locale)},Et.prototype._formatErrorMessage=function(t,e,data,r){void 0===data&&(data={}),void 0===r&&(r=null);var n=this._getFieldDisplayName(t),o=this._getLocalizedParams(e,r);return V.getDriver().getFieldMessage(this.locale,t.name,e.name,[n,o,data])},Et.prototype._convertParamObjectToArray=function(t,e){if(Array.isArray(t))return t;var r=ct.getParamNames(e);return r&&A(t)?r.reduce(function(e,r){return r in t&&e.push(t[r]),e},[]):t},Et.prototype._getLocalizedParams=function(t,e){void 0===e&&(e=null);var r=this._convertParamObjectToArray(t.params,t.name);return t.options.hasTarget&&r&&r[0]?[e||V.getDriver().getAttribute(this.locale,r[0],r[0])].concat(r.slice(1)):r},Et.prototype._getFieldDisplayName=function(t){return t.alias||V.getDriver().getAttribute(this.locale,t.name,t.name)},Et.prototype._convertParamArrayToObj=function(t,e){var r=ct.getParamNames(e);if(!r)return t;if(A(t)){if(r.some(function(e){return-1!==Object.keys(t).indexOf(e)}))return t;t=[t]}return t.reduce(function(t,e,n){return t[r[n]]=e,t},{})},Et.prototype._test=function(t,e,r){var n=this,o=ct.getValidatorMethod(r.name),h=Array.isArray(r.params)?T(r.params):r.params;h||(h=[]);var c=null;if(!o||"function"!=typeof o)return Promise.reject(M("No such validator '"+r.name+"' exists."));if(r.options.hasTarget&&t.dependencies){var l=O(t.dependencies,function(t){return t.name===r.name});l&&(c=l.field.alias,h=[l.field.value].concat(h.slice(1)))}else"required"===r.name&&t.rejectsFalse&&(h=h.length?h:[!0]);if(r.options.isDate){var d=this._getDateFormat(t.rules);"date_format"!==r.name&&h.push(d)}var f=o(e,this._convertParamArrayToObj(h,r.name));return S(f.then)?f.then(function(e){var o=!0,data={};return Array.isArray(e)?o=e.every(function(t){return A(t)?t.valid:t}):(o=A(e)?e.valid:e,data=e.data),{valid:o,data:f.data,errors:o?[]:[n._createFieldError(t,r,data,c)]}}):(A(f)||(f={valid:f,data:{}}),{valid:f.valid,data:f.data,errors:f.valid?[]:[this._createFieldError(t,r,f.data,c)]})},Et._merge=function(t,e){var r=e.validator,n=e.options,o=e.paramNames,h=S(r)?r:r.validate;r.getMessage&&V.getDriver().setMessage(Et.locale,t,r.getMessage),ct.add(t,{validate:h,options:n,paramNames:o})},Et._guardExtend=function(t,e){if(!S(e)&&!S(e.validate))throw M("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")},Et.prototype._createFieldError=function(t,e,data,r){var n=this;return{id:t.id,vmId:t.vmId,field:t.name,msg:this._formatErrorMessage(t,e,data,r),rule:e.name,scope:t.scope,regenerate:function(){return n._formatErrorMessage(t,e,data,r)}}},Et.prototype._resolveField=function(t,e,r){if("#"===t[0])return this.fields.findById(t.slice(1));if(!l(e))return this.fields.find({name:t,scope:e,vmId:r});if(B(t,".")){var n=t.split("."),o=n[0],h=n.slice(1),c=this.fields.find({name:h.join("."),scope:o,vmId:r});if(c)return c}return this.fields.find({name:t,scope:null,vmId:r})},Et.prototype._handleFieldNotFound=function(t,e){var r=l(e)?t:(l(e)?"":e+".")+t;return Promise.reject(M('Validating a non-existent field: "'+r+'". Use "attach()" first.'))},Et.prototype._handleValidationResults=function(t,e){var r=this,n=t.map(function(t){return{id:t.id}});this.errors.removeById(n.map(function(t){return t.id})),t.forEach(function(t){r.errors.remove(t.field,t.scope,e)});var o=t.reduce(function(t,e){return t.push.apply(t,e.errors),t},[]);this.errors.add(o),this.fields.filter(n).forEach(function(e){var r=O(t,function(t){return t.id===e.id});e.setFlags({pending:!1,valid:r.valid,validated:!0})})},Et.prototype._shouldSkip=function(t,e){return!1!==t.bails&&(!(!t.isDisabled||!Q().useConstraintAttrs)||!t.isRequired&&(l(e)||""===e||H(e)))},Et.prototype._shouldBail=function(t){return void 0!==t.bails?t.bails:this.fastExit},Et.prototype._validate=function(t,e,r){var n=this;void 0===r&&(r={});var o=r.initial,h=Object.keys(t.rules).filter(ct.isRequireRule);if(t.forceRequired=!1,h.forEach(function(r){var o=ct.getOptions(r),h=n._test(t,e,{name:r,params:t.rules[r],options:o});if(S(h.then))throw M("Require rules cannot be async");if(!A(h))throw M("Require rules has to return an object (see docs)");!0===h.data.required&&(t.forceRequired=!0)}),this._shouldSkip(t,e))return Promise.resolve({valid:!0,id:t.id,field:t.name,scope:t.scope,errors:[]});var c=[],l=[],d=!1;return S(t.checkValueChanged)&&(t.flags.changed=t.checkValueChanged()),Object.keys(t.rules).filter(function(t){return!o||!ct.has(t)||ct.isImmediate(t)}).some(function(r){var o=ct.getOptions(r),h=n._test(t,e,{name:r,params:t.rules[r],options:o});return S(h.then)?c.push(h):!h.valid&&n._shouldBail(t)?(l.push.apply(l,h.errors),d=!0):c.push(new Promise(function(t){return t(h)})),d}),d?Promise.resolve({valid:!1,errors:l,id:t.id,field:t.name,scope:t.scope}):Promise.all(c).then(function(e){return e.reduce(function(t,e){var r;return e.valid||(r=t.errors).push.apply(r,e.errors),t.valid=t.valid&&e.valid,t},{valid:!0,errors:l,id:t.id,field:t.name,scope:t.scope})})},Object.defineProperties(Et.prototype,Dt),Object.defineProperties(Et,Yt);var Ct=function(t){return A(t)?Object.keys(t).reduce(function(e,r){return e[r]=Ct(t[r]),e},{}):S(t)?t("{0}",["{1}","{2}","{3}"]):t},Ot=function(t,e){this.i18n=t,this.rootKey=e},Pt={locale:{configurable:!0}};Pt.locale.get=function(){return this.i18n.locale},Pt.locale.set=function(t){w("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},Ot.prototype.getDateFormat=function(t){return this.i18n.getDateTimeFormat(t||this.locale)},Ot.prototype.setDateFormat=function(t,e){this.i18n.setDateTimeFormat(t||this.locale,e)},Ot.prototype.getMessage=function(t,e,data){var path=this.rootKey+".messages."+e,r=data;return Array.isArray(data)&&(r=[].concat.apply([],data)),this.i18n.te(path)?this.i18n.t(path,r):this.i18n.te(path,this.i18n.fallbackLocale)?this.i18n.t(path,this.i18n.fallbackLocale,r):this.i18n.t(this.rootKey+".messages._default",r)},Ot.prototype.getAttribute=function(t,e,r){void 0===r&&(r="");var path=this.rootKey+".attributes."+e;return this.i18n.te(path)?this.i18n.t(path):r},Ot.prototype.getFieldMessage=function(t,e,r,data){var path=this.rootKey+".custom."+e+"."+r;return this.i18n.te(path)?this.i18n.t(path,data):this.getMessage(t,r,data)},Ot.prototype.merge=function(t){var e=this;Object.keys(t).forEach(function(r){var n,o=j({},m(r+"."+e.rootKey,e.i18n.messages,{})),h=j(o,function(t){var e={};return t.messages&&(e.messages=Ct(t.messages)),t.custom&&(e.custom=Ct(t.custom)),t.attributes&&(e.attributes=t.attributes),l(t.dateFormat)||(e.dateFormat=t.dateFormat),e}(t[r]));e.i18n.mergeLocaleMessage(r,((n={})[e.rootKey]=h,n)),h.dateFormat&&e.i18n.setDateTimeFormat(r,h.dateFormat)})},Ot.prototype.setMessage=function(t,e,r){var n,o;this.merge(((o={})[t]={messages:(n={},n[e]=r,n)},o))},Ot.prototype.setAttribute=function(t,e,r){var n,o;this.merge(((o={})[t]={attributes:(n={},n[e]=r,n)},o))},Object.defineProperties(Ot.prototype,Pt);var Rt,jt,It,Nt={aggressive:function(){return{on:["input"]}},eager:function(t){return t.errors.length?{on:["input"]}:{on:["change","blur"]}},passive:function(){return{on:[]}},lazy:function(){return{on:["change"]}}},Bt=function(t,e){var r;this.configure(t),It=this,e&&(Rt=e),this._validator=(r=new Et(null,{fastExit:t&&t.fastExit},this),St=r,r),this._initVM(this.config),this._initI18n(this.config)},Ht={i18nDriver:{configurable:!0},config:{configurable:!0}},Ft={i18nDriver:{configurable:!0},config:{configurable:!0}};Bt.setI18nDriver=function(t,e){V.setDriver(t,e)},Bt.configure=function(t){X(t)},Bt.setMode=function(t,e){if(X({mode:t}),e){if(!S(e))throw new Error("A mode implementation must be a function");Nt[t]=e}},Bt.use=function(t,e){return void 0===e&&(e={}),S(t)?It?void t({Validator:Et,ErrorBag:Z,Rules:Et.rules},e):(jt||(jt=[]),void jt.push({plugin:t,options:e})):w("The plugin must be a callable function")},Bt.install=function(t,e){Rt&&t===Rt||(Rt=t,It=new Bt(e),Et.$vee=It,function(){try{var t=Object.defineProperty({},"passive",{get:function(){mt=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(t){mt=!1}}(),Rt.mixin(Lt),Rt.directive("validate",xt),jt&&(jt.forEach(function(t){var e=t.plugin,r=t.options;Bt.use(e,r)}),jt=null))},Ht.i18nDriver.get=function(){return V.getDriver()},Ft.i18nDriver.get=function(){return V.getDriver()},Ht.config.get=function(){return Q()},Ft.config.get=function(){return Q()},Bt.prototype._initVM=function(t){var e=this;this._vm=new Rt({data:function(){return{errors:e._validator.errors,fields:e._validator.fields}}})},Bt.prototype._initI18n=function(t){var e=this,r=t.dictionary,n=t.i18n,o=t.i18nRootKey,h=t.locale,c=function(){r&&e.i18nDriver.merge(r),e._validator.errors.regenerate()};n?(Bt.setI18nDriver("i18n",new Ot(n,o)),n._vm.$watch("locale",c)):"undefined"!=typeof window&&this._vm.$on("localeChanged",c),r&&this.i18nDriver.merge(r),h&&!n&&this._validator.localize(h)},Bt.prototype.configure=function(t){X(t)},Object.defineProperties(Bt.prototype,Ht),Object.defineProperties(Bt,Ft),Bt.mixin=Lt,Bt.directive=xt,Bt.Validator=Et,Bt.ErrorBag=Z;var Ut,zt={_default:function(t){return"The "+t+" value is not valid"},after:function(t,e){var r=e[0];return"The "+t+" must be after "+(e[1]?"or equal to ":"")+r},alpha:function(t){return"The "+t+" field may only contain alphabetic characters"},alpha_dash:function(t){return"The "+t+" field may contain alpha-numeric characters as well as dashes and underscores"},alpha_num:function(t){return"The "+t+" field may only contain alpha-numeric characters"},alpha_spaces:function(t){return"The "+t+" field may only contain alphabetic characters as well as spaces"},before:function(t,e){var r=e[0];return"The "+t+" must be before "+(e[1]?"or equal to ":"")+r},between:function(t,e){return"The "+t+" field must be between "+e[0]+" and "+e[1]},confirmed:function(t){return"The "+t+" confirmation does not match"},credit_card:function(t){return"The "+t+" field is invalid"},date_between:function(t,e){return"The "+t+" must be between "+e[0]+" and "+e[1]},date_format:function(t,e){return"The "+t+" must be in the format "+e[0]},decimal:function(t,e){void 0===e&&(e=[]);var r=e[0];return void 0===r&&(r="*"),"The "+t+" field must be numeric and may contain"+(r&&"*"!==r?" "+r:"")+" decimal points"},digits:function(t,e){return"The "+t+" field must be numeric and contains exactly "+e[0]+" digits"},dimensions:function(t,e){return"The "+t+" field must be "+e[0]+" pixels by "+e[1]+" pixels"},email:function(t){return"The "+t+" field must be a valid email"},excluded:function(t){return"The "+t+" field must be a valid value"},ext:function(t){return"The "+t+" field must be a valid file"},image:function(t){return"The "+t+" field must be an image"},included:function(t){return"The "+t+" field must be a valid value"},integer:function(t){return"The "+t+" field must be an integer"},ip:function(t){return"The "+t+" field must be a valid ip address"},ip_or_fqdn:function(t){return"The "+t+" field must be a valid ip address or FQDN"},length:function(t,e){var r=e[0],n=e[1];return n?"The "+t+" length must be between "+r+" and "+n:"The "+t+" length must be "+r},max:function(t,e){return"The "+t+" field may not be greater than "+e[0]+" characters"},max_value:function(t,e){return"The "+t+" field must be "+e[0]+" or less"},mimes:function(t){return"The "+t+" field must have a valid file type"},min:function(t,e){return"The "+t+" field must be at least "+e[0]+" characters"},min_value:function(t,e){return"The "+t+" field must be "+e[0]+" or more"},numeric:function(t){return"The "+t+" field may only contain numeric characters"},regex:function(t){return"The "+t+" field format is invalid"},required:function(t){return"The "+t+" field is required"},required_if:function(t,e){return"The "+t+" field is required when the "+e[0]+" field has this value"},size:function(t,e){return"The "+t+" size must be less than "+function(t){var e=1024,i=0===(t=Number(t)*e)?0:Math.floor(Math.log(t)/Math.log(e));return 1*(t/Math.pow(e,i)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][i]}(e[0])},url:function(t){return"The "+t+" field is not a valid URL"}},qt={name:"en",messages:zt,attributes:{}};function $t(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((Ut={})[qt.name]=qt,Ut));function Wt(t){var e=new Date(t.getTime()),r=e.getTimezoneOffset();return e.setSeconds(0,0),6e4*r+e.getTime()%6e4}var Gt=36e5,Vt=6e4,Zt={dateTimeDelimeter:/[T ]/,plainTime:/:/,timeZoneDelimeter:/[Z ]/i,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function Kt(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===t)return new Date(NaN);var r=e||{},n=null==r.additionalDigits?2:$t(r.additionalDigits);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t))return new Date(t.getTime());if("number"==typeof t||"[object Number]"===Object.prototype.toString.call(t))return new Date(t);if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var o=function(t){var e,r={},n=t.split(Zt.dateTimeDelimeter);Zt.plainTime.test(n[0])?(r.date=null,e=n[0]):(r.date=n[0],e=n[1],Zt.timeZoneDelimeter.test(r.date)&&(r.date=t.split(Zt.timeZoneDelimeter)[0],e=t.substr(r.date.length,t.length)));if(e){var o=Zt.timezone.exec(e);o?(r.time=e.replace(o[1],""),r.timezone=o[1]):r.time=e}return r}(t),h=function(t,e){var r,n=Zt.YYY[e],o=Zt.YYYYY[e];if(r=Zt.YYYY.exec(t)||o.exec(t)){var h=r[1];return{year:parseInt(h,10),restDateString:t.slice(h.length)}}if(r=Zt.YY.exec(t)||n.exec(t)){var c=r[1];return{year:100*parseInt(c,10),restDateString:t.slice(c.length)}}return{year:null}}(o.date,n),c=h.year,l=function(t,e){if(null===e)return null;var r,n,o,h;if(0===t.length)return(n=new Date(0)).setUTCFullYear(e),n;if(r=Zt.MM.exec(t))return n=new Date(0),ee(e,o=parseInt(r[1],10)-1)?(n.setUTCFullYear(e,o),n):new Date(NaN);if(r=Zt.DDD.exec(t)){n=new Date(0);var c=parseInt(r[1],10);return function(t,e){if(e<1)return!1;var r=te(t);if(r&&e>366)return!1;if(!r&&e>365)return!1;return!0}(e,c)?(n.setUTCFullYear(e,0,c),n):new Date(NaN)}if(r=Zt.MMDD.exec(t)){n=new Date(0),o=parseInt(r[1],10)-1;var l=parseInt(r[2],10);return ee(e,o,l)?(n.setUTCFullYear(e,o,l),n):new Date(NaN)}if(r=Zt.Www.exec(t))return re(e,h=parseInt(r[1],10)-1)?Jt(e,h):new Date(NaN);if(r=Zt.WwwD.exec(t)){h=parseInt(r[1],10)-1;var d=parseInt(r[2],10)-1;return re(e,h,d)?Jt(e,h,d):new Date(NaN)}return null}(h.restDateString,c);if(isNaN(l))return new Date(NaN);if(l){var d,f=l.getTime(),time=0;if(o.time&&(time=function(t){var e,r,n;if(e=Zt.HH.exec(t))return ne(r=parseFloat(e[1].replace(",",".")))?r%24*Gt:NaN;if(e=Zt.HHMM.exec(t))return ne(r=parseInt(e[1],10),n=parseFloat(e[2].replace(",",".")))?r%24*Gt+n*Vt:NaN;if(e=Zt.HHMMSS.exec(t)){r=parseInt(e[1],10),n=parseInt(e[2],10);var o=parseFloat(e[3].replace(",","."));return ne(r,n,o)?r%24*Gt+n*Vt+1e3*o:NaN}return null}(o.time),isNaN(time)))return new Date(NaN);if(o.timezone){if(d=function(t){var e,r,n;if(e=Zt.timezoneZ.exec(t))return 0;if(e=Zt.timezoneHH.exec(t))return n=parseInt(e[2],10),ie()?(r=n*Gt,"+"===e[1]?-r:r):NaN;if(e=Zt.timezoneHHMM.exec(t)){n=parseInt(e[2],10);var o=parseInt(e[3],10);return ie(n,o)?(r=n*Gt+o*Vt,"+"===e[1]?-r:r):NaN}return 0}(o.timezone),isNaN(d))return new Date(NaN)}else d=Wt(new Date(f+time)),d=Wt(new Date(f+time+d));return new Date(f+time+d)}return new Date(NaN)}function Jt(t,e,r){e=e||0,r=r||0;var n=new Date(0);n.setUTCFullYear(t,0,4);var o=7*e+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+o),n}var Qt=[31,28,31,30,31,30,31,31,30,31,30,31],Xt=[31,29,31,30,31,30,31,31,30,31,30,31];function te(t){return t%400==0||t%4==0&&t%100!=0}function ee(t,e,r){if(e<0||e>11)return!1;if(null!=r){if(r<1)return!1;var n=te(t);if(n&&r>Xt[e])return!1;if(!n&&r>Qt[e])return!1}return!0}function re(t,e,r){return!(e<0||e>52)&&(null==r||!(r<0||r>6))}function ne(t,e,r){return(null==t||!(t<0||t>=25))&&((null==e||!(e<0||e>=60))&&(null==r||!(r<0||r>=60)))}function ie(t,e){return null==e||!(e<0||e>59)}function oe(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=Kt(t,e);return!isNaN(r)}var ae={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function se(t){return function(e){var r=e||{},n=r.width?String(r.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var ue={date:se({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:se({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:se({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},he={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ce(t){return function(e,r){var n=r||{},o=n.width?String(n.width):t.defaultWidth;return("formatting"===(n.context?String(n.context):"standalone")&&t.formattingValues?t.formattingValues[o]||t.formattingValues[t.defaultFormattingWidth]:t.values[o]||t.values[t.defaultWidth])[t.argumentCallback?t.argumentCallback(e):e]}}var le={ordinalNumber:function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:ce({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ce({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:ce({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ce({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ce({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaulFormattingWidth:"wide"})};function de(t){return function(e,r){var n=String(e),o=r||{},h=o.width,c=h&&t.matchPatterns[h]||t.matchPatterns[t.defaultMatchWidth],l=n.match(c);if(!l)return null;var d,f=l[0],m=h&&t.parsePatterns[h]||t.parsePatterns[t.defaultParseWidth];return d="[object Array]"===Object.prototype.toString.call(m)?m.findIndex(function(pattern){return pattern.test(n)}):function(object,t){for(var e in object)if(object.hasOwnProperty(e)&&t(object[e]))return e}(m,function(pattern){return pattern.test(n)}),d=t.valueCallback?t.valueCallback(d):d,{value:d=o.valueCallback?o.valueCallback(d):d,rest:n.slice(f.length)}}}var fe,pe={ordinalNumber:(fe={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t,e){var r=String(t),n=e||{},o=r.match(fe.matchPattern);if(!o)return null;var h=o[0],c=r.match(fe.parsePattern);if(!c)return null;var l=fe.valueCallback?fe.valueCallback(c[0]):c[0];return{value:l=n.valueCallback?n.valueCallback(l):l,rest:r.slice(h.length)}}),era:de({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:de({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:de({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:de({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:de({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},me={formatDistance:function(t,e,r){var n;return r=r||{},n="string"==typeof ae[t]?ae[t]:1===e?ae[t].one:ae[t].other.replace("{{count}}",e),r.addSuffix?r.comparison>0?"in "+n:n+" ago":n},formatLong:ue,formatRelative:function(t,e,r,n){return he[t]},localize:le,match:pe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ye(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=Kt(t,e),n=r.getUTCDay(),o=(n<1?7:0)+n-1;return r.setUTCDate(r.getUTCDate()-o),r.setUTCHours(0,0,0,0),r}function ge(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=Kt(t,e),n=r.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(n+1,0,4),o.setUTCHours(0,0,0,0);var h=ye(o,e),c=new Date(0);c.setUTCFullYear(n,0,4),c.setUTCHours(0,0,0,0);var l=ye(c,e);return r.getTime()>=h.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function _e(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=Kt(t,e),n=ye(r,e).getTime()-function(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=ge(t,e),n=new Date(0);return n.setUTCFullYear(r,0,4),n.setUTCHours(0,0,0,0),ye(n,e)}(r,e).getTime();return Math.round(n/6048e5)+1}function ve(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=e||{},n=r.locale,o=n&&n.options&&n.options.weekStartsOn,h=null==o?0:$t(o),c=null==r.weekStartsOn?h:$t(r.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=Kt(t,r),d=l.getUTCDay(),f=(d=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(n+1,0,d),f.setUTCHours(0,0,0,0);var m=ve(f,e),y=new Date(0);y.setUTCFullYear(n,0,d),y.setUTCHours(0,0,0,0);var _=ve(y,e);return r.getTime()>=m.getTime()?n+1:r.getTime()>=_.getTime()?n:n-1}function we(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=Kt(t,e),n=ve(r,e).getTime()-function(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=e||{},n=r.locale,o=n&&n.options&&n.options.firstWeekContainsDate,h=null==o?1:$t(o),c=null==r.firstWeekContainsDate?h:$t(r.firstWeekContainsDate),l=be(t,e),d=new Date(0);return d.setUTCFullYear(l,0,c),d.setUTCHours(0,0,0,0),ve(d,e)}(r,e).getTime();return Math.round(n/6048e5)+1}var Me="midnight",Ae="noon",Se="morning",ke="afternoon",Le="evening",Te="night",xe={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(t,e,r,n){var o=t.getUTCFullYear(),h=o>0?o:1-o;return"yy"===e?Ee(h%100,2):"yo"===e?r.ordinalNumber(h,{unit:"year"}):Ee(h,e.length)},Y:function(t,e,r,n){var o=be(t,n),h=o>0?o:1-o;return"YY"===e?Ee(h%100,2):"Yo"===e?r.ordinalNumber(h,{unit:"year"}):Ee(h,e.length)},R:function(t,e,r,n){return Ee(ge(t,n),e.length)},u:function(t,e,r,n){return Ee(t.getUTCFullYear(),e.length)},Q:function(t,e,r,n){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return Ee(o,2);case"Qo":return r.ordinalNumber(o,{unit:"quarter"});case"QQQ":return r.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(o,{width:"narrow",context:"formatting"});default:return r.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,r,n){var o=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return Ee(o,2);case"qo":return r.ordinalNumber(o,{unit:"quarter"});case"qqq":return r.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(o,{width:"narrow",context:"standalone"});default:return r.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,r,n){var o=t.getUTCMonth();switch(e){case"M":return String(o+1);case"MM":return Ee(o+1,2);case"Mo":return r.ordinalNumber(o+1,{unit:"month"});case"MMM":return r.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(o,{width:"narrow",context:"formatting"});default:return r.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,r,n){var o=t.getUTCMonth();switch(e){case"L":return String(o+1);case"LL":return Ee(o+1,2);case"Lo":return r.ordinalNumber(o+1,{unit:"month"});case"LLL":return r.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(o,{width:"narrow",context:"standalone"});default:return r.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var o=we(t,n);return"wo"===e?r.ordinalNumber(o,{unit:"week"}):Ee(o,e.length)},I:function(t,e,r,n){var o=_e(t,n);return"Io"===e?r.ordinalNumber(o,{unit:"week"}):Ee(o,e.length)},d:function(t,e,r,n){var o=t.getUTCDate();return"do"===e?r.ordinalNumber(o,{unit:"date"}):Ee(o,e.length)},D:function(t,e,r,n){var o=function(t,e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var r=Kt(t,e),n=r.getTime();r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0);var o=n-r.getTime();return Math.floor(o/864e5)+1}(t,n);return"Do"===e?r.ordinalNumber(o,{unit:"dayOfYear"}):Ee(o,e.length)},E:function(t,e,r,n){var o=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(o,{width:"short",context:"formatting"});default:return r.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var o=t.getUTCDay(),h=(o-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(h);case"ee":return Ee(h,2);case"eo":return r.ordinalNumber(h,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var o=t.getUTCDay(),h=(o-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(h);case"cc":return Ee(h,e.length);case"co":return r.ordinalNumber(h,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,r,n){var o=t.getUTCDay(),h=0===o?7:o;switch(e){case"i":return String(h);case"ii":return Ee(h,e.length);case"io":return r.ordinalNumber(h,{unit:"day"});case"iii":return r.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(o,{width:"short",context:"formatting"});default:return r.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n,o=t.getUTCHours();switch(n=12===o?Ae:0===o?Me:o/12>=1?"pm":"am",e){case"b":case"bb":case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n,o=t.getUTCHours();switch(n=o>=17?Le:o>=12?ke:o>=4?Se:Te,e){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,r,n){var o=t.getUTCHours()%12;return 0===o&&(o=12),"ho"===e?r.ordinalNumber(o,{unit:"hour"}):Ee(o,e.length)},H:function(t,e,r,n){var o=t.getUTCHours();return"Ho"===e?r.ordinalNumber(o,{unit:"hour"}):Ee(o,e.length)},K:function(t,e,r,n){var o=t.getUTCHours()%12;return"Ko"===e?r.ordinalNumber(o,{unit:"hour"}):Ee(o,e.length)},k:function(t,e,r,n){var o=t.getUTCHours();return 0===o&&(o=24),"ko"===e?r.ordinalNumber(o,{unit:"hour"}):Ee(o,e.length)},m:function(t,e,r,n){var o=t.getUTCMinutes();return"mo"===e?r.ordinalNumber(o,{unit:"minute"}):Ee(o,e.length)},s:function(t,e,r,n){var o=t.getUTCSeconds();return"so"===e?r.ordinalNumber(o,{unit:"second"}):Ee(o,e.length)},S:function(t,e,r,n){var o=e.length,h=t.getUTCMilliseconds();return Ee(Math.floor(h*Math.pow(10,o-3)),o)},X:function(t,e,r,n){var o=(n._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return Ye(o);case"XXXX":case"XX":return De(o);default:return De(o,":")}},x:function(t,e,r,n){var o=(n._originalDate||t).getTimezoneOffset();switch(e){case"x":return Ye(o);case"xxxx":case"xx":return De(o);default:return De(o,":")}},O:function(t,e,r,n){var o=(n._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Ce(o,":");default:return"GMT"+De(o,":")}},z:function(t,e,r,n){var o=(n._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Ce(o,":");default:return"GMT"+De(o,":")}},t:function(t,e,r,n){var o=n._originalDate||t;return Ee(Math.floor(o.getTime()/1e3),e.length)},T:function(t,e,r,n){return Ee((n._originalDate||t).getTime(),e.length)}};function Ee(t,e){for(var r=t<0?"-":"",output=Math.abs(t).toString();output.length0?"-":"+",o=Math.abs(t);return n+Ee(Math.floor(o/60),2)+r+Ee(o%60,2)}function Ye(t,e){return t%60==0?(t>0?"-":"+")+Ee(Math.abs(t)/60,2):De(t,e)}function Ce(t,e){var r=t>0?"-":"+",n=Math.abs(t),o=Math.floor(n/60),h=n%60;if(0===h)return r+String(o);var c=e||"";return r+String(o)+c+Ee(h,2)}function Oe(pattern,t,e){switch(pattern){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function Pe(pattern,t,e){switch(pattern){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var Re={p:Pe,P:function(pattern,t,e){var r,n=pattern.match(/(P+)(p+)?/),o=n[1],h=n[2];if(!h)return Oe(pattern,t);switch(o){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",Oe(o,t)).replace("{{time}}",Pe(h,t))}};function je(t,e,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return function(t,e,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=Kt(t,r).getTime(),o=$t(e);return new Date(n+o)}(t,-$t(e),r)}var Ie=["D","DD","YY","YYYY"];function Ne(t){return-1!==Ie.indexOf(t)}function Be(t){throw new RangeError("`options.awareOfUnicodeTokens` must be set to `true` to use `"+t+"` token; see: https://git.io/fxCyr")}var He=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ue=/^'(.*?)'?$/,ze=/''/g;function qe(t,e,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=String(e),o=r||{},h=o.locale||me,c=h.options&&h.options.firstWeekContainsDate,l=null==c?1:$t(c),d=null==o.firstWeekContainsDate?l:$t(o.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=h.options&&h.options.weekStartsOn,m=null==f?0:$t(f),y=null==o.weekStartsOn?m:$t(o.weekStartsOn);if(!(y>=0&&y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!h.localize)throw new RangeError("locale must contain localize property");if(!h.formatLong)throw new RangeError("locale must contain formatLong property");var _=Kt(t,o);if(!oe(_,o))return"Invalid Date";var v=je(_,Wt(_),o),w={firstWeekContainsDate:d,weekStartsOn:y,locale:h,_originalDate:_};return n.match(Fe).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,Re[e])(t,h.formatLong,w):t}).join("").match(He).map(function(t){if("''"===t)return"'";var e=t[0];if("'"===e)return t.match(Ue)[1].replace(ze,"'");var r=xe[e];return r?(!o.awareOfUnicodeTokens&&Ne(t)&&Be(t),r(v,t,h.localize,w)):t}).join("")}function $e(t,e,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=Kt(t,r),o=Kt(e,r);return n.getTime()>o.getTime()}function We(t,e,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=Kt(t,r),o=Kt(e,r);return n.getTime()=0&&l<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Kt(t,r),f=$t(e),m=((f%7+7)%70,o=n?e:1-e;if(o<=50)r=t||100;else{var h=o+50;r=t+100*Math.floor(h/100)-(t>=h%100?100:0)}return n?r:1-r}var Er=[31,28,31,30,31,30,31,31,30,31,30,31],Dr=[31,29,31,30,31,30,31,31,30,31,30,31];function Yr(t){return t%400==0||t%4==0&&t%100!=0}var Cr={G:{priority:140,parse:function(t,e,r,n){switch(e){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}},set:function(t,e,r){return t.setUTCFullYear(1===e?10:-9,0,1),t.setUTCHours(0,0,0,0),t}},y:{priority:130,parse:function(t,e,r,n){var o=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return kr(4,t,o);case"yo":return r.ordinalNumber(t,{unit:"year",valueCallback:o});default:return kr(e.length,t,o)}},validate:function(t,e,r){return e.isTwoDigitYear||e.year>0},set:function(t,e,r){var n=be(t,r);if(e.isTwoDigitYear){var o=xr(e.year,n);return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}var h=n>0?e.year:1-e.year;return t.setUTCFullYear(h,0,1),t.setUTCHours(0,0,0,0),t}},Y:{priority:130,parse:function(t,e,r,n){var o=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return kr(4,t,o);case"Yo":return r.ordinalNumber(t,{unit:"year",valueCallback:o});default:return kr(e.length,t,o)}},validate:function(t,e,r){return e.isTwoDigitYear||e.year>0},set:function(t,e,r){var n=t.getUTCFullYear();if(e.isTwoDigitYear){var o=xr(e.year,n);return t.setUTCFullYear(o,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),ve(t,r)}var h=n>0?e.year:1-e.year;return t.setUTCFullYear(h,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),ve(t,r)}},R:{priority:130,parse:function(t,e,r,n){return Lr("R"===e?4:e.length,t)},set:function(t,e,r){var n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),ye(n)}},u:{priority:130,parse:function(t,e,r,n){return Lr("u"===e?4:e.length,t)},set:function(t,e,r){return t.setUTCFullYear(e,0,1),t.setUTCHours(0,0,0,0),t}},Q:{priority:120,parse:function(t,e,r,n){switch(e){case"Q":case"QQ":return kr(e.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,r){return e>=1&&e<=4},set:function(t,e,r){return t.setUTCMonth(3*(e-1),1),t.setUTCHours(0,0,0,0),t}},q:{priority:120,parse:function(t,e,r,n){switch(e){case"q":case"qq":return kr(e.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,r){return e>=1&&e<=4},set:function(t,e,r){return t.setUTCMonth(3*(e-1),1),t.setUTCHours(0,0,0,0),t}},M:{priority:110,parse:function(t,e,r,n){var o=function(t){return t-1};switch(e){case"M":return Mr(Ze,t,o);case"MM":return kr(2,t,o);case"Mo":return r.ordinalNumber(t,{unit:"month",valueCallback:o});case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,r){return e>=0&&e<=11},set:function(t,e,r){return t.setUTCMonth(e,1),t.setUTCHours(0,0,0,0),t}},L:{priority:110,parse:function(t,e,r,n){var o=function(t){return t-1};switch(e){case"L":return Mr(Ze,t,o);case"LL":return kr(2,t,o);case"Lo":return r.ordinalNumber(t,{unit:"month",valueCallback:o});case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,r){return e>=0&&e<=11},set:function(t,e,r){return t.setUTCMonth(e,1),t.setUTCHours(0,0,0,0),t}},w:{priority:100,parse:function(t,e,r,n){switch(e){case"w":return Mr(Qe,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return kr(e.length,t)}},validate:function(t,e,r){return e>=1&&e<=53},set:function(t,e,r){return ve(function(t,e,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=Kt(t,r),o=$t(e),h=we(n,r)-o;return n.setUTCDate(n.getUTCDate()-7*h),n}(t,e,r),r)}},I:{priority:100,parse:function(t,e,r,n){switch(e){case"I":return Mr(Qe,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return kr(e.length,t)}},validate:function(t,e,r){return e>=1&&e<=53},set:function(t,e,r){return ye(function(t,e,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=Kt(t,r),o=$t(e),h=_e(n,r)-o;return n.setUTCDate(n.getUTCDate()-7*h),n}(t,e,r),r)}},d:{priority:90,parse:function(t,e,r,n){switch(e){case"d":return Mr(Ke,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return kr(e.length,t)}},validate:function(t,e,r){var n=Yr(t.getUTCFullYear()),o=t.getUTCMonth();return n?e>=1&&e<=Dr[o]:e>=1&&e<=Er[o]},set:function(t,e,r){return t.setUTCDate(e),t.setUTCHours(0,0,0,0),t}},D:{priority:90,parse:function(t,e,r,n){switch(e){case"D":case"DD":return Mr(Je,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return kr(e.length,t)}},validate:function(t,e,r){return Yr(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365},set:function(t,e,r){return t.setUTCMonth(0,e),t.setUTCHours(0,0,0,0),t}},E:{priority:90,parse:function(t,e,r,n){switch(e){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,r){return e>=0&&e<=6},set:function(t,e,r){return(t=Ve(t,e,r)).setUTCHours(0,0,0,0),t}},e:{priority:90,parse:function(t,e,r,n){var o=function(t){var e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return kr(e.length,t,o);case"eo":return r.ordinalNumber(t,{unit:"day",valueCallback:o});case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,r){return e>=0&&e<=6},set:function(t,e,r){return(t=Ve(t,e,r)).setUTCHours(0,0,0,0),t}},c:{priority:90,parse:function(t,e,r,n){var o=function(t){var e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return kr(e.length,t,o);case"co":return r.ordinalNumber(t,{unit:"day",valueCallback:o});case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,r){return e>=0&&e<=6},set:function(t,e,r){return(t=Ve(t,e,r)).setUTCHours(0,0,0,0),t}},i:{priority:90,parse:function(t,e,r,n){var o=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return kr(e.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return r.day(t,{width:"abbreviated",context:"formatting",valueCallback:o})||r.day(t,{width:"short",context:"formatting",valueCallback:o})||r.day(t,{width:"narrow",context:"formatting",valueCallback:o});case"iiiii":return r.day(t,{width:"narrow",context:"formatting",valueCallback:o});case"iiiiii":return r.day(t,{width:"short",context:"formatting",valueCallback:o})||r.day(t,{width:"narrow",context:"formatting",valueCallback:o});default:return r.day(t,{width:"wide",context:"formatting",valueCallback:o})||r.day(t,{width:"abbreviated",context:"formatting",valueCallback:o})||r.day(t,{width:"short",context:"formatting",valueCallback:o})||r.day(t,{width:"narrow",context:"formatting",valueCallback:o})}},validate:function(t,e,r){return e>=1&&e<=7},set:function(t,e,r){return t=function(t,e,r){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var n=$t(e);n%7==0&&(n-=7);var o=Kt(t,r),h=((n%7+7)%7<1?7:0)+n-o.getUTCDay();return o.setUTCDate(o.getUTCDate()+h),o}(t,e,r),t.setUTCHours(0,0,0,0),t}},a:{priority:80,parse:function(t,e,r,n){switch(e){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,r){return t.setUTCHours(Tr(e),0,0,0),t}},b:{priority:80,parse:function(t,e,r,n){switch(e){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,r){return t.setUTCHours(Tr(e),0,0,0),t}},B:{priority:80,parse:function(t,e,r,n){switch(e){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,r){return t.setUTCHours(Tr(e),0,0,0),t}},h:{priority:70,parse:function(t,e,r,n){switch(e){case"h":return Mr(nr,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return kr(e.length,t)}},validate:function(t,e,r){return e>=1&&e<=12},set:function(t,e,r){var n=t.getUTCHours()>=12;return n&&e<12?t.setUTCHours(e+12,0,0,0):n||12!==e?t.setUTCHours(e,0,0,0):t.setUTCHours(0,0,0,0),t}},H:{priority:70,parse:function(t,e,r,n){switch(e){case"H":return Mr(Xe,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return kr(e.length,t)}},validate:function(t,e,r){return e>=0&&e<=23},set:function(t,e,r){return t.setUTCHours(e,0,0,0),t}},K:{priority:70,parse:function(t,e,r,n){switch(e){case"K":return Mr(rr,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return kr(e.length,t)}},validate:function(t,e,r){return e>=0&&e<=11},set:function(t,e,r){return t.getUTCHours()>=12&&e<12?t.setUTCHours(e+12,0,0,0):t.setUTCHours(e,0,0,0),t}},k:{priority:70,parse:function(t,e,r,n){switch(e){case"k":return Mr(er,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return kr(e.length,t)}},validate:function(t,e,r){return e>=1&&e<=24},set:function(t,e,r){var n=e<=24?e%24:e;return t.setUTCHours(n,0,0,0),t}},m:{priority:60,parse:function(t,e,r,n){switch(e){case"m":return Mr(ir,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return kr(e.length,t)}},validate:function(t,e,r){return e>=0&&e<=59},set:function(t,e,r){return t.setUTCMinutes(e,0,0),t}},s:{priority:50,parse:function(t,e,r,n){switch(e){case"s":return Mr(or,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return kr(e.length,t)}},validate:function(t,e,r){return e>=0&&e<=59},set:function(t,e,r){return t.setUTCSeconds(e,0),t}},S:{priority:40,parse:function(t,e,r,n){return kr(e.length,t,function(t){return Math.floor(t*Math.pow(10,3-e.length))})},set:function(t,e,r){return t.setUTCMilliseconds(e),t}},X:{priority:20,parse:function(t,e,r,n){switch(e){case"X":return Ar(yr,t);case"XX":return Ar(gr,t);case"XXXX":return Ar(_r,t);case"XXXXX":return Ar(wr,t);default:return Ar(vr,t)}},set:function(t,e,r){return new Date(t.getTime()-e)}},x:{priority:20,parse:function(t,e,r,n){switch(e){case"x":return Ar(yr,t);case"xx":return Ar(gr,t);case"xxxx":return Ar(_r,t);case"xxxxx":return Ar(wr,t);default:return Ar(vr,t)}},set:function(t,e,r){return new Date(t.getTime()-e)}},t:{priority:10,parse:function(t,e,r,n){return Sr(t)},set:function(t,e,r){return new Date(1e3*e)}},T:{priority:10,parse:function(t,e,r,n){return Sr(t)},set:function(t,e,r){return new Date(e)}}},Or=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Pr=/^'(.*?)'?$/,Rr=/''/g,jr=/\S/;function Ir(t){var e=new Date(0);return e.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),e.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),e}function Nr(input){return input.match(Pr)[1].replace(Rr,"'")}function Br(t,e){if("string"!=typeof t)return oe(t)?t:null;var r=function(t,e,r,n){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var o=String(t),h=String(e),c=n||{},l=c.locale||me;if(!l.match)throw new RangeError("locale must contain match property");var d=l.options&&l.options.firstWeekContainsDate,f=null==d?1:$t(d),m=null==c.firstWeekContainsDate?f:$t(c.firstWeekContainsDate);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=l.options&&l.options.weekStartsOn,_=null==y?0:$t(y),v=null==c.weekStartsOn?_:$t(c.weekStartsOn);if(!(v>=0&&v<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===h)return""===o?Kt(r,c):new Date(NaN);var i,w={firstWeekContainsDate:m,weekStartsOn:v,locale:l},M=[{priority:20,set:Ir,index:0}],A=h.match(Or);for(i=0;i0&&jr.test(o))return new Date(NaN);var x=M.map(function(t){return t.priority}).sort(function(a,b){return b-a}).filter(function(t,e,r){return r.indexOf(t)===e}).map(function(t){return M.filter(function(e){return e.priority===t}).reverse()}).map(function(t){return t[0]}),E=Kt(r,c);if(isNaN(E))return new Date(NaN);var D=je(E,Wt(E));for(i=0;i=t},en={validate:tn,paramNames:["min","max"]},rn={validate:function(t,e){var r=e.targetValue;return String(t)===String(r)},options:{hasTarget:!0},paramNames:["targetValue"]};function nn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function on(t,e){return t(e={exports:{}},e.exports),e.exports}var an=on(function(t,e){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(input){if(!("string"==typeof input||input instanceof String)){var t;throw t=null===input?"null":"object"===(t=r(input))&&input.constructor&&input.constructor.hasOwnProperty("name")?input.constructor.name:"a ".concat(t),new TypeError("Expected string but received ".concat(t,"."))}},t.exports=e.default,t.exports.default=e.default});nn(an);var sn=on(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,r.default)(t);var e=t.replace(/[- ]+/g,"");if(!n.test(e))return!1;for(var o,h,c,l=0,i=e.length-1;i>=0;i--)o=e.substring(i,i+1),h=parseInt(o,10),l+=c&&(h*=2)>=10?h%10+1:h,c=!c;return!(l%10!=0||!e)};var r=function(t){return t&&t.__esModule?t:{default:t}}(an);var n=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;t.exports=e.default,t.exports.default=e.default}),un=nn(sn),hn={validate:function(t){return un(String(t))}},cn={validate:function(t,e){void 0===e&&(e={});var r=e.min,n=e.max,o=e.inclusivity;void 0===o&&(o="()");var h=e.format;void 0===h&&(h=o,o="()");var c=Br(String(r),h),l=Br(String(n),h),d=Br(String(t),h);return!!(c&&l&&d)&&("()"===o?$e(d,c)&&We(d,l):"(]"===o?$e(d,c)&&(Ge(d,l)||We(d,l)):"[)"===o?We(d,l)&&(Ge(d,c)||$e(d,c)):Ge(d,l)||Ge(d,c)||We(d,l)&&$e(d,c))},options:{isDate:!0},paramNames:["min","max","inclusivity","format"]},ln={validate:function(t,e){return!!Br(t,e.format)},options:{isDate:!0},paramNames:["format"]},dn=function(t,e){void 0===e&&(e={});var r=e.decimals;void 0===r&&(r="*");var n=e.separator;if(void 0===n&&(n="."),l(t)||""===t)return!1;if(Array.isArray(t))return t.every(function(t){return dn(t,{decimals:r,separator:n})});if(0===Number(r))return/^-?\d*$/.test(t);if(!new RegExp("^[-+]?\\d*(\\"+n+"\\d"+("*"===r?"+":"{1,"+r+"}")+")?([eE]{1}[-]?\\d+)?$").test(t))return!1;var o=parseFloat(t);return o==o},fn={validate:dn,paramNames:["decimals","separator"]},pn=function(t,e){var r=e[0];if(Array.isArray(t))return t.every(function(t){return pn(t,[r])});var n=String(t);return/^[0-9]*$/.test(n)&&n.length===Number(r)},mn={validate:pn},yn=/\.(jpg|svg|jpeg|png|bmp|gif)$/i,gn={validate:function(t,e){var r=e[0],n=e[1],o=x(t).filter(function(t){return yn.test(t.name)});return 0!==o.length&&Promise.all(o.map(function(image){return function(t,e,r){var n=window.URL||window.webkitURL;return new Promise(function(o){var image=new Image;image.onerror=function(){return o({valid:!1})},image.onload=function(){return o({valid:image.width===Number(e)&&image.height===Number(r)})},image.src=n.createObjectURL(t)})}(image,r,n)}))}},_n=on(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;for(var r in e)void 0===t[r]&&(t[r]=e[r]);return t},t.exports=e.default,t.exports.default=e.default});nn(_n);var vn=on(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var o,h;(0,r.default)(t),"object"===n(e)?(o=e.min||0,h=e.max):(o=arguments[1],h=arguments[2]);var c=encodeURI(t).split(/%..|./).length-1;return c>=o&&(void 0===h||c<=h)};var r=function(t){return t&&t.__esModule?t:{default:t}}(an);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}t.exports=e.default,t.exports.default=e.default});nn(vn);var bn=on(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,r.default)(t),e=(0,n.default)(e,h),e.allow_trailing_dot&&"."===t[t.length-1]&&(t=t.substring(0,t.length-1));for(var o=t.split("."),i=0;i63)return!1;if(e.require_tld){var c=o.pop();if(!o.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(c))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(c))return!1}for(var l,d=0;d1&&void 0!==arguments[1]?arguments[1]:"";if((0,r.default)(e),!(h=String(h)))return t(e,4)||t(e,6);if("4"===h)return!!n.test(e)&&e.split(".").sort(function(a,b){return a-b})[3]<=255;if("6"===h){var c=e.split(":"),l=!1,d=t(c[c.length-1],4),f=d?7:8;if(c.length>f)return!1;if("::"===e)return!0;"::"===e.substr(0,2)?(c.shift(),c.shift(),l=!0):"::"===e.substr(e.length-2)&&(c.pop(),c.pop(),l=!0);for(var i=0;i0&&i=1:c.length===f}return!1};var r=function(t){return t&&t.__esModule?t:{default:t}}(an);var n=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,o=/^[0-9A-F]{1,4}$/i;t.exports=e.default,t.exports.default=e.default}),An=nn(Mn),Sn=on(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,r.default)(t),e=(0,n.default)(e,d),e.require_display_name||e.allow_display_name){var l=t.match(f);if(l)t=l[1];else if(e.require_display_name)return!1}var M=t.split("@"),A=M.pop(),S=M.join("@"),k=A.toLowerCase();if(e.domain_specific_validation&&("gmail.com"===k||"googlemail.com"===k)){var L=(S=S.toLowerCase()).split("+")[0];if(!(0,o.default)(L.replace(".",""),{min:6,max:30}))return!1;for(var T=L.split("."),i=0;i$/i,m=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,y=/^[a-z\d]+$/,_=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,v=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,w=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;t.exports=e.default,t.exports.default=e.default}),kn=nn(Sn);var Ln={validate:function(t,e){void 0===e&&(e={});var r=e.multiple;void 0===r&&(r=!1);var n=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===e.indexOf(n)&&(r[n]=t[n]);return r}(e,["multiple"]),o=n;r&&!Array.isArray(t)&&(t=String(t).split(",").map(function(t){return t.trim()}));var h=E({},o);return Array.isArray(t)?t.every(function(t){return kn(String(t),h)}):kn(String(t),h)}},Tn=function(t,e){return Array.isArray(t)?t.every(function(t){return Tn(t,e)}):T(e).some(function(e){return e==t})},xn={validate:Tn},En={validate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return!Tn.apply(void 0,t)}},Dn={validate:function(t,e){var r=new RegExp(".("+e.join("|")+")$","i");return x(t).every(function(t){return r.test(t.name)})}},image={validate:function(t){return(Array.isArray(t)?t:[t]).every(function(t){return/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(t.name)})}},Yn={validate:function(t){return Array.isArray(t)?t.every(function(t){return/^-?[0-9]+$/.test(String(t))}):/^-?[0-9]+$/.test(String(t))}},Cn={validate:function(t,e){void 0===e&&(e={});var r=e.version;return void 0===r&&(r=4),l(t)&&(t=""),Array.isArray(t)?t.every(function(t){return An(t,r)}):An(t,r)},paramNames:["version"]},On={validate:function(t){return l(t)&&(t=""),Array.isArray(t)?t.every(function(t){return An(t,"")||wn(t)}):An(t,"")||wn(t)}},Pn={validate:function(t,e){return void 0===e&&(e=[]),t===e[0]}},Rn={validate:function(t,e){return void 0===e&&(e=[]),t!==e[0]}},jn={validate:function(t,e){var r=e[0],n=e[1];return void 0===n&&(n=void 0),!l(t)&&(r=Number(r),"number"==typeof t&&(t=String(t)),t.length||(t=T(t)),function(t,e,r){return void 0===r?t.length===e:(r=Number(r),t.length>=e&&t.length<=r)}(t,r,n))}},In=function(t,e){var r=e[0];return l(t)?r>=0:Array.isArray(t)?t.every(function(t){return In(t,[r])}):String(t).length<=r},Nn={validate:In},Bn=function(t,e){var r=e[0];return!l(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every(function(t){return Bn(t,[r])}):Number(t)<=r)},Hn={validate:Bn},Fn={validate:function(t,e){var r=new RegExp(e.join("|").replace("*",".+")+"$","i");return x(t).every(function(t){return r.test(t.type)})}},Un=function(t,e){var r=e[0];return!l(t)&&(Array.isArray(t)?t.every(function(t){return Un(t,[r])}):String(t).length>=r)},zn={validate:Un},qn=function(t,e){var r=e[0];return!l(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every(function(t){return qn(t,[r])}):Number(t)>=r)},$n={validate:qn},Wn=/^[٠١٢٣٤٥٦٧٨٩]+$/,Gn=/^[0-9]+$/,Vn={validate:function(t){var e=function(t){var e=String(t);return Gn.test(e)||Wn.test(e)};return Array.isArray(t)?t.every(e):e(t)}},Zn=function(t,e){var r=e.expression;return"string"==typeof r&&(r=new RegExp(r)),Array.isArray(t)?t.every(function(t){return Zn(t,{expression:r})}):r.test(String(t))},Kn={validate:Zn,paramNames:["expression"]},Jn={validate:function(t,e){void 0===e&&(e=[]);var r=e[0];return void 0===r&&(r=!1),!l(t)&&!H(t)&&((!1!==t||!r)&&!!String(t).trim().length)}},Qn={validate:function(t,e){void 0===e&&(e=[]);var r=e[0],n=e.slice(1).includes(String(r).trim());if(!n)return{valid:!0,data:{required:n}};var o=H(t)||[!1,null,void 0].includes(t);return{valid:!(o=o||!String(t).trim().length),data:{required:n}}},options:{hasTarget:!0,computesRequired:!0}},Xn={validate:function(t,e){var r=e[0];if(isNaN(r))return!1;var n=1024*Number(r);return x(t).every(function(t){return t.size<=n})}},ti=on(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,r.default)(t),!t||t.length>=2083||/[\s<>]/.test(t))return!1;if(0===t.indexOf("mailto:"))return!1;var c,f,y,_,v,w,M,A;if(e=(0,h.default)(e,l),M=t.split("#"),t=M.shift(),M=t.split("?"),t=M.shift(),M=t.split("://"),M.length>1){if(c=M.shift().toLowerCase(),e.require_valid_protocol&&-1===e.protocols.indexOf(c))return!1}else{if(e.require_protocol)return!1;if("//"===t.substr(0,2)){if(!e.allow_protocol_relative_urls)return!1;M[0]=t.substr(2)}}if(t=M.join("://"),""===t)return!1;if(M=t.split("/"),t=M.shift(),""===t&&!e.require_host)return!0;if(M=t.split("@"),M.length>1){if(e.disallow_auth)return!1;if((f=M.shift()).indexOf(":")>=0&&f.split(":").length>2)return!1}_=M.join("@"),w=null,A=null;var S=_.match(d);S?(y="",A=S[1],w=S[2]||null):(y=(M=_.split(":")).shift(),M.length&&(w=M.join(":")));if(null!==w&&(v=parseInt(w,10),!/^[0-9]+$/.test(w)||v<=0||v>65535))return!1;if(!((0,o.default)(y)||(0,n.default)(y,e)||A&&(0,o.default)(A,6)))return!1;if(y=y||A,e.host_whitelist&&!m(y,e.host_whitelist))return!1;if(e.host_blacklist&&m(y,e.host_blacklist))return!1;return!0};var r=c(an),n=c(bn),o=c(Mn),h=c(_n);function c(t){return t&&t.__esModule?t:{default:t}}var l={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},d=/^\[([^\]]+)\](?::([0-9]+))?$/;function f(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function m(t,e){for(var i=0;i0&&this.syncValue(e[0]),this.validateSilent().then(function(e){return t.applyResult(e),e})},validateSilent:function(){var t,e,r=this;return this.setFlags({pending:!0}),ai.verify(this.value,this.rules,{name:this.name,values:(t=this,e=t.$_veeObserver.refs,t.fieldDeps.reduce(function(t,r){return e[r]?(t[r]=e[r].value,t):t},{})),bails:this.bails}).then(function(t){return r.setFlags({pending:!1}),r.isRequired||r.setFlags({valid:t.valid,invalid:!t.valid}),t})},applyResult:function(t){var e=t.errors,r=t.failedRules;this.messages=e,this.failedRules=E({},r),this.setFlags({valid:!e.length,changed:this.value!==this.initialValue,invalid:!!e.length,validated:!0})},registerField:function(){ai||(ai=kt()||new Et(null,{fastExit:Q().fastExit})),function(t){l(t.id)&&t.id===t.vid&&(t.id=si,si++);var e=t.id,r=t.vid;if(t.isDeactivated||e===r&&t.$_veeObserver.refs[e])return;e!==r&&t.$_veeObserver.refs[e]===t&&t.$_veeObserver.unsubscribe({vid:e});t.$_veeObserver.subscribe(t),t.id=r}(this)}}};function hi(t){return{errors:t.messages,flags:t.flags,classes:t.classes,valid:t.isValid,failedRules:t.failedRules,reset:function(){return t.reset()},validate:function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return t.validate.apply(t,e)},aria:{"aria-invalid":t.flags.invalid?"true":"false","aria-required":t.isRequired?"true":"false"}}}function ci(t){return(S(t.mode)?t.mode:Nt[t.mode])({errors:t.messages,value:t.value,flags:t.flags})}function di(t){this.initialized||(this.initialValue=t.value);var e=function(t,e){return!(t._ignoreImmediate||!t.immediate)||t.value!==e.value||!!t._needsValidation||!t.initialized&&void 0===e.value}(this,t);this._needsValidation=!1,this.value=t.value,this._ignoreImmediate=!0,e&&this.validateSilent().then(this.immediate||this.flags.validated?this.applyResult:function(t){return t})}function fi(t){var e=t.$veeHandler,r=ci(t);return e&&t.$veeDebounce===t.debounce||(e=y(function(){t.$nextTick(function(){var e=t.validateSilent();t._pendingValidation=e,e.then(function(r){e===t._pendingValidation&&(t.applyResult(r),t._pendingValidation=null)})})},r.debounce||t.debounce),t.$veeHandler=e,t.$veeDebounce=t.debounce),{onInput:function(e){t.syncValue(e),t.setFlags({dirty:!0,pristine:!1})},onBlur:function(){t.setFlags({touched:!0,untouched:!1})},onValidate:e}}function pi(t){var e=tt(t);this._inputEventName=this._inputEventName||at(t,e),di.call(this,e);var r=fi(this),n=r.onInput,o=r.onBlur,h=r.onValidate;ot(t,this._inputEventName,n),ot(t,"blur",o),this.normalizedEvents.forEach(function(e){ot(t,e,h)}),this.initialized=!0}function mi(t,e,r){void 0===r&&(r=!0);var n=t.$_veeObserver.refs;if(t._veeWatchers||(t._veeWatchers={}),!n[e]&&r)return t.$once("hook:mounted",function(){mi(t,e,!1)});!S(t._veeWatchers[e])&&n[e]&&(t._veeWatchers[e]=n[e].$watch("value",function(){t.flags.validated&&(t._needsValidation=!0,t.validate())}))}var yi={pristine:"every",dirty:"some",touched:"some",untouched:"every",valid:"every",invalid:"some",pending:"some",validated:"every"};var gi=0,_i={name:"ValidationObserver",provide:function(){return{$_veeObserver:this}},inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver?this.$vnode.context.$_veeObserver:null}}},props:{tag:{type:String,default:"span"},slim:{type:Boolean,default:!1}},data:function(){return{vid:"obs_"+gi++,refs:{},observers:[],persistedStore:{}}},computed:{ctx:function(){var t=this,e={errors:{},validate:function(e){var r=t.validate(e);return{then:function(t){return r.then(function(e){return e&&S(t)?Promise.resolve(t()):Promise.resolve(e)})}}},reset:function(){return t.reset()}};return N(this.refs).concat(Object.keys(this.persistedStore).map(function(e){return{vid:e,flags:t.persistedStore[e].flags,messages:t.persistedStore[e].errors}}),this.observers).reduce(function(t,e){return Object.keys(yi).forEach(function(r){var n,o,h=e.flags||e.ctx;r in t?t[r]=(n=t[r],o=h[r],[n,o][yi[r]](function(t){return t})):t[r]=h[r]}),t.errors[e.vid]=e.messages||N(e.ctx.errors).reduce(function(t,e){return t.concat(e)},[]),t},e)}},created:function(){this.$_veeObserver&&this.$_veeObserver.subscribe(this,"observer")},activated:function(){this.$_veeObserver&&this.$_veeObserver.subscribe(this,"observer")},deactivated:function(){this.$_veeObserver&&this.$_veeObserver.unsubscribe(this,"observer")},beforeDestroy:function(){this.$_veeObserver&&this.$_veeObserver.unsubscribe(this,"observer")},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[];return S(e)&&(e=e(this.ctx)),this.slim?st(t,e):t(this.tag,{on:this.$listeners,attrs:this.$attrs},e)},methods:{subscribe:function(t,e){var r;void 0===e&&(e="provider"),"observer"!==e?(this.refs=Object.assign({},this.refs,((r={})[t.vid]=t,r)),t.persist&&this.persistedStore[t.vid]&&this.restoreProviderState(t)):this.observers.push(t)},unsubscribe:function(t,e){var r=t.vid;void 0===e&&(e="provider"),"provider"===e&&this.removeProvider(r);var n=C(this.observers,function(t){return t.vid===r});-1!==n&&this.observers.splice(n,1)},validate:function(t){void 0===t&&(t={silent:!1});var e=t.silent;return Promise.all(N(this.refs).map(function(t){return t[e?"validateSilent":"validate"]().then(function(t){return t.valid})}).concat(this.observers.map(function(t){return t.validate({silent:e})}))).then(function(t){return t.every(function(t){return t})})},reset:function(){var t=this;return Object.keys(this.persistedStore).forEach(function(e){t.$delete(t.persistedStore,e)}),N(this.refs).concat(this.observers).forEach(function(t){return t.reset()})},restoreProviderState:function(t){var e=this.persistedStore[t.vid];t.setFlags(e.flags),t.applyResult(e),this.$delete(this.persistedStore,t.vid)},removeProvider:function(t){var e,r=this.refs[t];r&&r.persist&&(this.persistedStore=E({},this.persistedStore,((e={})[t]={flags:r.flags,errors:r.messages,failedRules:r.failedRules},e))),this.$delete(this.refs,t)}}};Object.keys(ni).forEach(function(t){Et.extend(t,ni[t].validate,E({},ni[t].options,{paramNames:ni[t].paramNames}))}),Et.localize({en:qt});Bt.version="2.2.15",Bt.mapFields=function(t){if(!t)return function(){return oi(this.$validator.flags)};var e=function(t){return Array.isArray(t)?t.reduce(function(t,e){return B(e,".")?t[e.split(".")[1]]=e:t[e]=e,t},{}):t}(t);return Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=function(){if(this.$validator.flags[n])return this.$validator.flags[n];if("*"===e[r])return oi(this.$validator.flags,!1);if(n.indexOf(".")<=0)return{};var t=n.split("."),o=t[0],h=t.slice(1);return o=this.$validator.flags["$"+o],"*"===(h=h.join("."))&&o?oi(o):o&&o[h]?o[h]:{}},t},{})},Bt.ValidationProvider=ui,Bt.ValidationObserver=_i,Bt.withValidation=function(component,t){void 0===t&&(t=null);var e=S(component)?component.options:component;e.$__veeInject=!1;var r={name:(e.name||"AnonymousHoc")+"WithValidation",props:E({},ui.props),data:ui.data,computed:E({},ui.computed),methods:E({},ui.methods),$__veeInject:!1,beforeDestroy:ui.beforeDestroy,inject:ui.inject};t||(t=function(t){return t});var n=e.model&&e.model.event||"input";return r.render=function(r){var o;this.registerField();var h=hi(this),c=E({},this.$listeners),l=tt(this.$vnode);this._inputEventName=this._inputEventName||at(this.$vnode,l),di.call(this,l);var d=fi(this),f=d.onInput,m=d.onBlur,y=d.onValidate;it(c,n,f),it(c,"blur",m),this.normalizedEvents.forEach(function(t,e){it(c,t,y)});var _,v,w=(nt(this.$vnode)||{prop:"value"}).prop,M=E({},this.$attrs,((o={})[w]=l.value,o),t(h));return r(e,{attrs:this.$attrs,props:M,on:c},(_=this.$slots,v=this.$vnode.context,Object.keys(_).reduce(function(t,e){return _[e].forEach(function(t){t.context||(_[e].context=v,t.data||(t.data={}),t.data.slot=e)}),t.concat(_[e])},[])))},r},e.a=Bt},function(t,e,r){(function(e){t.exports=function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(object,t){return Object.prototype.hasOwnProperty.call(object,t)},e.p="",e(e.s=19)}([function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e){var r=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=r)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(23),o=r(28);t.exports=r(4)?function(object,t,e){return n.f(object,t,o(1,e))}:function(object,t,e){return object[t]=e,object}},function(t,e,r){t.exports=!r(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(0),o=r(1),h=r(3),c=r(29),l=r(8),d=function(t,e,source){var r,f,m,y,_=t&d.F,v=t&d.G,w=t&d.S,M=t&d.P,A=t&d.B,S=v?n:w?n[e]||(n[e]={}):(n[e]||{}).prototype,k=v?o:o[e]||(o[e]={}),L=k.prototype||(k.prototype={});for(r in v&&(source=e),source)m=((f=!_&&S&&void 0!==S[r])?S:source)[r],y=A&&f?l(m,n):M&&"function"==typeof m?l(Function.call,m):m,S&&c(S,r,m,t&d.U),k[r]!=m&&h(k,r,y),M&&L[r]!=m&&(L[r]=m)};n.core=o,d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,t.exports=d},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(31);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(a){return t.call(e,a)};case 2:return function(a,b){return t.call(e,a,b)};case 3:return function(a,b,r){return t.call(e,a,b,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(10);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(13),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(15)("unscopables"),o=Array.prototype;null==o[n]&&r(3)(o,n,{}),t.exports=function(t){o[n][t]=!0}},function(t,e,r){var n=r(35)("wks"),o=r(7),h=r(0).Symbol,c="function"==typeof h;(t.exports=function(t){return n[t]||(n[t]=c&&h[t]||(c?h:o)("Symbol."+t))}).store=n},function(t,e){t.exports=function(t,e,r,n,o){var h,c=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(h=t,c=t.default);var d,f="function"==typeof c?c.options:c;if(e&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns),n&&(f._scopeId=n),o?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},f._ssrRegister=d):r&&(d=r),d){var m=f.functional,y=m?f.render:f.beforeCreate;m?f.render=function(t,e){return d.call(e),y(t,e)}:f.beforeCreate=y?[].concat(y,d):[d]}return{esModule:h,exports:c,options:f}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:void 0}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t.reduce(function(t,e){return(t[e]=e)&&t},{})};e.events=n(["drag","dragend","dragenter","dragleave","dragstart","dragover","drop"]),e.dropEffects=n(["copy","move","link","none"]),e.effectsAllowed=n(["none","copy","copyLink","copyMove","link","linkMove","move","all","uninitialized"])},function(t,e,r){r(20),t.exports=r(43)},function(t,e,r){"use strict";r(21),r(36)},function(t,e,r){r(22),t.exports=r(1).Array.includes},function(t,e,r){"use strict";var n=r(5),o=r(32)(!0);n(n.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),r(14)("includes")},function(t,e,r){var n=r(24),o=r(25),h=r(27),c=Object.defineProperty;e.f=r(4)?Object.defineProperty:function(t,e,r){if(n(t),e=h(e,!0),n(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(2);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){t.exports=!r(4)&&!r(6)(function(){return 7!=Object.defineProperty(r(26)("div"),"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(2),o=r(0).document,h=n(o)&&n(o.createElement);t.exports=function(t){return h?o.createElement(t):{}}},function(t,e,r){var n=r(2);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(0),o=r(3),h=r(30),c=r(7)("src"),l=Function.toString,d=(""+l).split("toString");r(1).inspectSource=function(t){return l.call(t)},(t.exports=function(t,e,r,l){var f="function"==typeof r;f&&(h(r,"name")||o(r,"name",e)),t[e]!==r&&(f&&(h(r,c)||o(r,c,t[e]?""+t[e]:d.join(String(e)))),t===n?t[e]=r:l?t[e]?t[e]=r:o(t,e,r):(delete t[e],o(t,e,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[c]||l.call(this)})},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){var n=r(33),o=r(12),h=r(34);t.exports=function(t){return function(e,r,c){var l,d=n(e),f=o(d.length),m=h(c,f);if(t&&r!=r){for(;f>m;)if((l=d[m++])!=l)return!0}else for(;f>m;m++)if((t||m in d)&&d[m]===r)return t||m||0;return!t&&-1}}},function(t,e,r){var n=r(9),o=r(11);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(13),o=Math.max,h=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):h(t,e)}},function(t,e,r){var n=r(0),o=n["__core-js_shared__"]||(n["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,r){r(37),t.exports=r(1).Array.find},function(t,e,r){"use strict";var n=r(5),o=r(38)(5),h=!0;"find"in[]&&Array(1).find(function(){h=!1}),n(n.P+n.F*h,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),r(14)("find")},function(t,e,r){var n=r(8),o=r(9),h=r(39),c=r(12),l=r(40);t.exports=function(t,e){var r=1==t,d=2==t,f=3==t,m=4==t,y=6==t,_=5==t||y,v=e||l;return function(e,l,w){for(var M,A,S=h(e),k=o(S),L=n(l,w,3),T=c(k.length),x=0,E=r?v(e,T):d?v(e,0):void 0;T>x;x++)if((_||x in k)&&(A=L(M=k[x],x,S),t))if(r)E[x]=A;else if(A)switch(t){case 3:return!0;case 5:return M;case 6:return x;case 2:E.push(M)}else if(m)return!1;return y?-1:f||m?m:E}}},function(t,e,r){var n=r(11);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(41);t.exports=function(t,e){return new(n(t))(e)}},function(t,e,r){var n=r(2),o=r(42),h=r(15)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),n(e)&&null===(e=e[h])&&(e=void 0)),void 0===e?Array:e}},function(t,e,r){var n=r(10);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,r,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function h(t){t.component("drag",c.default),t.component("drop",l.default)}Object.defineProperty(r,"__esModule",{value:!0}),r.Drop=r.Drag=void 0,r.install=h;var c=o(n(44)),l=o(n(47));r.Drag=c.default,r.Drop=l.default;var d={version:"1.1.4",install:h};r.default=d;var f=null;"undefined"!=typeof window?f=window.Vue:void 0!==e&&(f=e.Vue),f&&f.use(d)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(45),o=r.n(n),h=r(46),c=r(16)(o.a,h.a,null,null,"319bdce9");e.default=c.exports},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,o=r(17),h=(n=o)&&n.__esModule?n:{default:n},c=r(18);e.default={props:{draggable:{type:Boolean,default:!0},transferData:{},dropEffect:{validator:function(t){return t in c.dropEffects}},effectAllowed:{validator:function(t){return t in c.effectsAllowed}},image:String,imageXOffset:{type:Number,default:0},imageYOffset:{type:Number,default:0},hideImageHtml:{type:Boolean,default:!0},tag:{type:String,default:"div"}},data:function(){return{dragging:!1}},computed:{events:function(){return c.events},scopedData:function(){return this.dragging&&this.transferData},hideImageStyle:function(){return{position:"fixed",top:"-1000px"}}},methods:{emitEvent:function(t,e){var r=e.dataTransfer;if([c.events.dragenter,c.events.dragover].includes(t)&&this.dropEffect&&(r.dropEffect=this.dropEffect),t===c.events.dragstart){if(this.effectAllowed&&(r.effectAllowed=this.effectAllowed),this.image||this.$slots.image){var image=void 0;this.image?(image=new Image).src=this.image:this.$slots.image&&(image=this.$slots.image[0].elm),r.setDragImage&&r.setDragImage(image,this.imageXOffset,this.imageYOffset)}void 0!==this.transferData&&(h.default.data=this.transferData,e.dataTransfer.setData("text","")),this.dragging=!0}this.$emit(t,this.transferData,e),t===c.events.dragend&&(h.default.data=void 0,this.dragging=!1)}}}},function(t,e,r){"use strict";var n={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r(t.tag,{tag:"component",attrs:{draggable:t.draggable},on:{drag:function(e){t.emitEvent(t.events.drag,e)},dragstart:function(e){t.emitEvent(t.events.dragstart,e)},dragenter:function(e){t.emitEvent(t.events.dragenter,e)},dragleave:function(e){t.emitEvent(t.events.dragleave,e)},dragend:function(e){t.emitEvent(t.events.dragend,e)}}},[t._t("default",null,{transferData:t.scopedData}),t._v(" "),t.hideImageHtml?r("div",{style:t.hideImageStyle},[t._t("image",null,{transferData:t.scopedData})],2):t._t("image",null,{transferData:t.scopedData})],2)},staticRenderFns:[]};e.a=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(48),o=r.n(n),h=r(49),c=r(16)(o.a,h.a,null,null,"49fe8924");e.default=c.exports},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,o=r(17),h=(n=o)&&n.__esModule?n:{default:n},c=r(18),l=new Set;e.default={data:function(){return{transferData:void 0,isDraggingOver:!1}},props:{tag:{type:String,default:"div"}},computed:{events:function(){return c.events},scopedData:function(){return this.isDraggingOver&&this.transferData}},methods:{emitEvent:function(t,e){this.transferData=h.default.data,this.$emit(t,this.transferData,e),t===c.events.dragenter&&(l.size||e.target===this.$el)&&l.add(e.target),t===c.events.dragleave&&l.delete(e.target),t===c.events.drop&&l.clear(),this.isDraggingOver=Boolean(l.size)}}}},function(t,e,r){"use strict";var n={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.tag,{tag:"component",on:{dragenter:function(e){t.emitEvent(t.events.dragenter,e)},dragleave:function(e){t.emitEvent(t.events.dragleave,e)},dragover:function(e){e.preventDefault(),t.emitEvent(t.events.dragover,e)},drop:function(e){e.preventDefault(),t.emitEvent(t.events.drop,e)}}},[t._t("default",null,{transferData:t.scopedData})],2)},staticRenderFns:[]};e.a=n}])}).call(this,r(27))},function(t,e,r){"use strict";var n=r(3),o=r(7);const h=window.__NUXT__;function c(){if(!this._hydrated)return this.$fetch()}function l(){if(!((t=this).$vnode&&t.$vnode.elm&&t.$vnode.elm.dataset&&t.$vnode.elm.dataset.fetchKey))return;var t;this._hydrated=!0,this._fetchKey=this.$vnode.elm.dataset.fetchKey;const data=h.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(const t in data)n.default.set(this.$data,t,data[t])}function d(){return this._fetchPromise||(this._fetchPromise=f.call(this).then(()=>{delete this._fetchPromise})),this._fetchPromise}async function f(){this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1;let t=null;const e=Date.now();try{await this.$options.fetch.call(this)}catch(e){0,t=Object(o.p)(e)}const r=this._fetchDelay-(Date.now()-e);r>0&&await new Promise(t=>setTimeout(t,r)),this.$fetchState.error=t,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick(()=>this.$nuxt.nbFetching--)}e.a={beforeCreate(){Object(o.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,n.default.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=d.bind(this),Object(o.a)(this,"created",l),Object(o.a)(this,"beforeMount",c))}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){(function(t){t.installComponents=function(component,t){var r="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(r.components=component.exports.options.components),r.components=r.components||{},t)r.components[i]=r.components[i]||t[i];r.functional&&function(component,t){if(component.exports[e])return;component.exports[e]=!0;var r=component.exports.render;component.exports.render=function(e,n){return r(e,Object.assign({},n,{_c:function(e,a,b){return n._c(t[e]||e,a,b)}}))}}(component,r.components)};var e="_functionalComponents"}).call(this,r(27))},function(t,e,r){"use strict";r.r(e),function(t){r(14);var e=r(3),n=r(524),o=r(83),h=r(7),c=r(73),l=r(540),d=r(176);e.default.__nuxt__fetch__mixin__||(e.default.mixin(l.a),e.default.__nuxt__fetch__mixin__=!0),e.default.component(d.a.name,d.a),e.default.component("NLink",d.a),t.fetch||(t.fetch=n.a);let f,m,y,_=[];const v=window.__NUXT__||{},w=v.config||{};w._app&&(r.p=Object(h.v)(w._app.cdnURL,w._app.assetsPath)),Object.assign(e.default.config,{silent:!0,performance:!1});const M=e.default.config.errorHandler||console.error;function A(t,e,r){const n=component=>{const t=function(component,t,...e){if(!component||!component.options||!component.options[t])return{};const option=component.options[t];return"function"==typeof option?option(...e):option}(component,"transition",e,r)||{};return"string"==typeof t?{name:t}:t},o=r?Object(h.g)(r):[],c=Math.max(t.length,o.length),l=[];for(let i=0;ivoid 0!==e[t]&&!t.toLowerCase().includes("leave")).forEach(t=>{r[t]=e[t]}),l.push(r)}return l}async function S(t,e,r){this._routeChanged=Boolean(f.nuxt.err)||e.name!==t.name,this._paramChanged=!this._routeChanged&&e.path!==t.path,this._queryChanged=!this._paramChanged&&e.fullPath!==t.fullPath,this._diffQuery=this._queryChanged?Object(h.i)(t.query,e.query):[],(this._routeChanged||this._paramChanged)&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();try{if(this._queryChanged){const r=await Object(h.r)(t,(t,e)=>({Component:t,instance:e}));r.some(({Component:r,instance:n})=>{const o=r.options.watchQuery;return!0===o||(Array.isArray(o)?o.some(t=>this._diffQuery[t]):"function"==typeof o&&o.apply(n,[t.query,e.query]))})&&this.$loading.start&&!this.$loading.manual&&this.$loading.start()}r()}catch(n){const o=n||{},h=o.statusCode||o.status||o.response&&o.response.status||500,c=o.message||"";if(/^Loading( CSS)? chunk (\d)+ failed\./.test(c))return void window.location.reload(!0);this.error({statusCode:h,message:c}),this.$nuxt.$emit("routeChanged",t,e,o),r()}}function k(t,e,r,n){let c=["nuxti18n"],l=!1;if(void 0!==r&&(c=[],(r=Object(h.s)(r)).options.middleware&&(c=c.concat(r.options.middleware)),t.forEach(t=>{t.options.middleware&&(c=c.concat(t.options.middleware))})),c=c.map(t=>"function"==typeof t?t:("function"!=typeof o.a[t]&&(l=!0,this.error({statusCode:500,message:"Unknown middleware "+t})),o.a[t])),!l)return Object(h.o)(c,e,n)}async function L(t,e,r,n){if(!1===this._routeChanged&&!1===this._paramChanged&&!1===this._queryChanged)return r();let o=!1;if(t===e)_=[],o=!0;else{const t=[];_=Object(h.g)(e,t).map((r,i)=>Object(h.c)(e.matched[t[i]].path)(e.params))}let l=!1;await Object(h.t)(f,{route:t,from:e,error:t=>{n.aborted||f.nuxt.error.call(this,t)},next:(path=>{e.path===path.path&&this.$loading.finish&&this.$loading.finish(),e.path!==path.path&&this.$loading.pause&&this.$loading.pause(),l||(l=!0,r(path))}).bind(this)}),this._dateLastError=f.nuxt.dateErr,this._hadError=Boolean(f.nuxt.err);const d=[],m=Object(h.g)(t,d);if(!m.length){if(await k.call(this,m,f.context,void 0,n),l)return;if(n.aborted)return void r(!1);const t=(c.a.options||c.a).layout,e=await this.loadLayout("function"==typeof t?t.call(c.a,f.context):t);if(await k.call(this,m,f.context,e,n),l)return;return n.aborted?void r(!1):(f.context.error({statusCode:404,message:"This page could not be found"}),r())}m.forEach(t=>{t._Ctor&&t._Ctor.options&&(t.options.asyncData=t._Ctor.options.asyncData,t.options.fetch=t._Ctor.options.fetch)}),this.setTransitions(A(m,t,e));try{if(await k.call(this,m,f.context,void 0,n),l)return;if(n.aborted)return void r(!1);if(f.context._errored)return r();let o=m[0].options.layout;if("function"==typeof o&&(o=o(f.context)),o=await this.loadLayout(o),await k.call(this,m,f.context,o,n),l)return;if(n.aborted)return void r(!1);if(f.context._errored)return r();let c,y=!0;try{for(const t of m)if("function"==typeof t.options.validate&&(y=await t.options.validate(f.context),!y))break}catch(t){return this.error({statusCode:t.statusCode||"500",message:t.message}),r()}if(!y)return this.error({statusCode:404,message:"This page could not be found"}),r();if(await Promise.all(m.map(async(r,i)=>{r._path=Object(h.c)(t.matched[d[i]].path)(t.params),r._dataRefresh=!1;const n=r._path!==_[i];if(this._routeChanged&&n)r._dataRefresh=!0;else if(this._paramChanged&&n){const t=r.options.watchParam;r._dataRefresh=!1!==t}else if(this._queryChanged){const n=r.options.watchQuery;!0===n?r._dataRefresh=!0:Array.isArray(n)?r._dataRefresh=n.some(t=>this._diffQuery[t]):"function"==typeof n&&(c||(c=Object(h.h)(t)),r._dataRefresh=n.apply(c[i],[t.query,e.query]))}if(!this._hadError&&this._isMounted&&!r._dataRefresh)return;const o=[],l=r.options.asyncData&&"function"==typeof r.options.asyncData,m=Boolean(r.options.fetch)&&r.options.fetch.length,y=l&&m?30:45;if(l){const t=Object(h.q)(r.options.asyncData,f.context);t.then(t=>{Object(h.b)(r,t),this.$loading.increase&&this.$loading.increase(y)}),o.push(t)}if(this.$loading.manual=!1===r.options.loading,m){let p=r.options.fetch(f.context);p&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then(t=>{this.$loading.increase&&this.$loading.increase(y)}),o.push(p)}return Promise.all(o)})),!l){if(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),n.aborted)return void r(!1);r()}}catch(o){if(n.aborted)return void r(!1);const l=o||{};if("ERR_REDIRECT"===l.message)return this.$nuxt.$emit("routeChanged",t,e,l);_=[],Object(h.k)(l);let d=(c.a.options||c.a).layout;"function"==typeof d&&(d=d(f.context)),await this.loadLayout(d),this.error(l),this.$nuxt.$emit("routeChanged",t,e,l),r()}}function T(t,r){Object(h.d)(t,(t,r,n,o)=>("object"!=typeof t||t.options||((t=e.default.extend(t))._Ctor=t,n.components[o]=t),t))}Object(c.b)(null,v.config).then(async function(t){f=t.app,m=t.router,y=t.store;const r=new e.default(f),n=()=>{r.$mount("#__nuxt"),m.afterEach(T),m.beforeResolve(E.bind(r)),m.afterEach(D.bind(r)),m.afterEach(C.bind(r)),e.default.nextTick(()=>{!function(t){window.onNuxtReadyCbs.forEach(e=>{"function"==typeof e&&e(t)}),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(t);m.afterEach((r,n)=>{e.default.nextTick(()=>t.$nuxt.$emit("routeChanged",r,n))})}(r)})},o=await Promise.all((c=f.context.route,Object(h.d)(c,async(t,e,r,n,o)=>{"function"!=typeof t||t.options||(t=await t());const c=function(t,e){return v.serverRendered&&e&&Object(h.b)(t,e),t._Ctor=t,t}(Object(h.s)(t),v.data?v.data[o]:null);return r.components[n]=c,c})));var c;r.setTransitions=r.$options.nuxt.setTransitions.bind(r),o.length&&(r.setTransitions(A(o,m.currentRoute)),_=m.currentRoute.matched.map(t=>Object(h.c)(t.path)(m.currentRoute.params)));r.$loading={},v.error&&(r.error(v.error),r.nuxt.errPageReady=!0);m.beforeEach(S.bind(r));let l=null;const d=L.bind(r);if(m.beforeEach((t,e,r)=>{l&&(l.aborted=!0),l={aborted:!1},d(t,e,r,l)}),v.serverRendered&&Object(h.n)(v.routePath,r.context.route.path))return n();const w=()=>{T(m.currentRoute,m.currentRoute),E.call(r,m.currentRoute),D.call(r,m.currentRoute),Y(r),n()};await new Promise(t=>setTimeout(t,0)),L.call(r,m.currentRoute,m.currentRoute,path=>{if(!path)return void w();const t=m.afterEach((e,r)=>{t(),w()});m.push(path,void 0,t=>{t&&M(t)})},{aborted:!1})}).catch(M);const x=new WeakMap;function E(t,e,r){let n=Boolean(this.$options.nuxt.err);this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(n=!1);let o=n?(c.a.options||c.a).layout:t.matched[0].components.default.options.layout;"function"==typeof o&&(o=o(f.context)),x.set(t,o),r&&r()}function D(t){const e=x.get(t);x.delete(t);this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(this.$options.nuxt.err=null),this.setLayout(e)}function Y(t){t._hadError&&t._dateLastError===t.$options.nuxt.dateErr&&t.error()}function C(t,r){if(!1===this._routeChanged&&!1===this._paramChanged&&!1===this._queryChanged)return;const n=Object(h.h)(t),o=Object(h.g)(t);let c=!1;e.default.nextTick(()=>{n.forEach((t,i)=>{if(t&&!t._isDestroyed&&t.constructor._dataRefresh&&o[i]===t.constructor&&!0!==t.$vnode.data.keepAlive&&"function"==typeof t.constructor.options.data){const r=t.constructor.options.data.call(t);for(const n in r)e.default.set(t.$data,n,r[n]);c=!0}}),c&&window.$nuxt.$nextTick(()=>{window.$nuxt.$emit("triggerScroll")}),Y(this)})}}.call(this,r(27))},,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(262),o=r(141)("socket.io-client:url");t.exports=function(t,e){var r=t;e=e||"undefined"!=typeof location&&location,null==t&&(t=e.protocol+"//"+e.host);"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?e.protocol+t:e.host+t),/^(https?|wss?):\/\//.test(t)||(o("protocol-less url %s",t),t=void 0!==e?e.protocol+"//"+t:"https://"+t),o("parse %s",t),r=n(t));r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443"));r.path=r.path||"/";var h=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+h+":"+r.port,r.href=r.protocol+"://"+h+(e&&e.port===r.port?"":":"+r.port),r}},function(t,e,r){function n(t){var r;function n(){if(n.enabled){var t=n,o=+new Date,h=o-(r||o);t.diff=h,t.prev=r,t.curr=o,r=o;for(var c=new Array(arguments.length),i=0;i=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(o())}).call(this,r(24))},function(t,e,r){function n(t){var r;function n(){if(n.enabled){var t=n,o=+new Date,h=o-(r||o);t.diff=h,t.prev=r,t.curr=o,r=o;for(var c=new Array(arguments.length),i=0;i=0&&data.num0?n-4:n;for(i=0;i>16&255,d[f++]=e>>8&255,d[f++]=255&e;2===l&&(e=o[t.charCodeAt(i)]<<2|o[t.charCodeAt(i+1)]>>4,d[f++]=255&e);1===l&&(e=o[t.charCodeAt(i)]<<10|o[t.charCodeAt(i+1)]<<4|o[t.charCodeAt(i+2)]>>2,d[f++]=e>>8&255,d[f++]=255&e);return d},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,h=[],c=16383,i=0,l=r-o;il?l:i+c));1===o?(e=t[r-1],h.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],h.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return h.join("")};for(var n=[],o=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0;i<64;++i)n[i]=code[i],o[code.charCodeAt(i)]=i;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function d(t,e,r){for(var n,output=[],i=e;i>1,m=-7,i=r?o-1:0,y=r?-1:1,s=t[e+i];for(i+=y,h=s&(1<<-m)-1,s>>=-m,m+=l;m>0;h=256*h+t[e+i],i+=y,m-=8);for(c=h&(1<<-m)-1,h>>=-m,m+=n;m>0;c=256*c+t[e+i],i+=y,m-=8);if(0===h)h=1-f;else{if(h===d)return c?NaN:1/0*(s?-1:1);c+=Math.pow(2,n),h-=f}return(s?-1:1)*c*Math.pow(2,h-n)},e.write=function(t,e,r,n,o,h){var c,l,d,f=8*h-o-1,m=(1<>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=n?0:h-1,_=n?1:-1,s=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,c=m):(c=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-c))<1&&(c--,d*=2),(e+=c+y>=1?rt/d:rt*Math.pow(2,1-y))*d>=2&&(c++,d/=2),c+y>=m?(l=0,c=m):c+y>=1?(l=(e*d-1)*Math.pow(2,o),c+=y):(l=e*Math.pow(2,y-1)*Math.pow(2,o),c=0));o>=8;t[r+i]=255&l,i+=_,l/=256,o-=8);for(c=c<0;t[r+i]=255&c,i+=_,c/=256,f-=8);t[r+i-_]|=128*s}},function(t,e,r){t.exports=r(603),t.exports.parser=r(92)},function(t,e,r){var n=r(267),o=r(198),h=r(144)("engine.io-client:socket"),c=r(271),l=r(92),d=r(262),f=r(142);function m(t,e){if(!(this instanceof m))return new m(t,e);e=e||{},t&&"object"==typeof t&&(e=t,t=null),t?(t=d(t),e.hostname=t.host,e.secure="https"===t.protocol||"wss"===t.protocol,e.port=t.port,t.query&&(e.query=t.query)):e.host&&(e.hostname=d(e.host).host),this.secure=null!=e.secure?e.secure:"undefined"!=typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.agent=e.agent||!1,this.hostname=e.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=e.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=e.query||{},"string"==typeof this.query&&(this.query=f.decode(this.query)),this.upgrade=!1!==e.upgrade,this.path=(e.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!e.forceJSONP,this.jsonp=!1!==e.jsonp,this.forceBase64=!!e.forceBase64,this.enablesXDR=!!e.enablesXDR,this.withCredentials=!1!==e.withCredentials,this.timestampParam=e.timestampParam||"t",this.timestampRequests=e.timestampRequests,this.transports=e.transports||["polling","websocket"],this.transportOptions=e.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=e.policyPort||843,this.rememberUpgrade=e.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=e.onlyBinaryUpgrades,this.perMessageDeflate=!1!==e.perMessageDeflate&&(e.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=e.pfx||void 0,this.key=e.key||void 0,this.passphrase=e.passphrase||void 0,this.cert=e.cert||void 0,this.ca=e.ca||void 0,this.ciphers=e.ciphers||void 0,this.rejectUnauthorized=void 0===e.rejectUnauthorized||e.rejectUnauthorized,this.forceNode=!!e.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(e.extraHeaders&&Object.keys(e.extraHeaders).length>0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=m,m.priorWebsocketSuccess=!1,o(m.prototype),m.protocol=l.protocol,m.Socket=m,m.Transport=r(197),m.transports=r(267),m.parser=r(92),m.prototype.createTransport=function(t){h('creating transport "%s"',t);var e=function(t){var e={};for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}(this.query);e.EIO=l.protocol,e.transport=t;var r=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new n[t]({query:e,socket:this,agent:r.agent||this.agent,hostname:r.hostname||this.hostname,port:r.port||this.port,secure:r.secure||this.secure,path:r.path||this.path,forceJSONP:r.forceJSONP||this.forceJSONP,jsonp:r.jsonp||this.jsonp,forceBase64:r.forceBase64||this.forceBase64,enablesXDR:r.enablesXDR||this.enablesXDR,withCredentials:r.withCredentials||this.withCredentials,timestampRequests:r.timestampRequests||this.timestampRequests,timestampParam:r.timestampParam||this.timestampParam,policyPort:r.policyPort||this.policyPort,pfx:r.pfx||this.pfx,key:r.key||this.key,passphrase:r.passphrase||this.passphrase,cert:r.cert||this.cert,ca:r.ca||this.ca,ciphers:r.ciphers||this.ciphers,rejectUnauthorized:r.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:r.perMessageDeflate||this.perMessageDeflate,extraHeaders:r.extraHeaders||this.extraHeaders,forceNode:r.forceNode||this.forceNode,localAddress:r.localAddress||this.localAddress,requestTimeout:r.requestTimeout||this.requestTimeout,protocols:r.protocols||void 0,isReactNative:this.isReactNative})},m.prototype.open=function(){var t;if(this.rememberUpgrade&&m.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout(function(){e.emit("error","No transports available")},0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},m.prototype.setTransport=function(t){h("setting transport %s",t.name);var e=this;this.transport&&(h("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",function(){e.onDrain()}).on("packet",function(t){e.onPacket(t)}).on("error",function(t){e.onError(t)}).on("close",function(){e.onClose("transport close")})},m.prototype.probe=function(t){h('probing transport "%s"',t);var e=this.createTransport(t,{probe:1}),r=!1,n=this;function o(){if(n.onlyBinaryUpgrades){var o=!this.supportsBinary&&n.transport.supportsBinary;r=r||o}r||(h('probe transport "%s" opened',t),e.send([{type:"ping",data:"probe"}]),e.once("packet",function(o){if(!r)if("pong"===o.type&&"probe"===o.data){if(h('probe transport "%s" pong',t),n.upgrading=!0,n.emit("upgrading",e),!e)return;m.priorWebsocketSuccess="websocket"===e.name,h('pausing current transport "%s"',n.transport.name),n.transport.pause(function(){r||"closed"!==n.readyState&&(h("changing transport and sending upgrade packet"),_(),n.setTransport(e),e.send([{type:"upgrade"}]),n.emit("upgrade",e),e=null,n.upgrading=!1,n.flush())})}else{h('probe transport "%s" failed',t);var c=new Error("probe error");c.transport=e.name,n.emit("upgradeError",c)}}))}function c(){r||(r=!0,_(),e.close(),e=null)}function l(r){var o=new Error("probe error: "+r);o.transport=e.name,c(),h('probe transport "%s" failed because of error: %s',t,r),n.emit("upgradeError",o)}function d(){l("transport closed")}function f(){l("socket closed")}function y(t){e&&t.name!==e.name&&(h('"%s" works - aborting "%s"',t.name,e.name),c())}function _(){e.removeListener("open",o),e.removeListener("error",l),e.removeListener("close",d),n.removeListener("close",f),n.removeListener("upgrading",y)}m.priorWebsocketSuccess=!1,e.once("open",o),e.once("error",l),e.once("close",d),this.once("close",f),this.once("upgrading",y),e.open()},m.prototype.onOpen=function(){if(h("socket open"),this.readyState="open",m.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){h("starting upgrade probes");for(var i=0,t=this.upgrades.length;in&&(r=n),e>=n||e>=r||0===n)return new ArrayBuffer(0);for(var o=new Uint8Array(t),h=new Uint8Array(r-e),i=e,c=0;i=55296&&e<=56319&&n=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function d(t,e){return h(t>>e&63|128)}function f(t,e){if(!(4294967168&t))return h(t);var symbol="";return 4294965248&t?4294901760&t?4292870144&t||(symbol=h(t>>18&7|240),symbol+=d(t,12),symbol+=d(t,6)):(l(t,e)||(t=65533),symbol=h(t>>12&15|224),symbol+=d(t,6)):symbol=h(t>>6&31|192),symbol+=h(63&t|128)}function m(){if(o>=n)throw Error("Invalid byte index");var t=255&r[o];if(o++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function y(t){var e,h;if(o>n)throw Error("Invalid byte index");if(o==n)return!1;if(e=255&r[o],o++,!(128&e))return e;if(192==(224&e)){if((h=(31&e)<<6|m())>=128)return h;throw Error("Invalid continuation byte")}if(224==(240&e)){if((h=(15&e)<<12|m()<<6|m())>=2048)return l(h,t)?h:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(h=(7&e)<<18|m()<<12|m()<<6|m())>=65536&&h<=1114111)return h;throw Error("Invalid UTF-8 detected")}t.exports={version:"2.1.2",encode:function(t,e){for(var r=!1!==(e=e||{}).strict,n=c(t),o=n.length,h=-1,l="";++h65535&&(output+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),output+=h(e);return output}(f)}}},function(t,e){!function(t){"use strict";e.encode=function(e){var i,r=new Uint8Array(e),n=r.length,o="";for(i=0;i>2],o+=t[(3&r[i])<<4|r[i+1]>>4],o+=t[(15&r[i+1])<<2|r[i+2]>>6],o+=t[63&r[i+2]];return n%3==2?o=o.substring(0,o.length-1)+"=":n%3==1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(e){var i,r,n,o,h,c=.75*e.length,l=e.length,p=0;"="===e[e.length-1]&&(c--,"="===e[e.length-2]&&c--);var d=new ArrayBuffer(c),f=new Uint8Array(d);for(i=0;i>4,f[p++]=(15&n)<<4|o>>2,f[p++]=(3&o)<<6|63&h;return d}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},function(t,e){var r=void 0!==r?r:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,n=function(){try{return 2===new Blob(["hi"]).size}catch(t){return!1}}(),o=n&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),h=r&&r.prototype.append&&r.prototype.getBlob;function c(t){return t.map(function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var r=new Uint8Array(t.byteLength);r.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=r.buffer}return e}return t})}function l(t,e){e=e||{};var n=new r;return c(t).forEach(function(t){n.append(t)}),e.type?n.getBlob(e.type):n.getBlob()}function d(t,e){return new Blob(c(t),e||{})}"undefined"!=typeof Blob&&(l.prototype=Blob.prototype,d.prototype=Blob.prototype),t.exports=n?o?Blob:d:h?l:void 0},function(t,e,r){function n(t){var r;function n(){if(n.enabled){var t=n,o=+new Date,h=o-(r||o);t.diff=h,t.prev=r,t.curr=o,r=o;for(var c=new Array(arguments.length),i=0;i';iframe=document.createElement(html)}catch(t){(iframe=document.createElement("iframe")).name=e.iframeId,iframe.src="javascript:0"}iframe.id=e.iframeId,e.form.appendChild(iframe),e.iframe=iframe}this.form.action=this.uri(),o(),data=data.replace(d,"\\\n"),this.area.value=data.replace(l,"\\n");try{this.form.submit()}catch(t){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===e.iframe.readyState&&n()}:this.iframe.onload=n}},function(t,e,r){(function(e){var n,o,h=r(197),c=r(92),l=r(142),d=r(143),f=r(270),m=r(144)("engine.io-client:websocket");if("undefined"!=typeof WebSocket?n=WebSocket:"undefined"!=typeof self&&(n=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{o=r(616)}catch(t){}var y=n||o;function _(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=n&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(y=o),h.call(this,t)}t.exports=_,d(_,h),_.prototype.name="websocket",_.prototype.supportsBinary=!0,_.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,r={};this.isReactNative||(r.agent=this.agent,r.perMessageDeflate=this.perMessageDeflate,r.pfx=this.pfx,r.key=this.key,r.passphrase=this.passphrase,r.cert=this.cert,r.ca=this.ca,r.ciphers=this.ciphers,r.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(r.headers=this.extraHeaders),this.localAddress&&(r.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?e?new y(t,e):new y(t):new y(t,e,r)}catch(t){return this.emit("error",t)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},_.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},_.prototype.write=function(t){var r=this;this.writable=!1;for(var n=t.length,i=0,o=n;i0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=r,r.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),r=Math.floor(e*this.jitter*t);t=1&Math.floor(10*e)?t+r:t-r}return 0|Math.min(t,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(t){this.ms=t},r.prototype.setMax=function(t){this.max=t},r.prototype.setJitter=function(t){this.jitter=t}},,,,function(t,e,r){"use strict";r(275)},function(t,e,r){var n=r(16)(function(i){return i[1]});n.push([t.i,".__nuxt-error-page {\n padding: 1rem;\n background: #f7f8fb;\n color: #47494e;\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n font-family: sans-serif;\n font-weight: 100 !important;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.__nuxt-error-page .error {\n max-width: 450px;\n}\n.__nuxt-error-page .title {\n font-size: 1.5rem;\n margin-top: 15px;\n color: #47494e;\n margin-bottom: 8px;\n}\n.__nuxt-error-page .description {\n color: #7f828b;\n line-height: 21px;\n margin-bottom: 10px;\n}\n.__nuxt-error-page a {\n color: #7f828b !important;\n text-decoration: none;\n}\n.__nuxt-error-page .logo {\n position: fixed;\n left: 12px;\n bottom: 12px;\n}\n",""]),n.locals={},t.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r(278)},function(t,e,r){var n=r(16)(function(i){return i[1]});n.push([t.i,".avatar[data-v-0da76b57] {\n display: inline-block;\n background-color: black;\n color: white;\n width: 48px;\n height: 48px;\n font-size: 12px;\n border-radius: 50%;\n background-size: cover;\n background-position: center;\n background-repeat: no-repeat;\n background-image: none;\n}\n.avatar table[data-v-0da76b57] {\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n}\n.avatar table td[data-v-0da76b57] {\n text-align: center;\n vertical-align: middle;\n}\n.avatar img[data-v-0da76b57] {\n width: 100%;\n overflow: hidden;\n}\n",""]),n.locals={},t.exports=n},,,,,,,,,,function(t,e,r){(function(n){var o=r(680),h=r(201),c=r(697);(e=t.exports=function(t,r){null==(r=r||{}).forceBase64&&(r.forceBase64=e.forceBase64);t._streamSocket||(t._streamSocket=new o(t,r));return t._streamSocket}).Buffer=n,e.Socket=o,e.IOStream=h,e.forceBase64=!1,e.createStream=function(t){return new h(t)},e.createBlobReadStream=function(t,e){return new c(t,e)}}).call(this,r(20).Buffer)},function(t,e,r){(function(n,o){var h=r(115),c=r(42).EventEmitter,l=r(114),d=(r(201),r(696)),f=r(287)("socket.io-stream:socket"),m=c.prototype.emit,y=c.prototype.on,_=Array.prototype.slice;function v(t,r){if(!(this instanceof v))return new v(t,r);c.call(this),r=r||{},this.sio=t,this.forceBase64=!!r.forceBase64,this.streams={},this.encoder=new d.Encoder,this.decoder=new d.Decoder;var n=e.event;t.on(n,l(this,m)),t.on(n+"-read",l(this,"_onread")),t.on(n+"-write",l(this,"_onwrite")),t.on(n+"-end",l(this,"_onend")),t.on(n+"-error",l(this,"_onerror")),t.on("error",l(this,m,"error")),t.on("disconnect",l(this,"_ondisconnect")),this.encoder.on("stream",l(this,"_onencode")),this.decoder.on("stream",l(this,"_ondecode"))}(e=t.exports=v).event="$stream",e.events=["error","newListener","removeListener"],h.inherits(v,c),v.prototype.$emit=m,v.prototype.emit=function(t){return~e.events.indexOf(t)?m.apply(this,arguments):(this._stream.apply(this,arguments),this)},v.prototype.on=function(t,r){return~e.events.indexOf(t)?y.apply(this,arguments):(this._onstream(t,r),this)},v.prototype._stream=function(t){f("sending new streams");var r=this,n=_.call(arguments,1),o=n[n.length-1];"function"==typeof o&&(n[n.length-1]=function(){var t=_.call(arguments);t=r.decoder.decode(t),o.apply(this,t)}),n=this.encoder.encode(n);var h=this.sio;h.emit.apply(h,[e.event,t].concat(n))},v.prototype._read=function(t,r){this.sio.emit(e.event+"-read",t,r)},v.prototype._write=function(t,r,h,c){n.isBuffer(r)&&(this.forceBase64?(h="base64",r=r.toString(h)):o.Buffer||(r=r.toArrayBuffer?r.toArrayBuffer():r.buffer)),this.sio.emit(e.event+"-write",t,r,h,c)},v.prototype._end=function(t){this.sio.emit(e.event+"-end",t)},v.prototype._error=function(t,r){this.sio.emit(e.event+"-error",t,r.message||r)},v.prototype._onstream=function(t,e){if("function"!=typeof e)throw TypeError("listener must be a function");function r(){f("new streams");var t=this,r=_.call(arguments),n=r[r.length-1];"function"==typeof n&&(r[r.length-1]=function(){var e=_.call(arguments);e=t.encoder.encode(e),n.apply(this,e)}),r=this.decoder.decode(r),e.apply(this,r)}r.listener=e,y.call(this,t,r)},v.prototype._onread=function(t,e){f('read: "%s"',t);var r=this.streams[t];r?r._onread(e):f("ignore invalid stream id")},v.prototype._onwrite=function(t,e,r,h){f('write: "%s"',t);var c=this.streams[t];c?(o.ArrayBuffer&&e instanceof ArrayBuffer&&(e=new n(new Uint8Array(e))),c._onwrite(e,r,h)):h("invalid stream id: "+t)},v.prototype._onend=function(t){f('end: "%s"',t);var e=this.streams[t];e?e._end():f('ignore non-existent stream id: "%s"',t)},v.prototype._onerror=function(t,e){f('error: "%s", "%s"',t,e);var r=this.streams[t];if(r){var n=new Error(e);n.remote=!0,r.emit("error",n)}else f('invalid stream id: "%s"',t)},v.prototype._ondisconnect=function(){var t;for(var e in this.streams)(t=this.streams[e]).destroy(),t.emit("close"),t.emit("error",new Error("Connection aborted"))},v.prototype._onencode=function(t){if(t.socket||t.destroyed)throw new Error("stream has already been sent.");var e=t.id;if(this.streams[e])throw new Error("Encoded stream already exists: "+e);this.streams[e]=t,t.socket=this},v.prototype._ondecode=function(t){var e=t.id;this.streams[e]?this._error(e,new Error("Decoded stream already exists: "+e)):(this.streams[e]=t,t.socket=this)},v.prototype.cleanup=function(t){delete this.streams[t]}}).call(this,r(20).Buffer,r(27))},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},,function(t,e,r){"use strict";var n=r(202).Buffer,o=r(685);function h(t,e,r){t.copy(e,r)}t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(s){if(0===this.length)return"";for(var p=this.head,t=""+p.data;p=p.next;)t+=s+p.data;return t},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);for(var e=n.allocUnsafe(t>>>0),p=this.head,i=0;p;)h(p.data,e,i),i+=p.data.length,p=p.next;return e},t}(),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var t=o.inspect({length:this.length});return this.constructor.name+" "+t})},,function(t,e,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(t){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this,r(27))},function(t,e,r){var n=r(20),o=n.Buffer;function h(t,e){for(var r in t)e[r]=t[r]}function c(t,e,r){return o(t,e,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(h(n,e),e.Buffer=c),h(o,c),c.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,r)},c.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=o(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},c.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},c.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";t.exports=h;var n=r(286),o=Object.create(r(117));function h(t){if(!(this instanceof h))return new h(t);n.call(this,t)}o.inherits=r(15),o.inherits(h,n),h.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){t.exports=r(203)},function(t,e,r){t.exports=r(82)},function(t,e,r){t.exports=r(116).Transform},function(t,e,r){t.exports=r(116).PassThrough},function(t,e){t.exports=function b(a){return a?(a^16*Math.random()>>a/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,b)}},function(t,e,r){e=t.exports=function(t){function r(){}function h(){var t=h,r=+new Date,c=r-(n||r);t.diff=c,t.prev=n,t.curr=r,n=r,null==t.useColors&&(t.useColors=e.useColors()),null==t.color&&t.useColors&&(t.color=e.colors[o++%e.colors.length]);var l=Array.prototype.slice.call(arguments);l[0]=e.coerce(l[0]),"string"!=typeof l[0]&&(l=["%o"].concat(l));var d=0;l[0]=l[0].replace(/%([a-z%])/g,function(r,n){if("%%"===r)return r;d++;var o=e.formatters[n];if("function"==typeof o){var h=l[d];r=o.call(t,h),l.splice(d,1),d--}return r}),"function"==typeof e.formatArgs&&(l=e.formatArgs.apply(t,l)),(h.log||e.log||console.log.bind(console)).apply(t,l)}r.enabled=!1,h.enabled=!0;var c=e.enabled(t)?h:r;return c.namespace=t,c},e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable("")},e.enable=function(t){e.save(t);for(var r=(t||"").split(/[\s,]+/),n=r.length,i=0;i1e4)return;var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!e)return;var c=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*h;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c}}(t):e.long?c(l=t,o,"day")||c(l,n,"hour")||c(l,r,"minute")||c(l,s,"second")||l+" ms":function(t){return t>=o?Math.round(t/o)+"d":t>=n?Math.round(t/n)+"h":t>=r?Math.round(t/r)+"m":t>=s?Math.round(t/s)+"s":t+"ms"}(t);var l}},function(t,e,r){var n=r(115),o=r(42).EventEmitter,h=r(201);Array.prototype.slice;function c(){o.call(this)}function l(){o.call(this)}e.Encoder=c,e.Decoder=l,n.inherits(c,o),c.prototype.encode=function(t){return t instanceof h?this.encodeStream(t):n.isArray(t)?this.encodeArray(t):t&&"object"==typeof t?this.encodeObject(t):t},c.prototype.encodeStream=function(t){this.emit("stream",t);var e={$stream:t.id};return t.options&&(e.options=t.options),e},c.prototype.encodeArray=function(t){for(var e=[],i=0,r=t.length;i=this._blockSize;){for(var i=this._blockOffset;i0;++o)this._length[o]+=h,(h=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*h);return this},h.prototype._update=function(){throw new Error("_update is not implemented")},h.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return e},h.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=h},function(t,e,r){"use strict";var n=r(18).Buffer,o=r(700),h=r(116).Transform;function c(t){h.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(15)(c,h),c.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)},c.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},c.prototype.update=function(data,t){if(this._finalized)throw new Error("Digest already called");for(var e=o(data,t),r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var i=this._blockOffset;i0;++h)this._length[h]+=c,(c=this._length[h]/4294967296|0)>0&&(this._length[h]-=4294967296*c);return this},c.prototype._update=function(){throw new Error("_update is not implemented")},c.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return e},c.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=c},function(t,e,r){"use strict";var n=r(18).Buffer,o=r(146),h="undefined"!=typeof Uint8Array,c=h&&"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView;t.exports=function(t,e){if("string"==typeof t||n.isBuffer(t)||h&&t instanceof Uint8Array||c&&c(t))return o(t,e);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";var n=r(120),o=r(206)("TypedArray.prototype.buffer",!0),h=r(722);t.exports=o||function(t){if(!h(t))throw new n("Not a Typed Array");return t.buffer}},function(t,e,r){"use strict";t.exports=Error},function(t,e,r){"use strict";t.exports=EvalError},function(t,e,r){"use strict";t.exports=RangeError},function(t,e,r){"use strict";t.exports=ReferenceError},function(t,e,r){"use strict";t.exports=URIError},function(t,e,r){"use strict";t.exports=Math.abs},function(t,e,r){"use strict";t.exports=Math.floor},function(t,e,r){"use strict";t.exports=Math.max},function(t,e,r){"use strict";t.exports=Math.min},function(t,e,r){"use strict";t.exports=Math.pow},function(t,e,r){"use strict";t.exports=Math.round},function(t,e,r){"use strict";var n=r(715);t.exports=function(t){return n(t)||0===t?t:t<0?-1:1}},function(t,e,r){"use strict";t.exports=Number.isNaN||function(a){return a!=a}},function(t,e,r){"use strict";t.exports=Object.getOwnPropertyDescriptor},function(t,e,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(208);t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},function(t,e,r){"use strict";var n,o=r(209),h=r(121);try{n=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var desc=!!n&&h&&h(Object.prototype,"__proto__"),c=Object,l=c.getPrototypeOf;t.exports=desc&&"function"==typeof desc.get?o([desc.get]):"function"==typeof l&&function(t){return l(null==t?t:c(t))}},function(t,e,r){"use strict";var n=Object.prototype.toString,o=Math.max,h=function(a,b){for(var t=[],i=0;i-1}(e)?e:"Object"===e&&function(t){var e=!1;return n(w,function(r,n){if(!e)try{r(t),e=_(n,1)}catch(t){}}),e}(t)}return l?function(t){var e=!1;return n(w,function(r,n){if(!e)try{"$"+r(t)===n&&(e=_(n,1))}catch(t){}}),e}(t):null}}).call(this,r(27))},function(t,e,r){"use strict";var n=r(725),o=Object.prototype.toString,h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var c,l;arguments.length>=3&&(c=r),l=t,"[object Array]"===o.call(l)?function(t,e,r){for(var i=0,n=t.length;i0?r:0,!0)},o?o(t.exports,"apply",{value:c}):t.exports.apply=c},function(t,e,r){"use strict";var n=r(288),o=r(730),h=r(731)(),c=r(121),l=r(120),d=n("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new l("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||d(e)!==e)throw new l("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,f=!0;if("length"in t&&c){var desc=c(t,"length");desc&&!desc.configurable&&(n=!1),desc&&!desc.writable&&(f=!1)}return(n||f||!r)&&(h?o(t,"length",e,!0,!0):o(t,"length",e)),t}},function(t,e,r){"use strict";var n=r(147),o=r(289),h=r(120),c=r(121);t.exports=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new h("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new h("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new h("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new h("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new h("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new h("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,d=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,m=arguments.length>6&&arguments[6],desc=!!c&&c(t,e);if(n)n(t,e,{configurable:null===f&&desc?desc.configurable:!f,enumerable:null===l&&desc?desc.enumerable:!l,value:r,writable:null===d&&desc?desc.writable:!d});else{if(!m&&(l||d||f))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}}},function(t,e,r){"use strict";var n=r(147),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},function(t,e,r){"use strict";var n=r(122),o=r(211),h=r(293);t.exports=function(){return h(n,o,arguments)}},function(t,e,r){"use strict";var n=r(208);t.exports=function(){return n()&&!!Symbol.toStringTag}},function(t,e,r){"use strict";var n=r(15),o=r(94),h=r(18).Buffer,c=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function d(){this.init(),this._w=l,o.call(this,64,56)}function f(t){return t<<5|t>>>27}function m(t){return t<<30|t>>>2}function y(s,b,t,e){return 0===s?b&t|~b&e:2===s?b&t|b&e|t&e:b^t^e}n(d,o),d.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},d.prototype._update=function(t){for(var e=this._w,a=0|this._a,b=0|this._b,r=0|this._c,n=0|this._d,o=0|this._e,i=0;i<16;++i)e[i]=t.readInt32BE(4*i);for(;i<80;++i)e[i]=e[i-3]^e[i-8]^e[i-14]^e[i-16];for(var h=0;h<80;++h){var s=~~(h/20),l=f(a)+y(s,b,r,n)+o+e[h]+c[s]|0;o=n,n=r,r=m(b),b=a,a=l}this._a=a+this._a|0,this._b=b+this._b|0,this._c=r+this._c|0,this._d=n+this._d|0,this._e=o+this._e|0},d.prototype._hash=function(){var t=h.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=d},function(t,e,r){"use strict";var n=r(15),o=r(94),h=r(18).Buffer,c=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function d(){this.init(),this._w=l,o.call(this,64,56)}function f(t){return t<<1|t>>>31}function m(t){return t<<5|t>>>27}function y(t){return t<<30|t>>>2}function _(s,b,t,e){return 0===s?b&t|~b&e:2===s?b&t|b&e|t&e:b^t^e}n(d,o),d.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},d.prototype._update=function(t){for(var e=this._w,a=0|this._a,b=0|this._b,r=0|this._c,n=0|this._d,o=0|this._e,i=0;i<16;++i)e[i]=t.readInt32BE(4*i);for(;i<80;++i)e[i]=f(e[i-3]^e[i-8]^e[i-14]^e[i-16]);for(var h=0;h<80;++h){var s=~~(h/20),l=m(a)+_(s,b,r,n)+o+e[h]+c[s]|0;o=n,n=r,r=y(b),b=a,a=l}this._a=a+this._a|0,this._b=b+this._b|0,this._c=r+this._c|0,this._d=n+this._d|0,this._e=o+this._e|0},d.prototype._hash=function(){var t=h.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=d},function(t,e,r){"use strict";var n=r(15),o=r(294),h=r(94),c=r(18).Buffer,l=new Array(64);function d(){this.init(),this._w=l,h.call(this,64,56)}n(d,o),d.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},d.prototype._hash=function(){var t=c.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=d},function(t,e,r){"use strict";var n=r(15),o=r(295),h=r(94),c=r(18).Buffer,l=new Array(160);function d(){this.init(),this._w=l,h.call(this,128,112)}n(d,o),d.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},d.prototype._hash=function(){var t=c.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=d},function(t,e,r){"use strict";var n=r(15),o=r(18).Buffer,h=r(75),c=o.alloc(128),l=64;function d(t,e){h.call(this,"digest"),"string"==typeof e&&(e=o.from(e)),this._alg=t,this._key=e,e.length>l?e=t(e):e.length15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},_.prototype.flush=function(){for(var t=16-this.cache.length,e=h.allocUnsafe(t),i=-1;++i>i%8,t._prev=h(t._prev,r?n:o);return c}function h(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i>7;return o}e.encrypt=function(t,e,r){for(var h=e.length,c=n.allocUnsafe(h),i=-1;++i>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function c(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}c.prototype.ghash=function(t){for(var i=-1;++i0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=h(o)},c.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},c.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(h([0,t,0,e])),this.state},t.exports=c},function(t,e,r){var n=r(309),o=r(18).Buffer,h=r(215),c=r(310),l=r(75),d=r(148),f=r(149);function m(t,e,r){l.call(this),this._cache=new y,this._last=void 0,this._cipher=new d.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}function y(){this.cache=o.allocUnsafe(0)}function _(t,e,r){var l=h[t.toLowerCase()];if(!l)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==l.mode&&r.length!==l.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof e&&(e=o.from(e)),e.length!==l.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===l.type?new c(l.module,e,r,!0):"auth"===l.type?new n(l.module,e,r,!0):new m(l.module,e,r)}r(15)(m,l),m.prototype._update=function(data){var t,e;this._cache.add(data);for(var r=[];t=this._cache.get(this._autopadding);)e=this._mode.decrypt(this,t),r.push(e);return o.concat(r)},m.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");var i=-1;for(;++i16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},y.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=h[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=f(e,!1,r.key,r.iv);return _(t,n.key,n.iv)},e.createDecipheriv=_},function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},function(t,e,r){(function(t){var n=r(311),o=r(761),h=r(762);var c={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var r=new t(o[e].prime,"hex"),n=new t(o[e].gen,"hex");return new h(r,n)},e.createDiffieHellman=e.DiffieHellman=function e(r,o,l,d){return t.isBuffer(o)||void 0===c[o]?e(r,"binary",o,l):(o=o||"binary",d=d||"binary",l=l||new t([2]),t.isBuffer(l)||(l=new t(l,d)),"number"==typeof r?new h(n(r,l),l,!0):(t.isBuffer(r)||(r=new t(r,o)),new h(r,l,!0)))}}).call(this,r(20).Buffer)},,function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var c;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(759).Buffer}catch(t){}function l(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=l(t,r);return r-1>=e&&(n|=l(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i=49?c-49+10:c>=17?c-17+10:c}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i=e;i-=2)n=d(t,e,i)<=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;this.strip()},h.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,h=o%r,c=Math.min(o,o-h)+e,l=0,i=e;i1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,c=o/67108864|0;r.words[0]=h;for(var l=1;l>>26,f=67108863&c,m=Math.min(l,e.length-1),y=Math.max(0,l-t.length+1);y<=m;y++){var i=l-y|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[y])+f)/67108864|0,f=67108863&o}r.words[l]=0|f,c=0|d}return 0!==c?r.words[l]=0|c:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),e=0!==o||i!==this.length-1?m[6-c.length]+c+e:c+e}for(0!==o&&(e=o.toString(16)+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var l=y[base],d=_[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var v=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?v+e:m[l-v.length]+v+e}for(this.isZero()&&(e="0"+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,l=new t(h),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),l[i]=b;for(;i=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 8191&e||(r+=13,e>>>=13),127&e||(r+=7,e>>>=7),15&e||(r+=4,e>>>=4),3&e||(r+=2,e>>>=2),1&e||r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;it.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;it.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;it.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i>>26;for(;0!==r&&i>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;it.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i>26,this.words[i]=67108863&e;for(;0!==n&&i>26,this.words[i]=67108863&e;if(0===n&&i>>13,y=0|a[1],_=8191&y,v=y>>>13,w=0|a[2],M=8191&w,A=w>>>13,S=0|a[3],k=8191&S,L=S>>>13,T=0|a[4],x=8191&T,E=T>>>13,D=0|a[5],Y=8191&D,C=D>>>13,O=0|a[6],P=8191&O,R=O>>>13,j=0|a[7],I=8191&j,N=j>>>13,B=0|a[8],H=8191&B,F=B>>>13,U=0|a[9],z=8191&U,$=U>>>13,W=0|b[0],G=8191&W,V=W>>>13,Z=0|b[1],K=8191&Z,J=Z>>>13,Q=0|b[2],X=8191&Q,tt=Q>>>13,et=0|b[3],nt=8191&et,it=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],ht=8191&ut,ct=ut>>>13,lt=0|b[6],ft=8191<,pt=lt>>>13,mt=0|b[7],yt=8191&mt,gt=mt>>>13,_t=0|b[8],vt=8191&_t,bt=_t>>>13,wt=0|b[9],Mt=8191&wt,At=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var St=(l+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,V))+Math.imul(m,G)|0))<<13)|0;l=((h=Math.imul(m,V))+(o>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(_,G),o=(o=Math.imul(_,V))+Math.imul(v,G)|0,h=Math.imul(v,V);var kt=(l+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,J)|0)+Math.imul(m,K)|0))<<13)|0;l=((h=h+Math.imul(m,J)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(M,G),o=(o=Math.imul(M,V))+Math.imul(A,G)|0,h=Math.imul(A,V),n=n+Math.imul(_,K)|0,o=(o=o+Math.imul(_,J)|0)+Math.imul(v,K)|0,h=h+Math.imul(v,J)|0;var Lt=(l+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,X)|0))<<13)|0;l=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(k,G),o=(o=Math.imul(k,V))+Math.imul(L,G)|0,h=Math.imul(L,V),n=n+Math.imul(M,K)|0,o=(o=o+Math.imul(M,J)|0)+Math.imul(A,K)|0,h=h+Math.imul(A,J)|0,n=n+Math.imul(_,X)|0,o=(o=o+Math.imul(_,tt)|0)+Math.imul(v,X)|0,h=h+Math.imul(v,tt)|0;var Tt=(l+(n=n+Math.imul(f,nt)|0)|0)+((8191&(o=(o=o+Math.imul(f,it)|0)+Math.imul(m,nt)|0))<<13)|0;l=((h=h+Math.imul(m,it)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,V))+Math.imul(E,G)|0,h=Math.imul(E,V),n=n+Math.imul(k,K)|0,o=(o=o+Math.imul(k,J)|0)+Math.imul(L,K)|0,h=h+Math.imul(L,J)|0,n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(_,nt)|0,o=(o=o+Math.imul(_,it)|0)+Math.imul(v,nt)|0,h=h+Math.imul(v,it)|0;var xt=(l+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;l=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(Y,G),o=(o=Math.imul(Y,V))+Math.imul(C,G)|0,h=Math.imul(C,V),n=n+Math.imul(x,K)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(E,K)|0,h=h+Math.imul(E,J)|0,n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(L,X)|0,h=h+Math.imul(L,tt)|0,n=n+Math.imul(M,nt)|0,o=(o=o+Math.imul(M,it)|0)+Math.imul(A,nt)|0,h=h+Math.imul(A,it)|0,n=n+Math.imul(_,at)|0,o=(o=o+Math.imul(_,st)|0)+Math.imul(v,at)|0,h=h+Math.imul(v,st)|0;var Et=(l+(n=n+Math.imul(f,ht)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,ht)|0))<<13)|0;l=((h=h+Math.imul(m,ct)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),o=(o=Math.imul(P,V))+Math.imul(R,G)|0,h=Math.imul(R,V),n=n+Math.imul(Y,K)|0,o=(o=o+Math.imul(Y,J)|0)+Math.imul(C,K)|0,h=h+Math.imul(C,J)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(E,X)|0,h=h+Math.imul(E,tt)|0,n=n+Math.imul(k,nt)|0,o=(o=o+Math.imul(k,it)|0)+Math.imul(L,nt)|0,h=h+Math.imul(L,it)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(_,ht)|0,o=(o=o+Math.imul(_,ct)|0)+Math.imul(v,ht)|0,h=h+Math.imul(v,ct)|0;var Dt=(l+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;l=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,V))+Math.imul(N,G)|0,h=Math.imul(N,V),n=n+Math.imul(P,K)|0,o=(o=o+Math.imul(P,J)|0)+Math.imul(R,K)|0,h=h+Math.imul(R,J)|0,n=n+Math.imul(Y,X)|0,o=(o=o+Math.imul(Y,tt)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(x,nt)|0,o=(o=o+Math.imul(x,it)|0)+Math.imul(E,nt)|0,h=h+Math.imul(E,it)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(L,at)|0,h=h+Math.imul(L,st)|0,n=n+Math.imul(M,ht)|0,o=(o=o+Math.imul(M,ct)|0)+Math.imul(A,ht)|0,h=h+Math.imul(A,ct)|0,n=n+Math.imul(_,ft)|0,o=(o=o+Math.imul(_,pt)|0)+Math.imul(v,ft)|0,h=h+Math.imul(v,pt)|0;var Yt=(l+(n=n+Math.imul(f,yt)|0)|0)+((8191&(o=(o=o+Math.imul(f,gt)|0)+Math.imul(m,yt)|0))<<13)|0;l=((h=h+Math.imul(m,gt)|0)+(o>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,n=Math.imul(H,G),o=(o=Math.imul(H,V))+Math.imul(F,G)|0,h=Math.imul(F,V),n=n+Math.imul(I,K)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(N,K)|0,h=h+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,o=(o=o+Math.imul(P,tt)|0)+Math.imul(R,X)|0,h=h+Math.imul(R,tt)|0,n=n+Math.imul(Y,nt)|0,o=(o=o+Math.imul(Y,it)|0)+Math.imul(C,nt)|0,h=h+Math.imul(C,it)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(E,at)|0,h=h+Math.imul(E,st)|0,n=n+Math.imul(k,ht)|0,o=(o=o+Math.imul(k,ct)|0)+Math.imul(L,ht)|0,h=h+Math.imul(L,ct)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(_,yt)|0,o=(o=o+Math.imul(_,gt)|0)+Math.imul(v,yt)|0,h=h+Math.imul(v,gt)|0;var Ct=(l+(n=n+Math.imul(f,vt)|0)|0)+((8191&(o=(o=o+Math.imul(f,bt)|0)+Math.imul(m,vt)|0))<<13)|0;l=((h=h+Math.imul(m,bt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(z,G),o=(o=Math.imul(z,V))+Math.imul($,G)|0,h=Math.imul($,V),n=n+Math.imul(H,K)|0,o=(o=o+Math.imul(H,J)|0)+Math.imul(F,K)|0,h=h+Math.imul(F,J)|0,n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(P,nt)|0,o=(o=o+Math.imul(P,it)|0)+Math.imul(R,nt)|0,h=h+Math.imul(R,it)|0,n=n+Math.imul(Y,at)|0,o=(o=o+Math.imul(Y,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(x,ht)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(E,ht)|0,h=h+Math.imul(E,ct)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(L,ft)|0,h=h+Math.imul(L,pt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,gt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,gt)|0,n=n+Math.imul(_,vt)|0,o=(o=o+Math.imul(_,bt)|0)+Math.imul(v,vt)|0,h=h+Math.imul(v,bt)|0;var Ot=(l+(n=n+Math.imul(f,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(f,At)|0)+Math.imul(m,Mt)|0))<<13)|0;l=((h=h+Math.imul(m,At)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(z,K),o=(o=Math.imul(z,J))+Math.imul($,K)|0,h=Math.imul($,J),n=n+Math.imul(H,X)|0,o=(o=o+Math.imul(H,tt)|0)+Math.imul(F,X)|0,h=h+Math.imul(F,tt)|0,n=n+Math.imul(I,nt)|0,o=(o=o+Math.imul(I,it)|0)+Math.imul(N,nt)|0,h=h+Math.imul(N,it)|0,n=n+Math.imul(P,at)|0,o=(o=o+Math.imul(P,st)|0)+Math.imul(R,at)|0,h=h+Math.imul(R,st)|0,n=n+Math.imul(Y,ht)|0,o=(o=o+Math.imul(Y,ct)|0)+Math.imul(C,ht)|0,h=h+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(E,ft)|0,h=h+Math.imul(E,pt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,gt)|0)+Math.imul(L,yt)|0,h=h+Math.imul(L,gt)|0,n=n+Math.imul(M,vt)|0,o=(o=o+Math.imul(M,bt)|0)+Math.imul(A,vt)|0,h=h+Math.imul(A,bt)|0;var Pt=(l+(n=n+Math.imul(_,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(_,At)|0)+Math.imul(v,Mt)|0))<<13)|0;l=((h=h+Math.imul(v,At)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,tt))+Math.imul($,X)|0,h=Math.imul($,tt),n=n+Math.imul(H,nt)|0,o=(o=o+Math.imul(H,it)|0)+Math.imul(F,nt)|0,h=h+Math.imul(F,it)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(P,ht)|0,o=(o=o+Math.imul(P,ct)|0)+Math.imul(R,ht)|0,h=h+Math.imul(R,ct)|0,n=n+Math.imul(Y,ft)|0,o=(o=o+Math.imul(Y,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(x,yt)|0,o=(o=o+Math.imul(x,gt)|0)+Math.imul(E,yt)|0,h=h+Math.imul(E,gt)|0,n=n+Math.imul(k,vt)|0,o=(o=o+Math.imul(k,bt)|0)+Math.imul(L,vt)|0,h=h+Math.imul(L,bt)|0;var Rt=(l+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,At)|0)+Math.imul(A,Mt)|0))<<13)|0;l=((h=h+Math.imul(A,At)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(z,nt),o=(o=Math.imul(z,it))+Math.imul($,nt)|0,h=Math.imul($,it),n=n+Math.imul(H,at)|0,o=(o=o+Math.imul(H,st)|0)+Math.imul(F,at)|0,h=h+Math.imul(F,st)|0,n=n+Math.imul(I,ht)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(N,ht)|0,h=h+Math.imul(N,ct)|0,n=n+Math.imul(P,ft)|0,o=(o=o+Math.imul(P,pt)|0)+Math.imul(R,ft)|0,h=h+Math.imul(R,pt)|0,n=n+Math.imul(Y,yt)|0,o=(o=o+Math.imul(Y,gt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,gt)|0,n=n+Math.imul(x,vt)|0,o=(o=o+Math.imul(x,bt)|0)+Math.imul(E,vt)|0,h=h+Math.imul(E,bt)|0;var jt=(l+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,At)|0)+Math.imul(L,Mt)|0))<<13)|0;l=((h=h+Math.imul(L,At)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(z,at),o=(o=Math.imul(z,st))+Math.imul($,at)|0,h=Math.imul($,st),n=n+Math.imul(H,ht)|0,o=(o=o+Math.imul(H,ct)|0)+Math.imul(F,ht)|0,h=h+Math.imul(F,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(P,yt)|0,o=(o=o+Math.imul(P,gt)|0)+Math.imul(R,yt)|0,h=h+Math.imul(R,gt)|0,n=n+Math.imul(Y,vt)|0,o=(o=o+Math.imul(Y,bt)|0)+Math.imul(C,vt)|0,h=h+Math.imul(C,bt)|0;var It=(l+(n=n+Math.imul(x,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(x,At)|0)+Math.imul(E,Mt)|0))<<13)|0;l=((h=h+Math.imul(E,At)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(z,ht),o=(o=Math.imul(z,ct))+Math.imul($,ht)|0,h=Math.imul($,ct),n=n+Math.imul(H,ft)|0,o=(o=o+Math.imul(H,pt)|0)+Math.imul(F,ft)|0,h=h+Math.imul(F,pt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,gt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,gt)|0,n=n+Math.imul(P,vt)|0,o=(o=o+Math.imul(P,bt)|0)+Math.imul(R,vt)|0,h=h+Math.imul(R,bt)|0;var Nt=(l+(n=n+Math.imul(Y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(Y,At)|0)+Math.imul(C,Mt)|0))<<13)|0;l=((h=h+Math.imul(C,At)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(z,ft),o=(o=Math.imul(z,pt))+Math.imul($,ft)|0,h=Math.imul($,pt),n=n+Math.imul(H,yt)|0,o=(o=o+Math.imul(H,gt)|0)+Math.imul(F,yt)|0,h=h+Math.imul(F,gt)|0,n=n+Math.imul(I,vt)|0,o=(o=o+Math.imul(I,bt)|0)+Math.imul(N,vt)|0,h=h+Math.imul(N,bt)|0;var Bt=(l+(n=n+Math.imul(P,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(P,At)|0)+Math.imul(R,Mt)|0))<<13)|0;l=((h=h+Math.imul(R,At)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(z,yt),o=(o=Math.imul(z,gt))+Math.imul($,yt)|0,h=Math.imul($,gt),n=n+Math.imul(H,vt)|0,o=(o=o+Math.imul(H,bt)|0)+Math.imul(F,vt)|0,h=h+Math.imul(F,bt)|0;var Ht=(l+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,At)|0)+Math.imul(N,Mt)|0))<<13)|0;l=((h=h+Math.imul(N,At)|0)+(o>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(z,vt),o=(o=Math.imul(z,bt))+Math.imul($,vt)|0,h=Math.imul($,bt);var Ft=(l+(n=n+Math.imul(H,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(H,At)|0)+Math.imul(F,Mt)|0))<<13)|0;l=((h=h+Math.imul(F,At)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863;var Ut=(l+(n=Math.imul(z,Mt))|0)+((8191&(o=(o=Math.imul(z,At))+Math.imul($,Mt)|0))<<13)|0;return l=((h=Math.imul($,At))+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,c[0]=St,c[1]=kt,c[2]=Lt,c[3]=Tt,c[4]=xt,c[5]=Et,c[6]=Dt,c[7]=Yt,c[8]=Ct,c[9]=Ot,c[10]=Pt,c[11]=Rt,c[12]=jt,c[13]=It,c[14]=Nt,c[15]=Bt,c[16]=Ht,c[17]=Ft,c[18]=Ut,0!==l&&(c[19]=l,r.length++),r};function M(t,e,r){return(new A).mulp(t,e,r)}function A(t,e){this.x=t,this.y=e}Math.imul||(w=v),h.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?v(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h>>26)|0)>>>26,c&=67108863}r.words[h]=l,n=c,c=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):M(this,t,e),r},A.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i>=1;return n},A.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i>>=1)i++;return 1<>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),0===t&&(this.length=1,this._normSign()),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<s)for(this.length-=s,i=0;i=0&&(0!==l||i>=o);i--){var d=0|this.words[i];this.words[i]=l<<26-h|d>>>h,l=d&mask}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i=0;l--){var d=67108864*(0|a.words[b.length+l])+(0|a.words[b.length+l-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,l);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,l),a.isZero()||(a.negative^=1);q&&(q.words[l]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!==(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=e.mod.abs(),n=t.abs().iushrn(1),o=1&t.words[0],c=r.cmp(n);if(c<0||1===o&&0===c)return e.div;var l=new h(1);return l.negative=this.negative^t.negative,e.div.iadd(l)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),c=new h(0),l=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0===(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var y=0,_=1;0===(e.words[0]&_)&&y<26;++y,_<<=1);if(y>0)for(e.iushrn(y);y-- >0;)(c.isOdd()||l.isOdd())&&(c.iadd(d),l.isub(f)),c.iushrn(1),l.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(l)):(e.isub(t),c.isub(r),l.isub(o))}return{a:c,b:l,gcd:e.iushln(g)}},h.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0===(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var l=0,d=1;0===(b.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(b.iushrn(l);l-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return!(1&this.words[0])},h.prototype.isOdd=function(){return!(1&~this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:ot.length)return 1;if(this.length=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){ab&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new D(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function k(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function L(){k.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function T(){k.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){k.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){k.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function Y(t){D.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}k.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},k.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},k.prototype.split=function(input,t){input.iushrn(this.n,0,t)},k.prototype.imulK=function(t){return t.imul(this.k)},o(L,k),L.prototype.split=function(input,output){for(var mask=4194303,t=Math.min(input.length,9),i=0;i>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},L.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new L;else if("p224"===t)e=new T;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new E}return S[t]=e,e},D.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},D.prototype._verify2=function(a,b){n(0===(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},D.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},D.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},D.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},D.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},D.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},D.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},D.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},D.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},D.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},D.prototype.isqr=function(a){return this.imul(a,a.clone())},D.prototype.sqr=function(a){return this.mul(a,a)},D.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new h(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new h(2*l*l).toRed(this);0!==this.pow(l,c).cmp(o);)l.redIAdd(o);for(var d=this.pow(l,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),y=s;0!==m.cmp(r);){for(var _=m,i=0;0!==_.cmp(r);i++)_=_.redSqr();n(i=0;i--){for(var l=t.words[i],d=c-1;d>=0;d--){var f=l>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},D.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},D.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new Y(t)},o(Y,D),Y.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Y.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},Y.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(76)(t))},,,function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(t,e,r){(function(e){var n=r(312),o=new(r(313)),h=new n(24),c=new n(11),l=new n(10),d=new n(3),f=new n(7),m=r(311),y=r(93);function _(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._pub=new n(t),this}function v(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._priv=new n(t),this}t.exports=M;var w={};function M(t,e,r){this.setGenerator(e),this.__prime=new n(t),this._prime=n.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=_,this.setPrivateKey=v):this._primeCode=8}function A(t,r){var n=new e(t.toArray());return r?n.toString(r):n}Object.defineProperty(M.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var r=e.toString("hex"),n=[r,t.toString(16)].join("_");if(n in w)return w[n];var y,_=0;if(t.isEven()||!m.simpleSieve||!m.fermatTest(t)||!o.test(t))return _+=1,_+="02"===r||"05"===r?8:4,w[n]=_,_;switch(o.test(t.shrn(1))||(_+=2),r){case"02":t.mod(h).cmp(c)&&(_+=8);break;case"05":(y=t.mod(l)).cmp(d)&&y.cmp(f)&&(_+=8);break;default:_+=4}return w[n]=_,_}(this.__prime,this.__gen)),this._primeCode}}),M.prototype.generateKeys=function(){return this._priv||(this._priv=new n(y(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},M.prototype.computeSecret=function(t){var r=(t=(t=new n(t)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new e(r.toArray()),h=this.getPrime();if(o.length0&&e.ishrn(r),e}function _(q,t,e){var r,h;do{for(r=n.alloc(0);8*r.length","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},,function(t,e,r){"use strict";var n=r(48),o=r(65),h=r(15),c=r(150),l=n.assert;function d(t){c.call(this,"short",t),this.a=new o(t.a,16).toRed(this.red),this.b=new o(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(t,e,r,n){c.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(e,16),this.y=new o(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(t,e,r,n){c.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(e,16),this.y=new o(r,16),this.z=new o(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}h(d,c),t.exports=d,d.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new o(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new o(t.lambda,16);else{var h=this._getEndoRoots(this.n);0===this.g.mul(h[0]).x.cmp(this.g.x.redMul(e))?r=h[0]:(r=h[1],l(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map(function(t){return{a:new o(t.a,16),b:new o(t.b,16)}}):this._getEndoBasis(r)}}},d.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:o.mont(t),r=new o(2).toRed(e).redInvm(),n=r.redNeg(),s=new o(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(s).fromRed(),n.redSub(s).fromRed()]},d.prototype._getEndoBasis=function(t){for(var e,r,n,h,c,l,d,f,m,y=this.n.ushrn(Math.floor(this.n.bitLength()/2)),u=t,_=this.n.clone(),v=new o(1),w=new o(0),M=new o(0),A=new o(1),i=0;0!==u.cmpn(0);){var q=_.div(u);f=_.sub(q.mul(u)),m=M.sub(q.mul(v));var S=A.sub(q.mul(w));if(!n&&f.cmp(y)<0)e=d.neg(),r=v,n=f.neg(),h=m;else if(n&&2===++i)break;d=f,_=u,u=f,M=v,v=m,A=w,w=S}c=f.neg(),l=m;var k=n.sqr().add(h.sqr());return c.sqr().add(l.sqr()).cmp(k)>=0&&(c=e,l=r),n.negative&&(n=n.neg(),h=h.neg()),c.negative&&(c=c.neg(),l=l.neg()),[{a:n,b:h},{a:c,b:l}]},d.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],o=n.b.mul(t).divRound(this.n),h=r.b.neg().mul(t).divRound(this.n),c=o.mul(r.a),l=h.mul(n.a),d=o.mul(r.b),f=h.mul(n.b);return{k1:t.sub(c).sub(l),k2:d.add(f).neg()}},d.prototype.pointFromX=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var h=n.fromRed().isOdd();return(e&&!h||!e&&h)&&(n=n.redNeg()),this.point(t,n)},d.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),o=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},d.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,i=0;i":""},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(p){if(this.inf)return p;if(p.inf)return this;if(this.eq(p))return this.dbl();if(this.neg().eq(p))return this.curve.point(null,null);if(0===this.x.cmp(p.x))return this.curve.point(null,null);var t=this.y.redSub(p.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(p.x).redInvm()));var e=t.redSqr().redISub(this.x).redISub(p.x),r=t.redMul(this.x.redSub(e)).redISub(this.y);return this.curve.point(e,r)},f.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var a=this.curve.a,e=this.x.redSqr(),r=t.redInvm(),n=e.redAdd(e).redIAdd(e).redIAdd(a).redMul(r),o=n.redSqr().redISub(this.x.redAdd(this.x)),h=n.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,h)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(t){return t=new o(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},f.prototype.mulAdd=function(t,e,r){var n=[this,e],o=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},f.prototype.jmulAdd=function(t,e,r){var n=[this,e],o=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},f.prototype.eq=function(p){return this===p||this.inf===p.inf&&(this.inf||0===this.x.cmp(p.x)&&0===this.y.cmp(p.y))},f.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var pre=this.precomputed,r=function(p){return p.neg()};e.precomputed={naf:pre.naf&&{wnd:pre.naf.wnd,points:pre.naf.points.map(r)},doubles:pre.doubles&&{step:pre.doubles.step,points:pre.doubles.points.map(r)}}}return e},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},h(m,c.BasePoint),d.prototype.jpoint=function(t,e,r){return new m(this,t,e,r)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(p){if(this.isInfinity())return p;if(p.isInfinity())return this;var t=p.z.redSqr(),e=this.z.redSqr(),r=this.x.redMul(t),n=p.x.redMul(e),o=this.y.redMul(t.redMul(p.z)),h=p.y.redMul(e.redMul(this.z)),c=r.redSub(n),l=o.redSub(h);if(0===c.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=c.redSqr(),h3=h2.redMul(c),d=r.redMul(h2),f=l.redSqr().redIAdd(h3).redISub(d).redISub(d),m=l.redMul(d.redISub(f)).redISub(o.redMul(h3)),y=this.z.redMul(p.z).redMul(c);return this.curve.jpoint(f,m,y)},m.prototype.mixedAdd=function(p){if(this.isInfinity())return p.toJ();if(p.isInfinity())return this;var t=this.z.redSqr(),e=this.x,r=p.x.redMul(t),n=this.y,o=p.y.redMul(t).redMul(this.z),h=e.redSub(r),c=n.redSub(o);if(0===h.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=h.redSqr(),h3=h2.redMul(h),l=e.redMul(h2),d=c.redSqr().redIAdd(h3).redISub(l).redISub(l),f=c.redMul(l.redISub(d)).redISub(n.redMul(h3)),m=this.z.redMul(h);return this.curve.jpoint(d,f,m)},m.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var i;if(this.curve.zeroA||this.curve.threeA){var e=this;for(i=0;i=0)return!1;if(r.redIAdd(o),0===this.x.cmp(r))return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,r){"use strict";var n=r(65),o=r(15),h=r(150),c=r(48);function l(t){h.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(t,e,r){h.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(l,h),t.exports=l,l.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},o(d,h.BasePoint),l.prototype.decodePoint=function(t,e){return this.point(c.toArray(t,e),1)},l.prototype.point=function(t,e){return new d(this,t,e)},l.prototype.pointFromJSON=function(t){return d.fromJSON(this,t)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(t,e){return new d(t,e[0],e[1]||t.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},d.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),o=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,o)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(p,t){var a=this.x.redAdd(this.z),b=this.x.redSub(this.z),e=p.x.redAdd(p.z),r=p.x.redSub(p.z).redMul(a),n=e.redMul(b),o=t.z.redMul(r.redAdd(n).redSqr()),h=t.x.redMul(r.redISub(n).redSqr());return this.curve.point(o,h)},d.prototype.mul=function(t){for(var e=t.clone(),a=this,b=this.curve.point(null,null),r=[];0!==e.cmpn(0);e.iushrn(1))r.push(e.andln(1));for(var i=r.length-1;i>=0;i--)0===r[i]?(a=a.diffAdd(b,this),b=b.dbl()):(b=a.diffAdd(b,this),a=a.dbl());return b},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,r){"use strict";var n=r(48),o=r(65),h=r(15),c=r(150),l=n.assert;function d(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,c.call(this,"edwards",t),this.a=new o(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function f(t,e,r,n,h){c.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(e,16),this.y=new o(r,16),this.z=n?new o(n,16):this.curve.one,this.t=h&&new o(h,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}h(d,c),t.exports=d,d.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},d.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},d.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},d.prototype.pointFromX=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),h=this.one.redSub(this.c2.redMul(this.d).redMul(r)),c=n.redMul(h.redInvm()),l=c.redSqrt();if(0!==l.redSqr().redSub(c).cmp(this.zero))throw new Error("invalid point");var d=l.fromRed().isOdd();return(e&&!d||!e&&d)&&(l=l.redNeg()),this.point(t,l)},d.prototype.pointFromY=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),h=r.redMul(this.d).redMul(this.c2).redSub(this.a),c=n.redMul(h.redInvm());if(0===c.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var l=c.redSqrt();if(0!==l.redSqr().redSub(c).cmp(this.zero))throw new Error("invalid point");return l.fromRed().isOdd()!==e&&(l=l.redNeg()),this.point(l,t)},d.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),o=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(o)},h(f,c.BasePoint),d.prototype.pointFromJSON=function(t){return f.fromJSON(this,t)},d.prototype.point=function(t,e,r,n){return new f(this,t,e,r,n)},f.fromJSON=function(t,e){return new f(t,e[0],e[1],e[2])},f.prototype.inspect=function(){return this.isInfinity()?"":""},f.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},f.prototype._extDbl=function(){var a=this.x.redSqr(),b=this.y.redSqr(),t=this.z.redSqr();t=t.redIAdd(t);var e=this.curve._mulA(a),r=this.x.redAdd(this.y).redSqr().redISub(a).redISub(b),g=e.redAdd(b),n=g.redSub(t),o=e.redSub(b),h=r.redMul(n),c=g.redMul(o),l=r.redMul(o),d=n.redMul(g);return this.curve.point(h,c,d,l)},f.prototype._projDbl=function(){var t,e,r,n,o,h,b=this.x.redAdd(this.y).redSqr(),c=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){var d=(n=this.curve._mulA(c)).redAdd(l);this.zOne?(t=b.redSub(c).redSub(l).redMul(d.redSub(this.curve.two)),e=d.redMul(n.redSub(l)),r=d.redSqr().redSub(d).redSub(d)):(o=this.z.redSqr(),h=d.redSub(o).redISub(o),t=b.redSub(c).redISub(l).redMul(h),e=d.redMul(n.redSub(l)),r=d.redMul(h))}else n=c.redAdd(l),o=this.curve._mulC(this.z).redSqr(),h=n.redSub(o).redSub(o),t=this.curve._mulC(b.redISub(n)).redMul(h),e=this.curve._mulC(n).redMul(c.redISub(l)),r=n.redMul(h);return this.curve.point(t,e,r)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(p){var a=this.y.redSub(this.x).redMul(p.y.redSub(p.x)),b=this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)),t=this.t.redMul(this.curve.dd).redMul(p.t),e=this.z.redMul(p.z.redAdd(p.z)),r=b.redSub(a),n=e.redSub(t),g=e.redAdd(t),o=b.redAdd(a),h=r.redMul(n),c=g.redMul(o),l=r.redMul(o),d=n.redMul(g);return this.curve.point(h,c,d,l)},f.prototype._projAdd=function(p){var t,e,a=this.z.redMul(p.z),b=a.redSqr(),r=this.x.redMul(p.x),n=this.y.redMul(p.y),o=this.curve.d.redMul(r).redMul(n),h=b.redSub(o),g=b.redAdd(o),c=this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(r).redISub(n),l=a.redMul(h).redMul(c);return this.curve.twisted?(t=a.redMul(g).redMul(n.redSub(this.curve._mulA(r))),e=h.redMul(g)):(t=a.redMul(g).redMul(n.redSub(r)),e=this.curve._mulC(h).redMul(g)),this.curve.point(l,t,e)},f.prototype.add=function(p){return this.isInfinity()?p:p.isInfinity()?this:this.curve.extended?this._extAdd(p):this._projAdd(p)},f.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},f.prototype.mulAdd=function(t,p,e){return this.curve._wnafMulAdd(1,[this,p],[t,e],2,!1)},f.prototype.jmulAdd=function(t,p,e){return this.curve._wnafMulAdd(1,[this,p],[t,e],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},f.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},function(t,e,r){"use strict";e.sha1=r(772),e.sha224=r(773),e.sha256=r(317),e.sha384=r(774),e.sha512=r(318)},function(t,e,r){"use strict";var n=r(57),o=r(124),h=r(316),c=n.rotl32,l=n.sum32,d=n.sum32_5,f=h.ft_1,m=o.BlockHash,y=[1518500249,1859775393,2400959708,3395469782];function _(){if(!(this instanceof _))return new _;m.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(_,m),t.exports=_,_.blockSize=512,_.outSize=160,_.hmacStrength=80,_.padLength=64,_.prototype._update=function(t,e){for(var r=this.W,i=0;i<16;i++)r[i]=t[e+i];for(;ithis.blockSize&&(t=(new this.Hash).update(t).digest()),o(t.length<=this.blockSize);for(var i=t.length;i0))return c.iaddn(1),this.keyFromPrivate(c)}},y.prototype._truncateToN=function(t,e,r){var o;if(n.isBN(t)||"number"==typeof t)o=(t=new n(t,16)).byteLength();else if("object"==typeof t)o=t.length,t=new n(t,16);else{var h=t.toString();o=h.length+1>>>1,t=new n(h,16)}"number"!=typeof r&&(r=8*o);var c=r-this.n.bitLength();return c>0&&(t=t.ushrn(c)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},y.prototype.sign=function(t,e,r,h){if("object"==typeof r&&(h=r,r=null),h||(h={}),"string"!=typeof t&&"number"!=typeof t&&!n.isBN(t)){d("object"==typeof t&&t&&"number"==typeof t.length,"Expected message to be an array-like, a hex string, or a BN instance"),d(t.length>>>0===t.length);for(var i=0;i=0)){var M=this.g.mul(w);if(!M.isInfinity()){var A=M.getX(),S=A.umod(this.n);if(0!==S.cmpn(0)){var s=w.invm(this.n).mul(S.mul(e.getPrivate()).iadd(t));if(0!==(s=s.umod(this.n)).cmpn(0)){var k=(M.getY().isOdd()?1:0)|(0!==A.cmp(S)?2:0);return h.canonical&&s.cmp(this.nh)>0&&(s=this.n.sub(s),k^=1),new m({r:S,s:s,recoveryParam:k})}}}}}},y.prototype.verify=function(t,e,r,n,o){o||(o={}),t=this._truncateToN(t,!1,o.msgBitLength),r=this.keyFromPublic(r,n);var h=(e=new m(e,"hex")).r,s=e.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var p,c=s.invm(this.n),l=c.mul(t).umod(this.n),d=c.mul(h).umod(this.n);return this.curve._maxwellTrick?!(p=this.g.jmulAdd(l,r.getPublic(),d)).isInfinity()&&p.eqXToP(h):!(p=this.g.mulAdd(l,r.getPublic(),d)).isInfinity()&&0===p.getX().umod(this.n).cmp(h)},y.prototype.recoverPubKey=function(t,e,r,o){d((3&r)===r,"The recovery param is more than two bits"),e=new m(e,o);var h=this.n,c=new n(t),l=e.r,s=e.s,f=1&r,y=r>>1;if(l.cmp(this.curve.p.umod(this.curve.n))>=0&&y)throw new Error("Unable to find sencond key candinate");l=y?this.curve.pointFromX(l.add(this.curve.n),f):this.curve.pointFromX(l,f);var _=e.r.invm(h),v=h.sub(c).mul(_).umod(h),w=s.mul(_).umod(h);return this.g.mulAdd(v,l,w)},y.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new m(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,r){"use strict";var n=r(221),o=r(314),h=r(47);function c(t){if(!(this instanceof c))return new c(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=o.toArray(t.entropy,t.entropyEnc||"hex"),r=o.toArray(t.nonce,t.nonceEnc||"hex"),n=o.toArray(t.pers,t.persEnc||"hex");h(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=c,c.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},c.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var h=[];h.length"}},function(t,e,r){"use strict";var n=r(65),o=r(48),h=o.assert;function c(t,e){if(t instanceof c)return t;this._importDER(t,e)||(h(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function l(){this.place=0}function d(t,p){var e=t[p.place++];if(!(128&e))return e;var r=15&e;if(0===r||r>4)return!1;if(0===t[p.place])return!1;for(var n=0,i=0,o=p.place;i>>=0;return!(n<=127)&&(p.place=o,n)}function f(t){for(var i=0,e=t.length-1;!t[i]&&!(128&t[i+1])&&i>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}t.exports=c,c.prototype._importDER=function(data,t){data=o.toArray(data,t);var p=new l;if(48!==data[p.place++])return!1;var e=d(data,p);if(!1===e)return!1;if(e+p.place!==data.length)return!1;if(2!==data[p.place++])return!1;var r=d(data,p);if(!1===r)return!1;if(128&data[p.place])return!1;var h=data.slice(p.place,r+p.place);if(p.place+=r,2!==data[p.place++])return!1;var c=d(data,p);if(!1===c)return!1;if(data.length!==c+p.place)return!1;if(128&data[p.place])return!1;var s=data.slice(p.place,c+p.place);if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new n(h),this.s=new n(s),this.recoveryParam=null,!0},c.prototype.toDER=function(t){var e=this.r.toArray(),s=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&s[0]&&(s=[0].concat(s)),e=f(e),s=f(s);!(s[0]||128&s[1]);)s=s.slice(1);var r=[2];m(r,e.length),(r=r.concat(e)).push(2),m(r,s.length);var n=r.concat(s),h=[48];return m(h,n.length),h=h.concat(n),o.encode(h,t)}},function(t,e,r){"use strict";var n=r(221),o=r(220),h=r(48),c=h.assert,l=h.parseBytes,d=r(783),f=r(784);function m(t){if(c("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof m))return new m(t);t=o[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=m,m.prototype.sign=function(t,e){t=l(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),o=this.g.mul(n),h=this.encodePoint(o),c=this.hashInt(h,r.pubBytes(),t).mul(r.priv()),d=n.add(c).umod(this.curve.n);return this.makeSignature({R:o,S:d,Rencoded:h})},m.prototype.verify=function(t,e,r){if(t=l(t),(e=this.makeSignature(e)).S().gte(e.eddsa.curve.n)||e.S().isNeg())return!1;var n=this.keyFromPublic(r),o=this.hashInt(e.Rencoded(),n.pubBytes(),t),h=this.g.mul(e.S());return e.R().add(n.pub().mul(o)).eq(h)},m.prototype.hashInt=function(){for(var t=this.hash(),i=0;i=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=l(t,r);return r-1>=e&&(n|=l(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i=49?c-49+10:c>=17?c-17+10:c}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i=e;i-=2)n=d(t,e,i)<=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;this.strip()},h.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,h=o%r,c=Math.min(o,o-h)+e,l=0,i=e;i1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,c=o/67108864|0;r.words[0]=h;for(var l=1;l>>26,f=67108863&c,m=Math.min(l,e.length-1),y=Math.max(0,l-t.length+1);y<=m;y++){var i=l-y|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[y])+f)/67108864|0,f=67108863&o}r.words[l]=0|f,c=0|d}return 0!==c?r.words[l]=0|c:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),e=0!==o||i!==this.length-1?m[6-c.length]+c+e:c+e}for(0!==o&&(e=o.toString(16)+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var l=y[base],d=_[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var v=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?v+e:m[l-v.length]+v+e}for(this.isZero()&&(e="0"+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,l=new t(h),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),l[i]=b;for(;i=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 8191&e||(r+=13,e>>>=13),127&e||(r+=7,e>>>=7),15&e||(r+=4,e>>>=4),3&e||(r+=2,e>>>=2),1&e||r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;it.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;it.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;it.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i>>26;for(;0!==r&&i>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;it.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i>26,this.words[i]=67108863&e;for(;0!==n&&i>26,this.words[i]=67108863&e;if(0===n&&i>>13,y=0|a[1],_=8191&y,v=y>>>13,w=0|a[2],M=8191&w,A=w>>>13,S=0|a[3],k=8191&S,L=S>>>13,T=0|a[4],x=8191&T,E=T>>>13,D=0|a[5],Y=8191&D,C=D>>>13,O=0|a[6],P=8191&O,R=O>>>13,j=0|a[7],I=8191&j,N=j>>>13,B=0|a[8],H=8191&B,F=B>>>13,U=0|a[9],z=8191&U,$=U>>>13,W=0|b[0],G=8191&W,V=W>>>13,Z=0|b[1],K=8191&Z,J=Z>>>13,Q=0|b[2],X=8191&Q,tt=Q>>>13,et=0|b[3],nt=8191&et,it=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],ht=8191&ut,ct=ut>>>13,lt=0|b[6],ft=8191<,pt=lt>>>13,mt=0|b[7],yt=8191&mt,gt=mt>>>13,_t=0|b[8],vt=8191&_t,bt=_t>>>13,wt=0|b[9],Mt=8191&wt,At=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var St=(l+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,V))+Math.imul(m,G)|0))<<13)|0;l=((h=Math.imul(m,V))+(o>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(_,G),o=(o=Math.imul(_,V))+Math.imul(v,G)|0,h=Math.imul(v,V);var kt=(l+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,J)|0)+Math.imul(m,K)|0))<<13)|0;l=((h=h+Math.imul(m,J)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(M,G),o=(o=Math.imul(M,V))+Math.imul(A,G)|0,h=Math.imul(A,V),n=n+Math.imul(_,K)|0,o=(o=o+Math.imul(_,J)|0)+Math.imul(v,K)|0,h=h+Math.imul(v,J)|0;var Lt=(l+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,X)|0))<<13)|0;l=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(k,G),o=(o=Math.imul(k,V))+Math.imul(L,G)|0,h=Math.imul(L,V),n=n+Math.imul(M,K)|0,o=(o=o+Math.imul(M,J)|0)+Math.imul(A,K)|0,h=h+Math.imul(A,J)|0,n=n+Math.imul(_,X)|0,o=(o=o+Math.imul(_,tt)|0)+Math.imul(v,X)|0,h=h+Math.imul(v,tt)|0;var Tt=(l+(n=n+Math.imul(f,nt)|0)|0)+((8191&(o=(o=o+Math.imul(f,it)|0)+Math.imul(m,nt)|0))<<13)|0;l=((h=h+Math.imul(m,it)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,V))+Math.imul(E,G)|0,h=Math.imul(E,V),n=n+Math.imul(k,K)|0,o=(o=o+Math.imul(k,J)|0)+Math.imul(L,K)|0,h=h+Math.imul(L,J)|0,n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(_,nt)|0,o=(o=o+Math.imul(_,it)|0)+Math.imul(v,nt)|0,h=h+Math.imul(v,it)|0;var xt=(l+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;l=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(Y,G),o=(o=Math.imul(Y,V))+Math.imul(C,G)|0,h=Math.imul(C,V),n=n+Math.imul(x,K)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(E,K)|0,h=h+Math.imul(E,J)|0,n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(L,X)|0,h=h+Math.imul(L,tt)|0,n=n+Math.imul(M,nt)|0,o=(o=o+Math.imul(M,it)|0)+Math.imul(A,nt)|0,h=h+Math.imul(A,it)|0,n=n+Math.imul(_,at)|0,o=(o=o+Math.imul(_,st)|0)+Math.imul(v,at)|0,h=h+Math.imul(v,st)|0;var Et=(l+(n=n+Math.imul(f,ht)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,ht)|0))<<13)|0;l=((h=h+Math.imul(m,ct)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),o=(o=Math.imul(P,V))+Math.imul(R,G)|0,h=Math.imul(R,V),n=n+Math.imul(Y,K)|0,o=(o=o+Math.imul(Y,J)|0)+Math.imul(C,K)|0,h=h+Math.imul(C,J)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(E,X)|0,h=h+Math.imul(E,tt)|0,n=n+Math.imul(k,nt)|0,o=(o=o+Math.imul(k,it)|0)+Math.imul(L,nt)|0,h=h+Math.imul(L,it)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(_,ht)|0,o=(o=o+Math.imul(_,ct)|0)+Math.imul(v,ht)|0,h=h+Math.imul(v,ct)|0;var Dt=(l+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;l=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,V))+Math.imul(N,G)|0,h=Math.imul(N,V),n=n+Math.imul(P,K)|0,o=(o=o+Math.imul(P,J)|0)+Math.imul(R,K)|0,h=h+Math.imul(R,J)|0,n=n+Math.imul(Y,X)|0,o=(o=o+Math.imul(Y,tt)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(x,nt)|0,o=(o=o+Math.imul(x,it)|0)+Math.imul(E,nt)|0,h=h+Math.imul(E,it)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(L,at)|0,h=h+Math.imul(L,st)|0,n=n+Math.imul(M,ht)|0,o=(o=o+Math.imul(M,ct)|0)+Math.imul(A,ht)|0,h=h+Math.imul(A,ct)|0,n=n+Math.imul(_,ft)|0,o=(o=o+Math.imul(_,pt)|0)+Math.imul(v,ft)|0,h=h+Math.imul(v,pt)|0;var Yt=(l+(n=n+Math.imul(f,yt)|0)|0)+((8191&(o=(o=o+Math.imul(f,gt)|0)+Math.imul(m,yt)|0))<<13)|0;l=((h=h+Math.imul(m,gt)|0)+(o>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,n=Math.imul(H,G),o=(o=Math.imul(H,V))+Math.imul(F,G)|0,h=Math.imul(F,V),n=n+Math.imul(I,K)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(N,K)|0,h=h+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,o=(o=o+Math.imul(P,tt)|0)+Math.imul(R,X)|0,h=h+Math.imul(R,tt)|0,n=n+Math.imul(Y,nt)|0,o=(o=o+Math.imul(Y,it)|0)+Math.imul(C,nt)|0,h=h+Math.imul(C,it)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(E,at)|0,h=h+Math.imul(E,st)|0,n=n+Math.imul(k,ht)|0,o=(o=o+Math.imul(k,ct)|0)+Math.imul(L,ht)|0,h=h+Math.imul(L,ct)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(_,yt)|0,o=(o=o+Math.imul(_,gt)|0)+Math.imul(v,yt)|0,h=h+Math.imul(v,gt)|0;var Ct=(l+(n=n+Math.imul(f,vt)|0)|0)+((8191&(o=(o=o+Math.imul(f,bt)|0)+Math.imul(m,vt)|0))<<13)|0;l=((h=h+Math.imul(m,bt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(z,G),o=(o=Math.imul(z,V))+Math.imul($,G)|0,h=Math.imul($,V),n=n+Math.imul(H,K)|0,o=(o=o+Math.imul(H,J)|0)+Math.imul(F,K)|0,h=h+Math.imul(F,J)|0,n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(P,nt)|0,o=(o=o+Math.imul(P,it)|0)+Math.imul(R,nt)|0,h=h+Math.imul(R,it)|0,n=n+Math.imul(Y,at)|0,o=(o=o+Math.imul(Y,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(x,ht)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(E,ht)|0,h=h+Math.imul(E,ct)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(L,ft)|0,h=h+Math.imul(L,pt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,gt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,gt)|0,n=n+Math.imul(_,vt)|0,o=(o=o+Math.imul(_,bt)|0)+Math.imul(v,vt)|0,h=h+Math.imul(v,bt)|0;var Ot=(l+(n=n+Math.imul(f,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(f,At)|0)+Math.imul(m,Mt)|0))<<13)|0;l=((h=h+Math.imul(m,At)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(z,K),o=(o=Math.imul(z,J))+Math.imul($,K)|0,h=Math.imul($,J),n=n+Math.imul(H,X)|0,o=(o=o+Math.imul(H,tt)|0)+Math.imul(F,X)|0,h=h+Math.imul(F,tt)|0,n=n+Math.imul(I,nt)|0,o=(o=o+Math.imul(I,it)|0)+Math.imul(N,nt)|0,h=h+Math.imul(N,it)|0,n=n+Math.imul(P,at)|0,o=(o=o+Math.imul(P,st)|0)+Math.imul(R,at)|0,h=h+Math.imul(R,st)|0,n=n+Math.imul(Y,ht)|0,o=(o=o+Math.imul(Y,ct)|0)+Math.imul(C,ht)|0,h=h+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(E,ft)|0,h=h+Math.imul(E,pt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,gt)|0)+Math.imul(L,yt)|0,h=h+Math.imul(L,gt)|0,n=n+Math.imul(M,vt)|0,o=(o=o+Math.imul(M,bt)|0)+Math.imul(A,vt)|0,h=h+Math.imul(A,bt)|0;var Pt=(l+(n=n+Math.imul(_,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(_,At)|0)+Math.imul(v,Mt)|0))<<13)|0;l=((h=h+Math.imul(v,At)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,tt))+Math.imul($,X)|0,h=Math.imul($,tt),n=n+Math.imul(H,nt)|0,o=(o=o+Math.imul(H,it)|0)+Math.imul(F,nt)|0,h=h+Math.imul(F,it)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(P,ht)|0,o=(o=o+Math.imul(P,ct)|0)+Math.imul(R,ht)|0,h=h+Math.imul(R,ct)|0,n=n+Math.imul(Y,ft)|0,o=(o=o+Math.imul(Y,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(x,yt)|0,o=(o=o+Math.imul(x,gt)|0)+Math.imul(E,yt)|0,h=h+Math.imul(E,gt)|0,n=n+Math.imul(k,vt)|0,o=(o=o+Math.imul(k,bt)|0)+Math.imul(L,vt)|0,h=h+Math.imul(L,bt)|0;var Rt=(l+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,At)|0)+Math.imul(A,Mt)|0))<<13)|0;l=((h=h+Math.imul(A,At)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(z,nt),o=(o=Math.imul(z,it))+Math.imul($,nt)|0,h=Math.imul($,it),n=n+Math.imul(H,at)|0,o=(o=o+Math.imul(H,st)|0)+Math.imul(F,at)|0,h=h+Math.imul(F,st)|0,n=n+Math.imul(I,ht)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(N,ht)|0,h=h+Math.imul(N,ct)|0,n=n+Math.imul(P,ft)|0,o=(o=o+Math.imul(P,pt)|0)+Math.imul(R,ft)|0,h=h+Math.imul(R,pt)|0,n=n+Math.imul(Y,yt)|0,o=(o=o+Math.imul(Y,gt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,gt)|0,n=n+Math.imul(x,vt)|0,o=(o=o+Math.imul(x,bt)|0)+Math.imul(E,vt)|0,h=h+Math.imul(E,bt)|0;var jt=(l+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,At)|0)+Math.imul(L,Mt)|0))<<13)|0;l=((h=h+Math.imul(L,At)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(z,at),o=(o=Math.imul(z,st))+Math.imul($,at)|0,h=Math.imul($,st),n=n+Math.imul(H,ht)|0,o=(o=o+Math.imul(H,ct)|0)+Math.imul(F,ht)|0,h=h+Math.imul(F,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(P,yt)|0,o=(o=o+Math.imul(P,gt)|0)+Math.imul(R,yt)|0,h=h+Math.imul(R,gt)|0,n=n+Math.imul(Y,vt)|0,o=(o=o+Math.imul(Y,bt)|0)+Math.imul(C,vt)|0,h=h+Math.imul(C,bt)|0;var It=(l+(n=n+Math.imul(x,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(x,At)|0)+Math.imul(E,Mt)|0))<<13)|0;l=((h=h+Math.imul(E,At)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(z,ht),o=(o=Math.imul(z,ct))+Math.imul($,ht)|0,h=Math.imul($,ct),n=n+Math.imul(H,ft)|0,o=(o=o+Math.imul(H,pt)|0)+Math.imul(F,ft)|0,h=h+Math.imul(F,pt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,gt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,gt)|0,n=n+Math.imul(P,vt)|0,o=(o=o+Math.imul(P,bt)|0)+Math.imul(R,vt)|0,h=h+Math.imul(R,bt)|0;var Nt=(l+(n=n+Math.imul(Y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(Y,At)|0)+Math.imul(C,Mt)|0))<<13)|0;l=((h=h+Math.imul(C,At)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(z,ft),o=(o=Math.imul(z,pt))+Math.imul($,ft)|0,h=Math.imul($,pt),n=n+Math.imul(H,yt)|0,o=(o=o+Math.imul(H,gt)|0)+Math.imul(F,yt)|0,h=h+Math.imul(F,gt)|0,n=n+Math.imul(I,vt)|0,o=(o=o+Math.imul(I,bt)|0)+Math.imul(N,vt)|0,h=h+Math.imul(N,bt)|0;var Bt=(l+(n=n+Math.imul(P,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(P,At)|0)+Math.imul(R,Mt)|0))<<13)|0;l=((h=h+Math.imul(R,At)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(z,yt),o=(o=Math.imul(z,gt))+Math.imul($,yt)|0,h=Math.imul($,gt),n=n+Math.imul(H,vt)|0,o=(o=o+Math.imul(H,bt)|0)+Math.imul(F,vt)|0,h=h+Math.imul(F,bt)|0;var Ht=(l+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,At)|0)+Math.imul(N,Mt)|0))<<13)|0;l=((h=h+Math.imul(N,At)|0)+(o>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(z,vt),o=(o=Math.imul(z,bt))+Math.imul($,vt)|0,h=Math.imul($,bt);var Ft=(l+(n=n+Math.imul(H,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(H,At)|0)+Math.imul(F,Mt)|0))<<13)|0;l=((h=h+Math.imul(F,At)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863;var Ut=(l+(n=Math.imul(z,Mt))|0)+((8191&(o=(o=Math.imul(z,At))+Math.imul($,Mt)|0))<<13)|0;return l=((h=Math.imul($,At))+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,c[0]=St,c[1]=kt,c[2]=Lt,c[3]=Tt,c[4]=xt,c[5]=Et,c[6]=Dt,c[7]=Yt,c[8]=Ct,c[9]=Ot,c[10]=Pt,c[11]=Rt,c[12]=jt,c[13]=It,c[14]=Nt,c[15]=Bt,c[16]=Ht,c[17]=Ft,c[18]=Ut,0!==l&&(c[19]=l,r.length++),r};function M(t,e,r){return(new A).mulp(t,e,r)}function A(t,e){this.x=t,this.y=e}Math.imul||(w=v),h.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?v(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h>>26)|0)>>>26,c&=67108863}r.words[h]=l,n=c,c=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):M(this,t,e),r},A.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i>=1;return n},A.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i>>=1)i++;return 1<>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),0===t&&(this.length=1,this._normSign()),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<s)for(this.length-=s,i=0;i=0&&(0!==l||i>=o);i--){var d=0|this.words[i];this.words[i]=l<<26-h|d>>>h,l=d&mask}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i=0;l--){var d=67108864*(0|a.words[b.length+l])+(0|a.words[b.length+l-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,l);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,l),a.isZero()||(a.negative^=1);q&&(q.words[l]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!==(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=e.mod.abs(),n=t.abs().iushrn(1),o=1&t.words[0],c=r.cmp(n);if(c<0||1===o&&0===c)return e.div;var l=new h(1);return l.negative=this.negative^t.negative,e.div.iadd(l)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),c=new h(0),l=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0===(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var y=0,_=1;0===(e.words[0]&_)&&y<26;++y,_<<=1);if(y>0)for(e.iushrn(y);y-- >0;)(c.isOdd()||l.isOdd())&&(c.iadd(d),l.isub(f)),c.iushrn(1),l.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(l)):(e.isub(t),c.isub(r),l.isub(o))}return{a:c,b:l,gcd:e.iushln(g)}},h.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0===(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var l=0,d=1;0===(b.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(b.iushrn(l);l-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return!(1&this.words[0])},h.prototype.isOdd=function(){return!(1&~this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:ot.length)return 1;if(this.length=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){ab&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new D(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function k(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function L(){k.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function T(){k.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){k.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){k.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function Y(t){D.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}k.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},k.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},k.prototype.split=function(input,t){input.iushrn(this.n,0,t)},k.prototype.imulK=function(t){return t.imul(this.k)},o(L,k),L.prototype.split=function(input,output){for(var mask=4194303,t=Math.min(input.length,9),i=0;i>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},L.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new L;else if("p224"===t)e=new T;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new E}return S[t]=e,e},D.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},D.prototype._verify2=function(a,b){n(0===(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},D.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},D.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},D.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},D.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},D.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},D.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},D.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},D.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},D.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},D.prototype.isqr=function(a){return this.imul(a,a.clone())},D.prototype.sqr=function(a){return this.mul(a,a)},D.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new h(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new h(2*l*l).toRed(this);0!==this.pow(l,c).cmp(o);)l.redIAdd(o);for(var d=this.pow(l,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),y=s;0!==m.cmp(r);){for(var _=m,i=0;0!==_.cmp(r);i++)_=_.redSqr();n(i=0;i--){for(var l=t.words[i],d=c-1;d>=0;d--){var f=l>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},D.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},D.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new Y(t)},o(Y,D),Y.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Y.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},Y.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(76)(t))},,function(t,e,r){var n=r(125),o=r(15);function h(t,body){this.name=t,this.body=body,this.decoders={},this.encoders={}}e.define=function(t,body){return new h(t,body)},h.prototype._createNamed=function(base){var t;try{t=r(789).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(e){t=function(t){this._initNamed(t)}}return o(t,base),t.prototype._initNamed=function(t){base.call(this,t)},new t(this)},h.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(n.decoders[t])),this.decoders[t]},h.prototype.decode=function(data,t,e){return this._getDecoder(t).decode(data,e)},h.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n.encoders[t])),this.encoders[t]},h.prototype.encode=function(data,t,e){return this._getEncoder(t).encode(data,e)}},function(module,exports){var indexOf=function(t,e){if(t.indexOf)return t.indexOf(e);for(var i=0;i=0)throw new Error("invalid sig")}t.exports=function(t,e,r,f,m){var y=c(r);if("ec"===y.type){if("ecdsa"!==f&&"ecdsa/rsa"!==f)throw new Error("wrong public key type");return function(t,e,r){var n=l[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new h(n),c=r.data.subjectPrivateKey.data;return o.verify(e,t,c)}(t,e,y)}if("dsa"===y.type){if("dsa"!==f)throw new Error("wrong public key type");return function(t,e,r){var p=r.data.p,q=r.data.q,g=r.data.g,n=r.data.pub_key,h=c.signature.decode(t,"der"),s=h.s,l=h.r;d(s,q),d(l,q);var f=o.mont(p),m=s.invm(q),y=g.toRed(f).redPow(new o(e).mul(m).mod(q)).fromRed().mul(n.toRed(f).redPow(l.mul(m).mod(q)).fromRed()).mod(p).mod(q);return 0===y.cmp(l)}(t,e,y)}if("rsa"!==f&&"ecdsa/rsa"!==f)throw new Error("wrong public key type");e=n.concat([m,e]);for(var _=y.modulus.byteLength(),v=[1],w=0;e.length+v.length+2<_;)v.push(255),w+=1;v.push(0);for(var i=-1;++i=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function d(t,e,r){var n=l(t,r);return r-1>=e&&(n|=l(t,r-1)<<4),n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i=49?c-49+10:c>=17?c-17+10:c}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i=e;i-=2)n=d(t,e,i)<=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;else for(i=(t.length-e)%2==0?e+1:e;i=18?(o-=18,h+=1,this.words[h]|=n>>>26):o+=8;this.strip()},h.prototype._parseBase=function(t,base,e){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=t.length-e,h=o%r,c=Math.min(o,o-h)+e,l=0,i=e;i1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?""};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],y=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,c=o/67108864|0;r.words[0]=h;for(var l=1;l>>26,f=67108863&c,m=Math.min(l,e.length-1),y=Math.max(0,l-t.length+1);y<=m;y++){var i=l-y|0;d+=(o=(a=0|t.words[i])*(b=0|e.words[y])+f)/67108864|0,f=67108863&o}r.words[l]=0|f,c=0|d}return 0!==c?r.words[l]=0|c:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),e=0!==o||i!==this.length-1?m[6-c.length]+c+e:c+e}for(0!==o&&(e=o.toString(16)+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var l=y[base],d=_[base];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var v=f.modn(d).toString(base);e=(f=f.idivn(d)).isZero()?v+e:m[l-v.length]+v+e}for(this.isZero()&&(e="0"+e);e.length%t!==0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==c),this.toArrayLike(c,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,c="le"===e,l=new t(h),q=this.clone();if(c){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),l[i]=b;for(;i=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 8191&e||(r+=13,e>>>=13),127&e||(r+=7,e>>>=7),15&e||(r+=4,e>>>=4),3&e||(r+=2,e>>>=2),1&e||r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;it.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;it.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,b=this);for(var i=0;it.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i>>26;for(;0!==r&&i>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;it.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i>26,this.words[i]=67108863&e;for(;0!==n&&i>26,this.words[i]=67108863&e;if(0===n&&i>>13,y=0|a[1],_=8191&y,v=y>>>13,w=0|a[2],M=8191&w,A=w>>>13,S=0|a[3],k=8191&S,L=S>>>13,T=0|a[4],x=8191&T,E=T>>>13,D=0|a[5],Y=8191&D,C=D>>>13,O=0|a[6],P=8191&O,R=O>>>13,j=0|a[7],I=8191&j,N=j>>>13,B=0|a[8],H=8191&B,F=B>>>13,U=0|a[9],z=8191&U,$=U>>>13,W=0|b[0],G=8191&W,V=W>>>13,Z=0|b[1],K=8191&Z,J=Z>>>13,Q=0|b[2],X=8191&Q,tt=Q>>>13,et=0|b[3],nt=8191&et,it=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ut=0|b[5],ht=8191&ut,ct=ut>>>13,lt=0|b[6],ft=8191<,pt=lt>>>13,mt=0|b[7],yt=8191&mt,gt=mt>>>13,_t=0|b[8],vt=8191&_t,bt=_t>>>13,wt=0|b[9],Mt=8191&wt,At=wt>>>13;r.negative=t.negative^e.negative,r.length=19;var St=(l+(n=Math.imul(f,G))|0)+((8191&(o=(o=Math.imul(f,V))+Math.imul(m,G)|0))<<13)|0;l=((h=Math.imul(m,V))+(o>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(_,G),o=(o=Math.imul(_,V))+Math.imul(v,G)|0,h=Math.imul(v,V);var kt=(l+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,J)|0)+Math.imul(m,K)|0))<<13)|0;l=((h=h+Math.imul(m,J)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(M,G),o=(o=Math.imul(M,V))+Math.imul(A,G)|0,h=Math.imul(A,V),n=n+Math.imul(_,K)|0,o=(o=o+Math.imul(_,J)|0)+Math.imul(v,K)|0,h=h+Math.imul(v,J)|0;var Lt=(l+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,tt)|0)+Math.imul(m,X)|0))<<13)|0;l=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(k,G),o=(o=Math.imul(k,V))+Math.imul(L,G)|0,h=Math.imul(L,V),n=n+Math.imul(M,K)|0,o=(o=o+Math.imul(M,J)|0)+Math.imul(A,K)|0,h=h+Math.imul(A,J)|0,n=n+Math.imul(_,X)|0,o=(o=o+Math.imul(_,tt)|0)+Math.imul(v,X)|0,h=h+Math.imul(v,tt)|0;var Tt=(l+(n=n+Math.imul(f,nt)|0)|0)+((8191&(o=(o=o+Math.imul(f,it)|0)+Math.imul(m,nt)|0))<<13)|0;l=((h=h+Math.imul(m,it)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(x,G),o=(o=Math.imul(x,V))+Math.imul(E,G)|0,h=Math.imul(E,V),n=n+Math.imul(k,K)|0,o=(o=o+Math.imul(k,J)|0)+Math.imul(L,K)|0,h=h+Math.imul(L,J)|0,n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(_,nt)|0,o=(o=o+Math.imul(_,it)|0)+Math.imul(v,nt)|0,h=h+Math.imul(v,it)|0;var xt=(l+(n=n+Math.imul(f,at)|0)|0)+((8191&(o=(o=o+Math.imul(f,st)|0)+Math.imul(m,at)|0))<<13)|0;l=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(Y,G),o=(o=Math.imul(Y,V))+Math.imul(C,G)|0,h=Math.imul(C,V),n=n+Math.imul(x,K)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(E,K)|0,h=h+Math.imul(E,J)|0,n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(L,X)|0,h=h+Math.imul(L,tt)|0,n=n+Math.imul(M,nt)|0,o=(o=o+Math.imul(M,it)|0)+Math.imul(A,nt)|0,h=h+Math.imul(A,it)|0,n=n+Math.imul(_,at)|0,o=(o=o+Math.imul(_,st)|0)+Math.imul(v,at)|0,h=h+Math.imul(v,st)|0;var Et=(l+(n=n+Math.imul(f,ht)|0)|0)+((8191&(o=(o=o+Math.imul(f,ct)|0)+Math.imul(m,ht)|0))<<13)|0;l=((h=h+Math.imul(m,ct)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),o=(o=Math.imul(P,V))+Math.imul(R,G)|0,h=Math.imul(R,V),n=n+Math.imul(Y,K)|0,o=(o=o+Math.imul(Y,J)|0)+Math.imul(C,K)|0,h=h+Math.imul(C,J)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,tt)|0)+Math.imul(E,X)|0,h=h+Math.imul(E,tt)|0,n=n+Math.imul(k,nt)|0,o=(o=o+Math.imul(k,it)|0)+Math.imul(L,nt)|0,h=h+Math.imul(L,it)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(_,ht)|0,o=(o=o+Math.imul(_,ct)|0)+Math.imul(v,ht)|0,h=h+Math.imul(v,ct)|0;var Dt=(l+(n=n+Math.imul(f,ft)|0)|0)+((8191&(o=(o=o+Math.imul(f,pt)|0)+Math.imul(m,ft)|0))<<13)|0;l=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(I,G),o=(o=Math.imul(I,V))+Math.imul(N,G)|0,h=Math.imul(N,V),n=n+Math.imul(P,K)|0,o=(o=o+Math.imul(P,J)|0)+Math.imul(R,K)|0,h=h+Math.imul(R,J)|0,n=n+Math.imul(Y,X)|0,o=(o=o+Math.imul(Y,tt)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(x,nt)|0,o=(o=o+Math.imul(x,it)|0)+Math.imul(E,nt)|0,h=h+Math.imul(E,it)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(L,at)|0,h=h+Math.imul(L,st)|0,n=n+Math.imul(M,ht)|0,o=(o=o+Math.imul(M,ct)|0)+Math.imul(A,ht)|0,h=h+Math.imul(A,ct)|0,n=n+Math.imul(_,ft)|0,o=(o=o+Math.imul(_,pt)|0)+Math.imul(v,ft)|0,h=h+Math.imul(v,pt)|0;var Yt=(l+(n=n+Math.imul(f,yt)|0)|0)+((8191&(o=(o=o+Math.imul(f,gt)|0)+Math.imul(m,yt)|0))<<13)|0;l=((h=h+Math.imul(m,gt)|0)+(o>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,n=Math.imul(H,G),o=(o=Math.imul(H,V))+Math.imul(F,G)|0,h=Math.imul(F,V),n=n+Math.imul(I,K)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(N,K)|0,h=h+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,o=(o=o+Math.imul(P,tt)|0)+Math.imul(R,X)|0,h=h+Math.imul(R,tt)|0,n=n+Math.imul(Y,nt)|0,o=(o=o+Math.imul(Y,it)|0)+Math.imul(C,nt)|0,h=h+Math.imul(C,it)|0,n=n+Math.imul(x,at)|0,o=(o=o+Math.imul(x,st)|0)+Math.imul(E,at)|0,h=h+Math.imul(E,st)|0,n=n+Math.imul(k,ht)|0,o=(o=o+Math.imul(k,ct)|0)+Math.imul(L,ht)|0,h=h+Math.imul(L,ct)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(_,yt)|0,o=(o=o+Math.imul(_,gt)|0)+Math.imul(v,yt)|0,h=h+Math.imul(v,gt)|0;var Ct=(l+(n=n+Math.imul(f,vt)|0)|0)+((8191&(o=(o=o+Math.imul(f,bt)|0)+Math.imul(m,vt)|0))<<13)|0;l=((h=h+Math.imul(m,bt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(z,G),o=(o=Math.imul(z,V))+Math.imul($,G)|0,h=Math.imul($,V),n=n+Math.imul(H,K)|0,o=(o=o+Math.imul(H,J)|0)+Math.imul(F,K)|0,h=h+Math.imul(F,J)|0,n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(P,nt)|0,o=(o=o+Math.imul(P,it)|0)+Math.imul(R,nt)|0,h=h+Math.imul(R,it)|0,n=n+Math.imul(Y,at)|0,o=(o=o+Math.imul(Y,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(x,ht)|0,o=(o=o+Math.imul(x,ct)|0)+Math.imul(E,ht)|0,h=h+Math.imul(E,ct)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(L,ft)|0,h=h+Math.imul(L,pt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,gt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,gt)|0,n=n+Math.imul(_,vt)|0,o=(o=o+Math.imul(_,bt)|0)+Math.imul(v,vt)|0,h=h+Math.imul(v,bt)|0;var Ot=(l+(n=n+Math.imul(f,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(f,At)|0)+Math.imul(m,Mt)|0))<<13)|0;l=((h=h+Math.imul(m,At)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(z,K),o=(o=Math.imul(z,J))+Math.imul($,K)|0,h=Math.imul($,J),n=n+Math.imul(H,X)|0,o=(o=o+Math.imul(H,tt)|0)+Math.imul(F,X)|0,h=h+Math.imul(F,tt)|0,n=n+Math.imul(I,nt)|0,o=(o=o+Math.imul(I,it)|0)+Math.imul(N,nt)|0,h=h+Math.imul(N,it)|0,n=n+Math.imul(P,at)|0,o=(o=o+Math.imul(P,st)|0)+Math.imul(R,at)|0,h=h+Math.imul(R,st)|0,n=n+Math.imul(Y,ht)|0,o=(o=o+Math.imul(Y,ct)|0)+Math.imul(C,ht)|0,h=h+Math.imul(C,ct)|0,n=n+Math.imul(x,ft)|0,o=(o=o+Math.imul(x,pt)|0)+Math.imul(E,ft)|0,h=h+Math.imul(E,pt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,gt)|0)+Math.imul(L,yt)|0,h=h+Math.imul(L,gt)|0,n=n+Math.imul(M,vt)|0,o=(o=o+Math.imul(M,bt)|0)+Math.imul(A,vt)|0,h=h+Math.imul(A,bt)|0;var Pt=(l+(n=n+Math.imul(_,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(_,At)|0)+Math.imul(v,Mt)|0))<<13)|0;l=((h=h+Math.imul(v,At)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,tt))+Math.imul($,X)|0,h=Math.imul($,tt),n=n+Math.imul(H,nt)|0,o=(o=o+Math.imul(H,it)|0)+Math.imul(F,nt)|0,h=h+Math.imul(F,it)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(P,ht)|0,o=(o=o+Math.imul(P,ct)|0)+Math.imul(R,ht)|0,h=h+Math.imul(R,ct)|0,n=n+Math.imul(Y,ft)|0,o=(o=o+Math.imul(Y,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(x,yt)|0,o=(o=o+Math.imul(x,gt)|0)+Math.imul(E,yt)|0,h=h+Math.imul(E,gt)|0,n=n+Math.imul(k,vt)|0,o=(o=o+Math.imul(k,bt)|0)+Math.imul(L,vt)|0,h=h+Math.imul(L,bt)|0;var Rt=(l+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,At)|0)+Math.imul(A,Mt)|0))<<13)|0;l=((h=h+Math.imul(A,At)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(z,nt),o=(o=Math.imul(z,it))+Math.imul($,nt)|0,h=Math.imul($,it),n=n+Math.imul(H,at)|0,o=(o=o+Math.imul(H,st)|0)+Math.imul(F,at)|0,h=h+Math.imul(F,st)|0,n=n+Math.imul(I,ht)|0,o=(o=o+Math.imul(I,ct)|0)+Math.imul(N,ht)|0,h=h+Math.imul(N,ct)|0,n=n+Math.imul(P,ft)|0,o=(o=o+Math.imul(P,pt)|0)+Math.imul(R,ft)|0,h=h+Math.imul(R,pt)|0,n=n+Math.imul(Y,yt)|0,o=(o=o+Math.imul(Y,gt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,gt)|0,n=n+Math.imul(x,vt)|0,o=(o=o+Math.imul(x,bt)|0)+Math.imul(E,vt)|0,h=h+Math.imul(E,bt)|0;var jt=(l+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,At)|0)+Math.imul(L,Mt)|0))<<13)|0;l=((h=h+Math.imul(L,At)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(z,at),o=(o=Math.imul(z,st))+Math.imul($,at)|0,h=Math.imul($,st),n=n+Math.imul(H,ht)|0,o=(o=o+Math.imul(H,ct)|0)+Math.imul(F,ht)|0,h=h+Math.imul(F,ct)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(P,yt)|0,o=(o=o+Math.imul(P,gt)|0)+Math.imul(R,yt)|0,h=h+Math.imul(R,gt)|0,n=n+Math.imul(Y,vt)|0,o=(o=o+Math.imul(Y,bt)|0)+Math.imul(C,vt)|0,h=h+Math.imul(C,bt)|0;var It=(l+(n=n+Math.imul(x,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(x,At)|0)+Math.imul(E,Mt)|0))<<13)|0;l=((h=h+Math.imul(E,At)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(z,ht),o=(o=Math.imul(z,ct))+Math.imul($,ht)|0,h=Math.imul($,ct),n=n+Math.imul(H,ft)|0,o=(o=o+Math.imul(H,pt)|0)+Math.imul(F,ft)|0,h=h+Math.imul(F,pt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,gt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,gt)|0,n=n+Math.imul(P,vt)|0,o=(o=o+Math.imul(P,bt)|0)+Math.imul(R,vt)|0,h=h+Math.imul(R,bt)|0;var Nt=(l+(n=n+Math.imul(Y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(Y,At)|0)+Math.imul(C,Mt)|0))<<13)|0;l=((h=h+Math.imul(C,At)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(z,ft),o=(o=Math.imul(z,pt))+Math.imul($,ft)|0,h=Math.imul($,pt),n=n+Math.imul(H,yt)|0,o=(o=o+Math.imul(H,gt)|0)+Math.imul(F,yt)|0,h=h+Math.imul(F,gt)|0,n=n+Math.imul(I,vt)|0,o=(o=o+Math.imul(I,bt)|0)+Math.imul(N,vt)|0,h=h+Math.imul(N,bt)|0;var Bt=(l+(n=n+Math.imul(P,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(P,At)|0)+Math.imul(R,Mt)|0))<<13)|0;l=((h=h+Math.imul(R,At)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(z,yt),o=(o=Math.imul(z,gt))+Math.imul($,yt)|0,h=Math.imul($,gt),n=n+Math.imul(H,vt)|0,o=(o=o+Math.imul(H,bt)|0)+Math.imul(F,vt)|0,h=h+Math.imul(F,bt)|0;var Ht=(l+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,At)|0)+Math.imul(N,Mt)|0))<<13)|0;l=((h=h+Math.imul(N,At)|0)+(o>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,n=Math.imul(z,vt),o=(o=Math.imul(z,bt))+Math.imul($,vt)|0,h=Math.imul($,bt);var Ft=(l+(n=n+Math.imul(H,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(H,At)|0)+Math.imul(F,Mt)|0))<<13)|0;l=((h=h+Math.imul(F,At)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863;var Ut=(l+(n=Math.imul(z,Mt))|0)+((8191&(o=(o=Math.imul(z,At))+Math.imul($,Mt)|0))<<13)|0;return l=((h=Math.imul($,At))+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,c[0]=St,c[1]=kt,c[2]=Lt,c[3]=Tt,c[4]=xt,c[5]=Et,c[6]=Dt,c[7]=Yt,c[8]=Ct,c[9]=Ot,c[10]=Pt,c[11]=Rt,c[12]=jt,c[13]=It,c[14]=Nt,c[15]=Bt,c[16]=Ht,c[17]=Ft,c[18]=Ut,0!==l&&(c[19]=l,r.length++),r};function M(t,e,r){return(new A).mulp(t,e,r)}function A(t,e){this.x=t,this.y=e}Math.imul||(w=v),h.prototype.mulTo=function(t,e){var r,n=this.length+t.length;return r=10===this.length&&10===t.length?w(this,t,e):n<63?v(this,t,e):n<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h>>26)|0)>>>26,c&=67108863}r.words[h]=l,n=c,c=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):M(this,t,e),r},A.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i>=1;return n},A.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i>>=1)i++;return 1<>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),0===t&&(this.length=1,this._normSign()),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i>>26-e}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<s)for(this.length-=s,i=0;i=0&&(0!==l||i>=o);i--){var d=0|this.words[i];this.words[i]=l<<26-h|d>>>h,l=d&mask}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===c)return this.strip();for(n(-1===c),c=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i=0;l--){var d=67108864*(0|a.words[b.length+l])+(0|a.words[b.length+l-1]);for(d=Math.min(d/n|0,67108863),a._ishlnsubmul(b,d,l);0!==a.negative;)d--,a.negative=0,a._ishlnsubmul(b,1,l),a.isZero()||(a.negative^=1);q&&(q.words[l]=d)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(c=this.neg().divmod(t,e),"mod"!==e&&(div=c.div.neg()),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(c=this.divmod(t.neg(),e),"mod"!==e&&(div=c.div.neg()),{div:div,mod:c.mod}):0!==(this.negative&t.negative)?(c=this.neg().divmod(t.neg(),e),"div"!==e&&(o=c.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:c.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,c},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=e.mod.abs(),n=t.abs().iushrn(1),o=1&t.words[0],c=r.cmp(n);if(c<0||1===o&&0===c)return e.div;var l=new h(1);return l.negative=this.negative^t.negative,e.div.iadd(l)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),c=new h(0),l=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var d=e.clone(),f=t.clone();!t.isZero();){for(var i=0,m=1;0===(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(d),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var y=0,_=1;0===(e.words[0]&_)&&y<26;++y,_<<=1);if(y>0)for(e.iushrn(y);y-- >0;)(c.isOdd()||l.isOdd())&&(c.iadd(d),l.isub(f)),c.iushrn(1),l.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(c),o.isub(l)):(e.isub(t),c.isub(r),l.isub(o))}return{a:c,b:l,gcd:e.iushln(g)}},h.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,c=1;0===(a.words[0]&c)&&i<26;++i,c<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var l=0,d=1;0===(b.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(b.iushrn(l);l-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return!(1&this.words[0])},h.prototype.isOdd=function(){return!(1&~this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:ot.length)return 1;if(this.length=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){ab&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new D(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function k(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function L(){k.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function T(){k.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){k.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){k.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function D(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function Y(t){D.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}k.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},k.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},k.prototype.split=function(input,t){input.iushrn(this.n,0,t)},k.prototype.imulK=function(t){return t.imul(this.k)},o(L,k),L.prototype.split=function(input,output){for(var mask=4194303,t=Math.min(input.length,9),i=0;i>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},L.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new L;else if("p224"===t)e=new T;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new E}return S[t]=e,e},D.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},D.prototype._verify2=function(a,b){n(0===(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},D.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},D.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},D.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},D.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},D.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},D.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},D.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},D.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},D.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},D.prototype.isqr=function(a){return this.imul(a,a.clone())},D.prototype.sqr=function(a){return this.mul(a,a)},D.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new h(1).toRed(this),o=r.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new h(2*l*l).toRed(this);0!==this.pow(l,c).cmp(o);)l.redIAdd(o);for(var d=this.pow(l,q),f=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),y=s;0!==m.cmp(r);){for(var _=m,i=0;0!==_.cmp(r);i++)_=_.redSqr();n(i=0;i--){for(var l=t.words[i],d=c-1;d>=0;d--){var f=l>>d&1;r!==e[0]&&(r=this.sqr(r)),0!==f||0!==n?(n<<=1,n|=f,(4===++o||0===i&&0===d)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}c=26}return r},D.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},D.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new Y(t)},o(Y,D),Y.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},Y.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},Y.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},Y.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(76)(t))},,function(t,e,r){e.publicEncrypt=r(805),e.privateDecrypt=r(807),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}},function(t,e,r){var n=r(151),o=r(93),h=r(119),c=r(324),l=r(325),d=r(222),f=r(326),m=r(217),y=r(18).Buffer;t.exports=function(t,e,r){var _;_=t.padding?t.padding:r?1:4;var v,w=n(t);if(4===_)v=function(t,e){var r=t.modulus.byteLength(),n=e.length,f=h("sha1").update(y.alloc(0)).digest(),m=f.length,_=2*m;if(n>r-_-2)throw new Error("message too long");var v=y.alloc(r-n-_-2),w=r-m-1,M=o(m),A=l(y.concat([f,v,y.alloc(1,1),e],w),c(M,w)),S=l(M,c(A,m));return new d(y.concat([y.alloc(1),S,A],r))}(w,e);else if(1===_)v=function(t,e,r){var n,h=e.length,c=t.modulus.byteLength();if(h>c-11)throw new Error("message too long");n=r?y.alloc(c-h-3,255):function(t){var e,r=y.allocUnsafe(t),i=0,n=o(2*t),h=0;for(;i=0)throw new Error("data too long for modulus")}return r?m(v,w):f(v,w)}},,function(t,e,r){var n=r(151),o=r(324),h=r(325),c=r(222),l=r(217),d=r(119),f=r(326),m=r(18).Buffer;t.exports=function(t,e,r){var y;y=t.padding?t.padding:r?1:4;var _,v=n(t),w=v.modulus.byteLength();if(e.length>w||new c(e).cmp(v.modulus)>=0)throw new Error("decryption error");_=r?f(new c(e),v):l(e,v);var M=m.alloc(w-_.length);if(_=m.concat([M,_],w),4===y)return function(t,e){var r=t.modulus.byteLength(),n=d("sha1").update(m.alloc(0)).digest(),c=n.length;if(0!==e[0])throw new Error("decryption error");var l=e.slice(1,c+1),f=e.slice(c+1),y=h(l,o(f,c)),_=h(f,o(y,r-c-1));if(function(a,b){a=m.from(a),b=m.from(b);var t=0,e=a.length;a.length!==b.length&&(t++,e=Math.min(a.length,b.length));var i=-1;for(;++i=e.length){o++;break}var h=e.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;h.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,_,r);if(3===y)return _;throw new Error("unknown padding")}},function(t,e,r){"use strict";(function(t,n){function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var h=r(18),c=(r(93),h.Buffer),l=h.kMaxLength,d=t.crypto||t.msCrypto,f=Math.pow(2,32)-1;function m(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>f||t<0)throw new TypeError("offset must be a uint32");if(t>l||t>e)throw new RangeError("offset out of range")}function y(t,e,r){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>f||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>l)throw new RangeError("buffer too small")}function _(t,e,r,o){var h=t.buffer,c=new Uint8Array(h,e,r);return d.getRandomValues(c),o?void n.nextTick(function(){o(null,t)}):t}d&&d.getRandomValues?(e.randomFill=function(e,r,n,o){if(!(c.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)o=r,r=0,n=e.length;else if("function"==typeof n)o=n,n=e.length-r;else if("function"!=typeof o)throw new TypeError('"cb" argument must be a function');return m(r,e.length),y(n,r,e.length),_(e,r,n,o)},e.randomFillSync=function(e,r,n){void 0===r&&(r=0);if(!(c.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');m(r,e.length),void 0===n&&(n=e.length-r);return y(n,r,e.length),_(e,r,n)}):(e.randomFill=o,e.randomFillSync=o)}).call(this,r(27),r(24))},function(t,e){!function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var r={};e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";var u=function(t){return t&&t.__esModule?t:{default:t}}(r(1));window.ZingTouch=u.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=n(r(2)),a=n(r(4)),o=n(r(10)),h=n(r(12)),p=n(r(13)),c=n(r(14)),g=n(r(15)),b=n(r(16)),l={_regions:[],Gesture:a.default,Expand:o.default,Pan:h.default,Pinch:p.default,Rotate:c.default,Swipe:g.default,Tap:b.default,Region:function(t,e,r){var n=l._regions.length,i=new u.default(t,e,r,n);return l._regions.push(i),i}};e.default=l},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var r=0;r1&&t.forEach(function(t){a.default.isInside(t.initial.x,t.initial.y,r)||(n=!1)}),n}}]),t}();e.default=s},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=360,i={normalizeEvent:function(t){switch(t){case"mousedown":case"touchstart":case"pointerdown":return"start";case"mousemove":case"touchmove":case"pointermove":return"move";case"mouseup":case"touchend":case"pointerup":return"end";default:return null}},isWithin:function(t,e,r,n,i){return Math.abs(e-n)<=i&&Math.abs(t-r)<=i},distanceBetweenTwoPoints:function(t,e,r,n){var i=Math.sqrt((e-t)*(e-t)+(n-r)*(n-r));return Math.round(100*i)/100},getMidpoint:function(t,e,r,n){return{x:(t+e)/2,y:(r+n)/2}},getAngle:function(t,e,i,u){var n=Math.atan2(u-e,i-t)*(180/Math.PI);return r-(n<0?r+n:n)},getAngularDistance:function(t,e){var i=(e-t)%r,u=i<0?1:-1;return(i=Math.abs(i))>180?u*(r-i):u*i},getVelocity:function(t,e,r,n,i,u){return this.distanceBetweenTwoPoints(t,n,e,i)/(u-r)},getRightMostInput:function(t){var e=null,r=Number.MIN_VALUE;return t.forEach(function(t){t.initial.x>r&&(e=t)}),e},isInteger:function(t){return"number"==typeof t&&t%1==0},isInside:function(t,e,r){var n=r.getBoundingClientRect();return t>n.left&&tn.top&&e0&&function(){e.preventDefault?(h.default.setMSPreventDefault(e.element),t.preventDefault?t.preventDefault():t.returnValue=!1):h.default.removeMSPreventDefault(e.element);var i={};(0,s.default)(n,t,r).forEach(function(e){var r=e.binding.gesture.id;if(i[r]){var n=h.default.getPropagationPath(t);h.default.getPathIndex(n,e.binding.element)0&&e.push(r)}),e}},{key:"updateInputs",value:function(t,e){function r(t,e,r,n){var i=y.default.normalizeEvent(t.type),o=function(t,e){for(var r=0;r=this.threshold)return o.lastEmittedDistance=n,{distance:n,center:u}}else if(n>i)o.lastEmittedDistance=n;else if(n=this.threshold)return o.lastEmittedDistance=n,{distance:n,center:u};return null}}}]),e}(o.default);e.default=c},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var r=0;rthis.threshold,s=Math.abs(t[i].current.x-u.lastEmitted.x)>this.threshold;if(o=a||s,!u.active||!o)return null;n.data[i]={distanceFromOrigin:h.default.distanceBetweenTwoPoints(t[i].initial.x,t[i].current.x,t[i].initial.y,t[i].current.y),directionFromOrigin:h.default.getAngle(t[i].initial.x,t[i].initial.y,t[i].current.x,t[i].current.y),currentDirection:h.default.getAngle(u.lastEmitted.x,u.lastEmitted.y,t[i].current.x,t[i].current.y)},u.lastEmitted.x=t[i].current.x,u.lastEmitted.y=t[i].current.y}return n}},{key:"end",value:function(t){var e=this;return t.forEach(function(t){t.getGestureProgress(e.getId()).active=!1}),null}}]),e}(o.default);e.default=c},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var s=n(r(11)),o=(n(r(5)),function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.type="pinch",r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(s.default));e.default=o},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var r=0;rthis.maxProgressStack&&i.moves.shift()}return null}},{key:"end",value:function(t){if(this.numInputs===t.length){for(var e={data:[]},r=0;r2){var i=n.moves.pop();if((new Date).getTime()-i.time>this.maxRestTime)return null;for(var u=void 0,o=n.moves.length-1;-1!==o;){if(n.moves[o].time!==i.time){u=n.moves[o];break}o--}u||((u=n.moves.pop()).time+=this.timeDistortion);var a=h.default.getVelocity(u.x,u.y,u.time,i.x,i.y,i.time);e.data[r]={velocity:a,distance:h.default.distanceBetweenTwoPoints(u.x,i.x,u.y,i.y),duration:i.time-u.time,currentDirection:h.default.getAngle(u.x,u.y,i.x,i.y)}}}for(r=0;r0)return e}return null}}]),e}(o.default);e.default=g},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var r=0;r=u)return{interval:u};var o=function(){var r=e.type;return t.forEach(function(t){t.resetProgress(r)}),{v:null}}();return"object"===(void 0===o?"undefined":a(o))?o.v:void 0}}]),e}(o.default);e.default=g},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function t(e,r,i,u,n){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.element=e,this.gesture=r,this.handler=i,this.capture=void 0!==u&&u,this.bindOnce=void 0!==n&&n}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var r=0;r0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(0===this.length)return"";for(var p=this.head,t=""+p.data;p=p.next;)t+=s+p.data;return t}},{key:"concat",value:function(t){if(0===this.length)return d.alloc(0);for(var e=d.allocUnsafe(t>>>0),p=this.head,i=0;p;)y(p.data,e,i),i+=p.data.length,p=p.next;return e}},{key:"consume",value:function(t,e){var r;return tn.length?n.length:t;if(o===n.length?r+=n:r+=n.slice(0,t),0===(t-=o)){o===n.length?(++e,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++e}return this.length-=e,r}},{key:"_getBuffer",value:function(t){var e=d.allocUnsafe(t),p=this.head,r=1;for(p.data.copy(e),t-=p.data.length;p=p.next;){var n=p.data,o=t>n.length?n.length:t;if(n.copy(e,e.length-t,0,o),0===(t-=o)){o===n.length?(++r,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++r}return this.length-=r,e}},{key:m,value:function(t,e){return f(this,o(o({},e),{},{depth:0,customInspect:!1}))}}])&&c(e.prototype,r),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}()},,function(t,e,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(t){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this,r(27))},function(t,e,r){"use strict";(function(e){var n;function o(t,e,r){return(e=function(t){var e=function(input,t){if("object"!=typeof input||null===input)return input;var e=input[Symbol.toPrimitive];if(void 0!==e){var r=e.call(input,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(input)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h=r(223),c=Symbol("lastResolve"),l=Symbol("lastReject"),d=Symbol("error"),f=Symbol("ended"),m=Symbol("lastPromise"),y=Symbol("handlePromise"),_=Symbol("stream");function v(t,e){return{value:t,done:e}}function w(t){var e=t[c];if(null!==e){var data=t[_].read();null!==data&&(t[m]=null,t[c]=null,t[l]=null,e(v(data,!1)))}}function M(t){e.nextTick(w,t)}var A=Object.getPrototypeOf(function(){}),S=Object.setPrototypeOf((o(n={get stream(){return this[_]},next:function(){var t=this,r=this[d];if(null!==r)return Promise.reject(r);if(this[f])return Promise.resolve(v(void 0,!0));if(this[_].destroyed)return new Promise(function(r,n){e.nextTick(function(){t[d]?n(t[d]):r(v(void 0,!0))})});var n,o=this[m];if(o)n=new Promise(function(t,e){return function(r,n){t.then(function(){e[f]?r(v(void 0,!0)):e[y](r,n)},n)}}(o,this));else{var data=this[_].read();if(null!==data)return Promise.resolve(v(data,!1));n=new Promise(this[y])}return this[m]=n,n}},Symbol.asyncIterator,function(){return this}),o(n,"return",function(){var t=this;return new Promise(function(e,r){t[_].destroy(null,function(t){t?r(t):e(v(void 0,!0))})})}),n),A);t.exports=function(t){var e,r=Object.create(S,(o(e={},_,{value:t,writable:!0}),o(e,c,{value:null,writable:!0}),o(e,l,{value:null,writable:!0}),o(e,d,{value:null,writable:!0}),o(e,f,{value:t._readableState.endEmitted,writable:!0}),o(e,y,{value:function(t,e){var data=r[_].read();data?(r[m]=null,r[c]=null,r[l]=null,t(v(data,!1))):(r[c]=t,r[l]=e)},writable:!0}),e));return r[m]=null,h(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[l];return null!==e&&(r[m]=null,r[c]=null,r[l]=null,e(t)),void(r[d]=t)}var n=r[c];null!==n&&(r[m]=null,r[c]=null,r[l]=null,n(v(void 0,!0))),r[f]=!0}),t.on("readable",M.bind(null,r)),r}}).call(this,r(24))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,r){"use strict";t.exports=o;var n=r(343);function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}r(15)(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n;var o=r(95).codes,h=o.ERR_MISSING_ARGS,c=o.ERR_STREAM_DESTROYED;function l(t){if(t)throw t}function d(t){t()}function f(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),o=0;o0,function(t){m||(m=t),t&&_.forEach(d),o||(_.forEach(d),y(m))})});return e.reduce(f)}},function(t,e,r){(function(e){var r=Object.prototype.toString,n="function"==typeof e.alloc&&"function"==typeof e.allocUnsafe&&"function"==typeof e.from;t.exports=function(t,o,h){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return input=t,"ArrayBuffer"===r.call(input).slice(8,-1)?function(t,r,o){r>>>=0;var h=t.byteLength-r;if(h<0)throw new RangeError("'offset' is out of bounds");if(void 0===o)o=h;else if((o>>>=0)>h)throw new RangeError("'length' is out of bounds");return n?e.from(t.slice(r,r+o)):new e(new Uint8Array(t.slice(r,r+o)))}(t,o,h):"string"==typeof t?function(t,r){if("string"==typeof r&&""!==r||(r="utf8"),!e.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');return n?e.from(t,r):new e(t,r)}(t,o):n?e.from(t):new e(t);var input}}).call(this,r(20).Buffer)},function(t,e){var r,n,o,h=void 0,c=(r=Object.prototype.toString,n=Object.prototype.hasOwnProperty,{Class:function(t){return r.call(t).replace(/^\[object *|\]$/g,"")},HasProperty:function(t,p){return p in t},HasOwnProperty:function(t,p){return n.call(t,p)},IsCallable:function(t){return"function"==typeof t},ToInt32:function(t){return 0|t},ToUint32:function(t){return t>>>0}}),l=Math.LN2,d=Math.abs,f=Math.floor,m=Math.log,y=Math.min,_=Math.pow,v=Math.round;function w(t){if(M&&o){var i,e=M(t);for(i=0;i>s}function S(t,e){var s=32-e;return t<>>s}function k(t){return[255&t]}function L(t){return A(t[0],8)}function T(t){return[255&t]}function x(t){return S(t[0],8)}function E(t){return[(t=v(Number(t)))<0?0:t>255?255:255&t]}function D(t){return[t>>8&255,255&t]}function Y(t){return A(t[0]<<8|t[1],16)}function C(t){return[t>>8&255,255&t]}function O(t){return S(t[0]<<8|t[1],16)}function P(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]}function R(t){return A(t[0]<<24|t[1]<<16|t[2]<<8|t[3],32)}function j(t){return[t>>24&255,t>>16&255,t>>8&255,255&t]}function I(t){return S(t[0]<<24|t[1]<<16|t[2]<<8|t[3],32)}function N(t,e,r){var s,n,o,i,h,c,v,w=(1<.5||e%2?e+1:e}for(t!=t?(n=(1<=_(2,1-w)?(n=y(f(m(t)/l),1023),(o=M(t/_(2,n)*_(2,r)))/_(2,r)>=2&&(n+=1,o=1),n>w?(n=(1<>=1;return d.reverse(),o=d.join(""),h=(1<0?s*_(2,c-h)*(1+l/_(2,r)):0!==l?s*_(2,-(h-1))*(l/_(2,r)):s<0?-0:0}function H(b){return B(b,11,52)}function F(t){return N(t,11,52)}function U(b){return B(b,8,23)}function z(t){return N(t,8,23)}!function(){var t=function(t){if((t=c.ToInt32(t))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var i;for(this.byteLength=t,this._bytes=[],this._bytes.length=t,i=0;ithis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=c.ToUint32(n),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(l=arguments[0],this.length=c.ToUint32(l.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,i=0;i1e5)throw new RangeError("Array too large for polyfill");var i;for(i=0;i=this.length)return h;var i,e,r=[];for(i=0,e=this.byteOffset+t*this.BYTES_PER_ELEMENT;i=this.length)return h;var i,r,n=this._pack(e);for(i=0,r=this.byteOffset+t*this.BYTES_PER_ELEMENT;ithis.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,f=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(m=[],i=0,s=r.byteOffset;ithis.length)throw new RangeError("Offset plus length of array is out of range");for(i=0;ir?r:t}t=c.ToInt32(t),e=c.ToInt32(e),arguments.length<1&&(t=0),arguments.length<2&&(e=this.length),t<0&&(t=this.length+t),e<0&&(e=this.length+e),t=r(t,0,this.length);var n=(e=r(e,0,this.length))-t;return n<0&&(n=0),new this.constructor(this.buffer,this.byteOffset+t*this.BYTES_PER_ELEMENT,n)},d}var l=n(1,k,L),d=n(1,T,x),f=n(1,E,x),m=n(2,D,Y),y=n(2,C,O),_=n(4,P,R),v=n(4,j,I),M=n(4,z,U),A=n(8,F,H);e.Int8Array=e.Int8Array||l,e.Uint8Array=e.Uint8Array||d,e.Uint8ClampedArray=e.Uint8ClampedArray||f,e.Int16Array=e.Int16Array||m,e.Uint16Array=e.Uint16Array||y,e.Int32Array=e.Int32Array||_,e.Uint32Array=e.Uint32Array||v,e.Float32Array=e.Float32Array||M,e.Float64Array=e.Float64Array||A}(),function(){function t(t,e){return c.IsCallable(t.get)?t.get(e):t[e]}var r,n=(r=new e.Uint16Array([4660]),18===t(new e.Uint8Array(r.buffer),0)),o=function(t,r,n){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===c.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=c.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:c.ToUint32(n),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");w(this)};function h(r){return function(o,h){if((o=c.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var i,l=new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT),d=[];for(i=0;ithis.byteLength)throw new RangeError("Array index out of range");var i,d=new r([h]),f=new e.Uint8Array(d.buffer),m=[];for(i=0;i>1;this.e=parseInt(e,16);for(var n=new h(e,16);;){for(;this.p=new h(t-r,1),0!==this.p.subtract(h.ONE).gcd(n).compareTo(h.ONE)||!this.p.isProbablePrime(10););for(;this.q=new h(r,1),0!==this.q.subtract(h.ONE).gcd(n).compareTo(h.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var c=this.p.subtract(h.ONE),l=this.q.subtract(h.ONE),d=c.multiply(l);if(0===d.gcd(n).compareTo(h.ONE)){if(this.n=this.p.multiply(this.q),this.n.bitLength()0&&(o.isNumber(e)||e.length>0)&&r.length>0))throw Error("Invalid RSA private key");this.n=new h(t),this.e=o.isNumber(e)?e:c.get32IntFromBuffer(e,0),this.d=new h(r),n&&l&&d&&f&&m&&(this.p=new h(n),this.q=new h(l),this.dmp1=new h(d),this.dmq1=new h(f),this.coeff=new h(m)),this.$$recalculateCache()},t.prototype.setPublic=function(t,e){if(!(t&&e&&t.length>0&&(o.isNumber(e)||e.length>0)))throw Error("Invalid RSA public key");this.n=new h(t),this.e=o.isNumber(e)?e:c.get32IntFromBuffer(e,0),this.$$recalculateCache()},t.prototype.$doPrivate=function(t){if(this.p||this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),r=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(r)<0;)e=e.add(this.p);return e.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)},t.prototype.$doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.encrypt=function(t,e){var r=[],o=[],h=t.length,c=Math.ceil(h/this.maxMessageLength)||1,l=Math.ceil(h/c||1);if(1==c)r.push(t);else for(var d=0;d0)throw Error("Incorrect data or key");for(var r=[],o=0,h=0,c=t.length/this.encryptedDataLength,i=0;i>3},t}()}).call(this,r(20).Buffer)},function(t,e,r){(function(e){var n=r(97),o=r(33),h=r(153),c={md2:e.from("3020300c06082a864886f70d020205000410","hex"),md5:e.from("3020300c06082a864886f70d020505000410","hex"),sha1:e.from("3021300906052b0e03021a05000414","hex"),sha224:e.from("302d300d06096086480165030402040500041c","hex"),sha256:e.from("3031300d060960864801650304020105000420","hex"),sha384:e.from("3041300d060960864801650304020205000430","hex"),sha512:e.from("3051300d060960864801650304020305000440","hex"),ripemd160:e.from("3021300906052b2403020105000414","hex"),rmd160:e.from("3021300906052b2403020105000414","hex")},l={ripemd160:"rmd160"},d="sha256";t.exports={isEncryption:!0,isSignature:!0},t.exports.makeScheme=function(t,r){function f(t,e){this.key=t,this.options=e}return f.prototype.maxMessageLength=function(){return this.options.encryptionSchemeOptions&&this.options.encryptionSchemeOptions.padding==h.RSA_NO_PADDING?this.key.encryptedDataLength:this.key.encryptedDataLength-11},f.prototype.encPad=function(t,r){var n;if(r=r||{},t.length>this.key.maxMessageLength)throw new Error("Message too long for RSA (n="+this.key.encryptedDataLength+", l="+t.length+")");if(this.options.encryptionSchemeOptions&&this.options.encryptionSchemeOptions.padding==h.RSA_NO_PADDING)return(n=e.alloc(this.key.maxMessageLength-t.length)).fill(0),e.concat([n,t]);if(1===r.type)return(n=e.alloc(this.key.encryptedDataLength-t.length-1)).fill(255,0,n.length-1),n[0]=1,n[n.length-1]=0,e.concat([n,t]);(n=e.alloc(this.key.encryptedDataLength-t.length))[0]=0,n[1]=2;for(var c=o.randomBytes(n.length-3),i=0;i=t.length)return null}else{if(0!==t[0]||2!==t[1])return null;for(i=3;0!==t[i];)if(++i>=t.length)return null}return t.slice(i+1,t.length)},f.prototype.sign=function(t){var e=this.options.signingSchemeOptions.hash||d;if("browser"===this.options.environment){e=l[e]||e;var r=o.createHash(e);r.update(t);var h=this.pkcs1pad(r.digest(),e);return this.key.$doPrivate(new n(h)).toBuffer(this.key.encryptedDataLength)}var c=o.createSign("RSA-"+e.toUpperCase());return c.update(t),c.sign(this.options.rsaUtils.exportKey("private"))},f.prototype.verify=function(t,r,c){if(this.options.encryptionSchemeOptions&&this.options.encryptionSchemeOptions.padding==h.RSA_NO_PADDING)return!1;var f=this.options.signingSchemeOptions.hash||d;if("browser"===this.options.environment){f=l[f]||f,c&&(r=e.from(r,c));var m=o.createHash(f);m.update(t);var y=this.pkcs1pad(m.digest(),f);return this.key.$doPublic(new n(r)).toBuffer().toString("hex")==y.toString("hex")}var _=o.createVerify("RSA-"+f.toUpperCase());return _.update(t),_.verify(this.options.rsaUtils.exportKey("public"),r,c)},f.prototype.pkcs0pad=function(t){var r=e.alloc(this.key.maxMessageLength-t.length);return r.fill(0),e.concat([r,t])},f.prototype.pkcs0unpad=function(t){return"function"==typeof t.lastIndexOf?t.slice(t.lastIndexOf("\0")+1,t.length):t.slice(String.prototype.lastIndexOf.call(t,"\0")+1,t.length)},f.prototype.pkcs1pad=function(t,r){var n=c[r];if(!n)throw Error("Unsupported hash algorithm");var data=e.concat([n,t]);if(data.length+10>this.key.encryptedDataLength)throw Error("Key is too short for signing algorithm ("+r+")");var o=e.alloc(this.key.encryptedDataLength-data.length-1);return o.fill(255,0,o.length-1),o[0]=1,o[o.length-1]=0,e.concat([o,data])},new f(t,r)}}).call(this,r(20).Buffer)},function(t,e,r){(function(e){r(97);var n=r(33);t.exports={isEncryption:!0,isSignature:!1},t.exports.digestLength={md4:16,md5:16,ripemd160:20,rmd160:20,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64};var o="sha1";t.exports.eme_oaep_mgf1=function(r,h,c){c=c||o;for(var l=t.exports.digestLength[c],d=Math.ceil(h/l),f=e.alloc(l*d),m=e.alloc(4),i=0;il-2*d-2)throw new Error("Message is too long to encode into an encoded message with a length of "+l+" bytes, increaseemLen to fix this error (minimum value for given parameters and options: "+(l-2*d-2)+")");var f=n.createHash(h);f.update(label),f=f.digest();var m=e.alloc(l-r.length-2*d-1);m.fill(0),m[m.length-1]=1;for(var y=e.concat([f,m,r]),_=n.randomBytes(d),mask=c(_,y.length,h),i=0;i>8-k<<8-k;S[0]=S[0]&mask;var L=e.alloc(S.length+v.length+1);return S.copy(L,0),v.copy(L,S.length),L[L.length-1]=188,L},d.prototype.emsa_pss_verify=function(t,r,n){var c=this.options.signingSchemeOptions.hash||h,d=this.options.signingSchemeOptions.mgf||l.eme_oaep_mgf1,f=this.options.signingSchemeOptions.saltLength||20,m=l.digestLength[c],y=Math.ceil(n/8);if(y>8-(v=8*y-n)<<8-v,_[0]=_[0]&mask,i=0;0===_[i]&&i<_.length;i++);if(1!=_[i])return!1;var A=_.slice(_.length-f),S=e.alloc(8+m+f);S.fill(0,0,8),t.copy(S,8),A.copy(S,8+t.length);var k=o.createHash(c);return k.update(S),k=k.digest(),w.toString("hex")===k.toString("hex")},new d(t,c)}}).call(this,r(20).Buffer)},function(t,e,r){var n=r(33);t.exports={getEngine:function(t,e){var o=r(370);return"node"===e.environment&&"function"==typeof n.publicEncrypt&&"function"==typeof n.privateDecrypt&&(o="function"==typeof n.privateEncrypt&&"function"==typeof n.publicDecrypt?r(890):r(891)),o(t,e)}}},function(t,e,r){var n=r(33),o=r(153),h=r(98);t.exports=function(t,e){var r=h.pkcs1.makeScheme(t,e);return{encrypt:function(t,h){var c;if(h)return c=o.RSA_PKCS1_PADDING,e.encryptionSchemeOptions&&e.encryptionSchemeOptions.padding&&(c=e.encryptionSchemeOptions.padding),n.privateEncrypt({key:e.rsaUtils.exportKey("private"),padding:c},t);c=o.RSA_PKCS1_OAEP_PADDING,"pkcs1"===e.encryptionScheme&&(c=o.RSA_PKCS1_PADDING),e.encryptionSchemeOptions&&e.encryptionSchemeOptions.padding&&(c=e.encryptionSchemeOptions.padding);var data=t;return c===o.RSA_NO_PADDING&&(data=r.pkcs0pad(t)),n.publicEncrypt({key:e.rsaUtils.exportKey("public"),padding:c},data)},decrypt:function(t,h){var c;if(h)return c=o.RSA_PKCS1_PADDING,e.encryptionSchemeOptions&&e.encryptionSchemeOptions.padding&&(c=e.encryptionSchemeOptions.padding),n.publicDecrypt({key:e.rsaUtils.exportKey("public"),padding:c},t);c=o.RSA_PKCS1_OAEP_PADDING,"pkcs1"===e.encryptionScheme&&(c=o.RSA_PKCS1_PADDING),e.encryptionSchemeOptions&&e.encryptionSchemeOptions.padding&&(c=e.encryptionSchemeOptions.padding);var l=n.privateDecrypt({key:e.rsaUtils.exportKey("private"),padding:c},t);return c===o.RSA_NO_PADDING?r.pkcs0unpad(l):l}}}},function(t,e,r){var n=r(33),o=r(153),h=r(98);t.exports=function(t,e){var c=r(370)(t,e),l=h.pkcs1.makeScheme(t,e);return{encrypt:function(t,r){if(r)return c.encrypt(t,r);var h=o.RSA_PKCS1_OAEP_PADDING;"pkcs1"===e.encryptionScheme&&(h=o.RSA_PKCS1_PADDING),e.encryptionSchemeOptions&&e.encryptionSchemeOptions.padding&&(h=e.encryptionSchemeOptions.padding);var data=t;return h===o.RSA_NO_PADDING&&(data=l.pkcs0pad(t)),n.publicEncrypt({key:e.rsaUtils.exportKey("public"),padding:h},data)},decrypt:function(t,r){if(r)return c.decrypt(t,r);var h=o.RSA_PKCS1_OAEP_PADDING;"pkcs1"===e.encryptionScheme&&(h=o.RSA_PKCS1_PADDING),e.encryptionSchemeOptions&&e.encryptionSchemeOptions.padding&&(h=e.encryptionSchemeOptions.padding);var d=n.privateDecrypt({key:e.rsaUtils.exportKey("private"),padding:h},t);return h===o.RSA_NO_PADDING?l.pkcs0unpad(d):d}}}},function(t,e,r){var n=r(225),o=r(226),h=r(893),c=r(898);for(var l in t.exports={Reader:h,Writer:c},o)o.hasOwnProperty(l)&&(t.exports[l]=o[l]);for(var d in n)n.hasOwnProperty(d)&&(t.exports[d]=n[d])},function(t,e,r){var n=r(371),o=r(373).Buffer,h=r(226),c=r(225).newInvalidAsn1Error;function l(data){if(!data||!o.isBuffer(data))throw new TypeError("data must be a node Buffer");this._buf=data,this._size=data.length,this._len=0,this._offset=0}Object.defineProperty(l.prototype,"length",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(l.prototype,"remain",{get:function(){return this._size-this._offset}}),Object.defineProperty(l.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}}),l.prototype.readByte=function(t){if(this._size-this._offset<1)return null;var b=255&this._buf[this._offset];return t||(this._offset+=1),b},l.prototype.peek=function(){return this.readByte(!0)},l.prototype.readLength=function(t){if(void 0===t&&(t=this._offset),t>=this._size)return null;var e=255&this._buf[t++];if(null===e)return null;if(128&~e)this._len=e;else{if(0===(e&=127))throw c("Indefinite length not supported");if(e>4)throw c("encoding too long");if(this._size-tthis._size-r)return null;if(this._offset=r,0===this.length)return e?o.alloc(0):"";var n=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,e?n:n.toString("utf8")},l.prototype.readOID=function(t){t||(t=h.OID);var b=this.readString(t,!0);if(null===b)return null;for(var e=[],r=0,i=0;i4)throw c("Integer too long: "+this.length);if(this.length>this._size-e)return null;this._offset=e;for(var r=this._buf[this._offset],o=0,i=0;i0&&!o.call(object,0))for(var i=0;i0)for(var w=0;w1;)e--,i<<=8;if(e>4)throw c("BER ints cannot be > 0xffffffff");for(this._ensure(2+e),this._buf[this._offset++]=t,this._buf[this._offset++]=e;e-- >0;)this._buf[this._offset++]=(4278190080&i)>>>24,i<<=8},d.prototype.writeNull=function(){this.writeByte(h.Null),this.writeByte(0)},d.prototype.writeEnumeration=function(i,t){if("number"!=typeof i)throw new TypeError("argument must be a Number");return"number"!=typeof t&&(t=h.Enumeration),this.writeInt(i,t)},d.prototype.writeBoolean=function(b,t){if("boolean"!=typeof b)throw new TypeError("argument must be a Boolean");"number"!=typeof t&&(t=h.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=b?255:0},d.prototype.writeString=function(s,t){if("string"!=typeof s)throw new TypeError("argument must be a string (was: "+typeof s+")");"number"!=typeof t&&(t=h.OctetString);var e=o.byteLength(s);this.writeByte(t),this.writeLength(e),e&&(this._ensure(e),this._buf.write(s,this._offset),this._offset+=e)},d.prototype.writeBuffer=function(t,e){if("number"!=typeof e)throw new TypeError("tag must be a number");if(!o.isBuffer(t))throw new TypeError("argument must be a buffer");this.writeByte(e),this.writeLength(t.length),this._ensure(t.length),t.copy(this._buf,this._offset,0,t.length),this._offset+=t.length},d.prototype.writeStringArray=function(t){if(!t instanceof Array)throw new TypeError("argument must be an Array[String]");var e=this;t.forEach(function(s){e.writeString(s)})},d.prototype.writeOID=function(s,t){if("string"!=typeof s)throw new TypeError("argument must be a string");if("number"!=typeof t&&(t=h.OID),!/^([0-9]+\.){3,}[0-9]+$/.test(s))throw new Error("argument is not a valid OID string");var e=s.split("."),r=[];r.push(40*parseInt(e[0],10)+parseInt(e[1],10)),e.slice(2).forEach(function(b){!function(t,e){e<128?t.push(e):e<16384?(t.push(e>>>7|128),t.push(127&e)):e<2097152?(t.push(e>>>14|128),t.push(e>>>7&255|128),t.push(127&e)):e<268435456?(t.push(e>>>21|128),t.push(e>>>14&255|128),t.push(e>>>7&255|128),t.push(127&e)):(t.push(e>>>28&255|128),t.push(e>>>21&255|128),t.push(e>>>14&255|128),t.push(e>>>7&255|128),t.push(127&e))}(r,parseInt(b,10))});var n=this;this._ensure(2+r.length),this.writeByte(t),this.writeLength(r.length),r.forEach(function(b){n.writeByte(b)})},d.prototype.writeLength=function(t){if("number"!=typeof t)throw new TypeError("argument must be a Number");if(this._ensure(4),t<=127)this._buf[this._offset++]=t;else if(t<=255)this._buf[this._offset++]=129,this._buf[this._offset++]=t;else if(t<=65535)this._buf[this._offset++]=130,this._buf[this._offset++]=t>>8,this._buf[this._offset++]=t;else{if(!(t<=16777215))throw c("Length too long (> 4 bytes)");this._buf[this._offset++]=131,this._buf[this._offset++]=t>>16,this._buf[this._offset++]=t>>8,this._buf[this._offset++]=t}},d.prototype.startSequence=function(t){"number"!=typeof t&&(t=h.Sequence|h.Constructor),this.writeByte(t),this._seq.push(this._offset),this._ensure(3),this._offset+=3},d.prototype.endSequence=function(){var t=this._seq.pop(),e=t+3,r=this._offset-e;if(r<=127)this._shift(e,r,-2),this._buf[t]=r;else if(r<=255)this._shift(e,r,-1),this._buf[t]=129,this._buf[t+1]=r;else if(r<=65535)this._buf[t]=130,this._buf[t+1]=r>>8,this._buf[t+2]=r;else{if(!(r<=16777215))throw c("Sequence too long");this._shift(e,r,1),this._buf[t]=131,this._buf[t+1]=r>>16,this._buf[t+2]=r>>8,this._buf[t+3]=r}},d.prototype._shift=function(t,e,r){n.ok(void 0!==t),n.ok(void 0!==e),n.ok(r),this._buf.copy(this._buf,t+r,t,t+e),this._offset+=r},d.prototype._ensure=function(t){if(n.ok(t),this._size-this._offset=t&&n=c.length)&&(h=0,c=n.randomBytes(256));var t=c[h];return h+=1,t},d=function(t){for(var e=l();e>=256-256%t;)e=l();return e%t},f=/[ilLI|`oO0]/g,m=[{name:"lowercase",rule:/[a-z]/},{name:"uppercase",rule:/[A-Z]/},{name:"numbers",rule:/[0-9]/},{name:"symbols",rule:/[!@#$%^&*()+_\-=}{[\]|:;"/?.><,`~]/}],y=function(t,e){for(var r="",n=t.length,o=e.length,i=0;it.length)throw new TypeError("Length must correlate with strict guidelines");var e="";if(t.lowercase&&(e+="abcdefghijklmnopqrstuvwxyz"),t.uppercase&&(e+="ABCDEFGHIJKLMNOPQRSTUVWXYZ"),t.numbers&&(e+="0123456789"),t.symbols&&(e+='!@#$%^&*()+_-=}{[]|:;"/?.><,`~'),!e)throw new TypeError("At least one rule for pools must be true");t.excludeSimilarCharacters&&(e=e.replace(f,""));for(var i=t.exclude.length;i--;)e=e.replace(t.exclude[i],"");return y(t,e)},o.generateMultiple=function(t,e){for(var r=[],i=0;i