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CAEA,SAASuP,EAAapQ,EAAOuQ,GAC5B,OAAKA,EAIDvQ,EACIA,EAAQ,IAAMuQ,EAGfvQ,EAAQuQ,EAPPvQ,CAQT,CAEqCuN,EAAOC,SAC3C0C,EAAWM,QAAUN,EACrB3C,EAAOC,QAAU0C,QAKhB,KAFwB,EAAF,WACtB,OAAOA,CACP,UAFoB,OAEpB,YAIH,CArEA","sources":["webpack://datacenters/./node_modules/@ubilabs/react-geosuggest/module/Geosuggest.esm.js","webpack://datacenters/./node_modules/lodash.debounce/index.js","webpack://datacenters/./node_modules/rescript-debounce/src/Debounce.res.js","webpack://datacenters/./node_modules/@ubilabs/react-geosuggest/node_modules/classnames/index.js"],"sourcesContent":["import * as React from 'react';\nimport classnames from 'classnames';\nimport debounce from 'lodash.debounce';\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\ntypeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\n\n/* istanbul ignore next */\n/* eslint-disable @typescript-eslint/explicit-function-return-type, @typescript-eslint/no-empty-function */\n/**\n * Default values\n */\nvar defaults = {\n autoActivateFirstSuggest: false,\n disabled: false,\n fixtures: [],\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n getSuggestLabel: function (suggest) { return suggest.description; },\n highlightMatch: true,\n ignoreEnter: false,\n ignoreTab: false,\n initialValue: '',\n maxFixtures: 10,\n minLength: 1,\n onKeyDown: function () { },\n onKeyPress: function () { },\n placeholder: 'Search places',\n queryDelay: 250,\n skipSuggest: function () { return false; },\n style: {},\n inputType: 'text'\n};\n\n/**\n * Attributes allowed on input elements\n */\nvar allowedAttributes = [\n 'autoCapitalize',\n 'autoComplete',\n 'autoCorrect',\n 'autoFocus',\n 'disabled',\n 'form',\n 'formAction',\n 'formEncType',\n 'formMethod',\n 'formNoValidate',\n 'formTarget',\n 'height',\n 'inputMode',\n 'maxLength',\n 'name',\n 'onClick',\n 'onContextMenu',\n 'onCopy',\n 'onCut',\n 'onDoubleClick',\n 'onMouseDown',\n 'onMouseEnter',\n 'onMouseLeave',\n 'onMouseMove',\n 'onMouseOut',\n 'onMouseOver',\n 'onMouseUp',\n 'onPaste',\n 'pattern',\n 'placeholder',\n 'readOnly',\n 'required',\n 'size',\n 'spellCheck',\n 'tabIndex',\n 'title',\n 'aria-atomic',\n 'aria-busy',\n 'aria-controls',\n 'aria-current',\n 'aria-describedby',\n 'aria-details',\n 'aria-disabled',\n 'aria-dropeffect',\n 'aria-errormessage',\n 'aria-flowto',\n 'aria-grabbed',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-live',\n 'aria-owns',\n 'aria-relevant',\n 'aria-roledescription',\n 'aria-activedescendant',\n 'aria-autocomplete',\n 'aria-multiline',\n 'aria-placeholder',\n 'aria-readonly',\n 'aria-required'\n];\n/**\n * Filter the properties for only allowed input properties\n */\nfunction filterInputAttributes (props) {\n var attributes = {};\n Object.keys(props).forEach(function (attribute) {\n var isDataAttribute = attribute.startsWith('data-');\n var isAllowedAttribute = allowedAttributes.includes(attribute);\n if (isAllowedAttribute || isDataAttribute) {\n attributes[attribute] = props[attribute];\n }\n });\n return attributes;\n}\n\n/**\n * The input field\n */\nvar Input = /** @class */ (function (_super) {\n __extends(Input, _super);\n /**\n * The constructor.\n */\n function Input(props) {\n var _this = _super.call(this, props) || this;\n /* eslint-enable @typescript-eslint/no-empty-function */\n /**\n * The reference to the input element\n */\n _this.input = null;\n _this.onChange = _this.onChange.bind(_this);\n _this.onInputKeyDown = _this.onInputKeyDown.bind(_this);\n return _this;\n }\n /**\n * When the input got changed\n */\n Input.prototype.onChange = function () {\n if (this.input) {\n this.props.onChange(this.input.value);\n }\n };\n /**\n * When a key gets pressed in the input\n */\n // eslint-disable-next-line complexity\n Input.prototype.onInputKeyDown = function (event) {\n // Call props.onKeyDown if defined\n // Gives the developer a little bit more control if needed\n if (this.props.onKeyDown) {\n this.props.onKeyDown(event);\n }\n switch (event.which) {\n case 40: // DOWN\n if (!event.shiftKey) {\n event.preventDefault();\n this.props.onNext();\n }\n break;\n case 38: // UP\n if (!event.shiftKey) {\n event.preventDefault();\n this.props.onPrev();\n }\n break;\n case 13: // ENTER\n if (this.props.doNotSubmitOnEnter) {\n event.preventDefault();\n }\n if (!this.props.ignoreEnter) {\n this.props.onSelect();\n }\n break;\n case 9: // TAB\n if (!this.props.ignoreTab) {\n this.props.onSelect();\n }\n break;\n case 27: // ESC\n this.props.onEscape();\n break;\n }\n };\n /**\n * Focus the input\n */\n Input.prototype.focus = function () {\n if (this.input) {\n this.input.focus();\n }\n };\n /**\n * Blur the input\n */\n Input.prototype.blur = function () {\n if (this.input) {\n this.input.blur();\n }\n };\n /**\n * Render the view\n */\n Input.prototype.render = function () {\n var _this = this;\n var attributes = filterInputAttributes(this.props);\n var classes = classnames('geosuggest__input', this.props.className);\n var shouldRenderLabel = this.props.label && this.props.id;\n if (!attributes.tabIndex) {\n attributes.tabIndex = 0;\n }\n return (React.createElement(React.Fragment, null,\n shouldRenderLabel && (React.createElement(\"label\", { className: \"geosuggest__label\", htmlFor: \"geosuggest__input\".concat(this.props.id ? \"--\".concat(this.props.id) : '') }, this.props.label)),\n React.createElement(\"input\", __assign({ className: classes, id: \"geosuggest__input\".concat(this.props.id ? \"--\".concat(this.props.id) : ''), ref: function (i) { return (_this.input = i); }, type: this.props.inputType }, attributes, { value: this.props.value, style: this.props.style, onKeyDown: this.onInputKeyDown, onChange: this.onChange, onKeyPress: this.props.onKeyPress, onFocus: this.props.onFocus, onBlur: this.props.onBlur, role: \"combobox\", \"aria-expanded\": !this.props.isSuggestsHidden, \"aria-activedescendant\": this.props.activeSuggest\n ? this.props.activeSuggest.placeId\n : // eslint-disable-next-line no-undefined\n undefined, \"aria-owns\": this.props.listId }))));\n };\n /* eslint-disable @typescript-eslint/no-empty-function */\n /**\n * Default values for the properties\n */\n Input.defaultProps = {\n activeSuggest: null,\n autoComplete: 'off',\n className: '',\n isSuggestsHidden: true,\n listId: '',\n inputType: 'text',\n onBlur: function () { },\n onChange: function () { },\n onEscape: function () { },\n onFocus: function () { },\n onKeyDown: function () { },\n onKeyPress: function () { },\n onNext: function () { },\n onPrev: function () { },\n onSelect: function () { },\n value: ''\n };\n return Input;\n}(React.PureComponent));\n\n/**\n * A single Geosuggest item in the list\n */\nvar SuggestItem = /** @class */ (function (_super) {\n __extends(SuggestItem, _super);\n /**\n * The constructor.\n */\n function SuggestItem(props) {\n var _this = _super.call(this, props) || this;\n /**\n * The reference to the suggest element\n */\n _this.ref = null;\n _this.onClick = _this.onClick.bind(_this);\n return _this;\n }\n /**\n * Makes a text bold\n */\n SuggestItem.prototype.makeBold = function (element) {\n return React.createElement(\"b\", { className: \"geosuggest__item__matched-text\" }, element);\n };\n /**\n * Replace matched text with the same in bold\n */\n SuggestItem.prototype.formatMatchedText = function (userInput, suggest) {\n if (!userInput || !suggest.matchedSubstrings) {\n return suggest.label;\n }\n var parts = [];\n var previousEnd = 0;\n for (var _i = 0, _a = suggest.matchedSubstrings; _i < _a.length; _i++) {\n var _b = _a[_i], start = _b.offset, length_1 = _b.length;\n // Add non-matching substring before and between matches\n if (start > previousEnd) {\n parts.push(suggest.label.substring(previousEnd, start));\n }\n // Add matching substring as bold text\n var end = start + length_1;\n var match = this.makeBold(suggest.label.substring(start, end));\n parts.push(match);\n previousEnd = end;\n }\n // Add non-matching substring after matches\n if (previousEnd < suggest.label.length) {\n parts.push(suggest.label.substring(previousEnd));\n }\n return React.createElement(\"span\", null, parts);\n };\n /**\n * Checking if item just became active and scrolling if needed.\n */\n SuggestItem.prototype.componentDidUpdate = function (prevProps) {\n if (!prevProps.isActive && this.props.isActive) {\n this.scrollIfNeeded();\n }\n };\n /**\n * Scrolling current item to the center of the list if item needs scrolling.\n * Item is scrolled to the center of the list.\n */\n SuggestItem.prototype.scrollIfNeeded = function () {\n var element = this.ref;\n var parent = element && element.parentElement;\n if (!element || !parent) {\n return;\n }\n var overTop = element.offsetTop - parent.offsetTop < parent.scrollTop;\n var overBottom = element.offsetTop - parent.offsetTop + element.clientHeight >\n parent.scrollTop + parent.clientHeight;\n if (overTop || overBottom) {\n parent.scrollTop =\n element.offsetTop -\n parent.offsetTop -\n parent.clientHeight / 2 +\n element.clientHeight / 2;\n }\n };\n /**\n * When the suggest item got clicked\n */\n SuggestItem.prototype.onClick = function (event) {\n event.preventDefault();\n this.props.onSelect(this.props.suggest);\n };\n /**\n * Render the view\n */\n SuggestItem.prototype.render = function () {\n var _a;\n var _this = this;\n var suggest = this.props.suggest;\n var classes = classnames('geosuggest__item', this.props.className, this.props.suggestItemClassName, { 'geosuggest__item--active': this.props.isActive }, (_a = {},\n _a[this.props.activeClassName || ''] = this.props.activeClassName\n ? this.props.isActive\n : null,\n _a));\n var content = suggest.label;\n if (this.props.renderSuggestItem) {\n content = this.props.renderSuggestItem(suggest, this.props.userInput);\n }\n else if (this.props.isHighlightMatch) {\n content = this.formatMatchedText(this.props.userInput, suggest);\n }\n return (React.createElement(\"li\", { className: classes, ref: function (li) { return (_this.ref = li); }, style: this.props.style, onMouseDown: this.props.onMouseDown, onMouseOut: this.props.onMouseOut, onClick: this.onClick, role: \"option\", \"aria-selected\": this.props.isActive, id: suggest.placeId }, content));\n };\n return SuggestItem;\n}(React.PureComponent));\n\n/**\n * The list with suggestions.\n */\nvar SuggestList = /** @class */ (function (_super) {\n __extends(SuggestList, _super);\n function SuggestList() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Whether or not it is hidden\n */\n SuggestList.prototype.isHidden = function () {\n return this.props.isHidden || this.props.suggests.length === 0;\n };\n /**\n * There are new properties available for the list\n */\n SuggestList.prototype.componentDidUpdate = function (prevProps) {\n if (prevProps.suggests !== this.props.suggests) {\n if (this.props.suggests.length === 0) {\n this.props.onSuggestNoResults();\n }\n }\n };\n /**\n * Render the view\n * @return {Function} The React element to render\n */\n SuggestList.prototype.render = function () {\n var _a;\n var _this = this;\n var classes = classnames('geosuggest__suggests', this.props.suggestsClassName, { 'geosuggest__suggests--hidden': this.isHidden() }, (_a = {},\n _a[this.props.hiddenClassName || ''] = this.props.hiddenClassName\n ? this.isHidden()\n : null,\n _a));\n return (React.createElement(\"ul\", { className: classes, style: this.props.style, role: \"listbox\", \"aria-label\": this.props.listLabel, id: this.props.listId }, this.props.suggests.map(function (suggest) {\n var isActive = (_this.props.activeSuggest &&\n suggest.placeId === _this.props.activeSuggest.placeId) ||\n false;\n return (React.createElement(SuggestItem, { key: suggest.placeId, className: suggest.className || '', userInput: _this.props.userInput, isHighlightMatch: _this.props.isHighlightMatch, suggest: suggest, style: _this.props.suggestItemStyle, suggestItemClassName: _this.props.suggestItemClassName, isActive: isActive, activeClassName: _this.props.suggestItemActiveClassName, onMouseDown: _this.props.onSuggestMouseDown, onMouseOut: _this.props.onSuggestMouseOut, onSelect: _this.props.onSuggestSelect, renderSuggestItem: _this.props.renderSuggestItem }));\n })));\n };\n return SuggestList;\n}(React.PureComponent));\n\n/* global window */\n// Escapes special characters in user input for regex\nfunction escapeRegExp(str) {\n return str.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\n}\n/**\n * Entry point for the Geosuggest component\n */\nvar GeoSuggest = /** @class */ (function (_super) {\n __extends(GeoSuggest, _super);\n /**\n * The constructor. Sets the initial state.\n */\n // eslint-disable-next-line max-statements\n function GeoSuggest(props) {\n var _this = _super.call(this, props) || this;\n /**\n * The Google Map instance\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n _this.googleMaps = null;\n /**\n * The autocomple service to get suggests\n */\n _this.autocompleteService = null;\n /**\n * The places service to get place details\n */\n _this.placesService = null;\n /**\n * The sessionToken service to use session based monetization\n */\n _this.sessionToken = undefined;\n /**\n * The geocoder to get geocoded results\n */\n _this.geocoder = null;\n /**\n * The input component\n */\n _this.input = null;\n _this.state = {\n activeSuggest: null,\n ignoreBlur: false,\n isLoading: false,\n isSuggestsHidden: true,\n suggests: [],\n userInput: props.initialValue || ''\n };\n _this.onInputChange = _this.onInputChange.bind(_this);\n _this.onAfterInputChange = _this.onAfterInputChange.bind(_this);\n _this.onInputFocus = _this.onInputFocus.bind(_this);\n _this.onInputBlur = _this.onInputBlur.bind(_this);\n _this.onNext = _this.onNext.bind(_this);\n _this.onPrev = _this.onPrev.bind(_this);\n _this.onSelect = _this.onSelect.bind(_this);\n _this.onSuggestMouseDown = _this.onSuggestMouseDown.bind(_this);\n _this.onSuggestMouseOut = _this.onSuggestMouseOut.bind(_this);\n _this.onSuggestNoResults = _this.onSuggestNoResults.bind(_this);\n _this.hideSuggests = _this.hideSuggests.bind(_this);\n _this.selectSuggest = _this.selectSuggest.bind(_this);\n _this.listId = \"geosuggest__list\".concat(props.id ? \"--\".concat(props.id) : '');\n _this.listLabel = props.label ? \"\".concat(props.label, \" options\") : 'options';\n if (props.queryDelay) {\n _this.onAfterInputChange = debounce(_this.onAfterInputChange, props.queryDelay);\n }\n return _this;\n }\n /**\n * Change inputValue if prop changes\n */\n GeoSuggest.prototype.componentDidUpdate = function (prevProps) {\n if (prevProps.initialValue !== this.props.initialValue) {\n this.setState({ userInput: this.props.initialValue || '' });\n }\n if (JSON.stringify(prevProps.fixtures) !== JSON.stringify(this.props.fixtures)) {\n this.searchSuggests();\n }\n };\n /**\n * Called on the client side after component is mounted.\n * Google api sdk object will be obtained and cached as a instance property.\n * Necessary objects of google api will also be determined and saved.\n */\n GeoSuggest.prototype.componentDidMount = function () {\n if (typeof window === 'undefined') {\n return;\n }\n var googleMaps = this.props.googleMaps ||\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (window.google && window.google.maps) ||\n this.googleMaps;\n /* istanbul ignore next */\n if (!googleMaps) {\n if (console) {\n // eslint-disable-next-line no-console\n console.error('Google maps API was not found in the page.');\n }\n return;\n }\n this.googleMaps = googleMaps;\n this.autocompleteService = new googleMaps.places.AutocompleteService();\n this.placesService = new googleMaps.places.PlacesService(document.createElement('div'));\n this.sessionToken = new googleMaps.places.AutocompleteSessionToken();\n this.geocoder = new googleMaps.Geocoder();\n };\n /**\n * When the component will unmount\n */\n GeoSuggest.prototype.componentWillUnmount = function () {\n clearTimeout(this.timer);\n };\n /**\n * When the input changed\n */\n GeoSuggest.prototype.onInputChange = function (userInput) {\n if (!userInput) {\n if (this.props.onSuggestSelect) {\n this.props.onSuggestSelect();\n }\n }\n this.setState({ userInput: userInput }, this.onAfterInputChange);\n };\n /**\n * On After the input got changed\n */\n GeoSuggest.prototype.onAfterInputChange = function () {\n this.showSuggests();\n if (this.props.onChange) {\n this.props.onChange(this.state.userInput);\n }\n };\n /**\n * When the input gets focused\n */\n GeoSuggest.prototype.onInputFocus = function () {\n if (this.props.onFocus) {\n this.props.onFocus();\n }\n this.showSuggests();\n };\n /**\n * When the input gets blurred\n */\n GeoSuggest.prototype.onInputBlur = function () {\n if (!this.state.ignoreBlur) {\n this.hideSuggests();\n }\n if (this.props.onBlur) {\n this.props.onBlur(this.state.userInput);\n }\n };\n GeoSuggest.prototype.onNext = function () {\n this.activateSuggest('next');\n };\n GeoSuggest.prototype.onPrev = function () {\n this.activateSuggest('prev');\n };\n GeoSuggest.prototype.onSelect = function () {\n this.selectSuggest(this.state.activeSuggest);\n };\n GeoSuggest.prototype.onSuggestMouseDown = function () {\n this.setState({ ignoreBlur: true });\n };\n GeoSuggest.prototype.onSuggestMouseOut = function () {\n this.setState({ ignoreBlur: false });\n };\n GeoSuggest.prototype.onSuggestNoResults = function () {\n if (this.props.onSuggestNoResults) {\n this.props.onSuggestNoResults(this.state.userInput);\n }\n };\n /**\n * Focus the input\n */\n GeoSuggest.prototype.focus = function () {\n if (this.input) {\n this.input.focus();\n }\n };\n /**\n * Blur the input\n */\n GeoSuggest.prototype.blur = function () {\n if (this.input) {\n this.input.blur();\n }\n };\n /**\n * Update the value of the user input\n */\n GeoSuggest.prototype.update = function (userInput) {\n this.setState({ userInput: userInput });\n if (this.props.onChange) {\n this.props.onChange(userInput);\n }\n };\n /*\n * Clear the input and close the suggestion pane\n */\n GeoSuggest.prototype.clear = function () {\n this.setState({ userInput: '' }, this.hideSuggests);\n };\n /**\n * Search for new suggests\n */\n // eslint-disable-next-line complexity, max-statements\n GeoSuggest.prototype.searchSuggests = function () {\n var _this = this;\n if (!this.state.userInput) {\n this.updateSuggests();\n return;\n }\n var options = {\n input: this.state.userInput,\n sessionToken: this.sessionToken\n };\n var inputLength = this.state.userInput.length;\n var isShorterThanMinLength = this.props.minLength && inputLength < this.props.minLength;\n if (isShorterThanMinLength) {\n this.updateSuggests();\n return;\n }\n var _a = this.props, location = _a.location, radius = _a.radius, bounds = _a.bounds, types = _a.types, country = _a.country;\n /* eslint-disable curly */\n if (location)\n options.location = location;\n if (radius)\n options.radius = Number(this.props.radius);\n if (bounds)\n options.bounds = bounds;\n if (types)\n options.types = types;\n if (country)\n options.componentRestrictions = { country: country };\n /* eslint-enable curly */\n this.setState({ isLoading: true }, function () {\n if (!_this.autocompleteService) {\n _this.setState({ isLoading: false });\n return;\n }\n _this.autocompleteService.getPlacePredictions(options, function (suggestsGoogle) {\n _this.setState({ isLoading: false });\n _this.updateSuggests(suggestsGoogle || [], // can be null\n function () {\n if (_this.props.autoActivateFirstSuggest &&\n !_this.state.activeSuggest) {\n _this.activateSuggest('next');\n }\n });\n });\n });\n };\n /**\n * Update the suggests\n */\n GeoSuggest.prototype.updateSuggests = function (suggestsGoogle, \n // eslint-disable-next-line @typescript-eslint/explicit-function-return-type, @typescript-eslint/no-empty-function\n callback) {\n var _this = this;\n if (suggestsGoogle === void 0) { suggestsGoogle = []; }\n if (callback === void 0) { callback = function () { }; }\n var suggests = [];\n var userInput = this.state.userInput;\n var _a = this.props, skipSuggest = _a.skipSuggest, maxFixtures = _a.maxFixtures, fixtures = _a.fixtures;\n var regex = new RegExp(escapeRegExp(userInput), 'gim');\n var fixturesSearched = 0;\n var activeSuggest = null;\n if (fixtures) {\n fixtures.forEach(function (fixture) {\n if (maxFixtures && fixturesSearched >= maxFixtures) {\n return;\n }\n if (skipSuggest &&\n !skipSuggest(fixture) &&\n fixture.label.match(regex)) {\n fixturesSearched++;\n suggests.push(__assign(__assign({}, fixture), { isFixture: true, matchedSubstrings: [\n {\n length: userInput.length,\n offset: fixture.label.search(regex)\n }\n ], placeId: fixture.placeId || fixture.label }));\n }\n });\n }\n suggestsGoogle.forEach(function (suggest) {\n if (skipSuggest && !skipSuggest(suggest)) {\n suggests.push({\n description: suggest.description,\n isFixture: false,\n label: _this.props.getSuggestLabel\n ? _this.props.getSuggestLabel(suggest)\n : '',\n matchedSubstrings: suggest.matched_substrings,\n placeId: suggest.place_id\n });\n }\n });\n activeSuggest = this.updateActiveSuggest(suggests);\n if (this.props.onUpdateSuggests) {\n this.props.onUpdateSuggests(suggests, activeSuggest);\n }\n this.setState({ suggests: suggests, activeSuggest: activeSuggest }, callback);\n };\n /**\n * Return the new activeSuggest object after suggests have been updated\n */\n GeoSuggest.prototype.updateActiveSuggest = function (suggests) {\n if (suggests === void 0) { suggests = []; }\n var activeSuggest = this.state.activeSuggest;\n if (activeSuggest) {\n var newSuggest = suggests.filter(function (listedSuggest) {\n return activeSuggest &&\n activeSuggest.placeId === listedSuggest.placeId &&\n activeSuggest.isFixture === listedSuggest.isFixture;\n })[0];\n activeSuggest = newSuggest || null;\n }\n return activeSuggest;\n };\n /**\n * Show the suggestions\n */\n GeoSuggest.prototype.showSuggests = function () {\n this.searchSuggests();\n this.setState({ isSuggestsHidden: false });\n };\n /**\n * Hide the suggestions\n */\n GeoSuggest.prototype.hideSuggests = function () {\n var _this = this;\n this.timer = window.setTimeout(function () {\n _this.setState({\n activeSuggest: null,\n isSuggestsHidden: true\n });\n }, 100);\n };\n /**\n * Activate a new suggest\n */\n // eslint-disable-next-line complexity, max-statements\n GeoSuggest.prototype.activateSuggest = function (direction) {\n if (this.state.isSuggestsHidden) {\n this.showSuggests();\n return;\n }\n var suggestsCount = this.state.suggests.length - 1;\n var next = direction === 'next';\n var newActiveSuggest = null;\n var newIndex = 0;\n var i = 0;\n for (i; i <= suggestsCount; i++) {\n if (this.state.suggests[i] === this.state.activeSuggest) {\n newIndex = next ? i + 1 : i - 1;\n }\n }\n if (!this.state.activeSuggest) {\n newIndex = next ? 0 : suggestsCount;\n }\n if (newIndex >= 0 && newIndex <= suggestsCount) {\n newActiveSuggest = this.state.suggests[newIndex];\n }\n if (this.props.onActivateSuggest) {\n this.props.onActivateSuggest(newActiveSuggest);\n }\n this.setState({ activeSuggest: newActiveSuggest });\n };\n /**\n * When an item got selected\n */\n // eslint-disable-next-line complexity\n GeoSuggest.prototype.selectSuggest = function (suggestToSelect) {\n var suggest = suggestToSelect || {\n isFixture: true,\n label: this.state.userInput,\n placeId: this.state.userInput\n };\n if (!suggestToSelect &&\n this.props.autoActivateFirstSuggest &&\n this.state.suggests.length > 0) {\n suggest = this.state.suggests[0];\n }\n this.setState({\n isSuggestsHidden: true,\n userInput: typeof suggest.label !== 'object'\n ? suggest.label\n : suggest.description || ''\n });\n if (suggest.location) {\n this.setState({ ignoreBlur: false });\n if (this.props.onSuggestSelect) {\n this.props.onSuggestSelect(suggest);\n }\n return;\n }\n this.geocodeSuggest(suggest);\n };\n /**\n * Geocode a suggest\n */\n GeoSuggest.prototype.geocodeSuggest = function (suggestToGeocode) {\n var _this = this;\n if (!this.geocoder) {\n return;\n }\n if (suggestToGeocode.placeId &&\n !suggestToGeocode.isFixture &&\n this.placesService) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n var options = {\n placeId: suggestToGeocode.placeId,\n sessionToken: this.sessionToken\n };\n if (this.props.placeDetailFields) {\n options.fields = this.props.placeDetailFields;\n options.fields.unshift('geometry');\n }\n this.placesService.getDetails(options, function (results, status) {\n if (status === _this.googleMaps.places.PlacesServiceStatus.OK) {\n var gmaps = results;\n var location_1 = (gmaps.geometry &&\n gmaps.geometry.location);\n var suggest = __assign(__assign({}, suggestToGeocode), { gmaps: gmaps, location: {\n lat: location_1.lat(),\n lng: location_1.lng()\n } });\n _this.sessionToken = new google.maps.places.AutocompleteSessionToken();\n if (_this.props.onSuggestSelect) {\n _this.props.onSuggestSelect(suggest);\n }\n }\n });\n }\n else {\n var options = {\n address: suggestToGeocode.label,\n bounds: this.props.bounds,\n componentRestrictions: this.props.country\n ? { country: this.props.country }\n : // eslint-disable-next-line no-undefined\n undefined,\n location: this.props.location\n };\n this.geocoder.geocode(options, function (results, status) {\n if (status === _this.googleMaps.GeocoderStatus.OK) {\n var gmaps = results[0];\n var location_2 = (gmaps.geometry &&\n gmaps.geometry.location);\n var suggest = __assign(__assign({}, suggestToGeocode), { gmaps: gmaps, location: {\n lat: location_2.lat(),\n lng: location_2.lng()\n } });\n if (_this.props.onSuggestSelect) {\n _this.props.onSuggestSelect(suggest);\n }\n }\n });\n }\n };\n /**\n * Render the view\n */\n GeoSuggest.prototype.render = function () {\n var _this = this;\n var attributes = filterInputAttributes(this.props);\n var classes = classnames('geosuggest', this.props.className, {\n 'geosuggest--loading': this.state.isLoading\n });\n var input = (React.createElement(Input, __assign({ className: this.props.inputClassName, ref: function (i) { return (_this.input = i); }, value: this.state.userInput, doNotSubmitOnEnter: !this.state.isSuggestsHidden, ignoreTab: this.props.ignoreTab, ignoreEnter: this.props.ignoreEnter, style: this.props.style && this.props.style.input, onChange: this.onInputChange, onFocus: this.onInputFocus, onBlur: this.onInputBlur, onKeyDown: this.props.onKeyDown, onKeyPress: this.props.onKeyPress, inputType: this.props.inputType, onNext: this.onNext, onPrev: this.onPrev, onSelect: this.onSelect, onEscape: this.hideSuggests, isSuggestsHidden: this.state.isSuggestsHidden, activeSuggest: this.state.activeSuggest, label: this.props.label, id: this.props.id, listId: this.listId }, attributes)));\n var suggestionsList = (React.createElement(SuggestList, { isHidden: this.state.isSuggestsHidden, style: this.props.style && this.props.style.suggests, suggestItemStyle: this.props.style && this.props.style.suggestItem, userInput: this.state.userInput, isHighlightMatch: Boolean(this.props.highlightMatch), suggestsClassName: this.props.suggestsClassName, suggestItemClassName: this.props.suggestItemClassName, suggests: this.state.suggests, hiddenClassName: this.props.suggestsHiddenClassName, suggestItemActiveClassName: this.props.suggestItemActiveClassName, activeSuggest: this.state.activeSuggest, onSuggestNoResults: this.onSuggestNoResults, onSuggestMouseDown: this.onSuggestMouseDown, onSuggestMouseOut: this.onSuggestMouseOut, onSuggestSelect: this.selectSuggest, renderSuggestItem: this.props.renderSuggestItem, listId: this.listId, listLabel: this.listLabel }));\n return (React.createElement(\"div\", { className: classes, id: \"geosuggest__wrapper\".concat(this.props.id ? \"--\".concat(this.props.id) : '') },\n React.createElement(\"div\", { className: \"geosuggest__input-wrapper\" }, input),\n React.createElement(\"div\", { className: \"geosuggest__suggests-wrapper\" }, suggestionsList)));\n };\n /**\n * Default values for the properties\n */\n GeoSuggest.defaultProps = defaults;\n return GeoSuggest;\n}(React.Component));\n\nexport { GeoSuggest as default };\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","// Generated by ReScript, PLEASE EDIT WITH CARE\n\nimport * as Caml_option from \"rescript/lib/es6/caml_option.js\";\n\nfunction makeControlled(waitOpt, fn) {\n var wait = waitOpt !== undefined ? waitOpt : 100;\n var timerId = {\n contents: undefined\n };\n var lastArg = {\n contents: undefined\n };\n var lastCallTime = {\n contents: undefined\n };\n var shouldCall = function (time) {\n var lastCallTime$1 = lastCallTime.contents;\n if (lastCallTime$1 === undefined) {\n return true;\n }\n var timeSinceLastCall = time - lastCallTime$1 | 0;\n if (timeSinceLastCall >= wait) {\n return true;\n } else {\n return timeSinceLastCall < 0;\n }\n };\n var remainingWait = function (time) {\n var lastCallTime$1 = lastCallTime.contents;\n if (lastCallTime$1 === undefined) {\n return wait;\n }\n var timeSinceLastCall = time - lastCallTime$1 | 0;\n return wait - timeSinceLastCall | 0;\n };\n var timerExpired = function () {\n var timerId$1 = timerId.contents;\n if (timerId$1 !== undefined) {\n clearTimeout(Caml_option.valFromOption(timerId$1));\n }\n var time = Date.now() | 0;\n if (shouldCall(time)) {\n return call();\n } else {\n timerId.contents = Caml_option.some(setTimeout(timerExpired, remainingWait(time)));\n return ;\n }\n };\n var call = function () {\n var x = lastArg.contents;\n if (x !== undefined) {\n lastArg.contents = undefined;\n timerId.contents = undefined;\n return fn(Caml_option.valFromOption(x));\n } else {\n timerId.contents = undefined;\n return ;\n }\n };\n var schedule = function (x) {\n var time = Date.now() | 0;\n lastArg.contents = Caml_option.some(x);\n lastCallTime.contents = time;\n timerId.contents = Caml_option.some(setTimeout(timerExpired, wait));\n };\n var scheduled = function () {\n return timerId.contents !== undefined;\n };\n var cancel = function () {\n var timerId$p = timerId.contents;\n if (timerId$p !== undefined) {\n clearTimeout(Caml_option.valFromOption(timerId$p));\n timerId.contents = undefined;\n lastArg.contents = undefined;\n lastCallTime.contents = undefined;\n return ;\n }\n \n };\n var invoke = function (x) {\n cancel();\n fn(x);\n };\n return {\n invoke: invoke,\n schedule: schedule,\n scheduled: scheduled,\n cancel: cancel\n };\n}\n\nfunction make(wait, fn) {\n return makeControlled(wait, fn).schedule;\n}\n\nexport {\n make ,\n makeControlled ,\n}\n/* No side effect */\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","SuppressedError","defaults","autoActivateFirstSuggest","disabled","fixtures","getSuggestLabel","suggest","description","highlightMatch","ignoreEnter","ignoreTab","initialValue","maxFixtures","minLength","onKeyDown","onKeyPress","placeholder","queryDelay","skipSuggest","style","inputType","allowedAttributes","filterInputAttributes","props","attributes","keys","forEach","attribute","isDataAttribute","startsWith","includes","Input","_super","_this","input","onChange","bind","onInputKeyDown","value","event","which","shiftKey","preventDefault","onNext","onPrev","doNotSubmitOnEnter","onSelect","onEscape","focus","blur","render","classes","className","shouldRenderLabel","label","id","tabIndex","htmlFor","concat","ref","type","onFocus","onBlur","role","isSuggestsHidden","activeSuggest","placeId","undefined","listId","defaultProps","autoComplete","SuggestItem","onClick","makeBold","element","formatMatchedText","userInput","matchedSubstrings","parts","previousEnd","_i","_a","_b","start","offset","length_1","push","substring","end","match","componentDidUpdate","prevProps","isActive","scrollIfNeeded","parent","parentElement","overTop","offsetTop","scrollTop","overBottom","clientHeight","suggestItemClassName","activeClassName","content","renderSuggestItem","isHighlightMatch","li","onMouseDown","onMouseOut","SuggestList","isHidden","suggests","onSuggestNoResults","suggestsClassName","hiddenClassName","listLabel","map","key","suggestItemStyle","suggestItemActiveClassName","onSuggestMouseDown","onSuggestMouseOut","onSuggestSelect","GeoSuggest","googleMaps","autocompleteService","placesService","sessionToken","geocoder","state","ignoreBlur","isLoading","onInputChange","onAfterInputChange","onInputFocus","onInputBlur","hideSuggests","selectSuggest","setState","JSON","stringify","searchSuggests","componentDidMount","window","google","maps","places","AutocompleteService","PlacesService","document","createElement","AutocompleteSessionToken","Geocoder","console","error","componentWillUnmount","clearTimeout","timer","showSuggests","activateSuggest","update","clear","options","inputLength","updateSuggests","location","radius","bounds","types","country","Number","componentRestrictions","getPlacePredictions","suggestsGoogle","callback","regex","RegExp","replace","fixturesSearched","fixture","isFixture","search","matched_substrings","place_id","updateActiveSuggest","onUpdateSuggests","newSuggest","filter","listedSuggest","setTimeout","direction","suggestsCount","next","newActiveSuggest","newIndex","onActivateSuggest","suggestToSelect","geocodeSuggest","suggestToGeocode","placeDetailFields","fields","unshift","getDetails","results","status","PlacesServiceStatus","OK","gmaps","location_1","geometry","lat","lng","address","geocode","GeocoderStatus","location_2","inputClassName","suggestionsList","suggestItem","Boolean","suggestsHiddenClassName","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","g","freeSelf","self","root","Function","objectToString","toString","nativeMax","Math","max","nativeMin","min","now","Date","isObject","toNumber","isObjectLike","isSymbol","other","valueOf","isBinary","test","slice","module","exports","func","wait","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","remainingWait","debounced","isInvoking","leadingEdge","cancel","flush","makeControlled","waitOpt","fn","contents","lastArg","timerId$1","lastCallTime$1","shouldCall","x","timerId$p","invoke","schedule","scheduled","make","hasOwn","classNames","arg","appendClass","parseValue","isArray","newClass","default"],"sourceRoot":""}