{"version":3,"sources":["webpack:///./node_modules/gatsby-link/index.js","webpack:///./node_modules/@formatjs/intl-pluralrules/dist/locale-data/es.js","webpack:///./node_modules/gatsby-react-router-scroll/session-storage.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/dist/locale-data/es.js","webpack:///./node_modules/@babel/runtime/helpers/interopRequireWildcard.js","webpack:///./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///./.cache/normalize-page-path.js","webpack:///./.cache/find-path.js","webpack:///./node_modules/gatsby-react-router-scroll/use-scroll-restoration.js","webpack:///./node_modules/mitt/dist/mitt.es.js","webpack:///./.cache/emitter.js","webpack:///./node_modules/shallow-equal/objects/index.js","webpack:///./node_modules/intl-messageformat-parser/lib/types.js","webpack:///./node_modules/intl-messageformat-parser/lib/parser.js","webpack:///./node_modules/intl-messageformat-parser/lib/normalize.js","webpack:///./node_modules/intl-messageformat-parser/lib/index.js","webpack:///./node_modules/intl-format-cache/lib/index.js","webpack:///./node_modules/intl-messageformat-parser/lib/skeleton.js","webpack:///./node_modules/intl-messageformat/lib/formatters.js","webpack:///./node_modules/intl-messageformat/lib/core.js","webpack:///./node_modules/intl-messageformat/lib/index.js","webpack:///./node_modules/react-intl/lib/utils.js","webpack:///./node_modules/react-intl/lib/components/injectIntl.js","webpack:///./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./node_modules/react-intl/lib/components/createFormattedComponent.js","webpack:///./node_modules/react-intl/lib/components/useIntl.js","webpack:///./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack:///./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack:///./node_modules/@babel/runtime/helpers/esm/inherits.js","webpack:///./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack:///./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack:///./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack:///./node_modules/react-intl/lib/formatters/number.js","webpack:///./node_modules/react-intl/lib/formatters/relativeTime.js","webpack:///./node_modules/react-intl/lib/formatters/dateTime.js","webpack:///./node_modules/react-intl/lib/formatters/plural.js","webpack:///./node_modules/react-intl/lib/formatters/message.js","webpack:///./node_modules/react-intl/lib/formatters/list.js","webpack:///./node_modules/react-intl/lib/formatters/displayName.js","webpack:///./node_modules/react-intl/lib/components/provider.js","webpack:///./node_modules/react-intl/lib/components/relative.js","webpack:///./node_modules/react-intl/lib/components/plural.js","webpack:///./node_modules/react-intl/lib/components/message.js","webpack:///./node_modules/react-intl/lib/components/html-message.js","webpack:///./node_modules/react-intl/lib/index.js","webpack:///./node_modules/gatsby-react-router-scroll/index.js","webpack:///./node_modules/gatsby-plugin-smoothscroll/gatsby-browser.js","webpack:///./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","webpack:///./.cache/react-lifecycles-compat.js","webpack:///./node_modules/gatsby-plugin-intl/gatsby-browser.js","webpack:///./node_modules/@reach/router/es/lib/history.js","webpack:///./node_modules/gatsby-plugin-manifest/get-manifest-pathname.js","webpack:///./node_modules/gatsby-react-router-scroll/scroll-handler.js","webpack:///./gatsby-browser.js","webpack:///./.cache/page-renderer.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/dist/locale-data/ses.js","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack:///./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack:///./node_modules/@formatjs/intl-utils/lib/diff.js","webpack:///./node_modules/@formatjs/intl-utils/lib/aliases.js","webpack:///./node_modules/@formatjs/intl-utils/lib/parentLocales.js","webpack:///./node_modules/@formatjs/intl-utils/lib/polyfill-utils.js","webpack:///./node_modules/@formatjs/intl-utils/lib/get-canonical-locales.js","webpack:///./node_modules/@formatjs/intl-utils/lib/resolve-locale.js","webpack:///./node_modules/@formatjs/intl-utils/lib/units.js","webpack:///./node_modules/@formatjs/intl-utils/lib/number-types.js","webpack:///./node_modules/@reach/router/es/lib/utils.js","webpack:///./.cache/api-runner-browser-plugins.js","webpack:///./node_modules/@mikaelkristiansson/domready/ready.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/polyfill.js","webpack:///./node_modules/@formatjs/intl-pluralrules/dist/polyfill.js","webpack:///./.cache/register-service-worker.js","webpack:///./.cache/_this_is_virtual_fs_path_/$virtual/async-requires.js","webpack:///./node_modules/@formatjs/intl-pluralrules/dist/locale-data/pt.js","webpack:///./node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack:///./node_modules/@formatjs/intl-pluralrules/dist/locale-data/zh.js","webpack:///./node_modules/invariant/browser.js","webpack:///./node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/dist/locale-data/en.js","webpack:///./node_modules/react-is/index.js","webpack:///./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack:///./.cache/route-announcer-props.js","webpack:///./.cache/navigation.js","webpack:///./node_modules/shallow-compare/es/index.js","webpack:///./.cache/ensure-resources.js","webpack:///./.cache/production-app.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/dist/locale-data/pa.js","webpack:///./node_modules/@babel/runtime/helpers/inheritsLoose.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/dist/core.js","webpack:///./.cache/gatsby-browser-entry.js","webpack:///./node_modules/@formatjs/intl-pluralrules/dist/locale-data/en.js","webpack:///./node_modules/@formatjs/intl-pluralrules/dist/locale-data/ses.js","webpack:///./node_modules/gatsby/dist/internal-plugins/bundle-optimisations/polyfills/object-assign.js","webpack:///./node_modules/@formatjs/intl-pluralrules/dist/locale-data/pa.js","webpack:///./node_modules/@reach/router/es/index.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/dist/locale-data sync en|es|zh|ht|pt|pa","webpack:///./node_modules/@formatjs/intl-pluralrules/polyfill.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/dist/locale-data/pt.js","webpack:///./node_modules/@babel/runtime/helpers/typeof.js","webpack:///./.cache/strip-prefix.js","webpack:///./node_modules/gatsby-link/parse-path.js","webpack:///./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack:///./node_modules/smoothscroll-polyfill/dist/smoothscroll.js","webpack:///./node_modules/gatsby-plugin-offline/gatsby-browser.js","webpack:///./.cache/prefetch.js","webpack:///./.cache/loader.js","webpack:///./node_modules/@formatjs/intl-utils/lib/invariant.js","webpack:///./node_modules/gatsby-react-router-scroll/scroll-container.js","webpack:///./node_modules/@formatjs/intl-pluralrules/dist/locale-data sync en|es|zh|ht|pt|pa","webpack:///./node_modules/gatsby-plugin-intl/wrap-page.js","webpack:///./node_modules/@formatjs/intl-pluralrules/dist/core.js","webpack:///./.cache/public-page-renderer.js","webpack:///./node_modules/gatsby-plugin-intl/intl-context.js","webpack:///./node_modules/gatsby-plugin-manifest/gatsby-browser.js","webpack:///./.cache/create-react-context.js","webpack:///./node_modules/@babel/runtime/helpers/extends.js","webpack:///./node_modules/react-is/cjs/react-is.production.min.js","webpack:///./.cache/public-page-renderer-prod.js","webpack:///./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack:///./node_modules/browser-lang/dist/index.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/dist/locale-data/zh.js","webpack:///./node_modules/@formatjs/intl-relativetimeformat/dist/polyfill.js","webpack:///./.cache/api-runner-browser.js"],"names":["_interopRequireDefault","exports","__esModule","withPrefix","withAssetPrefix","path","getGlobalPathPrefix","navigateTo","replace","push","navigate","default","_objectWithoutPropertiesLoose2","_assertThisInitialized2","_inheritsLoose2","_extends2","_propTypes","_react","_router","_utils","_parsePath","parsePath","isAbsolutePath","startsWith","prefix","_ref","_prefix","getGlobalBasePrefix","isLocalLink","base","endsWith","slice","rewriteLinkPath","relativeTo","current","resolve","absolutify","NavLinkPropTypes","activeClassName","string","activeStyle","object","partiallyActive","bool","GatsbyLinkLocationWrapper","props","createElement","Location","_ref2","location","GatsbyLink","_location","_React$Component","_this","call","this","defaultGetProps","_ref3","isPartiallyCurrent","isCurrent","className","filter","Boolean","join","style","IOSupported","window","IntersectionObserver","state","handleRef","bind","_proto","prototype","_prefetch","currentPath","pathname","rewrittenPath","to","newPathName","___loader","enqueue","componentDidUpdate","prevProps","prevState","componentDidMount","componentWillUnmount","io","_this$io","instance","el","unobserve","disconnect","ref","cb","_this2","innerRef","hasOwnProperty","entries","forEach","entry","target","isIntersecting","intersectionRatio","observe","render","_this3","_this$props","_this$props$getProps","getProps","_onClick","onClick","_onMouseEnter","onMouseEnter","rest","prefixedTo","Link","e","hovering","button","defaultPrevented","metaKey","altKey","ctrlKey","shiftKey","preventDefault","shouldReplace","encodeURI","___navigate","href","Component","propTypes","func","isRequired","showDeprecationWarning","functionName","altFunctionName","version","console","warn","_default","forwardRef","options","___push","___replace","Intl","PluralRules","__addLocaleData","n","ord","SessionStorage","read","key","stateKey","getStateKey","value","sessionStorage","getItem","JSON","parse","save","storedValue","stringify","setItem","stateKeyBase","RelativeTimeFormat","_typeof","_getRequireWildcardCache","WeakMap","cache","module","obj","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","desc","set","reactIs","REACT_STATICS","childContextTypes","contextType","contextTypes","defaultProps","displayName","getDefaultProps","getDerivedStateFromError","getDerivedStateFromProps","mixins","type","KNOWN_STATICS","name","length","caller","callee","arguments","arity","MEMO_STATICS","compare","TYPE_STATICS","getStatics","component","isMemo","ForwardRef","Memo","getOwnPropertyNames","getOwnPropertySymbols","getPrototypeOf","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","keys","concat","targetStatics","sourceStatics","i","descriptor","undefined","charAt","pathCache","Map","matchPaths","trimPathname","rawPathname","decodeURIComponent","stripPrefix","__BASE_PATH__","split","URL","setMatchPaths","findMatchPath","trimmedPathname","cleanPath","pickPaths","map","matchPath","originalPath","pick","normalizePagePath","route","grabMatchParams","params","findPath","foundPath","useScrollRestoration","identifier","useLocation","useContext","_scrollHandler","ScrollContext","useRef","useLayoutEffect","position","scrollTo","onScroll","scrollTop","emitter","all","create","on","handler","off","splice","indexOf","emit","evt","mitt","objA","objB","aKeys","bKeys","len","TYPE","isLiteralElement","literal","isArgumentElement","argument","isNumberElement","number","isDateElement","date","isTimeElement","time","isSelectElement","select","isPluralElement","plural","isPoundElement","pound","isNumberSkeleton","isDateTimeSkeleton","_extendStatics","__extends","d","b","setPrototypeOf","__proto__","Array","p","__","constructor","__assign","assign","t","s","apply","SyntaxError","_super","message","expected","found","Error","captureStackTrace","buildMessage","hex","ch","charCodeAt","toString","toUpperCase","literalEscape","classEscape","describeExpectation","expectation","text","escapedParts","parts","part","isArray","inverted","description","expected1","j","descriptions","sort","describeExpected","found1","pegParse","input","peg$result","peg$FAILED","peg$startRuleFunctions","start","peg$parsestart","peg$startRuleFunction","peg$c3","peg$literalExpectation","peg$c5","peg$otherExpectation","peg$c7","peg$c9","peg$c11","peg$c12","peg$c13","peg$classExpectation","peg$c14","peg$c15","peg$c17","peg$c19","peg$c23","peg$c26","messageCtx","pop","peg$c28","peg$c30","peg$c31","insertLocation","peg$c33","peg$c34","peg$c35","peg$c36","peg$c37","peg$c38","peg$c39","peg$c43","peg$c45","peg$c47","peg$c49","peg$c51","peg$c54","peg$c57","peg$c62","peg$c63","peg$c64","peg$c65","peg$c66","peg$c67","peg$c68","peg$c69","peg$c71","peg$c74","peg$c76","peg$c79","x","isInPluralOption","peg$c81","peg$c83","peg$c84","peg$c86","peg$c88","peg$c89","peg$c90","peg$c91","peg$c93","peg$currPos","peg$savedPos","peg$posDetailsCache","line","column","peg$maxFailPos","peg$maxFailExpected","peg$silentFails","startRule","substring","peg$computeLocation","error","location1","peg$buildSimpleError","text1","ignoreCase","peg$computePosDetails","pos","details","startPos","endPos","startPosDetails","endPosDetails","offset","end","peg$fail","peg$buildStructuredError","peg$parsemessage","s0","s1","peg$parsemessageElement","peg$parsemessageText","messageText","peg$parseliteralElement","s3","s5","peg$parse_","peg$parseargNameOrNumber","peg$parseargumentElement","s7","s9","s10","s11","s12","substr","s2","peg$parsenumberSkeletonToken","tokens","peg$parsenumberSkeleton","peg$parsenumberArgStyle","peg$parsenumberFormatElement","peg$parsedateTimeSkeletonLiteral","peg$parsedateTimeSkeletonPattern","pattern","peg$parsedateTimeSkeleton","peg$parsedateOrTimeArgStyle","peg$parsedateOrTimeFormatElement","peg$parsesimpleFormatElement","s13","s14","s15","peg$parsenumber","peg$parsepluralOption","pluralType","reduce","_a","id","optionLocation","peg$c52","peg$parsepluralElement","peg$parseselectOption","peg$c55","peg$parseselectElement","peg$parsepoundElement","peg$parsedoubleApostrophes","peg$parsequotedString","peg$parseunquotedString","peg$parsenumberSkeletonId","s4","peg$parsewhiteSpace","test","peg$parsenumberSkeletonTokenOption","stem","peg$c20","s6","peg$parseargName","peg$parsepluralRuleSelectValue","peg$parsepatternSyntax","negative","num","peg$parseargNumber","peg$parseescapedChar","parseInt","captureLocation","__spreadArrays","il","r","k","a","jl","PLURAL_HASHTAG_REGEX","opts","els","normalizeHashtagInPlural","opt","matchingLiteralElIndex","literalEl","el_1","newValue","newEls","getCacheId","inputs","FormatConstructor","args","_i","cacheId","format","DATE_TIME_REGEX","parseDateTimeSkeleton","skeleton","result","match","era","year","RangeError","month","day","weekday","hour12","hourCycle","hour","minute","second","timeZoneName","FRACTION_PRECISION_REGEX","SIGNIFICANT_PRECISION_REGEX","parseSignificantPrecision","str","_","g1","g2","minimumSignificantDigits","maximumSignificantDigits","parseSign","signDisplay","currencySign","parseNotationOptions","signOpts","convertNumberSkeletonToNumberFormatOptions","tokens_1","token","currency","useGrouping","maximumFractionDigits","unit","notation","compactDisplay","currencyDisplay","unitDisplay","minimumFractionDigits","domParser","FormatError","msg","variableId","formatToParts","locales","formatters","formats","values","currentPluralValue","originalMessage","els_1","getNumberFormat","varName","String","getDateTimeFormat","other","rule","getPluralRules","lastPart","TOKEN_REGEX","counter","restoreRichPlaceholderMessage","objectParts","c","SIMPLE_XML_REGEX","TEMPLATE_ID","Date","now","VOID_ELEMENTS","formattedMessage","DOMParser","content","parseFromString","getElementById","tagsToFormat","getElementsByTagName","caseSensitiveTags","tagName","toLowerCase","childNodes","child","formatHTMLElement","outerHTML","textContent","isVoidElement","formatFnOrValue","chunks","mergeConfigs","defaultConfig","configs","c1","c2","IntlMessageFormat","overrideFormats","defaultLocale","formatterCache","dateTime","pluralRules","formatToString","ast","formatHTMLMessage","resolvedOptions","locale","NumberFormat","supportedLocalesOf","getAst","__parse","TypeError","DateTimeFormat","percent","short","medium","long","full","ESCAPED_CHARS","38","62","60","34","39","UNSAFE_CHARS_REGEX","filterProps","whitelist","defaults","filtered","invariantIntlContext","intl","invariant","createError","exception","eMsg","stack","DEFAULT_INTL_CONFIG","messages","timeZone","textComponent","defaultFormats","onError","createIntlCache","relativeTime","list","displayNames","createFormatters","ListFormat","DisplayNames","getMessageFormat","getRelativeTimeFormat","getListFormat","getDisplayNames","getNamedFormat","formatType","IntlContext","IntlConsumer","Consumer","Provider","Context","injectIntl","WrappedComponent","_ref$intlPropName","intlPropName","_ref$forwardRef","_ref$enforceContext","enforceContext","WithIntl","enumerable","configurable","writable","forwardedRef","DisplayName","DisplayNameParts","__rest","propertyIsEnumerable","children","formatProps","formatNumberToParts","createFormattedDateTimePartsComponent","ComponentParts","formatDateToParts","formatTimeToParts","createFormattedComponent","formattedValue","Text","useIntl","_classCallCheck","Constructor","_defineProperties","_createClass","protoProps","staticProps","_inherits","subClass","superClass","_possibleConstructorReturn","self","ReferenceError","_getPrototypeOf","o","NUMBER_FORMAT_OPTIONS","getFormatter","filteredOptions","formatNumber","config","RELATIVE_TIME_FORMAT_OPTIONS","DATE_TIME_FORMAT_OPTIONS","formatDate","formatTime","PLURAL_FORMAT_OPTIONS","setTimeZoneInOptions","deepMergeOptions","opts1","opts2","deepMergeFormatsAndSetTimeZone","f1","mfFormats","messageDescriptor","defaultMessage","formattedMessageParts","formatter","_formatter","rawValues","escapedValues","escaped","LIST_FORMAT_OPTIONS","generateToken","formatList","richValues","serializedValues","v","val","DISPLAY_NAMES_OPTONS","formatDisplayName","of","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","valueOf","_isNativeReflectConstruct","Super","NewTarget","shallowEquals","processIntlConfig","createIntl","resolvedConfig","formatRelativeTime","formatPlural","formatMessage","_React$PureComponent","IntlProvider","prevConfig","selectUnit","seconds","absValue","Math","abs","getDurationInSeconds","valueToSeconds","INCREMENTABLE_UNITS","canIncrement","includes","FormattedRelativeTime","_updateTimer","prevUnit","prevValue","currentValueInSeconds","updateIntervalInSeconds","clearTimeout","nextValueInSeconds","nextUnit","unitDuration","prevInterestingValueInSeconds","nextInterestingValueInSeconds","delayInSeconds","setTimeout","setState","scheduleNextUpdate","_this3$props","currentValue","currentUnit","round","formattedRelativeTime","_props$intl","formattedPlural","FormattedMessage","nextProps","otherProps","nextValues","nextOtherProps","_ref$formatMessage","_ref$textComponent","_this$props$tagName","nodes","_FormattedMessage","FormattedHTMLMessage","formattedHTMLMessage","html","__html","dangerouslySetInnerHTML","defineMessages","msgs","FormattedDate","FormattedTime","FormattedNumber","FormattedList","FormattedDisplayName","FormattedDateParts","FormattedTimeParts","ScrollContainer","ScrollHandler","_scrollContainer","_useScrollRestoration","smoothscroll","require","onClientEntry","polyfill","source","excluded","sourceKeys","wrapPageElement","_extends","getLocation","_source$location","search","hash","origin","protocol","host","hostname","port","canUseDOM","decodeURI","history","createHistory","listeners","transitioning","resolveTransition","_onTransitionComplete","listen","listener","popstateListener","action","addEventListener","removeEventListener","fn","_ref$replace","go","replaceState","pushState","transition","Promise","res","createMemorySource","initialPath","searchIndex","initialLocation","index","states","uri","_uri$split","_uri$split$","_uri$split2","_uri$split2$","newIndex","document","globalHistory","localizedManifests","localizedManifest","find","app","start_url","lang","_interopRequireWildcard","React","_sessionStorage","createContext","_len","_key","_stateStorage","scrollListener","scrollY","windowScroll","shouldUpdateScroll","scrollToHash","node","scrollIntoView","prevRouterProps","routerProps","scrollPosition","_this$props$location","_this$props$location2","element","injectedScript","onInitialClientRender","jsCode","innerText","appendChild","isIE","body","msTouchAction","isEdge","navigator","userAgent","innerHTML","onRouteUpdate","serviceWorker","register","then","reg","update","onServiceWorkerUpdateReady","reload","PageRenderer","pageResources","json","pageContext","__params","pathContext","pageElement","apiRunner","loader","publicLoader","page","_arrayLikeToArray","arr","arr2","_toConsumableArray","iter","Symbol","iterator","from","minLen","thresholds","resolvedThresholds","DEFAULT_THRESHOLDS","secs","mins","hours","SECS_PER_MIN","days","SECS_PER_HOUR","fromDate","toDate","years","getFullYear","months","getMonth","weeks","SECS_PER_DAY","toObject","arg","getOption","prop","fallback","defaultNumberOption","min","max","Number","isNaN","floor","getNumberOption","property","minimum","maximum","getAliasesByLang","aliases","getParentLocalesByLang","parentLocales","setInternalSlot","pl","field","setMultiInternalSlots","getInternalSlot","getMultiInternalSlots","fields","slots","f","isLiteralPart","patternPart","partitionPattern","beginIndex","endIndex","nextIndex","setNumberFormatDigitOptions","internalSlotMap","intlObj","mnfdDefault","mxfdDefault","mnid","mnfd","mxfd","mnsd","mxsd","objectIs","y","is","NOT_A_Z_REGEX","isWellFormedCurrencyCode","getCanonicalLocales","createResolveLocale","getDefaultLocale","lookupMatcher","availableLocales","requestedLocales","requestedLocales_1","noExtensionLocale","UNICODE_EXTENSION_SEQUENCE_REGEX","availableLocale","bestAvailableLocale","extension","createLookupMatcher","bestFitMatcher","requestedLocales_2","createBestFitMatcher","relevantExtensionKeys","localeData","foundLocale","localeMatcher","dataLocale","supportedExtension","relevantExtensionKeys_1","foundLocaleData","keyLocaleData","supportedExtensionAddition","requestedValue","unicodeExtensionValue","optionsValue","privateIndex","preExtension","postExtension","size","searchValue","done","candidate","lastIndexOf","getLocaleHierarchy","results","parentLocale","localeParts","lookupSupportedLocales","subset","requestedLocales_3","supportedLocales","MissingLocaleDataError","isMissingLocaleDataError","unpackData","reducer","localeHierarchy","dataToMerge","l","data","reverse","InternalSlotToken","SANCTIONED_UNITS","removeUnitNamespace","routes","default_","uriPathname","uriSegments","segmentize","isRootUri","ranked","rankRoutes","missed","routeSegments","routeSegment","uriSegment","isSplat","dynamicMatch","paramRe","exec","reservedNames","_to$split","toPathname","toQuery","basePathname","toSegments","baseSegments","addQuery","allSegments","segments","segment","insertParams","_path$split","pathBase","_path$split$","query","constructedPath","_params$location","_params$location$sear","searchSplit","validateRedirect","isDynamic","rankRoute","score","isRootSegment","SEGMENT_POINTS","q","shallowCompare","obj1","obj2","obj1Keys","every","plugin","ie10","appVersion","fns","doc","hack","documentElement","doScroll","loaded","readyState","shift","definition","core_1","polyfilled","installingWorker","installing","log","controller","___swUpdated","___failedResources","catch","components","condition","argIndex","framesToPop","_setPrototypeOf","RouteAnnouncerProps","top","width","height","padding","overflow","clip","whiteSpace","border","redirectMap","redirectIgnoreCaseMap","maybeRedirect","redirect","toPath","redirects","fromPath","onPreRouteUpdate","prevLocation","timeoutId","loadPage","status","PageResourceStatus","webpackCompilationHash","___webpackCompilationHash","postMessage","gatsbyApi","reachNavigate","getSavedScrollPosition","RouteAnnouncer","announcementRef","createRef","requestAnimationFrame","pageName","title","pageHeadings","querySelectorAll","newAnnouncement","compareLocationProps","nextLocation","RouteUpdates","shouldComponentUpdate","Fragment","shallowDiffers","EnsureResources","loadPageSync","loadResources","rawPath","nextState","ProdLoader","asyncRequires","setLoader","setApiRunner","___emitter","apiRunnerAsync","RouteHandler","baseuri","basepath","DataContext","GatsbyRoot","staticQueryResults","getStaticQueryResults","LocationHandler","pagePath","browserLoc","SiteRoot","App","renderer","ReactDOM","hydrate","domReady","__values","m","next","__read","ar","__spread","intl_utils_1","nu","NUMBERING_SYSTEM_REGEX","partitionRelativeTimePattern","rtf","Infinity","resolvedUnit","singularRelativeTimeUnit","patterns","tl","po","numberFormat","fv","e_1","e_2","_b","patternParts","patternParts_1","patternParts_1_1","parts_1","parts_1_1","e_2_1","return","e_1_1","makePartsList","__INTERNAL_SLOT_MAP__","matcher","numberingSystem","numeric","e_3","_loop_1","datum","data_1","data_1_1","e_3_1","__defaultLocale","toStringTag","prefetchPathname","StaticQueryContext","StaticQueryDataRenderer","staticQueryData","finalData","StaticQuery","useStaticQuery","context","graphql","v0","t0","n10","n100","_objectWithoutProperties","createNamedContext","defaultValue","Ctx","LocationContext","LocationProvider","_temp","getContext","refs","unlisten","_props$history","componentDidCatch","info","isRedirect","_navigate","unmounted","ServerLocation","url","BaseContext","Router","baseContext","locationContext","RouterImpl","_props","_navigate2","primary","_props$component","domProps","Children","toArray","array","createRoute","clone","cloneElement","FocusWrapper","FocusHandler","wrapperProps","PureComponent","FocusContext","requestFocus","FocusHandlerImpl","initialRender","focusHandlerCount","_React$Component2","_temp2","_this4","_len2","_key2","shouldFocus","focus","myURIChanged","navigatedUpToMe","contains","activeElement","_this5","_props2","_props2$component","Comp","outline","tabIndex","C","_ref4","_ref5","_ref6","_props$getProps","anchorProps","encodedHref","event","shouldNavigate","_location$state","restState","RedirectRequest","redirectTo","RedirectImpl","_React$Component3","_props3","_props3$replace","noThrow","resolvedTo","_props4","Redirect","_ref7","Match","_ref8","_ref9","_ref10","resolvedPath","useNavigate","useParams","useMatch","stripSlashes","elementPath","webpackContext","req","webpackContextResolve","__webpack_require__","code","hashIndex","_inheritsLoose","w","__forceSmoothScrollPolyfill__","Element","HTMLElement","original","scroll","scrollBy","elementScroll","scrollElement","performance","ROUNDING_TOLERANCE","RegExp","shouldBailOut","smoothScroll","left","scrollX","pageXOffset","pageYOffset","scrollLeft","behavior","scrollableParent","findScrollableParent","parentRects","getBoundingClientRect","clientRects","getComputedStyle","firstArg","hasScrollableSpace","axis","clientHeight","scrollHeight","clientWidth","scrollWidth","canOverflow","overflowValue","isScrollable","isScrollableY","isScrollableX","parentNode","step","currentX","currentY","elapsed","startTime","cos","PI","startX","startY","method","scrollable","registerServiceWorker","whiteListLinkRels","prefetchedPathnames","setPathResources","getResourceURLsForPathname","resources","onServiceWorkerActive","active","headerResources","getAttribute","src","prefetchedResources","resource","link","rel","onload","remove","onerror","head","onPostPrefetchPathname","supportedPrefetchStrategy","feature","fakeLink","relList","supports","err","support","reject","setAttribute","getElementsByName","XMLHttpRequest","open","send","preFetched","prefetch","Success","preferDefault","createPageDataUrl","doFetch","onreadystatechange","toPageResources","pageData","componentChunkName","staticQueryHashes","BaseLoader","loadComponent","inFlightNetworkRequests","pageDb","inFlightDb","staticQueryDb","pageDataDb","prefetchTriggered","Set","prefetchCompleted","memoizedGet","inFlightPromise","response","delete","prefetchDisabled","some","fetchPageDataJson","loadObj","retries","responseText","jsonPayload","payload","notFound","loadPageDataJson","loadAppData","allData","finalResult","componentChunkPromise","createdAt","staticQueryBatchPromise","staticQueryHash","staticQueryResultsMap","shouldPrefetch","connection","effectiveType","saveData","doesConnectionSupportPrefetch","add","realPath","doPrefetch","pageDataUrl","prefetchHelper","crossOrigin","as","createComponentUrls","isPageNotFound","appData","___chunkMapping","chunk","__PATH_PREFIX__","chunkName","componentUrls","_loader","getResourcesForPathname","getResourcesForPathnameSync","Err","_reactDom","scrollKey","ScrollContainerImplementation","findDOMNode","_browserLang","_gatsby","_reactIntl","_intlContext","withIntlProvider","language","polyfillIntl","defaultLanguage","IntlContextProvider","pluginOptions","languages","routed","___gatsbyIntl","detected","localStorage","queryParams","newUrl","renderElement","GATSBY_INTL_REDIRECT_COMPONENT_PATH","validateInstance","pluralCategories","categories","minPrecision","maxPrecision","toPrecision","cut","toRawPrecision","minInteger","minFraction","maxFraction","toFixed","int","z","toRawFixed","ex","IntlContextConsumer","for","g","h","u","$$typeof","A","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Lazy","Portal","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","ProdPageRenderer","InternalPageRenderer","getBrowserLang","browserLanguage","userLanguage","systemLanguage","normalizeCode","plugins","api","defaultReturn","argTransform","previous"],"mappings":";6FAEA,IAAIA,EAAyB,EAAQ,QAErCC,EAAQC,YAAa,EACrBD,EAAQE,WAAaA,EACrBF,EAAQG,gBA4DR,SAAyBC,GACvB,OAAOF,EAAWE,EAAMC,MA5D1BL,EAAQM,WAAaN,EAAQO,QAAUP,EAAQQ,KAAOR,EAAQS,SAAWT,EAAQU,aAAU,EAE3F,IAAIC,EAAiCZ,EAAuB,EAAQ,SAEhEa,EAA0Bb,EAAuB,EAAQ,SAEzDc,EAAkBd,EAAuB,EAAQ,SAEjDe,EAAYf,EAAuB,EAAQ,SAE3CgB,EAAahB,EAAuB,EAAQ,SAE5CiB,EAASjB,EAAuB,EAAQ,SAExCkB,EAAU,EAAQ,QAElBC,EAAS,EAAQ,QAEjBC,EAAa,EAAQ,QAEzBnB,EAAQoB,UAAYD,EAAWC,UAE/B,IAAIC,EAAiB,SAAwBjB,GAC3C,OAAOA,aAAmC,EAASA,EAAKkB,WAAW,MAGrE,SAASpB,EAAWE,EAAMmB,GACxB,IAAIC,EAAMC,EAMV,QAJe,IAAXF,IACFA,EAASG,MAGNC,EAAYvB,GACf,OAAOA,EAGT,GAAIA,EAAKkB,WAAW,OAASlB,EAAKkB,WAAW,OAC3C,OAAOlB,EAGT,IAAIwB,EAAwG,QAAhGJ,EAA8B,QAAtBC,EAAUF,SAAgC,IAAZE,EAAqBA,EAAUpB,WAA4C,IAATmB,EAAkBA,EAAO,IAC7I,MAAO,KAAOI,aAAmC,EAASA,EAAKC,SAAS,MAAQD,EAAKE,MAAM,GAAI,GAAKF,IAASxB,EAAKkB,WAAW,KAAOlB,EAAO,IAAMA,GAKnJ,IAAIC,EAAsB,WACxB,MAAsH,IAGpHqB,EAAsB,WACxB,MAAkH,IAGhHC,EAAc,SAAqBvB,GACrC,OAAOA,IAASA,EAAKkB,WAAW,aAAelB,EAAKkB,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,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,QAAS,aACT,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,MACP,cAAe,oBACf,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,QACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,QACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,aAAc,QACd,aAAc,QACd,aAAc,QACd,IAAO,KACP,IAAO,KACP,IAAO,UACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,QAAS,MACT,QAAS,MACT,QAAS,MACT,YAAa,MACb,QAAS,KACT,WAAY,KACZ,QAAS,MACT,QAAS,MACT,QAAS,MACT,QAAS,MACT,YAAa,iBACb,aAAc,mBACd,UAAW,gBACX,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,GAAM,KACN,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,GAAM,KACN,IAAO,KACP,IAAO,MACP,GAAM,KACN,IAAO,KACP,GAAM,KACN,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,aAAc,QACd,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,aAAc,QACd,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,aAAc,QACd,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,aAAc,QACd,IAAO,MACP,GAAM,KACN,IAAO,KACP,IAAO,KACP,IAAO,KACP,aAAc,QACd,aAAc,QACd,aAAc,QACd,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,GAAM,KACN,SAAU,KACV,YAAa,KACb,SAAU,KACV,aAAc,KACd,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,QAAS,aACT,QAAS,aACT,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,QACP,IAAO,MACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,YAAa,MACb,YAAa,MACb,YAAa,MACb,GAAM,UACN,SAAU,cACV,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,QAAS,aACT,QAAS,aACT,QAAS,aACT,QAAS,aACT,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,QACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,MACP,GAAM,MACN,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,QACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,GAAM,KACN,IAAO,KACP,cAAe,SACf,aAAc,QACd,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,QAAS,aACT,QAAS,aACT,IAAO,KACP,IAAO,KACP,SAAU,cACV,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,KACP,IAAO,MACP,IAAO,MACP,IAAO,KACP,IAAO,MACP,SAAU,cACV,SAAU,cACV,IAAO,MACP,IAAO,MACP,QAAS,aACT,WAAY,KACZ,WAAY,MACZ,QAAS,aACT,aAAc,MACd,QAAS,aACT,QAAS,aACT,QAAS,aACT,WAAY,MACZ,SAAU,eACV,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,KACP,IAAO,MCpaM,GACb,SAAU,SACV,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS,SACT,QAAS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B,SAI/C,OAHImY,GAAU8jC,IACZrkC,EAAOqkC,EAAa,CAAErkC,OAAMO,SAAQ8lB,YAE/B9lB,MAMT,OAFA2hB,EAAUA,EAAQ9+B,QAAO,SAAAmd,GAAM,YAAI,IAAOA,MAE9B9U,OAAS,EACZy2B,EACEkiB,EACF,CAACA,GAED,IAIX5kD,EAAQ4rC,eAAiB,SAAC+Y,EAAKnkC,EAAMokC,GAAZ,OACvBF,EAAQnnC,QACN,SAACunC,EAAU/X,GAAX,OACEA,EAAKlG,OAAO8d,GACRG,EAASrqB,MAAK,kBAAMsS,EAAKlG,OAAO8d,GAAKnkC,EAAMusB,EAAKnkC,YAChDk8C,IACN9tB,QAAQ90B,c","file":"app-331352b1c9fe4c6c7190.js","sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.withPrefix = withPrefix;\nexports.withAssetPrefix = withAssetPrefix;\nexports.navigateTo = exports.replace = exports.push = exports.navigate = exports.default = void 0;\n\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\n\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\n\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _router = require(\"@reach/router\");\n\nvar _utils = require(\"@reach/router/lib/utils\");\n\nvar _parsePath = require(\"./parse-path\");\n\nexports.parsePath = _parsePath.parsePath;\n\nvar isAbsolutePath = function isAbsolutePath(path) {\n return path === null || path === void 0 ? void 0 : path.startsWith(\"/\");\n};\n\nfunction withPrefix(path, prefix) {\n var _ref, _prefix;\n\n if (prefix === void 0) {\n prefix = getGlobalBasePrefix();\n }\n\n if (!isLocalLink(path)) {\n return path;\n }\n\n if (path.startsWith(\"./\") || path.startsWith(\"../\")) {\n return path;\n }\n\n var base = (_ref = (_prefix = prefix) !== null && _prefix !== void 0 ? _prefix : getGlobalPathPrefix()) !== null && _ref !== void 0 ? _ref : \"/\";\n return \"\" + ((base === null || base === void 0 ? void 0 : base.endsWith(\"/\")) ? base.slice(0, -1) : base) + (path.startsWith(\"/\") ? path : \"/\" + path);\n} // These global values are wrapped in typeof clauses to ensure the values exist.\n// This is especially problematic in unit testing of this component.\n\n\nvar getGlobalPathPrefix = function getGlobalPathPrefix() {\n return process.env.NODE_ENV !== \"production\" ? typeof __PATH_PREFIX__ !== \"undefined\" ? __PATH_PREFIX__ : undefined : __PATH_PREFIX__;\n};\n\nvar getGlobalBasePrefix = function getGlobalBasePrefix() {\n return process.env.NODE_ENV !== \"production\" ? typeof __BASE_PATH__ !== \"undefined\" ? __BASE_PATH__ : undefined : __BASE_PATH__;\n};\n\nvar isLocalLink = function isLocalLink(path) {\n return path && !path.startsWith(\"http://\") && !path.startsWith(\"https://\") && !path.startsWith(\"//\");\n};\n\nfunction withAssetPrefix(path) {\n return withPrefix(path, getGlobalPathPrefix());\n}\n\nfunction absolutify(path, current) {\n // If it's already absolute, return as-is\n if (isAbsolutePath(path)) {\n return path;\n }\n\n return (0, _utils.resolve)(path, current);\n}\n\nvar rewriteLinkPath = function rewriteLinkPath(path, relativeTo) {\n if (typeof path === \"number\") {\n return path;\n }\n\n if (!isLocalLink(path)) {\n return path;\n }\n\n return isAbsolutePath(path) ? withPrefix(path) : absolutify(path, relativeTo);\n};\n\nvar NavLinkPropTypes = {\n activeClassName: _propTypes.default.string,\n activeStyle: _propTypes.default.object,\n partiallyActive: _propTypes.default.bool\n}; // Set up IntersectionObserver\n\nvar createIntersectionObserver = function createIntersectionObserver(el, cb) {\n var io = new window.IntersectionObserver(function (entries) {\n entries.forEach(function (entry) {\n if (el === entry.target) {\n // Check if element is within viewport, remove listener, destroy observer, and run link callback.\n // MSEdge doesn't currently support isIntersecting, so also test for an intersectionRatio > 0\n if (entry.isIntersecting || entry.intersectionRatio > 0) {\n io.unobserve(el);\n io.disconnect();\n cb();\n }\n }\n });\n }); // Add element to the observer\n\n io.observe(el);\n return {\n instance: io,\n el: el\n };\n};\n\nfunction GatsbyLinkLocationWrapper(props) {\n return /*#__PURE__*/_react.default.createElement(_router.Location, null, function (_ref2) {\n var location = _ref2.location;\n return /*#__PURE__*/_react.default.createElement(GatsbyLink, (0, _extends2.default)({}, props, {\n _location: location\n }));\n });\n}\n\nvar GatsbyLink = /*#__PURE__*/function (_React$Component) {\n (0, _inheritsLoose2.default)(GatsbyLink, _React$Component);\n\n function GatsbyLink(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this; // Default to no support for IntersectionObserver\n\n _this.defaultGetProps = function (_ref3) {\n var isPartiallyCurrent = _ref3.isPartiallyCurrent,\n isCurrent = _ref3.isCurrent;\n\n if (_this.props.partiallyActive ? isPartiallyCurrent : isCurrent) {\n return {\n className: [_this.props.className, _this.props.activeClassName].filter(Boolean).join(\" \"),\n style: (0, _extends2.default)({}, _this.props.style, _this.props.activeStyle)\n };\n }\n\n return null;\n };\n\n var IOSupported = false;\n\n if (typeof window !== \"undefined\" && window.IntersectionObserver) {\n IOSupported = true;\n }\n\n _this.state = {\n IOSupported: IOSupported\n };\n _this.handleRef = _this.handleRef.bind((0, _assertThisInitialized2.default)(_this));\n return _this;\n }\n\n var _proto = GatsbyLink.prototype;\n\n _proto._prefetch = function _prefetch() {\n var currentPath = window.location.pathname; // reach router should have the correct state\n\n if (this.props._location && this.props._location.pathname) {\n currentPath = this.props._location.pathname;\n }\n\n var rewrittenPath = rewriteLinkPath(this.props.to, currentPath);\n var newPathName = (0, _parsePath.parsePath)(rewrittenPath).pathname; // Prefech is used to speed up next navigations. When you use it on the current navigation,\n // there could be a race-condition where Chrome uses the stale data instead of waiting for the network to complete\n\n if (currentPath !== newPathName) {\n ___loader.enqueue(newPathName);\n }\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {\n // Preserve non IO functionality if no support\n if (this.props.to !== prevProps.to && !this.state.IOSupported) {\n this._prefetch();\n }\n };\n\n _proto.componentDidMount = function componentDidMount() {\n // Preserve non IO functionality if no support\n if (!this.state.IOSupported) {\n this._prefetch();\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n if (!this.io) {\n return;\n }\n\n var _this$io = this.io,\n instance = _this$io.instance,\n el = _this$io.el;\n instance.unobserve(el);\n instance.disconnect();\n };\n\n _proto.handleRef = function handleRef(ref) {\n var _this2 = this;\n\n if (this.props.innerRef && this.props.innerRef.hasOwnProperty(\"current\")) {\n this.props.innerRef.current = ref;\n } else if (this.props.innerRef) {\n this.props.innerRef(ref);\n }\n\n if (this.state.IOSupported && ref) {\n // If IO supported and element reference found, setup Observer functionality\n this.io = createIntersectionObserver(ref, function () {\n _this2._prefetch();\n });\n }\n };\n\n _proto.render = function render() {\n var _this3 = this;\n\n var _this$props = this.props,\n to = _this$props.to,\n _this$props$getProps = _this$props.getProps,\n getProps = _this$props$getProps === void 0 ? this.defaultGetProps : _this$props$getProps,\n _onClick = _this$props.onClick,\n _onMouseEnter = _this$props.onMouseEnter,\n $activeClassName = _this$props.activeClassName,\n $activeStyle = _this$props.activeStyle,\n $innerRef = _this$props.innerRef,\n partiallyActive = _this$props.partiallyActive,\n state = _this$props.state,\n replace = _this$props.replace,\n _location = _this$props._location,\n rest = (0, _objectWithoutPropertiesLoose2.default)(_this$props, [\"to\", \"getProps\", \"onClick\", \"onMouseEnter\", \"activeClassName\", \"activeStyle\", \"innerRef\", \"partiallyActive\", \"state\", \"replace\", \"_location\"]);\n\n if (process.env.NODE_ENV !== \"production\" && !isLocalLink(to)) {\n console.warn(\"External link \" + to + \" was detected in a Link component. Use the Link component only for internal links. See: https://gatsby.dev/internal-links\");\n }\n\n var prefixedTo = rewriteLinkPath(to, _location.pathname);\n\n if (!isLocalLink(prefixedTo)) {\n return /*#__PURE__*/_react.default.createElement(\"a\", (0, _extends2.default)({\n href: prefixedTo\n }, rest));\n }\n\n return /*#__PURE__*/_react.default.createElement(_router.Link, (0, _extends2.default)({\n to: prefixedTo,\n state: state,\n getProps: getProps,\n innerRef: this.handleRef,\n onMouseEnter: function onMouseEnter(e) {\n if (_onMouseEnter) {\n _onMouseEnter(e);\n }\n\n ___loader.hovering((0, _parsePath.parsePath)(prefixedTo).pathname);\n },\n onClick: function onClick(e) {\n if (_onClick) {\n _onClick(e);\n }\n\n if (e.button === 0 && // ignore right clicks\n !_this3.props.target && // let browser handle \"target=_blank\"\n !e.defaultPrevented && // onClick prevented default\n !e.metaKey && // ignore clicks with modifier keys...\n !e.altKey && !e.ctrlKey && !e.shiftKey) {\n e.preventDefault();\n var shouldReplace = replace;\n\n var isCurrent = encodeURI(prefixedTo) === _location.pathname;\n\n if (typeof replace !== \"boolean\" && isCurrent) {\n shouldReplace = true;\n } // Make sure the necessary scripts and data are\n // loaded before continuing.\n\n\n window.___navigate(prefixedTo, {\n state: state,\n replace: shouldReplace\n });\n }\n\n return true;\n }\n }, rest));\n };\n\n return GatsbyLink;\n}(_react.default.Component);\n\nGatsbyLink.propTypes = (0, _extends2.default)({}, NavLinkPropTypes, {\n onClick: _propTypes.default.func,\n to: _propTypes.default.string.isRequired,\n replace: _propTypes.default.bool,\n state: _propTypes.default.object\n});\n\nvar showDeprecationWarning = function showDeprecationWarning(functionName, altFunctionName, version) {\n return console.warn(\"The \\\"\" + functionName + \"\\\" method is now deprecated and will be removed in Gatsby v\" + version + \". Please use \\\"\" + altFunctionName + \"\\\" instead.\");\n};\n\nvar _default = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {\n return /*#__PURE__*/_react.default.createElement(GatsbyLinkLocationWrapper, (0, _extends2.default)({\n innerRef: ref\n }, props));\n});\n\nexports.default = _default;\n\nvar navigate = function navigate(to, options) {\n window.___navigate(rewriteLinkPath(to, window.location.pathname), options);\n};\n\nexports.navigate = navigate;\n\nvar push = function push(to) {\n showDeprecationWarning(\"push\", \"navigate\", 3);\n\n window.___push(rewriteLinkPath(to, window.location.pathname));\n};\n\nexports.push = push;\n\nvar replace = function replace(to) {\n showDeprecationWarning(\"replace\", \"navigate\", 3);\n\n window.___replace(rewriteLinkPath(to, window.location.pathname));\n}; // TODO: Remove navigateTo for Gatsby v3\n\n\nexports.replace = replace;\n\nvar navigateTo = function navigateTo(to) {\n showDeprecationWarning(\"navigateTo\", \"navigate\", 3);\n return push(to);\n};\n\nexports.navigateTo = navigateTo;","/* @generated */\n// prettier-ignore\nif (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {\n Intl.PluralRules.__addLocaleData({\n \"data\": {\n \"es\": {\n \"categories\": {\n \"cardinal\": [\"one\", \"other\"],\n \"ordinal\": [\"other\"]\n },\n \"fn\": function fn(n, ord) {\n if (ord) return 'other';\n return n == 1 ? 'one' : 'other';\n }\n }\n },\n \"aliases\": {},\n \"parentLocales\": {\n \"es-AR\": \"es-419\",\n \"es-BO\": \"es-419\",\n \"es-BR\": \"es-419\",\n \"es-BZ\": \"es-419\",\n \"es-CL\": \"es-419\",\n \"es-CO\": \"es-419\",\n \"es-CR\": \"es-419\",\n \"es-CU\": \"es-419\",\n \"es-DO\": \"es-419\",\n \"es-EC\": \"es-419\",\n \"es-GT\": \"es-419\",\n \"es-HN\": \"es-419\",\n \"es-MX\": \"es-419\",\n \"es-NI\": \"es-419\",\n \"es-PA\": \"es-419\",\n \"es-PE\": \"es-419\",\n \"es-PR\": \"es-419\",\n \"es-PY\": \"es-419\",\n \"es-SV\": \"es-419\",\n \"es-US\": \"es-419\",\n \"es-UY\": \"es-419\",\n \"es-VE\": \"es-419\"\n },\n \"availableLocales\": [\"es\"]\n });\n}","\"use strict\";\n\nexports.__esModule = true;\nexports.SessionStorage = void 0;\nvar STATE_KEY_PREFIX = \"@@scroll|\";\nvar GATSBY_ROUTER_SCROLL_STATE = \"___GATSBY_REACT_ROUTER_SCROLL\";\n\nvar SessionStorage = /*#__PURE__*/function () {\n function SessionStorage() {}\n\n var _proto = SessionStorage.prototype;\n\n _proto.read = function read(location, key) {\n var stateKey = this.getStateKey(location, key);\n\n try {\n var value = window.sessionStorage.getItem(stateKey);\n return value ? JSON.parse(value) : 0;\n } catch (e) {\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(\"[gatsby-react-router-scroll] Unable to access sessionStorage; sessionStorage is not available.\");\n }\n\n if (window && window[GATSBY_ROUTER_SCROLL_STATE] && window[GATSBY_ROUTER_SCROLL_STATE][stateKey]) {\n return window[GATSBY_ROUTER_SCROLL_STATE][stateKey];\n }\n\n return 0;\n }\n };\n\n _proto.save = function save(location, key, value) {\n var stateKey = this.getStateKey(location, key);\n var storedValue = JSON.stringify(value);\n\n try {\n window.sessionStorage.setItem(stateKey, storedValue);\n } catch (e) {\n if (window && window[GATSBY_ROUTER_SCROLL_STATE]) {\n window[GATSBY_ROUTER_SCROLL_STATE][stateKey] = JSON.parse(storedValue);\n } else {\n window[GATSBY_ROUTER_SCROLL_STATE] = {};\n window[GATSBY_ROUTER_SCROLL_STATE][stateKey] = JSON.parse(storedValue);\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(\"[gatsby-react-router-scroll] Unable to save state in sessionStorage; sessionStorage is not available.\");\n }\n }\n };\n\n _proto.getStateKey = function getStateKey(location, key) {\n var stateKeyBase = \"\" + STATE_KEY_PREFIX + location.pathname;\n return key === null || typeof key === \"undefined\" ? stateKeyBase : stateKeyBase + \"|\" + key;\n };\n\n return SessionStorage;\n}();\n\nexports.SessionStorage = SessionStorage;","/* @generated */\n// prettier-ignore\nif (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {\n Intl.RelativeTimeFormat.__addLocaleData({\n \"data\": {\n \"es-419\": {\n \"week-short\": {\n \"0\": \"esta sem.\",\n \"1\": \"próx. sem.\",\n \"future\": {\n \"one\": \"dentro de {0} sem.\",\n \"other\": \"dentro de {0} sem.\"\n },\n \"past\": {\n \"one\": \"hace {0} sem.\",\n \"other\": \"hace {0} sem.\"\n },\n \"-1\": \"sem. pas.\"\n },\n \"week-narrow\": {\n \"0\": \"esta sem.\",\n \"1\": \"próx. sem.\",\n \"future\": {\n \"one\": \"dentro de {0} sem.\",\n \"other\": \"dentro de {0} sem.\"\n },\n \"past\": {\n \"one\": \"hace {0} sem.\",\n \"other\": \"hace {0} sem.\"\n },\n \"-1\": \"sem. pas.\"\n }\n },\n \"es-AR\": {\n \"day-short\": {\n \"0\": \"hoy\",\n \"1\": \"mañana\",\n \"2\": \"pasado mañana\",\n \"future\": {\n \"one\": \"dentro de {0} días\",\n \"other\": \"dentro de {0} días\"\n },\n \"past\": {\n \"one\": \"hace {0} días\",\n \"other\": \"hace {0} días\"\n },\n \"-2\": \"anteayer\",\n \"-1\": \"ayer\"\n },\n \"day-narrow\": {\n \"0\": \"hoy\",\n \"1\": \"mañana\",\n \"2\": \"pasado mañana\",\n \"future\": {\n \"one\": \"dentro de {0} días\",\n \"other\": \"dentro de {0} días\"\n },\n \"past\": {\n \"one\": \"hace {0} días\",\n \"other\": \"hace {0} días\"\n },\n \"-2\": \"anteayer\",\n \"-1\": \"ayer\"\n },\n \"second-short\": {\n \"0\": \"ahora\",\n \"future\": {\n \"one\": \"dentro de {0} seg.\",\n \"other\": \"dentro de {0} seg.\"\n },\n \"past\": {\n \"one\": \"hace {0} seg.\",\n \"other\": \"hace {0} seg.\"\n }\n },\n \"second-narrow\": {\n \"0\": \"ahora\",\n \"future\": {\n \"one\": \"dentro de {0} seg.\",\n \"other\": \"dentro de {0} seg.\"\n },\n \"past\": {\n \"one\": \"hace {0} seg.\",\n \"other\": \"hace {0} seg.\"\n }\n }\n },\n \"es-MX\": {\n \"year\": {\n \"0\": \"este año\",\n \"1\": \"el año próximo\",\n \"future\": {\n \"one\": \"dentro de {0} año\",\n \"other\": \"dentro de {0} años\"\n },\n \"past\": {\n \"one\": \"hace {0} año\",\n \"other\": \"hace {0} años\"\n },\n \"-1\": \"el año pasado\"\n },\n \"year-short\": {\n \"0\": \"este año\",\n \"1\": \"el próximo año\",\n \"future\": {\n \"one\": \"en {0} a\",\n \"other\": \"en {0} a\"\n },\n \"past\": {\n \"one\": \"hace {0} a\",\n \"other\": \"hace {0} a\"\n },\n \"-1\": \"el año pasado\"\n },\n \"year-narrow\": {\n \"0\": \"este año\",\n \"1\": \"el próximo año\",\n \"future\": {\n \"one\": \"en {0} a\",\n \"other\": \"en {0} a\"\n },\n \"past\": {\n \"one\": \"-{0} a\",\n \"other\": \"-{0} a\"\n },\n \"-1\": \"el año pasado\"\n },\n \"quarter\": {\n \"0\": \"este trimestre\",\n \"1\": \"el próximo trimestre\",\n \"future\": {\n \"one\": \"en {0} trimestre\",\n \"other\": \"dentro de {0} trimetres\"\n },\n \"past\": {\n \"one\": \"hace {0} trimestre\",\n \"other\": \"hace {0} trimestres\"\n },\n \"-1\": \"el trimestre pasado\"\n },\n \"quarter-short\": {\n \"0\": \"este trimestre\",\n \"1\": \"el próximo trimestre\",\n \"future\": {\n \"one\": \"en {0} trim.\",\n \"other\": \"en {0} trim\"\n },\n \"past\": {\n \"one\": \"hace {0} trim.\",\n \"other\": \"hace {0} trim.\"\n },\n \"-1\": \"el trimestre pasado\"\n },\n \"quarter-narrow\": {\n \"0\": \"este trimestre\",\n \"1\": \"el próximo trimestre\",\n \"future\": {\n \"one\": \"en {0} trim.\",\n \"other\": \"en {0} trim.\"\n },\n \"past\": {\n \"one\": \"-{0} T\",\n \"other\": \"-{0} T\"\n },\n \"-1\": \"el trimestre pasado\"\n },\n \"month\": {\n \"0\": \"este mes\",\n \"1\": \"el mes próximo\",\n \"future\": {\n \"one\": \"en {0} mes\",\n \"other\": \"en {0} meses\"\n },\n \"past\": {\n \"one\": \"hace {0} mes\",\n \"other\": \"hace {0} meses\"\n },\n \"-1\": \"el mes pasado\"\n },\n \"month-short\": {\n \"0\": \"este mes\",\n \"1\": \"el próximo mes\",\n \"future\": {\n \"one\": \"en {0} m\",\n \"other\": \"en {0} m\"\n },\n \"past\": {\n \"one\": \"hace {0} m\",\n \"other\": \"hace {0} m\"\n },\n \"-1\": \"el mes pasado\"\n },\n \"month-narrow\": {\n \"0\": \"este mes\",\n \"1\": \"el próximo mes\",\n \"future\": {\n \"one\": \"+{0} m\",\n \"other\": \"+{0} m\"\n },\n \"past\": {\n \"one\": \"-{0} m\",\n \"other\": \"-{0} m\"\n },\n \"-1\": \"el mes pasado\"\n },\n \"week\": {\n \"0\": \"esta semana\",\n \"1\": \"la semana próxima\",\n \"future\": {\n \"one\": \"dentro de {0} semana\",\n \"other\": \"dentro de {0} semanas\"\n },\n \"past\": {\n \"one\": \"hace {0} semana\",\n \"other\": \"hace {0} semanas\"\n },\n \"-1\": \"la semana pasada\"\n },\n \"week-short\": {\n \"0\": \"esta sem.\",\n \"1\": \"próx. sem.\",\n \"future\": {\n \"one\": \"en {0} sem.\",\n \"other\": \"en {0} sem.\"\n },\n \"past\": {\n \"one\": \"hace {0} sem.\",\n \"other\": \"hace {0} sem.\"\n },\n \"-1\": \"sem. pas.\"\n },\n \"day-short\": {\n \"0\": \"hoy\",\n \"1\": \"mañana\",\n \"2\": \"pasado mañana\",\n \"future\": {\n \"one\": \"en {0} día\",\n \"other\": \"en {0} días\"\n },\n \"past\": {\n \"one\": \"hace {0} día\",\n \"other\": \"hace {0} días\"\n },\n \"-2\": \"anteayer\",\n \"-1\": \"ayer\"\n },\n \"day-narrow\": {\n \"0\": \"hoy\",\n \"1\": \"mañana\",\n \"2\": \"pasado mañana\",\n \"future\": {\n \"one\": \"+{0} día\",\n \"other\": \"en {0} días\"\n },\n \"past\": {\n \"one\": \"hace {0} día\",\n \"other\": \"hace {0} días\"\n },\n \"-2\": \"anteayer\",\n \"-1\": \"ayer\"\n },\n \"hour-short\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"en {0} h\",\n \"other\": \"en {0} n\"\n },\n \"past\": {\n \"one\": \"hace {0} h\",\n \"other\": \"hace {0} h\"\n }\n },\n \"minute-short\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"en {0} min\",\n \"other\": \"en {0} min\"\n },\n \"past\": {\n \"one\": \"hace {0} min\",\n \"other\": \"hace {0} min\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"en {0} min\",\n \"other\": \"en {0} min\"\n },\n \"past\": {\n \"one\": \"hace {0} min\",\n \"other\": \"hace {0} min\"\n }\n },\n \"second-short\": {\n \"0\": \"ahora\",\n \"future\": {\n \"one\": \"en {0} s\",\n \"other\": \"en {0} s\"\n },\n \"past\": {\n \"one\": \"hace {0} s\",\n \"other\": \"hace {0} s\"\n }\n },\n \"second-narrow\": {\n \"0\": \"ahora\",\n \"future\": {\n \"one\": \"+{0} s\",\n \"other\": \"+{0} s\"\n },\n \"past\": {\n \"one\": \"hace {0} s\",\n \"other\": \"hace {0} s\"\n }\n }\n },\n \"es-PY\": {\n \"second-short\": {\n \"0\": \"ahora\",\n \"future\": {\n \"one\": \"dentro de {0} seg.\",\n \"other\": \"dentro de {0} seg.\"\n },\n \"past\": {\n \"one\": \"hace {0} seg.\",\n \"other\": \"hace {0} seg.\"\n }\n },\n \"second-narrow\": {\n \"0\": \"ahora\",\n \"future\": {\n \"one\": \"dentro de {0} seg.\",\n \"other\": \"dentro de {0} seg.\"\n },\n \"past\": {\n \"one\": \"hace {0} seg.\",\n \"other\": \"hace {0} seg.\"\n }\n }\n },\n \"es-SV\": {\n \"day\": {\n \"0\": \"hoy\",\n \"1\": \"mañana\",\n \"2\": \"pasado mañana\",\n \"future\": {\n \"one\": \"dentro de {0} día\",\n \"other\": \"dentro de {0} días\"\n },\n \"past\": {\n \"one\": \"hace {0} día\",\n \"other\": \"hace {0} días\"\n },\n \"-2\": \"antier\",\n \"-1\": \"ayer\"\n }\n },\n \"es-US\": {\n \"year\": {\n \"0\": \"este año\",\n \"1\": \"el año próximo\",\n \"future\": {\n \"one\": \"dentro de {0} año\",\n \"other\": \"dentro de {0} años\"\n },\n \"past\": {\n \"one\": \"hace {0} año\",\n \"other\": \"hace {0} años\"\n },\n \"-1\": \"el año pasado\"\n },\n \"quarter\": {\n \"0\": \"este trimestre\",\n \"1\": \"el próximo trimestre\",\n \"future\": {\n \"one\": \"dentro de {0} trimetre\",\n \"other\": \"dentro de {0} trimetres\"\n },\n \"past\": {\n \"one\": \"hace {0} trimestre\",\n \"other\": \"hace {0} trimestres\"\n },\n \"-1\": \"el trimestre pasado\"\n },\n \"month\": {\n \"0\": \"este mes\",\n \"1\": \"el mes próximo\",\n \"future\": {\n \"one\": \"dentro de {0} mes\",\n \"other\": \"dentro de {0} meses\"\n },\n \"past\": {\n \"one\": \"hace {0} mes\",\n \"other\": \"hace {0} meses\"\n },\n \"-1\": \"el mes pasado\"\n },\n \"week\": {\n \"0\": \"esta semana\",\n \"1\": \"la semana próxima\",\n \"future\": {\n \"one\": \"dentro de {0} semana\",\n \"other\": \"dentro de {0} semanas\"\n },\n \"past\": {\n \"one\": \"hace {0} semana\",\n \"other\": \"hace {0} semanas\"\n },\n \"-1\": \"la semana pasada\"\n }\n },\n \"es\": {\n \"nu\": [\"latn\"],\n \"year\": {\n \"0\": \"este año\",\n \"1\": \"el próximo año\",\n \"future\": {\n \"one\": \"dentro de {0} año\",\n \"other\": \"dentro de {0} años\"\n },\n \"past\": {\n \"one\": \"hace {0} año\",\n \"other\": \"hace {0} años\"\n },\n \"-1\": \"el año pasado\"\n },\n \"year-short\": {\n \"0\": \"este año\",\n \"1\": \"el próximo año\",\n \"future\": {\n \"one\": \"dentro de {0} a\",\n \"other\": \"dentro de {0} a\"\n },\n \"past\": {\n \"one\": \"hace {0} a\",\n \"other\": \"hace {0} a\"\n },\n \"-1\": \"el año pasado\"\n },\n \"year-narrow\": {\n \"0\": \"este año\",\n \"1\": \"el próximo año\",\n \"future\": {\n \"one\": \"dentro de {0} a\",\n \"other\": \"dentro de {0} a\"\n },\n \"past\": {\n \"one\": \"hace {0} a\",\n \"other\": \"hace {0} a\"\n },\n \"-1\": \"el año pasado\"\n },\n \"quarter\": {\n \"0\": \"este trimestre\",\n \"1\": \"el próximo trimestre\",\n \"future\": {\n \"one\": \"dentro de {0} trimestre\",\n \"other\": \"dentro de {0} trimestres\"\n },\n \"past\": {\n \"one\": \"hace {0} trimestre\",\n \"other\": \"hace {0} trimestres\"\n },\n \"-1\": \"el trimestre pasado\"\n },\n \"quarter-short\": {\n \"0\": \"este trimestre\",\n \"1\": \"el próximo trimestre\",\n \"future\": {\n \"one\": \"dentro de {0} trim.\",\n \"other\": \"dentro de {0} trim.\"\n },\n \"past\": {\n \"one\": \"hace {0} trim.\",\n \"other\": \"hace {0} trim.\"\n },\n \"-1\": \"el trimestre pasado\"\n },\n \"quarter-narrow\": {\n \"0\": \"este trimestre\",\n \"1\": \"el próximo trimestre\",\n \"future\": {\n \"one\": \"dentro de {0} trim.\",\n \"other\": \"dentro de {0} trim.\"\n },\n \"past\": {\n \"one\": \"hace {0} trim.\",\n \"other\": \"hace {0} trim.\"\n },\n \"-1\": \"el trimestre pasado\"\n },\n \"month\": {\n \"0\": \"este mes\",\n \"1\": \"el próximo mes\",\n \"future\": {\n \"one\": \"dentro de {0} mes\",\n \"other\": \"dentro de {0} meses\"\n },\n \"past\": {\n \"one\": \"hace {0} mes\",\n \"other\": \"hace {0} meses\"\n },\n \"-1\": \"el mes pasado\"\n },\n \"month-short\": {\n \"0\": \"este mes\",\n \"1\": \"el próximo mes\",\n \"future\": {\n \"one\": \"dentro de {0} m\",\n \"other\": \"dentro de {0} m\"\n },\n \"past\": {\n \"one\": \"hace {0} m\",\n \"other\": \"hace {0} m\"\n },\n \"-1\": \"el mes pasado\"\n },\n \"month-narrow\": {\n \"0\": \"este mes\",\n \"1\": \"el próximo mes\",\n \"future\": {\n \"one\": \"dentro de {0} m\",\n \"other\": \"dentro de {0} m\"\n },\n \"past\": {\n \"one\": \"hace {0} m\",\n \"other\": \"hace {0} m\"\n },\n \"-1\": \"el mes pasado\"\n },\n \"week\": {\n \"0\": \"esta semana\",\n \"1\": \"la próxima semana\",\n \"future\": {\n \"one\": \"dentro de {0} semana\",\n \"other\": \"dentro de {0} semanas\"\n },\n \"past\": {\n \"one\": \"hace {0} semana\",\n \"other\": \"hace {0} semanas\"\n },\n \"-1\": \"la semana pasada\"\n },\n \"week-short\": {\n \"0\": \"esta sem.\",\n \"1\": \"próx. sem.\",\n \"future\": {\n \"one\": \"dentro de {0} sem.\",\n \"other\": \"dentro de {0} sem.\"\n },\n \"past\": {\n \"one\": \"hace {0} sem.\",\n \"other\": \"hace {0} sem.\"\n },\n \"-1\": \"sem. ant.\"\n },\n \"week-narrow\": {\n \"0\": \"esta sem.\",\n \"1\": \"próx. sem.\",\n \"future\": {\n \"one\": \"dentro de {0} sem.\",\n \"other\": \"dentro de {0} sem.\"\n },\n \"past\": {\n \"one\": \"hace {0} sem.\",\n \"other\": \"hace {0} sem.\"\n },\n \"-1\": \"sem. ant.\"\n },\n \"day\": {\n \"0\": \"hoy\",\n \"1\": \"mañana\",\n \"2\": \"pasado mañana\",\n \"future\": {\n \"one\": \"dentro de {0} día\",\n \"other\": \"dentro de {0} días\"\n },\n \"past\": {\n \"one\": \"hace {0} día\",\n \"other\": \"hace {0} días\"\n },\n \"-2\": \"anteayer\",\n \"-1\": \"ayer\"\n },\n \"day-short\": {\n \"0\": \"hoy\",\n \"1\": \"mañana\",\n \"2\": \"pasado mañana\",\n \"future\": {\n \"one\": \"dentro de {0} día\",\n \"other\": \"dentro de {0} días\"\n },\n \"past\": {\n \"one\": \"hace {0} día\",\n \"other\": \"hace {0} días\"\n },\n \"-2\": \"anteayer\",\n \"-1\": \"ayer\"\n },\n \"day-narrow\": {\n \"0\": \"hoy\",\n \"1\": \"mañana\",\n \"2\": \"pasado mañana\",\n \"future\": {\n \"one\": \"dentro de {0} día\",\n \"other\": \"dentro de {0} días\"\n },\n \"past\": {\n \"one\": \"hace {0} día\",\n \"other\": \"hace {0} días\"\n },\n \"-2\": \"anteayer\",\n \"-1\": \"ayer\"\n },\n \"hour\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"dentro de {0} hora\",\n \"other\": \"dentro de {0} horas\"\n },\n \"past\": {\n \"one\": \"hace {0} hora\",\n \"other\": \"hace {0} horas\"\n }\n },\n \"hour-short\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"dentro de {0} h\",\n \"other\": \"dentro de {0} h\"\n },\n \"past\": {\n \"one\": \"hace {0} h\",\n \"other\": \"hace {0} h\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"dentro de {0} h\",\n \"other\": \"dentro de {0} h\"\n },\n \"past\": {\n \"one\": \"hace {0} h\",\n \"other\": \"hace {0} h\"\n }\n },\n \"minute\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"dentro de {0} minuto\",\n \"other\": \"dentro de {0} minutos\"\n },\n \"past\": {\n \"one\": \"hace {0} minuto\",\n \"other\": \"hace {0} minutos\"\n }\n },\n \"minute-short\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"dentro de {0} min\",\n \"other\": \"dentro de {0} min\"\n },\n \"past\": {\n \"one\": \"hace {0} min\",\n \"other\": \"hace {0} min\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"dentro de {0} min\",\n \"other\": \"dentro de {0} min\"\n },\n \"past\": {\n \"one\": \"hace {0} min\",\n \"other\": \"hace {0} min\"\n }\n },\n \"second\": {\n \"0\": \"ahora\",\n \"future\": {\n \"one\": \"dentro de {0} segundo\",\n \"other\": \"dentro de {0} segundos\"\n },\n \"past\": {\n \"one\": \"hace {0} segundo\",\n \"other\": \"hace {0} segundos\"\n }\n },\n \"second-short\": {\n \"0\": \"ahora\",\n \"future\": {\n \"one\": \"dentro de {0} s\",\n \"other\": \"dentro de {0} s\"\n },\n \"past\": {\n \"one\": \"hace {0} s\",\n \"other\": \"hace {0} s\"\n }\n },\n \"second-narrow\": {\n \"0\": \"ahora\",\n \"future\": {\n \"one\": \"dentro de {0} s\",\n \"other\": \"dentro de {0} s\"\n },\n \"past\": {\n \"one\": \"hace {0} s\",\n \"other\": \"hace {0} s\"\n }\n }\n }\n },\n \"availableLocales\": [\"es-419\", \"es-AR\", \"es-BO\", \"es-BR\", \"es-BZ\", \"es-CL\", \"es-CO\", \"es-CR\", \"es-CU\", \"es-DO\", \"es-EA\", \"es-EC\", \"es-GQ\", \"es-GT\", \"es-HN\", \"es-IC\", \"es-MX\", \"es-NI\", \"es-PA\", \"es-PE\", \"es-PH\", \"es-PR\", \"es-PY\", \"es-SV\", \"es-US\", \"es-UY\", \"es-VE\", \"es\"],\n \"aliases\": {},\n \"parentLocales\": {\n \"es-AR\": \"es-419\",\n \"es-BO\": \"es-419\",\n \"es-BR\": \"es-419\",\n \"es-BZ\": \"es-419\",\n \"es-CL\": \"es-419\",\n \"es-CO\": \"es-419\",\n \"es-CR\": \"es-419\",\n \"es-CU\": \"es-419\",\n \"es-DO\": \"es-419\",\n \"es-EC\": \"es-419\",\n \"es-GT\": \"es-419\",\n \"es-HN\": \"es-419\",\n \"es-MX\": \"es-419\",\n \"es-NI\": \"es-419\",\n \"es-PA\": \"es-419\",\n \"es-PE\": \"es-419\",\n \"es-PR\": \"es-419\",\n \"es-PY\": \"es-419\",\n \"es-SV\": \"es-419\",\n \"es-US\": \"es-419\",\n \"es-UY\": \"es-419\",\n \"es-VE\": \"es-419\"\n }\n });\n}","var _typeof = require(\"@babel/runtime/helpers/typeof\")[\"default\"];\n\nfunction _getRequireWildcardCache() {\n if (typeof WeakMap !== \"function\") return null;\n var cache = new WeakMap();\n\n _getRequireWildcardCache = function _getRequireWildcardCache() {\n return cache;\n };\n\n return cache;\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n }\n\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n\n var cache = _getRequireWildcardCache();\n\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n\n newObj[\"default\"] = obj;\n\n if (cache) {\n cache.set(obj, newObj);\n }\n\n return newObj;\n}\n\nmodule.exports = _interopRequireWildcard;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","'use strict';\n\nvar reactIs = require('react-is');\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;","export default path => {\n if (path === undefined) {\n return path\n }\n if (path === `/`) {\n return `/`\n }\n if (path.charAt(path.length - 1) === `/`) {\n return path.slice(0, -1)\n }\n return path\n}\n","import { pick } from \"@reach/router/lib/utils\"\nimport stripPrefix from \"./strip-prefix\"\nimport normalizePagePath from \"./normalize-page-path\"\n\nconst pathCache = new Map()\nlet matchPaths = []\n\nconst trimPathname = rawPathname => {\n const pathname = decodeURIComponent(rawPathname)\n // Remove the pathPrefix from the pathname.\n const trimmedPathname = stripPrefix(pathname, __BASE_PATH__)\n // Remove any hashfragment\n .split(`#`)[0]\n // Remove search query\n .split(`?`)[0]\n\n return trimmedPathname\n}\n\nfunction absolutify(path) {\n // If it's already absolute, return as-is\n if (\n path.startsWith(`/`) ||\n path.startsWith(`https://`) ||\n path.startsWith(`http://`)\n ) {\n return path\n }\n // Calculate path relative to current location, adding a trailing slash to\n // match behavior of @reach/router\n return new URL(\n path,\n window.location.href + (window.location.href.endsWith(`/`) ? `` : `/`)\n ).pathname\n}\n\n/**\n * Set list of matchPaths\n *\n * @param {Array<{path: string, matchPath: string}>} value collection of matchPaths\n */\nexport const setMatchPaths = value => {\n matchPaths = value\n}\n\n/**\n * Return a matchpath url\n * if `match-paths.json` contains `{ \"/foo*\": \"/page1\", ...}`, then\n * `/foo?bar=far` => `/page1`\n *\n * @param {string} rawPathname A raw pathname\n * @return {string|null}\n */\nexport const findMatchPath = rawPathname => {\n const trimmedPathname = cleanPath(rawPathname)\n\n const pickPaths = matchPaths.map(({ path, matchPath }) => {\n return {\n path: matchPath,\n originalPath: path,\n }\n })\n\n const path = pick(pickPaths, trimmedPathname)\n\n if (path) {\n return normalizePagePath(path.route.originalPath)\n }\n\n return null\n}\n\n/**\n * Return a matchpath params from reach/router rules\n * if `match-paths.json` contains `{ \":bar/*foo\" }`, and the path is /baz/zaz/zoo\n * then it returns\n * { bar: baz, foo: zaz/zoo }\n *\n * @param {string} rawPathname A raw pathname\n * @return {object}\n */\nexport const grabMatchParams = rawPathname => {\n const trimmedPathname = cleanPath(rawPathname)\n\n const pickPaths = matchPaths.map(({ path, matchPath }) => {\n return {\n path: matchPath,\n originalPath: path,\n }\n })\n\n const path = pick(pickPaths, trimmedPathname)\n\n if (path) {\n return path.params\n }\n\n return {}\n}\n\n// Given a raw URL path, returns the cleaned version of it (trim off\n// `#` and query params), or if it matches an entry in\n// `match-paths.json`, its matched path is returned\n//\n// E.g. `/foo?bar=far` => `/foo`\n//\n// Or if `match-paths.json` contains `{ \"/foo*\": \"/page1\", ...}`, then\n// `/foo?bar=far` => `/page1`\nexport const findPath = rawPathname => {\n const trimmedPathname = trimPathname(absolutify(rawPathname))\n if (pathCache.has(trimmedPathname)) {\n return pathCache.get(trimmedPathname)\n }\n\n let foundPath = findMatchPath(trimmedPathname)\n\n if (!foundPath) {\n foundPath = cleanPath(rawPathname)\n }\n\n pathCache.set(trimmedPathname, foundPath)\n\n return foundPath\n}\n\n/**\n * Clean a url and converts /index.html => /\n * E.g. `/foo?bar=far` => `/foo`\n *\n * @param {string} rawPathname A raw pathname\n * @return {string}\n */\nexport const cleanPath = rawPathname => {\n const trimmedPathname = trimPathname(absolutify(rawPathname))\n\n let foundPath = trimmedPathname\n if (foundPath === `/index.html`) {\n foundPath = `/`\n }\n\n foundPath = normalizePagePath(foundPath)\n\n return foundPath\n}\n","\"use strict\";\n\nexports.__esModule = true;\nexports.useScrollRestoration = useScrollRestoration;\n\nvar _scrollHandler = require(\"./scroll-handler\");\n\nvar _react = require(\"react\");\n\nvar _router = require(\"@reach/router\");\n\nfunction useScrollRestoration(identifier) {\n var location = (0, _router.useLocation)();\n var state = (0, _react.useContext)(_scrollHandler.ScrollContext);\n var ref = (0, _react.useRef)();\n (0, _react.useLayoutEffect)(function () {\n if (ref.current) {\n var position = state.read(location, identifier);\n ref.current.scrollTo(0, position || 0);\n }\n }, []);\n return {\n ref: ref,\n onScroll: function onScroll() {\n if (ref.current) {\n state.save(location, identifier, ref.current.scrollTop);\n }\n }\n };\n}","// \n// An event handler can take an optional event argument\n// and should not return a value\n \n \n\n// An array of all currently registered event handlers for a type\n \n \n// A map of event types and their corresponding event handlers.\n \n \n \n \n\n/** Mitt: Tiny (~200b) functional event emitter / pubsub.\n * @name mitt\n * @returns {Mitt}\n */\nfunction mitt(all ) {\n\tall = all || Object.create(null);\n\n\treturn {\n\t\t/**\n\t\t * Register an event handler for the given type.\n\t\t *\n\t\t * @param {String} type\tType of event to listen for, or `\"*\"` for all events\n\t\t * @param {Function} handler Function to call in response to given event\n\t\t * @memberOf mitt\n\t\t */\n\t\ton: function on(type , handler ) {\n\t\t\t(all[type] || (all[type] = [])).push(handler);\n\t\t},\n\n\t\t/**\n\t\t * Remove an event handler for the given type.\n\t\t *\n\t\t * @param {String} type\tType of event to unregister `handler` from, or `\"*\"`\n\t\t * @param {Function} handler Handler function to remove\n\t\t * @memberOf mitt\n\t\t */\n\t\toff: function off(type , handler ) {\n\t\t\tif (all[type]) {\n\t\t\t\tall[type].splice(all[type].indexOf(handler) >>> 0, 1);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Invoke all handlers for the given type.\n\t\t * If present, `\"*\"` handlers are invoked after type-matched handlers.\n\t\t *\n\t\t * @param {String} type The event type to invoke\n\t\t * @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler\n\t\t * @memberOf mitt\n\t\t */\n\t\temit: function emit(type , evt ) {\n\t\t\t(all[type] || []).slice().map(function (handler) { handler(evt); });\n\t\t\t(all['*'] || []).slice().map(function (handler) { handler(type, evt); });\n\t\t}\n\t};\n}\n\nexport default mitt;\n//# sourceMappingURL=mitt.es.js.map\n","import mitt from \"mitt\"\n\nconst emitter = mitt()\nexport default emitter\n","'use strict';\n\nfunction shallowEqualObjects(objA, objB) {\n if (objA === objB) {\n return true;\n }\n\n if (!objA || !objB) {\n return false;\n }\n\n var aKeys = Object.keys(objA);\n var bKeys = Object.keys(objB);\n var len = aKeys.length;\n\n if (bKeys.length !== len) {\n return false;\n }\n\n for (var i = 0; i < len; i++) {\n var key = aKeys[i];\n\n if (objA[key] !== objB[key] || !Object.prototype.hasOwnProperty.call(objB, key)) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = shallowEqualObjects;","export var TYPE;\n\n(function (TYPE) {\n /**\n * Raw text\n */\n TYPE[TYPE[\"literal\"] = 0] = \"literal\";\n /**\n * Variable w/o any format, e.g `var` in `this is a {var}`\n */\n\n TYPE[TYPE[\"argument\"] = 1] = \"argument\";\n /**\n * Variable w/ number format\n */\n\n TYPE[TYPE[\"number\"] = 2] = \"number\";\n /**\n * Variable w/ date format\n */\n\n TYPE[TYPE[\"date\"] = 3] = \"date\";\n /**\n * Variable w/ time format\n */\n\n TYPE[TYPE[\"time\"] = 4] = \"time\";\n /**\n * Variable w/ select format\n */\n\n TYPE[TYPE[\"select\"] = 5] = \"select\";\n /**\n * Variable w/ plural format\n */\n\n TYPE[TYPE[\"plural\"] = 6] = \"plural\";\n /**\n * Only possible within plural argument.\n * This is the `#` symbol that will be substituted with the count.\n */\n\n TYPE[TYPE[\"pound\"] = 7] = \"pound\";\n})(TYPE || (TYPE = {}));\n/**\n * Type Guards\n */\n\n\nexport function isLiteralElement(el) {\n return el.type === TYPE.literal;\n}\nexport function isArgumentElement(el) {\n return el.type === TYPE.argument;\n}\nexport function isNumberElement(el) {\n return el.type === TYPE.number;\n}\nexport function isDateElement(el) {\n return el.type === TYPE.date;\n}\nexport function isTimeElement(el) {\n return el.type === TYPE.time;\n}\nexport function isSelectElement(el) {\n return el.type === TYPE.select;\n}\nexport function isPluralElement(el) {\n return el.type === TYPE.plural;\n}\nexport function isPoundElement(el) {\n return el.type === TYPE.pound;\n}\nexport function isNumberSkeleton(el) {\n return !!(el && typeof el === 'object' && el.type === 0\n /* number */\n );\n}\nexport function isDateTimeSkeleton(el) {\n return !!(el && typeof el === 'object' && el.type === 1\n /* dateTime */\n );\n}\nexport function createLiteralElement(value) {\n return {\n type: TYPE.literal,\n value: value\n };\n}\nexport function createNumberElement(value, style) {\n return {\n type: TYPE.number,\n value: value,\n style: style\n };\n}","// tslint:disable:only-arrow-functions\n// tslint:disable:object-literal-shorthand\n// tslint:disable:trailing-comma\n// tslint:disable:object-literal-sort-keys\n// tslint:disable:one-variable-per-declaration\n// tslint:disable:max-line-length\n// tslint:disable:no-consecutive-blank-lines\n// tslint:disable:align\nvar __extends = this && this.__extends || function () {\n var _extendStatics = function extendStatics(d, b) {\n _extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n };\n\n return _extendStatics(d, b);\n };\n\n return function (d, b) {\n _extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\n\nvar __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return __assign.apply(this, arguments);\n}; // Generated by PEG.js v. 0.10.0 (ts-pegjs plugin v. 0.2.6 )\n//\n// https://pegjs.org/ https://github.com/metadevpro/ts-pegjs\n\n\nimport { TYPE } from './types';\n\nvar SyntaxError =\n/** @class */\nfunction (_super) {\n __extends(SyntaxError, _super);\n\n function SyntaxError(message, expected, found, location) {\n var _this = _super.call(this) || this;\n\n _this.message = message;\n _this.expected = expected;\n _this.found = found;\n _this.location = location;\n _this.name = \"SyntaxError\";\n\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(_this, SyntaxError);\n }\n\n return _this;\n }\n\n SyntaxError.buildMessage = function (expected, found) {\n function hex(ch) {\n return ch.charCodeAt(0).toString(16).toUpperCase();\n }\n\n function literalEscape(s) {\n return s.replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\").replace(/\\0/g, \"\\\\0\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\r/g, \"\\\\r\").replace(/[\\x00-\\x0F]/g, function (ch) {\n return \"\\\\x0\" + hex(ch);\n }).replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function (ch) {\n return \"\\\\x\" + hex(ch);\n });\n }\n\n function classEscape(s) {\n return s.replace(/\\\\/g, \"\\\\\\\\\").replace(/\\]/g, \"\\\\]\").replace(/\\^/g, \"\\\\^\").replace(/-/g, \"\\\\-\").replace(/\\0/g, \"\\\\0\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\r/g, \"\\\\r\").replace(/[\\x00-\\x0F]/g, function (ch) {\n return \"\\\\x0\" + hex(ch);\n }).replace(/[\\x10-\\x1F\\x7F-\\x9F]/g, function (ch) {\n return \"\\\\x\" + hex(ch);\n });\n }\n\n function describeExpectation(expectation) {\n switch (expectation.type) {\n case \"literal\":\n return \"\\\"\" + literalEscape(expectation.text) + \"\\\"\";\n\n case \"class\":\n var escapedParts = expectation.parts.map(function (part) {\n return Array.isArray(part) ? classEscape(part[0]) + \"-\" + classEscape(part[1]) : classEscape(part);\n });\n return \"[\" + (expectation.inverted ? \"^\" : \"\") + escapedParts + \"]\";\n\n case \"any\":\n return \"any character\";\n\n case \"end\":\n return \"end of input\";\n\n case \"other\":\n return expectation.description;\n }\n }\n\n function describeExpected(expected1) {\n var descriptions = expected1.map(describeExpectation);\n var i;\n var j;\n descriptions.sort();\n\n if (descriptions.length > 0) {\n for (i = 1, j = 1; i < descriptions.length; i++) {\n if (descriptions[i - 1] !== descriptions[i]) {\n descriptions[j] = descriptions[i];\n j++;\n }\n }\n\n descriptions.length = j;\n }\n\n switch (descriptions.length) {\n case 1:\n return descriptions[0];\n\n case 2:\n return descriptions[0] + \" or \" + descriptions[1];\n\n default:\n return descriptions.slice(0, -1).join(\", \") + \", or \" + descriptions[descriptions.length - 1];\n }\n }\n\n function describeFound(found1) {\n return found1 ? \"\\\"\" + literalEscape(found1) + \"\\\"\" : \"end of input\";\n }\n\n return \"Expected \" + describeExpected(expected) + \" but \" + describeFound(found) + \" found.\";\n };\n\n return SyntaxError;\n}(Error);\n\nexport { SyntaxError };\n\nfunction peg$parse(input, options) {\n options = options !== undefined ? options : {};\n var peg$FAILED = {};\n var peg$startRuleFunctions = {\n start: peg$parsestart\n };\n var peg$startRuleFunction = peg$parsestart;\n\n var peg$c0 = function peg$c0(parts) {\n return parts.join('');\n };\n\n var peg$c1 = function peg$c1(messageText) {\n return __assign({\n type: TYPE.literal,\n value: messageText\n }, insertLocation());\n };\n\n var peg$c2 = \"#\";\n var peg$c3 = peg$literalExpectation(\"#\", false);\n\n var peg$c4 = function peg$c4() {\n return __assign({\n type: TYPE.pound\n }, insertLocation());\n };\n\n var peg$c5 = peg$otherExpectation(\"argumentElement\");\n var peg$c6 = \"{\";\n var peg$c7 = peg$literalExpectation(\"{\", false);\n var peg$c8 = \"}\";\n var peg$c9 = peg$literalExpectation(\"}\", false);\n\n var peg$c10 = function peg$c10(value) {\n return __assign({\n type: TYPE.argument,\n value: value\n }, insertLocation());\n };\n\n var peg$c11 = peg$otherExpectation(\"numberSkeletonId\");\n var peg$c12 = /^['\\/{}]/;\n var peg$c13 = peg$classExpectation([\"'\", \"/\", \"{\", \"}\"], false, false);\n var peg$c14 = peg$anyExpectation();\n var peg$c15 = peg$otherExpectation(\"numberSkeletonTokenOption\");\n var peg$c16 = \"/\";\n var peg$c17 = peg$literalExpectation(\"/\", false);\n\n var peg$c18 = function peg$c18(option) {\n return option;\n };\n\n var peg$c19 = peg$otherExpectation(\"numberSkeletonToken\");\n\n var peg$c20 = function peg$c20(stem, options) {\n return {\n stem: stem,\n options: options\n };\n };\n\n var peg$c21 = function peg$c21(tokens) {\n return __assign({\n type: 0\n /* number */\n ,\n tokens: tokens\n }, insertLocation());\n };\n\n var peg$c22 = \"::\";\n var peg$c23 = peg$literalExpectation(\"::\", false);\n\n var peg$c24 = function peg$c24(skeleton) {\n return skeleton;\n };\n\n var peg$c25 = function peg$c25() {\n messageCtx.push('numberArgStyle');\n return true;\n };\n\n var peg$c26 = function peg$c26(style) {\n messageCtx.pop();\n return style.replace(/\\s*$/, '');\n };\n\n var peg$c27 = \",\";\n var peg$c28 = peg$literalExpectation(\",\", false);\n var peg$c29 = \"number\";\n var peg$c30 = peg$literalExpectation(\"number\", false);\n\n var peg$c31 = function peg$c31(value, type, style) {\n return __assign({\n type: type === 'number' ? TYPE.number : type === 'date' ? TYPE.date : TYPE.time,\n style: style && style[2],\n value: value\n }, insertLocation());\n };\n\n var peg$c32 = \"'\";\n var peg$c33 = peg$literalExpectation(\"'\", false);\n var peg$c34 = /^[^']/;\n var peg$c35 = peg$classExpectation([\"'\"], true, false);\n var peg$c36 = /^[^a-zA-Z'{}]/;\n var peg$c37 = peg$classExpectation([[\"a\", \"z\"], [\"A\", \"Z\"], \"'\", \"{\", \"}\"], true, false);\n var peg$c38 = /^[a-zA-Z]/;\n var peg$c39 = peg$classExpectation([[\"a\", \"z\"], [\"A\", \"Z\"]], false, false);\n\n var peg$c40 = function peg$c40(pattern) {\n return __assign({\n type: 1\n /* dateTime */\n ,\n pattern: pattern\n }, insertLocation());\n };\n\n var peg$c41 = function peg$c41() {\n messageCtx.push('dateOrTimeArgStyle');\n return true;\n };\n\n var peg$c42 = \"date\";\n var peg$c43 = peg$literalExpectation(\"date\", false);\n var peg$c44 = \"time\";\n var peg$c45 = peg$literalExpectation(\"time\", false);\n var peg$c46 = \"plural\";\n var peg$c47 = peg$literalExpectation(\"plural\", false);\n var peg$c48 = \"selectordinal\";\n var peg$c49 = peg$literalExpectation(\"selectordinal\", false);\n var peg$c50 = \"offset:\";\n var peg$c51 = peg$literalExpectation(\"offset:\", false);\n\n var peg$c52 = function peg$c52(value, pluralType, offset, options) {\n return __assign({\n type: TYPE.plural,\n pluralType: pluralType === 'plural' ? 'cardinal' : 'ordinal',\n value: value,\n offset: offset ? offset[2] : 0,\n options: options.reduce(function (all, _a) {\n var id = _a.id,\n value = _a.value,\n optionLocation = _a.location;\n\n if (id in all) {\n error(\"Duplicate option \\\"\" + id + \"\\\" in plural element: \\\"\" + text() + \"\\\"\", location());\n }\n\n all[id] = {\n value: value,\n location: optionLocation\n };\n return all;\n }, {})\n }, insertLocation());\n };\n\n var peg$c53 = \"select\";\n var peg$c54 = peg$literalExpectation(\"select\", false);\n\n var peg$c55 = function peg$c55(value, options) {\n return __assign({\n type: TYPE.select,\n value: value,\n options: options.reduce(function (all, _a) {\n var id = _a.id,\n value = _a.value,\n optionLocation = _a.location;\n\n if (id in all) {\n error(\"Duplicate option \\\"\" + id + \"\\\" in select element: \\\"\" + text() + \"\\\"\", location());\n }\n\n all[id] = {\n value: value,\n location: optionLocation\n };\n return all;\n }, {})\n }, insertLocation());\n };\n\n var peg$c56 = \"=\";\n var peg$c57 = peg$literalExpectation(\"=\", false);\n\n var peg$c58 = function peg$c58(id) {\n messageCtx.push('select');\n return true;\n };\n\n var peg$c59 = function peg$c59(id, value) {\n messageCtx.pop();\n return __assign({\n id: id,\n value: value\n }, insertLocation());\n };\n\n var peg$c60 = function peg$c60(id) {\n messageCtx.push('plural');\n return true;\n };\n\n var peg$c61 = function peg$c61(id, value) {\n messageCtx.pop();\n return __assign({\n id: id,\n value: value\n }, insertLocation());\n };\n\n var peg$c62 = peg$otherExpectation(\"whitespace\");\n var peg$c63 = /^[\\t-\\r \\x85\\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]/;\n var peg$c64 = peg$classExpectation([[\"\\t\", \"\\r\"], \" \", \"\\x85\", \"\\xA0\", \"\\u1680\", [\"\\u2000\", \"\\u200A\"], \"\\u2028\", \"\\u2029\", \"\\u202F\", \"\\u205F\", \"\\u3000\"], false, false);\n var peg$c65 = peg$otherExpectation(\"syntax pattern\");\n var peg$c66 = /^[!-\\/:-@[-\\^`{-~\\xA1-\\xA7\\xA9\\xAB\\xAC\\xAE\\xB0\\xB1\\xB6\\xBB\\xBF\\xD7\\xF7\\u2010-\\u2027\\u2030-\\u203E\\u2041-\\u2053\\u2055-\\u205E\\u2190-\\u245F\\u2500-\\u2775\\u2794-\\u2BFF\\u2E00-\\u2E7F\\u3001-\\u3003\\u3008-\\u3020\\u3030\\uFD3E\\uFD3F\\uFE45\\uFE46]/;\n var peg$c67 = peg$classExpectation([[\"!\", \"/\"], [\":\", \"@\"], [\"[\", \"^\"], \"`\", [\"{\", \"~\"], [\"\\xA1\", \"\\xA7\"], \"\\xA9\", \"\\xAB\", \"\\xAC\", \"\\xAE\", \"\\xB0\", \"\\xB1\", \"\\xB6\", \"\\xBB\", \"\\xBF\", \"\\xD7\", \"\\xF7\", [\"\\u2010\", \"\\u2027\"], [\"\\u2030\", \"\\u203E\"], [\"\\u2041\", \"\\u2053\"], [\"\\u2055\", \"\\u205E\"], [\"\\u2190\", \"\\u245F\"], [\"\\u2500\", \"\\u2775\"], [\"\\u2794\", \"\\u2BFF\"], [\"\\u2E00\", \"\\u2E7F\"], [\"\\u3001\", \"\\u3003\"], [\"\\u3008\", \"\\u3020\"], \"\\u3030\", \"\\uFD3E\", \"\\uFD3F\", \"\\uFE45\", \"\\uFE46\"], false, false);\n var peg$c68 = peg$otherExpectation(\"optional whitespace\");\n var peg$c69 = peg$otherExpectation(\"number\");\n var peg$c70 = \"-\";\n var peg$c71 = peg$literalExpectation(\"-\", false);\n\n var peg$c72 = function peg$c72(negative, num) {\n return num ? negative ? -num : num : 0;\n };\n\n var peg$c73 = peg$otherExpectation(\"apostrophe\");\n var peg$c74 = peg$otherExpectation(\"double apostrophes\");\n var peg$c75 = \"''\";\n var peg$c76 = peg$literalExpectation(\"''\", false);\n\n var peg$c77 = function peg$c77() {\n return \"'\";\n };\n\n var peg$c78 = function peg$c78(escapedChar, quotedChars) {\n return escapedChar + quotedChars.replace(\"''\", \"'\");\n };\n\n var peg$c79 = function peg$c79(x) {\n return x !== '{' && !(isInPluralOption() && x === '#') && !(isNestedMessageText() && x === '}');\n };\n\n var peg$c80 = \"\\n\";\n var peg$c81 = peg$literalExpectation(\"\\n\", false);\n\n var peg$c82 = function peg$c82(x) {\n return x === '{' || x === '}' || isInPluralOption() && x === '#';\n };\n\n var peg$c83 = peg$otherExpectation(\"argNameOrNumber\");\n var peg$c84 = peg$otherExpectation(\"argNumber\");\n var peg$c85 = \"0\";\n var peg$c86 = peg$literalExpectation(\"0\", false);\n\n var peg$c87 = function peg$c87() {\n return 0;\n };\n\n var peg$c88 = /^[1-9]/;\n var peg$c89 = peg$classExpectation([[\"1\", \"9\"]], false, false);\n var peg$c90 = /^[0-9]/;\n var peg$c91 = peg$classExpectation([[\"0\", \"9\"]], false, false);\n\n var peg$c92 = function peg$c92(digits) {\n return parseInt(digits.join(''), 10);\n };\n\n var peg$c93 = peg$otherExpectation(\"argName\");\n var peg$currPos = 0;\n var peg$savedPos = 0;\n var peg$posDetailsCache = [{\n line: 1,\n column: 1\n }];\n var peg$maxFailPos = 0;\n var peg$maxFailExpected = [];\n var peg$silentFails = 0;\n var peg$result;\n\n if (options.startRule !== undefined) {\n if (!(options.startRule in peg$startRuleFunctions)) {\n throw new Error(\"Can't start parsing from rule \\\"\" + options.startRule + \"\\\".\");\n }\n\n peg$startRuleFunction = peg$startRuleFunctions[options.startRule];\n }\n\n function text() {\n return input.substring(peg$savedPos, peg$currPos);\n }\n\n function location() {\n return peg$computeLocation(peg$savedPos, peg$currPos);\n }\n\n function expected(description, location1) {\n location1 = location1 !== undefined ? location1 : peg$computeLocation(peg$savedPos, peg$currPos);\n throw peg$buildStructuredError([peg$otherExpectation(description)], input.substring(peg$savedPos, peg$currPos), location1);\n }\n\n function error(message, location1) {\n location1 = location1 !== undefined ? location1 : peg$computeLocation(peg$savedPos, peg$currPos);\n throw peg$buildSimpleError(message, location1);\n }\n\n function peg$literalExpectation(text1, ignoreCase) {\n return {\n type: \"literal\",\n text: text1,\n ignoreCase: ignoreCase\n };\n }\n\n function peg$classExpectation(parts, inverted, ignoreCase) {\n return {\n type: \"class\",\n parts: parts,\n inverted: inverted,\n ignoreCase: ignoreCase\n };\n }\n\n function peg$anyExpectation() {\n return {\n type: \"any\"\n };\n }\n\n function peg$endExpectation() {\n return {\n type: \"end\"\n };\n }\n\n function peg$otherExpectation(description) {\n return {\n type: \"other\",\n description: description\n };\n }\n\n function peg$computePosDetails(pos) {\n var details = peg$posDetailsCache[pos];\n var p;\n\n if (details) {\n return details;\n } else {\n p = pos - 1;\n\n while (!peg$posDetailsCache[p]) {\n p--;\n }\n\n details = peg$posDetailsCache[p];\n details = {\n line: details.line,\n column: details.column\n };\n\n while (p < pos) {\n if (input.charCodeAt(p) === 10) {\n details.line++;\n details.column = 1;\n } else {\n details.column++;\n }\n\n p++;\n }\n\n peg$posDetailsCache[pos] = details;\n return details;\n }\n }\n\n function peg$computeLocation(startPos, endPos) {\n var startPosDetails = peg$computePosDetails(startPos);\n var endPosDetails = peg$computePosDetails(endPos);\n return {\n start: {\n offset: startPos,\n line: startPosDetails.line,\n column: startPosDetails.column\n },\n end: {\n offset: endPos,\n line: endPosDetails.line,\n column: endPosDetails.column\n }\n };\n }\n\n function peg$fail(expected1) {\n if (peg$currPos < peg$maxFailPos) {\n return;\n }\n\n if (peg$currPos > peg$maxFailPos) {\n peg$maxFailPos = peg$currPos;\n peg$maxFailExpected = [];\n }\n\n peg$maxFailExpected.push(expected1);\n }\n\n function peg$buildSimpleError(message, location1) {\n return new SyntaxError(message, [], \"\", location1);\n }\n\n function peg$buildStructuredError(expected1, found, location1) {\n return new SyntaxError(SyntaxError.buildMessage(expected1, found), expected1, found, location1);\n }\n\n function peg$parsestart() {\n var s0;\n s0 = peg$parsemessage();\n return s0;\n }\n\n function peg$parsemessage() {\n var s0, s1;\n s0 = [];\n s1 = peg$parsemessageElement();\n\n while (s1 !== peg$FAILED) {\n s0.push(s1);\n s1 = peg$parsemessageElement();\n }\n\n return s0;\n }\n\n function peg$parsemessageElement() {\n var s0;\n s0 = peg$parseliteralElement();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parseargumentElement();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parsesimpleFormatElement();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parsepluralElement();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parseselectElement();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parsepoundElement();\n }\n }\n }\n }\n }\n\n return s0;\n }\n\n function peg$parsemessageText() {\n var s0, s1, s2;\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsedoubleApostrophes();\n\n if (s2 === peg$FAILED) {\n s2 = peg$parsequotedString();\n\n if (s2 === peg$FAILED) {\n s2 = peg$parseunquotedString();\n }\n }\n\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsedoubleApostrophes();\n\n if (s2 === peg$FAILED) {\n s2 = peg$parsequotedString();\n\n if (s2 === peg$FAILED) {\n s2 = peg$parseunquotedString();\n }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c0(s1);\n }\n\n s0 = s1;\n return s0;\n }\n\n function peg$parseliteralElement() {\n var s0, s1;\n s0 = peg$currPos;\n s1 = peg$parsemessageText();\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c1(s1);\n }\n\n s0 = s1;\n return s0;\n }\n\n function peg$parsepoundElement() {\n var s0, s1;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 35) {\n s1 = peg$c2;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c3);\n }\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c4();\n }\n\n s0 = s1;\n return s0;\n }\n\n function peg$parseargumentElement() {\n var s0, s1, s2, s3, s4, s5;\n peg$silentFails++;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 123) {\n s1 = peg$c6;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c7);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parseargNameOrNumber();\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parse_();\n\n if (s4 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s5 = peg$c8;\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c9);\n }\n }\n\n if (s5 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c10(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c5);\n }\n }\n\n return s0;\n }\n\n function peg$parsenumberSkeletonId() {\n var s0, s1, s2, s3, s4;\n peg$silentFails++;\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$parsewhiteSpace();\n\n if (s4 === peg$FAILED) {\n if (peg$c12.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c13);\n }\n }\n }\n\n peg$silentFails--;\n\n if (s4 === peg$FAILED) {\n s3 = undefined;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n\n if (s3 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c14);\n }\n }\n\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$parsewhiteSpace();\n\n if (s4 === peg$FAILED) {\n if (peg$c12.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c13);\n }\n }\n }\n\n peg$silentFails--;\n\n if (s4 === peg$FAILED) {\n s3 = undefined;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n\n if (s3 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c14);\n }\n }\n\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c11);\n }\n }\n\n return s0;\n }\n\n function peg$parsenumberSkeletonTokenOption() {\n var s0, s1, s2;\n peg$silentFails++;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 47) {\n s1 = peg$c16;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c17);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parsenumberSkeletonId();\n\n if (s2 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c18(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c15);\n }\n }\n\n return s0;\n }\n\n function peg$parsenumberSkeletonToken() {\n var s0, s1, s2, s3, s4;\n peg$silentFails++;\n s0 = peg$currPos;\n s1 = peg$parse_();\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parsenumberSkeletonId();\n\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parsenumberSkeletonTokenOption();\n\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parsenumberSkeletonTokenOption();\n }\n\n if (s3 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c20(s2, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c19);\n }\n }\n\n return s0;\n }\n\n function peg$parsenumberSkeleton() {\n var s0, s1, s2;\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsenumberSkeletonToken();\n\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsenumberSkeletonToken();\n }\n } else {\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c21(s1);\n }\n\n s0 = s1;\n return s0;\n }\n\n function peg$parsenumberArgStyle() {\n var s0, s1, s2;\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 2) === peg$c22) {\n s1 = peg$c22;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c23);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parsenumberSkeleton();\n\n if (s2 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c24(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n peg$savedPos = peg$currPos;\n s1 = peg$c25();\n\n if (s1) {\n s1 = undefined;\n } else {\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parsemessageText();\n\n if (s2 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c26(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n }\n\n return s0;\n }\n\n function peg$parsenumberFormatElement() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 123) {\n s1 = peg$c6;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c7);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parseargNameOrNumber();\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parse_();\n\n if (s4 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s5 = peg$c27;\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c28);\n }\n }\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parse_();\n\n if (s6 !== peg$FAILED) {\n if (input.substr(peg$currPos, 6) === peg$c29) {\n s7 = peg$c29;\n peg$currPos += 6;\n } else {\n s7 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c30);\n }\n }\n\n if (s7 !== peg$FAILED) {\n s8 = peg$parse_();\n\n if (s8 !== peg$FAILED) {\n s9 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 44) {\n s10 = peg$c27;\n peg$currPos++;\n } else {\n s10 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c28);\n }\n }\n\n if (s10 !== peg$FAILED) {\n s11 = peg$parse_();\n\n if (s11 !== peg$FAILED) {\n s12 = peg$parsenumberArgStyle();\n\n if (s12 !== peg$FAILED) {\n s10 = [s10, s11, s12];\n s9 = s10;\n } else {\n peg$currPos = s9;\n s9 = peg$FAILED;\n }\n } else {\n peg$currPos = s9;\n s9 = peg$FAILED;\n }\n } else {\n peg$currPos = s9;\n s9 = peg$FAILED;\n }\n\n if (s9 === peg$FAILED) {\n s9 = null;\n }\n\n if (s9 !== peg$FAILED) {\n s10 = peg$parse_();\n\n if (s10 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s11 = peg$c8;\n peg$currPos++;\n } else {\n s11 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c9);\n }\n }\n\n if (s11 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c31(s3, s7, s9);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parsedateTimeSkeletonLiteral() {\n var s0, s1, s2, s3;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 39) {\n s1 = peg$c32;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c33);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = [];\n s3 = peg$parsedoubleApostrophes();\n\n if (s3 === peg$FAILED) {\n if (peg$c34.test(input.charAt(peg$currPos))) {\n s3 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c35);\n }\n }\n }\n\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsedoubleApostrophes();\n\n if (s3 === peg$FAILED) {\n if (peg$c34.test(input.charAt(peg$currPos))) {\n s3 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c35);\n }\n }\n }\n }\n } else {\n s2 = peg$FAILED;\n }\n\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 39) {\n s3 = peg$c32;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c33);\n }\n }\n\n if (s3 !== peg$FAILED) {\n s1 = [s1, s2, s3];\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n if (s0 === peg$FAILED) {\n s0 = [];\n s1 = peg$parsedoubleApostrophes();\n\n if (s1 === peg$FAILED) {\n if (peg$c36.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c37);\n }\n }\n }\n\n if (s1 !== peg$FAILED) {\n while (s1 !== peg$FAILED) {\n s0.push(s1);\n s1 = peg$parsedoubleApostrophes();\n\n if (s1 === peg$FAILED) {\n if (peg$c36.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c37);\n }\n }\n }\n }\n } else {\n s0 = peg$FAILED;\n }\n }\n\n return s0;\n }\n\n function peg$parsedateTimeSkeletonPattern() {\n var s0, s1;\n s0 = [];\n\n if (peg$c38.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c39);\n }\n }\n\n if (s1 !== peg$FAILED) {\n while (s1 !== peg$FAILED) {\n s0.push(s1);\n\n if (peg$c38.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c39);\n }\n }\n }\n } else {\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parsedateTimeSkeleton() {\n var s0, s1, s2, s3;\n s0 = peg$currPos;\n s1 = peg$currPos;\n s2 = [];\n s3 = peg$parsedateTimeSkeletonLiteral();\n\n if (s3 === peg$FAILED) {\n s3 = peg$parsedateTimeSkeletonPattern();\n }\n\n if (s3 !== peg$FAILED) {\n while (s3 !== peg$FAILED) {\n s2.push(s3);\n s3 = peg$parsedateTimeSkeletonLiteral();\n\n if (s3 === peg$FAILED) {\n s3 = peg$parsedateTimeSkeletonPattern();\n }\n }\n } else {\n s2 = peg$FAILED;\n }\n\n if (s2 !== peg$FAILED) {\n s1 = input.substring(s1, peg$currPos);\n } else {\n s1 = s2;\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c40(s1);\n }\n\n s0 = s1;\n return s0;\n }\n\n function peg$parsedateOrTimeArgStyle() {\n var s0, s1, s2;\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 2) === peg$c22) {\n s1 = peg$c22;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c23);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parsedateTimeSkeleton();\n\n if (s2 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c24(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n peg$savedPos = peg$currPos;\n s1 = peg$c41();\n\n if (s1) {\n s1 = undefined;\n } else {\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parsemessageText();\n\n if (s2 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c26(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n }\n\n return s0;\n }\n\n function peg$parsedateOrTimeFormatElement() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 123) {\n s1 = peg$c6;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c7);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parseargNameOrNumber();\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parse_();\n\n if (s4 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s5 = peg$c27;\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c28);\n }\n }\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parse_();\n\n if (s6 !== peg$FAILED) {\n if (input.substr(peg$currPos, 4) === peg$c42) {\n s7 = peg$c42;\n peg$currPos += 4;\n } else {\n s7 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c43);\n }\n }\n\n if (s7 === peg$FAILED) {\n if (input.substr(peg$currPos, 4) === peg$c44) {\n s7 = peg$c44;\n peg$currPos += 4;\n } else {\n s7 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c45);\n }\n }\n }\n\n if (s7 !== peg$FAILED) {\n s8 = peg$parse_();\n\n if (s8 !== peg$FAILED) {\n s9 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 44) {\n s10 = peg$c27;\n peg$currPos++;\n } else {\n s10 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c28);\n }\n }\n\n if (s10 !== peg$FAILED) {\n s11 = peg$parse_();\n\n if (s11 !== peg$FAILED) {\n s12 = peg$parsedateOrTimeArgStyle();\n\n if (s12 !== peg$FAILED) {\n s10 = [s10, s11, s12];\n s9 = s10;\n } else {\n peg$currPos = s9;\n s9 = peg$FAILED;\n }\n } else {\n peg$currPos = s9;\n s9 = peg$FAILED;\n }\n } else {\n peg$currPos = s9;\n s9 = peg$FAILED;\n }\n\n if (s9 === peg$FAILED) {\n s9 = null;\n }\n\n if (s9 !== peg$FAILED) {\n s10 = peg$parse_();\n\n if (s10 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s11 = peg$c8;\n peg$currPos++;\n } else {\n s11 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c9);\n }\n }\n\n if (s11 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c31(s3, s7, s9);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parsesimpleFormatElement() {\n var s0;\n s0 = peg$parsenumberFormatElement();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parsedateOrTimeFormatElement();\n }\n\n return s0;\n }\n\n function peg$parsepluralElement() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 123) {\n s1 = peg$c6;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c7);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parseargNameOrNumber();\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parse_();\n\n if (s4 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s5 = peg$c27;\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c28);\n }\n }\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parse_();\n\n if (s6 !== peg$FAILED) {\n if (input.substr(peg$currPos, 6) === peg$c46) {\n s7 = peg$c46;\n peg$currPos += 6;\n } else {\n s7 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c47);\n }\n }\n\n if (s7 === peg$FAILED) {\n if (input.substr(peg$currPos, 13) === peg$c48) {\n s7 = peg$c48;\n peg$currPos += 13;\n } else {\n s7 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c49);\n }\n }\n }\n\n if (s7 !== peg$FAILED) {\n s8 = peg$parse_();\n\n if (s8 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s9 = peg$c27;\n peg$currPos++;\n } else {\n s9 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c28);\n }\n }\n\n if (s9 !== peg$FAILED) {\n s10 = peg$parse_();\n\n if (s10 !== peg$FAILED) {\n s11 = peg$currPos;\n\n if (input.substr(peg$currPos, 7) === peg$c50) {\n s12 = peg$c50;\n peg$currPos += 7;\n } else {\n s12 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c51);\n }\n }\n\n if (s12 !== peg$FAILED) {\n s13 = peg$parse_();\n\n if (s13 !== peg$FAILED) {\n s14 = peg$parsenumber();\n\n if (s14 !== peg$FAILED) {\n s12 = [s12, s13, s14];\n s11 = s12;\n } else {\n peg$currPos = s11;\n s11 = peg$FAILED;\n }\n } else {\n peg$currPos = s11;\n s11 = peg$FAILED;\n }\n } else {\n peg$currPos = s11;\n s11 = peg$FAILED;\n }\n\n if (s11 === peg$FAILED) {\n s11 = null;\n }\n\n if (s11 !== peg$FAILED) {\n s12 = peg$parse_();\n\n if (s12 !== peg$FAILED) {\n s13 = [];\n s14 = peg$parsepluralOption();\n\n if (s14 !== peg$FAILED) {\n while (s14 !== peg$FAILED) {\n s13.push(s14);\n s14 = peg$parsepluralOption();\n }\n } else {\n s13 = peg$FAILED;\n }\n\n if (s13 !== peg$FAILED) {\n s14 = peg$parse_();\n\n if (s14 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s15 = peg$c8;\n peg$currPos++;\n } else {\n s15 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c9);\n }\n }\n\n if (s15 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c52(s3, s7, s11, s13);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseselectElement() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 123) {\n s1 = peg$c6;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c7);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parseargNameOrNumber();\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parse_();\n\n if (s4 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s5 = peg$c27;\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c28);\n }\n }\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parse_();\n\n if (s6 !== peg$FAILED) {\n if (input.substr(peg$currPos, 6) === peg$c53) {\n s7 = peg$c53;\n peg$currPos += 6;\n } else {\n s7 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c54);\n }\n }\n\n if (s7 !== peg$FAILED) {\n s8 = peg$parse_();\n\n if (s8 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s9 = peg$c27;\n peg$currPos++;\n } else {\n s9 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c28);\n }\n }\n\n if (s9 !== peg$FAILED) {\n s10 = peg$parse_();\n\n if (s10 !== peg$FAILED) {\n s11 = [];\n s12 = peg$parseselectOption();\n\n if (s12 !== peg$FAILED) {\n while (s12 !== peg$FAILED) {\n s11.push(s12);\n s12 = peg$parseselectOption();\n }\n } else {\n s11 = peg$FAILED;\n }\n\n if (s11 !== peg$FAILED) {\n s12 = peg$parse_();\n\n if (s12 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s13 = peg$c8;\n peg$currPos++;\n } else {\n s13 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c9);\n }\n }\n\n if (s13 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c55(s3, s11);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parsepluralRuleSelectValue() {\n var s0, s1, s2, s3;\n s0 = peg$currPos;\n s1 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 61) {\n s2 = peg$c56;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c57);\n }\n }\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parsenumber();\n\n if (s3 !== peg$FAILED) {\n s2 = [s2, s3];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n\n if (s0 === peg$FAILED) {\n s0 = peg$parseargName();\n }\n\n return s0;\n }\n\n function peg$parseselectOption() {\n var s0, s1, s2, s3, s4, s5, s6, s7;\n s0 = peg$currPos;\n s1 = peg$parse_();\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parseargName();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parse_();\n\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 123) {\n s4 = peg$c6;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c7);\n }\n }\n\n if (s4 !== peg$FAILED) {\n peg$savedPos = peg$currPos;\n s5 = peg$c58(s2);\n\n if (s5) {\n s5 = undefined;\n } else {\n s5 = peg$FAILED;\n }\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parsemessage();\n\n if (s6 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s7 = peg$c8;\n peg$currPos++;\n } else {\n s7 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c9);\n }\n }\n\n if (s7 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c59(s2, s6);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parsepluralOption() {\n var s0, s1, s2, s3, s4, s5, s6, s7;\n s0 = peg$currPos;\n s1 = peg$parse_();\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parsepluralRuleSelectValue();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parse_();\n\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 123) {\n s4 = peg$c6;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c7);\n }\n }\n\n if (s4 !== peg$FAILED) {\n peg$savedPos = peg$currPos;\n s5 = peg$c60(s2);\n\n if (s5) {\n s5 = undefined;\n } else {\n s5 = peg$FAILED;\n }\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parsemessage();\n\n if (s6 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s7 = peg$c8;\n peg$currPos++;\n } else {\n s7 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c9);\n }\n }\n\n if (s7 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c61(s2, s6);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parsewhiteSpace() {\n var s0, s1;\n peg$silentFails++;\n\n if (peg$c63.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c64);\n }\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c62);\n }\n }\n\n return s0;\n }\n\n function peg$parsepatternSyntax() {\n var s0, s1;\n peg$silentFails++;\n\n if (peg$c66.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c67);\n }\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c65);\n }\n }\n\n return s0;\n }\n\n function peg$parse_() {\n var s0, s1, s2;\n peg$silentFails++;\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsewhiteSpace();\n\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsewhiteSpace();\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c68);\n }\n }\n\n return s0;\n }\n\n function peg$parsenumber() {\n var s0, s1, s2;\n peg$silentFails++;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 45) {\n s1 = peg$c70;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c71);\n }\n }\n\n if (s1 === peg$FAILED) {\n s1 = null;\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parseargNumber();\n\n if (s2 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c72(s1, s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c69);\n }\n }\n\n return s0;\n }\n\n function peg$parseapostrophe() {\n var s0, s1;\n peg$silentFails++;\n\n if (input.charCodeAt(peg$currPos) === 39) {\n s0 = peg$c32;\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c33);\n }\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c73);\n }\n }\n\n return s0;\n }\n\n function peg$parsedoubleApostrophes() {\n var s0, s1;\n peg$silentFails++;\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 2) === peg$c75) {\n s1 = peg$c75;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c76);\n }\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c77();\n }\n\n s0 = s1;\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c74);\n }\n }\n\n return s0;\n }\n\n function peg$parsequotedString() {\n var s0, s1, s2, s3, s4, s5;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 39) {\n s1 = peg$c32;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c33);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parseescapedChar();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$currPos;\n s4 = [];\n\n if (input.substr(peg$currPos, 2) === peg$c75) {\n s5 = peg$c75;\n peg$currPos += 2;\n } else {\n s5 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c76);\n }\n }\n\n if (s5 === peg$FAILED) {\n if (peg$c34.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c35);\n }\n }\n }\n\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n\n if (input.substr(peg$currPos, 2) === peg$c75) {\n s5 = peg$c75;\n peg$currPos += 2;\n } else {\n s5 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c76);\n }\n }\n\n if (s5 === peg$FAILED) {\n if (peg$c34.test(input.charAt(peg$currPos))) {\n s5 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s5 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c35);\n }\n }\n }\n }\n\n if (s4 !== peg$FAILED) {\n s3 = input.substring(s3, peg$currPos);\n } else {\n s3 = s4;\n }\n\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 39) {\n s4 = peg$c32;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c33);\n }\n }\n\n if (s4 === peg$FAILED) {\n s4 = null;\n }\n\n if (s4 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c78(s2, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseunquotedString() {\n var s0, s1, s2, s3;\n s0 = peg$currPos;\n s1 = peg$currPos;\n\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c14);\n }\n }\n\n if (s2 !== peg$FAILED) {\n peg$savedPos = peg$currPos;\n s3 = peg$c79(s2);\n\n if (s3) {\n s3 = undefined;\n } else {\n s3 = peg$FAILED;\n }\n\n if (s3 !== peg$FAILED) {\n s2 = [s2, s3];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n\n if (s1 === peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 10) {\n s1 = peg$c80;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c81);\n }\n }\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n\n return s0;\n }\n\n function peg$parseescapedChar() {\n var s0, s1, s2, s3;\n s0 = peg$currPos;\n s1 = peg$currPos;\n\n if (input.length > peg$currPos) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c14);\n }\n }\n\n if (s2 !== peg$FAILED) {\n peg$savedPos = peg$currPos;\n s3 = peg$c82(s2);\n\n if (s3) {\n s3 = undefined;\n } else {\n s3 = peg$FAILED;\n }\n\n if (s3 !== peg$FAILED) {\n s2 = [s2, s3];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n\n return s0;\n }\n\n function peg$parseargNameOrNumber() {\n var s0, s1;\n peg$silentFails++;\n s0 = peg$currPos;\n s1 = peg$parseargNumber();\n\n if (s1 === peg$FAILED) {\n s1 = peg$parseargName();\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c83);\n }\n }\n\n return s0;\n }\n\n function peg$parseargNumber() {\n var s0, s1, s2, s3, s4;\n peg$silentFails++;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 48) {\n s1 = peg$c85;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c86);\n }\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c87();\n }\n\n s0 = s1;\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$currPos;\n\n if (peg$c88.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c89);\n }\n }\n\n if (s2 !== peg$FAILED) {\n s3 = [];\n\n if (peg$c90.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c91);\n }\n }\n\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n\n if (peg$c90.test(input.charAt(peg$currPos))) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c91);\n }\n }\n }\n\n if (s3 !== peg$FAILED) {\n s2 = [s2, s3];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c92(s1);\n }\n\n s0 = s1;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c84);\n }\n }\n\n return s0;\n }\n\n function peg$parseargName() {\n var s0, s1, s2, s3, s4;\n peg$silentFails++;\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$parsewhiteSpace();\n\n if (s4 === peg$FAILED) {\n s4 = peg$parsepatternSyntax();\n }\n\n peg$silentFails--;\n\n if (s4 === peg$FAILED) {\n s3 = undefined;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n\n if (s3 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c14);\n }\n }\n\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = peg$currPos;\n peg$silentFails++;\n s4 = peg$parsewhiteSpace();\n\n if (s4 === peg$FAILED) {\n s4 = peg$parsepatternSyntax();\n }\n\n peg$silentFails--;\n\n if (s4 === peg$FAILED) {\n s3 = undefined;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n\n if (s3 !== peg$FAILED) {\n if (input.length > peg$currPos) {\n s4 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c14);\n }\n }\n\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c93);\n }\n }\n\n return s0;\n }\n\n var messageCtx = ['root'];\n\n function isNestedMessageText() {\n return messageCtx.length > 1;\n }\n\n function isInPluralOption() {\n return messageCtx[messageCtx.length - 1] === 'plural';\n }\n\n function insertLocation() {\n return options && options.captureLocation ? {\n location: location()\n } : {};\n }\n\n peg$result = peg$startRuleFunction();\n\n if (peg$result !== peg$FAILED && peg$currPos === input.length) {\n return peg$result;\n } else {\n if (peg$result !== peg$FAILED && peg$currPos < input.length) {\n peg$fail(peg$endExpectation());\n }\n\n throw peg$buildStructuredError(peg$maxFailExpected, peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null, peg$maxFailPos < input.length ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) : peg$computeLocation(peg$maxFailPos, peg$maxFailPos));\n }\n}\n\nexport var pegParse = peg$parse;","var __spreadArrays = this && this.__spreadArrays || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n};\n\nimport { isPluralElement, isLiteralElement, isSelectElement } from './types';\nimport { pegParse } from './parser';\nvar PLURAL_HASHTAG_REGEX = /(^|[^\\\\])#/g;\n/**\n * Whether to convert `#` in plural rule options\n * to `{var, number}`\n * @param el AST Element\n * @param pluralStack current plural stack\n */\n\nexport function normalizeHashtagInPlural(els) {\n els.forEach(function (el) {\n // If we're encountering a plural el\n if (!isPluralElement(el) && !isSelectElement(el)) {\n return;\n } // Go down the options and search for # in any literal element\n\n\n Object.keys(el.options).forEach(function (id) {\n var _a;\n\n var opt = el.options[id]; // If we got a match, we have to split this\n // and inject a NumberElement in the middle\n\n var matchingLiteralElIndex = -1;\n var literalEl = undefined;\n\n for (var i = 0; i < opt.value.length; i++) {\n var el_1 = opt.value[i];\n\n if (isLiteralElement(el_1) && PLURAL_HASHTAG_REGEX.test(el_1.value)) {\n matchingLiteralElIndex = i;\n literalEl = el_1;\n break;\n }\n }\n\n if (literalEl) {\n var newValue = literalEl.value.replace(PLURAL_HASHTAG_REGEX, \"$1{\" + el.value + \", number}\");\n var newEls = pegParse(newValue);\n\n (_a = opt.value).splice.apply(_a, __spreadArrays([matchingLiteralElIndex, 1], newEls));\n }\n\n normalizeHashtagInPlural(opt.value);\n });\n });\n}","import { pegParse } from './parser';\nimport { normalizeHashtagInPlural } from './normalize';\nexport * from './types';\nexport * from './parser';\nexport * from './skeleton';\nexport function parse(input, opts) {\n var els = pegParse(input, opts);\n\n if (!opts || opts.normalizeHashtagInPlural !== false) {\n normalizeHashtagInPlural(els);\n }\n\n return els;\n}","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\nvar __spreadArrays = this && this.__spreadArrays || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n}; // -- Utilities ----------------------------------------------------------------\n\n\nfunction getCacheId(inputs) {\n return JSON.stringify(inputs.map(function (input) {\n return input && typeof input === 'object' ? orderedProps(input) : input;\n }));\n}\n\nfunction orderedProps(obj) {\n return Object.keys(obj).sort().map(function (k) {\n var _a;\n\n return _a = {}, _a[k] = obj[k], _a;\n });\n}\n\nvar memoizeFormatConstructor = function memoizeFormatConstructor(FormatConstructor, cache) {\n if (cache === void 0) {\n cache = {};\n }\n\n return function () {\n var _a;\n\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n var cacheId = getCacheId(args);\n var format = cacheId && cache[cacheId];\n\n if (!format) {\n format = new ((_a = FormatConstructor).bind.apply(_a, __spreadArrays([void 0], args)))();\n\n if (cacheId) {\n cache[cacheId] = format;\n }\n }\n\n return format;\n };\n};\n\nexport default memoizeFormatConstructor;","var __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return __assign.apply(this, arguments);\n};\n/**\n * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js\n * with some tweaks\n */\n\n\nvar DATE_TIME_REGEX = /(?:[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;\n/**\n * Parse Date time skeleton into Intl.DateTimeFormatOptions\n * Ref: https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * @public\n * @param skeleton skeleton string\n */\n\nexport function parseDateTimeSkeleton(skeleton) {\n var result = {};\n skeleton.replace(DATE_TIME_REGEX, function (match) {\n var len = match.length;\n\n switch (match[0]) {\n // Era\n case 'G':\n result.era = len === 4 ? 'long' : len === 5 ? 'narrow' : 'short';\n break;\n // Year\n\n case 'y':\n result.year = len === 2 ? '2-digit' : 'numeric';\n break;\n\n case 'Y':\n case 'u':\n case 'U':\n case 'r':\n throw new RangeError('`Y/u/U/r` (year) patterns are not supported, use `y` instead');\n // Quarter\n\n case 'q':\n case 'Q':\n throw new RangeError('`q/Q` (quarter) patterns are not supported');\n // Month\n\n case 'M':\n case 'L':\n result.month = ['numeric', '2-digit', 'short', 'long', 'narrow'][len - 1];\n break;\n // Week\n\n case 'w':\n case 'W':\n throw new RangeError('`w/W` (week) patterns are not supported');\n\n case 'd':\n result.day = ['numeric', '2-digit'][len - 1];\n break;\n\n case 'D':\n case 'F':\n case 'g':\n throw new RangeError('`D/F/g` (day) patterns are not supported, use `d` instead');\n // Weekday\n\n case 'E':\n result.weekday = len === 4 ? 'short' : len === 5 ? 'narrow' : 'short';\n break;\n\n case 'e':\n if (len < 4) {\n throw new RangeError('`e..eee` (weekday) patterns are not supported');\n }\n\n result.weekday = ['short', 'long', 'narrow', 'short'][len - 4];\n break;\n\n case 'c':\n if (len < 4) {\n throw new RangeError('`c..ccc` (weekday) patterns are not supported');\n }\n\n result.weekday = ['short', 'long', 'narrow', 'short'][len - 4];\n break;\n // Period\n\n case 'a':\n // AM, PM\n result.hour12 = true;\n break;\n\n case 'b': // am, pm, noon, midnight\n\n case 'B':\n // flexible day periods\n throw new RangeError('`b/B` (period) patterns are not supported, use `a` instead');\n // Hour\n\n case 'h':\n result.hourCycle = 'h12';\n result.hour = ['numeric', '2-digit'][len - 1];\n break;\n\n case 'H':\n result.hourCycle = 'h23';\n result.hour = ['numeric', '2-digit'][len - 1];\n break;\n\n case 'K':\n result.hourCycle = 'h11';\n result.hour = ['numeric', '2-digit'][len - 1];\n break;\n\n case 'k':\n result.hourCycle = 'h24';\n result.hour = ['numeric', '2-digit'][len - 1];\n break;\n\n case 'j':\n case 'J':\n case 'C':\n throw new RangeError('`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead');\n // Minute\n\n case 'm':\n result.minute = ['numeric', '2-digit'][len - 1];\n break;\n // Second\n\n case 's':\n result.second = ['numeric', '2-digit'][len - 1];\n break;\n\n case 'S':\n case 'A':\n throw new RangeError('`S/A` (second) pattenrs are not supported, use `s` instead');\n // Zone\n\n case 'z':\n // 1..3, 4: specific non-location format\n result.timeZoneName = len < 4 ? 'short' : 'long';\n break;\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 throw new RangeError('`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead');\n }\n\n return '';\n });\n return result;\n}\n\nfunction icuUnitToEcma(unit) {\n return unit.replace(/^(.*?)-/, '');\n}\n\nvar FRACTION_PRECISION_REGEX = /^\\.(?:(0+)(\\+|#+)?)?$/g;\nvar SIGNIFICANT_PRECISION_REGEX = /^(@+)?(\\+|#+)?$/g;\n\nfunction parseSignificantPrecision(str) {\n var result = {};\n str.replace(SIGNIFICANT_PRECISION_REGEX, function (_, g1, g2) {\n // @@@ case\n if (typeof g2 !== 'string') {\n result.minimumSignificantDigits = g1.length;\n result.maximumSignificantDigits = g1.length;\n } // @@@+ case\n else if (g2 === '+') {\n result.minimumSignificantDigits = g1.length;\n } // .### case\n else if (g1[0] === '#') {\n result.maximumSignificantDigits = g1.length;\n } // .@@## or .@@@ case\n else {\n result.minimumSignificantDigits = g1.length;\n result.maximumSignificantDigits = g1.length + (typeof g2 === 'string' ? g2.length : 0);\n }\n\n return '';\n });\n return result;\n}\n\nfunction parseSign(str) {\n switch (str) {\n case 'sign-auto':\n return {\n signDisplay: 'auto'\n };\n\n case 'sign-accounting':\n return {\n currencySign: 'accounting'\n };\n\n case 'sign-always':\n return {\n signDisplay: 'always'\n };\n\n case 'sign-accounting-always':\n return {\n signDisplay: 'always',\n currencySign: 'accounting'\n };\n\n case 'sign-except-zero':\n return {\n signDisplay: 'exceptZero'\n };\n\n case 'sign-accounting-except-zero':\n return {\n signDisplay: 'exceptZero',\n currencySign: 'accounting'\n };\n\n case 'sign-never':\n return {\n signDisplay: 'never'\n };\n }\n}\n\nfunction parseNotationOptions(opt) {\n var result = {};\n var signOpts = parseSign(opt);\n\n if (signOpts) {\n return signOpts;\n }\n\n return result;\n}\n/**\n * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options\n */\n\n\nexport function convertNumberSkeletonToNumberFormatOptions(tokens) {\n var result = {};\n\n for (var _i = 0, tokens_1 = tokens; _i < tokens_1.length; _i++) {\n var token = tokens_1[_i];\n\n switch (token.stem) {\n case 'percent':\n result.style = 'percent';\n continue;\n\n case 'currency':\n result.style = 'currency';\n result.currency = token.options[0];\n continue;\n\n case 'group-off':\n result.useGrouping = false;\n continue;\n\n case 'precision-integer':\n result.maximumFractionDigits = 0;\n continue;\n\n case 'measure-unit':\n result.style = 'unit';\n result.unit = icuUnitToEcma(token.options[0]);\n continue;\n\n case 'compact-short':\n result.notation = 'compact';\n result.compactDisplay = 'short';\n continue;\n\n case 'compact-long':\n result.notation = 'compact';\n result.compactDisplay = 'long';\n continue;\n\n case 'scientific':\n result = __assign(__assign(__assign({}, result), {\n notation: 'scientific'\n }), token.options.reduce(function (all, opt) {\n return __assign(__assign({}, all), parseNotationOptions(opt));\n }, {}));\n continue;\n\n case 'engineering':\n result = __assign(__assign(__assign({}, result), {\n notation: 'engineering'\n }), token.options.reduce(function (all, opt) {\n return __assign(__assign({}, all), parseNotationOptions(opt));\n }, {}));\n continue;\n\n case 'notation-simple':\n result.notation = 'standard';\n continue;\n // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h\n\n case 'unit-width-narrow':\n result.currencyDisplay = 'narrowSymbol';\n result.unitDisplay = 'narrow';\n continue;\n\n case 'unit-width-short':\n result.currencyDisplay = 'code';\n result.unitDisplay = 'short';\n continue;\n\n case 'unit-width-full-name':\n result.currencyDisplay = 'name';\n result.unitDisplay = 'long';\n continue;\n\n case 'unit-width-iso-code':\n result.currencyDisplay = 'symbol';\n continue;\n } // Precision\n // https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#fraction-precision\n\n\n if (FRACTION_PRECISION_REGEX.test(token.stem)) {\n if (token.options.length > 1) {\n throw new RangeError('Fraction-precision stems only accept a single optional option');\n }\n\n token.stem.replace(FRACTION_PRECISION_REGEX, function (match, g1, g2) {\n // precision-integer case\n if (match === '.') {\n result.maximumFractionDigits = 0;\n } // .000+ case\n else if (g2 === '+') {\n result.minimumFractionDigits = g2.length;\n } // .### case\n else if (g1[0] === '#') {\n result.maximumFractionDigits = g1.length;\n } // .00## or .000 case\n else {\n result.minimumFractionDigits = g1.length;\n result.maximumFractionDigits = g1.length + (typeof g2 === 'string' ? g2.length : 0);\n }\n\n return '';\n });\n\n if (token.options.length) {\n result = __assign(__assign({}, result), parseSignificantPrecision(token.options[0]));\n }\n\n continue;\n }\n\n if (SIGNIFICANT_PRECISION_REGEX.test(token.stem)) {\n result = __assign(__assign({}, result), parseSignificantPrecision(token.stem));\n continue;\n }\n\n var signOpts = parseSign(token.stem);\n\n if (signOpts) {\n result = __assign(__assign({}, result), signOpts);\n }\n }\n\n return result;\n}","var __extends = this && this.__extends || function () {\n var _extendStatics = function extendStatics(d, b) {\n _extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n };\n\n return _extendStatics(d, b);\n };\n\n return function (d, b) {\n _extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\n\nvar __spreadArrays = this && this.__spreadArrays || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n};\n\nimport { convertNumberSkeletonToNumberFormatOptions, isArgumentElement, isDateElement, isDateTimeSkeleton, isLiteralElement, isNumberElement, isNumberSkeleton, isPluralElement, isPoundElement, isSelectElement, isTimeElement, parseDateTimeSkeleton } from 'intl-messageformat-parser';\n\nvar FormatError =\n/** @class */\nfunction (_super) {\n __extends(FormatError, _super);\n\n function FormatError(msg, variableId) {\n var _this = _super.call(this, msg) || this;\n\n _this.variableId = variableId;\n return _this;\n }\n\n return FormatError;\n}(Error);\n\nfunction mergeLiteral(parts) {\n if (parts.length < 2) {\n return parts;\n }\n\n return parts.reduce(function (all, part) {\n var lastPart = all[all.length - 1];\n\n if (!lastPart || lastPart.type !== 0\n /* literal */\n || part.type !== 0\n /* literal */\n ) {\n all.push(part);\n } else {\n lastPart.value += part.value;\n }\n\n return all;\n }, []);\n} // TODO(skeleton): add skeleton support\n\n\nexport function formatToParts(els, locales, formatters, formats, values, currentPluralValue, // For debugging\noriginalMessage) {\n // Hot path for straight simple msg translations\n if (els.length === 1 && isLiteralElement(els[0])) {\n return [{\n type: 0\n /* literal */\n ,\n value: els[0].value\n }];\n }\n\n var result = [];\n\n for (var _i = 0, els_1 = els; _i < els_1.length; _i++) {\n var el = els_1[_i]; // Exit early for string parts.\n\n if (isLiteralElement(el)) {\n result.push({\n type: 0\n /* literal */\n ,\n value: el.value\n });\n continue;\n } // TODO: should this part be literal type?\n // Replace `#` in plural rules with the actual numeric value.\n\n\n if (isPoundElement(el)) {\n if (typeof currentPluralValue === 'number') {\n result.push({\n type: 0\n /* literal */\n ,\n value: formatters.getNumberFormat(locales).format(currentPluralValue)\n });\n }\n\n continue;\n }\n\n var varName = el.value; // Enforce that all required values are provided by the caller.\n\n if (!(values && varName in values)) {\n throw new FormatError(\"The intl string context variable \\\"\" + varName + \"\\\" was not provided to the string \\\"\" + originalMessage + \"\\\"\");\n }\n\n var value = values[varName];\n\n if (isArgumentElement(el)) {\n if (!value || typeof value === 'string' || typeof value === 'number') {\n value = typeof value === 'string' || typeof value === 'number' ? String(value) : '';\n }\n\n result.push({\n type: 1\n /* argument */\n ,\n value: value\n });\n continue;\n } // Recursively format plural and select parts' option — which can be a\n // nested pattern structure. The choosing of the option to use is\n // abstracted-by and delegated-to the part helper object.\n\n\n if (isDateElement(el)) {\n var style = typeof el.style === 'string' ? formats.date[el.style] : undefined;\n result.push({\n type: 0\n /* literal */\n ,\n value: formatters.getDateTimeFormat(locales, style).format(value)\n });\n continue;\n }\n\n if (isTimeElement(el)) {\n var style = typeof el.style === 'string' ? formats.time[el.style] : isDateTimeSkeleton(el.style) ? parseDateTimeSkeleton(el.style.pattern) : undefined;\n result.push({\n type: 0\n /* literal */\n ,\n value: formatters.getDateTimeFormat(locales, style).format(value)\n });\n continue;\n }\n\n if (isNumberElement(el)) {\n var style = typeof el.style === 'string' ? formats.number[el.style] : isNumberSkeleton(el.style) ? convertNumberSkeletonToNumberFormatOptions(el.style.tokens) : undefined;\n result.push({\n type: 0\n /* literal */\n ,\n value: formatters.getNumberFormat(locales, style).format(value)\n });\n continue;\n }\n\n if (isSelectElement(el)) {\n var opt = el.options[value] || el.options.other;\n\n if (!opt) {\n throw new RangeError(\"Invalid values for \\\"\" + el.value + \"\\\": \\\"\" + value + \"\\\". Options are \\\"\" + Object.keys(el.options).join('\", \"') + \"\\\"\");\n }\n\n result.push.apply(result, formatToParts(opt.value, locales, formatters, formats, values));\n continue;\n }\n\n if (isPluralElement(el)) {\n var opt = el.options[\"=\" + value];\n\n if (!opt) {\n if (!Intl.PluralRules) {\n throw new FormatError(\"Intl.PluralRules is not available in this environment.\\nTry polyfilling it using \\\"@formatjs/intl-pluralrules\\\"\\n\");\n }\n\n var rule = formatters.getPluralRules(locales, {\n type: el.pluralType\n }).select(value - (el.offset || 0));\n opt = el.options[rule] || el.options.other;\n }\n\n if (!opt) {\n throw new RangeError(\"Invalid values for \\\"\" + el.value + \"\\\": \\\"\" + value + \"\\\". Options are \\\"\" + Object.keys(el.options).join('\", \"') + \"\\\"\");\n }\n\n result.push.apply(result, formatToParts(opt.value, locales, formatters, formats, values, value - (el.offset || 0)));\n continue;\n }\n }\n\n return mergeLiteral(result);\n}\nexport function formatToString(els, locales, formatters, formats, values, // For debugging\noriginalMessage) {\n var parts = formatToParts(els, locales, formatters, formats, values, undefined, originalMessage); // Hot path for straight simple msg translations\n\n if (parts.length === 1) {\n return parts[0].value;\n }\n\n return parts.reduce(function (all, part) {\n return all += part.value;\n }, '');\n} // Singleton\n\nvar domParser;\nvar TOKEN_DELIMITER = '@@';\nvar TOKEN_REGEX = /@@(\\d+_\\d+)@@/g;\nvar counter = 0;\n\nfunction generateId() {\n return Date.now() + \"_\" + ++counter;\n}\n\nfunction restoreRichPlaceholderMessage(text, objectParts) {\n return text.split(TOKEN_REGEX).filter(Boolean).map(function (c) {\n return objectParts[c] != null ? objectParts[c] : c;\n }).reduce(function (all, c) {\n if (!all.length) {\n all.push(c);\n } else if (typeof c === 'string' && typeof all[all.length - 1] === 'string') {\n all[all.length - 1] += c;\n } else {\n all.push(c);\n }\n\n return all;\n }, []);\n}\n/**\n * Not exhaustive, just for sanity check\n */\n\n\nvar SIMPLE_XML_REGEX = /(<([0-9a-zA-Z-_]*?)>(.*?)<\\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\\/>)/;\nvar TEMPLATE_ID = Date.now() + '@@';\nvar VOID_ELEMENTS = ['area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source', 'track', 'wbr'];\n\nfunction formatHTMLElement(el, objectParts, values) {\n var tagName = el.tagName;\n var outerHTML = el.outerHTML,\n textContent = el.textContent,\n childNodes = el.childNodes; // Regular text\n\n if (!tagName) {\n return restoreRichPlaceholderMessage(textContent || '', objectParts);\n }\n\n tagName = tagName.toLowerCase();\n var isVoidElement = ~VOID_ELEMENTS.indexOf(tagName);\n var formatFnOrValue = values[tagName];\n\n if (formatFnOrValue && isVoidElement) {\n throw new FormatError(tagName + \" is a self-closing tag and can not be used, please use another tag name.\");\n }\n\n if (!childNodes.length) {\n return [outerHTML];\n }\n\n var chunks = Array.prototype.slice.call(childNodes).reduce(function (all, child) {\n return all.concat(formatHTMLElement(child, objectParts, values));\n }, []); // Legacy HTML\n\n if (!formatFnOrValue) {\n return __spreadArrays([\"<\" + tagName + \">\"], chunks, [\"\"]);\n } // HTML Tag replacement\n\n\n if (typeof formatFnOrValue === 'function') {\n return [formatFnOrValue.apply(void 0, chunks)];\n }\n\n return [formatFnOrValue];\n}\n\nexport function formatHTMLMessage(els, locales, formatters, formats, values, // For debugging\noriginalMessage) {\n var parts = formatToParts(els, locales, formatters, formats, values, undefined, originalMessage);\n var objectParts = {};\n var formattedMessage = parts.reduce(function (all, part) {\n if (part.type === 0\n /* literal */\n ) {\n return all += part.value;\n }\n\n var id = generateId();\n objectParts[id] = part.value;\n return all += \"\" + TOKEN_DELIMITER + id + TOKEN_DELIMITER;\n }, ''); // Not designed to filter out aggressively\n\n if (!SIMPLE_XML_REGEX.test(formattedMessage)) {\n return restoreRichPlaceholderMessage(formattedMessage, objectParts);\n }\n\n if (!values) {\n throw new FormatError('Message has placeholders but no values was given');\n }\n\n if (typeof DOMParser === 'undefined') {\n throw new FormatError('Cannot format XML message without DOMParser');\n }\n\n if (!domParser) {\n domParser = new DOMParser();\n }\n\n var content = domParser.parseFromString(\"\" + formattedMessage + \"\", 'text/html').getElementById(TEMPLATE_ID);\n\n if (!content) {\n throw new FormatError(\"Malformed HTML message \" + formattedMessage);\n }\n\n var tagsToFormat = Object.keys(values).filter(function (varName) {\n return !!content.getElementsByTagName(varName).length;\n }); // No tags to format\n\n if (!tagsToFormat.length) {\n return restoreRichPlaceholderMessage(formattedMessage, objectParts);\n }\n\n var caseSensitiveTags = tagsToFormat.filter(function (tagName) {\n return tagName !== tagName.toLowerCase();\n });\n\n if (caseSensitiveTags.length) {\n throw new FormatError(\"HTML tag must be lowercased but the following tags are not: \" + caseSensitiveTags.join(', '));\n } // We're doing this since top node is `` which does not have a formatter\n\n\n return Array.prototype.slice.call(content.childNodes).reduce(function (all, child) {\n return all.concat(formatHTMLElement(child, objectParts, values));\n }, []);\n}","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\nvar __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return __assign.apply(this, arguments);\n};\n\nimport { parse } from 'intl-messageformat-parser';\nimport memoizeIntlConstructor from 'intl-format-cache';\nimport { formatToString, formatToParts, formatHTMLMessage } from './formatters'; // -- MessageFormat --------------------------------------------------------\n\nfunction mergeConfig(c1, c2) {\n if (!c2) {\n return c1;\n }\n\n return __assign(__assign(__assign({}, c1 || {}), c2 || {}), Object.keys(c1).reduce(function (all, k) {\n all[k] = __assign(__assign({}, c1[k]), c2[k] || {});\n return all;\n }, {}));\n}\n\nfunction mergeConfigs(defaultConfig, configs) {\n if (!configs) {\n return defaultConfig;\n }\n\n return Object.keys(defaultConfig).reduce(function (all, k) {\n all[k] = mergeConfig(defaultConfig[k], configs[k]);\n return all;\n }, __assign({}, defaultConfig));\n}\n\nexport function createDefaultFormatters(cache) {\n if (cache === void 0) {\n cache = {\n number: {},\n dateTime: {},\n pluralRules: {}\n };\n }\n\n return {\n getNumberFormat: memoizeIntlConstructor(Intl.NumberFormat, cache.number),\n getDateTimeFormat: memoizeIntlConstructor(Intl.DateTimeFormat, cache.dateTime),\n getPluralRules: memoizeIntlConstructor(Intl.PluralRules, cache.pluralRules)\n };\n}\n\nvar IntlMessageFormat =\n/** @class */\nfunction () {\n function IntlMessageFormat(message, locales, overrideFormats, opts) {\n var _this = this;\n\n if (locales === void 0) {\n locales = IntlMessageFormat.defaultLocale;\n }\n\n this.formatterCache = {\n number: {},\n dateTime: {},\n pluralRules: {}\n };\n\n this.format = function (values) {\n return formatToString(_this.ast, _this.locales, _this.formatters, _this.formats, values, _this.message);\n };\n\n this.formatToParts = function (values) {\n return formatToParts(_this.ast, _this.locales, _this.formatters, _this.formats, values, undefined, _this.message);\n };\n\n this.formatHTMLMessage = function (values) {\n return formatHTMLMessage(_this.ast, _this.locales, _this.formatters, _this.formats, values, _this.message);\n };\n\n this.resolvedOptions = function () {\n return {\n locale: Intl.NumberFormat.supportedLocalesOf(_this.locales)[0]\n };\n };\n\n this.getAst = function () {\n return _this.ast;\n };\n\n if (typeof message === 'string') {\n this.message = message;\n\n if (!IntlMessageFormat.__parse) {\n throw new TypeError('IntlMessageFormat.__parse must be set to process `message` of type `string`');\n } // Parse string messages into an AST.\n\n\n this.ast = IntlMessageFormat.__parse(message, {\n normalizeHashtagInPlural: false\n });\n } else {\n this.ast = message;\n }\n\n if (!Array.isArray(this.ast)) {\n throw new TypeError('A message must be provided as a String or AST.');\n } // Creates a new object with the specified `formats` merged with the default\n // formats.\n\n\n this.formats = mergeConfigs(IntlMessageFormat.formats, overrideFormats); // Defined first because it's used to build the format pattern.\n\n this.locales = locales;\n this.formatters = opts && opts.formatters || createDefaultFormatters(this.formatterCache);\n }\n\n IntlMessageFormat.defaultLocale = new Intl.NumberFormat().resolvedOptions().locale;\n IntlMessageFormat.__parse = parse; // Default format options used as the prototype of the `formats` provided to the\n // constructor. These are used when constructing the internal Intl.NumberFormat\n // and Intl.DateTimeFormat instances.\n\n IntlMessageFormat.formats = {\n number: {\n currency: {\n style: 'currency'\n },\n percent: {\n style: 'percent'\n }\n },\n date: {\n short: {\n month: 'numeric',\n day: 'numeric',\n year: '2-digit'\n },\n medium: {\n month: 'short',\n day: 'numeric',\n year: 'numeric'\n },\n long: {\n month: 'long',\n day: 'numeric',\n year: 'numeric'\n },\n full: {\n weekday: 'long',\n month: 'long',\n day: 'numeric',\n year: 'numeric'\n }\n },\n time: {\n short: {\n hour: 'numeric',\n minute: 'numeric'\n },\n medium: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric'\n },\n long: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n timeZoneName: 'short'\n },\n full: {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n timeZoneName: 'short'\n }\n }\n };\n return IntlMessageFormat;\n}();\n\nexport { IntlMessageFormat };\nexport default IntlMessageFormat;","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\nimport IntlMessageFormat from './core';\nexport * from './formatters';\nexport * from './core';\nexport default IntlMessageFormat;","/*\nHTML escaping is the same as React's\n(on purpose.) Therefore, it has the following Copyright and Licensing:\n\nCopyright 2013-2014, Facebook, Inc.\nAll rights reserved.\n\nThis source code is licensed under the BSD-style license found in the LICENSE\nfile in the root directory of React's source tree.\n*/\nimport * as React from 'react';\nimport IntlMessageFormat from 'intl-messageformat';\nimport memoizeIntlConstructor from 'intl-format-cache';\nimport { invariant } from '@formatjs/intl-utils';\nvar ESCAPED_CHARS = {\n 38: '&',\n 62: '>',\n 60: '<',\n 34: '"',\n 39: '''\n};\nvar UNSAFE_CHARS_REGEX = /[&><\"']/g;\nexport function escape(str) {\n return ('' + str).replace(UNSAFE_CHARS_REGEX, function (match) {\n return ESCAPED_CHARS[match.charCodeAt(0)];\n });\n}\nexport function filterProps(props, whitelist) {\n var defaults = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return whitelist.reduce(function (filtered, name) {\n if (name in props) {\n filtered[name] = props[name];\n } else if (name in defaults) {\n filtered[name] = defaults[name];\n }\n\n return filtered;\n }, {});\n}\nexport function invariantIntlContext(intl) {\n invariant(intl, '[React Intl] Could not find required `intl` object. ' + ' needs to exist in the component ancestry.');\n}\nexport function createError(message, exception) {\n var eMsg = exception ? \"\\n\".concat(exception.stack) : '';\n return \"[React Intl] \".concat(message).concat(eMsg);\n}\nexport function defaultErrorHandler(error) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(error);\n }\n}\nexport var DEFAULT_INTL_CONFIG = {\n formats: {},\n messages: {},\n timeZone: undefined,\n textComponent: React.Fragment,\n defaultLocale: 'en',\n defaultFormats: {},\n onError: defaultErrorHandler\n};\nexport function createIntlCache() {\n return {\n dateTime: {},\n number: {},\n message: {},\n relativeTime: {},\n pluralRules: {},\n list: {},\n displayNames: {}\n };\n}\n/**\n * Create intl formatters and populate cache\n * @param cache explicit cache to prevent leaking memory\n */\n\nexport function createFormatters() {\n var cache = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : createIntlCache();\n var RelativeTimeFormat = Intl.RelativeTimeFormat;\n var ListFormat = Intl.ListFormat;\n var DisplayNames = Intl.DisplayNames;\n return {\n getDateTimeFormat: memoizeIntlConstructor(Intl.DateTimeFormat, cache.dateTime),\n getNumberFormat: memoizeIntlConstructor(Intl.NumberFormat, cache.number),\n getMessageFormat: memoizeIntlConstructor(IntlMessageFormat, cache.message),\n getRelativeTimeFormat: memoizeIntlConstructor(RelativeTimeFormat, cache.relativeTime),\n getPluralRules: memoizeIntlConstructor(Intl.PluralRules, cache.pluralRules),\n getListFormat: memoizeIntlConstructor(ListFormat, cache.list),\n getDisplayNames: memoizeIntlConstructor(DisplayNames, cache.displayNames)\n };\n}\nexport function getNamedFormat(formats, type, name, onError) {\n var formatType = formats && formats[type];\n var format;\n\n if (formatType) {\n format = formatType[name];\n }\n\n if (format) {\n return format;\n }\n\n onError(createError(\"No \".concat(type, \" format named: \").concat(name)));\n}","import _defineProperty from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport * as hoistNonReactStatics_ from 'hoist-non-react-statics'; // Since rollup cannot deal with namespace being a function,\n// this is to interop with TypeScript since `invariant`\n// does not export a default\n// https://github.com/rollup/rollup/issues/1267\n\nvar hoistNonReactStatics = hoistNonReactStatics_.default || hoistNonReactStatics_;\nimport { invariantIntlContext } from '../utils';\n\nfunction getDisplayName(Component) {\n return Component.displayName || Component.name || 'Component';\n} // TODO: We should provide initial value here\n\n\nvar IntlContext = React.createContext(null);\nvar IntlConsumer = IntlContext.Consumer,\n IntlProvider = IntlContext.Provider;\nexport var Provider = IntlProvider;\nexport var Context = IntlContext;\nexport default function injectIntl(WrappedComponent, options) {\n var _ref = options || {},\n _ref$intlPropName = _ref.intlPropName,\n intlPropName = _ref$intlPropName === void 0 ? 'intl' : _ref$intlPropName,\n _ref$forwardRef = _ref.forwardRef,\n forwardRef = _ref$forwardRef === void 0 ? false : _ref$forwardRef,\n _ref$enforceContext = _ref.enforceContext,\n enforceContext = _ref$enforceContext === void 0 ? true : _ref$enforceContext;\n\n var WithIntl = function WithIntl(props) {\n return React.createElement(IntlConsumer, null, function (intl) {\n if (enforceContext) {\n invariantIntlContext(intl);\n }\n\n return React.createElement(WrappedComponent, Object.assign({}, props, _defineProperty({}, intlPropName, intl), {\n ref: forwardRef ? props.forwardedRef : null\n }));\n });\n };\n\n WithIntl.displayName = \"injectIntl(\".concat(getDisplayName(WrappedComponent), \")\");\n WithIntl.WrappedComponent = WrappedComponent;\n\n if (forwardRef) {\n return hoistNonReactStatics(React.forwardRef(function (props, ref) {\n return React.createElement(WithIntl, Object.assign({}, props, {\n forwardedRef: ref\n }));\n }), WrappedComponent);\n }\n\n return hoistNonReactStatics(WithIntl, WrappedComponent);\n}","export default function _defineProperty(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}","var __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport { invariantIntlContext } from '../utils';\nimport { Context } from './injectIntl';\nvar DisplayName;\n\n(function (DisplayName) {\n DisplayName[\"formatDate\"] = \"FormattedDate\";\n DisplayName[\"formatTime\"] = \"FormattedTime\";\n DisplayName[\"formatNumber\"] = \"FormattedNumber\";\n DisplayName[\"formatList\"] = \"FormattedList\"; // Note that this DisplayName is the locale display name, not to be confused with\n // the name of the enum, which is for React component display name in dev tools.\n\n DisplayName[\"formatDisplayName\"] = \"FormattedDisplayName\";\n})(DisplayName || (DisplayName = {}));\n\nvar DisplayNameParts;\n\n(function (DisplayNameParts) {\n DisplayNameParts[\"formatDate\"] = \"FormattedDateParts\";\n DisplayNameParts[\"formatTime\"] = \"FormattedTimeParts\";\n DisplayNameParts[\"formatNumber\"] = \"FormattedNumberParts\";\n DisplayNameParts[\"formatList\"] = \"FormattedListParts\";\n})(DisplayNameParts || (DisplayNameParts = {}));\n\nexport var FormattedNumberParts = function FormattedNumberParts(props) {\n return React.createElement(Context.Consumer, null, function (intl) {\n invariantIntlContext(intl);\n\n var value = props.value,\n children = props.children,\n formatProps = __rest(props, [\"value\", \"children\"]);\n\n return children(intl.formatNumberToParts(value, formatProps));\n });\n};\nFormattedNumberParts.displayName = 'FormattedNumberParts';\nexport function createFormattedDateTimePartsComponent(name) {\n var ComponentParts = function ComponentParts(props) {\n return React.createElement(Context.Consumer, null, function (intl) {\n invariantIntlContext(intl);\n\n var value = props.value,\n children = props.children,\n formatProps = __rest(props, [\"value\", \"children\"]);\n\n var date = typeof value === 'string' ? new Date(value || 0) : value;\n var formattedParts = name === 'formatDate' ? intl.formatDateToParts(date, formatProps) : intl.formatTimeToParts(date, formatProps);\n return children(formattedParts);\n });\n };\n\n ComponentParts.displayName = DisplayNameParts[name];\n return ComponentParts;\n}\nexport function createFormattedComponent(name) {\n var Component = function Component(props) {\n return React.createElement(Context.Consumer, null, function (intl) {\n invariantIntlContext(intl);\n\n var value = props.value,\n children = props.children,\n formatProps = __rest(props, [\"value\", \"children\"]); // TODO: fix TS type definition for localeMatcher upstream\n\n\n var formattedValue = intl[name](value, formatProps);\n\n if (typeof children === 'function') {\n return children(formattedValue);\n }\n\n var Text = intl.textComponent || React.Fragment;\n return React.createElement(Text, null, formattedValue);\n });\n };\n\n Component.displayName = DisplayName[name];\n return Component;\n}","import { useContext } from 'react';\nimport { Context } from './injectIntl';\nimport { invariantIntlContext } from '../utils';\nexport default function useIntl() {\n var intl = useContext(Context);\n invariantIntlContext(intl);\n return intl;\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\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\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","import _typeof from \"@babel/runtime/helpers/typeof\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import { getNamedFormat, filterProps, createError } from '../utils';\nvar NUMBER_FORMAT_OPTIONS = ['localeMatcher', 'style', 'currency', 'currencyDisplay', 'unit', 'unitDisplay', 'useGrouping', 'minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits', // Unified NumberFormat (Stage 3 as of 10/22/19)\n'compactDisplay', 'currencyDisplay', 'currencySign', 'notation', 'signDisplay', 'unit', 'unitDisplay'];\nexport function getFormatter(_ref, getNumberFormat) {\n var locale = _ref.locale,\n formats = _ref.formats,\n onError = _ref.onError;\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var format = options.format;\n var defaults = format && getNamedFormat(formats, 'number', format, onError) || {};\n var filteredOptions = filterProps(options, NUMBER_FORMAT_OPTIONS, defaults);\n return getNumberFormat(locale, filteredOptions);\n}\nexport function formatNumber(config, getNumberFormat, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n try {\n return getFormatter(config, getNumberFormat, options).format(value);\n } catch (e) {\n config.onError(createError('Error formatting number.', e));\n }\n\n return String(value);\n}\nexport function formatNumberToParts(config, getNumberFormat, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n try {\n return getFormatter(config, getNumberFormat, options).formatToParts(value);\n } catch (e) {\n config.onError(createError('Error formatting number.', e));\n }\n\n return [];\n}","import { getNamedFormat, filterProps, createError } from '../utils';\nvar RELATIVE_TIME_FORMAT_OPTIONS = ['numeric', 'style'];\n\nfunction getFormatter(_ref, getRelativeTimeFormat) {\n var locale = _ref.locale,\n formats = _ref.formats,\n onError = _ref.onError;\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var format = options.format;\n var defaults = !!format && getNamedFormat(formats, 'relative', format, onError) || {};\n var filteredOptions = filterProps(options, RELATIVE_TIME_FORMAT_OPTIONS, defaults);\n return getRelativeTimeFormat(locale, filteredOptions);\n}\n\nexport function formatRelativeTime(config, getRelativeTimeFormat, value, unit) {\n var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n\n if (!unit) {\n unit = 'second';\n }\n\n var RelativeTimeFormat = Intl.RelativeTimeFormat;\n\n if (!RelativeTimeFormat) {\n config.onError(createError(\"Intl.RelativeTimeFormat is not available in this environment.\\nTry polyfilling it using \\\"@formatjs/intl-relativetimeformat\\\"\\n\"));\n }\n\n try {\n return getFormatter(config, getRelativeTimeFormat, options).format(value, unit);\n } catch (e) {\n config.onError(createError('Error formatting relative time.', e));\n }\n\n return String(value);\n}","/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\nimport { createError, filterProps, getNamedFormat } from '../utils';\nvar DATE_TIME_FORMAT_OPTIONS = ['localeMatcher', 'formatMatcher', 'timeZone', 'hour12', 'weekday', 'era', 'year', 'month', 'day', 'hour', 'minute', 'second', 'timeZoneName'];\nexport function getFormatter(_ref, type, getDateTimeFormat) {\n var locale = _ref.locale,\n formats = _ref.formats,\n onError = _ref.onError,\n timeZone = _ref.timeZone;\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var format = options.format;\n var defaults = Object.assign(Object.assign({}, timeZone && {\n timeZone: timeZone\n }), format && getNamedFormat(formats, type, format, onError));\n var filteredOptions = filterProps(options, DATE_TIME_FORMAT_OPTIONS, defaults);\n\n if (type === 'time' && !filteredOptions.hour && !filteredOptions.minute && !filteredOptions.second) {\n // Add default formatting options if hour, minute, or second isn't defined.\n filteredOptions = Object.assign(Object.assign({}, filteredOptions), {\n hour: 'numeric',\n minute: 'numeric'\n });\n }\n\n return getDateTimeFormat(locale, filteredOptions);\n}\nexport function formatDate(config, getDateTimeFormat, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var date = typeof value === 'string' ? new Date(value || 0) : value;\n\n try {\n return getFormatter(config, 'date', getDateTimeFormat, options).format(date);\n } catch (e) {\n config.onError(createError('Error formatting date.', e));\n }\n\n return String(date);\n}\nexport function formatTime(config, getDateTimeFormat, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var date = typeof value === 'string' ? new Date(value || 0) : value;\n\n try {\n return getFormatter(config, 'time', getDateTimeFormat, options).format(date);\n } catch (e) {\n config.onError(createError('Error formatting time.', e));\n }\n\n return String(date);\n}\nexport function formatDateToParts(config, getDateTimeFormat, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var date = typeof value === 'string' ? new Date(value || 0) : value;\n\n try {\n return getFormatter(config, 'date', getDateTimeFormat, options).formatToParts(date);\n } catch (e) {\n config.onError(createError('Error formatting date.', e));\n }\n\n return [];\n}\nexport function formatTimeToParts(config, getDateTimeFormat, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var date = typeof value === 'string' ? new Date(value || 0) : value;\n\n try {\n return getFormatter(config, 'time', getDateTimeFormat, options).formatToParts(date);\n } catch (e) {\n config.onError(createError('Error formatting time.', e));\n }\n\n return [];\n}","import { filterProps, createError } from '../utils';\nvar PLURAL_FORMAT_OPTIONS = ['localeMatcher', 'type'];\nexport function formatPlural(_ref, getPluralRules, value) {\n var locale = _ref.locale,\n onError = _ref.onError;\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n if (!Intl.PluralRules) {\n onError(createError(\"Intl.PluralRules is not available in this environment.\\nTry polyfilling it using \\\"@formatjs/intl-pluralrules\\\"\\n\"));\n }\n\n var filteredOptions = filterProps(options, PLURAL_FORMAT_OPTIONS);\n\n try {\n return getPluralRules(locale, filteredOptions).select(value);\n } catch (e) {\n onError(createError('Error formatting plural.', e));\n }\n\n return 'other';\n}","import _toConsumableArray from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/toConsumableArray\";\n\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\nimport * as React from 'react';\nimport { invariant } from '@formatjs/intl-utils';\nimport { createError, escape } from '../utils';\nimport IntlMessageFormat from 'intl-messageformat';\n\nfunction setTimeZoneInOptions(opts, timeZone) {\n return Object.keys(opts).reduce(function (all, k) {\n all[k] = Object.assign({\n timeZone: timeZone\n }, opts[k]);\n return all;\n }, {});\n}\n\nfunction deepMergeOptions(opts1, opts2) {\n var keys = Object.keys(Object.assign(Object.assign({}, opts1), opts2));\n return keys.reduce(function (all, k) {\n all[k] = Object.assign(Object.assign({}, opts1[k] || {}), opts2[k] || {});\n return all;\n }, {});\n}\n\nfunction deepMergeFormatsAndSetTimeZone(f1, timeZone) {\n if (!timeZone) {\n return f1;\n }\n\n var mfFormats = IntlMessageFormat.formats;\n return Object.assign(Object.assign(Object.assign({}, mfFormats), f1), {\n date: deepMergeOptions(setTimeZoneInOptions(mfFormats.date, timeZone), setTimeZoneInOptions(f1.date || {}, timeZone)),\n time: deepMergeOptions(setTimeZoneInOptions(mfFormats.time, timeZone), setTimeZoneInOptions(f1.time || {}, timeZone))\n });\n}\n\nexport var prepareIntlMessageFormatHtmlOutput = function prepareIntlMessageFormatHtmlOutput(chunks) {\n return React.createElement.apply(React, [React.Fragment, null].concat(_toConsumableArray(chunks)));\n};\nexport function formatMessage(_ref, state) {\n var locale = _ref.locale,\n formats = _ref.formats,\n messages = _ref.messages,\n defaultLocale = _ref.defaultLocale,\n defaultFormats = _ref.defaultFormats,\n onError = _ref.onError,\n timeZone = _ref.timeZone;\n var messageDescriptor = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n id: ''\n };\n var values = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var id = messageDescriptor.id,\n defaultMessage = messageDescriptor.defaultMessage; // `id` is a required field of a Message Descriptor.\n\n invariant(!!id, '[React Intl] An `id` must be provided to format a message.');\n var message = messages && messages[String(id)];\n formats = deepMergeFormatsAndSetTimeZone(formats, timeZone);\n defaultFormats = deepMergeFormatsAndSetTimeZone(defaultFormats, timeZone);\n var formattedMessageParts = [];\n\n if (message) {\n try {\n var formatter = state.getMessageFormat(message, locale, formats, {\n formatters: state\n });\n formattedMessageParts = formatter.formatHTMLMessage(values);\n } catch (e) {\n onError(createError(\"Error formatting message: \\\"\".concat(id, \"\\\" for locale: \\\"\").concat(locale, \"\\\"\") + (defaultMessage ? ', using default message as fallback.' : ''), e));\n }\n } else {\n // This prevents warnings from littering the console in development\n // when no `messages` are passed into the for the\n // default locale, and a default message is in the source.\n if (!defaultMessage || locale && locale.toLowerCase() !== defaultLocale.toLowerCase()) {\n onError(createError(\"Missing message: \\\"\".concat(id, \"\\\" for locale: \\\"\").concat(locale, \"\\\"\") + (defaultMessage ? ', using default message as fallback.' : '')));\n }\n }\n\n if (!formattedMessageParts.length && defaultMessage) {\n try {\n var _formatter = state.getMessageFormat(defaultMessage, defaultLocale, defaultFormats);\n\n formattedMessageParts = _formatter.formatHTMLMessage(values);\n } catch (e) {\n onError(createError(\"Error formatting the default message for: \\\"\".concat(id, \"\\\"\"), e));\n }\n }\n\n if (!formattedMessageParts.length) {\n onError(createError(\"Cannot format message: \\\"\".concat(id, \"\\\", \") + \"using message \".concat(message || defaultMessage ? 'source' : 'id', \" as fallback.\")));\n\n if (typeof message === 'string') {\n return message || defaultMessage || String(id);\n }\n\n return defaultMessage || String(id);\n }\n\n if (formattedMessageParts.length === 1 && typeof formattedMessageParts[0] === 'string') {\n return formattedMessageParts[0] || defaultMessage || String(id);\n }\n\n return prepareIntlMessageFormatHtmlOutput(formattedMessageParts);\n}\nexport function formatHTMLMessage(config, state) {\n var messageDescriptor = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n id: ''\n };\n var rawValues = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n // Process all the values before they are used when formatting the ICU\n // Message string. Since the formatted message might be injected via\n // `innerHTML`, all String-based values need to be HTML-escaped.\n var escapedValues = Object.keys(rawValues).reduce(function (escaped, name) {\n var value = rawValues[name];\n escaped[name] = typeof value === 'string' ? escape(value) : value;\n return escaped;\n }, {});\n return formatMessage(config, state, messageDescriptor, escapedValues);\n}","import { filterProps, createError } from '../utils';\nvar LIST_FORMAT_OPTIONS = ['localeMatcher', 'type', 'style'];\nvar now = Date.now();\n\nfunction generateToken(i) {\n return \"\".concat(now, \"_\").concat(i, \"_\").concat(now);\n}\n\nexport function formatList(_ref, getListFormat, values) {\n var locale = _ref.locale,\n onError = _ref.onError;\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var ListFormat = Intl.ListFormat;\n\n if (!ListFormat) {\n onError(createError(\"Intl.ListFormat is not available in this environment.\\nTry polyfilling it using \\\"@formatjs/intl-listformat\\\"\\n\"));\n }\n\n var filteredOptions = filterProps(options, LIST_FORMAT_OPTIONS);\n\n try {\n var richValues = {};\n var serializedValues = values.map(function (v, i) {\n if (typeof v === 'object') {\n var id = generateToken(i);\n richValues[id] = v;\n return id;\n }\n\n return String(v);\n });\n\n if (!Object.keys(richValues).length) {\n return getListFormat(locale, filteredOptions).format(serializedValues);\n }\n\n var parts = getListFormat(locale, filteredOptions).formatToParts(serializedValues);\n return parts.reduce(function (all, el) {\n var val = el.value;\n\n if (richValues[val]) {\n all.push(richValues[val]);\n } else if (typeof all[all.length - 1] === 'string') {\n all[all.length - 1] += val;\n } else {\n all.push(val);\n }\n\n return all;\n }, []);\n } catch (e) {\n onError(createError('Error formatting list.', e));\n }\n\n return values;\n}","import { filterProps, createError } from '../utils';\nvar DISPLAY_NAMES_OPTONS = ['localeMatcher', 'style', 'type', 'fallback'];\nexport function formatDisplayName(_ref, getDisplayNames, value) {\n var locale = _ref.locale,\n onError = _ref.onError;\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var DisplayNames = Intl.DisplayNames;\n\n if (!DisplayNames) {\n onError(createError(\"Intl.DisplayNames is not available in this environment.\\nTry polyfilling it using \\\"@formatjs/intl-displaynames\\\"\\n\"));\n }\n\n var filteredOptions = filterProps(options, DISPLAY_NAMES_OPTONS);\n\n try {\n return getDisplayNames(locale, filteredOptions).of(value);\n } catch (e) {\n onError(createError('Error formatting display name.', e));\n }\n}","import _classCallCheck from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/inherits\";\nimport _possibleConstructorReturn from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/getPrototypeOf\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\nimport * as React from 'react';\nimport { Provider } from './injectIntl';\nimport { createError, DEFAULT_INTL_CONFIG, createFormatters, invariantIntlContext, createIntlCache } from '../utils';\nimport { formatNumber, formatNumberToParts } from '../formatters/number';\nimport { formatRelativeTime } from '../formatters/relativeTime';\nimport { formatDate, formatTime, formatDateToParts, formatTimeToParts } from '../formatters/dateTime';\nimport { formatPlural } from '../formatters/plural';\nimport { formatMessage, formatHTMLMessage } from '../formatters/message';\nimport * as shallowEquals_ from 'shallow-equal/objects';\nimport { formatList } from '../formatters/list';\nimport { formatDisplayName } from '../formatters/displayName';\nvar shallowEquals = shallowEquals_.default || shallowEquals_;\n\nfunction processIntlConfig(config) {\n return {\n locale: config.locale,\n timeZone: config.timeZone,\n formats: config.formats,\n textComponent: config.textComponent,\n messages: config.messages,\n defaultLocale: config.defaultLocale,\n defaultFormats: config.defaultFormats,\n onError: config.onError\n };\n}\n/**\n * Create intl object\n * @param config intl config\n * @param cache cache for formatter instances to prevent memory leak\n */\n\n\nexport function createIntl(config, cache) {\n var formatters = createFormatters(cache);\n var resolvedConfig = Object.assign(Object.assign({}, DEFAULT_INTL_CONFIG), config);\n var locale = resolvedConfig.locale,\n defaultLocale = resolvedConfig.defaultLocale,\n onError = resolvedConfig.onError;\n\n if (!locale) {\n if (onError) {\n onError(createError(\"\\\"locale\\\" was not configured, using \\\"\".concat(defaultLocale, \"\\\" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details\")));\n } // Since there's no registered locale data for `locale`, this will\n // fallback to the `defaultLocale` to make sure things can render.\n // The `messages` are overridden to the `defaultProps` empty object\n // to maintain referential equality across re-renders. It's assumed\n // each contains a `defaultMessage` prop.\n\n\n resolvedConfig.locale = resolvedConfig.defaultLocale || 'en';\n } else if (!Intl.NumberFormat.supportedLocalesOf(locale).length && onError) {\n onError(createError(\"Missing locale data for locale: \\\"\".concat(locale, \"\\\" in Intl.NumberFormat. Using default locale: \\\"\").concat(defaultLocale, \"\\\" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details\")));\n } else if (!Intl.DateTimeFormat.supportedLocalesOf(locale).length && onError) {\n onError(createError(\"Missing locale data for locale: \\\"\".concat(locale, \"\\\" in Intl.DateTimeFormat. Using default locale: \\\"\").concat(defaultLocale, \"\\\" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details\")));\n }\n\n return Object.assign(Object.assign({}, resolvedConfig), {\n formatters: formatters,\n formatNumber: formatNumber.bind(null, resolvedConfig, formatters.getNumberFormat),\n formatNumberToParts: formatNumberToParts.bind(null, resolvedConfig, formatters.getNumberFormat),\n formatRelativeTime: formatRelativeTime.bind(null, resolvedConfig, formatters.getRelativeTimeFormat),\n formatDate: formatDate.bind(null, resolvedConfig, formatters.getDateTimeFormat),\n formatDateToParts: formatDateToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat),\n formatTime: formatTime.bind(null, resolvedConfig, formatters.getDateTimeFormat),\n formatTimeToParts: formatTimeToParts.bind(null, resolvedConfig, formatters.getDateTimeFormat),\n formatPlural: formatPlural.bind(null, resolvedConfig, formatters.getPluralRules),\n formatMessage: formatMessage.bind(null, resolvedConfig, formatters),\n formatHTMLMessage: formatHTMLMessage.bind(null, resolvedConfig, formatters),\n formatList: formatList.bind(null, resolvedConfig, formatters.getListFormat),\n formatDisplayName: formatDisplayName.bind(null, resolvedConfig, formatters.getDisplayNames)\n });\n}\n\nvar IntlProvider = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(IntlProvider, _React$PureComponent);\n\n var _super = _createSuper(IntlProvider);\n\n function IntlProvider() {\n var _this;\n\n _classCallCheck(this, IntlProvider);\n\n _this = _super.apply(this, arguments);\n _this.cache = createIntlCache();\n _this.state = {\n cache: _this.cache,\n intl: createIntl(processIntlConfig(_this.props), _this.cache),\n prevConfig: processIntlConfig(_this.props)\n };\n return _this;\n }\n\n _createClass(IntlProvider, [{\n key: \"render\",\n value: function render() {\n invariantIntlContext(this.state.intl);\n return React.createElement(Provider, {\n value: this.state.intl\n }, this.props.children);\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(props, _ref) {\n var prevConfig = _ref.prevConfig,\n cache = _ref.cache;\n var config = processIntlConfig(props);\n\n if (!shallowEquals(prevConfig, config)) {\n return {\n intl: createIntl(config, cache),\n prevConfig: config\n };\n }\n\n return null;\n }\n }]);\n\n return IntlProvider;\n}(React.PureComponent);\n\nexport { IntlProvider as default };\nIntlProvider.displayName = 'IntlProvider';\nIntlProvider.defaultProps = DEFAULT_INTL_CONFIG;","import _classCallCheck from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/inherits\";\nimport _possibleConstructorReturn from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/getPrototypeOf\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\nimport * as React from 'react';\nimport { Context } from './injectIntl';\nimport { invariantIntlContext } from '../utils';\nimport { invariant } from '@formatjs/intl-utils';\nvar MINUTE = 60;\nvar HOUR = 60 * 60;\nvar DAY = 60 * 60 * 24;\n\nfunction selectUnit(seconds) {\n var absValue = Math.abs(seconds);\n\n if (absValue < MINUTE) {\n return 'second';\n }\n\n if (absValue < HOUR) {\n return 'minute';\n }\n\n if (absValue < DAY) {\n return 'hour';\n }\n\n return 'day';\n}\n\nfunction getDurationInSeconds(unit) {\n switch (unit) {\n case 'second':\n return 1;\n\n case 'minute':\n return MINUTE;\n\n case 'hour':\n return HOUR;\n\n default:\n return DAY;\n }\n}\n\nfunction valueToSeconds(value, unit) {\n if (!value) {\n return 0;\n }\n\n switch (unit) {\n case 'second':\n return value;\n\n case 'minute':\n return value * MINUTE;\n\n default:\n return value * HOUR;\n }\n}\n\nvar INCREMENTABLE_UNITS = ['second', 'minute', 'hour'];\n\nfunction canIncrement() {\n var unit = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'second';\n return INCREMENTABLE_UNITS.includes(unit);\n}\n\nexport var FormattedRelativeTime = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(FormattedRelativeTime, _React$PureComponent);\n\n var _super = _createSuper(FormattedRelativeTime);\n\n function FormattedRelativeTime(props) {\n var _this;\n\n _classCallCheck(this, FormattedRelativeTime);\n\n _this = _super.call(this, props); // Public for testing\n\n _this._updateTimer = null;\n _this.state = {\n prevUnit: _this.props.unit,\n prevValue: _this.props.value,\n currentValueInSeconds: canIncrement(_this.props.unit) ? valueToSeconds(_this.props.value, _this.props.unit) : 0\n };\n invariant(!props.updateIntervalInSeconds || !!(props.updateIntervalInSeconds && canIncrement(props.unit)), 'Cannot schedule update with unit longer than hour');\n return _this;\n }\n\n _createClass(FormattedRelativeTime, [{\n key: \"scheduleNextUpdate\",\n value: function scheduleNextUpdate(_ref, _ref2) {\n var _this2 = this;\n\n var updateIntervalInSeconds = _ref.updateIntervalInSeconds,\n unit = _ref.unit;\n var currentValueInSeconds = _ref2.currentValueInSeconds;\n clearTimeout(this._updateTimer);\n this._updateTimer = null; // If there's no interval and we cannot increment this unit, do nothing\n\n if (!updateIntervalInSeconds || !canIncrement(unit)) {\n return;\n } // Figure out the next interesting time\n\n\n var nextValueInSeconds = currentValueInSeconds - updateIntervalInSeconds;\n var nextUnit = selectUnit(nextValueInSeconds); // We've reached the max auto incrementable unit, don't schedule another update\n\n if (nextUnit === 'day') {\n return;\n }\n\n var unitDuration = getDurationInSeconds(nextUnit);\n var remainder = nextValueInSeconds % unitDuration;\n var prevInterestingValueInSeconds = nextValueInSeconds - remainder;\n var nextInterestingValueInSeconds = prevInterestingValueInSeconds >= currentValueInSeconds ? prevInterestingValueInSeconds - unitDuration : prevInterestingValueInSeconds;\n var delayInSeconds = Math.abs(nextInterestingValueInSeconds - currentValueInSeconds);\n this._updateTimer = setTimeout(function () {\n return _this2.setState({\n currentValueInSeconds: nextInterestingValueInSeconds\n });\n }, delayInSeconds * 1e3);\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.scheduleNextUpdate(this.props, this.state);\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.scheduleNextUpdate(this.props, this.state);\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n clearTimeout(this._updateTimer);\n this._updateTimer = null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this3 = this;\n\n return React.createElement(Context.Consumer, null, function (intl) {\n invariantIntlContext(intl);\n var formatRelativeTime = intl.formatRelativeTime,\n Text = intl.textComponent;\n var _this3$props = _this3.props,\n children = _this3$props.children,\n value = _this3$props.value,\n unit = _this3$props.unit,\n updateIntervalInSeconds = _this3$props.updateIntervalInSeconds;\n var currentValueInSeconds = _this3.state.currentValueInSeconds;\n var currentValue = value || 0;\n var currentUnit = unit;\n\n if (canIncrement(unit) && typeof currentValueInSeconds === 'number' && updateIntervalInSeconds) {\n currentUnit = selectUnit(currentValueInSeconds);\n var unitDuration = getDurationInSeconds(currentUnit);\n currentValue = Math.round(currentValueInSeconds / unitDuration);\n }\n\n var formattedRelativeTime = formatRelativeTime(currentValue, currentUnit, Object.assign({}, _this3.props));\n\n if (typeof children === 'function') {\n return children(formattedRelativeTime);\n }\n\n if (Text) {\n return React.createElement(Text, null, formattedRelativeTime);\n }\n\n return formattedRelativeTime;\n });\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(props, state) {\n if (props.unit !== state.prevUnit || props.value !== state.prevValue) {\n return {\n prevValue: props.value,\n prevUnit: props.unit,\n currentValueInSeconds: canIncrement(props.unit) ? valueToSeconds(props.value, props.unit) : 0\n };\n }\n\n return null;\n }\n }]);\n\n return FormattedRelativeTime;\n}(React.PureComponent);\nFormattedRelativeTime.displayName = 'FormattedRelativeTime';\nFormattedRelativeTime.defaultProps = {\n value: 0,\n unit: 'second'\n};\nexport default FormattedRelativeTime;","/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\nimport * as React from 'react';\nimport withIntl from './injectIntl';\n\nvar FormattedPlural = function FormattedPlural(props) {\n var value = props.value,\n other = props.other,\n children = props.children,\n _props$intl = props.intl,\n formatPlural = _props$intl.formatPlural,\n Text = _props$intl.textComponent;\n var pluralCategory = formatPlural(value, props);\n var formattedPlural = props[pluralCategory] || other;\n\n if (typeof children === 'function') {\n return children(formattedPlural);\n }\n\n if (Text) {\n return React.createElement(Text, null, formattedPlural);\n } // Work around @types/react where React.FC cannot return string\n\n\n return formattedPlural;\n};\n\nFormattedPlural.defaultProps = {\n type: 'cardinal'\n};\nFormattedPlural.displayName = 'FormattedPlural';\nexport default withIntl(FormattedPlural);","import _toConsumableArray from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/toConsumableArray\";\nimport _classCallCheck from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/inherits\";\nimport _possibleConstructorReturn from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/getPrototypeOf\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport { Context } from './injectIntl';\nimport { formatMessage } from '../formatters/message';\nimport { invariantIntlContext, DEFAULT_INTL_CONFIG, createFormatters } from '../utils';\nimport * as shallowEquals_ from 'shallow-equal/objects';\nvar shallowEquals = shallowEquals_.default || shallowEquals_;\n\nvar defaultFormatMessage = function defaultFormatMessage(descriptor, values) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('[React Intl] Could not find required `intl` object. needs to exist in the component ancestry. Using default message as fallback.');\n }\n\n return formatMessage(Object.assign(Object.assign({}, DEFAULT_INTL_CONFIG), {\n locale: 'en'\n }), createFormatters(), descriptor, values);\n};\n\nvar FormattedMessage = /*#__PURE__*/function (_React$Component) {\n _inherits(FormattedMessage, _React$Component);\n\n var _super = _createSuper(FormattedMessage);\n\n function FormattedMessage() {\n _classCallCheck(this, FormattedMessage);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(FormattedMessage, [{\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n var _a = this.props,\n values = _a.values,\n otherProps = __rest(_a, [\"values\"]);\n\n var nextValues = nextProps.values,\n nextOtherProps = __rest(nextProps, [\"values\"]);\n\n return !shallowEquals(nextValues, values) || !shallowEquals(otherProps, nextOtherProps);\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this = this;\n\n return React.createElement(Context.Consumer, null, function (intl) {\n if (!_this.props.defaultMessage) {\n invariantIntlContext(intl);\n }\n\n var _ref = intl || {},\n _ref$formatMessage = _ref.formatMessage,\n formatMessage = _ref$formatMessage === void 0 ? defaultFormatMessage : _ref$formatMessage,\n _ref$textComponent = _ref.textComponent,\n Text = _ref$textComponent === void 0 ? React.Fragment : _ref$textComponent;\n\n var _this$props = _this.props,\n id = _this$props.id,\n description = _this$props.description,\n defaultMessage = _this$props.defaultMessage,\n values = _this$props.values,\n children = _this$props.children,\n _this$props$tagName = _this$props.tagName,\n Component = _this$props$tagName === void 0 ? Text : _this$props$tagName;\n var descriptor = {\n id: id,\n description: description,\n defaultMessage: defaultMessage\n };\n var nodes = formatMessage(descriptor, values);\n\n if (!Array.isArray(nodes)) {\n nodes = [nodes];\n }\n\n if (typeof children === 'function') {\n return children.apply(void 0, _toConsumableArray(nodes));\n }\n\n if (Component) {\n // Needs to use `createElement()` instead of JSX, otherwise React will\n // warn about a missing `key` prop with rich-text message formatting.\n return React.createElement.apply(React, [Component, null].concat(_toConsumableArray(nodes)));\n }\n\n return nodes;\n });\n }\n }]);\n\n return FormattedMessage;\n}(React.Component);\n\nFormattedMessage.displayName = 'FormattedMessage';\nFormattedMessage.defaultProps = {\n values: {}\n};\nexport default FormattedMessage;","import _classCallCheck from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/inherits\";\nimport _possibleConstructorReturn from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"C:/source/repos/ICOR/node_modules/@babel/runtime/helpers/esm/getPrototypeOf\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\nimport * as React from 'react';\nimport FormattedMessage from './message';\nimport { Context } from './injectIntl';\nimport { invariantIntlContext } from '../utils';\n\nvar FormattedHTMLMessage = /*#__PURE__*/function (_FormattedMessage) {\n _inherits(FormattedHTMLMessage, _FormattedMessage);\n\n var _super = _createSuper(FormattedHTMLMessage);\n\n function FormattedHTMLMessage() {\n _classCallCheck(this, FormattedHTMLMessage);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(FormattedHTMLMessage, [{\n key: \"render\",\n value: function render() {\n var _this = this;\n\n return React.createElement(Context.Consumer, null, function (intl) {\n if (!_this.props.defaultMessage) {\n invariantIntlContext(intl);\n }\n\n var formatHTMLMessage = intl.formatHTMLMessage,\n textComponent = intl.textComponent;\n var _this$props = _this.props,\n id = _this$props.id,\n description = _this$props.description,\n defaultMessage = _this$props.defaultMessage,\n rawValues = _this$props.values,\n children = _this$props.children;\n var Component = _this.props.tagName; // This is bc of TS3.3 doesn't recognize `defaultProps`\n\n if (!Component) {\n Component = textComponent || 'span';\n }\n\n var descriptor = {\n id: id,\n description: description,\n defaultMessage: defaultMessage\n };\n var formattedHTMLMessage = formatHTMLMessage(descriptor, rawValues);\n\n if (typeof children === 'function') {\n return children(formattedHTMLMessage);\n } // Since the message presumably has HTML in it, we need to set\n // `innerHTML` in order for it to be rendered and not escaped by React.\n // To be safe, all string prop values were escaped when formatting the\n // message. It is assumed that the message is not UGC, and came from the\n // developer making it more like a template.\n //\n // Note: There's a perf impact of using this component since there's no\n // way for React to do its virtual DOM diffing.\n\n\n var html = {\n __html: formattedHTMLMessage\n };\n return React.createElement(Component, {\n dangerouslySetInnerHTML: html\n });\n });\n }\n }]);\n\n return FormattedHTMLMessage;\n}(FormattedMessage);\n\nFormattedHTMLMessage.displayName = 'FormattedHTMLMessage';\nFormattedHTMLMessage.defaultProps = Object.assign(Object.assign({}, FormattedMessage.defaultProps), {\n tagName: 'span'\n});\nexport default FormattedHTMLMessage;","export function defineMessages(msgs) {\n return msgs;\n}\nimport { createFormattedComponent, createFormattedDateTimePartsComponent } from './components/createFormattedComponent';\nexport { default as injectIntl, Provider as RawIntlProvider, Context as IntlContext } from './components/injectIntl';\nexport { default as useIntl } from './components/useIntl';\nexport { default as IntlProvider, createIntl } from './components/provider'; // IMPORTANT: Explicit here to prevent api-extractor from outputing `import('./types').CustomFormatConfig`\n\nexport var FormattedDate = createFormattedComponent('formatDate');\nexport var FormattedTime = createFormattedComponent('formatTime');\nexport var FormattedNumber = createFormattedComponent('formatNumber');\nexport var FormattedList = createFormattedComponent('formatList');\nexport var FormattedDisplayName = createFormattedComponent('formatDisplayName');\nexport var FormattedDateParts = createFormattedDateTimePartsComponent('formatDate');\nexport var FormattedTimeParts = createFormattedDateTimePartsComponent('formatTime');\nexport { FormattedNumberParts } from './components/createFormattedComponent';\nexport { default as FormattedRelativeTime } from './components/relative';\nexport { default as FormattedPlural } from './components/plural';\nexport { default as FormattedMessage } from './components/message';\nexport { default as FormattedHTMLMessage } from './components/html-message';\nexport { createIntlCache } from './utils';","\"use strict\";\n\nexports.__esModule = true;\nexports.useScrollRestoration = exports.ScrollContainer = exports.ScrollContext = void 0;\n\nvar _scrollHandler = require(\"./scroll-handler\");\n\nexports.ScrollContext = _scrollHandler.ScrollHandler;\n\nvar _scrollContainer = require(\"./scroll-container\");\n\nexports.ScrollContainer = _scrollContainer.ScrollContainer;\n\nvar _useScrollRestoration = require(\"./use-scroll-restoration\");\n\nexports.useScrollRestoration = _useScrollRestoration.useScrollRestoration;","\"use strict\";\n\nvar smoothscroll = require('smoothscroll-polyfill');\n\nexports.onClientEntry = function () {\n smoothscroll.polyfill();\n};","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","exports.polyfill = Component => Component\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.wrapPageElement = void 0;\n\nvar _wrapPage = _interopRequireDefault(require(\"./wrap-page\"));\n\nvar wrapPageElement = _wrapPage.default;\nexports.wrapPageElement = wrapPageElement;","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar getLocation = function getLocation(source) {\n var _source$location = source.location,\n search = _source$location.search,\n hash = _source$location.hash,\n href = _source$location.href,\n origin = _source$location.origin,\n protocol = _source$location.protocol,\n host = _source$location.host,\n hostname = _source$location.hostname,\n port = _source$location.port;\n var pathname = source.location.pathname;\n\n\n if (!pathname && href && canUseDOM) {\n var url = new URL(href);\n pathname = url.pathname;\n }\n\n return {\n pathname: encodeURI(decodeURI(pathname)),\n search: search,\n hash: hash,\n href: href,\n origin: origin,\n protocol: protocol,\n host: host,\n hostname: hostname,\n port: port,\n state: source.history.state,\n key: source.history.state && source.history.state.key || \"initial\"\n };\n};\n\nvar createHistory = function createHistory(source, options) {\n var listeners = [];\n var location = getLocation(source);\n var transitioning = false;\n var resolveTransition = function resolveTransition() {};\n\n return {\n get location() {\n return location;\n },\n\n get transitioning() {\n return transitioning;\n },\n\n _onTransitionComplete: function _onTransitionComplete() {\n transitioning = false;\n resolveTransition();\n },\n listen: function listen(listener) {\n listeners.push(listener);\n\n var popstateListener = function popstateListener() {\n location = getLocation(source);\n listener({ location: location, action: \"POP\" });\n };\n\n source.addEventListener(\"popstate\", popstateListener);\n\n return function () {\n source.removeEventListener(\"popstate\", popstateListener);\n listeners = listeners.filter(function (fn) {\n return fn !== listener;\n });\n };\n },\n navigate: function navigate(to) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n state = _ref.state,\n _ref$replace = _ref.replace,\n replace = _ref$replace === undefined ? false : _ref$replace;\n\n if (typeof to === \"number\") {\n source.history.go(to);\n } else {\n state = _extends({}, state, { key: Date.now() + \"\" });\n // try...catch iOS Safari limits to 100 pushState calls\n try {\n if (transitioning || replace) {\n source.history.replaceState(state, null, to);\n } else {\n source.history.pushState(state, null, to);\n }\n } catch (e) {\n source.location[replace ? \"replace\" : \"assign\"](to);\n }\n }\n\n location = getLocation(source);\n transitioning = true;\n var transition = new Promise(function (res) {\n return resolveTransition = res;\n });\n listeners.forEach(function (listener) {\n return listener({ location: location, action: \"PUSH\" });\n });\n return transition;\n }\n };\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// Stores history entries in memory for testing or other platforms like Native\nvar createMemorySource = function createMemorySource() {\n var initialPath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"/\";\n\n var searchIndex = initialPath.indexOf(\"?\");\n var initialLocation = {\n pathname: searchIndex > -1 ? initialPath.substr(0, searchIndex) : initialPath,\n search: searchIndex > -1 ? initialPath.substr(searchIndex) : \"\"\n };\n var index = 0;\n var stack = [initialLocation];\n var states = [null];\n\n return {\n get location() {\n return stack[index];\n },\n addEventListener: function addEventListener(name, fn) {},\n removeEventListener: function removeEventListener(name, fn) {},\n\n history: {\n get entries() {\n return stack;\n },\n get index() {\n return index;\n },\n get state() {\n return states[index];\n },\n pushState: function pushState(state, _, uri) {\n var _uri$split = uri.split(\"?\"),\n pathname = _uri$split[0],\n _uri$split$ = _uri$split[1],\n search = _uri$split$ === undefined ? \"\" : _uri$split$;\n\n index++;\n stack.push({ pathname: pathname, search: search.length ? \"?\" + search : search });\n states.push(state);\n },\n replaceState: function replaceState(state, _, uri) {\n var _uri$split2 = uri.split(\"?\"),\n pathname = _uri$split2[0],\n _uri$split2$ = _uri$split2[1],\n search = _uri$split2$ === undefined ? \"\" : _uri$split2$;\n\n stack[index] = { pathname: pathname, search: search };\n states[index] = state;\n },\n go: function go(to) {\n var newIndex = index + to;\n\n if (newIndex < 0 || newIndex > states.length - 1) {\n return;\n }\n\n index = newIndex;\n }\n }\n };\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// global history - uses window.history as the source if available, otherwise a\n// memory history\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nvar getSource = function getSource() {\n return canUseDOM ? window : createMemorySource();\n};\n\nvar globalHistory = createHistory(getSource());\nvar navigate = globalHistory.navigate;\n\n////////////////////////////////////////////////////////////////////////////////\n\nexport { globalHistory, navigate, createHistory, createMemorySource };","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\n/**\n * Get a manifest filename depending on localized pathname\n *\n * @param {string} pathname\n * @param {Array<{start_url: string, lang: string}>} localizedManifests\n * @return string\n */\nvar _default = function _default(pathname, localizedManifests) {\n var defaultFilename = \"manifest.webmanifest\";\n\n if (!Array.isArray(localizedManifests)) {\n return defaultFilename;\n }\n\n var localizedManifest = localizedManifests.find(function (app) {\n return pathname.startsWith(app.start_url);\n });\n\n if (!localizedManifest) {\n return defaultFilename;\n }\n\n return \"manifest_\" + localizedManifest.lang + \".webmanifest\";\n};\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.ScrollHandler = exports.ScrollContext = void 0;\n\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\n\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _sessionStorage = require(\"./session-storage\");\n\nvar ScrollContext = /*#__PURE__*/React.createContext(new _sessionStorage.SessionStorage());\nexports.ScrollContext = ScrollContext;\nScrollContext.displayName = \"GatsbyScrollContext\";\n\nvar ScrollHandler = /*#__PURE__*/function (_React$Component) {\n (0, _inheritsLoose2.default)(ScrollHandler, _React$Component);\n\n function ScrollHandler() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this._stateStorage = new _sessionStorage.SessionStorage();\n\n _this.scrollListener = function () {\n var key = _this.props.location.key;\n\n if (key) {\n _this._stateStorage.save(_this.props.location, key, window.scrollY);\n }\n };\n\n _this.windowScroll = function (position, prevProps) {\n if (_this.shouldUpdateScroll(prevProps, _this.props)) {\n window.scrollTo(0, position);\n }\n };\n\n _this.scrollToHash = function (hash, prevProps) {\n var node = document.getElementById(hash.substring(1));\n\n if (node && _this.shouldUpdateScroll(prevProps, _this.props)) {\n node.scrollIntoView();\n }\n };\n\n _this.shouldUpdateScroll = function (prevRouterProps, routerProps) {\n var shouldUpdateScroll = _this.props.shouldUpdateScroll;\n\n if (!shouldUpdateScroll) {\n return true;\n } // Hack to allow accessing this._stateStorage.\n\n\n return shouldUpdateScroll.call((0, _assertThisInitialized2.default)(_this), prevRouterProps, routerProps);\n };\n\n return _this;\n }\n\n var _proto = ScrollHandler.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n window.addEventListener(\"scroll\", this.scrollListener);\n var scrollPosition;\n var _this$props$location = this.props.location,\n key = _this$props$location.key,\n hash = _this$props$location.hash;\n\n if (key) {\n scrollPosition = this._stateStorage.read(this.props.location, key);\n }\n\n if (scrollPosition) {\n this.windowScroll(scrollPosition, undefined);\n } else if (hash) {\n this.scrollToHash(decodeURI(hash), undefined);\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n window.removeEventListener(\"scroll\", this.scrollListener);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _this$props$location2 = this.props.location,\n hash = _this$props$location2.hash,\n key = _this$props$location2.key;\n var scrollPosition;\n\n if (key) {\n scrollPosition = this._stateStorage.read(this.props.location, key);\n }\n /** There are two pieces of state: the browser url and\n * history state which keeps track of scroll position\n * Native behaviour prescribes that we ought to restore scroll position\n * when a user navigates back in their browser (this is the `POP` action)\n * Currently, reach router has a bug that prevents this at https://github.com/reach/router/issues/228\n * So we _always_ stick to the url as a source of truth — if the url\n * contains a hash, we scroll to it\n */\n\n\n if (hash) {\n this.scrollToHash(decodeURI(hash), prevProps);\n } else {\n this.windowScroll(scrollPosition, prevProps);\n }\n };\n\n _proto.render = function render() {\n return /*#__PURE__*/React.createElement(ScrollContext.Provider, {\n value: this._stateStorage\n }, this.props.children);\n };\n\n return ScrollHandler;\n}(React.Component);\n\nexports.ScrollHandler = ScrollHandler;\nScrollHandler.propTypes = {\n shouldUpdateScroll: _propTypes.default.func,\n children: _propTypes.default.element.isRequired,\n location: _propTypes.default.object.isRequired\n};","\r\nlet injectedScript = false\r\n\r\nexport const onInitialClientRender = () => {\r\n function addJS(jsCode) {\r\n var s = document.createElement(`script`);\r\n s.type = `text/javascript`;\r\n s.innerText = jsCode;\r\n document.getElementsByTagName(`head`)[0].appendChild(s);\r\n }\r\n // InstrumentationKey for appInsights is held in .env files\r\n if (!injectedScript) { \r\n addJS(`\r\n var sdkInstance = \"appInsightsSDK\"; window[sdkInstance] = \"appInsights\"; var aiName = window[sdkInstance], aisdk = window[aiName] || function (e) { function n(e) { t[e] = function () { var n = arguments; t.queue.push(function () { t[e].apply(t, n) }) } } var t = { config: e }; t.initialize = !0; var i = document, a = window; setTimeout(function () { var n = i.createElement(\"script\"); n.src = e.url || \"https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js\", i.getElementsByTagName(\"script\")[0].parentNode.appendChild(n) }); try { t.cookie = i.cookie } catch (e) { } t.queue = [], t.version = 2; for (var r = [\"Event\", \"PageView\", \"Exception\", \"Trace\", \"DependencyData\", \"Metric\", \"PageViewPerformance\"]; r.length;)n(\"track\" + r.pop()); n(\"startTrackPage\"), n(\"stopTrackPage\"); var s = \"Track\" + r[0]; if (n(\"start\" + s), n(\"stop\" + s), n(\"setAuthenticatedUserContext\"), n(\"clearAuthenticatedUserContext\"), n(\"flush\"), !(!0 === e.disableExceptionTracking || e.extensionConfig && e.extensionConfig.ApplicationInsightsAnalytics && !0 === e.extensionConfig.ApplicationInsightsAnalytics.disableExceptionTracking)) { n(\"_\" + (r = \"onerror\")); var o = a[r]; a[r] = function (e, n, i, a, s) { var c = o && o(e, n, i, a, s); return !0 !== c && t[\"_\" + r]({ message: e, url: n, lineNumber: i, columnNumber: a, error: s }), c }, e.autoExceptionInstrumented = !0 } return t }(\r\n {\r\n connectionString: \"InstrumentationKey=${process.env.INSIGHTS};EndpointSuffix=applicationinsights.us\"\r\n }\r\n ); window[aiName] = aisdk, aisdk.queue && 0 === aisdk.queue.length && aisdk.trackPageView({});\r\n window.appInsights = appInsights;\r\n appInsights.trackPageView();\r\n\r\n `);\r\n injectedScript = true;\r\n }\r\n \r\n} \r\nexport const onClientEntry = () => {\r\n //window.appInsights.trackPageView();\r\n var isIE = document.body.style.msTouchAction !== undefined;\r\n var isEdge = window.navigator.userAgent.indexOf(\"Edge\") > -1;\r\n if(isIE || isEdge){\r\n document.getElementsByTagName(\"body\")[0].innerHTML = \r\n `
\r\n
\r\n

The browser that you are using is not supported by this site. Please use Google Chrome, Microsoft Chromium Edge, Safari, or Mozilla Firefox for the best experience.

\r\n
\r\n

El navegador que está utilizando no es compatible con esta página web. Utilize Google Chrome, Microsoft Chromium Edge, Safari or Mozilla Firefox para un mejor resultado.

\r\n
\r\n
`\r\n }\r\n}\r\n\r\nexport const onRouteUpdate = () => {\r\n navigator.serviceWorker.register('/sw.js').then((reg) => {\r\n reg.update();\r\n });\r\n };\r\n \r\n export const onServiceWorkerUpdateReady = () => {\r\n window.location.reload(true)\r\n };\r\n\r\n","import React, { createElement } from \"react\"\nimport PropTypes from \"prop-types\"\nimport { publicLoader } from \"./loader\"\nimport { apiRunner } from \"./api-runner-browser\"\nimport { grabMatchParams } from \"./find-path\"\n\n// Renders page\nclass PageRenderer extends React.Component {\n render() {\n const props = {\n ...this.props,\n params: {\n ...grabMatchParams(this.props.location.pathname),\n ...this.props.pageResources.json.pageContext.__params,\n },\n pathContext: this.props.pageContext,\n }\n\n const [replacementElement] = apiRunner(`replaceComponentRenderer`, {\n props: this.props,\n loader: publicLoader,\n })\n\n const pageElement =\n replacementElement ||\n createElement(this.props.pageResources.component, {\n ...props,\n key: this.props.path || this.props.pageResources.page.path,\n })\n\n const wrappedPage = apiRunner(\n `wrapPageElement`,\n { element: pageElement, props },\n pageElement,\n ({ result }) => {\n return { element: result, props }\n }\n ).pop()\n\n return wrappedPage\n }\n}\n\nPageRenderer.propTypes = {\n location: PropTypes.object.isRequired,\n pageResources: PropTypes.object.isRequired,\n data: PropTypes.object,\n pageContext: PropTypes.object.isRequired,\n}\n\nexport default PageRenderer\n","/* @generated */\n// prettier-ignore\nif (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {\n Intl.RelativeTimeFormat.__addLocaleData({\n \"data\": {\n \"ses\": {\n \"nu\": [\"latn\"],\n \"year\": {\n \"0\": \"this year\",\n \"1\": \"next year\",\n \"future\": {\n \"other\": \"+{0} y\"\n },\n \"past\": {\n \"other\": \"-{0} y\"\n },\n \"-1\": \"last year\"\n },\n \"year-short\": {\n \"0\": \"this year\",\n \"1\": \"next year\",\n \"future\": {\n \"other\": \"+{0} y\"\n },\n \"past\": {\n \"other\": \"-{0} y\"\n },\n \"-1\": \"last year\"\n },\n \"year-narrow\": {\n \"0\": \"this year\",\n \"1\": \"next year\",\n \"future\": {\n \"other\": \"+{0} y\"\n },\n \"past\": {\n \"other\": \"-{0} y\"\n },\n \"-1\": \"last year\"\n },\n \"quarter\": {\n \"0\": \"this quarter\",\n \"1\": \"next quarter\",\n \"future\": {\n \"other\": \"+{0} Q\"\n },\n \"past\": {\n \"other\": \"-{0} Q\"\n },\n \"-1\": \"last quarter\"\n },\n \"quarter-short\": {\n \"0\": \"this quarter\",\n \"1\": \"next quarter\",\n \"future\": {\n \"other\": \"+{0} Q\"\n },\n \"past\": {\n \"other\": \"-{0} Q\"\n },\n \"-1\": \"last quarter\"\n },\n \"quarter-narrow\": {\n \"0\": \"this quarter\",\n \"1\": \"next quarter\",\n \"future\": {\n \"other\": \"+{0} Q\"\n },\n \"past\": {\n \"other\": \"-{0} Q\"\n },\n \"-1\": \"last quarter\"\n },\n \"month\": {\n \"0\": \"this month\",\n \"1\": \"next month\",\n \"future\": {\n \"other\": \"+{0} m\"\n },\n \"past\": {\n \"other\": \"-{0} m\"\n },\n \"-1\": \"last month\"\n },\n \"month-short\": {\n \"0\": \"this month\",\n \"1\": \"next month\",\n \"future\": {\n \"other\": \"+{0} m\"\n },\n \"past\": {\n \"other\": \"-{0} m\"\n },\n \"-1\": \"last month\"\n },\n \"month-narrow\": {\n \"0\": \"this month\",\n \"1\": \"next month\",\n \"future\": {\n \"other\": \"+{0} m\"\n },\n \"past\": {\n \"other\": \"-{0} m\"\n },\n \"-1\": \"last month\"\n },\n \"week\": {\n \"0\": \"this week\",\n \"1\": \"next week\",\n \"future\": {\n \"other\": \"+{0} w\"\n },\n \"past\": {\n \"other\": \"-{0} w\"\n },\n \"-1\": \"last week\"\n },\n \"week-short\": {\n \"0\": \"this week\",\n \"1\": \"next week\",\n \"future\": {\n \"other\": \"+{0} w\"\n },\n \"past\": {\n \"other\": \"-{0} w\"\n },\n \"-1\": \"last week\"\n },\n \"week-narrow\": {\n \"0\": \"this week\",\n \"1\": \"next week\",\n \"future\": {\n \"other\": \"+{0} w\"\n },\n \"past\": {\n \"other\": \"-{0} w\"\n },\n \"-1\": \"last week\"\n },\n \"day\": {\n \"0\": \"Hõo\",\n \"1\": \"Suba\",\n \"future\": {\n \"other\": \"+{0} d\"\n },\n \"past\": {\n \"other\": \"-{0} d\"\n },\n \"-1\": \"Bi\"\n },\n \"day-short\": {\n \"0\": \"Hõo\",\n \"1\": \"Suba\",\n \"future\": {\n \"other\": \"+{0} d\"\n },\n \"past\": {\n \"other\": \"-{0} d\"\n },\n \"-1\": \"Bi\"\n },\n \"day-narrow\": {\n \"0\": \"Hõo\",\n \"1\": \"Suba\",\n \"future\": {\n \"other\": \"+{0} d\"\n },\n \"past\": {\n \"other\": \"-{0} d\"\n },\n \"-1\": \"Bi\"\n },\n \"hour\": {\n \"0\": \"this hour\",\n \"future\": {\n \"other\": \"+{0} h\"\n },\n \"past\": {\n \"other\": \"-{0} h\"\n }\n },\n \"hour-short\": {\n \"0\": \"this hour\",\n \"future\": {\n \"other\": \"+{0} h\"\n },\n \"past\": {\n \"other\": \"-{0} h\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"this hour\",\n \"future\": {\n \"other\": \"+{0} h\"\n },\n \"past\": {\n \"other\": \"-{0} h\"\n }\n },\n \"minute\": {\n \"0\": \"this minute\",\n \"future\": {\n \"other\": \"+{0} min\"\n },\n \"past\": {\n \"other\": \"-{0} min\"\n }\n },\n \"minute-short\": {\n \"0\": \"this minute\",\n \"future\": {\n \"other\": \"+{0} min\"\n },\n \"past\": {\n \"other\": \"-{0} min\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"this minute\",\n \"future\": {\n \"other\": \"+{0} min\"\n },\n \"past\": {\n \"other\": \"-{0} min\"\n }\n },\n \"second\": {\n \"0\": \"now\",\n \"future\": {\n \"other\": \"+{0} s\"\n },\n \"past\": {\n \"other\": \"-{0} s\"\n }\n },\n \"second-short\": {\n \"0\": \"now\",\n \"future\": {\n \"other\": \"+{0} s\"\n },\n \"past\": {\n \"other\": \"-{0} s\"\n }\n },\n \"second-narrow\": {\n \"0\": \"now\",\n \"future\": {\n \"other\": \"+{0} s\"\n },\n \"past\": {\n \"other\": \"-{0} s\"\n }\n }\n }\n },\n \"availableLocales\": [\"ses\"],\n \"aliases\": {},\n \"parentLocales\": {}\n });\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","var __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return __assign.apply(this, arguments);\n};\n\nvar MS_PER_SECOND = 1e3;\nvar SECS_PER_MIN = 60;\nvar SECS_PER_HOUR = SECS_PER_MIN * 60;\nvar SECS_PER_DAY = SECS_PER_HOUR * 24;\nvar SECS_PER_WEEK = SECS_PER_DAY * 7;\nexport function selectUnit(from, to, thresholds) {\n if (to === void 0) {\n to = Date.now();\n }\n\n if (thresholds === void 0) {\n thresholds = {};\n }\n\n var resolvedThresholds = __assign(__assign({}, DEFAULT_THRESHOLDS), thresholds || {});\n\n var secs = (+from - +to) / MS_PER_SECOND;\n\n if (Math.abs(secs) < resolvedThresholds.second) {\n return {\n value: Math.round(secs),\n unit: 'second'\n };\n }\n\n var mins = secs / SECS_PER_MIN;\n\n if (Math.abs(mins) < resolvedThresholds.minute) {\n return {\n value: Math.round(mins),\n unit: 'minute'\n };\n }\n\n var hours = secs / SECS_PER_HOUR;\n\n if (Math.abs(hours) < resolvedThresholds.hour) {\n return {\n value: Math.round(hours),\n unit: 'hour'\n };\n }\n\n var days = secs / SECS_PER_DAY;\n\n if (Math.abs(days) < resolvedThresholds.day) {\n return {\n value: Math.round(days),\n unit: 'day'\n };\n }\n\n var fromDate = new Date(from);\n var toDate = new Date(to);\n var years = fromDate.getFullYear() - toDate.getFullYear();\n\n if (Math.round(Math.abs(years)) > 0) {\n return {\n value: Math.round(years),\n unit: 'year'\n };\n }\n\n var months = years * 12 + fromDate.getMonth() - toDate.getMonth();\n\n if (Math.round(Math.abs(months)) > 0) {\n return {\n value: Math.round(months),\n unit: 'month'\n };\n }\n\n var weeks = secs / SECS_PER_WEEK;\n return {\n value: Math.round(weeks),\n unit: 'week'\n };\n}\nexport var DEFAULT_THRESHOLDS = {\n second: 45,\n minute: 45,\n hour: 22,\n day: 5\n};","/* @generated */\n// prettier-ignore \nexport default {\n \"aa-SAAHO\": \"ssy\",\n \"aam\": \"aas\",\n \"aar\": \"aa\",\n \"abk\": \"ab\",\n \"adp\": \"dz\",\n \"afr\": \"af\",\n \"aju\": \"jrb\",\n \"aka\": \"ak\",\n \"alb\": \"sq\",\n \"als\": \"sq\",\n \"amh\": \"am\",\n \"ara\": \"ar\",\n \"arb\": \"ar\",\n \"arg\": \"an\",\n \"arm\": \"hy\",\n \"art-lojban\": \"jbo\",\n \"asd\": \"snz\",\n \"asm\": \"as\",\n \"aue\": \"ktz\",\n \"ava\": \"av\",\n \"ave\": \"ae\",\n \"aym\": \"ay\",\n \"ayr\": \"ay\",\n \"ayx\": \"nun\",\n \"az-AZ\": \"az-Latn-AZ\",\n \"aze\": \"az\",\n \"azj\": \"az\",\n \"bak\": \"ba\",\n \"bam\": \"bm\",\n \"baq\": \"eu\",\n \"bcc\": \"bal\",\n \"bcl\": \"bik\",\n \"bel\": \"be\",\n \"ben\": \"bn\",\n \"bgm\": \"bcg\",\n \"bh\": \"bho\",\n \"bih\": \"bho\",\n \"bis\": \"bi\",\n \"bjd\": \"drl\",\n \"bod\": \"bo\",\n \"bos\": \"bs\",\n \"bre\": \"br\",\n \"bs-BA\": \"bs-Latn-BA\",\n \"bul\": \"bg\",\n \"bur\": \"my\",\n \"bxk\": \"luy\",\n \"bxr\": \"bua\",\n \"cat\": \"ca\",\n \"ccq\": \"rki\",\n \"cel-gaulish\": \"xtg-x-cel-gaulish\",\n \"ces\": \"cs\",\n \"cha\": \"ch\",\n \"che\": \"ce\",\n \"chi\": \"zh\",\n \"chu\": \"cu\",\n \"chv\": \"cv\",\n \"cjr\": \"mom\",\n \"cka\": \"cmr\",\n \"cld\": \"syr\",\n \"cmk\": \"xch\",\n \"cmn\": \"zh\",\n \"cnr\": \"sr-ME\",\n \"cor\": \"kw\",\n \"cos\": \"co\",\n \"coy\": \"pij\",\n \"cqu\": \"quh\",\n \"cre\": \"cr\",\n \"cwd\": \"cr\",\n \"cym\": \"cy\",\n \"cze\": \"cs\",\n \"dan\": \"da\",\n \"deu\": \"de\",\n \"dgo\": \"doi\",\n \"dhd\": \"mwr\",\n \"dik\": \"din\",\n \"diq\": \"zza\",\n \"dit\": \"dif\",\n \"div\": \"dv\",\n \"drh\": \"mn\",\n \"drw\": \"fa-af\",\n \"dut\": \"nl\",\n \"dzo\": \"dz\",\n \"ekk\": \"et\",\n \"ell\": \"el\",\n \"emk\": \"man\",\n \"eng\": \"en\",\n \"epo\": \"eo\",\n \"esk\": \"ik\",\n \"est\": \"et\",\n \"eus\": \"eu\",\n \"ewe\": \"ee\",\n \"fao\": \"fo\",\n \"fas\": \"fa\",\n \"fat\": \"ak\",\n \"fij\": \"fj\",\n \"fin\": \"fi\",\n \"fra\": \"fr\",\n \"fre\": \"fr\",\n \"fry\": \"fy\",\n \"fuc\": \"ff\",\n \"ful\": \"ff\",\n \"gav\": \"dev\",\n \"gaz\": \"om\",\n \"gbo\": \"grb\",\n \"geo\": \"ka\",\n \"ger\": \"de\",\n \"gfx\": \"vaj\",\n \"ggn\": \"gvr\",\n \"gla\": \"gd\",\n \"gle\": \"ga\",\n \"glg\": \"gl\",\n \"glv\": \"gv\",\n \"gno\": \"gon\",\n \"gre\": \"el\",\n \"grn\": \"gn\",\n \"gti\": \"nyc\",\n \"gug\": \"gn\",\n \"guj\": \"gu\",\n \"guv\": \"duz\",\n \"gya\": \"gba\",\n \"ha-Latn-GH\": \"ha-GH\",\n \"ha-Latn-NE\": \"ha-NE\",\n \"ha-Latn-NG\": \"ha-NG\",\n \"hat\": \"ht\",\n \"hau\": \"ha\",\n \"hbs\": \"sr-Latn\",\n \"hdn\": \"hai\",\n \"hea\": \"hmn\",\n \"heb\": \"he\",\n \"her\": \"hz\",\n \"him\": \"srx\",\n \"hin\": \"hi\",\n \"hmo\": \"ho\",\n \"hrr\": \"jal\",\n \"hrv\": \"hr\",\n \"hun\": \"hu\",\n \"hye\": \"hy\",\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 \"i-default\": \"en-x-i-default\",\n \"i-enochian\": \"und-x-i-enochian\",\n \"i-mingo\": \"see-x-i-mingo\",\n \"ibi\": \"opa\",\n \"ibo\": \"ig\",\n \"ice\": \"is\",\n \"ido\": \"io\",\n \"iii\": \"ii\",\n \"ike\": \"iu\",\n \"iku\": \"iu\",\n \"ile\": \"ie\",\n \"ilw\": \"gal\",\n \"in\": \"id\",\n \"ina\": \"ia\",\n \"ind\": \"id\",\n \"ipk\": \"ik\",\n \"isl\": \"is\",\n \"ita\": \"it\",\n \"iw\": \"he\",\n \"jav\": \"jv\",\n \"jeg\": \"oyb\",\n \"ji\": \"yi\",\n \"jpn\": \"ja\",\n \"jw\": \"jv\",\n \"kal\": \"kl\",\n \"kan\": \"kn\",\n \"kas\": \"ks\",\n \"kat\": \"ka\",\n \"kau\": \"kr\",\n \"kaz\": \"kk\",\n \"kgc\": \"tdf\",\n \"kgh\": \"kml\",\n \"khk\": \"mn\",\n \"khm\": \"km\",\n \"kik\": \"ki\",\n \"kin\": \"rw\",\n \"kir\": \"ky\",\n \"kk-Cyrl-KZ\": \"kk-KZ\",\n \"kmr\": \"ku\",\n \"knc\": \"kr\",\n \"kng\": \"kg\",\n \"knn\": \"kok\",\n \"koj\": \"kwv\",\n \"kom\": \"kv\",\n \"kon\": \"kg\",\n \"kor\": \"ko\",\n \"kpv\": \"kv\",\n \"krm\": \"bmf\",\n \"ks-Arab-IN\": \"ks-IN\",\n \"ktr\": \"dtp\",\n \"kua\": \"kj\",\n \"kur\": \"ku\",\n \"kvs\": \"gdj\",\n \"kwq\": \"yam\",\n \"kxe\": \"tvd\",\n \"ky-Cyrl-KG\": \"ky-KG\",\n \"kzj\": \"dtp\",\n \"kzt\": \"dtp\",\n \"lao\": \"lo\",\n \"lat\": \"la\",\n \"lav\": \"lv\",\n \"lbk\": \"bnc\",\n \"lii\": \"raq\",\n \"lim\": \"li\",\n \"lin\": \"ln\",\n \"lit\": \"lt\",\n \"llo\": \"ngt\",\n \"lmm\": \"rmx\",\n \"ltz\": \"lb\",\n \"lub\": \"lu\",\n \"lug\": \"lg\",\n \"lvs\": \"lv\",\n \"mac\": \"mk\",\n \"mah\": \"mh\",\n \"mal\": \"ml\",\n \"mao\": \"mi\",\n \"mar\": \"mr\",\n \"may\": \"ms\",\n \"meg\": \"cir\",\n \"mhr\": \"chm\",\n \"mkd\": \"mk\",\n \"mlg\": \"mg\",\n \"mlt\": \"mt\",\n \"mn-Cyrl-MN\": \"mn-MN\",\n \"mnk\": \"man\",\n \"mo\": \"ro\",\n \"mol\": \"ro\",\n \"mon\": \"mn\",\n \"mri\": \"mi\",\n \"ms-Latn-BN\": \"ms-BN\",\n \"ms-Latn-MY\": \"ms-MY\",\n \"ms-Latn-SG\": \"ms-SG\",\n \"msa\": \"ms\",\n \"mst\": \"mry\",\n \"mup\": \"raj\",\n \"mwj\": \"vaj\",\n \"mya\": \"my\",\n \"myd\": \"aog\",\n \"myt\": \"mry\",\n \"nad\": \"xny\",\n \"nau\": \"na\",\n \"nav\": \"nv\",\n \"nbl\": \"nr\",\n \"ncp\": \"kdz\",\n \"nde\": \"nd\",\n \"ndo\": \"ng\",\n \"nep\": \"ne\",\n \"nld\": \"nl\",\n \"nno\": \"nn\",\n \"nns\": \"nbr\",\n \"nnx\": \"ngv\",\n \"no\": \"nb\",\n \"no-bok\": \"nb\",\n \"no-BOKMAL\": \"nb\",\n \"no-nyn\": \"nn\",\n \"no-NYNORSK\": \"nn\",\n \"nob\": \"nb\",\n \"nor\": \"nb\",\n \"npi\": \"ne\",\n \"nts\": \"pij\",\n \"nya\": \"ny\",\n \"oci\": \"oc\",\n \"ojg\": \"oj\",\n \"oji\": \"oj\",\n \"ori\": \"or\",\n \"orm\": \"om\",\n \"ory\": \"or\",\n \"oss\": \"os\",\n \"oun\": \"vaj\",\n \"pa-IN\": \"pa-Guru-IN\",\n \"pa-PK\": \"pa-Arab-PK\",\n \"pan\": \"pa\",\n \"pbu\": \"ps\",\n \"pcr\": \"adx\",\n \"per\": \"fa\",\n \"pes\": \"fa\",\n \"pli\": \"pi\",\n \"plt\": \"mg\",\n \"pmc\": \"huw\",\n \"pmu\": \"phr\",\n \"pnb\": \"lah\",\n \"pol\": \"pl\",\n \"por\": \"pt\",\n \"ppa\": \"bfy\",\n \"ppr\": \"lcq\",\n \"prs\": \"fa-AF\",\n \"pry\": \"prt\",\n \"pus\": \"ps\",\n \"puz\": \"pub\",\n \"que\": \"qu\",\n \"quz\": \"qu\",\n \"rmy\": \"rom\",\n \"roh\": \"rm\",\n \"ron\": \"ro\",\n \"rum\": \"ro\",\n \"run\": \"rn\",\n \"rus\": \"ru\",\n \"sag\": \"sg\",\n \"san\": \"sa\",\n \"sca\": \"hle\",\n \"scc\": \"sr\",\n \"scr\": \"hr\",\n \"sgn-BE-FR\": \"sfb\",\n \"sgn-BE-NL\": \"vgt\",\n \"sgn-CH-DE\": \"sgg\",\n \"sh\": \"sr-Latn\",\n \"shi-MA\": \"shi-Tfng-MA\",\n \"sin\": \"si\",\n \"skk\": \"oyb\",\n \"slk\": \"sk\",\n \"slo\": \"sk\",\n \"slv\": \"sl\",\n \"sme\": \"se\",\n \"smo\": \"sm\",\n \"sna\": \"sn\",\n \"snd\": \"sd\",\n \"som\": \"so\",\n \"sot\": \"st\",\n \"spa\": \"es\",\n \"spy\": \"kln\",\n \"sqi\": \"sq\",\n \"sr-BA\": \"sr-Cyrl-BA\",\n \"sr-ME\": \"sr-Latn-ME\",\n \"sr-RS\": \"sr-Cyrl-RS\",\n \"sr-XK\": \"sr-Cyrl-XK\",\n \"src\": \"sc\",\n \"srd\": \"sc\",\n \"srp\": \"sr\",\n \"ssw\": \"ss\",\n \"sun\": \"su\",\n \"swa\": \"sw\",\n \"swc\": \"sw-CD\",\n \"swe\": \"sv\",\n \"swh\": \"sw\",\n \"tah\": \"ty\",\n \"tam\": \"ta\",\n \"tat\": \"tt\",\n \"tdu\": \"dtp\",\n \"tel\": \"te\",\n \"tgk\": \"tg\",\n \"tgl\": \"fil\",\n \"tha\": \"th\",\n \"thc\": \"tpo\",\n \"thx\": \"oyb\",\n \"tib\": \"bo\",\n \"tie\": \"ras\",\n \"tir\": \"ti\",\n \"tkk\": \"twm\",\n \"tl\": \"fil\",\n \"tlw\": \"weo\",\n \"tmp\": \"tyj\",\n \"tne\": \"kak\",\n \"tnf\": \"fa-af\",\n \"ton\": \"to\",\n \"tsf\": \"taj\",\n \"tsn\": \"tn\",\n \"tso\": \"ts\",\n \"ttq\": \"tmh\",\n \"tuk\": \"tk\",\n \"tur\": \"tr\",\n \"tw\": \"ak\",\n \"twi\": \"ak\",\n \"tzm-Latn-MA\": \"tzm-MA\",\n \"ug-Arab-CN\": \"ug-CN\",\n \"uig\": \"ug\",\n \"ukr\": \"uk\",\n \"umu\": \"del\",\n \"uok\": \"ema\",\n \"urd\": \"ur\",\n \"uz-AF\": \"uz-Arab-AF\",\n \"uz-UZ\": \"uz-Latn-UZ\",\n \"uzb\": \"uz\",\n \"uzn\": \"uz\",\n \"vai-LR\": \"vai-Vaii-LR\",\n \"ven\": \"ve\",\n \"vie\": \"vi\",\n \"vol\": \"vo\",\n \"wel\": \"cy\",\n \"wln\": \"wa\",\n \"wol\": \"wo\",\n \"xba\": \"cax\",\n \"xho\": \"xh\",\n \"xia\": \"acn\",\n \"xkh\": \"waw\",\n \"xpe\": \"kpe\",\n \"xsj\": \"suj\",\n \"xsl\": \"den\",\n \"ybd\": \"rki\",\n \"ydd\": \"yi\",\n \"yid\": \"yi\",\n \"yma\": \"lrr\",\n \"ymt\": \"mtm\",\n \"yor\": \"yo\",\n \"yos\": \"zom\",\n \"yue-CN\": \"yue-Hans-CN\",\n \"yue-HK\": \"yue-Hant-HK\",\n \"yuu\": \"yug\",\n \"zai\": \"zap\",\n \"zh-CN\": \"zh-Hans-CN\",\n \"zh-guoyu\": \"zh\",\n \"zh-hakka\": \"hak\",\n \"zh-HK\": \"zh-Hant-HK\",\n \"zh-min-nan\": \"nan\",\n \"zh-MO\": \"zh-Hant-MO\",\n \"zh-SG\": \"zh-Hans-SG\",\n \"zh-TW\": \"zh-Hant-TW\",\n \"zh-xiang\": \"hsn\",\n \"zh-min\": \"nan-x-zh-min\",\n \"zha\": \"za\",\n \"zho\": \"zh\",\n \"zsm\": \"ms\",\n \"zul\": \"zu\",\n \"zyb\": \"za\"\n};","/* @generated */\n// prettier-ignore \nexport default {\n \"en-150\": \"en-001\",\n \"en-AG\": \"en-001\",\n \"en-AI\": \"en-001\",\n \"en-AU\": \"en-001\",\n \"en-BB\": \"en-001\",\n \"en-BM\": \"en-001\",\n \"en-BS\": \"en-001\",\n \"en-BW\": \"en-001\",\n \"en-BZ\": \"en-001\",\n \"en-CA\": \"en-001\",\n \"en-CC\": \"en-001\",\n \"en-CK\": \"en-001\",\n \"en-CM\": \"en-001\",\n \"en-CX\": \"en-001\",\n \"en-CY\": \"en-001\",\n \"en-DG\": \"en-001\",\n \"en-DM\": \"en-001\",\n \"en-ER\": \"en-001\",\n \"en-FJ\": \"en-001\",\n \"en-FK\": \"en-001\",\n \"en-FM\": \"en-001\",\n \"en-GB\": \"en-001\",\n \"en-GD\": \"en-001\",\n \"en-GG\": \"en-001\",\n \"en-GH\": \"en-001\",\n \"en-GI\": \"en-001\",\n \"en-GM\": \"en-001\",\n \"en-GY\": \"en-001\",\n \"en-HK\": \"en-001\",\n \"en-IE\": \"en-001\",\n \"en-IL\": \"en-001\",\n \"en-IM\": \"en-001\",\n \"en-IN\": \"en-001\",\n \"en-IO\": \"en-001\",\n \"en-JE\": \"en-001\",\n \"en-JM\": \"en-001\",\n \"en-KE\": \"en-001\",\n \"en-KI\": \"en-001\",\n \"en-KN\": \"en-001\",\n \"en-KY\": \"en-001\",\n \"en-LC\": \"en-001\",\n \"en-LR\": \"en-001\",\n \"en-LS\": \"en-001\",\n \"en-MG\": \"en-001\",\n \"en-MO\": \"en-001\",\n \"en-MS\": \"en-001\",\n \"en-MT\": \"en-001\",\n \"en-MU\": \"en-001\",\n \"en-MW\": \"en-001\",\n \"en-MY\": \"en-001\",\n \"en-NA\": \"en-001\",\n \"en-NF\": \"en-001\",\n \"en-NG\": \"en-001\",\n \"en-NR\": \"en-001\",\n \"en-NU\": \"en-001\",\n \"en-NZ\": \"en-001\",\n \"en-PG\": \"en-001\",\n \"en-PH\": \"en-001\",\n \"en-PK\": \"en-001\",\n \"en-PN\": \"en-001\",\n \"en-PW\": \"en-001\",\n \"en-RW\": \"en-001\",\n \"en-SB\": \"en-001\",\n \"en-SC\": \"en-001\",\n \"en-SD\": \"en-001\",\n \"en-SG\": \"en-001\",\n \"en-SH\": \"en-001\",\n \"en-SL\": \"en-001\",\n \"en-SS\": \"en-001\",\n \"en-SX\": \"en-001\",\n \"en-SZ\": \"en-001\",\n \"en-TC\": \"en-001\",\n \"en-TK\": \"en-001\",\n \"en-TO\": \"en-001\",\n \"en-TT\": \"en-001\",\n \"en-TV\": \"en-001\",\n \"en-TZ\": \"en-001\",\n \"en-UG\": \"en-001\",\n \"en-VC\": \"en-001\",\n \"en-VG\": \"en-001\",\n \"en-VU\": \"en-001\",\n \"en-WS\": \"en-001\",\n \"en-ZA\": \"en-001\",\n \"en-ZM\": \"en-001\",\n \"en-ZW\": \"en-001\",\n \"en-AT\": \"en-150\",\n \"en-BE\": \"en-150\",\n \"en-CH\": \"en-150\",\n \"en-DE\": \"en-150\",\n \"en-DK\": \"en-150\",\n \"en-FI\": \"en-150\",\n \"en-NL\": \"en-150\",\n \"en-SE\": \"en-150\",\n \"en-SI\": \"en-150\",\n \"es-AR\": \"es-419\",\n \"es-BO\": \"es-419\",\n \"es-BR\": \"es-419\",\n \"es-BZ\": \"es-419\",\n \"es-CL\": \"es-419\",\n \"es-CO\": \"es-419\",\n \"es-CR\": \"es-419\",\n \"es-CU\": \"es-419\",\n \"es-DO\": \"es-419\",\n \"es-EC\": \"es-419\",\n \"es-GT\": \"es-419\",\n \"es-HN\": \"es-419\",\n \"es-MX\": \"es-419\",\n \"es-NI\": \"es-419\",\n \"es-PA\": \"es-419\",\n \"es-PE\": \"es-419\",\n \"es-PR\": \"es-419\",\n \"es-PY\": \"es-419\",\n \"es-SV\": \"es-419\",\n \"es-US\": \"es-419\",\n \"es-UY\": \"es-419\",\n \"es-VE\": \"es-419\",\n \"pt-AO\": \"pt-PT\",\n \"pt-CH\": \"pt-PT\",\n \"pt-CV\": \"pt-PT\",\n \"pt-FR\": \"pt-PT\",\n \"pt-GQ\": \"pt-PT\",\n \"pt-GW\": \"pt-PT\",\n \"pt-LU\": \"pt-PT\",\n \"pt-MO\": \"pt-PT\",\n \"pt-MZ\": \"pt-PT\",\n \"pt-ST\": \"pt-PT\",\n \"pt-TL\": \"pt-PT\",\n \"zh-Hant-MO\": \"zh-Hant-HK\"\n};","import aliases from './aliases';\nimport parentLocales from './parentLocales';\nimport { invariant } from './invariant';\n/**\n * https://tc39.es/ecma262/#sec-toobject\n * @param arg\n */\n\nexport function toObject(arg) {\n if (arg == null) {\n throw new TypeError('undefined/null cannot be converted to object');\n }\n\n return Object(arg);\n}\n/**\n * https://tc39.es/ecma262/#sec-tostring\n */\n\nexport function toString(o) {\n // Only symbol is irregular...\n if (typeof o === 'symbol') {\n throw TypeError('Cannot convert a Symbol value to a string');\n }\n\n return String(o);\n}\n/**\n * https://tc39.es/ecma402/#sec-getoption\n * @param opts\n * @param prop\n * @param type\n * @param values\n * @param fallback\n */\n\nexport function getOption(opts, prop, type, values, fallback) {\n // const descriptor = Object.getOwnPropertyDescriptor(opts, prop);\n var value = opts[prop];\n\n if (value !== undefined) {\n if (type !== 'boolean' && type !== 'string') {\n throw new TypeError('invalid type');\n }\n\n if (type === 'boolean') {\n value = Boolean(value);\n }\n\n if (type === 'string') {\n value = toString(value);\n }\n\n if (values !== undefined && !values.filter(function (val) {\n return val == value;\n }).length) {\n throw new RangeError(value + \" is not within \" + values.join(', '));\n }\n\n return value;\n }\n\n return fallback;\n}\n/**\n * https://tc39.es/ecma402/#sec-defaultnumberoption\n * @param val\n * @param min\n * @param max\n * @param fallback\n */\n\nexport function defaultNumberOption(val, min, max, fallback) {\n if (val !== undefined) {\n val = Number(val);\n\n if (isNaN(val) || val < min || val > max) {\n throw new RangeError(val + \" is outside of range [\" + min + \", \" + max + \"]\");\n }\n\n return Math.floor(val);\n }\n\n return fallback;\n}\n/**\n * https://tc39.es/ecma402/#sec-getnumberoption\n * @param options\n * @param property\n * @param min\n * @param max\n * @param fallback\n */\n\nexport function getNumberOption(options, property, minimum, maximum, fallback) {\n var val = options[property];\n return defaultNumberOption(val, minimum, maximum, fallback);\n}\nexport function getAliasesByLang(lang) {\n return Object.keys(aliases).reduce(function (all, locale) {\n if (locale.split('-')[0] === lang) {\n all[locale] = aliases[locale];\n }\n\n return all;\n }, {});\n}\nexport function getParentLocalesByLang(lang) {\n return Object.keys(parentLocales).reduce(function (all, locale) {\n if (locale.split('-')[0] === lang) {\n all[locale] = parentLocales[locale];\n }\n\n return all;\n }, {});\n}\nexport function setInternalSlot(map, pl, field, value) {\n if (!map.get(pl)) {\n map.set(pl, Object.create(null));\n }\n\n var slots = map.get(pl);\n slots[field] = value;\n}\nexport function setMultiInternalSlots(map, pl, props) {\n for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {\n var k = _a[_i];\n setInternalSlot(map, pl, k, props[k]);\n }\n}\nexport function getInternalSlot(map, pl, field) {\n return getMultiInternalSlots(map, pl, field)[field];\n}\nexport function getMultiInternalSlots(map, pl) {\n var fields = [];\n\n for (var _i = 2; _i < arguments.length; _i++) {\n fields[_i - 2] = arguments[_i];\n }\n\n var slots = map.get(pl);\n\n if (!slots) {\n throw new TypeError(pl + \" InternalSlot has not been initialized\");\n }\n\n return fields.reduce(function (all, f) {\n all[f] = slots[f];\n return all;\n }, Object.create(null));\n}\nexport function isLiteralPart(patternPart) {\n return patternPart.type === 'literal';\n}\nexport function partitionPattern(pattern) {\n var result = [];\n var beginIndex = pattern.indexOf('{');\n var endIndex = 0;\n var nextIndex = 0;\n var length = pattern.length;\n\n while (beginIndex < pattern.length && beginIndex > -1) {\n endIndex = pattern.indexOf('}', beginIndex);\n invariant(endIndex > beginIndex, \"Invalid pattern \" + pattern);\n\n if (beginIndex > nextIndex) {\n result.push({\n type: 'literal',\n value: pattern.substring(nextIndex, beginIndex)\n });\n }\n\n result.push({\n type: pattern.substring(beginIndex + 1, endIndex),\n value: undefined\n });\n nextIndex = endIndex + 1;\n beginIndex = pattern.indexOf('{', nextIndex);\n }\n\n if (nextIndex < length) {\n result.push({\n type: 'literal',\n value: pattern.substring(nextIndex, length)\n });\n }\n\n return result;\n}\n/**\n * https://tc39.es/ecma402/#sec-setnfdigitoptions\n * https://tc39.es/proposal-unified-intl-numberformat/section11/numberformat_diff_out.html#sec-setnfdigitoptions\n * @param intlObj\n * @param opts\n * @param mnfdDefault\n * @param mxfdDefault\n */\n\nexport function setNumberFormatDigitOptions(internalSlotMap, intlObj, opts, mnfdDefault, mxfdDefault) {\n var mnid = getNumberOption(opts, 'minimumIntegerDigits', 1, 21, 1);\n var mnfd = opts.minimumFractionDigits;\n var mxfd = opts.maximumFractionDigits;\n var mnsd = opts.minimumSignificantDigits;\n var mxsd = opts.maximumSignificantDigits;\n setInternalSlot(internalSlotMap, intlObj, 'minimumIntegerDigits', mnid);\n\n if (mnsd !== undefined || mxsd !== undefined) {\n setInternalSlot(internalSlotMap, intlObj, 'roundingType', 'significantDigits');\n mnsd = defaultNumberOption(mnsd, 1, 21, 1);\n mxsd = defaultNumberOption(mxsd, mnsd, 21, 21);\n setInternalSlot(internalSlotMap, intlObj, 'minimumSignificantDigits', mnsd);\n setInternalSlot(internalSlotMap, intlObj, 'maximumSignificantDigits', mxsd);\n } else if (mnfd !== undefined || mxfd !== undefined) {\n setInternalSlot(internalSlotMap, intlObj, 'roundingType', 'fractionDigits');\n mnfd = defaultNumberOption(mnfd, 0, 20, mnfdDefault);\n var mxfdActualDefault = Math.max(mnfd, mxfdDefault);\n mxfd = defaultNumberOption(mxfd, mnfd, 20, mxfdActualDefault);\n setInternalSlot(internalSlotMap, intlObj, 'minimumFractionDigits', mnfd);\n setInternalSlot(internalSlotMap, intlObj, 'maximumFractionDigits', mxfd);\n } else if (getInternalSlot(internalSlotMap, intlObj, 'notation') === 'compact') {\n setInternalSlot(internalSlotMap, intlObj, 'roundingType', 'compactRounding');\n } else {\n setInternalSlot(internalSlotMap, intlObj, 'roundingType', 'fractionDigits');\n setInternalSlot(internalSlotMap, intlObj, 'minimumFractionDigits', mnfdDefault);\n setInternalSlot(internalSlotMap, intlObj, 'maximumFractionDigits', mxfdDefault);\n }\n}\nexport function objectIs(x, y) {\n if (Object.is) {\n return Object.is(x, y);\n } // SameValue algorithm\n\n\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } // Step 6.a: NaN == NaN\n\n\n return x !== x && y !== y;\n}\nvar NOT_A_Z_REGEX = /[^A-Z]/;\n/**\n * This follows https://tc39.es/ecma402/#sec-case-sensitivity-and-case-mapping\n * @param str string to convert\n */\n\nfunction toUpperCase(str) {\n return str.replace(/([a-z])/g, function (_, c) {\n return c.toUpperCase();\n });\n}\n/**\n * https://tc39.es/proposal-unified-intl-numberformat/section6/locales-currencies-tz_proposed_out.html#sec-iswellformedcurrencycode\n * @param currency\n */\n\n\nexport function isWellFormedCurrencyCode(currency) {\n currency = toUpperCase(currency);\n\n if (currency.length !== 3) {\n return false;\n }\n\n if (NOT_A_Z_REGEX.test(currency)) {\n return false;\n }\n\n return true;\n}","/**\n * IE11-safe version of getCanonicalLocales since it's ES2016\n * @param locales locales\n */\nexport function getCanonicalLocales(locales) {\n // IE11\n var getCanonicalLocales = Intl.getCanonicalLocales;\n\n if (typeof getCanonicalLocales === 'function') {\n return getCanonicalLocales(locales);\n } // NOTE: we must NOT call `supportedLocalesOf` of a formatjs polyfill, or their implementation\n // will even eventually call this method recursively. Here we use `Intl.DateTimeFormat` since it\n // is not polyfilled by `@formatjs`.\n // TODO: Fix TypeScript type def for this bc undefined is just fine\n\n\n return Intl.DateTimeFormat.supportedLocalesOf(locales);\n}","var __extends = this && this.__extends || function () {\n var _extendStatics = function extendStatics(d, b) {\n _extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n };\n\n return _extendStatics(d, b);\n };\n\n return function (d, b) {\n _extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\n\nvar __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return __assign.apply(this, arguments);\n};\n\nimport { getCanonicalLocales } from './get-canonical-locales';\nimport { invariant } from './invariant';\nimport { toObject, getOption } from './polyfill-utils';\nexport function createResolveLocale(getDefaultLocale) {\n var lookupMatcher = createLookupMatcher(getDefaultLocale);\n var bestFitMatcher = createBestFitMatcher(getDefaultLocale);\n /**\n * https://tc39.es/ecma402/#sec-resolvelocale\n */\n\n return function resolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData) {\n var matcher = options.localeMatcher;\n var r;\n\n if (matcher === 'lookup') {\n r = lookupMatcher(availableLocales, requestedLocales);\n } else {\n r = bestFitMatcher(availableLocales, requestedLocales);\n }\n\n var foundLocale = r.locale;\n var result = {\n locale: '',\n dataLocale: foundLocale\n };\n var supportedExtension = '-u';\n\n for (var _i = 0, relevantExtensionKeys_1 = relevantExtensionKeys; _i < relevantExtensionKeys_1.length; _i++) {\n var key = relevantExtensionKeys_1[_i];\n var foundLocaleData = localeData[foundLocale];\n invariant(typeof foundLocaleData === 'object' && foundLocaleData !== null, \"locale data \" + key + \" must be an object\");\n var keyLocaleData = foundLocaleData[key];\n invariant(Array.isArray(keyLocaleData), \"keyLocaleData for \" + key + \" must be an array\");\n var value = keyLocaleData[0];\n invariant(typeof value === 'string' || value === null, 'value must be string or null');\n var supportedExtensionAddition = '';\n\n if (r.extension) {\n var requestedValue = unicodeExtensionValue(r.extension, key);\n\n if (requestedValue !== undefined) {\n if (requestedValue !== '') {\n if (~keyLocaleData.indexOf(requestedValue)) {\n value = requestedValue;\n supportedExtensionAddition = \"-\" + key + \"-\" + value;\n }\n } else if (~requestedValue.indexOf('true')) {\n value = 'true';\n supportedExtensionAddition = \"-\" + key;\n }\n }\n }\n\n if (key in options) {\n var optionsValue = options[key];\n invariant(typeof optionsValue === 'string' || typeof optionsValue === 'undefined' || optionsValue === null, 'optionsValue must be String, Undefined or Null');\n\n if (~keyLocaleData.indexOf(optionsValue)) {\n if (optionsValue !== value) {\n value = optionsValue;\n supportedExtensionAddition = '';\n }\n }\n }\n\n result[key] = value;\n supportedExtension += supportedExtensionAddition;\n }\n\n if (supportedExtension.length > 2) {\n var privateIndex = foundLocale.indexOf('-x-');\n\n if (privateIndex === -1) {\n foundLocale = foundLocale + supportedExtension;\n } else {\n var preExtension = foundLocale.slice(0, privateIndex);\n var postExtension = foundLocale.slice(privateIndex, foundLocale.length);\n foundLocale = preExtension + supportedExtension + postExtension;\n }\n\n foundLocale = getCanonicalLocales(foundLocale)[0];\n }\n\n result.locale = foundLocale;\n return result;\n };\n}\n/**\n * https://tc39.es/ecma402/#sec-unicodeextensionvalue\n * @param extension\n * @param key\n */\n\nfunction unicodeExtensionValue(extension, key) {\n invariant(key.length === 2, 'key must have 2 elements');\n var size = extension.length;\n var searchValue = \"-\" + key + \"-\";\n var pos = extension.indexOf(searchValue);\n\n if (pos !== -1) {\n var start = pos + 4;\n var end = start;\n var k = start;\n var done = false;\n\n while (!done) {\n var e = extension.indexOf('-', k);\n var len = void 0;\n\n if (e === -1) {\n len = size - k;\n } else {\n len = e - k;\n }\n\n if (len === 2) {\n done = true;\n } else if (e === -1) {\n end = size;\n done = true;\n } else {\n end = e;\n k = e + 1;\n }\n }\n\n return extension.slice(start, end);\n }\n\n searchValue = \"-\" + key;\n pos = extension.indexOf(searchValue);\n\n if (pos !== -1 && pos + 3 === size) {\n return '';\n }\n\n return undefined;\n}\n\nvar UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;\n/**\n * https://tc39.es/ecma402/#sec-bestavailablelocale\n * @param availableLocales\n * @param locale\n */\n\nfunction bestAvailableLocale(availableLocales, locale) {\n var candidate = locale;\n\n while (true) {\n if (~availableLocales.indexOf(candidate)) {\n return candidate;\n }\n\n var pos = candidate.lastIndexOf('-');\n\n if (!~pos) {\n return undefined;\n }\n\n if (pos >= 2 && candidate[pos - 2] === '-') {\n pos -= 2;\n }\n\n candidate = candidate.slice(0, pos);\n }\n}\n\nfunction createLookupMatcher(getDefaultLocale) {\n /**\n * https://tc39.es/ecma402/#sec-lookupmatcher\n */\n return function lookupMatcher(availableLocales, requestedLocales) {\n var result = {\n locale: ''\n };\n\n for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {\n var locale = requestedLocales_1[_i];\n var noExtensionLocale = locale.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, '');\n var availableLocale = bestAvailableLocale(availableLocales, noExtensionLocale);\n\n if (availableLocale) {\n result.locale = availableLocale;\n\n if (locale !== noExtensionLocale) {\n result.extension = locale.slice(noExtensionLocale.length + 1, locale.length);\n }\n\n return result;\n }\n }\n\n result.locale = getDefaultLocale();\n return result;\n };\n}\n\nfunction createBestFitMatcher(getDefaultLocale) {\n return function bestFitMatcher(availableLocales, requestedLocales) {\n var result = {\n locale: ''\n };\n\n for (var _i = 0, requestedLocales_2 = requestedLocales; _i < requestedLocales_2.length; _i++) {\n var locale = requestedLocales_2[_i];\n var noExtensionLocale = locale.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, '');\n var availableLocale = bestAvailableLocale(availableLocales, noExtensionLocale);\n\n if (availableLocale) {\n result.locale = availableLocale;\n\n if (locale !== noExtensionLocale) {\n result.extension = locale.slice(noExtensionLocale.length + 1, locale.length);\n }\n\n return result;\n }\n }\n\n result.locale = getDefaultLocale();\n return result;\n };\n}\n\nexport function getLocaleHierarchy(locale, aliases, parentLocales) {\n var results = [locale];\n\n if (aliases[locale]) {\n locale = aliases[locale];\n results.push(locale);\n }\n\n var parentLocale = parentLocales[locale];\n\n if (parentLocale) {\n results.push(parentLocale);\n }\n\n var localeParts = locale.split('-');\n\n for (var i = localeParts.length; i > 1; i--) {\n results.push(localeParts.slice(0, i - 1).join('-'));\n }\n\n return results;\n}\n\nfunction lookupSupportedLocales(availableLocales, requestedLocales) {\n var subset = [];\n\n for (var _i = 0, requestedLocales_3 = requestedLocales; _i < requestedLocales_3.length; _i++) {\n var locale = requestedLocales_3[_i];\n var noExtensionLocale = locale.replace(UNICODE_EXTENSION_SEQUENCE_REGEX, '');\n var availableLocale = bestAvailableLocale(availableLocales, noExtensionLocale);\n\n if (availableLocale) {\n subset.push(availableLocale);\n }\n }\n\n return subset;\n}\n\nexport function supportedLocales(availableLocales, requestedLocales, options) {\n var matcher = 'best fit';\n\n if (options !== undefined) {\n options = toObject(options);\n matcher = getOption(options, 'localeMatcher', 'string', ['lookup', 'best fit'], 'best fit');\n }\n\n if (matcher === 'best fit') {\n return lookupSupportedLocales(availableLocales, requestedLocales);\n }\n\n return lookupSupportedLocales(availableLocales, requestedLocales);\n}\n\nvar MissingLocaleDataError =\n/** @class */\nfunction (_super) {\n __extends(MissingLocaleDataError, _super);\n\n function MissingLocaleDataError() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.type = 'MISSING_LOCALE_DATA';\n return _this;\n }\n\n return MissingLocaleDataError;\n}(Error);\n\nexport function isMissingLocaleDataError(e) {\n return e.type === 'MISSING_LOCALE_DATA';\n}\nexport function unpackData(locale, localeData,\n/** By default shallow merge the dictionaries. */\nreducer) {\n if (reducer === void 0) {\n reducer = function reducer(all, d) {\n return __assign(__assign({}, all), d);\n };\n }\n\n var localeHierarchy = getLocaleHierarchy(locale, localeData.aliases, localeData.parentLocales);\n var dataToMerge = localeHierarchy.map(function (l) {\n return localeData.data[l];\n }).filter(Boolean);\n\n if (!dataToMerge.length) {\n throw new MissingLocaleDataError(\"Missing locale data for \\\"\" + locale + \"\\\", lookup hierarchy: \" + localeHierarchy.join(', '));\n }\n\n dataToMerge.reverse();\n return dataToMerge.reduce(reducer, {});\n}","// https://tc39.es/proposal-unified-intl-numberformat/section6/locales-currencies-tz_diff_out.html#sec-issanctionedsimpleunitidentifier\nexport var SANCTIONED_UNITS = ['angle-degree', 'area-acre', 'area-hectare', 'concentr-percent', 'digital-bit', 'digital-byte', 'digital-gigabit', 'digital-gigabyte', 'digital-kilobit', 'digital-kilobyte', 'digital-megabit', 'digital-megabyte', 'digital-petabyte', 'digital-terabit', 'digital-terabyte', 'duration-day', 'duration-hour', 'duration-millisecond', 'duration-minute', 'duration-month', 'duration-second', 'duration-week', 'duration-year', 'length-centimeter', 'length-foot', 'length-inch', 'length-kilometer', 'length-meter', 'length-mile-scandinavian', 'length-mile', 'length-millimeter', 'length-yard', 'mass-gram', 'mass-kilogram', 'mass-ounce', 'mass-pound', 'mass-stone', 'temperature-celsius', 'temperature-fahrenheit', 'volume-fluid-ounce', 'volume-gallon', 'volume-liter', 'volume-milliliter']; // In CLDR, the unit name always follows the form `namespace-unit` pattern.\n// For example: `digital-bit` instead of `bit`. This function removes the namespace prefix.\n\nexport function removeUnitNamespace(unit) {\n return unit.replace(/^(.*?)-/, '');\n}","export var InternalSlotToken;\n\n(function (InternalSlotToken) {\n // To prevent collision with {0} in CLDR\n InternalSlotToken[\"compactName\"] = \"compactName\";\n InternalSlotToken[\"compactSymbol\"] = \"compactSymbol\";\n InternalSlotToken[\"currencyCode\"] = \"currencyCode\";\n InternalSlotToken[\"currencyName\"] = \"currencyName\";\n InternalSlotToken[\"currencyNarrowSymbol\"] = \"currencyNarrowSymbol\";\n InternalSlotToken[\"currencySymbol\"] = \"currencySymbol\";\n InternalSlotToken[\"minusSign\"] = \"minusSign\";\n InternalSlotToken[\"number\"] = \"number\";\n InternalSlotToken[\"percentSign\"] = \"percentSign\";\n InternalSlotToken[\"plusSign\"] = \"plusSign\";\n InternalSlotToken[\"scientificExponent\"] = \"scientificExponent\";\n InternalSlotToken[\"scientificSeparator\"] = \"scientificSeparator\";\n InternalSlotToken[\"unitName\"] = \"unitName\";\n InternalSlotToken[\"unitNarrowSymbol\"] = \"unitNarrowSymbol\";\n InternalSlotToken[\"unitSymbol\"] = \"unitSymbol\";\n})(InternalSlotToken || (InternalSlotToken = {}));","import invariant from \"invariant\";\n\n////////////////////////////////////////////////////////////////////////////////\n// startsWith(string, search) - Check if `string` starts with `search`\nvar startsWith = function startsWith(string, search) {\n return string.substr(0, search.length) === search;\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// pick(routes, uri)\n//\n// Ranks and picks the best route to match. Each segment gets the highest\n// amount of points, then the type of segment gets an additional amount of\n// points where\n//\n// static > dynamic > splat > root\n//\n// This way we don't have to worry about the order of our routes, let the\n// computers do it.\n//\n// A route looks like this\n//\n// { path, default, value }\n//\n// And a returned match looks like:\n//\n// { route, params, uri }\n//\n// I know, I should use TypeScript not comments for these types.\nvar pick = function pick(routes, uri) {\n var match = void 0;\n var default_ = void 0;\n\n var _uri$split = uri.split(\"?\"),\n uriPathname = _uri$split[0];\n\n var uriSegments = segmentize(uriPathname);\n var isRootUri = uriSegments[0] === \"\";\n var ranked = rankRoutes(routes);\n\n for (var i = 0, l = ranked.length; i < l; i++) {\n var missed = false;\n var route = ranked[i].route;\n\n if (route.default) {\n default_ = {\n route: route,\n params: {},\n uri: uri\n };\n continue;\n }\n\n var routeSegments = segmentize(route.path);\n var params = {};\n var max = Math.max(uriSegments.length, routeSegments.length);\n var index = 0;\n\n for (; index < max; index++) {\n var routeSegment = routeSegments[index];\n var uriSegment = uriSegments[index];\n\n if (isSplat(routeSegment)) {\n // Hit a splat, just grab the rest, and return a match\n // uri: /files/documents/work\n // route: /files/*\n var param = routeSegment.slice(1) || \"*\";\n params[param] = uriSegments.slice(index).map(decodeURIComponent).join(\"/\");\n break;\n }\n\n if (uriSegment === undefined) {\n // URI is shorter than the route, no match\n // uri: /users\n // route: /users/:userId\n missed = true;\n break;\n }\n\n var dynamicMatch = paramRe.exec(routeSegment);\n\n if (dynamicMatch && !isRootUri) {\n var matchIsNotReserved = reservedNames.indexOf(dynamicMatch[1]) === -1;\n !matchIsNotReserved ? process.env.NODE_ENV !== \"production\" ? invariant(false, \" dynamic segment \\\"\" + dynamicMatch[1] + \"\\\" is a reserved name. Please use a different name in path \\\"\" + route.path + \"\\\".\") : invariant(false) : void 0;\n var value = decodeURIComponent(uriSegment);\n params[dynamicMatch[1]] = value;\n } else if (routeSegment !== uriSegment) {\n // Current segments don't match, not dynamic, not splat, so no match\n // uri: /users/123/settings\n // route: /users/:id/profile\n missed = true;\n break;\n }\n }\n\n if (!missed) {\n match = {\n route: route,\n params: params,\n uri: \"/\" + uriSegments.slice(0, index).join(\"/\")\n };\n break;\n }\n }\n\n return match || default_ || null;\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// match(path, uri) - Matches just one path to a uri, also lol\nvar match = function match(path, uri) {\n return pick([{ path: path }], uri);\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// resolve(to, basepath)\n//\n// Resolves URIs as though every path is a directory, no files. Relative URIs\n// in the browser can feel awkward because not only can you be \"in a directory\"\n// you can be \"at a file\", too. For example\n//\n// browserSpecResolve('foo', '/bar/') => /bar/foo\n// browserSpecResolve('foo', '/bar') => /foo\n//\n// But on the command line of a file system, it's not as complicated, you can't\n// `cd` from a file, only directories. This way, links have to know less about\n// their current path. To go deeper you can do this:\n//\n// \n// // instead of\n// \n//\n// Just like `cd`, if you want to go deeper from the command line, you do this:\n//\n// cd deeper\n// # not\n// cd $(pwd)/deeper\n//\n// By treating every path as a directory, linking to relative paths should\n// require less contextual information and (fingers crossed) be more intuitive.\nvar resolve = function resolve(to, base) {\n // /foo/bar, /baz/qux => /foo/bar\n if (startsWith(to, \"/\")) {\n return to;\n }\n\n var _to$split = to.split(\"?\"),\n toPathname = _to$split[0],\n toQuery = _to$split[1];\n\n var _base$split = base.split(\"?\"),\n basePathname = _base$split[0];\n\n var toSegments = segmentize(toPathname);\n var baseSegments = segmentize(basePathname);\n\n // ?a=b, /users?b=c => /users?a=b\n if (toSegments[0] === \"\") {\n return addQuery(basePathname, toQuery);\n }\n\n // profile, /users/789 => /users/789/profile\n if (!startsWith(toSegments[0], \".\")) {\n var pathname = baseSegments.concat(toSegments).join(\"/\");\n return addQuery((basePathname === \"/\" ? \"\" : \"/\") + pathname, toQuery);\n }\n\n // ./ /users/123 => /users/123\n // ../ /users/123 => /users\n // ../.. /users/123 => /\n // ../../one /a/b/c/d => /a/b/one\n // .././one /a/b/c/d => /a/b/c/one\n var allSegments = baseSegments.concat(toSegments);\n var segments = [];\n for (var i = 0, l = allSegments.length; i < l; i++) {\n var segment = allSegments[i];\n if (segment === \"..\") segments.pop();else if (segment !== \".\") segments.push(segment);\n }\n\n return addQuery(\"/\" + segments.join(\"/\"), toQuery);\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// insertParams(path, params)\n\nvar insertParams = function insertParams(path, params) {\n var _path$split = path.split(\"?\"),\n pathBase = _path$split[0],\n _path$split$ = _path$split[1],\n query = _path$split$ === undefined ? \"\" : _path$split$;\n\n var segments = segmentize(pathBase);\n var constructedPath = \"/\" + segments.map(function (segment) {\n var match = paramRe.exec(segment);\n return match ? params[match[1]] : segment;\n }).join(\"/\");\n var _params$location = params.location;\n _params$location = _params$location === undefined ? {} : _params$location;\n var _params$location$sear = _params$location.search,\n search = _params$location$sear === undefined ? \"\" : _params$location$sear;\n\n var searchSplit = search.split(\"?\")[1] || \"\";\n constructedPath = addQuery(constructedPath, query, searchSplit);\n return constructedPath;\n};\n\nvar validateRedirect = function validateRedirect(from, to) {\n var filter = function filter(segment) {\n return isDynamic(segment);\n };\n var fromString = segmentize(from).filter(filter).sort().join(\"/\");\n var toString = segmentize(to).filter(filter).sort().join(\"/\");\n return fromString === toString;\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// Junk\nvar paramRe = /^:(.+)/;\n\nvar SEGMENT_POINTS = 4;\nvar STATIC_POINTS = 3;\nvar DYNAMIC_POINTS = 2;\nvar SPLAT_PENALTY = 1;\nvar ROOT_POINTS = 1;\n\nvar isRootSegment = function isRootSegment(segment) {\n return segment === \"\";\n};\nvar isDynamic = function isDynamic(segment) {\n return paramRe.test(segment);\n};\nvar isSplat = function isSplat(segment) {\n return segment && segment[0] === \"*\";\n};\n\nvar rankRoute = function rankRoute(route, index) {\n var score = route.default ? 0 : segmentize(route.path).reduce(function (score, segment) {\n score += SEGMENT_POINTS;\n if (isRootSegment(segment)) score += ROOT_POINTS;else if (isDynamic(segment)) score += DYNAMIC_POINTS;else if (isSplat(segment)) score -= SEGMENT_POINTS + SPLAT_PENALTY;else score += STATIC_POINTS;\n return score;\n }, 0);\n return { route: route, score: score, index: index };\n};\n\nvar rankRoutes = function rankRoutes(routes) {\n return routes.map(rankRoute).sort(function (a, b) {\n return a.score < b.score ? 1 : a.score > b.score ? -1 : a.index - b.index;\n });\n};\n\nvar segmentize = function segmentize(uri) {\n return uri\n // strip starting/ending slashes\n .replace(/(^\\/+|\\/+$)/g, \"\").split(\"/\");\n};\n\nvar addQuery = function addQuery(pathname) {\n for (var _len = arguments.length, query = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n query[_key - 1] = arguments[_key];\n }\n\n query = query.filter(function (q) {\n return q && q.length > 0;\n });\n return pathname + (query && query.length > 0 ? \"?\" + query.join(\"&\") : \"\");\n};\n\nvar reservedNames = [\"uri\", \"path\"];\n\n/**\n * Shallow compares two objects.\n * @param {Object} obj1 The first object to compare.\n * @param {Object} obj2 The second object to compare.\n */\nvar shallowCompare = function shallowCompare(obj1, obj2) {\n var obj1Keys = Object.keys(obj1);\n return obj1Keys.length === Object.keys(obj2).length && obj1Keys.every(function (key) {\n return obj2.hasOwnProperty(key) && obj1[key] === obj2[key];\n });\n};\n\n////////////////////////////////////////////////////////////////////////////////\nexport { startsWith, pick, match, resolve, insertParams, validateRedirect, shallowCompare };","module.exports = [{\n plugin: require('../node_modules/gatsby-plugin-manifest/gatsby-browser.js'),\n options: {\"plugins\":[],\"name\":\"Immigration Court Online Resource\",\"short_name\":\"ICOR\",\"start_url\":\"/\",\"background_color\":\"#f7f0eb\",\"theme_color\":\"#a2466c\",\"display\":\"standalone\",\"icon\":\"static/favicon.png\",\"legacy\":true,\"theme_color_in_head\":true,\"cache_busting_mode\":\"query\",\"crossOrigin\":\"anonymous\",\"include_favicon\":true,\"cacheDigest\":\"871d858ca7475fac1dd0cd508e534bb5\"},\n },{\n plugin: require('../node_modules/gatsby-plugin-offline/gatsby-browser.js'),\n options: {\"plugins\":[],\"precachePages\":[\"/index/\"]},\n },{\n plugin: require('../node_modules/gatsby-plugin-intl/gatsby-browser.js'),\n options: {\"plugins\":[],\"path\":\"C:\\\\source\\\\repos\\\\ICOR/src/intl\",\"languages\":[\"en\",\"es\",\"zh\",\"ht\",\"pt\",\"pa\"],\"defaultLanguage\":\"en\",\"redirect\":true},\n },{\n plugin: require('../node_modules/gatsby-plugin-smoothscroll/gatsby-browser.js'),\n options: {\"plugins\":[]},\n },{\n plugin: require('../gatsby-browser.js'),\n options: {\"plugins\":[]},\n }]\n","/*!\n * domready (c) Dustin Diaz 2014 - License MIT\n * ie10 fix - Mikael Kristiansson 2019\n */\n!(function(name, definition) {\n if (typeof module != \"undefined\") module.exports = definition();\n else if (typeof define == \"function\" && typeof define.amd == \"object\")\n define(definition);\n else this[name] = definition();\n})(\"domready\", function() {\n var ie10 = false;\n if (navigator.appVersion.indexOf(\"MSIE 10\") !== -1) {\n ie10 = true;\n }\n\n var fns = [],\n listener,\n doc = typeof document === \"object\" && document,\n hack = ie10\n ? doc.documentElement.doScroll(\"left\")\n : doc.documentElement.doScroll,\n domContentLoaded = \"DOMContentLoaded\",\n loaded =\n doc && (hack ? /^loaded|^c/ : /^loaded|^i|^c/).test(doc.readyState);\n\n if (!loaded && doc)\n doc.addEventListener(\n domContentLoaded,\n (listener = function() {\n doc.removeEventListener(domContentLoaded, listener);\n loaded = 1;\n while ((listener = fns.shift())) listener();\n })\n );\n\n return function(fn) {\n loaded ? setTimeout(fn, 0) : fns.push(fn);\n };\n});\n","require('./dist/polyfill');","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar core_1 = require(\"./core\");\n\nif (typeof Intl.PluralRules === 'undefined' || !Intl.PluralRules.polyfilled && new Intl.PluralRules('en', {\n minimumFractionDigits: 2\n}).select(1) === 'one') {\n Object.defineProperty(Intl, 'PluralRules', {\n value: core_1.PluralRules,\n writable: true,\n enumerable: false,\n configurable: true\n });\n}","import { apiRunner } from \"./api-runner-browser\"\n\nif (\n window.location.protocol !== `https:` &&\n window.location.hostname !== `localhost`\n) {\n console.error(\n `Service workers can only be used over HTTPS, or on localhost for development`\n )\n} else if (`serviceWorker` in navigator) {\n navigator.serviceWorker\n .register(`${__BASE_PATH__}/sw.js`)\n .then(function (reg) {\n reg.addEventListener(`updatefound`, () => {\n apiRunner(`onServiceWorkerUpdateFound`, { serviceWorker: reg })\n // The updatefound event implies that reg.installing is set; see\n // https://w3c.github.io/ServiceWorker/#service-worker-registration-updatefound-event\n const installingWorker = reg.installing\n console.log(`installingWorker`, installingWorker)\n installingWorker.addEventListener(`statechange`, () => {\n switch (installingWorker.state) {\n case `installed`:\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and the fresh content will\n // have been added to the cache.\n\n // We set a flag so Gatsby Link knows to refresh the page on next navigation attempt\n window.___swUpdated = true\n // We call the onServiceWorkerUpdateReady API so users can show update prompts.\n apiRunner(`onServiceWorkerUpdateReady`, { serviceWorker: reg })\n\n // If resources failed for the current page, reload.\n if (window.___failedResources) {\n console.log(`resources failed, SW updated - reloading`)\n window.location.reload()\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a \"Content is cached for offline use.\" message.\n console.log(`Content is now available offline!`)\n\n // Post to service worker that install is complete.\n // Delay to allow time for the event listener to be added --\n // otherwise fetch is called too soon and resources aren't cached.\n apiRunner(`onServiceWorkerInstalled`, { serviceWorker: reg })\n }\n break\n\n case `redundant`:\n console.error(`The installing service worker became redundant.`)\n apiRunner(`onServiceWorkerRedundant`, { serviceWorker: reg })\n break\n\n case `activated`:\n apiRunner(`onServiceWorkerActive`, { serviceWorker: reg })\n break\n }\n })\n })\n })\n .catch(function (e) {\n console.error(`Error during service worker registration:`, e)\n })\n}\n","// prefer default export if available\nconst preferDefault = m => (m && m.default) || m\n\nexports.components = {\n \"component---cache-caches-gatsby-plugin-offline-app-shell-js\": () => import(\"./../../caches/gatsby-plugin-offline/app-shell.js\" /* webpackChunkName: \"component---cache-caches-gatsby-plugin-offline-app-shell-js\" */),\n \"component---src-pages-404-js\": () => import(\"./../../../src/pages/404.js\" /* webpackChunkName: \"component---src-pages-404-js\" */),\n \"component---src-pages-bia-ag-decisions-js\": () => import(\"./../../../src/pages/bia-ag-decisions.js\" /* webpackChunkName: \"component---src-pages-bia-ag-decisions-js\" */),\n \"component---src-pages-bia-precedent-js\": () => import(\"./../../../src/pages/bia-precedent.js\" /* webpackChunkName: \"component---src-pages-bia-precedent-js\" */),\n \"component---src-pages-faq-js\": () => import(\"./../../../src/pages/faq.js\" /* webpackChunkName: \"component---src-pages-faq-js\" */),\n \"component---src-pages-guide-js\": () => import(\"./../../../src/pages/guide.js\" /* webpackChunkName: \"component---src-pages-guide-js\" */),\n \"component---src-pages-index-js\": () => import(\"./../../../src/pages/index.js\" /* webpackChunkName: \"component---src-pages-index-js\" */),\n \"component---src-pages-model-hearing-program-js\": () => import(\"./../../../src/pages/model-hearing-program.js\" /* webpackChunkName: \"component---src-pages-model-hearing-program-js\" */),\n \"component---src-pages-resources-js\": () => import(\"./../../../src/pages/resources.js\" /* webpackChunkName: \"component---src-pages-resources-js\" */)\n}\n\n","/* @generated */\n// prettier-ignore\nif (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {\n Intl.PluralRules.__addLocaleData({\n \"data\": {\n \"pt\": {\n \"categories\": {\n \"cardinal\": [\"one\", \"other\"],\n \"ordinal\": [\"other\"]\n },\n \"fn\": function fn(n, ord) {\n var s = String(n).split('.'),\n i = s[0];\n if (ord) return 'other';\n return i == 0 || i == 1 ? 'one' : 'other';\n }\n }\n },\n \"aliases\": {},\n \"parentLocales\": {\n \"pt-AO\": \"pt-PT\",\n \"pt-CH\": \"pt-PT\",\n \"pt-CV\": \"pt-PT\",\n \"pt-FR\": \"pt-PT\",\n \"pt-GQ\": \"pt-PT\",\n \"pt-GW\": \"pt-PT\",\n \"pt-LU\": \"pt-PT\",\n \"pt-MO\": \"pt-PT\",\n \"pt-MZ\": \"pt-PT\",\n \"pt-ST\": \"pt-PT\",\n \"pt-TL\": \"pt-PT\"\n },\n \"availableLocales\": [\"pt\"]\n });\n}","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/* @generated */\n// prettier-ignore\nif (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {\n Intl.PluralRules.__addLocaleData({\n \"data\": {\n \"zh\": {\n \"categories\": {\n \"cardinal\": [\"other\"],\n \"ordinal\": [\"other\"]\n },\n \"fn\": function fn(n, ord) {\n return 'other';\n }\n }\n },\n \"aliases\": {\n \"zh-CN\": \"zh-Hans-CN\",\n \"zh-guoyu\": \"zh\",\n \"zh-hakka\": \"hak\",\n \"zh-HK\": \"zh-Hant-HK\",\n \"zh-min-nan\": \"nan\",\n \"zh-MO\": \"zh-Hant-MO\",\n \"zh-SG\": \"zh-Hans-SG\",\n \"zh-TW\": \"zh-Hant-TW\",\n \"zh-xiang\": \"hsn\",\n \"zh-min\": \"nan-x-zh-min\"\n },\n \"parentLocales\": {\n \"zh-Hant-MO\": \"zh-Hant-HK\"\n },\n \"availableLocales\": [\"zh\"]\n });\n}","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/* @generated */\n// prettier-ignore\nif (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {\n Intl.RelativeTimeFormat.__addLocaleData({\n \"data\": {\n \"en-001\": {\n \"year-short\": {\n \"0\": \"this yr\",\n \"1\": \"next yr\",\n \"future\": {\n \"one\": \"in {0} yr\",\n \"other\": \"in {0} yr\"\n },\n \"past\": {\n \"one\": \"{0} yr ago\",\n \"other\": \"{0} yr ago\"\n },\n \"-1\": \"last yr\"\n },\n \"year-narrow\": {\n \"0\": \"this yr\",\n \"1\": \"next yr\",\n \"future\": {\n \"one\": \"in {0} yr\",\n \"other\": \"in {0} yr\"\n },\n \"past\": {\n \"one\": \"{0} yr ago\",\n \"other\": \"{0} yr ago\"\n },\n \"-1\": \"last yr\"\n },\n \"quarter-short\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr\",\n \"other\": \"in {0} qtr\"\n },\n \"past\": {\n \"one\": \"{0} qtr ago\",\n \"other\": \"{0} qtr ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"quarter-narrow\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr\",\n \"other\": \"in {0} qtr\"\n },\n \"past\": {\n \"one\": \"{0} qtr ago\",\n \"other\": \"{0} qtr ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"month-short\": {\n \"0\": \"this mo\",\n \"1\": \"next mo\",\n \"future\": {\n \"one\": \"in {0} mo\",\n \"other\": \"in {0} mo\"\n },\n \"past\": {\n \"one\": \"{0} mo ago\",\n \"other\": \"{0} mo ago\"\n },\n \"-1\": \"last mo\"\n },\n \"month-narrow\": {\n \"0\": \"this mo\",\n \"1\": \"next mo\",\n \"future\": {\n \"one\": \"in {0} mo\",\n \"other\": \"in {0} mo\"\n },\n \"past\": {\n \"one\": \"{0} mo ago\",\n \"other\": \"{0} mo ago\"\n },\n \"-1\": \"last mo\"\n },\n \"week-short\": {\n \"0\": \"this wk\",\n \"1\": \"next wk\",\n \"future\": {\n \"one\": \"in {0} wk\",\n \"other\": \"in {0} wk\"\n },\n \"past\": {\n \"one\": \"{0} wk ago\",\n \"other\": \"{0} wk ago\"\n },\n \"-1\": \"last wk\"\n },\n \"week-narrow\": {\n \"0\": \"this wk\",\n \"1\": \"next wk\",\n \"future\": {\n \"one\": \"in {0} wk\",\n \"other\": \"in {0} wk\"\n },\n \"past\": {\n \"one\": \"{0} wk ago\",\n \"other\": \"{0} wk ago\"\n },\n \"-1\": \"last wk\"\n },\n \"hour-short\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr\",\n \"other\": \"in {0} hr\"\n },\n \"past\": {\n \"one\": \"{0} hr ago\",\n \"other\": \"{0} hr ago\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr\",\n \"other\": \"in {0} hr\"\n },\n \"past\": {\n \"one\": \"{0} hr ago\",\n \"other\": \"{0} hr ago\"\n }\n },\n \"minute-short\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min\",\n \"other\": \"in {0} min\"\n },\n \"past\": {\n \"one\": \"{0} min ago\",\n \"other\": \"{0} min ago\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min\",\n \"other\": \"in {0} min\"\n },\n \"past\": {\n \"one\": \"{0} min ago\",\n \"other\": \"{0} min ago\"\n }\n },\n \"second-short\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec\",\n \"other\": \"in {0} sec\"\n },\n \"past\": {\n \"one\": \"{0} sec ago\",\n \"other\": \"{0} sec ago\"\n }\n },\n \"second-narrow\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec\",\n \"other\": \"in {0} sec\"\n },\n \"past\": {\n \"one\": \"{0} sec ago\",\n \"other\": \"{0} sec ago\"\n }\n }\n },\n \"en-150\": {\n \"year-short\": {\n \"0\": \"this yr\",\n \"1\": \"next yr\",\n \"future\": {\n \"one\": \"in {0} yr\",\n \"other\": \"in {0} yr\"\n },\n \"past\": {\n \"one\": \"{0} yr ago\",\n \"other\": \"{0} yr ago\"\n },\n \"-1\": \"last yr\"\n },\n \"year-narrow\": {\n \"0\": \"this yr\",\n \"1\": \"next yr\",\n \"future\": {\n \"one\": \"in {0} yr\",\n \"other\": \"in {0} yr\"\n },\n \"past\": {\n \"one\": \"{0} yr ago\",\n \"other\": \"{0} yr ago\"\n },\n \"-1\": \"last yr\"\n },\n \"quarter-short\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr\",\n \"other\": \"in {0} qtr\"\n },\n \"past\": {\n \"one\": \"{0} qtr ago\",\n \"other\": \"{0} qtr ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"quarter-narrow\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr\",\n \"other\": \"in {0} qtr\"\n },\n \"past\": {\n \"one\": \"{0} qtr ago\",\n \"other\": \"{0} qtr ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"month-short\": {\n \"0\": \"this mo\",\n \"1\": \"next mo\",\n \"future\": {\n \"one\": \"in {0} mo\",\n \"other\": \"in {0} mo\"\n },\n \"past\": {\n \"one\": \"{0} mo ago\",\n \"other\": \"{0} mo ago\"\n },\n \"-1\": \"last mo\"\n },\n \"month-narrow\": {\n \"0\": \"this mo\",\n \"1\": \"next mo\",\n \"future\": {\n \"one\": \"in {0} mo\",\n \"other\": \"in {0} mo\"\n },\n \"past\": {\n \"one\": \"{0} mo ago\",\n \"other\": \"{0} mo ago\"\n },\n \"-1\": \"last mo\"\n },\n \"week-short\": {\n \"0\": \"this wk\",\n \"1\": \"next wk\",\n \"future\": {\n \"one\": \"in {0} wk\",\n \"other\": \"in {0} wk\"\n },\n \"past\": {\n \"one\": \"{0} wk ago\",\n \"other\": \"{0} wk ago\"\n },\n \"-1\": \"last wk\"\n },\n \"week-narrow\": {\n \"0\": \"this wk\",\n \"1\": \"next wk\",\n \"future\": {\n \"one\": \"in {0} wk\",\n \"other\": \"in {0} wk\"\n },\n \"past\": {\n \"one\": \"{0} wk ago\",\n \"other\": \"{0} wk ago\"\n },\n \"-1\": \"last wk\"\n },\n \"hour-short\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr\",\n \"other\": \"in {0} hr\"\n },\n \"past\": {\n \"one\": \"{0} hr ago\",\n \"other\": \"{0} hr ago\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr\",\n \"other\": \"in {0} hr\"\n },\n \"past\": {\n \"one\": \"{0} hr ago\",\n \"other\": \"{0} hr ago\"\n }\n },\n \"minute-short\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min\",\n \"other\": \"in {0} min\"\n },\n \"past\": {\n \"one\": \"{0} min ago\",\n \"other\": \"{0} min ago\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min\",\n \"other\": \"in {0} min\"\n },\n \"past\": {\n \"one\": \"{0} min ago\",\n \"other\": \"{0} min ago\"\n }\n },\n \"second-short\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec\",\n \"other\": \"in {0} sec\"\n },\n \"past\": {\n \"one\": \"{0} sec ago\",\n \"other\": \"{0} sec ago\"\n }\n },\n \"second-narrow\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec\",\n \"other\": \"in {0} sec\"\n },\n \"past\": {\n \"one\": \"{0} sec ago\",\n \"other\": \"{0} sec ago\"\n }\n }\n },\n \"en-AU\": {\n \"year-short\": {\n \"0\": \"this yr\",\n \"1\": \"next yr\",\n \"future\": {\n \"one\": \"in {0} yr\",\n \"other\": \"in {0} yrs\"\n },\n \"past\": {\n \"one\": \"{0} yr ago\",\n \"other\": \"{0} yrs ago\"\n },\n \"-1\": \"last yr\"\n },\n \"year-narrow\": {\n \"0\": \"this yr\",\n \"1\": \"next yr\",\n \"future\": {\n \"one\": \"in {0} yr\",\n \"other\": \"in {0} yrs\"\n },\n \"past\": {\n \"one\": \"{0} yr ago\",\n \"other\": \"{0} yrs ago\"\n },\n \"-1\": \"last yr\"\n },\n \"quarter-short\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr\",\n \"other\": \"in {0} qtrs\"\n },\n \"past\": {\n \"one\": \"{0} qtr ago\",\n \"other\": \"{0} qtrs ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"quarter-narrow\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr\",\n \"other\": \"in {0} qtrs\"\n },\n \"past\": {\n \"one\": \"in {0} qtr ago\",\n \"other\": \"{0} qtrs ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"month-short\": {\n \"0\": \"this mo\",\n \"1\": \"next mo\",\n \"future\": {\n \"one\": \"in {0} mo.\",\n \"other\": \"in {0} mo.\"\n },\n \"past\": {\n \"one\": \"{0} mo. ago\",\n \"other\": \"{0} mo. ago\"\n },\n \"-1\": \"last mo\"\n },\n \"month-narrow\": {\n \"0\": \"this mo\",\n \"1\": \"next mo\",\n \"future\": {\n \"one\": \"in {0} mo.\",\n \"other\": \"in {0} mo.\"\n },\n \"past\": {\n \"one\": \"{0} mo. ago\",\n \"other\": \"{0} mo. ago\"\n },\n \"-1\": \"last mo\"\n },\n \"week-short\": {\n \"0\": \"this wk\",\n \"1\": \"next wk\",\n \"future\": {\n \"one\": \"in {0} wk\",\n \"other\": \"in {0} wks\"\n },\n \"past\": {\n \"one\": \"{0} wk ago\",\n \"other\": \"{0} wks ago\"\n },\n \"-1\": \"last wk\"\n },\n \"week-narrow\": {\n \"0\": \"this wk\",\n \"1\": \"next wk\",\n \"future\": {\n \"one\": \"in {0} wk\",\n \"other\": \"in {0} wks\"\n },\n \"past\": {\n \"one\": \"{0} wk ago\",\n \"other\": \"{0} wks ago\"\n },\n \"-1\": \"last wk\"\n },\n \"hour-short\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr\",\n \"other\": \"in {0} hrs\"\n },\n \"past\": {\n \"one\": \"{0} hr ago\",\n \"other\": \"{0} hrs ago\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr\",\n \"other\": \"in {0} hrs\"\n },\n \"past\": {\n \"one\": \"{0} hr ago\",\n \"other\": \"{0} hrs ago\"\n }\n },\n \"minute-short\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min.\",\n \"other\": \"in {0} mins\"\n },\n \"past\": {\n \"one\": \"{0} min. ago\",\n \"other\": \"{0} mins ago\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min.\",\n \"other\": \"in {0} mins\"\n },\n \"past\": {\n \"one\": \"{0} min. ago\",\n \"other\": \"{0} mins ago\"\n }\n },\n \"second-short\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec.\",\n \"other\": \"in {0} secs\"\n },\n \"past\": {\n \"one\": \"{0} sec. ago\",\n \"other\": \"{0} secs ago\"\n }\n },\n \"second-narrow\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec.\",\n \"other\": \"in {0} secs\"\n },\n \"past\": {\n \"one\": \"{0} sec. ago\",\n \"other\": \"{0} secs ago\"\n }\n }\n },\n \"en-CA\": {\n \"year-short\": {\n \"0\": \"this yr\",\n \"1\": \"next yr\",\n \"future\": {\n \"one\": \"in {0} yr.\",\n \"other\": \"in {0} yrs.\"\n },\n \"past\": {\n \"one\": \"{0} yr. ago\",\n \"other\": \"{0} yrs. ago\"\n },\n \"-1\": \"last yr\"\n },\n \"year-narrow\": {\n \"0\": \"this yr\",\n \"1\": \"next yr\",\n \"future\": {\n \"one\": \"in {0} yr.\",\n \"other\": \"in {0} yrs.\"\n },\n \"past\": {\n \"one\": \"{0} yr. ago\",\n \"other\": \"{0} yrs. ago\"\n },\n \"-1\": \"last yr\"\n },\n \"quarter-short\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr.\",\n \"other\": \"in {0} qtrs.\"\n },\n \"past\": {\n \"one\": \"{0} qtr. ago\",\n \"other\": \"{0} qtrs. ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"quarter-narrow\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr.\",\n \"other\": \"in {0} qtrs.\"\n },\n \"past\": {\n \"one\": \"{0} qtr. ago\",\n \"other\": \"{0} qtrs. ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"month-short\": {\n \"0\": \"this mo\",\n \"1\": \"next mo\",\n \"future\": {\n \"one\": \"in {0} mo.\",\n \"other\": \"in {0} mos.\"\n },\n \"past\": {\n \"one\": \"{0} mo. ago\",\n \"other\": \"{0} mos. ago\"\n },\n \"-1\": \"last mo\"\n },\n \"month-narrow\": {\n \"0\": \"this mo\",\n \"1\": \"next mo\",\n \"future\": {\n \"one\": \"in {0} mo.\",\n \"other\": \"in {0} mos.\"\n },\n \"past\": {\n \"one\": \"{0} mo. ago\",\n \"other\": \"{0} mos. ago\"\n },\n \"-1\": \"last mo\"\n },\n \"week-short\": {\n \"0\": \"this wk\",\n \"1\": \"next wk\",\n \"future\": {\n \"one\": \"in {0} wk.\",\n \"other\": \"in {0} wks.\"\n },\n \"past\": {\n \"one\": \"{0} wk. ago\",\n \"other\": \"{0} wks. ago\"\n },\n \"-1\": \"last wk\"\n },\n \"week-narrow\": {\n \"0\": \"this wk\",\n \"1\": \"next wk\",\n \"future\": {\n \"one\": \"in {0} wk.\",\n \"other\": \"in {0} wks.\"\n },\n \"past\": {\n \"one\": \"{0} wk. ago\",\n \"other\": \"{0} wks. ago\"\n },\n \"-1\": \"last wk\"\n },\n \"hour-short\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr.\",\n \"other\": \"in {0} hrs.\"\n },\n \"past\": {\n \"one\": \"{0} hr. ago\",\n \"other\": \"{0} hrs. ago\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr.\",\n \"other\": \"in {0} hrs.\"\n },\n \"past\": {\n \"one\": \"{0} hr. ago\",\n \"other\": \"{0} hrs. ago\"\n }\n },\n \"minute-short\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min.\",\n \"other\": \"in {0} mins.\"\n },\n \"past\": {\n \"one\": \"{0} min. ago\",\n \"other\": \"{0} mins. ago\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min.\",\n \"other\": \"in {0} mins.\"\n },\n \"past\": {\n \"one\": \"{0} min. ago\",\n \"other\": \"{0} mins. ago\"\n }\n },\n \"second-short\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec.\",\n \"other\": \"in {0} secs.\"\n },\n \"past\": {\n \"one\": \"{0} sec. ago\",\n \"other\": \"{0} secs. ago\"\n }\n },\n \"second-narrow\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec.\",\n \"other\": \"in {0} secs.\"\n },\n \"past\": {\n \"one\": \"{0} sec. ago\",\n \"other\": \"{0} secs. ago\"\n }\n }\n },\n \"en-SG\": {\n \"quarter-short\": {\n \"0\": \"this qtr\",\n \"1\": \"next qtr\",\n \"future\": {\n \"one\": \"in {0} qtr\",\n \"other\": \"in {0} qtrs\"\n },\n \"past\": {\n \"one\": \"{0} qtr ago\",\n \"other\": \"{0} qtrs ago\"\n },\n \"-1\": \"last qtr\"\n },\n \"quarter-narrow\": {\n \"0\": \"this qtr\",\n \"1\": \"next qtr\",\n \"future\": {\n \"one\": \"in {0} qtr\",\n \"other\": \"in {0} qtr\"\n },\n \"past\": {\n \"one\": \"{0} qtr ago\",\n \"other\": \"{0} qtr ago\"\n },\n \"-1\": \"last qtr\"\n },\n \"month-short\": {\n \"0\": \"this mth\",\n \"1\": \"next mth\",\n \"future\": {\n \"one\": \"in {0} mth\",\n \"other\": \"in {0} mth\"\n },\n \"past\": {\n \"one\": \"{0} mth ago\",\n \"other\": \"{0} mth ago\"\n },\n \"-1\": \"last mth\"\n }\n },\n \"en\": {\n \"nu\": [\"latn\"],\n \"year\": {\n \"0\": \"this year\",\n \"1\": \"next year\",\n \"future\": {\n \"one\": \"in {0} year\",\n \"other\": \"in {0} years\"\n },\n \"past\": {\n \"one\": \"{0} year ago\",\n \"other\": \"{0} years ago\"\n },\n \"-1\": \"last year\"\n },\n \"year-short\": {\n \"0\": \"this yr.\",\n \"1\": \"next yr.\",\n \"future\": {\n \"one\": \"in {0} yr.\",\n \"other\": \"in {0} yr.\"\n },\n \"past\": {\n \"one\": \"{0} yr. ago\",\n \"other\": \"{0} yr. ago\"\n },\n \"-1\": \"last yr.\"\n },\n \"year-narrow\": {\n \"0\": \"this yr.\",\n \"1\": \"next yr.\",\n \"future\": {\n \"one\": \"in {0} yr.\",\n \"other\": \"in {0} yr.\"\n },\n \"past\": {\n \"one\": \"{0} yr. ago\",\n \"other\": \"{0} yr. ago\"\n },\n \"-1\": \"last yr.\"\n },\n \"quarter\": {\n \"0\": \"this quarter\",\n \"1\": \"next quarter\",\n \"future\": {\n \"one\": \"in {0} quarter\",\n \"other\": \"in {0} quarters\"\n },\n \"past\": {\n \"one\": \"{0} quarter ago\",\n \"other\": \"{0} quarters ago\"\n },\n \"-1\": \"last quarter\"\n },\n \"quarter-short\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr.\",\n \"other\": \"in {0} qtrs.\"\n },\n \"past\": {\n \"one\": \"{0} qtr. ago\",\n \"other\": \"{0} qtrs. ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"quarter-narrow\": {\n \"0\": \"this qtr.\",\n \"1\": \"next qtr.\",\n \"future\": {\n \"one\": \"in {0} qtr.\",\n \"other\": \"in {0} qtrs.\"\n },\n \"past\": {\n \"one\": \"{0} qtr. ago\",\n \"other\": \"{0} qtrs. ago\"\n },\n \"-1\": \"last qtr.\"\n },\n \"month\": {\n \"0\": \"this month\",\n \"1\": \"next month\",\n \"future\": {\n \"one\": \"in {0} month\",\n \"other\": \"in {0} months\"\n },\n \"past\": {\n \"one\": \"{0} month ago\",\n \"other\": \"{0} months ago\"\n },\n \"-1\": \"last month\"\n },\n \"month-short\": {\n \"0\": \"this mo.\",\n \"1\": \"next mo.\",\n \"future\": {\n \"one\": \"in {0} mo.\",\n \"other\": \"in {0} mo.\"\n },\n \"past\": {\n \"one\": \"{0} mo. ago\",\n \"other\": \"{0} mo. ago\"\n },\n \"-1\": \"last mo.\"\n },\n \"month-narrow\": {\n \"0\": \"this mo.\",\n \"1\": \"next mo.\",\n \"future\": {\n \"one\": \"in {0} mo.\",\n \"other\": \"in {0} mo.\"\n },\n \"past\": {\n \"one\": \"{0} mo. ago\",\n \"other\": \"{0} mo. ago\"\n },\n \"-1\": \"last mo.\"\n },\n \"week\": {\n \"0\": \"this week\",\n \"1\": \"next week\",\n \"future\": {\n \"one\": \"in {0} week\",\n \"other\": \"in {0} weeks\"\n },\n \"past\": {\n \"one\": \"{0} week ago\",\n \"other\": \"{0} weeks ago\"\n },\n \"-1\": \"last week\"\n },\n \"week-short\": {\n \"0\": \"this wk.\",\n \"1\": \"next wk.\",\n \"future\": {\n \"one\": \"in {0} wk.\",\n \"other\": \"in {0} wk.\"\n },\n \"past\": {\n \"one\": \"{0} wk. ago\",\n \"other\": \"{0} wk. ago\"\n },\n \"-1\": \"last wk.\"\n },\n \"week-narrow\": {\n \"0\": \"this wk.\",\n \"1\": \"next wk.\",\n \"future\": {\n \"one\": \"in {0} wk.\",\n \"other\": \"in {0} wk.\"\n },\n \"past\": {\n \"one\": \"{0} wk. ago\",\n \"other\": \"{0} wk. ago\"\n },\n \"-1\": \"last wk.\"\n },\n \"day\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"future\": {\n \"one\": \"in {0} day\",\n \"other\": \"in {0} days\"\n },\n \"past\": {\n \"one\": \"{0} day ago\",\n \"other\": \"{0} days ago\"\n },\n \"-1\": \"yesterday\"\n },\n \"day-short\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"future\": {\n \"one\": \"in {0} day\",\n \"other\": \"in {0} days\"\n },\n \"past\": {\n \"one\": \"{0} day ago\",\n \"other\": \"{0} days ago\"\n },\n \"-1\": \"yesterday\"\n },\n \"day-narrow\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"future\": {\n \"one\": \"in {0} day\",\n \"other\": \"in {0} days\"\n },\n \"past\": {\n \"one\": \"{0} day ago\",\n \"other\": \"{0} days ago\"\n },\n \"-1\": \"yesterday\"\n },\n \"hour\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hour\",\n \"other\": \"in {0} hours\"\n },\n \"past\": {\n \"one\": \"{0} hour ago\",\n \"other\": \"{0} hours ago\"\n }\n },\n \"hour-short\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr.\",\n \"other\": \"in {0} hr.\"\n },\n \"past\": {\n \"one\": \"{0} hr. ago\",\n \"other\": \"{0} hr. ago\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"this hour\",\n \"future\": {\n \"one\": \"in {0} hr.\",\n \"other\": \"in {0} hr.\"\n },\n \"past\": {\n \"one\": \"{0} hr. ago\",\n \"other\": \"{0} hr. ago\"\n }\n },\n \"minute\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} minute\",\n \"other\": \"in {0} minutes\"\n },\n \"past\": {\n \"one\": \"{0} minute ago\",\n \"other\": \"{0} minutes ago\"\n }\n },\n \"minute-short\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min.\",\n \"other\": \"in {0} min.\"\n },\n \"past\": {\n \"one\": \"{0} min. ago\",\n \"other\": \"{0} min. ago\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"this minute\",\n \"future\": {\n \"one\": \"in {0} min.\",\n \"other\": \"in {0} min.\"\n },\n \"past\": {\n \"one\": \"{0} min. ago\",\n \"other\": \"{0} min. ago\"\n }\n },\n \"second\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} second\",\n \"other\": \"in {0} seconds\"\n },\n \"past\": {\n \"one\": \"{0} second ago\",\n \"other\": \"{0} seconds ago\"\n }\n },\n \"second-short\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec.\",\n \"other\": \"in {0} sec.\"\n },\n \"past\": {\n \"one\": \"{0} sec. ago\",\n \"other\": \"{0} sec. ago\"\n }\n },\n \"second-narrow\": {\n \"0\": \"now\",\n \"future\": {\n \"one\": \"in {0} sec.\",\n \"other\": \"in {0} sec.\"\n },\n \"past\": {\n \"one\": \"{0} sec. ago\",\n \"other\": \"{0} sec. ago\"\n }\n }\n }\n },\n \"availableLocales\": [\"en-001\", \"en-150\", \"en-AE\", \"en-AG\", \"en-AI\", \"en-AS\", \"en-AT\", \"en-AU\", \"en-BB\", \"en-BE\", \"en-BI\", \"en-BM\", \"en-BS\", \"en-BW\", \"en-BZ\", \"en-CA\", \"en-CC\", \"en-CH\", \"en-CK\", \"en-CM\", \"en-CX\", \"en-CY\", \"en-DE\", \"en-DG\", \"en-DK\", \"en-DM\", \"en-ER\", \"en-FI\", \"en-FJ\", \"en-FK\", \"en-FM\", \"en-GB\", \"en-GD\", \"en-GG\", \"en-GH\", \"en-GI\", \"en-GM\", \"en-GU\", \"en-GY\", \"en-HK\", \"en-IE\", \"en-IL\", \"en-IM\", \"en-IN\", \"en-IO\", \"en-JE\", \"en-JM\", \"en-KE\", \"en-KI\", \"en-KN\", \"en-KY\", \"en-LC\", \"en-LR\", \"en-LS\", \"en-MG\", \"en-MH\", \"en-MO\", \"en-MP\", \"en-MS\", \"en-MT\", \"en-MU\", \"en-MW\", \"en-MY\", \"en-NA\", \"en-NF\", \"en-NG\", \"en-NL\", \"en-NR\", \"en-NU\", \"en-NZ\", \"en-PG\", \"en-PH\", \"en-PK\", \"en-PN\", \"en-PR\", \"en-PW\", \"en-RW\", \"en-SB\", \"en-SC\", \"en-SD\", \"en-SE\", \"en-SG\", \"en-SH\", \"en-SI\", \"en-SL\", \"en-SS\", \"en-SX\", \"en-SZ\", \"en-TC\", \"en-TK\", \"en-TO\", \"en-TT\", \"en-TV\", \"en-TZ\", \"en-UG\", \"en-UM\", \"en-US-POSIX\", \"en-US\", \"en-VC\", \"en-VG\", \"en-VI\", \"en-VU\", \"en-WS\", \"en-ZA\", \"en-ZM\", \"en-ZW\", \"en\"],\n \"aliases\": {},\n \"parentLocales\": {\n \"en-150\": \"en-001\",\n \"en-AG\": \"en-001\",\n \"en-AI\": \"en-001\",\n \"en-AU\": \"en-001\",\n \"en-BB\": \"en-001\",\n \"en-BM\": \"en-001\",\n \"en-BS\": \"en-001\",\n \"en-BW\": \"en-001\",\n \"en-BZ\": \"en-001\",\n \"en-CA\": \"en-001\",\n \"en-CC\": \"en-001\",\n \"en-CK\": \"en-001\",\n \"en-CM\": \"en-001\",\n \"en-CX\": \"en-001\",\n \"en-CY\": \"en-001\",\n \"en-DG\": \"en-001\",\n \"en-DM\": \"en-001\",\n \"en-ER\": \"en-001\",\n \"en-FJ\": \"en-001\",\n \"en-FK\": \"en-001\",\n \"en-FM\": \"en-001\",\n \"en-GB\": \"en-001\",\n \"en-GD\": \"en-001\",\n \"en-GG\": \"en-001\",\n \"en-GH\": \"en-001\",\n \"en-GI\": \"en-001\",\n \"en-GM\": \"en-001\",\n \"en-GY\": \"en-001\",\n \"en-HK\": \"en-001\",\n \"en-IE\": \"en-001\",\n \"en-IL\": \"en-001\",\n \"en-IM\": \"en-001\",\n \"en-IN\": \"en-001\",\n \"en-IO\": \"en-001\",\n \"en-JE\": \"en-001\",\n \"en-JM\": \"en-001\",\n \"en-KE\": \"en-001\",\n \"en-KI\": \"en-001\",\n \"en-KN\": \"en-001\",\n \"en-KY\": \"en-001\",\n \"en-LC\": \"en-001\",\n \"en-LR\": \"en-001\",\n \"en-LS\": \"en-001\",\n \"en-MG\": \"en-001\",\n \"en-MO\": \"en-001\",\n \"en-MS\": \"en-001\",\n \"en-MT\": \"en-001\",\n \"en-MU\": \"en-001\",\n \"en-MW\": \"en-001\",\n \"en-MY\": \"en-001\",\n \"en-NA\": \"en-001\",\n \"en-NF\": \"en-001\",\n \"en-NG\": \"en-001\",\n \"en-NR\": \"en-001\",\n \"en-NU\": \"en-001\",\n \"en-NZ\": \"en-001\",\n \"en-PG\": \"en-001\",\n \"en-PH\": \"en-001\",\n \"en-PK\": \"en-001\",\n \"en-PN\": \"en-001\",\n \"en-PW\": \"en-001\",\n \"en-RW\": \"en-001\",\n \"en-SB\": \"en-001\",\n \"en-SC\": \"en-001\",\n \"en-SD\": \"en-001\",\n \"en-SG\": \"en-001\",\n \"en-SH\": \"en-001\",\n \"en-SL\": \"en-001\",\n \"en-SS\": \"en-001\",\n \"en-SX\": \"en-001\",\n \"en-SZ\": \"en-001\",\n \"en-TC\": \"en-001\",\n \"en-TK\": \"en-001\",\n \"en-TO\": \"en-001\",\n \"en-TT\": \"en-001\",\n \"en-TV\": \"en-001\",\n \"en-TZ\": \"en-001\",\n \"en-UG\": \"en-001\",\n \"en-VC\": \"en-001\",\n \"en-VG\": \"en-001\",\n \"en-VU\": \"en-001\",\n \"en-WS\": \"en-001\",\n \"en-ZA\": \"en-001\",\n \"en-ZM\": \"en-001\",\n \"en-ZW\": \"en-001\",\n \"en-AT\": \"en-150\",\n \"en-BE\": \"en-150\",\n \"en-CH\": \"en-150\",\n \"en-DE\": \"en-150\",\n \"en-DK\": \"en-150\",\n \"en-FI\": \"en-150\",\n \"en-NL\": \"en-150\",\n \"en-SE\": \"en-150\",\n \"en-SI\": \"en-150\"\n }\n });\n}","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","// This is extracted to separate module because it's shared\n// between browser and SSR code\nexport const RouteAnnouncerProps = {\n id: `gatsby-announcer`,\n style: {\n position: `absolute`,\n top: 0,\n width: 1,\n height: 1,\n padding: 0,\n overflow: `hidden`,\n clip: `rect(0, 0, 0, 0)`,\n whiteSpace: `nowrap`,\n border: 0,\n },\n \"aria-live\": `assertive`,\n \"aria-atomic\": `true`,\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport loader, { PageResourceStatus } from \"./loader\"\nimport redirects from \"./redirects.json\"\nimport { apiRunner } from \"./api-runner-browser\"\nimport emitter from \"./emitter\"\nimport { RouteAnnouncerProps } from \"./route-announcer-props\"\nimport { navigate as reachNavigate } from \"@reach/router\"\nimport { globalHistory } from \"@reach/router/lib/history\"\nimport { parsePath } from \"gatsby-link\"\n\n// Convert to a map for faster lookup in maybeRedirect()\n\nconst redirectMap = new Map()\nconst redirectIgnoreCaseMap = new Map()\n\nredirects.forEach(redirect => {\n if (redirect.ignoreCase) {\n redirectIgnoreCaseMap.set(redirect.fromPath, redirect)\n } else {\n redirectMap.set(redirect.fromPath, redirect)\n }\n})\n\nfunction maybeRedirect(pathname) {\n let redirect = redirectMap.get(pathname)\n if (!redirect) {\n redirect = redirectIgnoreCaseMap.get(pathname.toLowerCase())\n }\n\n if (redirect != null) {\n if (process.env.NODE_ENV !== `production`) {\n if (!loader.isPageNotFound(pathname)) {\n console.error(\n `The route \"${pathname}\" matches both a page and a redirect; this is probably not intentional.`\n )\n }\n }\n\n window.___replace(redirect.toPath)\n return true\n } else {\n return false\n }\n}\n\nconst onPreRouteUpdate = (location, prevLocation) => {\n if (!maybeRedirect(location.pathname)) {\n apiRunner(`onPreRouteUpdate`, { location, prevLocation })\n }\n}\n\nconst onRouteUpdate = (location, prevLocation) => {\n if (!maybeRedirect(location.pathname)) {\n apiRunner(`onRouteUpdate`, { location, prevLocation })\n if (\n process.env.GATSBY_EXPERIMENTAL_QUERY_ON_DEMAND &&\n process.env.GATSBY_QUERY_ON_DEMAND_LOADING_INDICATOR === `true`\n ) {\n emitter.emit(`onRouteUpdate`, { location, prevLocation })\n }\n }\n}\n\nconst navigate = (to, options = {}) => {\n // Support forward/backward navigation with numbers\n // navigate(-2) (jumps back 2 history steps)\n // navigate(2) (jumps forward 2 history steps)\n if (typeof to === `number`) {\n globalHistory.navigate(to)\n return\n }\n\n let { pathname } = parsePath(to)\n let redirect = redirectMap.get(pathname)\n if (!redirect) {\n redirect = redirectIgnoreCaseMap.get(pathname.toLowerCase())\n }\n\n // If we're redirecting, just replace the passed in pathname\n // to the one we want to redirect to.\n if (redirect) {\n to = redirect.toPath\n pathname = parsePath(to).pathname\n }\n\n // If we had a service worker update, no matter the path, reload window and\n // reset the pathname whitelist\n if (window.___swUpdated) {\n window.location = pathname\n return\n }\n\n // Start a timer to wait for a second before transitioning and showing a\n // loader in case resources aren't around yet.\n const timeoutId = setTimeout(() => {\n emitter.emit(`onDelayedLoadPageResources`, { pathname })\n apiRunner(`onRouteUpdateDelayed`, {\n location: window.location,\n })\n }, 1000)\n\n loader.loadPage(pathname).then(pageResources => {\n // If no page resources, then refresh the page\n // Do this, rather than simply `window.location.reload()`, so that\n // pressing the back/forward buttons work - otherwise when pressing\n // back, the browser will just change the URL and expect JS to handle\n // the change, which won't always work since it might not be a Gatsby\n // page.\n if (!pageResources || pageResources.status === PageResourceStatus.Error) {\n window.history.replaceState({}, ``, location.href)\n window.location = pathname\n clearTimeout(timeoutId)\n return\n }\n\n // If the loaded page has a different compilation hash to the\n // window, then a rebuild has occurred on the server. Reload.\n if (process.env.NODE_ENV === `production` && pageResources) {\n if (\n pageResources.page.webpackCompilationHash !==\n window.___webpackCompilationHash\n ) {\n // Purge plugin-offline cache\n if (\n `serviceWorker` in navigator &&\n navigator.serviceWorker.controller !== null &&\n navigator.serviceWorker.controller.state === `activated`\n ) {\n navigator.serviceWorker.controller.postMessage({\n gatsbyApi: `clearPathResources`,\n })\n }\n\n window.location = pathname\n }\n }\n reachNavigate(to, options)\n clearTimeout(timeoutId)\n })\n}\n\nfunction shouldUpdateScroll(prevRouterProps, { location }) {\n const { pathname, hash } = location\n const results = apiRunner(`shouldUpdateScroll`, {\n prevRouterProps,\n // `pathname` for backwards compatibility\n pathname,\n routerProps: { location },\n getSavedScrollPosition: args => [\n 0,\n this._stateStorage.read(args, args.key),\n ],\n })\n if (results.length > 0) {\n // Use the latest registered shouldUpdateScroll result, this allows users to override plugin's configuration\n // @see https://github.com/gatsbyjs/gatsby/issues/12038\n return results[results.length - 1]\n }\n\n if (prevRouterProps) {\n const {\n location: { pathname: oldPathname },\n } = prevRouterProps\n if (oldPathname === pathname) {\n // Scroll to element if it exists, if it doesn't, or no hash is provided,\n // scroll to top.\n return hash ? decodeURI(hash.slice(1)) : [0, 0]\n }\n }\n return true\n}\n\nfunction init() {\n // The \"scroll-behavior\" package expects the \"action\" to be on the location\n // object so let's copy it over.\n globalHistory.listen(args => {\n args.location.action = args.action\n })\n\n window.___push = to => navigate(to, { replace: false })\n window.___replace = to => navigate(to, { replace: true })\n window.___navigate = (to, options) => navigate(to, options)\n\n // Check for initial page-load redirect\n maybeRedirect(window.location.pathname)\n}\n\nclass RouteAnnouncer extends React.Component {\n constructor(props) {\n super(props)\n this.announcementRef = React.createRef()\n }\n\n componentDidUpdate(prevProps, nextProps) {\n requestAnimationFrame(() => {\n let pageName = `new page at ${this.props.location.pathname}`\n if (document.title) {\n pageName = document.title\n }\n const pageHeadings = document.querySelectorAll(`#gatsby-focus-wrapper h1`)\n if (pageHeadings && pageHeadings.length) {\n pageName = pageHeadings[0].textContent\n }\n const newAnnouncement = `Navigated to ${pageName}`\n if (this.announcementRef.current) {\n const oldAnnouncement = this.announcementRef.current.innerText\n if (oldAnnouncement !== newAnnouncement) {\n this.announcementRef.current.innerText = newAnnouncement\n }\n }\n })\n }\n\n render() {\n return
\n }\n}\n\nconst compareLocationProps = (prevLocation, nextLocation) => {\n if (prevLocation.href !== nextLocation.href) {\n return true\n }\n\n if (prevLocation?.state?.key !== nextLocation?.state?.key) {\n return true\n }\n\n return false\n}\n\n// Fire on(Pre)RouteUpdate APIs\nclass RouteUpdates extends React.Component {\n constructor(props) {\n super(props)\n onPreRouteUpdate(props.location, null)\n }\n\n componentDidMount() {\n onRouteUpdate(this.props.location, null)\n }\n\n shouldComponentUpdate(prevProps) {\n if (compareLocationProps(prevProps.location, this.props.location)) {\n onPreRouteUpdate(this.props.location, prevProps.location)\n return true\n }\n return false\n }\n\n componentDidUpdate(prevProps) {\n if (compareLocationProps(prevProps.location, this.props.location)) {\n onRouteUpdate(this.props.location, prevProps.location)\n }\n }\n\n render() {\n return (\n \n {this.props.children}\n \n \n )\n }\n}\n\nRouteUpdates.propTypes = {\n location: PropTypes.object.isRequired,\n}\n\nexport { init, shouldUpdateScroll, RouteUpdates }\n","// Pulled from react-compat\n// https://github.com/developit/preact-compat/blob/7c5de00e7c85e2ffd011bf3af02899b63f699d3a/src/index.js#L349\nfunction shallowDiffers(a, b) {\n for (var i in a) {\n if (!(i in b)) return true;\n }for (var _i in b) {\n if (a[_i] !== b[_i]) return true;\n }return false;\n}\n\nexport default (function (instance, nextProps, nextState) {\n return shallowDiffers(instance.props, nextProps) || shallowDiffers(instance.state, nextState);\n});","import React from \"react\"\nimport loader, { PageResourceStatus } from \"./loader\"\nimport shallowCompare from \"shallow-compare\"\n\nclass EnsureResources extends React.Component {\n constructor(props) {\n super()\n const { location, pageResources } = props\n this.state = {\n location: { ...location },\n pageResources: pageResources || loader.loadPageSync(location.pathname),\n }\n }\n\n static getDerivedStateFromProps({ location }, prevState) {\n if (prevState.location.href !== location.href) {\n const pageResources = loader.loadPageSync(location.pathname)\n return {\n pageResources,\n location: { ...location },\n }\n }\n\n return {\n location: { ...location },\n }\n }\n\n loadResources(rawPath) {\n loader.loadPage(rawPath).then(pageResources => {\n if (pageResources && pageResources.status !== PageResourceStatus.Error) {\n this.setState({\n location: { ...window.location },\n pageResources,\n })\n } else {\n window.history.replaceState({}, ``, location.href)\n window.location = rawPath\n }\n })\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n // Always return false if we're missing resources.\n if (!nextState.pageResources) {\n this.loadResources(nextProps.location.pathname)\n return false\n }\n\n if (\n process.env.BUILD_STAGE === `develop` &&\n nextState.pageResources.stale\n ) {\n this.loadResources(nextProps.location.pathname)\n return false\n }\n\n // Check if the component or json have changed.\n if (this.state.pageResources !== nextState.pageResources) {\n return true\n }\n if (\n this.state.pageResources.component !== nextState.pageResources.component\n ) {\n return true\n }\n\n if (this.state.pageResources.json !== nextState.pageResources.json) {\n return true\n }\n // Check if location has changed on a page using internal routing\n // via matchPath configuration.\n if (\n this.state.location.key !== nextState.location.key &&\n nextState.pageResources.page &&\n (nextState.pageResources.page.matchPath ||\n nextState.pageResources.page.path)\n ) {\n return true\n }\n return shallowCompare(this, nextProps, nextState)\n }\n\n render() {\n if (process.env.NODE_ENV !== `production` && !this.state.pageResources) {\n throw new Error(\n `EnsureResources was not able to find resources for path: \"${this.props.location.pathname}\"\nThis typically means that an issue occurred building components for that path.\nRun \\`gatsby clean\\` to remove any cached elements.`\n )\n }\n\n return this.props.children(this.state)\n }\n}\n\nexport default EnsureResources\n","import { apiRunner, apiRunnerAsync } from \"./api-runner-browser\"\nimport React from \"react\"\nimport ReactDOM from \"react-dom\"\nimport { Router, navigate, Location, BaseContext } from \"@reach/router\"\nimport { ScrollContext } from \"gatsby-react-router-scroll\"\nimport domReady from \"@mikaelkristiansson/domready\"\nimport { StaticQueryContext } from \"gatsby\"\nimport {\n shouldUpdateScroll,\n init as navigationInit,\n RouteUpdates,\n} from \"./navigation\"\nimport emitter from \"./emitter\"\nimport PageRenderer from \"./page-renderer\"\nimport asyncRequires from \"$virtual/async-requires\"\nimport {\n setLoader,\n ProdLoader,\n publicLoader,\n PageResourceStatus,\n getStaticQueryResults,\n} from \"./loader\"\nimport EnsureResources from \"./ensure-resources\"\nimport stripPrefix from \"./strip-prefix\"\n\n// Generated during bootstrap\nimport matchPaths from \"$virtual/match-paths.json\"\n\nconst loader = new ProdLoader(asyncRequires, matchPaths)\nsetLoader(loader)\nloader.setApiRunner(apiRunner)\n\nwindow.asyncRequires = asyncRequires\nwindow.___emitter = emitter\nwindow.___loader = publicLoader\n\nnavigationInit()\n\napiRunnerAsync(`onClientEntry`).then(() => {\n // Let plugins register a service worker. The plugin just needs\n // to return true.\n if (apiRunner(`registerServiceWorker`).length > 0) {\n require(`./register-service-worker`)\n }\n\n // In gatsby v2 if Router is used in page using matchPaths\n // paths need to contain full path.\n // For example:\n // - page have `/app/*` matchPath\n // - inside template user needs to use `/app/xyz` as path\n // Resetting `basepath`/`baseuri` keeps current behaviour\n // to not introduce breaking change.\n // Remove this in v3\n const RouteHandler = props => (\n \n \n \n )\n\n const DataContext = React.createContext({})\n\n class GatsbyRoot extends React.Component {\n render() {\n const { children } = this.props\n return (\n \n {({ location }) => (\n \n {({ pageResources, location }) => {\n const staticQueryResults = getStaticQueryResults()\n return (\n \n \n {children}\n \n \n )\n }}\n \n )}\n \n )\n }\n }\n\n class LocationHandler extends React.Component {\n render() {\n return (\n \n {({ pageResources, location }) => (\n \n \n \n \n
\n \n \n )}\n \n )\n }\n }\n\n const { pagePath, location: browserLoc } = window\n\n // Explicitly call navigate if the canonical path (window.pagePath)\n // is different to the browser path (window.location.pathname). But\n // only if NONE of the following conditions hold:\n //\n // - The url matches a client side route (page.matchPath)\n // - it's a 404 page\n // - it's the offline plugin shell (/offline-plugin-app-shell-fallback/)\n if (\n pagePath &&\n __BASE_PATH__ + pagePath !== browserLoc.pathname &&\n !(\n loader.findMatchPath(stripPrefix(browserLoc.pathname, __BASE_PATH__)) ||\n pagePath === `/404.html` ||\n pagePath.match(/^\\/404\\/?$/) ||\n pagePath.match(/^\\/offline-plugin-app-shell-fallback\\/?$/)\n )\n ) {\n navigate(__BASE_PATH__ + pagePath + browserLoc.search + browserLoc.hash, {\n replace: true,\n })\n }\n\n publicLoader.loadPage(browserLoc.pathname).then(page => {\n if (!page || page.status === PageResourceStatus.Error) {\n throw new Error(\n `page resources for ${browserLoc.pathname} not found. Not rendering React`\n )\n }\n\n window.___webpackCompilationHash = page.page.webpackCompilationHash\n\n const SiteRoot = apiRunner(\n `wrapRootElement`,\n { element: },\n ,\n ({ result }) => {\n return { element: result }\n }\n ).pop()\n\n const App = () => {SiteRoot}\n\n const renderer = apiRunner(\n `replaceHydrateFunction`,\n undefined,\n ReactDOM.hydrate\n )[0]\n\n domReady(() => {\n renderer(\n ,\n typeof window !== `undefined`\n ? document.getElementById(`___gatsby`)\n : void 0,\n () => {\n apiRunner(`onInitialClientRender`)\n }\n )\n })\n })\n})\n","/* @generated */\n// prettier-ignore\nif (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {\n Intl.RelativeTimeFormat.__addLocaleData({\n \"data\": {\n \"pa-Arab\": {\n \"nu\": [\"arabext\"],\n \"year\": {\n \"0\": \"this year\",\n \"1\": \"next year\",\n \"future\": {\n \"other\": \"+{0} y\"\n },\n \"past\": {\n \"other\": \"-{0} y\"\n },\n \"-1\": \"last year\"\n },\n \"year-short\": {\n \"0\": \"this year\",\n \"1\": \"next year\",\n \"future\": {\n \"other\": \"+{0} y\"\n },\n \"past\": {\n \"other\": \"-{0} y\"\n },\n \"-1\": \"last year\"\n },\n \"year-narrow\": {\n \"0\": \"this year\",\n \"1\": \"next year\",\n \"future\": {\n \"other\": \"+{0} y\"\n },\n \"past\": {\n \"other\": \"-{0} y\"\n },\n \"-1\": \"last year\"\n },\n \"quarter\": {\n \"0\": \"this quarter\",\n \"1\": \"next quarter\",\n \"future\": {\n \"other\": \"+{0} Q\"\n },\n \"past\": {\n \"other\": \"-{0} Q\"\n },\n \"-1\": \"last quarter\"\n },\n \"quarter-short\": {\n \"0\": \"this quarter\",\n \"1\": \"next quarter\",\n \"future\": {\n \"other\": \"+{0} Q\"\n },\n \"past\": {\n \"other\": \"-{0} Q\"\n },\n \"-1\": \"last quarter\"\n },\n \"quarter-narrow\": {\n \"0\": \"this quarter\",\n \"1\": \"next quarter\",\n \"future\": {\n \"other\": \"+{0} Q\"\n },\n \"past\": {\n \"other\": \"-{0} Q\"\n },\n \"-1\": \"last quarter\"\n },\n \"month\": {\n \"0\": \"this month\",\n \"1\": \"next month\",\n \"future\": {\n \"other\": \"+{0} m\"\n },\n \"past\": {\n \"other\": \"-{0} m\"\n },\n \"-1\": \"last month\"\n },\n \"month-short\": {\n \"0\": \"this month\",\n \"1\": \"next month\",\n \"future\": {\n \"other\": \"+{0} m\"\n },\n \"past\": {\n \"other\": \"-{0} m\"\n },\n \"-1\": \"last month\"\n },\n \"month-narrow\": {\n \"0\": \"this month\",\n \"1\": \"next month\",\n \"future\": {\n \"other\": \"+{0} m\"\n },\n \"past\": {\n \"other\": \"-{0} m\"\n },\n \"-1\": \"last month\"\n },\n \"week\": {\n \"0\": \"this week\",\n \"1\": \"next week\",\n \"future\": {\n \"other\": \"+{0} w\"\n },\n \"past\": {\n \"other\": \"-{0} w\"\n },\n \"-1\": \"last week\"\n },\n \"week-short\": {\n \"0\": \"this week\",\n \"1\": \"next week\",\n \"future\": {\n \"other\": \"+{0} w\"\n },\n \"past\": {\n \"other\": \"-{0} w\"\n },\n \"-1\": \"last week\"\n },\n \"week-narrow\": {\n \"0\": \"this week\",\n \"1\": \"next week\",\n \"future\": {\n \"other\": \"+{0} w\"\n },\n \"past\": {\n \"other\": \"-{0} w\"\n },\n \"-1\": \"last week\"\n },\n \"day\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"future\": {\n \"other\": \"+{0} d\"\n },\n \"past\": {\n \"other\": \"-{0} d\"\n },\n \"-1\": \"yesterday\"\n },\n \"day-short\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"future\": {\n \"other\": \"+{0} d\"\n },\n \"past\": {\n \"other\": \"-{0} d\"\n },\n \"-1\": \"yesterday\"\n },\n \"day-narrow\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"future\": {\n \"other\": \"+{0} d\"\n },\n \"past\": {\n \"other\": \"-{0} d\"\n },\n \"-1\": \"yesterday\"\n },\n \"hour\": {\n \"0\": \"this hour\",\n \"future\": {\n \"other\": \"+{0} h\"\n },\n \"past\": {\n \"other\": \"-{0} h\"\n }\n },\n \"hour-short\": {\n \"0\": \"this hour\",\n \"future\": {\n \"other\": \"+{0} h\"\n },\n \"past\": {\n \"other\": \"-{0} h\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"this hour\",\n \"future\": {\n \"other\": \"+{0} h\"\n },\n \"past\": {\n \"other\": \"-{0} h\"\n }\n },\n \"minute\": {\n \"0\": \"this minute\",\n \"future\": {\n \"other\": \"+{0} min\"\n },\n \"past\": {\n \"other\": \"-{0} min\"\n }\n },\n \"minute-short\": {\n \"0\": \"this minute\",\n \"future\": {\n \"other\": \"+{0} min\"\n },\n \"past\": {\n \"other\": \"-{0} min\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"this minute\",\n \"future\": {\n \"other\": \"+{0} min\"\n },\n \"past\": {\n \"other\": \"-{0} min\"\n }\n },\n \"second\": {\n \"0\": \"now\",\n \"future\": {\n \"other\": \"+{0} s\"\n },\n \"past\": {\n \"other\": \"-{0} s\"\n }\n },\n \"second-short\": {\n \"0\": \"now\",\n \"future\": {\n \"other\": \"+{0} s\"\n },\n \"past\": {\n \"other\": \"-{0} s\"\n }\n },\n \"second-narrow\": {\n \"0\": \"now\",\n \"future\": {\n \"other\": \"+{0} s\"\n },\n \"past\": {\n \"other\": \"-{0} s\"\n }\n }\n },\n \"pa\": {\n \"nu\": [\"latn\"],\n \"year\": {\n \"0\": \"ਇਹ ਸਾਲ\",\n \"1\": \"ਅਗਲਾ ਸਾਲ\",\n \"future\": {\n \"one\": \"{0} ਸਾਲ ਵਿੱਚ\",\n \"other\": \"{0} ਸਾਲਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਸਾਲ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਸਾਲ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲਾ ਸਾਲ\"\n },\n \"year-short\": {\n \"0\": \"ਇਹ ਸਾਲ\",\n \"1\": \"ਅਗਲਾ ਸਾਲ\",\n \"future\": {\n \"one\": \"{0} ਸਾਲ ਵਿੱਚ\",\n \"other\": \"{0} ਸਾਲਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਸਾਲ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਸਾਲ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲਾ ਸਾਲ\"\n },\n \"year-narrow\": {\n \"0\": \"ਇਹ ਸਾਲ\",\n \"1\": \"ਅਗਲਾ ਸਾਲ\",\n \"future\": {\n \"one\": \"{0} ਸਾਲ ਵਿੱਚ\",\n \"other\": \"{0} ਸਾਲਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਸਾਲ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਸਾਲ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲਾ ਸਾਲ\"\n },\n \"quarter\": {\n \"0\": \"ਇਸ ਤਿਮਾਹੀ\",\n \"1\": \"ਅਗਲੀ ਤਿਮਾਹੀ\",\n \"future\": {\n \"one\": \"{0} ਤਿਮਾਹੀ ਵਿੱਚ\",\n \"other\": \"{0} ਤਿਮਾਹੀਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਤਿਮਾਹੀ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਤਿਮਾਹੀਆਂ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲੀ ਤਿਮਾਹੀ\"\n },\n \"quarter-short\": {\n \"0\": \"ਇਹ ਤਿਮਾਹੀ\",\n \"1\": \"ਅਗਲੀ ਤਿਮਾਹੀ\",\n \"future\": {\n \"one\": \"{0} ਤਿਮਾਹੀ ਵਿੱਚ\",\n \"other\": \"{0} ਤਿਮਾਹੀਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਤਿਮਾਹੀ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਤਿਮਾਹੀਆਂ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲੀ ਤਿਮਾਹੀ\"\n },\n \"quarter-narrow\": {\n \"0\": \"ਇਹ ਤਿਮਾਹੀ\",\n \"1\": \"ਅਗਲੀ ਤਿਮਾਹੀ\",\n \"future\": {\n \"one\": \"{0} ਤਿਮਾਹੀ ਵਿੱਚ\",\n \"other\": \"{0} ਤਿਮਾਹੀਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਤਿਮਾਹੀ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਤਿਮਾਹੀਆਂ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲੀ ਤਿਮਾਹੀ\"\n },\n \"month\": {\n \"0\": \"ਇਹ ਮਹੀਨਾ\",\n \"1\": \"ਅਗਲਾ ਮਹੀਨਾ\",\n \"future\": {\n \"one\": \"{0} ਮਹੀਨੇ ਵਿੱਚ\",\n \"other\": \"{0} ਮਹੀਨਿਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਮਹੀਨਾ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਮਹੀਨੇ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲਾ ਮਹੀਨਾ\"\n },\n \"month-short\": {\n \"0\": \"ਇਹ ਮਹੀਨਾ\",\n \"1\": \"ਅਗਲਾ ਮਹੀਨਾ\",\n \"future\": {\n \"one\": \"{0} ਮਹੀਨੇ ਵਿੱਚ\",\n \"other\": \"{0} ਮਹੀਨਿਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਮਹੀਨਾ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਮਹੀਨੇ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲਾ ਮਹੀਨਾ\"\n },\n \"month-narrow\": {\n \"0\": \"ਇਹ ਮਹੀਨਾ\",\n \"1\": \"ਅਗਲਾ ਮਹੀਨਾ\",\n \"future\": {\n \"one\": \"{0} ਮਹੀਨੇ ਵਿੱਚ\",\n \"other\": \"{0} ਮਹੀਨਿਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਮਹੀਨਾ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਮਹੀਨੇ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲਾ ਮਹੀਨਾ\"\n },\n \"week\": {\n \"0\": \"ਇਹ ਹਫ਼ਤਾ\",\n \"1\": \"ਅਗਲਾ ਹਫ਼ਤਾ\",\n \"future\": {\n \"one\": \"{0} ਹਫ਼ਤੇ ਵਿੱਚ\",\n \"other\": \"{0} ਹਫ਼ਤਿਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਹਫ਼ਤਾ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਹਫ਼ਤੇ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲਾ ਹਫ਼ਤਾ\"\n },\n \"week-short\": {\n \"0\": \"ਇਹ ਹਫ਼ਤਾ\",\n \"1\": \"ਅਗਲਾ ਹਫ਼ਤਾ\",\n \"future\": {\n \"one\": \"{0} ਹਫ਼ਤੇ ਵਿੱਚ\",\n \"other\": \"{0} ਹਫ਼ਤਿਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਹਫ਼ਤਾ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਹਫ਼ਤੇ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲਾ ਹਫ਼ਤਾ\"\n },\n \"week-narrow\": {\n \"0\": \"ਇਹ ਹਫ਼ਤਾ\",\n \"1\": \"ਅਗਲਾ ਹਫ਼ਤਾ\",\n \"future\": {\n \"one\": \"{0} ਹਫ਼ਤੇ ਵਿੱਚ\",\n \"other\": \"{0} ਹਫ਼ਤਿਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਹਫ਼ਤਾ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਹਫ਼ਤੇ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਪਿਛਲਾ ਹਫ਼ਤਾ\"\n },\n \"day\": {\n \"0\": \"ਅੱਜ\",\n \"1\": \"ਭਲਕੇ\",\n \"future\": {\n \"one\": \"{0} ਦਿਨ ਵਿੱਚ\",\n \"other\": \"{0} ਦਿਨਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਦਿਨ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਦਿਨ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਬੀਤਿਆ ਕੱਲ੍ਹ\"\n },\n \"day-short\": {\n \"0\": \"ਅੱਜ\",\n \"1\": \"ਭਲਕੇ\",\n \"future\": {\n \"one\": \"{0} ਦਿਨ ਵਿੱਚ\",\n \"other\": \"{0} ਦਿਨਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਦਿਨ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਦਿਨ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਬੀਤਿਆ ਕੱਲ੍ਹ\"\n },\n \"day-narrow\": {\n \"0\": \"ਅੱਜ\",\n \"1\": \"ਭਲਕੇ\",\n \"future\": {\n \"one\": \"{0} ਦਿਨ ਵਿੱਚ\",\n \"other\": \"{0} ਦਿਨਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਦਿਨ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਦਿਨ ਪਹਿਲਾਂ\"\n },\n \"-1\": \"ਬੀਤਿਆ ਕੱਲ੍ਹ\"\n },\n \"hour\": {\n \"0\": \"ਇਸ ਘੰਟੇ\",\n \"future\": {\n \"one\": \"{0} ਘੰਟੇ ਵਿੱਚ\",\n \"other\": \"{0} ਘੰਟਿਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਘੰਟਾ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਘੰਟੇ ਪਹਿਲਾਂ\"\n }\n },\n \"hour-short\": {\n \"0\": \"ਇਸ ਘੰਟੇ\",\n \"future\": {\n \"one\": \"{0} ਘੰਟੇ ਵਿੱਚ\",\n \"other\": \"{0} ਘੰਟਿਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਘੰਟਾ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਘੰਟੇ ਪਹਿਲਾਂ\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"ਇਸ ਘੰਟੇ\",\n \"future\": {\n \"one\": \"{0} ਘੰਟੇ ਵਿੱਚ\",\n \"other\": \"{0} ਘੰਟਿਆਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਘੰਟਾ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਘੰਟੇ ਪਹਿਲਾਂ\"\n }\n },\n \"minute\": {\n \"0\": \"ਇਸ ਮਿੰਟ\",\n \"future\": {\n \"one\": \"{0} ਮਿੰਟ ਵਿੱਚ\",\n \"other\": \"{0} ਮਿੰਟਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਮਿੰਟ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਮਿੰਟ ਪਹਿਲਾਂ\"\n }\n },\n \"minute-short\": {\n \"0\": \"ਇਸ ਮਿੰਟ\",\n \"future\": {\n \"one\": \"{0} ਮਿੰਟ ਵਿੱਚ\",\n \"other\": \"{0} ਮਿੰਟਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਮਿੰਟ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਮਿੰਟ ਪਹਿਲਾਂ\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"ਇਸ ਮਿੰਟ\",\n \"future\": {\n \"one\": \"{0} ਮਿੰਟ ਵਿੱਚ\",\n \"other\": \"{0} ਮਿੰਟਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਮਿੰਟ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਮਿੰਟ ਪਹਿਲਾਂ\"\n }\n },\n \"second\": {\n \"0\": \"ਹੁਣ\",\n \"future\": {\n \"one\": \"{0} ਸਕਿੰਟ ਵਿੱਚ\",\n \"other\": \"{0} ਸਕਿੰਟਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਸਕਿੰਟ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਸਕਿੰਟ ਪਹਿਲਾਂ\"\n }\n },\n \"second-short\": {\n \"0\": \"ਹੁਣ\",\n \"future\": {\n \"one\": \"{0} ਸਕਿੰਟ ਵਿੱਚ\",\n \"other\": \"{0} ਸਕਿੰਟਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਸਕਿੰਟ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਸਕਿੰਟ ਪਹਿਲਾਂ\"\n }\n },\n \"second-narrow\": {\n \"0\": \"ਹੁਣ\",\n \"future\": {\n \"one\": \"{0} ਸਕਿੰਟ ਵਿੱਚ\",\n \"other\": \"{0} ਸਕਿੰਟਾਂ ਵਿੱਚ\"\n },\n \"past\": {\n \"one\": \"{0} ਸਕਿੰਟ ਪਹਿਲਾਂ\",\n \"other\": \"{0} ਸਕਿੰਟ ਪਹਿਲਾਂ\"\n }\n }\n }\n },\n \"availableLocales\": [\"pa-Arab\", \"pa-Guru\", \"pa\"],\n \"aliases\": {\n \"pa-IN\": \"pa-Guru-IN\",\n \"pa-PK\": \"pa-Arab-PK\"\n },\n \"parentLocales\": {}\n });\n}","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inheritsLoose;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","\"use strict\";\n\nvar __assign = this && this.__assign || function () {\n __assign = Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return __assign.apply(this, arguments);\n};\n\nvar __values = this && this.__values || function (o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function next() {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n};\n\nvar __read = this && this.__read || function (o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {\n ar.push(r.value);\n }\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n\n return ar;\n};\n\nvar __spread = this && this.__spread || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) {\n ar = ar.concat(__read(arguments[i]));\n }\n\n return ar;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar intl_utils_1 = require(\"@formatjs/intl-utils\");\n\nfunction unpackData(locale, localeData) {\n var localeHierarchy = intl_utils_1.getLocaleHierarchy(locale, localeData.aliases, localeData.parentLocales);\n var dataToMerge = localeHierarchy.map(function (l) {\n return localeData.data[l];\n }).filter(Boolean);\n\n if (!dataToMerge.length) {\n throw new Error(\"Missing locale data for \\\"\" + locale + \"\\\", lookup hierarchy: \" + localeHierarchy.join(', '));\n }\n\n dataToMerge.reverse();\n return dataToMerge.reduce(function (all, d) {\n return __assign(__assign({}, all), d);\n }, {\n nu: []\n });\n}\n/**\n * https://tc39.es/proposal-intl-relative-time/#sec-singularrelativetimeunit\n * @param unit\n */\n\n\nfunction singularRelativeTimeUnit(unit) {\n intl_utils_1.invariant(typeof unit === 'string', \"unit must be a string, instead got \" + typeof unit, TypeError);\n if (unit === 'seconds') return 'second';\n if (unit === 'minutes') return 'minute';\n if (unit === 'hours') return 'hour';\n if (unit === 'days') return 'day';\n if (unit === 'weeks') return 'week';\n if (unit === 'months') return 'month';\n if (unit === 'quarters') return 'quarter';\n if (unit === 'years') return 'year';\n\n if (unit !== 'second' && unit !== 'minute' && unit !== 'hour' && unit !== 'day' && unit !== 'week' && unit !== 'month' && unit !== 'quarter' && unit !== 'year') {\n throw new RangeError(\"Invalid unit \" + unit);\n }\n\n return unit;\n}\n\nvar NUMBERING_SYSTEM_REGEX = /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;\n/**\n * https://tc39.es/proposal-intl-relative-time/#sec-makepartslist\n * @param pattern\n * @param unit\n * @param parts\n */\n\nfunction makePartsList(pattern, unit, parts) {\n var e_1, _a, e_2, _b;\n\n var patternParts = intl_utils_1.partitionPattern(pattern);\n var result = [];\n\n try {\n for (var patternParts_1 = __values(patternParts), patternParts_1_1 = patternParts_1.next(); !patternParts_1_1.done; patternParts_1_1 = patternParts_1.next()) {\n var patternPart = patternParts_1_1.value;\n\n if (intl_utils_1.isLiteralPart(patternPart)) {\n result.push({\n type: 'literal',\n value: patternPart.value\n });\n } else {\n intl_utils_1.invariant(patternPart.type === '0', \"Malformed pattern \" + pattern);\n\n try {\n for (var parts_1 = (e_2 = void 0, __values(parts)), parts_1_1 = parts_1.next(); !parts_1_1.done; parts_1_1 = parts_1.next()) {\n var part = parts_1_1.value;\n result.push({\n type: part.type,\n value: part.value,\n unit: unit\n });\n }\n } catch (e_2_1) {\n e_2 = {\n error: e_2_1\n };\n } finally {\n try {\n if (parts_1_1 && !parts_1_1.done && (_b = parts_1.return)) _b.call(parts_1);\n } finally {\n if (e_2) throw e_2.error;\n }\n }\n }\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (patternParts_1_1 && !patternParts_1_1.done && (_a = patternParts_1.return)) _a.call(patternParts_1);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n\n return result;\n}\n\nfunction objectIs(x, y) {\n if (Object.is) {\n return Object.is(x, y);\n } // SameValue algorithm\n\n\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } // Step 6.a: NaN == NaN\n\n\n return x !== x && y !== y;\n}\n\nfunction toString(arg) {\n return arg + '';\n}\n/**\n * PartitionRelativeTimePattern\n * @param rtf\n * @param value\n * @param unit\n */\n\n\nfunction partitionRelativeTimePattern(internalSlotMap, rtf, value, unit) {\n intl_utils_1.invariant(typeof value === 'number', \"value must be number, instead got \" + typeof value, TypeError);\n intl_utils_1.invariant(typeof unit === 'string', \"unit must be number, instead got \" + typeof value, TypeError);\n\n if (isNaN(value) || value === Infinity || value === -Infinity) {\n throw new RangeError(\"Invalid value \" + value);\n }\n\n var resolvedUnit = singularRelativeTimeUnit(unit);\n var fields = intl_utils_1.getInternalSlot(internalSlotMap, rtf, 'fields');\n var style = intl_utils_1.getInternalSlot(internalSlotMap, rtf, 'style');\n var entry = resolvedUnit;\n\n if (style === 'short') {\n entry = unit + \"-short\";\n } else if (style === 'narrow') {\n entry = unit + \"-narrow\";\n }\n\n if (!(entry in fields)) {\n entry = unit;\n }\n\n var patterns = fields[entry];\n var numeric = intl_utils_1.getInternalSlot(internalSlotMap, rtf, 'numeric');\n\n if (numeric === 'auto') {\n if (toString(value) in patterns) {\n return [{\n type: 'literal',\n value: patterns[toString(value)]\n }];\n }\n }\n\n var tl = 'future';\n\n if (objectIs(value, -0) || value < 0) {\n tl = 'past';\n }\n\n var po = patterns[tl];\n var pluralRules = intl_utils_1.getInternalSlot(internalSlotMap, rtf, 'pluralRules');\n var numberFormat = intl_utils_1.getInternalSlot(internalSlotMap, rtf, 'numberFormat');\n var fv = typeof numberFormat.formatToParts === 'function' ? numberFormat.formatToParts(Math.abs(value)) : // TODO: If formatToParts is not supported, we assume the whole formatted\n // number is a part\n [{\n type: 'literal',\n value: numberFormat.format(Math.abs(value)),\n unit: unit\n }];\n var pr = pluralRules.select(value);\n var pattern = po[pr];\n return makePartsList(pattern, resolvedUnit, fv);\n}\n\nvar RelativeTimeFormat =\n/** @class */\nfunction () {\n function RelativeTimeFormat(locales, options) {\n // test262/test/intl402/RelativeTimeFormat/constructor/constructor/newtarget-undefined.js\n // Cannot use `new.target` bc of IE11 & TS transpiles it to something else\n var newTarget = this && this instanceof RelativeTimeFormat ? this.constructor : void 0;\n\n if (!newTarget) {\n throw new TypeError(\"Intl.RelativeTimeFormat must be called with 'new'\");\n }\n\n intl_utils_1.setInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'initializedRelativeTimeFormat', true);\n var requestedLocales = intl_utils_1.getCanonicalLocales(locales);\n var opt = Object.create(null);\n var opts = options === undefined ? Object.create(null) : intl_utils_1.toObject(options);\n var matcher = intl_utils_1.getOption(opts, 'localeMatcher', 'string', ['best fit', 'lookup'], 'best fit');\n opt.localeMatcher = matcher;\n var numberingSystem = intl_utils_1.getOption(opts, 'numberingSystem', 'string', undefined, undefined);\n\n if (numberingSystem !== undefined) {\n if (!NUMBERING_SYSTEM_REGEX.test(numberingSystem)) {\n throw new RangeError(\"Invalid numbering system \" + numberingSystem);\n }\n }\n\n opt.nu = numberingSystem;\n var r = intl_utils_1.createResolveLocale(RelativeTimeFormat.getDefaultLocale)(RelativeTimeFormat.availableLocales, requestedLocales, opt, RelativeTimeFormat.relevantExtensionKeys, RelativeTimeFormat.localeData);\n var locale = r.locale,\n nu = r.nu;\n intl_utils_1.setInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'locale', locale);\n intl_utils_1.setInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'style', intl_utils_1.getOption(opts, 'style', 'string', ['long', 'narrow', 'short'], 'long'));\n intl_utils_1.setInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'numeric', intl_utils_1.getOption(opts, 'numeric', 'string', ['always', 'auto'], 'always'));\n intl_utils_1.setInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'fields', RelativeTimeFormat.localeData[locale]);\n intl_utils_1.setInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'numberFormat', new Intl.NumberFormat(locales));\n intl_utils_1.setInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'pluralRules', new Intl.PluralRules(locales));\n intl_utils_1.setInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'numberingSystem', nu);\n }\n\n RelativeTimeFormat.prototype.format = function (value, unit) {\n if (typeof this !== 'object') {\n throw new TypeError('format was called on a non-object');\n }\n\n if (!intl_utils_1.getInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'initializedRelativeTimeFormat')) {\n throw new TypeError('format was called on a invalid context');\n }\n\n return partitionRelativeTimePattern(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, Number(value), toString(unit)).map(function (el) {\n return el.value;\n }).join('');\n };\n\n RelativeTimeFormat.prototype.formatToParts = function (value, unit) {\n if (typeof this !== 'object') {\n throw new TypeError('formatToParts was called on a non-object');\n }\n\n if (!intl_utils_1.getInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'initializedRelativeTimeFormat')) {\n throw new TypeError('formatToParts was called on a invalid context');\n }\n\n return partitionRelativeTimePattern(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, Number(value), toString(unit));\n };\n\n RelativeTimeFormat.prototype.resolvedOptions = function () {\n if (typeof this !== 'object') {\n throw new TypeError('resolvedOptions was called on a non-object');\n }\n\n if (!intl_utils_1.getInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'initializedRelativeTimeFormat')) {\n throw new TypeError('resolvedOptions was called on a invalid context');\n } // test262/test/intl402/RelativeTimeFormat/prototype/resolvedOptions/type.js\n\n\n return {\n locale: intl_utils_1.getInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'locale'),\n style: intl_utils_1.getInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'style'),\n numeric: intl_utils_1.getInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'numeric'),\n numberingSystem: intl_utils_1.getInternalSlot(RelativeTimeFormat.__INTERNAL_SLOT_MAP__, this, 'numberingSystem')\n };\n };\n\n RelativeTimeFormat.supportedLocalesOf = function (locales, options) {\n return intl_utils_1.supportedLocales(RelativeTimeFormat.availableLocales, intl_utils_1.getCanonicalLocales(locales), options);\n };\n\n RelativeTimeFormat.__addLocaleData = function () {\n var e_3, _a;\n\n var data = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n data[_i] = arguments[_i];\n }\n\n var _loop_1 = function _loop_1(datum) {\n var availableLocales = Object.keys(__spread(datum.availableLocales, Object.keys(datum.aliases), Object.keys(datum.parentLocales)).reduce(function (all, k) {\n all[k] = true;\n return all;\n }, {}));\n availableLocales.forEach(function (locale) {\n try {\n RelativeTimeFormat.localeData[locale] = unpackData(locale, datum);\n } catch (e) {// If we can't unpack this data, ignore the locale\n }\n });\n };\n\n try {\n for (var data_1 = __values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {\n var datum = data_1_1.value;\n\n _loop_1(datum);\n }\n } catch (e_3_1) {\n e_3 = {\n error: e_3_1\n };\n } finally {\n try {\n if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1);\n } finally {\n if (e_3) throw e_3.error;\n }\n }\n\n RelativeTimeFormat.availableLocales = Object.keys(RelativeTimeFormat.localeData);\n\n if (!RelativeTimeFormat.__defaultLocale) {\n RelativeTimeFormat.__defaultLocale = RelativeTimeFormat.availableLocales[0];\n }\n };\n\n RelativeTimeFormat.getDefaultLocale = function () {\n return RelativeTimeFormat.__defaultLocale;\n };\n\n RelativeTimeFormat.localeData = {};\n RelativeTimeFormat.availableLocales = [];\n RelativeTimeFormat.__defaultLocale = 'en';\n RelativeTimeFormat.relevantExtensionKeys = ['nu'];\n RelativeTimeFormat.polyfilled = true;\n RelativeTimeFormat.__INTERNAL_SLOT_MAP__ = new WeakMap();\n return RelativeTimeFormat;\n}();\n\nexports.default = RelativeTimeFormat;\n\ntry {\n // IE11 does not have Symbol\n if (typeof Symbol !== 'undefined') {\n Object.defineProperty(RelativeTimeFormat.prototype, Symbol.toStringTag, {\n value: 'Intl.RelativeTimeFormat',\n writable: false,\n enumerable: false,\n configurable: true\n });\n } // https://github.com/tc39/test262/blob/master/test/intl402/RelativeTimeFormat/constructor/length.js\n\n\n Object.defineProperty(RelativeTimeFormat.prototype.constructor, 'length', {\n value: 0,\n writable: false,\n enumerable: false,\n configurable: true\n }); // https://github.com/tc39/test262/blob/master/test/intl402/RelativeTimeFormat/constructor/supportedLocalesOf/length.js\n\n Object.defineProperty(RelativeTimeFormat.supportedLocalesOf, 'length', {\n value: 1,\n writable: false,\n enumerable: false,\n configurable: true\n });\n} catch (e) {// Meta fix so we're test262-compliant, not important\n}","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Link, {\n withPrefix,\n withAssetPrefix,\n navigate,\n push,\n replace,\n navigateTo,\n parsePath,\n} from \"gatsby-link\"\nimport { useScrollRestoration } from \"gatsby-react-router-scroll\"\nimport PageRenderer from \"./public-page-renderer\"\nimport loader from \"./loader\"\n\nconst prefetchPathname = loader.enqueue\n\nconst StaticQueryContext = React.createContext({})\n\nfunction StaticQueryDataRenderer({ staticQueryData, data, query, render }) {\n const finalData = data\n ? data.data\n : staticQueryData[query] && staticQueryData[query].data\n\n return (\n \n {finalData && render(finalData)}\n {!finalData &&
Loading (StaticQuery)
}\n
\n )\n}\n\nconst StaticQuery = props => {\n const { data, query, render, children } = props\n\n return (\n \n {staticQueryData => (\n \n )}\n \n )\n}\n\nconst useStaticQuery = query => {\n if (\n typeof React.useContext !== `function` &&\n process.env.NODE_ENV === `development`\n ) {\n throw new Error(\n `You're likely using a version of React that doesn't support Hooks\\n` +\n `Please update React and ReactDOM to 16.8.0 or later to use the useStaticQuery hook.`\n )\n }\n const context = React.useContext(StaticQueryContext)\n\n // query is a stringified number like `3303882` when wrapped with graphql, If a user forgets\n // to wrap the query in a grqphql, then casting it to a Number results in `NaN` allowing us to\n // catch the misuse of the API and give proper direction\n if (isNaN(Number(query))) {\n throw new Error(`useStaticQuery was called with a string but expects to be called using \\`graphql\\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\\`${query}\\`);\n`)\n }\n\n if (context[query]?.data) {\n return context[query].data\n } else {\n throw new Error(\n `The result of this StaticQuery could not be fetched.\\n\\n` +\n `This is likely a bug in Gatsby and if refreshing the page does not fix it, ` +\n `please open an issue in https://github.com/gatsbyjs/gatsby/issues`\n )\n }\n}\n\nStaticQuery.propTypes = {\n data: PropTypes.object,\n query: PropTypes.string.isRequired,\n render: PropTypes.func,\n children: PropTypes.func,\n}\n\nfunction graphql() {\n throw new Error(\n `It appears like Gatsby is misconfigured. Gatsby related \\`graphql\\` calls ` +\n `are supposed to only be evaluated at compile time, and then compiled away. ` +\n `Unfortunately, something went wrong and the query was left in the compiled code.\\n\\n` +\n `Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.`\n )\n}\n\nexport {\n Link,\n withAssetPrefix,\n withPrefix,\n graphql,\n parsePath,\n navigate,\n push, // TODO replace for v3\n replace, // TODO remove replace for v3\n navigateTo, // TODO: remove navigateTo for v3\n useScrollRestoration,\n StaticQueryContext,\n StaticQuery,\n PageRenderer,\n useStaticQuery,\n prefetchPathname,\n}\n","/* @generated */\n// prettier-ignore\nif (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {\n Intl.PluralRules.__addLocaleData({\n \"data\": {\n \"en\": {\n \"categories\": {\n \"cardinal\": [\"one\", \"other\"],\n \"ordinal\": [\"one\", \"two\", \"few\", \"other\"]\n },\n \"fn\": function fn(n, ord) {\n var s = String(n).split('.'),\n v0 = !s[1],\n t0 = Number(s[0]) == n,\n n10 = t0 && s[0].slice(-1),\n n100 = t0 && s[0].slice(-2);\n if (ord) return n10 == 1 && n100 != 11 ? 'one' : n10 == 2 && n100 != 12 ? 'two' : n10 == 3 && n100 != 13 ? 'few' : 'other';\n return n == 1 && v0 ? 'one' : 'other';\n }\n }\n },\n \"aliases\": {},\n \"parentLocales\": {\n \"en-150\": \"en-001\",\n \"en-AG\": \"en-001\",\n \"en-AI\": \"en-001\",\n \"en-AU\": \"en-001\",\n \"en-BB\": \"en-001\",\n \"en-BM\": \"en-001\",\n \"en-BS\": \"en-001\",\n \"en-BW\": \"en-001\",\n \"en-BZ\": \"en-001\",\n \"en-CA\": \"en-001\",\n \"en-CC\": \"en-001\",\n \"en-CK\": \"en-001\",\n \"en-CM\": \"en-001\",\n \"en-CX\": \"en-001\",\n \"en-CY\": \"en-001\",\n \"en-DG\": \"en-001\",\n \"en-DM\": \"en-001\",\n \"en-ER\": \"en-001\",\n \"en-FJ\": \"en-001\",\n \"en-FK\": \"en-001\",\n \"en-FM\": \"en-001\",\n \"en-GB\": \"en-001\",\n \"en-GD\": \"en-001\",\n \"en-GG\": \"en-001\",\n \"en-GH\": \"en-001\",\n \"en-GI\": \"en-001\",\n \"en-GM\": \"en-001\",\n \"en-GY\": \"en-001\",\n \"en-HK\": \"en-001\",\n \"en-IE\": \"en-001\",\n \"en-IL\": \"en-001\",\n \"en-IM\": \"en-001\",\n \"en-IN\": \"en-001\",\n \"en-IO\": \"en-001\",\n \"en-JE\": \"en-001\",\n \"en-JM\": \"en-001\",\n \"en-KE\": \"en-001\",\n \"en-KI\": \"en-001\",\n \"en-KN\": \"en-001\",\n \"en-KY\": \"en-001\",\n \"en-LC\": \"en-001\",\n \"en-LR\": \"en-001\",\n \"en-LS\": \"en-001\",\n \"en-MG\": \"en-001\",\n \"en-MO\": \"en-001\",\n \"en-MS\": \"en-001\",\n \"en-MT\": \"en-001\",\n \"en-MU\": \"en-001\",\n \"en-MW\": \"en-001\",\n \"en-MY\": \"en-001\",\n \"en-NA\": \"en-001\",\n \"en-NF\": \"en-001\",\n \"en-NG\": \"en-001\",\n \"en-NR\": \"en-001\",\n \"en-NU\": \"en-001\",\n \"en-NZ\": \"en-001\",\n \"en-PG\": \"en-001\",\n \"en-PH\": \"en-001\",\n \"en-PK\": \"en-001\",\n \"en-PN\": \"en-001\",\n \"en-PW\": \"en-001\",\n \"en-RW\": \"en-001\",\n \"en-SB\": \"en-001\",\n \"en-SC\": \"en-001\",\n \"en-SD\": \"en-001\",\n \"en-SG\": \"en-001\",\n \"en-SH\": \"en-001\",\n \"en-SL\": \"en-001\",\n \"en-SS\": \"en-001\",\n \"en-SX\": \"en-001\",\n \"en-SZ\": \"en-001\",\n \"en-TC\": \"en-001\",\n \"en-TK\": \"en-001\",\n \"en-TO\": \"en-001\",\n \"en-TT\": \"en-001\",\n \"en-TV\": \"en-001\",\n \"en-TZ\": \"en-001\",\n \"en-UG\": \"en-001\",\n \"en-VC\": \"en-001\",\n \"en-VG\": \"en-001\",\n \"en-VU\": \"en-001\",\n \"en-WS\": \"en-001\",\n \"en-ZA\": \"en-001\",\n \"en-ZM\": \"en-001\",\n \"en-ZW\": \"en-001\",\n \"en-AT\": \"en-150\",\n \"en-BE\": \"en-150\",\n \"en-CH\": \"en-150\",\n \"en-DE\": \"en-150\",\n \"en-DK\": \"en-150\",\n \"en-FI\": \"en-150\",\n \"en-NL\": \"en-150\",\n \"en-SE\": \"en-150\",\n \"en-SI\": \"en-150\"\n },\n \"availableLocales\": [\"en\"]\n });\n}","/* @generated */\n// prettier-ignore\nif (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {\n Intl.PluralRules.__addLocaleData({\n \"data\": {\n \"ses\": {\n \"categories\": {\n \"cardinal\": [\"other\"],\n \"ordinal\": [\"other\"]\n },\n \"fn\": function fn(n, ord) {\n return 'other';\n }\n }\n },\n \"aliases\": {},\n \"parentLocales\": {},\n \"availableLocales\": [\"ses\"]\n });\n}","\"use strict\";\n\nmodule.exports = Object.assign;","/* @generated */\n// prettier-ignore\nif (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {\n Intl.PluralRules.__addLocaleData({\n \"data\": {\n \"pa\": {\n \"categories\": {\n \"cardinal\": [\"one\", \"other\"],\n \"ordinal\": [\"other\"]\n },\n \"fn\": function fn(n, ord) {\n if (ord) return 'other';\n return n == 0 || n == 1 ? 'one' : 'other';\n }\n }\n },\n \"aliases\": {\n \"pa-IN\": \"pa-Guru-IN\",\n \"pa-PK\": \"pa-Arab-PK\"\n },\n \"parentLocales\": {},\n \"availableLocales\": [\"pa\"]\n });\n}","var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/* eslint-disable jsx-a11y/anchor-has-content */\nimport React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport invariant from \"invariant\";\nimport createContext from \"create-react-context\";\nimport { polyfill } from \"react-lifecycles-compat\";\nimport { startsWith, pick, resolve, match, insertParams, validateRedirect, shallowCompare } from \"./lib/utils\";\nimport { globalHistory, navigate, createHistory, createMemorySource } from \"./lib/history\";\n\n////////////////////////////////////////////////////////////////////////////////\n\nvar createNamedContext = function createNamedContext(name, defaultValue) {\n var Ctx = createContext(defaultValue);\n Ctx.displayName = name;\n return Ctx;\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// Location Context/Provider\nvar LocationContext = createNamedContext(\"Location\");\n\n// sets up a listener if there isn't one already so apps don't need to be\n// wrapped in some top level provider\nvar Location = function Location(_ref) {\n var children = _ref.children;\n return React.createElement(\n LocationContext.Consumer,\n null,\n function (context) {\n return context ? children(context) : React.createElement(\n LocationProvider,\n null,\n children\n );\n }\n );\n};\n\nvar LocationProvider = function (_React$Component) {\n _inherits(LocationProvider, _React$Component);\n\n function LocationProvider() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, LocationProvider);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {\n context: _this.getContext(),\n refs: { unlisten: null }\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n LocationProvider.prototype.getContext = function getContext() {\n var _props$history = this.props.history,\n navigate = _props$history.navigate,\n location = _props$history.location;\n\n return { navigate: navigate, location: location };\n };\n\n LocationProvider.prototype.componentDidCatch = function componentDidCatch(error, info) {\n if (isRedirect(error)) {\n var _navigate = this.props.history.navigate;\n\n _navigate(error.uri, { replace: true });\n } else {\n throw error;\n }\n };\n\n LocationProvider.prototype.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {\n if (prevState.context.location !== this.state.context.location) {\n this.props.history._onTransitionComplete();\n }\n };\n\n LocationProvider.prototype.componentDidMount = function componentDidMount() {\n var _this2 = this;\n\n var refs = this.state.refs,\n history = this.props.history;\n\n history._onTransitionComplete();\n refs.unlisten = history.listen(function () {\n Promise.resolve().then(function () {\n // TODO: replace rAF with react deferred update API when it's ready https://github.com/facebook/react/issues/13306\n requestAnimationFrame(function () {\n if (!_this2.unmounted) {\n _this2.setState(function () {\n return { context: _this2.getContext() };\n });\n }\n });\n });\n });\n };\n\n LocationProvider.prototype.componentWillUnmount = function componentWillUnmount() {\n var refs = this.state.refs;\n\n this.unmounted = true;\n refs.unlisten();\n };\n\n LocationProvider.prototype.render = function render() {\n var context = this.state.context,\n children = this.props.children;\n\n return React.createElement(\n LocationContext.Provider,\n { value: context },\n typeof children === \"function\" ? children(context) : children || null\n );\n };\n\n return LocationProvider;\n}(React.Component);\n\n////////////////////////////////////////////////////////////////////////////////\n\n\nLocationProvider.defaultProps = {\n history: globalHistory\n};\nprocess.env.NODE_ENV !== \"production\" ? LocationProvider.propTypes = {\n history: PropTypes.object.isRequired\n} : void 0;\nvar ServerLocation = function ServerLocation(_ref2) {\n var url = _ref2.url,\n children = _ref2.children;\n\n var searchIndex = url.indexOf(\"?\");\n var searchExists = searchIndex > -1;\n var pathname = void 0;\n var search = \"\";\n var hash = \"\";\n\n if (searchExists) {\n pathname = url.substring(0, searchIndex);\n search = url.substring(searchIndex);\n } else {\n pathname = url;\n }\n\n return React.createElement(\n LocationContext.Provider,\n {\n value: {\n location: {\n pathname: pathname,\n search: search,\n hash: hash\n },\n navigate: function navigate() {\n throw new Error(\"You can't call navigate on the server.\");\n }\n }\n },\n children\n );\n};\n////////////////////////////////////////////////////////////////////////////////\n// Sets baseuri and basepath for nested routers and links\nvar BaseContext = createNamedContext(\"Base\", { baseuri: \"/\", basepath: \"/\" });\n\n////////////////////////////////////////////////////////////////////////////////\n// The main event, welcome to the show everybody.\nvar Router = function Router(props) {\n return React.createElement(\n BaseContext.Consumer,\n null,\n function (baseContext) {\n return React.createElement(\n Location,\n null,\n function (locationContext) {\n return React.createElement(RouterImpl, _extends({}, baseContext, locationContext, props));\n }\n );\n }\n );\n};\n\nvar RouterImpl = function (_React$PureComponent) {\n _inherits(RouterImpl, _React$PureComponent);\n\n function RouterImpl() {\n _classCallCheck(this, RouterImpl);\n\n return _possibleConstructorReturn(this, _React$PureComponent.apply(this, arguments));\n }\n\n RouterImpl.prototype.render = function render() {\n var _props = this.props,\n location = _props.location,\n _navigate2 = _props.navigate,\n basepath = _props.basepath,\n primary = _props.primary,\n children = _props.children,\n baseuri = _props.baseuri,\n _props$component = _props.component,\n component = _props$component === undefined ? \"div\" : _props$component,\n domProps = _objectWithoutProperties(_props, [\"location\", \"navigate\", \"basepath\", \"primary\", \"children\", \"baseuri\", \"component\"]);\n\n var routes = React.Children.toArray(children).reduce(function (array, child) {\n var routes = createRoute(basepath)(child);\n return array.concat(routes);\n }, []);\n var pathname = location.pathname;\n\n\n var match = pick(routes, pathname);\n\n if (match) {\n var params = match.params,\n uri = match.uri,\n route = match.route,\n element = match.route.value;\n\n // remove the /* from the end for child routes relative paths\n\n basepath = route.default ? basepath : route.path.replace(/\\*$/, \"\");\n\n var props = _extends({}, params, {\n uri: uri,\n location: location,\n navigate: function navigate(to, options) {\n return _navigate2(resolve(to, uri), options);\n }\n });\n\n var clone = React.cloneElement(element, props, element.props.children ? React.createElement(\n Router,\n { location: location, primary: primary },\n element.props.children\n ) : undefined);\n\n // using 'div' for < 16.3 support\n var FocusWrapper = primary ? FocusHandler : component;\n // don't pass any props to 'div'\n var wrapperProps = primary ? _extends({ uri: uri, location: location, component: component }, domProps) : domProps;\n\n return React.createElement(\n BaseContext.Provider,\n { value: { baseuri: uri, basepath: basepath } },\n React.createElement(\n FocusWrapper,\n wrapperProps,\n clone\n )\n );\n } else {\n // Not sure if we want this, would require index routes at every level\n // warning(\n // false,\n // `\\n\\nNothing matched:\\n\\t${\n // location.pathname\n // }\\n\\nPaths checked: \\n\\t${routes\n // .map(route => route.path)\n // .join(\n // \"\\n\\t\"\n // )}\\n\\nTo get rid of this warning, add a default NotFound component as child of Router:\n // \\n\\tlet NotFound = () =>
Not Found!
\n // \\n\\t\\n\\t \\n\\t {/* ... */}\\n\\t`\n // );\n return null;\n }\n };\n\n return RouterImpl;\n}(React.PureComponent);\n\nRouterImpl.defaultProps = {\n primary: true\n};\n\n\nvar FocusContext = createNamedContext(\"Focus\");\n\nvar FocusHandler = function FocusHandler(_ref3) {\n var uri = _ref3.uri,\n location = _ref3.location,\n component = _ref3.component,\n domProps = _objectWithoutProperties(_ref3, [\"uri\", \"location\", \"component\"]);\n\n return React.createElement(\n FocusContext.Consumer,\n null,\n function (requestFocus) {\n return React.createElement(FocusHandlerImpl, _extends({}, domProps, {\n component: component,\n requestFocus: requestFocus,\n uri: uri,\n location: location\n }));\n }\n );\n};\n\n// don't focus on initial render\nvar initialRender = true;\nvar focusHandlerCount = 0;\n\nvar FocusHandlerImpl = function (_React$Component2) {\n _inherits(FocusHandlerImpl, _React$Component2);\n\n function FocusHandlerImpl() {\n var _temp2, _this4, _ret2;\n\n _classCallCheck(this, FocusHandlerImpl);\n\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _ret2 = (_temp2 = (_this4 = _possibleConstructorReturn(this, _React$Component2.call.apply(_React$Component2, [this].concat(args))), _this4), _this4.state = {}, _this4.requestFocus = function (node) {\n if (!_this4.state.shouldFocus && node) {\n node.focus();\n }\n }, _temp2), _possibleConstructorReturn(_this4, _ret2);\n }\n\n FocusHandlerImpl.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, prevState) {\n var initial = prevState.uri == null;\n if (initial) {\n return _extends({\n shouldFocus: true\n }, nextProps);\n } else {\n var myURIChanged = nextProps.uri !== prevState.uri;\n var navigatedUpToMe = prevState.location.pathname !== nextProps.location.pathname && nextProps.location.pathname === nextProps.uri;\n return _extends({\n shouldFocus: myURIChanged || navigatedUpToMe\n }, nextProps);\n }\n };\n\n FocusHandlerImpl.prototype.componentDidMount = function componentDidMount() {\n focusHandlerCount++;\n this.focus();\n };\n\n FocusHandlerImpl.prototype.componentWillUnmount = function componentWillUnmount() {\n focusHandlerCount--;\n if (focusHandlerCount === 0) {\n initialRender = true;\n }\n };\n\n FocusHandlerImpl.prototype.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {\n if (prevProps.location !== this.props.location && this.state.shouldFocus) {\n this.focus();\n }\n };\n\n FocusHandlerImpl.prototype.focus = function focus() {\n if (process.env.NODE_ENV === \"test\") {\n // getting cannot read property focus of null in the tests\n // and that bit of global `initialRender` state causes problems\n // should probably figure it out!\n return;\n }\n\n var requestFocus = this.props.requestFocus;\n\n\n if (requestFocus) {\n requestFocus(this.node);\n } else {\n if (initialRender) {\n initialRender = false;\n } else if (this.node) {\n // React polyfills [autofocus] and it fires earlier than cDM,\n // so we were stealing focus away, this line prevents that.\n if (!this.node.contains(document.activeElement)) {\n this.node.focus();\n }\n }\n }\n };\n\n FocusHandlerImpl.prototype.render = function render() {\n var _this5 = this;\n\n var _props2 = this.props,\n children = _props2.children,\n style = _props2.style,\n requestFocus = _props2.requestFocus,\n _props2$component = _props2.component,\n Comp = _props2$component === undefined ? \"div\" : _props2$component,\n uri = _props2.uri,\n location = _props2.location,\n domProps = _objectWithoutProperties(_props2, [\"children\", \"style\", \"requestFocus\", \"component\", \"uri\", \"location\"]);\n\n return React.createElement(\n Comp,\n _extends({\n style: _extends({ outline: \"none\" }, style),\n tabIndex: \"-1\",\n ref: function ref(n) {\n return _this5.node = n;\n }\n }, domProps),\n React.createElement(\n FocusContext.Provider,\n { value: this.requestFocus },\n this.props.children\n )\n );\n };\n\n return FocusHandlerImpl;\n}(React.Component);\n\npolyfill(FocusHandlerImpl);\n\nvar k = function k() {};\n\n////////////////////////////////////////////////////////////////////////////////\nvar forwardRef = React.forwardRef;\n\nif (typeof forwardRef === \"undefined\") {\n forwardRef = function forwardRef(C) {\n return C;\n };\n}\n\nvar Link = forwardRef(function (_ref4, ref) {\n var innerRef = _ref4.innerRef,\n props = _objectWithoutProperties(_ref4, [\"innerRef\"]);\n\n return React.createElement(\n BaseContext.Consumer,\n null,\n function (_ref5) {\n var basepath = _ref5.basepath,\n baseuri = _ref5.baseuri;\n return React.createElement(\n Location,\n null,\n function (_ref6) {\n var location = _ref6.location,\n navigate = _ref6.navigate;\n\n var to = props.to,\n state = props.state,\n replace = props.replace,\n _props$getProps = props.getProps,\n getProps = _props$getProps === undefined ? k : _props$getProps,\n anchorProps = _objectWithoutProperties(props, [\"to\", \"state\", \"replace\", \"getProps\"]);\n\n var href = resolve(to, baseuri);\n var encodedHref = encodeURI(href);\n var isCurrent = location.pathname === encodedHref;\n var isPartiallyCurrent = startsWith(location.pathname, encodedHref);\n\n return React.createElement(\"a\", _extends({\n ref: ref || innerRef,\n \"aria-current\": isCurrent ? \"page\" : undefined\n }, anchorProps, getProps({ isCurrent: isCurrent, isPartiallyCurrent: isPartiallyCurrent, href: href, location: location }), {\n href: href,\n onClick: function onClick(event) {\n if (anchorProps.onClick) anchorProps.onClick(event);\n if (shouldNavigate(event)) {\n event.preventDefault();\n var shouldReplace = replace;\n if (typeof replace !== \"boolean\" && isCurrent) {\n var _location$state = _extends({}, location.state),\n key = _location$state.key,\n restState = _objectWithoutProperties(_location$state, [\"key\"]);\n\n shouldReplace = shallowCompare(_extends({}, state), restState);\n }\n navigate(href, {\n state: state,\n replace: shouldReplace\n });\n }\n }\n }));\n }\n );\n }\n );\n});\n\nLink.displayName = \"Link\";\n\nprocess.env.NODE_ENV !== \"production\" ? Link.propTypes = {\n to: PropTypes.string.isRequired\n} : void 0;\n\n////////////////////////////////////////////////////////////////////////////////\nfunction RedirectRequest(uri) {\n this.uri = uri;\n}\n\nvar isRedirect = function isRedirect(o) {\n return o instanceof RedirectRequest;\n};\n\nvar redirectTo = function redirectTo(to) {\n throw new RedirectRequest(to);\n};\n\nvar RedirectImpl = function (_React$Component3) {\n _inherits(RedirectImpl, _React$Component3);\n\n function RedirectImpl() {\n _classCallCheck(this, RedirectImpl);\n\n return _possibleConstructorReturn(this, _React$Component3.apply(this, arguments));\n }\n\n // Support React < 16 with this hook\n RedirectImpl.prototype.componentDidMount = function componentDidMount() {\n var _props3 = this.props,\n navigate = _props3.navigate,\n to = _props3.to,\n from = _props3.from,\n _props3$replace = _props3.replace,\n replace = _props3$replace === undefined ? true : _props3$replace,\n state = _props3.state,\n noThrow = _props3.noThrow,\n baseuri = _props3.baseuri,\n props = _objectWithoutProperties(_props3, [\"navigate\", \"to\", \"from\", \"replace\", \"state\", \"noThrow\", \"baseuri\"]);\n\n Promise.resolve().then(function () {\n var resolvedTo = resolve(to, baseuri);\n navigate(insertParams(resolvedTo, props), { replace: replace, state: state });\n });\n };\n\n RedirectImpl.prototype.render = function render() {\n var _props4 = this.props,\n navigate = _props4.navigate,\n to = _props4.to,\n from = _props4.from,\n replace = _props4.replace,\n state = _props4.state,\n noThrow = _props4.noThrow,\n baseuri = _props4.baseuri,\n props = _objectWithoutProperties(_props4, [\"navigate\", \"to\", \"from\", \"replace\", \"state\", \"noThrow\", \"baseuri\"]);\n\n var resolvedTo = resolve(to, baseuri);\n if (!noThrow) redirectTo(insertParams(resolvedTo, props));\n return null;\n };\n\n return RedirectImpl;\n}(React.Component);\n\nvar Redirect = function Redirect(props) {\n return React.createElement(\n BaseContext.Consumer,\n null,\n function (_ref7) {\n var baseuri = _ref7.baseuri;\n return React.createElement(\n Location,\n null,\n function (locationContext) {\n return React.createElement(RedirectImpl, _extends({}, locationContext, { baseuri: baseuri }, props));\n }\n );\n }\n );\n};\n\nprocess.env.NODE_ENV !== \"production\" ? Redirect.propTypes = {\n from: PropTypes.string,\n to: PropTypes.string.isRequired\n} : void 0;\n\n////////////////////////////////////////////////////////////////////////////////\nvar Match = function Match(_ref8) {\n var path = _ref8.path,\n children = _ref8.children;\n return React.createElement(\n BaseContext.Consumer,\n null,\n function (_ref9) {\n var baseuri = _ref9.baseuri;\n return React.createElement(\n Location,\n null,\n function (_ref10) {\n var navigate = _ref10.navigate,\n location = _ref10.location;\n\n var resolvedPath = resolve(path, baseuri);\n var result = match(resolvedPath, location.pathname);\n return children({\n navigate: navigate,\n location: location,\n match: result ? _extends({}, result.params, {\n uri: result.uri,\n path: path\n }) : null\n });\n }\n );\n }\n );\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// Hooks\n\nvar useLocation = function useLocation() {\n var context = useContext(LocationContext);\n\n if (!context) {\n throw new Error(\"useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router\");\n }\n\n return context.location;\n};\n\nvar useNavigate = function useNavigate() {\n var context = useContext(LocationContext);\n\n if (!context) {\n throw new Error(\"useNavigate hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router\");\n }\n\n return context.navigate;\n};\n\nvar useParams = function useParams() {\n var context = useContext(BaseContext);\n\n if (!context) {\n throw new Error(\"useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router\");\n }\n\n var location = useLocation();\n\n var results = match(context.basepath, location.pathname);\n\n return results ? results.params : null;\n};\n\nvar useMatch = function useMatch(path) {\n if (!path) {\n throw new Error(\"useMatch(path: string) requires an argument of a string to match against\");\n }\n var context = useContext(BaseContext);\n\n if (!context) {\n throw new Error(\"useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router\");\n }\n\n var location = useLocation();\n\n var resolvedPath = resolve(path, context.baseuri);\n var result = match(resolvedPath, location.pathname);\n return result ? _extends({}, result.params, {\n uri: result.uri,\n path: path\n }) : null;\n};\n\n////////////////////////////////////////////////////////////////////////////////\n// Junk\nvar stripSlashes = function stripSlashes(str) {\n return str.replace(/(^\\/+|\\/+$)/g, \"\");\n};\n\nvar createRoute = function createRoute(basepath) {\n return function (element) {\n if (!element) {\n return null;\n }\n\n if (element.type === React.Fragment && element.props.children) {\n return React.Children.map(element.props.children, createRoute(basepath));\n }\n !(element.props.path || element.props.default || element.type === Redirect) ? process.env.NODE_ENV !== \"production\" ? invariant(false, \": Children of must have a `path` or `default` prop, or be a ``. None found on element type `\" + element.type + \"`\") : invariant(false) : void 0;\n\n !!(element.type === Redirect && (!element.props.from || !element.props.to)) ? process.env.NODE_ENV !== \"production\" ? invariant(false, \" requires both \\\"from\\\" and \\\"to\\\" props when inside a .\") : invariant(false) : void 0;\n\n !!(element.type === Redirect && !validateRedirect(element.props.from, element.props.to)) ? process.env.NODE_ENV !== \"production\" ? invariant(false, \" has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.\") : invariant(false) : void 0;\n\n if (element.props.default) {\n return { value: element, default: true };\n }\n\n var elementPath = element.type === Redirect ? element.props.from : element.props.path;\n\n var path = elementPath === \"/\" ? basepath : stripSlashes(basepath) + \"/\" + stripSlashes(elementPath);\n\n return {\n value: element,\n default: element.props.default,\n path: element.props.children ? stripSlashes(path) + \"/*\" : path\n };\n };\n};\n\nvar shouldNavigate = function shouldNavigate(event) {\n return !event.defaultPrevented && event.button === 0 && !(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n};\n\n////////////////////////////////////////////////////////////////////////\nexport { Link, Location, LocationProvider, Match, Redirect, Router, ServerLocation, createHistory, createMemorySource, isRedirect, navigate, redirectTo, globalHistory, match as matchPath, useLocation, useNavigate, useParams, useMatch , BaseContext };","var map = {\n\t\"./en\": \"Smhr\",\n\t\"./en.js\": \"Smhr\",\n\t\"./en.json\": \"a2ws\",\n\t\"./es\": \"/k+Y\",\n\t\"./es.js\": \"/k+Y\",\n\t\"./es.json\": \"Eo98\",\n\t\"./pa\": \"VOJF\",\n\t\"./pa.js\": \"VOJF\",\n\t\"./pa.json\": \"ZIA0\",\n\t\"./pt\": \"bcN5\",\n\t\"./pt.js\": \"bcN5\",\n\t\"./pt.json\": \"Y55u\",\n\t\"./ses\": \"J80B\",\n\t\"./ses.js\": \"J80B\",\n\t\"./ses.json\": \"KPI6\",\n\t\"./zh\": \"ximg\",\n\t\"./zh.js\": \"ximg\",\n\t\"./zh.json\": \"oaSC\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"Yzio\";","require('./dist/polyfill');","/* @generated */\n// prettier-ignore\nif (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {\n Intl.RelativeTimeFormat.__addLocaleData({\n \"data\": {\n \"pt-PT\": {\n \"year\": {\n \"0\": \"este ano\",\n \"1\": \"próximo ano\",\n \"future\": {\n \"one\": \"dentro de {0} ano\",\n \"other\": \"dentro de {0} anos\"\n },\n \"past\": {\n \"one\": \"há {0} ano\",\n \"other\": \"há {0} anos\"\n },\n \"-1\": \"ano passado\"\n },\n \"year-short\": {\n \"0\": \"este ano\",\n \"1\": \"próximo ano\",\n \"future\": {\n \"one\": \"dentro de {0} ano\",\n \"other\": \"dentro de {0} anos\"\n },\n \"past\": {\n \"one\": \"há {0} ano\",\n \"other\": \"há {0} anos\"\n },\n \"-1\": \"ano passado\"\n },\n \"year-narrow\": {\n \"0\": \"este ano\",\n \"1\": \"próximo ano\",\n \"future\": {\n \"one\": \"+{0} ano\",\n \"other\": \"+{0} anos\"\n },\n \"past\": {\n \"one\": \"-{0} ano\",\n \"other\": \"-{0} anos\"\n },\n \"-1\": \"ano passado\"\n },\n \"quarter\": {\n \"0\": \"este trimestre\",\n \"1\": \"próximo trimestre\",\n \"future\": {\n \"one\": \"dentro de {0} trimestre\",\n \"other\": \"dentro de {0} trimestres\"\n },\n \"past\": {\n \"one\": \"há {0} trimestre\",\n \"other\": \"há {0} trimestres\"\n },\n \"-1\": \"trimestre passado\"\n },\n \"quarter-short\": {\n \"0\": \"este trim.\",\n \"1\": \"próximo trim.\",\n \"future\": {\n \"one\": \"dentro de {0} trim.\",\n \"other\": \"dentro de {0} trim.\"\n },\n \"past\": {\n \"one\": \"há {0} trim.\",\n \"other\": \"há {0} trim.\"\n },\n \"-1\": \"trim. passado\"\n },\n \"quarter-narrow\": {\n \"0\": \"este trim.\",\n \"1\": \"próximo trim.\",\n \"future\": {\n \"one\": \"+{0} trim.\",\n \"other\": \"+{0} trim.\"\n },\n \"past\": {\n \"one\": \"-{0} trim.\",\n \"other\": \"-{0} trim.\"\n },\n \"-1\": \"trim. passado\"\n },\n \"month\": {\n \"0\": \"este mês\",\n \"1\": \"próximo mês\",\n \"future\": {\n \"one\": \"dentro de {0} mês\",\n \"other\": \"dentro de {0} meses\"\n },\n \"past\": {\n \"one\": \"há {0} mês\",\n \"other\": \"há {0} meses\"\n },\n \"-1\": \"mês passado\"\n },\n \"month-short\": {\n \"0\": \"este mês\",\n \"1\": \"próximo mês\",\n \"future\": {\n \"one\": \"dentro de {0} mês\",\n \"other\": \"dentro de {0} meses\"\n },\n \"past\": {\n \"one\": \"há {0} mês\",\n \"other\": \"há {0} meses\"\n },\n \"-1\": \"mês passado\"\n },\n \"month-narrow\": {\n \"0\": \"este mês\",\n \"1\": \"próximo mês\",\n \"future\": {\n \"one\": \"+{0} mês\",\n \"other\": \"+{0} meses\"\n },\n \"past\": {\n \"one\": \"-{0} mês\",\n \"other\": \"-{0} meses\"\n },\n \"-1\": \"mês passado\"\n },\n \"week\": {\n \"0\": \"esta semana\",\n \"1\": \"próxima semana\",\n \"future\": {\n \"one\": \"dentro de {0} semana\",\n \"other\": \"dentro de {0} semanas\"\n },\n \"past\": {\n \"one\": \"há {0} semana\",\n \"other\": \"há {0} semanas\"\n },\n \"-1\": \"semana passada\"\n },\n \"week-short\": {\n \"0\": \"esta semana\",\n \"1\": \"próxima semana\",\n \"future\": {\n \"one\": \"dentro de {0} sem.\",\n \"other\": \"dentro de {0} sem.\"\n },\n \"past\": {\n \"one\": \"há {0} sem.\",\n \"other\": \"há {0} sem.\"\n },\n \"-1\": \"semana passada\"\n },\n \"week-narrow\": {\n \"0\": \"esta semana\",\n \"1\": \"próxima semana\",\n \"future\": {\n \"one\": \"+{0} sem.\",\n \"other\": \"+{0} sem.\"\n },\n \"past\": {\n \"one\": \"-{0} sem.\",\n \"other\": \"-{0} sem.\"\n },\n \"-1\": \"semana passada\"\n },\n \"day\": {\n \"0\": \"hoje\",\n \"1\": \"amanhã\",\n \"2\": \"depois de amanhã\",\n \"future\": {\n \"one\": \"dentro de {0} dia\",\n \"other\": \"dentro de {0} dias\"\n },\n \"past\": {\n \"one\": \"há {0} dia\",\n \"other\": \"há {0} dias\"\n },\n \"-2\": \"anteontem\",\n \"-1\": \"ontem\"\n },\n \"day-short\": {\n \"0\": \"hoje\",\n \"1\": \"amanhã\",\n \"2\": \"depois de amanhã\",\n \"future\": {\n \"one\": \"dentro de {0} dia\",\n \"other\": \"dentro de {0} dias\"\n },\n \"past\": {\n \"one\": \"há {0} dia\",\n \"other\": \"há {0} dias\"\n },\n \"-2\": \"anteontem\",\n \"-1\": \"ontem\"\n },\n \"day-narrow\": {\n \"0\": \"hoje\",\n \"1\": \"amanhã\",\n \"2\": \"depois de amanhã\",\n \"future\": {\n \"one\": \"+{0} dia\",\n \"other\": \"+{0} dias\"\n },\n \"past\": {\n \"one\": \"há {0} dias\",\n \"other\": \"há {0} dias\"\n },\n \"-2\": \"anteontem\",\n \"-1\": \"ontem\"\n },\n \"hour\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"dentro de {0} hora\",\n \"other\": \"dentro de {0} horas\"\n },\n \"past\": {\n \"one\": \"há {0} hora\",\n \"other\": \"há {0} horas\"\n }\n },\n \"hour-short\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"dentro de {0} h\",\n \"other\": \"dentro de {0} h\"\n },\n \"past\": {\n \"one\": \"há {0} h\",\n \"other\": \"há {0} h\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"+{0} h\",\n \"other\": \"+{0} h\"\n },\n \"past\": {\n \"one\": \"-{0} h\",\n \"other\": \"-{0} h\"\n }\n },\n \"minute\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"dentro de {0} minuto\",\n \"other\": \"dentro de {0} minutos\"\n },\n \"past\": {\n \"one\": \"há {0} minuto\",\n \"other\": \"há {0} minutos\"\n }\n },\n \"minute-short\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"dentro de {0} min\",\n \"other\": \"dentro de {0} min\"\n },\n \"past\": {\n \"one\": \"há {0} min\",\n \"other\": \"há {0} min\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"+{0} min\",\n \"other\": \"+{0} min\"\n },\n \"past\": {\n \"one\": \"-{0} min\",\n \"other\": \"-{0} min\"\n }\n },\n \"second\": {\n \"0\": \"agora\",\n \"future\": {\n \"one\": \"dentro de {0} segundo\",\n \"other\": \"dentro de {0} segundos\"\n },\n \"past\": {\n \"one\": \"há {0} segundo\",\n \"other\": \"há {0} segundos\"\n }\n },\n \"second-short\": {\n \"0\": \"agora\",\n \"future\": {\n \"one\": \"dentro de {0} s\",\n \"other\": \"dentro de {0} s\"\n },\n \"past\": {\n \"one\": \"há {0} s\",\n \"other\": \"há {0} s\"\n }\n },\n \"second-narrow\": {\n \"0\": \"agora\",\n \"future\": {\n \"one\": \"+{0} s\",\n \"other\": \"+{0} s\"\n },\n \"past\": {\n \"one\": \"-{0} s\",\n \"other\": \"-{0} s\"\n }\n }\n },\n \"pt\": {\n \"nu\": [\"latn\"],\n \"year\": {\n \"0\": \"este ano\",\n \"1\": \"próximo ano\",\n \"future\": {\n \"one\": \"em {0} ano\",\n \"other\": \"em {0} anos\"\n },\n \"past\": {\n \"one\": \"há {0} ano\",\n \"other\": \"há {0} anos\"\n },\n \"-1\": \"ano passado\"\n },\n \"year-short\": {\n \"0\": \"este ano\",\n \"1\": \"próximo ano\",\n \"future\": {\n \"one\": \"em {0} ano\",\n \"other\": \"em {0} anos\"\n },\n \"past\": {\n \"one\": \"há {0} ano\",\n \"other\": \"há {0} anos\"\n },\n \"-1\": \"ano passado\"\n },\n \"year-narrow\": {\n \"0\": \"este ano\",\n \"1\": \"próximo ano\",\n \"future\": {\n \"one\": \"em {0} ano\",\n \"other\": \"em {0} anos\"\n },\n \"past\": {\n \"one\": \"há {0} ano\",\n \"other\": \"há {0} anos\"\n },\n \"-1\": \"ano passado\"\n },\n \"quarter\": {\n \"0\": \"este trimestre\",\n \"1\": \"próximo trimestre\",\n \"future\": {\n \"one\": \"em {0} trimestre\",\n \"other\": \"em {0} trimestres\"\n },\n \"past\": {\n \"one\": \"há {0} trimestre\",\n \"other\": \"há {0} trimestres\"\n },\n \"-1\": \"último trimestre\"\n },\n \"quarter-short\": {\n \"0\": \"este trimestre\",\n \"1\": \"próximo trimestre\",\n \"future\": {\n \"one\": \"em {0} trim.\",\n \"other\": \"em {0} trim.\"\n },\n \"past\": {\n \"one\": \"há {0} trim.\",\n \"other\": \"há {0} trim.\"\n },\n \"-1\": \"último trimestre\"\n },\n \"quarter-narrow\": {\n \"0\": \"este trimestre\",\n \"1\": \"próximo trimestre\",\n \"future\": {\n \"one\": \"em {0} trim.\",\n \"other\": \"em {0} trim.\"\n },\n \"past\": {\n \"one\": \"há {0} trim.\",\n \"other\": \"há {0} trim.\"\n },\n \"-1\": \"último trimestre\"\n },\n \"month\": {\n \"0\": \"este mês\",\n \"1\": \"próximo mês\",\n \"future\": {\n \"one\": \"em {0} mês\",\n \"other\": \"em {0} meses\"\n },\n \"past\": {\n \"one\": \"há {0} mês\",\n \"other\": \"há {0} meses\"\n },\n \"-1\": \"mês passado\"\n },\n \"month-short\": {\n \"0\": \"este mês\",\n \"1\": \"próximo mês\",\n \"future\": {\n \"one\": \"em {0} mês\",\n \"other\": \"em {0} meses\"\n },\n \"past\": {\n \"one\": \"há {0} mês\",\n \"other\": \"há {0} meses\"\n },\n \"-1\": \"mês passado\"\n },\n \"month-narrow\": {\n \"0\": \"este mês\",\n \"1\": \"próximo mês\",\n \"future\": {\n \"one\": \"em {0} mês\",\n \"other\": \"em {0} meses\"\n },\n \"past\": {\n \"one\": \"há {0} mês\",\n \"other\": \"há {0} meses\"\n },\n \"-1\": \"mês passado\"\n },\n \"week\": {\n \"0\": \"esta semana\",\n \"1\": \"próxima semana\",\n \"future\": {\n \"one\": \"em {0} semana\",\n \"other\": \"em {0} semanas\"\n },\n \"past\": {\n \"one\": \"há {0} semana\",\n \"other\": \"há {0} semanas\"\n },\n \"-1\": \"semana passada\"\n },\n \"week-short\": {\n \"0\": \"esta semana\",\n \"1\": \"próxima semana\",\n \"future\": {\n \"one\": \"em {0} sem.\",\n \"other\": \"em {0} sem.\"\n },\n \"past\": {\n \"one\": \"há {0} sem.\",\n \"other\": \"há {0} sem.\"\n },\n \"-1\": \"semana passada\"\n },\n \"week-narrow\": {\n \"0\": \"esta semana\",\n \"1\": \"próxima semana\",\n \"future\": {\n \"one\": \"em {0} sem.\",\n \"other\": \"em {0} sem.\"\n },\n \"past\": {\n \"one\": \"há {0} sem.\",\n \"other\": \"há {0} sem.\"\n },\n \"-1\": \"semana passada\"\n },\n \"day\": {\n \"0\": \"hoje\",\n \"1\": \"amanhã\",\n \"2\": \"depois de amanhã\",\n \"future\": {\n \"one\": \"em {0} dia\",\n \"other\": \"em {0} dias\"\n },\n \"past\": {\n \"one\": \"há {0} dia\",\n \"other\": \"há {0} dias\"\n },\n \"-2\": \"anteontem\",\n \"-1\": \"ontem\"\n },\n \"day-short\": {\n \"0\": \"hoje\",\n \"1\": \"amanhã\",\n \"2\": \"depois de amanhã\",\n \"future\": {\n \"one\": \"em {0} dia\",\n \"other\": \"em {0} dias\"\n },\n \"past\": {\n \"one\": \"há {0} dia\",\n \"other\": \"há {0} dias\"\n },\n \"-2\": \"anteontem\",\n \"-1\": \"ontem\"\n },\n \"day-narrow\": {\n \"0\": \"hoje\",\n \"1\": \"amanhã\",\n \"2\": \"depois de amanhã\",\n \"future\": {\n \"one\": \"em {0} dia\",\n \"other\": \"em {0} dias\"\n },\n \"past\": {\n \"one\": \"há {0} dia\",\n \"other\": \"há {0} dias\"\n },\n \"-2\": \"anteontem\",\n \"-1\": \"ontem\"\n },\n \"hour\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"em {0} hora\",\n \"other\": \"em {0} horas\"\n },\n \"past\": {\n \"one\": \"há {0} hora\",\n \"other\": \"há {0} horas\"\n }\n },\n \"hour-short\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"em {0} h\",\n \"other\": \"em {0} h\"\n },\n \"past\": {\n \"one\": \"há {0} h\",\n \"other\": \"há {0} h\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"esta hora\",\n \"future\": {\n \"one\": \"em {0} h\",\n \"other\": \"em {0} h\"\n },\n \"past\": {\n \"one\": \"há {0} h\",\n \"other\": \"há {0} h\"\n }\n },\n \"minute\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"em {0} minuto\",\n \"other\": \"em {0} minutos\"\n },\n \"past\": {\n \"one\": \"há {0} minuto\",\n \"other\": \"há {0} minutos\"\n }\n },\n \"minute-short\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"em {0} min.\",\n \"other\": \"em {0} min.\"\n },\n \"past\": {\n \"one\": \"há {0} min.\",\n \"other\": \"há {0} min.\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"este minuto\",\n \"future\": {\n \"one\": \"em {0} min.\",\n \"other\": \"em {0} min.\"\n },\n \"past\": {\n \"one\": \"há {0} min.\",\n \"other\": \"há {0} min.\"\n }\n },\n \"second\": {\n \"0\": \"agora\",\n \"future\": {\n \"one\": \"em {0} segundo\",\n \"other\": \"em {0} segundos\"\n },\n \"past\": {\n \"one\": \"há {0} segundo\",\n \"other\": \"há {0} segundos\"\n }\n },\n \"second-short\": {\n \"0\": \"agora\",\n \"future\": {\n \"one\": \"em {0} seg.\",\n \"other\": \"em {0} seg.\"\n },\n \"past\": {\n \"one\": \"há {0} seg.\",\n \"other\": \"há {0} seg.\"\n }\n },\n \"second-narrow\": {\n \"0\": \"agora\",\n \"future\": {\n \"one\": \"em {0} seg.\",\n \"other\": \"em {0} seg.\"\n },\n \"past\": {\n \"one\": \"há {0} seg.\",\n \"other\": \"há {0} seg.\"\n }\n }\n }\n },\n \"availableLocales\": [\"pt-AO\", \"pt-CH\", \"pt-CV\", \"pt-GQ\", \"pt-GW\", \"pt-LU\", \"pt-MO\", \"pt-MZ\", \"pt-PT\", \"pt-ST\", \"pt-TL\", \"pt\"],\n \"aliases\": {},\n \"parentLocales\": {\n \"pt-AO\": \"pt-PT\",\n \"pt-CH\": \"pt-PT\",\n \"pt-CV\": \"pt-PT\",\n \"pt-FR\": \"pt-PT\",\n \"pt-GQ\": \"pt-PT\",\n \"pt-GW\": \"pt-PT\",\n \"pt-LU\": \"pt-PT\",\n \"pt-MO\": \"pt-PT\",\n \"pt-MZ\": \"pt-PT\",\n \"pt-ST\": \"pt-PT\",\n \"pt-TL\": \"pt-PT\"\n }\n });\n}","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/**\n * Remove a prefix from a string. Return the input string if the given prefix\n * isn't found.\n */\n\nexport default function stripPrefix(str, prefix = ``) {\n if (!prefix) {\n return str\n }\n\n if (str === prefix) {\n return `/`\n }\n\n if (str.startsWith(`${prefix}/`)) {\n return str.slice(prefix.length)\n }\n\n return str\n}\n","\"use strict\";\n\nexports.__esModule = true;\nexports.parsePath = parsePath;\n\nfunction parsePath(path) {\n var pathname = path || \"/\";\n var search = \"\";\n var hash = \"\";\n var hashIndex = pathname.indexOf(\"#\");\n\n if (hashIndex !== -1) {\n hash = pathname.substr(hashIndex);\n pathname = pathname.substr(0, hashIndex);\n }\n\n var searchIndex = pathname.indexOf(\"?\");\n\n if (searchIndex !== -1) {\n search = pathname.substr(searchIndex);\n pathname = pathname.substr(0, searchIndex);\n }\n\n return {\n pathname: pathname,\n search: search === \"?\" ? \"\" : search,\n hash: hash === \"#\" ? \"\" : hash\n };\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","/* smoothscroll v0.4.4 - 2019 - Dustan Kasten, Jeremias Menichelli - MIT License */\n(function () {\n 'use strict'; // polyfill\n\n function polyfill() {\n // aliases\n var w = window;\n var d = document; // return if scroll behavior is supported and polyfill is not forced\n\n if ('scrollBehavior' in d.documentElement.style && w.__forceSmoothScrollPolyfill__ !== true) {\n return;\n } // globals\n\n\n var Element = w.HTMLElement || w.Element;\n var SCROLL_TIME = 468; // object gathering original scroll methods\n\n var original = {\n scroll: w.scroll || w.scrollTo,\n scrollBy: w.scrollBy,\n elementScroll: Element.prototype.scroll || scrollElement,\n scrollIntoView: Element.prototype.scrollIntoView\n }; // define timing method\n\n var now = w.performance && w.performance.now ? w.performance.now.bind(w.performance) : Date.now;\n /**\n * indicates if a the current browser is made by Microsoft\n * @method isMicrosoftBrowser\n * @param {String} userAgent\n * @returns {Boolean}\n */\n\n function isMicrosoftBrowser(userAgent) {\n var userAgentPatterns = ['MSIE ', 'Trident/', 'Edge/'];\n return new RegExp(userAgentPatterns.join('|')).test(userAgent);\n }\n /*\n * IE has rounding bug rounding down clientHeight and clientWidth and\n * rounding up scrollHeight and scrollWidth causing false positives\n * on hasScrollableSpace\n */\n\n\n var ROUNDING_TOLERANCE = isMicrosoftBrowser(w.navigator.userAgent) ? 1 : 0;\n /**\n * changes scroll position inside an element\n * @method scrollElement\n * @param {Number} x\n * @param {Number} y\n * @returns {undefined}\n */\n\n function scrollElement(x, y) {\n this.scrollLeft = x;\n this.scrollTop = y;\n }\n /**\n * returns result of applying ease math function to a number\n * @method ease\n * @param {Number} k\n * @returns {Number}\n */\n\n\n function ease(k) {\n return 0.5 * (1 - Math.cos(Math.PI * k));\n }\n /**\n * indicates if a smooth behavior should be applied\n * @method shouldBailOut\n * @param {Number|Object} firstArg\n * @returns {Boolean}\n */\n\n\n function shouldBailOut(firstArg) {\n if (firstArg === null || typeof firstArg !== 'object' || firstArg.behavior === undefined || firstArg.behavior === 'auto' || firstArg.behavior === 'instant') {\n // first argument is not an object/null\n // or behavior is auto, instant or undefined\n return true;\n }\n\n if (typeof firstArg === 'object' && firstArg.behavior === 'smooth') {\n // first argument is an object and behavior is smooth\n return false;\n } // throw error when behavior is not supported\n\n\n throw new TypeError('behavior member of ScrollOptions ' + firstArg.behavior + ' is not a valid value for enumeration ScrollBehavior.');\n }\n /**\n * indicates if an element has scrollable space in the provided axis\n * @method hasScrollableSpace\n * @param {Node} el\n * @param {String} axis\n * @returns {Boolean}\n */\n\n\n function hasScrollableSpace(el, axis) {\n if (axis === 'Y') {\n return el.clientHeight + ROUNDING_TOLERANCE < el.scrollHeight;\n }\n\n if (axis === 'X') {\n return el.clientWidth + ROUNDING_TOLERANCE < el.scrollWidth;\n }\n }\n /**\n * indicates if an element has a scrollable overflow property in the axis\n * @method canOverflow\n * @param {Node} el\n * @param {String} axis\n * @returns {Boolean}\n */\n\n\n function canOverflow(el, axis) {\n var overflowValue = w.getComputedStyle(el, null)['overflow' + axis];\n return overflowValue === 'auto' || overflowValue === 'scroll';\n }\n /**\n * indicates if an element can be scrolled in either axis\n * @method isScrollable\n * @param {Node} el\n * @param {String} axis\n * @returns {Boolean}\n */\n\n\n function isScrollable(el) {\n var isScrollableY = hasScrollableSpace(el, 'Y') && canOverflow(el, 'Y');\n var isScrollableX = hasScrollableSpace(el, 'X') && canOverflow(el, 'X');\n return isScrollableY || isScrollableX;\n }\n /**\n * finds scrollable parent of an element\n * @method findScrollableParent\n * @param {Node} el\n * @returns {Node} el\n */\n\n\n function findScrollableParent(el) {\n while (el !== d.body && isScrollable(el) === false) {\n el = el.parentNode || el.host;\n }\n\n return el;\n }\n /**\n * self invoked function that, given a context, steps through scrolling\n * @method step\n * @param {Object} context\n * @returns {undefined}\n */\n\n\n function step(context) {\n var time = now();\n var value;\n var currentX;\n var currentY;\n var elapsed = (time - context.startTime) / SCROLL_TIME; // avoid elapsed times higher than one\n\n elapsed = elapsed > 1 ? 1 : elapsed; // apply easing to elapsed time\n\n value = ease(elapsed);\n currentX = context.startX + (context.x - context.startX) * value;\n currentY = context.startY + (context.y - context.startY) * value;\n context.method.call(context.scrollable, currentX, currentY); // scroll more if we have not reached our destination\n\n if (currentX !== context.x || currentY !== context.y) {\n w.requestAnimationFrame(step.bind(w, context));\n }\n }\n /**\n * scrolls window or element with a smooth behavior\n * @method smoothScroll\n * @param {Object|Node} el\n * @param {Number} x\n * @param {Number} y\n * @returns {undefined}\n */\n\n\n function smoothScroll(el, x, y) {\n var scrollable;\n var startX;\n var startY;\n var method;\n var startTime = now(); // define scroll context\n\n if (el === d.body) {\n scrollable = w;\n startX = w.scrollX || w.pageXOffset;\n startY = w.scrollY || w.pageYOffset;\n method = original.scroll;\n } else {\n scrollable = el;\n startX = el.scrollLeft;\n startY = el.scrollTop;\n method = scrollElement;\n } // scroll looping over a frame\n\n\n step({\n scrollable: scrollable,\n method: method,\n startTime: startTime,\n startX: startX,\n startY: startY,\n x: x,\n y: y\n });\n } // ORIGINAL METHODS OVERRIDES\n // w.scroll and w.scrollTo\n\n\n w.scroll = w.scrollTo = function () {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n } // avoid smooth behavior if not required\n\n\n if (shouldBailOut(arguments[0]) === true) {\n original.scroll.call(w, arguments[0].left !== undefined ? arguments[0].left : typeof arguments[0] !== 'object' ? arguments[0] : w.scrollX || w.pageXOffset, // use top prop, second argument if present or fallback to scrollY\n arguments[0].top !== undefined ? arguments[0].top : arguments[1] !== undefined ? arguments[1] : w.scrollY || w.pageYOffset);\n return;\n } // LET THE SMOOTHNESS BEGIN!\n\n\n smoothScroll.call(w, d.body, arguments[0].left !== undefined ? ~~arguments[0].left : w.scrollX || w.pageXOffset, arguments[0].top !== undefined ? ~~arguments[0].top : w.scrollY || w.pageYOffset);\n }; // w.scrollBy\n\n\n w.scrollBy = function () {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n } // avoid smooth behavior if not required\n\n\n if (shouldBailOut(arguments[0])) {\n original.scrollBy.call(w, arguments[0].left !== undefined ? arguments[0].left : typeof arguments[0] !== 'object' ? arguments[0] : 0, arguments[0].top !== undefined ? arguments[0].top : arguments[1] !== undefined ? arguments[1] : 0);\n return;\n } // LET THE SMOOTHNESS BEGIN!\n\n\n smoothScroll.call(w, d.body, ~~arguments[0].left + (w.scrollX || w.pageXOffset), ~~arguments[0].top + (w.scrollY || w.pageYOffset));\n }; // Element.prototype.scroll and Element.prototype.scrollTo\n\n\n Element.prototype.scroll = Element.prototype.scrollTo = function () {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n } // avoid smooth behavior if not required\n\n\n if (shouldBailOut(arguments[0]) === true) {\n // if one number is passed, throw error to match Firefox implementation\n if (typeof arguments[0] === 'number' && arguments[1] === undefined) {\n throw new SyntaxError('Value could not be converted');\n }\n\n original.elementScroll.call(this, // use left prop, first number argument or fallback to scrollLeft\n arguments[0].left !== undefined ? ~~arguments[0].left : typeof arguments[0] !== 'object' ? ~~arguments[0] : this.scrollLeft, // use top prop, second argument or fallback to scrollTop\n arguments[0].top !== undefined ? ~~arguments[0].top : arguments[1] !== undefined ? ~~arguments[1] : this.scrollTop);\n return;\n }\n\n var left = arguments[0].left;\n var top = arguments[0].top; // LET THE SMOOTHNESS BEGIN!\n\n smoothScroll.call(this, this, typeof left === 'undefined' ? this.scrollLeft : ~~left, typeof top === 'undefined' ? this.scrollTop : ~~top);\n }; // Element.prototype.scrollBy\n\n\n Element.prototype.scrollBy = function () {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n } // avoid smooth behavior if not required\n\n\n if (shouldBailOut(arguments[0]) === true) {\n original.elementScroll.call(this, arguments[0].left !== undefined ? ~~arguments[0].left + this.scrollLeft : ~~arguments[0] + this.scrollLeft, arguments[0].top !== undefined ? ~~arguments[0].top + this.scrollTop : ~~arguments[1] + this.scrollTop);\n return;\n }\n\n this.scroll({\n left: ~~arguments[0].left + this.scrollLeft,\n top: ~~arguments[0].top + this.scrollTop,\n behavior: arguments[0].behavior\n });\n }; // Element.prototype.scrollIntoView\n\n\n Element.prototype.scrollIntoView = function () {\n // avoid smooth behavior if not required\n if (shouldBailOut(arguments[0]) === true) {\n original.scrollIntoView.call(this, arguments[0] === undefined ? true : arguments[0]);\n return;\n } // LET THE SMOOTHNESS BEGIN!\n\n\n var scrollableParent = findScrollableParent(this);\n var parentRects = scrollableParent.getBoundingClientRect();\n var clientRects = this.getBoundingClientRect();\n\n if (scrollableParent !== d.body) {\n // reveal element inside parent\n smoothScroll.call(this, scrollableParent, scrollableParent.scrollLeft + clientRects.left - parentRects.left, scrollableParent.scrollTop + clientRects.top - parentRects.top); // reveal parent in viewport unless is fixed\n\n if (w.getComputedStyle(scrollableParent).position !== 'fixed') {\n w.scrollBy({\n left: parentRects.left,\n top: parentRects.top,\n behavior: 'smooth'\n });\n }\n } else {\n // reveal element in viewport\n w.scrollBy({\n left: clientRects.left,\n top: clientRects.top,\n behavior: 'smooth'\n });\n }\n };\n }\n\n if (typeof exports === 'object' && typeof module !== 'undefined') {\n // commonjs\n module.exports = {\n polyfill: polyfill\n };\n } else {\n // global\n polyfill();\n }\n})();","\"use strict\";\n\nexports.registerServiceWorker = function () {\n return true;\n}; // only cache relevant resources for this page\n\n\nvar whiteListLinkRels = /^(stylesheet|preload)$/;\nvar prefetchedPathnames = [];\n\nexports.onServiceWorkerActive = function (_ref) {\n var getResourceURLsForPathname = _ref.getResourceURLsForPathname,\n serviceWorker = _ref.serviceWorker;\n\n // if the SW has just updated then clear the path dependencies and don't cache\n // stuff, since we're on the old revision until we navigate to another page\n if (window.___swUpdated) {\n serviceWorker.active.postMessage({\n gatsbyApi: \"clearPathResources\"\n });\n return;\n } // grab nodes from head of document\n\n\n var nodes = document.querySelectorAll(\"\\n head > script[src],\\n head > link[href],\\n head > style[data-href]\\n \"); // get all resource URLs\n\n var headerResources = [].slice.call(nodes) // don't include preconnect/prefetch/prerender resources\n .filter(function (node) {\n return node.tagName !== \"LINK\" || whiteListLinkRels.test(node.getAttribute(\"rel\"));\n }).map(function (node) {\n return node.src || node.href || node.getAttribute(\"data-href\");\n }); // Loop over prefetched pages and add their resources to an array,\n // plus specify which resources are required for those paths.\n\n var prefetchedResources = [];\n prefetchedPathnames.forEach(function (path) {\n var resources = getResourceURLsForPathname(path);\n prefetchedResources.push.apply(prefetchedResources, resources);\n serviceWorker.active.postMessage({\n gatsbyApi: \"setPathResources\",\n path: path,\n resources: resources\n });\n }); // Loop over all resources and fetch the page component + JSON data\n // to add it to the SW cache.\n\n var resources = [].concat(headerResources, prefetchedResources);\n resources.forEach(function (resource) {\n // Create a prefetch link for each resource, so Workbox runtime-caches them\n var link = document.createElement(\"link\");\n link.rel = \"prefetch\";\n link.href = resource;\n link.onload = link.remove;\n link.onerror = link.remove;\n document.head.appendChild(link);\n });\n};\n\nfunction setPathResources(path, getResourceURLsForPathname) {\n // do nothing if the SW has just updated, since we still have old pages in\n // memory which we don't want to be whitelisted\n if (window.___swUpdated) return;\n\n if (\"serviceWorker\" in navigator) {\n var _navigator = navigator,\n serviceWorker = _navigator.serviceWorker;\n\n if (serviceWorker.controller === null) {\n // if SW is not installed, we need to record any prefetches\n // that happen so we can then add them to SW cache once installed\n prefetchedPathnames.push(path);\n } else {\n var resources = getResourceURLsForPathname(path);\n serviceWorker.controller.postMessage({\n gatsbyApi: \"setPathResources\",\n path: path,\n resources: resources\n });\n }\n }\n}\n\nexports.onRouteUpdate = function (_ref2) {\n var location = _ref2.location,\n getResourceURLsForPathname = _ref2.getResourceURLsForPathname;\n var pathname = location.pathname.replace(__BASE_PATH__, \"\");\n setPathResources(pathname, getResourceURLsForPathname);\n\n if (\"serviceWorker\" in navigator && navigator.serviceWorker.controller !== null) {\n navigator.serviceWorker.controller.postMessage({\n gatsbyApi: \"enableOfflineShell\"\n });\n }\n};\n\nexports.onPostPrefetchPathname = function (_ref3) {\n var pathname = _ref3.pathname,\n getResourceURLsForPathname = _ref3.getResourceURLsForPathname;\n setPathResources(pathname, getResourceURLsForPathname);\n};","const support = function (feature) {\n if (typeof document === `undefined`) {\n return false\n }\n const fakeLink = document.createElement(`link`)\n try {\n if (fakeLink.relList && typeof fakeLink.relList.supports === `function`) {\n return fakeLink.relList.supports(feature)\n }\n } catch (err) {\n return false\n }\n return false\n}\n\nconst linkPrefetchStrategy = function (url, options) {\n return new Promise((resolve, reject) => {\n if (typeof document === `undefined`) {\n reject()\n return\n }\n\n const link = document.createElement(`link`)\n link.setAttribute(`rel`, `prefetch`)\n link.setAttribute(`href`, url)\n\n Object.keys(options).forEach(key => {\n link.setAttribute(key, options[key])\n })\n\n link.onload = resolve\n link.onerror = reject\n\n const parentElement =\n document.getElementsByTagName(`head`)[0] ||\n document.getElementsByName(`script`)[0].parentNode\n parentElement.appendChild(link)\n })\n}\n\nconst xhrPrefetchStrategy = function (url) {\n return new Promise((resolve, reject) => {\n const req = new XMLHttpRequest()\n req.open(`GET`, url, true)\n\n req.onload = () => {\n if (req.status === 200) {\n resolve()\n } else {\n reject()\n }\n }\n\n req.send(null)\n })\n}\n\nconst supportedPrefetchStrategy = support(`prefetch`)\n ? linkPrefetchStrategy\n : xhrPrefetchStrategy\n\nconst preFetched = {}\n\nconst prefetch = function (url, options) {\n return new Promise(resolve => {\n if (preFetched[url]) {\n resolve()\n return\n }\n\n supportedPrefetchStrategy(url, options)\n .then(() => {\n resolve()\n preFetched[url] = true\n })\n .catch(() => {}) // 404s are logged to the console anyway\n })\n}\n\nexport default prefetch\n","import prefetchHelper from \"./prefetch\"\nimport emitter from \"./emitter\"\nimport { setMatchPaths, findPath, findMatchPath } from \"./find-path\"\n\n/**\n * Available resource loading statuses\n */\nexport const PageResourceStatus = {\n /**\n * At least one of critical resources failed to load\n */\n Error: `error`,\n /**\n * Resources loaded successfully\n */\n Success: `success`,\n}\n\nconst preferDefault = m => (m && m.default) || m\n\nconst stripSurroundingSlashes = s => {\n s = s[0] === `/` ? s.slice(1) : s\n s = s.endsWith(`/`) ? s.slice(0, -1) : s\n return s\n}\n\nconst createPageDataUrl = path => {\n const fixedPath = path === `/` ? `index` : stripSurroundingSlashes(path)\n return `${__PATH_PREFIX__}/page-data/${fixedPath}/page-data.json`\n}\n\nfunction doFetch(url, method = `GET`) {\n return new Promise((resolve, reject) => {\n const req = new XMLHttpRequest()\n req.open(method, url, true)\n req.onreadystatechange = () => {\n if (req.readyState == 4) {\n resolve(req)\n }\n }\n req.send(null)\n })\n}\n\nconst doesConnectionSupportPrefetch = () => {\n if (\n `connection` in navigator &&\n typeof navigator.connection !== `undefined`\n ) {\n if ((navigator.connection.effectiveType || ``).includes(`2g`)) {\n return false\n }\n if (navigator.connection.saveData) {\n return false\n }\n }\n return true\n}\n\nconst toPageResources = (pageData, component = null) => {\n const page = {\n componentChunkName: pageData.componentChunkName,\n path: pageData.path,\n webpackCompilationHash: pageData.webpackCompilationHash,\n matchPath: pageData.matchPath,\n staticQueryHashes: pageData.staticQueryHashes,\n }\n\n return {\n component,\n json: pageData.result,\n page,\n }\n}\n\nexport class BaseLoader {\n constructor(loadComponent, matchPaths) {\n // Map of pagePath -> Page. Where Page is an object with: {\n // status: PageResourceStatus.Success || PageResourceStatus.Error,\n // payload: PageResources, // undefined if PageResourceStatus.Error\n // }\n // PageResources is {\n // component,\n // json: pageData.result,\n // page: {\n // componentChunkName,\n // path,\n // webpackCompilationHash,\n // staticQueryHashes\n // },\n // staticQueryResults\n // }\n this.pageDb = new Map()\n this.inFlightDb = new Map()\n this.staticQueryDb = {}\n this.pageDataDb = new Map()\n this.prefetchTriggered = new Set()\n this.prefetchCompleted = new Set()\n this.loadComponent = loadComponent\n setMatchPaths(matchPaths)\n }\n\n inFlightNetworkRequests = new Map()\n\n memoizedGet(url) {\n let inFlightPromise = this.inFlightNetworkRequests.get(url)\n\n if (!inFlightPromise) {\n inFlightPromise = doFetch(url, `GET`)\n this.inFlightNetworkRequests.set(url, inFlightPromise)\n }\n\n // Prefer duplication with then + catch over .finally to prevent problems in ie11 + firefox\n return inFlightPromise\n .then(response => {\n this.inFlightNetworkRequests.delete(url)\n return response\n })\n .catch(err => {\n this.inFlightNetworkRequests.delete(url)\n throw err\n })\n }\n\n setApiRunner(apiRunner) {\n this.apiRunner = apiRunner\n this.prefetchDisabled = apiRunner(`disableCorePrefetching`).some(a => a)\n }\n\n fetchPageDataJson(loadObj) {\n const { pagePath, retries = 0 } = loadObj\n const url = createPageDataUrl(pagePath)\n return this.memoizedGet(url).then(req => {\n const { status, responseText } = req\n\n // Handle 200\n if (status === 200) {\n try {\n const jsonPayload = JSON.parse(responseText)\n if (jsonPayload.path === undefined) {\n throw new Error(`not a valid pageData response`)\n }\n\n return Object.assign(loadObj, {\n status: PageResourceStatus.Success,\n payload: jsonPayload,\n })\n } catch (err) {\n // continue regardless of error\n }\n }\n\n // Handle 404\n if (status === 404 || status === 200) {\n // If the request was for a 404 page and it doesn't exist, we're done\n if (pagePath === `/404.html`) {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n }\n\n // Need some code here to cache the 404 request. In case\n // multiple loadPageDataJsons result in 404s\n return this.fetchPageDataJson(\n Object.assign(loadObj, { pagePath: `/404.html`, notFound: true })\n )\n }\n\n // handle 500 response (Unrecoverable)\n if (status === 500) {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n }\n\n // Handle everything else, including status === 0, and 503s. Should retry\n if (retries < 3) {\n return this.fetchPageDataJson(\n Object.assign(loadObj, { retries: retries + 1 })\n )\n }\n\n // Retried 3 times already, result is an error.\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n })\n }\n\n loadPageDataJson(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.pageDataDb.has(pagePath)) {\n const pageData = this.pageDataDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !pageData.stale) {\n return Promise.resolve(pageData)\n }\n }\n\n return this.fetchPageDataJson({ pagePath }).then(pageData => {\n this.pageDataDb.set(pagePath, pageData)\n\n return pageData\n })\n }\n\n findMatchPath(rawPath) {\n return findMatchPath(rawPath)\n }\n\n // TODO check all uses of this and whether they use undefined for page resources not exist\n loadPage(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.pageDb.has(pagePath)) {\n const page = this.pageDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !page.payload.stale) {\n return Promise.resolve(page.payload)\n }\n }\n\n if (this.inFlightDb.has(pagePath)) {\n return this.inFlightDb.get(pagePath)\n }\n\n const inFlightPromise = Promise.all([\n this.loadAppData(),\n this.loadPageDataJson(pagePath),\n ]).then(allData => {\n const result = allData[1]\n if (result.status === PageResourceStatus.Error) {\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n let pageData = result.payload\n const { componentChunkName, staticQueryHashes = [] } = pageData\n\n const finalResult = {}\n\n const componentChunkPromise = this.loadComponent(componentChunkName).then(\n component => {\n finalResult.createdAt = new Date()\n let pageResources\n if (!component) {\n finalResult.status = PageResourceStatus.Error\n } else {\n finalResult.status = PageResourceStatus.Success\n if (result.notFound === true) {\n finalResult.notFound = true\n }\n pageData = Object.assign(pageData, {\n webpackCompilationHash: allData[0]\n ? allData[0].webpackCompilationHash\n : ``,\n })\n pageResources = toPageResources(pageData, component)\n }\n // undefined if final result is an error\n return pageResources\n }\n )\n\n const staticQueryBatchPromise = Promise.all(\n staticQueryHashes.map(staticQueryHash => {\n // Check for cache in case this static query result has already been loaded\n if (this.staticQueryDb[staticQueryHash]) {\n const jsonPayload = this.staticQueryDb[staticQueryHash]\n return { staticQueryHash, jsonPayload }\n }\n\n return this.memoizedGet(\n `${__PATH_PREFIX__}/page-data/sq/d/${staticQueryHash}.json`\n ).then(req => {\n const jsonPayload = JSON.parse(req.responseText)\n return { staticQueryHash, jsonPayload }\n })\n })\n ).then(staticQueryResults => {\n const staticQueryResultsMap = {}\n\n staticQueryResults.forEach(({ staticQueryHash, jsonPayload }) => {\n staticQueryResultsMap[staticQueryHash] = jsonPayload\n this.staticQueryDb[staticQueryHash] = jsonPayload\n })\n\n return staticQueryResultsMap\n })\n\n return Promise.all([componentChunkPromise, staticQueryBatchPromise]).then(\n ([pageResources, staticQueryResults]) => {\n let payload\n if (pageResources) {\n payload = { ...pageResources, staticQueryResults }\n finalResult.payload = payload\n emitter.emit(`onPostLoadPageResources`, {\n page: payload,\n pageResources: payload,\n })\n }\n\n this.pageDb.set(pagePath, finalResult)\n\n return payload\n }\n )\n })\n\n inFlightPromise\n .then(response => {\n this.inFlightDb.delete(pagePath)\n })\n .catch(error => {\n this.inFlightDb.delete(pagePath)\n throw error\n })\n\n this.inFlightDb.set(pagePath, inFlightPromise)\n\n return inFlightPromise\n }\n\n // returns undefined if loading page ran into errors\n loadPageSync(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.pageDb.has(pagePath)) {\n const pageData = this.pageDb.get(pagePath).payload\n return pageData\n }\n return undefined\n }\n\n shouldPrefetch(pagePath) {\n // Skip prefetching if we know user is on slow or constrained connection\n if (!doesConnectionSupportPrefetch()) {\n return false\n }\n\n // Check if the page exists.\n if (this.pageDb.has(pagePath)) {\n return false\n }\n\n return true\n }\n\n prefetch(pagePath) {\n if (!this.shouldPrefetch(pagePath)) {\n return false\n }\n\n // Tell plugins with custom prefetching logic that they should start\n // prefetching this path.\n if (!this.prefetchTriggered.has(pagePath)) {\n this.apiRunner(`onPrefetchPathname`, { pathname: pagePath })\n this.prefetchTriggered.add(pagePath)\n }\n\n // If a plugin has disabled core prefetching, stop now.\n if (this.prefetchDisabled) {\n return false\n }\n\n const realPath = findPath(pagePath)\n // Todo make doPrefetch logic cacheable\n // eslint-disable-next-line consistent-return\n this.doPrefetch(realPath).then(() => {\n if (!this.prefetchCompleted.has(pagePath)) {\n this.apiRunner(`onPostPrefetchPathname`, { pathname: pagePath })\n this.prefetchCompleted.add(pagePath)\n }\n })\n\n return true\n }\n\n doPrefetch(pagePath) {\n const pageDataUrl = createPageDataUrl(pagePath)\n return prefetchHelper(pageDataUrl, {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPageDataJson(pagePath)\n )\n }\n\n hovering(rawPath) {\n this.loadPage(rawPath)\n }\n\n getResourceURLsForPathname(rawPath) {\n const pagePath = findPath(rawPath)\n const page = this.pageDataDb.get(pagePath)\n if (page) {\n const pageResources = toPageResources(page.payload)\n\n return [\n ...createComponentUrls(pageResources.page.componentChunkName),\n createPageDataUrl(pagePath),\n ]\n } else {\n return null\n }\n }\n\n isPageNotFound(rawPath) {\n const pagePath = findPath(rawPath)\n const page = this.pageDb.get(pagePath)\n return !page || page.notFound\n }\n\n loadAppData(retries = 0) {\n return this.memoizedGet(`${__PATH_PREFIX__}/page-data/app-data.json`).then(\n req => {\n const { status, responseText } = req\n\n let appData\n\n if (status !== 200 && retries < 3) {\n // Retry 3 times incase of non-200 responses\n return this.loadAppData(retries + 1)\n }\n\n // Handle 200\n if (status === 200) {\n try {\n const jsonPayload = JSON.parse(responseText)\n if (jsonPayload.webpackCompilationHash === undefined) {\n throw new Error(`not a valid app-data response`)\n }\n\n appData = jsonPayload\n } catch (err) {\n // continue regardless of error\n }\n }\n\n return appData\n }\n )\n }\n}\n\nconst createComponentUrls = componentChunkName =>\n (window.___chunkMapping[componentChunkName] || []).map(\n chunk => __PATH_PREFIX__ + chunk\n )\n\nexport class ProdLoader extends BaseLoader {\n constructor(asyncRequires, matchPaths) {\n const loadComponent = chunkName =>\n asyncRequires.components[chunkName]\n ? asyncRequires.components[chunkName]()\n .then(preferDefault)\n // loader will handle the case when component is null\n .catch(() => null)\n : Promise.resolve()\n\n super(loadComponent, matchPaths)\n }\n\n doPrefetch(pagePath) {\n return super.doPrefetch(pagePath).then(result => {\n if (result.status !== PageResourceStatus.Success) {\n return Promise.resolve()\n }\n const pageData = result.payload\n const chunkName = pageData.componentChunkName\n const componentUrls = createComponentUrls(chunkName)\n return Promise.all(componentUrls.map(prefetchHelper)).then(() => pageData)\n })\n }\n\n loadPageDataJson(rawPath) {\n return super.loadPageDataJson(rawPath).then(data => {\n if (data.notFound) {\n // check if html file exist using HEAD request:\n // if it does we should navigate to it instead of showing 404\n return doFetch(rawPath, `HEAD`).then(req => {\n if (req.status === 200) {\n // page (.html file) actually exist (or we asked for 404 )\n // returning page resources status as errored to trigger\n // regular browser navigation to given page\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n // if HEAD request wasn't 200, return notFound result\n // and show 404 page\n return data\n })\n }\n return data\n })\n }\n}\n\nlet instance\n\nexport const setLoader = _loader => {\n instance = _loader\n}\n\nexport const publicLoader = {\n // Deprecated methods. As far as we're aware, these are only used by\n // core gatsby and the offline plugin, however there's a very small\n // chance they're called by others.\n getResourcesForPathname: rawPath => {\n console.warn(\n `Warning: getResourcesForPathname is deprecated. Use loadPage instead`\n )\n return instance.i.loadPage(rawPath)\n },\n getResourcesForPathnameSync: rawPath => {\n console.warn(\n `Warning: getResourcesForPathnameSync is deprecated. Use loadPageSync instead`\n )\n return instance.i.loadPageSync(rawPath)\n },\n enqueue: rawPath => instance.prefetch(rawPath),\n\n // Real methods\n getResourceURLsForPathname: rawPath =>\n instance.getResourceURLsForPathname(rawPath),\n loadPage: rawPath => instance.loadPage(rawPath),\n loadPageSync: rawPath => instance.loadPageSync(rawPath),\n prefetch: rawPath => instance.prefetch(rawPath),\n isPageNotFound: rawPath => instance.isPageNotFound(rawPath),\n hovering: rawPath => instance.hovering(rawPath),\n loadAppData: () => instance.loadAppData(),\n}\n\nexport default publicLoader\n\nexport function getStaticQueryResults() {\n if (instance) {\n return instance.staticQueryDb\n } else {\n return {}\n }\n}\n","export function invariant(condition, message, Err) {\n if (Err === void 0) {\n Err = Error;\n }\n\n if (!condition) {\n throw new Err(message);\n }\n}","\"use strict\";\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.ScrollContainer = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _reactDom = _interopRequireDefault(require(\"react-dom\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _scrollHandler = require(\"./scroll-handler\");\n\nvar _router = require(\"@reach/router\");\n\n// TODO: In Gatsby v3, this file should be removed.\n// We are deprecating this in V2 in favor of useScrollRestoration\nvar propTypes = {\n scrollKey: _propTypes.default.string.isRequired,\n shouldUpdateScroll: _propTypes.default.func,\n children: _propTypes.default.element.isRequired\n};\nvar hasNotWarnedDeprecation = true;\n\nvar ScrollContainerImplementation = /*#__PURE__*/function (_React$Component) {\n (0, _inheritsLoose2.default)(ScrollContainerImplementation, _React$Component);\n\n function ScrollContainerImplementation(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n\n if (process.env.NODE_ENV !== \"production\" && hasNotWarnedDeprecation) {\n hasNotWarnedDeprecation = false;\n console.log(\"Deprecation Warning:\\n\\n Gatsby is deprecated in Gatsby v2 and will be removed in Gatsby v3.\\n Update to the React hook alternative useScrollRestoration, like this:.\\n \\n ```\\n import React from 'react';\\n import { useScrollRestoration } from 'gatsby-react-router-scroll';\\n\\n function Component() {\\n const scrollRestoration = useScrollRestoration('\" + _this.props.scrollKey + \"');\\n\\n return
    ;\\n }\\n ```\\n \");\n }\n\n return _this;\n }\n\n var _proto = ScrollContainerImplementation.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n var _this2 = this;\n\n // eslint-disable-next-line react/no-find-dom-node\n var node = _reactDom.default.findDOMNode(this);\n\n var _this$props = this.props,\n location = _this$props.location,\n scrollKey = _this$props.scrollKey;\n if (!node) return;\n node.addEventListener(\"scroll\", function () {\n _this2.props.context.save(location, scrollKey, node.scrollTop);\n });\n var position = this.props.context.read(location, scrollKey);\n node.scrollTo(0, position || 0);\n };\n\n _proto.render = function render() {\n return this.props.children;\n };\n\n return ScrollContainerImplementation;\n}(React.Component);\n\nvar ScrollContainer = function ScrollContainer(props) {\n return /*#__PURE__*/React.createElement(_router.Location, null, function (_ref) {\n var location = _ref.location;\n return /*#__PURE__*/React.createElement(_scrollHandler.ScrollContext.Consumer, null, function (context) {\n return /*#__PURE__*/React.createElement(ScrollContainerImplementation, (0, _extends2.default)({}, props, {\n context: context,\n location: location\n }));\n });\n });\n};\n\nexports.ScrollContainer = ScrollContainer;\nScrollContainer.propTypes = propTypes;","var map = {\n\t\"./en\": \"Wud9\",\n\t\"./en.js\": \"Wud9\",\n\t\"./es\": \"/F5S\",\n\t\"./es.js\": \"/F5S\",\n\t\"./pa\": \"YaUl\",\n\t\"./pa.js\": \"YaUl\",\n\t\"./pt\": \"PJ5K\",\n\t\"./pt.js\": \"PJ5K\",\n\t\"./ses\": \"X5M3\",\n\t\"./ses.js\": \"X5M3\",\n\t\"./zh\": \"PjFX\",\n\t\"./zh.js\": \"PjFX\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"hqDG\";","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _browserLang = _interopRequireDefault(require(\"browser-lang\"));\n\nvar _gatsby = require(\"gatsby\");\n\nvar _reactIntl = require(\"react-intl\");\n\nvar _intlContext = require(\"./intl-context\");\n\nvar preferDefault = function preferDefault(m) {\n return m && m.default || m;\n};\n\nvar polyfillIntl = function polyfillIntl(language) {\n var locale = language.split(\"-\")[0];\n\n try {\n if (!Intl.PluralRules) {\n require(\"@formatjs/intl-pluralrules/polyfill\");\n\n require(\"@formatjs/intl-pluralrules/dist/locale-data/\" + locale);\n }\n\n if (!Intl.RelativeTimeFormat) {\n require(\"@formatjs/intl-relativetimeformat/polyfill\");\n\n require(\"@formatjs/intl-relativetimeformat/dist/locale-data/\" + locale);\n }\n } catch (e) {\n throw new Error(\"Cannot find react-intl/locale-data/\" + language);\n }\n};\n\nvar withIntlProvider = function withIntlProvider(intl) {\n return function (children) {\n polyfillIntl(intl.language);\n return _react.default.createElement(_reactIntl.IntlProvider, {\n locale: intl.language,\n defaultLocale: intl.defaultLanguage,\n messages: intl.messages\n }, _react.default.createElement(_intlContext.IntlContextProvider, {\n value: intl\n }, children));\n };\n};\n\nvar _default = function _default(_ref, pluginOptions) {\n var element = _ref.element,\n props = _ref.props;\n\n if (!props) {\n return;\n }\n\n var pageContext = props.pageContext,\n location = props.location;\n var defaultLanguage = pluginOptions.defaultLanguage;\n var intl = pageContext.intl;\n var language = intl.language,\n languages = intl.languages,\n redirect = intl.redirect,\n routed = intl.routed,\n originalPath = intl.originalPath;\n\n if (typeof window !== \"undefined\") {\n window.___gatsbyIntl = intl;\n }\n /* eslint-disable no-undef */\n\n\n var isRedirect = redirect && !routed;\n\n if (isRedirect) {\n var search = location.search; // Skip build, Browsers only\n\n if (typeof window !== \"undefined\") {\n var detected = window.localStorage.getItem(\"gatsby-intl-language\") || (0, _browserLang.default)({\n languages: languages,\n fallback: language\n });\n\n if (!languages.includes(detected)) {\n detected = language;\n }\n\n var queryParams = search || \"\";\n var newUrl = (0, _gatsby.withPrefix)(\"/\" + detected + originalPath + queryParams);\n window.localStorage.setItem(\"gatsby-intl-language\", detected);\n window.location.replace(newUrl);\n }\n }\n\n var renderElement = isRedirect ? GATSBY_INTL_REDIRECT_COMPONENT_PATH && _react.default.createElement(preferDefault(require(GATSBY_INTL_REDIRECT_COMPONENT_PATH))) : element;\n return withIntlProvider(intl)(renderElement);\n};\n\nexports.default = _default;","\"use strict\";\n\nvar __spreadArrays = this && this.__spreadArrays || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar intl_utils_1 = require(\"@formatjs/intl-utils\");\n\nfunction validateInstance(instance, method) {\n if (!(instance instanceof PluralRules)) {\n throw new TypeError(\"Method Intl.PluralRules.prototype.\" + method + \" called on incompatible receiver \" + String(instance));\n }\n}\n/**\n * https://tc39.es/ecma402/#sec-torawprecision\n * @param x\n * @param minPrecision\n * @param maxPrecision\n */\n\n\nfunction toRawPrecision(x, minPrecision, maxPrecision) {\n var m = x.toPrecision(maxPrecision);\n\n if (~m.indexOf('.') && maxPrecision > minPrecision) {\n var cut = maxPrecision - minPrecision;\n\n while (cut > 0 && m[m.length - 1] === '0') {\n m = m.slice(0, m.length - 1);\n cut--;\n }\n\n if (m[m.length - 1] === '.') {\n return m.slice(0, m.length - 1);\n }\n }\n\n return m;\n}\n/**\n * https://tc39.es/ecma402/#sec-torawfixed\n * @param x\n * @param minInteger\n * @param minFraction\n * @param maxFraction\n */\n\n\nfunction toRawFixed(x, minInteger, minFraction, maxFraction) {\n var cut = maxFraction - minFraction;\n var m = x.toFixed(maxFraction);\n\n while (cut > 0 && m[m.length - 1] === '0') {\n m = m.slice(0, m.length - 1);\n cut--;\n }\n\n if (m[m.length - 1] === '.') {\n m = m.slice(0, m.length - 1);\n }\n\n var int = m.split('.')[0].length;\n\n if (int < minInteger) {\n var z = '';\n\n for (; z.length < minInteger - int; z += '0') {\n ;\n }\n\n m = z + m;\n }\n\n return m;\n}\n\nfunction formatNumericToString(internalSlotMap, pl, x) {\n var minimumSignificantDigits = intl_utils_1.getInternalSlot(internalSlotMap, pl, 'minimumSignificantDigits');\n var maximumSignificantDigits = intl_utils_1.getInternalSlot(internalSlotMap, pl, 'maximumSignificantDigits');\n\n if (minimumSignificantDigits !== undefined && maximumSignificantDigits !== undefined) {\n return toRawPrecision(x, minimumSignificantDigits, maximumSignificantDigits);\n }\n\n return toRawFixed(x, intl_utils_1.getInternalSlot(internalSlotMap, pl, 'minimumIntegerDigits'), intl_utils_1.getInternalSlot(internalSlotMap, pl, 'minimumFractionDigits'), intl_utils_1.getInternalSlot(internalSlotMap, pl, 'maximumFractionDigits'));\n}\n\nvar PluralRules =\n/** @class */\nfunction () {\n function PluralRules(locales, options) {\n // test262/test/intl402/RelativeTimeFormat/constructor/constructor/newtarget-undefined.js\n // Cannot use `new.target` bc of IE11 & TS transpiles it to something else\n var newTarget = this && this instanceof PluralRules ? this.constructor : void 0;\n\n if (!newTarget) {\n throw new TypeError(\"Intl.PluralRules must be called with 'new'\");\n }\n\n var requestedLocales = intl_utils_1.getCanonicalLocales(locales);\n var opt = Object.create(null);\n var opts = options === undefined ? Object.create(null) : intl_utils_1.toObject(options);\n intl_utils_1.setInternalSlot(PluralRules.__INTERNAL_SLOT_MAP__, this, 'initializedPluralRules', true);\n var matcher = intl_utils_1.getOption(opts, 'localeMatcher', 'string', ['best fit', 'lookup'], 'best fit');\n opt.localeMatcher = matcher;\n intl_utils_1.setInternalSlot(PluralRules.__INTERNAL_SLOT_MAP__, this, 'type', intl_utils_1.getOption(opts, 'type', 'string', ['cardinal', 'ordinal'], 'cardinal'));\n intl_utils_1.setNumberFormatDigitOptions(PluralRules.__INTERNAL_SLOT_MAP__, this, opts, 0, 3);\n var r = intl_utils_1.createResolveLocale(PluralRules.getDefaultLocale)(PluralRules.availableLocales, requestedLocales, opt, PluralRules.relevantExtensionKeys, PluralRules.localeData);\n intl_utils_1.setInternalSlot(PluralRules.__INTERNAL_SLOT_MAP__, this, 'locale', r.locale);\n }\n\n PluralRules.prototype.resolvedOptions = function () {\n var _this = this;\n\n validateInstance(this, 'resolvedOptions');\n var opts = Object.create(null);\n opts.locale = intl_utils_1.getInternalSlot(PluralRules.__INTERNAL_SLOT_MAP__, this, 'locale');\n opts.type = intl_utils_1.getInternalSlot(PluralRules.__INTERNAL_SLOT_MAP__, this, 'type');\n ['minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits'].forEach(function (field) {\n var val = intl_utils_1.getInternalSlot(PluralRules.__INTERNAL_SLOT_MAP__, _this, field);\n\n if (val !== undefined) {\n opts[field] = val;\n }\n });\n opts.pluralCategories = __spreadArrays(PluralRules.localeData[opts.locale].categories[opts.type]);\n return opts;\n };\n\n PluralRules.prototype.select = function (val) {\n validateInstance(this, 'select');\n var locale = intl_utils_1.getInternalSlot(PluralRules.__INTERNAL_SLOT_MAP__, this, 'locale');\n var type = intl_utils_1.getInternalSlot(PluralRules.__INTERNAL_SLOT_MAP__, this, 'type');\n return PluralRules.localeData[locale].fn(formatNumericToString(PluralRules.__INTERNAL_SLOT_MAP__, this, Math.abs(Number(val))), type == 'ordinal');\n };\n\n PluralRules.prototype.toString = function () {\n return '[object Intl.PluralRules]';\n };\n\n PluralRules.supportedLocalesOf = function (locales, options) {\n return intl_utils_1.supportedLocales(PluralRules.availableLocales, intl_utils_1.getCanonicalLocales(locales), options);\n };\n\n PluralRules.__addLocaleData = function () {\n var data = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n data[_i] = arguments[_i];\n }\n\n var _loop_1 = function _loop_1(datum) {\n var availableLocales = Object.keys(__spreadArrays(datum.availableLocales, Object.keys(datum.aliases), Object.keys(datum.parentLocales)).reduce(function (all, k) {\n all[k] = true;\n return all;\n }, {}));\n availableLocales.forEach(function (locale) {\n try {\n PluralRules.localeData[locale] = intl_utils_1.unpackData(locale, datum);\n } catch (e) {\n if (intl_utils_1.isMissingLocaleDataError(e)) {\n // If we just don't have data for certain locale, that's ok\n return;\n }\n\n throw e;\n }\n });\n };\n\n for (var _a = 0, data_1 = data; _a < data_1.length; _a++) {\n var datum = data_1[_a];\n\n _loop_1(datum);\n }\n\n PluralRules.availableLocales = Object.keys(PluralRules.localeData);\n\n if (!PluralRules.__defaultLocale) {\n PluralRules.__defaultLocale = PluralRules.availableLocales[0];\n }\n };\n\n PluralRules.getDefaultLocale = function () {\n return PluralRules.__defaultLocale;\n };\n\n PluralRules.localeData = {};\n PluralRules.availableLocales = [];\n PluralRules.__defaultLocale = 'en';\n PluralRules.relevantExtensionKeys = [];\n PluralRules.polyfilled = true;\n PluralRules.__INTERNAL_SLOT_MAP__ = new WeakMap();\n return PluralRules;\n}();\n\nexports.PluralRules = PluralRules;\n\ntry {\n // https://github.com/tc39/test262/blob/master/test/intl402/PluralRules/length.js\n Object.defineProperty(PluralRules, 'length', {\n value: 0,\n writable: false,\n enumerable: false,\n configurable: true\n }); // https://github.com/tc39/test262/blob/master/test/intl402/RelativeTimeFormat/constructor/length.js\n\n Object.defineProperty(PluralRules.prototype.constructor, 'length', {\n value: 0,\n writable: false,\n enumerable: false,\n configurable: true\n }); // https://github.com/tc39/test262/blob/master/test/intl402/RelativeTimeFormat/constructor/supportedLocalesOf/length.js\n\n Object.defineProperty(PluralRules.supportedLocalesOf, 'length', {\n value: 1,\n writable: false,\n enumerable: false,\n configurable: true\n });\n} catch (ex) {// Meta fixes for test262\n}","const preferDefault = m => (m && m.default) || m\n\nif (process.env.BUILD_STAGE === `develop`) {\n module.exports = preferDefault(require(`./public-page-renderer-dev`))\n} else if (process.env.BUILD_STAGE === `build-javascript`) {\n module.exports = preferDefault(require(`./public-page-renderer-prod`))\n} else {\n module.exports = () => null\n}\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nexports.__esModule = true;\nexports.IntlContextConsumer = exports.IntlContextProvider = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar IntlContext = _react.default.createContext();\n\nvar IntlContextProvider = IntlContext.Provider;\nexports.IntlContextProvider = IntlContextProvider;\nvar IntlContextConsumer = IntlContext.Consumer;\nexports.IntlContextConsumer = IntlContextConsumer;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _gatsby = require(\"gatsby\");\n\nvar _getManifestPathname = _interopRequireDefault(require(\"./get-manifest-pathname\"));\n\n/* global __MANIFEST_PLUGIN_HAS_LOCALISATION__ */\n// when we don't have localisation in our manifest, we tree shake everything away\nif (__MANIFEST_PLUGIN_HAS_LOCALISATION__) {\n exports.onRouteUpdate = function (_ref, pluginOptions) {\n var location = _ref.location;\n var localize = pluginOptions.localize;\n var manifestFilename = (0, _getManifestPathname.default)(location.pathname, localize);\n var manifestEl = document.head.querySelector(\"link[rel=\\\"manifest\\\"]\");\n\n if (manifestEl) {\n manifestEl.setAttribute(\"href\", (0, _gatsby.withPrefix)(manifestFilename));\n }\n };\n}","/*\n Why commonjs and not ES imports/exports?\n\n This module is used to alias `create-react-context` package, but drop the the actual implementation part\n because Gatsby requires version of react that has implementatoin baked in.\n \n Package source is using ES modules:\n - https://github.com/jamiebuilds/create-react-context/blob/v0.3.0/src/index.js\n \n But to build this package `babel-plugin-add-module-exports` is used ( https://www.npmjs.com/package/babel-plugin-add-module-exports).\n Which result in both `module.exports` and `exports.default` being set to same thing.\n\n We don't use that babel plugin so we only have `exports.default`.\n\n This cause problems in various 3rd party react components that rely on `module.exports` being set.\n See https://github.com/gatsbyjs/gatsby/issues/23645 for example of it.\n \n Instead of adding same babel plugin we mimic output here. Adding babel plugin just for this would:\n a) unnecesairly slow down compilation for all other files (if we just apply it everywhere)\n b) or complicate babel-loader configuration with overwrite specifically for this file\n*/\n\nconst { createContext } = require(`react`)\n\nmodule.exports = createContext\nmodule.exports.default = createContext\n","function _extends() {\n module.exports = _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\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nvar b = \"function\" === typeof Symbol && Symbol.for,\n c = b ? Symbol.for(\"react.element\") : 60103,\n d = b ? Symbol.for(\"react.portal\") : 60106,\n e = b ? Symbol.for(\"react.fragment\") : 60107,\n f = b ? Symbol.for(\"react.strict_mode\") : 60108,\n g = b ? Symbol.for(\"react.profiler\") : 60114,\n h = b ? Symbol.for(\"react.provider\") : 60109,\n k = b ? Symbol.for(\"react.context\") : 60110,\n l = b ? Symbol.for(\"react.async_mode\") : 60111,\n m = b ? Symbol.for(\"react.concurrent_mode\") : 60111,\n n = b ? Symbol.for(\"react.forward_ref\") : 60112,\n p = b ? Symbol.for(\"react.suspense\") : 60113,\n q = b ? Symbol.for(\"react.suspense_list\") : 60120,\n r = b ? Symbol.for(\"react.memo\") : 60115,\n t = b ? Symbol.for(\"react.lazy\") : 60116,\n v = b ? Symbol.for(\"react.block\") : 60121,\n w = b ? Symbol.for(\"react.fundamental\") : 60117,\n x = b ? Symbol.for(\"react.responder\") : 60118,\n y = b ? Symbol.for(\"react.scope\") : 60119;\n\nfunction z(a) {\n if (\"object\" === typeof a && null !== a) {\n var u = a.$$typeof;\n\n switch (u) {\n case c:\n switch (a = a.type, a) {\n case l:\n case m:\n case e:\n case g:\n case f:\n case p:\n return a;\n\n default:\n switch (a = a && a.$$typeof, a) {\n case k:\n case n:\n case t:\n case r:\n case h:\n return a;\n\n default:\n return u;\n }\n\n }\n\n case d:\n return u;\n }\n }\n}\n\nfunction A(a) {\n return z(a) === m;\n}\n\nexports.AsyncMode = l;\nexports.ConcurrentMode = m;\nexports.ContextConsumer = k;\nexports.ContextProvider = h;\nexports.Element = c;\nexports.ForwardRef = n;\nexports.Fragment = e;\nexports.Lazy = t;\nexports.Memo = r;\nexports.Portal = d;\nexports.Profiler = g;\nexports.StrictMode = f;\nexports.Suspense = p;\n\nexports.isAsyncMode = function (a) {\n return A(a) || z(a) === l;\n};\n\nexports.isConcurrentMode = A;\n\nexports.isContextConsumer = function (a) {\n return z(a) === k;\n};\n\nexports.isContextProvider = function (a) {\n return z(a) === h;\n};\n\nexports.isElement = function (a) {\n return \"object\" === typeof a && null !== a && a.$$typeof === c;\n};\n\nexports.isForwardRef = function (a) {\n return z(a) === n;\n};\n\nexports.isFragment = function (a) {\n return z(a) === e;\n};\n\nexports.isLazy = function (a) {\n return z(a) === t;\n};\n\nexports.isMemo = function (a) {\n return z(a) === r;\n};\n\nexports.isPortal = function (a) {\n return z(a) === d;\n};\n\nexports.isProfiler = function (a) {\n return z(a) === g;\n};\n\nexports.isStrictMode = function (a) {\n return z(a) === f;\n};\n\nexports.isSuspense = function (a) {\n return z(a) === p;\n};\n\nexports.isValidElementType = function (a) {\n return \"string\" === typeof a || \"function\" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || \"object\" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);\n};\n\nexports.typeOf = z;","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nimport loader from \"./loader\"\nimport InternalPageRenderer from \"./page-renderer\"\n\nconst ProdPageRenderer = ({ location }) => {\n const pageResources = loader.loadPageSync(location.pathname)\n if (!pageResources) {\n return null\n }\n return React.createElement(InternalPageRenderer, {\n location,\n pageResources,\n ...pageResources.json,\n })\n}\n\nProdPageRenderer.propTypes = {\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired,\n }).isRequired,\n}\n\nexport default ProdPageRenderer\n","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nfunction startsWith(string, target, position) {\n var length = string.length;\n position = position == null ? 0 : position;\n\n if (position < 0) {\n position = 0;\n } else if (position > length) {\n position = length;\n }\n\n target = \"\".concat(target);\n return string.slice(position, position + target.length) == target;\n}\n\nfunction getBrowserLang() {\n if (typeof window === \"undefined\") {\n return null;\n }\n\n var lang = window.navigator.languages && window.navigator.languages[0] || window.navigator.language || window.navigator.browserLanguage || window.navigator.userLanguage || window.navigator.systemLanguage || null;\n return lang;\n}\n\nfunction normalizeCode(code) {\n return code.toLowerCase().replace(/-/, \"_\");\n}\n\nfunction getPreferredLanguage(options) {\n if (!options) {\n return getBrowserLang();\n }\n\n var languages = options.languages,\n fallback = options.fallback;\n\n if (!options.languages) {\n return fallback;\n } // some browsers report language as en-US instead of en_US\n\n\n var browserLanguage = normalizeCode(getBrowserLang());\n\n if (!browserLanguage) {\n return fallback;\n }\n\n var match = languages.filter(function (lang) {\n return normalizeCode(lang) === browserLanguage;\n });\n\n if (match.length > 0) {\n return match[0] || fallback;\n } // en == en_US\n\n\n var matchCodeOnly = languages.filter(function (lang) {\n return startsWith(browserLanguage, lang);\n });\n return matchCodeOnly[0] || fallback;\n}\n\nvar _default = getPreferredLanguage;\nexports.default = _default;","/* @generated */\n// prettier-ignore\nif (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {\n Intl.RelativeTimeFormat.__addLocaleData({\n \"data\": {\n \"zh-Hans-HK\": {\n \"second\": {\n \"0\": \"现在\",\n \"future\": {\n \"other\": \"{0}秒后\"\n },\n \"past\": {\n \"other\": \"{0}秒前\"\n }\n }\n },\n \"zh-Hans-MO\": {\n \"second\": {\n \"0\": \"现在\",\n \"future\": {\n \"other\": \"{0}秒后\"\n },\n \"past\": {\n \"other\": \"{0}秒前\"\n }\n }\n },\n \"zh-Hans-SG\": {\n \"second\": {\n \"0\": \"现在\",\n \"future\": {\n \"other\": \"{0}秒后\"\n },\n \"past\": {\n \"other\": \"{0}秒前\"\n }\n }\n },\n \"zh-Hant-HK\": {\n \"year\": {\n \"0\": \"今年\",\n \"1\": \"下年\",\n \"future\": {\n \"other\": \"{0} 年後\"\n },\n \"past\": {\n \"other\": \"{0} 年前\"\n },\n \"-1\": \"上年\"\n },\n \"year-short\": {\n \"0\": \"今年\",\n \"1\": \"下年\",\n \"future\": {\n \"other\": \"{0} 年後\"\n },\n \"past\": {\n \"other\": \"{0} 年前\"\n },\n \"-1\": \"上年\"\n },\n \"year-narrow\": {\n \"0\": \"今年\",\n \"1\": \"下年\",\n \"future\": {\n \"other\": \"{0}年後\"\n },\n \"past\": {\n \"other\": \"{0}年前\"\n },\n \"-1\": \"上年\"\n },\n \"quarter\": {\n \"0\": \"今季\",\n \"1\": \"下一季\",\n \"future\": {\n \"other\": \"{0} 季後\"\n },\n \"past\": {\n \"other\": \"{0} 季前\"\n },\n \"-1\": \"上一季\"\n },\n \"quarter-short\": {\n \"0\": \"今季\",\n \"1\": \"下季\",\n \"future\": {\n \"other\": \"{0} 季後\"\n },\n \"past\": {\n \"other\": \"{0} 季前\"\n },\n \"-1\": \"上季\"\n },\n \"quarter-narrow\": {\n \"0\": \"今季\",\n \"1\": \"下季\",\n \"future\": {\n \"other\": \"+{0}Q\"\n },\n \"past\": {\n \"other\": \"-{0}Q\"\n },\n \"-1\": \"上季\"\n },\n \"month-narrow\": {\n \"0\": \"本月\",\n \"1\": \"下個月\",\n \"future\": {\n \"other\": \"{0}個月後\"\n },\n \"past\": {\n \"other\": \"{0}個月前\"\n },\n \"-1\": \"上個月\"\n },\n \"week\": {\n \"0\": \"本星期\",\n \"1\": \"下星期\",\n \"future\": {\n \"other\": \"{0} 星期後\"\n },\n \"past\": {\n \"other\": \"{0} 星期前\"\n },\n \"-1\": \"上星期\"\n },\n \"week-short\": {\n \"0\": \"本星期\",\n \"1\": \"下星期\",\n \"future\": {\n \"other\": \"{0} 星期後\"\n },\n \"past\": {\n \"other\": \"{0} 星期前\"\n },\n \"-1\": \"上星期\"\n },\n \"week-narrow\": {\n \"0\": \"本星期\",\n \"1\": \"下星期\",\n \"future\": {\n \"other\": \"{0}星期後\"\n },\n \"past\": {\n \"other\": \"{0}星期前\"\n },\n \"-1\": \"上星期\"\n },\n \"day\": {\n \"0\": \"今日\",\n \"1\": \"明日\",\n \"2\": \"後日\",\n \"future\": {\n \"other\": \"{0} 日後\"\n },\n \"past\": {\n \"other\": \"{0} 日前\"\n },\n \"-2\": \"前日\",\n \"-1\": \"昨日\"\n },\n \"day-short\": {\n \"0\": \"今日\",\n \"1\": \"明日\",\n \"2\": \"後日\",\n \"future\": {\n \"other\": \"{0} 日後\"\n },\n \"past\": {\n \"other\": \"{0} 日前\"\n },\n \"-2\": \"前日\",\n \"-1\": \"昨日\"\n },\n \"day-narrow\": {\n \"0\": \"今日\",\n \"1\": \"明日\",\n \"2\": \"後日\",\n \"future\": {\n \"other\": \"{0}日後\"\n },\n \"past\": {\n \"other\": \"{0}日前\"\n },\n \"-2\": \"前日\",\n \"-1\": \"昨日\"\n },\n \"hour\": {\n \"0\": \"這個小時\",\n \"future\": {\n \"other\": \"{0} 小時後\"\n },\n \"past\": {\n \"other\": \"{0} 小時前\"\n }\n },\n \"hour-short\": {\n \"0\": \"這個小時\",\n \"future\": {\n \"other\": \"{0} 小時後\"\n },\n \"past\": {\n \"other\": \"{0} 小時前\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"這個小時\",\n \"future\": {\n \"other\": \"{0}小時後\"\n },\n \"past\": {\n \"other\": \"{0}小時前\"\n }\n },\n \"minute\": {\n \"0\": \"這分鐘\",\n \"future\": {\n \"other\": \"{0} 分鐘後\"\n },\n \"past\": {\n \"other\": \"{0} 分鐘前\"\n }\n },\n \"minute-short\": {\n \"0\": \"這分鐘\",\n \"future\": {\n \"other\": \"{0} 分鐘後\"\n },\n \"past\": {\n \"other\": \"{0} 分鐘前\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"這分鐘\",\n \"future\": {\n \"other\": \"{0}分後\"\n },\n \"past\": {\n \"other\": \"{0}分前\"\n }\n },\n \"second-narrow\": {\n \"0\": \"現在\",\n \"future\": {\n \"other\": \"{0}秒後\"\n },\n \"past\": {\n \"other\": \"{0}秒前\"\n }\n }\n },\n \"zh-Hant\": {\n \"year\": {\n \"0\": \"今年\",\n \"1\": \"明年\",\n \"future\": {\n \"other\": \"{0} 年後\"\n },\n \"past\": {\n \"other\": \"{0} 年前\"\n },\n \"-1\": \"去年\"\n },\n \"year-short\": {\n \"0\": \"今年\",\n \"1\": \"明年\",\n \"future\": {\n \"other\": \"{0} 年後\"\n },\n \"past\": {\n \"other\": \"{0} 年前\"\n },\n \"-1\": \"去年\"\n },\n \"year-narrow\": {\n \"0\": \"今年\",\n \"1\": \"明年\",\n \"future\": {\n \"other\": \"{0} 年後\"\n },\n \"past\": {\n \"other\": \"{0} 年前\"\n },\n \"-1\": \"去年\"\n },\n \"quarter\": {\n \"0\": \"這一季\",\n \"1\": \"下一季\",\n \"future\": {\n \"other\": \"{0} 季後\"\n },\n \"past\": {\n \"other\": \"{0} 季前\"\n },\n \"-1\": \"上一季\"\n },\n \"quarter-short\": {\n \"0\": \"這一季\",\n \"1\": \"下一季\",\n \"future\": {\n \"other\": \"{0} 季後\"\n },\n \"past\": {\n \"other\": \"{0} 季前\"\n },\n \"-1\": \"上一季\"\n },\n \"quarter-narrow\": {\n \"0\": \"這一季\",\n \"1\": \"下一季\",\n \"future\": {\n \"other\": \"{0} 季後\"\n },\n \"past\": {\n \"other\": \"{0} 季前\"\n },\n \"-1\": \"上一季\"\n },\n \"month\": {\n \"0\": \"本月\",\n \"1\": \"下個月\",\n \"future\": {\n \"other\": \"{0} 個月後\"\n },\n \"past\": {\n \"other\": \"{0} 個月前\"\n },\n \"-1\": \"上個月\"\n },\n \"month-short\": {\n \"0\": \"本月\",\n \"1\": \"下個月\",\n \"future\": {\n \"other\": \"{0} 個月後\"\n },\n \"past\": {\n \"other\": \"{0} 個月前\"\n },\n \"-1\": \"上個月\"\n },\n \"month-narrow\": {\n \"0\": \"本月\",\n \"1\": \"下個月\",\n \"future\": {\n \"other\": \"{0} 個月後\"\n },\n \"past\": {\n \"other\": \"{0} 個月前\"\n },\n \"-1\": \"上個月\"\n },\n \"week\": {\n \"0\": \"本週\",\n \"1\": \"下週\",\n \"future\": {\n \"other\": \"{0} 週後\"\n },\n \"past\": {\n \"other\": \"{0} 週前\"\n },\n \"-1\": \"上週\"\n },\n \"week-short\": {\n \"0\": \"本週\",\n \"1\": \"下週\",\n \"future\": {\n \"other\": \"{0} 週後\"\n },\n \"past\": {\n \"other\": \"{0} 週前\"\n },\n \"-1\": \"上週\"\n },\n \"week-narrow\": {\n \"0\": \"本週\",\n \"1\": \"下週\",\n \"future\": {\n \"other\": \"{0} 週後\"\n },\n \"past\": {\n \"other\": \"{0} 週前\"\n },\n \"-1\": \"上週\"\n },\n \"day\": {\n \"0\": \"今天\",\n \"1\": \"明天\",\n \"2\": \"後天\",\n \"future\": {\n \"other\": \"{0} 天後\"\n },\n \"past\": {\n \"other\": \"{0} 天前\"\n },\n \"-2\": \"前天\",\n \"-1\": \"昨天\"\n },\n \"day-short\": {\n \"0\": \"今天\",\n \"1\": \"明天\",\n \"2\": \"後天\",\n \"future\": {\n \"other\": \"{0} 天後\"\n },\n \"past\": {\n \"other\": \"{0} 天前\"\n },\n \"-2\": \"前天\",\n \"-1\": \"昨天\"\n },\n \"day-narrow\": {\n \"0\": \"今天\",\n \"1\": \"明天\",\n \"2\": \"後天\",\n \"future\": {\n \"other\": \"{0} 天後\"\n },\n \"past\": {\n \"other\": \"{0} 天前\"\n },\n \"-2\": \"前天\",\n \"-1\": \"昨天\"\n },\n \"hour\": {\n \"0\": \"這一小時\",\n \"future\": {\n \"other\": \"{0} 小時後\"\n },\n \"past\": {\n \"other\": \"{0} 小時前\"\n }\n },\n \"hour-short\": {\n \"0\": \"這一小時\",\n \"future\": {\n \"other\": \"{0} 小時後\"\n },\n \"past\": {\n \"other\": \"{0} 小時前\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"這一小時\",\n \"future\": {\n \"other\": \"{0} 小時後\"\n },\n \"past\": {\n \"other\": \"{0} 小時前\"\n }\n },\n \"minute\": {\n \"0\": \"這一分鐘\",\n \"future\": {\n \"other\": \"{0} 分鐘後\"\n },\n \"past\": {\n \"other\": \"{0} 分鐘前\"\n }\n },\n \"minute-short\": {\n \"0\": \"這一分鐘\",\n \"future\": {\n \"other\": \"{0} 分鐘後\"\n },\n \"past\": {\n \"other\": \"{0} 分鐘前\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"這一分鐘\",\n \"future\": {\n \"other\": \"{0} 分鐘後\"\n },\n \"past\": {\n \"other\": \"{0} 分鐘前\"\n }\n },\n \"second\": {\n \"0\": \"現在\",\n \"future\": {\n \"other\": \"{0} 秒後\"\n },\n \"past\": {\n \"other\": \"{0} 秒前\"\n }\n },\n \"second-short\": {\n \"0\": \"現在\",\n \"future\": {\n \"other\": \"{0} 秒後\"\n },\n \"past\": {\n \"other\": \"{0} 秒前\"\n }\n },\n \"second-narrow\": {\n \"0\": \"現在\",\n \"future\": {\n \"other\": \"{0} 秒後\"\n },\n \"past\": {\n \"other\": \"{0} 秒前\"\n }\n }\n },\n \"zh\": {\n \"nu\": [\"latn\"],\n \"year\": {\n \"0\": \"今年\",\n \"1\": \"明年\",\n \"future\": {\n \"other\": \"{0}年后\"\n },\n \"past\": {\n \"other\": \"{0}年前\"\n },\n \"-1\": \"去年\"\n },\n \"year-short\": {\n \"0\": \"今年\",\n \"1\": \"明年\",\n \"future\": {\n \"other\": \"{0}年后\"\n },\n \"past\": {\n \"other\": \"{0}年前\"\n },\n \"-1\": \"去年\"\n },\n \"year-narrow\": {\n \"0\": \"今年\",\n \"1\": \"明年\",\n \"future\": {\n \"other\": \"{0}年后\"\n },\n \"past\": {\n \"other\": \"{0}年前\"\n },\n \"-1\": \"去年\"\n },\n \"quarter\": {\n \"0\": \"本季度\",\n \"1\": \"下季度\",\n \"future\": {\n \"other\": \"{0}个季度后\"\n },\n \"past\": {\n \"other\": \"{0}个季度前\"\n },\n \"-1\": \"上季度\"\n },\n \"quarter-short\": {\n \"0\": \"本季度\",\n \"1\": \"下季度\",\n \"future\": {\n \"other\": \"{0}个季度后\"\n },\n \"past\": {\n \"other\": \"{0}个季度前\"\n },\n \"-1\": \"上季度\"\n },\n \"quarter-narrow\": {\n \"0\": \"本季度\",\n \"1\": \"下季度\",\n \"future\": {\n \"other\": \"{0}个季度后\"\n },\n \"past\": {\n \"other\": \"{0}个季度前\"\n },\n \"-1\": \"上季度\"\n },\n \"month\": {\n \"0\": \"本月\",\n \"1\": \"下个月\",\n \"future\": {\n \"other\": \"{0}个月后\"\n },\n \"past\": {\n \"other\": \"{0}个月前\"\n },\n \"-1\": \"上个月\"\n },\n \"month-short\": {\n \"0\": \"本月\",\n \"1\": \"下个月\",\n \"future\": {\n \"other\": \"{0}个月后\"\n },\n \"past\": {\n \"other\": \"{0}个月前\"\n },\n \"-1\": \"上个月\"\n },\n \"month-narrow\": {\n \"0\": \"本月\",\n \"1\": \"下个月\",\n \"future\": {\n \"other\": \"{0}个月后\"\n },\n \"past\": {\n \"other\": \"{0}个月前\"\n },\n \"-1\": \"上个月\"\n },\n \"week\": {\n \"0\": \"本周\",\n \"1\": \"下周\",\n \"future\": {\n \"other\": \"{0}周后\"\n },\n \"past\": {\n \"other\": \"{0}周前\"\n },\n \"-1\": \"上周\"\n },\n \"week-short\": {\n \"0\": \"本周\",\n \"1\": \"下周\",\n \"future\": {\n \"other\": \"{0}周后\"\n },\n \"past\": {\n \"other\": \"{0}周前\"\n },\n \"-1\": \"上周\"\n },\n \"week-narrow\": {\n \"0\": \"本周\",\n \"1\": \"下周\",\n \"future\": {\n \"other\": \"{0}周后\"\n },\n \"past\": {\n \"other\": \"{0}周前\"\n },\n \"-1\": \"上周\"\n },\n \"day\": {\n \"0\": \"今天\",\n \"1\": \"明天\",\n \"2\": \"后天\",\n \"future\": {\n \"other\": \"{0}天后\"\n },\n \"past\": {\n \"other\": \"{0}天前\"\n },\n \"-2\": \"前天\",\n \"-1\": \"昨天\"\n },\n \"day-short\": {\n \"0\": \"今天\",\n \"1\": \"明天\",\n \"2\": \"后天\",\n \"future\": {\n \"other\": \"{0}天后\"\n },\n \"past\": {\n \"other\": \"{0}天前\"\n },\n \"-2\": \"前天\",\n \"-1\": \"昨天\"\n },\n \"day-narrow\": {\n \"0\": \"今天\",\n \"1\": \"明天\",\n \"2\": \"后天\",\n \"future\": {\n \"other\": \"{0}天后\"\n },\n \"past\": {\n \"other\": \"{0}天前\"\n },\n \"-2\": \"前天\",\n \"-1\": \"昨天\"\n },\n \"hour\": {\n \"0\": \"这一时间 / 此时\",\n \"future\": {\n \"other\": \"{0}小时后\"\n },\n \"past\": {\n \"other\": \"{0}小时前\"\n }\n },\n \"hour-short\": {\n \"0\": \"这一时间 / 此时\",\n \"future\": {\n \"other\": \"{0}小时后\"\n },\n \"past\": {\n \"other\": \"{0}小时前\"\n }\n },\n \"hour-narrow\": {\n \"0\": \"这一时间 / 此时\",\n \"future\": {\n \"other\": \"{0}小时后\"\n },\n \"past\": {\n \"other\": \"{0}小时前\"\n }\n },\n \"minute\": {\n \"0\": \"此刻\",\n \"future\": {\n \"other\": \"{0}分钟后\"\n },\n \"past\": {\n \"other\": \"{0}分钟前\"\n }\n },\n \"minute-short\": {\n \"0\": \"此刻\",\n \"future\": {\n \"other\": \"{0}分钟后\"\n },\n \"past\": {\n \"other\": \"{0}分钟前\"\n }\n },\n \"minute-narrow\": {\n \"0\": \"此刻\",\n \"future\": {\n \"other\": \"{0}分钟后\"\n },\n \"past\": {\n \"other\": \"{0}分钟前\"\n }\n },\n \"second\": {\n \"0\": \"现在\",\n \"future\": {\n \"other\": \"{0}秒钟后\"\n },\n \"past\": {\n \"other\": \"{0}秒钟前\"\n }\n },\n \"second-short\": {\n \"0\": \"现在\",\n \"future\": {\n \"other\": \"{0}秒后\"\n },\n \"past\": {\n \"other\": \"{0}秒前\"\n }\n },\n \"second-narrow\": {\n \"0\": \"现在\",\n \"future\": {\n \"other\": \"{0}秒后\"\n },\n \"past\": {\n \"other\": \"{0}秒前\"\n }\n }\n }\n },\n \"availableLocales\": [\"zh-Hans-HK\", \"zh-Hans-MO\", \"zh-Hans-SG\", \"zh-Hans\", \"zh-Hant-HK\", \"zh-Hant-MO\", \"zh-Hant\", \"zh\"],\n \"aliases\": {\n \"zh-CN\": \"zh-Hans-CN\",\n \"zh-guoyu\": \"zh\",\n \"zh-hakka\": \"hak\",\n \"zh-HK\": \"zh-Hant-HK\",\n \"zh-min-nan\": \"nan\",\n \"zh-MO\": \"zh-Hant-MO\",\n \"zh-SG\": \"zh-Hans-SG\",\n \"zh-TW\": \"zh-Hant-TW\",\n \"zh-xiang\": \"hsn\",\n \"zh-min\": \"nan-x-zh-min\"\n },\n \"parentLocales\": {\n \"zh-Hant-MO\": \"zh-Hant-HK\"\n }\n });\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar core_1 = require(\"./core\");\n\nif (!('RelativeTimeFormat' in Intl)) {\n Object.defineProperty(Intl, 'RelativeTimeFormat', {\n value: core_1.default,\n writable: true,\n enumerable: false,\n configurable: true\n });\n}","const plugins = require(`./api-runner-browser-plugins`)\nconst {\n getResourcesForPathname,\n getResourcesForPathnameSync,\n getResourceURLsForPathname,\n loadPage,\n loadPageSync,\n} = require(`./loader`).publicLoader\n\nexports.apiRunner = (api, args = {}, defaultReturn, argTransform) => {\n // Hooks for gatsby-cypress's API handler\n if (process.env.CYPRESS_SUPPORT) {\n if (window.___apiHandler) {\n window.___apiHandler(api)\n } else if (window.___resolvedAPIs) {\n window.___resolvedAPIs.push(api)\n } else {\n window.___resolvedAPIs = [api]\n }\n }\n\n let results = plugins.map(plugin => {\n if (!plugin.plugin[api]) {\n return undefined\n }\n\n // Deprecated April 2019. Use `loadPageSync` instead\n args.getResourcesForPathnameSync = getResourcesForPathnameSync\n // Deprecated April 2019. Use `loadPage` instead\n args.getResourcesForPathname = getResourcesForPathname\n args.getResourceURLsForPathname = getResourceURLsForPathname\n args.loadPage = loadPage\n args.loadPageSync = loadPageSync\n\n const result = plugin.plugin[api](args, plugin.options)\n if (result && argTransform) {\n args = argTransform({ args, result, plugin })\n }\n return result\n })\n\n // Filter out undefined results.\n results = results.filter(result => typeof result !== `undefined`)\n\n if (results.length > 0) {\n return results\n } else if (defaultReturn) {\n return [defaultReturn]\n } else {\n return []\n }\n}\n\nexports.apiRunnerAsync = (api, args, defaultReturn) =>\n plugins.reduce(\n (previous, next) =>\n next.plugin[api]\n ? previous.then(() => next.plugin[api](args, next.options))\n : previous,\n Promise.resolve()\n )\n"],"sourceRoot":""}