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AAUjN,OAAMyZ,WAChFF,EAAWvB,iBACX,MAAMkB,EAA4B,CAC9Bxa,MAAO8a,EACPpB,YAAa,CACT7mB,KAAM8c,EACNpB,SAAUA,GAEd3S,OAAQ,CACJof,iBAAkB,GAAGD,KAAQpL,KAAShU,aAG9C4e,EAAUC,GACVS,YAAW,KACP3e,OAAOX,SAAS2F,KAAOA,CAAI,GAC5BwY,EAAoBQ,eAAe,C,uECzDnC,MAAMlL,EAAmB,KAC5B,MAAMnH,GAAQ,SAKd,MAAO,CAAEkH,UAJQ,OAAclH,EAAMiT,YAAYC,KAAK,OAInCC,UAHF,OAAcnT,EAAMiT,YAAYG,QAAQ,KAAM,OAGlCC,WAFX,OAAcrT,EAAMiT,YAAY7f,GAAG,OAEb,C,8BCT7B,WAASud,GACQ,YAAxBrc,SAASgf,WACThf,SAAS4E,iBAAiB,mBAAoByX,IAE9CA,IACArc,SAAS6E,oBAAoB,mBAAoBwX,GAEzD,C,8DCPO,MAAMxI,EAAgB,KACzB,MAAMoL,EAA0Bjf,SAAS2b,eAAe,mBAClDuD,EAAuBlf,SAAS2b,eAAe,gBACjDsD,EACAA,EAAwBE,QACjBD,GACPA,EAAqBC,OACzB,C","sources":["webpack://CarMax.Online.Home.Micro.Site/./node_modules/@contentful/rich-text-types/dist/schemas/generated/ sync ^\\.\\/.*\\.json$","webpack://CarMax.Online.Home.Micro.Site/./node_modules/invariant/invariant.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/isarray/index.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/path-to-regexp/index.js","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/api/faq-content-service-api.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/components/ErrorBoundary.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/events/EventChannel.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/events/constants.ts","webpack://CarMax.Online.Home.Micro.Site/./node_modules/resolve-pathname/esm/resolve-pathname.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router-dom/node_modules/history/esm/history.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/tiny-invariant/dist/esm/tiny-invariant.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router/es/Router.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router-dom/es/Router.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router-dom/es/BrowserRouter.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router/es/matchPath.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router/es/Switch.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router-dom/es/Switch.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router/es/Route.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router-dom/es/Route.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/value-equal/esm/value-equal.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router/node_modules/history/esm/history.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router/es/generatePath.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router/es/Redirect.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/react-router-dom/es/Redirect.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/@mui/material/internal/svg-icons/MoreHoriz.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/@mui/material/Breadcrumbs/breadcrumbsClasses.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/Breadcrumb/HelpCenterBreadcrumbs.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/Breadcrumb/BreadcrumbSeoScript.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/Breadcrumb/breadcrumbHelper.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/utils.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/QuestionPage/QuestionPageSecondaryHeader.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/Shared/OtherTopics.tsx","webpack://CarMax.Online.Home.Micro.Site/./node_modules/@kmx/mui-icons/dist/icons/KmxLocationFilled.js","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/Shared/NeedMoreHelp.tsx","webpack://CarMax.Online.Home.Micro.Site/./node_modules/@kmx/mui-icons/dist/icons/KmxArrowRightFilled.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/@mui/material/Divider/dividerClasses.js","webpack://CarMax.Online.Home.Micro.Site/./node_modules/@mui/material/Divider/Divider.js","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/Shared/RelatedQuestions.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/SectionPage/SectionPage.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/QuestionPage/dataHelper.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/QuestionPage/QuestionPage.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/components/QuestionPage/formatHelper.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/faq/FaqApp.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/faq/index.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/help-center/components/Topics/FaqIcon.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/pages/help-center/components/Topics/FaqSectionLink.tsx","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/theme/index.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/utilities/analytics.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/utilities/hooks/useMuiMediaQuery.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/utilities/onDomContentLoaded.ts","webpack://CarMax.Online.Home.Micro.Site/./Client/ts/utilities/openChat.ts"],"sourcesContent":["var map = {\n\t\"./asset-hyperlink.json\": 3502,\n\t\"./blockquote.json\": 7784,\n\t\"./document.json\": 4634,\n\t\"./embedded-asset-block.json\": 6188,\n\t\"./embedded-entry-block.json\": 4160,\n\t\"./embedded-entry-inline.json\": 3290,\n\t\"./embedded-resource-block.json\": 7904,\n\t\"./embedded-resource-inline.json\": 7242,\n\t\"./entry-hyperlink.json\": 830,\n\t\"./heading-1.json\": 2713,\n\t\"./heading-2.json\": 3036,\n\t\"./heading-3.json\": 8399,\n\t\"./heading-4.json\": 1634,\n\t\"./heading-5.json\": 8317,\n\t\"./heading-6.json\": 2800,\n\t\"./hr.json\": 8381,\n\t\"./hyperlink.json\": 1203,\n\t\"./list-item.json\": 4421,\n\t\"./ordered-list.json\": 3867,\n\t\"./paragraph.json\": 6311,\n\t\"./resource-hyperlink.json\": 7272,\n\t\"./table-cell.json\": 5156,\n\t\"./table-header-cell.json\": 8132,\n\t\"./table-row.json\": 3388,\n\t\"./table.json\": 5825,\n\t\"./text.json\": 4084,\n\t\"./unordered-list.json\": 1464\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 = 5152;","/**\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 NODE_ENV = process.env.NODE_ENV;\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (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","module.exports = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n","var isarray = require('isarray')\n\n/**\n * Expose `pathToRegexp`.\n */\nmodule.exports = pathToRegexp\nmodule.exports.parse = parse\nmodule.exports.compile = compile\nmodule.exports.tokensToFunction = tokensToFunction\nmodule.exports.tokensToRegExp = tokensToRegExp\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n '(\\\\\\\\.)',\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n // \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n // \"/*\" => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n '([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'\n].join('|'), 'g')\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse (str, options) {\n var tokens = []\n var key = 0\n var index = 0\n var path = ''\n var defaultDelimiter = options && options.delimiter || '/'\n var res\n\n while ((res = PATH_REGEXP.exec(str)) != null) {\n var m = res[0]\n var escaped = res[1]\n var offset = res.index\n path += str.slice(index, offset)\n index = offset + m.length\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1]\n continue\n }\n\n var next = str[index]\n var prefix = res[2]\n var name = res[3]\n var capture = res[4]\n var group = res[5]\n var modifier = res[6]\n var asterisk = res[7]\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path)\n path = ''\n }\n\n var partial = prefix != null && next != null && next !== prefix\n var repeat = modifier === '+' || modifier === '*'\n var optional = modifier === '?' || modifier === '*'\n var delimiter = prefix || defaultDelimiter\n var pattern = capture || group\n var prevText = prefix || (typeof tokens[tokens.length - 1] === 'string' ? tokens[tokens.length - 1] : '')\n\n tokens.push({\n name: name || key++,\n prefix: prefix || '',\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n asterisk: !!asterisk,\n pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : restrictBacktrack(delimiter, prevText))\n })\n }\n\n // Match any characters still remaining.\n if (index < str.length) {\n path += str.substr(index)\n }\n\n // If the path exists, push it onto the end.\n if (path) {\n tokens.push(path)\n }\n\n return tokens\n}\n\nfunction restrictBacktrack(delimiter, prevText) {\n if (!prevText || prevText.indexOf(delimiter) > -1) {\n return '[^' + escapeString(delimiter) + ']+?'\n }\n\n return escapeString(prevText) + '|(?:(?!' + escapeString(prevText) + ')[^' + escapeString(delimiter) + '])+?'\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nfunction compile (str, options) {\n return tokensToFunction(parse(str, options), options)\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty (str) {\n return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param {string}\n * @return {string}\n */\nfunction encodeAsterisk (str) {\n return encodeURI(str).replace(/[?#]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase()\n })\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens, options) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length)\n\n // Compile all the patterns before compilation.\n for (var i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options))\n }\n }\n\n return function (obj, opts) {\n var path = ''\n var data = obj || {}\n var options = opts || {}\n var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i]\n\n if (typeof token === 'string') {\n path += token\n\n continue\n }\n\n var value = data[token.name]\n var segment\n\n if (value == null) {\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) {\n path += token.prefix\n }\n\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to be defined')\n }\n }\n\n if (isarray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`')\n }\n\n if (value.length === 0) {\n if (token.optional) {\n continue\n } else {\n throw new TypeError('Expected \"' + token.name + '\" to not be empty')\n }\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j])\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`')\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment\n }\n\n continue\n }\n\n segment = token.asterisk ? encodeAsterisk(value) : encode(value)\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"')\n }\n\n path += token.prefix + segment\n }\n\n return path\n }\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString (str) {\n return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1')\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup (group) {\n return group.replace(/([=!:$\\/()])/g, '\\\\$1')\n}\n\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param {!RegExp} re\n * @param {Array} keys\n * @return {!RegExp}\n */\nfunction attachKeys (re, keys) {\n re.keys = keys\n return re\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags (options) {\n return options && options.sensitive ? '' : 'i'\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {!Array} keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp (path, keys) {\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g)\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n asterisk: false,\n pattern: null\n })\n }\n }\n\n return attachKeys(path, keys)\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp (path, keys, options) {\n var parts = []\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source)\n }\n\n var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options))\n\n return attachKeys(regexp, keys)\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {!Array} keys\n * @param {!Object} options\n * @return {!RegExp}\n */\nfunction stringToRegexp (path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options)\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction tokensToRegExp (tokens, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options)\n keys = []\n }\n\n options = options || {}\n\n var strict = options.strict\n var end = options.end !== false\n var route = ''\n\n // Iterate over the tokens and create our regexp string.\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i]\n\n if (typeof token === 'string') {\n route += escapeString(token)\n } else {\n var prefix = escapeString(token.prefix)\n var capture = '(?:' + token.pattern + ')'\n\n keys.push(token)\n\n if (token.repeat) {\n capture += '(?:' + prefix + capture + ')*'\n }\n\n if (token.optional) {\n if (!token.partial) {\n capture = '(?:' + prefix + '(' + capture + '))?'\n } else {\n capture = prefix + '(' + capture + ')?'\n }\n } else {\n capture = prefix + '(' + capture + ')'\n }\n\n route += capture\n }\n }\n\n var delimiter = escapeString(options.delimiter || '/')\n var endsWithDelimiter = route.slice(-delimiter.length) === delimiter\n\n // In non-strict mode we allow a slash at the end of match. If the path to\n // match already ends with a slash, we remove it for consistency. The slash\n // is valid at the end of a path match, not in the middle. This is important\n // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n if (!strict) {\n route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?'\n }\n\n if (end) {\n route += '$'\n } else {\n // In non-ending mode, we need the capturing groups to match as much as\n // possible by using a positive lookahead to the end or next path segment.\n route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)'\n }\n\n return attachKeys(new RegExp('^' + route, flags(options)), keys)\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {(Array|Object)=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction pathToRegexp (path, keys, options) {\n if (!isarray(keys)) {\n options = /** @type {!Object} */ (keys || options)\n keys = []\n }\n\n options = options || {}\n\n if (path instanceof RegExp) {\n return regexpToRegexp(path, /** @type {!Array} */ (keys))\n }\n\n if (isarray(path)) {\n return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options)\n }\n\n return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options)\n}\n","import { FaqSection } from './types/faq-content-api';\r\n\r\nconst emptySections: FaqSection[] | PromiseLike<FaqSection[]> = [];\r\n\r\nexport async function getFaqSections(): Promise<FaqSection[]> {\r\n try {\r\n const url = `/home/api/content/faq-section`;\r\n const res = await fetch(url);\r\n return await res.json();\r\n } catch (error) {\r\n return Promise.resolve(emptySections);\r\n }\r\n}\r\n","import * as React from 'react';\r\n\r\ninterface IErrorBoundaryProps {}\r\n\r\ninterface IErrorBoundaryState {\r\n hasError: boolean;\r\n}\r\n\r\nexport default class ErrorBoundary extends React.Component<IErrorBoundaryProps, IErrorBoundaryState> {\r\n constructor(props: any) {\r\n super(props);\r\n this.state = { hasError: false };\r\n }\r\n\r\n static getDerivedStateFromError(error: any) {\r\n return { hasError: true };\r\n }\r\n\r\n render() {\r\n return this.state.hasError || React.Children.count(this.props.children) === 0 ? null : this.props.children;\r\n }\r\n}\r\n","export interface IEventChannelData {\r\n [key: string]: any;\r\n}\r\n\r\nexport interface IEventChannelListener {\r\n (data: IEventChannelData | any): any;\r\n}\r\n\r\nexport interface IEventChannelRemoveListenerObj {\r\n remove: () => any;\r\n}\r\n\r\ninterface IEventChannelTopics {\r\n [key: string]: IEventChannelListener[];\r\n}\r\n\r\nexport interface IEventChannel {\r\n topics: IEventChannelTopics;\r\n subscribe: (topic: string, listener: IEventChannelListener) => IEventChannelRemoveListenerObj;\r\n publish: (topic: string, data: {}) => any;\r\n}\r\n\r\nexport default class EventChannel implements IEventChannel {\r\n private _topics: IEventChannelTopics;\r\n\r\n constructor() {\r\n this._topics = {};\r\n }\r\n\r\n private hasTopic(topic: string): boolean {\r\n return this._topics.hasOwnProperty.call(this._topics, topic);\r\n }\r\n\r\n get topics(): IEventChannelTopics {\r\n return this._topics;\r\n }\r\n\r\n subscribe(topic: string, listener: IEventChannelListener): IEventChannelRemoveListenerObj {\r\n if (!this.hasTopic(topic)) {\r\n this._topics[topic] = [];\r\n }\r\n\r\n const index = this._topics[topic].push(listener) - 1;\r\n\r\n return {\r\n remove: () => {\r\n delete this._topics[topic][index];\r\n },\r\n };\r\n }\r\n\r\n publish(topic: string, data = {}) {\r\n if (!this.hasTopic(topic)) {\r\n return;\r\n }\r\n\r\n this._topics[topic].forEach((listener: IEventChannelListener) => {\r\n listener(data);\r\n });\r\n }\r\n}\r\n","export const TOPICS = {\r\n MY_STORE_MODULE_UPDATES: 'myStoreModuleUpdates',\r\n};\r\n\r\nexport const CUSTOM_EVENTS = {\r\n MY_STORE_MODULE_UPDATES: 'kmxSubscribeToMyStoreModuleUpdates',\r\n};\r\n","function isAbsolute(pathname) {\n return pathname.charAt(0) === '/';\n}\n\n// About 1.5x faster than the two-arg version of Array#splice()\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {\n list[i] = list[k];\n }\n\n list.pop();\n}\n\n// This implementation is based heavily on node's url.parse\nfunction resolvePathname(to, from) {\n if (from === undefined) from = '';\n\n var toParts = (to && to.split('/')) || [];\n var fromParts = (from && from.split('/')) || [];\n\n var isToAbs = to && isAbsolute(to);\n var isFromAbs = from && isAbsolute(from);\n var mustEndAbs = isToAbs || isFromAbs;\n\n if (to && isAbsolute(to)) {\n // to is absolute\n fromParts = toParts;\n } else if (toParts.length) {\n // to is relative, drop the filename\n fromParts.pop();\n fromParts = fromParts.concat(toParts);\n }\n\n if (!fromParts.length) return '/';\n\n var hasTrailingSlash;\n if (fromParts.length) {\n var last = fromParts[fromParts.length - 1];\n hasTrailingSlash = last === '.' || last === '..' || last === '';\n } else {\n hasTrailingSlash = false;\n }\n\n var up = 0;\n for (var i = fromParts.length; i >= 0; i--) {\n var part = fromParts[i];\n\n if (part === '.') {\n spliceOne(fromParts, i);\n } else if (part === '..') {\n spliceOne(fromParts, i);\n up++;\n } else if (up) {\n spliceOne(fromParts, i);\n up--;\n }\n }\n\n if (!mustEndAbs) for (; up--; up) fromParts.unshift('..');\n\n if (\n mustEndAbs &&\n fromParts[0] !== '' &&\n (!fromParts[0] || !isAbsolute(fromParts[0]))\n )\n fromParts.unshift('');\n\n var result = fromParts.join('/');\n\n if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';\n\n return result;\n}\n\nexport default resolvePathname;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport resolvePathname from 'resolve-pathname';\nimport valueEqual from 'value-equal';\nimport warning from 'tiny-warning';\nimport invariant from 'tiny-invariant';\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === '/' ? path : '/' + path;\n}\nfunction stripLeadingSlash(path) {\n return path.charAt(0) === '/' ? path.substr(1) : path;\n}\nfunction hasBasename(path, prefix) {\n return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;\n}\nfunction stripBasename(path, prefix) {\n return hasBasename(path, prefix) ? path.substr(prefix.length) : path;\n}\nfunction stripTrailingSlash(path) {\n return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;\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}\nfunction createPath(location) {\n var pathname = location.pathname,\n search = location.search,\n hash = location.hash;\n var path = pathname || '/';\n if (search && search !== '?') path += search.charAt(0) === '?' ? search : \"?\" + search;\n if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : \"#\" + hash;\n return path;\n}\n\nfunction createLocation(path, state, key, currentLocation) {\n var location;\n\n if (typeof path === 'string') {\n // Two-arg form: push(path, state)\n location = parsePath(path);\n location.state = state;\n } else {\n // One-arg form: push(location)\n location = _extends({}, path);\n if (location.pathname === undefined) location.pathname = '';\n\n if (location.search) {\n if (location.search.charAt(0) !== '?') location.search = '?' + location.search;\n } else {\n location.search = '';\n }\n\n if (location.hash) {\n if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;\n } else {\n location.hash = '';\n }\n\n if (state !== undefined && location.state === undefined) location.state = state;\n }\n\n try {\n location.pathname = decodeURI(location.pathname);\n } catch (e) {\n if (e instanceof URIError) {\n throw new URIError('Pathname \"' + location.pathname + '\" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');\n } else {\n throw e;\n }\n }\n\n if (key) location.key = key;\n\n if (currentLocation) {\n // Resolve incomplete/relative pathname relative to current location.\n if (!location.pathname) {\n location.pathname = currentLocation.pathname;\n } else if (location.pathname.charAt(0) !== '/') {\n location.pathname = resolvePathname(location.pathname, currentLocation.pathname);\n }\n } else {\n // When there is no prior location and pathname is empty, set it to /\n if (!location.pathname) {\n location.pathname = '/';\n }\n }\n\n return location;\n}\nfunction locationsAreEqual(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state);\n}\n\nfunction createTransitionManager() {\n var prompt = null;\n\n function setPrompt(nextPrompt) {\n process.env.NODE_ENV !== \"production\" ? warning(prompt == null, 'A history supports only one prompt at a time') : void 0;\n prompt = nextPrompt;\n return function () {\n if (prompt === nextPrompt) prompt = null;\n };\n }\n\n function confirmTransitionTo(location, action, getUserConfirmation, callback) {\n // TODO: If another transition starts while we're still confirming\n // the previous one, we may end up in a weird state. Figure out the\n // best way to handle this.\n if (prompt != null) {\n var result = typeof prompt === 'function' ? prompt(location, action) : prompt;\n\n if (typeof result === 'string') {\n if (typeof getUserConfirmation === 'function') {\n getUserConfirmation(result, callback);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;\n callback(true);\n }\n } else {\n // Return false from a transition hook to cancel the transition.\n callback(result !== false);\n }\n } else {\n callback(true);\n }\n }\n\n var listeners = [];\n\n function appendListener(fn) {\n var isActive = true;\n\n function listener() {\n if (isActive) fn.apply(void 0, arguments);\n }\n\n listeners.push(listener);\n return function () {\n isActive = false;\n listeners = listeners.filter(function (item) {\n return item !== listener;\n });\n };\n }\n\n function notifyListeners() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n listeners.forEach(function (listener) {\n return listener.apply(void 0, args);\n });\n }\n\n return {\n setPrompt: setPrompt,\n confirmTransitionTo: confirmTransitionTo,\n appendListener: appendListener,\n notifyListeners: notifyListeners\n };\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nfunction getConfirmation(message, callback) {\n callback(window.confirm(message)); // eslint-disable-line no-alert\n}\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586\n */\n\nfunction supportsHistory() {\n var ua = window.navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;\n return window.history && 'pushState' in window.history;\n}\n/**\n * Returns true if browser fires popstate on hash change.\n * IE10 and IE11 do not.\n */\n\nfunction supportsPopStateOnHashChange() {\n return window.navigator.userAgent.indexOf('Trident') === -1;\n}\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\n\nfunction supportsGoWithoutReloadUsingHash() {\n return window.navigator.userAgent.indexOf('Firefox') === -1;\n}\n/**\n * Returns true if a given popstate event is an extraneous WebKit event.\n * Accounts for the fact that Chrome on iOS fires real popstate events\n * containing undefined state when pressing the back button.\n */\n\nfunction isExtraneousPopstateEvent(event) {\n return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;\n}\n\nvar PopStateEvent = 'popstate';\nvar HashChangeEvent = 'hashchange';\n\nfunction getHistoryState() {\n try {\n return window.history.state || {};\n } catch (e) {\n // IE 11 sometimes throws when accessing window.history.state\n // See https://github.com/ReactTraining/history/pull/289\n return {};\n }\n}\n/**\n * Creates a history object that uses the HTML5 history API including\n * pushState, replaceState, and the popstate event.\n */\n\n\nfunction createBrowserHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Browser history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canUseHistory = supportsHistory();\n var needsHashChangeListener = !supportsPopStateOnHashChange();\n var _props = props,\n _props$forceRefresh = _props.forceRefresh,\n forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n\n function getDOMLocation(historyState) {\n var _ref = historyState || {},\n key = _ref.key,\n state = _ref.state;\n\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var path = pathname + search + hash;\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path, state, key);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function handlePopState(event) {\n // Ignore extraneous popstate events in WebKit.\n if (isExtraneousPopstateEvent(event)) return;\n handlePop(getDOMLocation(event.state));\n }\n\n function handleHashChange() {\n handlePop(getDOMLocation(getHistoryState()));\n }\n\n var forceNextPop = false;\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of keys we've seen in sessionStorage.\n // Instead, we just default to 0 for keys we don't know.\n\n var toIndex = allKeys.indexOf(toLocation.key);\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allKeys.indexOf(fromLocation.key);\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n }\n\n var initialLocation = getDOMLocation(getHistoryState());\n var allKeys = [initialLocation.key]; // Public interface\n\n function createHref(location) {\n return basename + createPath(location);\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.pushState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.href = href;\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n var nextKeys = allKeys.slice(0, prevIndex + 1);\n nextKeys.push(location.key);\n allKeys = nextKeys;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;\n window.location.href = href;\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.replaceState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.replace(href);\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n if (prevIndex !== -1) allKeys[prevIndex] = location.key;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;\n window.location.replace(href);\n }\n });\n }\n\n function go(n) {\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nvar HashChangeEvent$1 = 'hashchange';\nvar HashPathCoders = {\n hashbang: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);\n },\n decodePath: function decodePath(path) {\n return path.charAt(0) === '!' ? path.substr(1) : path;\n }\n },\n noslash: {\n encodePath: stripLeadingSlash,\n decodePath: addLeadingSlash\n },\n slash: {\n encodePath: addLeadingSlash,\n decodePath: addLeadingSlash\n }\n};\n\nfunction stripHash(url) {\n var hashIndex = url.indexOf('#');\n return hashIndex === -1 ? url : url.slice(0, hashIndex);\n}\n\nfunction getHashPath() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var hashIndex = href.indexOf('#');\n return hashIndex === -1 ? '' : href.substring(hashIndex + 1);\n}\n\nfunction pushHashPath(path) {\n window.location.hash = path;\n}\n\nfunction replaceHashPath(path) {\n window.location.replace(stripHash(window.location.href) + '#' + path);\n}\n\nfunction createHashHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Hash history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canGoWithoutReload = supportsGoWithoutReloadUsingHash();\n var _props = props,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$hashType = _props.hashType,\n hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n var _HashPathCoders$hashT = HashPathCoders[hashType],\n encodePath = _HashPathCoders$hashT.encodePath,\n decodePath = _HashPathCoders$hashT.decodePath;\n\n function getDOMLocation() {\n var path = decodePath(getHashPath());\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n var forceNextPop = false;\n var ignorePath = null;\n\n function locationsAreEqual$$1(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;\n }\n\n function handleHashChange() {\n var path = getHashPath();\n var encodedPath = encodePath(path);\n\n if (path !== encodedPath) {\n // Ensure we always have a properly-encoded hash.\n replaceHashPath(encodedPath);\n } else {\n var location = getDOMLocation();\n var prevLocation = history.location;\n if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.\n\n if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.\n\n ignorePath = null;\n handlePop(location);\n }\n }\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of paths we've seen in sessionStorage.\n // Instead, we just default to 0 for paths we don't know.\n\n var toIndex = allPaths.lastIndexOf(createPath(toLocation));\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n } // Ensure the hash is encoded properly before doing anything else.\n\n\n var path = getHashPath();\n var encodedPath = encodePath(path);\n if (path !== encodedPath) replaceHashPath(encodedPath);\n var initialLocation = getDOMLocation();\n var allPaths = [createPath(initialLocation)]; // Public interface\n\n function createHref(location) {\n var baseTag = document.querySelector('base');\n var href = '';\n\n if (baseTag && baseTag.getAttribute('href')) {\n href = stripHash(window.location.href);\n }\n\n return href + '#' + encodePath(basename + createPath(location));\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a PUSH, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n pushHashPath(encodedPath);\n var prevIndex = allPaths.lastIndexOf(createPath(history.location));\n var nextPaths = allPaths.slice(0, prevIndex + 1);\n nextPaths.push(path);\n allPaths = nextPaths;\n setState({\n action: action,\n location: location\n });\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;\n setState();\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a REPLACE, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n replaceHashPath(encodedPath);\n }\n\n var prevIndex = allPaths.indexOf(createPath(history.location));\n if (prevIndex !== -1) allPaths[prevIndex] = path;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n process.env.NODE_ENV !== \"production\" ? warning(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(HashChangeEvent$1, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(HashChangeEvent$1, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n/**\n * Creates a history object that stores locations in memory.\n */\n\n\nfunction createMemoryHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n var _props = props,\n getUserConfirmation = _props.getUserConfirmation,\n _props$initialEntries = _props.initialEntries,\n initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,\n _props$initialIndex = _props.initialIndex,\n initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = history.entries.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var index = clamp(initialIndex, 0, initialEntries.length - 1);\n var entries = initialEntries.map(function (entry) {\n return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());\n }); // Public interface\n\n var createHref = createPath;\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var prevIndex = history.index;\n var nextIndex = prevIndex + 1;\n var nextEntries = history.entries.slice(0);\n\n if (nextEntries.length > nextIndex) {\n nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);\n } else {\n nextEntries.push(location);\n }\n\n setState({\n action: action,\n location: location,\n index: nextIndex,\n entries: nextEntries\n });\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n history.entries[history.index] = location;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);\n var action = 'POP';\n var location = history.entries[nextIndex];\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location,\n index: nextIndex\n });\n } else {\n // Mimic the behavior of DOM histories by\n // causing a render after a cancelled POP.\n setState();\n }\n });\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n function canGo(n) {\n var nextIndex = history.index + n;\n return nextIndex >= 0 && nextIndex < history.entries.length;\n }\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n return transitionManager.setPrompt(prompt);\n }\n\n function listen(listener) {\n return transitionManager.appendListener(listener);\n }\n\n var history = {\n length: entries.length,\n action: 'POP',\n location: entries[index],\n index: index,\n entries: entries,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n canGo: canGo,\n block: block,\n listen: listen\n };\n return history;\n}\n\nexport { createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath };\n","var isProduction = process.env.NODE_ENV === 'production';\nvar prefix = 'Invariant failed';\nfunction invariant(condition, message) {\n if (condition) {\n return;\n }\n if (isProduction) {\n throw new Error(prefix);\n }\n var provided = typeof message === 'function' ? message() : message;\n var value = provided ? \"\".concat(prefix, \": \").concat(provided) : prefix;\n throw new Error(value);\n}\n\nexport { invariant as default };\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 _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\nimport warning from \"warning\";\nimport invariant from \"invariant\";\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\n/**\n * The public API for putting history on context.\n */\n\nvar Router = function (_React$Component) {\n _inherits(Router, _React$Component);\n\n function Router() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, Router);\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 match: _this.computeMatch(_this.props.history.location.pathname)\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n Router.prototype.getChildContext = function getChildContext() {\n return {\n router: _extends({}, this.context.router, {\n history: this.props.history,\n route: {\n location: this.props.history.location,\n match: this.state.match\n }\n })\n };\n };\n\n Router.prototype.computeMatch = function computeMatch(pathname) {\n return {\n path: \"/\",\n url: \"/\",\n params: {},\n isExact: pathname === \"/\"\n };\n };\n\n Router.prototype.componentWillMount = function componentWillMount() {\n var _this2 = this;\n\n var _props = this.props,\n children = _props.children,\n history = _props.history;\n\n\n invariant(children == null || React.Children.count(children) === 1, \"A <Router> may have only one child element\");\n\n // Do this here so we can setState when a <Redirect> changes the\n // location in componentWillMount. This happens e.g. when doing\n // server rendering using a <StaticRouter>.\n this.unlisten = history.listen(function () {\n _this2.setState({\n match: _this2.computeMatch(history.location.pathname)\n });\n });\n };\n\n Router.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n warning(this.props.history === nextProps.history, \"You cannot change <Router history>\");\n };\n\n Router.prototype.componentWillUnmount = function componentWillUnmount() {\n this.unlisten();\n };\n\n Router.prototype.render = function render() {\n var children = this.props.children;\n\n return children ? React.Children.only(children) : null;\n };\n\n return Router;\n}(React.Component);\n\nRouter.propTypes = {\n history: PropTypes.object.isRequired,\n children: PropTypes.node\n};\nRouter.contextTypes = {\n router: PropTypes.object\n};\nRouter.childContextTypes = {\n router: PropTypes.object.isRequired\n};\n\n\nexport default Router;","// Written in this round about way for babel-transform-imports\nimport Router from \"react-router/es/Router\";\n\nexport default Router;","function _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\nimport warning from \"warning\";\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { createBrowserHistory as createHistory } from \"history\";\nimport Router from \"./Router\";\n\n/**\n * The public API for a <Router> that uses HTML5 history.\n */\n\nvar BrowserRouter = function (_React$Component) {\n _inherits(BrowserRouter, _React$Component);\n\n function BrowserRouter() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, BrowserRouter);\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.history = createHistory(_this.props), _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n BrowserRouter.prototype.componentWillMount = function componentWillMount() {\n warning(!this.props.history, \"<BrowserRouter> ignores the history prop. To use a custom history, \" + \"use `import { Router }` instead of `import { BrowserRouter as Router }`.\");\n };\n\n BrowserRouter.prototype.render = function render() {\n return React.createElement(Router, { history: this.history, children: this.props.children });\n };\n\n return BrowserRouter;\n}(React.Component);\n\nBrowserRouter.propTypes = {\n basename: PropTypes.string,\n forceRefresh: PropTypes.bool,\n getUserConfirmation: PropTypes.func,\n keyLength: PropTypes.number,\n children: PropTypes.node\n};\n\n\nexport default BrowserRouter;","import pathToRegexp from \"path-to-regexp\";\n\nvar patternCache = {};\nvar cacheLimit = 10000;\nvar cacheCount = 0;\n\nvar compilePath = function compilePath(pattern, options) {\n var cacheKey = \"\" + options.end + options.strict + options.sensitive;\n var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});\n\n if (cache[pattern]) return cache[pattern];\n\n var keys = [];\n var re = pathToRegexp(pattern, keys, options);\n var compiledPattern = { re: re, keys: keys };\n\n if (cacheCount < cacheLimit) {\n cache[pattern] = compiledPattern;\n cacheCount++;\n }\n\n return compiledPattern;\n};\n\n/**\n * Public API for matching a URL pathname to a path pattern.\n */\nvar matchPath = function matchPath(pathname) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var parent = arguments[2];\n\n if (typeof options === \"string\") options = { path: options };\n\n var _options = options,\n path = _options.path,\n _options$exact = _options.exact,\n exact = _options$exact === undefined ? false : _options$exact,\n _options$strict = _options.strict,\n strict = _options$strict === undefined ? false : _options$strict,\n _options$sensitive = _options.sensitive,\n sensitive = _options$sensitive === undefined ? false : _options$sensitive;\n\n\n if (path == null) return parent;\n\n var _compilePath = compilePath(path, { end: exact, strict: strict, sensitive: sensitive }),\n re = _compilePath.re,\n keys = _compilePath.keys;\n\n var match = re.exec(pathname);\n\n if (!match) return null;\n\n var url = match[0],\n values = match.slice(1);\n\n var isExact = pathname === url;\n\n if (exact && !isExact) return null;\n\n return {\n path: path, // the path pattern used to match\n url: path === \"/\" && url === \"\" ? \"/\" : url, // the matched portion of the URL\n isExact: isExact, // whether or not we matched exactly\n params: keys.reduce(function (memo, key, index) {\n memo[key.name] = values[index];\n return memo;\n }, {})\n };\n};\n\nexport default matchPath;","function _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\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport warning from \"warning\";\nimport invariant from \"invariant\";\nimport matchPath from \"./matchPath\";\n\n/**\n * The public API for rendering the first <Route> that matches.\n */\n\nvar Switch = function (_React$Component) {\n _inherits(Switch, _React$Component);\n\n function Switch() {\n _classCallCheck(this, Switch);\n\n return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n Switch.prototype.componentWillMount = function componentWillMount() {\n invariant(this.context.router, \"You should not use <Switch> outside a <Router>\");\n };\n\n Switch.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {\n warning(!(nextProps.location && !this.props.location), '<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no \"location\" prop and then provided one on a subsequent render.');\n\n warning(!(!nextProps.location && this.props.location), '<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a \"location\" prop initially but omitted it on a subsequent render.');\n };\n\n Switch.prototype.render = function render() {\n var route = this.context.router.route;\n var children = this.props.children;\n\n var location = this.props.location || route.location;\n\n var match = void 0,\n child = void 0;\n React.Children.forEach(children, function (element) {\n if (match == null && React.isValidElement(element)) {\n var _element$props = element.props,\n pathProp = _element$props.path,\n exact = _element$props.exact,\n strict = _element$props.strict,\n sensitive = _element$props.sensitive,\n from = _element$props.from;\n\n var path = pathProp || from;\n\n child = element;\n match = matchPath(location.pathname, { path: path, exact: exact, strict: strict, sensitive: sensitive }, route.match);\n }\n });\n\n return match ? React.cloneElement(child, { location: location, computedMatch: match }) : null;\n };\n\n return Switch;\n}(React.Component);\n\nSwitch.contextTypes = {\n router: PropTypes.shape({\n route: PropTypes.object.isRequired\n }).isRequired\n};\nSwitch.propTypes = {\n children: PropTypes.node,\n location: PropTypes.object\n};\n\n\nexport default Switch;","// Written in this round about way for babel-transform-imports\nimport Switch from \"react-router/es/Switch\";\n\nexport default Switch;","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 _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\nimport warning from \"warning\";\nimport invariant from \"invariant\";\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport matchPath from \"./matchPath\";\n\nvar isEmptyChildren = function isEmptyChildren(children) {\n return React.Children.count(children) === 0;\n};\n\n/**\n * The public API for matching a single path and rendering.\n */\n\nvar Route = function (_React$Component) {\n _inherits(Route, _React$Component);\n\n function Route() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, Route);\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 match: _this.computeMatch(_this.props, _this.context.router)\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n Route.prototype.getChildContext = function getChildContext() {\n return {\n router: _extends({}, this.context.router, {\n route: {\n location: this.props.location || this.context.router.route.location,\n match: this.state.match\n }\n })\n };\n };\n\n Route.prototype.computeMatch = function computeMatch(_ref, router) {\n var computedMatch = _ref.computedMatch,\n location = _ref.location,\n path = _ref.path,\n strict = _ref.strict,\n exact = _ref.exact,\n sensitive = _ref.sensitive;\n\n if (computedMatch) return computedMatch; // <Switch> already computed the match for us\n\n invariant(router, \"You should not use <Route> or withRouter() outside a <Router>\");\n\n var route = router.route;\n\n var pathname = (location || route.location).pathname;\n\n return matchPath(pathname, { path: path, strict: strict, exact: exact, sensitive: sensitive }, route.match);\n };\n\n Route.prototype.componentWillMount = function componentWillMount() {\n warning(!(this.props.component && this.props.render), \"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored\");\n\n warning(!(this.props.component && this.props.children && !isEmptyChildren(this.props.children)), \"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored\");\n\n warning(!(this.props.render && this.props.children && !isEmptyChildren(this.props.children)), \"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored\");\n };\n\n Route.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps, nextContext) {\n warning(!(nextProps.location && !this.props.location), '<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no \"location\" prop and then provided one on a subsequent render.');\n\n warning(!(!nextProps.location && this.props.location), '<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a \"location\" prop initially but omitted it on a subsequent render.');\n\n this.setState({\n match: this.computeMatch(nextProps, nextContext.router)\n });\n };\n\n Route.prototype.render = function render() {\n var match = this.state.match;\n var _props = this.props,\n children = _props.children,\n component = _props.component,\n render = _props.render;\n var _context$router = this.context.router,\n history = _context$router.history,\n route = _context$router.route,\n staticContext = _context$router.staticContext;\n\n var location = this.props.location || route.location;\n var props = { match: match, location: location, history: history, staticContext: staticContext };\n\n if (component) return match ? React.createElement(component, props) : null;\n\n if (render) return match ? render(props) : null;\n\n if (typeof children === \"function\") return children(props);\n\n if (children && !isEmptyChildren(children)) return React.Children.only(children);\n\n return null;\n };\n\n return Route;\n}(React.Component);\n\nRoute.propTypes = {\n computedMatch: PropTypes.object, // private, from <Switch>\n path: PropTypes.string,\n exact: PropTypes.bool,\n strict: PropTypes.bool,\n sensitive: PropTypes.bool,\n component: PropTypes.func,\n render: PropTypes.func,\n children: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),\n location: PropTypes.object\n};\nRoute.contextTypes = {\n router: PropTypes.shape({\n history: PropTypes.object.isRequired,\n route: PropTypes.object.isRequired,\n staticContext: PropTypes.object\n })\n};\nRoute.childContextTypes = {\n router: PropTypes.object.isRequired\n};\n\n\nexport default Route;","// Written in this round about way for babel-transform-imports\nimport Route from \"react-router/es/Route\";\n\nexport default Route;","function valueOf(obj) {\n return obj.valueOf ? obj.valueOf() : Object.prototype.valueOf.call(obj);\n}\n\nfunction valueEqual(a, b) {\n // Test for strict equality first.\n if (a === b) return true;\n\n // Otherwise, if either of them == null they are not equal.\n if (a == null || b == null) return false;\n\n if (Array.isArray(a)) {\n return (\n Array.isArray(b) &&\n a.length === b.length &&\n a.every(function(item, index) {\n return valueEqual(item, b[index]);\n })\n );\n }\n\n if (typeof a === 'object' || typeof b === 'object') {\n var aValue = valueOf(a);\n var bValue = valueOf(b);\n\n if (aValue !== a || bValue !== b) return valueEqual(aValue, bValue);\n\n return Object.keys(Object.assign({}, a, b)).every(function(key) {\n return valueEqual(a[key], b[key]);\n });\n }\n\n return false;\n}\n\nexport default valueEqual;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport resolvePathname from 'resolve-pathname';\nimport valueEqual from 'value-equal';\nimport warning from 'tiny-warning';\nimport invariant from 'tiny-invariant';\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === '/' ? path : '/' + path;\n}\nfunction stripLeadingSlash(path) {\n return path.charAt(0) === '/' ? path.substr(1) : path;\n}\nfunction hasBasename(path, prefix) {\n return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;\n}\nfunction stripBasename(path, prefix) {\n return hasBasename(path, prefix) ? path.substr(prefix.length) : path;\n}\nfunction stripTrailingSlash(path) {\n return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;\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}\nfunction createPath(location) {\n var pathname = location.pathname,\n search = location.search,\n hash = location.hash;\n var path = pathname || '/';\n if (search && search !== '?') path += search.charAt(0) === '?' ? search : \"?\" + search;\n if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : \"#\" + hash;\n return path;\n}\n\nfunction createLocation(path, state, key, currentLocation) {\n var location;\n\n if (typeof path === 'string') {\n // Two-arg form: push(path, state)\n location = parsePath(path);\n location.state = state;\n } else {\n // One-arg form: push(location)\n location = _extends({}, path);\n if (location.pathname === undefined) location.pathname = '';\n\n if (location.search) {\n if (location.search.charAt(0) !== '?') location.search = '?' + location.search;\n } else {\n location.search = '';\n }\n\n if (location.hash) {\n if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;\n } else {\n location.hash = '';\n }\n\n if (state !== undefined && location.state === undefined) location.state = state;\n }\n\n try {\n location.pathname = decodeURI(location.pathname);\n } catch (e) {\n if (e instanceof URIError) {\n throw new URIError('Pathname \"' + location.pathname + '\" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');\n } else {\n throw e;\n }\n }\n\n if (key) location.key = key;\n\n if (currentLocation) {\n // Resolve incomplete/relative pathname relative to current location.\n if (!location.pathname) {\n location.pathname = currentLocation.pathname;\n } else if (location.pathname.charAt(0) !== '/') {\n location.pathname = resolvePathname(location.pathname, currentLocation.pathname);\n }\n } else {\n // When there is no prior location and pathname is empty, set it to /\n if (!location.pathname) {\n location.pathname = '/';\n }\n }\n\n return location;\n}\nfunction locationsAreEqual(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state);\n}\n\nfunction createTransitionManager() {\n var prompt = null;\n\n function setPrompt(nextPrompt) {\n process.env.NODE_ENV !== \"production\" ? warning(prompt == null, 'A history supports only one prompt at a time') : void 0;\n prompt = nextPrompt;\n return function () {\n if (prompt === nextPrompt) prompt = null;\n };\n }\n\n function confirmTransitionTo(location, action, getUserConfirmation, callback) {\n // TODO: If another transition starts while we're still confirming\n // the previous one, we may end up in a weird state. Figure out the\n // best way to handle this.\n if (prompt != null) {\n var result = typeof prompt === 'function' ? prompt(location, action) : prompt;\n\n if (typeof result === 'string') {\n if (typeof getUserConfirmation === 'function') {\n getUserConfirmation(result, callback);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;\n callback(true);\n }\n } else {\n // Return false from a transition hook to cancel the transition.\n callback(result !== false);\n }\n } else {\n callback(true);\n }\n }\n\n var listeners = [];\n\n function appendListener(fn) {\n var isActive = true;\n\n function listener() {\n if (isActive) fn.apply(void 0, arguments);\n }\n\n listeners.push(listener);\n return function () {\n isActive = false;\n listeners = listeners.filter(function (item) {\n return item !== listener;\n });\n };\n }\n\n function notifyListeners() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n listeners.forEach(function (listener) {\n return listener.apply(void 0, args);\n });\n }\n\n return {\n setPrompt: setPrompt,\n confirmTransitionTo: confirmTransitionTo,\n appendListener: appendListener,\n notifyListeners: notifyListeners\n };\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nfunction getConfirmation(message, callback) {\n callback(window.confirm(message)); // eslint-disable-line no-alert\n}\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586\n */\n\nfunction supportsHistory() {\n var ua = window.navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;\n return window.history && 'pushState' in window.history;\n}\n/**\n * Returns true if browser fires popstate on hash change.\n * IE10 and IE11 do not.\n */\n\nfunction supportsPopStateOnHashChange() {\n return window.navigator.userAgent.indexOf('Trident') === -1;\n}\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\n\nfunction supportsGoWithoutReloadUsingHash() {\n return window.navigator.userAgent.indexOf('Firefox') === -1;\n}\n/**\n * Returns true if a given popstate event is an extraneous WebKit event.\n * Accounts for the fact that Chrome on iOS fires real popstate events\n * containing undefined state when pressing the back button.\n */\n\nfunction isExtraneousPopstateEvent(event) {\n return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;\n}\n\nvar PopStateEvent = 'popstate';\nvar HashChangeEvent = 'hashchange';\n\nfunction getHistoryState() {\n try {\n return window.history.state || {};\n } catch (e) {\n // IE 11 sometimes throws when accessing window.history.state\n // See https://github.com/ReactTraining/history/pull/289\n return {};\n }\n}\n/**\n * Creates a history object that uses the HTML5 history API including\n * pushState, replaceState, and the popstate event.\n */\n\n\nfunction createBrowserHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Browser history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canUseHistory = supportsHistory();\n var needsHashChangeListener = !supportsPopStateOnHashChange();\n var _props = props,\n _props$forceRefresh = _props.forceRefresh,\n forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n\n function getDOMLocation(historyState) {\n var _ref = historyState || {},\n key = _ref.key,\n state = _ref.state;\n\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var path = pathname + search + hash;\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path, state, key);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function handlePopState(event) {\n // Ignore extraneous popstate events in WebKit.\n if (isExtraneousPopstateEvent(event)) return;\n handlePop(getDOMLocation(event.state));\n }\n\n function handleHashChange() {\n handlePop(getDOMLocation(getHistoryState()));\n }\n\n var forceNextPop = false;\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of keys we've seen in sessionStorage.\n // Instead, we just default to 0 for keys we don't know.\n\n var toIndex = allKeys.indexOf(toLocation.key);\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allKeys.indexOf(fromLocation.key);\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n }\n\n var initialLocation = getDOMLocation(getHistoryState());\n var allKeys = [initialLocation.key]; // Public interface\n\n function createHref(location) {\n return basename + createPath(location);\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.pushState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.href = href;\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n var nextKeys = allKeys.slice(0, prevIndex + 1);\n nextKeys.push(location.key);\n allKeys = nextKeys;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;\n window.location.href = href;\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.replaceState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.replace(href);\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n if (prevIndex !== -1) allKeys[prevIndex] = location.key;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;\n window.location.replace(href);\n }\n });\n }\n\n function go(n) {\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nvar HashChangeEvent$1 = 'hashchange';\nvar HashPathCoders = {\n hashbang: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);\n },\n decodePath: function decodePath(path) {\n return path.charAt(0) === '!' ? path.substr(1) : path;\n }\n },\n noslash: {\n encodePath: stripLeadingSlash,\n decodePath: addLeadingSlash\n },\n slash: {\n encodePath: addLeadingSlash,\n decodePath: addLeadingSlash\n }\n};\n\nfunction stripHash(url) {\n var hashIndex = url.indexOf('#');\n return hashIndex === -1 ? url : url.slice(0, hashIndex);\n}\n\nfunction getHashPath() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var hashIndex = href.indexOf('#');\n return hashIndex === -1 ? '' : href.substring(hashIndex + 1);\n}\n\nfunction pushHashPath(path) {\n window.location.hash = path;\n}\n\nfunction replaceHashPath(path) {\n window.location.replace(stripHash(window.location.href) + '#' + path);\n}\n\nfunction createHashHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Hash history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canGoWithoutReload = supportsGoWithoutReloadUsingHash();\n var _props = props,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$hashType = _props.hashType,\n hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n var _HashPathCoders$hashT = HashPathCoders[hashType],\n encodePath = _HashPathCoders$hashT.encodePath,\n decodePath = _HashPathCoders$hashT.decodePath;\n\n function getDOMLocation() {\n var path = decodePath(getHashPath());\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n var forceNextPop = false;\n var ignorePath = null;\n\n function locationsAreEqual$$1(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;\n }\n\n function handleHashChange() {\n var path = getHashPath();\n var encodedPath = encodePath(path);\n\n if (path !== encodedPath) {\n // Ensure we always have a properly-encoded hash.\n replaceHashPath(encodedPath);\n } else {\n var location = getDOMLocation();\n var prevLocation = history.location;\n if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.\n\n if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.\n\n ignorePath = null;\n handlePop(location);\n }\n }\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of paths we've seen in sessionStorage.\n // Instead, we just default to 0 for paths we don't know.\n\n var toIndex = allPaths.lastIndexOf(createPath(toLocation));\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n } // Ensure the hash is encoded properly before doing anything else.\n\n\n var path = getHashPath();\n var encodedPath = encodePath(path);\n if (path !== encodedPath) replaceHashPath(encodedPath);\n var initialLocation = getDOMLocation();\n var allPaths = [createPath(initialLocation)]; // Public interface\n\n function createHref(location) {\n var baseTag = document.querySelector('base');\n var href = '';\n\n if (baseTag && baseTag.getAttribute('href')) {\n href = stripHash(window.location.href);\n }\n\n return href + '#' + encodePath(basename + createPath(location));\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a PUSH, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n pushHashPath(encodedPath);\n var prevIndex = allPaths.lastIndexOf(createPath(history.location));\n var nextPaths = allPaths.slice(0, prevIndex + 1);\n nextPaths.push(path);\n allPaths = nextPaths;\n setState({\n action: action,\n location: location\n });\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;\n setState();\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a REPLACE, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n replaceHashPath(encodedPath);\n }\n\n var prevIndex = allPaths.indexOf(createPath(history.location));\n if (prevIndex !== -1) allPaths[prevIndex] = path;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n process.env.NODE_ENV !== \"production\" ? warning(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(HashChangeEvent$1, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(HashChangeEvent$1, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n/**\n * Creates a history object that stores locations in memory.\n */\n\n\nfunction createMemoryHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n var _props = props,\n getUserConfirmation = _props.getUserConfirmation,\n _props$initialEntries = _props.initialEntries,\n initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,\n _props$initialIndex = _props.initialIndex,\n initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = history.entries.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var index = clamp(initialIndex, 0, initialEntries.length - 1);\n var entries = initialEntries.map(function (entry) {\n return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());\n }); // Public interface\n\n var createHref = createPath;\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var prevIndex = history.index;\n var nextIndex = prevIndex + 1;\n var nextEntries = history.entries.slice(0);\n\n if (nextEntries.length > nextIndex) {\n nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);\n } else {\n nextEntries.push(location);\n }\n\n setState({\n action: action,\n location: location,\n index: nextIndex,\n entries: nextEntries\n });\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n history.entries[history.index] = location;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);\n var action = 'POP';\n var location = history.entries[nextIndex];\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location,\n index: nextIndex\n });\n } else {\n // Mimic the behavior of DOM histories by\n // causing a render after a cancelled POP.\n setState();\n }\n });\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n function canGo(n) {\n var nextIndex = history.index + n;\n return nextIndex >= 0 && nextIndex < history.entries.length;\n }\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n return transitionManager.setPrompt(prompt);\n }\n\n function listen(listener) {\n return transitionManager.appendListener(listener);\n }\n\n var history = {\n length: entries.length,\n action: 'POP',\n location: entries[index],\n index: index,\n entries: entries,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n canGo: canGo,\n block: block,\n listen: listen\n };\n return history;\n}\n\nexport { createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath };\n","import pathToRegexp from \"path-to-regexp\";\n\nvar patternCache = {};\nvar cacheLimit = 10000;\nvar cacheCount = 0;\n\nvar compileGenerator = function compileGenerator(pattern) {\n var cacheKey = pattern;\n var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});\n\n if (cache[pattern]) return cache[pattern];\n\n var compiledGenerator = pathToRegexp.compile(pattern);\n\n if (cacheCount < cacheLimit) {\n cache[pattern] = compiledGenerator;\n cacheCount++;\n }\n\n return compiledGenerator;\n};\n\n/**\n * Public API for generating a URL pathname from a pattern and parameters.\n */\nvar generatePath = function generatePath() {\n var pattern = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"/\";\n var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (pattern === \"/\") {\n return pattern;\n }\n var generator = compileGenerator(pattern);\n return generator(params, { pretty: true });\n};\n\nexport default generatePath;","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 _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\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport warning from \"warning\";\nimport invariant from \"invariant\";\nimport { createLocation, locationsAreEqual } from \"history\";\nimport generatePath from \"./generatePath\";\n\n/**\n * The public API for updating the location programmatically\n * with a component.\n */\n\nvar Redirect = function (_React$Component) {\n _inherits(Redirect, _React$Component);\n\n function Redirect() {\n _classCallCheck(this, Redirect);\n\n return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n Redirect.prototype.isStatic = function isStatic() {\n return this.context.router && this.context.router.staticContext;\n };\n\n Redirect.prototype.componentWillMount = function componentWillMount() {\n invariant(this.context.router, \"You should not use <Redirect> outside a <Router>\");\n\n if (this.isStatic()) this.perform();\n };\n\n Redirect.prototype.componentDidMount = function componentDidMount() {\n if (!this.isStatic()) this.perform();\n };\n\n Redirect.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {\n var prevTo = createLocation(prevProps.to);\n var nextTo = createLocation(this.props.to);\n\n if (locationsAreEqual(prevTo, nextTo)) {\n warning(false, \"You tried to redirect to the same route you're currently on: \" + (\"\\\"\" + nextTo.pathname + nextTo.search + \"\\\"\"));\n return;\n }\n\n this.perform();\n };\n\n Redirect.prototype.computeTo = function computeTo(_ref) {\n var computedMatch = _ref.computedMatch,\n to = _ref.to;\n\n if (computedMatch) {\n if (typeof to === \"string\") {\n return generatePath(to, computedMatch.params);\n } else {\n return _extends({}, to, {\n pathname: generatePath(to.pathname, computedMatch.params)\n });\n }\n }\n\n return to;\n };\n\n Redirect.prototype.perform = function perform() {\n var history = this.context.router.history;\n var push = this.props.push;\n\n var to = this.computeTo(this.props);\n\n if (push) {\n history.push(to);\n } else {\n history.replace(to);\n }\n };\n\n Redirect.prototype.render = function render() {\n return null;\n };\n\n return Redirect;\n}(React.Component);\n\nRedirect.propTypes = {\n computedMatch: PropTypes.object, // private, from <Switch>\n push: PropTypes.bool,\n from: PropTypes.string,\n to: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired\n};\nRedirect.defaultProps = {\n push: false\n};\nRedirect.contextTypes = {\n router: PropTypes.shape({\n history: PropTypes.shape({\n push: PropTypes.func.isRequired,\n replace: PropTypes.func.isRequired\n }).isRequired,\n staticContext: PropTypes.object\n }).isRequired\n};\n\n\nexport default Redirect;","// Written in this round about way for babel-transform-imports\nimport Redirect from \"react-router/es/Redirect\";\n\nexport default Redirect;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z\"\n}), 'MoreHoriz');","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { emphasize } from '@mui/system/colorManipulator';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport MoreHorizIcon from \"../internal/svg-icons/MoreHoriz.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst BreadcrumbCollapsedButton = styled(ButtonBase)(memoTheme(({\n theme\n}) => ({\n display: 'flex',\n marginLeft: `calc(${theme.spacing(1)} * 0.5)`,\n marginRight: `calc(${theme.spacing(1)} * 0.5)`,\n ...(theme.palette.mode === 'light' ? {\n backgroundColor: theme.palette.grey[100],\n color: theme.palette.grey[700]\n } : {\n backgroundColor: theme.palette.grey[700],\n color: theme.palette.grey[100]\n }),\n borderRadius: 2,\n '&:hover, &:focus': {\n ...(theme.palette.mode === 'light' ? {\n backgroundColor: theme.palette.grey[200]\n } : {\n backgroundColor: theme.palette.grey[600]\n })\n },\n '&:active': {\n boxShadow: theme.shadows[0],\n ...(theme.palette.mode === 'light' ? {\n backgroundColor: emphasize(theme.palette.grey[200], 0.12)\n } : {\n backgroundColor: emphasize(theme.palette.grey[600], 0.12)\n })\n }\n})));\nconst BreadcrumbCollapsedIcon = styled(MoreHorizIcon)({\n width: 24,\n height: 16\n});\n\n/**\n * @ignore - internal component.\n */\nfunction BreadcrumbCollapsed(props) {\n const {\n slots = {},\n slotProps = {},\n ...otherProps\n } = props;\n const ownerState = props;\n return /*#__PURE__*/_jsx(\"li\", {\n children: /*#__PURE__*/_jsx(BreadcrumbCollapsedButton, {\n focusRipple: true,\n ...otherProps,\n ownerState: ownerState,\n children: /*#__PURE__*/_jsx(BreadcrumbCollapsedIcon, {\n as: slots.CollapsedIcon,\n ownerState: ownerState,\n ...slotProps.collapsedIcon\n })\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? BreadcrumbCollapsed.propTypes = {\n /**\n * The props used for the CollapsedIcon slot.\n * @default {}\n */\n slotProps: PropTypes.shape({\n collapsedIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the BreadcumbCollapsed.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n CollapsedIcon: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.object\n} : void 0;\nexport default BreadcrumbCollapsed;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getBreadcrumbsUtilityClass(slot) {\n return generateUtilityClass('MuiBreadcrumbs', slot);\n}\nconst breadcrumbsClasses = generateUtilityClasses('MuiBreadcrumbs', ['root', 'ol', 'li', 'separator']);\nexport default breadcrumbsClasses;","'use client';\n\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Typography from \"../Typography/index.js\";\nimport BreadcrumbCollapsed from \"./BreadcrumbCollapsed.js\";\nimport breadcrumbsClasses, { getBreadcrumbsUtilityClass } from \"./breadcrumbsClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n li: ['li'],\n ol: ['ol'],\n separator: ['separator']\n };\n return composeClasses(slots, getBreadcrumbsUtilityClass, classes);\n};\nconst BreadcrumbsRoot = styled(Typography, {\n name: 'MuiBreadcrumbs',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n return [{\n [`& .${breadcrumbsClasses.li}`]: styles.li\n }, styles.root];\n }\n})({});\nconst BreadcrumbsOl = styled('ol', {\n name: 'MuiBreadcrumbs',\n slot: 'Ol',\n overridesResolver: (props, styles) => styles.ol\n})({\n display: 'flex',\n flexWrap: 'wrap',\n alignItems: 'center',\n padding: 0,\n margin: 0,\n listStyle: 'none'\n});\nconst BreadcrumbsSeparator = styled('li', {\n name: 'MuiBreadcrumbs',\n slot: 'Separator',\n overridesResolver: (props, styles) => styles.separator\n})({\n display: 'flex',\n userSelect: 'none',\n marginLeft: 8,\n marginRight: 8\n});\nfunction insertSeparators(items, className, separator, ownerState) {\n return items.reduce((acc, current, index) => {\n if (index < items.length - 1) {\n acc = acc.concat(current, /*#__PURE__*/_jsx(BreadcrumbsSeparator, {\n \"aria-hidden\": true,\n className: className,\n ownerState: ownerState,\n children: separator\n }, `separator-${index}`));\n } else {\n acc.push(current);\n }\n return acc;\n }, []);\n}\nconst Breadcrumbs = /*#__PURE__*/React.forwardRef(function Breadcrumbs(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiBreadcrumbs'\n });\n const {\n children,\n className,\n component = 'nav',\n slots = {},\n slotProps = {},\n expandText = 'Show path',\n itemsAfterCollapse = 1,\n itemsBeforeCollapse = 1,\n maxItems = 8,\n separator = '/',\n ...other\n } = props;\n const [expanded, setExpanded] = React.useState(false);\n const ownerState = {\n ...props,\n component,\n expanded,\n expandText,\n itemsAfterCollapse,\n itemsBeforeCollapse,\n maxItems,\n separator\n };\n const classes = useUtilityClasses(ownerState);\n const collapsedIconSlotProps = useSlotProps({\n elementType: slots.CollapsedIcon,\n externalSlotProps: slotProps.collapsedIcon,\n ownerState\n });\n const listRef = React.useRef(null);\n const renderItemsBeforeAndAfter = allItems => {\n const handleClickExpand = () => {\n setExpanded(true);\n\n // The clicked element received the focus but gets removed from the DOM.\n // Let's keep the focus in the component after expanding.\n // Moving it to the <ol> or <nav> does not cause any announcement in NVDA.\n // By moving it to some link/button at least we have some announcement.\n const focusable = listRef.current.querySelector('a[href],button,[tabindex]');\n if (focusable) {\n focusable.focus();\n }\n };\n\n // This defends against someone passing weird input, to ensure that if all\n // items would be shown anyway, we just show all items without the EllipsisItem\n if (itemsBeforeCollapse + itemsAfterCollapse >= allItems.length) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(['MUI: You have provided an invalid combination of props to the Breadcrumbs.', `itemsAfterCollapse={${itemsAfterCollapse}} + itemsBeforeCollapse={${itemsBeforeCollapse}} >= maxItems={${maxItems}}`].join('\\n'));\n }\n return allItems;\n }\n return [...allItems.slice(0, itemsBeforeCollapse), /*#__PURE__*/_jsx(BreadcrumbCollapsed, {\n \"aria-label\": expandText,\n slots: {\n CollapsedIcon: slots.CollapsedIcon\n },\n slotProps: {\n collapsedIcon: collapsedIconSlotProps\n },\n onClick: handleClickExpand\n }, \"ellipsis\"), ...allItems.slice(allItems.length - itemsAfterCollapse, allItems.length)];\n };\n const allItems = React.Children.toArray(children).filter(child => {\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The Breadcrumbs component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n return /*#__PURE__*/React.isValidElement(child);\n }).map((child, index) => /*#__PURE__*/_jsx(\"li\", {\n className: classes.li,\n children: child\n }, `child-${index}`));\n return /*#__PURE__*/_jsx(BreadcrumbsRoot, {\n ref: ref,\n component: component,\n color: \"textSecondary\",\n className: clsx(classes.root, className),\n ownerState: ownerState,\n ...other,\n children: /*#__PURE__*/_jsx(BreadcrumbsOl, {\n className: classes.ol,\n ref: listRef,\n ownerState: ownerState,\n children: insertSeparators(expanded || maxItems && allItems.length <= maxItems ? allItems : renderItemsBeforeAndAfter(allItems), classes.separator, separator, ownerState)\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Breadcrumbs.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────â”\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Override the default label for the expand button.\n *\n * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n * @default 'Show path'\n */\n expandText: PropTypes.string,\n /**\n * If max items is exceeded, the number of items to show after the ellipsis.\n * @default 1\n */\n itemsAfterCollapse: integerPropType,\n /**\n * If max items is exceeded, the number of items to show before the ellipsis.\n * @default 1\n */\n itemsBeforeCollapse: integerPropType,\n /**\n * Specifies the maximum number of breadcrumbs to display. When there are more\n * than the maximum number, only the first `itemsBeforeCollapse` and last `itemsAfterCollapse`\n * will be shown, with an ellipsis in between.\n * @default 8\n */\n maxItems: integerPropType,\n /**\n * Custom separator node.\n * @default '/'\n */\n separator: PropTypes.node,\n /**\n * The props used for each slot inside the Breadcumb.\n * @default {}\n */\n slotProps: PropTypes.shape({\n collapsedIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside the Breadcumb.\n * Either a string to use a HTML element or a component.\n * @default {}\n */\n slots: PropTypes.shape({\n CollapsedIcon: PropTypes.elementType\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Breadcrumbs;","'use client';\n\nimport useForkRef from \"../useForkRef/index.js\";\nimport appendOwnerState from \"../appendOwnerState/index.js\";\nimport mergeSlotProps from \"../mergeSlotProps/index.js\";\nimport resolveComponentProps from \"../resolveComponentProps/index.js\";\n/**\n * @ignore - do not document.\n * Builds the props to be passed into the slot of an unstyled component.\n * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.\n * If the slot component is not a host component, it also merges in the `ownerState`.\n *\n * @param parameters.getSlotProps - A function that returns the props to be passed to the slot component.\n */\nfunction useSlotProps(parameters) {\n const {\n elementType,\n externalSlotProps,\n ownerState,\n skipResolvingSlotProps = false,\n ...other\n } = parameters;\n const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);\n const {\n props: mergedProps,\n internalRef\n } = mergeSlotProps({\n ...other,\n externalSlotProps: resolvedComponentsProps\n });\n const ref = useForkRef(internalRef, resolvedComponentsProps?.ref, parameters.additionalProps?.ref);\n const props = appendOwnerState(elementType, {\n ...mergedProps,\n ref\n }, ownerState);\n return props;\n}\nexport default useSlotProps;","import { IBreadcrumb } from './BreadcrumbSeoScript';\r\nimport { Breadcrumbs, Link, Typography } from '@mui/material';\r\n\r\ninterface IFaqBreadcrumb {\r\n breadcrumb: IBreadcrumb[];\r\n}\r\n\r\ninterface BreadcrumbElementProps {\r\n isLast: boolean;\r\n text: string;\r\n href?: string;\r\n}\r\n\r\nconst BreadcrumbElement = ({ isLast, text, href }: BreadcrumbElementProps) =>\r\n isLast ? <Typography color=\"textPrimary\">{text}</Typography> : <Link href={href}>{text}</Link>;\r\n\r\nconst HelpCenterBreadcrumbs = ({ breadcrumb }: IFaqBreadcrumb) => (\r\n <Breadcrumbs sx={{ pb: { xs: 3, md: 4 } }} aria-label=\"faq-breadcrumbs\">\r\n {breadcrumb.map((crumb: IBreadcrumb, index: number) => (\r\n <BreadcrumbElement\r\n key={`breadcrumb-${index}`}\r\n isLast={index === breadcrumb.length - 1}\r\n text={crumb.name}\r\n href={crumb.url}\r\n />\r\n ))}\r\n </Breadcrumbs>\r\n);\r\n\r\nexport default HelpCenterBreadcrumbs;\r\n","export interface IBreadcrumb {\r\n name: string;\r\n url: string;\r\n}\r\n\r\ntype SeoScriptProps = {\r\n breadcrumb: IBreadcrumb[];\r\n};\r\n\r\nexport const BreadcrumbSeoScript = ({ breadcrumb }: SeoScriptProps) => {\r\n const itemListElement = breadcrumb\r\n ? breadcrumb.map((b, index) => {\r\n return {\r\n '@type': 'ListItem',\r\n position: index + 1,\r\n item: {\r\n '@id': window.location.origin + b.url,\r\n name: b.name,\r\n },\r\n };\r\n })\r\n : [];\r\n\r\n const data = {\r\n '@context': 'https://schema.org',\r\n '@type': 'BreadcrumbList',\r\n itemListElement,\r\n };\r\n\r\n return (\r\n <script\r\n id=\"seo-breadcrumbs\"\r\n type=\"application/ld+json\"\r\n dangerouslySetInnerHTML={{ __html: JSON.stringify(data) }}\r\n />\r\n );\r\n};\r\n","import { FaqSection, FaqItem } from '../../../../../api/types/faq-content-api';\r\nimport { IBreadcrumb } from './BreadcrumbSeoScript';\r\n\r\nexport const buildFaqBreadcrumb = (faqSection?: FaqSection, faq?: FaqItem): IBreadcrumb[] => {\r\n const faqBreadcrumb = [\r\n {\r\n name: 'Help Center',\r\n url: '/help-center'\r\n },\r\n {\r\n name: faqSection?.sectionTitle || '',\r\n url: faqSection?.url || ''\r\n }\r\n ];\r\n if (faq) {\r\n faqBreadcrumb.push({ name: faq.question, url: faq.url });\r\n }\r\n return faqBreadcrumb;\r\n};\r\n","export const redirectToHelpCenter = () => {\r\n window.location.replace('/help-center');\r\n};\r\n","import { Typography } from '@mui/material';\r\nimport { useMuiMediaQuery } from '../../../../../utilities/hooks';\r\n\r\ninterface SecondaryHeaderProps {\r\n children: React.ReactNode;\r\n}\r\n\r\nconst QuestionPageSecondaryHeader = ({ children }: SecondaryHeaderProps) => {\r\n const { isMobile} = useMuiMediaQuery();\r\n return (\r\n <Typography component=\"h2\" variant={isMobile ? 'h6' : 'h5'} color=\"textPrimary\">\r\n {children}\r\n </Typography>\r\n );\r\n};\r\n\r\nexport default QuestionPageSecondaryHeader;\r\n","import { Stack, Grid2 as Grid } from '@mui/material';\r\nimport FaqSectionLink from '../../../../help-center/components/Topics/FaqSectionLink';\r\nimport QuestionPageSecondaryHeader from '../QuestionPage/QuestionPageSecondaryHeader';\r\nimport { FaqSection } from '../../../../../api/types/faq-content-api';\r\nimport { useMuiMediaQuery } from '../../../../../utilities/hooks/useMuiMediaQuery';\r\n\r\ntype OtherTopicsProps = {\r\n otherTopics?: FaqSection[];\r\n};\r\n\r\nconst OtherTopics = ({ otherTopics }: OtherTopicsProps) => {\r\n const { isMobile } = useMuiMediaQuery();\r\n if (!otherTopics) {\r\n return <></>;\r\n }\r\n\r\n return (\r\n <Stack spacing={isMobile ? 2 : 3}>\r\n <QuestionPageSecondaryHeader>Other topics</QuestionPageSecondaryHeader>\r\n <Grid container gap={1}>\r\n {otherTopics.map(({ sectionTitle, url }, index) => (\r\n <Grid key={index}>\r\n <FaqSectionLink title={sectionTitle} url={url} />\r\n </Grid>\r\n ))}\r\n </Grid>\r\n </Stack>\r\n );\r\n};\r\n\r\nexport default OtherTopics;\r\n","\"use client\";\nimport { jsx as o, Fragment as t } from \"react/jsx-runtime\";\nimport { createSvgIcon as e } from \"@mui/material/utils\";\nconst l = e(\n /* @__PURE__ */ o(t, { children: /* @__PURE__ */ o(\n \"path\",\n {\n d: \"M12 1.28998C6.64998 1.28998 2.28998 5.64998 2.28998 11C2.28998 16.35 8.47998 20.61 10.52 21.92C10.97 22.21 11.49 22.36 12 22.36C12.51 22.36 13.03 22.21 13.48 21.92C15.51 20.6 21.71 16.59 21.71 11C21.71 5.40998 17.35 1.28998 12 1.28998ZM12 14C10.34 14 8.99998 12.66 8.99998 11C8.99998 9.33998 10.34 7.99998 12 7.99998C13.66 7.99998 15 9.33998 15 11C15 12.66 13.66 14 12 14Z\",\n fill: \"currentColor\"\n }\n ) }),\n \"KmxLocationFilled\"\n);\nexport {\n l as default\n};\n","import QuestionPageSecondaryHeader from '../QuestionPage/QuestionPageSecondaryHeader';\r\nimport { KmxChatStroked, KmxLocationFilled } from '@kmx/mui-icons';\r\nimport { Stack, Grid2 as Grid, Button } from '@mui/material';\r\nimport { openChat } from '../../../../../utilities/openChat';\r\nimport { useMuiMediaQuery } from '../../../../../utilities/hooks/useMuiMediaQuery';\r\n\r\nconst NeedMoreHelp = () => {\r\n const { isMobile } = useMuiMediaQuery();\r\n\r\n return (\r\n <Stack spacing={isMobile ? 2 : 3}>\r\n <QuestionPageSecondaryHeader>Need more help?</QuestionPageSecondaryHeader>\r\n <Grid container spacing={1}>\r\n <Grid size={{ xs: 6, sm: 3 }}>\r\n <Button size=\"large\" variant=\"outlined\" startIcon={<KmxChatStroked />} onClick={openChat} fullWidth>\r\n Chat\r\n </Button>\r\n </Grid>\r\n <Grid size={{ xs: 6, sm: 3 }}>\r\n <Button\r\n size=\"large\"\r\n variant=\"outlined\"\r\n startIcon={<KmxLocationFilled />}\r\n href=\"/browse-appointments?op=Faqpage\"\r\n fullWidth\r\n >\r\n Visit\r\n </Button>\r\n </Grid>\r\n </Grid>\r\n </Stack>\r\n );\r\n};\r\n\r\nexport default NeedMoreHelp;\r\n","\"use client\";\nimport { jsx as r, Fragment as t } from \"react/jsx-runtime\";\nimport { createSvgIcon as e } from \"@mui/material/utils\";\nconst l = e(\n /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(\n \"path\",\n {\n d: \"M13.84 5.83999C13.56 6.11999 13.56 6.56999 13.84 6.83999L18.28 11.28H4.00004C3.61004 11.28 3.29004 11.6 3.29004 11.99C3.29004 12.38 3.61004 12.7 4.00004 12.7H18.29L13.85 17.14C13.57 17.42 13.57 17.87 13.85 18.14C14.13 18.41 14.58 18.42 14.85 18.14L20.51 12.48C20.58 12.42 20.63 12.34 20.66 12.25C20.7 12.16 20.72 12.07 20.72 11.98C20.72 11.89 20.7 11.79 20.66 11.71C20.62 11.62 20.57 11.55 20.51 11.48L14.85 5.81999C14.57 5.53999 14.12 5.53999 13.85 5.81999L13.84 5.83999Z\",\n fill: \"currentColor\"\n }\n ) }),\n \"KmxArrowRightFilled\"\n);\nexport {\n l as default\n};\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getDividerUtilityClass(slot) {\n return generateUtilityClass('MuiDivider', slot);\n}\nconst dividerClasses = generateUtilityClasses('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);\nexport default dividerClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getDividerUtilityClass } from \"./dividerClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n absolute,\n children,\n classes,\n flexItem,\n light,\n orientation,\n textAlign,\n variant\n } = ownerState;\n const slots = {\n root: ['root', absolute && 'absolute', variant, light && 'light', orientation === 'vertical' && 'vertical', flexItem && 'flexItem', children && 'withChildren', children && orientation === 'vertical' && 'withChildrenVertical', textAlign === 'right' && orientation !== 'vertical' && 'textAlignRight', textAlign === 'left' && orientation !== 'vertical' && 'textAlignLeft'],\n wrapper: ['wrapper', orientation === 'vertical' && 'wrapperVertical']\n };\n return composeClasses(slots, getDividerUtilityClass, classes);\n};\nconst DividerRoot = styled('div', {\n name: 'MuiDivider',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.absolute && styles.absolute, styles[ownerState.variant], ownerState.light && styles.light, ownerState.orientation === 'vertical' && styles.vertical, ownerState.flexItem && styles.flexItem, ownerState.children && styles.withChildren, ownerState.children && ownerState.orientation === 'vertical' && styles.withChildrenVertical, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && styles.textAlignRight, ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical' && styles.textAlignLeft];\n }\n})(memoTheme(({\n theme\n}) => ({\n margin: 0,\n // Reset browser default style.\n flexShrink: 0,\n borderWidth: 0,\n borderStyle: 'solid',\n borderColor: (theme.vars || theme).palette.divider,\n borderBottomWidth: 'thin',\n variants: [{\n props: {\n absolute: true\n },\n style: {\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%'\n }\n }, {\n props: {\n light: true\n },\n style: {\n borderColor: theme.vars ? `rgba(${theme.vars.palette.dividerChannel} / 0.08)` : alpha(theme.palette.divider, 0.08)\n }\n }, {\n props: {\n variant: 'inset'\n },\n style: {\n marginLeft: 72\n }\n }, {\n props: {\n variant: 'middle',\n orientation: 'horizontal'\n },\n style: {\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2)\n }\n }, {\n props: {\n variant: 'middle',\n orientation: 'vertical'\n },\n style: {\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1)\n }\n }, {\n props: {\n orientation: 'vertical'\n },\n style: {\n height: '100%',\n borderBottomWidth: 0,\n borderRightWidth: 'thin'\n }\n }, {\n props: {\n flexItem: true\n },\n style: {\n alignSelf: 'stretch',\n height: 'auto'\n }\n }, {\n props: ({\n ownerState\n }) => !!ownerState.children,\n style: {\n display: 'flex',\n textAlign: 'center',\n border: 0,\n borderTopStyle: 'solid',\n borderLeftStyle: 'solid',\n '&::before, &::after': {\n content: '\"\"',\n alignSelf: 'center'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.children && ownerState.orientation !== 'vertical',\n style: {\n '&::before, &::after': {\n width: '100%',\n borderTop: `thin solid ${(theme.vars || theme).palette.divider}`,\n borderTopStyle: 'inherit'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.orientation === 'vertical' && ownerState.children,\n style: {\n flexDirection: 'column',\n '&::before, &::after': {\n height: '100%',\n borderLeft: `thin solid ${(theme.vars || theme).palette.divider}`,\n borderLeftStyle: 'inherit'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical',\n style: {\n '&::before': {\n width: '90%'\n },\n '&::after': {\n width: '10%'\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical',\n style: {\n '&::before': {\n width: '10%'\n },\n '&::after': {\n width: '90%'\n }\n }\n }]\n})));\nconst DividerWrapper = styled('span', {\n name: 'MuiDivider',\n slot: 'Wrapper',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.wrapper, ownerState.orientation === 'vertical' && styles.wrapperVertical];\n }\n})(memoTheme(({\n theme\n}) => ({\n display: 'inline-block',\n paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,\n paddingRight: `calc(${theme.spacing(1)} * 1.2)`,\n whiteSpace: 'nowrap',\n variants: [{\n props: {\n orientation: 'vertical'\n },\n style: {\n paddingTop: `calc(${theme.spacing(1)} * 1.2)`,\n paddingBottom: `calc(${theme.spacing(1)} * 1.2)`\n }\n }]\n})));\nconst Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiDivider'\n });\n const {\n absolute = false,\n children,\n className,\n orientation = 'horizontal',\n component = children || orientation === 'vertical' ? 'div' : 'hr',\n flexItem = false,\n light = false,\n role = component !== 'hr' ? 'separator' : undefined,\n textAlign = 'center',\n variant = 'fullWidth',\n ...other\n } = props;\n const ownerState = {\n ...props,\n absolute,\n component,\n flexItem,\n light,\n orientation,\n role,\n textAlign,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(DividerRoot, {\n as: component,\n className: clsx(classes.root, className),\n role: role,\n ref: ref,\n ownerState: ownerState,\n \"aria-orientation\": role === 'separator' && (component !== 'hr' || orientation === 'vertical') ? orientation : undefined,\n ...other,\n children: children ? /*#__PURE__*/_jsx(DividerWrapper, {\n className: classes.wrapper,\n ownerState: ownerState,\n children: children\n }) : null\n });\n});\n\n/**\n * The following flag is used to ensure that this component isn't tabbable i.e.\n * does not get highlight/focus inside of MUI List.\n */\nif (Divider) {\n Divider.muiSkipListHighlight = true;\n}\nprocess.env.NODE_ENV !== \"production\" ? Divider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────â”\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Absolutely position the element.\n * @default false\n */\n absolute: PropTypes.bool,\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, a vertical divider will have the correct height when used in flex container.\n * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)\n * @default false\n */\n flexItem: PropTypes.bool,\n /**\n * If `true`, the divider will have a lighter color.\n * @default false\n * @deprecated Use <Divider sx={{ opacity: 0.6 }} /> (or any opacity or color) instead. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n light: PropTypes.bool,\n /**\n * The component orientation.\n * @default 'horizontal'\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n /**\n * @ignore\n */\n role: PropTypes /* @typescript-to-proptypes-ignore */.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The text alignment.\n * @default 'center'\n */\n textAlign: PropTypes.oneOf(['center', 'left', 'right']),\n /**\n * The variant to use.\n * @default 'fullWidth'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['fullWidth', 'inset', 'middle']), PropTypes.string])\n} : void 0;\nexport default Divider;","import { FaqItem } from '../../../../../api/types/faq-content-api';\r\nimport { KmxArrowRightFilled } from '@kmx/mui-icons';\r\nimport { Stack, Divider, Button, Typography } from '@mui/material';\r\nimport { useMuiMediaQuery } from '../../../../../utilities/hooks/useMuiMediaQuery';\r\nimport { ReactNode } from 'react';\r\n\r\ntype RelatedQuestionsProps = {\r\n relatedQuestions?: FaqItem[];\r\n title: ReactNode;\r\n spacing: number;\r\n};\r\n\r\nconst RelatedQuestions = ({ relatedQuestions, title, spacing }: RelatedQuestionsProps) => {\r\n const { isMobile } = useMuiMediaQuery();\r\n\r\n if (!relatedQuestions) {\r\n return <></>;\r\n }\r\n\r\n return (\r\n <Stack spacing={isMobile ? spacing - 1 : spacing}>\r\n {title}\r\n <Stack divider={<Divider />}>\r\n {relatedQuestions.map((faq, index) => (\r\n <Button\r\n key={`related-question-${index}`}\r\n href={faq.url}\r\n color=\"secondary\"\r\n sx={{ justifyContent: 'space-between', py: 3, px: 1 }}\r\n endIcon={<KmxArrowRightFilled color=\"primary\" sx={{ ml: 3 }} />}\r\n fullWidth\r\n variant=\"text\"\r\n >\r\n <Typography component=\"span\" color=\"textPrimary\">\r\n {faq.question}\r\n </Typography>\r\n </Button>\r\n ))}\r\n </Stack>\r\n </Stack>\r\n );\r\n};\r\n\r\nexport default RelatedQuestions;\r\n","import { useEffect, useState } from 'react';\r\nimport { FaqSection } from '../../../../../api/types/faq-content-api';\r\nimport { RouteComponentProps } from 'react-router-dom';\r\nimport HelpCenterBreadcrumbs from '../Breadcrumb/HelpCenterBreadcrumbs';\r\nimport { IBreadcrumb, BreadcrumbSeoScript } from '../Breadcrumb/BreadcrumbSeoScript';\r\nimport { buildFaqBreadcrumb } from '../Breadcrumb/breadcrumbHelper';\r\nimport '../../../../../../scss/pages/help-center/main.scss';\r\nimport { redirectToHelpCenter } from '../../../utils';\r\nimport { Container, Stack, Typography } from '@mui/material';\r\nimport { useMuiMediaQuery } from '../../../../../utilities/hooks';\r\nimport OtherTopics from '../Shared/OtherTopics';\r\nimport NeedMoreHelp from '../Shared/NeedMoreHelp';\r\nimport RelatedQuestions from '../Shared/RelatedQuestions';\r\n\r\ninterface IFaqSectionPageProps {\r\n location: RouteComponentProps['location'];\r\n allSections: FaqSection[] | undefined;\r\n}\r\n\r\nexport const FaqSectionPage = ({ location, allSections }: IFaqSectionPageProps) => {\r\n const [faqSection, setFaqSection] = useState<FaqSection>();\r\n const [otherTopics, setOtherTopics] = useState<FaqSection[]>();\r\n const [breadcrumb, setBreadcrumb] = useState<IBreadcrumb[]>();\r\n const { isMobile } = useMuiMediaQuery();\r\n\r\n useEffect(() => {\r\n if (allSections) {\r\n const getSectionByPath = allSections?.find((section: { url: string }) =>\r\n section.url.match(new RegExp(location.pathname, 'i'))\r\n );\r\n if (!getSectionByPath) redirectToHelpCenter();\r\n !faqSection && setFaqSection(getSectionByPath);\r\n !otherTopics && setOtherTopics(allSections?.filter((x) => x.sectionTitle !== faqSection?.sectionTitle));\r\n !breadcrumb && faqSection && setBreadcrumb(buildFaqBreadcrumb(faqSection));\r\n }\r\n }, [faqSection, allSections, location.pathname, otherTopics, breadcrumb]);\r\n\r\n useEffect(() => {\r\n const title = faqSection?.seoTags?.title;\r\n if (title) {\r\n document.title = title;\r\n }\r\n }, [faqSection?.seoTags?.title]);\r\n\r\n return (\r\n <>\r\n {faqSection ? (\r\n <Container id=\"page--faq-section\" maxWidth=\"md\">\r\n {breadcrumb && <BreadcrumbSeoScript breadcrumb={breadcrumb} />}\r\n <Stack spacing={1} sx={{ mt: { xs: 1, md: 3 }, mb: 9 }}>\r\n {breadcrumb && <HelpCenterBreadcrumbs breadcrumb={breadcrumb} />}\r\n <div data-testid=\"page-content\">\r\n <Stack spacing={5}>\r\n <RelatedQuestions\r\n spacing={5}\r\n relatedQuestions={faqSection.faqs}\r\n title={\r\n <Typography color=\"textPrimary\" component=\"h1\" variant={isMobile ? 'h4' : 'h3'}>\r\n {faqSection.sectionTitle}\r\n </Typography>\r\n }\r\n />\r\n </Stack>\r\n </div>\r\n </Stack>\r\n <Stack spacing={8} sx={{ mt: 8, pb: { xs: 8, md: 10 } }}>\r\n <OtherTopics otherTopics={otherTopics} />\r\n <NeedMoreHelp />\r\n </Stack>\r\n </Container>\r\n ) : (\r\n <></>\r\n )}\r\n </>\r\n );\r\n};\r\n","import { FaqSection } from '../../../../../api/types/faq-content-api';\r\nimport { buildFaqBreadcrumb } from '../Breadcrumb/breadcrumbHelper';\r\nimport { BLOCKS } from '@contentful/rich-text-types';\r\nimport { IFaqQuestionPageData } from './models';\r\n\r\nexport const buildQuestionPageData = (allSections: FaqSection[], sectionPath: string[]) => {\r\n const pageData: IFaqQuestionPageData = {\r\n faqSection: {\r\n sectionTitle: '',\r\n url: '',\r\n faqs: [],\r\n tags: [],\r\n },\r\n faq: {\r\n question: '',\r\n answer: {\r\n nodeType: BLOCKS.DOCUMENT,\r\n value: '',\r\n data: {},\r\n content: [],\r\n marks: [],\r\n },\r\n url: '',\r\n },\r\n otherTopics: [],\r\n breadcrumb: [],\r\n relatedQuestions: [],\r\n };\r\n pageData.faqSection = allSections?.find((r: { url: string }) => r.url.match(new RegExp(sectionPath[1], 'i')));\r\n pageData.faq = pageData.faqSection?.faqs?.find((faq) => faq.url.match(new RegExp(sectionPath[2], 'i')));\r\n pageData.otherTopics = allSections?.filter((x) => x.sectionTitle !== pageData.faqSection?.sectionTitle);\r\n pageData.breadcrumb = buildFaqBreadcrumb(pageData.faqSection, pageData.faq);\r\n pageData.relatedQuestions = pageData.faqSection?.faqs.filter((x) => x.url !== pageData.faq?.url).splice(0, 3);\r\n return pageData;\r\n};\r\n","import { useEffect, useState } from 'react';\r\nimport { FaqSection } from '../../../../../api/types/faq-content-api';\r\nimport { RouteComponentProps } from 'react-router-dom';\r\nimport { documentToReactComponents, Options } from '@contentful/rich-text-react-renderer';\r\nimport { Block, BLOCKS, Inline, INLINES } from '@contentful/rich-text-types';\r\nimport HelpCenterBreadcrumbs from '../Breadcrumb/HelpCenterBreadcrumbs';\r\nimport { Store } from '../../../../../types/store';\r\nimport { buildQuestionPageData } from './dataHelper';\r\nimport { IFaqQuestionPageData } from './models';\r\nimport { formatContentfulData } from './formatHelper';\r\nimport { redirectToHelpCenter } from '../../../utils';\r\nimport { Container, Link, Stack, Typography } from '@mui/material';\r\nimport { BreadcrumbSeoScript } from '../Breadcrumb/BreadcrumbSeoScript';\r\nimport { useMuiMediaQuery } from '../../../../../utilities/hooks/useMuiMediaQuery';\r\nimport RelatedQuestions from '../Shared/RelatedQuestions';\r\nimport OtherTopics from '../Shared/OtherTopics';\r\nimport NeedMoreHelp from '../Shared/NeedMoreHelp';\r\nimport QuestionPageSecondaryHeader from './QuestionPageSecondaryHeader';\r\n\r\nexport interface IFaqQuestionPageProps {\r\n location: RouteComponentProps['location'];\r\n allSections: FaqSection[] | undefined;\r\n nearestStoreId: Store['Id'] | undefined;\r\n}\r\n\r\ninterface FaqParagraphProps {\r\n children: React.ReactNode;\r\n}\r\n\r\nconst FaqParagraph = ({ children }: FaqParagraphProps) => {\r\n const { isMobile } = useMuiMediaQuery();\r\n return (\r\n <Typography color=\"textSecondary\" variant={isMobile ? 'body1' : 'bodyLarge'} component=\"p\">\r\n {children}\r\n </Typography>\r\n );\r\n};\r\n\r\nconst options: Options = {\r\n renderNode: {\r\n [BLOCKS.PARAGRAPH]: (_: unknown, children: unknown) => <FaqParagraph>{children}</FaqParagraph>,\r\n [INLINES.HYPERLINK]: (node: Block | Inline, children: unknown) =>\r\n node?.data?.uri ? (\r\n <Link color=\"textSecondary\" href={node?.data?.uri}>\r\n {children}\r\n </Link>\r\n ) : (\r\n <></>\r\n ),\r\n },\r\n};\r\n\r\nexport const FaqQuestionPage = ({ location, allSections, nearestStoreId }: IFaqQuestionPageProps) => {\r\n const [pageData, setPageData] = useState<IFaqQuestionPageData>();\r\n const { isMobile } = useMuiMediaQuery();\r\n\r\n const sectionPath = location.pathname.split('/');\r\n\r\n useEffect(() => {\r\n // set all page data based on the url\r\n if (allSections && !pageData) {\r\n const pageData = buildQuestionPageData(allSections, sectionPath);\r\n pageData?.faq ? setPageData(pageData) : redirectToHelpCenter();\r\n }\r\n\r\n nearestStoreId && formatContentfulData(nearestStoreId);\r\n }, [allSections, nearestStoreId, pageData, sectionPath]);\r\n\r\n useEffect(() => {\r\n const title = pageData?.faq?.seoTags?.title;\r\n if (title) {\r\n document.title = title;\r\n }\r\n }, [pageData?.faq?.seoTags?.title]);\r\n\r\n if (!pageData?.faq) {\r\n return <></>;\r\n }\r\n const {\r\n breadcrumb,\r\n relatedQuestions,\r\n otherTopics,\r\n faq: { question, answer },\r\n } = pageData;\r\n\r\n return (\r\n <Container id=\"page--faq-question\" sx={{ pt: 2 }} maxWidth=\"md\" data-testid=\"page-content\">\r\n {breadcrumb && <BreadcrumbSeoScript breadcrumb={breadcrumb} />}\r\n {breadcrumb && <HelpCenterBreadcrumbs breadcrumb={breadcrumb} />}\r\n <Stack spacing={8} sx={{ mt: { xs: 1, md: 3 }, pb: { xs: 4.5, md: 10 } }}>\r\n <Stack spacing={3}>\r\n <Typography component=\"h1\" variant={isMobile ? 'h5' : 'h4'} color=\"textPrimary\">\r\n {question}\r\n </Typography>\r\n {documentToReactComponents(answer, options)}\r\n </Stack>\r\n <RelatedQuestions\r\n spacing={2}\r\n relatedQuestions={relatedQuestions}\r\n title={<QuestionPageSecondaryHeader>Related questions</QuestionPageSecondaryHeader>}\r\n />\r\n <OtherTopics otherTopics={otherTopics} />\r\n <NeedMoreHelp />\r\n </Stack>\r\n </Container>\r\n );\r\n};\r\n","import { Store } from '../../../../../types/store';\r\n\r\nexport const formatContentfulData = (nearestStoreId: Store['Id']) => {\r\n const replaceStoreLink = (anchorLink: Element) => {\r\n anchorLink.setAttribute('href', nearestStoreId ? `/stores/${nearestStoreId}` : '/stores');\r\n anchorLink.setAttribute('rel', 'noreferrer');\r\n };\r\n const answer = document.querySelector('.answer');\r\n if (!answer) return;\r\n\r\n const linkElements = answer.querySelectorAll('a') || null;\r\n linkElements.forEach((link) => {\r\n // Replace any 'your store' links with actual user's set store from cookies\r\n if (nearestStoreId && link.innerHTML == 'your store') {\r\n replaceStoreLink(link);\r\n }\r\n // Ensure all links open in a new tab, Contentful doesn't allow link attributes to be set.\r\n link.setAttribute('target', '_blank');\r\n });\r\n //Add manual linebreaks as they aren't supported by or included with Contentful\r\n const allParagraphs = answer.getElementsByTagName('p');\r\n Array.from(allParagraphs).forEach((element) => {\r\n if (element.innerText == '') {\r\n const breakline = document.createElement('br');\r\n element.insertAdjacentElement('beforebegin', breakline);\r\n }\r\n });\r\n\r\n // Request from UX writing to have long lists in a column layout. Contentful only offers tables so setting a CSS classname for columns.\r\n const ulElements = answer.getElementsByTagName('ul');\r\n if (ulElements) {\r\n Array.from(ulElements).forEach((element) => {\r\n if (element.children.length > 10) {\r\n element.classList.add('format-columns');\r\n }\r\n });\r\n }\r\n};\r\n","import { useState, useEffect } from 'react';\r\nimport { BrowserRouter as Router, Route, Switch, RouteComponentProps, Redirect } from 'react-router-dom';\r\nimport { IEventChannel } from '../../../events/EventChannel';\r\nimport { TOPICS } from '../../../events/constants';\r\nimport { Store } from '../../../types/store';\r\nimport { FaqSectionPage } from './components/SectionPage/SectionPage';\r\nimport { FaqQuestionPage } from './components/QuestionPage/QuestionPage';\r\nimport { FaqSection } from '../../../api/types/faq-content-api';\r\nimport { getFaqSections } from '../../../api/faq-content-service-api';\r\n\r\ninterface IFaqAppProps {\r\n eventChannel: IEventChannel;\r\n}\r\n\r\nconst FaqApp = (props: IFaqAppProps) => {\r\n const attachNearestStoreChangeEventHandlers = () => {\r\n const handleEvent = (store: Store) => {\r\n if (store && store.Id && store.Id !== nearestStoreId) {\r\n setNearestStoreId(store.Id);\r\n }\r\n };\r\n props.eventChannel.subscribe(TOPICS.MY_STORE_MODULE_UPDATES, handleEvent);\r\n };\r\n attachNearestStoreChangeEventHandlers();\r\n\r\n const updateCanonicalLink = () => {\r\n const canonical = document.querySelector('link[rel=\"canonical\"]') as HTMLLinkElement;\r\n if (canonical && !canonical.href.match(window.location.pathname)) {\r\n canonical.href = `https://www.carmax.com${window.location.pathname}`;\r\n }\r\n };\r\n\r\n const [nearestStoreId, setNearestStoreId] = useState<string>();\r\n const [faqData, setFaqData] = useState<FaqSection[]>();\r\n\r\n const getAllSections = () => {\r\n getFaqSections().then(setFaqData);\r\n };\r\n\r\n useEffect(() => {\r\n if (!faqData) {\r\n getAllSections();\r\n }\r\n }, [faqData]);\r\n\r\n const renderFAQSectionPage = (routeProps: RouteComponentProps) => {\r\n updateCanonicalLink();\r\n return <FaqSectionPage {...routeProps} allSections={faqData} />;\r\n };\r\n\r\n const renderFAQQuestionPage = (routeProps: RouteComponentProps) => {\r\n updateCanonicalLink();\r\n return <FaqQuestionPage {...routeProps} allSections={faqData} nearestStoreId={nearestStoreId} />;\r\n };\r\n\r\n return (\r\n <Router basename={'/faq'}>\r\n <Switch>\r\n <Route\r\n path=\"/home-delivery\"\r\n render={() => {\r\n return <Redirect to=\"/buying-a-car\" />;\r\n }}\r\n />\r\n <Route\r\n path=\"/carmax-curbside\"\r\n render={() => {\r\n return <Redirect to=\"/buying-a-car\" />;\r\n }}\r\n />\r\n {/* The following routes with ids need to be rerouted to question pages until those .com links are replaced */}\r\n <Route\r\n path=\"/buying-a-car#30days\"\r\n render={() => {\r\n return <Redirect to=\"/buying-a-car/do-i-really-get-30-days-to-return-the-car\" />;\r\n }}\r\n />\r\n <Route\r\n path=\"/seeing-a-car#24hrtest\"\r\n render={() => {\r\n return <Redirect to=\"/seeing-a-car/how-do-i-get-a-24-hour-test-drive-at-carmax\" />;\r\n }}\r\n />\r\n <Route\r\n path=\"/warranties#ltdwarranty\"\r\n render={() => {\r\n return (\r\n <Redirect to=\"/warranties/do-all-of-carmax-cars-come-with-the-carmax-limited-warranty\" />\r\n );\r\n }}\r\n />\r\n <Route\r\n path=\"/warranties#lycg\"\r\n render={() => {\r\n return <Redirect to=\"/warranties/what-is-carmax-love-your-car-guarantee\" />;\r\n }}\r\n />\r\n <Route path=\"/:section/:section\" render={renderFAQQuestionPage} />\r\n <Route path=\"/:section\" render={renderFAQSectionPage} />\r\n </Switch>\r\n </Router>\r\n );\r\n};\r\n\r\nexport default FaqApp;\r\n","import * as ReactDOM from 'react-dom';\r\nimport EventChannel from '../../events/EventChannel';\r\nimport { CUSTOM_EVENTS, TOPICS } from '../../events/constants';\r\nimport FaqApp from './faq/FaqApp';\r\nimport ErrorBoundary from '../../components/ErrorBoundary';\r\nimport onDomContentLoaded from '../../utilities/onDomContentLoaded';\r\nimport '../../../scss/pages/faq/main.scss';\r\nimport { Store } from '../../types/store';\r\nimport ThemeProvider from '@mui/material/styles/ThemeProvider';\r\nimport theme from '../../theme';\r\nimport { CssBaseline } from '@mui/material';\r\n\r\nfunction startup() {\r\n const faq = document.getElementById('page--faq');\r\n\r\n if (faq) {\r\n const eventChannel = new EventChannel();\r\n const myStoreModuleUpdatesEvent = new CustomEvent(CUSTOM_EVENTS.MY_STORE_MODULE_UPDATES, {\r\n detail: {\r\n done: (store: Store) => eventChannel.publish(TOPICS.MY_STORE_MODULE_UPDATES, store),\r\n },\r\n });\r\n\r\n const faqAppProps = {\r\n eventChannel: eventChannel,\r\n };\r\n\r\n ReactDOM.render(\r\n <ErrorBoundary>\r\n <ThemeProvider theme={theme}>\r\n <CssBaseline />\r\n <FaqApp {...faqAppProps} />\r\n </ThemeProvider>\r\n </ErrorBoundary>,\r\n faq\r\n );\r\n\r\n document.documentElement.dispatchEvent(myStoreModuleUpdatesEvent);\r\n }\r\n}\r\n\r\nonDomContentLoaded(() => {\r\n startup();\r\n});\r\n","import {\r\n KmxCarBowStroked,\r\n KmxSalesTagStroked,\r\n KmxSearchStroked,\r\n KmxDollarBillStroked,\r\n KmxShieldCheckStroked,\r\n KmxLockClosedStroked,\r\n KmxBankStroked,\r\n KmxStoreStroked,\r\n KmxWarningStroked,\r\n} from '@kmx/mui-icons';\r\n\r\ninterface FaqIconProps {\r\n title: string;\r\n}\r\n\r\nconst FaqIcon = ({ title }: FaqIconProps) => {\r\n const lowerCaseTitle = title.toLowerCase();\r\n switch (lowerCaseTitle) {\r\n case 'finding a car':\r\n return <KmxSearchStroked />;\r\n case 'warranties & more':\r\n return <KmxShieldCheckStroked />;\r\n case 'security':\r\n return <KmxLockClosedStroked />;\r\n case 'making payments':\r\n return <KmxDollarBillStroked />;\r\n case 'selling a car':\r\n return <KmxSalesTagStroked />;\r\n case 'financing':\r\n return <KmxBankStroked />;\r\n case 'seeing a car':\r\n return <KmxStoreStroked />;\r\n case 'buying a car':\r\n return <KmxCarBowStroked />;\r\n case 'safety recalls':\r\n return <KmxWarningStroked />;\r\n default:\r\n return <></>;\r\n }\r\n};\r\n\r\nexport default FaqIcon;\r\n","import { ANALYTICS_CONSTANTS, trackEDDL } from '../../../../utilities/analytics';\r\nimport { Button } from '@mui/material';\r\nimport { useMuiMediaQuery } from '../../../../utilities/hooks';\r\nimport FaqIcon from './FaqIcon';\r\nimport { MouseEvent } from 'react';\r\n\r\ninterface FaqSectionLinkProps {\r\n title: string;\r\n url: string;\r\n}\r\n\r\nconst handleOnClick = (e: MouseEvent, name: string, url: string) => {\r\n e.preventDefault();\r\n // Analytics\r\n trackEDDL({\r\n event: ANALYTICS_CONSTANTS.EVENTS.CLICK.CTA,\r\n linkDetails: {\r\n name,\r\n position: 'faq',\r\n },\r\n });\r\n\r\n window.location.href = url;\r\n};\r\n\r\nconst FaqSectionLink = ({ title, url }: FaqSectionLinkProps) => {\r\n const { isMobile } = useMuiMediaQuery();\r\n return (\r\n <Button\r\n variant=\"outlined\"\r\n color=\"secondary\"\r\n size={isMobile ? 'medium' : 'large'}\r\n // Use Href so it shows up as a link for SEO\r\n href={url}\r\n // Use JS for EDDL + nav\r\n onClick={(e) => handleOnClick(e, title, url)}\r\n startIcon={<FaqIcon title={title} />}\r\n >\r\n {title}\r\n </Button>\r\n );\r\n};\r\n\r\nexport default FaqSectionLink;\r\n","import { themeConfig } from '@kmx/mui-resources';\r\nimport { createTheme } from '@mui/material/styles';\r\nimport { deepmerge } from '@mui/utils';\r\n\r\nexport default createTheme(\r\n deepmerge(themeConfig, {\r\n colorSchemes: { dark: false },\r\n })\r\n);\r\n","import { ITrackingPayload, ITrackAnchorClick } from '../types/analytics';\r\n\r\ndeclare global {\r\n interface Window {\r\n _satellite: any;\r\n }\r\n}\r\n\r\ndeclare global {\r\n interface Window {\r\n adobeDataLayer: any;\r\n digitalData: any;\r\n }\r\n}\r\n\r\nexport const ANALYTICS_CONSTANTS = {\r\n EVENTS: {\r\n CLICK: {\r\n CTA: 'ctaClick',\r\n SAVE_RECOMMENDED_CAR: 'recommendedSaveCarClick',\r\n SEARCH_INITIATED: 'searchInitiated',\r\n RECOMMENDED_CARTILE: 'recommendedCarClicked',\r\n },\r\n PAGE: {\r\n LOAD: 'pageLoad',\r\n STATE: 'pageState',\r\n },\r\n },\r\n PAGE_STATE_LOAD_TIME: 2000,\r\n TRACKING_DELAY: 250,\r\n};\r\n\r\nexport const trackEDDL = (payload: ITrackingPayload): void => {\r\n if (payload.event == null) {\r\n payload.event = ANALYTICS_CONSTANTS.EVENTS.CLICK.CTA;\r\n }\r\n // \"adobeDataLayer\" will appear in the console if the site in questions is using \"EDDL\"\r\n // Note: adobeDataLayer is created by Adobe, not us. Thus, we don't create it if it doesn't exist.\r\n if (window.adobeDataLayer) {\r\n window.adobeDataLayer.push(payload);\r\n } else {\r\n console.log('Home Microsite : adobeDataLayer is undefined. Data did not track.');\r\n }\r\n};\r\n\r\nexport const trackAnchorClick = ({ clickEvent, taggingEvent, title, position, href, page }: ITrackAnchorClick) => {\r\n clickEvent.preventDefault();\r\n const payload: ITrackingPayload = {\r\n event: taggingEvent,\r\n linkDetails: {\r\n name: title,\r\n position: position,\r\n },\r\n search: {\r\n initiationMethod: `${page}|${title}|${location}`,\r\n },\r\n };\r\n trackEDDL(payload);\r\n setTimeout(() => {\r\n window.location.href = href;\r\n }, ANALYTICS_CONSTANTS.TRACKING_DELAY);\r\n};\r\n","import { useTheme } from '@mui/material/styles';\r\nimport useMediaQuery from '@mui/material/useMediaQuery';\r\n\r\nexport const useMuiMediaQuery = () => {\r\n const theme = useTheme();\r\n const isMobile = useMediaQuery(theme.breakpoints.down('sm'));\r\n const isTablet = useMediaQuery(theme.breakpoints.between('sm', 'md'));\r\n const isDesktop = useMediaQuery(theme.breakpoints.up('md'));\r\n\r\n return { isMobile, isTablet, isDesktop };\r\n};\r\n","export default function(startup: () => any) {\r\n if (document.readyState === 'loading') {\r\n document.addEventListener('DOMContentLoaded', startup);\r\n } else {\r\n startup();\r\n document.removeEventListener('DOMContentLoaded', startup);\r\n }\r\n}\r\n","export const openChat: any = () => {\r\n const chatButtonNotInteracted = document.getElementById('embeddedChatFab');\r\n const chatButtonInteracted = document.getElementById('startChatFab');\r\n if (chatButtonNotInteracted) {\r\n chatButtonNotInteracted.click();\r\n } else if (chatButtonInteracted) {\r\n chatButtonInteracted.click();\r\n }\r\n};\r\n"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","condition","format","a","b","c","d","f","error","undefined","args","argIndex","replace","name","framesToPop","Array","isArray","arr","prototype","toString","call","isarray","require","pathToRegexp","path","options","RegExp","groups","source","match","i","length","push","prefix","delimiter","optional","repeat","partial","asterisk","pattern","attachKeys","regexpToRegexp","parts","join","flags","arrayToRegexp","tokensToRegExp","parse","stringToRegexp","compile","str","tokensToFunction","PATH_REGEXP","res","tokens","key","index","defaultDelimiter","exec","m","escaped","offset","slice","next","capture","group","modifier","prevText","escapeGroup","restrictBacktrack","substr","indexOf","escapeString","encodeURIComponentPretty","encodeURI","charCodeAt","toUpperCase","matches","obj","opts","data","encode","pretty","encodeURIComponent","token","segment","value","TypeError","JSON","stringify","j","test","re","sensitive","strict","end","route","endsWithDelimiter","emptySections","async","getFaqSections","url","fetch","json","Promise","ErrorBoundary","constructor","props","super","this","state","hasError","getDerivedStateFromError","render","count","children","EventChannel","_topics","hasTopic","topic","hasOwnProperty","topics","subscribe","listener","remove","publish","forEach","TOPICS","MY_STORE_MODULE_UPDATES","CUSTOM_EVENTS","isAbsolute","pathname","charAt","spliceOne","list","k","n","pop","to","from","hasTrailingSlash","toParts","split","fromParts","isToAbs","isFromAbs","mustEndAbs","concat","last","up","part","unshift","result","createLocation","currentLocation","location","search","hash","hashIndex","searchIndex","parsePath","_extends","decodeURI","URIError","resolvePathname","canUseDOM","window","document","createElement","getConfirmation","message","callback","confirm","PopStateEvent","HashChangeEvent","getHistoryState","history","createBrowserHistory","invariant","ua","globalHistory","canUseHistory","navigator","userAgent","needsHashChangeListener","_props","_props$forceRefresh","forceRefresh","_props$getUserConfirm","getUserConfirmation","_props$keyLength","keyLength","basename","stripTrailingSlash","getDOMLocation","historyState","_ref","_window$location","toLowerCase","hasBasename","stripBasename","createKey","Math","random","prompt","listeners","transitionManager","setPrompt","nextPrompt","confirmTransitionTo","action","appendListener","fn","isActive","apply","arguments","filter","item","notifyListeners","_len","_key","setState","nextState","handlePopState","event","isExtraneousPopstateEvent","handlePop","handleHashChange","forceNextPop","ok","fromLocation","toLocation","toIndex","allKeys","fromIndex","delta","go","revertPop","initialLocation","createHref","createPath","listenerCount","checkDOMListeners","addEventListener","removeEventListener","isBlocked","href","pushState","prevIndex","nextKeys","replaceState","goBack","goForward","block","unblock","listen","unlisten","assign","target","_possibleConstructorReturn","self","ReferenceError","Router","_React$Component","_temp","_this","instance","Constructor","_classCallCheck","computeMatch","subClass","superClass","create","enumerable","writable","configurable","setPrototypeOf","__proto__","_inherits","getChildContext","router","context","params","isExact","componentWillMount","_this2","React","componentWillReceiveProps","nextProps","warning","componentWillUnmount","only","propTypes","PropTypes","isRequired","contextTypes","childContextTypes","BrowserRouter","createHistory","patternCache","cacheCount","parent","_options","_options$exact","exact","_options$strict","_options$sensitive","_compilePath","cacheKey","cache","compiledPattern","compilePath","values","reduce","memo","Switch","child","element","_element$props","pathProp","matchPath","computedMatch","isEmptyChildren","Route","component","nextContext","_context$router","staticContext","valueOf","valueEqual","every","aValue","bValue","generator","compiledGenerator","compileGenerator","Redirect","isStatic","perform","componentDidMount","componentDidUpdate","prevProps","prevTo","nextTo","computeTo","generatePath","defaultProps","createSvgIcon","_jsx","BreadcrumbCollapsedButton","styled","ButtonBase","memoTheme","theme","display","marginLeft","spacing","marginRight","palette","mode","backgroundColor","grey","color","borderRadius","boxShadow","shadows","emphasize","BreadcrumbCollapsedIcon","MoreHorizIcon","width","height","slots","slotProps","otherProps","ownerState","focusRipple","as","CollapsedIcon","collapsedIcon","getBreadcrumbsUtilityClass","slot","generateUtilityClass","generateUtilityClasses","BreadcrumbsRoot","Typography","overridesResolver","styles","breadcrumbsClasses","li","root","BreadcrumbsOl","ol","flexWrap","alignItems","padding","margin","listStyle","BreadcrumbsSeparator","separator","userSelect","insertSeparators","items","className","acc","current","inProps","ref","useDefaultProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","other","expanded","setExpanded","classes","composeClasses","useUtilityClasses","collapsedIconSlotProps","parameters","elementType","externalSlotProps","skipResolvingSlotProps","resolvedComponentsProps","resolveComponentProps","mergedProps","internalRef","mergeSlotProps","useForkRef","additionalProps","appendOwnerState","useSlotProps","listRef","allItems","toArray","clsx","BreadcrumbCollapsed","onClick","handleClickExpand","focusable","querySelector","focus","renderItemsBeforeAndAfter","BreadcrumbElement","isLast","text","Link","breadcrumb","sx","pb","xs","md","crumb","BreadcrumbSeoScript","itemListElement","position","origin","type","dangerouslySetInnerHTML","__html","buildFaqBreadcrumb","faqSection","faq","faqBreadcrumb","sectionTitle","question","redirectToHelpCenter","isMobile","useMuiMediaQuery","variant","otherTopics","Stack","container","gap","FaqSectionLink","title","l","t","fill","size","sm","Button","startIcon","KmxChatStroked","openChat","fullWidth","r","getDividerUtilityClass","DividerRoot","absolute","light","orientation","vertical","flexItem","withChildren","withChildrenVertical","textAlign","textAlignRight","textAlignLeft","flexShrink","borderWidth","borderStyle","borderColor","vars","divider","borderBottomWidth","variants","style","bottom","left","dividerChannel","alpha","marginTop","marginBottom","borderRightWidth","alignSelf","_ref2","border","borderTopStyle","borderLeftStyle","content","_ref3","borderTop","_ref4","flexDirection","borderLeft","_ref5","_ref6","DividerWrapper","wrapper","wrapperVertical","_ref7","paddingLeft","paddingRight","whiteSpace","paddingTop","paddingBottom","Divider","role","muiSkipListHighlight","relatedQuestions","justifyContent","py","px","endIcon","ml","FaqSectionPage","allSections","setFaqSection","useState","setOtherTopics","setBreadcrumb","useEffect","getSectionByPath","find","section","x","seoTags","Container","maxWidth","mt","mb","faqs","FaqParagraph","renderNode","BLOCKS","PARAGRAPH","_","INLINES","HYPERLINK","node","uri","FaqQuestionPage","nearestStoreId","pageData","setPageData","sectionPath","tags","answer","nodeType","DOCUMENT","marks","splice","buildQuestionPageData","querySelectorAll","link","anchorLink","innerHTML","setAttribute","allParagraphs","getElementsByTagName","innerText","breakline","insertAdjacentElement","ulElements","classList","add","formatContentfulData","pt","eventChannel","store","Id","setNearestStoreId","updateCanonicalLink","canonical","faqData","setFaqData","then","routeProps","onDomContentLoaded","getElementById","myStoreModuleUpdatesEvent","CustomEvent","detail","done","faqAppProps","ThemeProvider","CssBaseline","documentElement","dispatchEvent","startup","KmxSearchStroked","KmxShieldCheckStroked","KmxLockClosedStroked","KmxDollarBillStroked","KmxSalesTagStroked","KmxBankStroked","KmxStoreStroked","KmxCarBowStroked","KmxWarningStroked","preventDefault","EVENTS","CLICK","CTA","linkDetails","handleOnClick","colorSchemes","dark","ANALYTICS_CONSTANTS","SAVE_RECOMMENDED_CAR","SEARCH_INITIATED","RECOMMENDED_CARTILE","PAGE","LOAD","STATE","PAGE_STATE_LOAD_TIME","TRACKING_DELAY","trackEDDL","payload","adobeDataLayer","console","log","trackAnchorClick","clickEvent","taggingEvent","page","initiationMethod","setTimeout","breakpoints","down","isTablet","between","isDesktop","readyState","chatButtonNotInteracted","chatButtonInteracted","click"],"sourceRoot":""}