{"version":3,"sources":["webpack://Autocomplete/webpack/universalModuleDefinition","webpack://Autocomplete/webpack/bootstrap","webpack://Autocomplete/../node_modules/core-js/modules/_export.js","webpack://Autocomplete/../node_modules/core-js/modules/_global.js","webpack://Autocomplete/../node_modules/core-js/modules/_is-object.js","webpack://Autocomplete/../node_modules/core-js/modules/_descriptors.js","webpack://Autocomplete/../node_modules/core-js/modules/_fails.js","webpack://Autocomplete/../node_modules/core-js/modules/_core.js","webpack://Autocomplete/../node_modules/core-js/modules/_hide.js","webpack://Autocomplete/../node_modules/core-js/modules/_object-dp.js","webpack://Autocomplete/../node_modules/core-js/modules/_an-object.js","webpack://Autocomplete/../node_modules/core-js/modules/_uid.js","webpack://Autocomplete/../node_modules/core-js/modules/_iobject.js","webpack://Autocomplete/../node_modules/core-js/modules/_defined.js","webpack://Autocomplete/../node_modules/core-js/modules/_strict-method.js","webpack://Autocomplete/external {\"amd\":\"react\",\"commonjs\":\"react\",\"commonjs2\":\"react\",\"root\":\"React\"}","webpack://Autocomplete/../node_modules/core-js/modules/_dom-create.js","webpack://Autocomplete/../node_modules/core-js/modules/_redefine.js","webpack://Autocomplete/../node_modules/core-js/modules/_has.js","webpack://Autocomplete/../node_modules/core-js/modules/_ctx.js","webpack://Autocomplete/../node_modules/core-js/modules/_a-function.js","webpack://Autocomplete/../node_modules/core-js/modules/_object-keys.js","webpack://Autocomplete/../node_modules/core-js/modules/_to-iobject.js","webpack://Autocomplete/../node_modules/core-js/modules/_cof.js","webpack://Autocomplete/../node_modules/core-js/modules/_array-includes.js","webpack://Autocomplete/../node_modules/core-js/modules/_to-length.js","webpack://Autocomplete/../node_modules/core-js/modules/_to-integer.js","webpack://Autocomplete/../node_modules/core-js/modules/_shared-key.js","webpack://Autocomplete/../node_modules/core-js/modules/_shared.js","webpack://Autocomplete/../node_modules/core-js/modules/_enum-bug-keys.js","webpack://Autocomplete/../node_modules/core-js/modules/_to-object.js","webpack://Autocomplete/../node_modules/core-js/modules/es6.object.create.js","webpack://Autocomplete/../node_modules/core-js/modules/_array-methods.js","webpack://Autocomplete/../node_modules/core-js/modules/_wks.js","webpack://Autocomplete/./autocomplete.js","webpack://Autocomplete/../node_modules/core-js/modules/es6.object.assign.js","webpack://Autocomplete/../node_modules/core-js/modules/_ie8-dom-define.js","webpack://Autocomplete/../node_modules/core-js/modules/_to-primitive.js","webpack://Autocomplete/../node_modules/core-js/modules/_property-desc.js","webpack://Autocomplete/../node_modules/core-js/modules/_object-assign.js","webpack://Autocomplete/../node_modules/core-js/modules/_object-keys-internal.js","webpack://Autocomplete/../node_modules/core-js/modules/_to-absolute-index.js","webpack://Autocomplete/../node_modules/core-js/modules/_library.js","webpack://Autocomplete/../node_modules/core-js/modules/_object-gops.js","webpack://Autocomplete/../node_modules/core-js/modules/_object-pie.js","webpack://Autocomplete/../node_modules/core-js/modules/_object-create.js","webpack://Autocomplete/../node_modules/core-js/modules/_object-dps.js","webpack://Autocomplete/../node_modules/core-js/modules/_html.js","webpack://Autocomplete/../node_modules/core-js/modules/es6.array.map.js","webpack://Autocomplete/../node_modules/core-js/modules/_array-species-create.js","webpack://Autocomplete/../node_modules/core-js/modules/_array-species-constructor.js","webpack://Autocomplete/../node_modules/core-js/modules/_is-array.js","webpack://Autocomplete/../node_modules/core-js/modules/es6.array.index-of.js","webpack://Autocomplete/../node_modules/core-js/modules/es6.function.name.js","webpack://Autocomplete/../node_modules/core-js/modules/es6.array.filter.js","webpack://Autocomplete/../node_modules/core-js/modules/es6.function.bind.js","webpack://Autocomplete/../node_modules/core-js/modules/_bind.js","webpack://Autocomplete/../node_modules/core-js/modules/_invoke.js","webpack://Autocomplete/../node_modules/core-js/modules/es6.regexp.match.js","webpack://Autocomplete/../node_modules/core-js/modules/_fix-re-wks.js","webpack://Autocomplete/./status.js","webpack://Autocomplete/./dropdown-arrow-down.js"],"names":["webpackUniversalModuleDefinition","root","factory","exports","module","require","define","amd","window","__WEBPACK_EXTERNAL_MODULE__13__","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","global","core","hide","redefine","ctx","PROTOTYPE","$export","type","source","own","out","exp","IS_FORCED","F","IS_GLOBAL","G","IS_STATIC","S","IS_PROTO","P","IS_BIND","B","target","expProto","undefined","Function","U","W","R","Math","self","__g","it","a","exec","e","version","__e","dP","createDesc","f","anObject","IE8_DOM_DEFINE","toPrimitive","O","Attributes","TypeError","isObject","id","px","random","concat","toString","cof","propertyIsEnumerable","split","fails","method","arg","document","is","createElement","has","SRC","TO_STRING","$toString","TPL","inspectSource","val","safe","isFunction","join","String","this","aFunction","fn","that","length","b","apply","arguments","$keys","enumBugKeys","keys","IObject","defined","slice","toIObject","toLength","toAbsoluteIndex","IS_INCLUDES","$this","el","fromIndex","index","toInteger","min","ceil","floor","isNaN","shared","uid","SHARED","store","push","copyright","toObject","asc","TYPE","$create","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","callbackfn","res","result","USE_SYMBOL","_preact","_status","_interopRequireDefault","_dropdownArrowDown","element","keyCodes","13","27","32","38","40","hasPointerEvents","style","cssText","pointerEvents","isIosDevice","navigator","userAgent","match","Autocomplete","props","_this","_Component","elementReferences","state","focused","hovered","clicked","menuOpen","options","defaultValue","selectedOptions","query","selected","handleComponentBlur","_assertThisInitialized","handleKeyDown","handleUpArrow","handleDownArrow","handleEnter","handlePrintableKey","handleListMouseLeave","handleOptionBlur","handleOptionClick","handleOptionFocus","handleOptionMouseEnter","handleSelectedOptionClick","handleSelectedOptionKeyDown","handleInputBlur","handleInputChange","handleInputFocus","pollInputElement","getDirectInputChanges","componentDidMount","componentWillUnmount","clearTimeout","$pollInput","$blurInput","_this2","setTimeout","inputReference","componentDidUpdate","prevProps","prevState","_this$state","componentLostFocus","focusedChanged","focus","focusedInput","componentGainedFocus","inputElement","setSelectionRange","hasAutoselect","autoselect","templateInputValue","inputValueTemplate","templates","inputValue","templateSuggestion","suggestionTemplate","suggestion","newState","newQuery","_this$state2","confirmOnBlur","onConfirm","setState","selectElement","multiple","event","_this$state3","focusingOutsideComponent","relatedTarget","focusingInput","focusingAnotherOption","keepMenuOpen","_this3","_this$state4","focusingAnOption","_this4","_this$props","minLength","showAllValues","queryEmpty","queryChanged","queryLongEnough","optionsAvailable","handleInputClick","selectedOption","updateMultiselect","forceUpdate","addedSelectOption","filter","option","textContent","availableOptions","removedOption","removedSelectOption","keyCode","preventDefault","_this$state5","_this5","_this$state6","handleSpace","_this6","isPrintableKeyCode","render","dropdownArrow","_this7","_this$props2","cssNamespace","displayMenu","placeholder","required","tNoResults","tStatusQueryTooShort","tStatusNoResults","tStatusSelectedOption","tStatusResults","tSelectedOptionDescription","dropdownArrowFactory","customAttributes","_this$state7","inputFocused","noOptionsAvailable","queryNotEmpty","showNoOptionsFound","wrapperClassName","inputClassName","inputModifierFocused","inputModifierType","dropdownArrowClassName","optionFocused","menuClassName","menuModifierDisplayMenu","menuModifierVisibility","optionClassName","selectedOptionsClassName","hintClassName","selectedOptionText","hintValue","toLowerCase","indexOf","substr","showHint","className","dangerouslySetInnerHTML","__html","onKeyDown","role","aria-expanded","queryLength","minQueryLength","selectedOptionIndex","tQueryTooShort","tSelectedOption","tResults","readonly","tabIndex","_extends","aria-activedescendant","aria-owns","autoComplete","onClick","onBlur","onChangeCrossLibrary","handler","onChange","onFocus","ref","onMouseLeave","map","optionModifierFocused","optionModifierOdd","aria-selected","onMouseEnter","optionEl","aria-label","Component","defaultProps","DropdownArrowDown","assign","valueOf","bitmap","configurable","writable","getKeys","gOPS","pIE","$assign","A","K","forEach","k","T","aLen","getSymbols","isEnum","j","arrayIndexOf","IE_PROTO","names","max","getOwnPropertySymbols","dPs","Empty","createDict","iframeDocument","iframe","display","appendChild","src","contentWindow","open","write","lt","close","Properties","defineProperties","documentElement","$map","speciesConstructor","original","isArray","SPECIES","C","constructor","Array","$indexOf","$native","NEGATIVE_ZERO","searchElement","FProto","nameRE","$filter","invoke","arraySlice","factories","partArgs","bound","args","len","construct","un","MATCH","$match","regexp","RegExp","wks","KEY","SYMBOL","fns","strfn","rxfn","string","Status","bump","componentWillReceiveProps","_ref","_ref2","queryTooShort","noResults","contentSelectedOption","content","aria-atomic","aria-live","border","clip","height","marginBottom","marginRight","overflow","padding","position","whiteSpace","width","xmlns","focusable","stroke","fill","fill-rule","points"],"mappings":"CAAA,SAAAA,iCAAAC,EAAAC,GACA,iBAAAC,SAAA,iBAAAC,OACAA,OAAAD,QAAAD,EAAAG,QAAA,UACA,mBAAAC,eAAAC,IACAD,OAAA,UAAAJ,GACA,iBAAAC,QACAA,QAAA,gBAAAD,EAAAG,QAAA,UAEAJ,EAAA,gBAAAC,EAAAD,EAAA,WARA,CASCO,OAAA,SAAAC,GACD,mBCTA,IAAAC,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAT,QAGA,IAAAC,EAAAM,EAAAE,GAAA,CACAC,EAAAD,EACAE,GAAA,EACAX,QAAA,IAUA,OANAY,EAAAH,GAAAI,KAAAZ,EAAAD,QAAAC,IAAAD,QAAAQ,GAGAP,EAAAU,GAAA,EAGAV,EAAAD,QA0DA,OArDAQ,EAAAM,EAAAF,EAGAJ,EAAAO,EAAAR,EAGAC,EAAAQ,EAAA,SAAAhB,EAAAiB,EAAAC,GACAV,EAAAW,EAAAnB,EAAAiB,IACAG,OAAAC,eAAArB,EAAAiB,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CV,EAAAgB,EAAA,SAAAxB,GACA,oBAAAyB,eAAAC,aACAN,OAAAC,eAAArB,EAAAyB,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,OAAAC,eAAArB,EAAA,cAAiD2B,OAAA,KAQjDnB,EAAAoB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAAnB,EAAAmB,IACA,EAAAE,EAAA,O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efinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Autocomplete\"] = factory(require(\"react\"));\n\telse\n\t\troot[\"Autocomplete\"] = factory(root[\"React\"]);\n})(window, function(__WEBPACK_EXTERNAL_MODULE__13__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 32);\n","var global = require('./_global');\nvar core = require('./_core');\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar ctx = require('./_ctx');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","var core = module.exports = { version: '2.5.7' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar fails = require('./_fails');\n\nmodule.exports = function (method, arg) {\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call\n arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n });\n};\n","module.exports = __WEBPACK_EXTERNAL_MODULE__13__;","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var global = require('./_global');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar SRC = require('./_uid')('src');\nvar TO_STRING = 'toString';\nvar $toString = Function[TO_STRING];\nvar TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2018 Denis Pushkarev (zloirock.ru)'\n});\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx');\nvar IObject = require('./_iobject');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar asc = require('./_array-species-create');\nmodule.exports = function (TYPE, $create) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n var create = $create || asc;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IObject(O);\n var f = ctx(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var val, res;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n val = self[index];\n res = f(val, index, O);\n if (TYPE) {\n if (IS_MAP) result[index] = res; // map\n else if (res) switch (TYPE) {\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","import { createElement, Component } from 'preact' /** @jsx createElement */\nimport Status from './status'\nimport DropdownArrowDown from './dropdown-arrow-down'\n\nconst IS_PREACT = process.env.COMPONENT_LIBRARY === 'PREACT'\nconst IS_REACT = process.env.COMPONENT_LIBRARY === 'REACT'\n\nconst keyCodes = {\n 13: 'enter',\n 27: 'escape',\n 32: 'space',\n 38: 'up',\n 40: 'down'\n}\n\n// Based on https://github.com/ausi/Feature-detection-technique-for-pointer-events\nconst hasPointerEvents = (() => {\n const element = document.createElement('x')\n element.style.cssText = 'pointer-events:auto'\n return element.style.pointerEvents === 'auto'\n})()\n\nfunction isIosDevice () {\n return !!(navigator.userAgent.match(/(iPod|iPhone|iPad)/g) && navigator.userAgent.match(/AppleWebKit/g))\n}\n\nfunction isPrintableKeyCode (keyCode) {\n return (\n (keyCode > 47 && keyCode < 58) || // number keys\n keyCode === 32 || keyCode === 8 || // spacebar or backspace\n (keyCode > 64 && keyCode < 91) || // letter keys\n (keyCode > 95 && keyCode < 112) || // numpad keys\n (keyCode > 185 && keyCode < 193) || // ;=,-./` (in order)\n (keyCode > 218 && keyCode < 223) // [\\]' (in order)\n )\n}\n\n// Preact does not implement onChange on inputs, but React does.\nfunction onChangeCrossLibrary (handler) {\n if (IS_PREACT) { return { onInput: handler } }\n if (IS_REACT) { return { onChange: handler } }\n}\n\nexport default class Autocomplete extends Component {\n static defaultProps = {\n autoselect: false,\n cssNamespace: 'autocomplete',\n customAttributes: {},\n defaultValue: '',\n displayMenu: 'inline',\n minLength: 0,\n name: 'input-autocomplete',\n placeholder: '',\n onConfirm: () => {},\n confirmOnBlur: true,\n showNoOptionsFound: true,\n showAllValues: false,\n required: false,\n multiple: false,\n selectedOptions: {},\n tNoResults: () => 'No results found',\n tSelectedOptionDescription: () => 'Press Enter or Space to remove selection',\n dropdownArrow: DropdownArrowDown\n }\n\n elementReferences = {}\n\n constructor (props) {\n super(props)\n\n this.state = {\n focused: null,\n hovered: null,\n clicked: null,\n menuOpen: false,\n options: props.defaultValue ? [props.defaultValue] : [],\n selectedOptions: props.selectedOptions ? [props.selectedOptions] : [],\n query: props.defaultValue,\n selected: null\n }\n\n this.handleComponentBlur = this.handleComponentBlur.bind(this)\n this.handleKeyDown = this.handleKeyDown.bind(this)\n this.handleUpArrow = this.handleUpArrow.bind(this)\n this.handleDownArrow = this.handleDownArrow.bind(this)\n this.handleEnter = this.handleEnter.bind(this)\n this.handlePrintableKey = this.handlePrintableKey.bind(this)\n\n this.handleListMouseLeave = this.handleListMouseLeave.bind(this)\n\n this.handleOptionBlur = this.handleOptionBlur.bind(this)\n this.handleOptionClick = this.handleOptionClick.bind(this)\n this.handleOptionFocus = this.handleOptionFocus.bind(this)\n this.handleOptionMouseEnter = this.handleOptionMouseEnter.bind(this)\n\n this.handleSelectedOptionClick = this.handleSelectedOptionClick.bind(this)\n this.handleSelectedOptionKeyDown = this.handleSelectedOptionKeyDown.bind(this)\n\n this.handleInputBlur = this.handleInputBlur.bind(this)\n this.handleInputChange = this.handleInputChange.bind(this)\n this.handleInputFocus = this.handleInputFocus.bind(this)\n\n this.pollInputElement = this.pollInputElement.bind(this)\n this.getDirectInputChanges = this.getDirectInputChanges.bind(this)\n }\n\n componentDidMount () {\n this.pollInputElement()\n }\n\n componentWillUnmount () {\n clearTimeout(this.$pollInput)\n clearTimeout(this.$blurInput)\n }\n\n // Applications like Dragon NaturallySpeaking will modify the\n // `input` field by directly changing its `.value`. These events\n // don't trigger our JavaScript event listeners, so we need to poll\n // to handle when and if they occur.\n pollInputElement () {\n this.getDirectInputChanges()\n this.$pollInput = setTimeout(() => {\n this.pollInputElement()\n }, 100)\n }\n\n getDirectInputChanges () {\n const inputReference = this.elementReferences[-1]\n const queryHasChanged = inputReference && inputReference.value !== this.state.query\n\n if (queryHasChanged) {\n this.handleInputChange({ target: { value: inputReference.value } })\n }\n }\n\n componentDidUpdate (prevProps, prevState) {\n const { focused, clicked } = this.state\n const componentLostFocus = focused === null\n const focusedChanged = prevState.focused !== focused\n const focusDifferentElement = (focusedChanged && !componentLostFocus) || clicked !== null\n if (focusDifferentElement) {\n this.elementReferences[focused].focus()\n }\n const focusedInput = focused === -1\n const componentGainedFocus = focusedChanged && prevState.focused === null\n const selectAllText = focusedInput && componentGainedFocus\n if (selectAllText) {\n const inputElement = this.elementReferences[focused]\n inputElement.setSelectionRange(0, inputElement.value.length)\n }\n }\n\n hasAutoselect () {\n return isIosDevice() ? false : this.props.autoselect\n }\n\n // This template is used when converting from a state.options object into a state.query.\n templateInputValue (value) {\n const inputValueTemplate = this.props.templates && this.props.templates.inputValue\n return inputValueTemplate ? inputValueTemplate(value) : value\n }\n\n // This template is used when displaying results / suggestions.\n templateSuggestion (value) {\n const suggestionTemplate = this.props.templates && this.props.templates.suggestion\n return suggestionTemplate ? suggestionTemplate(value) : value\n }\n\n handleComponentBlur (newState) {\n const { options, query, selected } = this.state\n let newQuery\n if (this.props.confirmOnBlur) {\n newQuery = newState.query || query\n this.props.onConfirm(options[selected])\n } else {\n newQuery = query\n }\n this.setState({\n focused: null,\n clicked: null,\n menuOpen: newState.menuOpen || false,\n query: newQuery,\n selected: null\n })\n\n if (this.props.selectElement && this.props.selectElement.multiple) {\n // Reset input state\n this.setState({\n menuOpen: false,\n selected: null,\n query: ''\n })\n }\n }\n\n handleListMouseLeave (event) {\n this.setState({\n hovered: null\n })\n }\n\n handleOptionBlur (event, index) {\n const { focused, clicked, menuOpen, options, selected } = this.state\n const focusingOutsideComponent = event.relatedTarget === null && clicked === null\n const focusingInput = event.relatedTarget === this.elementReferences[-1]\n const focusingAnotherOption = focused !== index && focused !== -1\n const blurComponent = (!focusingAnotherOption && focusingOutsideComponent) || !(focusingAnotherOption || focusingInput)\n if (blurComponent) {\n const keepMenuOpen = menuOpen && isIosDevice()\n this.handleComponentBlur({\n menuOpen: keepMenuOpen,\n query: this.templateInputValue(options[selected])\n })\n }\n }\n\n handleInputBlur (event) {\n const { focused, menuOpen, options, query, selected } = this.state\n const focusingAnOption = focused !== -1\n clearTimeout(this.$blurInput)\n if (!focusingAnOption) {\n const keepMenuOpen = menuOpen && isIosDevice()\n const newQuery = isIosDevice() ? query : this.templateInputValue(options[selected])\n this.$blurInput = setTimeout(() => this.handleComponentBlur({\n menuOpen: keepMenuOpen,\n query: newQuery\n }), 200)\n }\n }\n\n handleInputChange (event) {\n const { minLength, source, showAllValues } = this.props\n const autoselect = this.hasAutoselect()\n const query = event.target.value\n const queryEmpty = query.length === 0\n const queryChanged = this.state.query.length !== query.length\n const queryLongEnough = query.length >= minLength\n\n this.setState({ query })\n\n const searchForOptions = showAllValues || (!queryEmpty && queryChanged && queryLongEnough)\n if (searchForOptions) {\n source(query, (options) => {\n const optionsAvailable = options.length > 0\n this.setState({\n menuOpen: optionsAvailable,\n options,\n selected: (autoselect && optionsAvailable) ? 0 : -1\n })\n })\n } else if (queryEmpty || !queryLongEnough) {\n this.setState({\n menuOpen: false,\n options: []\n })\n }\n }\n\n handleInputClick (event) {\n this.handleInputChange(event)\n }\n\n handleInputFocus (event) {\n this.setState({\n focused: -1\n })\n }\n\n handleOptionFocus (index) {\n this.setState({\n focused: index,\n hovered: null,\n selected: index\n })\n }\n\n handleOptionMouseEnter (event, index) {\n // iOS Safari prevents click event if mouseenter adds hover background colour\n // See: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW4\n if (!isIosDevice()) {\n this.setState({\n hovered: index\n })\n }\n }\n\n handleOptionClick (event, index) {\n const selectedOption = this.state.options[index]\n const newQuery = this.templateInputValue(selectedOption)\n clearTimeout(this.$blurInput)\n this.props.onConfirm(selectedOption)\n this.setState({\n focused: -1,\n clicked: index,\n hovered: null,\n menuOpen: false,\n query: newQuery,\n selected: -1\n })\n if (this.props.selectElement && this.props.selectElement.multiple) {\n this.updateMultiselect(selectedOption)\n }\n this.forceUpdate()\n }\n\n updateMultiselect (selectedOption) {\n if (selectedOption) {\n // Update select state for option\n const addedSelectOption = [].filter.call(this.props.selectElement.options, option => option.textContent === selectedOption)[0]\n if (addedSelectOption) { addedSelectOption.selected = true }\n\n // Update multiselect list\n let availableOptions = [].filter.call(this.props.selectElement.options, option => option.textContent)\n this.props.selectedOptions = availableOptions.filter(option => option.selected === true)\n\n // Reset input state\n this.setState({\n menuOpen: false,\n selected: null,\n query: ''\n })\n }\n }\n\n handleSelectedOptionClick (event, index) {\n // Remove from the list\n const removedOption = this.props.selectedOptions[index]\n this.props.selectedOptions = this.props.selectedOptions.filter(e => e !== removedOption)\n\n // Update select state for option\n const removedSelectOption = [].filter.call(this.props.selectElement.options, option => option.textContent === removedOption.textContent)[0]\n if (removedSelectOption) { removedSelectOption.selected = false }\n\n this.forceUpdate()\n }\n\n handleSelectedOptionKeyDown (event, index) {\n switch (keyCodes[event.keyCode]) {\n case 'space':\n this.handleSelectedOptionClick(event, index)\n break\n case 'enter':\n this.handleSelectedOptionClick(event, index)\n break\n }\n }\n\n handleUpArrow (event) {\n event.preventDefault()\n const { menuOpen, selected } = this.state\n const isNotAtTop = selected !== -1\n const allowMoveUp = isNotAtTop && menuOpen\n if (allowMoveUp) {\n this.handleOptionFocus(selected - 1)\n }\n }\n\n handleDownArrow (event) {\n event.preventDefault()\n // if not open, open\n if (this.props.showAllValues && this.state.menuOpen === false) {\n event.preventDefault()\n this.props.source('', (options) => {\n this.setState({\n menuOpen: true,\n options,\n selected: 0,\n focused: 0,\n hovered: null\n })\n })\n } else if (this.state.menuOpen === true) {\n const { menuOpen, options, selected } = this.state\n const isNotAtBottom = selected !== options.length - 1\n const allowMoveDown = isNotAtBottom && menuOpen\n if (allowMoveDown) {\n this.handleOptionFocus(selected + 1)\n }\n }\n }\n\n handleSpace (event) {\n // if not open, open\n if (this.props.showAllValues && this.state.menuOpen === false && this.state.query === '') {\n event.preventDefault()\n this.props.source('', (options) => {\n this.setState({\n menuOpen: true,\n options\n })\n })\n }\n const focusIsOnOption = this.state.focused !== -1\n if (focusIsOnOption) {\n event.preventDefault()\n this.handleOptionClick(event, this.state.focused)\n }\n }\n\n handleEnter (event) {\n if (this.state.menuOpen) {\n event.preventDefault()\n const hasSelectedOption = this.state.selected >= 0\n if (hasSelectedOption) {\n this.handleOptionClick(event, this.state.selected)\n }\n }\n }\n\n handlePrintableKey (event) {\n const inputElement = this.elementReferences[-1]\n const eventIsOnInput = event.target === inputElement\n if (!eventIsOnInput) {\n // FIXME: This would be better if it was in componentDidUpdate,\n // but using setState to trigger that seems to not work correctly\n // in preact@8.1.0.\n inputElement.focus()\n }\n }\n\n handleKeyDown (event) {\n switch (keyCodes[event.keyCode]) {\n case 'up':\n this.handleUpArrow(event)\n break\n case 'down':\n this.handleDownArrow(event)\n break\n case 'space':\n this.handleSpace(event)\n break\n case 'enter':\n this.handleEnter(event)\n break\n case 'escape':\n this.handleComponentBlur({\n query: this.state.query\n })\n break\n default:\n if (isPrintableKeyCode(event.keyCode)) {\n this.handlePrintableKey(event)\n }\n break\n }\n }\n\n render () {\n const {\n cssNamespace,\n displayMenu,\n id,\n minLength,\n name,\n placeholder,\n required,\n multiple,\n showAllValues,\n tNoResults,\n tStatusQueryTooShort,\n tStatusNoResults,\n tStatusSelectedOption,\n tStatusResults,\n tSelectedOptionDescription,\n dropdownArrow: dropdownArrowFactory,\n customAttributes\n } = this.props\n const { focused, hovered, menuOpen, options, query, selected } = this.state\n const autoselect = this.hasAutoselect()\n\n const inputFocused = focused === -1\n const noOptionsAvailable = options.length === 0\n const queryNotEmpty = query.length !== 0\n const queryLongEnough = query.length >= minLength\n const showNoOptionsFound = this.props.showNoOptionsFound &&\n inputFocused && noOptionsAvailable && queryNotEmpty && queryLongEnough\n\n const wrapperClassName = `${cssNamespace}__wrapper`\n\n const inputClassName = `${cssNamespace}__input`\n const componentIsFocused = focused !== null\n const inputModifierFocused = componentIsFocused ? ` ${inputClassName}--focused` : ''\n const inputModifierType = this.props.showAllValues ? ` ${inputClassName}--show-all-values` : ` ${inputClassName}--default`\n const dropdownArrowClassName = `${cssNamespace}__dropdown-arrow-down`\n const optionFocused = focused !== -1 && focused !== null\n\n const menuClassName = `${cssNamespace}__menu`\n const menuModifierDisplayMenu = `${menuClassName}--${displayMenu}`\n const menuIsVisible = menuOpen || showNoOptionsFound\n const menuModifierVisibility = `${menuClassName}--${(menuIsVisible) ? 'visible' : 'hidden'}`\n\n const optionClassName = `${cssNamespace}__option`\n\n const selectedOptionsClassName = `${cssNamespace}__list`\n\n const hintClassName = `${cssNamespace}__hint`\n const selectedOptionText = this.templateInputValue(options[selected])\n const optionBeginsWithQuery = selectedOptionText &&\n selectedOptionText.toLowerCase().indexOf(query.toLowerCase()) === 0\n const hintValue = (optionBeginsWithQuery && autoselect)\n ? query + selectedOptionText.substr(query.length)\n : ''\n const showHint = hasPointerEvents && hintValue\n\n let dropdownArrow\n\n // we only need a dropdown arrow if showAllValues is set to a truthy value\n if (showAllValues) {\n dropdownArrow = dropdownArrowFactory({ className: dropdownArrowClassName })\n\n // if the factory returns a string we'll render this as HTML (usage w/o (P)React)\n if (typeof dropdownArrow === 'string') {\n dropdownArrow =
\n }\n }\n\n return (\n
\n \n\n {showHint && (\n \n )}\n\n this.handleInputClick(event)}\n onBlur={this.handleInputBlur}\n {...onChangeCrossLibrary(this.handleInputChange)}\n onFocus={this.handleInputFocus}\n name={name}\n placeholder={placeholder}\n ref={(inputElement) => { this.elementReferences[-1] = inputElement }}\n type='text'\n role='textbox'\n required={required}\n value={query}\n {...customAttributes}\n />\n\n {dropdownArrow}\n\n this.handleListMouseLeave(event)}\n id={`${id}__listbox`}\n role='listbox'\n >\n {options.map((option, index) => {\n const showFocused = focused === -1 ? selected === index : focused === index\n const optionModifierFocused = showFocused && hovered === null ? ` ${optionClassName}--focused` : ''\n const optionModifierOdd = (index % 2) ? ` ${optionClassName}--odd` : ''\n\n return (\n this.handleOptionBlur(event, index)}\n onClick={(event) => this.handleOptionClick(event, index)}\n onMouseEnter={(event) => this.handleOptionMouseEnter(event, index)}\n ref={(optionEl) => { this.elementReferences[index] = optionEl }}\n role='option'\n tabIndex='-1'\n />\n )\n })}\n\n {showNoOptionsFound && (\n
  • {tNoResults()}
  • \n )}\n \n\n {multiple && (\n \n {this.props.selectedOptions.map((option, index) => {\n return (\n
  • \n \n this.handleSelectedOptionClick(event, index)}>remove\n
  • \n )\n })}\n {showNoOptionsFound && (\n
  • {tNoResults()}
  • \n )}\n \n )}\n
    \n )\n }\n}\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];\n } return T;\n} : $assign;\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","module.exports = false;\n","exports.f = Object.getOwnPropertySymbols;\n","exports.f = {}.propertyIsEnumerable;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","'use strict';\nvar $export = require('./_export');\nvar $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments[1]);\n }\n});\n","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","'use strict';\nvar $export = require('./_export');\nvar $indexOf = require('./_array-includes')(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? $native.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments[1]);\n }\n});\n","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","'use strict';\nvar $export = require('./_export');\nvar $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = require('./_export');\n\n$export($export.P, 'Function', { bind: require('./_bind') });\n","'use strict';\nvar aFunction = require('./_a-function');\nvar isObject = require('./_is-object');\nvar invoke = require('./_invoke');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n if (!(len in factories)) {\n for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var bound = function (/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n return bound;\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n var un = that === undefined;\n switch (args.length) {\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n","// @@match logic\nrequire('./_fix-re-wks')('match', 1, function (defined, MATCH, $match) {\n // 21.1.3.11 String.prototype.match(regexp)\n return [function match(regexp) {\n 'use strict';\n var O = defined(this);\n var fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n }, $match];\n});\n","'use strict';\nvar hide = require('./_hide');\nvar redefine = require('./_redefine');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n var fns = exec(defined, SYMBOL, ''[KEY]);\n var strfn = fns[0];\n var rxfn = fns[1];\n if (fails(function () {\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n })) {\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","import { createElement, Component } from 'preact' /** @jsx createElement */\n\nexport default class Status extends Component {\n static defaultProps = {\n tQueryTooShort: (minQueryLength) => `Type in ${minQueryLength} or more characters for results.`,\n tNoResults: () => 'No search results.',\n tSelectedOption: (selectedOption, length, index) => `${selectedOption} (${index + 1} of ${length}) is selected.`,\n tResults: (length, contentSelectedOption) => {\n const words = {\n result: (length === 1) ? 'result' : 'results',\n is: (length === 1) ? 'is' : 'are'\n }\n\n return `${length} ${words.result} ${words.is} available. ${contentSelectedOption}`\n }\n };\n\n state = {\n bump: false\n }\n\n componentWillReceiveProps ({ queryLength }) {\n const hasChanged = queryLength !== this.props.queryLength\n if (hasChanged) {\n this.setState(({ bump }) => ({ bump: !bump }))\n }\n }\n\n render () {\n const {\n length,\n queryLength,\n minQueryLength,\n selectedOption,\n selectedOptionIndex,\n tQueryTooShort,\n tNoResults,\n tSelectedOption,\n tResults\n } = this.props\n const { bump } = this.state\n\n const queryTooShort = queryLength < minQueryLength\n const noResults = length === 0\n\n const contentSelectedOption = selectedOption\n ? tSelectedOption(selectedOption, length, selectedOptionIndex)\n : ''\n\n let content = null\n if (queryTooShort) {\n content = tQueryTooShort(minQueryLength)\n } else if (noResults) {\n content = tNoResults()\n } else {\n content = tResults(length, contentSelectedOption)\n }\n\n return \n {content}\n {bump ? ',' : ',,'}\n
    \n }\n}\n","import { createElement } from 'preact' /** @jsx createElement */\n\nconst DropdownArrowDown = ({ className }) => (\n \n \n \n \n \n)\n\nexport default DropdownArrowDown\n"],"sourceRoot":""}