0d012ebea1
This reverts commit6b3842cf50
, reversing changes made to6b1282a829
.
1 line
385 KiB
Plaintext
1 line
385 KiB
Plaintext
{"version":3,"sources":["webpack:///./node_modules/es-abstract/GetIntrinsic.js","webpack:///./node_modules/define-properties/index.js","webpack:///./node_modules/function-bind/index.js","webpack:///./node_modules/ext/global-this/index.js","webpack:///./node_modules/d/index.js","webpack:///./node_modules/es-abstract/helpers/callBound.js","webpack:///./node_modules/es5-ext/object/is-value.js","webpack:///./node_modules/has-symbols/index.js","webpack:///./node_modules/es-abstract/helpers/isNaN.js","webpack:///./node_modules/promise.prototype.finally/requirePromise.js","webpack:///./node_modules/intl/index.js","webpack:///./node_modules/intl/locale-data/jsonp/en.js","webpack:///./node_modules/es6-symbol/implement.js","webpack:///./node_modules/type/value/is.js","webpack:///./node_modules/es6-symbol/validate-symbol.js","webpack:///./node_modules/array-includes/index.js","webpack:///./node_modules/object-keys/isArguments.js","webpack:///./node_modules/es-abstract/2018/RequireObjectCoercible.js","webpack:///./node_modules/es-abstract/5/CheckObjectCoercible.js","webpack:///./node_modules/es-abstract/helpers/callBind.js","webpack:///./node_modules/array-includes/implementation.js","webpack:///./node_modules/es-abstract/2018/ToInteger.js","webpack:///./node_modules/es-abstract/helpers/isFinite.js","webpack:///./node_modules/is-callable/index.js","webpack:///./node_modules/array-includes/polyfill.js","webpack:///./node_modules/object.values/index.js","webpack:///./node_modules/object.values/implementation.js","webpack:///./node_modules/object.values/polyfill.js","webpack:///./node_modules/is-nan/index.js","webpack:///./node_modules/is-nan/implementation.js","webpack:///./node_modules/is-nan/polyfill.js","webpack:///./node_modules/promise.prototype.finally/index.js","webpack:///./node_modules/promise.prototype.finally/implementation.js","webpack:///./node_modules/promise.prototype.finally/node_modules/es-abstract/2018/Type.js","webpack:///./node_modules/promise.prototype.finally/polyfill.js","webpack:///./node_modules/intl/lib/core.js","webpack:///./node_modules/es6-symbol/is-implemented.js","webpack:///./node_modules/ext/global-this/is-implemented.js","webpack:///./node_modules/ext/global-this/implementation.js","webpack:///./node_modules/es6-symbol/polyfill.js","webpack:///./node_modules/type/plain-function/is.js","webpack:///./node_modules/type/function/is.js","webpack:///./node_modules/type/prototype/is.js","webpack:///./node_modules/type/object/is.js","webpack:///./node_modules/es5-ext/object/assign/index.js","webpack:///./node_modules/es5-ext/object/assign/is-implemented.js","webpack:///./node_modules/es5-ext/object/assign/shim.js","webpack:///./node_modules/es5-ext/object/keys/index.js","webpack:///./node_modules/es5-ext/object/keys/is-implemented.js","webpack:///./node_modules/es5-ext/object/keys/shim.js","webpack:///./node_modules/es5-ext/function/noop.js","webpack:///./node_modules/es5-ext/object/valid-value.js","webpack:///./node_modules/es5-ext/object/normalize-options.js","webpack:///./node_modules/es5-ext/string/#/contains/index.js","webpack:///./node_modules/es5-ext/string/#/contains/is-implemented.js","webpack:///./node_modules/es5-ext/string/#/contains/shim.js","webpack:///./node_modules/es6-symbol/is-symbol.js","webpack:///./node_modules/es6-symbol/lib/private/generate-name.js","webpack:///./node_modules/es6-symbol/lib/private/setup/standard-symbols.js","webpack:///./node_modules/es6-symbol/lib/private/setup/symbol-registry.js","webpack:///./node_modules/object-keys/index.js","webpack:///./node_modules/object-keys/implementation.js","webpack:///./node_modules/has-symbols/shams.js","webpack:///./node_modules/function-bind/implementation.js","webpack:///./node_modules/es-abstract/5/ToInteger.js","webpack:///./node_modules/es-abstract/5/ToNumber.js","webpack:///./node_modules/es-abstract/helpers/sign.js","webpack:///./node_modules/es-abstract/2018/ToNumber.js","webpack:///./node_modules/es-abstract/helpers/regexTester.js","webpack:///./node_modules/es-abstract/helpers/isPrimitive.js","webpack:///./node_modules/es-abstract/2018/ToPrimitive.js","webpack:///./node_modules/es-to-primitive/es2015.js","webpack:///./node_modules/es-to-primitive/helpers/isPrimitive.js","webpack:///./node_modules/is-date-object/index.js","webpack:///./node_modules/is-symbol/index.js","webpack:///./node_modules/es-abstract/2018/ToLength.js","webpack:///./node_modules/es-abstract/helpers/maxSafeInteger.js","webpack:///./node_modules/es-abstract/2018/ToObject.js","webpack:///./node_modules/es-abstract/2018/SameValueZero.js","webpack:///./node_modules/is-string/index.js","webpack:///./node_modules/array-includes/shim.js","webpack:///./node_modules/has/src/index.js","webpack:///./node_modules/es-abstract/2019/RequireObjectCoercible.js","webpack:///./node_modules/object.values/shim.js","webpack:///./node_modules/is-nan/shim.js","webpack:///./node_modules/promise.prototype.finally/node_modules/es-abstract/2018/IsCallable.js","webpack:///./node_modules/promise.prototype.finally/node_modules/es-abstract/2018/SpeciesConstructor.js","webpack:///./node_modules/promise.prototype.finally/node_modules/es-abstract/GetIntrinsic.js","webpack:///./node_modules/promise.prototype.finally/node_modules/es-abstract/2018/IsConstructor.js","webpack:///./node_modules/promise.prototype.finally/node_modules/es-abstract/5/Type.js","webpack:///./node_modules/promise.prototype.finally/shim.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/mastodon/utils/base64.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/mastodon/base_polyfills.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/util/base_polyfills.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/util/base64.js","webpack:///./node_modules/object-assign/index.js"],"names":["$TypeError","TypeError","$gOPD","Object","getOwnPropertyDescriptor","e","throwTypeError","ThrowTypeError","arguments","callee","calleeThrows","get","gOPDthrows","hasSymbols","getProto","getPrototypeOf","x","__proto__","asyncGenIterator","undefined","TypedArray","Uint8Array","INTRINSICS","Array","ArrayBuffer","prototype","Symbol","iterator","entries","forEach","keys","values","asyncIterator","Atomics","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Error","eval","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","isFinite","isNaN","JSON","parse","Map","Math","Number","toString","valueOf","parseFloat","parseInt","Promise","then","all","reject","resolve","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","SyntaxError","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet","$replace","call","replace","rePropName","reEscapeChar","stringToPath","string","result","match","number","quote","subString","length","getBaseIntrinsic","name","allowMissing","module","exports","parts","value","i","desc","toStr","concat","origDefineProperty","defineProperty","supportsDescriptors","obj","_","enumerable","arePropertyDescriptorsSupported","object","predicate","fn","configurable","writable","defineProperties","map","predicates","props","getOwnPropertySymbols","implementation","bind","globalThis","isValue","isPlainFunction","assign","normalizeOpts","contains","dscr","c","w","options","gs","set","GetIntrinsic","callBind","$indexOf","intrinsic","_undefined","val","origSymbol","global","hasSymbolSham","a","IntlPolyfill","Intl","__applyLocaleSensitivePrototypes","__addLocaleData","locale","date","ca","hourNo0","hour12","formats","short","medium","full","long","availableFormats","Ed","Ehm","EHm","Ehms","EHms","Gy","GyMMM","GyMMMd","GyMMMEd","hm","Hm","hms","Hms","hmsv","Hmsv","hmv","Hmv","Md","MEd","MMM","MMMd","MMMEd","MMMMd","ms","yM","yMd","yMEd","yMMM","yMMMd","yMMMEd","yMMMM","yQQQ","yQQQQ","dateFormats","yMMMMEEEEd","yMMMMd","timeFormats","hmmsszzzz","hmsz","calendars","buddhist","months","narrow","days","eras","dayPeriods","am","pm","chinese","coptic","dangi","ethiopic","ethioaa","generic","gregory","hebrew","indian","islamic","islamicc","japanese","persian","roc","nu","patterns","decimal","positivePattern","negativePattern","currency","percent","symbols","latn","group","nan","plusSign","minusSign","percentSign","infinity","currencies","AUD","BRL","CAD","CNY","EUR","GBP","HKD","ILS","INR","JPY","KRW","MXN","NZD","TWD","USD","VND","XAF","XCD","XOF","XPF","isSymbol","define","RequireObjectCoercible","callBound","getPolyfill","polyfill","shim","$slice","boundIncludesShim","array","searchElement","apply","str","isArgs","optMessage","$Function","$apply","$call","ToInteger","ToLength","ToObject","SameValueZero","$isNaN","$isFinite","isString","$charAt","fromIndex","this","O","k","max","ES5ToInteger","ToNumber","Infinity","fnToStr","constructorRegex","isES6ClassFn","fnStr","test","hasToStringTag","toStringTag","tryFunctionObject","strClass","includes","has","$isEnumerable","vals","key","push","NaN","bound","requirePromise","IsCallable","SpeciesConstructor","Type","promiseResolve","C","OriginalPromise","promiseFinally","onFinally","thenFinally","catchFinally","createThenFinally","reason","createCatchFinally","descriptor","ES5Type","REACT_ELEMENT_TYPE","_typeof","constructor","jsx","for","type","children","defaultProps","childrenLength","propName","childArray","$$typeof","ref","_owner","createClass","target","Constructor","protoProps","staticProps","defineProperty$1","_extends","source","hasOwnProperty","selfGlobal","self","slicedToArray","arr","isArray","_arr","_n","_d","_e","_s","_i","next","done","err","sliceIterator","babelHelpers$1","freeze","asyncToGenerator","gen","step","arg","info","error","classCallCheck","instance","defineEnumerableProperties","descs","defaults","_defaults","getOwnPropertyNames","property","receiver","parent","getter","inherits","subClass","superClass","create","setPrototypeOf","interopRequireDefault","__esModule","default","interopRequireWildcard","newObj","newArrowCheck","innerThis","boundThis","objectDestructuringEmpty","objectWithoutProperties","indexOf","possibleConstructorReturn","setter","slicedToArrayLoose","_step","_iterator","taggedTemplateLiteral","strings","raw","taggedTemplateLiteralLoose","temporalRef","undef","temporalUndefined","toArray","from","toConsumableArray","arr2","typeof","extends","instanceof","left","right","hasInstance","realDefineProp","sentinel","es3","__defineGetter__","hop","arrIndexOf","search","t","objCreate","proto","F","arrSlice","slice","arrConcat","arrPush","arrJoin","join","arrShift","shift","fnBind","thisObj","args","internals","secret","random","Record","List","createRegExpRestore","disableRegExpRestore","regExpCache","lastMatch","leftContext","multiline","input","esc","lm","reg","m","exprStr","expr","lastIndex","exec","toObject","toNumber","toLength","len","floor","abs","toInteger","pow","min","getInternalProperties","__getInternalProperties","variant","extension","singleton","expBCP47Syntax","expVariantDupes","expSingletonDupes","expExtSequences","defaultLocale","redundantTags","tags","subtags","BU","DD","FX","TP","YD","ZR","heploc","iw","ji","jw","mo","ayx","bjd","ccq","cjr","cka","cmk","drh","drw","gav","hrr","ibi","kgh","lcq","mst","myt","sca","tie","tkk","tlw","tnf","ybd","yma","extLang","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","aed","aen","afb","afg","ajp","apc","apd","arb","arq","ars","ary","arz","ase","asf","asp","asq","asw","auz","avl","ayh","ayl","ayn","ayp","bbz","bfi","bfk","bjn","bog","bqn","bqy","btj","bve","bvl","bvu","bzs","cdo","cds","cjy","cmn","coa","cpx","csc","csd","cse","csf","csg","csl","csn","csq","csr","czh","czo","doq","dse","dsl","dup","ecs","esl","esn","eso","eth","fcs","fse","fsl","fss","gan","gds","gom","gse","gsg","gsm","gss","gus","hab","haf","hak","hds","hji","hks","hos","hps","hsh","hsl","hsn","icl","ils","inl","ins","ise","isg","isr","jak","jax","jcs","jhs","jls","jos","jsl","jus","kgi","knn","kvb","kvk","kvr","kxd","lbs","lce","lcf","liw","lls","lsg","lsl","lso","lsp","lst","lsy","ltg","lvs","lzh","mdl","meo","mfa","mfb","mfs","mnp","mqg","mre","msd","msi","msr","mui","mzc","mzg","mzy","nbs","ncs","nsi","nsl","nsp","nsr","nzs","okl","orn","ors","pel","pga","pks","prl","prz","psc","psd","pse","psg","psl","pso","psp","psr","pys","rms","rsi","rsl","sdl","sfb","sfs","sgg","sgx","shu","slf","sls","sqk","sqs","ssh","ssp","ssr","svk","swc","swh","swl","syy","tmw","tse","tsm","tsq","tss","tsy","tza","ugn","ugy","ukl","uks","urk","uzn","uzs","vgt","vkk","vkt","vsi","vsl","vsv","wuu","xki","xml","xmm","xms","yds","ysl","yue","zib","zlm","zmi","zsl","zsm","toLatinUpperCase","ch","charAt","toUpperCase","IsStructurallyValidLanguageTag","CanonicalizeLanguageTag","toLowerCase","split","sort","_max","expCurrencyCode","expUnicodeExSeq","CanonicalizeLocaleList","locales","seen","Pk","kValue","tag","BestAvailableLocale","availableLocales","candidate","pos","lastIndexOf","substring","LookupMatcher","requestedLocales","availableLocale","noExtensionsLocale","extensionIndex","ResolveLocale","relevantExtensionKeys","localeData","r","foundLocale","BestFitMatcher","extensionSubtags","extensionSubtagsLength","supportedExtension","keyLocaleData","supportedExtensionAddition","keyPos","requestedValue","optionsValue","privateIndex","preExtension","postExtension","LookupSupportedLocales","subset","SupportedLocales","matcher","localeMatcher","P","BestFitSupportedLocales","GetOption","fallback","GetNumberOption","minimum","maximum","ll","currencyMinorUnits","BHD","BYR","BIF","CLF","CLP","KMF","DJF","GNF","ISK","IQD","JOD","KWD","LYD","OMR","PYG","RWF","TND","UGX","UYI","VUV","NumberFormatConstructor","numberFormat","internal","regexpRestore","opt","NumberFormat","dataLocale","s","normalized","cDigits","CurrencyDigits","cd","mnid","mnfd","mxfdDefault","mxfd","mnsd","minimumSignificantDigits","mxsd","maximumSignificantDigits","g","stylePatterns","format","GetFormatNumber","InitializeNumberFormat","bf","FormatNumber","PartitionNumberPattern","nums","data","ild","pattern","beginIndex","endIndex","nextIndex","literal","p","n","_n2","ToRawPrecision","ToRawFixed","numSys","digits","digit","integer","fraction","decimalSepIndex","groupSepSymbol","groups","pgSize","primaryGroupSize","sgSize","secondaryGroupSize","end","idx","start","integerGroup","decimalSepSymbol","plusSignSymbol","minusSignSymbol","percentSignSymbol","_literal","_literal2","minPrecision","maxPrecision","log10","round","log","LOG10E","log10Floor","f","exp","LN10","cut","minInteger","minFraction","maxFraction","toFixed","int","b","part","FormatNumberToParts","arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt","prop","expDTComponents","expPatternTrimmer","unwantedDTCs","dtKeys","tmKeys","isDateFormatOnly","isTimeFormatOnly","joinDateAndTimeFormats","dateFormatObj","timeFormatObj","o","j","computeFinalPatterns","formatObj","pattern12","extendedPattern","$0","expDTComponentsMeta","era","year","quarter","month","week","day","weekday","hour","minute","second","timeZoneName","createDateTimeFormat","skeleton","originalPattern","validSyntheticProps","numeric","dateWidths","resolveDateString","component","width","alts","resolved","DateTimeFormatConstructor","dateTimeFormat","ToDateTimeOptions","DateTimeFormat","tz","timeZone","dateTimeComponents","bestFormat","dataLocaleData","computed","timeRelatedFormats","dateRelatedFormats","createDateTimeFormats","ToDateTimeFormats","bestScore","score","optionsProp","formatProp","optionsPropIndex","formatPropIndex","delta","BasicFormatMatcher","_hr","optionsPropNames","_bestFormat","propValue","_ref2","generateSyntheticFormat","_property","patternProp","BestFitFormatMatcher","_prop","hr12","GetFormatDateTime","InitializeDateTimeFormat","required","opt2","needDefaults","now","FormatDateTime","CreateDateTimeParts","d","nf","useGrouping","nf2","minimumIntegerDigits","tm","index","fv","v","substr","FormatToPartsDateTime","ls","__localeSensitiveProtos","toLocaleString","toLocaleDateString","toLocaleTimeString","setDefaultLocale","addLocaleData","validTypes","symbol","toPrimitive","naiveFallback","window","__global__","SymbolPolyfill","HiddenSymbol","isNativeSafe","validateSymbol","NativeSymbol","generateName","setupStandardSymbols","setupSymbolRegistry","ignore","description","__description__","__name__","isFunction","classRe","functionToString","isPrototype","isObject","possibleTypes","foo","bar","trzy","dest","src","process","opts1","searchString","objPrototype","created","ie11BugWorkaround","postfix","isConcatSpreadable","species","unscopables","registry","keyFor","origKeys","keysShim","originalKeys","isEnumerable","propertyIsEnumerable","hasDontEnumBug","hasProtoEnumBug","dontEnums","equalsConstructorPrototype","ctor","excludedKeys","$applicationCache","$console","$external","$frame","$frameElement","$frames","$innerHeight","$innerWidth","$onmozfullscreenchange","$onmozfullscreenerror","$outerHeight","$outerWidth","$pageXOffset","$pageYOffset","$parent","$scrollLeft","$scrollTop","$scrollX","$scrollY","$self","$webkitIndexedDB","$webkitStorageInfo","$window","hasAutomationEqualityBug","isArguments","theKeys","skipProto","skipConstructor","equalsConstructorPrototypeIfNotBuggy","sym","symObj","syms","ERROR_MESSAGE","that","binder","boundLength","boundArgs","Empty","$Math","$sign","$floor","$abs","$Number","$RegExp","$parseInteger","regexTester","isPrimitive","$strSlice","isBinary","isOctal","isInvalidHexLiteral","hasNonWS","ws","trimRegex","ToPrimitive","argument","trimmed","$trim","$test","regex","isCallable","isDate","ordinaryToPrimitive","hint","method","methodNames","GetMethod","func","exoticToPrim","getDay","tryDateObject","symToStr","symStringRegex","isSymbolObject","MAX_SAFE_INTEGER","$Object","y","strValue","tryStringObject","$species","IsConstructor","defaultConstructor","S","decode","base64","rawData","atob","outputArray","charCodeAt","HTMLCanvasElement","toBlob","callback","quality","dataURL","toDataURL","decodeBase64","Blob","propIsEnumerable","test1","test2","fromCharCode","test3","letter","shouldUseNative","to"],"mappings":";2FAMA,IACIA,EAAaC,UACbC,EAAQC,OAAOC,yBAEnB,GAAIF,EACF,IACEA,EAAM,GAAI,IACV,MAAOG,GACPH,EAAQ,KAIZ,IAAII,EAAiB,WACnB,MAAM,IAAIN,GAGRO,EAAiBL,EAAQ,WAC3B,IAIE,OAFAM,UAAUC,OAEHH,EACP,MAAOI,GACP,IAEE,OAAOR,EAAMM,UAAW,UAAUG,IAClC,MAAOC,GACP,OAAON,IAXgB,GAcvBA,EAEFO,EAAa,EAAQ,KAAR,GAEbC,EAAWX,OAAOY,gBAAkB,SAAUC,GAChD,OAAOA,EAAEC,WAaPC,OAhDAC,EAiDAC,EAAmC,oBAAfC,gBAjDpBF,EAiD6DL,EAASO,YACtEC,EAAa,CACf,UAAWC,MACX,gBAAwC,oBAAhBC,iBApDtBL,EAoDgEK,YAClE,yBAAiD,oBAAhBA,iBArD/BL,EAqDyEK,YAAYC,UACvF,2BAA4BZ,EAAaC,EAAS,GAAGY,OAAOC,kBAtD1DR,EAuDF,mBAAoBI,MAAME,UAC1B,uBAAwBF,MAAME,UAAUG,QACxC,uBAAwBL,MAAME,UAAUI,QACxC,oBAAqBN,MAAME,UAAUK,KACrC,sBAAuBP,MAAME,UAAUM,OACvC,wCA5DEZ,EA6DF,uBA7DEA,EA8DF,gCA9DEA,EA+DF,wBA/DEA,EAgEF,gCAhEEA,EAiEF,iCAjEEA,EAkEF,2BAA4BD,GAAoBL,GAAca,OAAOM,cAAgBd,EAAiBQ,OAAO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sBmS,GAEhC,IAAK,IAAIvT,EAAI,EAAGA,EAAIiI,EAAQzI,OAAQQ,IAC9BkjC,EAAiBrkC,KAAK0U,EAAMtL,EAAQjI,MACtCyjC,EAAGx7B,EAAQjI,IAAMuT,EAAKtL,EAAQjI,MAMtC,OAAOyjC","file":"base_polyfills.js","sourcesContent":["'use strict';\n/* globals\n\tAtomics,\n\tSharedArrayBuffer,\n*/\n\nvar undefined;\nvar $TypeError = TypeError;\nvar $gOPD = Object.getOwnPropertyDescriptor;\n\nif ($gOPD) {\n try {\n $gOPD({}, '');\n } catch (e) {\n $gOPD = null; // this is IE 8, which has a broken gOPD\n }\n}\n\nvar throwTypeError = function throwTypeError() {\n throw new $TypeError();\n};\n\nvar ThrowTypeError = $gOPD ? function () {\n try {\n // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n arguments.callee; // IE 8 does not throw here\n\n return throwTypeError;\n } catch (calleeThrows) {\n try {\n // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n return $gOPD(arguments, 'callee').get;\n } catch (gOPDthrows) {\n return throwTypeError;\n }\n }\n}() : throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) {\n return x.__proto__;\n}; // eslint-disable-line no-proto\n\n\nvar generator; // = function * () {};\n\nvar generatorFunction = generator ? getProto(generator) : undefined;\nvar asyncFn; // async function() {};\n\nvar asyncFunction = asyncFn ? asyncFn.constructor : undefined;\nvar asyncGen; // async function * () {};\n\nvar asyncGenFunction = asyncGen ? getProto(asyncGen) : undefined;\nvar asyncGenIterator = asyncGen ? asyncGen() : undefined;\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\nvar INTRINSICS = {\n '%Array%': Array,\n '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer.prototype,\n '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n '%ArrayPrototype%': Array.prototype,\n '%ArrayProto_entries%': Array.prototype.entries,\n '%ArrayProto_forEach%': Array.prototype.forEach,\n '%ArrayProto_keys%': Array.prototype.keys,\n '%ArrayProto_values%': Array.prototype.values,\n '%AsyncFromSyncIteratorPrototype%': undefined,\n '%AsyncFunction%': asyncFunction,\n '%AsyncFunctionPrototype%': asyncFunction ? asyncFunction.prototype : undefined,\n '%AsyncGenerator%': asyncGen ? getProto(asyncGenIterator) : undefined,\n '%AsyncGeneratorFunction%': asyncGenFunction,\n '%AsyncGeneratorPrototype%': asyncGenFunction ? asyncGenFunction.prototype : undefined,\n '%AsyncIteratorPrototype%': asyncGenIterator && hasSymbols && Symbol.asyncIterator ? asyncGenIterator[Symbol.asyncIterator]() : undefined,\n '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n '%Boolean%': Boolean,\n '%BooleanPrototype%': Boolean.prototype,\n '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined : DataView.prototype,\n '%Date%': Date,\n '%DatePrototype%': Date.prototype,\n '%decodeURI%': decodeURI,\n '%decodeURIComponent%': decodeURIComponent,\n '%encodeURI%': encodeURI,\n '%encodeURIComponent%': encodeURIComponent,\n '%Error%': Error,\n '%ErrorPrototype%': Error.prototype,\n '%eval%': eval,\n // eslint-disable-line no-eval\n '%EvalError%': EvalError,\n '%EvalErrorPrototype%': EvalError.prototype,\n '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined : Float32Array.prototype,\n '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined : Float64Array.prototype,\n '%Function%': Function,\n '%FunctionPrototype%': Function.prototype,\n '%Generator%': generator ? getProto(generator()) : undefined,\n '%GeneratorFunction%': generatorFunction,\n '%GeneratorPrototype%': generatorFunction ? generatorFunction.prototype : undefined,\n '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined : Int8Array.prototype,\n '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined : Int8Array.prototype,\n '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined : Int32Array.prototype,\n '%isFinite%': isFinite,\n '%isNaN%': isNaN,\n '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n '%JSON%': typeof JSON === 'object' ? JSON : undefined,\n '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined,\n '%Map%': typeof Map === 'undefined' ? undefined : Map,\n '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n '%MapPrototype%': typeof Map === 'undefined' ? undefined : Map.prototype,\n '%Math%': Math,\n '%Number%': Number,\n '%NumberPrototype%': Number.prototype,\n '%Object%': Object,\n '%ObjectPrototype%': Object.prototype,\n '%ObjProto_toString%': Object.prototype.toString,\n '%ObjProto_valueOf%': Object.prototype.valueOf,\n '%parseFloat%': parseFloat,\n '%parseInt%': parseInt,\n '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n '%PromisePrototype%': typeof Promise === 'undefined' ? undefined : Promise.prototype,\n '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined : Promise.prototype.then,\n '%Promise_all%': typeof Promise === 'undefined' ? undefined : Promise.all,\n '%Promise_reject%': typeof Promise === 'undefined' ? undefined : Promise.reject,\n '%Promise_resolve%': typeof Promise === 'undefined' ? undefined : Promise.resolve,\n '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n '%RangeError%': RangeError,\n '%RangeErrorPrototype%': RangeError.prototype,\n '%ReferenceError%': ReferenceError,\n '%ReferenceErrorPrototype%': ReferenceError.prototype,\n '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n '%RegExp%': RegExp,\n '%RegExpPrototype%': RegExp.prototype,\n '%Set%': typeof Set === 'undefined' ? undefined : Set,\n '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n '%SetPrototype%': typeof Set === 'undefined' ? undefined : Set.prototype,\n '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer.prototype,\n '%String%': String,\n '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n '%StringPrototype%': String.prototype,\n '%Symbol%': hasSymbols ? Symbol : undefined,\n '%SymbolPrototype%': hasSymbols ? Symbol.prototype : undefined,\n '%SyntaxError%': SyntaxError,\n '%SyntaxErrorPrototype%': SyntaxError.prototype,\n '%ThrowTypeError%': ThrowTypeError,\n '%TypedArray%': TypedArray,\n '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined,\n '%TypeError%': $TypeError,\n '%TypeErrorPrototype%': $TypeError.prototype,\n '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array.prototype,\n '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray.prototype,\n '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array.prototype,\n '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array.prototype,\n '%URIError%': URIError,\n '%URIErrorPrototype%': URIError.prototype,\n '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined : WeakMap.prototype,\n '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined : WeakSet.prototype\n};\n\nvar bind = require('function-bind');\n\nvar $replace = bind.call(Function.call, String.prototype.replace);\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\n\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g;\n/** Used to match backslashes in property paths. */\n\nvar stringToPath = function stringToPath(string) {\n var result = [];\n $replace(string, rePropName, function (match, number, quote, subString) {\n result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n });\n return result;\n};\n/* end adaptation */\n\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n if (!(name in INTRINSICS)) {\n throw new SyntaxError('intrinsic ' + name + ' does not exist!');\n } // istanbul ignore if // hopefully this is impossible to test :-)\n\n\n if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {\n throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n }\n\n return INTRINSICS[name];\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n if (typeof name !== 'string' || name.length === 0) {\n throw new TypeError('intrinsic name must be a non-empty string');\n }\n\n if (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n throw new TypeError('\"allowMissing\" argument must be a boolean');\n }\n\n var parts = stringToPath(name);\n var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);\n\n for (var i = 1; i < parts.length; i += 1) {\n if (value != null) {\n if ($gOPD && i + 1 >= parts.length) {\n var desc = $gOPD(value, parts[i]);\n value = desc ? desc.get || desc.value : value[parts[i]];\n } else {\n value = value[parts[i]];\n }\n }\n }\n\n return value;\n};","'use strict';\n\nvar keys = require('object-keys');\n\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\n\nvar isFunction = function isFunction(fn) {\n return typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar arePropertyDescriptorsSupported = function arePropertyDescriptorsSupported() {\n var obj = {};\n\n try {\n origDefineProperty(obj, 'x', {\n enumerable: false,\n value: obj\n }); // eslint-disable-next-line no-unused-vars, no-restricted-syntax\n\n for (var _ in obj) {\n // jscs:ignore disallowUnusedVariables\n return false;\n }\n\n return obj.x === obj;\n } catch (e) {\n /* this is IE 8. */\n return false;\n }\n};\n\nvar supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();\n\nvar defineProperty = function defineProperty(object, name, value, predicate) {\n if (name in object && (!isFunction(predicate) || !predicate())) {\n return;\n }\n\n if (supportsDescriptors) {\n origDefineProperty(object, name, {\n configurable: true,\n enumerable: false,\n value: value,\n writable: true\n });\n } else {\n object[name] = value;\n }\n};\n\nvar defineProperties = function defineProperties(object, map) {\n var predicates = arguments.length > 2 ? arguments[2] : {};\n var props = keys(map);\n\n if (hasSymbols) {\n props = concat.call(props, Object.getOwnPropertySymbols(map));\n }\n\n for (var i = 0; i < props.length; i += 1) {\n defineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n }\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\nmodule.exports = defineProperties;","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? globalThis : require(\"./implementation\");","\"use strict\";\n\nvar isValue = require(\"type/value/is\"),\n isPlainFunction = require(\"type/plain-function/is\"),\n assign = require(\"es5-ext/object/assign\"),\n normalizeOpts = require(\"es5-ext/object/normalize-options\"),\n contains = require(\"es5-ext/string/#/contains\");\n\nvar d = module.exports = function (dscr, value\n/*, options*/\n) {\n var c, e, w, options, desc;\n\n if (arguments.length < 2 || typeof dscr !== \"string\") {\n options = value;\n value = dscr;\n dscr = null;\n } else {\n options = arguments[2];\n }\n\n if (isValue(dscr)) {\n c = contains.call(dscr, \"c\");\n e = contains.call(dscr, \"e\");\n w = contains.call(dscr, \"w\");\n } else {\n c = w = true;\n e = false;\n }\n\n desc = {\n value: value,\n configurable: c,\n enumerable: e,\n writable: w\n };\n return !options ? desc : assign(normalizeOpts(options), desc);\n};\n\nd.gs = function (dscr, get, set\n/*, options*/\n) {\n var c, e, options, desc;\n\n if (typeof dscr !== \"string\") {\n options = set;\n set = get;\n get = dscr;\n dscr = null;\n } else {\n options = arguments[3];\n }\n\n if (!isValue(get)) {\n get = undefined;\n } else if (!isPlainFunction(get)) {\n options = get;\n get = set = undefined;\n } else if (!isValue(set)) {\n set = undefined;\n } else if (!isPlainFunction(set)) {\n options = set;\n set = undefined;\n }\n\n if (isValue(dscr)) {\n c = contains.call(dscr, \"c\");\n e = contains.call(dscr, \"e\");\n } else {\n c = true;\n e = false;\n }\n\n desc = {\n get: get,\n set: set,\n configurable: c,\n enumerable: e\n };\n return !options ? desc : assign(normalizeOpts(options), desc);\n};","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar callBind = require('./callBind');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n var intrinsic = GetIntrinsic(name, !!allowMissing);\n\n if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {\n return callBind(intrinsic);\n }\n\n return intrinsic;\n};","\"use strict\";\n\nvar _undefined = require(\"../function/noop\")(); // Support ES3 engines\n\n\nmodule.exports = function (val) {\n return val !== _undefined && val !== null;\n};","'use strict';\n\nvar origSymbol = global.Symbol;\n\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n if (typeof origSymbol !== 'function') {\n return false;\n }\n\n if (typeof Symbol !== 'function') {\n return false;\n }\n\n if (typeof origSymbol('foo') !== 'symbol') {\n return false;\n }\n\n if (typeof Symbol('bar') !== 'symbol') {\n return false;\n }\n\n return hasSymbolSham();\n};","'use strict';\n\nmodule.exports = Number.isNaN || function isNaN(a) {\n return a !== a;\n};","'use strict';\n\nmodule.exports = function requirePromise() {\n if (typeof Promise !== 'function') {\n throw new TypeError('`Promise.prototype.finally` requires a global `Promise` be available.');\n }\n};","// Expose `IntlPolyfill` as global to add locale data into runtime later on.\nglobal.IntlPolyfill = require('./lib/core.js'); // Require all locale data for `Intl`. This module will be\n// ignored when bundling for the browser with Browserify/Webpack.\n\nrequire('./locale-data/complete.js'); // hack to export the polyfill as global Intl if needed\n\n\nif (!global.Intl) {\n global.Intl = global.IntlPolyfill;\n\n global.IntlPolyfill.__applyLocaleSensitivePrototypes();\n} // providing an idiomatic api for the nodejs version of this module\n\n\nmodule.exports = global.IntlPolyfill;","IntlPolyfill.__addLocaleData({\n locale: \"en\",\n date: {\n ca: [\"gregory\", \"buddhist\", \"chinese\", \"coptic\", \"dangi\", \"ethioaa\", \"ethiopic\", \"generic\", \"hebrew\", \"indian\", \"islamic\", \"islamicc\", \"japanese\", \"persian\", \"roc\"],\n hourNo0: true,\n hour12: true,\n formats: {\n short: \"{1}, {0}\",\n medium: \"{1}, {0}\",\n full: \"{1} 'at' {0}\",\n long: \"{1} 'at' {0}\",\n availableFormats: {\n \"d\": \"d\",\n \"E\": \"ccc\",\n Ed: \"d E\",\n Ehm: \"E h:mm a\",\n EHm: \"E HH:mm\",\n Ehms: \"E h:mm:ss a\",\n EHms: \"E HH:mm:ss\",\n Gy: \"y G\",\n GyMMM: \"MMM y G\",\n GyMMMd: \"MMM d, y G\",\n GyMMMEd: \"E, MMM d, y G\",\n \"h\": \"h a\",\n \"H\": \"HH\",\n hm: \"h:mm a\",\n Hm: \"HH:mm\",\n hms: \"h:mm:ss a\",\n Hms: \"HH:mm:ss\",\n hmsv: \"h:mm:ss a v\",\n Hmsv: \"HH:mm:ss v\",\n hmv: \"h:mm a v\",\n Hmv: \"HH:mm v\",\n \"M\": \"L\",\n Md: \"M/d\",\n MEd: \"E, M/d\",\n MMM: \"LLL\",\n MMMd: \"MMM d\",\n MMMEd: \"E, MMM d\",\n MMMMd: \"MMMM d\",\n ms: \"mm:ss\",\n \"y\": \"y\",\n yM: \"M/y\",\n yMd: \"M/d/y\",\n yMEd: \"E, M/d/y\",\n yMMM: \"MMM y\",\n yMMMd: \"MMM d, y\",\n yMMMEd: \"E, MMM d, y\",\n yMMMM: \"MMMM y\",\n yQQQ: \"QQQ y\",\n yQQQQ: \"QQQQ y\"\n },\n dateFormats: {\n yMMMMEEEEd: \"EEEE, MMMM d, y\",\n yMMMMd: \"MMMM d, y\",\n yMMMd: \"MMM d, y\",\n yMd: \"M/d/yy\"\n },\n timeFormats: {\n hmmsszzzz: \"h:mm:ss a zzzz\",\n hmsz: \"h:mm:ss a z\",\n hms: \"h:mm:ss a\",\n hm: \"h:mm a\"\n }\n },\n calendars: {\n buddhist: {\n months: {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n short: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n long: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"BE\"],\n short: [\"BE\"],\n long: [\"BE\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n chinese: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n short: [\"Mo1\", \"Mo2\", \"Mo3\", \"Mo4\", \"Mo5\", \"Mo6\", \"Mo7\", \"Mo8\", \"Mo9\", \"Mo10\", \"Mo11\", \"Mo12\"],\n long: [\"Month1\", \"Month2\", \"Month3\", \"Month4\", \"Month5\", \"Month6\", \"Month7\", \"Month8\", \"Month9\", \"Month10\", \"Month11\", \"Month12\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n coptic: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\"],\n short: [\"Tout\", \"Baba\", \"Hator\", \"Kiahk\", \"Toba\", \"Amshir\", \"Baramhat\", \"Baramouda\", \"Bashans\", \"Paona\", \"Epep\", \"Mesra\", \"Nasie\"],\n long: [\"Tout\", \"Baba\", \"Hator\", \"Kiahk\", \"Toba\", \"Amshir\", \"Baramhat\", \"Baramouda\", \"Bashans\", \"Paona\", \"Epep\", \"Mesra\", \"Nasie\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"ERA0\", \"ERA1\"],\n short: [\"ERA0\", \"ERA1\"],\n long: [\"ERA0\", \"ERA1\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n dangi: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n short: [\"Mo1\", \"Mo2\", \"Mo3\", \"Mo4\", \"Mo5\", \"Mo6\", \"Mo7\", \"Mo8\", \"Mo9\", \"Mo10\", \"Mo11\", \"Mo12\"],\n long: [\"Month1\", \"Month2\", \"Month3\", \"Month4\", \"Month5\", \"Month6\", \"Month7\", \"Month8\", \"Month9\", \"Month10\", \"Month11\", \"Month12\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n ethiopic: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\"],\n short: [\"Meskerem\", \"Tekemt\", \"Hedar\", \"Tahsas\", \"Ter\", \"Yekatit\", \"Megabit\", \"Miazia\", \"Genbot\", \"Sene\", \"Hamle\", \"Nehasse\", \"Pagumen\"],\n long: [\"Meskerem\", \"Tekemt\", \"Hedar\", \"Tahsas\", \"Ter\", \"Yekatit\", \"Megabit\", \"Miazia\", \"Genbot\", \"Sene\", \"Hamle\", \"Nehasse\", \"Pagumen\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"ERA0\", \"ERA1\"],\n short: [\"ERA0\", \"ERA1\"],\n long: [\"ERA0\", \"ERA1\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n ethioaa: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\"],\n short: [\"Meskerem\", \"Tekemt\", \"Hedar\", \"Tahsas\", \"Ter\", \"Yekatit\", \"Megabit\", \"Miazia\", \"Genbot\", \"Sene\", \"Hamle\", \"Nehasse\", \"Pagumen\"],\n long: [\"Meskerem\", \"Tekemt\", \"Hedar\", \"Tahsas\", \"Ter\", \"Yekatit\", \"Megabit\", \"Miazia\", \"Genbot\", \"Sene\", \"Hamle\", \"Nehasse\", \"Pagumen\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"ERA0\"],\n short: [\"ERA0\"],\n long: [\"ERA0\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n generic: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n short: [\"M01\", \"M02\", \"M03\", \"M04\", \"M05\", \"M06\", \"M07\", \"M08\", \"M09\", \"M10\", \"M11\", \"M12\"],\n long: [\"M01\", \"M02\", \"M03\", \"M04\", \"M05\", \"M06\", \"M07\", \"M08\", \"M09\", \"M10\", \"M11\", \"M12\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"ERA0\", \"ERA1\"],\n short: [\"ERA0\", \"ERA1\"],\n long: [\"ERA0\", \"ERA1\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n gregory: {\n months: {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n short: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n long: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"B\", \"A\", \"BCE\", \"CE\"],\n short: [\"BC\", \"AD\", \"BCE\", \"CE\"],\n long: [\"Before Christ\", \"Anno Domini\", \"Before Common Era\", \"Common Era\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n hebrew: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\", \"7\"],\n short: [\"Tishri\", \"Heshvan\", \"Kislev\", \"Tevet\", \"Shevat\", \"Adar I\", \"Adar\", \"Nisan\", \"Iyar\", \"Sivan\", \"Tamuz\", \"Av\", \"Elul\", \"Adar II\"],\n long: [\"Tishri\", \"Heshvan\", \"Kislev\", \"Tevet\", \"Shevat\", \"Adar I\", \"Adar\", \"Nisan\", \"Iyar\", \"Sivan\", \"Tamuz\", \"Av\", \"Elul\", \"Adar II\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"AM\"],\n short: [\"AM\"],\n long: [\"AM\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n indian: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n short: [\"Chaitra\", \"Vaisakha\", \"Jyaistha\", \"Asadha\", \"Sravana\", \"Bhadra\", \"Asvina\", \"Kartika\", \"Agrahayana\", \"Pausa\", \"Magha\", \"Phalguna\"],\n long: [\"Chaitra\", \"Vaisakha\", \"Jyaistha\", \"Asadha\", \"Sravana\", \"Bhadra\", \"Asvina\", \"Kartika\", \"Agrahayana\", \"Pausa\", \"Magha\", \"Phalguna\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"Saka\"],\n short: [\"Saka\"],\n long: [\"Saka\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n islamic: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n short: [\"Muh.\", \"Saf.\", \"Rab. I\", \"Rab. II\", \"Jum. I\", \"Jum. II\", \"Raj.\", \"Sha.\", \"Ram.\", \"Shaw.\", \"Dhuʻl-Q.\", \"Dhuʻl-H.\"],\n long: [\"Muharram\", \"Safar\", \"Rabiʻ I\", \"Rabiʻ II\", \"Jumada I\", \"Jumada II\", \"Rajab\", \"Shaʻban\", \"Ramadan\", \"Shawwal\", \"Dhuʻl-Qiʻdah\", \"Dhuʻl-Hijjah\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"AH\"],\n short: [\"AH\"],\n long: [\"AH\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n islamicc: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n short: [\"Muh.\", \"Saf.\", \"Rab. I\", \"Rab. II\", \"Jum. I\", \"Jum. II\", \"Raj.\", \"Sha.\", \"Ram.\", \"Shaw.\", \"Dhuʻl-Q.\", \"Dhuʻl-H.\"],\n long: [\"Muharram\", \"Safar\", \"Rabiʻ I\", \"Rabiʻ II\", \"Jumada I\", \"Jumada II\", \"Rajab\", \"Shaʻban\", \"Ramadan\", \"Shawwal\", \"Dhuʻl-Qiʻdah\", \"Dhuʻl-Hijjah\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"AH\"],\n short: [\"AH\"],\n long: [\"AH\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n japanese: {\n months: {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n short: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n long: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"Taika (645–650)\", \"Hakuchi (650–671)\", \"Hakuhō (672–686)\", \"Shuchō (686–701)\", \"Taihō (701–704)\", \"Keiun (704–708)\", \"Wadō (708–715)\", \"Reiki (715–717)\", \"Yōrō (717–724)\", \"Jinki (724–729)\", \"Tenpyō (729–749)\", \"Tenpyō-kampō (749-749)\", \"Tenpyō-shōhō (749-757)\", \"Tenpyō-hōji (757-765)\", \"Tenpyō-jingo (765-767)\", \"Jingo-keiun (767-770)\", \"Hōki (770–780)\", \"Ten-ō (781-782)\", \"Enryaku (782–806)\", \"Daidō (806–810)\", \"Kōnin (810–824)\", \"Tenchō (824–834)\", \"Jōwa (834–848)\", \"Kajō (848–851)\", \"Ninju (851–854)\", \"Saikō (854–857)\", \"Ten-an (857-859)\", \"Jōgan (859–877)\", \"Gangyō (877–885)\", \"Ninna (885–889)\", \"Kanpyō (889–898)\", \"Shōtai (898–901)\", \"Engi (901–923)\", \"Enchō (923–931)\", \"Jōhei (931–938)\", \"Tengyō (938–947)\", \"Tenryaku (947–957)\", \"Tentoku (957–961)\", \"Ōwa (961–964)\", \"Kōhō (964–968)\", \"Anna (968–970)\", \"Tenroku (970–973)\", \"Ten’en (973–976)\", \"Jōgen (976–978)\", \"Tengen (978–983)\", \"Eikan (983–985)\", \"Kanna (985–987)\", \"Eien (987–989)\", \"Eiso (989–990)\", \"Shōryaku (990–995)\", \"Chōtoku (995–999)\", \"Chōhō (999–1004)\", \"Kankō (1004–1012)\", \"Chōwa (1012–1017)\", \"Kannin (1017–1021)\", \"Jian (1021–1024)\", \"Manju (1024–1028)\", \"Chōgen (1028–1037)\", \"Chōryaku (1037–1040)\", \"Chōkyū (1040–1044)\", \"Kantoku (1044–1046)\", \"Eishō (1046–1053)\", \"Tengi (1053–1058)\", \"Kōhei (1058–1065)\", \"Jiryaku (1065–1069)\", \"Enkyū (1069–1074)\", \"Shōho (1074–1077)\", \"Shōryaku (1077–1081)\", \"Eihō (1081–1084)\", \"Ōtoku (1084–1087)\", \"Kanji (1087–1094)\", \"Kahō (1094–1096)\", \"Eichō (1096–1097)\", \"Jōtoku (1097–1099)\", \"Kōwa (1099–1104)\", \"Chōji (1104–1106)\", \"Kashō (1106–1108)\", \"Tennin (1108–1110)\", \"Ten-ei (1110-1113)\", \"Eikyū (1113–1118)\", \"Gen’ei (1118–1120)\", \"Hōan (1120–1124)\", \"Tenji (1124–1126)\", \"Daiji (1126–1131)\", \"Tenshō (1131–1132)\", \"Chōshō (1132–1135)\", \"Hōen (1135–1141)\", \"Eiji (1141–1142)\", \"Kōji (1142–1144)\", \"Ten’yō (1144–1145)\", \"Kyūan (1145–1151)\", \"Ninpei (1151–1154)\", \"Kyūju (1154–1156)\", \"Hōgen (1156–1159)\", \"Heiji (1159–1160)\", \"Eiryaku (1160–1161)\", \"Ōho (1161–1163)\", \"Chōkan (1163–1165)\", \"Eiman (1165–1166)\", \"Nin’an (1166–1169)\", \"Kaō (1169–1171)\", \"Shōan (1171–1175)\", \"Angen (1175–1177)\", \"Jishō (1177–1181)\", \"Yōwa (1181–1182)\", \"Juei (1182–1184)\", \"Genryaku (1184–1185)\", \"Bunji (1185–1190)\", \"Kenkyū (1190–1199)\", \"Shōji (1199–1201)\", \"Kennin (1201–1204)\", \"Genkyū (1204–1206)\", \"Ken’ei (1206–1207)\", \"Jōgen (1207–1211)\", \"Kenryaku (1211–1213)\", \"Kenpō (1213–1219)\", \"Jōkyū (1219–1222)\", \"Jōō (1222–1224)\", \"Gennin (1224–1225)\", \"Karoku (1225–1227)\", \"Antei (1227–1229)\", \"Kanki (1229–1232)\", \"Jōei (1232–1233)\", \"Tenpuku (1233–1234)\", \"Bunryaku (1234–1235)\", \"Katei (1235–1238)\", \"Ryakunin (1238–1239)\", \"En’ō (1239–1240)\", \"Ninji (1240–1243)\", \"Kangen (1243–1247)\", \"Hōji (1247–1249)\", \"Kenchō (1249–1256)\", \"Kōgen (1256–1257)\", \"Shōka (1257–1259)\", \"Shōgen (1259–1260)\", \"Bun’ō (1260–1261)\", \"Kōchō (1261–1264)\", \"Bun’ei (1264–1275)\", \"Kenji (1275–1278)\", \"Kōan (1278–1288)\", \"Shōō (1288–1293)\", \"Einin (1293–1299)\", \"Shōan (1299–1302)\", \"Kengen (1302–1303)\", \"Kagen (1303–1306)\", \"Tokuji (1306–1308)\", \"Enkyō (1308–1311)\", \"Ōchō (1311–1312)\", \"Shōwa (1312–1317)\", \"Bunpō (1317–1319)\", \"Genō (1319–1321)\", \"Genkō (1321–1324)\", \"Shōchū (1324–1326)\", \"Karyaku (1326–1329)\", \"Gentoku (1329–1331)\", \"Genkō (1331–1334)\", \"Kenmu (1334–1336)\", \"Engen (1336–1340)\", \"Kōkoku (1340–1346)\", \"Shōhei (1346–1370)\", \"Kentoku (1370–1372)\", \"Bunchū (1372–1375)\", \"Tenju (1375–1379)\", \"Kōryaku (1379–1381)\", \"Kōwa (1381–1384)\", \"Genchū (1384–1392)\", \"Meitoku (1384–1387)\", \"Kakei (1387–1389)\", \"Kōō (1389–1390)\", \"Meitoku (1390–1394)\", \"Ōei (1394–1428)\", \"Shōchō (1428–1429)\", \"Eikyō (1429–1441)\", \"Kakitsu (1441–1444)\", \"Bun’an (1444–1449)\", \"Hōtoku (1449–1452)\", \"Kyōtoku (1452–1455)\", \"Kōshō (1455–1457)\", \"Chōroku (1457–1460)\", \"Kanshō (1460–1466)\", \"Bunshō (1466–1467)\", \"Ōnin (1467–1469)\", \"Bunmei (1469–1487)\", \"Chōkyō (1487–1489)\", \"Entoku (1489–1492)\", \"Meiō (1492–1501)\", \"Bunki (1501–1504)\", \"Eishō (1504–1521)\", \"Taiei (1521–1528)\", \"Kyōroku (1528–1532)\", \"Tenbun (1532–1555)\", \"Kōji (1555–1558)\", \"Eiroku (1558–1570)\", \"Genki (1570–1573)\", \"Tenshō (1573–1592)\", \"Bunroku (1592–1596)\", \"Keichō (1596–1615)\", \"Genna (1615–1624)\", \"Kan’ei (1624–1644)\", \"Shōho (1644–1648)\", \"Keian (1648–1652)\", \"Jōō (1652–1655)\", \"Meireki (1655–1658)\", \"Manji (1658–1661)\", \"Kanbun (1661–1673)\", \"Enpō (1673–1681)\", \"Tenna (1681–1684)\", \"Jōkyō (1684–1688)\", \"Genroku (1688–1704)\", \"Hōei (1704–1711)\", \"Shōtoku (1711–1716)\", \"Kyōhō (1716–1736)\", \"Genbun (1736–1741)\", \"Kanpō (1741–1744)\", \"Enkyō (1744–1748)\", \"Kan’en (1748–1751)\", \"Hōreki (1751–1764)\", \"Meiwa (1764–1772)\", \"An’ei (1772–1781)\", \"Tenmei (1781–1789)\", \"Kansei (1789–1801)\", \"Kyōwa (1801–1804)\", \"Bunka (1804–1818)\", \"Bunsei (1818–1830)\", \"Tenpō (1830–1844)\", \"Kōka (1844–1848)\", \"Kaei (1848–1854)\", \"Ansei (1854–1860)\", \"Man’en (1860–1861)\", \"Bunkyū (1861–1864)\", \"Genji (1864–1865)\", \"Keiō (1865–1868)\", \"M\", \"T\", \"S\", \"H\"],\n short: [\"Taika (645–650)\", \"Hakuchi (650–671)\", \"Hakuhō (672–686)\", \"Shuchō (686–701)\", \"Taihō (701–704)\", \"Keiun (704–708)\", \"Wadō (708–715)\", \"Reiki (715–717)\", \"Yōrō (717–724)\", \"Jinki (724–729)\", \"Tenpyō (729–749)\", \"Tenpyō-kampō (749-749)\", \"Tenpyō-shōhō (749-757)\", \"Tenpyō-hōji (757-765)\", \"Tenpyō-jingo (765-767)\", \"Jingo-keiun (767-770)\", \"Hōki (770–780)\", \"Ten-ō (781-782)\", \"Enryaku (782–806)\", \"Daidō (806–810)\", \"Kōnin (810–824)\", \"Tenchō (824–834)\", \"Jōwa (834–848)\", \"Kajō (848–851)\", \"Ninju (851–854)\", \"Saikō (854–857)\", \"Ten-an (857-859)\", \"Jōgan (859–877)\", \"Gangyō (877–885)\", \"Ninna (885–889)\", \"Kanpyō (889–898)\", \"Shōtai (898–901)\", \"Engi (901–923)\", \"Enchō (923–931)\", \"Jōhei (931–938)\", \"Tengyō (938–947)\", \"Tenryaku (947–957)\", \"Tentoku (957–961)\", \"Ōwa (961–964)\", \"Kōhō (964–968)\", \"Anna (968–970)\", \"Tenroku (970–973)\", \"Ten’en (973–976)\", \"Jōgen (976–978)\", \"Tengen (978–983)\", \"Eikan (983–985)\", \"Kanna (985–987)\", \"Eien (987–989)\", \"Eiso (989–990)\", \"Shōryaku (990–995)\", \"Chōtoku (995–999)\", \"Chōhō (999–1004)\", \"Kankō (1004–1012)\", \"Chōwa (1012–1017)\", \"Kannin (1017–1021)\", \"Jian (1021–1024)\", \"Manju (1024–1028)\", \"Chōgen (1028–1037)\", \"Chōryaku (1037–1040)\", \"Chōkyū (1040–1044)\", \"Kantoku (1044–1046)\", \"Eishō (1046–1053)\", \"Tengi (1053–1058)\", \"Kōhei (1058–1065)\", \"Jiryaku (1065–1069)\", \"Enkyū (1069–1074)\", \"Shōho (1074–1077)\", \"Shōryaku (1077–1081)\", \"Eihō (1081–1084)\", \"Ōtoku (1084–1087)\", \"Kanji (1087–1094)\", \"Kahō (1094–1096)\", \"Eichō (1096–1097)\", \"Jōtoku (1097–1099)\", \"Kōwa (1099–1104)\", \"Chōji (1104–1106)\", \"Kashō (1106–1108)\", \"Tennin (1108–1110)\", \"Ten-ei (1110-1113)\", \"Eikyū (1113–1118)\", \"Gen’ei (1118–1120)\", \"Hōan (1120–1124)\", \"Tenji (1124–1126)\", \"Daiji (1126–1131)\", \"Tenshō (1131–1132)\", \"Chōshō (1132–1135)\", \"Hōen (1135–1141)\", \"Eiji (1141–1142)\", \"Kōji (1142–1144)\", \"Ten’yō (1144–1145)\", \"Kyūan (1145–1151)\", \"Ninpei (1151–1154)\", \"Kyūju (1154–1156)\", \"Hōgen (1156–1159)\", \"Heiji (1159–1160)\", \"Eiryaku (1160–1161)\", \"Ōho (1161–1163)\", \"Chōkan (1163–1165)\", \"Eiman (1165–1166)\", \"Nin’an (1166–1169)\", \"Kaō (1169–1171)\", \"Shōan (1171–1175)\", \"Angen (1175–1177)\", \"Jishō (1177–1181)\", \"Yōwa (1181–1182)\", \"Juei (1182–1184)\", \"Genryaku (1184–1185)\", \"Bunji (1185–1190)\", \"Kenkyū (1190–1199)\", \"Shōji (1199–1201)\", \"Kennin (1201–1204)\", \"Genkyū (1204–1206)\", \"Ken’ei (1206–1207)\", \"Jōgen (1207–1211)\", \"Kenryaku (1211–1213)\", \"Kenpō (1213–1219)\", \"Jōkyū (1219–1222)\", \"Jōō (1222–1224)\", \"Gennin (1224–1225)\", \"Karoku (1225–1227)\", \"Antei (1227–1229)\", \"Kanki (1229–1232)\", \"Jōei (1232–1233)\", \"Tenpuku (1233–1234)\", \"Bunryaku (1234–1235)\", \"Katei (1235–1238)\", \"Ryakunin (1238–1239)\", \"En’ō (1239–1240)\", \"Ninji (1240–1243)\", \"Kangen (1243–1247)\", \"Hōji (1247–1249)\", \"Kenchō (1249–1256)\", \"Kōgen (1256–1257)\", \"Shōka (1257–1259)\", \"Shōgen (1259–1260)\", \"Bun’ō (1260–1261)\", \"Kōchō (1261–1264)\", \"Bun’ei (1264–1275)\", \"Kenji (1275–1278)\", \"Kōan (1278–1288)\", \"Shōō (1288–1293)\", \"Einin (1293–1299)\", \"Shōan (1299–1302)\", \"Kengen (1302–1303)\", \"Kagen (1303–1306)\", \"Tokuji (1306–1308)\", \"Enkyō (1308–1311)\", \"Ōchō (1311–1312)\", \"Shōwa (1312–1317)\", \"Bunpō (1317–1319)\", \"Genō (1319–1321)\", \"Genkō (1321–1324)\", \"Shōchū (1324–1326)\", \"Karyaku (1326–1329)\", \"Gentoku (1329–1331)\", \"Genkō (1331–1334)\", \"Kenmu (1334–1336)\", \"Engen (1336–1340)\", \"Kōkoku (1340–1346)\", \"Shōhei (1346–1370)\", \"Kentoku (1370–1372)\", \"Bunchū (1372–1375)\", \"Tenju (1375–1379)\", \"Kōryaku (1379–1381)\", \"Kōwa (1381–1384)\", \"Genchū (1384–1392)\", \"Meitoku (1384–1387)\", \"Kakei (1387–1389)\", \"Kōō (1389–1390)\", \"Meitoku (1390–1394)\", \"Ōei (1394–1428)\", \"Shōchō (1428–1429)\", \"Eikyō (1429–1441)\", \"Kakitsu (1441–1444)\", \"Bun’an (1444–1449)\", \"Hōtoku (1449–1452)\", \"Kyōtoku (1452–1455)\", \"Kōshō (1455–1457)\", \"Chōroku (1457–1460)\", \"Kanshō (1460–1466)\", \"Bunshō (1466–1467)\", \"Ōnin (1467–1469)\", \"Bunmei (1469–1487)\", \"Chōkyō (1487–1489)\", \"Entoku (1489–1492)\", \"Meiō (1492–1501)\", \"Bunki (1501–1504)\", \"Eishō (1504–1521)\", \"Taiei (1521–1528)\", \"Kyōroku (1528–1532)\", \"Tenbun (1532–1555)\", \"Kōji (1555–1558)\", \"Eiroku (1558–1570)\", \"Genki (1570–1573)\", \"Tenshō (1573–1592)\", \"Bunroku (1592–1596)\", \"Keichō (1596–1615)\", \"Genna (1615–1624)\", \"Kan’ei (1624–1644)\", \"Shōho (1644–1648)\", \"Keian (1648–1652)\", \"Jōō (1652–1655)\", \"Meireki (1655–1658)\", \"Manji (1658–1661)\", \"Kanbun (1661–1673)\", \"Enpō (1673–1681)\", \"Tenna (1681–1684)\", \"Jōkyō (1684–1688)\", \"Genroku (1688–1704)\", \"Hōei (1704–1711)\", \"Shōtoku (1711–1716)\", \"Kyōhō (1716–1736)\", \"Genbun (1736–1741)\", \"Kanpō (1741–1744)\", \"Enkyō (1744–1748)\", \"Kan’en (1748–1751)\", \"Hōreki (1751–1764)\", \"Meiwa (1764–1772)\", \"An’ei (1772–1781)\", \"Tenmei (1781–1789)\", \"Kansei (1789–1801)\", \"Kyōwa (1801–1804)\", \"Bunka (1804–1818)\", \"Bunsei (1818–1830)\", \"Tenpō (1830–1844)\", \"Kōka (1844–1848)\", \"Kaei (1848–1854)\", \"Ansei (1854–1860)\", \"Man’en (1860–1861)\", \"Bunkyū (1861–1864)\", \"Genji (1864–1865)\", \"Keiō (1865–1868)\", \"Meiji\", \"Taishō\", \"Shōwa\", \"Heisei\"],\n long: [\"Taika (645–650)\", \"Hakuchi (650–671)\", \"Hakuhō (672–686)\", \"Shuchō (686–701)\", \"Taihō (701–704)\", \"Keiun (704–708)\", \"Wadō (708–715)\", \"Reiki (715–717)\", \"Yōrō (717–724)\", \"Jinki (724–729)\", \"Tenpyō (729–749)\", \"Tenpyō-kampō (749-749)\", \"Tenpyō-shōhō (749-757)\", \"Tenpyō-hōji (757-765)\", \"Tenpyō-jingo (765-767)\", \"Jingo-keiun (767-770)\", \"Hōki (770–780)\", \"Ten-ō (781-782)\", \"Enryaku (782–806)\", \"Daidō (806–810)\", \"Kōnin (810–824)\", \"Tenchō (824–834)\", \"Jōwa (834–848)\", \"Kajō (848–851)\", \"Ninju (851–854)\", \"Saikō (854–857)\", \"Ten-an (857-859)\", \"Jōgan (859–877)\", \"Gangyō (877–885)\", \"Ninna (885–889)\", \"Kanpyō (889–898)\", \"Shōtai (898–901)\", \"Engi (901–923)\", \"Enchō (923–931)\", \"Jōhei (931–938)\", \"Tengyō (938–947)\", \"Tenryaku (947–957)\", \"Tentoku (957–961)\", \"Ōwa (961–964)\", \"Kōhō (964–968)\", \"Anna (968–970)\", \"Tenroku (970–973)\", \"Ten’en (973–976)\", \"Jōgen (976–978)\", \"Tengen (978–983)\", \"Eikan (983–985)\", \"Kanna (985–987)\", \"Eien (987–989)\", \"Eiso (989–990)\", \"Shōryaku (990–995)\", \"Chōtoku (995–999)\", \"Chōhō (999–1004)\", \"Kankō (1004–1012)\", \"Chōwa (1012–1017)\", \"Kannin (1017–1021)\", \"Jian (1021–1024)\", \"Manju (1024–1028)\", \"Chōgen (1028–1037)\", \"Chōryaku (1037–1040)\", \"Chōkyū (1040–1044)\", \"Kantoku (1044–1046)\", \"Eishō (1046–1053)\", \"Tengi (1053–1058)\", \"Kōhei (1058–1065)\", \"Jiryaku (1065–1069)\", \"Enkyū (1069–1074)\", \"Shōho (1074–1077)\", \"Shōryaku (1077–1081)\", \"Eihō (1081–1084)\", \"Ōtoku (1084–1087)\", \"Kanji (1087–1094)\", \"Kahō (1094–1096)\", \"Eichō (1096–1097)\", \"Jōtoku (1097–1099)\", \"Kōwa (1099–1104)\", \"Chōji (1104–1106)\", \"Kashō (1106–1108)\", \"Tennin (1108–1110)\", \"Ten-ei (1110-1113)\", \"Eikyū (1113–1118)\", \"Gen’ei (1118–1120)\", \"Hōan (1120–1124)\", \"Tenji (1124–1126)\", \"Daiji (1126–1131)\", \"Tenshō (1131–1132)\", \"Chōshō (1132–1135)\", \"Hōen (1135–1141)\", \"Eiji (1141–1142)\", \"Kōji (1142–1144)\", \"Ten’yō (1144–1145)\", \"Kyūan (1145–1151)\", \"Ninpei (1151–1154)\", \"Kyūju (1154–1156)\", \"Hōgen (1156–1159)\", \"Heiji (1159–1160)\", \"Eiryaku (1160–1161)\", \"Ōho (1161–1163)\", \"Chōkan (1163–1165)\", \"Eiman (1165–1166)\", \"Nin’an (1166–1169)\", \"Kaō (1169–1171)\", \"Shōan (1171–1175)\", \"Angen (1175–1177)\", \"Jishō (1177–1181)\", \"Yōwa (1181–1182)\", \"Juei (1182–1184)\", \"Genryaku (1184–1185)\", \"Bunji (1185–1190)\", \"Kenkyū (1190–1199)\", \"Shōji (1199–1201)\", \"Kennin (1201–1204)\", \"Genkyū (1204–1206)\", \"Ken’ei (1206–1207)\", \"Jōgen (1207–1211)\", \"Kenryaku (1211–1213)\", \"Kenpō (1213–1219)\", \"Jōkyū (1219–1222)\", \"Jōō (1222–1224)\", \"Gennin (1224–1225)\", \"Karoku (1225–1227)\", \"Antei (1227–1229)\", \"Kanki (1229–1232)\", \"Jōei (1232–1233)\", \"Tenpuku (1233–1234)\", \"Bunryaku (1234–1235)\", \"Katei (1235–1238)\", \"Ryakunin (1238–1239)\", \"En’ō (1239–1240)\", \"Ninji (1240–1243)\", \"Kangen (1243–1247)\", \"Hōji (1247–1249)\", \"Kenchō (1249–1256)\", \"Kōgen (1256–1257)\", \"Shōka (1257–1259)\", \"Shōgen (1259–1260)\", \"Bun’ō (1260–1261)\", \"Kōchō (1261–1264)\", \"Bun’ei (1264–1275)\", \"Kenji (1275–1278)\", \"Kōan (1278–1288)\", \"Shōō (1288–1293)\", \"Einin (1293–1299)\", \"Shōan (1299–1302)\", \"Kengen (1302–1303)\", \"Kagen (1303–1306)\", \"Tokuji (1306–1308)\", \"Enkyō (1308–1311)\", \"Ōchō (1311–1312)\", \"Shōwa (1312–1317)\", \"Bunpō (1317–1319)\", \"Genō (1319–1321)\", \"Genkō (1321–1324)\", \"Shōchū (1324–1326)\", \"Karyaku (1326–1329)\", \"Gentoku (1329–1331)\", \"Genkō (1331–1334)\", \"Kenmu (1334–1336)\", \"Engen (1336–1340)\", \"Kōkoku (1340–1346)\", \"Shōhei (1346–1370)\", \"Kentoku (1370–1372)\", \"Bunchū (1372–1375)\", \"Tenju (1375–1379)\", \"Kōryaku (1379–1381)\", \"Kōwa (1381–1384)\", \"Genchū (1384–1392)\", \"Meitoku (1384–1387)\", \"Kakei (1387–1389)\", \"Kōō (1389–1390)\", \"Meitoku (1390–1394)\", \"Ōei (1394–1428)\", \"Shōchō (1428–1429)\", \"Eikyō (1429–1441)\", \"Kakitsu (1441–1444)\", \"Bun’an (1444–1449)\", \"Hōtoku (1449–1452)\", \"Kyōtoku (1452–1455)\", \"Kōshō (1455–1457)\", \"Chōroku (1457–1460)\", \"Kanshō (1460–1466)\", \"Bunshō (1466–1467)\", \"Ōnin (1467–1469)\", \"Bunmei (1469–1487)\", \"Chōkyō (1487–1489)\", \"Entoku (1489–1492)\", \"Meiō (1492–1501)\", \"Bunki (1501–1504)\", \"Eishō (1504–1521)\", \"Taiei (1521–1528)\", \"Kyōroku (1528–1532)\", \"Tenbun (1532–1555)\", \"Kōji (1555–1558)\", \"Eiroku (1558–1570)\", \"Genki (1570–1573)\", \"Tenshō (1573–1592)\", \"Bunroku (1592–1596)\", \"Keichō (1596–1615)\", \"Genna (1615–1624)\", \"Kan’ei (1624–1644)\", \"Shōho (1644–1648)\", \"Keian (1648–1652)\", \"Jōō (1652–1655)\", \"Meireki (1655–1658)\", \"Manji (1658–1661)\", \"Kanbun (1661–1673)\", \"Enpō (1673–1681)\", \"Tenna (1681–1684)\", \"Jōkyō (1684–1688)\", \"Genroku (1688–1704)\", \"Hōei (1704–1711)\", \"Shōtoku (1711–1716)\", \"Kyōhō (1716–1736)\", \"Genbun (1736–1741)\", \"Kanpō (1741–1744)\", \"Enkyō (1744–1748)\", \"Kan’en (1748–1751)\", \"Hōreki (1751–1764)\", \"Meiwa (1764–1772)\", \"An’ei (1772–1781)\", \"Tenmei (1781–1789)\", \"Kansei (1789–1801)\", \"Kyōwa (1801–1804)\", \"Bunka (1804–1818)\", \"Bunsei (1818–1830)\", \"Tenpō (1830–1844)\", \"Kōka (1844–1848)\", \"Kaei (1848–1854)\", \"Ansei (1854–1860)\", \"Man’en (1860–1861)\", \"Bunkyū (1861–1864)\", \"Genji (1864–1865)\", \"Keiō (1865–1868)\", \"Meiji\", \"Taishō\", \"Shōwa\", \"Heisei\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n persian: {\n months: {\n narrow: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"],\n short: [\"Farvardin\", \"Ordibehesht\", \"Khordad\", \"Tir\", \"Mordad\", \"Shahrivar\", \"Mehr\", \"Aban\", \"Azar\", \"Dey\", \"Bahman\", \"Esfand\"],\n long: [\"Farvardin\", \"Ordibehesht\", \"Khordad\", \"Tir\", \"Mordad\", \"Shahrivar\", \"Mehr\", \"Aban\", \"Azar\", \"Dey\", \"Bahman\", \"Esfand\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"AP\"],\n short: [\"AP\"],\n long: [\"AP\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n },\n roc: {\n months: {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n short: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n long: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"]\n },\n days: {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n long: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]\n },\n eras: {\n narrow: [\"Before R.O.C.\", \"Minguo\"],\n short: [\"Before R.O.C.\", \"Minguo\"],\n long: [\"Before R.O.C.\", \"Minguo\"]\n },\n dayPeriods: {\n am: \"AM\",\n pm: \"PM\"\n }\n }\n }\n },\n number: {\n nu: [\"latn\"],\n patterns: {\n decimal: {\n positivePattern: \"{number}\",\n negativePattern: \"{minusSign}{number}\"\n },\n currency: {\n positivePattern: \"{currency}{number}\",\n negativePattern: \"{minusSign}{currency}{number}\"\n },\n percent: {\n positivePattern: \"{number}{percentSign}\",\n negativePattern: \"{minusSign}{number}{percentSign}\"\n }\n },\n symbols: {\n latn: {\n decimal: \".\",\n group: \",\",\n nan: \"NaN\",\n plusSign: \"+\",\n minusSign: \"-\",\n percentSign: \"%\",\n infinity: \"∞\"\n }\n },\n currencies: {\n AUD: \"A$\",\n BRL: \"R$\",\n CAD: \"CA$\",\n CNY: \"CN¥\",\n EUR: \"€\",\n GBP: \"£\",\n HKD: \"HK$\",\n ILS: \"₪\",\n INR: \"₹\",\n JPY: \"¥\",\n KRW: \"₩\",\n MXN: \"MX$\",\n NZD: \"NZ$\",\n TWD: \"NT$\",\n USD: \"$\",\n VND: \"₫\",\n XAF: \"FCFA\",\n XCD: \"EC$\",\n XOF: \"CFA\",\n XPF: \"CFPF\"\n }\n }\n});","\"use strict\";\n\nif (!require(\"./is-implemented\")()) {\n Object.defineProperty(require(\"ext/global-this\"), \"Symbol\", {\n value: require(\"./polyfill\"),\n configurable: true,\n enumerable: false,\n writable: true\n });\n}","\"use strict\"; // ES3 safe\n\nvar _undefined = void 0;\n\nmodule.exports = function (value) {\n return value !== _undefined && value !== null;\n};","\"use strict\";\n\nvar isSymbol = require(\"./is-symbol\");\n\nmodule.exports = function (value) {\n if (!isSymbol(value)) throw new TypeError(value + \" is not a symbol\");\n return value;\n};","'use strict';\n\nvar define = require('define-properties');\n\nvar RequireObjectCoercible = require('es-abstract/2018/RequireObjectCoercible');\n\nvar callBound = require('es-abstract/helpers/callBound');\n\nvar implementation = require('./implementation');\n\nvar getPolyfill = require('./polyfill');\n\nvar polyfill = getPolyfill();\n\nvar shim = require('./shim');\n\nvar $slice = callBound('Array.prototype.slice');\n/* eslint-disable no-unused-vars */\n\nvar boundIncludesShim = function includes(array, searchElement) {\n /* eslint-enable no-unused-vars */\n RequireObjectCoercible(array);\n return polyfill.apply(array, $slice(arguments, 1));\n};\n\ndefine(boundIncludesShim, {\n getPolyfill: getPolyfill,\n implementation: implementation,\n shim: shim\n});\nmodule.exports = boundIncludesShim;","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n var str = toStr.call(value);\n var isArgs = str === '[object Arguments]';\n\n if (!isArgs) {\n isArgs = str !== '[object Array]' && value !== null && typeof value === 'object' && typeof value.length === 'number' && value.length >= 0 && toStr.call(value.callee) === '[object Function]';\n }\n\n return isArgs;\n};","'use strict';\n\nmodule.exports = require('../5/CheckObjectCoercible');","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%'); // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10\n\nmodule.exports = function CheckObjectCoercible(value, optMessage) {\n if (value == null) {\n throw new $TypeError(optMessage || 'Cannot call method on ' + value);\n }\n\n return value;\n};","'use strict';\n\nvar bind = require('function-bind');\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $Function = GetIntrinsic('%Function%');\nvar $apply = $Function.apply;\nvar $call = $Function.call;\n\nmodule.exports = function callBind() {\n return bind.apply($call, arguments);\n};\n\nmodule.exports.apply = function applyBind() {\n return bind.apply($apply, arguments);\n};","'use strict';\n\nvar ToInteger = require('es-abstract/2018/ToInteger');\n\nvar ToLength = require('es-abstract/2018/ToLength');\n\nvar ToObject = require('es-abstract/2018/ToObject');\n\nvar SameValueZero = require('es-abstract/2018/SameValueZero');\n\nvar $isNaN = require('es-abstract/helpers/isNaN');\n\nvar $isFinite = require('es-abstract/helpers/isFinite');\n\nvar GetIntrinsic = require('es-abstract/GetIntrinsic');\n\nvar callBound = require('es-abstract/helpers/callBound');\n\nvar isString = require('is-string');\n\nvar $charAt = callBound('String.prototype.charAt');\nvar $indexOf = GetIntrinsic('%Array.prototype.indexOf%'); // TODO: use callBind.apply without breaking IE 8\n\nmodule.exports = function includes(searchElement) {\n var fromIndex = arguments.length > 1 ? ToInteger(arguments[1]) : 0;\n\n if ($indexOf && !$isNaN(searchElement) && $isFinite(fromIndex) && typeof searchElement !== 'undefined') {\n return $indexOf.apply(this, arguments) > -1;\n }\n\n var O = ToObject(this);\n var length = ToLength(O.length);\n\n if (length === 0) {\n return false;\n }\n\n var k = fromIndex >= 0 ? fromIndex : Math.max(0, length + fromIndex);\n\n while (k < length) {\n if (SameValueZero(searchElement, isString(O) ? $charAt(O, k) : O[k])) {\n return true;\n }\n\n k += 1;\n }\n\n return false;\n};","'use strict';\n\nvar ES5ToInteger = require('../5/ToInteger');\n\nvar ToNumber = require('./ToNumber'); // https://www.ecma-international.org/ecma-262/6.0/#sec-tointeger\n\n\nmodule.exports = function ToInteger(value) {\n var number = ToNumber(value);\n return ES5ToInteger(number);\n};","'use strict';\n\nvar $isNaN = Number.isNaN || function (a) {\n return a !== a;\n};\n\nmodule.exports = Number.isFinite || function (x) {\n return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity;\n};","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar constructorRegex = /^\\s*class\\b/;\n\nvar isES6ClassFn = function isES6ClassFunction(value) {\n try {\n var fnStr = fnToStr.call(value);\n return constructorRegex.test(fnStr);\n } catch (e) {\n return false; // not a function\n }\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n try {\n if (isES6ClassFn(value)) {\n return false;\n }\n\n fnToStr.call(value);\n return true;\n } catch (e) {\n return false;\n }\n};\n\nvar toStr = Object.prototype.toString;\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isCallable(value) {\n if (!value) {\n return false;\n }\n\n if (typeof value !== 'function' && typeof value !== 'object') {\n return false;\n }\n\n if (typeof value === 'function' && !value.prototype) {\n return true;\n }\n\n if (hasToStringTag) {\n return tryFunctionObject(value);\n }\n\n if (isES6ClassFn(value)) {\n return false;\n }\n\n var strClass = toStr.call(value);\n return strClass === fnClass || strClass === genClass;\n};","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n return Array.prototype.includes || implementation;\n};","'use strict';\n\nvar define = require('define-properties');\n\nvar implementation = require('./implementation');\n\nvar getPolyfill = require('./polyfill');\n\nvar shim = require('./shim');\n\nvar polyfill = getPolyfill();\ndefine(polyfill, {\n getPolyfill: getPolyfill,\n implementation: implementation,\n shim: shim\n});\nmodule.exports = polyfill;","'use strict';\n\nvar has = require('has');\n\nvar RequireObjectCoercible = require('es-abstract/2019/RequireObjectCoercible');\n\nvar callBound = require('es-abstract/helpers/callBound');\n\nvar $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\nmodule.exports = function values(O) {\n var obj = RequireObjectCoercible(O);\n var vals = [];\n\n for (var key in obj) {\n if (has(obj, key) && $isEnumerable(obj, key)) {\n vals.push(obj[key]);\n }\n }\n\n return vals;\n};","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n return typeof Object.values === 'function' ? Object.values : implementation;\n};","'use strict';\n\nvar define = require('define-properties');\n\nvar implementation = require('./implementation');\n\nvar getPolyfill = require('./polyfill');\n\nvar shim = require('./shim');\n\nvar polyfill = getPolyfill();\n/* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */\n\ndefine(polyfill, {\n getPolyfill: getPolyfill,\n implementation: implementation,\n shim: shim\n});\nmodule.exports = polyfill;","'use strict';\n/* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */\n\nmodule.exports = function isNaN(value) {\n return value !== value;\n};","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n if (Number.isNaN && Number.isNaN(NaN) && !Number.isNaN('a')) {\n return Number.isNaN;\n }\n\n return implementation;\n};","'use strict';\n\nvar bind = require('function-bind');\n\nvar define = require('define-properties');\n\nvar implementation = require('./implementation');\n\nvar getPolyfill = require('./polyfill');\n\nvar shim = require('./shim');\n\nvar bound = bind.call(Function.call, getPolyfill());\ndefine(bound, {\n getPolyfill: getPolyfill,\n implementation: implementation,\n shim: shim\n});\nmodule.exports = bound;","'use strict';\n\nvar requirePromise = require('./requirePromise');\n\nrequirePromise();\n\nvar IsCallable = require('es-abstract/2018/IsCallable');\n\nvar SpeciesConstructor = require('es-abstract/2018/SpeciesConstructor');\n\nvar Type = require('es-abstract/2018/Type');\n\nvar promiseResolve = function PromiseResolve(C, value) {\n return new C(function (resolve) {\n resolve(value);\n });\n};\n\nvar OriginalPromise = Promise;\n\nvar createThenFinally = function CreateThenFinally(C, onFinally) {\n return function (value) {\n var result = onFinally();\n var promise = promiseResolve(C, result);\n\n var valueThunk = function valueThunk() {\n return value;\n };\n\n return promise.then(valueThunk);\n };\n};\n\nvar createCatchFinally = function CreateCatchFinally(C, onFinally) {\n return function (reason) {\n var result = onFinally();\n var promise = promiseResolve(C, result);\n\n var thrower = function thrower() {\n throw reason;\n };\n\n return promise.then(thrower);\n };\n};\n\nvar promiseFinally = function finally_(onFinally) {\n /* eslint no-invalid-this: 0 */\n var promise = this;\n\n if (Type(promise) !== 'Object') {\n throw new TypeError('receiver is not an Object');\n }\n\n var C = SpeciesConstructor(promise, OriginalPromise); // may throw\n\n var thenFinally = onFinally;\n var catchFinally = onFinally;\n\n if (IsCallable(onFinally)) {\n thenFinally = createThenFinally(C, onFinally);\n catchFinally = createCatchFinally(C, onFinally);\n }\n\n return promise.then(thenFinally, catchFinally);\n};\n\nif (Object.getOwnPropertyDescriptor) {\n var descriptor = Object.getOwnPropertyDescriptor(promiseFinally, 'name');\n\n if (descriptor && descriptor.configurable) {\n Object.defineProperty(promiseFinally, 'name', {\n configurable: true,\n value: 'finally'\n });\n }\n}\n\nmodule.exports = promiseFinally;","'use strict';\n\nvar ES5Type = require('../5/Type'); // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring\n\n\nmodule.exports = function Type(x) {\n if (typeof x === 'symbol') {\n return 'Symbol';\n }\n\n return ES5Type(x);\n};","'use strict';\n\nvar requirePromise = require('./requirePromise');\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n requirePromise();\n return typeof Promise.prototype['finally'] === 'function' ? Promise.prototype['finally'] : implementation;\n};","'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\n\nvar jsx = function () {\n var REACT_ELEMENT_TYPE = typeof Symbol === \"function\" && Symbol.for && Symbol.for(\"react.element\") || 0xeac7;\n return function createRawReactElement(type, props, key, children) {\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n\n if (!props && childrenLength !== 0) {\n props = {};\n }\n\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n\n props.children = childArray;\n }\n\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : '' + key,\n ref: null,\n props: props,\n _owner: null\n };\n };\n}();\n\nvar asyncToGenerator = function asyncToGenerator(fn) {\n return function () {\n var gen = fn.apply(this, arguments);\n return new Promise(function (resolve, reject) {\n function step(key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n return Promise.resolve(value).then(function (value) {\n return step(\"next\", value);\n }, function (err) {\n return step(\"throw\", err);\n });\n }\n }\n\n return step(\"next\");\n });\n };\n};\n\nvar classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar defineEnumerableProperties = function defineEnumerableProperties(obj, descs) {\n for (var key in descs) {\n var desc = descs[key];\n desc.configurable = desc.enumerable = true;\n if (\"value\" in desc) desc.writable = true;\n Object.defineProperty(obj, key, desc);\n }\n\n return obj;\n};\n\nvar defaults = function defaults(obj, _defaults) {\n var keys = Object.getOwnPropertyNames(_defaults);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = Object.getOwnPropertyDescriptor(_defaults, key);\n\n if (value && value.configurable && obj[key] === undefined) {\n Object.defineProperty(obj, key, value);\n }\n }\n\n return obj;\n};\n\nvar defineProperty$1 = function defineProperty$1(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar get = function get(object, property, receiver) {\n if (object === null) object = Function.prototype;\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent === null) {\n return undefined;\n } else {\n return get(parent, property, receiver);\n }\n } else if (\"value\" in desc) {\n return desc.value;\n } else {\n var getter = desc.get;\n\n if (getter === undefined) {\n return undefined;\n }\n\n return getter.call(receiver);\n }\n};\n\nvar inherits = function inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\nvar _instanceof = function _instanceof(left, right) {\n if (right != null && typeof Symbol !== \"undefined\" && right[Symbol.hasInstance]) {\n return right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n};\n\nvar interopRequireDefault = function interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n};\n\nvar interopRequireWildcard = function interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n};\n\nvar newArrowCheck = function newArrowCheck(innerThis, boundThis) {\n if (innerThis !== boundThis) {\n throw new TypeError(\"Cannot instantiate an arrow function\");\n }\n};\n\nvar objectDestructuringEmpty = function objectDestructuringEmpty(obj) {\n if (obj == null) throw new TypeError(\"Cannot destructure undefined\");\n};\n\nvar objectWithoutProperties = function objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = function possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n};\n\nvar selfGlobal = typeof global === \"undefined\" ? self : global;\n\nvar set = function set(object, property, value, receiver) {\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent !== null) {\n set(parent, property, value, receiver);\n }\n } else if (\"value\" in desc && desc.writable) {\n desc.value = value;\n } else {\n var setter = desc.set;\n\n if (setter !== undefined) {\n setter.call(receiver, value);\n }\n }\n\n return value;\n};\n\nvar slicedToArray = function () {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"]) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n}();\n\nvar slicedToArrayLoose = function slicedToArrayLoose(arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n var _arr = [];\n\n for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {\n _arr.push(_step.value);\n\n if (i && _arr.length === i) break;\n }\n\n return _arr;\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n};\n\nvar taggedTemplateLiteral = function taggedTemplateLiteral(strings, raw) {\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n};\n\nvar taggedTemplateLiteralLoose = function taggedTemplateLiteralLoose(strings, raw) {\n strings.raw = raw;\n return strings;\n};\n\nvar temporalRef = function temporalRef(val, name, undef) {\n if (val === undef) {\n throw new ReferenceError(name + \" is not defined - temporal dead zone\");\n } else {\n return val;\n }\n};\n\nvar temporalUndefined = {};\n\nvar toArray = function toArray(arr) {\n return Array.isArray(arr) ? arr : Array.from(arr);\n};\n\nvar toConsumableArray = function toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n};\n\nvar babelHelpers$1 = Object.freeze({\n jsx: jsx,\n asyncToGenerator: asyncToGenerator,\n classCallCheck: classCallCheck,\n createClass: createClass,\n defineEnumerableProperties: defineEnumerableProperties,\n defaults: defaults,\n defineProperty: defineProperty$1,\n get: get,\n inherits: inherits,\n interopRequireDefault: interopRequireDefault,\n interopRequireWildcard: interopRequireWildcard,\n newArrowCheck: newArrowCheck,\n objectDestructuringEmpty: objectDestructuringEmpty,\n objectWithoutProperties: objectWithoutProperties,\n possibleConstructorReturn: possibleConstructorReturn,\n selfGlobal: selfGlobal,\n set: set,\n slicedToArray: slicedToArray,\n slicedToArrayLoose: slicedToArrayLoose,\n taggedTemplateLiteral: taggedTemplateLiteral,\n taggedTemplateLiteralLoose: taggedTemplateLiteralLoose,\n temporalRef: temporalRef,\n temporalUndefined: temporalUndefined,\n toArray: toArray,\n toConsumableArray: toConsumableArray,\n typeof: _typeof,\n extends: _extends,\n instanceof: _instanceof\n});\n\nvar realDefineProp = function () {\n var sentinel = function sentinel() {};\n\n try {\n Object.defineProperty(sentinel, 'a', {\n get: function get() {\n return 1;\n }\n });\n Object.defineProperty(sentinel, 'prototype', {\n writable: false\n });\n return sentinel.a === 1 && sentinel.prototype instanceof Object;\n } catch (e) {\n return false;\n }\n}(); // Need a workaround for getters in ES3\n\n\nvar es3 = !realDefineProp && !Object.prototype.__defineGetter__; // We use this a lot (and need it for proto-less objects)\n\nvar hop = Object.prototype.hasOwnProperty; // Naive defineProperty for compatibility\n\nvar defineProperty = realDefineProp ? Object.defineProperty : function (obj, name, desc) {\n if ('get' in desc && obj.__defineGetter__) obj.__defineGetter__(name, desc.get);else if (!hop.call(obj, name) || 'value' in desc) obj[name] = desc.value;\n}; // Array.prototype.indexOf, as good as we need it to be\n\nvar arrIndexOf = Array.prototype.indexOf || function (search) {\n /*jshint validthis:true */\n var t = this;\n if (!t.length) return -1;\n\n for (var i = arguments[1] || 0, max = t.length; i < max; i++) {\n if (t[i] === search) return i;\n }\n\n return -1;\n}; // Create an object with the specified prototype (2nd arg required for Record)\n\n\nvar objCreate = Object.create || function (proto, props) {\n var obj = void 0;\n\n function F() {}\n\n F.prototype = proto;\n obj = new F();\n\n for (var k in props) {\n if (hop.call(props, k)) defineProperty(obj, k, props[k]);\n }\n\n return obj;\n}; // Snapshot some (hopefully still) native built-ins\n\n\nvar arrSlice = Array.prototype.slice;\nvar arrConcat = Array.prototype.concat;\nvar arrPush = Array.prototype.push;\nvar arrJoin = Array.prototype.join;\nvar arrShift = Array.prototype.shift; // Naive Function.prototype.bind for compatibility\n\nvar fnBind = Function.prototype.bind || function (thisObj) {\n var fn = this,\n args = arrSlice.call(arguments, 1); // All our (presently) bound functions have either 1 or 0 arguments. By returning\n // different function signatures, we can pass some tests in ES3 environments\n\n if (fn.length === 1) {\n return function () {\n return fn.apply(thisObj, arrConcat.call(args, arrSlice.call(arguments)));\n };\n }\n\n return function () {\n return fn.apply(thisObj, arrConcat.call(args, arrSlice.call(arguments)));\n };\n}; // Object housing internal properties for constructors\n\n\nvar internals = objCreate(null); // Keep internal properties internal\n\nvar secret = Math.random(); // Helper functions\n// ================\n\n/**\n * A function to deal with the inaccuracy of calculating log10 in pre-ES6\n * JavaScript environments. Math.log(num) / Math.LN10 was responsible for\n * causing issue #62.\n */\n\nfunction log10Floor(n) {\n // ES6 provides the more accurate Math.log10\n if (typeof Math.log10 === 'function') return Math.floor(Math.log10(n));\n var x = Math.round(Math.log(n) * Math.LOG10E);\n return x - (Number('1e' + x) > n);\n}\n/**\n * A map that doesn't contain Object in its prototype chain\n */\n\n\nfunction Record(obj) {\n // Copy only own properties over unless this object is already a Record instance\n for (var k in obj) {\n if (obj instanceof Record || hop.call(obj, k)) defineProperty(this, k, {\n value: obj[k],\n enumerable: true,\n writable: true,\n configurable: true\n });\n }\n}\n\nRecord.prototype = objCreate(null);\n/**\n * An ordered list\n */\n\nfunction List() {\n defineProperty(this, 'length', {\n writable: true,\n value: 0\n });\n if (arguments.length) arrPush.apply(this, arrSlice.call(arguments));\n}\n\nList.prototype = objCreate(null);\n/**\n * Constructs a regular expression to restore tainted RegExp properties\n */\n\nfunction createRegExpRestore() {\n if (internals.disableRegExpRestore) {\n return function () {\n /* no-op */\n };\n }\n\n var regExpCache = {\n lastMatch: RegExp.lastMatch || '',\n leftContext: RegExp.leftContext,\n multiline: RegExp.multiline,\n input: RegExp.input\n },\n has = false; // Create a snapshot of all the 'captured' properties\n\n for (var i = 1; i <= 9; i++) {\n has = (regExpCache['$' + i] = RegExp['$' + i]) || has;\n }\n\n return function () {\n // Now we've snapshotted some properties, escape the lastMatch string\n var esc = /[.?*+^$[\\]\\\\(){}|-]/g,\n lm = regExpCache.lastMatch.replace(esc, '\\\\$&'),\n reg = new List(); // If any of the captured strings were non-empty, iterate over them all\n\n if (has) {\n for (var _i = 1; _i <= 9; _i++) {\n var m = regExpCache['$' + _i]; // If it's empty, add an empty capturing group\n\n if (!m) lm = '()' + lm; // Else find the string in lm and escape & wrap it to capture it\n else {\n m = m.replace(esc, '\\\\$&');\n lm = lm.replace(m, '(' + m + ')');\n } // Push it to the reg and chop lm to make sure further groups come after\n\n arrPush.call(reg, lm.slice(0, lm.indexOf('(') + 1));\n lm = lm.slice(lm.indexOf('(') + 1);\n }\n }\n\n var exprStr = arrJoin.call(reg, '') + lm; // Shorten the regex by replacing each part of the expression with a match\n // for a string of that exact length. This is safe for the type of\n // expressions generated above, because the expression matches the whole\n // match string, so we know each group and each segment between capturing\n // groups can be matched by its length alone.\n\n exprStr = exprStr.replace(/(\\\\\\(|\\\\\\)|[^()])+/g, function (match) {\n return '[\\\\s\\\\S]{' + match.replace('\\\\', '').length + '}';\n }); // Create the regular expression that will reconstruct the RegExp properties\n\n var expr = new RegExp(exprStr, regExpCache.multiline ? 'gm' : 'g'); // Set the lastIndex of the generated expression to ensure that the match\n // is found in the correct index.\n\n expr.lastIndex = regExpCache.leftContext.length;\n expr.exec(regExpCache.input);\n };\n}\n/**\n * Mimics ES5's abstract ToObject() function\n */\n\n\nfunction toObject(arg) {\n if (arg === null) throw new TypeError('Cannot convert null or undefined to object');\n if ((typeof arg === 'undefined' ? 'undefined' : babelHelpers$1['typeof'](arg)) === 'object') return arg;\n return Object(arg);\n}\n\nfunction toNumber(arg) {\n if (typeof arg === 'number') return arg;\n return Number(arg);\n}\n\nfunction toInteger(arg) {\n var number = toNumber(arg);\n if (isNaN(number)) return 0;\n if (number === +0 || number === -0 || number === +Infinity || number === -Infinity) return number;\n if (number < 0) return Math.floor(Math.abs(number)) * -1;\n return Math.floor(Math.abs(number));\n}\n\nfunction toLength(arg) {\n var len = toInteger(arg);\n if (len <= 0) return 0;\n if (len === Infinity) return Math.pow(2, 53) - 1;\n return Math.min(len, Math.pow(2, 53) - 1);\n}\n/**\n * Returns \"internal\" properties for an object\n */\n\n\nfunction getInternalProperties(obj) {\n if (hop.call(obj, '__getInternalProperties')) return obj.__getInternalProperties(secret);\n return objCreate(null);\n}\n/**\n* Defines regular expressions for various operations related to the BCP 47 syntax,\n* as defined at http://tools.ietf.org/html/bcp47#section-2.1\n*/\n// extlang = 3ALPHA ; selected ISO 639 codes\n// *2(\"-\" 3ALPHA) ; permanently reserved\n\n\nvar extlang = '[a-z]{3}(?:-[a-z]{3}){0,2}'; // language = 2*3ALPHA ; shortest ISO 639 code\n// [\"-\" extlang] ; sometimes followed by\n// ; extended language subtags\n// / 4ALPHA ; or reserved for future use\n// / 5*8ALPHA ; or registered language subtag\n\nvar language = '(?:[a-z]{2,3}(?:-' + extlang + ')?|[a-z]{4}|[a-z]{5,8})'; // script = 4ALPHA ; ISO 15924 code\n\nvar script = '[a-z]{4}'; // region = 2ALPHA ; ISO 3166-1 code\n// / 3DIGIT ; UN M.49 code\n\nvar region = '(?:[a-z]{2}|\\\\d{3})'; // variant = 5*8alphanum ; registered variants\n// / (DIGIT 3alphanum)\n\nvar variant = '(?:[a-z0-9]{5,8}|\\\\d[a-z0-9]{3})'; // ; Single alphanumerics\n// ; \"x\" reserved for private use\n// singleton = DIGIT ; 0 - 9\n// / %x41-57 ; A - W\n// / %x59-5A ; Y - Z\n// / %x61-77 ; a - w\n// / %x79-7A ; y - z\n\nvar singleton = '[0-9a-wy-z]'; // extension = singleton 1*(\"-\" (2*8alphanum))\n\nvar extension = singleton + '(?:-[a-z0-9]{2,8})+'; // privateuse = \"x\" 1*(\"-\" (1*8alphanum))\n\nvar privateuse = 'x(?:-[a-z0-9]{1,8})+'; // irregular = \"en-GB-oed\" ; irregular tags do not match\n// / \"i-ami\" ; the 'langtag' production and\n// / \"i-bnn\" ; would not otherwise be\n// / \"i-default\" ; considered 'well-formed'\n// / \"i-enochian\" ; These tags are all valid,\n// / \"i-hak\" ; but most are deprecated\n// / \"i-klingon\" ; in favor of more modern\n// / \"i-lux\" ; subtags or subtag\n// / \"i-mingo\" ; combination\n// / \"i-navajo\"\n// / \"i-pwn\"\n// / \"i-tao\"\n// / \"i-tay\"\n// / \"i-tsu\"\n// / \"sgn-BE-FR\"\n// / \"sgn-BE-NL\"\n// / \"sgn-CH-DE\"\n\nvar irregular = '(?:en-GB-oed' + '|i-(?:ami|bnn|default|enochian|hak|klingon|lux|mingo|navajo|pwn|tao|tay|tsu)' + '|sgn-(?:BE-FR|BE-NL|CH-DE))'; // regular = \"art-lojban\" ; these tags match the 'langtag'\n// / \"cel-gaulish\" ; production, but their subtags\n// / \"no-bok\" ; are not extended language\n// / \"no-nyn\" ; or variant subtags: their meaning\n// / \"zh-guoyu\" ; is defined by their registration\n// / \"zh-hakka\" ; and all of these are deprecated\n// / \"zh-min\" ; in favor of a more modern\n// / \"zh-min-nan\" ; subtag or sequence of subtags\n// / \"zh-xiang\"\n\nvar regular = '(?:art-lojban|cel-gaulish|no-bok|no-nyn' + '|zh-(?:guoyu|hakka|min|min-nan|xiang))'; // grandfathered = irregular ; non-redundant tags registered\n// / regular ; during the RFC 3066 era\n\nvar grandfathered = '(?:' + irregular + '|' + regular + ')'; // langtag = language\n// [\"-\" script]\n// [\"-\" region]\n// *(\"-\" variant)\n// *(\"-\" extension)\n// [\"-\" privateuse]\n\nvar langtag = language + '(?:-' + script + ')?(?:-' + region + ')?(?:-' + variant + ')*(?:-' + extension + ')*(?:-' + privateuse + ')?'; // Language-Tag = langtag ; normal language tags\n// / privateuse ; private use tag\n// / grandfathered ; grandfathered tags\n\nvar expBCP47Syntax = RegExp('^(?:' + langtag + '|' + privateuse + '|' + grandfathered + ')$', 'i'); // Match duplicate variants in a language tag\n\nvar expVariantDupes = RegExp('^(?!x).*?-(' + variant + ')-(?:\\\\w{4,8}-(?!x-))*\\\\1\\\\b', 'i'); // Match duplicate singletons in a language tag (except in private use)\n\nvar expSingletonDupes = RegExp('^(?!x).*?-(' + singleton + ')-(?:\\\\w+-(?!x-))*\\\\1\\\\b', 'i'); // Match all extension sequences\n\nvar expExtSequences = RegExp('-' + extension, 'ig'); // Default locale is the first-added locale data for us\n\nvar defaultLocale = void 0;\n\nfunction setDefaultLocale(locale) {\n defaultLocale = locale;\n} // IANA Subtag Registry redundant tag and subtag maps\n\n\nvar redundantTags = {\n tags: {\n \"art-lojban\": \"jbo\",\n \"i-ami\": \"ami\",\n \"i-bnn\": \"bnn\",\n \"i-hak\": \"hak\",\n \"i-klingon\": \"tlh\",\n \"i-lux\": \"lb\",\n \"i-navajo\": \"nv\",\n \"i-pwn\": \"pwn\",\n \"i-tao\": \"tao\",\n \"i-tay\": \"tay\",\n \"i-tsu\": \"tsu\",\n \"no-bok\": \"nb\",\n \"no-nyn\": \"nn\",\n \"sgn-BE-FR\": \"sfb\",\n \"sgn-BE-NL\": \"vgt\",\n \"sgn-CH-DE\": \"sgg\",\n \"zh-guoyu\": \"cmn\",\n \"zh-hakka\": \"hak\",\n \"zh-min-nan\": \"nan\",\n \"zh-xiang\": \"hsn\",\n \"sgn-BR\": \"bzs\",\n \"sgn-CO\": \"csn\",\n \"sgn-DE\": \"gsg\",\n \"sgn-DK\": \"dsl\",\n \"sgn-ES\": \"ssp\",\n \"sgn-FR\": \"fsl\",\n \"sgn-GB\": \"bfi\",\n \"sgn-GR\": \"gss\",\n \"sgn-IE\": \"isg\",\n \"sgn-IT\": \"ise\",\n \"sgn-JP\": \"jsl\",\n \"sgn-MX\": \"mfs\",\n \"sgn-NI\": \"ncs\",\n \"sgn-NL\": \"dse\",\n \"sgn-NO\": \"nsl\",\n \"sgn-PT\": \"psr\",\n \"sgn-SE\": \"swl\",\n \"sgn-US\": \"ase\",\n \"sgn-ZA\": \"sfs\",\n \"zh-cmn\": \"cmn\",\n \"zh-cmn-Hans\": \"cmn-Hans\",\n \"zh-cmn-Hant\": \"cmn-Hant\",\n \"zh-gan\": \"gan\",\n \"zh-wuu\": \"wuu\",\n \"zh-yue\": \"yue\"\n },\n subtags: {\n BU: \"MM\",\n DD: \"DE\",\n FX: \"FR\",\n TP: \"TL\",\n YD: \"YE\",\n ZR: \"CD\",\n heploc: \"alalc97\",\n 'in': \"id\",\n iw: \"he\",\n ji: \"yi\",\n jw: \"jv\",\n mo: \"ro\",\n ayx: \"nun\",\n bjd: \"drl\",\n ccq: \"rki\",\n cjr: \"mom\",\n cka: \"cmr\",\n cmk: \"xch\",\n drh: \"khk\",\n drw: \"prs\",\n gav: \"dev\",\n hrr: \"jal\",\n ibi: \"opa\",\n kgh: \"kml\",\n lcq: \"ppr\",\n mst: \"mry\",\n myt: \"mry\",\n sca: \"hle\",\n tie: \"ras\",\n tkk: \"twm\",\n tlw: \"weo\",\n tnf: \"prs\",\n ybd: \"rki\",\n yma: \"lrr\"\n },\n extLang: {\n aao: [\"aao\", \"ar\"],\n abh: [\"abh\", \"ar\"],\n abv: [\"abv\", \"ar\"],\n acm: [\"acm\", \"ar\"],\n acq: [\"acq\", \"ar\"],\n acw: [\"acw\", \"ar\"],\n acx: [\"acx\", \"ar\"],\n acy: [\"acy\", \"ar\"],\n adf: [\"adf\", \"ar\"],\n ads: [\"ads\", \"sgn\"],\n aeb: [\"aeb\", \"ar\"],\n aec: [\"aec\", \"ar\"],\n aed: [\"aed\", \"sgn\"],\n aen: [\"aen\", \"sgn\"],\n afb: [\"afb\", \"ar\"],\n afg: [\"afg\", \"sgn\"],\n ajp: [\"ajp\", \"ar\"],\n apc: [\"apc\", \"ar\"],\n apd: [\"apd\", \"ar\"],\n arb: [\"arb\", \"ar\"],\n arq: [\"arq\", \"ar\"],\n ars: [\"ars\", \"ar\"],\n ary: [\"ary\", \"ar\"],\n arz: [\"arz\", \"ar\"],\n ase: [\"ase\", \"sgn\"],\n asf: [\"asf\", \"sgn\"],\n asp: [\"asp\", \"sgn\"],\n asq: [\"asq\", \"sgn\"],\n asw: [\"asw\", \"sgn\"],\n auz: [\"auz\", \"ar\"],\n avl: [\"avl\", \"ar\"],\n ayh: [\"ayh\", \"ar\"],\n ayl: [\"ayl\", \"ar\"],\n ayn: [\"ayn\", \"ar\"],\n ayp: [\"ayp\", \"ar\"],\n bbz: [\"bbz\", \"ar\"],\n bfi: [\"bfi\", \"sgn\"],\n bfk: [\"bfk\", \"sgn\"],\n bjn: [\"bjn\", \"ms\"],\n bog: [\"bog\", \"sgn\"],\n bqn: [\"bqn\", \"sgn\"],\n bqy: [\"bqy\", \"sgn\"],\n btj: [\"btj\", \"ms\"],\n bve: [\"bve\", \"ms\"],\n bvl: [\"bvl\", \"sgn\"],\n bvu: [\"bvu\", \"ms\"],\n bzs: [\"bzs\", \"sgn\"],\n cdo: [\"cdo\", \"zh\"],\n cds: [\"cds\", \"sgn\"],\n cjy: [\"cjy\", \"zh\"],\n cmn: [\"cmn\", \"zh\"],\n coa: [\"coa\", \"ms\"],\n cpx: [\"cpx\", \"zh\"],\n csc: [\"csc\", \"sgn\"],\n csd: [\"csd\", \"sgn\"],\n cse: [\"cse\", \"sgn\"],\n csf: [\"csf\", \"sgn\"],\n csg: [\"csg\", \"sgn\"],\n csl: [\"csl\", \"sgn\"],\n csn: [\"csn\", \"sgn\"],\n csq: [\"csq\", \"sgn\"],\n csr: [\"csr\", \"sgn\"],\n czh: [\"czh\", \"zh\"],\n czo: [\"czo\", \"zh\"],\n doq: [\"doq\", \"sgn\"],\n dse: [\"dse\", \"sgn\"],\n dsl: [\"dsl\", \"sgn\"],\n dup: [\"dup\", \"ms\"],\n ecs: [\"ecs\", \"sgn\"],\n esl: [\"esl\", \"sgn\"],\n esn: [\"esn\", \"sgn\"],\n eso: [\"eso\", \"sgn\"],\n eth: [\"eth\", \"sgn\"],\n fcs: [\"fcs\", \"sgn\"],\n fse: [\"fse\", \"sgn\"],\n fsl: [\"fsl\", \"sgn\"],\n fss: [\"fss\", \"sgn\"],\n gan: [\"gan\", \"zh\"],\n gds: [\"gds\", \"sgn\"],\n gom: [\"gom\", \"kok\"],\n gse: [\"gse\", \"sgn\"],\n gsg: [\"gsg\", \"sgn\"],\n gsm: [\"gsm\", \"sgn\"],\n gss: [\"gss\", \"sgn\"],\n gus: [\"gus\", \"sgn\"],\n hab: [\"hab\", \"sgn\"],\n haf: [\"haf\", \"sgn\"],\n hak: [\"hak\", \"zh\"],\n hds: [\"hds\", \"sgn\"],\n hji: [\"hji\", \"ms\"],\n hks: [\"hks\", \"sgn\"],\n hos: [\"hos\", \"sgn\"],\n hps: [\"hps\", \"sgn\"],\n hsh: [\"hsh\", \"sgn\"],\n hsl: [\"hsl\", \"sgn\"],\n hsn: [\"hsn\", \"zh\"],\n icl: [\"icl\", \"sgn\"],\n ils: [\"ils\", \"sgn\"],\n inl: [\"inl\", \"sgn\"],\n ins: [\"ins\", \"sgn\"],\n ise: [\"ise\", \"sgn\"],\n isg: [\"isg\", \"sgn\"],\n isr: [\"isr\", \"sgn\"],\n jak: [\"jak\", \"ms\"],\n jax: [\"jax\", \"ms\"],\n jcs: [\"jcs\", \"sgn\"],\n jhs: [\"jhs\", \"sgn\"],\n jls: [\"jls\", \"sgn\"],\n jos: [\"jos\", \"sgn\"],\n jsl: [\"jsl\", \"sgn\"],\n jus: [\"jus\", \"sgn\"],\n kgi: [\"kgi\", \"sgn\"],\n knn: [\"knn\", \"kok\"],\n kvb: [\"kvb\", \"ms\"],\n kvk: [\"kvk\", \"sgn\"],\n kvr: [\"kvr\", \"ms\"],\n kxd: [\"kxd\", \"ms\"],\n lbs: [\"lbs\", \"sgn\"],\n lce: [\"lce\", \"ms\"],\n lcf: [\"lcf\", \"ms\"],\n liw: [\"liw\", \"ms\"],\n lls: [\"lls\", \"sgn\"],\n lsg: [\"lsg\", \"sgn\"],\n lsl: [\"lsl\", \"sgn\"],\n lso: [\"lso\", \"sgn\"],\n lsp: [\"lsp\", \"sgn\"],\n lst: [\"lst\", \"sgn\"],\n lsy: [\"lsy\", \"sgn\"],\n ltg: [\"ltg\", \"lv\"],\n lvs: [\"lvs\", \"lv\"],\n lzh: [\"lzh\", \"zh\"],\n max: [\"max\", \"ms\"],\n mdl: [\"mdl\", \"sgn\"],\n meo: [\"meo\", \"ms\"],\n mfa: [\"mfa\", \"ms\"],\n mfb: [\"mfb\", \"ms\"],\n mfs: [\"mfs\", \"sgn\"],\n min: [\"min\", \"ms\"],\n mnp: [\"mnp\", \"zh\"],\n mqg: [\"mqg\", \"ms\"],\n mre: [\"mre\", \"sgn\"],\n msd: [\"msd\", \"sgn\"],\n msi: [\"msi\", \"ms\"],\n msr: [\"msr\", \"sgn\"],\n mui: [\"mui\", \"ms\"],\n mzc: [\"mzc\", \"sgn\"],\n mzg: [\"mzg\", \"sgn\"],\n mzy: [\"mzy\", \"sgn\"],\n nan: [\"nan\", \"zh\"],\n nbs: [\"nbs\", \"sgn\"],\n ncs: [\"ncs\", \"sgn\"],\n nsi: [\"nsi\", \"sgn\"],\n nsl: [\"nsl\", \"sgn\"],\n nsp: [\"nsp\", \"sgn\"],\n nsr: [\"nsr\", \"sgn\"],\n nzs: [\"nzs\", \"sgn\"],\n okl: [\"okl\", \"sgn\"],\n orn: [\"orn\", \"ms\"],\n ors: [\"ors\", \"ms\"],\n pel: [\"pel\", \"ms\"],\n pga: [\"pga\", \"ar\"],\n pks: [\"pks\", \"sgn\"],\n prl: [\"prl\", \"sgn\"],\n prz: [\"prz\", \"sgn\"],\n psc: [\"psc\", \"sgn\"],\n psd: [\"psd\", \"sgn\"],\n pse: [\"pse\", \"ms\"],\n psg: [\"psg\", \"sgn\"],\n psl: [\"psl\", \"sgn\"],\n pso: [\"pso\", \"sgn\"],\n psp: [\"psp\", \"sgn\"],\n psr: [\"psr\", \"sgn\"],\n pys: [\"pys\", \"sgn\"],\n rms: [\"rms\", \"sgn\"],\n rsi: [\"rsi\", \"sgn\"],\n rsl: [\"rsl\", \"sgn\"],\n sdl: [\"sdl\", \"sgn\"],\n sfb: [\"sfb\", \"sgn\"],\n sfs: [\"sfs\", \"sgn\"],\n sgg: [\"sgg\", \"sgn\"],\n sgx: [\"sgx\", \"sgn\"],\n shu: [\"shu\", \"ar\"],\n slf: [\"slf\", \"sgn\"],\n sls: [\"sls\", \"sgn\"],\n sqk: [\"sqk\", \"sgn\"],\n sqs: [\"sqs\", \"sgn\"],\n ssh: [\"ssh\", \"ar\"],\n ssp: [\"ssp\", \"sgn\"],\n ssr: [\"ssr\", \"sgn\"],\n svk: [\"svk\", \"sgn\"],\n swc: [\"swc\", \"sw\"],\n swh: [\"swh\", \"sw\"],\n swl: [\"swl\", \"sgn\"],\n syy: [\"syy\", \"sgn\"],\n tmw: [\"tmw\", \"ms\"],\n tse: [\"tse\", \"sgn\"],\n tsm: [\"tsm\", \"sgn\"],\n tsq: [\"tsq\", \"sgn\"],\n tss: [\"tss\", \"sgn\"],\n tsy: [\"tsy\", \"sgn\"],\n tza: [\"tza\", \"sgn\"],\n ugn: [\"ugn\", \"sgn\"],\n ugy: [\"ugy\", \"sgn\"],\n ukl: [\"ukl\", \"sgn\"],\n uks: [\"uks\", \"sgn\"],\n urk: [\"urk\", \"ms\"],\n uzn: [\"uzn\", \"uz\"],\n uzs: [\"uzs\", \"uz\"],\n vgt: [\"vgt\", \"sgn\"],\n vkk: [\"vkk\", \"ms\"],\n vkt: [\"vkt\", \"ms\"],\n vsi: [\"vsi\", \"sgn\"],\n vsl: [\"vsl\", \"sgn\"],\n vsv: [\"vsv\", \"sgn\"],\n wuu: [\"wuu\", \"zh\"],\n xki: [\"xki\", \"sgn\"],\n xml: [\"xml\", \"sgn\"],\n xmm: [\"xmm\", \"ms\"],\n xms: [\"xms\", \"sgn\"],\n yds: [\"yds\", \"sgn\"],\n ysl: [\"ysl\", \"sgn\"],\n yue: [\"yue\", \"zh\"],\n zib: [\"zib\", \"sgn\"],\n zlm: [\"zlm\", \"ms\"],\n zmi: [\"zmi\", \"ms\"],\n zsl: [\"zsl\", \"sgn\"],\n zsm: [\"zsm\", \"ms\"]\n }\n};\n/**\n * Convert only a-z to uppercase as per section 6.1 of the spec\n */\n\nfunction toLatinUpperCase(str) {\n var i = str.length;\n\n while (i--) {\n var ch = str.charAt(i);\n if (ch >= \"a\" && ch <= \"z\") str = str.slice(0, i) + ch.toUpperCase() + str.slice(i + 1);\n }\n\n return str;\n}\n/**\n * The IsStructurallyValidLanguageTag abstract operation verifies that the locale\n * argument (which must be a String value)\n *\n * - represents a well-formed BCP 47 language tag as specified in RFC 5646 section\n * 2.1, or successor,\n * - does not include duplicate variant subtags, and\n * - does not include duplicate singleton subtags.\n *\n * The abstract operation returns true if locale can be generated from the ABNF\n * grammar in section 2.1 of the RFC, starting with Language-Tag, and does not\n * contain duplicate variant or singleton subtags (other than as a private use\n * subtag). It returns false otherwise. Terminal value characters in the grammar are\n * interpreted as the Unicode equivalents of the ASCII octet values given.\n */\n\n\nfunction\n/* 6.2.2 */\nIsStructurallyValidLanguageTag(locale) {\n // represents a well-formed BCP 47 language tag as specified in RFC 5646\n if (!expBCP47Syntax.test(locale)) return false; // does not include duplicate variant subtags, and\n\n if (expVariantDupes.test(locale)) return false; // does not include duplicate singleton subtags.\n\n if (expSingletonDupes.test(locale)) return false;\n return true;\n}\n/**\n * The CanonicalizeLanguageTag abstract operation returns the canonical and case-\n * regularized form of the locale argument (which must be a String value that is\n * a structurally valid BCP 47 language tag as verified by the\n * IsStructurallyValidLanguageTag abstract operation). It takes the steps\n * specified in RFC 5646 section 4.5, or successor, to bring the language tag\n * into canonical form, and to regularize the case of the subtags, but does not\n * take the steps to bring a language tag into “extlang form” and to reorder\n * variant subtags.\n\n * The specifications for extensions to BCP 47 language tags, such as RFC 6067,\n * may include canonicalization rules for the extension subtag sequences they\n * define that go beyond the canonicalization rules of RFC 5646 section 4.5.\n * Implementations are allowed, but not required, to apply these additional rules.\n */\n\n\nfunction\n/* 6.2.3 */\nCanonicalizeLanguageTag(locale) {\n var match = void 0,\n parts = void 0; // A language tag is in 'canonical form' when the tag is well-formed\n // according to the rules in Sections 2.1 and 2.2\n // Section 2.1 says all subtags use lowercase...\n\n locale = locale.toLowerCase(); // ...with 2 exceptions: 'two-letter and four-letter subtags that neither\n // appear at the start of the tag nor occur after singletons. Such two-letter\n // subtags are all uppercase (as in the tags \"en-CA-x-ca\" or \"sgn-BE-FR\") and\n // four-letter subtags are titlecase (as in the tag \"az-Latn-x-latn\").\n\n parts = locale.split('-');\n\n for (var i = 1, max = parts.length; i < max; i++) {\n // Two-letter subtags are all uppercase\n if (parts[i].length === 2) parts[i] = parts[i].toUpperCase(); // Four-letter subtags are titlecase\n else if (parts[i].length === 4) parts[i] = parts[i].charAt(0).toUpperCase() + parts[i].slice(1); // Is it a singleton?\n else if (parts[i].length === 1 && parts[i] !== 'x') break;\n }\n\n locale = arrJoin.call(parts, '-'); // The steps laid out in RFC 5646 section 4.5 are as follows:\n // 1. Extension sequences are ordered into case-insensitive ASCII order\n // by singleton subtag.\n\n if ((match = locale.match(expExtSequences)) && match.length > 1) {\n // The built-in sort() sorts by ASCII order, so use that\n match.sort(); // Replace all extensions with the joined, sorted array\n\n locale = locale.replace(RegExp('(?:' + expExtSequences.source + ')+', 'i'), arrJoin.call(match, ''));\n } // 2. Redundant or grandfathered tags are replaced by their 'Preferred-\n // Value', if there is one.\n\n\n if (hop.call(redundantTags.tags, locale)) locale = redundantTags.tags[locale]; // 3. Subtags are replaced by their 'Preferred-Value', if there is one.\n // For extlangs, the original primary language subtag is also\n // replaced if there is a primary language subtag in the 'Preferred-\n // Value'.\n\n parts = locale.split('-');\n\n for (var _i = 1, _max = parts.length; _i < _max; _i++) {\n if (hop.call(redundantTags.subtags, parts[_i])) parts[_i] = redundantTags.subtags[parts[_i]];else if (hop.call(redundantTags.extLang, parts[_i])) {\n parts[_i] = redundantTags.extLang[parts[_i]][0]; // For extlang tags, the prefix needs to be removed if it is redundant\n\n if (_i === 1 && redundantTags.extLang[parts[1]][1] === parts[0]) {\n parts = arrSlice.call(parts, _i++);\n _max -= 1;\n }\n }\n }\n\n return arrJoin.call(parts, '-');\n}\n/**\n * The DefaultLocale abstract operation returns a String value representing the\n * structurally valid (6.2.2) and canonicalized (6.2.3) BCP 47 language tag for the\n * host environment’s current locale.\n */\n\n\nfunction\n/* 6.2.4 */\nDefaultLocale() {\n return defaultLocale;\n} // Sect 6.3 Currency Codes\n// =======================\n\n\nvar expCurrencyCode = /^[A-Z]{3}$/;\n/**\n * The IsWellFormedCurrencyCode abstract operation verifies that the currency argument\n * (after conversion to a String value) represents a well-formed 3-letter ISO currency\n * code. The following steps are taken:\n */\n\nfunction\n/* 6.3.1 */\nIsWellFormedCurrencyCode(currency) {\n // 1. Let `c` be ToString(currency)\n var c = String(currency); // 2. Let `normalized` be the result of mapping c to upper case as described\n // in 6.1.\n\n var normalized = toLatinUpperCase(c); // 3. If the string length of normalized is not 3, return false.\n // 4. If normalized contains any character that is not in the range \"A\" to \"Z\"\n // (U+0041 to U+005A), return false.\n\n if (expCurrencyCode.test(normalized) === false) return false; // 5. Return true\n\n return true;\n}\n\nvar expUnicodeExSeq = /-u(?:-[0-9a-z]{2,8})+/gi; // See `extension` below\n\nfunction\n/* 9.2.1 */\nCanonicalizeLocaleList(locales) {\n // The abstract operation CanonicalizeLocaleList takes the following steps:\n // 1. If locales is undefined, then a. Return a new empty List\n if (locales === undefined) return new List(); // 2. Let seen be a new empty List.\n\n var seen = new List(); // 3. If locales is a String value, then\n // a. Let locales be a new array created as if by the expression new\n // Array(locales) where Array is the standard built-in constructor with\n // that name and locales is the value of locales.\n\n locales = typeof locales === 'string' ? [locales] : locales; // 4. Let O be ToObject(locales).\n\n var O = toObject(locales); // 5. Let lenValue be the result of calling the [[Get]] internal method of\n // O with the argument \"length\".\n // 6. Let len be ToUint32(lenValue).\n\n var len = toLength(O.length); // 7. Let k be 0.\n\n var k = 0; // 8. Repeat, while k < len\n\n while (k < len) {\n // a. Let Pk be ToString(k).\n var Pk = String(k); // b. Let kPresent be the result of calling the [[HasProperty]] internal\n // method of O with argument Pk.\n\n var kPresent = (Pk in O); // c. If kPresent is true, then\n\n if (kPresent) {\n // i. Let kValue be the result of calling the [[Get]] internal\n // method of O with argument Pk.\n var kValue = O[Pk]; // ii. If the type of kValue is not String or Object, then throw a\n // TypeError exception.\n\n if (kValue === null || typeof kValue !== 'string' && (typeof kValue === \"undefined\" ? \"undefined\" : babelHelpers$1[\"typeof\"](kValue)) !== 'object') throw new TypeError('String or Object type expected'); // iii. Let tag be ToString(kValue).\n\n var tag = String(kValue); // iv. If the result of calling the abstract operation\n // IsStructurallyValidLanguageTag (defined in 6.2.2), passing tag as\n // the argument, is false, then throw a RangeError exception.\n\n if (!IsStructurallyValidLanguageTag(tag)) throw new RangeError(\"'\" + tag + \"' is not a structurally valid language tag\"); // v. Let tag be the result of calling the abstract operation\n // CanonicalizeLanguageTag (defined in 6.2.3), passing tag as the\n // argument.\n\n tag = CanonicalizeLanguageTag(tag); // vi. If tag is not an element of seen, then append tag as the last\n // element of seen.\n\n if (arrIndexOf.call(seen, tag) === -1) arrPush.call(seen, tag);\n } // d. Increase k by 1.\n\n\n k++;\n } // 9. Return seen.\n\n\n return seen;\n}\n/**\n * The BestAvailableLocale abstract operation compares the provided argument\n * locale, which must be a String value with a structurally valid and\n * canonicalized BCP 47 language tag, against the locales in availableLocales and\n * returns either the longest non-empty prefix of locale that is an element of\n * availableLocales, or undefined if there is no such element. It uses the\n * fallback mechanism of RFC 4647, section 3.4. The following steps are taken:\n */\n\n\nfunction\n/* 9.2.2 */\nBestAvailableLocale(availableLocales, locale) {\n // 1. Let candidate be locale\n var candidate = locale; // 2. Repeat\n\n while (candidate) {\n // a. If availableLocales contains an element equal to candidate, then return\n // candidate.\n if (arrIndexOf.call(availableLocales, candidate) > -1) return candidate; // b. Let pos be the character index of the last occurrence of \"-\"\n // (U+002D) within candidate. If that character does not occur, return\n // undefined.\n\n var pos = candidate.lastIndexOf('-');\n if (pos < 0) return; // c. If pos ≥ 2 and the character \"-\" occurs at index pos-2 of candidate,\n // then decrease pos by 2.\n\n if (pos >= 2 && candidate.charAt(pos - 2) === '-') pos -= 2; // d. Let candidate be the substring of candidate from position 0, inclusive,\n // to position pos, exclusive.\n\n candidate = candidate.substring(0, pos);\n }\n}\n/**\n * The LookupMatcher abstract operation compares requestedLocales, which must be\n * a List as returned by CanonicalizeLocaleList, against the locales in\n * availableLocales and determines the best available language to meet the\n * request. The following steps are taken:\n */\n\n\nfunction\n/* 9.2.3 */\nLookupMatcher(availableLocales, requestedLocales) {\n // 1. Let i be 0.\n var i = 0; // 2. Let len be the number of elements in requestedLocales.\n\n var len = requestedLocales.length; // 3. Let availableLocale be undefined.\n\n var availableLocale = void 0;\n var locale = void 0,\n noExtensionsLocale = void 0; // 4. Repeat while i < len and availableLocale is undefined:\n\n while (i < len && !availableLocale) {\n // a. Let locale be the element of requestedLocales at 0-origined list\n // position i.\n locale = requestedLocales[i]; // b. Let noExtensionsLocale be the String value that is locale with all\n // Unicode locale extension sequences removed.\n\n noExtensionsLocale = String(locale).replace(expUnicodeExSeq, ''); // c. Let availableLocale be the result of calling the\n // BestAvailableLocale abstract operation (defined in 9.2.2) with\n // arguments availableLocales and noExtensionsLocale.\n\n availableLocale = BestAvailableLocale(availableLocales, noExtensionsLocale); // d. Increase i by 1.\n\n i++;\n } // 5. Let result be a new Record.\n\n\n var result = new Record(); // 6. If availableLocale is not undefined, then\n\n if (availableLocale !== undefined) {\n // a. Set result.[[locale]] to availableLocale.\n result['[[locale]]'] = availableLocale; // b. If locale and noExtensionsLocale are not the same String value, then\n\n if (String(locale) !== String(noExtensionsLocale)) {\n // i. Let extension be the String value consisting of the first\n // substring of locale that is a Unicode locale extension sequence.\n var extension = locale.match(expUnicodeExSeq)[0]; // ii. Let extensionIndex be the character position of the initial\n // \"-\" of the first Unicode locale extension sequence within locale.\n\n var extensionIndex = locale.indexOf('-u-'); // iii. Set result.[[extension]] to extension.\n\n result['[[extension]]'] = extension; // iv. Set result.[[extensionIndex]] to extensionIndex.\n\n result['[[extensionIndex]]'] = extensionIndex;\n }\n } // 7. Else\n else // a. Set result.[[locale]] to the value returned by the DefaultLocale abstract\n // operation (defined in 6.2.4).\n result['[[locale]]'] = DefaultLocale(); // 8. Return result\n\n\n return result;\n}\n/**\n * The BestFitMatcher abstract operation compares requestedLocales, which must be\n * a List as returned by CanonicalizeLocaleList, against the locales in\n * availableLocales and determines the best available language to meet the\n * request. The algorithm is implementation dependent, but should produce results\n * that a typical user of the requested locales would perceive as at least as\n * good as those produced by the LookupMatcher abstract operation. Options\n * specified through Unicode locale extension sequences must be ignored by the\n * algorithm. Information about such subsequences is returned separately.\n * The abstract operation returns a record with a [[locale]] field, whose value\n * is the language tag of the selected locale, which must be an element of\n * availableLocales. If the language tag of the request locale that led to the\n * selected locale contained a Unicode locale extension sequence, then the\n * returned record also contains an [[extension]] field whose value is the first\n * Unicode locale extension sequence, and an [[extensionIndex]] field whose value\n * is the index of the first Unicode locale extension sequence within the request\n * locale language tag.\n */\n\n\nfunction\n/* 9.2.4 */\nBestFitMatcher(availableLocales, requestedLocales) {\n return LookupMatcher(availableLocales, requestedLocales);\n}\n/**\n * The ResolveLocale abstract operation compares a BCP 47 language priority list\n * requestedLocales against the locales in availableLocales and determines the\n * best available language to meet the request. availableLocales and\n * requestedLocales must be provided as List values, options as a Record.\n */\n\n\nfunction\n/* 9.2.5 */\nResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData) {\n if (availableLocales.length === 0) {\n throw new ReferenceError('No locale data has been provided for this object yet.');\n } // The following steps are taken:\n // 1. Let matcher be the value of options.[[localeMatcher]].\n\n\n var matcher = options['[[localeMatcher]]'];\n var r = void 0; // 2. If matcher is \"lookup\", then\n\n if (matcher === 'lookup') // a. Let r be the result of calling the LookupMatcher abstract operation\n // (defined in 9.2.3) with arguments availableLocales and\n // requestedLocales.\n r = LookupMatcher(availableLocales, requestedLocales); // 3. Else\n else // a. Let r be the result of calling the BestFitMatcher abstract\n // operation (defined in 9.2.4) with arguments availableLocales and\n // requestedLocales.\n r = BestFitMatcher(availableLocales, requestedLocales); // 4. Let foundLocale be the value of r.[[locale]].\n\n var foundLocale = r['[[locale]]'];\n var extensionSubtags = void 0,\n extensionSubtagsLength = void 0; // 5. If r has an [[extension]] field, then\n\n if (hop.call(r, '[[extension]]')) {\n // a. Let extension be the value of r.[[extension]].\n var extension = r['[[extension]]']; // b. Let split be the standard built-in function object defined in ES5,\n // 15.5.4.14.\n\n var split = String.prototype.split; // c. Let extensionSubtags be the result of calling the [[Call]] internal\n // method of split with extension as the this value and an argument\n // list containing the single item \"-\".\n\n extensionSubtags = split.call(extension, '-'); // d. Let extensionSubtagsLength be the result of calling the [[Get]]\n // internal method of extensionSubtags with argument \"length\".\n\n extensionSubtagsLength = extensionSubtags.length;\n } // 6. Let result be a new Record.\n\n\n var result = new Record(); // 7. Set result.[[dataLocale]] to foundLocale.\n\n result['[[dataLocale]]'] = foundLocale; // 8. Let supportedExtension be \"-u\".\n\n var supportedExtension = '-u'; // 9. Let i be 0.\n\n var i = 0; // 10. Let len be the result of calling the [[Get]] internal method of\n // relevantExtensionKeys with argument \"length\".\n\n var len = relevantExtensionKeys.length; // 11 Repeat while i < len:\n\n while (i < len) {\n // a. Let key be the result of calling the [[Get]] internal method of\n // relevantExtensionKeys with argument ToString(i).\n var key = relevantExtensionKeys[i]; // b. Let foundLocaleData be the result of calling the [[Get]] internal\n // method of localeData with the argument foundLocale.\n\n var foundLocaleData = localeData[foundLocale]; // c. Let keyLocaleData be the result of calling the [[Get]] internal\n // method of foundLocaleData with the argument key.\n\n var keyLocaleData = foundLocaleData[key]; // d. Let value be the result of calling the [[Get]] internal method of\n // keyLocaleData with argument \"0\".\n\n var value = keyLocaleData['0']; // e. Let supportedExtensionAddition be \"\".\n\n var supportedExtensionAddition = ''; // f. Let indexOf be the standard built-in function object defined in\n // ES5, 15.4.4.14.\n\n var indexOf = arrIndexOf; // g. If extensionSubtags is not undefined, then\n\n if (extensionSubtags !== undefined) {\n // i. Let keyPos be the result of calling the [[Call]] internal\n // method of indexOf with extensionSubtags as the this value and\n // an argument list containing the single item key.\n var keyPos = indexOf.call(extensionSubtags, key); // ii. If keyPos ≠ -1, then\n\n if (keyPos !== -1) {\n // 1. If keyPos + 1 < extensionSubtagsLength and the length of the\n // result of calling the [[Get]] internal method of\n // extensionSubtags with argument ToString(keyPos +1) is greater\n // than 2, then\n if (keyPos + 1 < extensionSubtagsLength && extensionSubtags[keyPos + 1].length > 2) {\n // a. Let requestedValue be the result of calling the [[Get]]\n // internal method of extensionSubtags with argument\n // ToString(keyPos + 1).\n var requestedValue = extensionSubtags[keyPos + 1]; // b. Let valuePos be the result of calling the [[Call]]\n // internal method of indexOf with keyLocaleData as the\n // this value and an argument list containing the single\n // item requestedValue.\n\n var valuePos = indexOf.call(keyLocaleData, requestedValue); // c. If valuePos ≠ -1, then\n\n if (valuePos !== -1) {\n // i. Let value be requestedValue.\n value = requestedValue, // ii. Let supportedExtensionAddition be the\n // concatenation of \"-\", key, \"-\", and value.\n supportedExtensionAddition = '-' + key + '-' + value;\n }\n } // 2. Else\n else {\n // a. Let valuePos be the result of calling the [[Call]]\n // internal method of indexOf with keyLocaleData as the this\n // value and an argument list containing the single item\n // \"true\".\n var _valuePos = indexOf(keyLocaleData, 'true'); // b. If valuePos ≠ -1, then\n\n\n if (_valuePos !== -1) // i. Let value be \"true\".\n value = 'true';\n }\n }\n } // h. If options has a field [[<key>]], then\n\n\n if (hop.call(options, '[[' + key + ']]')) {\n // i. Let optionsValue be the value of options.[[<key>]].\n var optionsValue = options['[[' + key + ']]']; // ii. If the result of calling the [[Call]] internal method of indexOf\n // with keyLocaleData as the this value and an argument list\n // containing the single item optionsValue is not -1, then\n\n if (indexOf.call(keyLocaleData, optionsValue) !== -1) {\n // 1. If optionsValue is not equal to value, then\n if (optionsValue !== value) {\n // a. Let value be optionsValue.\n value = optionsValue; // b. Let supportedExtensionAddition be \"\".\n\n supportedExtensionAddition = '';\n }\n }\n } // i. Set result.[[<key>]] to value.\n\n\n result['[[' + key + ']]'] = value; // j. Append supportedExtensionAddition to supportedExtension.\n\n supportedExtension += supportedExtensionAddition; // k. Increase i by 1.\n\n i++;\n } // 12. If the length of supportedExtension is greater than 2, then\n\n\n if (supportedExtension.length > 2) {\n // a.\n var privateIndex = foundLocale.indexOf(\"-x-\"); // b.\n\n if (privateIndex === -1) {\n // i.\n foundLocale = foundLocale + supportedExtension;\n } // c.\n else {\n // i.\n var preExtension = foundLocale.substring(0, privateIndex); // ii.\n\n var postExtension = foundLocale.substring(privateIndex); // iii.\n\n foundLocale = preExtension + supportedExtension + postExtension;\n } // d. asserting - skipping\n // e.\n\n\n foundLocale = CanonicalizeLanguageTag(foundLocale);\n } // 13. Set result.[[locale]] to foundLocale.\n\n\n result['[[locale]]'] = foundLocale; // 14. Return result.\n\n return result;\n}\n/**\n * The LookupSupportedLocales abstract operation returns the subset of the\n * provided BCP 47 language priority list requestedLocales for which\n * availableLocales has a matching locale when using the BCP 47 Lookup algorithm.\n * Locales appear in the same order in the returned list as in requestedLocales.\n * The following steps are taken:\n */\n\n\nfunction\n/* 9.2.6 */\nLookupSupportedLocales(availableLocales, requestedLocales) {\n // 1. Let len be the number of elements in requestedLocales.\n var len = requestedLocales.length; // 2. Let subset be a new empty List.\n\n var subset = new List(); // 3. Let k be 0.\n\n var k = 0; // 4. Repeat while k < len\n\n while (k < len) {\n // a. Let locale be the element of requestedLocales at 0-origined list\n // position k.\n var locale = requestedLocales[k]; // b. Let noExtensionsLocale be the String value that is locale with all\n // Unicode locale extension sequences removed.\n\n var noExtensionsLocale = String(locale).replace(expUnicodeExSeq, ''); // c. Let availableLocale be the result of calling the\n // BestAvailableLocale abstract operation (defined in 9.2.2) with\n // arguments availableLocales and noExtensionsLocale.\n\n var availableLocale = BestAvailableLocale(availableLocales, noExtensionsLocale); // d. If availableLocale is not undefined, then append locale to the end of\n // subset.\n\n if (availableLocale !== undefined) arrPush.call(subset, locale); // e. Increment k by 1.\n\n k++;\n } // 5. Let subsetArray be a new Array object whose elements are the same\n // values in the same order as the elements of subset.\n\n\n var subsetArray = arrSlice.call(subset); // 6. Return subsetArray.\n\n return subsetArray;\n}\n/**\n * The BestFitSupportedLocales abstract operation returns the subset of the\n * provided BCP 47 language priority list requestedLocales for which\n * availableLocales has a matching locale when using the Best Fit Matcher\n * algorithm. Locales appear in the same order in the returned list as in\n * requestedLocales. The steps taken are implementation dependent.\n */\n\n\nfunction\n/*9.2.7 */\nBestFitSupportedLocales(availableLocales, requestedLocales) {\n // ###TODO: implement this function as described by the specification###\n return LookupSupportedLocales(availableLocales, requestedLocales);\n}\n/**\n * The SupportedLocales abstract operation returns the subset of the provided BCP\n * 47 language priority list requestedLocales for which availableLocales has a\n * matching locale. Two algorithms are available to match the locales: the Lookup\n * algorithm described in RFC 4647 section 3.4, and an implementation dependent\n * best-fit algorithm. Locales appear in the same order in the returned list as\n * in requestedLocales. The following steps are taken:\n */\n\n\nfunction\n/*9.2.8 */\nSupportedLocales(availableLocales, requestedLocales, options) {\n var matcher = void 0,\n subset = void 0; // 1. If options is not undefined, then\n\n if (options !== undefined) {\n // a. Let options be ToObject(options).\n options = new Record(toObject(options)); // b. Let matcher be the result of calling the [[Get]] internal method of\n // options with argument \"localeMatcher\".\n\n matcher = options.localeMatcher; // c. If matcher is not undefined, then\n\n if (matcher !== undefined) {\n // i. Let matcher be ToString(matcher).\n matcher = String(matcher); // ii. If matcher is not \"lookup\" or \"best fit\", then throw a RangeError\n // exception.\n\n if (matcher !== 'lookup' && matcher !== 'best fit') throw new RangeError('matcher should be \"lookup\" or \"best fit\"');\n }\n } // 2. If matcher is undefined or \"best fit\", then\n\n\n if (matcher === undefined || matcher === 'best fit') // a. Let subset be the result of calling the BestFitSupportedLocales\n // abstract operation (defined in 9.2.7) with arguments\n // availableLocales and requestedLocales.\n subset = BestFitSupportedLocales(availableLocales, requestedLocales); // 3. Else\n else // a. Let subset be the result of calling the LookupSupportedLocales\n // abstract operation (defined in 9.2.6) with arguments\n // availableLocales and requestedLocales.\n subset = LookupSupportedLocales(availableLocales, requestedLocales); // 4. For each named own property name P of subset,\n\n for (var P in subset) {\n if (!hop.call(subset, P)) continue; // a. Let desc be the result of calling the [[GetOwnProperty]] internal\n // method of subset with P.\n // b. Set desc.[[Writable]] to false.\n // c. Set desc.[[Configurable]] to false.\n // d. Call the [[DefineOwnProperty]] internal method of subset with P, desc,\n // and true as arguments.\n\n defineProperty(subset, P, {\n writable: false,\n configurable: false,\n value: subset[P]\n });\n } // \"Freeze\" the array so no new elements can be added\n\n\n defineProperty(subset, 'length', {\n writable: false\n }); // 5. Return subset\n\n return subset;\n}\n/**\n * The GetOption abstract operation extracts the value of the property named\n * property from the provided options object, converts it to the required type,\n * checks whether it is one of a List of allowed values, and fills in a fallback\n * value if necessary.\n */\n\n\nfunction\n/*9.2.9 */\nGetOption(options, property, type, values, fallback) {\n // 1. Let value be the result of calling the [[Get]] internal method of\n // options with argument property.\n var value = options[property]; // 2. If value is not undefined, then\n\n if (value !== undefined) {\n // a. Assert: type is \"boolean\" or \"string\".\n // b. If type is \"boolean\", then let value be ToBoolean(value).\n // c. If type is \"string\", then let value be ToString(value).\n value = type === 'boolean' ? Boolean(value) : type === 'string' ? String(value) : value; // d. If values is not undefined, then\n\n if (values !== undefined) {\n // i. If values does not contain an element equal to value, then throw a\n // RangeError exception.\n if (arrIndexOf.call(values, value) === -1) throw new RangeError(\"'\" + value + \"' is not an allowed value for `\" + property + '`');\n } // e. Return value.\n\n\n return value;\n } // Else return fallback.\n\n\n return fallback;\n}\n/**\n * The GetNumberOption abstract operation extracts a property value from the\n * provided options object, converts it to a Number value, checks whether it is\n * in the allowed range, and fills in a fallback value if necessary.\n */\n\n\nfunction\n/* 9.2.10 */\nGetNumberOption(options, property, minimum, maximum, fallback) {\n // 1. Let value be the result of calling the [[Get]] internal method of\n // options with argument property.\n var value = options[property]; // 2. If value is not undefined, then\n\n if (value !== undefined) {\n // a. Let value be ToNumber(value).\n value = Number(value); // b. If value is NaN or less than minimum or greater than maximum, throw a\n // RangeError exception.\n\n if (isNaN(value) || value < minimum || value > maximum) throw new RangeError('Value is not a number or outside accepted range'); // c. Return floor(value).\n\n return Math.floor(value);\n } // 3. Else return fallback.\n\n\n return fallback;\n} // 8 The Intl Object\n\n\nvar Intl = {}; // 8.2 Function Properties of the Intl Object\n// 8.2.1\n// @spec[tc39/ecma402/master/spec/intl.html]\n// @clause[sec-intl.getcanonicallocales]\n\nfunction getCanonicalLocales(locales) {\n // 1. Let ll be ? CanonicalizeLocaleList(locales).\n var ll = CanonicalizeLocaleList(locales); // 2. Return CreateArrayFromList(ll).\n\n {\n var result = [];\n var len = ll.length;\n var k = 0;\n\n while (k < len) {\n result[k] = ll[k];\n k++;\n }\n\n return result;\n }\n}\n\nObject.defineProperty(Intl, 'getCanonicalLocales', {\n enumerable: false,\n configurable: true,\n writable: true,\n value: getCanonicalLocales\n}); // Currency minor units output from get-4217 grunt task, formatted\n\nvar currencyMinorUnits = {\n BHD: 3,\n BYR: 0,\n XOF: 0,\n BIF: 0,\n XAF: 0,\n CLF: 4,\n CLP: 0,\n KMF: 0,\n DJF: 0,\n XPF: 0,\n GNF: 0,\n ISK: 0,\n IQD: 3,\n JPY: 0,\n JOD: 3,\n KRW: 0,\n KWD: 3,\n LYD: 3,\n OMR: 3,\n PYG: 0,\n RWF: 0,\n TND: 3,\n UGX: 0,\n UYI: 0,\n VUV: 0,\n VND: 0\n}; // Define the NumberFormat constructor internally so it cannot be tainted\n\nfunction NumberFormatConstructor() {\n var locales = arguments[0];\n var options = arguments[1];\n\n if (!this || this === Intl) {\n return new Intl.NumberFormat(locales, options);\n }\n\n return InitializeNumberFormat(toObject(this), locales, options);\n}\n\ndefineProperty(Intl, 'NumberFormat', {\n configurable: true,\n writable: true,\n value: NumberFormatConstructor\n}); // Must explicitly set prototypes as unwritable\n\ndefineProperty(Intl.NumberFormat, 'prototype', {\n writable: false\n});\n/**\n * The abstract operation InitializeNumberFormat accepts the arguments\n * numberFormat (which must be an object), locales, and options. It initializes\n * numberFormat as a NumberFormat object.\n */\n\nfunction\n/*11.1.1.1 */\nInitializeNumberFormat(numberFormat, locales, options) {\n // This will be a internal properties object if we're not already initialized\n var internal = getInternalProperties(numberFormat); // Create an object whose props can be used to restore the values of RegExp props\n\n var regexpRestore = createRegExpRestore(); // 1. If numberFormat has an [[initializedIntlObject]] internal property with\n // value true, throw a TypeError exception.\n\n if (internal['[[initializedIntlObject]]'] === true) throw new TypeError('`this` object has already been initialized as an Intl object'); // Need this to access the `internal` object\n\n defineProperty(numberFormat, '__getInternalProperties', {\n value: function value() {\n // NOTE: Non-standard, for internal use only\n if (arguments[0] === secret) return internal;\n }\n }); // 2. Set the [[initializedIntlObject]] internal property of numberFormat to true.\n\n internal['[[initializedIntlObject]]'] = true; // 3. Let requestedLocales be the result of calling the CanonicalizeLocaleList\n // abstract operation (defined in 9.2.1) with argument locales.\n\n var requestedLocales = CanonicalizeLocaleList(locales); // 4. If options is undefined, then\n\n if (options === undefined) // a. Let options be the result of creating a new object as if by the\n // expression new Object() where Object is the standard built-in constructor\n // with that name.\n options = {}; // 5. Else\n else // a. Let options be ToObject(options).\n options = toObject(options); // 6. Let opt be a new Record.\n\n var opt = new Record(),\n // 7. Let matcher be the result of calling the GetOption abstract operation\n // (defined in 9.2.9) with the arguments options, \"localeMatcher\", \"string\",\n // a List containing the two String values \"lookup\" and \"best fit\", and\n // \"best fit\".\n matcher = GetOption(options, 'localeMatcher', 'string', new List('lookup', 'best fit'), 'best fit'); // 8. Set opt.[[localeMatcher]] to matcher.\n\n opt['[[localeMatcher]]'] = matcher; // 9. Let NumberFormat be the standard built-in object that is the initial value\n // of Intl.NumberFormat.\n // 10. Let localeData be the value of the [[localeData]] internal property of\n // NumberFormat.\n\n var localeData = internals.NumberFormat['[[localeData]]']; // 11. Let r be the result of calling the ResolveLocale abstract operation\n // (defined in 9.2.5) with the [[availableLocales]] internal property of\n // NumberFormat, requestedLocales, opt, the [[relevantExtensionKeys]]\n // internal property of NumberFormat, and localeData.\n\n var r = ResolveLocale(internals.NumberFormat['[[availableLocales]]'], requestedLocales, opt, internals.NumberFormat['[[relevantExtensionKeys]]'], localeData); // 12. Set the [[locale]] internal property of numberFormat to the value of\n // r.[[locale]].\n\n internal['[[locale]]'] = r['[[locale]]']; // 13. Set the [[numberingSystem]] internal property of numberFormat to the value\n // of r.[[nu]].\n\n internal['[[numberingSystem]]'] = r['[[nu]]']; // The specification doesn't tell us to do this, but it's helpful later on\n\n internal['[[dataLocale]]'] = r['[[dataLocale]]']; // 14. Let dataLocale be the value of r.[[dataLocale]].\n\n var dataLocale = r['[[dataLocale]]']; // 15. Let s be the result of calling the GetOption abstract operation with the\n // arguments options, \"style\", \"string\", a List containing the three String\n // values \"decimal\", \"percent\", and \"currency\", and \"decimal\".\n\n var s = GetOption(options, 'style', 'string', new List('decimal', 'percent', 'currency'), 'decimal'); // 16. Set the [[style]] internal property of numberFormat to s.\n\n internal['[[style]]'] = s; // 17. Let c be the result of calling the GetOption abstract operation with the\n // arguments options, \"currency\", \"string\", undefined, and undefined.\n\n var c = GetOption(options, 'currency', 'string'); // 18. If c is not undefined and the result of calling the\n // IsWellFormedCurrencyCode abstract operation (defined in 6.3.1) with\n // argument c is false, then throw a RangeError exception.\n\n if (c !== undefined && !IsWellFormedCurrencyCode(c)) throw new RangeError(\"'\" + c + \"' is not a valid currency code\"); // 19. If s is \"currency\" and c is undefined, throw a TypeError exception.\n\n if (s === 'currency' && c === undefined) throw new TypeError('Currency code is required when style is currency');\n var cDigits = void 0; // 20. If s is \"currency\", then\n\n if (s === 'currency') {\n // a. Let c be the result of converting c to upper case as specified in 6.1.\n c = c.toUpperCase(); // b. Set the [[currency]] internal property of numberFormat to c.\n\n internal['[[currency]]'] = c; // c. Let cDigits be the result of calling the CurrencyDigits abstract\n // operation (defined below) with argument c.\n\n cDigits = CurrencyDigits(c);\n } // 21. Let cd be the result of calling the GetOption abstract operation with the\n // arguments options, \"currencyDisplay\", \"string\", a List containing the\n // three String values \"code\", \"symbol\", and \"name\", and \"symbol\".\n\n\n var cd = GetOption(options, 'currencyDisplay', 'string', new List('code', 'symbol', 'name'), 'symbol'); // 22. If s is \"currency\", then set the [[currencyDisplay]] internal property of\n // numberFormat to cd.\n\n if (s === 'currency') internal['[[currencyDisplay]]'] = cd; // 23. Let mnid be the result of calling the GetNumberOption abstract operation\n // (defined in 9.2.10) with arguments options, \"minimumIntegerDigits\", 1, 21,\n // and 1.\n\n var mnid = GetNumberOption(options, 'minimumIntegerDigits', 1, 21, 1); // 24. Set the [[minimumIntegerDigits]] internal property of numberFormat to mnid.\n\n internal['[[minimumIntegerDigits]]'] = mnid; // 25. If s is \"currency\", then let mnfdDefault be cDigits; else let mnfdDefault\n // be 0.\n\n var mnfdDefault = s === 'currency' ? cDigits : 0; // 26. Let mnfd be the result of calling the GetNumberOption abstract operation\n // with arguments options, \"minimumFractionDigits\", 0, 20, and mnfdDefault.\n\n var mnfd = GetNumberOption(options, 'minimumFractionDigits', 0, 20, mnfdDefault); // 27. Set the [[minimumFractionDigits]] internal property of numberFormat to mnfd.\n\n internal['[[minimumFractionDigits]]'] = mnfd; // 28. If s is \"currency\", then let mxfdDefault be max(mnfd, cDigits); else if s\n // is \"percent\", then let mxfdDefault be max(mnfd, 0); else let mxfdDefault\n // be max(mnfd, 3).\n\n var mxfdDefault = s === 'currency' ? Math.max(mnfd, cDigits) : s === 'percent' ? Math.max(mnfd, 0) : Math.max(mnfd, 3); // 29. Let mxfd be the result of calling the GetNumberOption abstract operation\n // with arguments options, \"maximumFractionDigits\", mnfd, 20, and mxfdDefault.\n\n var mxfd = GetNumberOption(options, 'maximumFractionDigits', mnfd, 20, mxfdDefault); // 30. Set the [[maximumFractionDigits]] internal property of numberFormat to mxfd.\n\n internal['[[maximumFractionDigits]]'] = mxfd; // 31. Let mnsd be the result of calling the [[Get]] internal method of options\n // with argument \"minimumSignificantDigits\".\n\n var mnsd = options.minimumSignificantDigits; // 32. Let mxsd be the result of calling the [[Get]] internal method of options\n // with argument \"maximumSignificantDigits\".\n\n var mxsd = options.maximumSignificantDigits; // 33. If mnsd is not undefined or mxsd is not undefined, then:\n\n if (mnsd !== undefined || mxsd !== undefined) {\n // a. Let mnsd be the result of calling the GetNumberOption abstract\n // operation with arguments options, \"minimumSignificantDigits\", 1, 21,\n // and 1.\n mnsd = GetNumberOption(options, 'minimumSignificantDigits', 1, 21, 1); // b. Let mxsd be the result of calling the GetNumberOption abstract\n // operation with arguments options, \"maximumSignificantDigits\", mnsd,\n // 21, and 21.\n\n mxsd = GetNumberOption(options, 'maximumSignificantDigits', mnsd, 21, 21); // c. Set the [[minimumSignificantDigits]] internal property of numberFormat\n // to mnsd, and the [[maximumSignificantDigits]] internal property of\n // numberFormat to mxsd.\n\n internal['[[minimumSignificantDigits]]'] = mnsd;\n internal['[[maximumSignificantDigits]]'] = mxsd;\n } // 34. Let g be the result of calling the GetOption abstract operation with the\n // arguments options, \"useGrouping\", \"boolean\", undefined, and true.\n\n\n var g = GetOption(options, 'useGrouping', 'boolean', undefined, true); // 35. Set the [[useGrouping]] internal property of numberFormat to g.\n\n internal['[[useGrouping]]'] = g; // 36. Let dataLocaleData be the result of calling the [[Get]] internal method of\n // localeData with argument dataLocale.\n\n var dataLocaleData = localeData[dataLocale]; // 37. Let patterns be the result of calling the [[Get]] internal method of\n // dataLocaleData with argument \"patterns\".\n\n var patterns = dataLocaleData.patterns; // 38. Assert: patterns is an object (see 11.2.3)\n // 39. Let stylePatterns be the result of calling the [[Get]] internal method of\n // patterns with argument s.\n\n var stylePatterns = patterns[s]; // 40. Set the [[positivePattern]] internal property of numberFormat to the\n // result of calling the [[Get]] internal method of stylePatterns with the\n // argument \"positivePattern\".\n\n internal['[[positivePattern]]'] = stylePatterns.positivePattern; // 41. Set the [[negativePattern]] internal property of numberFormat to the\n // result of calling the [[Get]] internal method of stylePatterns with the\n // argument \"negativePattern\".\n\n internal['[[negativePattern]]'] = stylePatterns.negativePattern; // 42. Set the [[boundFormat]] internal property of numberFormat to undefined.\n\n internal['[[boundFormat]]'] = undefined; // 43. Set the [[initializedNumberFormat]] internal property of numberFormat to\n // true.\n\n internal['[[initializedNumberFormat]]'] = true; // In ES3, we need to pre-bind the format() function\n\n if (es3) numberFormat.format = GetFormatNumber.call(numberFormat); // Restore the RegExp properties\n\n regexpRestore(); // Return the newly initialised object\n\n return numberFormat;\n}\n\nfunction CurrencyDigits(currency) {\n // When the CurrencyDigits abstract operation is called with an argument currency\n // (which must be an upper case String value), the following steps are taken:\n // 1. If the ISO 4217 currency and funds code list contains currency as an\n // alphabetic code, then return the minor unit value corresponding to the\n // currency from the list; else return 2.\n return currencyMinorUnits[currency] !== undefined ? currencyMinorUnits[currency] : 2;\n}\n/* 11.2.3 */\n\n\ninternals.NumberFormat = {\n '[[availableLocales]]': [],\n '[[relevantExtensionKeys]]': ['nu'],\n '[[localeData]]': {}\n};\n/**\n * When the supportedLocalesOf method of Intl.NumberFormat is called, the\n * following steps are taken:\n */\n\n/* 11.2.2 */\n\ndefineProperty(Intl.NumberFormat, 'supportedLocalesOf', {\n configurable: true,\n writable: true,\n value: fnBind.call(function (locales) {\n // Bound functions only have the `this` value altered if being used as a constructor,\n // this lets us imitate a native function that has no constructor\n if (!hop.call(this, '[[availableLocales]]')) throw new TypeError('supportedLocalesOf() is not a constructor'); // Create an object whose props can be used to restore the values of RegExp props\n\n var regexpRestore = createRegExpRestore(),\n // 1. If options is not provided, then let options be undefined.\n options = arguments[1],\n // 2. Let availableLocales be the value of the [[availableLocales]] internal\n // property of the standard built-in object that is the initial value of\n // Intl.NumberFormat.\n availableLocales = this['[[availableLocales]]'],\n // 3. Let requestedLocales be the result of calling the CanonicalizeLocaleList\n // abstract operation (defined in 9.2.1) with argument locales.\n requestedLocales = CanonicalizeLocaleList(locales); // Restore the RegExp properties\n\n regexpRestore(); // 4. Return the result of calling the SupportedLocales abstract operation\n // (defined in 9.2.8) with arguments availableLocales, requestedLocales,\n // and options.\n\n return SupportedLocales(availableLocales, requestedLocales, options);\n }, internals.NumberFormat)\n});\n/**\n * This named accessor property returns a function that formats a number\n * according to the effective locale and the formatting options of this\n * NumberFormat object.\n */\n\n/* 11.3.2 */\n\ndefineProperty(Intl.NumberFormat.prototype, 'format', {\n configurable: true,\n get: GetFormatNumber\n});\n\nfunction GetFormatNumber() {\n var internal = this !== null && babelHelpers$1[\"typeof\"](this) === 'object' && getInternalProperties(this); // Satisfy test 11.3_b\n\n if (!internal || !internal['[[initializedNumberFormat]]']) throw new TypeError('`this` value for format() is not an initialized Intl.NumberFormat object.'); // The value of the [[Get]] attribute is a function that takes the following\n // steps:\n // 1. If the [[boundFormat]] internal property of this NumberFormat object\n // is undefined, then:\n\n if (internal['[[boundFormat]]'] === undefined) {\n // a. Let F be a Function object, with internal properties set as\n // specified for built-in functions in ES5, 15, or successor, and the\n // length property set to 1, that takes the argument value and\n // performs the following steps:\n var F = function F(value) {\n // i. If value is not provided, then let value be undefined.\n // ii. Let x be ToNumber(value).\n // iii. Return the result of calling the FormatNumber abstract\n // operation (defined below) with arguments this and x.\n return FormatNumber(this,\n /* x = */\n Number(value));\n }; // b. Let bind be the standard built-in function object defined in ES5,\n // 15.3.4.5.\n // c. Let bf be the result of calling the [[Call]] internal method of\n // bind with F as the this value and an argument list containing\n // the single item this.\n\n\n var bf = fnBind.call(F, this); // d. Set the [[boundFormat]] internal property of this NumberFormat\n // object to bf.\n\n internal['[[boundFormat]]'] = bf;\n } // Return the value of the [[boundFormat]] internal property of this\n // NumberFormat object.\n\n\n return internal['[[boundFormat]]'];\n}\n\nfunction formatToParts() {\n var value = arguments.length <= 0 || arguments[0] === undefined ? undefined : arguments[0];\n var internal = this !== null && babelHelpers$1[\"typeof\"](this) === 'object' && getInternalProperties(this);\n if (!internal || !internal['[[initializedNumberFormat]]']) throw new TypeError('`this` value for formatToParts() is not an initialized Intl.NumberFormat object.');\n var x = Number(value);\n return FormatNumberToParts(this, x);\n}\n\nObject.defineProperty(Intl.NumberFormat.prototype, 'formatToParts', {\n configurable: true,\n enumerable: false,\n writable: true,\n value: formatToParts\n});\n/*\n * @spec[stasm/ecma402/number-format-to-parts/spec/numberformat.html]\n * @clause[sec-formatnumbertoparts]\n */\n\nfunction FormatNumberToParts(numberFormat, x) {\n // 1. Let parts be ? PartitionNumberPattern(numberFormat, x).\n var parts = PartitionNumberPattern(numberFormat, x); // 2. Let result be ArrayCreate(0).\n\n var result = []; // 3. Let n be 0.\n\n var n = 0; // 4. For each part in parts, do:\n\n for (var i = 0; parts.length > i; i++) {\n var part = parts[i]; // a. Let O be ObjectCreate(%ObjectPrototype%).\n\n var O = {}; // a. Perform ? CreateDataPropertyOrThrow(O, \"type\", part.[[type]]).\n\n O.type = part['[[type]]']; // a. Perform ? CreateDataPropertyOrThrow(O, \"value\", part.[[value]]).\n\n O.value = part['[[value]]']; // a. Perform ? CreateDataPropertyOrThrow(result, ? ToString(n), O).\n\n result[n] = O; // a. Increment n by 1.\n\n n += 1;\n } // 5. Return result.\n\n\n return result;\n}\n/*\n * @spec[stasm/ecma402/number-format-to-parts/spec/numberformat.html]\n * @clause[sec-partitionnumberpattern]\n */\n\n\nfunction PartitionNumberPattern(numberFormat, x) {\n var internal = getInternalProperties(numberFormat),\n locale = internal['[[dataLocale]]'],\n nums = internal['[[numberingSystem]]'],\n data = internals.NumberFormat['[[localeData]]'][locale],\n ild = data.symbols[nums] || data.symbols.latn,\n pattern = void 0; // 1. If x is not NaN and x < 0, then:\n\n if (!isNaN(x) && x < 0) {\n // a. Let x be -x.\n x = -x; // a. Let pattern be the value of numberFormat.[[negativePattern]].\n\n pattern = internal['[[negativePattern]]'];\n } // 2. Else,\n else {\n // a. Let pattern be the value of numberFormat.[[positivePattern]].\n pattern = internal['[[positivePattern]]'];\n } // 3. Let result be a new empty List.\n\n\n var result = new List(); // 4. Let beginIndex be Call(%StringProto_indexOf%, pattern, \"{\", 0).\n\n var beginIndex = pattern.indexOf('{', 0); // 5. Let endIndex be 0.\n\n var endIndex = 0; // 6. Let nextIndex be 0.\n\n var nextIndex = 0; // 7. Let length be the number of code units in pattern.\n\n var length = pattern.length; // 8. Repeat while beginIndex is an integer index into pattern:\n\n while (beginIndex > -1 && beginIndex < length) {\n // a. Set endIndex to Call(%StringProto_indexOf%, pattern, \"}\", beginIndex)\n endIndex = pattern.indexOf('}', beginIndex); // a. If endIndex = -1, throw new Error exception.\n\n if (endIndex === -1) throw new Error(); // a. If beginIndex is greater than nextIndex, then:\n\n if (beginIndex > nextIndex) {\n // i. Let literal be a substring of pattern from position nextIndex, inclusive, to position beginIndex, exclusive.\n var literal = pattern.substring(nextIndex, beginIndex); // ii. Add new part record { [[type]]: \"literal\", [[value]]: literal } as a new element of the list result.\n\n arrPush.call(result, {\n '[[type]]': 'literal',\n '[[value]]': literal\n });\n } // a. Let p be the substring of pattern from position beginIndex, exclusive, to position endIndex, exclusive.\n\n\n var p = pattern.substring(beginIndex + 1, endIndex); // a. If p is equal \"number\", then:\n\n if (p === \"number\") {\n // i. If x is NaN,\n if (isNaN(x)) {\n // 1. Let n be an ILD String value indicating the NaN value.\n var n = ild.nan; // 2. Add new part record { [[type]]: \"nan\", [[value]]: n } as a new element of the list result.\n\n arrPush.call(result, {\n '[[type]]': 'nan',\n '[[value]]': n\n });\n } // ii. Else if isFinite(x) is false,\n else if (!isFinite(x)) {\n // 1. Let n be an ILD String value indicating infinity.\n var _n = ild.infinity; // 2. Add new part record { [[type]]: \"infinity\", [[value]]: n } as a new element of the list result.\n\n arrPush.call(result, {\n '[[type]]': 'infinity',\n '[[value]]': _n\n });\n } // iii. Else,\n else {\n // 1. If the value of numberFormat.[[style]] is \"percent\" and isFinite(x), let x be 100 × x.\n if (internal['[[style]]'] === 'percent' && isFinite(x)) x *= 100;\n\n var _n2 = void 0; // 2. If the numberFormat.[[minimumSignificantDigits]] and numberFormat.[[maximumSignificantDigits]] are present, then\n\n\n if (hop.call(internal, '[[minimumSignificantDigits]]') && hop.call(internal, '[[maximumSignificantDigits]]')) {\n // a. Let n be ToRawPrecision(x, numberFormat.[[minimumSignificantDigits]], numberFormat.[[maximumSignificantDigits]]).\n _n2 = ToRawPrecision(x, internal['[[minimumSignificantDigits]]'], internal['[[maximumSignificantDigits]]']);\n } // 3. Else,\n else {\n // a. Let n be ToRawFixed(x, numberFormat.[[minimumIntegerDigits]], numberFormat.[[minimumFractionDigits]], numberFormat.[[maximumFractionDigits]]).\n _n2 = ToRawFixed(x, internal['[[minimumIntegerDigits]]'], internal['[[minimumFractionDigits]]'], internal['[[maximumFractionDigits]]']);\n } // 4. If the value of the numberFormat.[[numberingSystem]] matches one of the values in the \"Numbering System\" column of Table 2 below, then\n\n\n if (numSys[nums]) {\n (function () {\n // a. Let digits be an array whose 10 String valued elements are the UTF-16 string representations of the 10 digits specified in the \"Digits\" column of the matching row in Table 2.\n var digits = numSys[nums]; // a. Replace each digit in n with the value of digits[digit].\n\n _n2 = String(_n2).replace(/\\d/g, function (digit) {\n return digits[digit];\n });\n })();\n } // 5. Else use an implementation dependent algorithm to map n to the appropriate representation of n in the given numbering system.\n else _n2 = String(_n2); // ###TODO###\n\n\n var integer = void 0;\n var fraction = void 0; // 6. Let decimalSepIndex be Call(%StringProto_indexOf%, n, \".\", 0).\n\n var decimalSepIndex = _n2.indexOf('.', 0); // 7. If decimalSepIndex > 0, then:\n\n\n if (decimalSepIndex > 0) {\n // a. Let integer be the substring of n from position 0, inclusive, to position decimalSepIndex, exclusive.\n integer = _n2.substring(0, decimalSepIndex); // a. Let fraction be the substring of n from position decimalSepIndex, exclusive, to the end of n.\n\n fraction = _n2.substring(decimalSepIndex + 1, decimalSepIndex.length);\n } // 8. Else:\n else {\n // a. Let integer be n.\n integer = _n2; // a. Let fraction be undefined.\n\n fraction = undefined;\n } // 9. If the value of the numberFormat.[[useGrouping]] is true,\n\n\n if (internal['[[useGrouping]]'] === true) {\n // a. Let groupSepSymbol be the ILND String representing the grouping separator.\n var groupSepSymbol = ild.group; // a. Let groups be a List whose elements are, in left to right order, the substrings defined by ILND set of locations within the integer.\n\n var groups = []; // ----> implementation:\n // Primary group represents the group closest to the decimal\n\n var pgSize = data.patterns.primaryGroupSize || 3; // Secondary group is every other group\n\n var sgSize = data.patterns.secondaryGroupSize || pgSize; // Group only if necessary\n\n if (integer.length > pgSize) {\n // Index of the primary grouping separator\n var end = integer.length - pgSize; // Starting index for our loop\n\n var idx = end % sgSize;\n var start = integer.slice(0, idx);\n if (start.length) arrPush.call(groups, start); // Loop to separate into secondary grouping digits\n\n while (idx < end) {\n arrPush.call(groups, integer.slice(idx, idx + sgSize));\n idx += sgSize;\n } // Add the primary grouping digits\n\n\n arrPush.call(groups, integer.slice(end));\n } else {\n arrPush.call(groups, integer);\n } // a. Assert: The number of elements in groups List is greater than 0.\n\n\n if (groups.length === 0) throw new Error(); // a. Repeat, while groups List is not empty:\n\n while (groups.length) {\n // i. Remove the first element from groups and let integerGroup be the value of that element.\n var integerGroup = arrShift.call(groups); // ii. Add new part record { [[type]]: \"integer\", [[value]]: integerGroup } as a new element of the list result.\n\n arrPush.call(result, {\n '[[type]]': 'integer',\n '[[value]]': integerGroup\n }); // iii. If groups List is not empty, then:\n\n if (groups.length) {\n // 1. Add new part record { [[type]]: \"group\", [[value]]: groupSepSymbol } as a new element of the list result.\n arrPush.call(result, {\n '[[type]]': 'group',\n '[[value]]': groupSepSymbol\n });\n }\n }\n } // 10. Else,\n else {\n // a. Add new part record { [[type]]: \"integer\", [[value]]: integer } as a new element of the list result.\n arrPush.call(result, {\n '[[type]]': 'integer',\n '[[value]]': integer\n });\n } // 11. If fraction is not undefined, then:\n\n\n if (fraction !== undefined) {\n // a. Let decimalSepSymbol be the ILND String representing the decimal separator.\n var decimalSepSymbol = ild.decimal; // a. Add new part record { [[type]]: \"decimal\", [[value]]: decimalSepSymbol } as a new element of the list result.\n\n arrPush.call(result, {\n '[[type]]': 'decimal',\n '[[value]]': decimalSepSymbol\n }); // a. Add new part record { [[type]]: \"fraction\", [[value]]: fraction } as a new element of the list result.\n\n arrPush.call(result, {\n '[[type]]': 'fraction',\n '[[value]]': fraction\n });\n }\n }\n } // a. Else if p is equal \"plusSign\", then:\n else if (p === \"plusSign\") {\n // i. Let plusSignSymbol be the ILND String representing the plus sign.\n var plusSignSymbol = ild.plusSign; // ii. Add new part record { [[type]]: \"plusSign\", [[value]]: plusSignSymbol } as a new element of the list result.\n\n arrPush.call(result, {\n '[[type]]': 'plusSign',\n '[[value]]': plusSignSymbol\n });\n } // a. Else if p is equal \"minusSign\", then:\n else if (p === \"minusSign\") {\n // i. Let minusSignSymbol be the ILND String representing the minus sign.\n var minusSignSymbol = ild.minusSign; // ii. Add new part record { [[type]]: \"minusSign\", [[value]]: minusSignSymbol } as a new element of the list result.\n\n arrPush.call(result, {\n '[[type]]': 'minusSign',\n '[[value]]': minusSignSymbol\n });\n } // a. Else if p is equal \"percentSign\" and numberFormat.[[style]] is \"percent\", then:\n else if (p === \"percentSign\" && internal['[[style]]'] === \"percent\") {\n // i. Let percentSignSymbol be the ILND String representing the percent sign.\n var percentSignSymbol = ild.percentSign; // ii. Add new part record { [[type]]: \"percentSign\", [[value]]: percentSignSymbol } as a new element of the list result.\n\n arrPush.call(result, {\n '[[type]]': 'literal',\n '[[value]]': percentSignSymbol\n });\n } // a. Else if p is equal \"currency\" and numberFormat.[[style]] is \"currency\", then:\n else if (p === \"currency\" && internal['[[style]]'] === \"currency\") {\n // i. Let currency be the value of numberFormat.[[currency]].\n var currency = internal['[[currency]]'];\n var cd = void 0; // ii. If numberFormat.[[currencyDisplay]] is \"code\", then\n\n if (internal['[[currencyDisplay]]'] === \"code\") {\n // 1. Let cd be currency.\n cd = currency;\n } // iii. Else if numberFormat.[[currencyDisplay]] is \"symbol\", then\n else if (internal['[[currencyDisplay]]'] === \"symbol\") {\n // 1. Let cd be an ILD string representing currency in short form. If the implementation does not have such a representation of currency, use currency itself.\n cd = data.currencies[currency] || currency;\n } // iv. Else if numberFormat.[[currencyDisplay]] is \"name\", then\n else if (internal['[[currencyDisplay]]'] === \"name\") {\n // 1. Let cd be an ILD string representing currency in long form. If the implementation does not have such a representation of currency, then use currency itself.\n cd = currency;\n } // v. Add new part record { [[type]]: \"currency\", [[value]]: cd } as a new element of the list result.\n\n\n arrPush.call(result, {\n '[[type]]': 'currency',\n '[[value]]': cd\n });\n } // a. Else,\n else {\n // i. Let literal be the substring of pattern from position beginIndex, inclusive, to position endIndex, inclusive.\n var _literal = pattern.substring(beginIndex, endIndex); // ii. Add new part record { [[type]]: \"literal\", [[value]]: literal } as a new element of the list result.\n\n\n arrPush.call(result, {\n '[[type]]': 'literal',\n '[[value]]': _literal\n });\n } // a. Set nextIndex to endIndex + 1.\n\n\n nextIndex = endIndex + 1; // a. Set beginIndex to Call(%StringProto_indexOf%, pattern, \"{\", nextIndex)\n\n beginIndex = pattern.indexOf('{', nextIndex);\n } // 9. If nextIndex is less than length, then:\n\n\n if (nextIndex < length) {\n // a. Let literal be the substring of pattern from position nextIndex, inclusive, to position length, exclusive.\n var _literal2 = pattern.substring(nextIndex, length); // a. Add new part record { [[type]]: \"literal\", [[value]]: literal } as a new element of the list result.\n\n\n arrPush.call(result, {\n '[[type]]': 'literal',\n '[[value]]': _literal2\n });\n } // 10. Return result.\n\n\n return result;\n}\n/*\n * @spec[stasm/ecma402/number-format-to-parts/spec/numberformat.html]\n * @clause[sec-formatnumber]\n */\n\n\nfunction FormatNumber(numberFormat, x) {\n // 1. Let parts be ? PartitionNumberPattern(numberFormat, x).\n var parts = PartitionNumberPattern(numberFormat, x); // 2. Let result be an empty String.\n\n var result = ''; // 3. For each part in parts, do:\n\n for (var i = 0; parts.length > i; i++) {\n var part = parts[i]; // a. Set result to a String value produced by concatenating result and part.[[value]].\n\n result += part['[[value]]'];\n } // 4. Return result.\n\n\n return result;\n}\n/**\n * When the ToRawPrecision abstract operation is called with arguments x (which\n * must be a finite non-negative number), minPrecision, and maxPrecision (both\n * must be integers between 1 and 21) the following steps are taken:\n */\n\n\nfunction ToRawPrecision(x, minPrecision, maxPrecision) {\n // 1. Let p be maxPrecision.\n var p = maxPrecision;\n var m = void 0,\n e = void 0; // 2. If x = 0, then\n\n if (x === 0) {\n // a. Let m be the String consisting of p occurrences of the character \"0\".\n m = arrJoin.call(Array(p + 1), '0'); // b. Let e be 0.\n\n e = 0;\n } // 3. Else\n else {\n // a. Let e and n be integers such that 10ᵖ⁻¹ ≤ n < 10ᵖ and for which the\n // exact mathematical value of n × 10ᵉ⁻ᵖ⁺¹ – x is as close to zero as\n // possible. If there are two such sets of e and n, pick the e and n for\n // which n × 10ᵉ⁻ᵖ⁺¹ is larger.\n e = log10Floor(Math.abs(x)); // Easier to get to m from here\n\n var f = Math.round(Math.exp(Math.abs(e - p + 1) * Math.LN10)); // b. Let m be the String consisting of the digits of the decimal\n // representation of n (in order, with no leading zeroes)\n\n m = String(Math.round(e - p + 1 < 0 ? x * f : x / f));\n } // 4. If e ≥ p, then\n\n\n if (e >= p) // a. Return the concatenation of m and e-p+1 occurrences of the character \"0\".\n return m + arrJoin.call(Array(e - p + 1 + 1), '0'); // 5. If e = p-1, then\n else if (e === p - 1) // a. Return m.\n return m; // 6. If e ≥ 0, then\n else if (e >= 0) // a. Let m be the concatenation of the first e+1 characters of m, the character\n // \".\", and the remaining p–(e+1) characters of m.\n m = m.slice(0, e + 1) + '.' + m.slice(e + 1); // 7. If e < 0, then\n else if (e < 0) // a. Let m be the concatenation of the String \"0.\", –(e+1) occurrences of the\n // character \"0\", and the string m.\n m = '0.' + arrJoin.call(Array(-(e + 1) + 1), '0') + m; // 8. If m contains the character \".\", and maxPrecision > minPrecision, then\n\n if (m.indexOf(\".\") >= 0 && maxPrecision > minPrecision) {\n // a. Let cut be maxPrecision – minPrecision.\n var cut = maxPrecision - minPrecision; // b. Repeat while cut > 0 and the last character of m is \"0\":\n\n while (cut > 0 && m.charAt(m.length - 1) === '0') {\n // i. Remove the last character from m.\n m = m.slice(0, -1); // ii. Decrease cut by 1.\n\n cut--;\n } // c. If the last character of m is \".\", then\n\n\n if (m.charAt(m.length - 1) === '.') // i. Remove the last character from m.\n m = m.slice(0, -1);\n } // 9. Return m.\n\n\n return m;\n}\n/**\n * @spec[tc39/ecma402/master/spec/numberformat.html]\n * @clause[sec-torawfixed]\n * When the ToRawFixed abstract operation is called with arguments x (which must\n * be a finite non-negative number), minInteger (which must be an integer between\n * 1 and 21), minFraction, and maxFraction (which must be integers between 0 and\n * 20) the following steps are taken:\n */\n\n\nfunction ToRawFixed(x, minInteger, minFraction, maxFraction) {\n // 1. Let f be maxFraction.\n var f = maxFraction; // 2. Let n be an integer for which the exact mathematical value of n ÷ 10f – x is as close to zero as possible. If there are two such n, pick the larger n.\n\n var n = Math.pow(10, f) * x; // diverging...\n // 3. If n = 0, let m be the String \"0\". Otherwise, let m be the String consisting of the digits of the decimal representation of n (in order, with no leading zeroes).\n\n var m = n === 0 ? \"0\" : n.toFixed(0); // divering...\n\n {\n // this diversion is needed to take into consideration big numbers, e.g.:\n // 1.2344501e+37 -> 12344501000000000000000000000000000000\n var idx = void 0;\n var exp = (idx = m.indexOf('e')) > -1 ? m.slice(idx + 1) : 0;\n\n if (exp) {\n m = m.slice(0, idx).replace('.', '');\n m += arrJoin.call(Array(exp - (m.length - 1) + 1), '0');\n }\n }\n var int = void 0; // 4. If f ≠ 0, then\n\n if (f !== 0) {\n // a. Let k be the number of characters in m.\n var k = m.length; // a. If k ≤ f, then\n\n if (k <= f) {\n // i. Let z be the String consisting of f+1–k occurrences of the character \"0\".\n var z = arrJoin.call(Array(f + 1 - k + 1), '0'); // ii. Let m be the concatenation of Strings z and m.\n\n m = z + m; // iii. Let k be f+1.\n\n k = f + 1;\n } // a. Let a be the first k–f characters of m, and let b be the remaining f characters of m.\n\n\n var a = m.substring(0, k - f),\n b = m.substring(k - f, m.length); // a. Let m be the concatenation of the three Strings a, \".\", and b.\n\n m = a + \".\" + b; // a. Let int be the number of characters in a.\n\n int = a.length;\n } // 5. Else, let int be the number of characters in m.\n else int = m.length; // 6. Let cut be maxFraction – minFraction.\n\n\n var cut = maxFraction - minFraction; // 7. Repeat while cut > 0 and the last character of m is \"0\":\n\n while (cut > 0 && m.slice(-1) === \"0\") {\n // a. Remove the last character from m.\n m = m.slice(0, -1); // a. Decrease cut by 1.\n\n cut--;\n } // 8. If the last character of m is \".\", then\n\n\n if (m.slice(-1) === \".\") {\n // a. Remove the last character from m.\n m = m.slice(0, -1);\n } // 9. If int < minInteger, then\n\n\n if (int < minInteger) {\n // a. Let z be the String consisting of minInteger–int occurrences of the character \"0\".\n var _z = arrJoin.call(Array(minInteger - int + 1), '0'); // a. Let m be the concatenation of Strings z and m.\n\n\n m = _z + m;\n } // 10. Return m.\n\n\n return m;\n} // Sect 11.3.2 Table 2, Numbering systems\n// ======================================\n\n\nvar numSys = {\n arab: [\"٠\", \"١\", \"٢\", \"٣\", \"٤\", \"٥\", \"٦\", \"٧\", \"٨\", \"٩\"],\n arabext: [\"۰\", \"۱\", \"۲\", \"۳\", \"۴\", \"۵\", \"۶\", \"۷\", \"۸\", \"۹\"],\n bali: [\"᭐\", \"᭑\", \"᭒\", \"᭓\", \"᭔\", \"᭕\", \"᭖\", \"᭗\", \"᭘\", \"᭙\"],\n beng: [\"০\", \"১\", \"২\", \"৩\", \"৪\", \"৫\", \"৬\", \"৭\", \"৮\", \"৯\"],\n deva: [\"०\", \"१\", \"२\", \"३\", \"४\", \"५\", \"६\", \"७\", \"८\", \"९\"],\n fullwide: [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\"],\n gujr: [\"૦\", \"૧\", \"૨\", \"૩\", \"૪\", \"૫\", \"૬\", \"૭\", \"૮\", \"૯\"],\n guru: [\"੦\", \"੧\", \"੨\", \"੩\", \"੪\", \"੫\", \"੬\", \"੭\", \"੮\", \"੯\"],\n hanidec: [\"〇\", \"一\", \"二\", \"三\", \"四\", \"五\", \"六\", \"七\", \"八\", \"九\"],\n khmr: [\"០\", \"១\", \"២\", \"៣\", \"៤\", \"៥\", \"៦\", \"៧\", \"៨\", \"៩\"],\n knda: [\"೦\", \"೧\", \"೨\", \"೩\", \"೪\", \"೫\", \"೬\", \"೭\", \"೮\", \"೯\"],\n laoo: [\"໐\", \"໑\", \"໒\", \"໓\", \"໔\", \"໕\", \"໖\", \"໗\", \"໘\", \"໙\"],\n latn: [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\"],\n limb: [\"᥆\", \"᥇\", \"᥈\", \"᥉\", \"᥊\", \"᥋\", \"᥌\", \"᥍\", \"᥎\", \"᥏\"],\n mlym: [\"൦\", \"൧\", \"൨\", \"൩\", \"൪\", \"൫\", \"൬\", \"൭\", \"൮\", \"൯\"],\n mong: [\"᠐\", \"᠑\", \"᠒\", \"᠓\", \"᠔\", \"᠕\", \"᠖\", \"᠗\", \"᠘\", \"᠙\"],\n mymr: [\"၀\", \"၁\", \"၂\", \"၃\", \"၄\", \"၅\", \"၆\", \"၇\", \"၈\", \"၉\"],\n orya: [\"୦\", \"୧\", \"୨\", \"୩\", \"୪\", \"୫\", \"୬\", \"୭\", \"୮\", \"୯\"],\n tamldec: [\"௦\", \"௧\", \"௨\", \"௩\", \"௪\", \"௫\", \"௬\", \"௭\", \"௮\", \"௯\"],\n telu: [\"౦\", \"౧\", \"౨\", \"౩\", \"౪\", \"౫\", \"౬\", \"౭\", \"౮\", \"౯\"],\n thai: [\"๐\", \"๑\", \"๒\", \"๓\", \"๔\", \"๕\", \"๖\", \"๗\", \"๘\", \"๙\"],\n tibt: [\"༠\", \"༡\", \"༢\", \"༣\", \"༤\", \"༥\", \"༦\", \"༧\", \"༨\", \"༩\"]\n};\n/**\n * This function provides access to the locale and formatting options computed\n * during initialization of the object.\n *\n * The function returns a new object whose properties and attributes are set as\n * if constructed by an object literal assigning to each of the following\n * properties the value of the corresponding internal property of this\n * NumberFormat object (see 11.4): locale, numberingSystem, style, currency,\n * currencyDisplay, minimumIntegerDigits, minimumFractionDigits,\n * maximumFractionDigits, minimumSignificantDigits, maximumSignificantDigits, and\n * useGrouping. Properties whose corresponding internal properties are not present\n * are not assigned.\n */\n\n/* 11.3.3 */\n\ndefineProperty(Intl.NumberFormat.prototype, 'resolvedOptions', {\n configurable: true,\n writable: true,\n value: function value() {\n var prop = void 0,\n descs = new Record(),\n props = ['locale', 'numberingSystem', 'style', 'currency', 'currencyDisplay', 'minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits', 'useGrouping'],\n internal = this !== null && babelHelpers$1[\"typeof\"](this) === 'object' && getInternalProperties(this); // Satisfy test 11.3_b\n\n if (!internal || !internal['[[initializedNumberFormat]]']) throw new TypeError('`this` value for resolvedOptions() is not an initialized Intl.NumberFormat object.');\n\n for (var i = 0, max = props.length; i < max; i++) {\n if (hop.call(internal, prop = '[[' + props[i] + ']]')) descs[props[i]] = {\n value: internal[prop],\n writable: true,\n configurable: true,\n enumerable: true\n };\n }\n\n return objCreate({}, descs);\n }\n});\n/* jslint esnext: true */\n// Match these datetime components in a CLDR pattern, except those in single quotes\n\nvar expDTComponents = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g; // trim patterns after transformations\n\nvar expPatternTrimmer = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g; // Skip over patterns with these datetime components because we don't have data\n// to back them up:\n// timezone, weekday, amoung others\n\nvar unwantedDTCs = /[rqQASjJgwWIQq]/; // xXVO were removed from this list in favor of computing matches with timeZoneName values but printing as empty string\n\nvar dtKeys = [\"era\", \"year\", \"month\", \"day\", \"weekday\", \"quarter\"];\nvar tmKeys = [\"hour\", \"minute\", \"second\", \"hour12\", \"timeZoneName\"];\n\nfunction isDateFormatOnly(obj) {\n for (var i = 0; i < tmKeys.length; i += 1) {\n if (obj.hasOwnProperty(tmKeys[i])) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction isTimeFormatOnly(obj) {\n for (var i = 0; i < dtKeys.length; i += 1) {\n if (obj.hasOwnProperty(dtKeys[i])) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction joinDateAndTimeFormats(dateFormatObj, timeFormatObj) {\n var o = {\n _: {}\n };\n\n for (var i = 0; i < dtKeys.length; i += 1) {\n if (dateFormatObj[dtKeys[i]]) {\n o[dtKeys[i]] = dateFormatObj[dtKeys[i]];\n }\n\n if (dateFormatObj._[dtKeys[i]]) {\n o._[dtKeys[i]] = dateFormatObj._[dtKeys[i]];\n }\n }\n\n for (var j = 0; j < tmKeys.length; j += 1) {\n if (timeFormatObj[tmKeys[j]]) {\n o[tmKeys[j]] = timeFormatObj[tmKeys[j]];\n }\n\n if (timeFormatObj._[tmKeys[j]]) {\n o._[tmKeys[j]] = timeFormatObj._[tmKeys[j]];\n }\n }\n\n return o;\n}\n\nfunction computeFinalPatterns(formatObj) {\n // From http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns:\n // 'In patterns, two single quotes represents a literal single quote, either\n // inside or outside single quotes. Text within single quotes is not\n // interpreted in any way (except for two adjacent single quotes).'\n formatObj.pattern12 = formatObj.extendedPattern.replace(/'([^']*)'/g, function ($0, literal) {\n return literal ? literal : \"'\";\n }); // pattern 12 is always the default. we can produce the 24 by removing {ampm}\n\n formatObj.pattern = formatObj.pattern12.replace('{ampm}', '').replace(expPatternTrimmer, '');\n return formatObj;\n}\n\nfunction expDTComponentsMeta($0, formatObj) {\n switch ($0.charAt(0)) {\n // --- Era\n case 'G':\n formatObj.era = ['short', 'short', 'short', 'long', 'narrow'][$0.length - 1];\n return '{era}';\n // --- Year\n\n case 'y':\n case 'Y':\n case 'u':\n case 'U':\n case 'r':\n formatObj.year = $0.length === 2 ? '2-digit' : 'numeric';\n return '{year}';\n // --- Quarter (not supported in this polyfill)\n\n case 'Q':\n case 'q':\n formatObj.quarter = ['numeric', '2-digit', 'short', 'long', 'narrow'][$0.length - 1];\n return '{quarter}';\n // --- Month\n\n case 'M':\n case 'L':\n formatObj.month = ['numeric', '2-digit', 'short', 'long', 'narrow'][$0.length - 1];\n return '{month}';\n // --- Week (not supported in this polyfill)\n\n case 'w':\n // week of the year\n formatObj.week = $0.length === 2 ? '2-digit' : 'numeric';\n return '{weekday}';\n\n case 'W':\n // week of the month\n formatObj.week = 'numeric';\n return '{weekday}';\n // --- Day\n\n case 'd':\n // day of the month\n formatObj.day = $0.length === 2 ? '2-digit' : 'numeric';\n return '{day}';\n\n case 'D': // day of the year\n\n case 'F': // day of the week\n\n case 'g':\n // 1..n: Modified Julian day\n formatObj.day = 'numeric';\n return '{day}';\n // --- Week Day\n\n case 'E':\n // day of the week\n formatObj.weekday = ['short', 'short', 'short', 'long', 'narrow', 'short'][$0.length - 1];\n return '{weekday}';\n\n case 'e':\n // local day of the week\n formatObj.weekday = ['numeric', '2-digit', 'short', 'long', 'narrow', 'short'][$0.length - 1];\n return '{weekday}';\n\n case 'c':\n // stand alone local day of the week\n formatObj.weekday = ['numeric', undefined, 'short', 'long', 'narrow', 'short'][$0.length - 1];\n return '{weekday}';\n // --- Period\n\n case 'a': // AM, PM\n\n case 'b': // am, pm, noon, midnight\n\n case 'B':\n // flexible day periods\n formatObj.hour12 = true;\n return '{ampm}';\n // --- Hour\n\n case 'h':\n case 'H':\n formatObj.hour = $0.length === 2 ? '2-digit' : 'numeric';\n return '{hour}';\n\n case 'k':\n case 'K':\n formatObj.hour12 = true; // 12-hour-cycle time formats (using h or K)\n\n formatObj.hour = $0.length === 2 ? '2-digit' : 'numeric';\n return '{hour}';\n // --- Minute\n\n case 'm':\n formatObj.minute = $0.length === 2 ? '2-digit' : 'numeric';\n return '{minute}';\n // --- Second\n\n case 's':\n formatObj.second = $0.length === 2 ? '2-digit' : 'numeric';\n return '{second}';\n\n case 'S':\n case 'A':\n formatObj.second = 'numeric';\n return '{second}';\n // --- Timezone\n\n case 'z': // 1..3, 4: specific non-location format\n\n case 'Z': // 1..3, 4, 5: The ISO8601 varios formats\n\n case 'O': // 1, 4: miliseconds in day short, long\n\n case 'v': // 1, 4: generic non-location format\n\n case 'V': // 1, 2, 3, 4: time zone ID or city\n\n case 'X': // 1, 2, 3, 4: The ISO8601 varios formats\n\n case 'x':\n // 1, 2, 3, 4: The ISO8601 varios formats\n // this polyfill only supports much, for now, we are just doing something dummy\n formatObj.timeZoneName = $0.length < 4 ? 'short' : 'long';\n return '{timeZoneName}';\n }\n}\n/**\n * Converts the CLDR availableFormats into the objects and patterns required by\n * the ECMAScript Internationalization API specification.\n */\n\n\nfunction createDateTimeFormat(skeleton, pattern) {\n // we ignore certain patterns that are unsupported to avoid this expensive op.\n if (unwantedDTCs.test(pattern)) return undefined;\n var formatObj = {\n originalPattern: pattern,\n _: {}\n }; // Replace the pattern string with the one required by the specification, whilst\n // at the same time evaluating it for the subsets and formats\n\n formatObj.extendedPattern = pattern.replace(expDTComponents, function ($0) {\n // See which symbol we're dealing with\n return expDTComponentsMeta($0, formatObj._);\n }); // Match the skeleton string with the one required by the specification\n // this implementation is based on the Date Field Symbol Table:\n // http://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n // Note: we are adding extra data to the formatObject even though this polyfill\n // might not support it.\n\n skeleton.replace(expDTComponents, function ($0) {\n // See which symbol we're dealing with\n return expDTComponentsMeta($0, formatObj);\n });\n return computeFinalPatterns(formatObj);\n}\n/**\n * Processes DateTime formats from CLDR to an easier-to-parse format.\n * the result of this operation should be cached the first time a particular\n * calendar is analyzed.\n *\n * The specification requires we support at least the following subsets of\n * date/time components:\n *\n * - 'weekday', 'year', 'month', 'day', 'hour', 'minute', 'second'\n * - 'weekday', 'year', 'month', 'day'\n * - 'year', 'month', 'day'\n * - 'year', 'month'\n * - 'month', 'day'\n * - 'hour', 'minute', 'second'\n * - 'hour', 'minute'\n *\n * We need to cherry pick at least these subsets from the CLDR data and convert\n * them into the pattern objects used in the ECMA-402 API.\n */\n\n\nfunction createDateTimeFormats(formats) {\n var availableFormats = formats.availableFormats;\n var timeFormats = formats.timeFormats;\n var dateFormats = formats.dateFormats;\n var result = [];\n var skeleton = void 0,\n pattern = void 0,\n computed = void 0,\n i = void 0,\n j = void 0;\n var timeRelatedFormats = [];\n var dateRelatedFormats = []; // Map available (custom) formats into a pattern for createDateTimeFormats\n\n for (skeleton in availableFormats) {\n if (availableFormats.hasOwnProperty(skeleton)) {\n pattern = availableFormats[skeleton];\n computed = createDateTimeFormat(skeleton, pattern);\n\n if (computed) {\n result.push(computed); // in some cases, the format is only displaying date specific props\n // or time specific props, in which case we need to also produce the\n // combined formats.\n\n if (isDateFormatOnly(computed)) {\n dateRelatedFormats.push(computed);\n } else if (isTimeFormatOnly(computed)) {\n timeRelatedFormats.push(computed);\n }\n }\n }\n } // Map time formats into a pattern for createDateTimeFormats\n\n\n for (skeleton in timeFormats) {\n if (timeFormats.hasOwnProperty(skeleton)) {\n pattern = timeFormats[skeleton];\n computed = createDateTimeFormat(skeleton, pattern);\n\n if (computed) {\n result.push(computed);\n timeRelatedFormats.push(computed);\n }\n }\n } // Map date formats into a pattern for createDateTimeFormats\n\n\n for (skeleton in dateFormats) {\n if (dateFormats.hasOwnProperty(skeleton)) {\n pattern = dateFormats[skeleton];\n computed = createDateTimeFormat(skeleton, pattern);\n\n if (computed) {\n result.push(computed);\n dateRelatedFormats.push(computed);\n }\n }\n } // combine custom time and custom date formats when they are orthogonals to complete the\n // formats supported by CLDR.\n // This Algo is based on section \"Missing Skeleton Fields\" from:\n // http://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems\n\n\n for (i = 0; i < timeRelatedFormats.length; i += 1) {\n for (j = 0; j < dateRelatedFormats.length; j += 1) {\n if (dateRelatedFormats[j].month === 'long') {\n pattern = dateRelatedFormats[j].weekday ? formats.full : formats.long;\n } else if (dateRelatedFormats[j].month === 'short') {\n pattern = formats.medium;\n } else {\n pattern = formats.short;\n }\n\n computed = joinDateAndTimeFormats(dateRelatedFormats[j], timeRelatedFormats[i]);\n computed.originalPattern = pattern;\n computed.extendedPattern = pattern.replace('{0}', timeRelatedFormats[i].extendedPattern).replace('{1}', dateRelatedFormats[j].extendedPattern).replace(/^[,\\s]+|[,\\s]+$/gi, '');\n result.push(computeFinalPatterns(computed));\n }\n }\n\n return result;\n} // this represents the exceptions of the rule that are not covered by CLDR availableFormats\n// for single property configurations, they play no role when using multiple properties, and\n// those that are not in this table, are not exceptions or are not covered by the data we\n// provide.\n\n\nvar validSyntheticProps = {\n second: {\n numeric: 's',\n '2-digit': 'ss'\n },\n minute: {\n numeric: 'm',\n '2-digit': 'mm'\n },\n year: {\n numeric: 'y',\n '2-digit': 'yy'\n },\n day: {\n numeric: 'd',\n '2-digit': 'dd'\n },\n month: {\n numeric: 'L',\n '2-digit': 'LL',\n narrow: 'LLLLL',\n short: 'LLL',\n long: 'LLLL'\n },\n weekday: {\n narrow: 'ccccc',\n short: 'ccc',\n long: 'cccc'\n }\n};\n\nfunction generateSyntheticFormat(propName, propValue) {\n if (validSyntheticProps[propName] && validSyntheticProps[propName][propValue]) {\n var _ref2;\n\n return _ref2 = {\n originalPattern: validSyntheticProps[propName][propValue],\n _: defineProperty$1({}, propName, propValue),\n extendedPattern: \"{\" + propName + \"}\"\n }, defineProperty$1(_ref2, propName, propValue), defineProperty$1(_ref2, \"pattern12\", \"{\" + propName + \"}\"), defineProperty$1(_ref2, \"pattern\", \"{\" + propName + \"}\"), _ref2;\n }\n} // An object map of date component keys, saves using a regex later\n\n\nvar dateWidths = objCreate(null, {\n narrow: {},\n short: {},\n long: {}\n});\n/**\n * Returns a string for a date component, resolved using multiple inheritance as specified\n * as specified in the Unicode Technical Standard 35.\n */\n\nfunction resolveDateString(data, ca, component, width, key) {\n // From http://www.unicode.org/reports/tr35/tr35.html#Multiple_Inheritance:\n // 'In clearly specified instances, resources may inherit from within the same locale.\n // For example, ... the Buddhist calendar inherits from the Gregorian calendar.'\n var obj = data[ca] && data[ca][component] ? data[ca][component] : data.gregory[component],\n // \"sideways\" inheritance resolves strings when a key doesn't exist\n alts = {\n narrow: ['short', 'long'],\n short: ['long', 'narrow'],\n long: ['short', 'narrow']\n },\n //\n resolved = hop.call(obj, width) ? obj[width] : hop.call(obj, alts[width][0]) ? obj[alts[width][0]] : obj[alts[width][1]]; // `key` wouldn't be specified for components 'dayPeriods'\n\n return key !== null ? resolved[key] : resolved;\n} // Define the DateTimeFormat constructor internally so it cannot be tainted\n\n\nfunction DateTimeFormatConstructor() {\n var locales = arguments[0];\n var options = arguments[1];\n\n if (!this || this === Intl) {\n return new Intl.DateTimeFormat(locales, options);\n }\n\n return InitializeDateTimeFormat(toObject(this), locales, options);\n}\n\ndefineProperty(Intl, 'DateTimeFormat', {\n configurable: true,\n writable: true,\n value: DateTimeFormatConstructor\n}); // Must explicitly set prototypes as unwritable\n\ndefineProperty(DateTimeFormatConstructor, 'prototype', {\n writable: false\n});\n/**\n * The abstract operation InitializeDateTimeFormat accepts the arguments dateTimeFormat\n * (which must be an object), locales, and options. It initializes dateTimeFormat as a\n * DateTimeFormat object.\n */\n\nfunction\n/* 12.1.1.1 */\nInitializeDateTimeFormat(dateTimeFormat, locales, options) {\n // This will be a internal properties object if we're not already initialized\n var internal = getInternalProperties(dateTimeFormat); // Create an object whose props can be used to restore the values of RegExp props\n\n var regexpRestore = createRegExpRestore(); // 1. If dateTimeFormat has an [[initializedIntlObject]] internal property with\n // value true, throw a TypeError exception.\n\n if (internal['[[initializedIntlObject]]'] === true) throw new TypeError('`this` object has already been initialized as an Intl object'); // Need this to access the `internal` object\n\n defineProperty(dateTimeFormat, '__getInternalProperties', {\n value: function value() {\n // NOTE: Non-standard, for internal use only\n if (arguments[0] === secret) return internal;\n }\n }); // 2. Set the [[initializedIntlObject]] internal property of numberFormat to true.\n\n internal['[[initializedIntlObject]]'] = true; // 3. Let requestedLocales be the result of calling the CanonicalizeLocaleList\n // abstract operation (defined in 9.2.1) with argument locales.\n\n var requestedLocales = CanonicalizeLocaleList(locales); // 4. Let options be the result of calling the ToDateTimeOptions abstract\n // operation (defined below) with arguments options, \"any\", and \"date\".\n\n options = ToDateTimeOptions(options, 'any', 'date'); // 5. Let opt be a new Record.\n\n var opt = new Record(); // 6. Let matcher be the result of calling the GetOption abstract operation\n // (defined in 9.2.9) with arguments options, \"localeMatcher\", \"string\", a List\n // containing the two String values \"lookup\" and \"best fit\", and \"best fit\".\n\n var matcher = GetOption(options, 'localeMatcher', 'string', new List('lookup', 'best fit'), 'best fit'); // 7. Set opt.[[localeMatcher]] to matcher.\n\n opt['[[localeMatcher]]'] = matcher; // 8. Let DateTimeFormat be the standard built-in object that is the initial\n // value of Intl.DateTimeFormat.\n\n var DateTimeFormat = internals.DateTimeFormat; // This is what we *really* need\n // 9. Let localeData be the value of the [[localeData]] internal property of\n // DateTimeFormat.\n\n var localeData = DateTimeFormat['[[localeData]]']; // 10. Let r be the result of calling the ResolveLocale abstract operation\n // (defined in 9.2.5) with the [[availableLocales]] internal property of\n // DateTimeFormat, requestedLocales, opt, the [[relevantExtensionKeys]]\n // internal property of DateTimeFormat, and localeData.\n\n var r = ResolveLocale(DateTimeFormat['[[availableLocales]]'], requestedLocales, opt, DateTimeFormat['[[relevantExtensionKeys]]'], localeData); // 11. Set the [[locale]] internal property of dateTimeFormat to the value of\n // r.[[locale]].\n\n internal['[[locale]]'] = r['[[locale]]']; // 12. Set the [[calendar]] internal property of dateTimeFormat to the value of\n // r.[[ca]].\n\n internal['[[calendar]]'] = r['[[ca]]']; // 13. Set the [[numberingSystem]] internal property of dateTimeFormat to the value of\n // r.[[nu]].\n\n internal['[[numberingSystem]]'] = r['[[nu]]']; // The specification doesn't tell us to do this, but it's helpful later on\n\n internal['[[dataLocale]]'] = r['[[dataLocale]]']; // 14. Let dataLocale be the value of r.[[dataLocale]].\n\n var dataLocale = r['[[dataLocale]]']; // 15. Let tz be the result of calling the [[Get]] internal method of options with\n // argument \"timeZone\".\n\n var tz = options.timeZone; // 16. If tz is not undefined, then\n\n if (tz !== undefined) {\n // a. Let tz be ToString(tz).\n // b. Convert tz to upper case as described in 6.1.\n // NOTE: If an implementation accepts additional time zone values, as permitted\n // under certain conditions by the Conformance clause, different casing\n // rules apply.\n tz = toLatinUpperCase(tz); // c. If tz is not \"UTC\", then throw a RangeError exception.\n // ###TODO: accept more time zones###\n\n if (tz !== 'UTC') throw new RangeError('timeZone is not supported.');\n } // 17. Set the [[timeZone]] internal property of dateTimeFormat to tz.\n\n\n internal['[[timeZone]]'] = tz; // 18. Let opt be a new Record.\n\n opt = new Record(); // 19. For each row of Table 3, except the header row, do:\n\n for (var prop in dateTimeComponents) {\n if (!hop.call(dateTimeComponents, prop)) continue; // 20. Let prop be the name given in the Property column of the row.\n // 21. Let value be the result of calling the GetOption abstract operation,\n // passing as argument options, the name given in the Property column of the\n // row, \"string\", a List containing the strings given in the Values column of\n // the row, and undefined.\n\n var value = GetOption(options, prop, 'string', dateTimeComponents[prop]); // 22. Set opt.[[<prop>]] to value.\n\n opt['[[' + prop + ']]'] = value;\n } // Assigned a value below\n\n\n var bestFormat = void 0; // 23. Let dataLocaleData be the result of calling the [[Get]] internal method of\n // localeData with argument dataLocale.\n\n var dataLocaleData = localeData[dataLocale]; // 24. Let formats be the result of calling the [[Get]] internal method of\n // dataLocaleData with argument \"formats\".\n // Note: we process the CLDR formats into the spec'd structure\n\n var formats = ToDateTimeFormats(dataLocaleData.formats); // 25. Let matcher be the result of calling the GetOption abstract operation with\n // arguments options, \"formatMatcher\", \"string\", a List containing the two String\n // values \"basic\" and \"best fit\", and \"best fit\".\n\n matcher = GetOption(options, 'formatMatcher', 'string', new List('basic', 'best fit'), 'best fit'); // Optimization: caching the processed formats as a one time operation by\n // replacing the initial structure from localeData\n\n dataLocaleData.formats = formats; // 26. If matcher is \"basic\", then\n\n if (matcher === 'basic') {\n // 27. Let bestFormat be the result of calling the BasicFormatMatcher abstract\n // operation (defined below) with opt and formats.\n bestFormat = BasicFormatMatcher(opt, formats); // 28. Else\n } else {\n {\n // diverging\n var _hr = GetOption(options, 'hour12', 'boolean'\n /*, undefined, undefined*/\n );\n\n opt.hour12 = _hr === undefined ? dataLocaleData.hour12 : _hr;\n } // 29. Let bestFormat be the result of calling the BestFitFormatMatcher\n // abstract operation (defined below) with opt and formats.\n\n bestFormat = BestFitFormatMatcher(opt, formats);\n } // 30. For each row in Table 3, except the header row, do\n\n\n for (var _prop in dateTimeComponents) {\n if (!hop.call(dateTimeComponents, _prop)) continue; // a. Let prop be the name given in the Property column of the row.\n // b. Let pDesc be the result of calling the [[GetOwnProperty]] internal method of\n // bestFormat with argument prop.\n // c. If pDesc is not undefined, then\n\n if (hop.call(bestFormat, _prop)) {\n // i. Let p be the result of calling the [[Get]] internal method of bestFormat\n // with argument prop.\n var p = bestFormat[_prop];\n {\n // diverging\n p = bestFormat._ && hop.call(bestFormat._, _prop) ? bestFormat._[_prop] : p;\n } // ii. Set the [[<prop>]] internal property of dateTimeFormat to p.\n\n internal['[[' + _prop + ']]'] = p;\n }\n }\n\n var pattern = void 0; // Assigned a value below\n // 31. Let hr12 be the result of calling the GetOption abstract operation with\n // arguments options, \"hour12\", \"boolean\", undefined, and undefined.\n\n var hr12 = GetOption(options, 'hour12', 'boolean'\n /*, undefined, undefined*/\n ); // 32. If dateTimeFormat has an internal property [[hour]], then\n\n if (internal['[[hour]]']) {\n // a. If hr12 is undefined, then let hr12 be the result of calling the [[Get]]\n // internal method of dataLocaleData with argument \"hour12\".\n hr12 = hr12 === undefined ? dataLocaleData.hour12 : hr12; // b. Set the [[hour12]] internal property of dateTimeFormat to hr12.\n\n internal['[[hour12]]'] = hr12; // c. If hr12 is true, then\n\n if (hr12 === true) {\n // i. Let hourNo0 be the result of calling the [[Get]] internal method of\n // dataLocaleData with argument \"hourNo0\".\n var hourNo0 = dataLocaleData.hourNo0; // ii. Set the [[hourNo0]] internal property of dateTimeFormat to hourNo0.\n\n internal['[[hourNo0]]'] = hourNo0; // iii. Let pattern be the result of calling the [[Get]] internal method of\n // bestFormat with argument \"pattern12\".\n\n pattern = bestFormat.pattern12;\n } // d. Else\n else // i. Let pattern be the result of calling the [[Get]] internal method of\n // bestFormat with argument \"pattern\".\n pattern = bestFormat.pattern;\n } // 33. Else\n else // a. Let pattern be the result of calling the [[Get]] internal method of\n // bestFormat with argument \"pattern\".\n pattern = bestFormat.pattern; // 34. Set the [[pattern]] internal property of dateTimeFormat to pattern.\n\n\n internal['[[pattern]]'] = pattern; // 35. Set the [[boundFormat]] internal property of dateTimeFormat to undefined.\n\n internal['[[boundFormat]]'] = undefined; // 36. Set the [[initializedDateTimeFormat]] internal property of dateTimeFormat to\n // true.\n\n internal['[[initializedDateTimeFormat]]'] = true; // In ES3, we need to pre-bind the format() function\n\n if (es3) dateTimeFormat.format = GetFormatDateTime.call(dateTimeFormat); // Restore the RegExp properties\n\n regexpRestore(); // Return the newly initialised object\n\n return dateTimeFormat;\n}\n/**\n * Several DateTimeFormat algorithms use values from the following table, which provides\n * property names and allowable values for the components of date and time formats:\n */\n\n\nvar dateTimeComponents = {\n weekday: [\"narrow\", \"short\", \"long\"],\n era: [\"narrow\", \"short\", \"long\"],\n year: [\"2-digit\", \"numeric\"],\n month: [\"2-digit\", \"numeric\", \"narrow\", \"short\", \"long\"],\n day: [\"2-digit\", \"numeric\"],\n hour: [\"2-digit\", \"numeric\"],\n minute: [\"2-digit\", \"numeric\"],\n second: [\"2-digit\", \"numeric\"],\n timeZoneName: [\"short\", \"long\"]\n};\n/**\n * When the ToDateTimeOptions abstract operation is called with arguments options,\n * required, and defaults, the following steps are taken:\n */\n\nfunction ToDateTimeFormats(formats) {\n if (Object.prototype.toString.call(formats) === '[object Array]') {\n return formats;\n }\n\n return createDateTimeFormats(formats);\n}\n/**\n * When the ToDateTimeOptions abstract operation is called with arguments options,\n * required, and defaults, the following steps are taken:\n */\n\n\nfunction ToDateTimeOptions(options, required, defaults) {\n // 1. If options is undefined, then let options be null, else let options be\n // ToObject(options).\n if (options === undefined) options = null;else {\n // (#12) options needs to be a Record, but it also needs to inherit properties\n var opt2 = toObject(options);\n options = new Record();\n\n for (var k in opt2) {\n options[k] = opt2[k];\n }\n } // 2. Let create be the standard built-in function object defined in ES5, 15.2.3.5.\n\n var create = objCreate; // 3. Let options be the result of calling the [[Call]] internal method of create with\n // undefined as the this value and an argument list containing the single item\n // options.\n\n options = create(options); // 4. Let needDefaults be true.\n\n var needDefaults = true; // 5. If required is \"date\" or \"any\", then\n\n if (required === 'date' || required === 'any') {\n // a. For each of the property names \"weekday\", \"year\", \"month\", \"day\":\n // i. If the result of calling the [[Get]] internal method of options with the\n // property name is not undefined, then let needDefaults be false.\n if (options.weekday !== undefined || options.year !== undefined || options.month !== undefined || options.day !== undefined) needDefaults = false;\n } // 6. If required is \"time\" or \"any\", then\n\n\n if (required === 'time' || required === 'any') {\n // a. For each of the property names \"hour\", \"minute\", \"second\":\n // i. If the result of calling the [[Get]] internal method of options with the\n // property name is not undefined, then let needDefaults be false.\n if (options.hour !== undefined || options.minute !== undefined || options.second !== undefined) needDefaults = false;\n } // 7. If needDefaults is true and defaults is either \"date\" or \"all\", then\n\n\n if (needDefaults && (defaults === 'date' || defaults === 'all')) // a. For each of the property names \"year\", \"month\", \"day\":\n // i. Call the [[DefineOwnProperty]] internal method of options with the\n // property name, Property Descriptor {[[Value]]: \"numeric\", [[Writable]]:\n // true, [[Enumerable]]: true, [[Configurable]]: true}, and false.\n options.year = options.month = options.day = 'numeric'; // 8. If needDefaults is true and defaults is either \"time\" or \"all\", then\n\n if (needDefaults && (defaults === 'time' || defaults === 'all')) // a. For each of the property names \"hour\", \"minute\", \"second\":\n // i. Call the [[DefineOwnProperty]] internal method of options with the\n // property name, Property Descriptor {[[Value]]: \"numeric\", [[Writable]]:\n // true, [[Enumerable]]: true, [[Configurable]]: true}, and false.\n options.hour = options.minute = options.second = 'numeric'; // 9. Return options.\n\n return options;\n}\n/**\n * When the BasicFormatMatcher abstract operation is called with two arguments options and\n * formats, the following steps are taken:\n */\n\n\nfunction BasicFormatMatcher(options, formats) {\n // 1. Let removalPenalty be 120.\n var removalPenalty = 120; // 2. Let additionPenalty be 20.\n\n var additionPenalty = 20; // 3. Let longLessPenalty be 8.\n\n var longLessPenalty = 8; // 4. Let longMorePenalty be 6.\n\n var longMorePenalty = 6; // 5. Let shortLessPenalty be 6.\n\n var shortLessPenalty = 6; // 6. Let shortMorePenalty be 3.\n\n var shortMorePenalty = 3; // 7. Let bestScore be -Infinity.\n\n var bestScore = -Infinity; // 8. Let bestFormat be undefined.\n\n var bestFormat = void 0; // 9. Let i be 0.\n\n var i = 0; // 10. Assert: formats is an Array object.\n // 11. Let len be the result of calling the [[Get]] internal method of formats with argument \"length\".\n\n var len = formats.length; // 12. Repeat while i < len:\n\n while (i < len) {\n // a. Let format be the result of calling the [[Get]] internal method of formats with argument ToString(i).\n var format = formats[i]; // b. Let score be 0.\n\n var score = 0; // c. For each property shown in Table 3:\n\n for (var property in dateTimeComponents) {\n if (!hop.call(dateTimeComponents, property)) continue; // i. Let optionsProp be options.[[<property>]].\n\n var optionsProp = options['[[' + property + ']]']; // ii. Let formatPropDesc be the result of calling the [[GetOwnProperty]] internal method of format\n // with argument property.\n // iii. If formatPropDesc is not undefined, then\n // 1. Let formatProp be the result of calling the [[Get]] internal method of format with argument property.\n\n var formatProp = hop.call(format, property) ? format[property] : undefined; // iv. If optionsProp is undefined and formatProp is not undefined, then decrease score by\n // additionPenalty.\n\n if (optionsProp === undefined && formatProp !== undefined) score -= additionPenalty; // v. Else if optionsProp is not undefined and formatProp is undefined, then decrease score by\n // removalPenalty.\n else if (optionsProp !== undefined && formatProp === undefined) score -= removalPenalty; // vi. Else\n else {\n // 1. Let values be the array [\"2-digit\", \"numeric\", \"narrow\", \"short\",\n // \"long\"].\n var values = ['2-digit', 'numeric', 'narrow', 'short', 'long']; // 2. Let optionsPropIndex be the index of optionsProp within values.\n\n var optionsPropIndex = arrIndexOf.call(values, optionsProp); // 3. Let formatPropIndex be the index of formatProp within values.\n\n var formatPropIndex = arrIndexOf.call(values, formatProp); // 4. Let delta be max(min(formatPropIndex - optionsPropIndex, 2), -2).\n\n var delta = Math.max(Math.min(formatPropIndex - optionsPropIndex, 2), -2); // 5. If delta = 2, decrease score by longMorePenalty.\n\n if (delta === 2) score -= longMorePenalty; // 6. Else if delta = 1, decrease score by shortMorePenalty.\n else if (delta === 1) score -= shortMorePenalty; // 7. Else if delta = -1, decrease score by shortLessPenalty.\n else if (delta === -1) score -= shortLessPenalty; // 8. Else if delta = -2, decrease score by longLessPenalty.\n else if (delta === -2) score -= longLessPenalty;\n }\n } // d. If score > bestScore, then\n\n\n if (score > bestScore) {\n // i. Let bestScore be score.\n bestScore = score; // ii. Let bestFormat be format.\n\n bestFormat = format;\n } // e. Increase i by 1.\n\n\n i++;\n } // 13. Return bestFormat.\n\n\n return bestFormat;\n}\n/**\n * When the BestFitFormatMatcher abstract operation is called with two arguments options\n * and formats, it performs implementation dependent steps, which should return a set of\n * component representations that a typical user of the selected locale would perceive as\n * at least as good as the one returned by BasicFormatMatcher.\n *\n * This polyfill defines the algorithm to be the same as BasicFormatMatcher,\n * with the addition of bonus points awarded where the requested format is of\n * the same data type as the potentially matching format.\n *\n * This algo relies on the concept of closest distance matching described here:\n * http://unicode.org/reports/tr35/tr35-dates.html#Matching_Skeletons\n * Typically a “best match” is found using a closest distance match, such as:\n *\n * Symbols requesting a best choice for the locale are replaced.\n * j → one of {H, k, h, K}; C → one of {a, b, B}\n * -> Covered by cldr.js matching process\n *\n * For fields with symbols representing the same type (year, month, day, etc):\n * Most symbols have a small distance from each other.\n * M ≅ L; E ≅ c; a ≅ b ≅ B; H ≅ k ≅ h ≅ K; ...\n * -> Covered by cldr.js matching process\n *\n * Width differences among fields, other than those marking text vs numeric, are given small distance from each other.\n * MMM ≅ MMMM\n * MM ≅ M\n * Numeric and text fields are given a larger distance from each other.\n * MMM ≈ MM\n * Symbols representing substantial differences (week of year vs week of month) are given much larger a distances from each other.\n * d ≋ D; ...\n * Missing or extra fields cause a match to fail. (But see Missing Skeleton Fields).\n *\n *\n * For example,\n *\n * { month: 'numeric', day: 'numeric' }\n *\n * should match\n *\n * { month: '2-digit', day: '2-digit' }\n *\n * rather than\n *\n * { month: 'short', day: 'numeric' }\n *\n * This makes sense because a user requesting a formatted date with numeric parts would\n * not expect to see the returned format containing narrow, short or long part names\n */\n\n\nfunction BestFitFormatMatcher(options, formats) {\n /** Diverging: this block implements the hack for single property configuration, eg.:\n *\n * `new Intl.DateTimeFormat('en', {day: 'numeric'})`\n *\n * should produce a single digit with the day of the month. This is needed because\n * CLDR `availableFormats` data structure doesn't cover these cases.\n */\n {\n var optionsPropNames = [];\n\n for (var property in dateTimeComponents) {\n if (!hop.call(dateTimeComponents, property)) continue;\n\n if (options['[[' + property + ']]'] !== undefined) {\n optionsPropNames.push(property);\n }\n }\n\n if (optionsPropNames.length === 1) {\n var _bestFormat = generateSyntheticFormat(optionsPropNames[0], options['[[' + optionsPropNames[0] + ']]']);\n\n if (_bestFormat) {\n return _bestFormat;\n }\n }\n } // 1. Let removalPenalty be 120.\n\n var removalPenalty = 120; // 2. Let additionPenalty be 20.\n\n var additionPenalty = 20; // 3. Let longLessPenalty be 8.\n\n var longLessPenalty = 8; // 4. Let longMorePenalty be 6.\n\n var longMorePenalty = 6; // 5. Let shortLessPenalty be 6.\n\n var shortLessPenalty = 6; // 6. Let shortMorePenalty be 3.\n\n var shortMorePenalty = 3;\n var patternPenalty = 2;\n var hour12Penalty = 1; // 7. Let bestScore be -Infinity.\n\n var bestScore = -Infinity; // 8. Let bestFormat be undefined.\n\n var bestFormat = void 0; // 9. Let i be 0.\n\n var i = 0; // 10. Assert: formats is an Array object.\n // 11. Let len be the result of calling the [[Get]] internal method of formats with argument \"length\".\n\n var len = formats.length; // 12. Repeat while i < len:\n\n while (i < len) {\n // a. Let format be the result of calling the [[Get]] internal method of formats with argument ToString(i).\n var format = formats[i]; // b. Let score be 0.\n\n var score = 0; // c. For each property shown in Table 3:\n\n for (var _property in dateTimeComponents) {\n if (!hop.call(dateTimeComponents, _property)) continue; // i. Let optionsProp be options.[[<property>]].\n\n var optionsProp = options['[[' + _property + ']]']; // ii. Let formatPropDesc be the result of calling the [[GetOwnProperty]] internal method of format\n // with argument property.\n // iii. If formatPropDesc is not undefined, then\n // 1. Let formatProp be the result of calling the [[Get]] internal method of format with argument property.\n\n var formatProp = hop.call(format, _property) ? format[_property] : undefined; // Diverging: using the default properties produced by the pattern/skeleton\n // to match it with user options, and apply a penalty\n\n var patternProp = hop.call(format._, _property) ? format._[_property] : undefined;\n\n if (optionsProp !== patternProp) {\n score -= patternPenalty;\n } // iv. If optionsProp is undefined and formatProp is not undefined, then decrease score by\n // additionPenalty.\n\n\n if (optionsProp === undefined && formatProp !== undefined) score -= additionPenalty; // v. Else if optionsProp is not undefined and formatProp is undefined, then decrease score by\n // removalPenalty.\n else if (optionsProp !== undefined && formatProp === undefined) score -= removalPenalty; // vi. Else\n else {\n // 1. Let values be the array [\"2-digit\", \"numeric\", \"narrow\", \"short\",\n // \"long\"].\n var values = ['2-digit', 'numeric', 'narrow', 'short', 'long']; // 2. Let optionsPropIndex be the index of optionsProp within values.\n\n var optionsPropIndex = arrIndexOf.call(values, optionsProp); // 3. Let formatPropIndex be the index of formatProp within values.\n\n var formatPropIndex = arrIndexOf.call(values, formatProp); // 4. Let delta be max(min(formatPropIndex - optionsPropIndex, 2), -2).\n\n var delta = Math.max(Math.min(formatPropIndex - optionsPropIndex, 2), -2);\n {\n // diverging from spec\n // When the bestFit argument is true, subtract additional penalty where data types are not the same\n if (formatPropIndex <= 1 && optionsPropIndex >= 2 || formatPropIndex >= 2 && optionsPropIndex <= 1) {\n // 5. If delta = 2, decrease score by longMorePenalty.\n if (delta > 0) score -= longMorePenalty;else if (delta < 0) score -= longLessPenalty;\n } else {\n // 5. If delta = 2, decrease score by longMorePenalty.\n if (delta > 1) score -= shortMorePenalty;else if (delta < -1) score -= shortLessPenalty;\n }\n }\n }\n }\n\n {\n // diverging to also take into consideration differences between 12 or 24 hours\n // which is special for the best fit only.\n if (format._.hour12 !== options.hour12) {\n score -= hour12Penalty;\n }\n } // d. If score > bestScore, then\n\n if (score > bestScore) {\n // i. Let bestScore be score.\n bestScore = score; // ii. Let bestFormat be format.\n\n bestFormat = format;\n } // e. Increase i by 1.\n\n\n i++;\n } // 13. Return bestFormat.\n\n\n return bestFormat;\n}\n/* 12.2.3 */\n\n\ninternals.DateTimeFormat = {\n '[[availableLocales]]': [],\n '[[relevantExtensionKeys]]': ['ca', 'nu'],\n '[[localeData]]': {}\n};\n/**\n * When the supportedLocalesOf method of Intl.DateTimeFormat is called, the\n * following steps are taken:\n */\n\n/* 12.2.2 */\n\ndefineProperty(Intl.DateTimeFormat, 'supportedLocalesOf', {\n configurable: true,\n writable: true,\n value: fnBind.call(function (locales) {\n // Bound functions only have the `this` value altered if being used as a constructor,\n // this lets us imitate a native function that has no constructor\n if (!hop.call(this, '[[availableLocales]]')) throw new TypeError('supportedLocalesOf() is not a constructor'); // Create an object whose props can be used to restore the values of RegExp props\n\n var regexpRestore = createRegExpRestore(),\n // 1. If options is not provided, then let options be undefined.\n options = arguments[1],\n // 2. Let availableLocales be the value of the [[availableLocales]] internal\n // property of the standard built-in object that is the initial value of\n // Intl.NumberFormat.\n availableLocales = this['[[availableLocales]]'],\n // 3. Let requestedLocales be the result of calling the CanonicalizeLocaleList\n // abstract operation (defined in 9.2.1) with argument locales.\n requestedLocales = CanonicalizeLocaleList(locales); // Restore the RegExp properties\n\n regexpRestore(); // 4. Return the result of calling the SupportedLocales abstract operation\n // (defined in 9.2.8) with arguments availableLocales, requestedLocales,\n // and options.\n\n return SupportedLocales(availableLocales, requestedLocales, options);\n }, internals.NumberFormat)\n});\n/**\n * This named accessor property returns a function that formats a number\n * according to the effective locale and the formatting options of this\n * DateTimeFormat object.\n */\n\n/* 12.3.2 */\n\ndefineProperty(Intl.DateTimeFormat.prototype, 'format', {\n configurable: true,\n get: GetFormatDateTime\n});\n\nfunction GetFormatDateTime() {\n var internal = this !== null && babelHelpers$1[\"typeof\"](this) === 'object' && getInternalProperties(this); // Satisfy test 12.3_b\n\n if (!internal || !internal['[[initializedDateTimeFormat]]']) throw new TypeError('`this` value for format() is not an initialized Intl.DateTimeFormat object.'); // The value of the [[Get]] attribute is a function that takes the following\n // steps:\n // 1. If the [[boundFormat]] internal property of this DateTimeFormat object\n // is undefined, then:\n\n if (internal['[[boundFormat]]'] === undefined) {\n // a. Let F be a Function object, with internal properties set as\n // specified for built-in functions in ES5, 15, or successor, and the\n // length property set to 0, that takes the argument date and\n // performs the following steps:\n var F = function F() {\n var date = arguments.length <= 0 || arguments[0] === undefined ? undefined : arguments[0]; // i. If date is not provided or is undefined, then let x be the\n // result as if by the expression Date.now() where Date.now is\n // the standard built-in function defined in ES5, 15.9.4.4.\n // ii. Else let x be ToNumber(date).\n // iii. Return the result of calling the FormatDateTime abstract\n // operation (defined below) with arguments this and x.\n\n var x = date === undefined ? Date.now() : toNumber(date);\n return FormatDateTime(this, x);\n }; // b. Let bind be the standard built-in function object defined in ES5,\n // 15.3.4.5.\n // c. Let bf be the result of calling the [[Call]] internal method of\n // bind with F as the this value and an argument list containing\n // the single item this.\n\n\n var bf = fnBind.call(F, this); // d. Set the [[boundFormat]] internal property of this NumberFormat\n // object to bf.\n\n internal['[[boundFormat]]'] = bf;\n } // Return the value of the [[boundFormat]] internal property of this\n // NumberFormat object.\n\n\n return internal['[[boundFormat]]'];\n}\n\nfunction formatToParts$1() {\n var date = arguments.length <= 0 || arguments[0] === undefined ? undefined : arguments[0];\n var internal = this !== null && babelHelpers$1[\"typeof\"](this) === 'object' && getInternalProperties(this);\n if (!internal || !internal['[[initializedDateTimeFormat]]']) throw new TypeError('`this` value for formatToParts() is not an initialized Intl.DateTimeFormat object.');\n var x = date === undefined ? Date.now() : toNumber(date);\n return FormatToPartsDateTime(this, x);\n}\n\nObject.defineProperty(Intl.DateTimeFormat.prototype, 'formatToParts', {\n enumerable: false,\n writable: true,\n configurable: true,\n value: formatToParts$1\n});\n\nfunction CreateDateTimeParts(dateTimeFormat, x) {\n // 1. If x is not a finite Number, then throw a RangeError exception.\n if (!isFinite(x)) throw new RangeError('Invalid valid date passed to format');\n\n var internal = dateTimeFormat.__getInternalProperties(secret); // Creating restore point for properties on the RegExp object... please wait\n\n /* let regexpRestore = */\n\n\n createRegExpRestore(); // ###TODO: review this\n // 2. Let locale be the value of the [[locale]] internal property of dateTimeFormat.\n\n var locale = internal['[[locale]]']; // 3. Let nf be the result of creating a new NumberFormat object as if by the\n // expression new Intl.NumberFormat([locale], {useGrouping: false}) where\n // Intl.NumberFormat is the standard built-in constructor defined in 11.1.3.\n\n var nf = new Intl.NumberFormat([locale], {\n useGrouping: false\n }); // 4. Let nf2 be the result of creating a new NumberFormat object as if by the\n // expression new Intl.NumberFormat([locale], {minimumIntegerDigits: 2, useGrouping:\n // false}) where Intl.NumberFormat is the standard built-in constructor defined in\n // 11.1.3.\n\n var nf2 = new Intl.NumberFormat([locale], {\n minimumIntegerDigits: 2,\n useGrouping: false\n }); // 5. Let tm be the result of calling the ToLocalTime abstract operation (defined\n // below) with x, the value of the [[calendar]] internal property of dateTimeFormat,\n // and the value of the [[timeZone]] internal property of dateTimeFormat.\n\n var tm = ToLocalTime(x, internal['[[calendar]]'], internal['[[timeZone]]']); // 6. Let result be the value of the [[pattern]] internal property of dateTimeFormat.\n\n var pattern = internal['[[pattern]]']; // 7.\n\n var result = new List(); // 8.\n\n var index = 0; // 9.\n\n var beginIndex = pattern.indexOf('{'); // 10.\n\n var endIndex = 0; // Need the locale minus any extensions\n\n var dataLocale = internal['[[dataLocale]]']; // Need the calendar data from CLDR\n\n var localeData = internals.DateTimeFormat['[[localeData]]'][dataLocale].calendars;\n var ca = internal['[[calendar]]']; // 11.\n\n while (beginIndex !== -1) {\n var fv = void 0; // a.\n\n endIndex = pattern.indexOf('}', beginIndex); // b.\n\n if (endIndex === -1) {\n throw new Error('Unclosed pattern');\n } // c.\n\n\n if (beginIndex > index) {\n arrPush.call(result, {\n type: 'literal',\n value: pattern.substring(index, beginIndex)\n });\n } // d.\n\n\n var p = pattern.substring(beginIndex + 1, endIndex); // e.\n\n if (dateTimeComponents.hasOwnProperty(p)) {\n // i. Let f be the value of the [[<p>]] internal property of dateTimeFormat.\n var f = internal['[[' + p + ']]']; // ii. Let v be the value of tm.[[<p>]].\n\n var v = tm['[[' + p + ']]']; // iii. If p is \"year\" and v ≤ 0, then let v be 1 - v.\n\n if (p === 'year' && v <= 0) {\n v = 1 - v;\n } // iv. If p is \"month\", then increase v by 1.\n else if (p === 'month') {\n v++;\n } // v. If p is \"hour\" and the value of the [[hour12]] internal property of\n // dateTimeFormat is true, then\n else if (p === 'hour' && internal['[[hour12]]'] === true) {\n // 1. Let v be v modulo 12.\n v = v % 12; // 2. If v is 0 and the value of the [[hourNo0]] internal property of\n // dateTimeFormat is true, then let v be 12.\n\n if (v === 0 && internal['[[hourNo0]]'] === true) {\n v = 12;\n }\n } // vi. If f is \"numeric\", then\n\n\n if (f === 'numeric') {\n // 1. Let fv be the result of calling the FormatNumber abstract operation\n // (defined in 11.3.2) with arguments nf and v.\n fv = FormatNumber(nf, v);\n } // vii. Else if f is \"2-digit\", then\n else if (f === '2-digit') {\n // 1. Let fv be the result of calling the FormatNumber abstract operation\n // with arguments nf2 and v.\n fv = FormatNumber(nf2, v); // 2. If the length of fv is greater than 2, let fv be the substring of fv\n // containing the last two characters.\n\n if (fv.length > 2) {\n fv = fv.slice(-2);\n }\n } // viii. Else if f is \"narrow\", \"short\", or \"long\", then let fv be a String\n // value representing f in the desired form; the String value depends upon\n // the implementation and the effective locale and calendar of\n // dateTimeFormat. If p is \"month\", then the String value may also depend\n // on whether dateTimeFormat has a [[day]] internal property. If p is\n // \"timeZoneName\", then the String value may also depend on the value of\n // the [[inDST]] field of tm.\n else if (f in dateWidths) {\n switch (p) {\n case 'month':\n fv = resolveDateString(localeData, ca, 'months', f, tm['[[' + p + ']]']);\n break;\n\n case 'weekday':\n try {\n fv = resolveDateString(localeData, ca, 'days', f, tm['[[' + p + ']]']); // fv = resolveDateString(ca.days, f)[tm['[['+ p +']]']];\n } catch (e) {\n throw new Error('Could not find weekday data for locale ' + locale);\n }\n\n break;\n\n case 'timeZoneName':\n fv = ''; // ###TODO\n\n break;\n\n case 'era':\n try {\n fv = resolveDateString(localeData, ca, 'eras', f, tm['[[' + p + ']]']);\n } catch (e) {\n throw new Error('Could not find era data for locale ' + locale);\n }\n\n break;\n\n default:\n fv = tm['[[' + p + ']]'];\n }\n } // ix\n\n\n arrPush.call(result, {\n type: p,\n value: fv\n }); // f.\n } else if (p === 'ampm') {\n // i.\n var _v = tm['[[hour]]']; // ii./iii.\n\n fv = resolveDateString(localeData, ca, 'dayPeriods', _v > 11 ? 'pm' : 'am', null); // iv.\n\n arrPush.call(result, {\n type: 'dayPeriod',\n value: fv\n }); // g.\n } else {\n arrPush.call(result, {\n type: 'literal',\n value: pattern.substring(beginIndex, endIndex + 1)\n });\n } // h.\n\n\n index = endIndex + 1; // i.\n\n beginIndex = pattern.indexOf('{', index);\n } // 12.\n\n\n if (endIndex < pattern.length - 1) {\n arrPush.call(result, {\n type: 'literal',\n value: pattern.substr(endIndex + 1)\n });\n } // 13.\n\n\n return result;\n}\n/**\n * When the FormatDateTime abstract operation is called with arguments dateTimeFormat\n * (which must be an object initialized as a DateTimeFormat) and x (which must be a Number\n * value), it returns a String value representing x (interpreted as a time value as\n * specified in ES5, 15.9.1.1) according to the effective locale and the formatting\n * options of dateTimeFormat.\n */\n\n\nfunction FormatDateTime(dateTimeFormat, x) {\n var parts = CreateDateTimeParts(dateTimeFormat, x);\n var result = '';\n\n for (var i = 0; parts.length > i; i++) {\n var part = parts[i];\n result += part.value;\n }\n\n return result;\n}\n\nfunction FormatToPartsDateTime(dateTimeFormat, x) {\n var parts = CreateDateTimeParts(dateTimeFormat, x);\n var result = [];\n\n for (var i = 0; parts.length > i; i++) {\n var part = parts[i];\n result.push({\n type: part.type,\n value: part.value\n });\n }\n\n return result;\n}\n/**\n * When the ToLocalTime abstract operation is called with arguments date, calendar, and\n * timeZone, the following steps are taken:\n */\n\n\nfunction ToLocalTime(date, calendar, timeZone) {\n // 1. Apply calendrical calculations on date for the given calendar and time zone to\n // produce weekday, era, year, month, day, hour, minute, second, and inDST values.\n // The calculations should use best available information about the specified\n // calendar and time zone. If the calendar is \"gregory\", then the calculations must\n // match the algorithms specified in ES5, 15.9.1, except that calculations are not\n // bound by the restrictions on the use of best available information on time zones\n // for local time zone adjustment and daylight saving time adjustment imposed by\n // ES5, 15.9.1.7 and 15.9.1.8.\n // ###TODO###\n var d = new Date(date),\n m = 'get' + (timeZone || ''); // 2. Return a Record with fields [[weekday]], [[era]], [[year]], [[month]], [[day]],\n // [[hour]], [[minute]], [[second]], and [[inDST]], each with the corresponding\n // calculated value.\n\n return new Record({\n '[[weekday]]': d[m + 'Day'](),\n '[[era]]': +(d[m + 'FullYear']() >= 0),\n '[[year]]': d[m + 'FullYear'](),\n '[[month]]': d[m + 'Month'](),\n '[[day]]': d[m + 'Date'](),\n '[[hour]]': d[m + 'Hours'](),\n '[[minute]]': d[m + 'Minutes'](),\n '[[second]]': d[m + 'Seconds'](),\n '[[inDST]]': false // ###TODO###\n\n });\n}\n/**\n * The function returns a new object whose properties and attributes are set as if\n * constructed by an object literal assigning to each of the following properties the\n * value of the corresponding internal property of this DateTimeFormat object (see 12.4):\n * locale, calendar, numberingSystem, timeZone, hour12, weekday, era, year, month, day,\n * hour, minute, second, and timeZoneName. Properties whose corresponding internal\n * properties are not present are not assigned.\n */\n\n/* 12.3.3 */\n\n\ndefineProperty(Intl.DateTimeFormat.prototype, 'resolvedOptions', {\n writable: true,\n configurable: true,\n value: function value() {\n var prop = void 0,\n descs = new Record(),\n props = ['locale', 'calendar', 'numberingSystem', 'timeZone', 'hour12', 'weekday', 'era', 'year', 'month', 'day', 'hour', 'minute', 'second', 'timeZoneName'],\n internal = this !== null && babelHelpers$1[\"typeof\"](this) === 'object' && getInternalProperties(this); // Satisfy test 12.3_b\n\n if (!internal || !internal['[[initializedDateTimeFormat]]']) throw new TypeError('`this` value for resolvedOptions() is not an initialized Intl.DateTimeFormat object.');\n\n for (var i = 0, max = props.length; i < max; i++) {\n if (hop.call(internal, prop = '[[' + props[i] + ']]')) descs[props[i]] = {\n value: internal[prop],\n writable: true,\n configurable: true,\n enumerable: true\n };\n }\n\n return objCreate({}, descs);\n }\n});\nvar ls = Intl.__localeSensitiveProtos = {\n Number: {},\n Date: {}\n};\n/**\n * When the toLocaleString method is called with optional arguments locales and options,\n * the following steps are taken:\n */\n\n/* 13.2.1 */\n\nls.Number.toLocaleString = function () {\n // Satisfy test 13.2.1_1\n if (Object.prototype.toString.call(this) !== '[object Number]') throw new TypeError('`this` value must be a number for Number.prototype.toLocaleString()'); // 1. Let x be this Number value (as defined in ES5, 15.7.4).\n // 2. If locales is not provided, then let locales be undefined.\n // 3. If options is not provided, then let options be undefined.\n // 4. Let numberFormat be the result of creating a new object as if by the\n // expression new Intl.NumberFormat(locales, options) where\n // Intl.NumberFormat is the standard built-in constructor defined in 11.1.3.\n // 5. Return the result of calling the FormatNumber abstract operation\n // (defined in 11.3.2) with arguments numberFormat and x.\n\n return FormatNumber(new NumberFormatConstructor(arguments[0], arguments[1]), this);\n};\n/**\n * When the toLocaleString method is called with optional arguments locales and options,\n * the following steps are taken:\n */\n\n/* 13.3.1 */\n\n\nls.Date.toLocaleString = function () {\n // Satisfy test 13.3.0_1\n if (Object.prototype.toString.call(this) !== '[object Date]') throw new TypeError('`this` value must be a Date instance for Date.prototype.toLocaleString()'); // 1. Let x be this time value (as defined in ES5, 15.9.5).\n\n var x = +this; // 2. If x is NaN, then return \"Invalid Date\".\n\n if (isNaN(x)) return 'Invalid Date'; // 3. If locales is not provided, then let locales be undefined.\n\n var locales = arguments[0]; // 4. If options is not provided, then let options be undefined.\n\n var options = arguments[1]; // 5. Let options be the result of calling the ToDateTimeOptions abstract\n // operation (defined in 12.1.1) with arguments options, \"any\", and \"all\".\n\n options = ToDateTimeOptions(options, 'any', 'all'); // 6. Let dateTimeFormat be the result of creating a new object as if by the\n // expression new Intl.DateTimeFormat(locales, options) where\n // Intl.DateTimeFormat is the standard built-in constructor defined in 12.1.3.\n\n var dateTimeFormat = new DateTimeFormatConstructor(locales, options); // 7. Return the result of calling the FormatDateTime abstract operation (defined\n // in 12.3.2) with arguments dateTimeFormat and x.\n\n return FormatDateTime(dateTimeFormat, x);\n};\n/**\n * When the toLocaleDateString method is called with optional arguments locales and\n * options, the following steps are taken:\n */\n\n/* 13.3.2 */\n\n\nls.Date.toLocaleDateString = function () {\n // Satisfy test 13.3.0_1\n if (Object.prototype.toString.call(this) !== '[object Date]') throw new TypeError('`this` value must be a Date instance for Date.prototype.toLocaleDateString()'); // 1. Let x be this time value (as defined in ES5, 15.9.5).\n\n var x = +this; // 2. If x is NaN, then return \"Invalid Date\".\n\n if (isNaN(x)) return 'Invalid Date'; // 3. If locales is not provided, then let locales be undefined.\n\n var locales = arguments[0],\n // 4. If options is not provided, then let options be undefined.\n options = arguments[1]; // 5. Let options be the result of calling the ToDateTimeOptions abstract\n // operation (defined in 12.1.1) with arguments options, \"date\", and \"date\".\n\n options = ToDateTimeOptions(options, 'date', 'date'); // 6. Let dateTimeFormat be the result of creating a new object as if by the\n // expression new Intl.DateTimeFormat(locales, options) where\n // Intl.DateTimeFormat is the standard built-in constructor defined in 12.1.3.\n\n var dateTimeFormat = new DateTimeFormatConstructor(locales, options); // 7. Return the result of calling the FormatDateTime abstract operation (defined\n // in 12.3.2) with arguments dateTimeFormat and x.\n\n return FormatDateTime(dateTimeFormat, x);\n};\n/**\n * When the toLocaleTimeString method is called with optional arguments locales and\n * options, the following steps are taken:\n */\n\n/* 13.3.3 */\n\n\nls.Date.toLocaleTimeString = function () {\n // Satisfy test 13.3.0_1\n if (Object.prototype.toString.call(this) !== '[object Date]') throw new TypeError('`this` value must be a Date instance for Date.prototype.toLocaleTimeString()'); // 1. Let x be this time value (as defined in ES5, 15.9.5).\n\n var x = +this; // 2. If x is NaN, then return \"Invalid Date\".\n\n if (isNaN(x)) return 'Invalid Date'; // 3. If locales is not provided, then let locales be undefined.\n\n var locales = arguments[0]; // 4. If options is not provided, then let options be undefined.\n\n var options = arguments[1]; // 5. Let options be the result of calling the ToDateTimeOptions abstract\n // operation (defined in 12.1.1) with arguments options, \"time\", and \"time\".\n\n options = ToDateTimeOptions(options, 'time', 'time'); // 6. Let dateTimeFormat be the result of creating a new object as if by the\n // expression new Intl.DateTimeFormat(locales, options) where\n // Intl.DateTimeFormat is the standard built-in constructor defined in 12.1.3.\n\n var dateTimeFormat = new DateTimeFormatConstructor(locales, options); // 7. Return the result of calling the FormatDateTime abstract operation (defined\n // in 12.3.2) with arguments dateTimeFormat and x.\n\n return FormatDateTime(dateTimeFormat, x);\n};\n\ndefineProperty(Intl, '__applyLocaleSensitivePrototypes', {\n writable: true,\n configurable: true,\n value: function value() {\n defineProperty(Number.prototype, 'toLocaleString', {\n writable: true,\n configurable: true,\n value: ls.Number.toLocaleString\n }); // Need this here for IE 8, to avoid the _DontEnum_ bug\n\n defineProperty(Date.prototype, 'toLocaleString', {\n writable: true,\n configurable: true,\n value: ls.Date.toLocaleString\n });\n\n for (var k in ls.Date) {\n if (hop.call(ls.Date, k)) defineProperty(Date.prototype, k, {\n writable: true,\n configurable: true,\n value: ls.Date[k]\n });\n }\n }\n});\n/**\n * Can't really ship a single script with data for hundreds of locales, so we provide\n * this __addLocaleData method as a means for the developer to add the data on an\n * as-needed basis\n */\n\ndefineProperty(Intl, '__addLocaleData', {\n value: function value(data) {\n if (!IsStructurallyValidLanguageTag(data.locale)) throw new Error(\"Object passed doesn't identify itself with a valid language tag\");\n addLocaleData(data, data.locale);\n }\n});\n\nfunction addLocaleData(data, tag) {\n // Both NumberFormat and DateTimeFormat require number data, so throw if it isn't present\n if (!data.number) throw new Error(\"Object passed doesn't contain locale data for Intl.NumberFormat\");\n var locale = void 0,\n locales = [tag],\n parts = tag.split('-'); // Create fallbacks for locale data with scripts, e.g. Latn, Hans, Vaii, etc\n\n if (parts.length > 2 && parts[1].length === 4) arrPush.call(locales, parts[0] + '-' + parts[2]);\n\n while (locale = arrShift.call(locales)) {\n // Add to NumberFormat internal properties as per 11.2.3\n arrPush.call(internals.NumberFormat['[[availableLocales]]'], locale);\n internals.NumberFormat['[[localeData]]'][locale] = data.number; // ...and DateTimeFormat internal properties as per 12.2.3\n\n if (data.date) {\n data.date.nu = data.number.nu;\n arrPush.call(internals.DateTimeFormat['[[availableLocales]]'], locale);\n internals.DateTimeFormat['[[localeData]]'][locale] = data.date;\n }\n } // If this is the first set of locale data added, make it the default\n\n\n if (defaultLocale === undefined) setDefaultLocale(tag);\n}\n\ndefineProperty(Intl, '__disableRegExpRestore', {\n value: function value() {\n internals.disableRegExpRestore = true;\n }\n});\nmodule.exports = Intl;","\"use strict\";\n\nvar global = require(\"ext/global-this\"),\n validTypes = {\n object: true,\n symbol: true\n};\n\nmodule.exports = function () {\n var Symbol = global.Symbol;\n var symbol;\n if (typeof Symbol !== \"function\") return false;\n symbol = Symbol(\"test symbol\");\n\n try {\n String(symbol);\n } catch (e) {\n return false;\n } // Return 'true' also for polyfills\n\n\n if (!validTypes[typeof Symbol.iterator]) return false;\n if (!validTypes[typeof Symbol.toPrimitive]) return false;\n if (!validTypes[typeof Symbol.toStringTag]) return false;\n return true;\n};","\"use strict\";\n\nmodule.exports = function () {\n if (typeof globalThis !== \"object\") return false;\n if (!globalThis) return false;\n return globalThis.Array === Array;\n};","var naiveFallback = function naiveFallback() {\n if (typeof self === \"object\" && self) return self;\n if (typeof window === \"object\" && window) return window;\n throw new Error(\"Unable to resolve global `this`\");\n};\n\nmodule.exports = function () {\n if (this) return this; // Unexpected strict mode (may happen if e.g. bundled into ESM module)\n // Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis\n // In all ES5+ engines global object inherits from Object.prototype\n // (if you approached one that doesn't please report)\n\n try {\n Object.defineProperty(Object.prototype, \"__global__\", {\n get: function get() {\n return this;\n },\n configurable: true\n });\n } catch (error) {\n // Unfortunate case of Object.prototype being sealed (via preventExtensions, seal or freeze)\n return naiveFallback();\n }\n\n try {\n // Safari case (window.__global__ is resolved with global context, but __global__ does not)\n if (!__global__) return naiveFallback();\n return __global__;\n } finally {\n delete Object.prototype.__global__;\n }\n}();","// ES2015 Symbol polyfill for environments that do not (or partially) support it\n\"use strict\";\n\nvar d = require(\"d\"),\n validateSymbol = require(\"./validate-symbol\"),\n NativeSymbol = require(\"ext/global-this\").Symbol,\n generateName = require(\"./lib/private/generate-name\"),\n setupStandardSymbols = require(\"./lib/private/setup/standard-symbols\"),\n setupSymbolRegistry = require(\"./lib/private/setup/symbol-registry\");\n\nvar create = Object.create,\n defineProperties = Object.defineProperties,\n defineProperty = Object.defineProperty;\nvar SymbolPolyfill, HiddenSymbol, isNativeSafe;\n\nif (typeof NativeSymbol === \"function\") {\n try {\n String(NativeSymbol());\n isNativeSafe = true;\n } catch (ignore) {}\n} else {\n NativeSymbol = null;\n} // Internal constructor (not one exposed) for creating Symbol instances.\n// This one is used to ensure that `someSymbol instanceof Symbol` always return false\n\n\nHiddenSymbol = function Symbol(description) {\n if (this instanceof HiddenSymbol) throw new TypeError(\"Symbol is not a constructor\");\n return SymbolPolyfill(description);\n}; // Exposed `Symbol` constructor\n// (returns instances of HiddenSymbol)\n\n\nmodule.exports = SymbolPolyfill = function Symbol(description) {\n var symbol;\n if (this instanceof Symbol) throw new TypeError(\"Symbol is not a constructor\");\n if (isNativeSafe) return NativeSymbol(description);\n symbol = create(HiddenSymbol.prototype);\n description = description === undefined ? \"\" : String(description);\n return defineProperties(symbol, {\n __description__: d(\"\", description),\n __name__: d(\"\", generateName(description))\n });\n};\n\nsetupStandardSymbols(SymbolPolyfill);\nsetupSymbolRegistry(SymbolPolyfill); // Internal tweaks for real symbol producer\n\ndefineProperties(HiddenSymbol.prototype, {\n constructor: d(SymbolPolyfill),\n toString: d(\"\", function () {\n return this.__name__;\n })\n}); // Proper implementation of methods exposed on Symbol.prototype\n// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype\n\ndefineProperties(SymbolPolyfill.prototype, {\n toString: d(function () {\n return \"Symbol (\" + validateSymbol(this).__description__ + \")\";\n }),\n valueOf: d(function () {\n return validateSymbol(this);\n })\n});\ndefineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toPrimitive, d(\"\", function () {\n var symbol = validateSymbol(this);\n if (typeof symbol === \"symbol\") return symbol;\n return symbol.toString();\n}));\ndefineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d(\"c\", \"Symbol\")); // Proper implementaton of toPrimitive and toStringTag for returned symbol instances\n\ndefineProperty(HiddenSymbol.prototype, SymbolPolyfill.toStringTag, d(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])); // Note: It's important to define `toPrimitive` as last one, as some implementations\n// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols)\n// And that may invoke error in definition flow:\n// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149\n\ndefineProperty(HiddenSymbol.prototype, SymbolPolyfill.toPrimitive, d(\"c\", SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive]));","\"use strict\";\n\nvar isFunction = require(\"../function/is\");\n\nvar classRe = /^\\s*class[\\s{/}]/,\n functionToString = Function.prototype.toString;\n\nmodule.exports = function (value) {\n if (!isFunction(value)) return false;\n if (classRe.test(functionToString.call(value))) return false;\n return true;\n};","\"use strict\";\n\nvar isPrototype = require(\"../prototype/is\");\n\nmodule.exports = function (value) {\n if (typeof value !== \"function\") return false;\n if (!hasOwnProperty.call(value, \"length\")) return false;\n\n try {\n if (typeof value.length !== \"number\") return false;\n if (typeof value.call !== \"function\") return false;\n if (typeof value.apply !== \"function\") return false;\n } catch (error) {\n return false;\n }\n\n return !isPrototype(value);\n};","\"use strict\";\n\nvar isObject = require(\"../object/is\");\n\nmodule.exports = function (value) {\n if (!isObject(value)) return false;\n\n try {\n if (!value.constructor) return false;\n return value.constructor.prototype === value;\n } catch (error) {\n return false;\n }\n};","\"use strict\";\n\nvar isValue = require(\"../value/is\"); // prettier-ignore\n\n\nvar possibleTypes = {\n \"object\": true,\n \"function\": true,\n \"undefined\": true\n /* document.all */\n\n};\n\nmodule.exports = function (value) {\n if (!isValue(value)) return false;\n return hasOwnProperty.call(possibleTypes, typeof value);\n};","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.assign : require(\"./shim\");","\"use strict\";\n\nmodule.exports = function () {\n var assign = Object.assign,\n obj;\n if (typeof assign !== \"function\") return false;\n obj = {\n foo: \"raz\"\n };\n assign(obj, {\n bar: \"dwa\"\n }, {\n trzy: \"trzy\"\n });\n return obj.foo + obj.bar + obj.trzy === \"razdwatrzy\";\n};","\"use strict\";\n\nvar keys = require(\"../keys\"),\n value = require(\"../valid-value\"),\n max = Math.max;\n\nmodule.exports = function (dest, src\n/*, …srcn*/\n) {\n var error,\n i,\n length = max(arguments.length, 2),\n assign;\n dest = Object(value(dest));\n\n assign = function assign(key) {\n try {\n dest[key] = src[key];\n } catch (e) {\n if (!error) error = e;\n }\n };\n\n for (i = 1; i < length; ++i) {\n src = arguments[i];\n keys(src).forEach(assign);\n }\n\n if (error !== undefined) throw error;\n return dest;\n};","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? Object.keys : require(\"./shim\");","\"use strict\";\n\nmodule.exports = function () {\n try {\n Object.keys(\"primitive\");\n return true;\n } catch (e) {\n return false;\n }\n};","\"use strict\";\n\nvar isValue = require(\"../is-value\");\n\nvar keys = Object.keys;\n\nmodule.exports = function (object) {\n return keys(isValue(object) ? Object(object) : object);\n};","\"use strict\"; // eslint-disable-next-line no-empty-function\n\nmodule.exports = function () {};","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nmodule.exports = function (value) {\n if (!isValue(value)) throw new TypeError(\"Cannot use null or undefined\");\n return value;\n};","\"use strict\";\n\nvar isValue = require(\"./is-value\");\n\nvar forEach = Array.prototype.forEach,\n create = Object.create;\n\nvar process = function process(src, obj) {\n var key;\n\n for (key in src) {\n obj[key] = src[key];\n }\n}; // eslint-disable-next-line no-unused-vars\n\n\nmodule.exports = function (opts1\n/*, …options*/\n) {\n var result = create(null);\n forEach.call(arguments, function (options) {\n if (!isValue(options)) return;\n process(Object(options), result);\n });\n return result;\n};","\"use strict\";\n\nmodule.exports = require(\"./is-implemented\")() ? String.prototype.contains : require(\"./shim\");","\"use strict\";\n\nvar str = \"razdwatrzy\";\n\nmodule.exports = function () {\n if (typeof str.contains !== \"function\") return false;\n return str.contains(\"dwa\") === true && str.contains(\"foo\") === false;\n};","\"use strict\";\n\nvar indexOf = String.prototype.indexOf;\n\nmodule.exports = function (searchString\n/*, position*/\n) {\n return indexOf.call(this, searchString, arguments[1]) > -1;\n};","\"use strict\";\n\nmodule.exports = function (value) {\n if (!value) return false;\n if (typeof value === \"symbol\") return true;\n if (!value.constructor) return false;\n if (value.constructor.name !== \"Symbol\") return false;\n return value[value.constructor.toStringTag] === \"Symbol\";\n};","\"use strict\";\n\nvar d = require(\"d\");\n\nvar create = Object.create,\n defineProperty = Object.defineProperty,\n objPrototype = Object.prototype;\nvar created = create(null);\n\nmodule.exports = function (desc) {\n var postfix = 0,\n name,\n ie11BugWorkaround;\n\n while (created[desc + (postfix || \"\")]) {\n ++postfix;\n }\n\n desc += postfix || \"\";\n created[desc] = true;\n name = \"@@\" + desc;\n defineProperty(objPrototype, name, d.gs(null, function (value) {\n // For IE11 issue see:\n // https://connect.microsoft.com/IE/feedbackdetail/view/1928508/\n // ie11-broken-getters-on-dom-objects\n // https://github.com/medikoo/es6-symbol/issues/12\n if (ie11BugWorkaround) return;\n ie11BugWorkaround = true;\n defineProperty(this, name, d(value));\n ie11BugWorkaround = false;\n }));\n return name;\n};","\"use strict\";\n\nvar d = require(\"d\"),\n NativeSymbol = require(\"ext/global-this\").Symbol;\n\nmodule.exports = function (SymbolPolyfill) {\n return Object.defineProperties(SymbolPolyfill, {\n // To ensure proper interoperability with other native functions (e.g. Array.from)\n // fallback to eventual native implementation of given symbol\n hasInstance: d(\"\", NativeSymbol && NativeSymbol.hasInstance || SymbolPolyfill(\"hasInstance\")),\n isConcatSpreadable: d(\"\", NativeSymbol && NativeSymbol.isConcatSpreadable || SymbolPolyfill(\"isConcatSpreadable\")),\n iterator: d(\"\", NativeSymbol && NativeSymbol.iterator || SymbolPolyfill(\"iterator\")),\n match: d(\"\", NativeSymbol && NativeSymbol.match || SymbolPolyfill(\"match\")),\n replace: d(\"\", NativeSymbol && NativeSymbol.replace || SymbolPolyfill(\"replace\")),\n search: d(\"\", NativeSymbol && NativeSymbol.search || SymbolPolyfill(\"search\")),\n species: d(\"\", NativeSymbol && NativeSymbol.species || SymbolPolyfill(\"species\")),\n split: d(\"\", NativeSymbol && NativeSymbol.split || SymbolPolyfill(\"split\")),\n toPrimitive: d(\"\", NativeSymbol && NativeSymbol.toPrimitive || SymbolPolyfill(\"toPrimitive\")),\n toStringTag: d(\"\", NativeSymbol && NativeSymbol.toStringTag || SymbolPolyfill(\"toStringTag\")),\n unscopables: d(\"\", NativeSymbol && NativeSymbol.unscopables || SymbolPolyfill(\"unscopables\"))\n });\n};","\"use strict\";\n\nvar d = require(\"d\"),\n validateSymbol = require(\"../../../validate-symbol\");\n\nvar registry = Object.create(null);\n\nmodule.exports = function (SymbolPolyfill) {\n return Object.defineProperties(SymbolPolyfill, {\n for: d(function (key) {\n if (registry[key]) return registry[key];\n return registry[key] = SymbolPolyfill(String(key));\n }),\n keyFor: d(function (symbol) {\n var key;\n validateSymbol(symbol);\n\n for (key in registry) {\n if (registry[key] === symbol) return key;\n }\n\n return undefined;\n })\n });\n};","'use strict';\n\nvar slice = Array.prototype.slice;\n\nvar isArgs = require('./isArguments');\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) {\n return origKeys(o);\n} : require('./implementation');\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n if (Object.keys) {\n var keysWorksWithArguments = function () {\n // Safari 5.0 bug\n var args = Object.keys(arguments);\n return args && args.length === arguments.length;\n }(1, 2);\n\n if (!keysWorksWithArguments) {\n Object.keys = function keys(object) {\n // eslint-disable-line func-name-matching\n if (isArgs(object)) {\n return originalKeys(slice.call(object));\n }\n\n return originalKeys(object);\n };\n }\n } else {\n Object.keys = keysShim;\n }\n\n return Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;","'use strict';\n\nvar keysShim;\n\nif (!Object.keys) {\n // modified from https://github.com/es-shims/es5-shim\n var has = Object.prototype.hasOwnProperty;\n var toStr = Object.prototype.toString;\n\n var isArgs = require('./isArguments'); // eslint-disable-line global-require\n\n\n var isEnumerable = Object.prototype.propertyIsEnumerable;\n var hasDontEnumBug = !isEnumerable.call({\n toString: null\n }, 'toString');\n var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n var dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'];\n\n var equalsConstructorPrototype = function equalsConstructorPrototype(o) {\n var ctor = o.constructor;\n return ctor && ctor.prototype === o;\n };\n\n var excludedKeys = {\n $applicationCache: true,\n $console: true,\n $external: true,\n $frame: true,\n $frameElement: true,\n $frames: true,\n $innerHeight: true,\n $innerWidth: true,\n $onmozfullscreenchange: true,\n $onmozfullscreenerror: true,\n $outerHeight: true,\n $outerWidth: true,\n $pageXOffset: true,\n $pageYOffset: true,\n $parent: true,\n $scrollLeft: true,\n $scrollTop: true,\n $scrollX: true,\n $scrollY: true,\n $self: true,\n $webkitIndexedDB: true,\n $webkitStorageInfo: true,\n $window: true\n };\n\n var hasAutomationEqualityBug = function () {\n /* global window */\n if (typeof window === 'undefined') {\n return false;\n }\n\n for (var k in window) {\n try {\n if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n try {\n equalsConstructorPrototype(window[k]);\n } catch (e) {\n return true;\n }\n }\n } catch (e) {\n return true;\n }\n }\n\n return false;\n }();\n\n var equalsConstructorPrototypeIfNotBuggy = function equalsConstructorPrototypeIfNotBuggy(o) {\n /* global window */\n if (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n return equalsConstructorPrototype(o);\n }\n\n try {\n return equalsConstructorPrototype(o);\n } catch (e) {\n return false;\n }\n };\n\n keysShim = function keys(object) {\n var isObject = object !== null && typeof object === 'object';\n var isFunction = toStr.call(object) === '[object Function]';\n var isArguments = isArgs(object);\n var isString = isObject && toStr.call(object) === '[object String]';\n var theKeys = [];\n\n if (!isObject && !isFunction && !isArguments) {\n throw new TypeError('Object.keys called on a non-object');\n }\n\n var skipProto = hasProtoEnumBug && isFunction;\n\n if (isString && object.length > 0 && !has.call(object, 0)) {\n for (var i = 0; i < object.length; ++i) {\n theKeys.push(String(i));\n }\n }\n\n if (isArguments && object.length > 0) {\n for (var j = 0; j < object.length; ++j) {\n theKeys.push(String(j));\n }\n } else {\n for (var name in object) {\n if (!(skipProto && name === 'prototype') && has.call(object, name)) {\n theKeys.push(String(name));\n }\n }\n }\n\n if (hasDontEnumBug) {\n var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n for (var k = 0; k < dontEnums.length; ++k) {\n if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n theKeys.push(dontEnums[k]);\n }\n }\n }\n\n return theKeys;\n };\n}\n\nmodule.exports = keysShim;","'use strict';\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\n\nmodule.exports = function hasSymbols() {\n if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {\n return false;\n }\n\n if (typeof Symbol.iterator === 'symbol') {\n return true;\n }\n\n var obj = {};\n var sym = Symbol('test');\n var symObj = Object(sym);\n\n if (typeof sym === 'string') {\n return false;\n }\n\n if (Object.prototype.toString.call(sym) !== '[object Symbol]') {\n return false;\n }\n\n if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {\n return false;\n } // temp disabled per https://github.com/ljharb/object.assign/issues/17\n // if (sym instanceof Symbol) { return false; }\n // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n // if (!(symObj instanceof Symbol)) { return false; }\n // if (typeof Symbol.prototype.toString !== 'function') { return false; }\n // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\n var symVal = 42;\n obj[sym] = symVal;\n\n for (sym in obj) {\n return false;\n } // eslint-disable-line no-restricted-syntax\n\n\n if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {\n return false;\n }\n\n if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {\n return false;\n }\n\n var syms = Object.getOwnPropertySymbols(obj);\n\n if (syms.length !== 1 || syms[0] !== sym) {\n return false;\n }\n\n if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {\n return false;\n }\n\n if (typeof Object.getOwnPropertyDescriptor === 'function') {\n var descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\n if (descriptor.value !== symVal || descriptor.enumerable !== true) {\n return false;\n }\n }\n\n return true;\n};","'use strict';\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n\n var args = slice.call(arguments, 1);\n var bound;\n\n var binder = function binder() {\n if (this instanceof bound) {\n var result = target.apply(this, args.concat(slice.call(arguments)));\n\n if (Object(result) === result) {\n return result;\n }\n\n return this;\n } else {\n return target.apply(that, args.concat(slice.call(arguments)));\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $Math = GetIntrinsic('%Math%');\n\nvar ToNumber = require('./ToNumber');\n\nvar $isNaN = require('../helpers/isNaN');\n\nvar $isFinite = require('../helpers/isFinite');\n\nvar $sign = require('../helpers/sign');\n\nvar $floor = $Math.floor;\nvar $abs = $Math.abs; // http://www.ecma-international.org/ecma-262/5.1/#sec-9.4\n\nmodule.exports = function ToInteger(value) {\n var number = ToNumber(value);\n\n if ($isNaN(number)) {\n return 0;\n }\n\n if (number === 0 || !$isFinite(number)) {\n return number;\n }\n\n return $sign(number) * $floor($abs(number));\n};","'use strict'; // http://www.ecma-international.org/ecma-262/5.1/#sec-9.3\n\nmodule.exports = function ToNumber(value) {\n return +value; // eslint-disable-line no-implicit-coercion\n};","'use strict';\n\nmodule.exports = function sign(number) {\n return number >= 0 ? 1 : -1;\n};","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $Number = GetIntrinsic('%Number%');\nvar $RegExp = GetIntrinsic('%RegExp%');\nvar $parseInteger = GetIntrinsic('%parseInt%');\n\nvar callBound = require('../helpers/callBound');\n\nvar regexTester = require('../helpers/regexTester');\n\nvar isPrimitive = require('../helpers/isPrimitive');\n\nvar $strSlice = callBound('String.prototype.slice');\nvar isBinary = regexTester(/^0b[01]+$/i);\nvar isOctal = regexTester(/^0o[0-7]+$/i);\nvar isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);\nvar nonWS = [\"\\x85\", \"\\u200B\", \"\\uFFFE\"].join('');\nvar nonWSregex = new $RegExp('[' + nonWS + ']', 'g');\nvar hasNonWS = regexTester(nonWSregex); // whitespace from: https://es5.github.io/#x15.5.4.20\n// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324\n\nvar ws = [\"\\t\\n\\x0B\\f\\r \\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\", \"\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\", \"\\u2029\\uFEFF\"].join('');\nvar trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');\nvar $replace = callBound('String.prototype.replace');\n\nvar $trim = function $trim(value) {\n return $replace(value, trimRegex, '');\n};\n\nvar ToPrimitive = require('./ToPrimitive'); // https://www.ecma-international.org/ecma-262/6.0/#sec-tonumber\n\n\nmodule.exports = function ToNumber(argument) {\n var value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number);\n\n if (typeof value === 'symbol') {\n throw new $TypeError('Cannot convert a Symbol value to a number');\n }\n\n if (typeof value === 'string') {\n if (isBinary(value)) {\n return ToNumber($parseInteger($strSlice(value, 2), 2));\n } else if (isOctal(value)) {\n return ToNumber($parseInteger($strSlice(value, 2), 8));\n } else if (hasNonWS(value) || isInvalidHexLiteral(value)) {\n return NaN;\n } else {\n var trimmed = $trim(value);\n\n if (trimmed !== value) {\n return ToNumber(trimmed);\n }\n }\n }\n\n return $Number(value);\n};","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $test = GetIntrinsic('RegExp.prototype.test');\n\nvar callBind = require('./callBind');\n\nmodule.exports = function regexTester(regex) {\n return callBind($test, regex);\n};","'use strict';\n\nmodule.exports = function isPrimitive(value) {\n return value === null || typeof value !== 'function' && typeof value !== 'object';\n};","'use strict';\n\nvar toPrimitive = require('es-to-primitive/es2015'); // https://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive\n\n\nmodule.exports = function ToPrimitive(input) {\n if (arguments.length > 1) {\n return toPrimitive(input, arguments[1]);\n }\n\n return toPrimitive(input);\n};","'use strict';\n\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';\n\nvar isPrimitive = require('./helpers/isPrimitive');\n\nvar isCallable = require('is-callable');\n\nvar isDate = require('is-date-object');\n\nvar isSymbol = require('is-symbol');\n\nvar ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) {\n if (typeof O === 'undefined' || O === null) {\n throw new TypeError('Cannot call method on ' + O);\n }\n\n if (typeof hint !== 'string' || hint !== 'number' && hint !== 'string') {\n throw new TypeError('hint must be \"string\" or \"number\"');\n }\n\n var methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString'];\n var method, result, i;\n\n for (i = 0; i < methodNames.length; ++i) {\n method = O[methodNames[i]];\n\n if (isCallable(method)) {\n result = method.call(O);\n\n if (isPrimitive(result)) {\n return result;\n }\n }\n }\n\n throw new TypeError('No default value');\n};\n\nvar GetMethod = function GetMethod(O, P) {\n var func = O[P];\n\n if (func !== null && typeof func !== 'undefined') {\n if (!isCallable(func)) {\n throw new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function');\n }\n\n return func;\n }\n\n return void 0;\n}; // http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive\n\n\nmodule.exports = function ToPrimitive(input) {\n if (isPrimitive(input)) {\n return input;\n }\n\n var hint = 'default';\n\n if (arguments.length > 1) {\n if (arguments[1] === String) {\n hint = 'string';\n } else if (arguments[1] === Number) {\n hint = 'number';\n }\n }\n\n var exoticToPrim;\n\n if (hasSymbols) {\n if (Symbol.toPrimitive) {\n exoticToPrim = GetMethod(input, Symbol.toPrimitive);\n } else if (isSymbol(input)) {\n exoticToPrim = Symbol.prototype.valueOf;\n }\n }\n\n if (typeof exoticToPrim !== 'undefined') {\n var result = exoticToPrim.call(input, hint);\n\n if (isPrimitive(result)) {\n return result;\n }\n\n throw new TypeError('unable to convert exotic object to primitive');\n }\n\n if (hint === 'default' && (isDate(input) || isSymbol(input))) {\n hint = 'string';\n }\n\n return ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint);\n};","'use strict';\n\nmodule.exports = function isPrimitive(value) {\n return value === null || typeof value !== 'function' && typeof value !== 'object';\n};","'use strict';\n\nvar getDay = Date.prototype.getDay;\n\nvar tryDateObject = function tryDateObject(value) {\n try {\n getDay.call(value);\n return true;\n } catch (e) {\n return false;\n }\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isDateObject(value) {\n if (typeof value !== 'object' || value === null) {\n return false;\n }\n\n return hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n var symToStr = Symbol.prototype.toString;\n var symStringRegex = /^Symbol\\(.*\\)$/;\n\n var isSymbolObject = function isRealSymbolObject(value) {\n if (typeof value.valueOf() !== 'symbol') {\n return false;\n }\n\n return symStringRegex.test(symToStr.call(value));\n };\n\n module.exports = function isSymbol(value) {\n if (typeof value === 'symbol') {\n return true;\n }\n\n if (toStr.call(value) !== '[object Symbol]') {\n return false;\n }\n\n try {\n return isSymbolObject(value);\n } catch (e) {\n return false;\n }\n };\n} else {\n module.exports = function isSymbol(value) {\n // this environment does not support Symbols.\n return false && value;\n };\n}","'use strict';\n\nvar MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');\n\nvar ToInteger = require('./ToInteger');\n\nmodule.exports = function ToLength(argument) {\n var len = ToInteger(argument);\n\n if (len <= 0) {\n return 0;\n } // includes converting -0 to +0\n\n\n if (len > MAX_SAFE_INTEGER) {\n return MAX_SAFE_INTEGER;\n }\n\n return len;\n};","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $Math = GetIntrinsic('%Math%');\nvar $Number = GetIntrinsic('%Number%');\nmodule.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $Object = GetIntrinsic('%Object%');\n\nvar RequireObjectCoercible = require('./RequireObjectCoercible'); // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject\n\n\nmodule.exports = function ToObject(value) {\n RequireObjectCoercible(value);\n return $Object(value);\n};","'use strict';\n\nvar $isNaN = require('../helpers/isNaN'); // https://www.ecma-international.org/ecma-262/6.0/#sec-samevaluezero\n\n\nmodule.exports = function SameValueZero(x, y) {\n return x === y || $isNaN(x) && $isNaN(y);\n};","'use strict';\n\nvar strValue = String.prototype.valueOf;\n\nvar tryStringObject = function tryStringObject(value) {\n try {\n strValue.call(value);\n return true;\n } catch (e) {\n return false;\n }\n};\n\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n\nmodule.exports = function isString(value) {\n if (typeof value === 'string') {\n return true;\n }\n\n if (typeof value !== 'object') {\n return false;\n }\n\n return hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};","'use strict';\n\nvar define = require('define-properties');\n\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimArrayPrototypeIncludes() {\n var polyfill = getPolyfill();\n define(Array.prototype, {\n includes: polyfill\n }, {\n includes: function includes() {\n return Array.prototype.includes !== polyfill;\n }\n });\n return polyfill;\n};","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);","'use strict';\n\nmodule.exports = require('../5/CheckObjectCoercible');","'use strict';\n\nvar getPolyfill = require('./polyfill');\n\nvar define = require('define-properties');\n\nmodule.exports = function shimValues() {\n var polyfill = getPolyfill();\n define(Object, {\n values: polyfill\n }, {\n values: function testValues() {\n return Object.values !== polyfill;\n }\n });\n return polyfill;\n};","'use strict';\n\nvar define = require('define-properties');\n\nvar getPolyfill = require('./polyfill');\n/* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */\n\n\nmodule.exports = function shimNumberIsNaN() {\n var polyfill = getPolyfill();\n define(Number, {\n isNaN: polyfill\n }, {\n isNaN: function testIsNaN() {\n return Number.isNaN !== polyfill;\n }\n });\n return polyfill;\n};","'use strict'; // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11\n\nmodule.exports = require('is-callable');","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic');\n\nvar $species = GetIntrinsic('%Symbol.species%', true);\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsConstructor = require('./IsConstructor');\n\nvar Type = require('./Type'); // https://ecma-international.org/ecma-262/6.0/#sec-speciesconstructor\n\n\nmodule.exports = function SpeciesConstructor(O, defaultConstructor) {\n if (Type(O) !== 'Object') {\n throw new $TypeError('Assertion failed: Type(O) is not Object');\n }\n\n var C = O.constructor;\n\n if (typeof C === 'undefined') {\n return defaultConstructor;\n }\n\n if (Type(C) !== 'Object') {\n throw new $TypeError('O.constructor is not an Object');\n }\n\n var S = $species ? C[$species] : void 0;\n\n if (S == null) {\n return defaultConstructor;\n }\n\n if (IsConstructor(S)) {\n return S;\n }\n\n throw new $TypeError('no constructor found');\n};","'use strict';\n/* globals\n\tAtomics,\n\tSharedArrayBuffer,\n*/\n\nvar undefined;\nvar $TypeError = TypeError;\nvar $gOPD = Object.getOwnPropertyDescriptor;\n\nif ($gOPD) {\n try {\n $gOPD({}, '');\n } catch (e) {\n $gOPD = null; // this is IE 8, which has a broken gOPD\n }\n}\n\nvar throwTypeError = function throwTypeError() {\n throw new $TypeError();\n};\n\nvar ThrowTypeError = $gOPD ? function () {\n try {\n // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n arguments.callee; // IE 8 does not throw here\n\n return throwTypeError;\n } catch (calleeThrows) {\n try {\n // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n return $gOPD(arguments, 'callee').get;\n } catch (gOPDthrows) {\n return throwTypeError;\n }\n }\n}() : throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) {\n return x.__proto__;\n}; // eslint-disable-line no-proto\n\n\nvar generator; // = function * () {};\n\nvar generatorFunction = generator ? getProto(generator) : undefined;\nvar asyncFn; // async function() {};\n\nvar asyncFunction = asyncFn ? asyncFn.constructor : undefined;\nvar asyncGen; // async function * () {};\n\nvar asyncGenFunction = asyncGen ? getProto(asyncGen) : undefined;\nvar asyncGenIterator = asyncGen ? asyncGen() : undefined;\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\nvar INTRINSICS = {\n '%Array%': Array,\n '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer.prototype,\n '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n '%ArrayPrototype%': Array.prototype,\n '%ArrayProto_entries%': Array.prototype.entries,\n '%ArrayProto_forEach%': Array.prototype.forEach,\n '%ArrayProto_keys%': Array.prototype.keys,\n '%ArrayProto_values%': Array.prototype.values,\n '%AsyncFromSyncIteratorPrototype%': undefined,\n '%AsyncFunction%': asyncFunction,\n '%AsyncFunctionPrototype%': asyncFunction ? asyncFunction.prototype : undefined,\n '%AsyncGenerator%': asyncGen ? getProto(asyncGenIterator) : undefined,\n '%AsyncGeneratorFunction%': asyncGenFunction,\n '%AsyncGeneratorPrototype%': asyncGenFunction ? asyncGenFunction.prototype : undefined,\n '%AsyncIteratorPrototype%': asyncGenIterator && hasSymbols && Symbol.asyncIterator ? asyncGenIterator[Symbol.asyncIterator]() : undefined,\n '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n '%Boolean%': Boolean,\n '%BooleanPrototype%': Boolean.prototype,\n '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined : DataView.prototype,\n '%Date%': Date,\n '%DatePrototype%': Date.prototype,\n '%decodeURI%': decodeURI,\n '%decodeURIComponent%': decodeURIComponent,\n '%encodeURI%': encodeURI,\n '%encodeURIComponent%': encodeURIComponent,\n '%Error%': Error,\n '%ErrorPrototype%': Error.prototype,\n '%eval%': eval,\n // eslint-disable-line no-eval\n '%EvalError%': EvalError,\n '%EvalErrorPrototype%': EvalError.prototype,\n '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined : Float32Array.prototype,\n '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined : Float64Array.prototype,\n '%Function%': Function,\n '%FunctionPrototype%': Function.prototype,\n '%Generator%': generator ? getProto(generator()) : undefined,\n '%GeneratorFunction%': generatorFunction,\n '%GeneratorPrototype%': generatorFunction ? generatorFunction.prototype : undefined,\n '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined : Int8Array.prototype,\n '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined : Int8Array.prototype,\n '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined : Int32Array.prototype,\n '%isFinite%': isFinite,\n '%isNaN%': isNaN,\n '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n '%JSON%': typeof JSON === 'object' ? JSON : undefined,\n '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined,\n '%Map%': typeof Map === 'undefined' ? undefined : Map,\n '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n '%MapPrototype%': typeof Map === 'undefined' ? undefined : Map.prototype,\n '%Math%': Math,\n '%Number%': Number,\n '%NumberPrototype%': Number.prototype,\n '%Object%': Object,\n '%ObjectPrototype%': Object.prototype,\n '%ObjProto_toString%': Object.prototype.toString,\n '%ObjProto_valueOf%': Object.prototype.valueOf,\n '%parseFloat%': parseFloat,\n '%parseInt%': parseInt,\n '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n '%PromisePrototype%': typeof Promise === 'undefined' ? undefined : Promise.prototype,\n '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined : Promise.prototype.then,\n '%Promise_all%': typeof Promise === 'undefined' ? undefined : Promise.all,\n '%Promise_reject%': typeof Promise === 'undefined' ? undefined : Promise.reject,\n '%Promise_resolve%': typeof Promise === 'undefined' ? undefined : Promise.resolve,\n '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n '%RangeError%': RangeError,\n '%RangeErrorPrototype%': RangeError.prototype,\n '%ReferenceError%': ReferenceError,\n '%ReferenceErrorPrototype%': ReferenceError.prototype,\n '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n '%RegExp%': RegExp,\n '%RegExpPrototype%': RegExp.prototype,\n '%Set%': typeof Set === 'undefined' ? undefined : Set,\n '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n '%SetPrototype%': typeof Set === 'undefined' ? undefined : Set.prototype,\n '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer.prototype,\n '%String%': String,\n '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n '%StringPrototype%': String.prototype,\n '%Symbol%': hasSymbols ? Symbol : undefined,\n '%SymbolPrototype%': hasSymbols ? Symbol.prototype : undefined,\n '%SyntaxError%': SyntaxError,\n '%SyntaxErrorPrototype%': SyntaxError.prototype,\n '%ThrowTypeError%': ThrowTypeError,\n '%TypedArray%': TypedArray,\n '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined,\n '%TypeError%': $TypeError,\n '%TypeErrorPrototype%': $TypeError.prototype,\n '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array.prototype,\n '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray.prototype,\n '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array.prototype,\n '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array.prototype,\n '%URIError%': URIError,\n '%URIErrorPrototype%': URIError.prototype,\n '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined : WeakMap.prototype,\n '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined : WeakSet.prototype\n};\n\nvar bind = require('function-bind');\n\nvar $replace = bind.call(Function.call, String.prototype.replace);\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\n\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g;\n/** Used to match backslashes in property paths. */\n\nvar stringToPath = function stringToPath(string) {\n var result = [];\n $replace(string, rePropName, function (match, number, quote, subString) {\n result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n });\n return result;\n};\n/* end adaptation */\n\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n if (!(name in INTRINSICS)) {\n throw new SyntaxError('intrinsic ' + name + ' does not exist!');\n } // istanbul ignore if // hopefully this is impossible to test :-)\n\n\n if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {\n throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n }\n\n return INTRINSICS[name];\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n if (typeof name !== 'string' || name.length === 0) {\n throw new TypeError('intrinsic name must be a non-empty string');\n }\n\n if (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n throw new TypeError('\"allowMissing\" argument must be a boolean');\n }\n\n var parts = stringToPath(name);\n var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);\n\n for (var i = 1; i < parts.length; i += 1) {\n if (value != null) {\n if ($gOPD && i + 1 >= parts.length) {\n var desc = $gOPD(value, parts[i]);\n\n if (!allowMissing && !(parts[i] in value)) {\n throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n }\n\n value = desc ? desc.get || desc.value : value[parts[i]];\n } else {\n value = value[parts[i]];\n }\n }\n }\n\n return value;\n};","'use strict'; // https://www.ecma-international.org/ecma-262/6.0/#sec-isconstructor\n\nmodule.exports = function IsConstructor(argument) {\n return typeof argument === 'function' && !!argument.prototype; // unfortunately there's no way to truly check this without try/catch `new argument`\n};","'use strict'; // https://www.ecma-international.org/ecma-262/5.1/#sec-8\n\nmodule.exports = function Type(x) {\n if (x === null) {\n return 'Null';\n }\n\n if (typeof x === 'undefined') {\n return 'Undefined';\n }\n\n if (typeof x === 'function' || typeof x === 'object') {\n return 'Object';\n }\n\n if (typeof x === 'number') {\n return 'Number';\n }\n\n if (typeof x === 'boolean') {\n return 'Boolean';\n }\n\n if (typeof x === 'string') {\n return 'String';\n }\n};","'use strict';\n\nvar requirePromise = require('./requirePromise');\n\nvar getPolyfill = require('./polyfill');\n\nvar define = require('define-properties');\n\nmodule.exports = function shimPromiseFinally() {\n requirePromise();\n var polyfill = getPolyfill();\n define(Promise.prototype, {\n 'finally': polyfill\n }, {\n 'finally': function testFinally() {\n return Promise.prototype['finally'] !== polyfill;\n }\n });\n return polyfill;\n};","export const decode = base64 => {\n const rawData = window.atob(base64);\n const outputArray = new Uint8Array(rawData.length);\n\n for (let i = 0; i < rawData.length; ++i) {\n outputArray[i] = rawData.charCodeAt(i);\n }\n\n return outputArray;\n};\n","import 'intl';\nimport 'intl/locale-data/jsonp/en';\nimport 'es6-symbol/implement';\nimport includes from 'array-includes';\nimport assign from 'object-assign';\nimport values from 'object.values';\nimport isNaN from 'is-nan';\nimport { decode as decodeBase64 } from './utils/base64';\nimport promiseFinally from 'promise.prototype.finally';\n\nif (!Array.prototype.includes) {\n includes.shim();\n}\n\nif (!Object.assign) {\n Object.assign = assign;\n}\n\nif (!Object.values) {\n values.shim();\n}\n\nif (!Number.isNaN) {\n Number.isNaN = isNaN;\n}\n\npromiseFinally.shim();\n\nif (!HTMLCanvasElement.prototype.toBlob) {\n const BASE64_MARKER = ';base64,';\n\n Object.defineProperty(HTMLCanvasElement.prototype, 'toBlob', {\n value(callback, type = 'image/png', quality) {\n const dataURL = this.toDataURL(type, quality);\n let data;\n\n if (dataURL.indexOf(BASE64_MARKER) >= 0) {\n const [, base64] = dataURL.split(BASE64_MARKER);\n data = decodeBase64(base64);\n } else {\n [, data] = dataURL.split(',');\n }\n\n callback(new Blob([data], { type }));\n },\n });\n}\n","import 'intl';\nimport 'intl/locale-data/jsonp/en';\nimport 'es6-symbol/implement';\nimport includes from 'array-includes';\nimport assign from 'object-assign';\nimport values from 'object.values';\nimport isNaN from 'is-nan';\nimport { decode as decodeBase64 } from './base64';\nimport promiseFinally from 'promise.prototype.finally';\n\nif (!Array.prototype.includes) {\n includes.shim();\n}\n\nif (!Object.assign) {\n Object.assign = assign;\n}\n\nif (!Object.values) {\n values.shim();\n}\n\nif (!Number.isNaN) {\n Number.isNaN = isNaN;\n}\n\npromiseFinally.shim();\n\nif (!HTMLCanvasElement.prototype.toBlob) {\n const BASE64_MARKER = ';base64,';\n\n Object.defineProperty(HTMLCanvasElement.prototype, 'toBlob', {\n value(callback, type = 'image/png', quality) {\n const dataURL = this.toDataURL(type, quality);\n let data;\n\n if (dataURL.indexOf(BASE64_MARKER) >= 0) {\n const [, base64] = dataURL.split(BASE64_MARKER);\n data = decodeBase64(base64);\n } else {\n [, data] = dataURL.split(',');\n }\n\n callback(new Blob([data], { type }));\n },\n });\n}\n","export const decode = base64 => {\n const rawData = window.atob(base64);\n const outputArray = new Uint8Array(rawData.length);\n\n for (let i = 0; i < rawData.length; ++i) {\n outputArray[i] = rawData.charCodeAt(i);\n }\n\n return outputArray;\n};\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n'use strict';\n/* eslint-disable no-unused-vars */\n\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n if (val === null || val === undefined) {\n throw new TypeError('Object.assign cannot be called with null or undefined');\n }\n\n return Object(val);\n}\n\nfunction shouldUseNative() {\n try {\n if (!Object.assign) {\n return false;\n } // Detect buggy property enumeration order in older V8 versions.\n // https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\n\n var test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\n test1[5] = 'de';\n\n if (Object.getOwnPropertyNames(test1)[0] === '5') {\n return false;\n } // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\n\n var test2 = {};\n\n for (var i = 0; i < 10; i++) {\n test2['_' + String.fromCharCode(i)] = i;\n }\n\n var order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n return test2[n];\n });\n\n if (order2.join('') !== '0123456789') {\n return false;\n } // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\n\n var test3 = {};\n 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n test3[letter] = letter;\n });\n\n if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {\n return false;\n }\n\n return true;\n } catch (err) {\n // We don't expect any of the above to throw, but better to be safe.\n return false;\n }\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n var from;\n var to = toObject(target);\n var symbols;\n\n for (var s = 1; s < arguments.length; s++) {\n from = Object(arguments[s]);\n\n for (var key in from) {\n if (hasOwnProperty.call(from, key)) {\n to[key] = from[key];\n }\n }\n\n if (getOwnPropertySymbols) {\n symbols = getOwnPropertySymbols(from);\n\n for (var i = 0; i < symbols.length; i++) {\n if (propIsEnumerable.call(from, symbols[i])) {\n to[symbols[i]] = from[symbols[i]];\n }\n }\n }\n }\n\n return to;\n};"],"sourceRoot":""} |