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AN,iBAAe,mCAAAH,aAAY,KAAM,KAAM,EACrC,mCAAAA,aAAY,OAAQtB,WAAY,EAC9B,mCAAAqB,YAAWhB,KAAKrT,OAAQ,WAAY,CAAEiJ,OAAQoK,KAAKpK,SAAU,IAAM,CACjEgK,iBAGH,KAAuB,CACxB,CAAC,iCAAA6B,MAAO9W,OAAOqT,eAAkD,IAAhCgC,KAAK5G,gBAAgBrL,QAAgBiS,KAAKpK,SAAWjL,OAAOmT,YAE/F,mCAAAsD,iBAAe,mCAAAH,aAAY,KAAM,KAAM,EACrC,mCAAAA,aAAY,OAAQnB,WAAY,EAC9B,mCAAAkB,YAAWhB,KAAKrT,OAAQ,YAAa,CAAC,GAAG,IAAM,CAC7CoT,iBAGH,KAAuB,CACxB,CAAC,iCAAA0B,MAAO9W,OAAOoT,eAA0C,IAAxBiC,KAAK7S,QAAQY,SAAiBiS,KAAKpK,SAAWjL,OAAOmT,YAExF,mCAAAkD,YAAWhB,KAAKrT,OAAQ,cACvB,GAAuB,CAAC,QAC1B,IAAiC,CAClC,CAAC,iCAAA8U,MAAOzB,KAAK1I,aAGjBuK,EAAG,KAEJ,GAAuC,CAAC,WAAY,aACzD,EAIA","sources":["webpack://hm/./node_modules/@chenfengyuan/vue-countdown/dist/vue-countdown.esm.js","webpack://hm/./node_modules/blazy/blazy.js","webpack://hm/./node_modules/vue-multiselect/dist/vue-multiselect.esm.js"],"sourcesContent":["/*! vue-countdown v2.1.0 | (c) 2018-present Chen Fengyuan | MIT */\nimport { defineComponent, h } from 'vue';\n\nconst MILLISECONDS_SECOND = 1000;\r\nconst MILLISECONDS_MINUTE = 60 * MILLISECONDS_SECOND;\r\nconst MILLISECONDS_HOUR = 60 * MILLISECONDS_MINUTE;\r\nconst MILLISECONDS_DAY = 24 * MILLISECONDS_HOUR;\r\nconst EVENT_ABORT = 'abort';\r\nconst EVENT_END = 'end';\r\nconst EVENT_PROGRESS = 'progress';\r\nconst EVENT_START = 'start';\r\nconst EVENT_VISIBILITY_CHANGE = 'visibilitychange';\r\nvar index = defineComponent({\r\n name: 'VueCountdown',\r\n props: {\r\n /**\r\n * Starts the countdown automatically when initialized.\r\n */\r\n autoStart: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n /**\r\n * Emits the countdown events.\r\n */\r\n emitEvents: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n /**\r\n * The interval time (in milliseconds) of the countdown progress.\r\n */\r\n interval: {\r\n type: Number,\r\n default: 1000,\r\n validator: (value) => value >= 0,\r\n },\r\n /**\r\n * Generate the current time of a specific time zone.\r\n */\r\n now: {\r\n type: Function,\r\n default: () => Date.now(),\r\n },\r\n /**\r\n * The tag name of the component's root element.\r\n */\r\n tag: {\r\n type: String,\r\n default: 'span',\r\n },\r\n /**\r\n * The time (in milliseconds) to count down from.\r\n */\r\n time: {\r\n type: Number,\r\n default: 0,\r\n validator: (value) => value >= 0,\r\n },\r\n /**\r\n * Transforms the output props before render.\r\n */\r\n transform: {\r\n type: Function,\r\n default: (props) => props,\r\n },\r\n },\r\n emits: [\r\n EVENT_ABORT,\r\n EVENT_END,\r\n EVENT_PROGRESS,\r\n EVENT_START,\r\n ],\r\n data() {\r\n return {\r\n /**\r\n * It is counting down.\r\n * @type {boolean}\r\n */\r\n counting: false,\r\n /**\r\n * The absolute end time.\r\n * @type {number}\r\n */\r\n endTime: 0,\r\n /**\r\n * The remaining milliseconds.\r\n * @type {number}\r\n */\r\n totalMilliseconds: 0,\r\n /**\r\n * The request ID of the requestAnimationFrame.\r\n * @type {number}\r\n */\r\n requestId: 0,\r\n };\r\n },\r\n computed: {\r\n /**\r\n * Remaining days.\r\n * @returns {number} The computed value.\r\n */\r\n days() {\r\n return Math.floor(this.totalMilliseconds / MILLISECONDS_DAY);\r\n },\r\n /**\r\n * Remaining hours.\r\n * @returns {number} The computed value.\r\n */\r\n hours() {\r\n return Math.floor((this.totalMilliseconds % MILLISECONDS_DAY) / MILLISECONDS_HOUR);\r\n },\r\n /**\r\n * Remaining minutes.\r\n * @returns {number} The computed value.\r\n */\r\n minutes() {\r\n return Math.floor((this.totalMilliseconds % MILLISECONDS_HOUR) / MILLISECONDS_MINUTE);\r\n },\r\n /**\r\n * Remaining seconds.\r\n * @returns {number} The computed value.\r\n */\r\n seconds() {\r\n return Math.floor((this.totalMilliseconds % MILLISECONDS_MINUTE) / MILLISECONDS_SECOND);\r\n },\r\n /**\r\n * Remaining milliseconds.\r\n * @returns {number} The computed value.\r\n */\r\n milliseconds() {\r\n return Math.floor(this.totalMilliseconds % MILLISECONDS_SECOND);\r\n },\r\n /**\r\n * Total remaining days.\r\n * @returns {number} The computed value.\r\n */\r\n totalDays() {\r\n return this.days;\r\n },\r\n /**\r\n * Total remaining hours.\r\n * @returns {number} The computed value.\r\n */\r\n totalHours() {\r\n return Math.floor(this.totalMilliseconds / MILLISECONDS_HOUR);\r\n },\r\n /**\r\n * Total remaining minutes.\r\n * @returns {number} The computed value.\r\n */\r\n totalMinutes() {\r\n return Math.floor(this.totalMilliseconds / MILLISECONDS_MINUTE);\r\n },\r\n /**\r\n * Total remaining seconds.\r\n * @returns {number} The computed value.\r\n */\r\n totalSeconds() {\r\n return Math.floor(this.totalMilliseconds / MILLISECONDS_SECOND);\r\n },\r\n },\r\n watch: {\r\n $props: {\r\n deep: true,\r\n immediate: true,\r\n /**\r\n * Update the countdown when props changed.\r\n */\r\n handler() {\r\n this.totalMilliseconds = this.time;\r\n this.endTime = this.now() + this.time;\r\n if (this.autoStart) {\r\n this.start();\r\n }\r\n },\r\n },\r\n },\r\n mounted() {\r\n document.addEventListener(EVENT_VISIBILITY_CHANGE, this.handleVisibilityChange);\r\n },\r\n beforeUnmount() {\r\n document.removeEventListener(EVENT_VISIBILITY_CHANGE, this.handleVisibilityChange);\r\n this.pause();\r\n },\r\n methods: {\r\n /**\r\n * Starts to countdown.\r\n * @public\r\n * @emits Countdown#start\r\n */\r\n start() {\r\n if (this.counting) {\r\n return;\r\n }\r\n this.counting = true;\r\n if (this.emitEvents) {\r\n /**\r\n * Countdown start event.\r\n * @event Countdown#start\r\n */\r\n this.$emit(EVENT_START);\r\n }\r\n if (document.visibilityState === 'visible') {\r\n this.continue();\r\n }\r\n },\r\n /**\r\n * Continues the countdown.\r\n * @private\r\n */\r\n continue() {\r\n if (!this.counting) {\r\n return;\r\n }\r\n const delay = Math.min(this.totalMilliseconds, this.interval);\r\n if (delay > 0) {\r\n let init;\r\n let prev;\r\n const step = (now) => {\r\n if (!init) {\r\n init = now;\r\n }\r\n if (!prev) {\r\n prev = now;\r\n }\r\n const range = now - init;\r\n if (range >= delay\r\n // Avoid losing time about one second per minute (now - prev ≈ 16ms) (#43)\r\n || range + ((now - prev) / 2) >= delay) {\r\n this.progress();\r\n }\r\n else {\r\n this.requestId = requestAnimationFrame(step);\r\n }\r\n prev = now;\r\n };\r\n this.requestId = requestAnimationFrame(step);\r\n }\r\n else {\r\n this.end();\r\n }\r\n },\r\n /**\r\n * Pauses the countdown.\r\n * @private\r\n */\r\n pause() {\r\n cancelAnimationFrame(this.requestId);\r\n },\r\n /**\r\n * Progresses to countdown.\r\n * @private\r\n * @emits Countdown#progress\r\n */\r\n progress() {\r\n if (!this.counting) {\r\n return;\r\n }\r\n this.totalMilliseconds -= this.interval;\r\n if (this.emitEvents && this.totalMilliseconds > 0) {\r\n /**\r\n * Countdown progress event.\r\n * @event Countdown#progress\r\n */\r\n this.$emit(EVENT_PROGRESS, {\r\n days: this.days,\r\n hours: this.hours,\r\n minutes: this.minutes,\r\n seconds: this.seconds,\r\n milliseconds: this.milliseconds,\r\n totalDays: this.totalDays,\r\n totalHours: this.totalHours,\r\n totalMinutes: this.totalMinutes,\r\n totalSeconds: this.totalSeconds,\r\n totalMilliseconds: this.totalMilliseconds,\r\n });\r\n }\r\n this.continue();\r\n },\r\n /**\r\n * Aborts the countdown.\r\n * @public\r\n * @emits Countdown#abort\r\n */\r\n abort() {\r\n if (!this.counting) {\r\n return;\r\n }\r\n this.pause();\r\n this.counting = false;\r\n if (this.emitEvents) {\r\n /**\r\n * Countdown abort event.\r\n * @event Countdown#abort\r\n */\r\n this.$emit(EVENT_ABORT);\r\n }\r\n },\r\n /**\r\n * Ends the countdown.\r\n * @public\r\n * @emits Countdown#end\r\n */\r\n end() {\r\n if (!this.counting) {\r\n return;\r\n }\r\n this.pause();\r\n this.totalMilliseconds = 0;\r\n this.counting = false;\r\n if (this.emitEvents) {\r\n /**\r\n * Countdown end event.\r\n * @event Countdown#end\r\n */\r\n this.$emit(EVENT_END);\r\n }\r\n },\r\n /**\r\n * Updates the count.\r\n * @private\r\n */\r\n update() {\r\n if (this.counting) {\r\n this.totalMilliseconds = Math.max(0, this.endTime - this.now());\r\n }\r\n },\r\n /**\r\n * Restarts the count.\r\n * @public\r\n */\r\n restart() {\r\n this.pause();\r\n this.totalMilliseconds = this.time;\r\n this.endTime = this.now() + this.time;\r\n this.counting = false;\r\n this.start();\r\n },\r\n /**\r\n * visibility change event handler.\r\n * @private\r\n */\r\n handleVisibilityChange() {\r\n switch (document.visibilityState) {\r\n case 'visible':\r\n this.update();\r\n this.continue();\r\n break;\r\n case 'hidden':\r\n this.pause();\r\n break;\r\n }\r\n },\r\n },\r\n render() {\r\n return h(this.tag, this.$slots.default ? [\r\n this.$slots.default(this.transform({\r\n days: this.days,\r\n hours: this.hours,\r\n minutes: this.minutes,\r\n seconds: this.seconds,\r\n milliseconds: this.milliseconds,\r\n totalDays: this.totalDays,\r\n totalHours: this.totalHours,\r\n totalMinutes: this.totalMinutes,\r\n totalSeconds: this.totalSeconds,\r\n totalMilliseconds: this.totalMilliseconds,\r\n })),\r\n ] : undefined);\r\n },\r\n});\n\nexport { index as default };\n","/*!\n hey, [be]Lazy.js - v1.8.2 - 2016.10.25\n A fast, small and dependency free lazy load script (https://github.com/dinbror/blazy)\n (c) Bjoern Klinggaard - @bklinggaard - http://dinbror.dk/blazy\n*/\n;\n(function(root, blazy) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register bLazy as an anonymous module\n define(blazy);\n } else if (typeof exports === 'object') {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = blazy();\n } else {\n // Browser globals. Register bLazy on window\n root.Blazy = blazy();\n }\n})(this, function() {\n 'use strict';\n\n //private vars\n var _source, _viewport, _isRetina, _supportClosest, _attrSrc = 'src', _attrSrcset = 'srcset';\n\n // constructor\n return function Blazy(options) {\n //IE7- fallback for missing querySelectorAll support\n if (!document.querySelectorAll) {\n var s = document.createStyleSheet();\n document.querySelectorAll = function(r, c, i, j, a) {\n a = document.all, c = [], r = r.replace(/\\[for\\b/gi, '[htmlFor').split(',');\n for (i = r.length; i--;) {\n s.addRule(r[i], 'k:v');\n for (j = a.length; j--;) a[j].currentStyle.k && c.push(a[j]);\n s.removeRule(0);\n }\n return c;\n };\n }\n\n //options and helper vars\n var scope = this;\n var util = scope._util = {};\n util.elements = [];\n util.destroyed = true;\n scope.options = options || {};\n scope.options.error = scope.options.error || false;\n scope.options.offset = scope.options.offset || 100;\n scope.options.root = scope.options.root || document;\n scope.options.success = scope.options.success || false;\n scope.options.selector = scope.options.selector || '.b-lazy';\n scope.options.separator = scope.options.separator || '|';\n scope.options.containerClass = scope.options.container;\n scope.options.container = scope.options.containerClass ? document.querySelectorAll(scope.options.containerClass) : false;\n scope.options.errorClass = scope.options.errorClass || 'b-error';\n scope.options.breakpoints = scope.options.breakpoints || false;\n scope.options.loadInvisible = scope.options.loadInvisible || false;\n scope.options.successClass = scope.options.successClass || 'b-loaded';\n scope.options.validateDelay = scope.options.validateDelay || 25;\n scope.options.saveViewportOffsetDelay = scope.options.saveViewportOffsetDelay || 50;\n scope.options.srcset = scope.options.srcset || 'data-srcset';\n scope.options.src = _source = scope.options.src || 'data-src';\n _supportClosest = Element.prototype.closest;\n _isRetina = window.devicePixelRatio > 1;\n _viewport = {};\n _viewport.top = 0 - scope.options.offset;\n _viewport.left = 0 - scope.options.offset;\n\n\n /* public functions\n ************************************/\n scope.revalidate = function() {\n initialize(scope);\n };\n scope.load = function(elements, force) {\n var opt = this.options;\n if (elements && elements.length === undefined) {\n loadElement(elements, force, opt);\n } else {\n each(elements, function(element) {\n loadElement(element, force, opt);\n });\n }\n };\n scope.destroy = function() { \n var util = scope._util;\n if (scope.options.container) {\n each(scope.options.container, function(object) {\n unbindEvent(object, 'scroll', util.validateT);\n });\n }\n unbindEvent(window, 'scroll', util.validateT);\n unbindEvent(window, 'resize', util.validateT);\n unbindEvent(window, 'resize', util.saveViewportOffsetT);\n util.count = 0;\n util.elements.length = 0;\n util.destroyed = true;\n };\n\n //throttle, ensures that we don't call the functions too often\n util.validateT = throttle(function() {\n validate(scope);\n }, scope.options.validateDelay, scope);\n util.saveViewportOffsetT = throttle(function() {\n saveViewportOffset(scope.options.offset);\n }, scope.options.saveViewportOffsetDelay, scope);\n saveViewportOffset(scope.options.offset);\n\n //handle multi-served image src (obsolete)\n each(scope.options.breakpoints, function(object) {\n if (object.width >= window.screen.width) {\n _source = object.src;\n return false;\n }\n });\n\n // start lazy load\n setTimeout(function() {\n initialize(scope);\n }); // \"dom ready\" fix\n\n };\n\n\n /* Private helper functions\n ************************************/\n function initialize(self) {\n var util = self._util;\n // First we create an array of elements to lazy load\n util.elements = toArray(self.options);\n util.count = util.elements.length;\n // Then we bind resize and scroll events if not already binded\n if (util.destroyed) {\n util.destroyed = false;\n if (self.options.container) {\n each(self.options.container, function(object) {\n bindEvent(object, 'scroll', util.validateT);\n });\n }\n bindEvent(window, 'resize', util.saveViewportOffsetT);\n bindEvent(window, 'resize', util.validateT);\n bindEvent(window, 'scroll', util.validateT);\n }\n // And finally, we start to lazy load.\n validate(self);\n }\n\n function validate(self) {\n var util = self._util;\n for (var i = 0; i < util.count; i++) {\n var element = util.elements[i];\n if (elementInView(element, self.options) || hasClass(element, self.options.successClass)) {\n self.load(element);\n util.elements.splice(i, 1);\n util.count--;\n i--;\n }\n }\n if (util.count === 0) {\n self.destroy();\n }\n }\n\n function elementInView(ele, options) {\n var rect = ele.getBoundingClientRect();\n\n if(options.container && _supportClosest){\n // Is element inside a container?\n var elementContainer = ele.closest(options.containerClass);\n if(elementContainer){\n var containerRect = elementContainer.getBoundingClientRect();\n // Is container in view?\n if(inView(containerRect, _viewport)){\n var top = containerRect.top - options.offset;\n var right = containerRect.right + options.offset;\n var bottom = containerRect.bottom + options.offset;\n var left = containerRect.left - options.offset;\n var containerRectWithOffset = {\n top: top > _viewport.top ? top : _viewport.top,\n right: right < _viewport.right ? right : _viewport.right,\n bottom: bottom < _viewport.bottom ? bottom : _viewport.bottom,\n left: left > _viewport.left ? left : _viewport.left\n };\n // Is element in view of container?\n return inView(rect, containerRectWithOffset);\n } else {\n return false;\n }\n }\n } \n return inView(rect, _viewport);\n }\n\n function inView(rect, viewport){\n // Intersection\n return rect.right >= viewport.left &&\n rect.bottom >= viewport.top && \n rect.left <= viewport.right && \n rect.top <= viewport.bottom;\n }\n\n function loadElement(ele, force, options) {\n // if element is visible, not loaded or forced\n if (!hasClass(ele, options.successClass) && (force || options.loadInvisible || (ele.offsetWidth > 0 && ele.offsetHeight > 0))) {\n var dataSrc = getAttr(ele, _source) || getAttr(ele, options.src); // fallback to default 'data-src'\n if (dataSrc) {\n var dataSrcSplitted = dataSrc.split(options.separator);\n var src = dataSrcSplitted[_isRetina && dataSrcSplitted.length > 1 ? 1 : 0];\n var srcset = getAttr(ele, options.srcset);\n var isImage = equal(ele, 'img');\n var parent = ele.parentNode;\n var isPicture = parent && equal(parent, 'picture');\n // Image or background image\n if (isImage || ele.src === undefined) {\n var img = new Image();\n // using EventListener instead of onerror and onload\n // due to bug introduced in chrome v50 \n // (https://productforums.google.com/forum/#!topic/chrome/p51Lk7vnP2o)\n var onErrorHandler = function() {\n if (options.error) options.error(ele, \"invalid\");\n addClass(ele, options.errorClass);\n unbindEvent(img, 'error', onErrorHandler);\n unbindEvent(img, 'load', onLoadHandler);\n };\n var onLoadHandler = function() {\n // Is element an image\n if (isImage) {\n if(!isPicture) {\n handleSources(ele, src, srcset);\n }\n // or background-image\n } else {\n ele.style.backgroundImage = 'url(\"' + src + '\")';\n }\n itemLoaded(ele, options);\n unbindEvent(img, 'load', onLoadHandler);\n unbindEvent(img, 'error', onErrorHandler);\n };\n \n // Picture element\n if (isPicture) {\n img = ele; // Image tag inside picture element wont get preloaded\n each(parent.getElementsByTagName('source'), function(source) {\n handleSource(source, _attrSrcset, options.srcset);\n });\n }\n bindEvent(img, 'error', onErrorHandler);\n bindEvent(img, 'load', onLoadHandler);\n handleSources(img, src, srcset); // Preload\n\n } else { // An item with src like iframe, unity games, simpel video etc\n ele.src = src;\n itemLoaded(ele, options);\n }\n } else {\n // video with child source\n if (equal(ele, 'video')) {\n each(ele.getElementsByTagName('source'), function(source) {\n handleSource(source, _attrSrc, options.src);\n });\n ele.load();\n itemLoaded(ele, options);\n } else {\n if (options.error) options.error(ele, \"missing\");\n addClass(ele, options.errorClass);\n }\n }\n }\n }\n\n function itemLoaded(ele, options) {\n addClass(ele, options.successClass);\n if (options.success) options.success(ele);\n // cleanup markup, remove data source attributes\n removeAttr(ele, options.src);\n removeAttr(ele, options.srcset);\n each(options.breakpoints, function(object) {\n removeAttr(ele, object.src);\n });\n }\n\n function handleSource(ele, attr, dataAttr) {\n var dataSrc = getAttr(ele, dataAttr);\n if (dataSrc) {\n setAttr(ele, attr, dataSrc);\n removeAttr(ele, dataAttr);\n }\n }\n\n function handleSources(ele, src, srcset){\n if(srcset) {\n setAttr(ele, _attrSrcset, srcset); //srcset\n }\n ele.src = src; //src \n }\n\n function setAttr(ele, attr, value){\n ele.setAttribute(attr, value);\n }\n\n function getAttr(ele, attr) {\n return ele.getAttribute(attr);\n }\n\n function removeAttr(ele, attr){\n ele.removeAttribute(attr); \n }\n\n function equal(ele, str) {\n return ele.nodeName.toLowerCase() === str;\n }\n\n function hasClass(ele, className) {\n return (' ' + ele.className + ' ').indexOf(' ' + className + ' ') !== -1;\n }\n\n function addClass(ele, className) {\n if (!hasClass(ele, className)) {\n ele.className += ' ' + className;\n }\n }\n\n function toArray(options) {\n var array = [];\n var nodelist = (options.root).querySelectorAll(options.selector);\n for (var i = nodelist.length; i--; array.unshift(nodelist[i])) {}\n return array;\n }\n\n function saveViewportOffset(offset) {\n _viewport.bottom = (window.innerHeight || document.documentElement.clientHeight) + offset;\n _viewport.right = (window.innerWidth || document.documentElement.clientWidth) + offset;\n }\n\n function bindEvent(ele, type, fn) {\n if (ele.attachEvent) {\n ele.attachEvent && ele.attachEvent('on' + type, fn);\n } else {\n ele.addEventListener(type, fn, { capture: false, passive: true });\n }\n }\n\n function unbindEvent(ele, type, fn) {\n if (ele.detachEvent) {\n ele.detachEvent && ele.detachEvent('on' + type, fn);\n } else {\n ele.removeEventListener(type, fn, { capture: false, passive: true });\n }\n }\n\n function each(object, fn) {\n if (object && fn) {\n var l = object.length;\n for (var i = 0; i < l && fn(object[i], i) !== false; i++) {}\n }\n }\n\n function throttle(fn, minDelay, scope) {\n var lastCall = 0;\n return function() {\n var now = +new Date();\n if (now - lastCall < minDelay) {\n return;\n }\n lastCall = now;\n fn.apply(scope, arguments);\n };\n }\n});\n","import { openBlock, createBlock, withKeys, withModifiers, renderSlot, createVNode, withDirectives, Fragment, renderList, toDisplayString, vShow, createCommentVNode, Transition, withCtx, createTextVNode } from 'vue';\n\nfunction isEmpty (opt) {\n if (opt === 0) return false\n if (Array.isArray(opt) && opt.length === 0) return true\n return !opt\n}\n\nfunction not (fun) {\n return (...params) => !fun(...params)\n}\n\nfunction includes (str, query) {\n /* istanbul ignore else */\n if (str === undefined) str = 'undefined';\n if (str === null) str = 'null';\n if (str === false) str = 'false';\n const text = str.toString().toLowerCase();\n return text.indexOf(query.trim()) !== -1\n}\n\nfunction filterOptions (options, search, label, customLabel) {\n return search ? options\n .filter((option) => includes(customLabel(option, label), search))\n .sort((a, b) => customLabel(a, label).length - customLabel(b, label).length) : options\n}\n\nfunction stripGroups (options) {\n return options.filter((option) => !option.$isLabel)\n}\n\nfunction flattenOptions (values, label) {\n return (options) =>\n options.reduce((prev, curr) => {\n /* istanbul ignore else */\n if (curr[values] && curr[values].length) {\n prev.push({\n $groupLabel: curr[label],\n $isLabel: true\n });\n return prev.concat(curr[values])\n }\n return prev\n }, [])\n}\n\nfunction filterGroups (search, label, values, groupLabel, customLabel) {\n return (groups) =>\n groups.map((group) => {\n /* istanbul ignore else */\n if (!group[values]) {\n console.warn(`Options passed to vue-multiselect do not contain groups, despite the config.`);\n return []\n }\n const groupOptions = filterOptions(group[values], search, label, customLabel);\n\n return groupOptions.length\n ? {\n [groupLabel]: group[groupLabel],\n [values]: groupOptions\n }\n : []\n })\n}\n\nconst flow = (...fns) => (x) => fns.reduce((v, f) => f(v), x);\n\nvar multiselectMixin = {\n data () {\n return {\n search: '',\n isOpen: false,\n preferredOpenDirection: 'below',\n optimizedHeight: this.maxHeight\n }\n },\n props: {\n /**\n * Decide whether to filter the results based on search query.\n * Useful for async filtering, where we search through more complex data.\n * @type {Boolean}\n */\n internalSearch: {\n type: Boolean,\n default: true\n },\n /**\n * Array of available options: Objects, Strings or Integers.\n * If array of objects, visible label will default to option.label.\n * If `labal` prop is passed, label will equal option['label']\n * @type {Array}\n */\n options: {\n type: Array,\n required: true\n },\n /**\n * Equivalent to the `multiple` attribute on a `` input.\n * @default 'Select option'\n * @type {String}\n */\n placeholder: {\n type: String,\n default: 'Select option'\n },\n /**\n * Allow to remove all selected values\n * @default true\n * @type {Boolean}\n */\n allowEmpty: {\n type: Boolean,\n default: true\n },\n /**\n * Reset this.internalValue, this.search after this.internalValue changes.\n * Useful if want to create a stateless dropdown.\n * @default false\n * @type {Boolean}\n */\n resetAfter: {\n type: Boolean,\n default: false\n },\n /**\n * Enable/disable closing after selecting an option\n * @default true\n * @type {Boolean}\n */\n closeOnSelect: {\n type: Boolean,\n default: true\n },\n /**\n * Function to interpolate the custom label\n * @default false\n * @type {Function}\n */\n customLabel: {\n type: Function,\n default (option, label) {\n if (isEmpty(option)) return ''\n return label ? option[label] : option\n }\n },\n /**\n * Disable / Enable tagging\n * @default false\n * @type {Boolean}\n */\n taggable: {\n type: Boolean,\n default: false\n },\n /**\n * String to show when highlighting a potential tag\n * @default 'Press enter to create a tag'\n * @type {String}\n */\n tagPlaceholder: {\n type: String,\n default: 'Press enter to create a tag'\n },\n /**\n * By default new tags will appear above the search results.\n * Changing to 'bottom' will revert this behaviour\n * and will proritize the search results\n * @default 'top'\n * @type {String}\n */\n tagPosition: {\n type: String,\n default: 'top'\n },\n /**\n * Number of allowed selected options. No limit if 0.\n * @default 0\n * @type {Number}\n */\n max: {\n type: [Number, Boolean],\n default: false\n },\n /**\n * Will be passed with all events as second param.\n * Useful for identifying events origin.\n * @default null\n * @type {String|Integer}\n */\n id: {\n default: null\n },\n /**\n * Limits the options displayed in the dropdown\n * to the first X options.\n * @default 1000\n * @type {Integer}\n */\n optionsLimit: {\n type: Number,\n default: 1000\n },\n /**\n * Name of the property containing\n * the group values\n * @default 1000\n * @type {String}\n */\n groupValues: {\n type: String\n },\n /**\n * Name of the property containing\n * the group label\n * @default 1000\n * @type {String}\n */\n groupLabel: {\n type: String\n },\n /**\n * Allow to select all group values\n * by selecting the group label\n * @default false\n * @type {Boolean}\n */\n groupSelect: {\n type: Boolean,\n default: false\n },\n /**\n * Array of keyboard keys to block\n * when selecting\n * @default 1000\n * @type {String}\n */\n blockKeys: {\n type: Array,\n default () {\n return []\n }\n },\n /**\n * Prevent from wiping up the search value\n * @default false\n * @type {Boolean}\n */\n preserveSearch: {\n type: Boolean,\n default: false\n },\n /**\n * Select 1st options if value is empty\n * @default false\n * @type {Boolean}\n */\n preselectFirst: {\n type: Boolean,\n default: false\n }\n },\n mounted () {\n /* istanbul ignore else */\n if (!this.multiple && this.max) {\n console.warn('[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false.');\n }\n if (\n this.preselectFirst &&\n !this.internalValue.length &&\n this.options.length\n ) {\n this.select(this.filteredOptions[0]);\n }\n },\n computed: {\n internalValue () {\n return this.modelValue || this.modelValue === 0\n ? Array.isArray(this.modelValue) ? this.modelValue : [this.modelValue]\n : []\n },\n filteredOptions () {\n const search = this.search || '';\n const normalizedSearch = search.toLowerCase().trim();\n\n let options = this.options.concat();\n\n /* istanbul ignore else */\n if (this.internalSearch) {\n options = this.groupValues\n ? this.filterAndFlat(options, normalizedSearch, this.label)\n : filterOptions(options, normalizedSearch, this.label, this.customLabel);\n } else {\n options = this.groupValues ? flattenOptions(this.groupValues, this.groupLabel)(options) : options;\n }\n\n options = this.hideSelected\n ? options.filter(not(this.isSelected))\n : options;\n\n /* istanbul ignore else */\n if (this.taggable && normalizedSearch.length && !this.isExistingOption(normalizedSearch)) {\n if (this.tagPosition === 'bottom') {\n options.push({isTag: true, label: search});\n } else {\n options.unshift({isTag: true, label: search});\n }\n }\n\n return options.slice(0, this.optionsLimit)\n },\n valueKeys () {\n if (this.trackBy) {\n return this.internalValue.map((element) => element[this.trackBy])\n } else {\n return this.internalValue\n }\n },\n optionKeys () {\n const options = this.groupValues ? this.flatAndStrip(this.options) : this.options;\n return options.map((element) => this.customLabel(element, this.label).toString().toLowerCase())\n },\n currentOptionLabel () {\n return this.multiple\n ? this.searchable ? '' : this.placeholder\n : this.internalValue.length\n ? this.getOptionLabel(this.internalValue[0])\n : this.searchable ? '' : this.placeholder\n }\n },\n watch: {\n internalValue () {\n /* istanbul ignore else */\n if (this.resetAfter && this.internalValue.length) {\n this.search = '';\n this.$emit('update:modelValue', this.multiple ? [] : null);\n }\n },\n search () {\n this.$emit('search-change', this.search);\n }\n },\n emits: ['open', 'search-change', 'close', 'select', 'update:modelValue', 'remove', 'tag'],\n methods: {\n /**\n * Returns the internalValue in a way it can be emited to the parent\n * @returns {Object||Array||String||Integer}\n */\n getValue () {\n return this.multiple\n ? this.internalValue\n : this.internalValue.length === 0\n ? null\n : this.internalValue[0]\n },\n /**\n * Filters and then flattens the options list\n * @param {Array}\n * @return {Array} returns a filtered and flat options list\n */\n filterAndFlat (options, search, label) {\n return flow(\n filterGroups(search, label, this.groupValues, this.groupLabel, this.customLabel),\n flattenOptions(this.groupValues, this.groupLabel)\n )(options)\n },\n /**\n * Flattens and then strips the group labels from the options list\n * @param {Array}\n * @return {Array} returns a flat options list without group labels\n */\n flatAndStrip (options) {\n return flow(\n flattenOptions(this.groupValues, this.groupLabel),\n stripGroups\n )(options)\n },\n /**\n * Updates the search value\n * @param {String}\n */\n updateSearch (query) {\n this.search = query;\n },\n /**\n * Finds out if the given query is already present\n * in the available options\n * @param {String}\n * @return {Boolean} returns true if element is available\n */\n isExistingOption (query) {\n return !this.options\n ? false\n : this.optionKeys.indexOf(query) > -1\n },\n /**\n * Finds out if the given element is already present\n * in the result value\n * @param {Object||String||Integer} option passed element to check\n * @returns {Boolean} returns true if element is selected\n */\n isSelected (option) {\n const opt = this.trackBy\n ? option[this.trackBy]\n : option;\n return this.valueKeys.indexOf(opt) > -1\n },\n /**\n * Finds out if the given option is disabled\n * @param {Object||String||Integer} option passed element to check\n * @returns {Boolean} returns true if element is disabled\n */\n isOptionDisabled (option) {\n return !!option.$isDisabled\n },\n /**\n * Returns empty string when options is null/undefined\n * Returns tag query if option is tag.\n * Returns the customLabel() results and casts it to string.\n *\n * @param {Object||String||Integer} Passed option\n * @returns {Object||String}\n */\n getOptionLabel (option) {\n if (isEmpty(option)) return ''\n /* istanbul ignore else */\n if (option.isTag) return option.label\n /* istanbul ignore else */\n if (option.$isLabel) return option.$groupLabel\n\n const label = this.customLabel(option, this.label);\n /* istanbul ignore else */\n if (isEmpty(label)) return ''\n return label\n },\n /**\n * Add the given option to the list of selected options\n * or sets the option as the selected option.\n * If option is already selected -> remove it from the results.\n *\n * @param {Object||String||Integer} option to select/deselect\n * @param {Boolean} block removing\n */\n select (option, key) {\n /* istanbul ignore else */\n if (option.$isLabel && this.groupSelect) {\n this.selectGroup(option);\n return\n }\n if (this.blockKeys.indexOf(key) !== -1 ||\n this.disabled ||\n option.$isDisabled ||\n option.$isLabel\n ) return\n /* istanbul ignore else */\n if (this.max && this.multiple && this.internalValue.length === this.max) return\n /* istanbul ignore else */\n if (key === 'Tab' && !this.pointerDirty) return\n if (option.isTag) {\n this.$emit('tag', option.label, this.id);\n this.search = '';\n if (this.closeOnSelect && !this.multiple) this.deactivate();\n } else {\n const isSelected = this.isSelected(option);\n\n if (isSelected) {\n if (key !== 'Tab') this.removeElement(option);\n return\n }\n\n this.$emit('select', option, this.id);\n\n if (this.multiple) {\n this.$emit('update:modelValue', this.internalValue.concat([option]));\n } else {\n this.$emit('update:modelValue', option);\n }\n\n /* istanbul ignore else */\n if (this.clearOnSelect) this.search = '';\n }\n /* istanbul ignore else */\n if (this.closeOnSelect) this.deactivate();\n },\n /**\n * Add the given group options to the list of selected options\n * If all group optiona are already selected -> remove it from the results.\n *\n * @param {Object||String||Integer} group to select/deselect\n */\n selectGroup (selectedGroup) {\n const group = this.options.find((option) => {\n return option[this.groupLabel] === selectedGroup.$groupLabel\n });\n\n if (!group) return\n\n if (this.wholeGroupSelected(group)) {\n this.$emit('remove', group[this.groupValues], this.id);\n\n const newValue = this.internalValue.filter(\n (option) => group[this.groupValues].indexOf(option) === -1\n );\n\n this.$emit('update:modelValue', newValue);\n } else {\n const optionsToAdd = group[this.groupValues].filter(\n (option) => !(this.isOptionDisabled(option) || this.isSelected(option))\n );\n\n this.$emit('select', optionsToAdd, this.id);\n this.$emit(\n 'update:modelValue',\n this.internalValue.concat(optionsToAdd)\n );\n }\n\n if (this.closeOnSelect) this.deactivate();\n },\n /**\n * Helper to identify if all values in a group are selected\n *\n * @param {Object} group to validated selected values against\n */\n wholeGroupSelected (group) {\n return group[this.groupValues].every((option) => this.isSelected(option) || this.isOptionDisabled(option)\n )\n },\n /**\n * Helper to identify if all values in a group are disabled\n *\n * @param {Object} group to check for disabled values\n */\n wholeGroupDisabled (group) {\n return group[this.groupValues].every(this.isOptionDisabled)\n },\n /**\n * Removes the given option from the selected options.\n * Additionally checks this.allowEmpty prop if option can be removed when\n * it is the last selected option.\n *\n * @param {type} option description\n * @return {type} description\n */\n removeElement (option, shouldClose = true) {\n /* istanbul ignore else */\n if (this.disabled) return\n /* istanbul ignore else */\n if (option.$isDisabled) return\n /* istanbul ignore else */\n if (!this.allowEmpty && this.internalValue.length <= 1) {\n this.deactivate();\n return\n }\n\n const index = typeof option === 'object'\n ? this.valueKeys.indexOf(option[this.trackBy])\n : this.valueKeys.indexOf(option);\n\n this.$emit('remove', option, this.id);\n if (this.multiple) {\n const newValue = this.internalValue.slice(0, index).concat(this.internalValue.slice(index + 1));\n this.$emit('update:modelValue', newValue);\n } else {\n this.$emit('update:modelValue', null);\n }\n\n /* istanbul ignore else */\n if (this.closeOnSelect && shouldClose) this.deactivate();\n },\n /**\n * Calls this.removeElement() with the last element\n * from this.internalValue (selected element Array)\n *\n * @fires this#removeElement\n */\n removeLastElement () {\n /* istanbul ignore else */\n if (this.blockKeys.indexOf('Delete') !== -1) return\n /* istanbul ignore else */\n if (this.search.length === 0 && Array.isArray(this.internalValue) && this.internalValue.length) {\n this.removeElement(this.internalValue[this.internalValue.length - 1], false);\n }\n },\n /**\n * Opens the multiselect’s dropdown.\n * Sets this.isOpen to TRUE\n */\n activate () {\n /* istanbul ignore else */\n if (this.isOpen || this.disabled) return\n\n this.adjustPosition();\n /* istanbul ignore else */\n if (this.groupValues && this.pointer === 0 && this.filteredOptions.length) {\n this.pointer = 1;\n }\n\n this.isOpen = true;\n /* istanbul ignore else */\n if (this.searchable) {\n if (!this.preserveSearch) this.search = '';\n this.$nextTick(() => this.$refs.search && this.$refs.search.focus());\n } else {\n this.$el.focus();\n }\n this.$emit('open', this.id);\n },\n /**\n * Closes the multiselect’s dropdown.\n * Sets this.isOpen to FALSE\n */\n deactivate () {\n /* istanbul ignore else */\n if (!this.isOpen) return\n\n this.isOpen = false;\n /* istanbul ignore else */\n if (this.searchable) {\n this.$refs.search && this.$refs.search.blur();\n } else {\n this.$el.blur();\n }\n if (!this.preserveSearch) this.search = '';\n this.$emit('close', this.getValue(), this.id);\n },\n /**\n * Call this.activate() or this.deactivate()\n * depending on this.isOpen value.\n *\n * @fires this#activate || this#deactivate\n * @property {Boolean} isOpen indicates if dropdown is open\n */\n toggle () {\n this.isOpen\n ? this.deactivate()\n : this.activate();\n },\n /**\n * Updates the hasEnoughSpace variable used for\n * detecting where to expand the dropdown\n */\n adjustPosition () {\n if (typeof window === 'undefined') return\n\n const spaceAbove = this.$el.getBoundingClientRect().top;\n const spaceBelow = window.innerHeight - this.$el.getBoundingClientRect().bottom;\n const hasEnoughSpaceBelow = spaceBelow > this.maxHeight;\n\n if (hasEnoughSpaceBelow || spaceBelow > spaceAbove || this.openDirection === 'below' || this.openDirection === 'bottom') {\n this.preferredOpenDirection = 'below';\n this.optimizedHeight = Math.min(spaceBelow - 40, this.maxHeight);\n } else {\n this.preferredOpenDirection = 'above';\n this.optimizedHeight = Math.min(spaceAbove - 40, this.maxHeight);\n }\n }\n }\n};\n\nvar pointerMixin = {\n data () {\n return {\n pointer: 0,\n pointerDirty: false\n }\n },\n props: {\n /**\n * Enable/disable highlighting of the pointed value.\n * @type {Boolean}\n * @default true\n */\n showPointer: {\n type: Boolean,\n default: true\n },\n optionHeight: {\n type: Number,\n default: 40\n }\n },\n computed: {\n pointerPosition () {\n return this.pointer * this.optionHeight\n },\n visibleElements () {\n return this.optimizedHeight / this.optionHeight\n }\n },\n watch: {\n filteredOptions () {\n this.pointerAdjust();\n },\n isOpen () {\n this.pointerDirty = false;\n },\n pointer () {\n this.$refs.search && this.$refs.search.setAttribute('aria-activedescendant', this.id + '-' + this.pointer.toString());\n }\n },\n methods: {\n optionHighlight (index, option) {\n return {\n 'multiselect__option--highlight': index === this.pointer && this.showPointer,\n 'multiselect__option--selected': this.isSelected(option)\n }\n },\n groupHighlight (index, selectedGroup) {\n if (!this.groupSelect) {\n return [\n 'multiselect__option--disabled',\n {'multiselect__option--group': selectedGroup.$isLabel}\n ]\n }\n\n const group = this.options.find((option) => {\n return option[this.groupLabel] === selectedGroup.$groupLabel\n });\n\n return group && !this.wholeGroupDisabled(group) ? [\n 'multiselect__option--group',\n {'multiselect__option--highlight': index === this.pointer && this.showPointer},\n {'multiselect__option--group-selected': this.wholeGroupSelected(group)}\n ] : 'multiselect__option--disabled'\n },\n addPointerElement ({key} = 'Enter') {\n /* istanbul ignore else */\n if (this.filteredOptions.length > 0) {\n this.select(this.filteredOptions[this.pointer], key);\n }\n this.pointerReset();\n },\n pointerForward () {\n /* istanbul ignore else */\n if (this.pointer < this.filteredOptions.length - 1) {\n this.pointer++;\n /* istanbul ignore next */\n if (this.$refs.list.scrollTop <= this.pointerPosition - (this.visibleElements - 1) * this.optionHeight) {\n this.$refs.list.scrollTop = this.pointerPosition - (this.visibleElements - 1) * this.optionHeight;\n }\n /* istanbul ignore else */\n if (\n this.filteredOptions[this.pointer] &&\n this.filteredOptions[this.pointer].$isLabel &&\n !this.groupSelect\n ) this.pointerForward();\n }\n this.pointerDirty = true;\n },\n pointerBackward () {\n if (this.pointer > 0) {\n this.pointer--;\n /* istanbul ignore else */\n if (this.$refs.list.scrollTop >= this.pointerPosition) {\n this.$refs.list.scrollTop = this.pointerPosition;\n }\n /* istanbul ignore else */\n if (\n this.filteredOptions[this.pointer] &&\n this.filteredOptions[this.pointer].$isLabel &&\n !this.groupSelect\n ) this.pointerBackward();\n } else {\n /* istanbul ignore else */\n if (\n this.filteredOptions[this.pointer] &&\n this.filteredOptions[0].$isLabel &&\n !this.groupSelect\n ) this.pointerForward();\n }\n this.pointerDirty = true;\n },\n pointerReset () {\n /* istanbul ignore else */\n if (!this.closeOnSelect) return\n this.pointer = 0;\n /* istanbul ignore else */\n if (this.$refs.list) {\n this.$refs.list.scrollTop = 0;\n }\n },\n pointerAdjust () {\n /* istanbul ignore else */\n if (this.pointer >= this.filteredOptions.length - 1) {\n this.pointer = this.filteredOptions.length\n ? this.filteredOptions.length - 1\n : 0;\n }\n\n if (this.filteredOptions.length > 0 &&\n this.filteredOptions[this.pointer].$isLabel &&\n !this.groupSelect\n ) {\n this.pointerForward();\n }\n },\n pointerSet (index) {\n this.pointer = index;\n this.pointerDirty = true;\n }\n }\n};\n\nvar script = {\n name: 'vue-multiselect',\n mixins: [multiselectMixin, pointerMixin],\n props: {\n /**\n * name attribute to match optional label element\n * @default ''\n * @type {String}\n */\n name: {\n type: String,\n default: ''\n },\n /**\n * Presets the selected options value.\n * @type {Object||Array||String||Integer}\n */\n modelValue: {\n type: null,\n default () {\n return []\n }\n },\n /**\n * String to show when pointing to an option\n * @default 'Press enter to select'\n * @type {String}\n */\n selectLabel: {\n type: String,\n default: 'Press enter to select'\n },\n /**\n * String to show when pointing to an option\n * @default 'Press enter to select'\n * @type {String}\n */\n selectGroupLabel: {\n type: String,\n default: 'Press enter to select group'\n },\n /**\n * String to show next to selected option\n * @default 'Selected'\n * @type {String}\n */\n selectedLabel: {\n type: String,\n default: 'Selected'\n },\n /**\n * String to show when pointing to an already selected option\n * @default 'Press enter to remove'\n * @type {String}\n */\n deselectLabel: {\n type: String,\n default: 'Press enter to remove'\n },\n /**\n * String to show when pointing to an already selected option\n * @default 'Press enter to remove'\n * @type {String}\n */\n deselectGroupLabel: {\n type: String,\n default: 'Press enter to deselect group'\n },\n /**\n * Decide whether to show pointer labels\n * @default true\n * @type {Boolean}\n */\n showLabels: {\n type: Boolean,\n default: true\n },\n /**\n * Limit the display of selected options. The rest will be hidden within the limitText string.\n * @default 99999\n * @type {Integer}\n */\n limit: {\n type: Number,\n default: 99999\n },\n /**\n * Sets maxHeight style value of the dropdown\n * @default 300\n * @type {Integer}\n */\n maxHeight: {\n type: Number,\n default: 300\n },\n /**\n * Function that process the message shown when selected\n * elements pass the defined limit.\n * @default 'and * more'\n * @param {Int} count Number of elements more than limit\n * @type {Function}\n */\n limitText: {\n type: Function,\n default: (count) => `and ${count} more`\n },\n /**\n * Set true to trigger the loading spinner.\n * @default False\n * @type {Boolean}\n */\n loading: {\n type: Boolean,\n default: false\n },\n /**\n * Disables the multiselect if true.\n * @default false\n * @type {Boolean}\n */\n disabled: {\n type: Boolean,\n default: false\n },\n /**\n * Fixed opening direction\n * @default ''\n * @type {String}\n */\n openDirection: {\n type: String,\n default: ''\n },\n /**\n * Shows slot with message about empty options\n * @default true\n * @type {Boolean}\n */\n showNoOptions: {\n type: Boolean,\n default: true\n },\n showNoResults: {\n type: Boolean,\n default: true\n },\n tabindex: {\n type: Number,\n default: 0\n }\n },\n computed: {\n isSingleLabelVisible () {\n return (\n (this.singleValue || this.singleValue === 0) &&\n (!this.isOpen || !this.searchable) &&\n !this.visibleValues.length\n )\n },\n isPlaceholderVisible () {\n return !this.internalValue.length && (!this.searchable || !this.isOpen)\n },\n visibleValues () {\n return this.multiple ? this.internalValue.slice(0, this.limit) : []\n },\n singleValue () {\n return this.internalValue[0]\n },\n deselectLabelText () {\n return this.showLabels ? this.deselectLabel : ''\n },\n deselectGroupLabelText () {\n return this.showLabels ? this.deselectGroupLabel : ''\n },\n selectLabelText () {\n return this.showLabels ? this.selectLabel : ''\n },\n selectGroupLabelText () {\n return this.showLabels ? this.selectGroupLabel : ''\n },\n selectedLabelText () {\n return this.showLabels ? this.selectedLabel : ''\n },\n inputStyle () {\n if (\n this.searchable ||\n (this.multiple && this.modelValue && this.modelValue.length)\n ) {\n // Hide input by setting the width to 0 allowing it to receive focus\n return this.isOpen\n ? {width: '100%'}\n : {width: '0', position: 'absolute', padding: '0'}\n }\n return ''\n },\n contentStyle () {\n return this.options.length\n ? {display: 'inline-block'}\n : {display: 'block'}\n },\n isAbove () {\n if (this.openDirection === 'above' || this.openDirection === 'top') {\n return true\n } else if (\n this.openDirection === 'below' ||\n this.openDirection === 'bottom'\n ) {\n return false\n } else {\n return this.preferredOpenDirection === 'above'\n }\n },\n showSearchInput () {\n return (\n this.searchable &&\n (this.hasSingleSelectedSlot &&\n (this.visibleSingleValue || this.visibleSingleValue === 0)\n ? this.isOpen\n : true)\n )\n }\n }\n};\n\nconst _hoisted_1 = {\n ref: \"tags\",\n class: \"multiselect__tags\"\n};\nconst _hoisted_2 = { class: \"multiselect__tags-wrap\" };\nconst _hoisted_3 = { class: \"multiselect__spinner\" };\nconst _hoisted_4 = { key: 0 };\nconst _hoisted_5 = { class: \"multiselect__option\" };\nconst _hoisted_6 = { class: \"multiselect__option\" };\nconst _hoisted_7 = /*#__PURE__*/createTextVNode(\"No elements found. Consider changing the search query.\");\nconst _hoisted_8 = { class: \"multiselect__option\" };\nconst _hoisted_9 = /*#__PURE__*/createTextVNode(\"List is empty.\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (openBlock(), createBlock(\"div\", {\n tabindex: _ctx.searchable ? -1 : $props.tabindex,\n class: [{ 'multiselect--active': _ctx.isOpen, 'multiselect--disabled': $props.disabled, 'multiselect--above': $options.isAbove }, \"multiselect\"],\n onFocus: _cache[14] || (_cache[14] = $event => (_ctx.activate())),\n onBlur: _cache[15] || (_cache[15] = $event => (_ctx.searchable ? false : _ctx.deactivate())),\n onKeydown: [\n _cache[16] || (_cache[16] = withKeys(withModifiers($event => (_ctx.pointerForward()), [\"self\",\"prevent\"]), [\"down\"])),\n _cache[17] || (_cache[17] = withKeys(withModifiers($event => (_ctx.pointerBackward()), [\"self\",\"prevent\"]), [\"up\"]))\n ],\n onKeypress: _cache[18] || (_cache[18] = withKeys(withModifiers($event => (_ctx.addPointerElement($event)), [\"stop\",\"self\"]), [\"enter\",\"tab\"])),\n onKeyup: _cache[19] || (_cache[19] = withKeys($event => (_ctx.deactivate()), [\"esc\"])),\n role: \"combobox\",\n \"aria-owns\": 'listbox-'+_ctx.id\n }, [\n renderSlot(_ctx.$slots, \"caret\", { toggle: _ctx.toggle }, () => [\n createVNode(\"div\", {\n onMousedown: _cache[1] || (_cache[1] = withModifiers($event => (_ctx.toggle()), [\"prevent\",\"stop\"])),\n class: \"multiselect__select\"\n }, null, 32 /* HYDRATE_EVENTS */)\n ]),\n renderSlot(_ctx.$slots, \"clear\", { search: _ctx.search }),\n createVNode(\"div\", _hoisted_1, [\n renderSlot(_ctx.$slots, \"selection\", {\n search: _ctx.search,\n remove: _ctx.removeElement,\n values: $options.visibleValues,\n isOpen: _ctx.isOpen\n }, () => [\n withDirectives(createVNode(\"div\", _hoisted_2, [\n (openBlock(true), createBlock(Fragment, null, renderList($options.visibleValues, (option, index) => {\n return renderSlot(_ctx.$slots, \"tag\", {\n option: option,\n search: _ctx.search,\n remove: _ctx.removeElement\n }, () => [\n (openBlock(), createBlock(\"span\", {\n class: \"multiselect__tag\",\n key: index\n }, [\n createVNode(\"span\", {\n textContent: toDisplayString(_ctx.getOptionLabel(option))\n }, null, 8 /* PROPS */, [\"textContent\"]),\n createVNode(\"i\", {\n tabindex: \"1\",\n onKeypress: withKeys(withModifiers($event => (_ctx.removeElement(option)), [\"prevent\"]), [\"enter\"]),\n onMousedown: withModifiers($event => (_ctx.removeElement(option)), [\"prevent\"]),\n class: \"multiselect__tag-icon\"\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, [\"onKeypress\", \"onMousedown\"])\n ]))\n ])\n }), 256 /* UNKEYED_FRAGMENT */))\n ], 512 /* NEED_PATCH */), [\n [vShow, $options.visibleValues.length > 0]\n ]),\n (_ctx.internalValue && _ctx.internalValue.length > $props.limit)\n ? renderSlot(_ctx.$slots, \"limit\", { key: 0 }, () => [\n createVNode(\"strong\", {\n class: \"multiselect__strong\",\n textContent: toDisplayString($props.limitText(_ctx.internalValue.length - $props.limit))\n }, null, 8 /* PROPS */, [\"textContent\"])\n ])\n : createCommentVNode(\"v-if\", true)\n ]),\n createVNode(Transition, { name: \"multiselect__loading\" }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"loading\", {}, () => [\n withDirectives(createVNode(\"div\", _hoisted_3, null, 512 /* NEED_PATCH */), [\n [vShow, $props.loading]\n ])\n ])\n ]),\n _: 3 /* FORWARDED */\n }),\n (_ctx.searchable)\n ? (openBlock(), createBlock(\"input\", {\n key: 0,\n ref: \"search\",\n name: $props.name,\n id: _ctx.id,\n type: \"text\",\n autocomplete: \"off\",\n spellcheck: \"false\",\n placeholder: _ctx.placeholder,\n style: $options.inputStyle,\n value: _ctx.search,\n disabled: $props.disabled,\n tabindex: $props.tabindex,\n onInput: _cache[2] || (_cache[2] = $event => (_ctx.updateSearch($event.target.value))),\n onFocus: _cache[3] || (_cache[3] = withModifiers($event => (_ctx.activate()), [\"prevent\"])),\n onBlur: _cache[4] || (_cache[4] = withModifiers($event => (_ctx.deactivate()), [\"prevent\"])),\n onKeyup: _cache[5] || (_cache[5] = withKeys($event => (_ctx.deactivate()), [\"esc\"])),\n onKeydown: [\n _cache[6] || (_cache[6] = withKeys(withModifiers($event => (_ctx.pointerForward()), [\"prevent\"]), [\"down\"])),\n _cache[7] || (_cache[7] = withKeys(withModifiers($event => (_ctx.pointerBackward()), [\"prevent\"]), [\"up\"])),\n _cache[9] || (_cache[9] = withKeys(withModifiers($event => (_ctx.removeLastElement()), [\"stop\"]), [\"delete\"]))\n ],\n onKeypress: _cache[8] || (_cache[8] = withKeys(withModifiers($event => (_ctx.addPointerElement($event)), [\"prevent\",\"stop\",\"self\"]), [\"enter\"])),\n class: \"multiselect__input\",\n \"aria-controls\": 'listbox-'+_ctx.id\n }, null, 44 /* STYLE, PROPS, HYDRATE_EVENTS */, [\"name\", \"id\", \"placeholder\", \"value\", \"disabled\", \"tabindex\", \"aria-controls\"]))\n : createCommentVNode(\"v-if\", true),\n ($options.isSingleLabelVisible)\n ? (openBlock(), createBlock(\"span\", {\n key: 1,\n class: \"multiselect__single\",\n onMousedown: _cache[10] || (_cache[10] = withModifiers((...args) => (_ctx.toggle && _ctx.toggle(...args)), [\"prevent\"]))\n }, [\n renderSlot(_ctx.$slots, \"singleLabel\", { option: $options.singleValue }, () => [\n createTextVNode(toDisplayString(_ctx.currentOptionLabel), 1 /* TEXT */)\n ])\n ], 32 /* HYDRATE_EVENTS */))\n : createCommentVNode(\"v-if\", true),\n ($options.isPlaceholderVisible)\n ? (openBlock(), createBlock(\"span\", {\n key: 2,\n class: \"multiselect__placeholder\",\n onMousedown: _cache[11] || (_cache[11] = withModifiers((...args) => (_ctx.toggle && _ctx.toggle(...args)), [\"prevent\"]))\n }, [\n renderSlot(_ctx.$slots, \"placeholder\", {}, () => [\n createTextVNode(toDisplayString(_ctx.placeholder), 1 /* TEXT */)\n ])\n ], 32 /* HYDRATE_EVENTS */))\n : createCommentVNode(\"v-if\", true)\n ], 512 /* NEED_PATCH */),\n createVNode(Transition, { name: \"multiselect\" }, {\n default: withCtx(() => [\n withDirectives(createVNode(\"div\", {\n class: \"multiselect__content-wrapper\",\n onFocus: _cache[12] || (_cache[12] = (...args) => (_ctx.activate && _ctx.activate(...args))),\n tabindex: \"-1\",\n onMousedown: _cache[13] || (_cache[13] = withModifiers(() => {}, [\"prevent\"])),\n style: { maxHeight: _ctx.optimizedHeight + 'px' },\n ref: \"list\"\n }, [\n createVNode(\"ul\", {\n class: \"multiselect__content\",\n style: $options.contentStyle,\n role: \"listbox\",\n id: 'listbox-'+_ctx.id\n }, [\n renderSlot(_ctx.$slots, \"beforeList\"),\n (_ctx.multiple && _ctx.max === _ctx.internalValue.length)\n ? (openBlock(), createBlock(\"li\", _hoisted_4, [\n createVNode(\"span\", _hoisted_5, [\n renderSlot(_ctx.$slots, \"maxElements\", {}, () => [\n createTextVNode(\"Maximum of \" + toDisplayString(_ctx.max) + \" options selected. First remove a selected option to select another.\", 1 /* TEXT */)\n ])\n ])\n ]))\n : createCommentVNode(\"v-if\", true),\n (!_ctx.max || _ctx.internalValue.length < _ctx.max)\n ? (openBlock(true), createBlock(Fragment, { key: 1 }, renderList(_ctx.filteredOptions, (option, index) => {\n return (openBlock(), createBlock(\"li\", {\n class: \"multiselect__element\",\n key: index,\n id: _ctx.id + '-' + index,\n role: !(option && (option.$isLabel || option.$isDisabled)) ? 'option' : null\n }, [\n (!(option && (option.$isLabel || option.$isDisabled)))\n ? (openBlock(), createBlock(\"span\", {\n key: 0,\n class: [_ctx.optionHighlight(index, option), \"multiselect__option\"],\n onClick: withModifiers($event => (_ctx.select(option)), [\"stop\"]),\n onMouseenter: withModifiers($event => (_ctx.pointerSet(index)), [\"self\"]),\n \"data-select\": option && option.isTag ? _ctx.tagPlaceholder : $options.selectLabelText,\n \"data-selected\": $options.selectedLabelText,\n \"data-deselect\": $options.deselectLabelText\n }, [\n renderSlot(_ctx.$slots, \"option\", {\n option: option,\n search: _ctx.search,\n index: index\n }, () => [\n createVNode(\"span\", null, toDisplayString(_ctx.getOptionLabel(option)), 1 /* TEXT */)\n ])\n ], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, [\"onClick\", \"onMouseenter\", \"data-select\", \"data-selected\", \"data-deselect\"]))\n : createCommentVNode(\"v-if\", true),\n (option && (option.$isLabel || option.$isDisabled))\n ? (openBlock(), createBlock(\"span\", {\n key: 1,\n \"data-select\": _ctx.groupSelect && $options.selectGroupLabelText,\n \"data-deselect\": _ctx.groupSelect && $options.deselectGroupLabelText,\n class: [_ctx.groupHighlight(index, option), \"multiselect__option\"],\n onMouseenter: withModifiers($event => (_ctx.groupSelect && _ctx.pointerSet(index)), [\"self\"]),\n onMousedown: withModifiers($event => (_ctx.selectGroup(option)), [\"prevent\"])\n }, [\n renderSlot(_ctx.$slots, \"option\", {\n option: option,\n search: _ctx.search,\n index: index\n }, () => [\n createVNode(\"span\", null, toDisplayString(_ctx.getOptionLabel(option)), 1 /* TEXT */)\n ])\n ], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, [\"data-select\", \"data-deselect\", \"onMouseenter\", \"onMousedown\"]))\n : createCommentVNode(\"v-if\", true)\n ], 8 /* PROPS */, [\"id\", \"role\"]))\n }), 128 /* KEYED_FRAGMENT */))\n : createCommentVNode(\"v-if\", true),\n withDirectives(createVNode(\"li\", null, [\n createVNode(\"span\", _hoisted_6, [\n renderSlot(_ctx.$slots, \"noResult\", { search: _ctx.search }, () => [\n _hoisted_7\n ])\n ])\n ], 512 /* NEED_PATCH */), [\n [vShow, $props.showNoResults && (_ctx.filteredOptions.length === 0 && _ctx.search && !$props.loading)]\n ]),\n withDirectives(createVNode(\"li\", null, [\n createVNode(\"span\", _hoisted_8, [\n renderSlot(_ctx.$slots, \"noOptions\", {}, () => [\n _hoisted_9\n ])\n ])\n ], 512 /* NEED_PATCH */), [\n [vShow, $props.showNoOptions && (_ctx.options.length === 0 && !_ctx.search && !$props.loading)]\n ]),\n renderSlot(_ctx.$slots, \"afterList\")\n ], 12 /* STYLE, PROPS */, [\"id\"])\n ], 36 /* STYLE, HYDRATE_EVENTS */), [\n [vShow, _ctx.isOpen]\n ])\n ]),\n _: 3 /* FORWARDED */\n })\n ], 42 /* CLASS, PROPS, HYDRATE_EVENTS */, [\"tabindex\", \"aria-owns\"]))\n}\n\nscript.render = render;\n\nexport default script;\nexport { script as Multiselect, multiselectMixin, pointerMixin };\n"],"names":["defineComponent","name","props","autoStart","type","Boolean","default","emitEvents","interval","Number","validator","value","now","Function","Date","tag","String","time","transform","emits","data","counting","endTime","totalMilliseconds","requestId","computed","days","Math","floor","this","hours","minutes","seconds","milliseconds","totalDays","totalHours","totalMinutes","totalSeconds","watch","$props","deep","immediate","handler","start","mounted","document","addEventListener","handleVisibilityChange","beforeUnmount","removeEventListener","pause","methods","$emit","visibilityState","continue","delay","min","init","prev","step","range","progress","requestAnimationFrame","end","cancelAnimationFrame","abort","update","max","restart","render","h","$slots","undefined","_source","_viewport","_isRetina","_supportClosest","_attrSrc","_attrSrcset","options","querySelectorAll","s","createStyleSheet","r","c","i","j","a","all","replace","split","length","addRule","currentStyle","k","push","removeRule","scope","util","_util","elements","destroyed","error","offset","root","success","selector","separator","containerClass","container","errorClass","breakpoints","loadInvisible","successClass","validateDelay","saveViewportOffsetDelay","srcset","src","Element","prototype","closest","window","devicePixelRatio","top","left","revalidate","initialize","load","force","opt","loadElement","each","element","destroy","object","unbindEvent","validateT","saveViewportOffsetT","count","throttle","validate","saveViewportOffset","width","screen","setTimeout","self","toArray","bindEvent","elementInView","hasClass","splice","ele","rect","getBoundingClientRect","elementContainer","containerRect","inView","right","bottom","viewport","offsetWidth","offsetHeight","dataSrc","getAttr","dataSrcSplitted","isImage","equal","parent","parentNode","isPicture","img","Image","onErrorHandler","addClass","onLoadHandler","handleSources","style","backgroundImage","itemLoaded","getElementsByTagName","source","handleSource","removeAttr","attr","dataAttr","setAttr","setAttribute","getAttribute","removeAttribute","str","nodeName","toLowerCase","className","indexOf","array","nodelist","unshift","innerHeight","documentElement","clientHeight","innerWidth","clientWidth","fn","attachEvent","capture","passive","detachEvent","l","minDelay","lastCall","apply","arguments","isEmpty","Array","isArray","filterOptions","search","label","customLabel","filter","option","includes","query","toString","trim","sort","b","stripGroups","$isLabel","flattenOptions","values","reduce","curr","$groupLabel","concat","flow","fns","x","v","f","script","mixins","isOpen","preferredOpenDirection","optimizedHeight","maxHeight","internalSearch","required","multiple","trackBy","searchable","clearOnSelect","hideSelected","placeholder","allowEmpty","resetAfter","closeOnSelect","taggable","tagPlaceholder","tagPosition","id","optionsLimit","groupValues","groupLabel","groupSelect","blockKeys","preserveSearch","preselectFirst","console","warn","internalValue","select","filteredOptions","modelValue","normalizedSearch","fun","filterAndFlat","isSelected","params","isExistingOption","isTag","slice","valueKeys","map","optionKeys","flatAndStrip","currentOptionLabel","getOptionLabel","getValue","groups","group","groupOptions","filterGroups","updateSearch","isOptionDisabled","$isDisabled","key","selectGroup","disabled","pointerDirty","deactivate","removeElement","selectedGroup","find","wholeGroupSelected","newValue","optionsToAdd","every","wholeGroupDisabled","shouldClose","index","removeLastElement","activate","adjustPosition","pointer","$nextTick","$refs","focus","$el","blur","toggle","spaceAbove","spaceBelow","openDirection","showPointer","optionHeight","pointerPosition","visibleElements","pointerAdjust","optionHighlight","groupHighlight","addPointerElement","pointerReset","pointerForward","list","scrollTop","pointerBackward","pointerSet","selectLabel","selectGroupLabel","selectedLabel","deselectLabel","deselectGroupLabel","showLabels","limit","limitText","loading","showNoOptions","showNoResults","tabindex","isSingleLabelVisible","singleValue","visibleValues","isPlaceholderVisible","deselectLabelText","deselectGroupLabelText","selectLabelText","selectGroupLabelText","selectedLabelText","inputStyle","position","padding","contentStyle","display","isAbove","showSearchInput","hasSingleSelectedSlot","visibleSingleValue","_hoisted_1","ref","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","createTextVNode","_hoisted_8","_hoisted_9","_ctx","_cache","$setup","$data","$options","openBlock","createBlock","onFocus","$event","onBlur","onKeydown","withKeys","withModifiers","onKeypress","onKeyup","role","renderSlot","createVNode","onMousedown","remove","withDirectives","Fragment","renderList","textContent","toDisplayString","vShow","createCommentVNode","Transition","withCtx","_","autocomplete","spellcheck","onInput","target","args","onClick","onMouseenter"],"sourceRoot":""}