\r\n\r\n\r\n\r\n\r\n\r\n","/**\n * Throttle methods by lodash\n */\n\nimport throttle from 'lodash.throttle'\n\nconst mixin = {\n\tcreated () {\n\t\tthis.goTo = throttle(this.goTo, this.throttleDelay)\n\t\tthis.getWidth = throttle(this.getWidth, 500)\n\t}\n}\n\nexport default mixin\n","// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es-x/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemPlannerItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemPlannerItem.vue?vue&type=script&lang=js&\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconPDF.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconPDF.vue?vue&type=script&lang=js&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:\"svg-inline--fa fa-chevron-left fa-w-10 fa-5x\",attrs:{\"aria-hidden\":\"true\",\"focusable\":\"false\",\"data-prefix\":\"fas\",\"data-icon\":\"chevron-left\",\"role\":\"img\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 320 512\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemImageSlider.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemImageSlider.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./IconChevronLeft.vue?vue&type=template&id=7e6d5fcb&\"\nimport script from \"./IconChevronLeft.vue?vue&type=script&lang=js&\"\nexport * from \"./IconChevronLeft.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","\r\n \r\n\r\n\r\n\r\n\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.suggestedItems.length > 0)?_c('b-row',{staticClass:\"pb-5\"},[_c('b-col',{staticClass:\"pt-3 pb-0 mb-0\",attrs:{\"cols\":\"12\"}},[_c('hr'),_c('h3',{staticClass:\"mb-0\"},[_vm._v(_vm._s(_vm.$t('related-items'))+\":\")])]),_vm._l((_vm.suggestedItems),function(suggestedItem){return _c('b-col',{key:suggestedItem.ID,staticClass:\"mt-0 pt-0\",attrs:{\"xs\":\"12\",\"sm\":\"6\",\"lg\":\"4\",\"xl\":\"3\"}},[_c('item',{attrs:{\"item\":suggestedItem,\"suggested-item\":true}})],1)})],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./ItemPlanner.vue?vue&type=template&id=1f466f9b&scoped=true&\"\nimport script from \"./ItemPlanner.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemPlanner.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ItemPlanner.vue?vue&type=style&index=0&id=1f466f9b&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f466f9b\",\n null\n \n)\n\n\n import installComponents from \"!D:/IIS/rentmagic.shop.hva/prod/node_modules/bootstrap-vue-loader/lib/runtime/installComponents.js\"\n import {BCol, BRow, BForm} from 'bootstrap-vue'\n installComponents(component, {BCol, BRow, BForm})\n \n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconChevronLeft.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IconChevronLeft.vue?vue&type=script&lang=js&\"","/*\n * blueimp Gallery JS\n * https://github.com/blueimp/Gallery\n *\n * Copyright 2013, Sebastian Tschan\n * https://blueimp.net\n *\n * Swipe implementation based on\n * https://github.com/bradbirdsall/Swipe\n *\n * Licensed under the MIT license:\n * https://opensource.org/licenses/MIT\n */\n\n/* global define, DocumentTouch */\n\n/* eslint-disable no-param-reassign */\n\n;(function (factory) {\n 'use strict'\n if (typeof define === 'function' && define.amd) {\n // Register as an anonymous AMD module:\n define(['./blueimp-helper'], factory)\n } else {\n // Browser globals:\n window.blueimp = window.blueimp || {}\n window.blueimp.Gallery = factory(window.blueimp.helper || window.jQuery)\n }\n})(function ($) {\n 'use strict'\n\n /**\n * Gallery constructor\n *\n * @class\n * @param {Array|NodeList} list Gallery content\n * @param {object} [options] Gallery options\n * @returns {object} Gallery object\n */\n function Gallery(list, options) {\n if (document.body.style.maxHeight === undefined) {\n // document.body.style.maxHeight is undefined on IE6 and lower\n return null\n }\n if (!this || this.options !== Gallery.prototype.options) {\n // Called as function instead of as constructor,\n // so we simply return a new instance:\n return new Gallery(list, options)\n }\n if (!list || !list.length) {\n this.console.log(\n 'blueimp Gallery: No or empty list provided as first argument.',\n list\n )\n return\n }\n this.list = list\n this.num = list.length\n this.initOptions(options)\n this.initialize()\n }\n\n $.extend(Gallery.prototype, {\n options: {\n // The Id, element or querySelector of the gallery widget:\n container: '#blueimp-gallery',\n // The tag name, Id, element or querySelector of the slides container:\n slidesContainer: 'div',\n // The tag name, Id, element or querySelector of the title element:\n titleElement: 'h3',\n // The class to add when the gallery is visible:\n displayClass: 'blueimp-gallery-display',\n // The class to add when the gallery controls are visible:\n controlsClass: 'blueimp-gallery-controls',\n // The class to add when the gallery only displays one element:\n singleClass: 'blueimp-gallery-single',\n // The class to add when the left edge has been reached:\n leftEdgeClass: 'blueimp-gallery-left',\n // The class to add when the right edge has been reached:\n rightEdgeClass: 'blueimp-gallery-right',\n // The class to add when the automatic slideshow is active:\n playingClass: 'blueimp-gallery-playing',\n // The class for all slides:\n slideClass: 'slide',\n // The slide class for loading elements:\n slideLoadingClass: 'slide-loading',\n // The slide class for elements that failed to load:\n slideErrorClass: 'slide-error',\n // The class for the content element loaded into each slide:\n slideContentClass: 'slide-content',\n // The class for the \"toggle\" control:\n toggleClass: 'toggle',\n // The class for the \"prev\" control:\n prevClass: 'prev',\n // The class for the \"next\" control:\n nextClass: 'next',\n // The class for the \"close\" control:\n closeClass: 'close',\n // The class for the \"play-pause\" toggle control:\n playPauseClass: 'play-pause',\n // The list object property (or data attribute) with the object type:\n typeProperty: 'type',\n // The list object property (or data attribute) with the object title:\n titleProperty: 'title',\n // The list object property (or data attribute) with the object alt text:\n altTextProperty: 'alt',\n // The list object property (or data attribute) with the object URL:\n urlProperty: 'href',\n // The list object property (or data attribute) with the object srcset URL(s):\n srcsetProperty: 'urlset',\n // The gallery listens for transitionend events before triggering the\n // opened and closed events, unless the following option is set to false:\n displayTransition: true,\n // Defines if the gallery slides are cleared from the gallery modal,\n // or reused for the next gallery initialization:\n clearSlides: true,\n // Defines if images should be stretched to fill the available space,\n // while maintaining their aspect ratio (will only be enabled for browsers\n // supporting background-size=\"contain\", which excludes IE < 9).\n // Set to \"cover\", to make images cover all available space (requires\n // support for background-size=\"cover\", which excludes IE < 9):\n stretchImages: false,\n // Toggle the controls on pressing the Return key:\n toggleControlsOnReturn: true,\n // Toggle the controls on slide click:\n toggleControlsOnSlideClick: true,\n // Toggle the automatic slideshow interval on pressing the Space key:\n toggleSlideshowOnSpace: true,\n // Navigate the gallery by pressing left and right on the keyboard:\n enableKeyboardNavigation: true,\n // Close the gallery on pressing the Esc key:\n closeOnEscape: true,\n // Close the gallery when clicking on an empty slide area:\n closeOnSlideClick: true,\n // Close the gallery by swiping up or down:\n closeOnSwipeUpOrDown: true,\n // Close the gallery when URL changes:\n closeOnHashChange: true,\n // Emulate touch events on mouse-pointer devices such as desktop browsers:\n emulateTouchEvents: true,\n // Stop touch events from bubbling up to ancestor elements of the Gallery:\n stopTouchEventsPropagation: false,\n // Hide the page scrollbars:\n hidePageScrollbars: true,\n // Stops any touches on the container from scrolling the page:\n disableScroll: true,\n // Carousel mode (shortcut for carousel specific options):\n carousel: false,\n // Allow continuous navigation, moving from last to first\n // and from first to last slide:\n continuous: true,\n // Remove elements outside of the preload range from the DOM:\n unloadElements: true,\n // Start with the automatic slideshow:\n startSlideshow: false,\n // Delay in milliseconds between slides for the automatic slideshow:\n slideshowInterval: 5000,\n // The direction the slides are moving: ltr=LeftToRight or rtl=RightToLeft\n slideshowDirection: 'ltr',\n // The starting index as integer.\n // Can also be an object of the given list,\n // or an equal object with the same url property:\n index: 0,\n // The number of elements to load around the current index:\n preloadRange: 2,\n // The transition duration between slide changes in milliseconds:\n transitionDuration: 300,\n // The transition duration for automatic slide changes, set to an integer\n // greater 0 to override the default transition duration:\n slideshowTransitionDuration: 500,\n // The event object for which the default action will be canceled\n // on Gallery initialization (e.g. the click event to open the Gallery):\n event: undefined,\n // Callback function executed when the Gallery is initialized.\n // Is called with the gallery instance as \"this\" object:\n onopen: undefined,\n // Callback function executed when the Gallery has been initialized\n // and the initialization transition has been completed.\n // Is called with the gallery instance as \"this\" object:\n onopened: undefined,\n // Callback function executed on slide change.\n // Is called with the gallery instance as \"this\" object and the\n // current index and slide as arguments:\n onslide: undefined,\n // Callback function executed after the slide change transition.\n // Is called with the gallery instance as \"this\" object and the\n // current index and slide as arguments:\n onslideend: undefined,\n // Callback function executed on slide content load.\n // Is called with the gallery instance as \"this\" object and the\n // slide index and slide element as arguments:\n onslidecomplete: undefined,\n // Callback function executed when the Gallery is about to be closed.\n // Is called with the gallery instance as \"this\" object:\n onclose: undefined,\n // Callback function executed when the Gallery has been closed\n // and the closing transition has been completed.\n // Is called with the gallery instance as \"this\" object:\n onclosed: undefined\n },\n\n carouselOptions: {\n hidePageScrollbars: false,\n toggleControlsOnReturn: false,\n toggleSlideshowOnSpace: false,\n enableKeyboardNavigation: false,\n closeOnEscape: false,\n closeOnSlideClick: false,\n closeOnSwipeUpOrDown: false,\n disableScroll: false,\n startSlideshow: true\n },\n\n console:\n window.console && typeof window.console.log === 'function'\n ? window.console\n : { log: function () {} },\n\n // Detect touch, transition, transform and background-size support:\n support: (function (element) {\n var support = {\n touch:\n window.ontouchstart !== undefined ||\n (window.DocumentTouch && document instanceof DocumentTouch)\n }\n var transitions = {\n webkitTransition: {\n end: 'webkitTransitionEnd',\n prefix: '-webkit-'\n },\n MozTransition: {\n end: 'transitionend',\n prefix: '-moz-'\n },\n OTransition: {\n end: 'otransitionend',\n prefix: '-o-'\n },\n transition: {\n end: 'transitionend',\n prefix: ''\n }\n }\n var prop\n for (prop in transitions) {\n if (\n Object.prototype.hasOwnProperty.call(transitions, prop) &&\n element.style[prop] !== undefined\n ) {\n support.transition = transitions[prop]\n support.transition.name = prop\n break\n }\n }\n /**\n * Tests browser support\n */\n function elementTests() {\n var transition = support.transition\n var prop\n var translateZ\n document.body.appendChild(element)\n if (transition) {\n prop = transition.name.slice(0, -9) + 'ransform'\n if (element.style[prop] !== undefined) {\n element.style[prop] = 'translateZ(0)'\n translateZ = window\n .getComputedStyle(element)\n .getPropertyValue(transition.prefix + 'transform')\n support.transform = {\n prefix: transition.prefix,\n name: prop,\n translate: true,\n translateZ: !!translateZ && translateZ !== 'none'\n }\n }\n }\n if (element.style.backgroundSize !== undefined) {\n support.backgroundSize = {}\n element.style.backgroundSize = 'contain'\n support.backgroundSize.contain =\n window\n .getComputedStyle(element)\n .getPropertyValue('background-size') === 'contain'\n element.style.backgroundSize = 'cover'\n support.backgroundSize.cover =\n window\n .getComputedStyle(element)\n .getPropertyValue('background-size') === 'cover'\n }\n document.body.removeChild(element)\n }\n if (document.body) {\n elementTests()\n } else {\n $(document).on('DOMContentLoaded', elementTests)\n }\n return support\n // Test element, has to be standard HTML and must not be hidden\n // for the CSS3 tests using window.getComputedStyle to be applicable:\n })(document.createElement('div')),\n\n requestAnimationFrame:\n window.requestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n window.mozRequestAnimationFrame,\n\n cancelAnimationFrame:\n window.cancelAnimationFrame ||\n window.webkitCancelRequestAnimationFrame ||\n window.webkitCancelAnimationFrame ||\n window.mozCancelAnimationFrame,\n\n initialize: function () {\n this.initStartIndex()\n if (this.initWidget() === false) {\n return false\n }\n this.initEventListeners()\n // Load the slide at the given index:\n this.onslide(this.index)\n // Manually trigger the slideend event for the initial slide:\n this.ontransitionend()\n // Start the automatic slideshow if applicable:\n if (this.options.startSlideshow) {\n this.play()\n }\n },\n\n slide: function (to, duration) {\n window.clearTimeout(this.timeout)\n var index = this.index\n var direction\n var naturalDirection\n var diff\n if (index === to || this.num === 1) {\n return\n }\n if (!duration) {\n duration = this.options.transitionDuration\n }\n if (this.support.transform) {\n if (!this.options.continuous) {\n to = this.circle(to)\n }\n // 1: backward, -1: forward:\n direction = Math.abs(index - to) / (index - to)\n // Get the actual position of the slide:\n if (this.options.continuous) {\n naturalDirection = direction\n direction = -this.positions[this.circle(to)] / this.slideWidth\n // If going forward but to < index, use to = slides.length + to\n // If going backward but to > index, use to = -slides.length + to\n if (direction !== naturalDirection) {\n to = -direction * this.num + to\n }\n }\n diff = Math.abs(index - to) - 1\n // Move all the slides between index and to in the right direction:\n while (diff) {\n diff -= 1\n this.move(\n this.circle((to > index ? to : index) - diff - 1),\n this.slideWidth * direction,\n 0\n )\n }\n to = this.circle(to)\n this.move(index, this.slideWidth * direction, duration)\n this.move(to, 0, duration)\n if (this.options.continuous) {\n this.move(\n this.circle(to - direction),\n -(this.slideWidth * direction),\n 0\n )\n }\n } else {\n to = this.circle(to)\n this.animate(index * -this.slideWidth, to * -this.slideWidth, duration)\n }\n this.onslide(to)\n },\n\n getIndex: function () {\n return this.index\n },\n\n getNumber: function () {\n return this.num\n },\n\n prev: function () {\n if (this.options.continuous || this.index) {\n this.slide(this.index - 1)\n }\n },\n\n next: function () {\n if (this.options.continuous || this.index < this.num - 1) {\n this.slide(this.index + 1)\n }\n },\n\n play: function (time) {\n var that = this\n var nextIndex =\n this.index + (this.options.slideshowDirection === 'rtl' ? -1 : 1)\n window.clearTimeout(this.timeout)\n this.interval = time || this.options.slideshowInterval\n if (this.elements[this.index] > 1) {\n this.timeout = this.setTimeout(\n (!this.requestAnimationFrame && this.slide) ||\n function (to, duration) {\n that.animationFrameId = that.requestAnimationFrame.call(\n window,\n function () {\n that.slide(to, duration)\n }\n )\n },\n [nextIndex, this.options.slideshowTransitionDuration],\n this.interval\n )\n }\n this.container.addClass(this.options.playingClass)\n },\n\n pause: function () {\n window.clearTimeout(this.timeout)\n this.interval = null\n if (this.cancelAnimationFrame) {\n this.cancelAnimationFrame.call(window, this.animationFrameId)\n this.animationFrameId = null\n }\n this.container.removeClass(this.options.playingClass)\n },\n\n add: function (list) {\n var i\n if (!list.concat) {\n // Make a real array out of the list to add:\n list = Array.prototype.slice.call(list)\n }\n if (!this.list.concat) {\n // Make a real array out of the Gallery list:\n this.list = Array.prototype.slice.call(this.list)\n }\n this.list = this.list.concat(list)\n this.num = this.list.length\n if (this.num > 2 && this.options.continuous === null) {\n this.options.continuous = true\n this.container.removeClass(this.options.leftEdgeClass)\n }\n this.container\n .removeClass(this.options.rightEdgeClass)\n .removeClass(this.options.singleClass)\n for (i = this.num - list.length; i < this.num; i += 1) {\n this.addSlide(i)\n this.positionSlide(i)\n }\n this.positions.length = this.num\n this.initSlides(true)\n },\n\n resetSlides: function () {\n this.slidesContainer.empty()\n this.unloadAllSlides()\n this.slides = []\n },\n\n handleClose: function () {\n var options = this.options\n this.destroyEventListeners()\n // Cancel the slideshow:\n this.pause()\n this.container[0].style.display = 'none'\n this.container\n .removeClass(options.displayClass)\n .removeClass(options.singleClass)\n .removeClass(options.leftEdgeClass)\n .removeClass(options.rightEdgeClass)\n if (options.hidePageScrollbars) {\n document.body.style.overflow = this.bodyOverflowStyle\n }\n if (this.options.clearSlides) {\n this.resetSlides()\n }\n if (this.options.onclosed) {\n this.options.onclosed.call(this)\n }\n },\n\n close: function () {\n var that = this\n /**\n * Close handler\n *\n * @param {event} event Close event\n */\n function closeHandler(event) {\n if (event.target === that.container[0]) {\n that.container.off(that.support.transition.end, closeHandler)\n that.handleClose()\n }\n }\n if (this.options.onclose) {\n this.options.onclose.call(this)\n }\n if (this.support.transition && this.options.displayTransition) {\n this.container.on(this.support.transition.end, closeHandler)\n this.container.removeClass(this.options.displayClass)\n } else {\n this.handleClose()\n }\n },\n\n circle: function (index) {\n // Always return a number inside of the slides index range:\n return (this.num + (index % this.num)) % this.num\n },\n\n move: function (index, dist, duration) {\n this.translateX(index, dist, duration)\n this.positions[index] = dist\n },\n\n translate: function (index, x, y, duration) {\n if (!this.slides[index]) return\n var style = this.slides[index].style\n var transition = this.support.transition\n var transform = this.support.transform\n style[transition.name + 'Duration'] = duration + 'ms'\n style[transform.name] =\n 'translate(' +\n x +\n 'px, ' +\n y +\n 'px)' +\n (transform.translateZ ? ' translateZ(0)' : '')\n },\n\n translateX: function (index, x, duration) {\n this.translate(index, x, 0, duration)\n },\n\n translateY: function (index, y, duration) {\n this.translate(index, 0, y, duration)\n },\n\n animate: function (from, to, duration) {\n if (!duration) {\n this.slidesContainer[0].style.left = to + 'px'\n return\n }\n var that = this\n var start = new Date().getTime()\n var timer = window.setInterval(function () {\n var timeElap = new Date().getTime() - start\n if (timeElap > duration) {\n that.slidesContainer[0].style.left = to + 'px'\n that.ontransitionend()\n window.clearInterval(timer)\n return\n }\n that.slidesContainer[0].style.left =\n (to - from) * (Math.floor((timeElap / duration) * 100) / 100) +\n from +\n 'px'\n }, 4)\n },\n\n preventDefault: function (event) {\n if (event.preventDefault) {\n event.preventDefault()\n } else {\n event.returnValue = false\n }\n },\n\n stopPropagation: function (event) {\n if (event.stopPropagation) {\n event.stopPropagation()\n } else {\n event.cancelBubble = true\n }\n },\n\n onresize: function () {\n this.initSlides(true)\n },\n\n onhashchange: function () {\n if (this.options.closeOnHashChange) {\n this.close()\n }\n },\n\n onmousedown: function (event) {\n // Trigger on clicks of the left mouse button only\n // and exclude video & audio elements:\n if (\n event.which &&\n event.which === 1 &&\n event.target.nodeName !== 'VIDEO' &&\n event.target.nodeName !== 'AUDIO'\n ) {\n // Preventing the default mousedown action is required\n // to make touch emulation work with Firefox:\n event.preventDefault()\n ;(event.originalEvent || event).touches = [\n {\n pageX: event.pageX,\n pageY: event.pageY\n }\n ]\n this.ontouchstart(event)\n }\n },\n\n onmousemove: function (event) {\n if (this.touchStart) {\n ;(event.originalEvent || event).touches = [\n {\n pageX: event.pageX,\n pageY: event.pageY\n }\n ]\n this.ontouchmove(event)\n }\n },\n\n onmouseup: function (event) {\n if (this.touchStart) {\n this.ontouchend(event)\n delete this.touchStart\n }\n },\n\n onmouseout: function (event) {\n if (this.touchStart) {\n var target = event.target\n var related = event.relatedTarget\n if (!related || (related !== target && !$.contains(target, related))) {\n this.onmouseup(event)\n }\n }\n },\n\n ontouchstart: function (event) {\n if (this.options.stopTouchEventsPropagation) {\n this.stopPropagation(event)\n }\n // jQuery doesn't copy touch event properties by default,\n // so we have to access the originalEvent object:\n var touch = (event.originalEvent || event).touches[0]\n this.touchStart = {\n // Remember the initial touch coordinates:\n x: touch.pageX,\n y: touch.pageY,\n // Store the time to determine touch duration:\n time: Date.now()\n }\n // Helper variable to detect scroll movement:\n this.isScrolling = undefined\n // Reset delta values:\n this.touchDelta = {}\n },\n\n ontouchmove: function (event) {\n if (this.options.stopTouchEventsPropagation) {\n this.stopPropagation(event)\n }\n // jQuery doesn't copy touch event properties by default,\n // so we have to access the originalEvent object:\n var touches = (event.originalEvent || event).touches\n var touch = touches[0]\n var scale = (event.originalEvent || event).scale\n var index = this.index\n var touchDeltaX\n var indices\n // Ensure this is a one touch swipe and not, e.g. a pinch:\n if (touches.length > 1 || (scale && scale !== 1)) {\n return\n }\n if (this.options.disableScroll) {\n event.preventDefault()\n }\n // Measure change in x and y coordinates:\n this.touchDelta = {\n x: touch.pageX - this.touchStart.x,\n y: touch.pageY - this.touchStart.y\n }\n touchDeltaX = this.touchDelta.x\n // Detect if this is a vertical scroll movement (run only once per touch):\n if (this.isScrolling === undefined) {\n this.isScrolling =\n this.isScrolling ||\n Math.abs(touchDeltaX) < Math.abs(this.touchDelta.y)\n }\n if (!this.isScrolling) {\n // Always prevent horizontal scroll:\n event.preventDefault()\n // Stop the slideshow:\n window.clearTimeout(this.timeout)\n if (this.options.continuous) {\n indices = [this.circle(index + 1), index, this.circle(index - 1)]\n } else {\n // Increase resistance if first slide and sliding left\n // or last slide and sliding right:\n this.touchDelta.x = touchDeltaX =\n touchDeltaX /\n ((!index && touchDeltaX > 0) ||\n (index === this.num - 1 && touchDeltaX < 0)\n ? Math.abs(touchDeltaX) / this.slideWidth + 1\n : 1)\n indices = [index]\n if (index) {\n indices.push(index - 1)\n }\n if (index < this.num - 1) {\n indices.unshift(index + 1)\n }\n }\n while (indices.length) {\n index = indices.pop()\n this.translateX(index, touchDeltaX + this.positions[index], 0)\n }\n } else if (!this.options.carousel) {\n this.translateY(index, this.touchDelta.y + this.positions[index], 0)\n }\n },\n\n ontouchend: function (event) {\n if (this.options.stopTouchEventsPropagation) {\n this.stopPropagation(event)\n }\n var index = this.index\n var absTouchDeltaX = Math.abs(this.touchDelta.x)\n var slideWidth = this.slideWidth\n var duration = Math.ceil(\n (this.options.transitionDuration * (1 - absTouchDeltaX / slideWidth)) /\n 2\n )\n // Determine if slide attempt triggers next/prev slide:\n var isValidSlide = absTouchDeltaX > 20\n // Determine if slide attempt is past start or end:\n var isPastBounds =\n (!index && this.touchDelta.x > 0) ||\n (index === this.num - 1 && this.touchDelta.x < 0)\n var isValidClose =\n !isValidSlide &&\n this.options.closeOnSwipeUpOrDown &&\n Math.abs(this.touchDelta.y) > 20\n var direction\n var indexForward\n var indexBackward\n var distanceForward\n var distanceBackward\n if (this.options.continuous) {\n isPastBounds = false\n }\n // Determine direction of swipe (true: right, false: left):\n direction = this.touchDelta.x < 0 ? -1 : 1\n if (!this.isScrolling) {\n if (isValidSlide && !isPastBounds) {\n indexForward = index + direction\n indexBackward = index - direction\n distanceForward = slideWidth * direction\n distanceBackward = -slideWidth * direction\n if (this.options.continuous) {\n this.move(this.circle(indexForward), distanceForward, 0)\n this.move(this.circle(index - 2 * direction), distanceBackward, 0)\n } else if (indexForward >= 0 && indexForward < this.num) {\n this.move(indexForward, distanceForward, 0)\n }\n this.move(index, this.positions[index] + distanceForward, duration)\n this.move(\n this.circle(indexBackward),\n this.positions[this.circle(indexBackward)] + distanceForward,\n duration\n )\n index = this.circle(indexBackward)\n this.onslide(index)\n } else {\n // Move back into position\n if (this.options.continuous) {\n this.move(this.circle(index - 1), -slideWidth, duration)\n this.move(index, 0, duration)\n this.move(this.circle(index + 1), slideWidth, duration)\n } else {\n if (index) {\n this.move(index - 1, -slideWidth, duration)\n }\n this.move(index, 0, duration)\n if (index < this.num - 1) {\n this.move(index + 1, slideWidth, duration)\n }\n }\n }\n } else {\n if (isValidClose) {\n this.close()\n } else {\n // Move back into position\n this.translateY(index, 0, duration)\n }\n }\n },\n\n ontouchcancel: function (event) {\n if (this.touchStart) {\n this.ontouchend(event)\n delete this.touchStart\n }\n },\n\n ontransitionend: function (event) {\n var slide = this.slides[this.index]\n if (!event || slide === event.target) {\n if (this.interval) {\n this.play()\n }\n this.setTimeout(this.options.onslideend, [this.index, slide])\n }\n },\n\n oncomplete: function (event) {\n var target = event.target || event.srcElement\n var parent = target && target.parentNode\n var index\n if (!target || !parent) {\n return\n }\n index = this.getNodeIndex(parent)\n $(parent).removeClass(this.options.slideLoadingClass)\n if (event.type === 'error') {\n $(parent).addClass(this.options.slideErrorClass)\n this.elements[index] = 3 // Fail\n } else {\n this.elements[index] = 2 // Done\n }\n // Fix for IE7's lack of support for percentage max-height:\n if (target.clientHeight > this.container[0].clientHeight) {\n target.style.maxHeight = this.container[0].clientHeight\n }\n if (this.interval && this.slides[this.index] === parent) {\n this.play()\n }\n this.setTimeout(this.options.onslidecomplete, [index, parent])\n },\n\n onload: function (event) {\n this.oncomplete(event)\n },\n\n onerror: function (event) {\n this.oncomplete(event)\n },\n\n onkeydown: function (event) {\n switch (event.which || event.keyCode) {\n case 13: // Return\n if (this.options.toggleControlsOnReturn) {\n this.preventDefault(event)\n this.toggleControls()\n }\n break\n case 27: // Esc\n if (this.options.closeOnEscape) {\n this.close()\n // prevent Esc from closing other things\n event.stopImmediatePropagation()\n }\n break\n case 32: // Space\n if (this.options.toggleSlideshowOnSpace) {\n this.preventDefault(event)\n this.toggleSlideshow()\n }\n break\n case 37: // Left\n if (this.options.enableKeyboardNavigation) {\n this.preventDefault(event)\n this.prev()\n }\n break\n case 39: // Right\n if (this.options.enableKeyboardNavigation) {\n this.preventDefault(event)\n this.next()\n }\n break\n }\n },\n\n handleClick: function (event) {\n var options = this.options\n var target = event.target || event.srcElement\n var parent = target.parentNode\n /**\n * Checks if the target from the close has the given class\n *\n * @param {string} className Class name\n * @returns {boolean} Returns true if the target has the class name\n */\n function isTarget(className) {\n return $(target).hasClass(className) || $(parent).hasClass(className)\n }\n if (isTarget(options.toggleClass)) {\n // Click on \"toggle\" control\n this.preventDefault(event)\n this.toggleControls()\n } else if (isTarget(options.prevClass)) {\n // Click on \"prev\" control\n this.preventDefault(event)\n this.prev()\n } else if (isTarget(options.nextClass)) {\n // Click on \"next\" control\n this.preventDefault(event)\n this.next()\n } else if (isTarget(options.closeClass)) {\n // Click on \"close\" control\n this.preventDefault(event)\n this.close()\n } else if (isTarget(options.playPauseClass)) {\n // Click on \"play-pause\" control\n this.preventDefault(event)\n this.toggleSlideshow()\n } else if (parent === this.slidesContainer[0]) {\n // Click on slide background\n if (options.closeOnSlideClick) {\n this.preventDefault(event)\n this.close()\n } else if (options.toggleControlsOnSlideClick) {\n this.preventDefault(event)\n this.toggleControls()\n }\n } else if (\n parent.parentNode &&\n parent.parentNode === this.slidesContainer[0]\n ) {\n // Click on displayed element\n if (options.toggleControlsOnSlideClick) {\n this.preventDefault(event)\n this.toggleControls()\n }\n }\n },\n\n onclick: function (event) {\n if (\n this.options.emulateTouchEvents &&\n this.touchDelta &&\n (Math.abs(this.touchDelta.x) > 20 || Math.abs(this.touchDelta.y) > 20)\n ) {\n delete this.touchDelta\n return\n }\n return this.handleClick(event)\n },\n\n updateEdgeClasses: function (index) {\n if (!index) {\n this.container.addClass(this.options.leftEdgeClass)\n } else {\n this.container.removeClass(this.options.leftEdgeClass)\n }\n if (index === this.num - 1) {\n this.container.addClass(this.options.rightEdgeClass)\n } else {\n this.container.removeClass(this.options.rightEdgeClass)\n }\n },\n\n handleSlide: function (index) {\n if (!this.options.continuous) {\n this.updateEdgeClasses(index)\n }\n this.loadElements(index)\n if (this.options.unloadElements) {\n this.unloadElements(index)\n }\n this.setTitle(index)\n },\n\n onslide: function (index) {\n this.index = index\n this.handleSlide(index)\n this.setTimeout(this.options.onslide, [index, this.slides[index]])\n },\n\n setTitle: function (index) {\n var firstChild = this.slides[index].firstChild\n var text = firstChild.title || firstChild.alt\n var titleElement = this.titleElement\n if (titleElement.length) {\n this.titleElement.empty()\n if (text) {\n titleElement[0].appendChild(document.createTextNode(text))\n }\n }\n },\n\n setTimeout: function (func, args, wait) {\n var that = this\n return (\n func &&\n window.setTimeout(function () {\n func.apply(that, args || [])\n }, wait || 0)\n )\n },\n\n imageFactory: function (obj, callback) {\n var that = this\n var img = this.imagePrototype.cloneNode(false)\n var url = obj\n var backgroundSize = this.options.stretchImages\n var called\n var element\n var title\n var altText\n /**\n * Wraps the callback function for the load/error event\n *\n * @param {event} event load/error event\n * @returns {number} timeout ID\n */\n function callbackWrapper(event) {\n if (!called) {\n event = {\n type: event.type,\n target: element\n }\n if (!element.parentNode) {\n // Fix for IE7 firing the load event for\n // cached images before the element could\n // be added to the DOM:\n return that.setTimeout(callbackWrapper, [event])\n }\n called = true\n $(img).off('load error', callbackWrapper)\n if (backgroundSize) {\n if (event.type === 'load') {\n element.style.background = 'url(\"' + url + '\") center no-repeat'\n element.style.backgroundSize = backgroundSize\n }\n }\n callback(event)\n }\n }\n if (typeof url !== 'string') {\n url = this.getItemProperty(obj, this.options.urlProperty)\n title = this.getItemProperty(obj, this.options.titleProperty)\n altText =\n this.getItemProperty(obj, this.options.altTextProperty) || title\n }\n if (backgroundSize === true) {\n backgroundSize = 'contain'\n }\n backgroundSize =\n this.support.backgroundSize &&\n this.support.backgroundSize[backgroundSize] &&\n backgroundSize\n if (backgroundSize) {\n element = this.elementPrototype.cloneNode(false)\n } else {\n element = img\n img.draggable = false\n }\n if (title) {\n element.title = title\n }\n if (altText) {\n element.alt = altText\n }\n $(img).on('load error', callbackWrapper)\n img.src = url\n return element\n },\n\n createElement: function (obj, callback) {\n var type = obj && this.getItemProperty(obj, this.options.typeProperty)\n var factory =\n (type && this[type.split('/')[0] + 'Factory']) || this.imageFactory\n var element = obj && factory.call(this, obj, callback)\n var srcset = this.getItemProperty(obj, this.options.srcsetProperty)\n if (!element) {\n element = this.elementPrototype.cloneNode(false)\n this.setTimeout(callback, [\n {\n type: 'error',\n target: element\n }\n ])\n }\n if (srcset) {\n element.setAttribute('srcset', srcset)\n }\n $(element).addClass(this.options.slideContentClass)\n return element\n },\n\n loadElement: function (index) {\n if (!this.elements[index]) {\n if (this.slides[index].firstChild) {\n this.elements[index] = $(this.slides[index]).hasClass(\n this.options.slideErrorClass\n )\n ? 3\n : 2\n } else {\n this.elements[index] = 1 // Loading\n $(this.slides[index]).addClass(this.options.slideLoadingClass)\n this.slides[index].appendChild(\n this.createElement(this.list[index], this.proxyListener)\n )\n }\n }\n },\n\n loadElements: function (index) {\n var limit = Math.min(this.num, this.options.preloadRange * 2 + 1)\n var j = index\n var i\n for (i = 0; i < limit; i += 1) {\n // First load the current slide element (0),\n // then the next one (+1),\n // then the previous one (-2),\n // then the next after next (+2), etc.:\n j += i * (i % 2 === 0 ? -1 : 1)\n // Connect the ends of the list to load slide elements for\n // continuous navigation:\n j = this.circle(j)\n this.loadElement(j)\n }\n },\n\n unloadElements: function (index) {\n var i, diff\n for (i in this.elements) {\n if (Object.prototype.hasOwnProperty.call(this.elements, i)) {\n diff = Math.abs(index - i)\n if (\n diff > this.options.preloadRange &&\n diff + this.options.preloadRange < this.num\n ) {\n this.unloadSlide(i)\n delete this.elements[i]\n }\n }\n }\n },\n\n addSlide: function (index) {\n var slide = this.slidePrototype.cloneNode(false)\n slide.setAttribute('data-index', index)\n this.slidesContainer[0].appendChild(slide)\n this.slides.push(slide)\n },\n\n positionSlide: function (index) {\n var slide = this.slides[index]\n slide.style.width = this.slideWidth + 'px'\n if (this.support.transform) {\n slide.style.left = index * -this.slideWidth + 'px'\n this.move(\n index,\n this.index > index\n ? -this.slideWidth\n : this.index < index\n ? this.slideWidth\n : 0,\n 0\n )\n }\n },\n\n initSlides: function (reload) {\n var clearSlides, i\n if (!reload) {\n this.positions = []\n this.positions.length = this.num\n this.elements = {}\n this.imagePrototype = document.createElement('img')\n this.elementPrototype = document.createElement('div')\n this.slidePrototype = document.createElement('div')\n $(this.slidePrototype).addClass(this.options.slideClass)\n this.slides = this.slidesContainer[0].children\n clearSlides =\n this.options.clearSlides || this.slides.length !== this.num\n }\n this.slideWidth = this.container[0].clientWidth\n this.slideHeight = this.container[0].clientHeight\n this.slidesContainer[0].style.width = this.num * this.slideWidth + 'px'\n if (clearSlides) {\n this.resetSlides()\n }\n for (i = 0; i < this.num; i += 1) {\n if (clearSlides) {\n this.addSlide(i)\n }\n this.positionSlide(i)\n }\n // Reposition the slides before and after the given index:\n if (this.options.continuous && this.support.transform) {\n this.move(this.circle(this.index - 1), -this.slideWidth, 0)\n this.move(this.circle(this.index + 1), this.slideWidth, 0)\n }\n if (!this.support.transform) {\n this.slidesContainer[0].style.left =\n this.index * -this.slideWidth + 'px'\n }\n },\n\n unloadSlide: function (index) {\n var slide, firstChild\n slide = this.slides[index]\n firstChild = slide.firstChild\n if (firstChild !== null) {\n slide.removeChild(firstChild)\n }\n },\n\n unloadAllSlides: function () {\n var i, len\n for (i = 0, len = this.slides.length; i < len; i++) {\n this.unloadSlide(i)\n }\n },\n\n toggleControls: function () {\n var controlsClass = this.options.controlsClass\n if (this.container.hasClass(controlsClass)) {\n this.container.removeClass(controlsClass)\n } else {\n this.container.addClass(controlsClass)\n }\n },\n\n toggleSlideshow: function () {\n if (!this.interval) {\n this.play()\n } else {\n this.pause()\n }\n },\n\n getNodeIndex: function (element) {\n return parseInt(element.getAttribute('data-index'), 10)\n },\n\n getNestedProperty: function (obj, property) {\n property.replace(\n // Matches native JavaScript notation in a String,\n // e.g. '[\"doubleQuoteProp\"].dotProp[2]'\n // eslint-disable-next-line no-useless-escape\n /\\[(?:'([^']+)'|\"([^\"]+)\"|(\\d+))\\]|(?:(?:^|\\.)([^\\.\\[]+))/g,\n function (str, singleQuoteProp, doubleQuoteProp, arrayIndex, dotProp) {\n var prop =\n dotProp ||\n singleQuoteProp ||\n doubleQuoteProp ||\n (arrayIndex && parseInt(arrayIndex, 10))\n if (str && obj) {\n obj = obj[prop]\n }\n }\n )\n return obj\n },\n\n getDataProperty: function (obj, property) {\n var key\n var prop\n if (obj.dataset) {\n key = property.replace(/-([a-z])/g, function (_, b) {\n return b.toUpperCase()\n })\n prop = obj.dataset[key]\n } else if (obj.getAttribute) {\n prop = obj.getAttribute(\n 'data-' + property.replace(/([A-Z])/g, '-$1').toLowerCase()\n )\n }\n if (typeof prop === 'string') {\n // eslint-disable-next-line no-useless-escape\n if (\n /^(true|false|null|-?\\d+(\\.\\d+)?|\\{[\\s\\S]*\\}|\\[[\\s\\S]*\\])$/.test(prop)\n ) {\n try {\n return $.parseJSON(prop)\n } catch (ignore) {\n // ignore JSON parsing errors\n }\n }\n return prop\n }\n },\n\n getItemProperty: function (obj, property) {\n var prop = this.getDataProperty(obj, property)\n if (prop === undefined) {\n prop = obj[property]\n }\n if (prop === undefined) {\n prop = this.getNestedProperty(obj, property)\n }\n return prop\n },\n\n initStartIndex: function () {\n var index = this.options.index\n var urlProperty = this.options.urlProperty\n var i\n // Check if the index is given as a list object:\n if (index && typeof index !== 'number') {\n for (i = 0; i < this.num; i += 1) {\n if (\n this.list[i] === index ||\n this.getItemProperty(this.list[i], urlProperty) ===\n this.getItemProperty(index, urlProperty)\n ) {\n index = i\n break\n }\n }\n }\n // Make sure the index is in the list range:\n this.index = this.circle(parseInt(index, 10) || 0)\n },\n\n initEventListeners: function () {\n var that = this\n var slidesContainer = this.slidesContainer\n /**\n * Proxy listener\n *\n * @param {event} event original event\n */\n function proxyListener(event) {\n var type =\n that.support.transition && that.support.transition.end === event.type\n ? 'transitionend'\n : event.type\n that['on' + type](event)\n }\n $(window).on('resize', proxyListener)\n $(window).on('hashchange', proxyListener)\n $(document.body).on('keydown', proxyListener)\n this.container.on('click', proxyListener)\n if (this.support.touch) {\n slidesContainer.on(\n 'touchstart touchmove touchend touchcancel',\n proxyListener\n )\n } else if (this.options.emulateTouchEvents && this.support.transition) {\n slidesContainer.on(\n 'mousedown mousemove mouseup mouseout',\n proxyListener\n )\n }\n if (this.support.transition) {\n slidesContainer.on(this.support.transition.end, proxyListener)\n }\n this.proxyListener = proxyListener\n },\n\n destroyEventListeners: function () {\n var slidesContainer = this.slidesContainer\n var proxyListener = this.proxyListener\n $(window).off('resize', proxyListener)\n $(document.body).off('keydown', proxyListener)\n this.container.off('click', proxyListener)\n if (this.support.touch) {\n slidesContainer.off(\n 'touchstart touchmove touchend touchcancel',\n proxyListener\n )\n } else if (this.options.emulateTouchEvents && this.support.transition) {\n slidesContainer.off(\n 'mousedown mousemove mouseup mouseout',\n proxyListener\n )\n }\n if (this.support.transition) {\n slidesContainer.off(this.support.transition.end, proxyListener)\n }\n },\n\n handleOpen: function () {\n if (this.options.onopened) {\n this.options.onopened.call(this)\n }\n },\n\n initWidget: function () {\n var that = this\n /**\n * Open handler\n *\n * @param {event} event Gallery open event\n */\n function openHandler(event) {\n if (event.target === that.container[0]) {\n that.container.off(that.support.transition.end, openHandler)\n that.handleOpen()\n }\n }\n this.container = $(this.options.container)\n if (!this.container.length) {\n this.console.log(\n 'blueimp Gallery: Widget container not found.',\n this.options.container\n )\n return false\n }\n this.slidesContainer = this.container\n .find(this.options.slidesContainer)\n .first()\n if (!this.slidesContainer.length) {\n this.console.log(\n 'blueimp Gallery: Slides container not found.',\n this.options.slidesContainer\n )\n return false\n }\n this.titleElement = this.container.find(this.options.titleElement).first()\n if (this.num === 1) {\n this.container.addClass(this.options.singleClass)\n }\n if (this.options.onopen) {\n this.options.onopen.call(this)\n }\n if (this.support.transition && this.options.displayTransition) {\n this.container.on(this.support.transition.end, openHandler)\n } else {\n this.handleOpen()\n }\n if (this.options.hidePageScrollbars) {\n // Hide the page scrollbars:\n this.bodyOverflowStyle = document.body.style.overflow\n document.body.style.overflow = 'hidden'\n }\n this.container[0].style.display = 'block'\n this.initSlides()\n this.container.addClass(this.options.displayClass)\n },\n\n initOptions: function (options) {\n // Create a copy of the prototype options:\n this.options = $.extend({}, this.options)\n // Check if carousel mode is enabled:\n if (\n (options && options.carousel) ||\n (this.options.carousel && (!options || options.carousel !== false))\n ) {\n $.extend(this.options, this.carouselOptions)\n }\n // Override any given options:\n $.extend(this.options, options)\n if (this.num < 3) {\n // 1 or 2 slides cannot be displayed continuous,\n // remember the original option by setting to null instead of false:\n this.options.continuous = this.options.continuous ? null : false\n }\n if (!this.support.transition) {\n this.options.emulateTouchEvents = false\n }\n if (this.options.event) {\n this.preventDefault(this.options.event)\n }\n }\n })\n\n return Gallery\n})\n","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./IconPlus.vue?vue&type=template&id=0b1263e9&\"\nimport script from \"./IconPlus.vue?vue&type=script&lang=js&\"\nexport * from \"./IconPlus.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","const { axiosCreate } = require('./Api')\r\nconst { checkResponse } = require('../controllers/errorHandler')\r\n\r\nimport dayjs from 'dayjs'\r\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\r\ndayjs.extend(customParseFormat)\r\n\r\nimport store from '../state/store'\r\n\r\nasync function getItems({\r\n size = 12,\r\n index = 1,\r\n categoryID = null,\r\n search = null,\r\n orderBy = null,\r\n sortReverse = null\r\n} = {}) {\r\n let warehouse = store.state.activeWarehouse\r\n\r\n if (warehouse === '') {\r\n warehouse = null\r\n }\r\n const result = await axiosCreate.get('/shop/items', {\r\n params: {\r\n size,\r\n index,\r\n search,\r\n category: categoryID,\r\n orderBy,\r\n sortReverse,\r\n warehouse\r\n },\r\n headers: { authorization: store.getters.token }\r\n })\r\n\r\n if ((await checkResponse(result)) !== null) return\r\n\r\n return result\r\n}\r\nasync function getSuggestedItems({ itemID }) {\r\n const result = await axiosCreate.get(`/shop/items/${itemID}/suggested`)\r\n if ((await checkResponse(result)) !== null) return\r\n return result.data.Collection\r\n}\r\n\r\nasync function getItem({ itemID, type = 'items' } = {}) {\r\n const result = await axiosCreate.get(`shop/${type}/${itemID}/`, {\r\n params: {\r\n contactID: store.getters.contactID,\r\n warehouse: store.state.activeWarehouse\r\n },\r\n headers: { authorization: store.getters.token }\r\n })\r\n\r\n if ((await checkResponse(result)) !== null) return\r\n\r\n return result.data\r\n}\r\n\r\nasync function getItemStock({ itemID, startDate, endDate } = {}) {\r\n let DateTimeBusinessStart = null\r\n let DateTimeBusinessEnd = null\r\n let DateTimeExpectedStart = null\r\n let DateTimeExpectedEnd = null\r\n\r\n if (startDate) {\r\n DateTimeBusinessStart = dayjs(startDate, 'D/M/YYYY').format('YYYY-MM-DD')\r\n DateTimeExpectedStart = dayjs(startDate, 'D/M/YYYY').format('YYYY-MM-DD')\r\n }\r\n\r\n if (endDate) {\r\n DateTimeExpectedEnd = dayjs(endDate, 'D/M/YYYY').format('YYYY-MM-DD')\r\n DateTimeBusinessEnd = dayjs(endDate, 'D/M/YYYY').format('YYYY-MM-DD')\r\n }\r\n\r\n const result = await axiosCreate.get(`shop/items/${itemID}/stock`, {\r\n params: {\r\n DateTimeBusinessStart,\r\n DateTimeBusinessEnd,\r\n DateTimeExpectedStart,\r\n DateTimeExpectedEnd,\r\n contactID: store.getters.contactID,\r\n warehouse: store.state.activeWarehouse\r\n },\r\n\r\n headers: { authorization: store.getters.token }\r\n })\r\n\r\n if ((await checkResponse(result)) !== null) return\r\n\r\n return result.data\r\n}\r\n\r\nasync function getItemPrice({ itemID, startDate, endDate } = {}) {\r\n let DateTimeBusinessStart = null\r\n let DateTimeBusinessEnd = null\r\n let DateTimeExpectedStart = null\r\n let DateTimeExpectedEnd = null\r\n\r\n if (startDate) {\r\n DateTimeBusinessStart = dayjs(startDate, 'D/M/YYYY').format('YYYY-MM-DD')\r\n DateTimeExpectedStart = dayjs(startDate, 'D/M/YYYY').format('YYYY-MM-DD')\r\n }\r\n\r\n if (endDate) {\r\n DateTimeExpectedEnd = dayjs(endDate, 'D/M/YYYY').format('YYYY-MM-DD')\r\n DateTimeBusinessEnd = dayjs(endDate, 'D/M/YYYY').format('YYYY-MM-DD')\r\n }\r\n\r\n const result = await axiosCreate.get(`shop/items/${itemID}/price`, {\r\n params: {\r\n DateTimeBusinessStart,\r\n DateTimeBusinessEnd,\r\n DateTimeExpectedStart,\r\n DateTimeExpectedEnd,\r\n contactID: store.getters.contactID,\r\n warehouse: store.state.activeWarehouse\r\n },\r\n\r\n headers: { authorization: store.getters.token }\r\n })\r\n\r\n if ((await checkResponse(result)) !== null) return\r\n\r\n return result.data\r\n}\r\n\r\nmodule.exports = {\r\n getItems,\r\n getItem,\r\n getSuggestedItems,\r\n getItemStock,\r\n getItemPrice\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('current-rental-information',{attrs:{\"fullwidth\":true}}),_c('hr'),(_vm.selectedWarehouse !== '')?_c('div',[(!_vm.itemPlannerLoaded)?_c('span',[_c('icon-spinner',{staticClass:\"fa-spin\"})],1):_vm._e(),(_vm.itemPlannerLoaded)?_c('b-form',[_c('b-row',[_c('b-col',[_c('small',[_vm._v(_vm._s(this.$t('maximum-reservation-early')))])])],1)],1):_vm._e(),(_vm.startDate && _vm.endDate && _vm.itemPlannerLoaded)?_c('div',{staticClass:\"mt-3\"},[(_vm.partiallyAvailable)?_c('div',{staticClass:\"partially-available\"},[_c('h5',[_vm._v(_vm._s(this.$t('partially-available-in'))+\" \"+_vm._s(_vm.warehouse))]),_c('p',[_vm._v(\" \"+_vm._s(this.$t('one-or-more-items-in-package'))+\" \")])]):_vm._e(),_c('div',[_c('ItemPlannerItem',{ref:\"itemPlanner\",attrs:{\"item\":_vm.requestedItemData,\"start-date\":_vm.startDate,\"end-date\":_vm.endDate,\"date-editable\":_vm.dateEditable,\"updating-item\":_vm.updatingItem,\"item-data\":_vm.item,\"item-type\":\"Item\"},on:{\"updateItemData\":_vm.refreshItemData}})],1)]):_vm._e()],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used to compose bitmasks for comparison styles. */\nvar UNORDERED_COMPARE_FLAG = 1,\n PARTIAL_COMPARE_FLAG = 2;\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n reLeadingDot = /^\\./,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n return freeProcess && freeProcess.binding('util');\n } catch (e) {}\n}());\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array ? array.length : 0,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\n/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array ? array.length : 0;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\n/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\n/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Symbol = root.Symbol,\n Uint8Array = root.Uint8Array,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView'),\n Map = getNative(root, 'Map'),\n Promise = getNative(root, 'Promise'),\n Set = getNative(root, 'Set'),\n WeakMap = getNative(root, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n return this.has(key) && delete this.__data__[key];\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n return getMapData(this, key)['delete'](key);\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n getMapData(this, key).set(key, value);\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values ? values.length : 0;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\n/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n this.__data__ = new ListCache(entries);\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n return this.__data__['delete'](key);\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var cache = this.__data__;\n if (cache instanceof ListCache) {\n var pairs = cache.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n return this;\n }\n cache = this.__data__ = new MapCache(pairs);\n }\n cache.set(key, value);\n return this;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n // Safari 8.1 makes `arguments.callee` enumerable in strict mode.\n // Safari 9 makes `arguments.length` enumerable in strict mode.\n var result = (isArray(value) || isArguments(value))\n ? baseTimes(value.length, String)\n : [];\n\n var length = result.length,\n skipIndexes = !!length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (key == 'length' || isIndex(key, length)))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = isKey(path, object) ? [path] : castPath(path);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\n/**\n * The base implementation of `getTag`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n return objectToString.call(value);\n}\n\n/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {boolean} [bitmask] The bitmask of comparison flags.\n * The bitmask may be composed of the following flags:\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, customizer, bitmask, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);\n}\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {number} [bitmask] The bitmask of comparison flags. See `baseIsEqual`\n * for more details.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = arrayTag,\n othTag = arrayTag;\n\n if (!objIsArr) {\n objTag = getTag(object);\n objTag = objTag == argsTag ? objectTag : objTag;\n }\n if (!othIsArr) {\n othTag = getTag(other);\n othTag = othTag == argsTag ? objectTag : othTag;\n }\n var objIsObj = objTag == objectTag && !isHostObject(object),\n othIsObj = othTag == objectTag && !isHostObject(other),\n isSameTag = objTag == othTag;\n\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, equalFunc, customizer, bitmask, stack)\n : equalByTag(object, other, objTag, equalFunc, customizer, bitmask, stack);\n }\n if (!(bitmask & PARTIAL_COMPARE_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, customizer, bitmask, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, equalFunc, customizer, bitmask, stack);\n}\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, customizer, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[objectToString.call(value)];\n}\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, undefined, UNORDERED_COMPARE_FLAG | PARTIAL_COMPARE_FLAG);\n };\n}\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n var index = -1;\n iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value) {\n return isArray(value) ? value : stringToPath(value);\n}\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\n/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} customizer The function to customize comparisons.\n * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`\n * for more details.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, equalFunc, customizer, bitmask, stack) {\n var isPartial = bitmask & PARTIAL_COMPARE_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & UNORDERED_COMPARE_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!seen.has(othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, customizer, bitmask, stack))) {\n return seen.add(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, customizer, bitmask, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} customizer The function to customize comparisons.\n * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`\n * for more details.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, equalFunc, customizer, bitmask, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & PARTIAL_COMPARE_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= UNORDERED_COMPARE_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), equalFunc, customizer, bitmask, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} customizer The function to customize comparisons.\n * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`\n * for more details.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, equalFunc, customizer, bitmask, stack) {\n var isPartial = bitmask & PARTIAL_COMPARE_FLAG,\n objProps = keys(object),\n objLength = objProps.length,\n othProps = keys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, customizer, bitmask, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11,\n// for data views in Edge < 14, and promises in Node.js.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = objectToString.call(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : undefined;\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = isKey(path, object) ? [path] : castPath(path);\n\n var result,\n index = -1,\n length = path.length;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result) {\n return result;\n }\n var length = object ? object.length : 0;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\n/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoize(function(string) {\n string = toString(string);\n\n var result = [];\n if (reLeadingDot.test(string)) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, string) {\n result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\nfunction orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n}\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result);\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Assign cache to `_.memoize`.\nmemoize.Cache = MapCache;\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nfunction isArguments(value) {\n // Safari 8.1 makes `arguments.callee` enumerable in strict mode.\n return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&\n (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8-9 which returns 'object' for typed array and other constructors.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\n/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = orderBy;\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","import { render, staticRenderFns } from \"./IconMinus.vue?vue&type=template&id=1b0ac69f&\"\nimport script from \"./IconMinus.vue?vue&type=script&lang=js&\"\nexport * from \"./IconMinus.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/**\n * Component watchers\n */\nconst mixin = {\n\twatch: {\n\t\t// Recalculate settings\n\t\tcurrentBreakpoint () {\n\t\t\t// this.prepareSettings()\n\t\t\tthis.$emit('breakpoint', { breakpoint: this.currentBreakpoint })\n\t\t},\n\n\t\t// Watch current slide change\n\t\tcurrentSlide () {\n\t\t\tthis.prepareSlidesClasses()\n\n\t\t\t// Set start time of slide\n\t\t\tthis.autoplayStartTimestamp = (this.settings.autoplay) ? +new Date() : null\n\n\t\t\tthis.$emit('after-change', { currentSlide: this.currentSlide })\n\t\t},\n\n\t\t// Watch drag distance change\n\t\tdragDistance () {\n\t\t\tif (this.isMouseDown) {\n\t\t\t\tconst { rtl } = this.settings\n\t\t\t\tconst dragDistance = this.dragDistance * (rtl ? -1 : 1)\n\n\t\t\t\tif (dragDistance > this.swipeDistance && this.canGoToPrev) {\n\t\t\t\t\tthis.goToPrev()\n\t\t\t\t\tthis.handleMouseUp()\n\t\t\t\t}\n\n\t\t\t\tif (dragDistance < -1 * this.swipeDistance && this.canGoToNext) {\n\t\t\t\t\tthis.goToNext()\n\t\t\t\t\tthis.handleMouseUp()\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tisAutoplayPaused (nevValue) {\n\t\t\tif (nevValue) {\n\t\t\t\t// Store current slide remaining time and disable auto play mode\n\t\t\t\tthis.remaining = this.settings.autoplaySpeed - (+new Date() - this.autoplayStartTimestamp)\n\t\t\t\tthis.disableAutoPlay()\n\t\t\t\tthis.clearAutoPlayPause()\n\t\t\t} else {\n\t\t\t\t// Go to next after remaining time and rerun auto play mode\n\t\t\t\tthis.autoplayTimeout = setTimeout(() => {\n\t\t\t\t\tthis.clearAutoPlayPause()\n\t\t\t\t\tthis.goToNext()\n\t\t\t\t\tthis.toggleAutoPlay()\n\t\t\t\t}, this.remaining)\n\t\t\t}\n\t\t},\n\n\t\t'settings.autoplay' () {\n\t\t\tthis.toggleAutoPlay()\n\t\t},\n\n\t\t'settings.fade' () {\n\t\t\tthis.toggleFade()\n\t\t},\n\n\t\t'settings.unagile' () {\n\t\t\t// this.prepareSlides()\n\t\t\t// this.prepareCarousel()\n\t\t},\n\n\t\twidthSlide () {\n\t\t\tfor (let i = 0; i < this.countSlidesAll; i++) {\n\t\t\t\t// console.log(this.widthSlide)\n\t\t\t\t// console.log(this.settings)\n\t\t\t\tthis.slidesAll[i].style.width = `${this.widthSlide}${(this.widthSlide !== 'auto') ? 'px' : ''}`\n\t\t\t}\n\t\t},\n\n\t\t// Watch window width change\n\t\twidthWindow (newValue, oldValue) {\n\t\t\tif (oldValue) {\n\t\t\t\tthis.prepareCarousel()\n\t\t\t\tthis.toggleFade()\n\t\t\t}\n\t\t}\n\t}\n}\n\nexport default mixin\n","import mod from \"-!../../cache-loader/dist/cjs.js??ref--13-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../bootstrap-vue-loader/lib/loader.js!../../cache-loader/dist/cjs.js??ref--1-0!../../vue-loader/lib/index.js??vue-loader-options!./Agile.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../cache-loader/dist/cjs.js??ref--13-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../bootstrap-vue-loader/lib/loader.js!../../cache-loader/dist/cjs.js??ref--1-0!../../vue-loader/lib/index.js??vue-loader-options!./Agile.vue?vue&type=script&lang=js&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemPlannerItem.vue?vue&type=style&index=0&id=14b79714&scoped=true&lang=scss&\"","\r\n
\r\n\r\n\r\n\r\n","import defineProperty from \"./defineProperty.js\";\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nexport default function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:\"svg-inline--fa fa-search-plus fa-w-16 fa-5x\",attrs:{\"aria-hidden\":\"true\",\"focusable\":\"false\",\"data-prefix\":\"fas\",\"data-icon\":\"search-plus\",\"role\":\"img\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 512 512\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M304 192v32c0 6.6-5.4 12-12 12h-56v56c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-56h-56c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h56v-56c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v56h56c6.6 0 12 5.4 12 12zm201 284.7L476.7 505c-9.4 9.4-24.6 9.4-33.9 0L343 405.3c-4.5-4.5-7-10.6-7-17V372c-35.3 27.6-79.7 44-128 44C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208c0 48.3-16.4 92.7-44 128h16.3c6.4 0 12.5 2.5 17 7l99.7 99.7c9.3 9.4 9.3 24.6 0 34zM344 208c0-75.2-60.8-136-136-136S72 132.8 72 208s60.8 136 136 136 136-60.8 136-136z\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n\r\n\r\n\r\n","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","var _objectSpread2, _watch;\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Vue } from '../../vue';\nimport { NAME_TAB } from '../../constants/components';\nimport { MODEL_EVENT_NAME_PREFIX } from '../../constants/events';\nimport { PROP_TYPE_ARRAY_OBJECT_STRING, PROP_TYPE_BOOLEAN, PROP_TYPE_OBJECT, PROP_TYPE_STRING } from '../../constants/props';\nimport { SLOT_NAME_TITLE } from '../../constants/slots';\nimport { sortKeys } from '../../utils/object';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { idMixin, props as idProps } from '../../mixins/id';\nimport { normalizeSlotMixin } from '../../mixins/normalize-slot';\nimport { BVTransition } from '../transition/bv-transition'; // --- Constants ---\n\nvar MODEL_PROP_NAME_ACTIVE = 'active';\nvar MODEL_EVENT_NAME_ACTIVE = MODEL_EVENT_NAME_PREFIX + MODEL_PROP_NAME_ACTIVE; // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread({}, idProps), {}, (_objectSpread2 = {}, _defineProperty(_objectSpread2, MODEL_PROP_NAME_ACTIVE, makeProp(PROP_TYPE_BOOLEAN, false)), _defineProperty(_objectSpread2, \"buttonId\", makeProp(PROP_TYPE_STRING)), _defineProperty(_objectSpread2, \"disabled\", makeProp(PROP_TYPE_BOOLEAN, false)), _defineProperty(_objectSpread2, \"lazy\", makeProp(PROP_TYPE_BOOLEAN, false)), _defineProperty(_objectSpread2, \"noBody\", makeProp(PROP_TYPE_BOOLEAN, false)), _defineProperty(_objectSpread2, \"tag\", makeProp(PROP_TYPE_STRING, 'div')), _defineProperty(_objectSpread2, \"title\", makeProp(PROP_TYPE_STRING)), _defineProperty(_objectSpread2, \"titleItemClass\", makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)), _defineProperty(_objectSpread2, \"titleLinkAttributes\", makeProp(PROP_TYPE_OBJECT)), _defineProperty(_objectSpread2, \"titleLinkClass\", makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)), _objectSpread2))), NAME_TAB); // --- Main component ---\n// @vue/component\n\nexport var BTab = /*#__PURE__*/Vue.extend({\n name: NAME_TAB,\n mixins: [idMixin, normalizeSlotMixin],\n inject: {\n bvTabs: {\n default: function _default() {\n return {};\n }\n }\n },\n props: props,\n data: function data() {\n return {\n localActive: this[MODEL_PROP_NAME_ACTIVE] && !this.disabled\n };\n },\n computed: {\n // For parent sniffing of child\n _isTab: function _isTab() {\n return true;\n },\n tabClasses: function tabClasses() {\n var active = this.localActive,\n disabled = this.disabled;\n return [{\n active: active,\n disabled: disabled,\n 'card-body': this.bvTabs.card && !this.noBody\n }, // Apply `activeTabClass` styles when this tab is active\n active ? this.bvTabs.activeTabClass : null];\n },\n controlledBy: function controlledBy() {\n return this.buttonId || this.safeId('__BV_tab_button__');\n },\n computedNoFade: function computedNoFade() {\n return !(this.bvTabs.fade || false);\n },\n computedLazy: function computedLazy() {\n return this.bvTabs.lazy || this.lazy;\n }\n },\n watch: (_watch = {}, _defineProperty(_watch, MODEL_PROP_NAME_ACTIVE, function (newValue, oldValue) {\n if (newValue !== oldValue) {\n if (newValue) {\n // If activated post mount\n this.activate();\n } else {\n /* istanbul ignore next */\n if (!this.deactivate()) {\n // Tab couldn't be deactivated, so we reset the synced active prop\n // Deactivation will fail if no other tabs to activate\n this.$emit(MODEL_EVENT_NAME_ACTIVE, this.localActive);\n }\n }\n }\n }), _defineProperty(_watch, \"disabled\", function disabled(newValue, oldValue) {\n if (newValue !== oldValue) {\n var firstTab = this.bvTabs.firstTab;\n\n if (newValue && this.localActive && firstTab) {\n this.localActive = false;\n firstTab();\n }\n }\n }), _defineProperty(_watch, \"localActive\", function localActive(newValue) {\n // Make `active` prop work with `.sync` modifier\n this.$emit(MODEL_EVENT_NAME_ACTIVE, newValue);\n }), _watch),\n mounted: function mounted() {\n // Inform `` of our presence\n this.registerTab();\n },\n updated: function updated() {\n // Force the tab button content to update (since slots are not reactive)\n // Only done if we have a title slot, as the title prop is reactive\n var updateButton = this.bvTabs.updateButton;\n\n if (updateButton && this.hasNormalizedSlot(SLOT_NAME_TITLE)) {\n updateButton(this);\n }\n },\n beforeDestroy: function beforeDestroy() {\n // Inform `` of our departure\n this.unregisterTab();\n },\n methods: {\n // Private methods\n registerTab: function registerTab() {\n // Inform `` of our presence\n var registerTab = this.bvTabs.registerTab;\n\n if (registerTab) {\n registerTab(this);\n }\n },\n unregisterTab: function unregisterTab() {\n // Inform `` of our departure\n var unregisterTab = this.bvTabs.unregisterTab;\n\n if (unregisterTab) {\n unregisterTab(this);\n }\n },\n // Public methods\n activate: function activate() {\n // Not inside a `` component or tab is disabled\n var activateTab = this.bvTabs.activateTab;\n return activateTab && !this.disabled ? activateTab(this) : false;\n },\n deactivate: function deactivate() {\n // Not inside a `` component or not active to begin with\n var deactivateTab = this.bvTabs.deactivateTab;\n return deactivateTab && this.localActive ? deactivateTab(this) : false;\n }\n },\n render: function render(h) {\n var localActive = this.localActive;\n var $content = h(this.tag, {\n staticClass: 'tab-pane',\n class: this.tabClasses,\n directives: [{\n name: 'show',\n value: localActive\n }],\n attrs: {\n role: 'tabpanel',\n id: this.safeId(),\n 'aria-hidden': localActive ? 'false' : 'true',\n 'aria-labelledby': this.controlledBy || null\n },\n ref: 'panel'\n }, // Render content lazily if requested\n [localActive || !this.computedLazy ? this.normalizeSlot() : h()]);\n return h(BVTransition, {\n props: {\n mode: 'out-in',\n noFade: this.computedNoFade\n }\n }, [$content]);\n }\n});","const { getCategory } = require('./CategoryService')\r\nimport i18n from '@/locales/index'\r\nimport store from '@/state/store'\r\n\r\nasync function generateBreadCrumbs({ categoryID, item = false } = {}) {\r\n let breadCrumbs = []\r\n breadCrumbs.push({\r\n page: 'index',\r\n title: i18n.tc('breadcrumbs-title'),\r\n path: '/'\r\n })\r\n\r\n if (categoryID) {\r\n const categoryBreadCrumbs = await categoryToBreadCrumbs({\r\n categoryID,\r\n item\r\n })\r\n breadCrumbs = breadCrumbs.concat(categoryBreadCrumbs)\r\n }\r\n\r\n return breadCrumbs\r\n}\r\n\r\nasync function categoryToBreadCrumbs({ categoryID, item = false } = {}) {\r\n let breadCrumbs = []\r\n\r\n // parse categoryID as number\r\n categoryID = parseInt(categoryID)\r\n\r\n const categoryIDIsNum = /^\\d+$/.test(categoryID)\r\n\r\n const categories = store.getters['categories/getCategories']\r\n\r\n const currentCategoryFromStore = categories?.find(\r\n category => category.CategoryID === categoryID\r\n )\r\n\r\n const currentCategory =\r\n currentCategoryFromStore ??\r\n (await getCategory({\r\n categoryID,\r\n slug: !categoryIDIsNum\r\n }))\r\n\r\n if (currentCategory.ParentCategoryID) {\r\n const parentCategoryFromStore = categories.find(\r\n category => category.CategoryID === currentCategory.ParentCategoryID\r\n )\r\n\r\n const parentCategory =\r\n parentCategoryFromStore ??\r\n (await getCategory({\r\n categoryID: currentCategory.ParentCategoryID,\r\n slug: false\r\n }))\r\n if (item) {\r\n await breadCrumbs.push({\r\n title: capitalizeFirstLetter(currentCategory.Description),\r\n path: `/shop/${parentCategory.Slug ??\r\n parentCategory.CategoryID}/${currentCategory.CategoryID ??\r\n parentCategory.CategoryID}`\r\n })\r\n }\r\n\r\n await breadCrumbs.push({\r\n title: parentCategory.Description,\r\n path: `/shop/${parentCategory.Slug ?? parentCategory.CategoryID}`\r\n })\r\n } else {\r\n await breadCrumbs.push({\r\n page: 'categories',\r\n title: capitalizeFirstLetter(currentCategory.Description),\r\n params: {\r\n categoryID: currentCategory.CategoryID,\r\n lang: i18n.locale\r\n },\r\n path: `/shop/${currentCategory.Slug ?? currentCategory.CategoryID}`\r\n })\r\n }\r\n\r\n return breadCrumbs.reverse()\r\n}\r\n\r\nfunction capitalizeFirstLetter(string) {\r\n if (string) return string.charAt(0).toUpperCase() + string.slice(1)\r\n return null\r\n}\r\n\r\nmodule.exports = { generateBreadCrumbs }\r\n","import { render, staticRenderFns } from \"./IconSearchPlus.vue?vue&type=template&id=91a38192&scoped=true&\"\nimport script from \"./IconSearchPlus.vue?vue&type=script&lang=js&\"\nexport * from \"./IconSearchPlus.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"91a38192\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemPlanner.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemPlanner.vue?vue&type=script&lang=js&\"","/**\n * Component settings\n */\n\nimport orderBy from 'lodash.orderby'\n\nconst mixin = {\n\tprops: {\n\t\t/**\n\t\t * Set the carousel to be the navigation of other carousels\n\t\t */\n\t\tasNavFor: {\n\t\t\ttype: Array,\n\t\t\tdefault: function () {\n\t\t\t\treturn []\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Enable autoplay\n\t\t */\n\t\tautoplay: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\n\t\t/**\n\t\t * Autoplay interval in milliseconds\n\t\t */\n\t\tautoplaySpeed: {\n\t\t\ttype: Number,\n\t\t\tdefault: 3000\n\t\t},\n\n\t\t/**\n\t\t * Enable centered view when slidesToShow > 1\n\t\t */\n\t\tcenterMode: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\n\t\t/**\n\t\t * Slides padding in center mode\n\t\t */\n\t\tcenterPadding: {\n\t\t\ttype: String,\n\t\t\tdefault: '15%'\n\t\t},\n\n\t\t/**\n\t\t * Slide change delay in milliseconds\n\t\t */\n\t\tchangeDelay: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0\n\t\t},\n\n\t\t/**\n\t\t * Enable dot indicators/pagination\n\t\t */\n\t\tdots: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\n\t\t/**\n\t\t * Enable fade effect\n\t\t */\n\t\tfade: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\n\t\t/**\n\t\t * Infinite loop sliding\n\t\t */\n\t\tinfinite: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\n\t\t/**\n\t\t * Index of slide to start on\n\t\t */\n\t\tinitialSlide: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0\n\t\t},\n\n\t\t/**\n\t\t * Enable mobile first calculation for responsive settings\n\t\t */\n\t\tmobileFirst: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\n\t\t/**\n\t\t * Enable prev/next navigation buttons\n\t\t */\n\t\tnavButtons: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\n\t\t/**\n\t\t * All settings as one object\n\t\t */\n\t\toptions: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => null\n\t\t},\n\n\t\t/**\n\t\t * Pause autoplay when a dot is hovered\n\t\t */\n\t\tpauseOnDotsHover: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\n\t\t/**\n\t\t * Pause autoplay when a slide is hovered\n\t\t */\n\t\tpauseOnHover: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\n\t\t/**\n\t\t * Object containing breakpoints and settings objects\n\t\t */\n\t\tresponsive: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => null\n\t\t},\n\n\t\t/**\n\t\t * Enable right-to-left mode\n\t\t */\n\t\trtl: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\n\t\t/**\n\t\t * Number of slides to scroll\n\t\t */\n\t\tslidesToScroll: {\n\t\t\ttype: Number,\n\t\t\tdefault: 1\n\t\t},\n\n\t\t/**\n\t\t * Number of slides to show\n\t\t */\n\t\tslidesToShow: {\n\t\t\ttype: Number,\n\t\t\tdefault: 1\n\t\t},\n\n\t\t/**\n\t\t * Slide animation speed in milliseconds\n\t\t */\n\t\tspeed: {\n\t\t\ttype: Number,\n\t\t\tdefault: 300\n\t\t},\n\n /**\n\t\t * Swipe distance\n\t\t */\n\t\tswipeDistance: {\n\t\t\ttype: Number,\n\t\t\tdefault: 50\n\t\t},\n\n\t\t/**\n\t\t * Throttle delay in milliseconds\n\t\t */\n\t\tthrottleDelay: {\n\t\t\ttype: Number,\n\t\t\tdefault: 500\n\t\t},\n\n\t\t/**\n\t\t * Transition timing function\n\t\t * Available: ease, linear, ease-in, ease-out, ease-in-out\n\t\t */\n\t\ttiming: {\n\t\t\ttype: String,\n\t\t\tdefault: 'ease',\n\t\t\tvalidator: (value) => {\n\t\t\t\treturn ['ease', 'linear', 'ease-in', 'ease-out', 'ease-in-out'].indexOf(value) !== -1\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Disable Agile carousel\n\t\t */\n\t\tunagile: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t}\n\t},\n\n\tcomputed: {\n\t\t// Initial settings based on props and options object\n\t\tinitialSettings: function () {\n\t\t\t// options prop is excluded\n\t\t\tlet { options, ...initialSettings } = this.$props\n\n\t\t\t// Join settings from options\n\t\t\tif (options) {\n\t\t\t\tinitialSettings = {...initialSettings, ...options}\n\t\t\t}\n\n\t\t\t// Sort breakpoints\n\t\t\tif (initialSettings.responsive) {\n\t\t\t\tinitialSettings.responsive = orderBy(initialSettings.responsive, 'breakpoint')\n\t\t\t}\n\n\t\t\treturn initialSettings\n\t\t},\n\n\t\t// Settings for current breakpoint\n\t\tsettings: function () {\n\t\t\tconst { responsive, ...settings } = this.initialSettings\n\n\t\t\tif (responsive) {\n\t\t\t\tresponsive.forEach(option => {\n\t\t\t\t\tif (settings.mobileFirst ? option.breakpoint < this.widthWindow : option.breakpoint > this.widthWindow) {\n\t\t\t\t\t\tfor (let key in option.settings) {\n\t\t\t\t\t\t\tsettings[key] = option.settings[key]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\n\t\t\treturn settings\n\t\t}\n\t}\n}\n\nexport default mixin\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=502b1a8d&scoped=true&lang=scss&\"","import { render, staticRenderFns } from \"./ItemPlannerPrice.vue?vue&type=template&id=71f201c0&\"\nimport script from \"./ItemPlannerPrice.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemPlannerPrice.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemImageSlider.vue?vue&type=style&index=0&lang=scss&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=502b1a8d&scoped=true&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&id=502b1a8d&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"502b1a8d\",\n null\n \n)\n\n\n import installComponents from \"!D:/IIS/rentmagic.shop.hva/prod/node_modules/bootstrap-vue-loader/lib/runtime/installComponents.js\"\n import {BCol, BRow, BTab, BTabs, BContainer} from 'bootstrap-vue'\n installComponents(component, {BCol, BRow, BTab, BTabs, BContainer})\n \n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemPlannerPrice.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemPlannerPrice.vue?vue&type=script&lang=js&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('ul',_vm._l((_vm.files),function(itemAttachment){return _c('li',{key:itemAttachment.ItemAttachmentID},[_c('a',{attrs:{\"href\":(\"https://\" + (itemAttachment.AttachmentUrl))}},[(itemAttachment.ContentType == '.pdf')?_c('icon-pdf'):_vm._e(),_vm._v(\" \"+_vm._s(itemAttachment.FileName)+\" \")],1)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n\n if (res.done) return res.value;\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = throttle;\n","/*\n * Consistent and stable sort function across JavaScript platforms\n *\n * Inconsistent sorts can cause SSR problems between client and server\n * such as in if sortBy is applied to the data on server side render.\n * Chrome and V8 native sorts are inconsistent/unstable\n *\n * This function uses native sort with fallback to index compare when the a and b\n * compare returns 0\n *\n * Algorithm based on:\n * https://stackoverflow.com/questions/1427608/fast-stable-sorting-algorithm-implementation-in-javascript/45422645#45422645\n *\n * @param {array} array to sort\n * @param {function} sort compare function\n * @return {array}\n */\nexport var stableSort = function stableSort(array, compareFn) {\n // Using `.bind(compareFn)` on the wrapped anonymous function improves\n // performance by avoiding the function call setup. We don't use an arrow\n // function here as it binds `this` to the `stableSort` context rather than\n // the `compareFn` context, which wouldn't give us the performance increase.\n return array.map(function (a, index) {\n return [index, a];\n }).sort(function (a, b) {\n return this(a[1], b[1]) || a[0] - b[0];\n }.bind(compareFn)).map(function (e) {\n return e[1];\n });\n};","/*\n * blueimp Gallery Fullscreen JS\n * https://github.com/blueimp/Gallery\n *\n * Copyright 2013, Sebastian Tschan\n * https://blueimp.net\n *\n * Licensed under the MIT license:\n * https://opensource.org/licenses/MIT\n */\n\n/* global define */\n\n;(function (factory) {\n 'use strict'\n if (typeof define === 'function' && define.amd) {\n // Register as an anonymous AMD module:\n define(['./blueimp-helper', './blueimp-gallery'], factory)\n } else {\n // Browser globals:\n factory(window.blueimp.helper || window.jQuery, window.blueimp.Gallery)\n }\n})(function ($, Gallery) {\n 'use strict'\n\n var galleryPrototype = Gallery.prototype\n\n $.extend(galleryPrototype.options, {\n // Defines if the gallery should open in fullscreen mode:\n fullScreen: false\n })\n\n var initialize = galleryPrototype.initialize\n var close = galleryPrototype.close\n\n $.extend(galleryPrototype, {\n getFullScreenElement: function () {\n return (\n document.fullscreenElement ||\n document.webkitFullscreenElement ||\n document.mozFullScreenElement ||\n document.msFullscreenElement\n )\n },\n\n requestFullScreen: function (element) {\n if (element.requestFullscreen) {\n element.requestFullscreen()\n } else if (element.webkitRequestFullscreen) {\n element.webkitRequestFullscreen()\n } else if (element.mozRequestFullScreen) {\n element.mozRequestFullScreen()\n } else if (element.msRequestFullscreen) {\n element.msRequestFullscreen()\n }\n },\n\n exitFullScreen: function () {\n if (document.exitFullscreen) {\n document.exitFullscreen()\n } else if (document.webkitCancelFullScreen) {\n document.webkitCancelFullScreen()\n } else if (document.mozCancelFullScreen) {\n document.mozCancelFullScreen()\n } else if (document.msExitFullscreen) {\n document.msExitFullscreen()\n }\n },\n\n initialize: function () {\n initialize.call(this)\n if (this.options.fullScreen && !this.getFullScreenElement()) {\n this.requestFullScreen(this.container[0])\n }\n },\n\n close: function () {\n if (this.getFullScreenElement() === this.container[0]) {\n this.exitFullScreen()\n }\n close.call(this)\n }\n })\n\n return Gallery\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"agile\",class:{'agile--ssr': _vm.isSSR, 'agile--auto-play': _vm.settings.autoplay, 'agile--disabled': _vm.settings.unagile, 'agile--fade': _vm.settings.fade && !_vm.settings.unagile, 'agile--rtl': _vm.settings.rtl, 'agile--no-nav-buttons': !_vm.settings.navButtons},on:{\"touchstart\":function () {}}},[_c('div',{ref:\"list\",staticClass:\"agile__list\"},[_c('div',{ref:\"track\",staticClass:\"agile__track\",style:({transform: (\"translate(\" + (_vm.translateX + _vm.marginX) + \"px)\"), transition: (\"transform \" + (_vm.settings.timing) + \" \" + _vm.transitionDelay + \"ms\")}),on:{\"mouseover\":function($event){return _vm.handleMouseOver('track')},\"mouseout\":function($event){return _vm.handleMouseOut('track')}}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.slidesCloned),expression:\"slidesCloned\"}],ref:\"slidesClonedBefore\",staticClass:\"agile__slides agile__slides--cloned\"},[_vm._t(\"default\")],2),_c('div',{ref:\"slides\",staticClass:\"agile__slides agile__slides--regular\"},[_vm._t(\"default\")],2),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.slidesCloned),expression:\"slidesCloned\"}],ref:\"slidesClonedAfter\",staticClass:\"agile__slides agile__slides--cloned\"},[_vm._t(\"default\")],2)])]),(_vm.$slots.caption)?_c('div',{staticClass:\"agile__caption\"},[_vm._t(\"caption\")],2):_vm._e(),(!_vm.settings.unagile && (_vm.settings.navButtons || _vm.settings.dots))?_c('div',{staticClass:\"agile__actions\"},[(_vm.settings.navButtons && !_vm.settings.unagile)?_c('button',{ref:\"prevButton\",staticClass:\"agile__nav-button agile__nav-button--prev\",attrs:{\"disabled\":!_vm.canGoToPrev,\"type\":\"button\"},on:{\"click\":function($event){_vm.goToPrev(), _vm.restartAutoPlay()}}},[_vm._t(\"prevButton\",function(){return [_vm._v(\" ← \")]})],2):_vm._e(),(_vm.settings.dots && !_vm.settings.unagile)?_c('ul',{ref:\"dots\",staticClass:\"agile__dots\"},_vm._l((_vm.countSlides),function(n){return _c('li',{key:n,staticClass:\"agile__dot\",class:{'agile__dot--current': n - 1 === _vm.currentSlide},on:{\"mouseover\":function($event){return _vm.handleMouseOver('dot')},\"mouseout\":function($event){return _vm.handleMouseOut('dot')}}},[_c('button',{attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.goTo(n - 1), _vm.restartAutoPlay()}}},[_vm._v(\" \"+_vm._s(n)+\" \")])])}),0):_vm._e(),(_vm.settings.navButtons && !_vm.settings.unagile)?_c('button',{ref:\"nextButton\",staticClass:\"agile__nav-button agile__nav-button--next\",attrs:{\"disabled\":!_vm.canGoToNext,\"type\":\"button\"},on:{\"click\":function($event){_vm.goToNext(), _vm.restartAutoPlay()}}},[_vm._t(\"nextButton\",function(){return [_vm._v(\" → \")]})],2):_vm._e()]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticClass:\"svg-inline--fa fa-file-pdf fa-w-12 fa-5x\",attrs:{\"aria-hidden\":\"true\",\"focusable\":\"false\",\"data-prefix\":\"fas\",\"data-icon\":\"file-pdf\",\"role\":\"img\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 384 512\"}},[_c('path',{attrs:{\"fill\":\"currentColor\",\"d\":\"M181.9 256.1c-5-16-4.9-46.9-2-46.9 8.4 0 7.6 36.9 2 46.9zm-1.7 47.2c-7.7 20.2-17.3 43.3-28.4 62.7 18.3-7 39-17.2 62.9-21.9-12.7-9.6-24.9-23.4-34.5-40.8zM86.1 428.1c0 .8 13.2-5.4 34.9-40.2-6.7 6.3-29.1 24.5-34.9 40.2zM248 160h136v328c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V24C0 10.7 10.7 0 24 0h200v136c0 13.2 10.8 24 24 24zm-8 171.8c-20-12.2-33.3-29-42.7-53.8 4.5-18.5 11.6-46.6 6.2-64.2-4.7-29.4-42.4-26.5-47.8-6.8-5 18.3-.4 44.1 8.1 77-11.6 27.6-28.7 64.6-40.8 85.8-.1 0-.1.1-.2.1-27.1 13.9-73.6 44.5-54.5 68 5.6 6.9 16 10 21.5 10 17.9 0 35.7-18 61.1-61.8 25.8-8.5 54.1-19.1 79-23.2 21.7 11.8 47.1 19.5 64 19.5 29.2 0 31.2-32 19.7-43.4-13.9-13.6-54.3-9.7-73.6-7.2zM377 105L279 7c-4.5-4.5-10.6-7-17-7h-6v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-74.1 255.3c4.1-2.7-2.5-11.9-42.8-9 37.1 15.8 42.8 9 42.8 9z\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"item-image-slider mb-4\"},[_c('agile',{ref:\"main\",staticClass:\"main\",attrs:{\"options\":_vm.options,\"as-nav-for\":_vm.asNavFor1}},[_vm._l((_vm.images),function(image,imageIndex){return _c('div',{key:imageIndex,staticClass:\"slide\",class:(\"slide--\" + imageIndex),on:{\"click\":function($event){_vm.galleryIndex = imageIndex}}},[_c('div',{staticClass:\"zoom-icon\",on:{\"click\":function($event){_vm.galleryIndex = imageIndex}}},[_c('icon-search-plus')],1),_c('img',{attrs:{\"src\":(\"\" + _vm.appURL + image)}})])}),_c('template',{slot:\"prevButton\"},[_c('icon-chevron-left',{staticClass:\"text-dark\"})],1),_c('template',{slot:\"nextButton\"},[_c('icon-chevron-right',{staticClass:\"text-dark\"})],1)],2),_c('gallery',{attrs:{\"images\":_vm.slides,\"index\":_vm.galleryIndex},on:{\"close\":function($event){_vm.galleryIndex = null}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./ItemSuggestedItems.vue?vue&type=template&id=4fd00519&\"\nimport script from \"./ItemSuggestedItems.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemSuggestedItems.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n\n import installComponents from \"!D:/IIS/rentmagic.shop.hva/prod/node_modules/bootstrap-vue-loader/lib/runtime/installComponents.js\"\n import {BCol, BRow} from 'bootstrap-vue'\n installComponents(component, {BCol, BRow})\n \n\nexport default component.exports","import { render, staticRenderFns } from \"./ItemTabFiles.vue?vue&type=template&id=08a81a02&\"\nimport script from \"./ItemTabFiles.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemTabFiles.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemTabFiles.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/bootstrap-vue-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemTabFiles.vue?vue&type=script&lang=js&\"","\r\n 0\">\r\n €\r\n {{\r\n (Math.round((price * amount + Number.EPSILON) * 100) / 100)\r\n .toFixed(2)\r\n .replace('.', ',')\r\n }}\r\n \r\n\r\n\r\n\r\n\r\n\r\n","\r\n 0\" class=\"pb-5\">\r\n \r\n \r\n