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BsC,EAAMC,EAAMC,GAC5B,IAAIO,GAAU,EACVE,GAAW,EAEf,GAAmB,mBAARX,EACT,MAAM,IAAIY,UAnDQ,uBAyDpB,OAJIpB,EAASU,KACXO,EAAU,YAAaP,IAAYA,EAAQO,QAAUA,EACrDE,EAAW,aAAcT,IAAYA,EAAQS,SAAWA,GAEnDwB,EAASnC,EAAMC,EAAM,CAC1B,QAAWQ,EACX,QAAWR,EACX,SAAYU,GAEhB,C,oBClEA,IAAIyB,EAAW,EAAQ,IACnB5C,EAAW,EAAQ,GACnB6C,EAAW,EAAQ,IAMnBC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SA8CnBjF,EAAOC,QArBP,SAAkB3B,GAChB,GAAoB,iBAATA,EACT,OAAOA,EAET,GAAIsG,EAAStG,GACX,OA1CM,IA4CR,GAAIyD,EAASzD,GAAQ,CACnB,IAAI4G,EAAgC,mBAAjB5G,EAAM6G,QAAwB7G,EAAM6G,UAAY7G,EACnEA,EAAQyD,EAASmD,GAAUA,EAAQ,GAAMA,CAC3C,CACA,GAAoB,iBAAT5G,EACT,OAAiB,IAAVA,EAAcA,GAASA,EAEhCA,EAAQqG,EAASrG,GACjB,IAAI8G,EAAWN,EAAW/H,KAAKuB,GAC/B,OAAQ8G,GAAYL,EAAUhI,KAAKuB,GAC/B0G,EAAa1G,EAAMoC,MAAM,GAAI0E,EAAW,EAAI,GAC3CP,EAAW9H,KAAKuB,GAvDb,KAuD6BA,CACvC,C","sources":["webpack://@template/frontend/./scripts/libraries/_helpers/index.js","webpack://@template/frontend/./scripts/libraries/_plugins/match-strip.js","webpack://@template/frontend/./node_modules/lodash/_Symbol.js","webpack://@template/frontend/./node_modules/lodash/_baseGetTag.js","webpack://@template/frontend/./node_modules/lodash/_baseTrim.js","webpack://@template/frontend/./node_modules/lodash/_freeGlobal.js","webpack://@template/frontend/./node_modules/lodash/_getRawTag.js","webpack://@template/frontend/./node_modules/lodash/_objectToString.js","webpack://@template/frontend/./node_modules/lodash/_root.js","webpack://@template/frontend/./node_modules/lodash/_trimmedEndIndex.js","webpack://@template/frontend/./node_modules/lodash/debounce.js","webpack://@template/frontend/./node_modules/lodash/isObject.js","webpack://@template/frontend/./node_modules/lodash/isObjectLike.js","webpack://@template/frontend/./node_modules/lodash/isSymbol.js","webpack://@template/frontend/./node_modules/lodash/now.js","webpack://@template/frontend/./node_modules/lodash/throttle.js","webpack://@template/frontend/./node_modules/lodash/toNumber.js"],"sourcesContent":["export const x = (selector, context = document) => context.querySelectorAll(selector);\n\nexport const x0 = (selector, context = document) => context.querySelector(selector);\n\nexport const isTouch = (() =>\n  'ontouchstart' in window || navigator.MaxTouchPoints > 0 || navigator.msMaxTouchPoints > 0)();\n\nexport const getOffsetTop = (elem) => {\n  let offsetTop = 0;\n  do {\n    if (!isNaN(elem.offsetTop)) {\n      offsetTop += elem.offsetTop;\n    }\n  } while ((elem = elem.offsetParent));\n  return offsetTop;\n};\n\nexport const getScrollTop = () => {\n  if (typeof pageYOffset != 'undefined') {\n    return pageYOffset;\n  } else {\n    let doc = document,\n      B = doc.body,\n      D = doc.documentElement;\n\n    D = D.clientHeight ? D : B;\n    return D.scrollTop;\n  }\n};\n\nexport const encodeURLComponent = (str) => {\n  return encodeURIComponent(str).replace(/[!'()*]/g, escape);\n};\n\nexport const getParametersFromURL = () => {\n  let re = /(?:\\?|&(?:amp;)?)([^=&#]+)(?:=?([^&#]*))/g,\n    match,\n    params = {},\n    url = document.location.href,\n    decode = (s) => decodeURIComponent(s.replace(/\\+/g, ' '));\n\n  while ((match = re.exec(url))) {\n    if (!params[decode(match[1])]) {\n      params[decode(match[1])] = [];\n    }\n    params[decode(match[1])].push(decode(match[2]));\n  }\n\n  return params;\n};\n\nexport const closest = (el, parentClass) => {\n  do {\n    if (el.classList && el.classList.contains(parentClass)) {\n      return el;\n    }\n  } while ((el = el.parentNode));\n\n  return null;\n};\n\nexport const minmax = (value, min, max) => {\n  if (parseInt(value) < min || isNaN(parseInt(value))) return min;\n  else if (parseInt(value) > max) return max;\n  else return value;\n};\n\nexport const setScrollTop = (offset = 0) => {\n  document.documentElement.scrollTop = document.body.scrollTop = offset;\n};\n\nexport const getSiblings = (elem) => {\n  const siblings = [];\n  let sibling = elem.parentNode.firstChild;\n  while (sibling) {\n    if (sibling.nodeType === 1) {\n      siblings.push(sibling);\n    }\n    sibling = sibling.nextSibling;\n  }\n  return siblings;\n};\n\nexport const capitalize = (string) => {\n  return string.charAt(0).toUpperCase() + string.toLowerCase().slice(1);\n};\n\nexport const isDarkMode = () => window.matchMedia('(prefers-color-scheme: light)').matches;\n\nexport const isDesktop = () => window.innerWidth >= 1024;\nexport const isLargeDesktop = () => window.innerWidth >= 1440;\nexport const isSmallDesktop = () => window.innerWidth >= 1024 && window.innerWidth < 1440;\nexport const isMobile = () => window.innerWidth <= 768;\nexport const isSmallMobile = () => window.innerWidth <= 430;\nexport const isTablet = () => window.innerWidth <= 1024 && window.innerWidth > 768;\nexport const isIOS = (() => /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream)();\nexport const isIE11 = !!(\n  navigator.userAgent.match(/Trident/) && navigator.userAgent.match(/rv[ :]11/)\n);\nexport const localLangVal = () => x0('html').lang;\n\nexport const horizontalScrollTo = (element, left, behavior = 'smooth') => document.querySelector(element).scrollTo({ left: left, behavior: behavior });\nexport const verticalScrollTo = (top) => window.scrollTo({ top: top, behavior: 'smooth' });\n\nexport const yieldToMain = () => {\n  return new Promise(resolve => {\n    setTimeout(resolve, 0);\n  });\n}\n","import { x0 } from \"../_helpers\";\nimport { throttle } from \"lodash\";\n\nexport default class MatchStrip {\n  constructor() {\n    const _this = this;\n\n    _this.matchStrip = x0(\"[js-match-strip-carousel]\");\n    if (!_this.matchStrip) return;\n\n    _this.matchList = x0(\".vbw-matches-carousel-wrap\", _this.matchStrip);\n    if (!_this.matchList) return;\n\n    _this.matchNav = x0(\".carousel-nav\", _this.matchStrip);\n    _this.isMouseDown = false;\n    _this.mouseStartX = 0;\n    _this.mouseScrollLeft = 0;\n    _this.cardWidth = 270;\n  }\n\n  init() {\n    const _this = this;\n\n    _this.matchList.addEventListener(\"mousedown\", (e) =>\n      _this.onCarouselMouseDown(e)\n    );\n    _this.matchList.addEventListener(\"mouseleave\", () =>\n      _this.onCarouselMouseLeave()\n    );\n    _this.matchList.addEventListener(\"mouseup\", () =>\n      _this.onCarouselMouseUp()\n    );\n    _this.matchList.addEventListener(\"mousemove\", (e) =>\n      _this.onCarouselMouseMove(e)\n    );\n\n    _this.matchNav\n      .querySelector(\".swiper-button-prev\")\n      .addEventListener(\"click\", () => _this.carouselNavBtnClick(\"prev\"));\n    _this.matchNav\n      .querySelector(\".swiper-button-next\")\n      .addEventListener(\"click\", () => _this.carouselNavBtnClick(\"next\"));\n\n    _this.matchList.addEventListener(\"scroll\", throttle(_this.updateNavState.bind(this), 300));\n\n    document.addEventListener(\"pagehide\", () => {\n      _this.matchList.removeEventListener(\"mousedown\", (e) =>\n        _this.onCarouselMouseDown(e)\n      );\n      _this.matchList.removeEventListener(\"mouseleave\", () =>\n        _this.onCarouselMouseLeave()\n      );\n      _this.matchList.removeEventListener(\"mouseup\", () =>\n        _this.onCarouselMouseUp()\n      );\n      _this.matchList.removeEventListener(\"mousemove\", (e) =>\n        _this.onCarouselMouseMove(e)\n      );\n    });\n\n    _this.updateNavState();\n  }\n\n  onCarouselMouseLeave() {\n    const _this = this;\n    _this.isMouseDown = false;\n    _this.matchList.classList.remove(\"active\");\n  }\n\n  onCarouselMouseUp() {\n    const _this = this;\n    _this.isMouseDown = false;\n    _this.matchList.classList.remove(\"active\");\n  }\n\n  onCarouselMouseDown(e) {\n    const _this = this;\n    _this.isMouseDown = true;\n    _this.matchList.classList.add(\"active\");\n    _this.mouseStartX = e.pageX - _this.matchList.offsetLeft;\n    _this.mouseScrollLeft = _this.matchList.scrollLeft;\n  }\n\n  onCarouselMouseMove(e) {\n    const _this = this;\n    if (!_this.isMouseDown) return;\n    e.preventDefault();\n    const x = e.pageX - _this.matchList.offsetLeft;\n    const walk = (x - _this.mouseStartX) * 2; //scroll-speed\n    _this.matchList.scrollLeft = _this.mouseScrollLeft - walk;\n  }\n\n  carouselNavBtnClick(dir) {\n    const _this = this;\n\n    if (dir === \"next\") {\n      const wrapWidth = _this.matchList.scrollWidth;\n      const leftDist = _this.matchList.scrollLeft;\n      const scrollDiff = (wrapWidth - leftDist) % _this.cardWidth;\n      const scrollByVal = scrollDiff > 1 ? scrollDiff : _this.cardWidth;\n\n      _this.matchList.scrollLeft += scrollByVal;\n    } else {\n      const leftDist = _this.matchList.scrollLeft;\n      const scrollDiff = leftDist % _this.cardWidth;\n      const scrollByVal = scrollDiff > 1 ? scrollDiff : _this.cardWidth;\n\n      _this.matchList.scrollLeft -= scrollByVal;\n    }\n  }\n\n  updateNavState() {\n    const _this = this;\n\n    if (_this.matchList.scrollLeft === 0) {\n      _this.matchStrip.classList.add(\"scroll-left-reached\");\n    } else {\n      _this.matchStrip.classList.remove(\"scroll-left-reached\");\n    }\n\n    if (\n      _this.matchList.scrollLeft + _this.matchList.clientWidth ===\n      _this.matchList.scrollWidth\n    ) {\n      _this.matchStrip.classList.add(\"scroll-right-reached\");\n    } else {\n      _this.matchStrip.classList.remove(\"scroll-right-reached\");\n    }\n  }\n}\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol'),\n    getRawTag = require('./_getRawTag'),\n    objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n    undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n  if (value == null) {\n    return value === undefined ? undefinedTag : nullTag;\n  }\n  return (symToStringTag && symToStringTag in Object(value))\n    ? getRawTag(value)\n    : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n  return string\n    ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n    : string;\n}\n\nmodule.exports = baseTrim;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\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 nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n  var isOwn = hasOwnProperty.call(value, symToStringTag),\n      tag = value[symToStringTag];\n\n  try {\n    value[symToStringTag] = undefined;\n    var unmasked = true;\n  } catch (e) {}\n\n  var result = nativeObjectToString.call(value);\n  if (unmasked) {\n    if (isOwn) {\n      value[symToStringTag] = tag;\n    } else {\n      delete value[symToStringTag];\n    }\n  }\n  return result;\n}\n\nmodule.exports = getRawTag;\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 nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n  return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var freeGlobal = require('./_freeGlobal');\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\nmodule.exports = root;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n  var index = string.length;\n\n  while (index-- && reWhitespace.test(string.charAt(index))) {}\n  return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n    now = require('./now'),\n    toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\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 * 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        timeWaiting = wait - timeSinceLastCall;\n\n    return maxing\n      ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n      : timeWaiting;\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        clearTimeout(timerId);\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\nmodule.exports = debounce;\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 != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\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 != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n    isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\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) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\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\nmodule.exports = now;\n","var debounce = require('./debounce'),\n    isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\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\nmodule.exports = throttle;\n","var baseTrim = require('./_baseTrim'),\n    isObject = require('./isObject'),\n    isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\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/**\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 = baseTrim(value);\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 = toNumber;\n"],"names":["x","selector","arguments","length","undefined","document","querySelectorAll","x0","querySelector","isTouch","window","navigator","MaxTouchPoints","msMaxTouchPoints","isDesktop","innerWidth","isMobile","isSmallMobile","isTablet","localLangVal","test","userAgent","MSStream","match","lang","horizontalScrollTo","element","left","behavior","scrollTo","MatchStrip","_classCallCheck","_this","this","matchStrip","matchList","matchNav","isMouseDown","mouseStartX","mouseScrollLeft","cardWidth","_createClass","key","value","addEventListener","e","onCarouselMouseDown","onCarouselMouseLeave","onCarouselMouseUp","onCarouselMouseMove","carouselNavBtnClick","_throttle","updateNavState","bind","removeEventListener","classList","remove","add","pageX","offsetLeft","scrollLeft","preventDefault","walk","dir","scrollDiff","scrollWidth","scrollByVal","clientWidth","Symbol","module","exports","getRawTag","objectToString","symToStringTag","toStringTag","Object","trimmedEndIndex","reTrimStart","string","slice","replace","freeGlobal","g","objectProto","prototype","hasOwnProperty","nativeObjectToString","toString","isOwn","call","tag","unmasked","result","freeSelf","self","root","Function","reWhitespace","index","charAt","isObject","now","toNumber","nativeMax","Math","max","nativeMin","min","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","timeWaiting","remainingWait","debounced","isInvoking","leadingEdge","clearTimeout","cancel","flush","type","baseGetTag","isObjectLike","Date","debounce","baseTrim","isSymbol","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","other","valueOf","isBinary"],"sourceRoot":""}