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c,EAC3D,aADX,CAKJ,EAjFO,MAAMR,EAAUpR,EAAAA,WACvB,CACIqR,MAAO,CACHC,WAAY,CAAC,MAAO,QACpBO,UAAW,CAAC,eAGhBN,MAAM,CACFD,WAAY,CAAC,MAAO,MAAO,MAAO,MAAO,OACzCO,UAAW,CAAC,YAAa,YAAa,YAAa,YAAa,eAKlEV,EAA8BW,GAAyBA,EAAW9hB,KAAI+hB,GAAO,IAAMA","sources":["webpack://fieldservice-clientapp/./ClientApp/common/components/semantic-ui/components/dropdown.js","webpack://fieldservice-clientapp/./ClientApp/common/components/semantic-ui/components/transition.js","webpack://fieldservice-clientapp/./ClientApp/common/components/semantic-ui/semantic-dropdown.ts","webpack://fieldservice-clientapp/./ClientApp/common/utils/auth-api.ts","webpack://fieldservice-clientapp/./ClientApp/common/utils/aws/aws-utils.ts","webpack://fieldservice-clientapp/./ClientApp/common/utils/aws/index.ts","webpack://fieldservice-clientapp/./ClientApp/common/utils/aws/xhr_http_handler.ts","webpack://fieldservice-clientapp/./ClientApp/common/utils/base-api.ts","webpack://fieldservice-clientapp/./ClientApp/common/utils/diagnostics.ts","webpack://fieldservice-clientapp/./ClientApp/common/utils/form-utils/form-validation.ts","webpack://fieldservice-clientapp/./ClientApp/common/utils/index.ts","webpack://fieldservice-clientapp/./ClientApp/common/utils/media-utils.ts"],"sourcesContent":["/*!\r\n * # Fomantic-UI 2.8.8 - Dropdown\r\n * http://github.com/fomantic/Fomantic-UI/\r\n *\r\n *\r\n * Released under the MIT license\r\n * http://opensource.org/licenses/MIT\r\n *\r\n */\r\n\r\n(function ($, window, document, undefined) {\r\n\t\"use strict\";\r\n\r\n\t$.isFunction =\r\n\t\t$.isFunction ||\r\n\t\tfunction (obj) {\r\n\t\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\";\r\n\t\t};\r\n\r\n\twindow =\r\n\t\ttypeof window != \"undefined\" && window.Math == Math\r\n\t\t\t? window\r\n\t\t\t: typeof self != \"undefined\" && self.Math == Math\r\n\t\t\t? self\r\n\t\t\t: Function(\"return this\")();\r\n\r\n\t$.fn.suidropdown = function (parameters) {\r\n\t\tvar $allModules = $(this),\r\n\t\t\t$document = $(document),\r\n\t\t\tmoduleSelector = $allModules.selector || \"\",\r\n\t\t\thasTouch = \"ontouchstart\" in document.documentElement,\r\n\t\t\tclickEvent = hasTouch ? \"touchstart\" : \"click\",\r\n\t\t\ttime = new Date().getTime(),\r\n\t\t\tperformance = [],\r\n\t\t\tquery = arguments[0],\r\n\t\t\tmethodInvoked = typeof query == \"string\",\r\n\t\t\tqueryArguments = [].slice.call(arguments, 1),\r\n\t\t\treturnedValue;\r\n\r\n\t\t$allModules.each(function (elementIndex) {\r\n\t\t\tvar settings = $.isPlainObject(parameters)\r\n\t\t\t\t\t? $.extend(true, {}, $.fn.suidropdown.settings, parameters)\r\n\t\t\t\t\t: $.extend({}, $.fn.suidropdown.settings),\r\n\t\t\t\tclassName = settings.className,\r\n\t\t\t\tmessage = settings.message,\r\n\t\t\t\tfields = settings.fields,\r\n\t\t\t\tkeys = settings.keys,\r\n\t\t\t\tmetadata = settings.metadata,\r\n\t\t\t\tnamespace = settings.namespace,\r\n\t\t\t\tregExp = settings.regExp,\r\n\t\t\t\tselector = settings.selector,\r\n\t\t\t\terror = settings.error,\r\n\t\t\t\ttemplates = settings.templates,\r\n\t\t\t\teventNamespace = \".\" + namespace,\r\n\t\t\t\tmoduleNamespace = \"module-\" + namespace,\r\n\t\t\t\t$module = $(this),\r\n\t\t\t\t$context = $(settings.context),\r\n\t\t\t\t$text = $module.find(selector.text),\r\n\t\t\t\t$search = $module.find(selector.search),\r\n\t\t\t\t$sizer = $module.find(selector.sizer),\r\n\t\t\t\t$input = $module.find(selector.input),\r\n\t\t\t\t$icon = $module.find(selector.icon),\r\n\t\t\t\t$clear = $module.find(selector.clearIcon),\r\n\t\t\t\t$combo =\r\n\t\t\t\t\t$module.prev().find(selector.text).length > 0\r\n\t\t\t\t\t\t? $module.prev().find(selector.text)\r\n\t\t\t\t\t\t: $module.prev(),\r\n\t\t\t\t$menu = $module.children(selector.menu),\r\n\t\t\t\t$item = $menu.find(selector.item),\r\n\t\t\t\t$divider = settings.hideDividers\r\n\t\t\t\t\t? $item.parent().children(selector.divider)\r\n\t\t\t\t\t: $(),\r\n\t\t\t\tactivated = false,\r\n\t\t\t\titemActivated = false,\r\n\t\t\t\tinternalChange = false,\r\n\t\t\t\ticonClicked = false,\r\n\t\t\t\telement = this,\r\n\t\t\t\tfocused = false,\r\n\t\t\t\tinstance = $module.data(moduleNamespace),\r\n\t\t\t\tselectActionActive,\r\n\t\t\t\tinitialLoad,\r\n\t\t\t\tpageLostFocus,\r\n\t\t\t\twillRefocus,\r\n\t\t\t\telementNamespace,\r\n\t\t\t\tid,\r\n\t\t\t\tselectObserver,\r\n\t\t\t\tmenuObserver,\r\n\t\t\t\tclassObserver,\r\n\t\t\t\tmodule;\r\n\r\n\t\t\tmodule = {\r\n\t\t\t\tinitialize: function () {\r\n\t\t\t\t\tmodule.debug(\"Initializing dropdown\", settings);\r\n\r\n\t\t\t\t\tif (module.is.alreadySetup()) {\r\n\t\t\t\t\t\tmodule.setup.reference();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif (settings.ignoreDiacritics && !String.prototype.normalize) {\r\n\t\t\t\t\t\t\tsettings.ignoreDiacritics = false;\r\n\t\t\t\t\t\t\tmodule.error(error.noNormalize, element);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tmodule.setup.layout();\r\n\r\n\t\t\t\t\t\tif (settings.values) {\r\n\t\t\t\t\t\t\tmodule.set.initialLoad();\r\n\t\t\t\t\t\t\tmodule.change.values(settings.values);\r\n\t\t\t\t\t\t\tmodule.remove.initialLoad();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tmodule.refreshData();\r\n\r\n\t\t\t\t\t\tmodule.save.defaults();\r\n\t\t\t\t\t\tmodule.restore.selected();\r\n\r\n\t\t\t\t\t\tmodule.create.id();\r\n\t\t\t\t\t\tmodule.bind.events();\r\n\r\n\t\t\t\t\t\tmodule.observeChanges();\r\n\t\t\t\t\t\tmodule.instantiate();\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tinstantiate: function () {\r\n\t\t\t\t\tmodule.verbose(\"Storing instance of dropdown\", module);\r\n\t\t\t\t\tinstance = module;\r\n\t\t\t\t\t$module.data(moduleNamespace, module);\r\n\t\t\t\t},\r\n\r\n\t\t\t\tdestroy: function () {\r\n\t\t\t\t\tmodule.verbose(\"Destroying previous dropdown\", $module);\r\n\t\t\t\t\tmodule.remove.tabbable();\r\n\t\t\t\t\tmodule.remove.active();\r\n\t\t\t\t\t$menu.transition(\"stop all\");\r\n\t\t\t\t\t$menu.removeClass(className.visible).addClass(className.hidden);\r\n\t\t\t\t\t$module.off(eventNamespace).removeData(moduleNamespace);\r\n\t\t\t\t\t$menu.off(eventNamespace);\r\n\t\t\t\t\t$document.off(elementNamespace);\r\n\t\t\t\t\tmodule.disconnect.menuObserver();\r\n\t\t\t\t\tmodule.disconnect.selectObserver();\r\n\t\t\t\t\tmodule.disconnect.classObserver();\r\n\t\t\t\t},\r\n\r\n\t\t\t\tobserveChanges: function () {\r\n\t\t\t\t\tif (\"MutationObserver\" in window) {\r\n\t\t\t\t\t\tselectObserver = new MutationObserver(module.event.select.mutation);\r\n\t\t\t\t\t\tmenuObserver = new MutationObserver(module.event.menu.mutation);\r\n\t\t\t\t\t\tclassObserver = new MutationObserver(module.event.class.mutation);\r\n\t\t\t\t\t\tmodule.debug(\r\n\t\t\t\t\t\t\t\"Setting up mutation observer\",\r\n\t\t\t\t\t\t\tselectObserver,\r\n\t\t\t\t\t\t\tmenuObserver,\r\n\t\t\t\t\t\t\tclassObserver\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\tmodule.observe.select();\r\n\t\t\t\t\t\tmodule.observe.menu();\r\n\t\t\t\t\t\tmodule.observe.class();\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tdisconnect: {\r\n\t\t\t\t\tmenuObserver: function () {\r\n\t\t\t\t\t\tif (menuObserver) {\r\n\t\t\t\t\t\t\tmenuObserver.disconnect();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tselectObserver: function () {\r\n\t\t\t\t\t\tif (selectObserver) {\r\n\t\t\t\t\t\t\tselectObserver.disconnect();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tclassObserver: function () {\r\n\t\t\t\t\t\tif (classObserver) {\r\n\t\t\t\t\t\t\tclassObserver.disconnect();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\tobserve: {\r\n\t\t\t\t\tselect: function () {\r\n\t\t\t\t\t\tif (module.has.input() && selectObserver) {\r\n\t\t\t\t\t\t\tselectObserver.observe($module[0], {\r\n\t\t\t\t\t\t\t\tchildList: true,\r\n\t\t\t\t\t\t\t\tsubtree: true,\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tmenu: function () {\r\n\t\t\t\t\t\tif (module.has.menu() && menuObserver) {\r\n\t\t\t\t\t\t\tmenuObserver.observe($menu[0], {\r\n\t\t\t\t\t\t\t\tchildList: true,\r\n\t\t\t\t\t\t\t\tsubtree: true,\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tclass: function () {\r\n\t\t\t\t\t\tif (module.has.search() && classObserver) {\r\n\t\t\t\t\t\t\tclassObserver.observe($module[0], {\r\n\t\t\t\t\t\t\t\tattributes: true,\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\r\n\t\t\t\tcreate: {\r\n\t\t\t\t\tid: function () {\r\n\t\t\t\t\t\tid = (Math.random().toString(16) + \"000000000\").substr(2, 8);\r\n\t\t\t\t\t\telementNamespace = \".\" + id;\r\n\t\t\t\t\t\tmodule.verbose(\"Creating unique id for element\", id);\r\n\t\t\t\t\t},\r\n\t\t\t\t\tuserChoice: function (values) {\r\n\t\t\t\t\t\tvar $userChoices, $userChoice, isUserValue, html;\r\n\t\t\t\t\t\tvalues = values || module.get.userValues();\r\n\t\t\t\t\t\tif (!values) {\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tvalues = Array.isArray(values) ? values : [values];\r\n\t\t\t\t\t\t$.each(values, function (index, value) {\r\n\t\t\t\t\t\t\tif (module.get.item(value) === false) {\r\n\t\t\t\t\t\t\t\thtml = settings.templates.addition(\r\n\t\t\t\t\t\t\t\t\tmodule.add.variables(message.addResult, value)\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t$userChoice = $(\"
\")\r\n\t\t\t\t\t\t\t\t\t.html(html)\r\n\t\t\t\t\t\t\t\t\t.attr(\"data-\" + metadata.value, value)\r\n\t\t\t\t\t\t\t\t\t.attr(\"data-\" + metadata.text, value)\r\n\t\t\t\t\t\t\t\t\t.addClass(className.addition)\r\n\t\t\t\t\t\t\t\t\t.addClass(className.item);\r\n\t\t\t\t\t\t\t\tif (settings.hideAdditions) {\r\n\t\t\t\t\t\t\t\t\t$userChoice.addClass(className.hidden);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t$userChoices =\r\n\t\t\t\t\t\t\t\t\t$userChoices === undefined\r\n\t\t\t\t\t\t\t\t\t\t? $userChoice\r\n\t\t\t\t\t\t\t\t\t\t: $userChoices.add($userChoice);\r\n\t\t\t\t\t\t\t\tmodule.verbose(\r\n\t\t\t\t\t\t\t\t\t\"Creating user choices for value\",\r\n\t\t\t\t\t\t\t\t\tvalue,\r\n\t\t\t\t\t\t\t\t\t$userChoice\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\treturn $userChoices;\r\n\t\t\t\t\t},\r\n\t\t\t\t\tuserLabels: function (value) {\r\n\t\t\t\t\t\tvar userValues = module.get.userValues();\r\n\t\t\t\t\t\tif (userValues) {\r\n\t\t\t\t\t\t\tmodule.debug(\"Adding user labels\", userValues);\r\n\t\t\t\t\t\t\t$.each(userValues, function (index, value) {\r\n\t\t\t\t\t\t\t\tmodule.verbose(\"Adding custom user value\");\r\n\t\t\t\t\t\t\t\tmodule.add.label(value, value);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tmenu: function () {\r\n\t\t\t\t\t\t$menu = $(\"\").addClass(className.menu).appendTo($module);\r\n\t\t\t\t\t},\r\n\t\t\t\t\tsizer: function () {\r\n\t\t\t\t\t\t$sizer = $(\"\")\r\n\t\t\t\t\t\t\t.addClass(className.sizer)\r\n\t\t\t\t\t\t\t.insertAfter($search);\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\r\n\t\t\t\tsearch: function (query) {\r\n\t\t\t\t\tquery = query !== undefined ? query : module.get.query();\r\n\t\t\t\t\tmodule.verbose(\"Searching for query\", query);\r\n\t\t\t\t\tif (settings.fireOnInit === false && module.is.initialLoad()) {\r\n\t\t\t\t\t\tmodule.verbose(\r\n\t\t\t\t\t\t\t\"Skipping callback on initial load\",\r\n\t\t\t\t\t\t\tsettings.onSearch\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t} else if (\r\n\t\t\t\t\t\tmodule.has.minCharacters(query) &&\r\n\t\t\t\t\t\tsettings.onSearch.call(element, query) !== false\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tmodule.filter(query);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tmodule.hide(null, true);\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tselect: {\r\n\t\t\t\t\tfirstUnfiltered: function () {\r\n\t\t\t\t\t\tmodule.verbose(\"Selecting first non-filtered element\");\r\n\t\t\t\t\t\tmodule.remove.selectedItem();\r\n\t\t\t\t\t\t$item\r\n\t\t\t\t\t\t\t.not(selector.unselectable)\r\n\t\t\t\t\t\t\t.not(selector.addition + selector.hidden)\r\n\t\t\t\t\t\t\t.eq(0)\r\n\t\t\t\t\t\t\t.addClass(className.selected);\r\n\t\t\t\t\t},\r\n\t\t\t\t\tnextAvailable: function ($selected) {\r\n\t\t\t\t\t\t$selected = $selected.eq(0);\r\n\t\t\t\t\t\tvar $nextAvailable = $selected\r\n\t\t\t\t\t\t\t\t.nextAll(selector.item)\r\n\t\t\t\t\t\t\t\t.not(selector.unselectable)\r\n\t\t\t\t\t\t\t\t.eq(0),\r\n\t\t\t\t\t\t\t$prevAvailable = $selected\r\n\t\t\t\t\t\t\t\t.prevAll(selector.item)\r\n\t\t\t\t\t\t\t\t.not(selector.unselectable)\r\n\t\t\t\t\t\t\t\t.eq(0),\r\n\t\t\t\t\t\t\thasNext = $nextAvailable.length > 0;\r\n\t\t\t\t\t\tif (hasNext) {\r\n\t\t\t\t\t\t\tmodule.verbose(\"Moving selection to\", $nextAvailable);\r\n\t\t\t\t\t\t\t$nextAvailable.addClass(className.selected);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tmodule.verbose(\"Moving selection to\", $prevAvailable);\r\n\t\t\t\t\t\t\t$prevAvailable.addClass(className.selected);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\r\n\t\t\t\tsetup: {\r\n\t\t\t\t\tapi: function () {\r\n\t\t\t\t\t\tvar apiSettings = {\r\n\t\t\t\t\t\t\tdebug: settings.debug,\r\n\t\t\t\t\t\t\turlData: {\r\n\t\t\t\t\t\t\t\tvalue: module.get.value(),\r\n\t\t\t\t\t\t\t\tquery: module.get.query(),\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\ton: false,\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t\tmodule.verbose(\"First request, initializing API\");\r\n\t\t\t\t\t\t$module.api(apiSettings);\r\n\t\t\t\t\t},\r\n\t\t\t\t\tlayout: function () {\r\n\t\t\t\t\t\tif ($module.is(\"select\")) {\r\n\t\t\t\t\t\t\tmodule.setup.select();\r\n\t\t\t\t\t\t\tmodule.setup.returnedObject();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (!module.has.menu()) {\r\n\t\t\t\t\t\t\tmodule.create.menu();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (module.is.clearable() && !module.has.clearItem()) {\r\n\t\t\t\t\t\t\tmodule.verbose(\"Adding clear icon\");\r\n\t\t\t\t\t\t\t$clear = $(\"\").addClass(\"remove icon\").insertBefore($text);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (module.is.search() && !module.has.search()) {\r\n\t\t\t\t\t\t\tmodule.verbose(\"Adding search input\");\r\n\t\t\t\t\t\t\t$search = $(\"\")\r\n\t\t\t\t\t\t\t\t.addClass(className.search)\r\n\t\t\t\t\t\t\t\t.prop(\r\n\t\t\t\t\t\t\t\t\t\"autocomplete\",\r\n\t\t\t\t\t\t\t\t\tmodule.is.chrome() ? \"fomantic-search\" : \"off\"\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.insertBefore($text);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (\r\n\t\t\t\t\t\t\tmodule.is.multiple() &&\r\n\t\t\t\t\t\t\tmodule.is.searchSelection() &&\r\n\t\t\t\t\t\t\t!module.has.sizer()\r\n\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\tmodule.create.sizer();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (settings.allowTab) {\r\n\t\t\t\t\t\t\tmodule.set.tabbable();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tselect: function () {\r\n\t\t\t\t\t\tvar selectValues = module.get.selectValues();\r\n\t\t\t\t\t\tmodule.debug(\"Dropdown initialized on a select\", selectValues);\r\n\t\t\t\t\t\tif ($module.is(\"select\")) {\r\n\t\t\t\t\t\t\t$input = $module;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t// see if select is placed correctly already\r\n\t\t\t\t\t\tif ($input.parent(selector.dropdown).length > 0) {\r\n\t\t\t\t\t\t\tmodule.debug(\r\n\t\t\t\t\t\t\t\t\"UI dropdown already exists. Creating dropdown menu only\"\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t$module = $input.closest(selector.dropdown);\r\n\t\t\t\t\t\t\tif (!module.has.menu()) {\r\n\t\t\t\t\t\t\t\tmodule.create.menu();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t$menu = $module.children(selector.menu);\r\n\t\t\t\t\t\t\tmodule.setup.menu(selectValues);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tmodule.debug(\"Creating entire dropdown from select\");\r\n\t\t\t\t\t\t\t$module = $(\"\")\r\n\t\t\t\t\t\t\t\t.attr(\"class\", $input.attr(\"class\"))\r\n\t\t\t\t\t\t\t\t.addClass(className.selection)\r\n\t\t\t\t\t\t\t\t.addClass(className.dropdown) \r\n\t\t\t\t\t\t\t\t.html(\r\n\t\t\t\t\t\t\t\t\ttemplates.dropdown(\r\n\t\t\t\t\t\t\t\t\t\tselectValues,\r\n\t\t\t\t\t\t\t\t\t\tfields,\r\n\t\t\t\t\t\t\t\t\t\tsettings.preserveHTML,\r\n\t\t\t\t\t\t\t\t\t\tsettings.className\r\n\t\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.insertBefore($input);\r\n\t\t\t\t\t\t\tif (\r\n\t\t\t\t\t\t\t\t$input.hasClass(className.multiple) &&\r\n\t\t\t\t\t\t\t\t$input.prop(\"multiple\") === false\r\n\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\tmodule.error(error.missingMultiple);\r\n\t\t\t\t\t\t\t\t$input.prop(\"multiple\", true);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif ($input.is(\"[multiple]\")) {\r\n\t\t\t\t\t\t\t\tmodule.set.multiple();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif ($input.prop(\"disabled\")) {\r\n\t\t\t\t\t\t\t\tmodule.debug(\"Disabling dropdown\");\r\n\t\t\t\t\t\t\t\t$module.addClass(className.disabled);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t$input\r\n\t\t\t\t\t\t\t\t.removeAttr(\"required\")\r\n\t\t\t\t\t\t\t\t.removeAttr(\"class\")\r\n\t\t\t\t\t\t\t\t.detach()\r\n\t\t\t\t\t\t\t\t.prependTo($module);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tmodule.refresh();\r\n\t\t\t\t\t},\r\n\t\t\t\t\tmenu: function (values) {\r\n\t\t\t\t\t\t$menu.html(\r\n\t\t\t\t\t\t\ttemplates.menu(\r\n\t\t\t\t\t\t\t\tvalues,\r\n\t\t\t\t\t\t\t\tfields,\r\n\t\t\t\t\t\t\t\tsettings.preserveHTML,\r\n\t\t\t\t\t\t\t\tsettings.className\r\n\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\t$item = $menu.find(selector.item);\r\n\t\t\t\t\t\t$divider = settings.hideDividers\r\n\t\t\t\t\t\t\t? $item.parent().children(selector.divider)\r\n\t\t\t\t\t\t\t: $();\r\n\t\t\t\t\t},\r\n\t\t\t\t\treference: function () {\r\n\t\t\t\t\t\tmodule.debug(\r\n\t\t\t\t\t\t\t\"Dropdown behavior was called on select, replacing with closest dropdown\"\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\t// replace module reference\r\n\t\t\t\t\t\t$module = $module.parent(selector.dropdown);\r\n\t\t\t\t\t\tinstance = $module.data(moduleNamespace);\r\n\t\t\t\t\t\telement = $module.get(0);\r\n\t\t\t\t\t\tmodule.refresh();\r\n\t\t\t\t\t\tmodule.setup.returnedObject();\r\n\t\t\t\t\t},\r\n\t\t\t\t\treturnedObject: function () {\r\n\t\t\t\t\t\tvar $firstModules = $allModules.slice(0, elementIndex),\r\n\t\t\t\t\t\t\t$lastModules = $allModules.slice(elementIndex + 1);\r\n\t\t\t\t\t\t// adjust all modules to use correct reference\r\n\t\t\t\t\t\t$allModules = $firstModules.add($module).add($lastModules);\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\r\n\t\t\t\trefresh: function () {\r\n\t\t\t\t\tmodule.refreshSelectors();\r\n\t\t\t\t\tmodule.refreshData();\r\n\t\t\t\t},\r\n\r\n\t\t\t\trefreshItems: function () {\r\n\t\t\t\t\t$item = $menu.find(selector.item);\r\n\t\t\t\t\t$divider = settings.hideDividers\r\n\t\t\t\t\t\t? $item.parent().children(selector.divider)\r\n\t\t\t\t\t\t: $();\r\n\t\t\t\t},\r\n\r\n\t\t\t\trefreshSelectors: function () {\r\n\t\t\t\t\tmodule.verbose(\"Refreshing selector cache\");\r\n\t\t\t\t\t$text = $module.find(selector.text);\r\n\t\t\t\t\t$search = $module.find(selector.search);\r\n\t\t\t\t\t$input = $module.find(selector.input);\r\n\t\t\t\t\t$icon = $module.find(selector.icon);\r\n\t\t\t\t\t$combo =\r\n\t\t\t\t\t\t$module.prev().find(selector.text).length > 0\r\n\t\t\t\t\t\t\t? $module.prev().find(selector.text)\r\n\t\t\t\t\t\t\t: $module.prev();\r\n\t\t\t\t\t$menu = $module.children(selector.menu);\r\n\t\t\t\t\t$item = $menu.find(selector.item);\r\n\t\t\t\t\t$divider = settings.hideDividers\r\n\t\t\t\t\t\t? $item.parent().children(selector.divider)\r\n\t\t\t\t\t\t: $();\r\n\t\t\t\t},\r\n\r\n\t\t\t\trefreshData: function () {\r\n\t\t\t\t\tmodule.verbose(\"Refreshing cached metadata\");\r\n\t\t\t\t\t$item.removeData(metadata.text).removeData(metadata.value);\r\n\t\t\t\t},\r\n\r\n\t\t\t\tclearData: function () {\r\n\t\t\t\t\tmodule.verbose(\"Clearing metadata\");\r\n\t\t\t\t\t$item.removeData(metadata.text).removeData(metadata.value);\r\n\t\t\t\t\t$module\r\n\t\t\t\t\t\t.removeData(metadata.defaultText)\r\n\t\t\t\t\t\t.removeData(metadata.defaultValue)\r\n\t\t\t\t\t\t.removeData(metadata.placeholderText);\r\n\t\t\t\t},\r\n\r\n\t\t\t\tclearItems: function () {\r\n\t\t\t\t\t$menu.empty();\r\n\t\t\t\t\tmodule.refreshItems();\r\n\t\t\t\t},\r\n\r\n\t\t\t\ttoggle: function () {\r\n\t\t\t\t\tmodule.verbose(\"Toggling menu visibility\");\r\n\t\t\t\t\tif (!module.is.active()) {\r\n\t\t\t\t\t\tmodule.show();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tmodule.hide();\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tshow: function (callback, preventFocus) {\r\n\t\t\t\t\tcallback = $.isFunction(callback) ? callback : function () {};\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\t(focused || iconClicked) &&\r\n\t\t\t\t\t\tmodule.is.remote() &&\r\n\t\t\t\t\t\tmodule.is.noApiCache()\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tmodule.clearItems();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (!module.can.show() && module.is.remote()) {\r\n\t\t\t\t\t\tmodule.debug(\"No API results retrieved, searching before show\");\r\n\t\t\t\t\t\tmodule.queryRemote(module.get.query(), module.show, [\r\n\t\t\t\t\t\t\tcallback,\r\n\t\t\t\t\t\t\tpreventFocus,\r\n\t\t\t\t\t\t]);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (module.can.show() && !module.is.active()) {\r\n\t\t\t\t\t\tmodule.debug(\"Showing dropdown\");\r\n\t\t\t\t\t\tif (\r\n\t\t\t\t\t\t\tmodule.has.message() &&\r\n\t\t\t\t\t\t\t!(module.has.maxSelections() || module.has.allResultsFiltered())\r\n\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\tmodule.remove.message();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (module.is.allFiltered()) {\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (settings.onShow.call(element) !== false) {\r\n\t\t\t\t\t\t\tmodule.animate.show(function () {\r\n\t\t\t\t\t\t\t\tif (module.can.click()) {\r\n\t\t\t\t\t\t\t\t\tmodule.bind.intent();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif (module.has.search() && !preventFocus) {\r\n\t\t\t\t\t\t\t\t\tmodule.focusSearch();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tmodule.set.visible();\r\n\t\t\t\t\t\t\t\tcallback.call(element);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\thide: function (callback, preventBlur) {\r\n\t\t\t\t\tcallback = $.isFunction(callback) ? callback : function () {};\r\n\t\t\t\t\tif (module.is.active() && !module.is.animatingOutward()) {\r\n\t\t\t\t\t\tmodule.debug(\"Hiding dropdown\");\r\n\t\t\t\t\t\tif (settings.onHide.call(element) !== false) {\r\n\t\t\t\t\t\t\tmodule.animate.hide(function () {\r\n\t\t\t\t\t\t\t\tmodule.remove.visible();\r\n\t\t\t\t\t\t\t\t// hiding search focus\r\n\t\t\t\t\t\t\t\tif (module.is.focusedOnSearch() && preventBlur !== true) {\r\n\t\t\t\t\t\t\t\t\t$search.blur();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tcallback.call(element);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if (module.can.click()) {\r\n\t\t\t\t\t\tmodule.unbind.intent();\r\n\t\t\t\t\t}\r\n\t\t\t\t\ticonClicked = false;\r\n\t\t\t\t\tfocused = false;\r\n\t\t\t\t},\r\n\r\n\t\t\t\thideOthers: function () {\r\n\t\t\t\t\tmodule.verbose(\"Finding other dropdowns to hide\");\r\n\t\t\t\t\t$allModules\r\n\t\t\t\t\t\t.not($module)\r\n\t\t\t\t\t\t.has(selector.menu + \".\" + className.visible)\r\n\t\t\t\t\t\t.suidropdown(\"hide\");\r\n\t\t\t\t},\r\n\r\n\t\t\t\thideMenu: function () {\r\n\t\t\t\t\tmodule.verbose(\"Hiding menu instantaneously\");\r\n\t\t\t\t\tmodule.remove.active();\r\n\t\t\t\t\tmodule.remove.visible();\r\n\t\t\t\t\t$menu.transition(\"hide\");\r\n\t\t\t\t},\r\n\r\n\t\t\t\thideSubMenus: function () {\r\n\t\t\t\t\tvar $subMenus = $menu.children(selector.item).find(selector.menu);\r\n\t\t\t\t\tmodule.verbose(\"Hiding sub menus\", $subMenus);\r\n\t\t\t\t\t$subMenus.transition(\"hide\");\r\n\t\t\t\t},\r\n\r\n\t\t\t\tbind: {\r\n\t\t\t\t\tevents: function () {\r\n\t\t\t\t\t\tmodule.bind.keyboardEvents();\r\n\t\t\t\t\t\tmodule.bind.inputEvents();\r\n\t\t\t\t\t\tmodule.bind.mouseEvents();\r\n\t\t\t\t\t},\r\n\t\t\t\t\tkeyboardEvents: function () {\r\n\t\t\t\t\t\tmodule.verbose(\"Binding keyboard events\");\r\n\t\t\t\t\t\t$module.on(\"keydown\" + eventNamespace, module.event.keydown);\r\n\t\t\t\t\t\tif (module.has.search()) {\r\n\t\t\t\t\t\t\t$module.on(\r\n\t\t\t\t\t\t\t\tmodule.get.inputEvent() + eventNamespace,\r\n\t\t\t\t\t\t\t\tselector.search,\r\n\t\t\t\t\t\t\t\tmodule.event.input\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (module.is.multiple()) {\r\n\t\t\t\t\t\t\t$document.on(\r\n\t\t\t\t\t\t\t\t\"keydown\" + elementNamespace,\r\n\t\t\t\t\t\t\t\tmodule.event.document.keydown\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tinputEvents: function () {\r\n\t\t\t\t\t\tmodule.verbose(\"Binding input change events\");\r\n\t\t\t\t\t\t$module.on(\r\n\t\t\t\t\t\t\t\"change\" + eventNamespace,\r\n\t\t\t\t\t\t\tselector.input,\r\n\t\t\t\t\t\t\tmodule.event.change\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t},\r\n\t\t\t\t\tmouseEvents: function () {\r\n\t\t\t\t\t\tmodule.verbose(\"Binding mouse events\");\r\n\t\t\t\t\t\tif (module.is.multiple()) {\r\n\t\t\t\t\t\t\t$module\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\tclickEvent + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.label,\r\n\t\t\t\t\t\t\t\t\tmodule.event.label.click\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\tclickEvent + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.remove,\r\n\t\t\t\t\t\t\t\t\tmodule.event.remove.click\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (module.is.searchSelection()) {\r\n\t\t\t\t\t\t\t$module\r\n\t\t\t\t\t\t\t\t.on(\"mousedown\" + eventNamespace, module.event.mousedown)\r\n\t\t\t\t\t\t\t\t.on(\"mouseup\" + eventNamespace, module.event.mouseup)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\t\"mousedown\" + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.menu,\r\n\t\t\t\t\t\t\t\t\tmodule.event.menu.mousedown\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\t\"mouseup\" + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.menu,\r\n\t\t\t\t\t\t\t\t\tmodule.event.menu.mouseup\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\tclickEvent + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.icon,\r\n\t\t\t\t\t\t\t\t\tmodule.event.icon.click\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\tclickEvent + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.clearIcon,\r\n\t\t\t\t\t\t\t\t\tmodule.event.clearIcon.click\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\t\"focus\" + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.search,\r\n\t\t\t\t\t\t\t\t\tmodule.event.search.focus\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\tclickEvent + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.search,\r\n\t\t\t\t\t\t\t\t\tmodule.event.search.focus\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\t\"blur\" + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.search,\r\n\t\t\t\t\t\t\t\t\tmodule.event.search.blur\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\tclickEvent + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.text,\r\n\t\t\t\t\t\t\t\t\tmodule.event.text.focus\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\tif (module.is.multiple()) {\r\n\t\t\t\t\t\t\t\t$module\r\n\t\t\t\t\t\t\t\t\t.on(clickEvent + eventNamespace, module.event.click)\r\n\t\t\t\t\t\t\t\t\t.on(clickEvent + eventNamespace, module.event.search.focus);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif (settings.on == \"click\") {\r\n\t\t\t\t\t\t\t\t$module\r\n\t\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\t\tclickEvent + eventNamespace,\r\n\t\t\t\t\t\t\t\t\t\tselector.icon,\r\n\t\t\t\t\t\t\t\t\t\tmodule.event.icon.click\r\n\t\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t\t.on(clickEvent + eventNamespace, module.event.test.toggle);\r\n\t\t\t\t\t\t\t} else if (settings.on == \"hover\") {\r\n\t\t\t\t\t\t\t\t$module\r\n\t\t\t\t\t\t\t\t\t.on(\"mouseenter\" + eventNamespace, module.delay.show)\r\n\t\t\t\t\t\t\t\t\t.on(\"mouseleave\" + eventNamespace, module.delay.hide);\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t$module.on(settings.on + eventNamespace, module.toggle);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t$module\r\n\t\t\t\t\t\t\t\t.on(\"mousedown\" + eventNamespace, module.event.mousedown)\r\n\t\t\t\t\t\t\t\t.on(\"mouseup\" + eventNamespace, module.event.mouseup)\r\n\t\t\t\t\t\t\t\t.on(\"focus\" + eventNamespace, module.event.focus)\r\n\t\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\tclickEvent + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.clearIcon,\r\n\t\t\t\t\t\t\t\t\tmodule.event.clearIcon.click\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\tif (module.has.menuSearch()) {\r\n\t\t\t\t\t\t\t\t$module.on(\r\n\t\t\t\t\t\t\t\t\t\"blur\" + eventNamespace,\r\n\t\t\t\t\t\t\t\t\tselector.search,\r\n\t\t\t\t\t\t\t\t\tmodule.event.search.blur\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t$module.on(\"blur\" + eventNamespace, module.event.blur);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t$menu\r\n\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t(hasTouch ? \"touchstart\" : \"mouseenter\") + eventNamespace,\r\n\t\t\t\t\t\t\t\tselector.item,\r\n\t\t\t\t\t\t\t\tmodule.event.item.mouseenter\r\n\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\"mouseleave\" + eventNamespace,\r\n\t\t\t\t\t\t\t\tselector.item,\r\n\t\t\t\t\t\t\t\tmodule.event.item.mouseleave\r\n\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t.on(\r\n\t\t\t\t\t\t\t\t\"click\" + eventNamespace,\r\n\t\t\t\t\t\t\t\tselector.item,\r\n\t\t\t\t\t\t\t\tmodule.event.item.click\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t},\r\n\t\t\t\t\tintent: function () {\r\n\t\t\t\t\t\tmodule.verbose(\"Binding hide intent event to document\");\r\n\t\t\t\t\t\tif (hasTouch) {\r\n\t\t\t\t\t\t\t$document\r\n\t\t\t\t\t\t\t\t.on(\"touchstart\" + elementNamespace, module.event.test.touch)\r\n\t\t\t\t\t\t\t\t.on(\"touchmove\" + elementNamespace, module.event.test.touch);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t$document.on(clickEvent + elementNamespace, module.event.test.hide);\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\r\n\t\t\t\tunbind: {\r\n\t\t\t\t\tintent: function () {\r\n\t\t\t\t\t\tmodule.verbose(\"Removing hide intent event from document\");\r\n\t\t\t\t\t\tif (hasTouch) {\r\n\t\t\t\t\t\t\t$document\r\n\t\t\t\t\t\t\t\t.off(\"touchstart\" + elementNamespace)\r\n\t\t\t\t\t\t\t\t.off(\"touchmove\" + elementNamespace);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t$document.off(clickEvent + elementNamespace);\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\r\n\t\t\t\tfilter: function (query) {\r\n\t\t\t\t\tvar searchTerm = query !== undefined ? query : module.get.query(),\r\n\t\t\t\t\t\tafterFiltered = function () {\r\n\t\t\t\t\t\t\tif (module.is.multiple()) {\r\n\t\t\t\t\t\t\t\tmodule.filterActive();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (query || (!query && module.get.activeItem().length == 0)) {\r\n\t\t\t\t\t\t\t\tmodule.select.firstUnfiltered();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (module.has.allResultsFiltered()) {\r\n\t\t\t\t\t\t\t\tif (settings.onNoResults.call(element, searchTerm)) {\r\n\t\t\t\t\t\t\t\t\tif (settings.allowAdditions) {\r\n\t\t\t\t\t\t\t\t\t\tif (settings.hideAdditions) {\r\n\t\t\t\t\t\t\t\t\t\t\tmodule.verbose(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\"User addition with no menu, setting empty style\"\r\n\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\tmodule.set.empty();\r\n\t\t\t\t\t\t\t\t\t\t\tmodule.hideMenu();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tmodule.verbose(\r\n\t\t\t\t\t\t\t\t\t\t\t\"All items filtered, showing message\",\r\n\t\t\t\t\t\t\t\t\t\t\tsearchTerm\r\n\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\tmodule.add.message(message.noResults);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tmodule.verbose(\r\n\t\t\t\t\t\t\t\t\t\t\"All items filtered, hiding dropdown\",\r\n\t\t\t\t\t\t\t\t\t\tsearchTerm\r\n\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\tmodule.hideMenu();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tmodule.remove.empty();\r\n\t\t\t\t\t\t\t\tmodule.remove.message();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (settings.allowAdditions) { \r\n\t\t\t\t\t\t\t\tmodule.add.userSuggestion(module.escape.htmlEntities(query));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (\r\n\t\t\t\t\t\t\t\tmodule.is.searchSelection() &&\r\n\t\t\t\t\t\t\t\tmodule.can.show() &&\r\n\t\t\t\t\t\t\t\tmodule.is.focusedOnSearch()\r\n\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\tmodule.show();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\tif (settings.useLabels && module.has.maxSelections()) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (settings.apiSettings) {\r\n\t\t\t\t\t\tif (module.can.useAPI()) {\r\n\t\t\t\t\t\t\tmodule.queryRemote(searchTerm, function () {\r\n\t\t\t\t\t\t\t\tif (settings.filterRemoteData) {\r\n\t\t\t\t\t\t\t\t\tmodule.filterItems(searchTerm);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tvar preSelected = $input.val();\r\n\t\t\t\t\t\t\t\tif (!Array.isArray(preSelected)) {\r\n\t\t\t\t\t\t\t\t\tpreSelected =\r\n\t\t\t\t\t\t\t\t\t\tpreSelected && preSelected !== \"\"\r\n\t\t\t\t\t\t\t\t\t\t\t? preSelected.split(settings.delimiter)\r\n\t\t\t\t\t\t\t\t\t\t\t: [];\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif (module.is.multiple()) {\r\n\t\t\t\t\t\t\t\t\t$.each(preSelected, function (index, value) {\r\n\t\t\t\t\t\t\t\t\t\t$item\r\n\t\t\t\t\t\t\t\t\t\t\t.filter('[data-value=\"' + value + '\"]')\r\n\t\t\t\t\t\t\t\t\t\t\t.addClass(className.filtered);\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tmodule.focusSearch(true);\r\n\t\t\t\t\t\t\t\tafterFiltered();\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tmodule.error(error.noAPI);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tmodule.filterItems(searchTerm);\r\n\t\t\t\t\t\tafterFiltered();\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tqueryRemote: function (query, callback, callbackParameters) {\r\n\t\t\t\t\tif (!Array.isArray(callbackParameters)) {\r\n\t\t\t\t\t\tcallbackParameters = [callbackParameters];\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvar apiSettings = {\r\n\t\t\t\t\t\terrorDuration: false,\r\n\t\t\t\t\t\tcache: \"local\",\r\n\t\t\t\t\t\tthrottle: settings.throttle,\r\n\t\t\t\t\t\turlData: {\r\n\t\t\t\t\t\t\tquery: query,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tonError: function () {\r\n\t\t\t\t\t\t\tmodule.add.message(message.serverError);\r\n\t\t\t\t\t\t\ticonClicked = false;\r\n\t\t\t\t\t\t\tfocused = false;\r\n\t\t\t\t\t\t\tcallback.apply(null, callbackParameters);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tonFailure: function () {\r\n\t\t\t\t\t\t\tmodule.add.message(message.serverError);\r\n\t\t\t\t\t\t\ticonClicked = false;\r\n\t\t\t\t\t\t\tfocused = false;\r\n\t\t\t\t\t\t\tcallback.apply(null, callbackParameters);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tonSuccess: function (response) {\r\n\t\t\t\t\t\t\tvar values = response[fields.remoteValues];\r\n\t\t\t\t\t\t\tif (!Array.isArray(values)) {\r\n\t\t\t\t\t\t\t\tvalues = [];\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tmodule.remove.message();\r\n\t\t\t\t\t\t\tvar menuConfig = {};\r\n\t\t\t\t\t\t\tmenuConfig[fields.values] = values;\r\n\t\t\t\t\t\t\tmodule.setup.menu(menuConfig);\r\n\r\n\t\t\t\t\t\t\tif (values.length === 0 && !settings.allowAdditions) {\r\n\t\t\t\t\t\t\t\tmodule.add.message(message.noResults);\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tvar value = module.is.multiple()\r\n\t\t\t\t\t\t\t\t\t? module.get.values()\r\n\t\t\t\t\t\t\t\t\t: module.get.value();\r\n\t\t\t\t\t\t\t\tif (value !== \"\") {\r\n\t\t\t\t\t\t\t\t\tmodule.verbose(\r\n\t\t\t\t\t\t\t\t\t\t\"Value(s) present after click icon, select value(s) in items\"\r\n\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\tmodule.set.selected(value, null, null, true);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\ticonClicked = false;\r\n\t\t\t\t\t\t\tfocused = false;\r\n\t\t\t\t\t\t\tcallback.apply(null, callbackParameters);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t};\r\n\t\t\t\t\tif (!$module.api(\"get request\")) {\r\n\t\t\t\t\t\tmodule.setup.api();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tapiSettings = $.extend(true, {}, apiSettings, settings.apiSettings);\r\n\t\t\t\t\t$module.api(\"setting\", apiSettings).api(\"query\");\r\n\t\t\t\t},\r\n\r\n\t\t\t\tfilterItems: function (query) {\r\n\t\t\t\t\tvar searchTerm = module.remove.diacritics(\r\n\t\t\t\t\t\t\tquery !== undefined ? query : module.get.query()\r\n\t\t\t\t\t\t),\r\n\t\t\t\t\t\tresults = null,\r\n\t\t\t\t\t\tescapedTerm = module.escape.string(searchTerm),\r\n\t\t\t\t\t\tregExpFlags = (settings.ignoreSearchCase ? \"i\" : \"\") + \"gm\",\r\n\t\t\t\t\t\tbeginsWithRegExp = new RegExp(\"^\" + escapedTerm, regExpFlags);\r\n\t\t\t\t\t// avoid loop if we're matching nothing\r\n\t\t\t\t\tif (module.has.query()) {\r\n\t\t\t\t\t\tresults = [];\r\n\r\n\t\t\t\t\t\tmodule.verbose(\"Searching for matching values\", searchTerm);\r\n\t\t\t\t\t\t$item.each(function () {\r\n\t\t\t\t\t\t\tvar $choice = $(this),\r\n\t\t\t\t\t\t\t\ttext,\r\n\t\t\t\t\t\t\t\tvalue;\r\n\t\t\t\t\t\t\tif ($choice.hasClass(className.unfilterable)) {\r\n\t\t\t\t\t\t\t\tresults.push(this);\r\n\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (settings.match === \"both\" || settings.match === \"text\") {\r\n\t\t\t\t\t\t\t\ttext = module.remove.diacritics(\r\n\t\t\t\t\t\t\t\t\tString(module.get.choiceText($choice, false))\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\tif (text.search(beginsWithRegExp) !== -1) {\r\n\t\t\t\t\t\t\t\t\tresults.push(this);\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t} else if (\r\n\t\t\t\t\t\t\t\t\tsettings.fullTextSearch === \"exact\" &&\r\n\t\t\t\t\t\t\t\t\tmodule.exactSearch(searchTerm, text)\r\n\t\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\t\tresults.push(this);\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t} else if (\r\n\t\t\t\t\t\t\t\t\tsettings.fullTextSearch === true &&\r\n\t\t\t\t\t\t\t\t\tmodule.fuzzySearch(searchTerm, text)\r\n\t\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\t\tresults.push(this);\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (settings.match === \"both\" || settings.match === \"value\") {\r\n\t\t\t\t\t\t\t\tvalue = module.remove.diacritics(\r\n\t\t\t\t\t\t\t\t\tString(module.get.choiceValue($choice, text))\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\tif (value.search(beginsWithRegExp) !== -1) {\r\n\t\t\t\t\t\t\t\t\tresults.push(this);\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t} else if (\r\n\t\t\t\t\t\t\t\t\tsettings.fullTextSearch === \"exact\" &&\r\n\t\t\t\t\t\t\t\t\tmodule.exactSearch(searchTerm, value)\r\n\t\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\t\tresults.push(this);\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t} else if (\r\n\t\t\t\t\t\t\t\t\tsettings.fullTextSearch === true &&\r\n\t\t\t\t\t\t\t\t\tmodule.fuzzySearch(searchTerm, value)\r\n\t\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\t\tresults.push(this);\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t\tmodule.debug(\"Showing only matched items\", searchTerm);\r\n\t\t\t\t\tmodule.remove.filteredItem();\r\n\t\t\t\t\tif (results) {\r\n\t\t\t\t\t\t$item.not(results).addClass(className.filtered);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (!module.has.query()) {\r\n\t\t\t\t\t\t$divider.removeClass(className.hidden);\r\n\t\t\t\t\t} else if (settings.hideDividers === true) {\r\n\t\t\t\t\t\t$divider.addClass(className.hidden);\r\n\t\t\t\t\t} else if (settings.hideDividers === \"empty\") {\r\n\t\t\t\t\t\t$divider\r\n\t\t\t\t\t\t\t.removeClass(className.hidden)\r\n\t\t\t\t\t\t\t.filter(function () {\r\n\t\t\t\t\t\t\t\t// First find the last divider in this divider group\r\n\t\t\t\t\t\t\t\t// Dividers which are direct siblings are considered a group\r\n\t\t\t\t\t\t\t\tvar lastDivider = $(this).nextUntil(selector.item);\r\n\r\n\t\t\t\t\t\t\t\treturn (\r\n\t\t\t\t\t\t\t\t\t// Hide divider if no items are found\r\n\t\t\t\t\t\t\t\t\t(lastDivider.length ? lastDivider : $(this))\r\n\t\t\t\t\t\t\t\t\t\t// Count all non-filtered items until the next divider (or end of the dropdown)\r\n\t\t\t\t\t\t\t\t\t\t.nextUntil(selector.divider)\r\n\t\t\t\t\t\t\t\t\t\t.filter(selector.item + \":not(.\" + className.filtered + \")\")\r\n\t\t\t\t\t\t\t\t\t\t.length === 0\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t.addClass(className.hidden);\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tfuzzySearch: function (query, term) {\r\n\t\t\t\t\tvar termLength = term.length,\r\n\t\t\t\t\t\tqueryLength = query.length;\r\n\t\t\t\t\tquery = settings.ignoreSearchCase ? query.toLowerCase() : query;\r\n\t\t\t\t\tterm = settings.ignoreSearchCase ? term.toLowerCase() : term;\r\n\t\t\t\t\tif (queryLength > termLength) {\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (queryLength === termLength) {\r\n\t\t\t\t\t\treturn query === term;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tsearch: for (\r\n\t\t\t\t\t\tvar characterIndex = 0, nextCharacterIndex = 0;\r\n\t\t\t\t\t\tcharacterIndex < queryLength;\r\n\t\t\t\t\t\tcharacterIndex++\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tvar queryCharacter = query.charCodeAt(characterIndex);\r\n\t\t\t\t\t\twhile (nextCharacterIndex < termLength) {\r\n\t\t\t\t\t\t\tif (term.charCodeAt(nextCharacterIndex++) === queryCharacter) {\r\n\t\t\t\t\t\t\t\tcontinue search;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t},\r\n\t\t\t\texactSearch: function (query, term) {\r\n\t\t\t\t\tquery = settings.ignoreSearchCase ? query.toLowerCase() : query;\r\n\t\t\t\t\tterm = settings.ignoreSearchCase ? term.toLowerCase() : term;\r\n\t\t\t\t\treturn term.indexOf(query) > -1;\r\n\t\t\t\t},\r\n\t\t\t\tfilterActive: function () {\r\n\t\t\t\t\tif (settings.useLabels) {\r\n\t\t\t\t\t\t$item.filter(\".\" + className.active).addClass(className.filtered);\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tfocusSearch: function (skipHandler) {\r\n\t\t\t\t\tif (module.has.search() && !module.is.focusedOnSearch()) {\r\n\t\t\t\t\t\tif (skipHandler) {\r\n\t\t\t\t\t\t\t$module.off(\"focus\" + eventNamespace, selector.search);\r\n\t\t\t\t\t\t\t$search.focus();\r\n\t\t\t\t\t\t\t$module.on(\r\n\t\t\t\t\t\t\t\t\"focus\" + eventNamespace,\r\n\t\t\t\t\t\t\t\tselector.search,\r\n\t\t\t\t\t\t\t\tmodule.event.search.focus\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t$search.focus();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tblurSearch: function () {\r\n\t\t\t\t\tif (module.has.search()) {\r\n\t\t\t\t\t\t$search.blur();\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tforceSelection: function () {\r\n\t\t\t\t\tvar $currentlySelected = $item\r\n\t\t\t\t\t\t\t.not(className.filtered)\r\n\t\t\t\t\t\t\t.filter(\".\" + className.selected)\r\n\t\t\t\t\t\t\t.eq(0),\r\n\t\t\t\t\t\t$activeItem = $item\r\n\t\t\t\t\t\t\t.not(className.filtered)\r\n\t\t\t\t\t\t\t.filter(\".\" + className.active)\r\n\t\t\t\t\t\t\t.eq(0),\r\n\t\t\t\t\t\t$selectedItem =\r\n\t\t\t\t\t\t\t$currentlySelected.length > 0 ? $currentlySelected : $activeItem,\r\n\t\t\t\t\t\thasSelected = $selectedItem.length > 0;\r\n\t\t\t\t\tif (\r\n\t\t\t\t\t\tsettings.allowAdditions ||\r\n\t\t\t\t\t\t(hasSelected && !module.is.multiple())\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t\tmodule.debug(\r\n\t\t\t\t\t\t\t\"Forcing partial selection to selected item\",\r\n\t\t\t\t\t\t\t$selectedItem\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\tmodule.event.item.click.call($selectedItem, {}, true);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tmodule.remove.searchTerm();\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\r\n\t\t\t\tchange: {\r\n\t\t\t\t\tvalues: function (values) {\r\n\t\t\t\t\t\tif (!settings.allowAdditions) {\r\n\t\t\t\t\t\t\tmodule.clear();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tmodule.debug(\"Creating dropdown with specified values\", values);\r\n\t\t\t\t\t\tvar menuConfig = {};\r\n\t\t\t\t\t\tmenuConfig[fields.values] = values;\r\n\t\t\t\t\t\tmodule.setup.menu(menuConfig);\r\n\t\t\t\t\t\t$.each(values, function (index, item) {\r\n\t\t\t\t\t\t\tif (item.selected == true) {\r\n\t\t\t\t\t\t\t\tmodule.debug(\r\n\t\t\t\t\t\t\t\t\t\"Setting initial selection to\",\r\n\t\t\t\t\t\t\t\t\titem[fields.value]\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\tmodule.set.selected(item[fields.value]);\r\n\t\t\t\t\t\t\t\tif (!module.is.multiple()) {\r\n\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\tif (module.has.selectInput()) {\r\n\t\t\t\t\t\t\tmodule.disconnect.selectObserver();\r\n\t\t\t\t\t\t\t$input.html(\"\");\r\n\t\t\t\t\t\t\t$input.append(\"\");\r\n\t\t\t\t\t\t\t$.each(values, function (index, item) {\r\n\t\t\t\t\t\t\t\tvar value = settings.templates.deQuote(item[fields.value]),\r\n\t\t\t\t\t\t\t\t\tname = settings.templates.escape(\r\n\t\t\t\t\t\t\t\t\t\titem[fields.name] || \"\",\r\n\t\t\t\t\t\t\t\t\t\tsettings.preserveHTML\r\n\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t$input.append(\r\n\t\t\t\t\t\t\t\t\t'\"\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tmodule.observe.select();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\r\n\t\t\t\tevent: {\r\n\t\t\t\t\tchange: function () {\r\n\t\t\t\t\t\tif (!internalChange) {\r\n\t\t\t\t\t\t\tmodule.debug(\"Input changed, updating selection\");\r\n\t\t\t\t\t\t\tmodule.set.selected();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfocus: function () {\r\n\t\t\t\t\t\tif (\r\n\t\t\t\t\t\t\tsettings.showOnFocus &&\r\n\t\t\t\t\t\t\t!activated &&\r\n\t\t\t\t\t\t\tmodule.is.hidden() &&\r\n\t\t\t\t\t\t\t!pageLostFocus\r\n\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\tfocused = true;\r\n\t\t\t\t\t\t\tmodule.show();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tblur: function (event) {\r\n\t\t\t\t\t\tpageLostFocus = document.activeElement === this;\r\n\t\t\t\t\t\tif (!activated && !pageLostFocus) {\r\n\t\t\t\t\t\t\tmodule.remove.activeLabel();\r\n\t\t\t\t\t\t\tmodule.hide();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tmousedown: function () {\r\n\t\t\t\t\t\tif (module.is.searchSelection()) {\r\n\t\t\t\t\t\t\t// prevent menu hiding on immediate re-focus\r\n\t\t\t\t\t\t\twillRefocus = true;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// prevents focus callback from occurring on mousedown\r\n\t\t\t\t\t\t\tactivated = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tmouseup: function () {\r\n\t\t\t\t\t\tif (module.is.searchSelection()) {\r\n\t\t\t\t\t\t\t// prevent menu hiding on immediate re-focus\r\n\t\t\t\t\t\t\twillRefocus = false;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tactivated = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tclick: function (event) {\r\n\t\t\t\t\t\tvar $target = $(event.target);\r\n\t\t\t\t\t\t// focus search\r\n\t\t\t\t\t\tif ($target.is($module)) {\r\n\t\t\t\t\t\t\tif (!module.is.focusedOnSearch()) {\r\n\t\t\t\t\t\t\t\tmodule.focusSearch();\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tmodule.show();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tsearch: {\r\n\t\t\t\t\t\tfocus: function (event) {\r\n\t\t\t\t\t\t\tactivated = true;\r\n\t\t\t\t\t\t\tif (module.is.multiple()) {\r\n\t\t\t\t\t\t\t\tmodule.remove.activeLabel();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (\r\n\t\t\t\t\t\t\t\t/* jpw - this broke touch search dropdowns\r\n !focused &&\r\n\t\t\t\t\t\t\t\t!module.is.active() &&*/\r\n\t\t\t\t\t\t\t\t(settings.showOnFocus ||\r\n\t\t\t\t\t\t\t\t\t(event.type !== \"focus\" && event.type !== \"focusin\"))\r\n\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\tfocused = true;\r\n\t\t\t\t\t\t\t\tmodule.search();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tblur: function (event) {\r\n\t\t\t\t\t\t\tpageLostFocus = document.activeElement === this;\r\n\t\t\t\t\t\t\tif (module.is.searchSelection() && !willRefocus) {\r\n\t\t\t\t\t\t\t\tif (!itemActivated && !pageLostFocus) {\r\n\t\t\t\t\t\t\t\t\tif (settings.forceSelection) {\r\n\t\t\t\t\t\t\t\t\t\tmodule.forceSelection();\r\n\t\t\t\t\t\t\t\t\t} else if (!settings.allowAdditions) {\r\n\t\t\t\t\t\t\t\t\t\tmodule.remove.searchTerm();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tmodule.hide();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\twillRefocus = false;\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\tclearIcon: {\r\n\t\t\t\t\t\tclick: function (event) {\r\n\t\t\t\t\t\t\tmodule.clear();\r\n\t\t\t\t\t\t\tif (module.is.searchSelection()) {\r\n\t\t\t\t\t\t\t\tmodule.remove.searchTerm();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tmodule.hide();\r\n\t\t\t\t\t\t\tevent.stopPropagation();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\ticon: {\r\n\t\t\t\t\t\tclick: function (event) {\r\n\t\t\t\t\t\t\ticonClicked = true;\r\n\t\t\t\t\t\t\tif (module.has.search()) {\r\n\t\t\t\t\t\t\t\tif (!module.is.active()) {\r\n\t\t\t\t\t\t\t\t\tif (settings.showOnFocus) {\r\n\t\t\t\t\t\t\t\t\t\tmodule.focusSearch();\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tmodule.toggle();\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tmodule.blurSearch();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tmodule.toggle();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tevent.stopPropagation();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\ttext: {\r\n\t\t\t\t\t\tfocus: function (event) {\r\n\t\t\t\t\t\t\tactivated = true;\r\n\t\t\t\t\t\t\tmodule.focusSearch();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\tinput: function (event) {\r\n\t\t\t\t\t\tif (module.is.multiple() || module.is.searchSelection()) {\r\n\t\t\t\t\t\t\tmodule.set.filtered();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tclearTimeout(module.timer);\r\n\t\t\t\t\t\tmodule.timer = setTimeout(module.search, settings.delay.search);\r\n\t\t\t\t\t},\r\n\t\t\t\t\tlabel: {\r\n\t\t\t\t\t\tclick: function (event) {\r\n\t\t\t\t\t\t\tvar $label = $(this),\r\n\t\t\t\t\t\t\t\t$labels = $module.find(selector.label),\r\n\t\t\t\t\t\t\t\t$activeLabels = $labels.filter(\".\" + className.active),\r\n\t\t\t\t\t\t\t\t$nextActive = $label.nextAll(\".\" + className.active),\r\n\t\t\t\t\t\t\t\t$prevActive = $label.prevAll(\".\" + className.active),\r\n\t\t\t\t\t\t\t\t$range =\r\n\t\t\t\t\t\t\t\t\t$nextActive.length > 0\r\n\t\t\t\t\t\t\t\t\t\t? $label\r\n\t\t\t\t\t\t\t\t\t\t\t\t.nextUntil($nextActive)\r\n\t\t\t\t\t\t\t\t\t\t\t\t.add($activeLabels)\r\n\t\t\t\t\t\t\t\t\t\t\t\t.add($label)\r\n\t\t\t\t\t\t\t\t\t\t: $label\r\n\t\t\t\t\t\t\t\t\t\t\t\t.prevUntil($prevActive)\r\n\t\t\t\t\t\t\t\t\t\t\t\t.add($activeLabels)\r\n\t\t\t\t\t\t\t\t\t\t\t\t.add($label);\r\n\t\t\t\t\t\t\tif (event.shiftKey) {\r\n\t\t\t\t\t\t\t\t$activeLabels.removeClass(className.active);\r\n\t\t\t\t\t\t\t\t$range.addClass(className.active);\r\n\t\t\t\t\t\t\t} else if (event.ctrlKey) {\r\n\t\t\t\t\t\t\t\t$label.toggleClass(className.active);\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t$activeLabels.removeClass(className.active);\r\n\t\t\t\t\t\t\t\t$label.addClass(className.active);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tsettings.onLabelSelect.apply(\r\n\t\t\t\t\t\t\t\tthis,\r\n\t\t\t\t\t\t\t\t$labels.filter(\".\" + className.active)\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\tevent.stopPropagation();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\tremove: {\r\n\t\t\t\t\t\tclick: function (event) {\r\n\t\t\t\t\t\t\tvar $label = $(this).parent();\r\n\t\t\t\t\t\t\tif ($label.hasClass(className.active)) {\r\n\t\t\t\t\t\t\t\t// remove all selected labels\r\n\t\t\t\t\t\t\t\tmodule.remove.activeLabels();\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t// remove this label only\r\n\t\t\t\t\t\t\t\tmodule.remove.activeLabels($label);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tevent.stopPropagation();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\ttest: {\r\n\t\t\t\t\t\ttoggle: function (event) {\r\n\t\t\t\t\t\t\tvar toggleBehavior = module.is.multiple()\r\n\t\t\t\t\t\t\t\t? module.show\r\n\t\t\t\t\t\t\t\t: module.toggle;\r\n\t\t\t\t\t\t\tif (\r\n\t\t\t\t\t\t\t\tmodule.is.bubbledLabelClick(event) ||\r\n\t\t\t\t\t\t\t\tmodule.is.bubbledIconClick(event)\r\n\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (\r\n\t\t\t\t\t\t\t\t!module.is.multiple() ||\r\n\t\t\t\t\t\t\t\t(module.is.multiple() && !module.is.active())\r\n\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\tfocused = true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif (module.determine.eventOnElement(event, toggleBehavior)) {\r\n\t\t\t\t\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\ttouch: function (event) {\r\n\t\t\t\t\t\t\tmodule.determine.eventOnElement(event, function () {\r\n\t\t\t\t\t\t\t\tif (event.type == \"touchstart\") {\r\n\t\t\t\t\t\t\t\t\tmodule.timer = setTimeout(function () {\r\n\t\t\t\t\t\t\t\t\t\tmodule.hide();\r\n\t\t\t\t\t\t\t\t\t}, settings.delay.touch);\r\n\t\t\t\t\t\t\t\t} else if (event.type == \"touchmove\") {\r\n\t\t\t\t\t\t\t\t\tclearTimeout(module.timer);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tevent.stopPropagation();\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\thide: function (event) {\r\n\t\t\t\t\t\t\tif (module.determine.eventInModule(event, module.hide)) {\r\n\t\t\t\t\t\t\t\tif (element.id && $(event.target).attr(\"for\") === element.id) {\r\n\t\t\t\t\t\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\tclass: {\r\n\t\t\t\t\t\tmutation: function (mutations) {\r\n\t\t\t\t\t\t\tmutations.forEach(function (mutation) {\r\n\t\t\t\t\t\t\t\tif (mutation.attributeName === \"class\") {\r\n\t\t\t\t\t\t\t\t\tmodule.check.disabled();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t},\r\n\t\t\t\t\tselect: {\r\n\t\t\t\t\t\tmutation: function (mutations) {\r\n\t\t\t\t\t\t\tmodule.debug(\"