{
  "version": 3,
  "sources": ["/cdn/shop/t/254/assets/algolia_init.js?enable_js_minification=1"],
  "sourcesContent": ["(function(algolia) {\n  'use strict';\n\n  if (algolia.config.powered_by) {\n    // eslint-disable-next-line no-console\n    console.log(\n      \"You're using Algolia !\\n\" +\n        'Visit https://www.algolia.com/ for more insight about what we do.'\n    );\n  }\n\n  /* Store variables */\n  algolia.storeName = window.location.hostname\n    .replace(/^www\\./, '')\n    .replace(/^([^.]*)\\..*$/, '$1');\n\n  algolia.templates = {};\n  algolia.indices = {};\n\n  /**\n   * Checks whether we are on the `/search` page\n   */\n  algolia.full_results = Boolean(window.location.href.match(/\\/search/));\n\n  /**\n   * Checks whether we are on a collection page\n   */\n  algolia.is_collection_results_page = Boolean(\n    // We want to match `/collections/handle` but only if handle != 'all'\n    window.location.pathname.match(/^\\/collections\\/(?!all$)([^/]+)[/]*$/)\n    /**\n     * To match /collections/handle/handle-two links as well, please use\n     * the following regex instead:\n     */\n    // window.location.pathname.match(/^\\/collections\\/(?!all)(.*)$/)\n  );\n\n  /* Hide page content during InstantSearch loading */\n  var collectionPageEnabled =\n    algolia.is_collection_results_page &&\n    algolia.config.instant_search_enabled_on_collection;\n  var results_selector = collectionPageEnabled\n    ? algolia.config.collection_css_selector\n    : algolia.config.results_selector;\n  results_selector += ', .algolia-shopify-instantsearch';\n\n  if (\n    (algolia.full_results && algolia.config.instant_search_enabled) ||\n    collectionPageEnabled\n  ) {\n    algolia.contentHide = new DOMParser().parseFromString(\n      '<style>' + results_selector + ' { visibility: hidden }</style>',\n      'text/html'\n    ).head.firstElementChild;\n    document.head.append(algolia.contentHide);\n  }\n\n  /* We use Hogan as our templating engine with a custom delimiter: [[ ... ]] */\n  algolia.hoganOptions = { delimiters: '[[ ]]' };\n  algolia.getTemplate = function getTemplate(name) {\n    var el = document.getElementById('template_algolia_' + name);\n    return el ? el.innerHTML : '';\n  };\n  algolia.compileTemplate = function compileHoganTemplate(name) {\n    return algolia.externals.Hogan.compile(\n      algolia.getTemplate(name),\n      algolia.hoganOptions\n    );\n  };\n  algolia.render = function render(template, obj) {\n    var newObj = algolia.assign({}, obj, { helpers: algolia.hoganHelpers });\n    return template.render(newObj);\n  };\n\n  // Current collection page ID\n  var current_collection_id_string = algolia\n    .getTemplate('current_collection_id')\n    .replace(/^\\s+|\\s+$/g, '');\n\n  if (current_collection_id_string) {\n    try {\n      var current_collection_id_object = JSON.parse(\n        current_collection_id_string\n      );\n      algolia.current_collection_id =\n        current_collection_id_object.currentCollectionID;\n    } catch (error) {\n      // Encountered an error while trying to parse the collection ID.\n      // This most probably means that we aren't on a collection page.\n    }\n  }\n\n  /* Add CSS block after current script */\n  algolia.appendStyle = function appendStyle(content) {\n    var scripts = document.getElementsByTagName('script');\n    var currentScript = scripts[scripts.length - 1];\n    var style = document.createElement('style');\n    style.innerHTML = content;\n    currentScript.parentNode.insertBefore(style, currentScript.nextSibling);\n  };\n\n  algolia.assign = function assign(to) {\n    for (var i = 1; i < arguments.length; i++) {\n      var nextSource = arguments[i];\n      for (var nextKey in nextSource) {\n        if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {\n          to[nextKey] = nextSource[nextKey]; // eslint-disable-line no-param-reassign\n        }\n      }\n    }\n    return to;\n  };\n\n  /* Here because we need to ensure we have a fallback with '$ '. */\n  algolia.money_format = algolia\n    .getTemplate('money_format')\n    .replace(/^\\s+|\\s+$/g, '');\n  algolia.formatMoney = function formatMoney(cents) {\n    var priceInCents = cents;\n\n    /**\n     * Uncomment the following block to support Shopify multi currency\n     * and convert prices from store currency to the currency selected by\n     * the user (aka \"presentment\" currency).\n     * Please note that this relies on the `Shopify.currency` object exposed\n     * by Shopify which is an undocumented feature and can change at any time.\n     */\n    // if (\n    //   typeof Shopify !== 'undefined' &&\n    //   typeof Shopify.currency !== 'undefined' &&\n    //   typeof Shopify.currency.rate !== 'undefined' &&\n    //   typeof Shopify.currency.active !== 'undefined'\n    // ) {\n    //   // Convert to \"presentment\" currency using the rate provided by Shopify\n    //   priceInCents = priceInCents * Shopify.currency.rate;\n    //   // Round up to the nearest whole number keeping in accordance with\n    //   // the default rounding strategy of Shopify\n    //   priceInCents = Math.ceil(priceInCents);\n    //\n    //   /**\n    //    * Shopify uses different rounding strategies for different currencies.\n    //    * The logic below might need to be customised based on the active currencies.\n    //    * Note: Please only include currencies other than your store currency.\n    //    */\n    //   // Round up to the 95th cent for EUR\n    //   if (Shopify.currency.active === 'EUR') {\n    //     priceInCents = parseInt(priceInCents / 100, 10) * 100 + 95;\n    //   }\n    //   // Round up to the 00th cent for GBP, USD, DKK\n    //   else if (\n    //     Shopify.currency.active === 'GBP' ||\n    //     Shopify.currency.active === 'USD' ||\n    //     Shopify.currency.active === 'DKK'\n    //   ) {\n    //     priceInCents = parseInt(priceInCents / 100, 10) * 100 + 100;\n    //   }\n    // }\n\n    var val = (priceInCents / 100.0).toLocaleString('en', {\n      minimumFractionDigits: 2,\n      maximumFractionDigits: 2,\n    });\n    var format = algolia.money_format;\n\n    // Not necessary, but allows for more risk tolerance if Shopify.formatMoney doesn't work as we want\n    var regexp = /^([^{}]*)\\{\\{amount\\}\\}([^{}]*)$/;\n    if (format.match(regexp)) {\n      return format.replace(regexp, '$1' + val + '$2');\n    }\n\n    regexp = /^([^{}]*)\\{\\{amount_with_comma_separator\\}\\}([^{}]*)$/;\n    if (format.match(regexp)) {\n      var money = val.replace(/[.]/, '|');\n      money = money.replace(/[,]/, '.');\n      money = money.replace(/[|]/, ',');\n      return format.replace(regexp, '$1' + money + '$2');\n    }\n\n    if (window.Shopify && window.Shopify.formatMoney) {\n      return window.Shopify.formatMoney(priceInCents, format);\n    }\n\n    return '$' + val;\n  };\n})(window.algoliaShopify);\n"],
  "mappings": "CAAC,SAAS,QAAS,CACjB,aAEI,QAAQ,OAAO,YAEjB,QAAQ,IACN,2FAEF,EAIF,QAAQ,UAAY,OAAO,SAAS,SACjC,QAAQ,SAAU,EAAE,EACpB,QAAQ,gBAAiB,IAAI,EAEhC,QAAQ,UAAY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