UNPKG

266 kBJavaScriptView Raw
1!function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}__webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{enumerable:!0,get:getter})},__webpack_require__.r=function(exports){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.t=function(value,mode){if(1&mode&&(value=__webpack_require__(value)),8&mode)return value;if(4&mode&&"object"==typeof value&&value&&value.__esModule)return value;var ns=Object.create(null);if(__webpack_require__.r(ns),Object.defineProperty(ns,"default",{enumerable:!0,value:value}),2&mode&&"string"!=typeof value)for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key]}.bind(null,key));return ns},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=67)}([function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CONFIG_ALIASES",(function(){return CONFIG_ALIASES})),__webpack_require__.d(__webpack_exports__,"CONFIG_VALID_KEYS",(function(){return CONFIG_VALID_KEYS})),__webpack_require__.d(__webpack_exports__,"SORT_ORDERS",(function(){return SORT_ORDERS})),__webpack_require__.d(__webpack_exports__,"SORT_ORDER_IDS",(function(){return SORT_ORDER_IDS})),__webpack_require__.d(__webpack_exports__,"TYPE_AGGREGATES",(function(){return TYPE_AGGREGATES})),__webpack_require__.d(__webpack_exports__,"FILTER_OPERATORS",(function(){return FILTER_OPERATORS})),__webpack_require__.d(__webpack_exports__,"COLUMN_SEPARATOR_STRING",(function(){return COLUMN_SEPARATOR_STRING})),__webpack_require__.d(__webpack_exports__,"TYPE_FILTERS",(function(){return TYPE_FILTERS}));const CONFIG_ALIASES={row_pivot:"row_pivots","row-pivot":"row_pivots","row-pivots":"row_pivots",col_pivot:"column_pivots",col_pivots:"column_pivots",column_pivot:"column_pivots","column-pivot":"column_pivots","column-pivots":"column_pivots",filters:"filter",sorts:"sort"},CONFIG_VALID_KEYS=["viewport","row_pivots","column_pivots","aggregates","columns","filter","sort","computed_columns","row_pivot_depth","filter_op"],NUMBER_AGGREGATES=["any","avg","count","distinct count","dominant","first by index","last by index","last","high","low","mean","median","pct sum parent","pct sum grand total","sum","sum abs","sum not null","unique"],STRING_AGGREGATES=["any","count","distinct count","distinct leaf","dominant","first by index","last by index","last","unique"],SORT_ORDERS=["none","asc","desc","col asc","col desc","asc abs","desc abs","col asc abs","col desc abs"],SORT_ORDER_IDS=[2,0,1,0,1,3,4,3,4],TYPE_AGGREGATES={string:STRING_AGGREGATES,float:NUMBER_AGGREGATES,integer:NUMBER_AGGREGATES,boolean:["any","count","distinct count","distinct leaf","dominant","first by index","last by index","last","unique","and","or"],datetime:STRING_AGGREGATES,date:STRING_AGGREGATES},FILTER_OPERATORS={lessThan:"<",greaterThan:">",equals:"==",lessThanOrEquals:"<=",greaterThanOrEquals:">=",doesNotEqual:"!=",isNull:"is null",isNotNull:"is not null",isIn:"in",isNotIn:"not in",contains:"contains",bitwiseAnd:"&",bitwiseOr:"|",and:"and",or:"or",beginsWith:"begins with",endsWith:"ends with"},BOOLEAN_FILTERS=[FILTER_OPERATORS.bitwiseAnd,FILTER_OPERATORS.bitwiseOr,FILTER_OPERATORS.equals,FILTER_OPERATORS.doesNotEqual,FILTER_OPERATORS.or,FILTER_OPERATORS.and,FILTER_OPERATORS.isNull,FILTER_OPERATORS.isNotNull],NUMBER_FILTERS=[FILTER_OPERATORS.lessThan,FILTER_OPERATORS.greaterThan,FILTER_OPERATORS.equals,FILTER_OPERATORS.lessThanOrEquals,FILTER_OPERATORS.greaterThanOrEquals,FILTER_OPERATORS.doesNotEqual,FILTER_OPERATORS.isNull,FILTER_OPERATORS.isNotNull],STRING_FILTERS=[FILTER_OPERATORS.equals,FILTER_OPERATORS.contains,FILTER_OPERATORS.doesNotEqual,FILTER_OPERATORS.isIn,FILTER_OPERATORS.isNotIn,FILTER_OPERATORS.beginsWith,FILTER_OPERATORS.endsWith,FILTER_OPERATORS.isNull,FILTER_OPERATORS.isNotNull],DATETIME_FILTERS=[FILTER_OPERATORS.lessThan,FILTER_OPERATORS.greaterThan,FILTER_OPERATORS.equals,FILTER_OPERATORS.lessThanOrEquals,FILTER_OPERATORS.greaterThanOrEquals,FILTER_OPERATORS.doesNotEqual,FILTER_OPERATORS.isNull,FILTER_OPERATORS.isNotNull],COLUMN_SEPARATOR_STRING="|",TYPE_FILTERS={string:STRING_FILTERS,float:NUMBER_FILTERS,integer:NUMBER_FILTERS,boolean:BOOLEAN_FILTERS,datetime:DATETIME_FILTERS,date:DATETIME_FILTERS}},function(module,exports,__webpack_require__){(function(global){var check=function(it){return it&&it.Math==Math&&it};module.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||Function("return this")()}).call(this,__webpack_require__(23))},function(module,exports,__webpack_require__){var global=__webpack_require__(1),shared=__webpack_require__(57),has=__webpack_require__(4),uid=__webpack_require__(37),NATIVE_SYMBOL=__webpack_require__(60),USE_SYMBOL_AS_UID=__webpack_require__(82),WellKnownSymbolsStore=shared("wks"),Symbol=global.Symbol,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol:Symbol&&Symbol.withoutSetter||uid;module.exports=function(name){return has(WellKnownSymbolsStore,name)||(NATIVE_SYMBOL&&has(Symbol,name)?WellKnownSymbolsStore[name]=Symbol[name]:WellKnownSymbolsStore[name]=createWellKnownSymbol("Symbol."+name)),WellKnownSymbolsStore[name]}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return extract_vector})),__webpack_require__.d(__webpack_exports__,"a",(function(){return extract_map})),__webpack_require__.d(__webpack_exports__,"c",(function(){return fill_vector}));__webpack_require__(15);const extract_vector=function(vector){let extracted=[];for(let i=0;i<vector.size();i++){let item=vector.get(i);extracted.push(item)}return vector.delete(),extracted},extract_map=function(map){let extracted={},keys=map.keys();for(let i=0;i<keys.size();i++){let key=keys.get(i);extracted[key]=map.get(key)}return map.delete(),keys.delete(),extracted},fill_vector=function(vector,arr){for(const elem of arr)vector.push_back(elem);return vector}},function(module,exports){var hasOwnProperty={}.hasOwnProperty;module.exports=function(it,key){return hasOwnProperty.call(it,key)}},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(7),definePropertyModule=__webpack_require__(9),createPropertyDescriptor=__webpack_require__(24);module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(error){return!0}}},function(module,exports,__webpack_require__){var fails=__webpack_require__(6);module.exports=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(7),IE8_DOM_DEFINE=__webpack_require__(53),anObject=__webpack_require__(13),toPrimitive=__webpack_require__(33),nativeDefineProperty=Object.defineProperty;exports.f=DESCRIPTORS?nativeDefineProperty:function(O,P,Attributes){if(anObject(O),P=toPrimitive(P,!0),anObject(Attributes),IE8_DOM_DEFINE)try{return nativeDefineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(14),min=Math.min;module.exports=function(argument){return argument>0?min(toInteger(argument),9007199254740991):0}},function(module,exports,__webpack_require__){(function(module){module.exports=function(){"use strict";var hookCallback,some;function hooks(){return hookCallback.apply(null,arguments)}function isArray(input){return input instanceof Array||"[object Array]"===Object.prototype.toString.call(input)}function isObject(input){return null!=input&&"[object Object]"===Object.prototype.toString.call(input)}function isUndefined(input){return void 0===input}function isNumber(input){return"number"==typeof input||"[object Number]"===Object.prototype.toString.call(input)}function isDate(input){return input instanceof Date||"[object Date]"===Object.prototype.toString.call(input)}function map(arr,fn){var i,res=[];for(i=0;i<arr.length;++i)res.push(fn(arr[i],i));return res}function hasOwnProp(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function extend(a,b){for(var i in b)hasOwnProp(b,i)&&(a[i]=b[i]);return hasOwnProp(b,"toString")&&(a.toString=b.toString),hasOwnProp(b,"valueOf")&&(a.valueOf=b.valueOf),a}function createUTC(input,format,locale,strict){return createLocalOrUTC(input,format,locale,strict,!0).utc()}function getParsingFlags(m){return null==m._pf&&(m._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),m._pf}function isValid(m){if(null==m._isValid){var flags=getParsingFlags(m),parsedParts=some.call(flags.parsedDateParts,(function(i){return null!=i})),isNowValid=!isNaN(m._d.getTime())&&flags.overflow<0&&!flags.empty&&!flags.invalidMonth&&!flags.invalidWeekday&&!flags.weekdayMismatch&&!flags.nullInput&&!flags.invalidFormat&&!flags.userInvalidated&&(!flags.meridiem||flags.meridiem&&parsedParts);if(m._strict&&(isNowValid=isNowValid&&0===flags.charsLeftOver&&0===flags.unusedTokens.length&&void 0===flags.bigHour),null!=Object.isFrozen&&Object.isFrozen(m))return isNowValid;m._isValid=isNowValid}return m._isValid}function createInvalid(flags){var m=createUTC(NaN);return null!=flags?extend(getParsingFlags(m),flags):getParsingFlags(m).userInvalidated=!0,m}some=Array.prototype.some?Array.prototype.some:function(fun){for(var t=Object(this),len=t.length>>>0,i=0;i<len;i++)if(i in t&&fun.call(this,t[i],i,t))return!0;return!1};var momentProperties=hooks.momentProperties=[];function copyConfig(to,from){var i,prop,val;if(isUndefined(from._isAMomentObject)||(to._isAMomentObject=from._isAMomentObject),isUndefined(from._i)||(to._i=from._i),isUndefined(from._f)||(to._f=from._f),isUndefined(from._l)||(to._l=from._l),isUndefined(from._strict)||(to._strict=from._strict),isUndefined(from._tzm)||(to._tzm=from._tzm),isUndefined(from._isUTC)||(to._isUTC=from._isUTC),isUndefined(from._offset)||(to._offset=from._offset),isUndefined(from._pf)||(to._pf=getParsingFlags(from)),isUndefined(from._locale)||(to._locale=from._locale),momentProperties.length>0)for(i=0;i<momentProperties.length;i++)isUndefined(val=from[prop=momentProperties[i]])||(to[prop]=val);return to}var updateInProgress=!1;function Moment(config){copyConfig(this,config),this._d=new Date(null!=config._d?config._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===updateInProgress&&(updateInProgress=!0,hooks.updateOffset(this),updateInProgress=!1)}function isMoment(obj){return obj instanceof Moment||null!=obj&&null!=obj._isAMomentObject}function absFloor(number){return number<0?Math.ceil(number)||0:Math.floor(number)}function toInt(argumentForCoercion){var coercedNumber=+argumentForCoercion,value=0;return 0!==coercedNumber&&isFinite(coercedNumber)&&(value=absFloor(coercedNumber)),value}function compareArrays(array1,array2,dontConvert){var i,len=Math.min(array1.length,array2.length),lengthDiff=Math.abs(array1.length-array2.length),diffs=0;for(i=0;i<len;i++)(dontConvert&&array1[i]!==array2[i]||!dontConvert&&toInt(array1[i])!==toInt(array2[i]))&&diffs++;return diffs+lengthDiff}function warn(msg){!1===hooks.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+msg)}function deprecate(msg,fn){var firstTime=!0;return extend((function(){if(null!=hooks.deprecationHandler&&hooks.deprecationHandler(null,msg),firstTime){for(var arg,args=[],i=0;i<arguments.length;i++){if(arg="","object"==typeof arguments[i]){for(var key in arg+="\n["+i+"] ",arguments[0])arg+=key+": "+arguments[0][key]+", ";arg=arg.slice(0,-2)}else arg=arguments[i];args.push(arg)}warn(msg+"\nArguments: "+Array.prototype.slice.call(args).join("")+"\n"+(new Error).stack),firstTime=!1}return fn.apply(this,arguments)}),fn)}var keys,deprecations={};function deprecateSimple(name,msg){null!=hooks.deprecationHandler&&hooks.deprecationHandler(name,msg),deprecations[name]||(warn(msg),deprecations[name]=!0)}function isFunction(input){return input instanceof Function||"[object Function]"===Object.prototype.toString.call(input)}function mergeConfigs(parentConfig,childConfig){var prop,res=extend({},parentConfig);for(prop in childConfig)hasOwnProp(childConfig,prop)&&(isObject(parentConfig[prop])&&isObject(childConfig[prop])?(res[prop]={},extend(res[prop],parentConfig[prop]),extend(res[prop],childConfig[prop])):null!=childConfig[prop]?res[prop]=childConfig[prop]:delete res[prop]);for(prop in parentConfig)hasOwnProp(parentConfig,prop)&&!hasOwnProp(childConfig,prop)&&isObject(parentConfig[prop])&&(res[prop]=extend({},res[prop]));return res}function Locale(config){null!=config&&this.set(config)}hooks.suppressDeprecationWarnings=!1,hooks.deprecationHandler=null,keys=Object.keys?Object.keys:function(obj){var i,res=[];for(i in obj)hasOwnProp(obj,i)&&res.push(i);return res};var aliases={};function addUnitAlias(unit,shorthand){var lowerCase=unit.toLowerCase();aliases[lowerCase]=aliases[lowerCase+"s"]=aliases[shorthand]=unit}function normalizeUnits(units){return"string"==typeof units?aliases[units]||aliases[units.toLowerCase()]:void 0}function normalizeObjectUnits(inputObject){var normalizedProp,prop,normalizedInput={};for(prop in inputObject)hasOwnProp(inputObject,prop)&&(normalizedProp=normalizeUnits(prop))&&(normalizedInput[normalizedProp]=inputObject[prop]);return normalizedInput}var priorities={};function addUnitPriority(unit,priority){priorities[unit]=priority}function zeroFill(number,targetLength,forceSign){var absNumber=""+Math.abs(number),zerosToFill=targetLength-absNumber.length;return(number>=0?forceSign?"+":"":"-")+Math.pow(10,Math.max(0,zerosToFill)).toString().substr(1)+absNumber}var formattingTokens=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,localFormattingTokens=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,formatFunctions={},formatTokenFunctions={};function addFormatToken(token,padded,ordinal,callback){var func=callback;"string"==typeof callback&&(func=function(){return this[callback]()}),token&&(formatTokenFunctions[token]=func),padded&&(formatTokenFunctions[padded[0]]=function(){return zeroFill(func.apply(this,arguments),padded[1],padded[2])}),ordinal&&(formatTokenFunctions[ordinal]=function(){return this.localeData().ordinal(func.apply(this,arguments),token)})}function formatMoment(m,format){return m.isValid()?(format=expandFormat(format,m.localeData()),formatFunctions[format]=formatFunctions[format]||function(format){var i,length,input,array=format.match(formattingTokens);for(i=0,length=array.length;i<length;i++)formatTokenFunctions[array[i]]?array[i]=formatTokenFunctions[array[i]]:array[i]=(input=array[i]).match(/\[[\s\S]/)?input.replace(/^\[|\]$/g,""):input.replace(/\\/g,"");return function(mom){var i,output="";for(i=0;i<length;i++)output+=isFunction(array[i])?array[i].call(mom,format):array[i];return output}}(format),formatFunctions[format](m)):m.localeData().invalidDate()}function expandFormat(format,locale){var i=5;function replaceLongDateFormatTokens(input){return locale.longDateFormat(input)||input}for(localFormattingTokens.lastIndex=0;i>=0&&localFormattingTokens.test(format);)format=format.replace(localFormattingTokens,replaceLongDateFormatTokens),localFormattingTokens.lastIndex=0,i-=1;return format}var match1=/\d/,match2=/\d\d/,match3=/\d{3}/,match4=/\d{4}/,match6=/[+-]?\d{6}/,match1to2=/\d\d?/,match3to4=/\d\d\d\d?/,match5to6=/\d\d\d\d\d\d?/,match1to3=/\d{1,3}/,match1to4=/\d{1,4}/,match1to6=/[+-]?\d{1,6}/,matchUnsigned=/\d+/,matchSigned=/[+-]?\d+/,matchOffset=/Z|[+-]\d\d:?\d\d/gi,matchShortOffset=/Z|[+-]\d\d(?::?\d\d)?/gi,matchWord=/[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,regexes={};function addRegexToken(token,regex,strictRegex){regexes[token]=isFunction(regex)?regex:function(isStrict,localeData){return isStrict&&strictRegex?strictRegex:regex}}function getParseRegexForToken(token,config){return hasOwnProp(regexes,token)?regexes[token](config._strict,config._locale):new RegExp(regexEscape(token.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(matched,p1,p2,p3,p4){return p1||p2||p3||p4}))))}function regexEscape(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var tokens={};function addParseToken(token,callback){var i,func=callback;for("string"==typeof token&&(token=[token]),isNumber(callback)&&(func=function(input,array){array[callback]=toInt(input)}),i=0;i<token.length;i++)tokens[token[i]]=func}function addWeekParseToken(token,callback){addParseToken(token,(function(input,array,config,token){config._w=config._w||{},callback(input,config._w,config,token)}))}function addTimeToArrayFromToken(token,input,config){null!=input&&hasOwnProp(tokens,token)&&tokens[token](input,config._a,config,token)}var YEAR=0,MONTH=1,DATE=2,HOUR=3,MINUTE=4,SECOND=5,MILLISECOND=6,WEEK=7,WEEKDAY=8;function daysInYear(year){return isLeapYear(year)?366:365}function isLeapYear(year){return year%4==0&&year%100!=0||year%400==0}addFormatToken("Y",0,0,(function(){var y=this.year();return y<=9999?""+y:"+"+y})),addFormatToken(0,["YY",2],0,(function(){return this.year()%100})),addFormatToken(0,["YYYY",4],0,"year"),addFormatToken(0,["YYYYY",5],0,"year"),addFormatToken(0,["YYYYYY",6,!0],0,"year"),addUnitAlias("year","y"),addUnitPriority("year",1),addRegexToken("Y",matchSigned),addRegexToken("YY",match1to2,match2),addRegexToken("YYYY",match1to4,match4),addRegexToken("YYYYY",match1to6,match6),addRegexToken("YYYYYY",match1to6,match6),addParseToken(["YYYYY","YYYYYY"],YEAR),addParseToken("YYYY",(function(input,array){array[YEAR]=2===input.length?hooks.parseTwoDigitYear(input):toInt(input)})),addParseToken("YY",(function(input,array){array[YEAR]=hooks.parseTwoDigitYear(input)})),addParseToken("Y",(function(input,array){array[YEAR]=parseInt(input,10)})),hooks.parseTwoDigitYear=function(input){return toInt(input)+(toInt(input)>68?1900:2e3)};var indexOf,getSetYear=makeGetSet("FullYear",!0);function makeGetSet(unit,keepTime){return function(value){return null!=value?(set$1(this,unit,value),hooks.updateOffset(this,keepTime),this):get(this,unit)}}function get(mom,unit){return mom.isValid()?mom._d["get"+(mom._isUTC?"UTC":"")+unit]():NaN}function set$1(mom,unit,value){mom.isValid()&&!isNaN(value)&&("FullYear"===unit&&isLeapYear(mom.year())&&1===mom.month()&&29===mom.date()?mom._d["set"+(mom._isUTC?"UTC":"")+unit](value,mom.month(),daysInMonth(value,mom.month())):mom._d["set"+(mom._isUTC?"UTC":"")+unit](value))}function daysInMonth(year,month){if(isNaN(year)||isNaN(month))return NaN;var x,modMonth=(month%(x=12)+x)%x;return year+=(month-modMonth)/12,1===modMonth?isLeapYear(year)?29:28:31-modMonth%7%2}indexOf=Array.prototype.indexOf?Array.prototype.indexOf:function(o){var i;for(i=0;i<this.length;++i)if(this[i]===o)return i;return-1},addFormatToken("M",["MM",2],"Mo",(function(){return this.month()+1})),addFormatToken("MMM",0,0,(function(format){return this.localeData().monthsShort(this,format)})),addFormatToken("MMMM",0,0,(function(format){return this.localeData().months(this,format)})),addUnitAlias("month","M"),addUnitPriority("month",8),addRegexToken("M",match1to2),addRegexToken("MM",match1to2,match2),addRegexToken("MMM",(function(isStrict,locale){return locale.monthsShortRegex(isStrict)})),addRegexToken("MMMM",(function(isStrict,locale){return locale.monthsRegex(isStrict)})),addParseToken(["M","MM"],(function(input,array){array[MONTH]=toInt(input)-1})),addParseToken(["MMM","MMMM"],(function(input,array,config,token){var month=config._locale.monthsParse(input,token,config._strict);null!=month?array[MONTH]=month:getParsingFlags(config).invalidMonth=input}));var MONTHS_IN_FORMAT=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,defaultLocaleMonths="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),defaultLocaleMonthsShort="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function handleStrictParse(monthName,format,strict){var i,ii,mom,llc=monthName.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)mom=createUTC([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(mom,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(mom,"").toLocaleLowerCase();return strict?"MMM"===format?-1!==(ii=indexOf.call(this._shortMonthsParse,llc))?ii:null:-1!==(ii=indexOf.call(this._longMonthsParse,llc))?ii:null:"MMM"===format?-1!==(ii=indexOf.call(this._shortMonthsParse,llc))?ii:-1!==(ii=indexOf.call(this._longMonthsParse,llc))?ii:null:-1!==(ii=indexOf.call(this._longMonthsParse,llc))?ii:-1!==(ii=indexOf.call(this._shortMonthsParse,llc))?ii:null}function setMonth(mom,value){var dayOfMonth;if(!mom.isValid())return mom;if("string"==typeof value)if(/^\d+$/.test(value))value=toInt(value);else if(!isNumber(value=mom.localeData().monthsParse(value)))return mom;return dayOfMonth=Math.min(mom.date(),daysInMonth(mom.year(),value)),mom._d["set"+(mom._isUTC?"UTC":"")+"Month"](value,dayOfMonth),mom}function getSetMonth(value){return null!=value?(setMonth(this,value),hooks.updateOffset(this,!0),this):get(this,"Month")}var defaultMonthsShortRegex=matchWord,defaultMonthsRegex=matchWord;function computeMonthsParse(){function cmpLenRev(a,b){return b.length-a.length}var i,mom,shortPieces=[],longPieces=[],mixedPieces=[];for(i=0;i<12;i++)mom=createUTC([2e3,i]),shortPieces.push(this.monthsShort(mom,"")),longPieces.push(this.months(mom,"")),mixedPieces.push(this.months(mom,"")),mixedPieces.push(this.monthsShort(mom,""));for(shortPieces.sort(cmpLenRev),longPieces.sort(cmpLenRev),mixedPieces.sort(cmpLenRev),i=0;i<12;i++)shortPieces[i]=regexEscape(shortPieces[i]),longPieces[i]=regexEscape(longPieces[i]);for(i=0;i<24;i++)mixedPieces[i]=regexEscape(mixedPieces[i]);this._monthsRegex=new RegExp("^("+mixedPieces.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+longPieces.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+shortPieces.join("|")+")","i")}function createDate(y,m,d,h,M,s,ms){var date;return y<100&&y>=0?(date=new Date(y+400,m,d,h,M,s,ms),isFinite(date.getFullYear())&&date.setFullYear(y)):date=new Date(y,m,d,h,M,s,ms),date}function createUTCDate(y){var date;if(y<100&&y>=0){var args=Array.prototype.slice.call(arguments);args[0]=y+400,date=new Date(Date.UTC.apply(null,args)),isFinite(date.getUTCFullYear())&&date.setUTCFullYear(y)}else date=new Date(Date.UTC.apply(null,arguments));return date}function firstWeekOffset(year,dow,doy){var fwd=7+dow-doy;return-(7+createUTCDate(year,0,fwd).getUTCDay()-dow)%7+fwd-1}function dayOfYearFromWeeks(year,week,weekday,dow,doy){var resYear,resDayOfYear,dayOfYear=1+7*(week-1)+(7+weekday-dow)%7+firstWeekOffset(year,dow,doy);return dayOfYear<=0?resDayOfYear=daysInYear(resYear=year-1)+dayOfYear:dayOfYear>daysInYear(year)?(resYear=year+1,resDayOfYear=dayOfYear-daysInYear(year)):(resYear=year,resDayOfYear=dayOfYear),{year:resYear,dayOfYear:resDayOfYear}}function weekOfYear(mom,dow,doy){var resWeek,resYear,weekOffset=firstWeekOffset(mom.year(),dow,doy),week=Math.floor((mom.dayOfYear()-weekOffset-1)/7)+1;return week<1?resWeek=week+weeksInYear(resYear=mom.year()-1,dow,doy):week>weeksInYear(mom.year(),dow,doy)?(resWeek=week-weeksInYear(mom.year(),dow,doy),resYear=mom.year()+1):(resYear=mom.year(),resWeek=week),{week:resWeek,year:resYear}}function weeksInYear(year,dow,doy){var weekOffset=firstWeekOffset(year,dow,doy),weekOffsetNext=firstWeekOffset(year+1,dow,doy);return(daysInYear(year)-weekOffset+weekOffsetNext)/7}function shiftWeekdays(ws,n){return ws.slice(n,7).concat(ws.slice(0,n))}addFormatToken("w",["ww",2],"wo","week"),addFormatToken("W",["WW",2],"Wo","isoWeek"),addUnitAlias("week","w"),addUnitAlias("isoWeek","W"),addUnitPriority("week",5),addUnitPriority("isoWeek",5),addRegexToken("w",match1to2),addRegexToken("ww",match1to2,match2),addRegexToken("W",match1to2),addRegexToken("WW",match1to2,match2),addWeekParseToken(["w","ww","W","WW"],(function(input,week,config,token){week[token.substr(0,1)]=toInt(input)})),addFormatToken("d",0,"do","day"),addFormatToken("dd",0,0,(function(format){return this.localeData().weekdaysMin(this,format)})),addFormatToken("ddd",0,0,(function(format){return this.localeData().weekdaysShort(this,format)})),addFormatToken("dddd",0,0,(function(format){return this.localeData().weekdays(this,format)})),addFormatToken("e",0,0,"weekday"),addFormatToken("E",0,0,"isoWeekday"),addUnitAlias("day","d"),addUnitAlias("weekday","e"),addUnitAlias("isoWeekday","E"),addUnitPriority("day",11),addUnitPriority("weekday",11),addUnitPriority("isoWeekday",11),addRegexToken("d",match1to2),addRegexToken("e",match1to2),addRegexToken("E",match1to2),addRegexToken("dd",(function(isStrict,locale){return locale.weekdaysMinRegex(isStrict)})),addRegexToken("ddd",(function(isStrict,locale){return locale.weekdaysShortRegex(isStrict)})),addRegexToken("dddd",(function(isStrict,locale){return locale.weekdaysRegex(isStrict)})),addWeekParseToken(["dd","ddd","dddd"],(function(input,week,config,token){var weekday=config._locale.weekdaysParse(input,token,config._strict);null!=weekday?week.d=weekday:getParsingFlags(config).invalidWeekday=input})),addWeekParseToken(["d","e","E"],(function(input,week,config,token){week[token]=toInt(input)}));var defaultLocaleWeekdays="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),defaultLocaleWeekdaysShort="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),defaultLocaleWeekdaysMin="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function handleStrictParse$1(weekdayName,format,strict){var i,ii,mom,llc=weekdayName.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)mom=createUTC([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(mom,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(mom,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(mom,"").toLocaleLowerCase();return strict?"dddd"===format?-1!==(ii=indexOf.call(this._weekdaysParse,llc))?ii:null:"ddd"===format?-1!==(ii=indexOf.call(this._shortWeekdaysParse,llc))?ii:null:-1!==(ii=indexOf.call(this._minWeekdaysParse,llc))?ii:null:"dddd"===format?-1!==(ii=indexOf.call(this._weekdaysParse,llc))?ii:-1!==(ii=indexOf.call(this._shortWeekdaysParse,llc))?ii:-1!==(ii=indexOf.call(this._minWeekdaysParse,llc))?ii:null:"ddd"===format?-1!==(ii=indexOf.call(this._shortWeekdaysParse,llc))?ii:-1!==(ii=indexOf.call(this._weekdaysParse,llc))?ii:-1!==(ii=indexOf.call(this._minWeekdaysParse,llc))?ii:null:-1!==(ii=indexOf.call(this._minWeekdaysParse,llc))?ii:-1!==(ii=indexOf.call(this._weekdaysParse,llc))?ii:-1!==(ii=indexOf.call(this._shortWeekdaysParse,llc))?ii:null}var defaultWeekdaysRegex=matchWord,defaultWeekdaysShortRegex=matchWord,defaultWeekdaysMinRegex=matchWord;function computeWeekdaysParse(){function cmpLenRev(a,b){return b.length-a.length}var i,mom,minp,shortp,longp,minPieces=[],shortPieces=[],longPieces=[],mixedPieces=[];for(i=0;i<7;i++)mom=createUTC([2e3,1]).day(i),minp=this.weekdaysMin(mom,""),shortp=this.weekdaysShort(mom,""),longp=this.weekdays(mom,""),minPieces.push(minp),shortPieces.push(shortp),longPieces.push(longp),mixedPieces.push(minp),mixedPieces.push(shortp),mixedPieces.push(longp);for(minPieces.sort(cmpLenRev),shortPieces.sort(cmpLenRev),longPieces.sort(cmpLenRev),mixedPieces.sort(cmpLenRev),i=0;i<7;i++)shortPieces[i]=regexEscape(shortPieces[i]),longPieces[i]=regexEscape(longPieces[i]),mixedPieces[i]=regexEscape(mixedPieces[i]);this._weekdaysRegex=new RegExp("^("+mixedPieces.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+longPieces.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+shortPieces.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+minPieces.join("|")+")","i")}function hFormat(){return this.hours()%12||12}function meridiem(token,lowercase){addFormatToken(token,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),lowercase)}))}function matchMeridiem(isStrict,locale){return locale._meridiemParse}addFormatToken("H",["HH",2],0,"hour"),addFormatToken("h",["hh",2],0,hFormat),addFormatToken("k",["kk",2],0,(function(){return this.hours()||24})),addFormatToken("hmm",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)})),addFormatToken("hmmss",0,0,(function(){return""+hFormat.apply(this)+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)})),addFormatToken("Hmm",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)})),addFormatToken("Hmmss",0,0,(function(){return""+this.hours()+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)})),meridiem("a",!0),meridiem("A",!1),addUnitAlias("hour","h"),addUnitPriority("hour",13),addRegexToken("a",matchMeridiem),addRegexToken("A",matchMeridiem),addRegexToken("H",match1to2),addRegexToken("h",match1to2),addRegexToken("k",match1to2),addRegexToken("HH",match1to2,match2),addRegexToken("hh",match1to2,match2),addRegexToken("kk",match1to2,match2),addRegexToken("hmm",match3to4),addRegexToken("hmmss",match5to6),addRegexToken("Hmm",match3to4),addRegexToken("Hmmss",match5to6),addParseToken(["H","HH"],HOUR),addParseToken(["k","kk"],(function(input,array,config){var kInput=toInt(input);array[HOUR]=24===kInput?0:kInput})),addParseToken(["a","A"],(function(input,array,config){config._isPm=config._locale.isPM(input),config._meridiem=input})),addParseToken(["h","hh"],(function(input,array,config){array[HOUR]=toInt(input),getParsingFlags(config).bigHour=!0})),addParseToken("hmm",(function(input,array,config){var pos=input.length-2;array[HOUR]=toInt(input.substr(0,pos)),array[MINUTE]=toInt(input.substr(pos)),getParsingFlags(config).bigHour=!0})),addParseToken("hmmss",(function(input,array,config){var pos1=input.length-4,pos2=input.length-2;array[HOUR]=toInt(input.substr(0,pos1)),array[MINUTE]=toInt(input.substr(pos1,2)),array[SECOND]=toInt(input.substr(pos2)),getParsingFlags(config).bigHour=!0})),addParseToken("Hmm",(function(input,array,config){var pos=input.length-2;array[HOUR]=toInt(input.substr(0,pos)),array[MINUTE]=toInt(input.substr(pos))})),addParseToken("Hmmss",(function(input,array,config){var pos1=input.length-4,pos2=input.length-2;array[HOUR]=toInt(input.substr(0,pos1)),array[MINUTE]=toInt(input.substr(pos1,2)),array[SECOND]=toInt(input.substr(pos2))}));var globalLocale,getSetHour=makeGetSet("Hours",!0),baseConfig={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:defaultLocaleMonths,monthsShort:defaultLocaleMonthsShort,week:{dow:0,doy:6},weekdays:defaultLocaleWeekdays,weekdaysMin:defaultLocaleWeekdaysMin,weekdaysShort:defaultLocaleWeekdaysShort,meridiemParse:/[ap]\.?m?\.?/i},locales={},localeFamilies={};function normalizeLocale(key){return key?key.toLowerCase().replace("_","-"):key}function loadLocale(name){var oldLocale=null;if(!locales[name]&&void 0!==module&&module&&module.exports)try{oldLocale=globalLocale._abbr,__webpack_require__(119)("./"+name),getSetGlobalLocale(oldLocale)}catch(e){}return locales[name]}function getSetGlobalLocale(key,values){var data;return key&&((data=isUndefined(values)?getLocale(key):defineLocale(key,values))?globalLocale=data:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+key+" not found. Did you forget to load it?")),globalLocale._abbr}function defineLocale(name,config){if(null!==config){var locale,parentConfig=baseConfig;if(config.abbr=name,null!=locales[name])deprecateSimple("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."),parentConfig=locales[name]._config;else if(null!=config.parentLocale)if(null!=locales[config.parentLocale])parentConfig=locales[config.parentLocale]._config;else{if(null==(locale=loadLocale(config.parentLocale)))return localeFamilies[config.parentLocale]||(localeFamilies[config.parentLocale]=[]),localeFamilies[config.parentLocale].push({name:name,config:config}),null;parentConfig=locale._config}return locales[name]=new Locale(mergeConfigs(parentConfig,config)),localeFamilies[name]&&localeFamilies[name].forEach((function(x){defineLocale(x.name,x.config)})),getSetGlobalLocale(name),locales[name]}return delete locales[name],null}function getLocale(key){var locale;if(key&&key._locale&&key._locale._abbr&&(key=key._locale._abbr),!key)return globalLocale;if(!isArray(key)){if(locale=loadLocale(key))return locale;key=[key]}return function(names){for(var j,next,locale,split,i=0;i<names.length;){for(j=(split=normalizeLocale(names[i]).split("-")).length,next=(next=normalizeLocale(names[i+1]))?next.split("-"):null;j>0;){if(locale=loadLocale(split.slice(0,j).join("-")))return locale;if(next&&next.length>=j&&compareArrays(split,next,!0)>=j-1)break;j--}i++}return globalLocale}(key)}function checkOverflow(m){var overflow,a=m._a;return a&&-2===getParsingFlags(m).overflow&&(overflow=a[MONTH]<0||a[MONTH]>11?MONTH:a[DATE]<1||a[DATE]>daysInMonth(a[YEAR],a[MONTH])?DATE:a[HOUR]<0||a[HOUR]>24||24===a[HOUR]&&(0!==a[MINUTE]||0!==a[SECOND]||0!==a[MILLISECOND])?HOUR:a[MINUTE]<0||a[MINUTE]>59?MINUTE:a[SECOND]<0||a[SECOND]>59?SECOND:a[MILLISECOND]<0||a[MILLISECOND]>999?MILLISECOND:-1,getParsingFlags(m)._overflowDayOfYear&&(overflow<YEAR||overflow>DATE)&&(overflow=DATE),getParsingFlags(m)._overflowWeeks&&-1===overflow&&(overflow=WEEK),getParsingFlags(m)._overflowWeekday&&-1===overflow&&(overflow=WEEKDAY),getParsingFlags(m).overflow=overflow),m}function defaults(a,b,c){return null!=a?a:null!=b?b:c}function configFromArray(config){var i,date,currentDate,expectedWeekday,yearToUse,input=[];if(!config._d){for(currentDate=function(config){var nowValue=new Date(hooks.now());return config._useUTC?[nowValue.getUTCFullYear(),nowValue.getUTCMonth(),nowValue.getUTCDate()]:[nowValue.getFullYear(),nowValue.getMonth(),nowValue.getDate()]}(config),config._w&&null==config._a[DATE]&&null==config._a[MONTH]&&function(config){var w,weekYear,week,weekday,dow,doy,temp,weekdayOverflow;if(null!=(w=config._w).GG||null!=w.W||null!=w.E)dow=1,doy=4,weekYear=defaults(w.GG,config._a[YEAR],weekOfYear(createLocal(),1,4).year),week=defaults(w.W,1),((weekday=defaults(w.E,1))<1||weekday>7)&&(weekdayOverflow=!0);else{dow=config._locale._week.dow,doy=config._locale._week.doy;var curWeek=weekOfYear(createLocal(),dow,doy);weekYear=defaults(w.gg,config._a[YEAR],curWeek.year),week=defaults(w.w,curWeek.week),null!=w.d?((weekday=w.d)<0||weekday>6)&&(weekdayOverflow=!0):null!=w.e?(weekday=w.e+dow,(w.e<0||w.e>6)&&(weekdayOverflow=!0)):weekday=dow}week<1||week>weeksInYear(weekYear,dow,doy)?getParsingFlags(config)._overflowWeeks=!0:null!=weekdayOverflow?getParsingFlags(config)._overflowWeekday=!0:(temp=dayOfYearFromWeeks(weekYear,week,weekday,dow,doy),config._a[YEAR]=temp.year,config._dayOfYear=temp.dayOfYear)}(config),null!=config._dayOfYear&&(yearToUse=defaults(config._a[YEAR],currentDate[YEAR]),(config._dayOfYear>daysInYear(yearToUse)||0===config._dayOfYear)&&(getParsingFlags(config)._overflowDayOfYear=!0),date=createUTCDate(yearToUse,0,config._dayOfYear),config._a[MONTH]=date.getUTCMonth(),config._a[DATE]=date.getUTCDate()),i=0;i<3&&null==config._a[i];++i)config._a[i]=input[i]=currentDate[i];for(;i<7;i++)config._a[i]=input[i]=null==config._a[i]?2===i?1:0:config._a[i];24===config._a[HOUR]&&0===config._a[MINUTE]&&0===config._a[SECOND]&&0===config._a[MILLISECOND]&&(config._nextDay=!0,config._a[HOUR]=0),config._d=(config._useUTC?createUTCDate:createDate).apply(null,input),expectedWeekday=config._useUTC?config._d.getUTCDay():config._d.getDay(),null!=config._tzm&&config._d.setUTCMinutes(config._d.getUTCMinutes()-config._tzm),config._nextDay&&(config._a[HOUR]=24),config._w&&void 0!==config._w.d&&config._w.d!==expectedWeekday&&(getParsingFlags(config).weekdayMismatch=!0)}}var extendedIsoRegex=/^\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)?)?$/,basicIsoRegex=/^\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)?)?$/,tzRegex=/Z|[+-]\d\d(?::?\d\d)?/,isoDates=[["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}/]],isoTimes=[["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/]],aspNetJsonRegex=/^\/?Date\((\-?\d+)/i;function configFromISO(config){var i,l,allowTime,dateFormat,timeFormat,tzFormat,string=config._i,match=extendedIsoRegex.exec(string)||basicIsoRegex.exec(string);if(match){for(getParsingFlags(config).iso=!0,i=0,l=isoDates.length;i<l;i++)if(isoDates[i][1].exec(match[1])){dateFormat=isoDates[i][0],allowTime=!1!==isoDates[i][2];break}if(null==dateFormat)return void(config._isValid=!1);if(match[3]){for(i=0,l=isoTimes.length;i<l;i++)if(isoTimes[i][1].exec(match[3])){timeFormat=(match[2]||" ")+isoTimes[i][0];break}if(null==timeFormat)return void(config._isValid=!1)}if(!allowTime&&null!=timeFormat)return void(config._isValid=!1);if(match[4]){if(!tzRegex.exec(match[4]))return void(config._isValid=!1);tzFormat="Z"}config._f=dateFormat+(timeFormat||"")+(tzFormat||""),configFromStringAndFormat(config)}else config._isValid=!1}var rfc2822=/^(?:(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}))$/;function untruncateYear(yearStr){var year=parseInt(yearStr,10);return year<=49?2e3+year:year<=999?1900+year:year}var obsOffsets={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function configFromRFC2822(config){var yearStr,monthStr,dayStr,hourStr,minuteStr,secondStr,result,match=rfc2822.exec(config._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(match){var parsedArray=(yearStr=match[4],monthStr=match[3],dayStr=match[2],hourStr=match[5],minuteStr=match[6],secondStr=match[7],result=[untruncateYear(yearStr),defaultLocaleMonthsShort.indexOf(monthStr),parseInt(dayStr,10),parseInt(hourStr,10),parseInt(minuteStr,10)],secondStr&&result.push(parseInt(secondStr,10)),result);if(!function(weekdayStr,parsedInput,config){return!weekdayStr||defaultLocaleWeekdaysShort.indexOf(weekdayStr)===new Date(parsedInput[0],parsedInput[1],parsedInput[2]).getDay()||(getParsingFlags(config).weekdayMismatch=!0,config._isValid=!1,!1)}(match[1],parsedArray,config))return;config._a=parsedArray,config._tzm=function(obsOffset,militaryOffset,numOffset){if(obsOffset)return obsOffsets[obsOffset];if(militaryOffset)return 0;var hm=parseInt(numOffset,10),m=hm%100;return(hm-m)/100*60+m}(match[8],match[9],match[10]),config._d=createUTCDate.apply(null,config._a),config._d.setUTCMinutes(config._d.getUTCMinutes()-config._tzm),getParsingFlags(config).rfc2822=!0}else config._isValid=!1}function configFromStringAndFormat(config){if(config._f!==hooks.ISO_8601)if(config._f!==hooks.RFC_2822){config._a=[],getParsingFlags(config).empty=!0;var i,parsedInput,tokens,token,skipped,string=""+config._i,stringLength=string.length,totalParsedInputLength=0;for(tokens=expandFormat(config._f,config._locale).match(formattingTokens)||[],i=0;i<tokens.length;i++)token=tokens[i],(parsedInput=(string.match(getParseRegexForToken(token,config))||[])[0])&&((skipped=string.substr(0,string.indexOf(parsedInput))).length>0&&getParsingFlags(config).unusedInput.push(skipped),string=string.slice(string.indexOf(parsedInput)+parsedInput.length),totalParsedInputLength+=parsedInput.length),formatTokenFunctions[token]?(parsedInput?getParsingFlags(config).empty=!1:getParsingFlags(config).unusedTokens.push(token),addTimeToArrayFromToken(token,parsedInput,config)):config._strict&&!parsedInput&&getParsingFlags(config).unusedTokens.push(token);getParsingFlags(config).charsLeftOver=stringLength-totalParsedInputLength,string.length>0&&getParsingFlags(config).unusedInput.push(string),config._a[HOUR]<=12&&!0===getParsingFlags(config).bigHour&&config._a[HOUR]>0&&(getParsingFlags(config).bigHour=void 0),getParsingFlags(config).parsedDateParts=config._a.slice(0),getParsingFlags(config).meridiem=config._meridiem,config._a[HOUR]=function(locale,hour,meridiem){var isPm;return null==meridiem?hour:null!=locale.meridiemHour?locale.meridiemHour(hour,meridiem):null!=locale.isPM?((isPm=locale.isPM(meridiem))&&hour<12&&(hour+=12),isPm||12!==hour||(hour=0),hour):hour}(config._locale,config._a[HOUR],config._meridiem),configFromArray(config),checkOverflow(config)}else configFromRFC2822(config);else configFromISO(config)}function prepareConfig(config){var input=config._i,format=config._f;return config._locale=config._locale||getLocale(config._l),null===input||void 0===format&&""===input?createInvalid({nullInput:!0}):("string"==typeof input&&(config._i=input=config._locale.preparse(input)),isMoment(input)?new Moment(checkOverflow(input)):(isDate(input)?config._d=input:isArray(format)?function(config){var tempConfig,bestMoment,scoreToBeat,i,currentScore;if(0===config._f.length)return getParsingFlags(config).invalidFormat=!0,void(config._d=new Date(NaN));for(i=0;i<config._f.length;i++)currentScore=0,tempConfig=copyConfig({},config),null!=config._useUTC&&(tempConfig._useUTC=config._useUTC),tempConfig._f=config._f[i],configFromStringAndFormat(tempConfig),isValid(tempConfig)&&(currentScore+=getParsingFlags(tempConfig).charsLeftOver,currentScore+=10*getParsingFlags(tempConfig).unusedTokens.length,getParsingFlags(tempConfig).score=currentScore,(null==scoreToBeat||currentScore<scoreToBeat)&&(scoreToBeat=currentScore,bestMoment=tempConfig));extend(config,bestMoment||tempConfig)}(config):format?configFromStringAndFormat(config):function(config){var input=config._i;isUndefined(input)?config._d=new Date(hooks.now()):isDate(input)?config._d=new Date(input.valueOf()):"string"==typeof input?function(config){var matched=aspNetJsonRegex.exec(config._i);null===matched?(configFromISO(config),!1===config._isValid&&(delete config._isValid,configFromRFC2822(config),!1===config._isValid&&(delete config._isValid,hooks.createFromInputFallback(config)))):config._d=new Date(+matched[1])}(config):isArray(input)?(config._a=map(input.slice(0),(function(obj){return parseInt(obj,10)})),configFromArray(config)):isObject(input)?function(config){if(!config._d){var i=normalizeObjectUnits(config._i);config._a=map([i.year,i.month,i.day||i.date,i.hour,i.minute,i.second,i.millisecond],(function(obj){return obj&&parseInt(obj,10)})),configFromArray(config)}}(config):isNumber(input)?config._d=new Date(input):hooks.createFromInputFallback(config)}(config),isValid(config)||(config._d=null),config))}function createLocalOrUTC(input,format,locale,strict,isUTC){var res,c={};return!0!==locale&&!1!==locale||(strict=locale,locale=void 0),(isObject(input)&&function(obj){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(obj).length;var k;for(k in obj)if(obj.hasOwnProperty(k))return!1;return!0}(input)||isArray(input)&&0===input.length)&&(input=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=isUTC,c._l=locale,c._i=input,c._f=format,c._strict=strict,(res=new Moment(checkOverflow(prepareConfig(c))))._nextDay&&(res.add(1,"d"),res._nextDay=void 0),res}function createLocal(input,format,locale,strict){return createLocalOrUTC(input,format,locale,strict,!1)}hooks.createFromInputFallback=deprecate("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(config){config._d=new Date(config._i+(config._useUTC?" UTC":""))})),hooks.ISO_8601=function(){},hooks.RFC_2822=function(){};var prototypeMin=deprecate("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var other=createLocal.apply(null,arguments);return this.isValid()&&other.isValid()?other<this?this:other:createInvalid()})),prototypeMax=deprecate("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var other=createLocal.apply(null,arguments);return this.isValid()&&other.isValid()?other>this?this:other:createInvalid()}));function pickBy(fn,moments){var res,i;if(1===moments.length&&isArray(moments[0])&&(moments=moments[0]),!moments.length)return createLocal();for(res=moments[0],i=1;i<moments.length;++i)moments[i].isValid()&&!moments[i][fn](res)||(res=moments[i]);return res}var ordering=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Duration(duration){var normalizedInput=normalizeObjectUnits(duration),years=normalizedInput.year||0,quarters=normalizedInput.quarter||0,months=normalizedInput.month||0,weeks=normalizedInput.week||normalizedInput.isoWeek||0,days=normalizedInput.day||0,hours=normalizedInput.hour||0,minutes=normalizedInput.minute||0,seconds=normalizedInput.second||0,milliseconds=normalizedInput.millisecond||0;this._isValid=function(m){for(var key in m)if(-1===indexOf.call(ordering,key)||null!=m[key]&&isNaN(m[key]))return!1;for(var unitHasDecimal=!1,i=0;i<ordering.length;++i)if(m[ordering[i]]){if(unitHasDecimal)return!1;parseFloat(m[ordering[i]])!==toInt(m[ordering[i]])&&(unitHasDecimal=!0)}return!0}(normalizedInput),this._milliseconds=+milliseconds+1e3*seconds+6e4*minutes+1e3*hours*60*60,this._days=+days+7*weeks,this._months=+months+3*quarters+12*years,this._data={},this._locale=getLocale(),this._bubble()}function isDuration(obj){return obj instanceof Duration}function absRound(number){return number<0?-1*Math.round(-1*number):Math.round(number)}function offset(token,separator){addFormatToken(token,0,0,(function(){var offset=this.utcOffset(),sign="+";return offset<0&&(offset=-offset,sign="-"),sign+zeroFill(~~(offset/60),2)+separator+zeroFill(~~offset%60,2)}))}offset("Z",":"),offset("ZZ",""),addRegexToken("Z",matchShortOffset),addRegexToken("ZZ",matchShortOffset),addParseToken(["Z","ZZ"],(function(input,array,config){config._useUTC=!0,config._tzm=offsetFromString(matchShortOffset,input)}));var chunkOffset=/([\+\-]|\d\d)/gi;function offsetFromString(matcher,string){var matches=(string||"").match(matcher);if(null===matches)return null;var parts=((matches[matches.length-1]||[])+"").match(chunkOffset)||["-",0,0],minutes=60*parts[1]+toInt(parts[2]);return 0===minutes?0:"+"===parts[0]?minutes:-minutes}function cloneWithOffset(input,model){var res,diff;return model._isUTC?(res=model.clone(),diff=(isMoment(input)||isDate(input)?input.valueOf():createLocal(input).valueOf())-res.valueOf(),res._d.setTime(res._d.valueOf()+diff),hooks.updateOffset(res,!1),res):createLocal(input).local()}function getDateOffset(m){return 15*-Math.round(m._d.getTimezoneOffset()/15)}function isUtc(){return!!this.isValid()&&this._isUTC&&0===this._offset}hooks.updateOffset=function(){};var aspNetRegex=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,isoRegex=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(input,key){var sign,ret,diffRes,base,other,res,duration=input,match=null;return isDuration(input)?duration={ms:input._milliseconds,d:input._days,M:input._months}:isNumber(input)?(duration={},key?duration[key]=input:duration.milliseconds=input):(match=aspNetRegex.exec(input))?(sign="-"===match[1]?-1:1,duration={y:0,d:toInt(match[DATE])*sign,h:toInt(match[HOUR])*sign,m:toInt(match[MINUTE])*sign,s:toInt(match[SECOND])*sign,ms:toInt(absRound(1e3*match[MILLISECOND]))*sign}):(match=isoRegex.exec(input))?(sign="-"===match[1]?-1:1,duration={y:parseIso(match[2],sign),M:parseIso(match[3],sign),w:parseIso(match[4],sign),d:parseIso(match[5],sign),h:parseIso(match[6],sign),m:parseIso(match[7],sign),s:parseIso(match[8],sign)}):null==duration?duration={}:"object"==typeof duration&&("from"in duration||"to"in duration)&&(base=createLocal(duration.from),other=createLocal(duration.to),diffRes=base.isValid()&&other.isValid()?(other=cloneWithOffset(other,base),base.isBefore(other)?res=positiveMomentsDifference(base,other):((res=positiveMomentsDifference(other,base)).milliseconds=-res.milliseconds,res.months=-res.months),res):{milliseconds:0,months:0},(duration={}).ms=diffRes.milliseconds,duration.M=diffRes.months),ret=new Duration(duration),isDuration(input)&&hasOwnProp(input,"_locale")&&(ret._locale=input._locale),ret}function parseIso(inp,sign){var res=inp&&parseFloat(inp.replace(",","."));return(isNaN(res)?0:res)*sign}function positiveMomentsDifference(base,other){var res={};return res.months=other.month()-base.month()+12*(other.year()-base.year()),base.clone().add(res.months,"M").isAfter(other)&&--res.months,res.milliseconds=+other-+base.clone().add(res.months,"M"),res}function createAdder(direction,name){return function(val,period){var tmp;return null===period||isNaN(+period)||(deprecateSimple(name,"moment()."+name+"(period, number) is deprecated. Please use moment()."+name+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),tmp=val,val=period,period=tmp),addSubtract(this,createDuration(val="string"==typeof val?+val:val,period),direction),this}}function addSubtract(mom,duration,isAdding,updateOffset){var milliseconds=duration._milliseconds,days=absRound(duration._days),months=absRound(duration._months);mom.isValid()&&(updateOffset=null==updateOffset||updateOffset,months&&setMonth(mom,get(mom,"Month")+months*isAdding),days&&set$1(mom,"Date",get(mom,"Date")+days*isAdding),milliseconds&&mom._d.setTime(mom._d.valueOf()+milliseconds*isAdding),updateOffset&&hooks.updateOffset(mom,days||months))}createDuration.fn=Duration.prototype,createDuration.invalid=function(){return createDuration(NaN)};var add=createAdder(1,"add"),subtract=createAdder(-1,"subtract");function monthDiff(a,b){var wholeMonthDiff=12*(b.year()-a.year())+(b.month()-a.month()),anchor=a.clone().add(wholeMonthDiff,"months");return-(wholeMonthDiff+(b-anchor<0?(b-anchor)/(anchor-a.clone().add(wholeMonthDiff-1,"months")):(b-anchor)/(a.clone().add(wholeMonthDiff+1,"months")-anchor)))||0}function locale(key){var newLocaleData;return void 0===key?this._locale._abbr:(null!=(newLocaleData=getLocale(key))&&(this._locale=newLocaleData),this)}hooks.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",hooks.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lang=deprecate("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(key){return void 0===key?this.localeData():this.locale(key)}));function localeData(){return this._locale}var MS_PER_SECOND=1e3,MS_PER_MINUTE=60*MS_PER_SECOND,MS_PER_HOUR=60*MS_PER_MINUTE,MS_PER_400_YEARS=3506328*MS_PER_HOUR;function mod$1(dividend,divisor){return(dividend%divisor+divisor)%divisor}function localStartOfDate(y,m,d){return y<100&&y>=0?new Date(y+400,m,d)-MS_PER_400_YEARS:new Date(y,m,d).valueOf()}function utcStartOfDate(y,m,d){return y<100&&y>=0?Date.UTC(y+400,m,d)-MS_PER_400_YEARS:Date.UTC(y,m,d)}function addWeekYearFormatToken(token,getter){addFormatToken(0,[token,token.length],0,getter)}function getSetWeekYearHelper(input,week,weekday,dow,doy){var weeksTarget;return null==input?weekOfYear(this,dow,doy).year:(week>(weeksTarget=weeksInYear(input,dow,doy))&&(week=weeksTarget),setWeekAll.call(this,input,week,weekday,dow,doy))}function setWeekAll(weekYear,week,weekday,dow,doy){var dayOfYearData=dayOfYearFromWeeks(weekYear,week,weekday,dow,doy),date=createUTCDate(dayOfYearData.year,0,dayOfYearData.dayOfYear);return this.year(date.getUTCFullYear()),this.month(date.getUTCMonth()),this.date(date.getUTCDate()),this}addFormatToken(0,["gg",2],0,(function(){return this.weekYear()%100})),addFormatToken(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),addWeekYearFormatToken("gggg","weekYear"),addWeekYearFormatToken("ggggg","weekYear"),addWeekYearFormatToken("GGGG","isoWeekYear"),addWeekYearFormatToken("GGGGG","isoWeekYear"),addUnitAlias("weekYear","gg"),addUnitAlias("isoWeekYear","GG"),addUnitPriority("weekYear",1),addUnitPriority("isoWeekYear",1),addRegexToken("G",matchSigned),addRegexToken("g",matchSigned),addRegexToken("GG",match1to2,match2),addRegexToken("gg",match1to2,match2),addRegexToken("GGGG",match1to4,match4),addRegexToken("gggg",match1to4,match4),addRegexToken("GGGGG",match1to6,match6),addRegexToken("ggggg",match1to6,match6),addWeekParseToken(["gggg","ggggg","GGGG","GGGGG"],(function(input,week,config,token){week[token.substr(0,2)]=toInt(input)})),addWeekParseToken(["gg","GG"],(function(input,week,config,token){week[token]=hooks.parseTwoDigitYear(input)})),addFormatToken("Q",0,"Qo","quarter"),addUnitAlias("quarter","Q"),addUnitPriority("quarter",7),addRegexToken("Q",match1),addParseToken("Q",(function(input,array){array[MONTH]=3*(toInt(input)-1)})),addFormatToken("D",["DD",2],"Do","date"),addUnitAlias("date","D"),addUnitPriority("date",9),addRegexToken("D",match1to2),addRegexToken("DD",match1to2,match2),addRegexToken("Do",(function(isStrict,locale){return isStrict?locale._dayOfMonthOrdinalParse||locale._ordinalParse:locale._dayOfMonthOrdinalParseLenient})),addParseToken(["D","DD"],DATE),addParseToken("Do",(function(input,array){array[DATE]=toInt(input.match(match1to2)[0])}));var getSetDayOfMonth=makeGetSet("Date",!0);addFormatToken("DDD",["DDDD",3],"DDDo","dayOfYear"),addUnitAlias("dayOfYear","DDD"),addUnitPriority("dayOfYear",4),addRegexToken("DDD",match1to3),addRegexToken("DDDD",match3),addParseToken(["DDD","DDDD"],(function(input,array,config){config._dayOfYear=toInt(input)})),addFormatToken("m",["mm",2],0,"minute"),addUnitAlias("minute","m"),addUnitPriority("minute",14),addRegexToken("m",match1to2),addRegexToken("mm",match1to2,match2),addParseToken(["m","mm"],MINUTE);var getSetMinute=makeGetSet("Minutes",!1);addFormatToken("s",["ss",2],0,"second"),addUnitAlias("second","s"),addUnitPriority("second",15),addRegexToken("s",match1to2),addRegexToken("ss",match1to2,match2),addParseToken(["s","ss"],SECOND);var token,getSetSecond=makeGetSet("Seconds",!1);for(addFormatToken("S",0,0,(function(){return~~(this.millisecond()/100)})),addFormatToken(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),addFormatToken(0,["SSS",3],0,"millisecond"),addFormatToken(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),addFormatToken(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),addFormatToken(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),addFormatToken(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),addFormatToken(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),addFormatToken(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),addUnitAlias("millisecond","ms"),addUnitPriority("millisecond",16),addRegexToken("S",match1to3,match1),addRegexToken("SS",match1to3,match2),addRegexToken("SSS",match1to3,match3),token="SSSS";token.length<=9;token+="S")addRegexToken(token,matchUnsigned);function parseMs(input,array){array[MILLISECOND]=toInt(1e3*("0."+input))}for(token="S";token.length<=9;token+="S")addParseToken(token,parseMs);var getSetMillisecond=makeGetSet("Milliseconds",!1);addFormatToken("z",0,0,"zoneAbbr"),addFormatToken("zz",0,0,"zoneName");var proto=Moment.prototype;function preParsePostFormat(string){return string}proto.add=add,proto.calendar=function(time,formats){var now=time||createLocal(),sod=cloneWithOffset(now,this).startOf("day"),format=hooks.calendarFormat(this,sod)||"sameElse",output=formats&&(isFunction(formats[format])?formats[format].call(this,now):formats[format]);return this.format(output||this.localeData().calendar(format,this,createLocal(now)))},proto.clone=function(){return new Moment(this)},proto.diff=function(input,units,asFloat){var that,zoneDelta,output;if(!this.isValid())return NaN;if(!(that=cloneWithOffset(input,this)).isValid())return NaN;switch(zoneDelta=6e4*(that.utcOffset()-this.utcOffset()),units=normalizeUnits(units)){case"year":output=monthDiff(this,that)/12;break;case"month":output=monthDiff(this,that);break;case"quarter":output=monthDiff(this,that)/3;break;case"second":output=(this-that)/1e3;break;case"minute":output=(this-that)/6e4;break;case"hour":output=(this-that)/36e5;break;case"day":output=(this-that-zoneDelta)/864e5;break;case"week":output=(this-that-zoneDelta)/6048e5;break;default:output=this-that}return asFloat?output:absFloor(output)},proto.endOf=function(units){var time;if(void 0===(units=normalizeUnits(units))||"millisecond"===units||!this.isValid())return this;var startOfDate=this._isUTC?utcStartOfDate:localStartOfDate;switch(units){case"year":time=startOfDate(this.year()+1,0,1)-1;break;case"quarter":time=startOfDate(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":time=startOfDate(this.year(),this.month()+1,1)-1;break;case"week":time=startOfDate(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":time=startOfDate(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":time=startOfDate(this.year(),this.month(),this.date()+1)-1;break;case"hour":time=this._d.valueOf(),time+=MS_PER_HOUR-mod$1(time+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR)-1;break;case"minute":time=this._d.valueOf(),time+=MS_PER_MINUTE-mod$1(time,MS_PER_MINUTE)-1;break;case"second":time=this._d.valueOf(),time+=MS_PER_SECOND-mod$1(time,MS_PER_SECOND)-1}return this._d.setTime(time),hooks.updateOffset(this,!0),this},proto.format=function(inputString){inputString||(inputString=this.isUtc()?hooks.defaultFormatUtc:hooks.defaultFormat);var output=formatMoment(this,inputString);return this.localeData().postformat(output)},proto.from=function(time,withoutSuffix){return this.isValid()&&(isMoment(time)&&time.isValid()||createLocal(time).isValid())?createDuration({to:this,from:time}).locale(this.locale()).humanize(!withoutSuffix):this.localeData().invalidDate()},proto.fromNow=function(withoutSuffix){return this.from(createLocal(),withoutSuffix)},proto.to=function(time,withoutSuffix){return this.isValid()&&(isMoment(time)&&time.isValid()||createLocal(time).isValid())?createDuration({from:this,to:time}).locale(this.locale()).humanize(!withoutSuffix):this.localeData().invalidDate()},proto.toNow=function(withoutSuffix){return this.to(createLocal(),withoutSuffix)},proto.get=function(units){return isFunction(this[units=normalizeUnits(units)])?this[units]():this},proto.invalidAt=function(){return getParsingFlags(this).overflow},proto.isAfter=function(input,units){var localInput=isMoment(input)?input:createLocal(input);return!(!this.isValid()||!localInput.isValid())&&("millisecond"===(units=normalizeUnits(units)||"millisecond")?this.valueOf()>localInput.valueOf():localInput.valueOf()<this.clone().startOf(units).valueOf())},proto.isBefore=function(input,units){var localInput=isMoment(input)?input:createLocal(input);return!(!this.isValid()||!localInput.isValid())&&("millisecond"===(units=normalizeUnits(units)||"millisecond")?this.valueOf()<localInput.valueOf():this.clone().endOf(units).valueOf()<localInput.valueOf())},proto.isBetween=function(from,to,units,inclusivity){var localFrom=isMoment(from)?from:createLocal(from),localTo=isMoment(to)?to:createLocal(to);return!!(this.isValid()&&localFrom.isValid()&&localTo.isValid())&&("("===(inclusivity=inclusivity||"()")[0]?this.isAfter(localFrom,units):!this.isBefore(localFrom,units))&&(")"===inclusivity[1]?this.isBefore(localTo,units):!this.isAfter(localTo,units))},proto.isSame=function(input,units){var inputMs,localInput=isMoment(input)?input:createLocal(input);return!(!this.isValid()||!localInput.isValid())&&("millisecond"===(units=normalizeUnits(units)||"millisecond")?this.valueOf()===localInput.valueOf():(inputMs=localInput.valueOf(),this.clone().startOf(units).valueOf()<=inputMs&&inputMs<=this.clone().endOf(units).valueOf()))},proto.isSameOrAfter=function(input,units){return this.isSame(input,units)||this.isAfter(input,units)},proto.isSameOrBefore=function(input,units){return this.isSame(input,units)||this.isBefore(input,units)},proto.isValid=function(){return isValid(this)},proto.lang=lang,proto.locale=locale,proto.localeData=localeData,proto.max=prototypeMax,proto.min=prototypeMin,proto.parsingFlags=function(){return extend({},getParsingFlags(this))},proto.set=function(units,value){if("object"==typeof units)for(var prioritized=function(unitsObj){var units=[];for(var u in unitsObj)units.push({unit:u,priority:priorities[u]});return units.sort((function(a,b){return a.priority-b.priority})),units}(units=normalizeObjectUnits(units)),i=0;i<prioritized.length;i++)this[prioritized[i].unit](units[prioritized[i].unit]);else if(isFunction(this[units=normalizeUnits(units)]))return this[units](value);return this},proto.startOf=function(units){var time;if(void 0===(units=normalizeUnits(units))||"millisecond"===units||!this.isValid())return this;var startOfDate=this._isUTC?utcStartOfDate:localStartOfDate;switch(units){case"year":time=startOfDate(this.year(),0,1);break;case"quarter":time=startOfDate(this.year(),this.month()-this.month()%3,1);break;case"month":time=startOfDate(this.year(),this.month(),1);break;case"week":time=startOfDate(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":time=startOfDate(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":time=startOfDate(this.year(),this.month(),this.date());break;case"hour":time=this._d.valueOf(),time-=mod$1(time+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR);break;case"minute":time=this._d.valueOf(),time-=mod$1(time,MS_PER_MINUTE);break;case"second":time=this._d.valueOf(),time-=mod$1(time,MS_PER_SECOND)}return this._d.setTime(time),hooks.updateOffset(this,!0),this},proto.subtract=subtract,proto.toArray=function(){var m=this;return[m.year(),m.month(),m.date(),m.hour(),m.minute(),m.second(),m.millisecond()]},proto.toObject=function(){var m=this;return{years:m.year(),months:m.month(),date:m.date(),hours:m.hours(),minutes:m.minutes(),seconds:m.seconds(),milliseconds:m.milliseconds()}},proto.toDate=function(){return new Date(this.valueOf())},proto.toISOString=function(keepOffset){if(!this.isValid())return null;var utc=!0!==keepOffset,m=utc?this.clone().utc():this;return m.year()<0||m.year()>9999?formatMoment(m,utc?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):isFunction(Date.prototype.toISOString)?utc?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",formatMoment(m,"Z")):formatMoment(m,utc?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},proto.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var func="moment",zone="";this.isLocal()||(func=0===this.utcOffset()?"moment.utc":"moment.parseZone",zone="Z");var prefix="["+func+'("]',year=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",suffix=zone+'[")]';return this.format(prefix+year+"-MM-DD[T]HH:mm:ss.SSS"+suffix)},proto.toJSON=function(){return this.isValid()?this.toISOString():null},proto.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},proto.unix=function(){return Math.floor(this.valueOf()/1e3)},proto.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},proto.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},proto.year=getSetYear,proto.isLeapYear=function(){return isLeapYear(this.year())},proto.weekYear=function(input){return getSetWeekYearHelper.call(this,input,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},proto.isoWeekYear=function(input){return getSetWeekYearHelper.call(this,input,this.isoWeek(),this.isoWeekday(),1,4)},proto.quarter=proto.quarters=function(input){return null==input?Math.ceil((this.month()+1)/3):this.month(3*(input-1)+this.month()%3)},proto.month=getSetMonth,proto.daysInMonth=function(){return daysInMonth(this.year(),this.month())},proto.week=proto.weeks=function(input){var week=this.localeData().week(this);return null==input?week:this.add(7*(input-week),"d")},proto.isoWeek=proto.isoWeeks=function(input){var week=weekOfYear(this,1,4).week;return null==input?week:this.add(7*(input-week),"d")},proto.weeksInYear=function(){var weekInfo=this.localeData()._week;return weeksInYear(this.year(),weekInfo.dow,weekInfo.doy)},proto.isoWeeksInYear=function(){return weeksInYear(this.year(),1,4)},proto.date=getSetDayOfMonth,proto.day=proto.days=function(input){if(!this.isValid())return null!=input?this:NaN;var day=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=input?(input=function(input,locale){return"string"!=typeof input?input:isNaN(input)?"number"==typeof(input=locale.weekdaysParse(input))?input:null:parseInt(input,10)}(input,this.localeData()),this.add(input-day,"d")):day},proto.weekday=function(input){if(!this.isValid())return null!=input?this:NaN;var weekday=(this.day()+7-this.localeData()._week.dow)%7;return null==input?weekday:this.add(input-weekday,"d")},proto.isoWeekday=function(input){if(!this.isValid())return null!=input?this:NaN;if(null!=input){var weekday=function(input,locale){return"string"==typeof input?locale.weekdaysParse(input)%7||7:isNaN(input)?null:input}(input,this.localeData());return this.day(this.day()%7?weekday:weekday-7)}return this.day()||7},proto.dayOfYear=function(input){var dayOfYear=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==input?dayOfYear:this.add(input-dayOfYear,"d")},proto.hour=proto.hours=getSetHour,proto.minute=proto.minutes=getSetMinute,proto.second=proto.seconds=getSetSecond,proto.millisecond=proto.milliseconds=getSetMillisecond,proto.utcOffset=function(input,keepLocalTime,keepMinutes){var localAdjust,offset=this._offset||0;if(!this.isValid())return null!=input?this:NaN;if(null!=input){if("string"==typeof input){if(null===(input=offsetFromString(matchShortOffset,input)))return this}else Math.abs(input)<16&&!keepMinutes&&(input*=60);return!this._isUTC&&keepLocalTime&&(localAdjust=getDateOffset(this)),this._offset=input,this._isUTC=!0,null!=localAdjust&&this.add(localAdjust,"m"),offset!==input&&(!keepLocalTime||this._changeInProgress?addSubtract(this,createDuration(input-offset,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,hooks.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?offset:getDateOffset(this)},proto.utc=function(keepLocalTime){return this.utcOffset(0,keepLocalTime)},proto.local=function(keepLocalTime){return this._isUTC&&(this.utcOffset(0,keepLocalTime),this._isUTC=!1,keepLocalTime&&this.subtract(getDateOffset(this),"m")),this},proto.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var tZone=offsetFromString(matchOffset,this._i);null!=tZone?this.utcOffset(tZone):this.utcOffset(0,!0)}return this},proto.hasAlignedHourOffset=function(input){return!!this.isValid()&&(input=input?createLocal(input).utcOffset():0,(this.utcOffset()-input)%60==0)},proto.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},proto.isLocal=function(){return!!this.isValid()&&!this._isUTC},proto.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},proto.isUtc=isUtc,proto.isUTC=isUtc,proto.zoneAbbr=function(){return this._isUTC?"UTC":""},proto.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},proto.dates=deprecate("dates accessor is deprecated. Use date instead.",getSetDayOfMonth),proto.months=deprecate("months accessor is deprecated. Use month instead",getSetMonth),proto.years=deprecate("years accessor is deprecated. Use year instead",getSetYear),proto.zone=deprecate("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(input,keepLocalTime){return null!=input?("string"!=typeof input&&(input=-input),this.utcOffset(input,keepLocalTime),this):-this.utcOffset()})),proto.isDSTShifted=deprecate("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!isUndefined(this._isDSTShifted))return this._isDSTShifted;var c={};if(copyConfig(c,this),(c=prepareConfig(c))._a){var other=c._isUTC?createUTC(c._a):createLocal(c._a);this._isDSTShifted=this.isValid()&&compareArrays(c._a,other.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var proto$1=Locale.prototype;function get$1(format,index,field,setter){var locale=getLocale(),utc=createUTC().set(setter,index);return locale[field](utc,format)}function listMonthsImpl(format,index,field){if(isNumber(format)&&(index=format,format=void 0),format=format||"",null!=index)return get$1(format,index,field,"month");var i,out=[];for(i=0;i<12;i++)out[i]=get$1(format,i,field,"month");return out}function listWeekdaysImpl(localeSorted,format,index,field){"boolean"==typeof localeSorted?(isNumber(format)&&(index=format,format=void 0),format=format||""):(index=format=localeSorted,localeSorted=!1,isNumber(format)&&(index=format,format=void 0),format=format||"");var i,locale=getLocale(),shift=localeSorted?locale._week.dow:0;if(null!=index)return get$1(format,(index+shift)%7,field,"day");var out=[];for(i=0;i<7;i++)out[i]=get$1(format,(i+shift)%7,field,"day");return out}proto$1.calendar=function(key,mom,now){var output=this._calendar[key]||this._calendar.sameElse;return isFunction(output)?output.call(mom,now):output},proto$1.longDateFormat=function(key){var format=this._longDateFormat[key],formatUpper=this._longDateFormat[key.toUpperCase()];return format||!formatUpper?format:(this._longDateFormat[key]=formatUpper.replace(/MMMM|MM|DD|dddd/g,(function(val){return val.slice(1)})),this._longDateFormat[key])},proto$1.invalidDate=function(){return this._invalidDate},proto$1.ordinal=function(number){return this._ordinal.replace("%d",number)},proto$1.preparse=preParsePostFormat,proto$1.postformat=preParsePostFormat,proto$1.relativeTime=function(number,withoutSuffix,string,isFuture){var output=this._relativeTime[string];return isFunction(output)?output(number,withoutSuffix,string,isFuture):output.replace(/%d/i,number)},proto$1.pastFuture=function(diff,output){var format=this._relativeTime[diff>0?"future":"past"];return isFunction(format)?format(output):format.replace(/%s/i,output)},proto$1.set=function(config){var prop,i;for(i in config)isFunction(prop=config[i])?this[i]=prop:this["_"+i]=prop;this._config=config,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},proto$1.months=function(m,format){return m?isArray(this._months)?this._months[m.month()]:this._months[(this._months.isFormat||MONTHS_IN_FORMAT).test(format)?"format":"standalone"][m.month()]:isArray(this._months)?this._months:this._months.standalone},proto$1.monthsShort=function(m,format){return m?isArray(this._monthsShort)?this._monthsShort[m.month()]:this._monthsShort[MONTHS_IN_FORMAT.test(format)?"format":"standalone"][m.month()]:isArray(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},proto$1.monthsParse=function(monthName,format,strict){var i,mom,regex;if(this._monthsParseExact)return handleStrictParse.call(this,monthName,format,strict);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(mom=createUTC([2e3,i]),strict&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(mom,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(mom,"").replace(".","")+"$","i")),strict||this._monthsParse[i]||(regex="^"+this.months(mom,"")+"|^"+this.monthsShort(mom,""),this._monthsParse[i]=new RegExp(regex.replace(".",""),"i")),strict&&"MMMM"===format&&this._longMonthsParse[i].test(monthName))return i;if(strict&&"MMM"===format&&this._shortMonthsParse[i].test(monthName))return i;if(!strict&&this._monthsParse[i].test(monthName))return i}},proto$1.monthsRegex=function(isStrict){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),isStrict?this._monthsStrictRegex:this._monthsRegex):(hasOwnProp(this,"_monthsRegex")||(this._monthsRegex=defaultMonthsRegex),this._monthsStrictRegex&&isStrict?this._monthsStrictRegex:this._monthsRegex)},proto$1.monthsShortRegex=function(isStrict){return this._monthsParseExact?(hasOwnProp(this,"_monthsRegex")||computeMonthsParse.call(this),isStrict?this._monthsShortStrictRegex:this._monthsShortRegex):(hasOwnProp(this,"_monthsShortRegex")||(this._monthsShortRegex=defaultMonthsShortRegex),this._monthsShortStrictRegex&&isStrict?this._monthsShortStrictRegex:this._monthsShortRegex)},proto$1.week=function(mom){return weekOfYear(mom,this._week.dow,this._week.doy).week},proto$1.firstDayOfYear=function(){return this._week.doy},proto$1.firstDayOfWeek=function(){return this._week.dow},proto$1.weekdays=function(m,format){var weekdays=isArray(this._weekdays)?this._weekdays:this._weekdays[m&&!0!==m&&this._weekdays.isFormat.test(format)?"format":"standalone"];return!0===m?shiftWeekdays(weekdays,this._week.dow):m?weekdays[m.day()]:weekdays},proto$1.weekdaysMin=function(m){return!0===m?shiftWeekdays(this._weekdaysMin,this._week.dow):m?this._weekdaysMin[m.day()]:this._weekdaysMin},proto$1.weekdaysShort=function(m){return!0===m?shiftWeekdays(this._weekdaysShort,this._week.dow):m?this._weekdaysShort[m.day()]:this._weekdaysShort},proto$1.weekdaysParse=function(weekdayName,format,strict){var i,mom,regex;if(this._weekdaysParseExact)return handleStrictParse$1.call(this,weekdayName,format,strict);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(mom=createUTC([2e3,1]).day(i),strict&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(mom,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(mom,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(mom,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(regex="^"+this.weekdays(mom,"")+"|^"+this.weekdaysShort(mom,"")+"|^"+this.weekdaysMin(mom,""),this._weekdaysParse[i]=new RegExp(regex.replace(".",""),"i")),strict&&"dddd"===format&&this._fullWeekdaysParse[i].test(weekdayName))return i;if(strict&&"ddd"===format&&this._shortWeekdaysParse[i].test(weekdayName))return i;if(strict&&"dd"===format&&this._minWeekdaysParse[i].test(weekdayName))return i;if(!strict&&this._weekdaysParse[i].test(weekdayName))return i}},proto$1.weekdaysRegex=function(isStrict){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),isStrict?this._weekdaysStrictRegex:this._weekdaysRegex):(hasOwnProp(this,"_weekdaysRegex")||(this._weekdaysRegex=defaultWeekdaysRegex),this._weekdaysStrictRegex&&isStrict?this._weekdaysStrictRegex:this._weekdaysRegex)},proto$1.weekdaysShortRegex=function(isStrict){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),isStrict?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(hasOwnProp(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=defaultWeekdaysShortRegex),this._weekdaysShortStrictRegex&&isStrict?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},proto$1.weekdaysMinRegex=function(isStrict){return this._weekdaysParseExact?(hasOwnProp(this,"_weekdaysRegex")||computeWeekdaysParse.call(this),isStrict?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(hasOwnProp(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=defaultWeekdaysMinRegex),this._weekdaysMinStrictRegex&&isStrict?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},proto$1.isPM=function(input){return"p"===(input+"").toLowerCase().charAt(0)},proto$1.meridiem=function(hours,minutes,isLower){return hours>11?isLower?"pm":"PM":isLower?"am":"AM"},getSetGlobalLocale("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(number){var b=number%10;return number+(1===toInt(number%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th")}}),hooks.lang=deprecate("moment.lang is deprecated. Use moment.locale instead.",getSetGlobalLocale),hooks.langData=deprecate("moment.langData is deprecated. Use moment.localeData instead.",getLocale);var mathAbs=Math.abs;function addSubtract$1(duration,input,value,direction){var other=createDuration(input,value);return duration._milliseconds+=direction*other._milliseconds,duration._days+=direction*other._days,duration._months+=direction*other._months,duration._bubble()}function absCeil(number){return number<0?Math.floor(number):Math.ceil(number)}function daysToMonths(days){return 4800*days/146097}function monthsToDays(months){return 146097*months/4800}function makeAs(alias){return function(){return this.as(alias)}}var asMilliseconds=makeAs("ms"),asSeconds=makeAs("s"),asMinutes=makeAs("m"),asHours=makeAs("h"),asDays=makeAs("d"),asWeeks=makeAs("w"),asMonths=makeAs("M"),asQuarters=makeAs("Q"),asYears=makeAs("y");function makeGetter(name){return function(){return this.isValid()?this._data[name]:NaN}}var milliseconds=makeGetter("milliseconds"),seconds=makeGetter("seconds"),minutes=makeGetter("minutes"),hours=makeGetter("hours"),days=makeGetter("days"),months=makeGetter("months"),years=makeGetter("years"),round=Math.round,thresholds={ss:44,s:45,m:45,h:22,d:26,M:11};function substituteTimeAgo(string,number,withoutSuffix,isFuture,locale){return locale.relativeTime(number||1,!!withoutSuffix,string,isFuture)}var abs$1=Math.abs;function sign(x){return(x>0)-(x<0)||+x}function toISOString$1(){if(!this.isValid())return this.localeData().invalidDate();var minutes,hours,seconds=abs$1(this._milliseconds)/1e3,days=abs$1(this._days),months=abs$1(this._months);minutes=absFloor(seconds/60),hours=absFloor(minutes/60),seconds%=60,minutes%=60;var Y=absFloor(months/12),M=months%=12,D=days,h=hours,m=minutes,s=seconds?seconds.toFixed(3).replace(/\.?0+$/,""):"",total=this.asSeconds();if(!total)return"P0D";var totalSign=total<0?"-":"",ymSign=sign(this._months)!==sign(total)?"-":"",daysSign=sign(this._days)!==sign(total)?"-":"",hmsSign=sign(this._milliseconds)!==sign(total)?"-":"";return totalSign+"P"+(Y?ymSign+Y+"Y":"")+(M?ymSign+M+"M":"")+(D?daysSign+D+"D":"")+(h||m||s?"T":"")+(h?hmsSign+h+"H":"")+(m?hmsSign+m+"M":"")+(s?hmsSign+s+"S":"")}var proto$2=Duration.prototype;return proto$2.isValid=function(){return this._isValid},proto$2.abs=function(){var data=this._data;return this._milliseconds=mathAbs(this._milliseconds),this._days=mathAbs(this._days),this._months=mathAbs(this._months),data.milliseconds=mathAbs(data.milliseconds),data.seconds=mathAbs(data.seconds),data.minutes=mathAbs(data.minutes),data.hours=mathAbs(data.hours),data.months=mathAbs(data.months),data.years=mathAbs(data.years),this},proto$2.add=function(input,value){return addSubtract$1(this,input,value,1)},proto$2.subtract=function(input,value){return addSubtract$1(this,input,value,-1)},proto$2.as=function(units){if(!this.isValid())return NaN;var days,months,milliseconds=this._milliseconds;if("month"===(units=normalizeUnits(units))||"quarter"===units||"year"===units)switch(days=this._days+milliseconds/864e5,months=this._months+daysToMonths(days),units){case"month":return months;case"quarter":return months/3;case"year":return months/12}else switch(days=this._days+Math.round(monthsToDays(this._months)),units){case"week":return days/7+milliseconds/6048e5;case"day":return days+milliseconds/864e5;case"hour":return 24*days+milliseconds/36e5;case"minute":return 1440*days+milliseconds/6e4;case"second":return 86400*days+milliseconds/1e3;case"millisecond":return Math.floor(864e5*days)+milliseconds;default:throw new Error("Unknown unit "+units)}},proto$2.asMilliseconds=asMilliseconds,proto$2.asSeconds=asSeconds,proto$2.asMinutes=asMinutes,proto$2.asHours=asHours,proto$2.asDays=asDays,proto$2.asWeeks=asWeeks,proto$2.asMonths=asMonths,proto$2.asQuarters=asQuarters,proto$2.asYears=asYears,proto$2.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*toInt(this._months/12):NaN},proto$2._bubble=function(){var seconds,minutes,hours,years,monthsFromDays,milliseconds=this._milliseconds,days=this._days,months=this._months,data=this._data;return milliseconds>=0&&days>=0&&months>=0||milliseconds<=0&&days<=0&&months<=0||(milliseconds+=864e5*absCeil(monthsToDays(months)+days),days=0,months=0),data.milliseconds=milliseconds%1e3,seconds=absFloor(milliseconds/1e3),data.seconds=seconds%60,minutes=absFloor(seconds/60),data.minutes=minutes%60,hours=absFloor(minutes/60),data.hours=hours%24,days+=absFloor(hours/24),monthsFromDays=absFloor(daysToMonths(days)),months+=monthsFromDays,days-=absCeil(monthsToDays(monthsFromDays)),years=absFloor(months/12),months%=12,data.days=days,data.months=months,data.years=years,this},proto$2.clone=function(){return createDuration(this)},proto$2.get=function(units){return units=normalizeUnits(units),this.isValid()?this[units+"s"]():NaN},proto$2.milliseconds=milliseconds,proto$2.seconds=seconds,proto$2.minutes=minutes,proto$2.hours=hours,proto$2.days=days,proto$2.weeks=function(){return absFloor(this.days()/7)},proto$2.months=months,proto$2.years=years,proto$2.humanize=function(withSuffix){if(!this.isValid())return this.localeData().invalidDate();var locale=this.localeData(),output=function(posNegDuration,withoutSuffix,locale){var duration=createDuration(posNegDuration).abs(),seconds=round(duration.as("s")),minutes=round(duration.as("m")),hours=round(duration.as("h")),days=round(duration.as("d")),months=round(duration.as("M")),years=round(duration.as("y")),a=seconds<=thresholds.ss&&["s",seconds]||seconds<thresholds.s&&["ss",seconds]||minutes<=1&&["m"]||minutes<thresholds.m&&["mm",minutes]||hours<=1&&["h"]||hours<thresholds.h&&["hh",hours]||days<=1&&["d"]||days<thresholds.d&&["dd",days]||months<=1&&["M"]||months<thresholds.M&&["MM",months]||years<=1&&["y"]||["yy",years];return a[2]=withoutSuffix,a[3]=+posNegDuration>0,a[4]=locale,substituteTimeAgo.apply(null,a)}(this,!withSuffix,locale);return withSuffix&&(output=locale.pastFuture(+this,output)),locale.postformat(output)},proto$2.toISOString=toISOString$1,proto$2.toString=toISOString$1,proto$2.toJSON=toISOString$1,proto$2.locale=locale,proto$2.localeData=localeData,proto$2.toIsoString=deprecate("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",toISOString$1),proto$2.lang=lang,addFormatToken("X",0,0,"unix"),addFormatToken("x",0,0,"valueOf"),addRegexToken("x",matchSigned),addRegexToken("X",/[+-]?\d+(\.\d{1,3})?/),addParseToken("X",(function(input,array,config){config._d=new Date(1e3*parseFloat(input,10))})),addParseToken("x",(function(input,array,config){config._d=new Date(toInt(input))})),hooks.version="2.24.0",hookCallback=createLocal,hooks.fn=proto,hooks.min=function(){return pickBy("isBefore",[].slice.call(arguments,0))},hooks.max=function(){return pickBy("isAfter",[].slice.call(arguments,0))},hooks.now=function(){return Date.now?Date.now():+new Date},hooks.utc=createUTC,hooks.unix=function(input){return createLocal(1e3*input)},hooks.months=function(format,index){return listMonthsImpl(format,index,"months")},hooks.isDate=isDate,hooks.locale=getSetGlobalLocale,hooks.invalid=createInvalid,hooks.duration=createDuration,hooks.isMoment=isMoment,hooks.weekdays=function(localeSorted,format,index){return listWeekdaysImpl(localeSorted,format,index,"weekdays")},hooks.parseZone=function(){return createLocal.apply(null,arguments).parseZone()},hooks.localeData=getLocale,hooks.isDuration=isDuration,hooks.monthsShort=function(format,index){return listMonthsImpl(format,index,"monthsShort")},hooks.weekdaysMin=function(localeSorted,format,index){return listWeekdaysImpl(localeSorted,format,index,"weekdaysMin")},hooks.defineLocale=defineLocale,hooks.updateLocale=function(name,config){if(null!=config){var locale,tmpLocale,parentConfig=baseConfig;null!=(tmpLocale=loadLocale(name))&&(parentConfig=tmpLocale._config),config=mergeConfigs(parentConfig,config),(locale=new Locale(config)).parentLocale=locales[name],locales[name]=locale,getSetGlobalLocale(name)}else null!=locales[name]&&(null!=locales[name].parentLocale?locales[name]=locales[name].parentLocale:null!=locales[name]&&delete locales[name]);return locales[name]},hooks.locales=function(){return keys(locales)},hooks.weekdaysShort=function(localeSorted,format,index){return listWeekdaysImpl(localeSorted,format,index,"weekdaysShort")},hooks.normalizeUnits=normalizeUnits,hooks.relativeTimeRounding=function(roundingFunction){return void 0===roundingFunction?round:"function"==typeof roundingFunction&&(round=roundingFunction,!0)},hooks.relativeTimeThreshold=function(threshold,limit){return void 0!==thresholds[threshold]&&(void 0===limit?thresholds[threshold]:(thresholds[threshold]=limit,"s"===threshold&&(thresholds.ss=limit-1),!0))},hooks.calendarFormat=function(myMoment,now){var diff=myMoment.diff(now,"days",!0);return diff<-6?"sameElse":diff<-1?"lastWeek":diff<0?"lastDay":diff<1?"sameDay":diff<2?"nextDay":diff<7?"nextWeek":"sameElse"},hooks.prototype=proto,hooks.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"},hooks}()}).call(this,__webpack_require__(118)(module))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return get_column_type})),__webpack_require__.d(__webpack_exports__,"a",(function(){return bindall}));__webpack_require__(15);function get_column_type(val){return val>=1&&val<=8?"integer":19===val?"string":10===val||9===val?"float":11===val?"boolean":12===val?"datetime":13===val?"date":void console.warn(`Unknown type for value ${val} with JS type ${typeof val}`)}function bindall(self){let obj=self;do{for(const key of Object.getOwnPropertyNames(obj)){const value=self[key];"constructor"!==key&&"function"==typeof value&&(self[key]=value.bind(self))}}while(obj=obj!==Object&&Object.getPrototypeOf(obj))}__webpack_require__(122);String.prototype.includes||(String.prototype.includes=function(search,start){return"number"!=typeof start&&(start=0),!(start+search.length>this.length)&&-1!==this.indexOf(search,start)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(searchElement,fromIndex){if(null==this)throw new TypeError('"this" is null or not defined');var o=Object(this),len=o.length>>>0;if(0===len)return!1;var x,y,n=0|fromIndex,k=Math.max(n>=0?n:len-Math.abs(n),0);for(;k<len;){if((x=o[k])===(y=searchElement)||"number"==typeof x&&"number"==typeof y&&isNaN(x)&&isNaN(y))return!0;k++}return!1}})},function(module,exports,__webpack_require__){var isObject=__webpack_require__(8);module.exports=function(it){if(!isObject(it))throw TypeError(String(it)+" is not an object");return it}},function(module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(argument){return isNaN(argument=+argument)?0:(argument>0?floor:ceil)(argument)}},function(module,exports,__webpack_require__){var global=__webpack_require__(1),DOMIterables=__webpack_require__(111),ArrayIteratorMethods=__webpack_require__(112),createNonEnumerableProperty=__webpack_require__(5),wellKnownSymbol=__webpack_require__(2),ITERATOR=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=ArrayIteratorMethods.values;for(var COLLECTION_NAME in DOMIterables){var Collection=global[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(CollectionPrototype[TO_STRING_TAG]||createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),DOMIterables[COLLECTION_NAME])for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}}},function(module,exports,__webpack_require__){(function(global){__webpack_require__(15);const DEFAULT_CONFIG=__webpack_require__(116).default,get_config_file=__webpack_require__(117).default;function isObject(item){return item&&"object"==typeof item&&!Array.isArray(item)}function mergeDeep(target,...sources){if(!sources.length)return target;const source=sources.shift();if(isObject(target)&&isObject(source))for(const key in source)isObject(source[key])?(target[key]||Object.assign(target,{[key]:{}}),mergeDeep(target[key],source[key])):Object.assign(target,{[key]:source[key]});return mergeDeep(target,...sources)}module.exports.get_types=function(){return Object.keys(module.exports.get_config().types)},module.exports.get_type_config=function(type){const config={};if(module.exports.get_config().types[type]&&Object.assign(config,module.exports.get_config().types[type]),config.type){const props=module.exports.get_type_config(config.type);return Object.assign(props,config),props}return config},global.__PERSPECTIVE_CONFIG__=void 0,module.exports.override_config=function(config){global.__PERSPECTIVE_CONFIG__&&console.warn("Config already initialized!"),global.__PERSPECTIVE_CONFIG__=mergeDeep(DEFAULT_CONFIG,config)},module.exports.get_config=function(){return global.__PERSPECTIVE_CONFIG__||(global.__PERSPECTIVE_CONFIG__=mergeDeep(DEFAULT_CONFIG,"undefined"==typeof window?get_config_file():{types:{float:{filter_operator:"==",aggregate:"sum",format:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2}},string:{filter_operator:"==",aggregate:"count"},integer:{filter_operator:"==",aggregate:"sum",format:{}},boolean:{filter_operator:"==",aggregate:"count"},datetime:{filter_operator:"==",aggregate:"count",format:{week:"numeric",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},null_value:-1},date:{filter_operator:"==",aggregate:"count",format:{week:"numeric",year:"numeric",month:"numeric",day:"numeric"},null_value:-1}}}||{})),global.__PERSPECTIVE_CONFIG__}}).call(this,__webpack_require__(23))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return is_valid_date})),__webpack_require__.d(__webpack_exports__,"a",(function(){return DateParser}));__webpack_require__(15);var moment__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(11),moment__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__);const DATE_PARSE_CANDIDATES=[moment__WEBPACK_IMPORTED_MODULE_1___default.a.ISO_8601,moment__WEBPACK_IMPORTED_MODULE_1___default.a.RFC_2822,"YYYY-MM-DD\\DHH:mm:ss.SSSS","MM-DD-YYYY","MM/DD/YYYY","M/D/YYYY","M/D/YY","DD MMM YYYY","HH:mm:ss.SSS"];function is_valid_date(x){return moment__WEBPACK_IMPORTED_MODULE_1___default()(x,DATE_PARSE_CANDIDATES,!0).isValid()}class DateParser{constructor(){this.date_types=[],this.date_candidates=DATE_PARSE_CANDIDATES.slice(),this.date_exclusions=[]}parse(input){if(this.date_exclusions.indexOf(input)>-1)return null;{let val=input;const type=typeof val;if(val.getMonth)return val;if("string"===type){if(val=moment__WEBPACK_IMPORTED_MODULE_1___default()(input,this.date_types,!0),!val.isValid()||0===this.date_types.length){for(let candidate of this.date_candidates)if(val=moment__WEBPACK_IMPORTED_MODULE_1___default()(input,candidate,!0),val.isValid())return this.date_types.push(candidate),this.date_candidates.splice(this.date_candidates.indexOf(candidate),1),val.toDate();return this.date_exclusions.push(input),null}return val.toDate()}if("number"===type)return new Date(val);throw new Error(`Unparseable date ${val}`)}}}},function(module,exports,__webpack_require__){var global=__webpack_require__(1),createNonEnumerableProperty=__webpack_require__(5),has=__webpack_require__(4),setGlobal=__webpack_require__(34),inspectSource=__webpack_require__(55),InternalStateModule=__webpack_require__(28),getInternalState=InternalStateModule.get,enforceInternalState=InternalStateModule.enforce,TEMPLATE=String(String).split("String");(module.exports=function(O,key,value,options){var unsafe=!!options&&!!options.unsafe,simple=!!options&&!!options.enumerable,noTargetGet=!!options&&!!options.noTargetGet;"function"==typeof value&&("string"!=typeof key||has(value,"name")||createNonEnumerableProperty(value,"name",key),enforceInternalState(value).source=TEMPLATE.join("string"==typeof key?key:"")),O!==global?(unsafe?!noTargetGet&&O[key]&&(simple=!0):delete O[key],simple?O[key]=value:createNonEnumerableProperty(O,key,value)):simple?O[key]=value:setGlobal(key,value)})(Function.prototype,"toString",(function(){return"function"==typeof this&&getInternalState(this).source||inspectSource(this)}))},function(module,exports,__webpack_require__){var requireObjectCoercible=__webpack_require__(27);module.exports=function(argument){return Object(requireObjectCoercible(argument))}},function(module,exports,__webpack_require__){var anObject=__webpack_require__(13),aPossiblePrototype=__webpack_require__(92);module.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var setter,CORRECT_SETTER=!1,test={};try{(setter=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(test,[]),CORRECT_SETTER=test instanceof Array}catch(error){}return function(O,proto){return anObject(O),aPossiblePrototype(proto),CORRECT_SETTER?setter.call(O,proto):O.__proto__=proto,O}}():void 0)},function(module,exports){module.exports={}},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;
2/* @license
3Papa Parse
4v5.2.0
5https://github.com/mholt/PapaParse
6License: MIT
7*/__WEBPACK_AMD_DEFINE_ARRAY__=[],void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=function s(){"use strict";var f="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==f?f:{},n=!f.document&&!!f.postMessage,o=n&&/blob:/i.test((f.location||{}).protocol),a={},h=0,b={parse:function(e,t){var i=(t=t||{}).dynamicTyping||!1;if(U(i)&&(t.dynamicTypingFunction=i,i={}),t.dynamicTyping=i,t.transform=!!U(t.transform)&&t.transform,t.worker&&b.WORKERS_SUPPORTED){var r=function(){if(!b.WORKERS_SUPPORTED)return!1;var i,r,e=(i=f.URL||f.webkitURL||null,r=s.toString(),b.BLOB_URL||(b.BLOB_URL=i.createObjectURL(new Blob(["(",r,")();"],{type:"text/javascript"})))),t=new f.Worker(e);return t.onmessage=_,t.id=h++,a[t.id]=t}();return r.userStep=t.step,r.userChunk=t.chunk,r.userComplete=t.complete,r.userError=t.error,t.step=U(t.step),t.chunk=U(t.chunk),t.complete=U(t.complete),t.error=U(t.error),delete t.worker,void r.postMessage({input:e,config:t,workerId:r.id})}var n=null;return b.NODE_STREAM_INPUT,"string"==typeof e?n=t.download?new l(t):new p(t):!0===e.readable&&U(e.read)&&U(e.on)?n=new g(t):(f.File&&e instanceof File||e instanceof Object)&&(n=new c(t)),n.stream(e)},unparse:function(e,t){var n=!1,_=!0,m=",",v="\r\n",s='"',a=s+s,i=!1,r=null;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||b.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(m=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(i=t.skipEmptyLines),"string"==typeof t.newline&&(v=t.newline),"string"==typeof t.quoteChar&&(s=t.quoteChar),"boolean"==typeof t.header&&(_=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");r=t.columns}void 0!==t.escapeChar&&(a=t.escapeChar+s)}}();var o=new RegExp(q(s),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return u(null,e,i);if("object"==typeof e[0])return u(r||h(e[0]),e,i)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:h(e.data[0])),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),u(e.fields||[],e.data||[],i);throw new Error("Unable to serialize unrecognized input");function h(e){if("object"!=typeof e)return[];var t=[];for(var i in e)t.push(i);return t}function u(e,t,i){var r="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var n=Array.isArray(e)&&0<e.length,s=!Array.isArray(t[0]);if(n&&_){for(var a=0;a<e.length;a++)0<a&&(r+=m),r+=y(e[a],a);0<t.length&&(r+=v)}for(var o=0;o<t.length;o++){var h=n?e.length:t[o].length,u=!1,f=n?0===Object.keys(t[o]).length:0===t[o].length;if(i&&!n&&(u="greedy"===i?""===t[o].join("").trim():1===t[o].length&&0===t[o][0].length),"greedy"===i&&n){for(var d=[],l=0;l<h;l++){var c=s?e[l]:l;d.push(t[o][c])}u=""===d.join("").trim()}if(!u){for(var p=0;p<h;p++){0<p&&!f&&(r+=m);var g=n&&s?e[p]:p;r+=y(t[o][g],p)}o<t.length-1&&(!i||0<h&&!f)&&(r+=v)}}return r}function y(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var i=e.toString().replace(o,a);return"boolean"==typeof n&&n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var i=0;i<t.length;i++)if(-1<e.indexOf(t[i]))return!0;return!1}(i,b.BAD_DELIMITERS)||-1<i.indexOf(m)||" "===i.charAt(0)||" "===i.charAt(i.length-1)?s+i+s:i}}};if(b.RECORD_SEP=String.fromCharCode(30),b.UNIT_SEP=String.fromCharCode(31),b.BYTE_ORDER_MARK="\ufeff",b.BAD_DELIMITERS=["\r","\n",'"',b.BYTE_ORDER_MARK],b.WORKERS_SUPPORTED=!n&&!!f.Worker,b.NODE_STREAM_INPUT=1,b.LocalChunkSize=10485760,b.RemoteChunkSize=5242880,b.DefaultDelimiter=",",b.Parser=w,b.ParserHandle=i,b.NetworkStreamer=l,b.FileStreamer=c,b.StringStreamer=p,b.ReadableStreamStreamer=g,f.jQuery){var d=f.jQuery;d.fn.parse=function(o){var i=o.config||{},h=[];return this.each((function(e){if("INPUT"!==d(this).prop("tagName").toUpperCase()||"file"!==d(this).attr("type").toLowerCase()||!f.FileReader||!this.files||0===this.files.length)return!0;for(var t=0;t<this.files.length;t++)h.push({file:this.files[t],inputElem:this,instanceConfig:d.extend({},i)})})),e(),this;function e(){if(0!==h.length){var t,i,r,n=h[0];if(U(o.before)){var s=o.before(n.file,n.inputElem);if("object"==typeof s){if("abort"===s.action)return t=n.file,i=n.inputElem,r=s.reason,void(U(o.error)&&o.error({name:"AbortError"},t,i,r));if("skip"===s.action)return void u();"object"==typeof s.config&&(n.instanceConfig=d.extend(n.instanceConfig,s.config))}else if("skip"===s)return void u()}var a=n.instanceConfig.complete;n.instanceConfig.complete=function(e){U(a)&&a(e,n.file,n.inputElem),u()},b.parse(n.file,n.instanceConfig)}else U(o.complete)&&o.complete()}function u(){h.splice(0,1),e()}}}function u(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=E(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new i(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,t){if(this.isFirstChunk&&U(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(e);void 0!==i&&(e=i)}this.isFirstChunk=!1,this._halted=!1;var r=this._partialLine+e;this._partialLine="";var n=this._handle.parse(r,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var s=n.meta.cursor;this._finished||(this._partialLine=r.substring(s-this._baseIndex),this._baseIndex=s),n&&n.data&&(this._rowCount+=n.data.length);var a=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(o)f.postMessage({results:n,workerId:b.WORKER_ID,finished:a});else if(U(this._config.chunk)&&!t){if(this._config.chunk(n,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);n=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),this._completed||!a||!U(this._config.complete)||n&&n.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),a||n&&n.meta.paused||this._nextChunk(),n}this._halted=!0},this._sendError=function(e){U(this._config.error)?this._config.error(e):o&&this._config.error&&f.postMessage({workerId:b.WORKER_ID,error:e,finished:!1})}}function l(e){var r;(e=e||{}).chunkSize||(e.chunkSize=b.RemoteChunkSize),u.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),n||(r.onload=y(this._chunkLoaded,this),r.onerror=y(this._chunkError,this)),r.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var t in e)r.setRequestHeader(t,e[t])}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+i)}try{r.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===r.status&&this._chunkError()}},this._chunkLoaded=function(){4===r.readyState&&(r.status<200||400<=r.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:r.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(r),this.parseChunk(r.responseText)))},this._chunkError=function(e){var t=r.statusText||e;this._sendError(new Error(t))}}function c(e){var r,n;(e=e||{}).chunkSize||(e.chunkSize=b.LocalChunkSize),u.call(this,e);var s="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,s?((r=new FileReader).onload=y(this._chunkLoaded,this),r.onerror=y(this._chunkError,this)):r=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var t=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,t)}var i=r.readAsText(e,this._config.encoding);s||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(r.error)}}function p(e){var i;u.call(this,e=e||{}),this.stream=function(e){return i=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,t=this._config.chunkSize;return t?(e=i.substring(0,t),i=i.substring(t)):(e=i,i=""),this._finished=!i,this.parseChunk(e)}}}function g(e){u.call(this,e=e||{});var t=[],i=!0,r=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):i=!0},this._streamData=y((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=y((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=y((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=y((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function i(m){var a,o,h,r=Math.pow(2,53),n=-r,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)(e[-+]?\d+)?\s*$/,u=/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,t=this,i=0,f=0,d=!1,e=!1,l=[],c={data:[],errors:[],meta:{}};if(U(m.step)){var p=m.step;m.step=function(e){if(c=e,_())g();else{if(g(),0===c.data.length)return;i+=e.data.length,m.preview&&i>m.preview?o.abort():(c.data=c.data[0],p(c,t))}}}function v(e){return"greedy"===m.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function g(){if(c&&h&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+b.DefaultDelimiter+"'"),h=!1),m.skipEmptyLines)for(var e=0;e<c.data.length;e++)v(c.data[e])&&c.data.splice(e--,1);return _()&&function(){if(c)if(Array.isArray(c.data[0])){for(var t=0;_()&&t<c.data.length;t++)c.data[t].forEach(e);c.data.splice(0,1)}else c.data.forEach(e);function e(e){U(m.transformHeader)&&(e=m.transformHeader(e)),l.push(e)}}(),function(){if(!c||!m.header&&!m.dynamicTyping&&!m.transform)return c;function e(e,t){var i,r=m.header?{}:[];for(i=0;i<e.length;i++){var n=i,s=e[i];m.header&&(n=i>=l.length?"__parsed_extra":l[i]),m.transform&&(s=m.transform(s,n)),s=y(n,s),"__parsed_extra"===n?(r[n]=r[n]||[],r[n].push(s)):r[n]=s}return m.header&&(i>l.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+l.length+" fields but parsed "+i,f+t):i<l.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+l.length+" fields but parsed "+i,f+t)),r}var t=1;return!c.data.length||Array.isArray(c.data[0])?(c.data=c.data.map(e),t=c.data.length):c.data=e(c.data,0),m.header&&c.meta&&(c.meta.fields=l),f+=t,c}()}function _(){return m.header&&0===l.length}function y(e,t){return i=e,m.dynamicTypingFunction&&void 0===m.dynamicTyping[i]&&(m.dynamicTyping[i]=m.dynamicTypingFunction(i)),!0===(m.dynamicTyping[i]||m.dynamicTyping)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&(function(e){if(s.test(e)){var t=parseFloat(e);if(n<t&&t<r)return!0}return!1}(t)?parseFloat(t):u.test(t)?new Date(t):""===t?null:t):t;var i}function k(e,t,i,r){var n={type:e,code:t,message:i};void 0!==r&&(n.row=r),c.errors.push(n)}this.parse=function(e,t,i){var r=m.quoteChar||'"';if(m.newline||(m.newline=function(e,t){e=e.substring(0,1048576);var i=new RegExp(q(t)+"([^]*?)"+q(t),"gm"),r=(e=e.replace(i,"")).split("\r"),n=e.split("\n"),s=1<n.length&&n[0].length<r[0].length;if(1===r.length||s)return"\n";for(var a=0,o=0;o<r.length;o++)"\n"===r[o][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(e,r)),h=!1,m.delimiter)U(m.delimiter)&&(m.delimiter=m.delimiter(e),c.meta.delimiter=m.delimiter);else{var n=function(e,t,i,r,n){var s,a,o,h;n=n||[",","\t","|",";",b.RECORD_SEP,b.UNIT_SEP];for(var u=0;u<n.length;u++){var f=n[u],d=0,l=0,c=0;o=void 0;for(var p=new w({comments:r,delimiter:f,newline:t,preview:10}).parse(e),g=0;g<p.data.length;g++)if(i&&v(p.data[g]))c++;else{var _=p.data[g].length;l+=_,void 0!==o?0<_&&(d+=Math.abs(_-o),o=_):o=_}0<p.data.length&&(l/=p.data.length-c),(void 0===a||d<=a)&&(void 0===h||h<l)&&1.99<l&&(a=d,s=f,h=l)}return{successful:!!(m.delimiter=s),bestDelimiter:s}}(e,m.newline,m.skipEmptyLines,m.comments,m.delimitersToGuess);n.successful?m.delimiter=n.bestDelimiter:(h=!0,m.delimiter=b.DefaultDelimiter),c.meta.delimiter=m.delimiter}var s=E(m);return m.preview&&m.header&&s.preview++,a=e,o=new w(s),c=o.parse(a,t,i),g(),d?{meta:{paused:!0}}:c||{meta:{paused:!1}}},this.paused=function(){return d},this.pause=function(){d=!0,o.abort(),a=U(m.chunk)?"":a.substring(o.getCharIndex())},this.resume=function(){t.streamer._halted?(d=!1,t.streamer.parseChunk(a,!0)):setTimeout(t.resume,3)},this.aborted=function(){return e},this.abort=function(){e=!0,o.abort(),c.meta.aborted=!0,U(m.complete)&&m.complete(c),a=""}}function q(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function w(e){var O,D=(e=e||{}).delimiter,I=e.newline,T=e.comments,A=e.step,L=e.preview,F=e.fastMode,z=O=void 0===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(z=e.escapeChar),("string"!=typeof D||-1<b.BAD_DELIMITERS.indexOf(D))&&(D=","),T===D)throw new Error("Comment character same as delimiter");!0===T?T="#":("string"!=typeof T||-1<b.BAD_DELIMITERS.indexOf(T))&&(T=!1),"\n"!==I&&"\r"!==I&&"\r\n"!==I&&(I="\n");var M=0,j=!1;this.parse=function(a,t,i){if("string"!=typeof a)throw new Error("Input must be a string");var r=a.length,e=D.length,n=I.length,s=T.length,o=U(A),h=[],u=[],f=[],d=M=0;if(!a)return R();if(F||!1!==F&&-1===a.indexOf(O)){for(var l=a.split(I),c=0;c<l.length;c++){if(f=l[c],M+=f.length,c!==l.length-1)M+=I.length;else if(i)return R();if(!T||f.substring(0,s)!==T){if(o){if(h=[],b(f.split(D)),S(),j)return R()}else b(f.split(D));if(L&&L<=c)return h=h.slice(0,L),R(!0)}}return R()}for(var p=a.indexOf(D,M),g=a.indexOf(I,M),_=new RegExp(q(z)+q(O),"g"),m=a.indexOf(O,M);;)if(a[M]!==O)if(T&&0===f.length&&a.substring(M,M+s)===T){if(-1===g)return R();M=g+n,g=a.indexOf(I,M),p=a.indexOf(D,M)}else{if(-1!==p&&(p<g||-1===g)){if(!(p<m)){f.push(a.substring(M,p)),M=p+e,p=a.indexOf(D,M);continue}var v=x(p,m,g);if(v&&void 0!==v.nextDelim){p=v.nextDelim,m=v.quoteSearch,f.push(a.substring(M,p)),M=p+e,p=a.indexOf(D,M);continue}}if(-1===g)break;if(f.push(a.substring(M,g)),C(g+n),o&&(S(),j))return R();if(L&&h.length>=L)return R(!0)}else for(m=M,M++;;){if(-1===(m=a.indexOf(O,m+1)))return i||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:h.length,index:M}),E();if(m===r-1)return E(a.substring(M,m).replace(_,O));if(O!==z||a[m+1]!==z){if(O===z||0===m||a[m-1]!==z){-1!==p&&p<m+1&&(p=a.indexOf(D,m+1)),-1!==g&&g<m+1&&(g=a.indexOf(I,m+1));var y=w(-1===g?p:Math.min(p,g));if(a[m+1+y]===D){f.push(a.substring(M,m).replace(_,O)),a[M=m+1+y+e]!==O&&(m=a.indexOf(O,M)),p=a.indexOf(D,M),g=a.indexOf(I,M);break}var k=w(g);if(a.substring(m+1+k,m+1+k+n)===I){if(f.push(a.substring(M,m).replace(_,O)),C(m+1+k+n),p=a.indexOf(D,M),m=a.indexOf(O,M),o&&(S(),j))return R();if(L&&h.length>=L)return R(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:h.length,index:M}),m++}}else m++}return E();function b(e){h.push(e),d=M}function w(e){var t=0;if(-1!==e){var i=a.substring(m+1,e);i&&""===i.trim()&&(t=i.length)}return t}function E(e){return i||(void 0===e&&(e=a.substring(M)),f.push(e),M=r,b(f),o&&S()),R()}function C(e){M=e,b(f),f=[],g=a.indexOf(I,M)}function R(e){return{data:h,errors:u,meta:{delimiter:D,linebreak:I,aborted:j,truncated:!!e,cursor:d+(t||0)}}}function S(){A(R()),h=[],u=[]}function x(e,t,i){var r={nextDelim:void 0,quoteSearch:void 0},n=a.indexOf(O,t+1);if(t<e&&e<n&&(n<i||-1===i)){var s=a.indexOf(D,n);if(-1===s)return r;n<s&&(n=a.indexOf(O,n+1)),r=x(s,n,i)}else r={nextDelim:e,quoteSearch:t};return r}},this.abort=function(){j=!0},this.getCharIndex=function(){return M}}function _(e){var t=e.data,i=a[t.workerId],r=!1;if(t.error)i.userError(t.error,t.file);else if(t.results&&t.results.data){var n={abort:function(){r=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(U(i.userStep)){for(var s=0;s<t.results.data.length&&(i.userStep({data:t.results.data[s],errors:t.results.errors,meta:t.results.meta},n),!r);s++);delete t.results}else U(i.userChunk)&&(i.userChunk(t.results,n,t.file),delete t.results)}t.finished&&!r&&m(t.workerId,t.results)}function m(e,t){var i=a[e];U(i.userComplete)&&i.userComplete(t),i.terminate(),delete a[e]}function v(){throw new Error("Not implemented.")}function E(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var i in e)t[i]=E(e[i]);return t}function y(e,t){return function(){e.apply(t,arguments)}}function U(e){return"function"==typeof e}return o&&(f.onmessage=function(e){var t=e.data;if(void 0===b.WORKER_ID&&t&&(b.WORKER_ID=t.workerId),"string"==typeof t.input)f.postMessage({workerId:b.WORKER_ID,results:b.parse(t.input,t.config),finished:!0});else if(f.File&&t.input instanceof File||t.input instanceof Object){var i=b.parse(t.input,t.config);i&&f.postMessage({workerId:b.WORKER_ID,results:i,finished:!0})}}),(l.prototype=Object.create(u.prototype)).constructor=l,(c.prototype=Object.create(u.prototype)).constructor=c,(p.prototype=Object.create(p.prototype)).constructor=p,(g.prototype=Object.create(u.prototype)).constructor=g,b})?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(module,exports){var g;g=function(){return this}();try{g=g||new Function("return this")()}catch(e){"object"==typeof window&&(g=window)}module.exports=g},function(module,exports){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value:value}}},function(module,exports,__webpack_require__){var IndexedObject=__webpack_require__(52),requireObjectCoercible=__webpack_require__(27);module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports){module.exports=function(it){if(null==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports,__webpack_require__){var set,get,has,NATIVE_WEAK_MAP=__webpack_require__(73),global=__webpack_require__(1),isObject=__webpack_require__(8),createNonEnumerableProperty=__webpack_require__(5),objectHas=__webpack_require__(4),sharedKey=__webpack_require__(35),hiddenKeys=__webpack_require__(38),WeakMap=global.WeakMap;if(NATIVE_WEAK_MAP){var store=new WeakMap,wmget=store.get,wmhas=store.has,wmset=store.set;set=function(it,metadata){return wmset.call(store,it,metadata),metadata},get=function(it){return wmget.call(store,it)||{}},has=function(it){return wmhas.call(store,it)}}else{var STATE=sharedKey("state");hiddenKeys[STATE]=!0,set=function(it,metadata){return createNonEnumerableProperty(it,STATE,metadata),metadata},get=function(it){return objectHas(it,STATE)?it[STATE]:{}},has=function(it){return objectHas(it,STATE)}}module.exports={set:set,get:get,has:has,enforce:function(it){return has(it)?get(it):set(it,{})},getterFor:function(TYPE){return function(it){var state;if(!isObject(it)||(state=get(it)).type!==TYPE)throw TypeError("Incompatible receiver, "+TYPE+" required");return state}}}},function(module,exports,__webpack_require__){var has=__webpack_require__(4),toObject=__webpack_require__(19),sharedKey=__webpack_require__(35),CORRECT_PROTOTYPE_GETTER=__webpack_require__(91),IE_PROTO=sharedKey("IE_PROTO"),ObjectPrototype=Object.prototype;module.exports=CORRECT_PROTOTYPE_GETTER?Object.getPrototypeOf:function(O){return O=toObject(O),has(O,IE_PROTO)?O[IE_PROTO]:"function"==typeof O.constructor&&O instanceof O.constructor?O.constructor.prototype:O instanceof Object?ObjectPrototype:null}},function(module,__webpack_exports__,__webpack_require__){"use strict";var papaparse__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(22),papaparse__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(papaparse__WEBPACK_IMPORTED_MODULE_0__);const jsonFormatter={initDataValue:()=>[],initRowValue:()=>({}),initColumnValue:(data,row,colName)=>row[colName]=[],setColumnValue:(data,row,colName,value)=>row[colName]=value,addColumnValue:(data,row,colName,value)=>row[colName].unshift(value),addRow:(data,row)=>data.push(row),formatData:data=>data,slice:(data,start)=>data.slice(start)},csvFormatter=Object.assign({},jsonFormatter,{addColumnValue:(data,row,colName,value)=>row[colName.split("|").join(",")].unshift(value),setColumnValue:(data,row,colName,value)=>row[colName.split("|").join(",")]=value,formatData:(data,config)=>papaparse__WEBPACK_IMPORTED_MODULE_0___default.a.unparse(data,config)}),jsonTableFormatter={initDataValue:()=>new Object,initRowValue:()=>{},setColumnValue:(data,row,colName,value)=>{data[colName]=data[colName]||[],data[colName].push(value)},addColumnValue:(data,row,colName,value)=>{data[colName]=data[colName]||[],data[colName][data[colName].length-1].unshift(value)},initColumnValue:(data,row,colName)=>{data[colName]=data[colName]||[],data[colName].push([])},addRow:()=>{},formatData:data=>data,slice:(data,start)=>{let new_data={};for(let x in data)new_data[x]=data[x].slice(start);return new_data}};__webpack_exports__.a={jsonFormatter:jsonFormatter,jsonTableFormatter:jsonTableFormatter,csvFormatter:csvFormatter}},function(module,exports,__webpack_require__){var global=__webpack_require__(1),getOwnPropertyDescriptor=__webpack_require__(32).f,createNonEnumerableProperty=__webpack_require__(5),redefine=__webpack_require__(18),setGlobal=__webpack_require__(34),copyConstructorProperties=__webpack_require__(74),isForced=__webpack_require__(79);module.exports=function(options,source){var target,key,targetProperty,sourceProperty,descriptor,TARGET=options.target,GLOBAL=options.global,STATIC=options.stat;if(target=GLOBAL?global:STATIC?global[TARGET]||setGlobal(TARGET,{}):(global[TARGET]||{}).prototype)for(key in source){if(sourceProperty=source[key],targetProperty=options.noTargetGet?(descriptor=getOwnPropertyDescriptor(target,key))&&descriptor.value:target[key],!isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced)&&void 0!==targetProperty){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),redefine(target,key,sourceProperty,options)}}},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(7),propertyIsEnumerableModule=__webpack_require__(72),createPropertyDescriptor=__webpack_require__(24),toIndexedObject=__webpack_require__(25),toPrimitive=__webpack_require__(33),has=__webpack_require__(4),IE8_DOM_DEFINE=__webpack_require__(53),nativeGetOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?nativeGetOwnPropertyDescriptor:function(O,P){if(O=toIndexedObject(O),P=toPrimitive(P,!0),IE8_DOM_DEFINE)try{return nativeGetOwnPropertyDescriptor(O,P)}catch(error){}if(has(O,P))return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O,P),O[P])}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(8);module.exports=function(input,PREFERRED_STRING){if(!isObject(input))return input;var fn,val;if(PREFERRED_STRING&&"function"==typeof(fn=input.toString)&&!isObject(val=fn.call(input)))return val;if("function"==typeof(fn=input.valueOf)&&!isObject(val=fn.call(input)))return val;if(!PREFERRED_STRING&&"function"==typeof(fn=input.toString)&&!isObject(val=fn.call(input)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports,__webpack_require__){var global=__webpack_require__(1),createNonEnumerableProperty=__webpack_require__(5);module.exports=function(key,value){try{createNonEnumerableProperty(global,key,value)}catch(error){global[key]=value}return value}},function(module,exports,__webpack_require__){var shared=__webpack_require__(57),uid=__webpack_require__(37),keys=shared("keys");module.exports=function(key){return keys[key]||(keys[key]=uid(key))}},function(module,exports){module.exports=!1},function(module,exports){var id=0,postfix=Math.random();module.exports=function(key){return"Symbol("+String(void 0===key?"":key)+")_"+(++id+postfix).toString(36)}},function(module,exports){module.exports={}},function(module,exports,__webpack_require__){var path=__webpack_require__(76),global=__webpack_require__(1),aFunction=function(variable){return"function"==typeof variable?variable:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(path[namespace])||aFunction(global[namespace]):path[namespace]&&path[namespace][method]||global[namespace]&&global[namespace][method]}},function(module,exports,__webpack_require__){var internalObjectKeys=__webpack_require__(58),hiddenKeys=__webpack_require__(41).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(O){return internalObjectKeys(O,hiddenKeys)}},function(module,exports){module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(module,exports,__webpack_require__){"use strict";var re1,re2,regexpFlags=__webpack_require__(80),stickyHelpers=__webpack_require__(81),nativeExec=RegExp.prototype.exec,nativeReplace=String.prototype.replace,patchedExec=nativeExec,UPDATES_LAST_INDEX_WRONG=(re1=/a/,re2=/b*/g,nativeExec.call(re1,"a"),nativeExec.call(re2,"a"),0!==re1.lastIndex||0!==re2.lastIndex),UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y||stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1];(UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y)&&(patchedExec=function(str){var lastIndex,reCopy,match,i,re=this,sticky=UNSUPPORTED_Y&&re.sticky,flags=regexpFlags.call(re),source=re.source,charsAdded=0,strCopy=str;return sticky&&(-1===(flags=flags.replace("y","")).indexOf("g")&&(flags+="g"),strCopy=String(str).slice(re.lastIndex),re.lastIndex>0&&(!re.multiline||re.multiline&&"\n"!==str[re.lastIndex-1])&&(source="(?: "+source+")",strCopy=" "+strCopy,charsAdded++),reCopy=new RegExp("^(?:"+source+")",flags)),NPCG_INCLUDED&&(reCopy=new RegExp("^"+source+"$(?!\\s)",flags)),UPDATES_LAST_INDEX_WRONG&&(lastIndex=re.lastIndex),match=nativeExec.call(sticky?reCopy:re,strCopy),sticky?match?(match.input=match.input.slice(charsAdded),match[0]=match[0].slice(charsAdded),match.index=re.lastIndex,re.lastIndex+=match[0].length):re.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&match&&(re.lastIndex=re.global?match.index+match[0].length:lastIndex),NPCG_INCLUDED&&match&&match.length>1&&nativeReplace.call(match[0],reCopy,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(match[i]=void 0)})),match}),module.exports=patchedExec},function(module,exports,__webpack_require__){"use strict";var NAME,NATIVE_ARRAY_BUFFER=__webpack_require__(61),DESCRIPTORS=__webpack_require__(7),global=__webpack_require__(1),isObject=__webpack_require__(8),has=__webpack_require__(4),classof=__webpack_require__(44),createNonEnumerableProperty=__webpack_require__(5),redefine=__webpack_require__(18),defineProperty=__webpack_require__(9).f,getPrototypeOf=__webpack_require__(29),setPrototypeOf=__webpack_require__(20),wellKnownSymbol=__webpack_require__(2),uid=__webpack_require__(37),Int8Array=global.Int8Array,Int8ArrayPrototype=Int8Array&&Int8Array.prototype,Uint8ClampedArray=global.Uint8ClampedArray,Uint8ClampedArrayPrototype=Uint8ClampedArray&&Uint8ClampedArray.prototype,TypedArray=Int8Array&&getPrototypeOf(Int8Array),TypedArrayPrototype=Int8ArrayPrototype&&getPrototypeOf(Int8ArrayPrototype),ObjectPrototype=Object.prototype,isPrototypeOf=ObjectPrototype.isPrototypeOf,TO_STRING_TAG=wellKnownSymbol("toStringTag"),TYPED_ARRAY_TAG=uid("TYPED_ARRAY_TAG"),NATIVE_ARRAY_BUFFER_VIEWS=NATIVE_ARRAY_BUFFER&&!!setPrototypeOf&&"Opera"!==classof(global.opera),TYPED_ARRAY_TAG_REQIRED=!1,TypedArrayConstructorsList={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},isTypedArray=function(it){return isObject(it)&&has(TypedArrayConstructorsList,classof(it))};for(NAME in TypedArrayConstructorsList)global[NAME]||(NATIVE_ARRAY_BUFFER_VIEWS=!1);if((!NATIVE_ARRAY_BUFFER_VIEWS||"function"!=typeof TypedArray||TypedArray===Function.prototype)&&(TypedArray=function(){throw TypeError("Incorrect invocation")},NATIVE_ARRAY_BUFFER_VIEWS))for(NAME in TypedArrayConstructorsList)global[NAME]&&setPrototypeOf(global[NAME],TypedArray);if((!NATIVE_ARRAY_BUFFER_VIEWS||!TypedArrayPrototype||TypedArrayPrototype===ObjectPrototype)&&(TypedArrayPrototype=TypedArray.prototype,NATIVE_ARRAY_BUFFER_VIEWS))for(NAME in TypedArrayConstructorsList)global[NAME]&&setPrototypeOf(global[NAME].prototype,TypedArrayPrototype);if(NATIVE_ARRAY_BUFFER_VIEWS&&getPrototypeOf(Uint8ClampedArrayPrototype)!==TypedArrayPrototype&&setPrototypeOf(Uint8ClampedArrayPrototype,TypedArrayPrototype),DESCRIPTORS&&!has(TypedArrayPrototype,TO_STRING_TAG))for(NAME in TYPED_ARRAY_TAG_REQIRED=!0,defineProperty(TypedArrayPrototype,TO_STRING_TAG,{get:function(){return isObject(this)?this[TYPED_ARRAY_TAG]:void 0}}),TypedArrayConstructorsList)global[NAME]&&createNonEnumerableProperty(global[NAME],TYPED_ARRAY_TAG,NAME);module.exports={NATIVE_ARRAY_BUFFER_VIEWS:NATIVE_ARRAY_BUFFER_VIEWS,TYPED_ARRAY_TAG:TYPED_ARRAY_TAG_REQIRED&&TYPED_ARRAY_TAG,aTypedArray:function(it){if(isTypedArray(it))return it;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(C){if(setPrototypeOf){if(isPrototypeOf.call(TypedArray,C))return C}else for(var ARRAY in TypedArrayConstructorsList)if(has(TypedArrayConstructorsList,NAME)){var TypedArrayConstructor=global[ARRAY];if(TypedArrayConstructor&&(C===TypedArrayConstructor||isPrototypeOf.call(TypedArrayConstructor,C)))return C}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(KEY,property,forced){if(DESCRIPTORS){if(forced)for(var ARRAY in TypedArrayConstructorsList){var TypedArrayConstructor=global[ARRAY];TypedArrayConstructor&&has(TypedArrayConstructor.prototype,KEY)&&delete TypedArrayConstructor.prototype[KEY]}TypedArrayPrototype[KEY]&&!forced||redefine(TypedArrayPrototype,KEY,forced?property:NATIVE_ARRAY_BUFFER_VIEWS&&Int8ArrayPrototype[KEY]||property)}},exportTypedArrayStaticMethod:function(KEY,property,forced){var ARRAY,TypedArrayConstructor;if(DESCRIPTORS){if(setPrototypeOf){if(forced)for(ARRAY in TypedArrayConstructorsList)(TypedArrayConstructor=global[ARRAY])&&has(TypedArrayConstructor,KEY)&&delete TypedArrayConstructor[KEY];if(TypedArray[KEY]&&!forced)return;try{return redefine(TypedArray,KEY,forced?property:NATIVE_ARRAY_BUFFER_VIEWS&&Int8Array[KEY]||property)}catch(error){}}for(ARRAY in TypedArrayConstructorsList)!(TypedArrayConstructor=global[ARRAY])||TypedArrayConstructor[KEY]&&!forced||redefine(TypedArrayConstructor,KEY,property)}},isView:function(it){var klass=classof(it);return"DataView"===klass||has(TypedArrayConstructorsList,klass)},isTypedArray:isTypedArray,TypedArray:TypedArray,TypedArrayPrototype:TypedArrayPrototype}},function(module,exports,__webpack_require__){var TO_STRING_TAG_SUPPORT=__webpack_require__(90),classofRaw=__webpack_require__(26),TO_STRING_TAG=__webpack_require__(2)("toStringTag"),CORRECT_ARGUMENTS="Arguments"==classofRaw(function(){return arguments}());module.exports=TO_STRING_TAG_SUPPORT?classofRaw:function(it){var O,tag,result;return void 0===it?"Undefined":null===it?"Null":"string"==typeof(tag=function(it,key){try{return it[key]}catch(error){}}(O=Object(it),TO_STRING_TAG))?tag:CORRECT_ARGUMENTS?classofRaw(O):"Object"==(result=classofRaw(O))&&"function"==typeof O.callee?"Arguments":result}},function(module,exports,__webpack_require__){var defineProperty=__webpack_require__(9).f,has=__webpack_require__(4),TO_STRING_TAG=__webpack_require__(2)("toStringTag");module.exports=function(it,TAG,STATIC){it&&!has(it=STATIC?it:it.prototype,TO_STRING_TAG)&&defineProperty(it,TO_STRING_TAG,{configurable:!0,value:TAG})}},function(module,exports,__webpack_require__){var activeXDocument,anObject=__webpack_require__(13),defineProperties=__webpack_require__(99),enumBugKeys=__webpack_require__(41),hiddenKeys=__webpack_require__(38),html=__webpack_require__(101),documentCreateElement=__webpack_require__(54),sharedKey=__webpack_require__(35),IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return"<script>"+content+"<\/script>"},NullProtoObject=function(){try{activeXDocument=document.domain&&new ActiveXObject("htmlfile")}catch(error){}var iframeDocument,iframe;NullProtoObject=activeXDocument?function(activeXDocument){activeXDocument.write(scriptTag("")),activeXDocument.close();var temp=activeXDocument.parentWindow.Object;return activeXDocument=null,temp}(activeXDocument):((iframe=documentCreateElement("iframe")).style.display="none",html.appendChild(iframe),iframe.src=String("javascript:"),(iframeDocument=iframe.contentWindow.document).open(),iframeDocument.write(scriptTag("document.F=Object")),iframeDocument.close(),iframeDocument.F);for(var length=enumBugKeys.length;length--;)delete NullProtoObject.prototype[enumBugKeys[length]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0,module.exports=Object.create||function(O,Properties){var result;return null!==O?(EmptyConstructor.prototype=anObject(O),result=new EmptyConstructor,EmptyConstructor.prototype=null,result[IE_PROTO]=O):result=NullProtoObject(),void 0===Properties?result:defineProperties(result,Properties)}},function(module,__webpack_exports__,__webpack_require__){"use strict";(function(__filename,process,__dirname){var _scriptDir,load_perspective=(_scriptDir=(_scriptDir="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0)||__filename,function(load_perspective){var e;load_perspective=load_perspective||{},e||(e=void 0!==load_perspective?load_perspective:{});var q,aa={};for(q in e)e.hasOwnProperty(q)&&(aa[q]=e[q]);var ba=[],ca="./this.program";function da(a,b){throw b}var ea=!1,u=!1,fa=!1,ha=!1;ea="object"==typeof window,u="function"==typeof importScripts,fa="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,ha=!ea&&!fa&&!u;var ia,ja,ka,la,x="";fa?(x=u?__webpack_require__(51).dirname(x)+"/":__dirname+"/",ia=function(a,b){return ka||(ka=__webpack_require__(68)),la||(la=__webpack_require__(51)),a=la.normalize(a),ka.readFileSync(a,b?null:"utf8")},ja=function(a){return(a=ia(a,!0)).buffer||(a=new Uint8Array(a)),assert(a.buffer),a},1<process.argv.length&&(ca=process.argv[1].replace(/\\/g,"/")),ba=process.argv.slice(2),process.on("uncaughtException",(function(a){if(!(a instanceof ma))throw a})),process.on("unhandledRejection",na),da=function(a){process.exit(a)},e.inspect=function(){return"[Emscripten Module object]"}):ha?("undefined"!=typeof read&&(ia=function(a){return read(a)}),ja=function(a){return"function"==typeof readbuffer?new Uint8Array(readbuffer(a)):(assert("object"==typeof(a=read(a,"binary"))),a)},"undefined"!=typeof scriptArgs?ba=scriptArgs:void 0!==arguments&&(ba=arguments),"function"==typeof quit&&(da=function(a){quit(a)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(ea||u)&&(u?x=self.location.href:document.currentScript&&(x=document.currentScript.src),_scriptDir&&(x=_scriptDir),x=0!==x.indexOf("blob:")?x.substr(0,x.lastIndexOf("/")+1):"",ia=function(a){var b=new XMLHttpRequest;return b.open("GET",a,!1),b.send(null),b.responseText},u&&(ja=function(a){var b=new XMLHttpRequest;return b.open("GET",a,!1),b.responseType="arraybuffer",b.send(null),new Uint8Array(b.response)}));var pa,noExitRuntime,oa=e.print||console.log.bind(console),y=e.printErr||console.warn.bind(console);for(q in aa)aa.hasOwnProperty(q)&&(e[q]=aa[q]);aa=null,e.arguments&&(ba=e.arguments),e.thisProgram&&(ca=e.thisProgram),e.quit&&(da=e.quit),e.wasmBinary&&(pa=e.wasmBinary),e.noExitRuntime&&(noExitRuntime=e.noExitRuntime),"object"!=typeof WebAssembly&&y("no native wasm support detected");var A,qa=new WebAssembly.Table({initial:2325,maximum:2325,element:"anyfunc"}),ra=!1;function assert(a,b){a||na("Assertion failed: "+b)}var sa="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function ta(a,b,c){var d=(b>>>=0)+c;for(c=b;a[c>>>0]&&!(c>=d);)++c;if(16<c-b&&a.subarray&&sa)return sa.decode(a.subarray(b>>>0,c>>>0));for(d="";b<c;){var f=a[b++>>>0];if(128&f){var g=63&a[b++>>>0];if(192==(224&f))d+=String.fromCharCode((31&f)<<6|g);else{var l=63&a[b++>>>0];65536>(f=224==(240&f)?(15&f)<<12|g<<6|l:(7&f)<<18|g<<12|l<<6|63&a[b++>>>0])?d+=String.fromCharCode(f):(f-=65536,d+=String.fromCharCode(55296|f>>10,56320|1023&f))}}else d+=String.fromCharCode(f)}return d}function ua(a){return(a>>>=0)?ta(B,a,void 0):""}function va(a,b,c,d){if(c>>>=0,0<d){d=c+d-1;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g&&(g=65536+((1023&g)<<10)|1023&a.charCodeAt(++f)),127>=g){if(c>=d)break;b[c++>>>0]=g}else{if(2047>=g){if(c+1>=d)break;b[c++>>>0]=192|g>>6}else{if(65535>=g){if(c+2>=d)break;b[c++>>>0]=224|g>>12}else{if(c+3>=d)break;b[c++>>>0]=240|g>>18,b[c++>>>0]=128|g>>12&63}b[c++>>>0]=128|g>>6&63}b[c++>>>0]=128|63&g}}b[c>>>0]=0}}function wa(a){for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((1023&d)<<10)|1023&a.charCodeAt(++c)),127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}return b}var F,E,B,C,Ia,D,G,Ja,Ka,xa="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function ya(a){var b;for(b=a>>1;C[b>>>0];)++b;if(32<(b<<=1)-a&&xa)return xa.decode(B.subarray(a>>>0,b>>>0));b=0;for(var c="";;){var d=C[a+2*b>>1>>>0];if(0==d)return c;++b,c+=String.fromCharCode(d)}}function za(a,b,c){if(void 0===c&&(c=2147483647),2>c)return 0;var d=b;c=(c-=2)<2*a.length?c/2:a.length;for(var f=0;f<c;++f)C[b>>1>>>0]=a.charCodeAt(f),b+=2;return C[b>>1>>>0]=0,b-d}function Aa(a){return 2*a.length}function Ba(a){for(var b=0,c="";;){var d=D[a+4*b>>2>>>0];if(0==d)return c;++b,65536<=d?(d-=65536,c+=String.fromCharCode(55296|d>>10,56320|1023&d)):c+=String.fromCharCode(d)}}function Ca(a,b,c){if(void 0===c&&(c=2147483647),4>c)return 0;var d=b>>>=0;c=d+c-4;for(var f=0;f<a.length;++f){var g=a.charCodeAt(f);if(55296<=g&&57343>=g&&(g=65536+((1023&g)<<10)|1023&a.charCodeAt(++f)),D[b>>2>>>0]=g,(b+=4)+4>c)break}return D[b>>2>>>0]=0,b-d}function Da(a){for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);55296<=d&&57343>=d&&++c,b+=4}return b}function Ea(a){var b=wa(a)+1,c=Fa(b);return c&&va(a,E,c,b),c}function Ga(a){var b=wa(a)+1,c=Ha(b);return va(a,E,c,b),c}function La(a){F=a,e.HEAP8=E=new Int8Array(a),e.HEAP16=C=new Int16Array(a),e.HEAP32=D=new Int32Array(a),e.HEAPU8=B=new Uint8Array(a),e.HEAPU16=Ia=new Uint16Array(a),e.HEAPU32=G=new Uint32Array(a),e.HEAPF32=Ja=new Float32Array(a),e.HEAPF64=Ka=new Float64Array(a)}var Ma=e.INITIAL_MEMORY||16777216;function Na(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b(e);else{var c=b.S;"number"==typeof c?void 0===b.F?e.dynCall_v(c):e.dynCall_vi(c,b.F):c(void 0===b.F?null:b.F)}}}(A=e.wasmMemory?e.wasmMemory:new WebAssembly.Memory({initial:Ma/65536}))&&(F=A.buffer),Ma=F.byteLength,La(F),D[26944]=5350816;var Oa=[],Pa=[],Qa=[],Ra=[],Sa=[];function Ta(){var a=e.preRun.shift();Oa.unshift(a)}var H=0,Ua=null,Va=null;function na(a){throw e.onAbort&&e.onAbort(a),oa(a),y(a),ra=!0,new WebAssembly.RuntimeError("abort("+a+"). Build with -s ASSERTIONS=1 for more info.")}function Wa(a){var b=I;return String.prototype.startsWith?b.startsWith(a):0===b.indexOf(a)}function Xa(){return Wa("data:application/octet-stream;base64,")}e.preloadedImages={},e.preloadedAudios={};var I="psp.async.wasm";if(!Xa()){var Ya=I;I=e.locateFile?e.locateFile(Ya,x):x+Ya}function Za(){try{if(pa)return new Uint8Array(pa);if(ja)return ja(I);throw"both async and sync fetching of the wasm failed"}catch(a){na(a)}}function $a(){return pa||!ea&&!u||"function"!=typeof fetch||Wa("file://")?new Promise((function(a){a(Za())})):fetch(I,{credentials:"same-origin"}).then((function(a){if(!a.ok)throw"failed to load wasm binary file at '"+I+"'";return a.arrayBuffer()})).catch((function(){return Za()}))}var ab={57428:function(){if("undefined"!=typeof self)try{if(self.dispatchEvent&&!self.D&&null!==self.document){self.D=!0;var a=self.document.createEvent("Event");a.initEvent("perspective-ready",!1,!0),self.dispatchEvent(a)}else!self.document&&self.postMessage&&self.postMessage({})}catch(b){}},58959:function(){throw Error("abort()")}};function cb(){return 0<cb.D}function db(a){D[eb()>>2>>>0]=a}Pa.push({S:function(){bb()}});var fb={},gb=[null,[],[]],hb={},ib={};function jb(a){for(;a.length;){var b=a.pop();a.pop()(b)}}function kb(a){return this.fromWireType(G[a>>>2])}var J={},L={},lb={};function mb(a){if(void 0===a)return"_unknown";var b=(a=a.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=b&&57>=b?"_"+a:a}function nb(a,b){return a=mb(a),new Function("body","return function "+a+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(b)}function ob(a){var b=Error,c=nb(a,(function(d){this.name=a,this.message=d,void 0!==(d=Error(d).stack)&&(this.stack=this.toString()+"\n"+d.replace(/^Error(:[^\n]*)?\n/,""))}));return c.prototype=Object.create(b.prototype),c.prototype.constructor=c,c.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},c}var pb=void 0;function qb(a){throw new pb(a)}function M(a,b,c){function d(k){(k=c(k)).length!==a.length&&qb("Mismatched type converter count");for(var n=0;n<a.length;++n)N(a[n],k[n])}a.forEach((function(k){lb[k]=b}));var f=Array(b.length),g=[],l=0;b.forEach((function(k,n){L.hasOwnProperty(k)?f[n]=L[k]:(g.push(k),J.hasOwnProperty(k)||(J[k]=[]),J[k].push((function(){f[n]=L[k],++l===g.length&&d(f)})))})),0===g.length&&d(f)}function rb(a){switch(a){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+a)}}var sb=void 0;function O(a){for(var b="";B[a>>>0];)b+=sb[B[a++>>>0]];return b}var P=void 0;function R(a){throw new P(a)}function N(a,b,c){if(c=c||{},!("argPackAdvance"in b))throw new TypeError("registerType registeredInstance requires argPackAdvance");var d=b.name;if(a||R('type "'+d+'" must have a positive integer typeid pointer'),L.hasOwnProperty(a)){if(c.da)return;R("Cannot register type '"+d+"' twice")}L[a]=b,delete lb[a],J.hasOwnProperty(a)&&(b=J[a],delete J[a],b.forEach((function(f){f()})))}function tb(a){return{count:a.count,u:a.u,A:a.A,c:a.c,f:a.f,i:a.i,l:a.l}}function ub(a){R(a.a.f.b.name+" instance already deleted")}var vb=!1;function wb(){}function xb(a){--a.count.value,0===a.count.value&&(a.i?a.l.o(a.i):a.f.b.o(a.c))}function yb(a){return"undefined"==typeof FinalizationGroup?(yb=function(b){return b},a):(vb=new FinalizationGroup((function(b){for(var c=b.next();!c.done;c=b.next())(c=c.value).c?xb(c):console.warn("object already deleted: "+c.c)})),wb=function(b){vb.unregister(b.a)},(yb=function(b){return vb.register(b,b.a,b.a),b})(a))}var zb=void 0,Ab=[];function Bb(){for(;Ab.length;){var a=Ab.pop();a.a.u=!1,a.delete()}}function S(){}var Cb={};function Db(a,b,c){if(void 0===a[b].g){var d=a[b];a[b]=function(){return a[b].g.hasOwnProperty(arguments.length)||R("Function '"+c+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+a[b].g+")!"),a[b].g[arguments.length].apply(this,arguments)},a[b].g=[],a[b].g[d.G]=d}}function Eb(a,b,c){e.hasOwnProperty(a)?((void 0===c||void 0!==e[a].g&&void 0!==e[a].g[c])&&R("Cannot register public name '"+a+"' twice"),Db(e,a,a),e.hasOwnProperty(c)&&R("Cannot register multiple overloads of a function with the same number of arguments ("+c+")!"),e[a].g[c]=b):(e[a]=b,void 0!==c&&(e[a].ua=c))}function Fb(a,b,c,d,f,g,l,k){this.name=a,this.constructor=b,this.v=c,this.o=d,this.m=f,this.Y=g,this.C=l,this.W=k,this.ia=[]}function Gb(a,b,c){for(;b!==c;)b.C||R("Expected null or instance of "+c.name+", got an instance of "+b.name),a=b.C(a),b=b.m;return a}function Hb(a,b){return null===b?(this.M&&R("null is not a valid "+this.name),0):(b.a||R('Cannot pass "'+T(b)+'" as a '+this.name),b.a.c||R("Cannot pass deleted object as a pointer of type "+this.name),Gb(b.a.c,b.a.f.b,this.b))}function Ib(a,b){if(null===b){if(this.M&&R("null is not a valid "+this.name),this.I){var c=this.N();return null!==a&&a.push(this.o,c),c}return 0}if(b.a||R('Cannot pass "'+T(b)+'" as a '+this.name),b.a.c||R("Cannot pass deleted object as a pointer of type "+this.name),!this.H&&b.a.f.H&&R("Cannot convert argument of type "+(b.a.l?b.a.l.name:b.a.f.name)+" to parameter type "+this.name),c=Gb(b.a.c,b.a.f.b,this.b),this.I)switch(void 0===b.a.i&&R("Passing raw pointer to smart pointer is illegal"),this.na){case 0:b.a.l===this?c=b.a.i:R("Cannot convert argument of type "+(b.a.l?b.a.l.name:b.a.f.name)+" to parameter type "+this.name);break;case 1:c=b.a.i;break;case 2:if(b.a.l===this)c=b.a.i;else{var d=b.clone();c=this.ja(c,U((function(){d.delete()}))),null!==a&&a.push(this.o,c)}break;default:R("Unsupporting sharing policy")}return c}function Jb(a,b){return null===b?(this.M&&R("null is not a valid "+this.name),0):(b.a||R('Cannot pass "'+T(b)+'" as a '+this.name),b.a.c||R("Cannot pass deleted object as a pointer of type "+this.name),b.a.f.H&&R("Cannot convert argument of type "+b.a.f.name+" to parameter type "+this.name),Gb(b.a.c,b.a.f.b,this.b))}function Kb(a,b,c){return b===c?a:void 0===c.m?null:null===(a=Kb(a,b,c.m))?null:c.W(a)}var Lb={};function Mb(a,b){for(void 0===b&&R("ptr should not be undefined");a.m;)b=a.C(b),a=a.m;return Lb[b]}function Nb(a,b){return b.f&&b.c||qb("makeClassHandle requires ptr and ptrType"),!!b.l!=!!b.i&&qb("Both smartPtrType and smartPtr must be specified"),b.count={value:1},yb(Object.create(a,{a:{value:b}}))}function V(a,b,c,d,f,g,l,k,n,m,p){this.name=a,this.b=b,this.M=c,this.H=d,this.I=f,this.ha=g,this.na=l,this.T=k,this.N=n,this.ja=m,this.o=p,f||void 0!==b.m?this.toWireType=Ib:(this.toWireType=d?Hb:Jb,this.j=null)}function Ob(a,b,c){e.hasOwnProperty(a)||qb("Replacing nonexistant public symbol"),void 0!==e[a].g&&void 0!==c?e[a].g[c]=b:(e[a]=b,e[a].G=c)}function W(a,b){a=O(a);for(var c=e["dynCall_"+a],d=[],f=1;f<a.length;++f)d.push("a"+f);return f="return function dynCall_"+a+"_"+b+"("+d.join(", ")+") {\n",f+=" return dynCall(rawFunction"+(d.length?", ":"")+d.join(", ")+");\n","function"!=typeof(c=new Function("dynCall","rawFunction",f+"};\n")(c,b))&&R("unknown function pointer with signature "+a+": "+b),c}var Pb=void 0;function Qb(a){var b=O(a=Rb(a));return X(a),b}function Sb(a,b){var d=[],f={};throw b.forEach((function c(g){f[g]||L[g]||(lb[g]?lb[g].forEach(c):(d.push(g),f[g]=!0))})),new Pb(a+": "+d.map(Qb).join([", "]))}function Tb(a,b){for(var c=[],d=0;d<a;d++)c.push(D[(b>>2)+d>>>0]);return c}function Ub(a){var b=Function;if(!(b instanceof Function))throw new TypeError("new_ called with constructor type "+typeof b+" which is not a function");var c=nb(b.name||"unknownFunctionName",(function(){}));return c.prototype=b.prototype,c=new c,(a=b.apply(c,a))instanceof Object?a:c}function Vb(a,b,c,d,f){var g=b.length;2>g&&R("argTypes array size mismatch! Must at least get return value and 'this' types!");var l=null!==b[1]&&null!==c,k=!1;for(c=1;c<b.length;++c)if(null!==b[c]&&void 0===b[c].j){k=!0;break}var n="void"!==b[0].name,m="",p="";for(c=0;c<g-2;++c)m+=(0!==c?", ":"")+"arg"+c,p+=(0!==c?", ":"")+"arg"+c+"Wired";a="return function "+mb(a)+"("+m+") {\nif (arguments.length !== "+(g-2)+") {\nthrowBindingError('function "+a+" called with ' + arguments.length + ' arguments, expected "+(g-2)+" args!');\n}\n",k&&(a+="var destructors = [];\n");var t=k?"destructors":"null";for(m="throwBindingError invoker fn runDestructors retType classParam".split(" "),d=[R,d,f,jb,b[0],b[1]],l&&(a+="var thisWired = classParam.toWireType("+t+", this);\n"),c=0;c<g-2;++c)a+="var arg"+c+"Wired = argType"+c+".toWireType("+t+", arg"+c+"); // "+b[c+2].name+"\n",m.push("argType"+c),d.push(b[c+2]);if(l&&(p="thisWired"+(0<p.length?", ":"")+p),a+=(n?"var rv = ":"")+"invoker(fn"+(0<p.length?", ":"")+p+");\n",k)a+="runDestructors(destructors);\n";else for(c=l?1:2;c<b.length;++c)g=1===c?"thisWired":"arg"+(c-2)+"Wired",null!==b[c].j&&(a+=g+"_dtor("+g+"); // "+b[c].name+"\n",m.push(g+"_dtor"),d.push(b[c].j));return n&&(a+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),m.push(a+"}\n"),Ub(m).apply(null,d)}var Wb=[],Y=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function Xb(a){4<a&&0==--Y[a].O&&(Y[a]=void 0,Wb.push(a))}function U(a){switch(a){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var b=Wb.length?Wb.pop():Y.length;return Y[b]={O:1,value:a},b}}function Yb(a,b,c){switch(b){case 0:return function(d){return this.fromWireType((c?E:B)[d>>>0])};case 1:return function(d){return this.fromWireType((c?C:Ia)[d>>>1])};case 2:return function(d){return this.fromWireType((c?D:G)[d>>>2])};default:throw new TypeError("Unknown integer type: "+a)}}function Zb(a,b){var c=L[a];return void 0===c&&R(b+" has unknown type "+Qb(a)),c}function T(a){if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a}function $b(a,b){switch(b){case 2:return function(c){return this.fromWireType(Ja[c>>>2])};case 3:return function(c){return this.fromWireType(Ka[c>>>3])};default:throw new TypeError("Unknown float type: "+a)}}function ac(a,b,c){switch(b){case 0:return c?function(d){return E[d>>>0]}:function(d){return B[d>>>0]};case 1:return c?function(d){return C[d>>>1]}:function(d){return Ia[d>>>1]};case 2:return c?function(d){return D[d>>>2]}:function(d){return G[d>>>2]};default:throw new TypeError("Unknown integer type: "+a)}}function Z(a){return a||R("Cannot use deleted val. handle = "+a),Y[a].value}function bc(a,b){for(var c=Array(a),d=0;d<a;++d)c[d]=Zb(D[(b>>2)+d>>>0],"parameter "+d);return c}var cc={};function dc(a){var b=cc[a];return void 0===b?O(a):b}var ec=[];function ic(){return"object"==typeof globalThis?globalThis:Function("return this")()}function jc(a){var b=ec.length;return ec.push(a),b}var lc,kc={};lc=fa?function(){var a=process.hrtime();return 1e3*a[0]+a[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};var oc,qc,mc={};function nc(){if(!oc){var b,a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ca||"./this.program"};for(b in mc)a[b]=mc[b];var c=[];for(b in a)c.push(b+"="+a[b]);oc=c}return oc}function pc(){function a(g){return(g=g.toTimeString().match(/\(([A-Za-z ]+)\)$/))?g[1]:"GMT"}if(!qc){qc=!0,D[rc()>>2>>>0]=60*(new Date).getTimezoneOffset();var b=(new Date).getFullYear(),c=new Date(b,0,1);b=new Date(b,6,1),D[sc()>>2>>>0]=Number(c.getTimezoneOffset()!=b.getTimezoneOffset());var d=a(c),f=a(b);d=Ea(d),f=Ea(f),b.getTimezoneOffset()<c.getTimezoneOffset()?(D[tc()>>2>>>0]=d,D[tc()+4>>2>>>0]=f):(D[tc()>>2>>>0]=f,D[tc()+4>>2>>>0]=d)}}function uc(a){return 0==a%4&&(0!=a%100||0==a%400)}function vc(a,b){for(var c=0,d=0;d<=b;c+=a[d++]);return c}va("GMT",B,107840,4);var Bc,wc=[31,29,31,30,31,30,31,31,30,31,30,31],xc=[31,28,31,30,31,30,31,31,30,31,30,31];function yc(a,b){for(a=new Date(a.getTime());0<b;){var c=a.getMonth(),d=(uc(a.getFullYear())?wc:xc)[c];if(!(b>d-a.getDate())){a.setDate(a.getDate()+b);break}b-=d-a.getDate()+1,a.setDate(1),11>c?a.setMonth(c+1):(a.setMonth(0),a.setFullYear(a.getFullYear()+1))}return a}function zc(a,b,c,d){function f(h,r,w){for(h="number"==typeof h?h.toString():h||"";h.length<r;)h=w[0]+h;return h}function g(h,r){return f(h,r,"0")}function l(h,r){function w(Q){return 0>Q?-1:0<Q?1:0}var z;return 0===(z=w(h.getFullYear()-r.getFullYear()))&&0===(z=w(h.getMonth()-r.getMonth()))&&(z=w(h.getDate()-r.getDate())),z}function k(h){switch(h.getDay()){case 0:return new Date(h.getFullYear()-1,11,29);case 1:return h;case 2:return new Date(h.getFullYear(),0,3);case 3:return new Date(h.getFullYear(),0,2);case 4:return new Date(h.getFullYear(),0,1);case 5:return new Date(h.getFullYear()-1,11,31);case 6:return new Date(h.getFullYear()-1,11,30)}}function n(h){h=yc(new Date(h.h+1900,0,1),h.L);var r=new Date(h.getFullYear()+1,0,4),w=k(new Date(h.getFullYear(),0,4));return r=k(r),0>=l(w,h)?0>=l(r,h)?h.getFullYear()+1:h.getFullYear():h.getFullYear()-1}var m=D[d+40>>2>>>0];for(var p in d={qa:D[d>>2>>>0],pa:D[d+4>>2>>>0],J:D[d+8>>2>>>0],B:D[d+12>>2>>>0],w:D[d+16>>2>>>0],h:D[d+20>>2>>>0],K:D[d+24>>2>>>0],L:D[d+28>>2>>>0],wa:D[d+32>>2>>>0],oa:D[d+36>>2>>>0],ra:m?ua(m):""},c=ua(c),m={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})c=c.replace(new RegExp(p,"g"),m[p]);var t="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),v="January February March April May June July August September October November December".split(" ");for(p in m={"%a":function(h){return t[h.K].substring(0,3)},"%A":function(h){return t[h.K]},"%b":function(h){return v[h.w].substring(0,3)},"%B":function(h){return v[h.w]},"%C":function(h){return g((h.h+1900)/100|0,2)},"%d":function(h){return g(h.B,2)},"%e":function(h){return f(h.B,2," ")},"%g":function(h){return n(h).toString().substring(2)},"%G":function(h){return n(h)},"%H":function(h){return g(h.J,2)},"%I":function(h){return 0==(h=h.J)?h=12:12<h&&(h-=12),g(h,2)},"%j":function(h){return g(h.B+vc(uc(h.h+1900)?wc:xc,h.w-1),3)},"%m":function(h){return g(h.w+1,2)},"%M":function(h){return g(h.pa,2)},"%n":function(){return"\n"},"%p":function(h){return 0<=h.J&&12>h.J?"AM":"PM"},"%S":function(h){return g(h.qa,2)},"%t":function(){return"\t"},"%u":function(h){return h.K||7},"%U":function(h){var r=new Date(h.h+1900,0,1),w=0===r.getDay()?r:yc(r,7-r.getDay());return 0>l(w,h=new Date(h.h+1900,h.w,h.B))?g(Math.ceil((31-w.getDate()+(vc(uc(h.getFullYear())?wc:xc,h.getMonth()-1)-31)+h.getDate())/7),2):0===l(w,r)?"01":"00"},"%V":function(h){var r=new Date(h.h+1901,0,4),w=k(new Date(h.h+1900,0,4));r=k(r);var z=yc(new Date(h.h+1900,0,1),h.L);return 0>l(z,w)?"53":0>=l(r,z)?"01":g(Math.ceil((w.getFullYear()<h.h+1900?h.L+32-w.getDate():h.L+1-w.getDate())/7),2)},"%w":function(h){return h.K},"%W":function(h){var r=new Date(h.h,0,1),w=1===r.getDay()?r:yc(r,0===r.getDay()?1:7-r.getDay()+1);return 0>l(w,h=new Date(h.h+1900,h.w,h.B))?g(Math.ceil((31-w.getDate()+(vc(uc(h.getFullYear())?wc:xc,h.getMonth()-1)-31)+h.getDate())/7),2):0===l(w,r)?"01":"00"},"%y":function(h){return(h.h+1900).toString().substring(2)},"%Y":function(h){return h.h+1900},"%z":function(h){var r=0<=(h=h.oa);return h=Math.abs(h)/60,(r?"+":"-")+String("0000"+(h/60*100+h%60)).slice(-4)},"%Z":function(h){return h.ra},"%%":function(){return"%"}})0<=c.indexOf(p)&&(c=c.replace(new RegExp(p,"g"),m[p](d)));return(p=Ac(c)).length>b?0:(E.set(p,a>>>0),p.length-1)}pb=e.InternalError=ob("InternalError");for(var Cc=Array(256),Dc=0;256>Dc;++Dc)Cc[Dc]=String.fromCharCode(Dc);function Ac(a){var b=Array(wa(a)+1);return va(a,b,0,b.length),b}sb=Cc,P=e.BindingError=ob("BindingError"),S.prototype.isAliasOf=function(a){if(!(this instanceof S&&a instanceof S))return!1;var b=this.a.f.b,c=this.a.c,d=a.a.f.b;for(a=a.a.c;b.m;)c=b.C(c),b=b.m;for(;d.m;)a=d.C(a),d=d.m;return b===d&&c===a},S.prototype.clone=function(){if(this.a.c||ub(this),this.a.A)return this.a.count.value+=1,this;var a=yb(Object.create(Object.getPrototypeOf(this),{a:{value:tb(this.a)}}));return a.a.count.value+=1,a.a.u=!1,a},S.prototype.delete=function(){this.a.c||ub(this),this.a.u&&!this.a.A&&R("Object already scheduled for deletion"),wb(this),xb(this.a),this.a.A||(this.a.i=void 0,this.a.c=void 0)},S.prototype.isDeleted=function(){return!this.a.c},S.prototype.deleteLater=function(){return this.a.c||ub(this),this.a.u&&!this.a.A&&R("Object already scheduled for deletion"),Ab.push(this),1===Ab.length&&zb&&zb(Bb),this.a.u=!0,this},V.prototype.Z=function(a){return this.T&&(a=this.T(a)),a},V.prototype.P=function(a){this.o&&this.o(a)},V.prototype.argPackAdvance=8,V.prototype.readValueFromPointer=kb,V.prototype.deleteObject=function(a){null!==a&&a.delete()},V.prototype.fromWireType=function(a){function b(){return this.I?Nb(this.b.v,{f:this.ha,c:c,l:this,i:a}):Nb(this.b.v,{f:this,c:a})}var c=this.Z(a);if(!c)return this.P(a),null;var d=Mb(this.b,c);if(void 0!==d)return 0===d.a.count.value?(d.a.c=c,d.a.i=a,d.clone()):(d=d.clone(),this.P(a),d);if(d=this.b.Y(c),!(d=Cb[d]))return b.call(this);d=this.H?d.V:d.pointerType;var f=Kb(c,this.b,d.b);return null===f?b.call(this):this.I?Nb(d.b.v,{f:d,c:f,l:this,i:a}):Nb(d.b.v,{f:d,c:f})},e.getInheritedInstanceCount=function(){return Object.keys(Lb).length},e.getLiveInheritedInstances=function(){var b,a=[];for(b in Lb)Lb.hasOwnProperty(b)&&a.push(Lb[b]);return a},e.flushPendingDeletes=Bb,e.setDelayFunction=function(a){zb=a,Ab.length&&zb&&zb(Bb)},Pb=e.UnboundTypeError=ob("UnboundTypeError"),e.count_emval_handles=function(){for(var a=0,b=5;b<Y.length;++b)void 0!==Y[b]&&++a;return a},e.get_first_emval=function(){for(var a=5;a<Y.length;++a)if(void 0!==Y[a])return Y[a];return null};var Gc={__cxa_allocate_exception:function(a){return Fa(a)},__cxa_atexit:function(a,b){Ra.unshift({S:a,F:b})},__cxa_throw:function(a){throw"uncaught_exception"in cb?cb.D++:cb.D=1,a},__map_file:function(){return db(63),-1},__sys_ftruncate64:function(){},__sys_ioctl:function(){return 0},__sys_mmap2:function(a,b,c,d,f,g){return g<<=12,0!=(16&d)&&0!=a%16384?b=-28:0!=(32&d)?(a=Ec(16384,b))?(Fc(a,0,b),fb[a>>>=0]={ga:a,fa:b,U:!0,fd:f,va:c,flags:d,offset:g},b=a):b=-48:b=-52,b},__sys_mremap:function(){return-48},__sys_munmap:function(a,b){if(-1==(0|(a>>>=0))||0===b)b=-28;else{var c=fb[a];c&&b===c.fa&&(fb[a]=null,c.U&&X(c.ga)),b=0}return b},__sys_open:function(){},__sys_unlink:function(){},_embind_finalize_value_object:function(a){var b=ib[a];delete ib[a];var c=b.N,d=b.o,f=b.R;M([a],f.map((function(l){return l.ba})).concat(f.map((function(l){return l.la}))),(function(l){var k={};return f.forEach((function(n,m){var p=l[m],t=n.$,v=n.aa,h=l[m+f.length],r=n.ka,w=n.ma;k[n.X]={read:function(z){return p.fromWireType(t(v,z))},write:function(z,Q){var K=[];r(w,z,h.toWireType(K,Q)),jb(K)}}})),[{name:b.name,fromWireType:function(n){var p,m={};for(p in k)m[p]=k[p].read(n);return d(n),m},toWireType:function(n,m){for(var p in k)if(!(p in m))throw new TypeError("Missing field");var t=c();for(p in k)k[p].write(t,m[p]);return null!==n&&n.push(d,t),t},argPackAdvance:8,readValueFromPointer:kb,j:d}]}))},_embind_register_bool:function(a,b,c,d,f){var g=rb(c);N(a,{name:b=O(b),fromWireType:function(l){return!!l},toWireType:function(l,k){return k?d:f},argPackAdvance:8,readValueFromPointer:function(l){if(1===c)var k=E;else if(2===c)k=C;else{if(4!==c)throw new TypeError("Unknown boolean type size: "+b);k=D}return this.fromWireType(k[l>>>g])},j:null})},_embind_register_class:function(a,b,c,d,f,g,l,k,n,m,p,t,v){p=O(p),g=W(f,g),k&&(k=W(l,k)),m&&(m=W(n,m)),v=W(t,v);var h=mb(p);Eb(h,(function(){Sb("Cannot construct "+p+" due to unbound types",[d])})),M([a,b,c],d?[d]:[],(function(r){if(r=r[0],d)var w=r.b,z=w.v;else z=S.prototype;r=nb(h,(function(){if(Object.getPrototypeOf(this)!==Q)throw new P("Use 'new' to construct "+p);if(void 0===K.s)throw new P(p+" has no accessible constructor");var fc=K.s[arguments.length];if(void 0===fc)throw new P("Tried to invoke ctor of "+p+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(K.s).toString()+") parameters instead!");return fc.apply(this,arguments)}));var Q=Object.create(z,{constructor:{value:r}});r.prototype=Q;var K=new Fb(p,r,Q,v,w,g,k,m);w=new V(p,K,!0,!1,!1),z=new V(p+"*",K,!1,!1,!1);var hc=new V(p+" const*",K,!1,!0,!1);return Cb[a]={pointerType:z,V:hc},Ob(h,r),[w,z,hc]}))},_embind_register_class_constructor:function(a,b,c,d,f,g){assert(0<b);var l=Tb(b,c);f=W(d,f);var k=[g],n=[];M([],[a],(function(m){var p="constructor "+(m=m[0]).name;if(void 0===m.b.s&&(m.b.s=[]),void 0!==m.b.s[b-1])throw new P("Cannot register multiple constructors with identical number of parameters ("+(b-1)+") for class '"+m.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return m.b.s[b-1]=function(){Sb("Cannot construct "+m.name+" due to unbound types",l)},M([],l,(function(t){return m.b.s[b-1]=function(){arguments.length!==b-1&&R(p+" called with "+arguments.length+" arguments, expected "+(b-1)),n.length=0,k.length=b;for(var v=1;v<b;++v)k[v]=t[v].toWireType(n,arguments[v-1]);return v=f.apply(null,k),jb(n),t[0].fromWireType(v)},[]})),[]}))},_embind_register_class_function:function(a,b,c,d,f,g,l,k){var n=Tb(c,d);b=O(b),g=W(f,g),M([],[a],(function(m){function p(){Sb("Cannot call "+t+" due to unbound types",n)}var t=(m=m[0]).name+"."+b;k&&m.b.ia.push(b);var v=m.b.v,h=v[b];return void 0===h||void 0===h.g&&h.className!==m.name&&h.G===c-2?(p.G=c-2,p.className=m.name,v[b]=p):(Db(v,b,t),v[b].g[c-2]=p),M([],n,(function(r){return r=Vb(t,r,m,g,l),void 0===v[b].g?(r.G=c-2,v[b]=r):v[b].g[c-2]=r,[]})),[]}))},_embind_register_emval:function(a,b){N(a,{name:b=O(b),fromWireType:function(c){var d=Y[c].value;return Xb(c),d},toWireType:function(c,d){return U(d)},argPackAdvance:8,readValueFromPointer:kb,j:null})},_embind_register_enum:function(a,b,c,d){function f(){}c=rb(c),b=O(b),f.values={},N(a,{name:b,constructor:f,fromWireType:function(g){return this.constructor.values[g]},toWireType:function(g,l){return l.value},argPackAdvance:8,readValueFromPointer:Yb(b,c,d),j:null}),Eb(b,f)},_embind_register_enum_value:function(a,b,c){var d=Zb(a,"enum");b=O(b),a=d.constructor,d=Object.create(d.constructor.prototype,{value:{value:c},constructor:{value:nb(d.name+"_"+b,(function(){}))}}),a.values[c]=d,a[b]=d},_embind_register_float:function(a,b,c){c=rb(c),N(a,{name:b=O(b),fromWireType:function(d){return d},toWireType:function(d,f){if("number"!=typeof f&&"boolean"!=typeof f)throw new TypeError('Cannot convert "'+T(f)+'" to '+this.name);return f},argPackAdvance:8,readValueFromPointer:$b(b,c),j:null})},_embind_register_function:function(a,b,c,d,f,g){var l=Tb(b,c);a=O(a),f=W(d,f),Eb(a,(function(){Sb("Cannot call "+a+" due to unbound types",l)}),b-1),M([],l,(function(k){return k=[k[0],null].concat(k.slice(1)),Ob(a,Vb(a,k,null,f,g),b-1),[]}))},_embind_register_integer:function(a,b,c,d,f){function g(m){return m}b=O(b),-1===f&&(f=4294967295);var l=rb(c);if(0===d){var k=32-8*c;g=function(m){return m<<k>>>k}}var n=-1!=b.indexOf("unsigned");N(a,{name:b,fromWireType:g,toWireType:function(m,p){if("number"!=typeof p&&"boolean"!=typeof p)throw new TypeError('Cannot convert "'+T(p)+'" to '+this.name);if(p<d||p>f)throw new TypeError('Passing a number "'+T(p)+'" from JS side to C/C++ side to an argument of type "'+b+'", which is outside the valid range ['+d+", "+f+"]!");return n?p>>>0:0|p},argPackAdvance:8,readValueFromPointer:ac(b,l,0!==d),j:null})},_embind_register_memory_view:function(a,b,c){function d(g){var l=G;return new f(F,l[1+(g>>=2)>>>0],l[g>>>0])}var f=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];N(a,{name:c=O(c),fromWireType:d,argPackAdvance:8,readValueFromPointer:d},{da:!0})},_embind_register_smart_ptr:function(a,b,c,d,f,g,l,k,n,m,p,t){c=O(c),g=W(f,g),k=W(l,k),m=W(n,m),t=W(p,t),M([a],[b],(function(v){return v=v[0],[new V(c,v.b,!1,!1,!0,v,d,g,k,m,t)]}))},_embind_register_std_string:function(a,b){var c="std::string"===(b=O(b));N(a,{name:b,fromWireType:function(d){var f=G[d>>>2];if(c){var g=B[d+4+f>>>0],l=0;0!=g&&(l=g,B[d+4+f>>>0]=0);var k=d+4;for(g=0;g<=f;++g){var n=d+4+g;if(0==B[n>>>0]){if(k=ua(k),void 0===m)var m=k;else m+=String.fromCharCode(0),m+=k;k=n+1}}0!=l&&(B[d+4+f>>>0]=l)}else{for(m=Array(f),g=0;g<f;++g)m[g]=String.fromCharCode(B[d+4+g>>>0]);m=m.join("")}return X(d),m},toWireType:function(d,f){f instanceof ArrayBuffer&&(f=new Uint8Array(f));var g="string"==typeof f;g||f instanceof Uint8Array||f instanceof Uint8ClampedArray||f instanceof Int8Array||R("Cannot pass non-string to std::string");var l=(c&&g?function(){return wa(f)}:function(){return f.length})(),k=Fa(4+l+1);if(G[(k>>>=0)>>>2]=l,c&&g)va(f,B,k+4,l+1);else if(g)for(g=0;g<l;++g){var n=f.charCodeAt(g);255<n&&(X(k),R("String has UTF-16 code units that do not fit in 8 bits")),B[k+4+g>>>0]=n}else for(g=0;g<l;++g)B[k+4+g>>>0]=f[g];return null!==d&&d.push(X,k),k},argPackAdvance:8,readValueFromPointer:kb,j:function(d){X(d)}})},_embind_register_std_wstring:function(a,b,c){if(c=O(c),2===b)var d=ya,f=za,g=Aa,l=function(){return Ia},k=1;else 4===b&&(d=Ba,f=Ca,g=Da,l=function(){return G},k=2);N(a,{name:c,fromWireType:function(n){var m=G[n>>>2],p=l(),t=p[n+4+m*b>>>k],v=0;0!=t&&(v=t,p[n+4+m*b>>>k]=0);var h=n+4;for(t=0;t<=m;++t){var r=n+4+t*b;if(0==p[r>>>k]){if(h=d(h),void 0===w)var w=h;else w+=String.fromCharCode(0),w+=h;h=r+b}}return 0!=v&&(p[n+4+m*b>>>k]=v),X(n),w},toWireType:function(n,m){"string"!=typeof m&&R("Cannot pass non-string to C++ string type "+c);var p=g(m),t=Fa(4+p+b);return G[(t>>>=0)>>>2]=p>>k,f(m,t+4,p+b),null!==n&&n.push(X,t),t},argPackAdvance:8,readValueFromPointer:kb,j:function(n){X(n)}})},_embind_register_value_object:function(a,b,c,d,f,g){ib[a]={name:O(b),N:W(c,d),o:W(f,g),R:[]}},_embind_register_value_object_field:function(a,b,c,d,f,g,l,k,n,m){ib[a].R.push({X:O(b),ba:c,$:W(d,f),aa:g,la:l,ka:W(k,n),ma:m})},_embind_register_void:function(a,b){N(a,{ea:!0,name:b=O(b),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},_emval_as:function(a,b,c){a=Z(a),b=Zb(b,"emval::as");var d=[],f=U(d);return D[c>>>2]=f,b.toWireType(d,a)},_emval_call:function(a,b,c,d){a=Z(a),c=bc(b,c);for(var f=Array(b),g=0;g<b;++g){var l=c[g];f[g]=l.readValueFromPointer(d),d+=l.argPackAdvance}return U(a=a.apply(void 0,f))},_emval_call_method:function(a,b,c,d,f){a=ec[a],b=Z(b),c=dc(c);var g=[];return D[d>>>2]=U(g),a(b,c,g,f)},_emval_call_void_method:function(a,b,c,d){(a=ec[a])(b=Z(b),c=dc(c),null,d)},_emval_decref:Xb,_emval_get_global:function(a){return 0===a?U(ic()):(a=dc(a),U(ic()[a]))},_emval_get_method_caller:function(a,b){for(var c=(b=bc(a,b))[0],d=c.name+"_$"+b.slice(1).map((function(m){return m.name})).join("_")+"$",f=["retType"],g=[c],l="",k=0;k<a-1;++k)l+=(0!==k?", ":"")+"arg"+k,f.push("argType"+k),g.push(b[1+k]);d="return function "+mb("methodCaller_"+d)+"(handle, name, destructors, args) {\n";var n=0;for(k=0;k<a-1;++k)d+=" var arg"+k+" = argType"+k+".readValueFromPointer(args"+(n?"+"+n:"")+");\n",n+=b[k+1].argPackAdvance;for(d+=" var rv = handle[name]("+l+");\n",k=0;k<a-1;++k)b[k+1].deleteObject&&(d+=" argType"+k+".deleteObject(arg"+k+");\n");return c.ea||(d+=" return retType.toWireType(destructors, rv);\n"),f.push(d+"};\n"),jc(a=Ub(f).apply(null,g))},_emval_get_module_property:function(a){return a=dc(a),U(e[a])},_emval_get_property:function(a,b){return U((a=Z(a))[b=Z(b)])},_emval_incref:function(a){4<a&&(Y[a].O+=1)},_emval_instanceof:function(a,b){return(a=Z(a))instanceof(b=Z(b))},_emval_new:function(a,b,c,d){a=Z(a);var f=kc[b];if(!f){f="";for(var g=0;g<b;++g)f+=(0!==g?", ":"")+"arg"+g;var l="return function emval_allocator_"+b+"(constructor, argTypes, args) {\n";for(g=0;g<b;++g)l+="var argType"+g+" = requireRegisteredType(Module['HEAP32'][(argTypes >>> 2) + "+g+'], "parameter '+g+'");\nvar arg'+g+" = argType"+g+".readValueFromPointer(args);\nargs += argType"+g+"['argPackAdvance'];\n";f=new Function("requireRegisteredType","Module","__emval_register",l+"var obj = new constructor("+f+");\nreturn __emval_register(obj);\n}\n")(Zb,e,U),kc[b]=f}return f(a,c,d)},_emval_new_cstring:function(a){return U(dc(a))},_emval_new_object:function(){return U({})},_emval_run_destructors:function(a){jb(Y[a].value),Xb(a)},_emval_set_property:function(a,b,c){a=Z(a),b=Z(b),c=Z(c),a[b]=c},_emval_take_value:function(a,b){return U(a=(a=Zb(a,"_emval_take_value")).readValueFromPointer(b))},_emval_typeof:function(a){return U(typeof(a=Z(a)))},abort:function(){na()},clock_gettime:function(a,b){if(0===a)a=Date.now();else{if(1!==a&&4!==a)return db(28),-1;a=lc()}return D[b>>2>>>0]=a/1e3|0,D[b+4>>2>>>0]=a%1e3*1e6|0,0},emscripten_asm_const_iii:function(a,b,c){Bc||(Bc=[]);var f,d=Bc;for(d.length=0;f=B[b++>>>0];)100===f||102===f?(c=c+7&-8,d.push(Ka[c>>3>>>0]),c+=8):(c=c+3&-4,d.push(D[c>>2>>>0]),c+=4);return ab[a].apply(null,d)},emscripten_get_sbrk_ptr:function(){return 107776},emscripten_memcpy_big:function(a,b,c){B.copyWithin(a>>>0,b>>>0,b+c>>>0)},emscripten_resize_heap:function(a){a>>>=0;var b=B.length;if(4294901760<a)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,a+100663296),0<(d=Math.max(16777216,a,d))%65536&&(d+=65536-d%65536);a:{try{A.grow(Math.min(4294901760,d)-F.byteLength+65535>>>16),La(A.buffer);var f=1;break a}catch(g){}f=void 0}if(f)return!0}return!1},environ_get:function(a,b){var c=0;return nc().forEach((function(d,f){var g=b+c;for(f=D[a+4*f>>2>>>0]=g,g=0;g<d.length;++g)E[f++>>0>>>0]=d.charCodeAt(g);E[f>>0>>>0]=0,c+=d.length+1})),0},environ_sizes_get:function(a,b){var c=nc();D[a>>2>>>0]=c.length;var d=0;return c.forEach((function(f){d+=f.length+1})),D[b>>2>>>0]=d,0},fd_close:function(){return 0},fd_read:function(a,b,c,d){return a=hb.ta(a),b=hb.sa(a,b,c),D[d>>2>>>0]=b,0},fd_seek:function(){},fd_write:function(a,b,c,d){for(var f=0,g=0;g<c;g++){for(var l=D[b+8*g>>2>>>0],k=D[b+(8*g+4)>>2>>>0],n=0;n<k;n++){var m=B[l+n>>>0],p=gb[a];0===m||10===m?((1===a?oa:y)(ta(p,0)),p.length=0):p.push(m)}f+=k}return D[d>>2>>>0]=f,0},localtime:function(a){pc(),a=new Date(1e3*D[a>>2>>>0]),D[26948]=a.getSeconds(),D[26949]=a.getMinutes(),D[26950]=a.getHours(),D[26951]=a.getDate(),D[26952]=a.getMonth(),D[26953]=a.getFullYear()-1900,D[26954]=a.getDay();var b=new Date(a.getFullYear(),0,1);D[26955]=(a.getTime()-b.getTime())/864e5|0,D[26957]=-60*a.getTimezoneOffset();var c=new Date(a.getFullYear(),6,1).getTimezoneOffset();return a=0|(c!=(b=b.getTimezoneOffset())&&a.getTimezoneOffset()==Math.min(b,c)),D[26956]=a,a=D[tc()+(a?4:0)>>2>>>0],D[26958]=a,107792},memory:A,nanosleep:function(a,b){if(0===a)return db(28),-1;var c=D[a>>2>>>0];if(0>(a=D[a+4>>2>>>0])||999999999<a||0>c)return db(28),-1;for(0!==b&&(D[b>>2>>>0]=0,D[b+4>>2>>>0]=0),b=1e6*c+a/1e3,c=lc();lc()-c<b/1e3;);},setTempRet0:function(){},strftime:zc,strftime_l:function(a,b,c,d){return zc(a,b,c,d)},table:qa},Hc=function(){function a(f){e.asm=f.exports,H--,e.monitorRunDependencies&&e.monitorRunDependencies(H),0==H&&(null!==Ua&&(clearInterval(Ua),Ua=null),Va&&(f=Va,Va=null,f()))}function b(f){a(f.instance)}function c(f){return $a().then((function(g){return WebAssembly.instantiate(g,d)})).then(f,(function(g){y("failed to asynchronously prepare wasm: "+g),na(g)}))}var d={env:Gc,wasi_snapshot_preview1:Gc};if(H++,e.monitorRunDependencies&&e.monitorRunDependencies(H),e.instantiateWasm)try{return e.instantiateWasm(d,a)}catch(f){return y("Module.instantiateWasm callback failed with error: "+f),!1}return function(){if(pa||"function"!=typeof WebAssembly.instantiateStreaming||Xa()||Wa("file://")||"function"!=typeof fetch)return c(b);fetch(I,{credentials:"same-origin"}).then((function(f){return WebAssembly.instantiateStreaming(f,d).then(b,(function(g){y("wasm streaming compile failed: "+g),y("falling back to ArrayBuffer instantiation"),c(b)}))}))}(),{}}();e.asm=Hc;var bb=e.___wasm_call_ctors=function(){return(bb=e.___wasm_call_ctors=e.asm.__wasm_call_ctors).apply(null,arguments)},Fa=e._malloc=function(){return(Fa=e._malloc=e.asm.malloc).apply(null,arguments)},X=e._free=function(){return(X=e._free=e.asm.free).apply(null,arguments)};e._main=function(){return(e._main=e.asm.main).apply(null,arguments)};var Fc=e._memset=function(){return(Fc=e._memset=e.asm.memset).apply(null,arguments)},eb=e.___errno_location=function(){return(eb=e.___errno_location=e.asm.__errno_location).apply(null,arguments)};e._htonl=function(){return(e._htonl=e.asm.htonl).apply(null,arguments)},e._htons=function(){return(e._htons=e.asm.htons).apply(null,arguments)},e._ntohs=function(){return(e._ntohs=e.asm.ntohs).apply(null,arguments)};var tc=e.__get_tzname=function(){return(tc=e.__get_tzname=e.asm._get_tzname).apply(null,arguments)},sc=e.__get_daylight=function(){return(sc=e.__get_daylight=e.asm._get_daylight).apply(null,arguments)},rc=e.__get_timezone=function(){return(rc=e.__get_timezone=e.asm._get_timezone).apply(null,arguments)};e._setThrew=function(){return(e._setThrew=e.asm.setThrew).apply(null,arguments)};var Rb=e.___getTypeName=function(){return(Rb=e.___getTypeName=e.asm.__getTypeName).apply(null,arguments)};e.___embind_register_native_and_builtin_types=function(){return(e.___embind_register_native_and_builtin_types=e.asm.__embind_register_native_and_builtin_types).apply(null,arguments)};var Ec=e._memalign=function(){return(Ec=e._memalign=e.asm.memalign).apply(null,arguments)};e._emscripten_main_thread_process_queued_calls=function(){return(e._emscripten_main_thread_process_queued_calls=e.asm.emscripten_main_thread_process_queued_calls).apply(null,arguments)},e.stackSave=function(){return(e.stackSave=e.asm.stackSave).apply(null,arguments)};var Ic,Ha=e.stackAlloc=function(){return(Ha=e.stackAlloc=e.asm.stackAlloc).apply(null,arguments)};function ma(a){this.name="ExitStatus",this.message="Program terminated with exit("+a+")",this.status=a}function Kc(a){function b(){if(!Ic&&(Ic=!0,e.calledRun=!0,!ra)){if(Na(Pa),Na(Qa),e.onRuntimeInitialized&&e.onRuntimeInitialized(),Lc){var c=a,d=e._main,f=(c=c||[]).length+1,g=Ha(4*(f+1));D[g>>>2]=Ga(ca);for(var l=1;l<f;l++)D[(g>>2)+l>>>0]=Ga(c[l-1]);D[(g>>2)+f>>>0]=0;try{var k=d(f,g);noExitRuntime&&0===k||(!noExitRuntime&&(ra=!0,e.onExit)&&e.onExit(k),da(k,new ma(k)))}catch(n){n instanceof ma||("unwind"==n?noExitRuntime=!0:((c=n)&&"object"==typeof n&&n.stack&&(c=[n,n.stack]),y("exception thrown: "+c),da(1,n)))}}if(e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;)c=e.postRun.shift(),Sa.unshift(c);Na(Sa)}}if(a=a||ba,!(0<H)){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)Ta();Na(Oa),0<H||(e.setStatus?(e.setStatus("Running..."),setTimeout((function(){setTimeout((function(){e.setStatus("")}),1),b()}),1)):b())}}if(e.stackRestore=function(){return(e.stackRestore=e.asm.stackRestore).apply(null,arguments)},e.__growWasmMemory=function(){return(e.__growWasmMemory=e.asm.__growWasmMemory).apply(null,arguments)},e.dynCall_ii=function(){return(e.dynCall_ii=e.asm.dynCall_ii).apply(null,arguments)},e.dynCall_vi=function(){return(e.dynCall_vi=e.asm.dynCall_vi).apply(null,arguments)},e.dynCall_iii=function(){return(e.dynCall_iii=e.asm.dynCall_iii).apply(null,arguments)},e.dynCall_viij=function(){return(e.dynCall_viij=e.asm.dynCall_viij).apply(null,arguments)},e.dynCall_v=function(){return(e.dynCall_v=e.asm.dynCall_v).apply(null,arguments)},e.dynCall_vii=function(){return(e.dynCall_vii=e.asm.dynCall_vii).apply(null,arguments)},e.dynCall_viii=function(){return(e.dynCall_viii=e.asm.dynCall_viii).apply(null,arguments)},e.dynCall_viiji=function(){return(e.dynCall_viiji=e.asm.dynCall_viiji).apply(null,arguments)},e.dynCall_viijji=function(){return(e.dynCall_viijji=e.asm.dynCall_viijji).apply(null,arguments)},e.dynCall_ji=function(){return(e.dynCall_ji=e.asm.dynCall_ji).apply(null,arguments)},e.dynCall_viiiiii=function(){return(e.dynCall_viiiiii=e.asm.dynCall_viiiiii).apply(null,arguments)},e.dynCall_viiii=function(){return(e.dynCall_viiii=e.asm.dynCall_viiii).apply(null,arguments)},e.dynCall_viijj=function(){return(e.dynCall_viijj=e.asm.dynCall_viijj).apply(null,arguments)},e.dynCall_viiij=function(){return(e.dynCall_viiij=e.asm.dynCall_viiij).apply(null,arguments)},e.dynCall_iiiiiii=function(){return(e.dynCall_iiiiiii=e.asm.dynCall_iiiiiii).apply(null,arguments)},e.dynCall_iiiiii=function(){return(e.dynCall_iiiiii=e.asm.dynCall_iiiiii).apply(null,arguments)},e.dynCall_i=function(){return(e.dynCall_i=e.asm.dynCall_i).apply(null,arguments)},e.dynCall_iiii=function(){return(e.dynCall_iiii=e.asm.dynCall_iiii).apply(null,arguments)},e.dynCall_iiiii=function(){return(e.dynCall_iiiii=e.asm.dynCall_iiiii).apply(null,arguments)},e.dynCall_iiiiiiiiiii=function(){return(e.dynCall_iiiiiiiiiii=e.asm.dynCall_iiiiiiiiiii).apply(null,arguments)},e.dynCall_iiiiiiiiii=function(){return(e.dynCall_iiiiiiiiii=e.asm.dynCall_iiiiiiiiii).apply(null,arguments)},e.dynCall_viiiiiiiii=function(){return(e.dynCall_viiiiiiiii=e.asm.dynCall_viiiiiiiii).apply(null,arguments)},e.dynCall_viiiii=function(){return(e.dynCall_viiiii=e.asm.dynCall_viiiii).apply(null,arguments)},e.dynCall_jiji=function(){return(e.dynCall_jiji=e.asm.dynCall_jiji).apply(null,arguments)},e.dynCall_iidiiii=function(){return(e.dynCall_iidiiii=e.asm.dynCall_iidiiii).apply(null,arguments)},e.dynCall_iiiiiiiii=function(){return(e.dynCall_iiiiiiiii=e.asm.dynCall_iiiiiiiii).apply(null,arguments)},e.dynCall_viijii=function(){return(e.dynCall_viijii=e.asm.dynCall_viijii).apply(null,arguments)},e.dynCall_iiiiiiii=function(){return(e.dynCall_iiiiiiii=e.asm.dynCall_iiiiiiii).apply(null,arguments)},e.dynCall_iiiiiijj=function(){return(e.dynCall_iiiiiijj=e.asm.dynCall_iiiiiijj).apply(null,arguments)},e.dynCall_iiiiij=function(){return(e.dynCall_iiiiij=e.asm.dynCall_iiiiij).apply(null,arguments)},e.dynCall_iiiiid=function(){return(e.dynCall_iiiiid=e.asm.dynCall_iiiiid).apply(null,arguments)},e.dynCall_iiiiijj=function(){return(e.dynCall_iiiiijj=e.asm.dynCall_iiiiijj).apply(null,arguments)},e.asm=Hc,e.then=function(a){if(Ic)a(e);else{var b=e.onRuntimeInitialized;e.onRuntimeInitialized=function(){b&&b(),a(e)}}return e},Va=function Jc(){Ic||Kc(),Ic||(Va=Jc)},e.run=Kc,e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);0<e.preInit.length;)e.preInit.pop()();var Lc=!0;return e.noInitialRun&&(Lc=!1),noExitRuntime=!0,Kc(),load_perspective});__webpack_exports__.a=load_perspective}).call(this,"/index.js",__webpack_require__(50),"/")},function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){__webpack_require__(69),__webpack_require__(86),__webpack_require__(15);var _config_constants_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(0),_config_index_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(16),_data_accessor__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(66),_data_accessor_date_parser_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(17),_emscripten_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(3),_utils_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(12),_api_server_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(49),_view_formatters__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(30),papaparse__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(22),papaparse__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(papaparse__WEBPACK_IMPORTED_MODULE_11__);void 0===global.performance&&(global.performance={now:Date.now}),"undefined"!=typeof self&&void 0===self.performance&&(self.performance={now:Date.now}),__webpack_exports__.a=function(Module){let __MODULE__=Module,accessor=new _data_accessor__WEBPACK_IMPORTED_MODULE_5__.a;const SIDES=["zero","one","two"];let _POOL_DEBOUNCES={};function _call_process(table_id){const pool=_POOL_DEBOUNCES[table_id];pool&&(pool._process(),_remove_process(table_id))}function _remove_process(table_id){delete _POOL_DEBOUNCES[table_id]}function make_table(accessor,_Table,index,limit,op,is_update,is_arrow,port_id){const pool=(_Table=__MODULE__.make_table(_Table,accessor,limit||4294967295,index,op,is_update,is_arrow,port_id)).get_pool(),table_id=_Table.get_id();return is_update||op==__MODULE__.t_op.OP_DELETE?function(pool,table_id){_POOL_DEBOUNCES[table_id]||(_POOL_DEBOUNCES[table_id]=pool,setTimeout(()=>_call_process(table_id)))}(pool,table_id):pool._process(),_Table}function view(table,sides,config,view_config,name,callbacks,overridden_types){this._View=void 0,this.date_parser=new _data_accessor_date_parser_js__WEBPACK_IMPORTED_MODULE_6__.a,this.config=config||{},this.view_config=view_config||new view_config,0===sides?this._View=__MODULE__.make_view_zero(table._Table,name,_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.COLUMN_SEPARATOR_STRING,this.view_config,this.date_parser):1===sides?this._View=__MODULE__.make_view_one(table._Table,name,_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.COLUMN_SEPARATOR_STRING,this.view_config,this.date_parser):2===sides&&(this._View=__MODULE__.make_view_two(table._Table,name,_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.COLUMN_SEPARATOR_STRING,this.view_config,this.date_parser)),this.table=table,this.ctx=this._View.get_context(),this.column_only=this._View.is_column_only(),this.callbacks=callbacks,this.name=name,this.overridden_types=overridden_types,this._delete_callbacks=[],Object(_utils_js__WEBPACK_IMPORTED_MODULE_8__.a)(this)}function col_path_vector_to_string(vector){let extracted=[];for(let i=0;i<vector.size();i++)extracted.push(__MODULE__.scalar_to_val(vector.get(i),!1,!0));return vector.delete(),extracted}view.prototype.get_config=function(){return JSON.parse(JSON.stringify(this.config))},view.prototype.delete=function(){_remove_process(this.table.get_id()),this._View.delete(),this.ctx.delete(),this.table.views.splice(this.table.views.indexOf(this),1),this.table=void 0;let i=0,j=0;for(;i<this.callbacks.length;){let val=this.callbacks[i];val.view!==this&&(this.callbacks[j++]=val),i++}this.callbacks.length=j,this._delete_callbacks.forEach(cb=>cb())},view.prototype.sides=function(){return this._View.sides()},view.prototype._num_hidden=function(){let hidden=0;for(const sort of this.config.sort)-1===this.config.columns.indexOf(sort[0])&&hidden++;return hidden};const extract_vector_scalar=function(vector){let extracted=[];for(let i=0;i<vector.size();i++){let item=vector.get(i);extracted.push(col_path_vector_to_string(item))}return vector.delete(),extracted};view.prototype.schema=function(override=!0){const schema=Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.a)(this._View.schema());if(override)for(const key of Object.keys(schema)){let colname=key.split(_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.COLUMN_SEPARATOR_STRING);colname=colname[colname.length-1],this.overridden_types[colname]&&Object(_config_index_js__WEBPACK_IMPORTED_MODULE_4__.get_type_config)(this.overridden_types[colname]).type===schema[key]&&(schema[key]=this.overridden_types[colname])}return schema},view.prototype.computed_schema=function(override=!0){const schema=Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.a)(this._View.computed_schema());if(override)for(const key of Object.keys(schema)){let colname=key.split(_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.COLUMN_SEPARATOR_STRING);colname=colname[colname.length-1],this.overridden_types[colname]&&Object(_config_index_js__WEBPACK_IMPORTED_MODULE_4__.get_type_config)(this.overridden_types[colname]).type===schema[key]&&(schema[key]=this.overridden_types[colname])}return schema},view.prototype._column_names=function(skip=!1,depth=0){return extract_vector_scalar(this._View.column_names(skip,depth)).map(x=>x.join(_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.COLUMN_SEPARATOR_STRING))},view.prototype.column_paths=function(){return extract_vector_scalar(this._View.column_paths()).map(x=>x.join(_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.COLUMN_SEPARATOR_STRING))},view.prototype.get_data_slice=function(start_row,end_row,start_col,end_col){const num_sides=this.sides();return __MODULE__[`get_data_slice_${SIDES[num_sides]}`](this._View,start_row,end_row,start_col,end_col)};const _parse_format_options=function(options){options=options||{};const max_cols=this._View.num_columns()+(0===this.sides()?0:1),max_rows=this._View.num_rows(),hidden=this._num_hidden(),psp_offset=this.sides()>0||this.column_only?1:0,viewport=this.config.viewport?this.config.viewport:{},start_row=options.start_row||(viewport.top?viewport.top:0),end_row=Math.min(max_rows,void 0!==options.end_row?options.end_row:viewport.height?start_row+viewport.height:max_rows),start_col=options.start_col||(viewport.left?viewport.left:0),end_col=Math.min(max_cols,(void 0!==options.end_col?options.end_col+psp_offset:viewport.width?start_col+viewport.width:max_cols)*(hidden+1));return options.start_row=Math.floor(start_row),options.end_row=Math.ceil(end_row),options.start_col=Math.floor(start_col),options.end_col=Math.ceil(end_col),options},to_format=function(options,formatter){_call_process(this.table.get_id());const start_row=(options=_parse_format_options.bind(this)(options)).start_row,end_row=options.end_row,start_col=options.start_col,end_col=options.end_col,hidden=this._num_hidden();let date_format;options.date_format&&(date_format=new Intl.DateTimeFormat(options.date_format));const get_pkeys=!!options.index,get_ids=!!options.id,leaves_only=!!options.leaves_only,num_sides=this.sides(),has_row_path=0!==num_sides&&!this.column_only,nidx=SIDES[num_sides],slice=this.get_data_slice(start_row,end_row,start_col,end_col),ns=slice.get_column_names(),col_names=extract_vector_scalar(ns).map(x=>x.join(_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.COLUMN_SEPARATOR_STRING)),schema=this.schema();let data=formatter.initDataValue();for(let ridx=start_row;ridx<end_row;ridx++){let row_path=has_row_path?slice.get_row_path(ridx):void 0;if(has_row_path&&leaves_only&&row_path.size()<this.config.row_pivots.length){row_path.delete();continue}let row=formatter.initRowValue();get_ids&&formatter.initColumnValue(data,row,"__ID__");for(let cidx=start_col;cidx<end_col;cidx++){const col_name=col_names[cidx],col_type=schema[col_name];if(cidx===start_col&&0!==num_sides){if(!this.column_only){formatter.initColumnValue(data,row,"__ROW_PATH__");for(let i=0;i<row_path.size();i++){const value=__MODULE__.scalar_to_val(row_path.get(i),!1,!1);formatter.addColumnValue(data,row,"__ROW_PATH__",value),get_ids&&formatter.addColumnValue(data,row,"__ID__",value)}}}else{if((cidx-(num_sides>0?1:0))%(this.config.columns.length+hidden)>=this.config.columns.length)continue;{let value=__MODULE__[`get_from_data_slice_${nidx}`](slice,ridx,cidx);"datetime"!==col_type&&"date"!==col_type||void 0===value||date_format&&(value=new Date(value),value=date_format.format(value)),formatter.setColumnValue(data,row,col_name,value)}}}if(get_pkeys){const keys=slice.get_pkeys(ridx,0);formatter.initColumnValue(data,row,"__INDEX__");for(let i=0;i<keys.size();i++){const value=__MODULE__.scalar_to_val(keys.get(i),!1,!1);formatter.addColumnValue(data,row,"__INDEX__",value)}}if(get_ids&&0===num_sides){const keys=slice.get_pkeys(ridx,0);for(let i=0;i<keys.size();i++){const value=__MODULE__.scalar_to_val(keys.get(i),!1,!1);formatter.addColumnValue(data,row,"__ID__",value)}}row_path&&row_path.delete(),formatter.addRow(data,row)}return slice.delete(),formatter.formatData(data,options.config)},column_to_format=function(col_name,options,format_function){const num_rows=this.num_rows(),start_row=options.start_row||0,end_row=options.end_row||num_rows;let idx=this._column_names().indexOf(col_name);if(-1===idx)return;let slice,data_slice;this.sides()>0&&idx++,options.data_slice?slice=options.data_slice.get_column_slice(idx):(data_slice=this.get_data_slice(start_row,end_row,idx,idx+1),slice=data_slice.get_slice());const rst=format_function(slice,this._View.get_column_dtype(idx),idx);return slice.delete(),data_slice&&data_slice.delete(),rst};function filterInPlace(a,condition){let i=0,j=0;for(;i<a.length;){const val=a[i];condition(val,i,a)&&(a[j++]=val),i++}return a.length=j,a}function view_config(config){this.row_pivots=config.row_pivots||[],this.column_pivots=config.column_pivots||[],this.aggregates=config.aggregates||{},this.columns=config.columns,this.filter=config.filter||[],this.sort=config.sort||[],this.computed_columns=config.computed_columns||[],this.filter_op=config.filter_op||"and",this.row_pivot_depth=config.row_pivot_depth,this.column_pivot_depth=config.column_pivot_depth}function table(_Table,index,computed,limit,overridden_types){this._Table=_Table,this.gnode_id=this._Table.get_gnode().get_id(),this.name=Math.random()+"",this.initialized=!1,this.index=index,this._Table.get_pool().set_update_delegate(this),this.computed=computed||[],this.callbacks=[],this.views=[],this.limit=limit,this.overridden_types=overridden_types,this._delete_callbacks=[],Object(_utils_js__WEBPACK_IMPORTED_MODULE_8__.a)(this)}let meter;view.prototype.to_columns=function(options){return to_format.call(this,options,_view_formatters__WEBPACK_IMPORTED_MODULE_10__.a.jsonTableFormatter)},view.prototype.to_json=function(options){return to_format.call(this,options,_view_formatters__WEBPACK_IMPORTED_MODULE_10__.a.jsonFormatter)},view.prototype.to_csv=function(options){return to_format.call(this,options,_view_formatters__WEBPACK_IMPORTED_MODULE_10__.a.csvFormatter)},view.prototype.col_to_js_typed_array=function(col_name,options={}){const format_function=__MODULE__.col_to_js_typed_array;return column_to_format.call(this,col_name,options,format_function)},view.prototype.to_arrow=function(options={}){_call_process(this.table.get_id());const start_row=(options=_parse_format_options.bind(this)(options)).start_row,end_row=options.end_row,start_col=options.start_col,end_col=options.end_col,sides=this.sides();return 0===sides?__MODULE__.to_arrow_zero(this._View,start_row,end_row,start_col,end_col):1===sides?__MODULE__.to_arrow_one(this._View,start_row,end_row,start_col,end_col):2===sides?__MODULE__.to_arrow_two(this._View,start_row,end_row,start_col,end_col):void 0},view.prototype.num_rows=function(){return this._View.num_rows()},view.prototype.num_columns=function(){const ncols=this._View.num_columns(),nhidden=this._num_hidden();return ncols-ncols/(this.config.columns.length+nhidden)*nhidden},view.prototype.get_row_expanded=function(idx){return this._View.get_row_expanded(idx)},view.prototype.expand=function(idx){return this._View.expand(idx,this.config.row_pivots.length)},view.prototype.collapse=function(idx){return this._View.collapse(idx)},view.prototype.set_depth=function(depth){return this._View.set_depth(depth,this.config.row_pivots.length)},view.prototype._get_step_delta=async function(){let data,delta=this._View.get_step_delta(0,2147483647);if(0===delta.cells.size())data=this.to_json();else{let rows={};for(let x=0;x<delta.cells.size();x++)rows[delta.cells.get(x).row]=!0;rows=Object.keys(rows);const results=rows.map(row=>this.to_json({start_row:Number.parseInt(row),end_row:Number.parseInt(row)+1}));data=[].concat.apply([],results)}return delta.cells.delete(),data},view.prototype._get_row_delta=async function(){const sides=this.sides();return __MODULE__[`get_row_delta_${SIDES[sides]}`](this._View)},view.prototype.on_update=function(callback,{mode:mode="none"}={}){if(_call_process(this.table.get_id()),-1===["none","cell","row"].indexOf(mode))throw new Error(`Invalid update mode "${mode}" - valid modes are "none", "cell" and "row".`);"cell"!==mode&&"row"!==mode||this._View._get_deltas_enabled()||this._View._set_deltas_enabled(!0),this.callbacks.push({view:this,orig_callback:callback,callback:async(port_id,cache)=>{void 0===cache[port_id]&&(cache[port_id]={});let updated={port_id:port_id};switch(mode){case"cell":void 0===cache[port_id].step_delta&&(cache[port_id].step_delta=await this._get_step_delta()),updated.delta=cache[port_id].step_delta;break;case"row":void 0===cache[port_id].row_delta&&(cache[port_id].row_delta=await this._get_row_delta()),updated.delta=cache[port_id].row_delta}callback(updated)}})},view.prototype.remove_update=function(callback){_call_process(this.table.get_id());const total=this.callbacks.length;filterInPlace(this.callbacks,x=>x.orig_callback!==callback),console.assert(total>this.callbacks.length,'"callback" does not match a registered updater')},view.prototype.on_delete=function(callback){this._delete_callbacks.push(callback)},view.prototype.remove_delete=function(callback){const initial_length=this._delete_callbacks.length;filterInPlace(this._delete_callbacks,cb=>cb!==callback),console.assert(initial_length>this._delete_callbacks.length,'"callback" does not match a registered delete callbacks')},view_config.prototype.get_row_pivots=function(){let vector=__MODULE__.make_string_vector();return Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.c)(vector,this.row_pivots)},view_config.prototype.get_column_pivots=function(){let vector=__MODULE__.make_string_vector();return Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.c)(vector,this.column_pivots)},view_config.prototype.get_columns=function(){let vector=__MODULE__.make_string_vector();return Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.c)(vector,this.columns)},view_config.prototype.get_filter=function(){let vector=__MODULE__.make_2d_val_vector();for(let filter of this.filter){let filter_vector=__MODULE__.make_val_vector(),filled=Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.c)(filter_vector,filter);vector.push_back(filled)}return vector},view_config.prototype.get_sort=function(){let vector=__MODULE__.make_2d_string_vector();for(let sort of this.sort){let sort_vector=__MODULE__.make_string_vector(),filled=Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.c)(sort_vector,sort);vector.push_back(filled)}return vector},view_config.prototype.get_computed_columns=function(){let vector=__MODULE__.make_2d_val_vector();for(let computed of this.computed_columns){let computed_vector=__MODULE__.make_val_vector();computed_vector.push_back(computed.column),computed_vector.push_back(computed.computed_function_name),computed_vector.push_back(computed.inputs),vector.push_back(computed_vector)}return vector},table.prototype.compute=function(){return!0},table.prototype.get_id=function(){return this._Table.get_id()},table.prototype.get_pool=function(){return this._Table.get_pool()},table.prototype.make_port=function(){return this._Table.make_port()},table.prototype.remove_port=function(){this._Table.remove_port()},table.prototype._update_callback=function(port_id){let cache={};for(let e in this.callbacks)this.callbacks[e].callback(port_id,cache)},table.prototype.clear=function(){_remove_process(this.get_id()),this._Table.reset_gnode(this.gnode_id)},table.prototype.replace=function(data){_remove_process(this.get_id()),this._Table.reset_gnode(this.gnode_id),this.update(data),_call_process(this.get_id())},table.prototype.delete=function(){if(this.views.length>0)throw`Cannot delete Table as it still has ${this.views.length} registered View(s).`;_remove_process(this.get_id()),this._Table.unregister_gnode(this.gnode_id),this._Table.delete(),this._delete_callbacks.forEach(callback=>callback())},table.prototype.on_delete=function(callback){this._delete_callbacks.push(callback)},table.prototype.remove_delete=function(callback){const initial_length=this._delete_callbacks.length;filterInPlace(this._delete_callbacks,cb=>cb!==callback),console.assert(initial_length>this._delete_callbacks.length,'"callback" does not match a registered delete callbacks')},table.prototype.size=function(){return _call_process(this._Table.get_id()),this._Table.size()},table.prototype.schema=function(override=!0){let schema=this._Table.get_schema(),columns=schema.columns(),types=schema.types(),new_schema={};for(let key=0;key<columns.size();key++){const name=columns.get(key);"psp_okey"!==name&&(override&&this.overridden_types[name]?new_schema[name]=this.overridden_types[name]:new_schema[name]=Object(_utils_js__WEBPACK_IMPORTED_MODULE_8__.b)(types.get(key).value))}return schema.delete(),columns.delete(),types.delete(),new_schema},table.prototype.computed_schema=function(computed_columns,override=!0){const new_schema={};if(!computed_columns||0===computed_columns.length)return new_schema;let vector=__MODULE__.make_2d_val_vector();for(let computed of computed_columns){let computed_vector=__MODULE__.make_val_vector();computed_vector.push_back(computed.column),computed_vector.push_back(computed.computed_function_name),computed_vector.push_back(computed.inputs),vector.push_back(computed_vector)}let computed_schema=__MODULE__.get_table_computed_schema(this._Table,vector),columns=computed_schema.columns(),types=computed_schema.types();for(let key=0;key<columns.size();key++){const name=columns.get(key),type=types.get(key);override&&this.overridden_types[name]?new_schema[name]=this.overridden_types[name]:new_schema[name]=Object(_utils_js__WEBPACK_IMPORTED_MODULE_8__.b)(type.value)}return computed_schema.delete(),columns.delete(),types.delete(),new_schema},table.prototype.get_computation_input_types=function(computed_function_name){const types=__MODULE__.get_computation_input_types(computed_function_name),new_types=[];for(let i=0;i<types.size();i++){const type=types.get(i);new_types.push(Object(_utils_js__WEBPACK_IMPORTED_MODULE_8__.b)(type.value))}return new_types},table.prototype.is_valid_filter=function(filter){if(filter[1]===perspective.FILTER_OPERATORS.isNull||filter[1]===perspective.FILTER_OPERATORS.isNotNull)return!0;let value=filter[2];if(null===value)return!1;const schema=this.schema();return!schema[filter[0]]||"date"!==schema[filter[0]]&&"datetime"!==schema[filter[0]]||(value=(new _data_accessor_date_parser_js__WEBPACK_IMPORTED_MODULE_6__.a).parse(value)),null!=value},table.prototype.view=function(_config={}){_call_process(this._Table.get_id());let config={};for(const key of Object.keys(_config))if(_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.CONFIG_ALIASES[key]){if(config[_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.CONFIG_ALIASES[key]])throw new Error(`Duplicate configuration parameter "${key}"`);console.warn(`Deprecated: "${key}" config parameter, please use "${_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.CONFIG_ALIASES[key]}" instead`),config[_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.CONFIG_ALIASES[key]]=_config[key]}else if("aggregate"===key){console.warn('Deprecated: "aggregate" config parameter has been replaced by "aggregates" and "columns"'),config.aggregates={},config.columns=[];for(const agg of _config.aggregate)config.aggregates[agg.column]=agg.op,config.columns.push(agg.column)}else{if(!(_config_constants_js__WEBPACK_IMPORTED_MODULE_3__.CONFIG_VALID_KEYS.indexOf(key)>-1))throw new Error(`Unrecognized config parameter "${key}"`);config[key]=_config[key]}if(config.row_pivots=config.row_pivots||[],config.column_pivots=config.column_pivots||[],config.aggregates=config.aggregates||{},config.filter=config.filter||[],config.sort=config.sort||[],config.computed_columns=config.computed_columns||[],void 0===config.columns&&(config.columns=this.columns(),config.computed_columns.length>0))for(let col of config.computed_columns)config.columns.push(col.column);let sides,name=Math.random()+"";sides=config.row_pivots.length>0||config.column_pivots.length>0?config.column_pivots&&config.column_pivots.length>0?2:1:0;let v=new view(this,sides,config,new view_config(config),name,this.callbacks,this.overridden_types);return this.views.push(v),v},table.prototype.update=function(data,options){let pdata;(options=options||{}).port_id=options.port_id||0;let cols=this.columns(),schema=this._Table.get_schema(),types=schema.types(),is_arrow=!1;if(pdata=accessor,data instanceof ArrayBuffer?(pdata=new Uint8Array(data),is_arrow=!0):"string"==typeof data?(","===data[0]&&(data="_"+data),accessor.init(papaparse__WEBPACK_IMPORTED_MODULE_11___default.a.parse(data.trim(),{header:!0}).data),accessor.names=cols.concat(accessor.names.filter(x=>"__INDEX__"===x)),accessor.types=Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.b)(types).slice(0,accessor.names.length),meter&&meter(accessor.row_count)):(accessor.init(data),accessor.names=cols.concat(accessor.names.filter(x=>"__INDEX__"===x)),accessor.types=Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.b)(types).slice(0,cols.length),meter&&meter(accessor.row_count)),!is_arrow){if(0===pdata.row_count)return void console.warn("table.update called with no data - ignoring");if(-1!=accessor.names.indexOf("__INDEX__")){!!this.index?accessor.types.push(accessor.types[accessor.names.indexOf(this.index)]):accessor.types.push(__MODULE__.t_dtype.DTYPE_INT32)}}try{const op=__MODULE__.t_op.OP_INSERT;make_table(pdata,this._Table,this.index||"",this.limit,op,!0,is_arrow,options.port_id),this.initialized=!0}catch(e){console.error(`Update failed: ${e}`)}finally{schema.delete()}},table.prototype.remove=function(data,options){let pdata;(options=options||{}).port_id=options.port_id||0;let cols=this.columns(),schema=this._Table.get_schema(),types=schema.types(),is_arrow=!1;(data=data.map(idx=>({[this.index]:idx})))instanceof ArrayBuffer?(pdata=new Uint8Array(data),is_arrow=!0):(accessor.init(data),accessor.names=[this.index],accessor.types=[Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.b)(types)[cols.indexOf(this.index)]],pdata=accessor);try{const op=__MODULE__.t_op.OP_DELETE;make_table(pdata,this._Table,this.index||"",this.limit,op,!1,is_arrow,options.port_id),this.initialized=!0}catch(e){console.error("Remove failed",e)}finally{schema.delete()}},table.prototype.get_computed_functions=function(){let functions=Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.a)(__MODULE__.get_computed_functions());for(const f in functions)functions.hasOwnProperty(f)&&(functions[f]=Object(_emscripten_js__WEBPACK_IMPORTED_MODULE_7__.a)(functions[f]),functions[f].num_params=parseInt(functions[f].num_params));return functions},table.prototype.columns=function(){let schema=this._Table.get_schema(),cols=schema.columns(),names=[];for(let cidx=0;cidx<cols.size();cidx++){let name=cols.get(cidx);"psp_okey"!==name&&names.push(name)}return schema.delete(),cols.delete(),names},table.prototype.execute=function(f){f(this)};const perspective={__module__:__MODULE__,Server:_api_server_js__WEBPACK_IMPORTED_MODULE_9__.a,worker:function(){return this},initialize_profile_thread:function(){if(void 0===meter){let _msgs=0,start=performance.now();setTimeout((function poll(){let now=performance.now();console.log(`${(1e3*_msgs/(now-start)).toFixed(2)} msgs/sec`),_msgs=0,start=now,setTimeout(poll,5e3)}),5e3),meter=function(x){_msgs+=x},console.log("Profiling initialized")}},table:function(data,options){let data_accessor;(options=options||{}).index=options.index||"";let _Table,is_arrow=!1,overridden_types={};if(data instanceof ArrayBuffer||"undefined"!=typeof Buffer&&data instanceof Buffer?(data_accessor=new Uint8Array(data),is_arrow=!0):("string"==typeof data&&(","===data[0]&&(data="_"+data),data=papaparse__WEBPACK_IMPORTED_MODULE_11___default.a.parse(data.trim(),{dynamicTyping:!0,header:!0}).data),accessor.clean(),overridden_types=accessor.init(data),data_accessor=accessor),options.index&&options.limit)throw`Cannot specify both index '${options.index}' and limit '${options.limit}'.`;try{const op=__MODULE__.t_op.OP_INSERT;return _Table=make_table(data_accessor,void 0,options.index,options.limit,op,!1,is_arrow,0),new table(_Table,options.index,void 0,options.limit,overridden_types)}catch(e){throw _Table&&_Table.delete(),console.error(`Table initialization failed: ${e}`),e}}};for(let prop of Object.keys(_config_constants_js__WEBPACK_IMPORTED_MODULE_3__))perspective[prop]=_config_constants_js__WEBPACK_IMPORTED_MODULE_3__[prop];class WebWorkerServer extends _api_server_js__WEBPACK_IMPORTED_MODULE_9__.a{constructor(perspective){super(perspective),self.addEventListener("message",e=>this.process(e.data),!1)}post(msg,transfer){self.postMessage(msg,transfer)}init(msg){if("undefined"==typeof WebAssembly)throw new Error("WebAssembly not supported");console.log("Loading wasm"),__MODULE__=__MODULE__({wasmBinary:msg.buffer,wasmJSMethod:"native-wasm"}).then(()=>super.init(msg))}}return"undefined"!=typeof self&&self.addEventListener&&new WebWorkerServer(perspective),perspective}}).call(this,__webpack_require__(23))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Server}));var core_js_modules_web_dom_collections_iterator__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(15),core_js_modules_web_dom_collections_iterator__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_web_dom_collections_iterator__WEBPACK_IMPORTED_MODULE_0__),_config__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(16),_config__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_config__WEBPACK_IMPORTED_MODULE_1__);function error_to_json(error){const obj={};return"string"!=typeof error?Object.getOwnPropertyNames(error).forEach(key=>{obj[key]=error[key]},error):obj.message=error,obj}class Server{constructor(perspective){this.perspective=perspective,this._tables={},this._views={},this._callback_cache=new Map}init(msg){msg.config&&Object(_config__WEBPACK_IMPORTED_MODULE_1__.override_config)(msg.config),this.post(msg)}post(){throw new Error("post() not implemented!")}clear_views(client_id){for(let key of Object.keys(this._views))if(this._views[key].client_id===client_id){try{this._views[key].delete()}catch(e){console.error(e)}delete this._views[key]}console.debug(`GC ${Object.keys(this._views).length} views in memory`)}process(msg,client_id){switch(msg.cmd){case"init_profile_thread":this.perspective.initialize_profile_thread();break;case"init":this.init(msg);break;case"table":if(void 0===msg.args[0])this._tables[msg.name]=[];else{const msgs=this._tables[msg.name];if(this._tables[msg.name]=this.perspective.table(msg.args[0],msg.options),msgs)for(const msg of msgs)this.process(msg)}break;case"table_generate":let g;eval("g = "+msg.args),g((function(tbl){this._tables[msg.name]=tbl,this.post({id:msg.id,data:"created!"})}));break;case"table_execute":let f;eval("f = "+msg.f),f(this._tables[msg.name]);break;case"table_method":case"view_method":this.process_method_call(msg);break;case"view":this._views[msg.view_name]=this._tables[msg.table_name].view(msg.config),this._views[msg.view_name].client_id=client_id}}process_error(msg,error){this.post({id:msg.id,error:error_to_json(error)})}process_subscribe(msg,obj){try{let callback;"on"===msg.method.slice(0,2)?(callback=ev=>{let result={id:msg.id,data:ev};try{if(msg.args&&msg.args[0]&&"on_update"===msg.method&&"row"===msg.args[0].mode)return void this.post(result,ev.delta);this.post(result)}catch(e){console.error(`Removing failed callback to \`${msg.method}()\` (presumably due to failed connection)`);const remove_method=msg.method.substring(3);obj[`remove_${remove_method}`](callback)}},msg.callback_id&&this._callback_cache.set(msg.callback_id,callback)):msg.callback_id&&(callback=this._callback_cache.get(msg.callback_id),this._callback_cache.delete(msg.callback_id)),callback?obj[msg.method](callback,...msg.args):console.error(`Callback not found for remote call "${JSON.stringify(msg)}"`)}catch(error){return void this.process_error(msg,error)}}process_method_call_response(msg,result){"delete"===msg.method&&delete this._views[msg.name],"to_arrow"===msg.method?this.post({id:msg.id,data:result},[result]):this.post({id:msg.id,data:result})}process_method_call(msg){let obj,result;if(obj="table_method"===msg.cmd?this._tables[msg.name]:this._views[msg.name],obj||"view_method"!==msg.cmd)if(obj&&obj.push)obj.push(msg);else try{if(msg.subscribe)return void this.process_subscribe(msg,obj);result=obj[msg.method].apply(obj,msg.args),result instanceof Promise?result.then(result=>this.process_method_call_response(msg,result)).catch(error=>this.process_error(msg,error)):this.process_method_call_response(msg,result)}catch(error){return void this.process_error(msg,error)}else this.process_error(msg,{message:"View is not initialized"})}}},function(module,exports){var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&&currentQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex<len;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,len=queue.length}currentQueue=null,draining=!1,function(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}(timeout)}}function Item(fun,array){this.fun=fun,this.array=array}function noop(){}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)args[i-1]=arguments[i];queue.push(new Item(fun,args)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(name){return[]},process.binding=function(name){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(dir){throw new Error("process.chdir is not supported")},process.umask=function(){return 0}},function(module,exports,__webpack_require__){(function(process){function normalizeArray(parts,allowAboveRoot){for(var up=0,i=parts.length-1;i>=0;i--){var last=parts[i];"."===last?parts.splice(i,1):".."===last?(parts.splice(i,1),up++):up&&(parts.splice(i,1),up--)}if(allowAboveRoot)for(;up--;up)parts.unshift("..");return parts}function filter(xs,f){if(xs.filter)return xs.filter(f);for(var res=[],i=0;i<xs.length;i++)f(xs[i],i,xs)&&res.push(xs[i]);return res}exports.resolve=function(){for(var resolvedPath="",resolvedAbsolute=!1,i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:process.cwd();if("string"!=typeof path)throw new TypeError("Arguments to path.resolve must be strings");path&&(resolvedPath=path+"/"+resolvedPath,resolvedAbsolute="/"===path.charAt(0))}return(resolvedAbsolute?"/":"")+(resolvedPath=normalizeArray(filter(resolvedPath.split("/"),(function(p){return!!p})),!resolvedAbsolute).join("/"))||"."},exports.normalize=function(path){var isAbsolute=exports.isAbsolute(path),trailingSlash="/"===substr(path,-1);return(path=normalizeArray(filter(path.split("/"),(function(p){return!!p})),!isAbsolute).join("/"))||isAbsolute||(path="."),path&&trailingSlash&&(path+="/"),(isAbsolute?"/":"")+path},exports.isAbsolute=function(path){return"/"===path.charAt(0)},exports.join=function(){var paths=Array.prototype.slice.call(arguments,0);return exports.normalize(filter(paths,(function(p,index){if("string"!=typeof p)throw new TypeError("Arguments to path.join must be strings");return p})).join("/"))},exports.relative=function(from,to){function trim(arr){for(var start=0;start<arr.length&&""===arr[start];start++);for(var end=arr.length-1;end>=0&&""===arr[end];end--);return start>end?[]:arr.slice(start,end-start+1)}from=exports.resolve(from).substr(1),to=exports.resolve(to).substr(1);for(var fromParts=trim(from.split("/")),toParts=trim(to.split("/")),length=Math.min(fromParts.length,toParts.length),samePartsLength=length,i=0;i<length;i++)if(fromParts[i]!==toParts[i]){samePartsLength=i;break}var outputParts=[];for(i=samePartsLength;i<fromParts.length;i++)outputParts.push("..");return(outputParts=outputParts.concat(toParts.slice(samePartsLength))).join("/")},exports.sep="/",exports.delimiter=":",exports.dirname=function(path){if("string"!=typeof path&&(path+=""),0===path.length)return".";for(var code=path.charCodeAt(0),hasRoot=47===code,end=-1,matchedSlash=!0,i=path.length-1;i>=1;--i)if(47===(code=path.charCodeAt(i))){if(!matchedSlash){end=i;break}}else matchedSlash=!1;return-1===end?hasRoot?"/":".":hasRoot&&1===end?"/":path.slice(0,end)},exports.basename=function(path,ext){var f=function(path){"string"!=typeof path&&(path+="");var i,start=0,end=-1,matchedSlash=!0;for(i=path.length-1;i>=0;--i)if(47===path.charCodeAt(i)){if(!matchedSlash){start=i+1;break}}else-1===end&&(matchedSlash=!1,end=i+1);return-1===end?"":path.slice(start,end)}(path);return ext&&f.substr(-1*ext.length)===ext&&(f=f.substr(0,f.length-ext.length)),f},exports.extname=function(path){"string"!=typeof path&&(path+="");for(var startDot=-1,startPart=0,end=-1,matchedSlash=!0,preDotState=0,i=path.length-1;i>=0;--i){var code=path.charCodeAt(i);if(47!==code)-1===end&&(matchedSlash=!1,end=i+1),46===code?-1===startDot?startDot=i:1!==preDotState&&(preDotState=1):-1!==startDot&&(preDotState=-1);else if(!matchedSlash){startPart=i+1;break}}return-1===startDot||-1===end||0===preDotState||1===preDotState&&startDot===end-1&&startDot===startPart+1?"":path.slice(startDot,end)};var substr="b"==="ab".substr(-1)?function(str,start,len){return str.substr(start,len)}:function(str,start,len){return start<0&&(start=str.length+start),str.substr(start,len)}}).call(this,__webpack_require__(50))},function(module,exports,__webpack_require__){var fails=__webpack_require__(6),classof=__webpack_require__(26),split="".split;module.exports=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(it){return"String"==classof(it)?split.call(it,""):Object(it)}:Object},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(7),fails=__webpack_require__(6),createElement=__webpack_require__(54);module.exports=!DESCRIPTORS&&!fails((function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a}))},function(module,exports,__webpack_require__){var global=__webpack_require__(1),isObject=__webpack_require__(8),document=global.document,EXISTS=isObject(document)&&isObject(document.createElement);module.exports=function(it){return EXISTS?document.createElement(it):{}}},function(module,exports,__webpack_require__){var store=__webpack_require__(56),functionToString=Function.toString;"function"!=typeof store.inspectSource&&(store.inspectSource=function(it){return functionToString.call(it)}),module.exports=store.inspectSource},function(module,exports,__webpack_require__){var global=__webpack_require__(1),setGlobal=__webpack_require__(34),store=global["__core-js_shared__"]||setGlobal("__core-js_shared__",{});module.exports=store},function(module,exports,__webpack_require__){var IS_PURE=__webpack_require__(36),store=__webpack_require__(56);(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:"3.6.4",mode:IS_PURE?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(module,exports,__webpack_require__){var has=__webpack_require__(4),toIndexedObject=__webpack_require__(25),indexOf=__webpack_require__(77).indexOf,hiddenKeys=__webpack_require__(38);module.exports=function(object,names){var key,O=toIndexedObject(object),i=0,result=[];for(key in O)!has(hiddenKeys,key)&&has(O,key)&&result.push(key);for(;names.length>i;)has(O,key=names[i++])&&(~indexOf(result,key)||result.push(key));return result}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(14),max=Math.max,min=Math.min;module.exports=function(index,length){var integer=toInteger(index);return integer<0?max(integer+length,0):min(integer,length)}},function(module,exports,__webpack_require__){var fails=__webpack_require__(6);module.exports=!!Object.getOwnPropertySymbols&&!fails((function(){return!String(Symbol())}))},function(module,exports){module.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(module,exports){module.exports=function(it,Constructor,name){if(!(it instanceof Constructor))throw TypeError("Incorrect "+(name?name+" ":"")+"invocation");return it}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(14),toLength=__webpack_require__(10);module.exports=function(it){if(void 0===it)return 0;var number=toInteger(it),length=toLength(number);if(number!==length)throw RangeError("Wrong length or index");return length}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(105);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 0:return function(){return fn.call(that)};case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports,__webpack_require__){"use strict";var IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator,getPrototypeOf=__webpack_require__(29),createNonEnumerableProperty=__webpack_require__(5),has=__webpack_require__(4),wellKnownSymbol=__webpack_require__(2),IS_PURE=__webpack_require__(36),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)))!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS=!0),null==IteratorPrototype&&(IteratorPrototype={}),IS_PURE||has(IteratorPrototype,ITERATOR)||createNonEnumerableProperty(IteratorPrototype,ITERATOR,(function(){return this})),module.exports={IteratorPrototype:IteratorPrototype,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return DataAccessor}));__webpack_require__(15);var _date_parser_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(17),_utils_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(12),_config_index_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(16);class DataAccessor{constructor(){this.data_formats={row:0,column:1,schema:2},this.format=void 0,this.data=void 0,this.names=void 0,this.types=void 0,this.row_count=void 0,this.date_parsers={},this.date_validator=val=>Object(_date_parser_js__WEBPACK_IMPORTED_MODULE_1__.b)(val)}is_format(data){if(Array.isArray(data))return this.data_formats.row;if(Array.isArray(data[Object.keys(data)[0]]))return this.data_formats.column;if("string"==typeof data[Object.keys(data)[0]]||"function"==typeof data[Object.keys(data)[0]])return this.data_formats.schema;throw`Could not determine data format for ${JSON.stringify(data)}, with JS typeof ${typeof data}`}count_rows(data){return this.format===this.data_formats.row?data.length:this.format===this.data_formats.column?data[Object.keys(data)[0]].length:0}get_format(){return this.format}get(column_name,row_index){let value=void 0;if(this.format===this.data_formats.row){let d=this.data[row_index];d.hasOwnProperty(column_name)&&(value=d[column_name])}else if(this.format===this.data_formats.column)this.data.hasOwnProperty(column_name)&&(value=this.data[column_name][row_index]);else{if(this.format!==this.data_formats.schema)throw`Could not get() from dataset - ${this.data} is poorly formatted.`;value=void 0}return value}marshal(column_index,row_index,type){const column_name=this.names[column_index];let val=null===(value=this.get(column_name,row_index))||"null"===value?null:void 0===value||"undefined"===value?void 0:value;var value;let date_parser;if(null===val)return null;if(void 0!==val){switch(void 0===this.date_parsers[column_name]&&(this.date_parsers[column_name]=new _date_parser_js__WEBPACK_IMPORTED_MODULE_1__.a),date_parser=this.date_parsers[column_name],Object(_utils_js__WEBPACK_IMPORTED_MODULE_2__.b)(type.value)){case"float":case"integer":val=Number(val);break;case"boolean":val="string"==typeof val?"true"===val.toLowerCase():!!val;break;case"datetime":case"date":val=date_parser.parse(val);break;default:val+=""}return val}}clean(){this.date_parsers={},this.names=void 0,this.types=void 0}init(data){this.data=data,this.format=this.is_format(this.data),this.row_count=this.count_rows(this.data);const overridden_types={};if(this.format===this.data_formats.row)data.length>0?this.names=Object.keys(data[0]):this.clean.names=[];else if(this.format===this.data_formats.column)this.names=Object.keys(data);else{if(this.format!==this.data_formats.schema)throw`Could not initialize - failed to determine format for ${data}`;this.names=Object.keys(data);for(const name of this.names){const new_type=Object(_config_index_js__WEBPACK_IMPORTED_MODULE_3__.get_type_config)(data[name]);new_type.type&&(console.debug(`Converting "${data[name]}" to "${new_type.type}"`),overridden_types[name]=data[name],data[name]=new_type.type)}}return overridden_types}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(global){var _dist_obj_psp_async_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(47),_perspective_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(48);let _perspective_instance;_perspective_instance=void 0!==global.document&&"undefined"!=typeof WebAssembly?global.perspective=Object(_perspective_js__WEBPACK_IMPORTED_MODULE_1__.a)(Object(_dist_obj_psp_async_js__WEBPACK_IMPORTED_MODULE_0__.a)({wasmJSMethod:"native-wasm",printErr:x=>console.error(x),print:x=>console.log(x)})):global.perspective=Object(_perspective_js__WEBPACK_IMPORTED_MODULE_1__.a)(_dist_obj_psp_async_js__WEBPACK_IMPORTED_MODULE_0__.a),__webpack_exports__.default=_perspective_instance}.call(this,__webpack_require__(23))},function(module,exports){},function(module,exports,__webpack_require__){"use strict";var fixRegExpWellKnownSymbolLogic=__webpack_require__(70),anObject=__webpack_require__(13),toObject=__webpack_require__(19),toLength=__webpack_require__(10),toInteger=__webpack_require__(14),requireObjectCoercible=__webpack_require__(27),advanceStringIndex=__webpack_require__(83),regExpExec=__webpack_require__(85),max=Math.max,min=Math.min,floor=Math.floor,SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d\d?|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d\d?)/g;fixRegExpWellKnownSymbolLogic("replace",2,(function(REPLACE,nativeReplace,maybeCallNative,reason){var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,REPLACE_KEEPS_$0=reason.REPLACE_KEEPS_$0,UNSAFE_SUBSTITUTE=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(searchValue,replaceValue){var O=requireObjectCoercible(this),replacer=null==searchValue?void 0:searchValue[REPLACE];return void 0!==replacer?replacer.call(searchValue,O,replaceValue):nativeReplace.call(String(O),searchValue,replaceValue)},function(regexp,replaceValue){if(!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE&&REPLACE_KEEPS_$0||"string"==typeof replaceValue&&-1===replaceValue.indexOf(UNSAFE_SUBSTITUTE)){var res=maybeCallNative(nativeReplace,regexp,this,replaceValue);if(res.done)return res.value}var rx=anObject(regexp),S=String(this),functionalReplace="function"==typeof replaceValue;functionalReplace||(replaceValue=String(replaceValue));var global=rx.global;if(global){var fullUnicode=rx.unicode;rx.lastIndex=0}for(var results=[];;){var result=regExpExec(rx,S);if(null===result)break;if(results.push(result),!global)break;""===String(result[0])&&(rx.lastIndex=advanceStringIndex(S,toLength(rx.lastIndex),fullUnicode))}for(var it,accumulatedResult="",nextSourcePosition=0,i=0;i<results.length;i++){result=results[i];for(var matched=String(result[0]),position=max(min(toInteger(result.index),S.length),0),captures=[],j=1;j<result.length;j++)captures.push(void 0===(it=result[j])?it:String(it));var namedCaptures=result.groups;if(functionalReplace){var replacerArgs=[matched].concat(captures,position,S);void 0!==namedCaptures&&replacerArgs.push(namedCaptures);var replacement=String(replaceValue.apply(void 0,replacerArgs))}else replacement=getSubstitution(matched,S,position,captures,namedCaptures,replaceValue);position>=nextSourcePosition&&(accumulatedResult+=S.slice(nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+S.slice(nextSourcePosition)}];function getSubstitution(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),nativeReplace.call(replacement,symbols,(function(match,ch){var capture;switch(ch.charAt(0)){case"$":return"$";case"&":return matched;case"`":return str.slice(0,position);case"'":return str.slice(tailPos);case"<":capture=namedCaptures[ch.slice(1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?ch.charAt(1):captures[f-1]+ch.charAt(1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}}))},function(module,exports,__webpack_require__){"use strict";__webpack_require__(71);var redefine=__webpack_require__(18),fails=__webpack_require__(6),wellKnownSymbol=__webpack_require__(2),regexpExec=__webpack_require__(42),createNonEnumerableProperty=__webpack_require__(5),SPECIES=wellKnownSymbol("species"),REPLACE_SUPPORTS_NAMED_GROUPS=!fails((function(){var re=/./;return re.exec=function(){var result=[];return result.groups={a:"7"},result},"7"!=="".replace(re,"$<a>")})),REPLACE_KEEPS_$0="$0"==="a".replace(/./,"$0"),REPLACE=wellKnownSymbol("replace"),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=!!/./[REPLACE]&&""===/./[REPLACE]("a","$0"),SPLIT_WORKS_WITH_OVERWRITTEN_EXEC=!fails((function(){var re=/(?:)/,originalExec=re.exec;re.exec=function(){return originalExec.apply(this,arguments)};var result="ab".split(re);return 2!==result.length||"a"!==result[0]||"b"!==result[1]}));module.exports=function(KEY,length,exec,sham){var SYMBOL=wellKnownSymbol(KEY),DELEGATES_TO_SYMBOL=!fails((function(){var O={};return O[SYMBOL]=function(){return 7},7!=""[KEY](O)})),DELEGATES_TO_EXEC=DELEGATES_TO_SYMBOL&&!fails((function(){var execCalled=!1,re=/a/;return"split"===KEY&&((re={}).constructor={},re.constructor[SPECIES]=function(){return re},re.flags="",re[SYMBOL]=/./[SYMBOL]),re.exec=function(){return execCalled=!0,null},re[SYMBOL](""),!execCalled}));if(!DELEGATES_TO_SYMBOL||!DELEGATES_TO_EXEC||"replace"===KEY&&(!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE)||"split"===KEY&&!SPLIT_WORKS_WITH_OVERWRITTEN_EXEC){var nativeRegExpMethod=/./[SYMBOL],methods=exec(SYMBOL,""[KEY],(function(nativeMethod,regexp,str,arg2,forceStringMethod){return regexp.exec===regexpExec?DELEGATES_TO_SYMBOL&&!forceStringMethod?{done:!0,value:nativeRegExpMethod.call(regexp,str,arg2)}:{done:!0,value:nativeMethod.call(str,regexp,arg2)}:{done:!1}}),{REPLACE_KEEPS_$0:REPLACE_KEEPS_$0,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE}),stringMethod=methods[0],regexMethod=methods[1];redefine(String.prototype,KEY,stringMethod),redefine(RegExp.prototype,SYMBOL,2==length?function(string,arg){return regexMethod.call(string,this,arg)}:function(string){return regexMethod.call(string,this)})}sham&&createNonEnumerableProperty(RegExp.prototype[SYMBOL],"sham",!0)}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(31),exec=__webpack_require__(42);$({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec:exec})},function(module,exports,__webpack_require__){"use strict";var nativePropertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!nativePropertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:nativePropertyIsEnumerable},function(module,exports,__webpack_require__){var global=__webpack_require__(1),inspectSource=__webpack_require__(55),WeakMap=global.WeakMap;module.exports="function"==typeof WeakMap&&/native code/.test(inspectSource(WeakMap))},function(module,exports,__webpack_require__){var has=__webpack_require__(4),ownKeys=__webpack_require__(75),getOwnPropertyDescriptorModule=__webpack_require__(32),definePropertyModule=__webpack_require__(9);module.exports=function(target,source){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i<keys.length;i++){var key=keys[i];has(target,key)||defineProperty(target,key,getOwnPropertyDescriptor(source,key))}}},function(module,exports,__webpack_require__){var getBuiltIn=__webpack_require__(39),getOwnPropertyNamesModule=__webpack_require__(40),getOwnPropertySymbolsModule=__webpack_require__(78),anObject=__webpack_require__(13);module.exports=getBuiltIn("Reflect","ownKeys")||function(it){var keys=getOwnPropertyNamesModule.f(anObject(it)),getOwnPropertySymbols=getOwnPropertySymbolsModule.f;return getOwnPropertySymbols?keys.concat(getOwnPropertySymbols(it)):keys}},function(module,exports,__webpack_require__){var global=__webpack_require__(1);module.exports=global},function(module,exports,__webpack_require__){var toIndexedObject=__webpack_require__(25),toLength=__webpack_require__(10),toAbsoluteIndex=__webpack_require__(59),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIndexedObject($this),length=toLength(O.length),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},function(module,exports){exports.f=Object.getOwnPropertySymbols},function(module,exports,__webpack_require__){var fails=__webpack_require__(6),replacement=/#|\.prototype\./,isForced=function(feature,detection){var value=data[normalize(feature)];return value==POLYFILL||value!=NATIVE&&("function"==typeof detection?fails(detection):!!detection)},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced},function(module,exports,__webpack_require__){"use strict";var anObject=__webpack_require__(13);module.exports=function(){var that=anObject(this),result="";return that.global&&(result+="g"),that.ignoreCase&&(result+="i"),that.multiline&&(result+="m"),that.dotAll&&(result+="s"),that.unicode&&(result+="u"),that.sticky&&(result+="y"),result}},function(module,exports,__webpack_require__){"use strict";var fails=__webpack_require__(6);function RE(s,f){return RegExp(s,f)}exports.UNSUPPORTED_Y=fails((function(){var re=RE("a","y");return re.lastIndex=2,null!=re.exec("abcd")})),exports.BROKEN_CARET=fails((function(){var re=RE("^r","gy");return re.lastIndex=2,null!=re.exec("str")}))},function(module,exports,__webpack_require__){var NATIVE_SYMBOL=__webpack_require__(60);module.exports=NATIVE_SYMBOL&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(module,exports,__webpack_require__){"use strict";var charAt=__webpack_require__(84).charAt;module.exports=function(S,index,unicode){return index+(unicode?charAt(S,index).length:1)}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(14),requireObjectCoercible=__webpack_require__(27),createMethod=function(CONVERT_TO_STRING){return function($this,pos){var first,second,S=String(requireObjectCoercible($this)),position=toInteger(pos),size=S.length;return position<0||position>=size?CONVERT_TO_STRING?"":void 0:(first=S.charCodeAt(position))<55296||first>56319||position+1===size||(second=S.charCodeAt(position+1))<56320||second>57343?CONVERT_TO_STRING?S.charAt(position):first:CONVERT_TO_STRING?S.slice(position,position+2):second-56320+(first-55296<<10)+65536}};module.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}},function(module,exports,__webpack_require__){var classof=__webpack_require__(26),regexpExec=__webpack_require__(42);module.exports=function(R,S){var exec=R.exec;if("function"==typeof exec){var result=exec.call(R,S);if("object"!=typeof result)throw TypeError("RegExp exec method returned something other than an Object or null");return result}if("RegExp"!==classof(R))throw TypeError("RegExp#exec called on incompatible receiver");return regexpExec.call(R,S)}},function(module,exports,__webpack_require__){__webpack_require__(87)("Uint8",(function(init){return function(data,byteOffset,length){return init(this,data,byteOffset,length)}}))},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(31),global=__webpack_require__(1),DESCRIPTORS=__webpack_require__(7),TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS=__webpack_require__(88),ArrayBufferViewCore=__webpack_require__(43),ArrayBufferModule=__webpack_require__(93),anInstance=__webpack_require__(62),createPropertyDescriptor=__webpack_require__(24),createNonEnumerableProperty=__webpack_require__(5),toLength=__webpack_require__(10),toIndex=__webpack_require__(63),toOffset=__webpack_require__(97),toPrimitive=__webpack_require__(33),has=__webpack_require__(4),classof=__webpack_require__(44),isObject=__webpack_require__(8),create=__webpack_require__(46),setPrototypeOf=__webpack_require__(20),getOwnPropertyNames=__webpack_require__(40).f,typedArrayFrom=__webpack_require__(102),forEach=__webpack_require__(106).forEach,setSpecies=__webpack_require__(109),definePropertyModule=__webpack_require__(9),getOwnPropertyDescriptorModule=__webpack_require__(32),InternalStateModule=__webpack_require__(28),inheritIfRequired=__webpack_require__(110),getInternalState=InternalStateModule.get,setInternalState=InternalStateModule.set,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,round=Math.round,RangeError=global.RangeError,ArrayBuffer=ArrayBufferModule.ArrayBuffer,DataView=ArrayBufferModule.DataView,NATIVE_ARRAY_BUFFER_VIEWS=ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS,TYPED_ARRAY_TAG=ArrayBufferViewCore.TYPED_ARRAY_TAG,TypedArray=ArrayBufferViewCore.TypedArray,TypedArrayPrototype=ArrayBufferViewCore.TypedArrayPrototype,aTypedArrayConstructor=ArrayBufferViewCore.aTypedArrayConstructor,isTypedArray=ArrayBufferViewCore.isTypedArray,fromList=function(C,list){for(var index=0,length=list.length,result=new(aTypedArrayConstructor(C))(length);length>index;)result[index]=list[index++];return result},addGetter=function(it,key){nativeDefineProperty(it,key,{get:function(){return getInternalState(this)[key]}})},isArrayBuffer=function(it){var klass;return it instanceof ArrayBuffer||"ArrayBuffer"==(klass=classof(it))||"SharedArrayBuffer"==klass},isTypedArrayIndex=function(target,key){return isTypedArray(target)&&"symbol"!=typeof key&&key in target&&String(+key)==String(key)},wrappedGetOwnPropertyDescriptor=function(target,key){return isTypedArrayIndex(target,key=toPrimitive(key,!0))?createPropertyDescriptor(2,target[key]):nativeGetOwnPropertyDescriptor(target,key)},wrappedDefineProperty=function(target,key,descriptor){return!(isTypedArrayIndex(target,key=toPrimitive(key,!0))&&isObject(descriptor)&&has(descriptor,"value"))||has(descriptor,"get")||has(descriptor,"set")||descriptor.configurable||has(descriptor,"writable")&&!descriptor.writable||has(descriptor,"enumerable")&&!descriptor.enumerable?nativeDefineProperty(target,key,descriptor):(target[key]=descriptor.value,target)};DESCRIPTORS?(NATIVE_ARRAY_BUFFER_VIEWS||(getOwnPropertyDescriptorModule.f=wrappedGetOwnPropertyDescriptor,definePropertyModule.f=wrappedDefineProperty,addGetter(TypedArrayPrototype,"buffer"),addGetter(TypedArrayPrototype,"byteOffset"),addGetter(TypedArrayPrototype,"byteLength"),addGetter(TypedArrayPrototype,"length")),$({target:"Object",stat:!0,forced:!NATIVE_ARRAY_BUFFER_VIEWS},{getOwnPropertyDescriptor:wrappedGetOwnPropertyDescriptor,defineProperty:wrappedDefineProperty}),module.exports=function(TYPE,wrapper,CLAMPED){var BYTES=TYPE.match(/\d+$/)[0]/8,CONSTRUCTOR_NAME=TYPE+(CLAMPED?"Clamped":"")+"Array",GETTER="get"+TYPE,SETTER="set"+TYPE,NativeTypedArrayConstructor=global[CONSTRUCTOR_NAME],TypedArrayConstructor=NativeTypedArrayConstructor,TypedArrayConstructorPrototype=TypedArrayConstructor&&TypedArrayConstructor.prototype,exported={},addElement=function(that,index){nativeDefineProperty(that,index,{get:function(){return function(that,index){var data=getInternalState(that);return data.view[GETTER](index*BYTES+data.byteOffset,!0)}(this,index)},set:function(value){return function(that,index,value){var data=getInternalState(that);CLAMPED&&(value=(value=round(value))<0?0:value>255?255:255&value),data.view[SETTER](index*BYTES+data.byteOffset,value,!0)}(this,index,value)},enumerable:!0})};NATIVE_ARRAY_BUFFER_VIEWS?TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS&&(TypedArrayConstructor=wrapper((function(dummy,data,typedArrayOffset,$length){return anInstance(dummy,TypedArrayConstructor,CONSTRUCTOR_NAME),inheritIfRequired(isObject(data)?isArrayBuffer(data)?void 0!==$length?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES),$length):void 0!==typedArrayOffset?new NativeTypedArrayConstructor(data,toOffset(typedArrayOffset,BYTES)):new NativeTypedArrayConstructor(data):isTypedArray(data)?fromList(TypedArrayConstructor,data):typedArrayFrom.call(TypedArrayConstructor,data):new NativeTypedArrayConstructor(toIndex(data)),dummy,TypedArrayConstructor)})),setPrototypeOf&&setPrototypeOf(TypedArrayConstructor,TypedArray),forEach(getOwnPropertyNames(NativeTypedArrayConstructor),(function(key){key in TypedArrayConstructor||createNonEnumerableProperty(TypedArrayConstructor,key,NativeTypedArrayConstructor[key])})),TypedArrayConstructor.prototype=TypedArrayConstructorPrototype):(TypedArrayConstructor=wrapper((function(that,data,offset,$length){anInstance(that,TypedArrayConstructor,CONSTRUCTOR_NAME);var buffer,byteLength,length,index=0,byteOffset=0;if(isObject(data)){if(!isArrayBuffer(data))return isTypedArray(data)?fromList(TypedArrayConstructor,data):typedArrayFrom.call(TypedArrayConstructor,data);buffer=data,byteOffset=toOffset(offset,BYTES);var $len=data.byteLength;if(void 0===$length){if($len%BYTES)throw RangeError("Wrong length");if((byteLength=$len-byteOffset)<0)throw RangeError("Wrong length")}else if((byteLength=toLength($length)*BYTES)+byteOffset>$len)throw RangeError("Wrong length");length=byteLength/BYTES}else length=toIndex(data),buffer=new ArrayBuffer(byteLength=length*BYTES);for(setInternalState(that,{buffer:buffer,byteOffset:byteOffset,byteLength:byteLength,length:length,view:new DataView(buffer)});index<length;)addElement(that,index++)})),setPrototypeOf&&setPrototypeOf(TypedArrayConstructor,TypedArray),TypedArrayConstructorPrototype=TypedArrayConstructor.prototype=create(TypedArrayPrototype)),TypedArrayConstructorPrototype.constructor!==TypedArrayConstructor&&createNonEnumerableProperty(TypedArrayConstructorPrototype,"constructor",TypedArrayConstructor),TYPED_ARRAY_TAG&&createNonEnumerableProperty(TypedArrayConstructorPrototype,TYPED_ARRAY_TAG,CONSTRUCTOR_NAME),exported[CONSTRUCTOR_NAME]=TypedArrayConstructor,$({global:!0,forced:TypedArrayConstructor!=NativeTypedArrayConstructor,sham:!NATIVE_ARRAY_BUFFER_VIEWS},exported),"BYTES_PER_ELEMENT"in TypedArrayConstructor||createNonEnumerableProperty(TypedArrayConstructor,"BYTES_PER_ELEMENT",BYTES),"BYTES_PER_ELEMENT"in TypedArrayConstructorPrototype||createNonEnumerableProperty(TypedArrayConstructorPrototype,"BYTES_PER_ELEMENT",BYTES),setSpecies(CONSTRUCTOR_NAME)}):module.exports=function(){}},function(module,exports,__webpack_require__){var global=__webpack_require__(1),fails=__webpack_require__(6),checkCorrectnessOfIteration=__webpack_require__(89),NATIVE_ARRAY_BUFFER_VIEWS=__webpack_require__(43).NATIVE_ARRAY_BUFFER_VIEWS,ArrayBuffer=global.ArrayBuffer,Int8Array=global.Int8Array;module.exports=!NATIVE_ARRAY_BUFFER_VIEWS||!fails((function(){Int8Array(1)}))||!fails((function(){new Int8Array(-1)}))||!checkCorrectnessOfIteration((function(iterable){new Int8Array,new Int8Array(null),new Int8Array(1.5),new Int8Array(iterable)}),!0)||fails((function(){return 1!==new Int8Array(new ArrayBuffer(2),1,void 0).length}))},function(module,exports,__webpack_require__){var ITERATOR=__webpack_require__(2)("iterator"),SAFE_CLOSING=!1;try{var called=0,iteratorWithReturn={next:function(){return{done:!!called++}},return:function(){SAFE_CLOSING=!0}};iteratorWithReturn[ITERATOR]=function(){return this},Array.from(iteratorWithReturn,(function(){throw 2}))}catch(error){}module.exports=function(exec,SKIP_CLOSING){if(!SKIP_CLOSING&&!SAFE_CLOSING)return!1;var ITERATION_SUPPORT=!1;try{var object={};object[ITERATOR]=function(){return{next:function(){return{done:ITERATION_SUPPORT=!0}}}},exec(object)}catch(error){}return ITERATION_SUPPORT}},function(module,exports,__webpack_require__){var test={};test[__webpack_require__(2)("toStringTag")]="z",module.exports="[object z]"===String(test)},function(module,exports,__webpack_require__){var fails=__webpack_require__(6);module.exports=!fails((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype}))},function(module,exports,__webpack_require__){var isObject=__webpack_require__(8);module.exports=function(it){if(!isObject(it)&&null!==it)throw TypeError("Can't set "+String(it)+" as a prototype");return it}},function(module,exports,__webpack_require__){"use strict";var global=__webpack_require__(1),DESCRIPTORS=__webpack_require__(7),NATIVE_ARRAY_BUFFER=__webpack_require__(61),createNonEnumerableProperty=__webpack_require__(5),redefineAll=__webpack_require__(94),fails=__webpack_require__(6),anInstance=__webpack_require__(62),toInteger=__webpack_require__(14),toLength=__webpack_require__(10),toIndex=__webpack_require__(63),IEEE754=__webpack_require__(95),getPrototypeOf=__webpack_require__(29),setPrototypeOf=__webpack_require__(20),getOwnPropertyNames=__webpack_require__(40).f,defineProperty=__webpack_require__(9).f,arrayFill=__webpack_require__(96),setToStringTag=__webpack_require__(45),InternalStateModule=__webpack_require__(28),getInternalState=InternalStateModule.get,setInternalState=InternalStateModule.set,NativeArrayBuffer=global.ArrayBuffer,$ArrayBuffer=NativeArrayBuffer,$DataView=global.DataView,$DataViewPrototype=$DataView&&$DataView.prototype,ObjectPrototype=Object.prototype,RangeError=global.RangeError,packIEEE754=IEEE754.pack,unpackIEEE754=IEEE754.unpack,packInt8=function(number){return[255&number]},packInt16=function(number){return[255&number,number>>8&255]},packInt32=function(number){return[255&number,number>>8&255,number>>16&255,number>>24&255]},unpackInt32=function(buffer){return buffer[3]<<24|buffer[2]<<16|buffer[1]<<8|buffer[0]},packFloat32=function(number){return packIEEE754(number,23,4)},packFloat64=function(number){return packIEEE754(number,52,8)},addGetter=function(Constructor,key){defineProperty(Constructor.prototype,key,{get:function(){return getInternalState(this)[key]}})},get=function(view,count,index,isLittleEndian){var intIndex=toIndex(index),store=getInternalState(view);if(intIndex+count>store.byteLength)throw RangeError("Wrong index");var bytes=getInternalState(store.buffer).bytes,start=intIndex+store.byteOffset,pack=bytes.slice(start,start+count);return isLittleEndian?pack:pack.reverse()},set=function(view,count,index,conversion,value,isLittleEndian){var intIndex=toIndex(index),store=getInternalState(view);if(intIndex+count>store.byteLength)throw RangeError("Wrong index");for(var bytes=getInternalState(store.buffer).bytes,start=intIndex+store.byteOffset,pack=conversion(+value),i=0;i<count;i++)bytes[start+i]=pack[isLittleEndian?i:count-i-1]};if(NATIVE_ARRAY_BUFFER){if(!fails((function(){NativeArrayBuffer(1)}))||!fails((function(){new NativeArrayBuffer(-1)}))||fails((function(){return new NativeArrayBuffer,new NativeArrayBuffer(1.5),new NativeArrayBuffer(NaN),"ArrayBuffer"!=NativeArrayBuffer.name}))){for(var key,ArrayBufferPrototype=($ArrayBuffer=function(length){return anInstance(this,$ArrayBuffer),new NativeArrayBuffer(toIndex(length))}).prototype=NativeArrayBuffer.prototype,keys=getOwnPropertyNames(NativeArrayBuffer),j=0;keys.length>j;)(key=keys[j++])in $ArrayBuffer||createNonEnumerableProperty($ArrayBuffer,key,NativeArrayBuffer[key]);ArrayBufferPrototype.constructor=$ArrayBuffer}setPrototypeOf&&getPrototypeOf($DataViewPrototype)!==ObjectPrototype&&setPrototypeOf($DataViewPrototype,ObjectPrototype);var testView=new $DataView(new $ArrayBuffer(2)),nativeSetInt8=$DataViewPrototype.setInt8;testView.setInt8(0,2147483648),testView.setInt8(1,2147483649),!testView.getInt8(0)&&testView.getInt8(1)||redefineAll($DataViewPrototype,{setInt8:function(byteOffset,value){nativeSetInt8.call(this,byteOffset,value<<24>>24)},setUint8:function(byteOffset,value){nativeSetInt8.call(this,byteOffset,value<<24>>24)}},{unsafe:!0})}else $ArrayBuffer=function(length){anInstance(this,$ArrayBuffer,"ArrayBuffer");var byteLength=toIndex(length);setInternalState(this,{bytes:arrayFill.call(new Array(byteLength),0),byteLength:byteLength}),DESCRIPTORS||(this.byteLength=byteLength)},$DataView=function(buffer,byteOffset,byteLength){anInstance(this,$DataView,"DataView"),anInstance(buffer,$ArrayBuffer,"DataView");var bufferLength=getInternalState(buffer).byteLength,offset=toInteger(byteOffset);if(offset<0||offset>bufferLength)throw RangeError("Wrong offset");if(offset+(byteLength=void 0===byteLength?bufferLength-offset:toLength(byteLength))>bufferLength)throw RangeError("Wrong length");setInternalState(this,{buffer:buffer,byteLength:byteLength,byteOffset:offset}),DESCRIPTORS||(this.buffer=buffer,this.byteLength=byteLength,this.byteOffset=offset)},DESCRIPTORS&&(addGetter($ArrayBuffer,"byteLength"),addGetter($DataView,"buffer"),addGetter($DataView,"byteLength"),addGetter($DataView,"byteOffset")),redefineAll($DataView.prototype,{getInt8:function(byteOffset){return get(this,1,byteOffset)[0]<<24>>24},getUint8:function(byteOffset){return get(this,1,byteOffset)[0]},getInt16:function(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1?arguments[1]:void 0);return(bytes[1]<<8|bytes[0])<<16>>16},getUint16:function(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1?arguments[1]:void 0);return bytes[1]<<8|bytes[0]},getInt32:function(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1?arguments[1]:void 0))},getUint32:function(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(byteOffset){return unpackIEEE754(get(this,4,byteOffset,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(byteOffset){return unpackIEEE754(get(this,8,byteOffset,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setUint8:function(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setInt16:function(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2?arguments[2]:void 0)},setUint16:function(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2?arguments[2]:void 0)},setInt32:function(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2?arguments[2]:void 0)},setUint32:function(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2?arguments[2]:void 0)},setFloat32:function(byteOffset,value){set(this,4,byteOffset,packFloat32,value,arguments.length>2?arguments[2]:void 0)},setFloat64:function(byteOffset,value){set(this,8,byteOffset,packFloat64,value,arguments.length>2?arguments[2]:void 0)}});setToStringTag($ArrayBuffer,"ArrayBuffer"),setToStringTag($DataView,"DataView"),module.exports={ArrayBuffer:$ArrayBuffer,DataView:$DataView}},function(module,exports,__webpack_require__){var redefine=__webpack_require__(18);module.exports=function(target,src,options){for(var key in src)redefine(target,key,src[key],options);return target}},function(module,exports){var abs=Math.abs,pow=Math.pow,floor=Math.floor,log=Math.log,LN2=Math.LN2;module.exports={pack:function(number,mantissaLength,bytes){var exponent,mantissa,c,buffer=new Array(bytes),exponentLength=8*bytes-mantissaLength-1,eMax=(1<<exponentLength)-1,eBias=eMax>>1,rt=23===mantissaLength?pow(2,-24)-pow(2,-77):0,sign=number<0||0===number&&1/number<0?1:0,index=0;for((number=abs(number))!=number||number===1/0?(mantissa=number!=number?1:0,exponent=eMax):(exponent=floor(log(number)/LN2),number*(c=pow(2,-exponent))<1&&(exponent--,c*=2),(number+=exponent+eBias>=1?rt/c:rt*pow(2,1-eBias))*c>=2&&(exponent++,c/=2),exponent+eBias>=eMax?(mantissa=0,exponent=eMax):exponent+eBias>=1?(mantissa=(number*c-1)*pow(2,mantissaLength),exponent+=eBias):(mantissa=number*pow(2,eBias-1)*pow(2,mantissaLength),exponent=0));mantissaLength>=8;buffer[index++]=255&mantissa,mantissa/=256,mantissaLength-=8);for(exponent=exponent<<mantissaLength|mantissa,exponentLength+=mantissaLength;exponentLength>0;buffer[index++]=255&exponent,exponent/=256,exponentLength-=8);return buffer[--index]|=128*sign,buffer},unpack:function(buffer,mantissaLength){var mantissa,bytes=buffer.length,exponentLength=8*bytes-mantissaLength-1,eMax=(1<<exponentLength)-1,eBias=eMax>>1,nBits=exponentLength-7,index=bytes-1,sign=buffer[index--],exponent=127&sign;for(sign>>=7;nBits>0;exponent=256*exponent+buffer[index],index--,nBits-=8);for(mantissa=exponent&(1<<-nBits)-1,exponent>>=-nBits,nBits+=mantissaLength;nBits>0;mantissa=256*mantissa+buffer[index],index--,nBits-=8);if(0===exponent)exponent=1-eBias;else{if(exponent===eMax)return mantissa?NaN:sign?-1/0:1/0;mantissa+=pow(2,mantissaLength),exponent-=eBias}return(sign?-1:1)*mantissa*pow(2,exponent-mantissaLength)}}},function(module,exports,__webpack_require__){"use strict";var toObject=__webpack_require__(19),toAbsoluteIndex=__webpack_require__(59),toLength=__webpack_require__(10);module.exports=function(value){for(var O=toObject(this),length=toLength(O.length),argumentsLength=arguments.length,index=toAbsoluteIndex(argumentsLength>1?arguments[1]:void 0,length),end=argumentsLength>2?arguments[2]:void 0,endPos=void 0===end?length:toAbsoluteIndex(end,length);endPos>index;)O[index++]=value;return O}},function(module,exports,__webpack_require__){var toPositiveInteger=__webpack_require__(98);module.exports=function(it,BYTES){var offset=toPositiveInteger(it);if(offset%BYTES)throw RangeError("Wrong offset");return offset}},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(14);module.exports=function(it){var result=toInteger(it);if(result<0)throw RangeError("The argument can't be less than 0");return result}},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(7),definePropertyModule=__webpack_require__(9),anObject=__webpack_require__(13),objectKeys=__webpack_require__(100);module.exports=DESCRIPTORS?Object.defineProperties:function(O,Properties){anObject(O);for(var key,keys=objectKeys(Properties),length=keys.length,index=0;length>index;)definePropertyModule.f(O,key=keys[index++],Properties[key]);return O}},function(module,exports,__webpack_require__){var internalObjectKeys=__webpack_require__(58),enumBugKeys=__webpack_require__(41);module.exports=Object.keys||function(O){return internalObjectKeys(O,enumBugKeys)}},function(module,exports,__webpack_require__){var getBuiltIn=__webpack_require__(39);module.exports=getBuiltIn("document","documentElement")},function(module,exports,__webpack_require__){var toObject=__webpack_require__(19),toLength=__webpack_require__(10),getIteratorMethod=__webpack_require__(103),isArrayIteratorMethod=__webpack_require__(104),bind=__webpack_require__(64),aTypedArrayConstructor=__webpack_require__(43).aTypedArrayConstructor;module.exports=function(source){var i,length,result,step,iterator,next,O=toObject(source),argumentsLength=arguments.length,mapfn=argumentsLength>1?arguments[1]:void 0,mapping=void 0!==mapfn,iteratorMethod=getIteratorMethod(O);if(null!=iteratorMethod&&!isArrayIteratorMethod(iteratorMethod))for(next=(iterator=iteratorMethod.call(O)).next,O=[];!(step=next.call(iterator)).done;)O.push(step.value);for(mapping&&argumentsLength>2&&(mapfn=bind(mapfn,arguments[2],2)),length=toLength(O.length),result=new(aTypedArrayConstructor(this))(length),i=0;length>i;i++)result[i]=mapping?mapfn(O[i],i):O[i];return result}},function(module,exports,__webpack_require__){var classof=__webpack_require__(44),Iterators=__webpack_require__(21),ITERATOR=__webpack_require__(2)("iterator");module.exports=function(it){if(null!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__webpack_require__){var wellKnownSymbol=__webpack_require__(2),Iterators=__webpack_require__(21),ITERATOR=wellKnownSymbol("iterator"),ArrayPrototype=Array.prototype;module.exports=function(it){return void 0!==it&&(Iterators.Array===it||ArrayPrototype[ITERATOR]===it)}},function(module,exports){module.exports=function(it){if("function"!=typeof it)throw TypeError(String(it)+" is not a function");return it}},function(module,exports,__webpack_require__){var bind=__webpack_require__(64),IndexedObject=__webpack_require__(52),toObject=__webpack_require__(19),toLength=__webpack_require__(10),arraySpeciesCreate=__webpack_require__(107),push=[].push,createMethod=function(TYPE){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX;return function($this,callbackfn,that,specificCreate){for(var value,result,O=toObject($this),self=IndexedObject(O),boundFunction=bind(callbackfn,that,3),length=toLength(self.length),index=0,create=specificCreate||arraySpeciesCreate,target=IS_MAP?create($this,length):IS_FILTER?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(result=boundFunction(value=self[index],index,O),TYPE))if(IS_MAP)target[index]=result;else if(result)switch(TYPE){case 3:return!0;case 5:return value;case 6:return index;case 2:push.call(target,value)}else if(IS_EVERY)return!1;return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:target}};module.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(8),isArray=__webpack_require__(108),SPECIES=__webpack_require__(2)("species");module.exports=function(originalArray,length){var C;return isArray(originalArray)&&("function"!=typeof(C=originalArray.constructor)||C!==Array&&!isArray(C.prototype)?isObject(C)&&null===(C=C[SPECIES])&&(C=void 0):C=void 0),new(void 0===C?Array:C)(0===length?0:length)}},function(module,exports,__webpack_require__){var classof=__webpack_require__(26);module.exports=Array.isArray||function(arg){return"Array"==classof(arg)}},function(module,exports,__webpack_require__){"use strict";var getBuiltIn=__webpack_require__(39),definePropertyModule=__webpack_require__(9),wellKnownSymbol=__webpack_require__(2),DESCRIPTORS=__webpack_require__(7),SPECIES=wellKnownSymbol("species");module.exports=function(CONSTRUCTOR_NAME){var Constructor=getBuiltIn(CONSTRUCTOR_NAME),defineProperty=definePropertyModule.f;DESCRIPTORS&&Constructor&&!Constructor[SPECIES]&&defineProperty(Constructor,SPECIES,{configurable:!0,get:function(){return this}})}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(8),setPrototypeOf=__webpack_require__(20);module.exports=function($this,dummy,Wrapper){var NewTarget,NewTargetPrototype;return setPrototypeOf&&"function"==typeof(NewTarget=dummy.constructor)&&NewTarget!==Wrapper&&isObject(NewTargetPrototype=NewTarget.prototype)&&NewTargetPrototype!==Wrapper.prototype&&setPrototypeOf($this,NewTargetPrototype),$this}},function(module,exports){module.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(module,exports,__webpack_require__){"use strict";var toIndexedObject=__webpack_require__(25),addToUnscopables=__webpack_require__(113),Iterators=__webpack_require__(21),InternalStateModule=__webpack_require__(28),defineIterator=__webpack_require__(114),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Array Iterator");module.exports=defineIterator(Array,"Array",(function(iterated,kind){setInternalState(this,{type:"Array Iterator",target:toIndexedObject(iterated),index:0,kind:kind})}),(function(){var state=getInternalState(this),target=state.target,kind=state.kind,index=state.index++;return!target||index>=target.length?(state.target=void 0,{value:void 0,done:!0}):"keys"==kind?{value:index,done:!1}:"values"==kind?{value:target[index],done:!1}:{value:[index,target[index]],done:!1}}),"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},function(module,exports,__webpack_require__){var wellKnownSymbol=__webpack_require__(2),create=__webpack_require__(46),definePropertyModule=__webpack_require__(9),UNSCOPABLES=wellKnownSymbol("unscopables"),ArrayPrototype=Array.prototype;null==ArrayPrototype[UNSCOPABLES]&&definePropertyModule.f(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create(null)}),module.exports=function(key){ArrayPrototype[UNSCOPABLES][key]=!0}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(31),createIteratorConstructor=__webpack_require__(115),getPrototypeOf=__webpack_require__(29),setPrototypeOf=__webpack_require__(20),setToStringTag=__webpack_require__(45),createNonEnumerableProperty=__webpack_require__(5),redefine=__webpack_require__(18),wellKnownSymbol=__webpack_require__(2),IS_PURE=__webpack_require__(36),Iterators=__webpack_require__(21),IteratorsCore=__webpack_require__(65),IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR=wellKnownSymbol("iterator"),returnThis=function(){return this};module.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);var CurrentIteratorPrototype,methods,KEY,getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case"keys":case"values":case"entries":return function(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator="Array"==NAME&&IterablePrototype.entries||nativeIterator;if(anyNativeIterator&&(CurrentIteratorPrototype=getPrototypeOf(anyNativeIterator.call(new Iterable)),IteratorPrototype!==Object.prototype&&CurrentIteratorPrototype.next&&(IS_PURE||getPrototypeOf(CurrentIteratorPrototype)===IteratorPrototype||(setPrototypeOf?setPrototypeOf(CurrentIteratorPrototype,IteratorPrototype):"function"!=typeof CurrentIteratorPrototype[ITERATOR]&&createNonEnumerableProperty(CurrentIteratorPrototype,ITERATOR,returnThis)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis))),"values"==DEFAULT&&nativeIterator&&"values"!==nativeIterator.name&&(INCORRECT_VALUES_NAME=!0,defaultIterator=function(){return nativeIterator.call(this)}),IS_PURE&&!FORCED||IterablePrototype[ITERATOR]===defaultIterator||createNonEnumerableProperty(IterablePrototype,ITERATOR,defaultIterator),Iterators[NAME]=defaultIterator,DEFAULT)if(methods={values:getIterationMethod("values"),keys:IS_SET?defaultIterator:getIterationMethod("keys"),entries:getIterationMethod("entries")},FORCED)for(KEY in methods)!BUGGY_SAFARI_ITERATORS&&!INCORRECT_VALUES_NAME&&KEY in IterablePrototype||redefine(IterablePrototype,KEY,methods[KEY]);else $({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods);return methods}},function(module,exports,__webpack_require__){"use strict";var IteratorPrototype=__webpack_require__(65).IteratorPrototype,create=__webpack_require__(46),createPropertyDescriptor=__webpack_require__(24),setToStringTag=__webpack_require__(45),Iterators=__webpack_require__(21),returnThis=function(){return this};module.exports=function(IteratorConstructor,NAME,next){var TO_STRING_TAG=NAME+" Iterator";return IteratorConstructor.prototype=create(IteratorPrototype,{next:createPropertyDescriptor(1,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1,!0),Iterators[TO_STRING_TAG]=returnThis,IteratorConstructor}},function(module,exports){module.exports.default={types:{float:{filter_operator:"==",aggregate:"sum",format:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2}},string:{filter_operator:"==",aggregate:"count"},integer:{filter_operator:"==",aggregate:"sum",format:{}},boolean:{filter_operator:"==",aggregate:"count"},datetime:{filter_operator:"==",aggregate:"count",format:{week:"numeric",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},null_value:-1},date:{filter_operator:"==",aggregate:"count",format:{week:"numeric",year:"numeric",month:"numeric",day:"numeric"},null_value:-1}}}},function(module,exports){module.exports.default=function(){}},function(module,exports){module.exports=function(module){return module.webpackPolyfill||(module.deprecate=function(){},module.paths=[],module.children||(module.children=[]),Object.defineProperty(module,"loaded",{enumerable:!0,get:function(){return module.l}}),Object.defineProperty(module,"id",{enumerable:!0,get:function(){return module.i}}),module.webpackPolyfill=1),module}},function(module,exports,__webpack_require__){var map={"./es":120,"./fr":121};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=119},function(module,exports,__webpack_require__){!function(moment){"use strict";var monthsShortDot="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),monthsShort="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),monthsParse=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],monthsRegex=/^(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;moment.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(m,format){return m?/-MMM-/.test(format)?monthsShort[m.month()]:monthsShortDot[m.month()]:monthsShortDot},monthsRegex:monthsRegex,monthsShortRegex:monthsRegex,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:monthsParse,longMonthsParse:monthsParse,shortMonthsParse:monthsParse,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",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}})}(__webpack_require__(11))},function(module,exports,__webpack_require__){!function(moment){"use strict";moment.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("_"),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|)/,ordinal:function(number,period){switch(period){case"D":return number+(1===number?"er":"");default:case"M":case"Q":case"DDD":case"d":return number+(1===number?"er":"e");case"w":case"W":return number+(1===number?"re":"e")}},week:{dow:1,doy:4}})}(__webpack_require__(11))},function(module,exports){module.exports=function(){var ua=window.navigator.userAgent,msie=ua.indexOf("MSIE ");if(msie>0)return parseInt(ua.substring(msie+5,ua.indexOf(".",msie)),10);if(ua.indexOf("Trident/")>0){var rv=ua.indexOf("rv:");return parseInt(ua.substring(rv+3,ua.indexOf(".",rv)),10)}var edge=ua.indexOf("Edge/");return edge>0&&parseInt(ua.substring(edge+5,ua.indexOf(".",edge)),10)}}]);
8//# sourceMappingURL=perspective.wasm.worker.js.map
\No newline at end of file