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AW,KACVkoD,GAAU,GACR,KAEH,MAAMiY,EAAU5vF,SAASyzB,cAAc,kBACjCo8D,EAAan7D,iBAAiBk7D,GAASr5D,IACvC1d,EAAS7Y,SAASyzB,cAAc,mCAEtC1X,OAAO6V,iBAAiB,UAAU,WAIjC,IAAIk+D,EAHI/zE,OAAOg0E,QACIh0E,OAAOwY,YACR1b,EAAOm3E,UACuB,IAG/CJ,EAAQlhE,MAAM6H,IADXu5D,EAAa,EACIryD,SAASoyD,GAAcC,EAAa,KAEpCD,CAEtB,IAGA9zE,OAAO6V,iBAAiB,SAAU+lD,EACnC,CAIA,IADA,IAAIsY,GAAYjwF,SAASwxB,iBAAiB,eACjC7iC,GAAI,EAAGA,GAAIshG,GAAUrhG,OAAQD,KACrCshG,GAAUthG,IAAGijC,iBAAiB,SAAS,SAAUD,GAChDA,EAAMI,iBACN2lD,GACD,IAGD,MAAM/+D,GAAU3Y,SAASyzB,cAAc,kBACnC9a,IACHA,GAAQiZ,iBAAiB,QAAS8lD,GAGnC,IAAIwY,GAAalwF,SAASwxB,iBAAiB,gBAC3C,IAAS7iC,GAAI,EAAGA,GAAIuhG,GAAWthG,OAAQD,KACtCuhG,GAAWvhG,IAAGijC,iBAAiB,QAAS8lD,GAGzC13E,SAASmwF,UAAY,SAAU/8D,IAG1B,QAFJA,EAAMA,GAAOrX,OAAO4V,OAGI,WAAZyB,EAAIjkC,KAAgC,QAAZikC,EAAIjkC,IAEZ,KAAhBikC,EAAIvB,UAEA7xB,SAAS4C,KAAK4pB,UAAUoX,SAAS,iBAChD8zC,GAEF,EAgBI13E,SAASyzB,cAAc,yBAC1B,mCAGD4kD","sources":["webpack://krusteaz-website/webpack/runtime/create fake namespace object","webpack://krusteaz-website/webpack/runtime/load script","webpack://krusteaz-website/./node_modules/@shopify/buy-button-js/lib/buybutton.umd.js","webpack://krusteaz-website/./wp-content/themes/tombras/assets/js/accordion.js","webpack://krusteaz-website/./wp-content/themes/tombras/assets/vertical-slider.js","webpack://krusteaz-website/./node_modules/classnames/index.js","webpack://krusteaz-website/./node_modules/domhandler/lib/node.js","webpack://krusteaz-website/./node_modules/html-dom-parser/lib/client/constants.js","webpack://krusteaz-website/./node_modules/html-dom-parser/lib/client/domparser.js","webpack://krusteaz-website/./node_modules/html-dom-parser/lib/client/html-to-dom.js","webpack://krusteaz-website/./node_modules/html-dom-parser/lib/client/utilities.js","webpack://krusteaz-website/./node_modules/html-react-parser/index.js","webpack://krusteaz-website/./node_modules/html-react-parser/lib/attributes-to-props.js","webpack://krusteaz-website/./node_modules/html-react-parser/lib/dom-to-react.js","webpack://krusteaz-website/./node_modules/html-react-parser/lib/utilities.js","webpack://krusteaz-website/./node_modules/inline-style-parser/index.js","webpack://krusteaz-website/./node_modules/react-property/index.js","webpack://krusteaz-website/./node_modules/react-property/lib/HTMLDOMPropertyConfig.js","webpack://krusteaz-website/./node_modules/react-property/lib/SVGDOMPropertyConfig.js","webpack://krusteaz-website/./node_modules/react-property/lib/injection.js","webpack://krusteaz-website/./node_modules/style-to-js/cjs/index.js","webpack://krusteaz-website/./node_modules/style-to-js/cjs/utilities.js","webpack://krusteaz-website/./node_modules/style-to-object/index.js","webpack://krusteaz-website/external window \"React\"","webpack://krusteaz-website/external window \"ReactDOM\"","webpack://krusteaz-website/webpack/bootstrap","webpack://krusteaz-website/webpack/runtime/compat get default export","webpack://krusteaz-website/webpack/runtime/define property getters","webpack://krusteaz-website/webpack/runtime/ensure chunk","webpack://krusteaz-website/webpack/runtime/get javascript chunk filename","webpack://krusteaz-website/webpack/runtime/get mini-css chunk filename","webpack://krusteaz-website/webpack/runtime/global","webpack://krusteaz-website/webpack/runtime/hasOwnProperty shorthand","webpack://krusteaz-website/webpack/runtime/make namespace object","webpack://krusteaz-website/webpack/runtime/publicPath","webpack://krusteaz-website/webpack/runtime/jsonp chunk loading","webpack://krusteaz-website/external window [\"wp\",\"element\"]","webpack://krusteaz-website/./wp-content/themes/tombras/blocks/components/react-accordion/wrapper/accordion.jsx","webpack://krusteaz-website/./wp-content/themes/tombras/blocks/components/react-accordion-panel/components/accordion-panel.jsx","webpack://krusteaz-website/./wp-content/themes/tombras/assets/icons/plus.svg","webpack://krusteaz-website/./wp-content/themes/tombras/blocks/components/react-accordion-panel/components/icon.jsx","webpack://krusteaz-website/./wp-content/themes/tombras/blocks/components/react-accordion-panel/components/accordion-heading.jsx","webpack://krusteaz-website/./wp-content/themes/tombras/blocks/components/react-accordion-panel/components/accordion-body.jsx","webpack://krusteaz-website/./wp-content/themes/tombras/blocks/components/lazyComponents.js","webpack://krusteaz-website/./node_modules/html-react-parser/index.mjs","webpack://krusteaz-website/./wp-content/themes/tombras/blocks/utils/block-hydration.js","webpack://krusteaz-website/./wp-content/themes/tombras/blocks/utils/htmlToJSX.jsx","webpack://krusteaz-website/./wp-content/themes/tombras/assets/slider-arrows.js","webpack://krusteaz-website/./wp-content/themes/tombras/assets/simple-accordion.js","webpack://krusteaz-website/./wp-content/themes/tombras/assets/js/utils.js","webpack://krusteaz-website/./wp-content/themes/tombras/assets/shopify/index.js","webpack://krusteaz-website/./node_modules/date-fns/locale/en-US/_lib/formatDistance.mjs","webpack://krusteaz-website/./node_modules/date-fns/locale/_lib/buildFormatLongFn.mjs","webpack://krusteaz-website/./node_modules/date-fns/locale/en-US/_lib/formatLong.mjs","webpack://krusteaz-website/./node_modules/date-fns/locale/en-US/_lib/formatRelative.mjs","webpack://krusteaz-website/./node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs","webpack://krusteaz-website/./node_modules/date-fns/locale/_lib/buildMatchFn.mjs","webpack://krusteaz-website/./node_modules/date-fns/locale/_lib/buildMatchPatternFn.mjs","webpack://krusteaz-website/./node_modules/date-fns/locale/en-US.mjs","webpack://krusteaz-website/./node_modules/date-fns/locale/en-US/_lib/localize.mjs","webpack://krusteaz-website/./node_modules/date-fns/locale/en-US/_lib/match.mjs","webpack://krusteaz-website/./node_modules/date-fns/_lib/defaultOptions.mjs","webpack://krusteaz-website/./node_modules/date-fns/constants.mjs","webpack://krusteaz-website/./node_modules/date-fns/toDate.mjs","webpack://krusteaz-website/./node_modules/date-fns/startOfDay.mjs","webpack://krusteaz-website/./node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.mjs","webpack://krusteaz-website/./node_modules/date-fns/differenceInCalendarDays.mjs","webpack://krusteaz-website/./node_modules/date-fns/constructFrom.mjs","webpack://krusteaz-website/./node_modules/date-fns/startOfYear.mjs","webpack://krusteaz-website/./node_modules/date-fns/getDayOfYear.mjs","webpack://krusteaz-website/./node_modules/date-fns/startOfWeek.mjs","webpack://krusteaz-website/./node_modules/date-fns/startOfISOWeek.mjs","webpack://krusteaz-website/./node_modules/date-fns/getISOWeekYear.mjs","webpack://krusteaz-website/./node_modules/date-fns/startOfISOWeekYear.mjs","webpack://krusteaz-website/./node_modules/date-fns/getISOWeek.mjs","webpack://krusteaz-website/./node_modules/date-fns/getWeekYear.mjs","webpack://krusteaz-website/./node_modules/date-fns/startOfWeekYear.mjs","webpack://krusteaz-website/./node_modules/date-fns/getWeek.mjs","webpack://krusteaz-website/./node_modules/date-fns/_lib/addLeadingZeros.mjs","webpack://krusteaz-website/./node_modules/date-fns/_lib/format/lightFormatters.mjs","webpack://krusteaz-website/./node_modules/date-fns/_lib/format/formatters.mjs","webpack://krusteaz-website/./node_modules/date-fns/_lib/format/longFormatters.mjs","webpack://krusteaz-website/./node_modules/date-fns/_lib/protectedTokens.mjs","webpack://krusteaz-website/./node_modules/date-fns/isDate.mjs","webpack://krusteaz-website/./node_modules/date-fns/isValid.mjs","webpack://krusteaz-website/./node_modules/date-fns/format.mjs","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/_lib/tzIntlTimeZoneName/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/_lib/tzTokenizeDate/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/_lib/newDateUTC/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/format/formatters/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/_lib/tzPattern/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/toDate/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/format/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/formatInTimeZone/index.js","webpack://krusteaz-website/./node_modules/date-fns-tz/dist/esm/toZonedTime/index.js","webpack://krusteaz-website/./wp-content/themes/tombras/assets/source.js","webpack://krusteaz-website/./wp-content/themes/tombras/assets/notification.js"],"sourcesContent":["var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"krusteaz-website:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n  typeof define === 'function' && define.amd ? define(factory) :\n  (global = global || self, global.ShopifyBuy = factory());\n}(this, function () { 'use strict';\n\n  function _defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if (\"value\" in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  function _createClass(Constructor, protoProps, staticProps) {\n    if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) _defineProperties(Constructor, staticProps);\n    return Constructor;\n  }\n\n  function _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, {\n        value: value,\n        enumerable: true,\n        configurable: true,\n        writable: true\n      });\n    } else {\n      obj[key] = value;\n    }\n\n    return obj;\n  }\n\n  function _inheritsLoose(subClass, superClass) {\n    subClass.prototype = Object.create(superClass.prototype);\n    subClass.prototype.constructor = subClass;\n    subClass.__proto__ = superClass;\n  }\n\n  function _assertThisInitialized(self) {\n    if (self === void 0) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return self;\n  }\n\n  function _slicedToArray(arr, i) {\n    return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();\n  }\n\n  function _toConsumableArray(arr) {\n    return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n  }\n\n  function _arrayWithoutHoles(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n      return arr2;\n    }\n  }\n\n  function _arrayWithHoles(arr) {\n    if (Array.isArray(arr)) return arr;\n  }\n\n  function _iterableToArray(iter) {\n    if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n  }\n\n  function _iterableToArrayLimit(arr, i) {\n    var _arr = [];\n    var _n = true;\n    var _d = false;\n    var _e = undefined;\n\n    try {\n      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n        _arr.push(_s.value);\n\n        if (i && _arr.length === i) break;\n      }\n    } catch (err) {\n      _d = true;\n      _e = err;\n    } finally {\n      try {\n        if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n      } finally {\n        if (_d) throw _e;\n      }\n    }\n\n    return _arr;\n  }\n\n  function _nonIterableSpread() {\n    throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n  }\n\n  function _nonIterableRest() {\n    throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n  }\n\n  /*\n  @license\n  The MIT License (MIT)\n\n  Copyright (c) 2016 Shopify Inc.\n\n  Permission is hereby granted, free of charge, to any person obtaining a\n  copy of this software and associated documentation files (the\n  \"Software\"), to deal in the Software without restriction, including\n  without limitation the rights to use, copy, modify, merge, publish,\n  distribute, sublicense, and/or sell copies of the Software, and to\n  permit persons to whom the Software is furnished to do so, subject to\n  the following conditions:\n\n  The above copyright notice and this permission notice shall be included\n  in all copies or substantial portions of the Software.\n\n  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n  */\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n\n\n\n\n\n\n\n\n\n\n  var classCallCheck$1 = function (instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  };\n\n  var createClass$1 = function () {\n    function defineProperties(target, props) {\n      for (var i = 0; i < props.length; i++) {\n        var descriptor = props[i];\n        descriptor.enumerable = descriptor.enumerable || false;\n        descriptor.configurable = true;\n        if (\"value\" in descriptor) descriptor.writable = true;\n        Object.defineProperty(target, descriptor.key, descriptor);\n      }\n    }\n\n    return function (Constructor, protoProps, staticProps) {\n      if (protoProps) defineProperties(Constructor.prototype, protoProps);\n      if (staticProps) defineProperties(Constructor, staticProps);\n      return Constructor;\n    };\n  }();\n\n\n\n\n\n\n\n\n\n  var inherits$1 = function (subClass, superClass) {\n    if (typeof superClass !== \"function\" && superClass !== null) {\n      throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n    }\n\n    subClass.prototype = Object.create(superClass && superClass.prototype, {\n      constructor: {\n        value: subClass,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n    if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n  };\n\n\n\n\n\n\n\n\n\n\n\n  var possibleConstructorReturn$1 = function (self, call) {\n    if (!self) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n  };\n\n  /*\n  The MIT License (MIT)\n  Copyright (c) 2016 Shopify Inc.\n\n  Permission is hereby granted, free of charge, to any person obtaining a copy\n  of this software and associated documentation files (the \"Software\"), to deal\n  in the Software without restriction, including without limitation the rights\n  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n  copies of the Software, and to permit persons to whom the Software is\n  furnished to do so, subject to the following conditions:\n\n  The above copyright notice and this permission notice shall be included in all\n  copies or substantial portions of the Software.\n\n  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n  OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE\n  OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n  */\n  function join() {\n    for (var _len = arguments.length, fields = Array(_len), _key = 0; _key < _len; _key++) {\n      fields[_key] = arguments[_key];\n    }\n\n    return fields.join(' ');\n  }\n\n  function isObject(value) {\n    return Boolean(value) && Object.prototype.toString.call(value.valueOf()) === '[object Object]';\n  }\n\n  function deepFreezeCopyExcept(predicate, structure) {\n    if (predicate(structure)) {\n      return structure;\n    } else if (isObject(structure)) {\n      return Object.freeze(Object.keys(structure).reduce(function (copy, key) {\n        copy[key] = deepFreezeCopyExcept(predicate, structure[key]);\n\n        return copy;\n      }, {}));\n    } else if (Array.isArray(structure)) {\n      return Object.freeze(structure.map(function (item) {\n        return deepFreezeCopyExcept(predicate, item);\n      }));\n    } else {\n      return structure;\n    }\n  }\n\n  function schemaForType(typeBundle, typeName) {\n    var typeSchema = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n    var type = typeBundle.types[typeName];\n\n    if (type) {\n      return type;\n    } else if (typeSchema && typeSchema.kind === 'INTERFACE') {\n      return typeSchema;\n    }\n\n    throw new Error('No type of ' + typeName + ' found in schema');\n  }\n\n  var classCallCheck = function classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  };\n\n  var createClass = function () {\n    function defineProperties(target, props) {\n      for (var i = 0; i < props.length; i++) {\n        var descriptor = props[i];\n        descriptor.enumerable = descriptor.enumerable || false;\n        descriptor.configurable = true;\n        if (\"value\" in descriptor) descriptor.writable = true;\n        Object.defineProperty(target, descriptor.key, descriptor);\n      }\n    }\n\n    return function (Constructor, protoProps, staticProps) {\n      if (protoProps) defineProperties(Constructor.prototype, protoProps);\n      if (staticProps) defineProperties(Constructor, staticProps);\n      return Constructor;\n    };\n  }();\n\n  var _extends = Object.assign || function (target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i];\n\n      for (var key in source) {\n        if (Object.prototype.hasOwnProperty.call(source, key)) {\n          target[key] = source[key];\n        }\n      }\n    }\n\n    return target;\n  };\n\n  var inherits = function inherits(subClass, superClass) {\n    if (typeof superClass !== \"function\" && superClass !== null) {\n      throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === 'undefined' ? 'undefined' : _typeof(superClass)));\n    }\n\n    subClass.prototype = Object.create(superClass && superClass.prototype, {\n      constructor: {\n        value: subClass,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n    if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n  };\n\n  var possibleConstructorReturn = function possibleConstructorReturn(self, call) {\n    if (!self) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return call && ((typeof call === 'undefined' ? 'undefined' : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n  };\n\n  var slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  var toConsumableArray = function toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  };\n\n  var VariableDefinition = function () {\n\n    /**\n     * This constructor should not be invoked directly.\n     * Use the factory function {@link Client#variable} to create a VariableDefinition.\n     *\n     * @param {String} name The name of the variable.\n     * @param {String} type The GraphQL type of the variable.\n     * @param {*} [defaultValue] The default value of the variable.\n     */\n    function VariableDefinition(name, type, defaultValue) {\n      classCallCheck(this, VariableDefinition);\n\n      this.name = name;\n      this.type = type;\n      this.defaultValue = defaultValue;\n      Object.freeze(this);\n    }\n\n    /**\n     * Returns the GraphQL query string for the variable as an input value (e.g. `$variableName`).\n     *\n     * @return {String} The GraphQL query string for the variable as an input value.\n     */\n\n    createClass(VariableDefinition, [{\n      key: 'toInputValueString',\n      value: function toInputValueString() {\n        return '$' + this.name;\n      }\n\n      /**\n       * Returns the GraphQL query string for the variable (e.g. `$variableName:VariableType = defaultValue`).\n       *\n       * @return {String} The GraphQL query string for the variable.\n       */\n\n    }, {\n      key: 'toString',\n      value: function toString() {\n        var defaultValueString = this.defaultValue ? ' = ' + formatInputValue(this.defaultValue) : '';\n\n        return '$' + this.name + ':' + this.type + defaultValueString;\n      }\n    }]);\n    return VariableDefinition;\n  }();\n\n  function isVariable(value) {\n    return VariableDefinition.prototype.isPrototypeOf(value);\n  }\n\n  function variable(name, type, defaultValue) {\n    return new VariableDefinition(name, type, defaultValue);\n  }\n\n  var Enum = function () {\n\n    /**\n     * This constructor should not be invoked directly.\n     * Use the factory function {@link Client#enum} to create an Enum.\n     *\n     * @param {String} key The key of the enum.\n     */\n    function Enum(key) {\n      classCallCheck(this, Enum);\n\n      this.key = key;\n    }\n\n    /**\n     * Returns the GraphQL query string for the enum (e.g. `enumKey`).\n     *\n     * @return {String} The GraphQL query string for the enum.\n     */\n\n    createClass(Enum, [{\n      key: \"toString\",\n      value: function toString() {\n        return this.key;\n      }\n    }, {\n      key: \"valueOf\",\n      value: function valueOf() {\n        return this.key.valueOf();\n      }\n    }]);\n    return Enum;\n  }();\n\n  var enumFunction = function enumFunction(key) {\n    return new Enum(key);\n  };\n\n  var Scalar = function () {\n    function Scalar(value) {\n      classCallCheck(this, Scalar);\n\n      this.value = value;\n    }\n\n    createClass(Scalar, [{\n      key: \"toString\",\n      value: function toString() {\n        return this.value.toString();\n      }\n    }, {\n      key: \"valueOf\",\n      value: function valueOf() {\n        return this.value.valueOf();\n      }\n    }, {\n      key: \"unwrapped\",\n      get: function get$$1() {\n        return this.value;\n      }\n    }]);\n    return Scalar;\n  }();\n\n  function formatInputValue(value) {\n    if (VariableDefinition.prototype.isPrototypeOf(value)) {\n      return value.toInputValueString();\n    } else if (Enum.prototype.isPrototypeOf(value)) {\n      return String(value);\n    } else if (Scalar.prototype.isPrototypeOf(value)) {\n      return JSON.stringify(value.valueOf());\n    } else if (Array.isArray(value)) {\n      return '[' + join.apply(undefined, toConsumableArray(value.map(formatInputValue))) + ']';\n    } else if (isObject(value)) {\n      return formatObject(value, '{', '}');\n    } else {\n      return JSON.stringify(value);\n    }\n  }\n\n  function formatObject(value) {\n    var openChar = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n    var closeChar = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n\n    var argPairs = Object.keys(value).map(function (key) {\n      return key + ': ' + formatInputValue(value[key]);\n    });\n\n    return '' + openChar + join.apply(undefined, toConsumableArray(argPairs)) + closeChar;\n  }\n\n  function formatArgs(args) {\n    if (!Object.keys(args).length) {\n      return '';\n    }\n\n    return ' (' + formatObject(args) + ')';\n  }\n\n  function formatDirectives(directives) {\n    if (!Object.keys(directives).length) {\n      return '';\n    }\n\n    var directiveStrings = Object.keys(directives).map(function (key) {\n      var directiveArgs = directives[key];\n      var arg = directiveArgs && Object.keys(directiveArgs).length ? '(' + formatObject(directiveArgs) + ')' : '';\n\n      return '@' + key + arg;\n    });\n\n    return ' ' + join.apply(undefined, toConsumableArray(directiveStrings));\n  }\n\n  // eslint-disable-next-line no-empty-function\n  var noop = function noop() {};\n\n  var Profiler = {\n    trackTypeDependency: noop,\n    trackFieldDependency: noop\n  };\n\n  var trackTypeDependency = Profiler.trackTypeDependency;\n  var trackFieldDependency = Profiler.trackFieldDependency;\n\n  function parseFieldCreationArgs(creationArgs) {\n    var callback = noop;\n    var options = {};\n    var selectionSet = null;\n\n    if (creationArgs.length === 2) {\n      if (typeof creationArgs[1] === 'function') {\n        var _creationArgs = slicedToArray(creationArgs, 2);\n\n        options = _creationArgs[0];\n        callback = _creationArgs[1];\n      } else {\n        var _creationArgs2 = slicedToArray(creationArgs, 2);\n\n        options = _creationArgs2[0];\n        selectionSet = _creationArgs2[1];\n      }\n    } else if (creationArgs.length === 1) {\n      // SelectionSet is defined before this function is called since it's\n      // called by SelectionSet\n      // eslint-disable-next-line no-use-before-define\n      if (SelectionSet.prototype.isPrototypeOf(creationArgs[0])) {\n        selectionSet = creationArgs[0];\n      } else if (typeof creationArgs[0] === 'function') {\n        callback = creationArgs[0];\n      } else {\n        options = creationArgs[0];\n      }\n    }\n\n    return { options: options, selectionSet: selectionSet, callback: callback };\n  }\n\n  var emptyArgs = Object.freeze({});\n  var emptyDirectives = Object.freeze({});\n\n  var Field = function () {\n\n    /**\n     * This constructor should not be invoked directly.\n     * Fields are added to a selection by {@link SelectionSetBuilder#add}, {@link SelectionSetBuilder#addConnection}\n     * and {@link SelectionSetBuilder#addInlineFragmentOn}.\n     *\n     * @param {String} name The name of the field.\n     * @param {Object} [options] An options object containing:\n     *   @param {Object} [options.args] Arguments for the field.\n     *   @param {String} [options.alias] An alias for the field.\n     *   @param {Object} [options.directives] Directives for the field.\n     * @param {SelectionSet} selectionSet The selection set on the field.\n     */\n    function Field(name, options, selectionSet) {\n      classCallCheck(this, Field);\n\n      this.name = name;\n      this.alias = options.alias || null;\n      this.responseKey = this.alias || this.name;\n      this.args = options.args ? deepFreezeCopyExcept(isVariable, options.args) : emptyArgs;\n      this.directives = options.directives ? deepFreezeCopyExcept(isVariable, options.directives) : emptyDirectives;\n      this.selectionSet = selectionSet;\n      Object.freeze(this);\n    }\n\n    /**\n     * Returns the GraphQL query string for the Field (e.g. `catAlias: cat(size: 'small') { name }` or `name`).\n     *\n     * @return {String} The GraphQL query string for the Field.\n     */\n\n    createClass(Field, [{\n      key: 'toString',\n      value: function toString() {\n        var aliasPrefix = this.alias ? this.alias + ': ' : '';\n\n        return '' + aliasPrefix + this.name + formatArgs(this.args) + formatDirectives(this.directives) + this.selectionSet;\n      }\n    }]);\n    return Field;\n  }();\n\n  // This is an interface that defines a usage, and simplifies type checking\n  var Spread = function Spread() {\n    classCallCheck(this, Spread);\n  };\n\n  var InlineFragment = function (_Spread) {\n    inherits(InlineFragment, _Spread);\n\n    /**\n     * This constructor should not be invoked directly.\n     * Use the factory function {@link SelectionSetBuilder#addInlineFragmentOn} to create an InlineFragment.\n     *\n     * @param {String} typeName The type of the fragment.\n     * @param {SelectionSet} selectionSet The selection set on the fragment.\n     */\n    function InlineFragment(typeName, selectionSet) {\n      classCallCheck(this, InlineFragment);\n\n      var _this = possibleConstructorReturn(this, (InlineFragment.__proto__ || Object.getPrototypeOf(InlineFragment)).call(this));\n\n      _this.typeName = typeName;\n      _this.selectionSet = selectionSet;\n      Object.freeze(_this);\n      return _this;\n    }\n\n    /**\n     * Returns the GraphQL query string for the InlineFragment (e.g. `... on Cat { name }`).\n     *\n     * @return {String} The GraphQL query string for the InlineFragment.\n     */\n\n    createClass(InlineFragment, [{\n      key: 'toString',\n      value: function toString() {\n        return '... on ' + this.typeName + this.selectionSet;\n      }\n    }]);\n    return InlineFragment;\n  }(Spread);\n\n  var FragmentSpread = function (_Spread2) {\n    inherits(FragmentSpread, _Spread2);\n\n    /**\n     * This constructor should not be invoked directly.\n     * Use the factory function {@link Document#defineFragment} to create a FragmentSpread.\n     *\n     * @param {FragmentDefinition} fragmentDefinition The corresponding fragment definition.\n     */\n    function FragmentSpread(fragmentDefinition) {\n      classCallCheck(this, FragmentSpread);\n\n      var _this2 = possibleConstructorReturn(this, (FragmentSpread.__proto__ || Object.getPrototypeOf(FragmentSpread)).call(this));\n\n      _this2.name = fragmentDefinition.name;\n      _this2.selectionSet = fragmentDefinition.selectionSet;\n      Object.freeze(_this2);\n      return _this2;\n    }\n\n    /**\n     * Returns the GraphQL query string for the FragmentSpread (e.g. `...catName`).\n     *\n     * @return {String} The GraphQL query string for the FragmentSpread.\n     */\n\n    createClass(FragmentSpread, [{\n      key: 'toString',\n      value: function toString() {\n        return '...' + this.name;\n      }\n    }, {\n      key: 'toDefinition',\n      value: function toDefinition() {\n        // eslint-disable-next-line no-use-before-define\n        return new FragmentDefinition(this.name, this.selectionSet.typeSchema.name, this.selectionSet);\n      }\n    }]);\n    return FragmentSpread;\n  }(Spread);\n\n  var FragmentDefinition = function () {\n\n    /**\n     * This constructor should not be invoked directly.\n     * Use the factory function {@link Document#defineFragment} to create a FragmentDefinition on a {@link Document}.\n     *\n     * @param {String} name The name of the fragment definition.\n     * @param {String} typeName The type of the fragment.\n     */\n    function FragmentDefinition(name, typeName, selectionSet) {\n      classCallCheck(this, FragmentDefinition);\n\n      this.name = name;\n      this.typeName = typeName;\n      this.selectionSet = selectionSet;\n      this.spread = new FragmentSpread(this);\n      Object.freeze(this);\n    }\n\n    /**\n     * Returns the GraphQL query string for the FragmentDefinition (e.g. `fragment catName on Cat { name }`).\n     *\n     * @return {String} The GraphQL query string for the FragmentDefinition.\n     */\n\n    createClass(FragmentDefinition, [{\n      key: 'toString',\n      value: function toString() {\n        return 'fragment ' + this.name + ' on ' + this.typeName + ' ' + this.selectionSet;\n      }\n    }]);\n    return FragmentDefinition;\n  }();\n\n  function selectionsHaveIdField(selections) {\n    return selections.some(function (fieldOrFragment) {\n      if (Field.prototype.isPrototypeOf(fieldOrFragment)) {\n        return fieldOrFragment.name === 'id';\n      } else if (Spread.prototype.isPrototypeOf(fieldOrFragment) && fieldOrFragment.selectionSet.typeSchema.implementsNode) {\n        return selectionsHaveIdField(fieldOrFragment.selectionSet.selections);\n      }\n\n      return false;\n    });\n  }\n\n  function selectionsHaveTypenameField(selections) {\n    return selections.some(function (fieldOrFragment) {\n      if (Field.prototype.isPrototypeOf(fieldOrFragment)) {\n        return fieldOrFragment.name === '__typename';\n      } else if (Spread.prototype.isPrototypeOf(fieldOrFragment) && fieldOrFragment.selectionSet.typeSchema.implementsNode) {\n        return selectionsHaveTypenameField(fieldOrFragment.selectionSet.selections);\n      }\n\n      return false;\n    });\n  }\n\n  function indexSelectionsByResponseKey(selections) {\n    function assignOrPush(obj, key, value) {\n      if (Array.isArray(obj[key])) {\n        obj[key].push(value);\n      } else {\n        obj[key] = [value];\n      }\n    }\n    var unfrozenObject = selections.reduce(function (acc, selection) {\n      if (selection.responseKey) {\n        assignOrPush(acc, selection.responseKey, selection);\n      } else {\n        var responseKeys = Object.keys(selection.selectionSet.selectionsByResponseKey);\n\n        responseKeys.forEach(function (responseKey) {\n          assignOrPush(acc, responseKey, selection);\n        });\n      }\n\n      return acc;\n    }, {});\n\n    Object.keys(unfrozenObject).forEach(function (key) {\n      Object.freeze(unfrozenObject[key]);\n    });\n\n    return Object.freeze(unfrozenObject);\n  }\n\n  /**\n   * Class that specifies the full selection of data to query.\n   */\n\n  var SelectionSet = function () {\n\n    /**\n     * This constructor should not be invoked directly. SelectionSets are created when building queries/mutations.\n     *\n     * @param {Object} typeBundle A set of ES6 modules generated by {@link https://github.com/Shopify/graphql-js-schema|graphql-js-schema}.\n     * @param {(Object|String)} type The type of the current selection.\n     * @param {Function} builderFunction Callback function used to build the SelectionSet.\n     *   The callback takes a {@link SelectionSetBuilder} as its argument.\n     */\n    function SelectionSet(typeBundle, type, builderFunction) {\n      classCallCheck(this, SelectionSet);\n\n      if (typeof type === 'string') {\n        this.typeSchema = schemaForType(typeBundle, type);\n      } else {\n        this.typeSchema = type;\n      }\n\n      trackTypeDependency(this.typeSchema.name);\n\n      this.typeBundle = typeBundle;\n      this.selections = [];\n      if (builderFunction) {\n        // eslint-disable-next-line no-use-before-define\n        builderFunction(new SelectionSetBuilder(this.typeBundle, this.typeSchema, this.selections));\n      }\n\n      if (this.typeSchema.implementsNode || this.typeSchema.name === 'Node') {\n        if (!selectionsHaveIdField(this.selections)) {\n          this.selections.unshift(new Field('id', {}, new SelectionSet(typeBundle, 'ID')));\n        }\n      }\n\n      if (this.typeSchema.kind === 'INTERFACE') {\n        if (!selectionsHaveTypenameField(this.selections)) {\n          this.selections.unshift(new Field('__typename', {}, new SelectionSet(typeBundle, 'String')));\n        }\n      }\n\n      this.selectionsByResponseKey = indexSelectionsByResponseKey(this.selections);\n      Object.freeze(this.selections);\n      Object.freeze(this);\n    }\n\n    /**\n     * Returns the GraphQL query string for the SelectionSet (e.g. `{ cat { name } }`).\n     *\n     * @return {String} The GraphQL query string for the SelectionSet.\n     */\n\n    createClass(SelectionSet, [{\n      key: 'toString',\n      value: function toString() {\n        if (this.typeSchema.kind === 'SCALAR' || this.typeSchema.kind === 'ENUM') {\n          return '';\n        } else {\n          return ' { ' + join(this.selections) + ' }';\n        }\n      }\n    }]);\n    return SelectionSet;\n  }();\n\n  var SelectionSetBuilder = function () {\n\n    /**\n     * This constructor should not be invoked directly. SelectionSetBuilders are created when building queries/mutations.\n     *\n     * @param {Object} typeBundle A set of ES6 modules generated by {@link https://github.com/Shopify/graphql-js-schema|graphql-js-schema}.\n     * @param {Object} typeSchema The schema object for the type of the current selection.\n     * @param {Field[]} selections The fields on the current selection.\n     */\n    function SelectionSetBuilder(typeBundle, typeSchema, selections) {\n      classCallCheck(this, SelectionSetBuilder);\n\n      this.typeBundle = typeBundle;\n      this.typeSchema = typeSchema;\n      this.selections = selections;\n    }\n\n    createClass(SelectionSetBuilder, [{\n      key: 'hasSelectionWithResponseKey',\n      value: function hasSelectionWithResponseKey(responseKey) {\n        return this.selections.some(function (field) {\n          return field.responseKey === responseKey;\n        });\n      }\n\n      /**\n       * Adds a field to be queried on the current selection.\n       *\n       * @example\n       * client.query((root) => {\n       *   root.add('cat', {args: {id: '123456'}, alias: 'meow'}, (cat) => {\n       *     cat.add('name');\n       *   });\n       * });\n       *\n       * @param {SelectionSet|String} selectionOrFieldName The selection or name of the field to add.\n       * @param {Object} [options] Options on the query including:\n       *   @param {Object} [options.args] Arguments on the query (e.g. `{id: '123456'}`).\n       *   @param {String} [options.alias] Alias for the field being added.\n       * @param {Function|SelectionSet} [callbackOrSelectionSet] Either a callback which will be used to create a new {@link SelectionSet}, or an existing {@link SelectionSet}.\n       */\n\n    }, {\n      key: 'add',\n      value: function add(selectionOrFieldName) {\n        var selection = void 0;\n\n        if (Object.prototype.toString.call(selectionOrFieldName) === '[object String]') {\n          trackFieldDependency(this.typeSchema.name, selectionOrFieldName);\n\n          for (var _len = arguments.length, rest = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n            rest[_key - 1] = arguments[_key];\n          }\n\n          selection = this.field.apply(this, [selectionOrFieldName].concat(rest));\n        } else {\n          if (Field.prototype.isPrototypeOf(selectionOrFieldName)) {\n            trackFieldDependency(this.typeSchema.name, selectionOrFieldName.name);\n          }\n\n          selection = selectionOrFieldName;\n        }\n\n        if (selection.responseKey && this.hasSelectionWithResponseKey(selection.responseKey)) {\n          throw new Error('The field name or alias \\'' + selection.responseKey + '\\' has already been added.');\n        }\n        this.selections.push(selection);\n      }\n    }, {\n      key: 'field',\n      value: function field(name) {\n        for (var _len2 = arguments.length, creationArgs = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n          creationArgs[_key2 - 1] = arguments[_key2];\n        }\n\n        var parsedArgs = parseFieldCreationArgs(creationArgs);\n        var options = parsedArgs.options,\n            callback = parsedArgs.callback;\n        var selectionSet = parsedArgs.selectionSet;\n\n        if (!selectionSet) {\n          if (!this.typeSchema.fieldBaseTypes[name]) {\n            throw new Error('No field of name \"' + name + '\" found on type \"' + this.typeSchema.name + '\" in schema');\n          }\n\n          var fieldBaseType = schemaForType(this.typeBundle, this.typeSchema.fieldBaseTypes[name]);\n\n          selectionSet = new SelectionSet(this.typeBundle, fieldBaseType, callback);\n        }\n\n        return new Field(name, options, selectionSet);\n      }\n\n      /**\n       * Creates an inline fragment.\n       *\n       * @access private\n       * @param {String} typeName The type  the inline fragment.\n       * @param {Function|SelectionSet}  [callbackOrSelectionSet] Either a callback which will be used to create a new {@link SelectionSet}, or an existing {@link SelectionSet}.\n       * @return {InlineFragment} An inline fragment.\n       */\n\n    }, {\n      key: 'inlineFragmentOn',\n      value: function inlineFragmentOn(typeName) {\n        var builderFunctionOrSelectionSet = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;\n\n        var selectionSet = void 0;\n\n        if (SelectionSet.prototype.isPrototypeOf(builderFunctionOrSelectionSet)) {\n          selectionSet = builderFunctionOrSelectionSet;\n        } else {\n          selectionSet = new SelectionSet(this.typeBundle, schemaForType(this.typeBundle, typeName), builderFunctionOrSelectionSet);\n        }\n\n        return new InlineFragment(typeName, selectionSet);\n      }\n\n      /**\n       * Adds a field to be queried on the current selection.\n       *\n       * @access private\n       * @param {String}    name The name of the field to add to the query.\n       * @param {Object} [options] Options on the query including:\n       *   @param {Object} [options.args] Arguments on the query (e.g. `{id: '123456'}`).\n       *   @param {String} [options.alias] Alias for the field being added.\n       * @param {Function}  [callback] Callback which will be used to create a new {@link SelectionSet} for the field added.\n       */\n\n    }, {\n      key: 'addField',\n      value: function addField(name) {\n        for (var _len3 = arguments.length, creationArgs = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n          creationArgs[_key3 - 1] = arguments[_key3];\n        }\n\n        this.add.apply(this, [name].concat(creationArgs));\n      }\n\n      /**\n       * Adds a connection to be queried on the current selection.\n       * This adds all the fields necessary for pagination.\n       *\n       * @example\n       * client.query((root) => {\n       *   root.add('cat', (cat) => {\n       *     cat.addConnection('friends', {args: {first: 10}, alias: 'coolCats'}, (friends) => {\n       *       friends.add('name');\n       *     });\n       *   });\n       * });\n       *\n       * @param {String}    name The name of the connection to add to the query.\n       * @param {Object} [options] Options on the query including:\n       *   @param {Object} [options.args] Arguments on the query (e.g. `{first: 10}`).\n       *   @param {String} [options.alias] Alias for the field being added.\n       * @param {Function|SelectionSet}  [callbackOrSelectionSet] Either a callback which will be used to create a new {@link SelectionSet}, or an existing {@link SelectionSet}.\n       */\n\n    }, {\n      key: 'addConnection',\n      value: function addConnection(name) {\n        for (var _len4 = arguments.length, creationArgs = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n          creationArgs[_key4 - 1] = arguments[_key4];\n        }\n\n        var _parseFieldCreationAr = parseFieldCreationArgs(creationArgs),\n            options = _parseFieldCreationAr.options,\n            callback = _parseFieldCreationAr.callback,\n            selectionSet = _parseFieldCreationAr.selectionSet;\n\n        this.add(name, options, function (connection) {\n          connection.add('pageInfo', {}, function (pageInfo) {\n            pageInfo.add('hasNextPage');\n            pageInfo.add('hasPreviousPage');\n          });\n          connection.add('edges', {}, function (edges) {\n            edges.add('cursor');\n            edges.addField('node', {}, selectionSet || callback); // This is bad. Don't do this\n          });\n        });\n      }\n\n      /**\n       * Adds an inline fragment on the current selection.\n       *\n       * @example\n       * client.query((root) => {\n       *   root.add('animal', (animal) => {\n       *     animal.addInlineFragmentOn('cat', (cat) => {\n       *       cat.add('name');\n       *     });\n       *   });\n       * });\n       *\n       * @param {String} typeName The name of the type of the inline fragment.\n       * @param {Function|SelectionSet}  [callbackOrSelectionSet] Either a callback which will be used to create a new {@link SelectionSet}, or an existing {@link SelectionSet}.\n       */\n\n    }, {\n      key: 'addInlineFragmentOn',\n      value: function addInlineFragmentOn(typeName) {\n        var fieldTypeCb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop;\n\n        this.add(this.inlineFragmentOn(typeName, fieldTypeCb));\n      }\n\n      /**\n       * Adds a fragment spread on the current selection.\n       *\n       * @example\n       * client.query((root) => {\n       *   root.addFragment(catFragmentSpread);\n       * });\n       *\n       * @param {FragmentSpread} fragmentSpread The fragment spread to add.\n       */\n\n    }, {\n      key: 'addFragment',\n      value: function addFragment(fragmentSpread) {\n        this.add(fragmentSpread);\n      }\n    }]);\n    return SelectionSetBuilder;\n  }();\n\n  function parseArgs(args) {\n    var name = void 0;\n    var variables = void 0;\n    var selectionSetCallback = void 0;\n\n    if (args.length === 3) {\n      var _args = slicedToArray(args, 3);\n\n      name = _args[0];\n      variables = _args[1];\n      selectionSetCallback = _args[2];\n    } else if (args.length === 2) {\n      if (Object.prototype.toString.call(args[0]) === '[object String]') {\n        name = args[0];\n        variables = null;\n      } else if (Array.isArray(args[0])) {\n        variables = args[0];\n        name = null;\n      }\n\n      selectionSetCallback = args[1];\n    } else {\n      selectionSetCallback = args[0];\n      name = null;\n    }\n\n    return { name: name, variables: variables, selectionSetCallback: selectionSetCallback };\n  }\n\n  var VariableDefinitions = function () {\n    function VariableDefinitions(variableDefinitions) {\n      classCallCheck(this, VariableDefinitions);\n\n      this.variableDefinitions = variableDefinitions ? [].concat(toConsumableArray(variableDefinitions)) : [];\n      Object.freeze(this.variableDefinitions);\n      Object.freeze(this);\n    }\n\n    createClass(VariableDefinitions, [{\n      key: 'toString',\n      value: function toString() {\n        if (this.variableDefinitions.length === 0) {\n          return '';\n        }\n\n        return ' (' + join(this.variableDefinitions) + ') ';\n      }\n    }]);\n    return VariableDefinitions;\n  }();\n\n  /**\n   * Base class for {@link Query} and {@link Mutation}.\n   * @abstract\n   */\n\n  var Operation = function () {\n\n    /**\n     * This constructor should not be invoked. The subclasses {@link Query} and {@link Mutation} should be used instead.\n     */\n    function Operation(typeBundle, operationType) {\n      classCallCheck(this, Operation);\n\n      for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n        args[_key - 2] = arguments[_key];\n      }\n\n      var _parseArgs = parseArgs(args),\n          name = _parseArgs.name,\n          variables = _parseArgs.variables,\n          selectionSetCallback = _parseArgs.selectionSetCallback;\n\n      this.typeBundle = typeBundle;\n      this.name = name;\n      this.variableDefinitions = new VariableDefinitions(variables);\n      this.operationType = operationType;\n      if (operationType === 'query') {\n        this.selectionSet = new SelectionSet(typeBundle, typeBundle.queryType, selectionSetCallback);\n        this.typeSchema = schemaForType(typeBundle, typeBundle.queryType);\n      } else {\n        this.selectionSet = new SelectionSet(typeBundle, typeBundle.mutationType, selectionSetCallback);\n        this.typeSchema = schemaForType(typeBundle, typeBundle.mutationType);\n      }\n      Object.freeze(this);\n    }\n\n    /**\n     * Whether the operation is anonymous (i.e. has no name).\n     */\n\n    createClass(Operation, [{\n      key: 'toString',\n\n      /**\n       * Returns the GraphQL query or mutation string (e.g. `query myQuery { cat { name } }`).\n       *\n       * @return {String} The GraphQL query or mutation string.\n       */\n      value: function toString() {\n        var nameString = this.name ? ' ' + this.name : '';\n\n        return '' + this.operationType + nameString + this.variableDefinitions + this.selectionSet;\n      }\n    }, {\n      key: 'isAnonymous',\n      get: function get$$1() {\n        return !this.name;\n      }\n    }]);\n    return Operation;\n  }();\n\n  /**\n   * GraphQL Query class.\n   * @extends Operation\n   */\n\n  var Query = function (_Operation) {\n    inherits(Query, _Operation);\n\n    /**\n     * This constructor should not be invoked directly.\n     * Use the factory functions {@link Client#query} or {@link Document#addQuery} to create a Query.\n     *\n     * @param {Object} typeBundle A set of ES6 modules generated by {@link https://github.com/Shopify/graphql-js-schema|graphql-js-schema}.\n     * @param {String} [name] A name for the query.\n     * @param {Object[]} [variables] A list of variables in the query. See {@link Client#variable}.\n     * @param {Function} selectionSetCallback The query builder callback.\n     *   A {@link SelectionSet} is created using this callback.\n     */\n    function Query(typeBundle) {\n      var _ref;\n\n      classCallCheck(this, Query);\n\n      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      return possibleConstructorReturn(this, (_ref = Query.__proto__ || Object.getPrototypeOf(Query)).call.apply(_ref, [this, typeBundle, 'query'].concat(args)));\n    }\n\n    return Query;\n  }(Operation);\n\n  /**\n   * GraphQL Mutation class.\n   * @extends Operation\n   */\n\n  var Mutation = function (_Operation) {\n    inherits(Mutation, _Operation);\n\n    /**\n     * This constructor should not be invoked directly.\n     * Use the factory functions {@link Client#mutation} or {@link Document#addMutation} to create a Mutation.\n     *\n     * @param {Object} typeBundle A set of ES6 modules generated by {@link https://github.com/Shopify/graphql-js-schema|graphql-js-schema}.\n     * @param {String} [name] A name for the mutation.\n     * @param {Object[]} [variables] A list of variables in the mutation. See {@link Client#variable}.\n     * @param {Function} selectionSetCallback The mutation builder callback.\n     *   A {@link SelectionSet} is created using this callback.\n     */\n    function Mutation(typeBundle) {\n      var _ref;\n\n      classCallCheck(this, Mutation);\n\n      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      return possibleConstructorReturn(this, (_ref = Mutation.__proto__ || Object.getPrototypeOf(Mutation)).call.apply(_ref, [this, typeBundle, 'mutation'].concat(args)));\n    }\n\n    return Mutation;\n  }(Operation);\n\n  function isAnonymous(operation) {\n    return operation.isAnonymous;\n  }\n\n  function hasAnonymousOperations(operations) {\n    return operations.some(isAnonymous);\n  }\n\n  function hasDuplicateOperationNames(operations) {\n    var names = operations.map(function (operation) {\n      return operation.name;\n    });\n\n    return names.reduce(function (hasDuplicates, name, index) {\n      return hasDuplicates || names.indexOf(name) !== index;\n    }, false);\n  }\n\n  function extractOperation(typeBundle, operationType) {\n    for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n      args[_key - 2] = arguments[_key];\n    }\n\n    if (Operation.prototype.isPrototypeOf(args[0])) {\n      return args[0];\n    }\n\n    if (operationType === 'query') {\n      return new (Function.prototype.bind.apply(Query, [null].concat([typeBundle], args)))();\n    } else {\n      return new (Function.prototype.bind.apply(Mutation, [null].concat([typeBundle], args)))();\n    }\n  }\n\n  function isInvalidOperationCombination(operations) {\n    if (operations.length === 1) {\n      return false;\n    }\n\n    return hasAnonymousOperations(operations) || hasDuplicateOperationNames(operations);\n  }\n\n  function fragmentNameIsNotUnique(existingDefinitions, name) {\n    return existingDefinitions.some(function (definition) {\n      return definition.name === name;\n    });\n  }\n\n  var Document = function () {\n\n    /**\n     * This constructor should not be invoked directly.\n     * Use the factory function {@link Client#document} to create a Document.\n     * @param {Object} typeBundle A set of ES6 modules generated by {@link https://github.com/Shopify/graphql-js-schema|graphql-js-schema}.\n     */\n    function Document(typeBundle) {\n      classCallCheck(this, Document);\n\n      this.typeBundle = typeBundle;\n      this.definitions = [];\n    }\n\n    /**\n     * Returns the GraphQL query string for the Document (e.g. `query queryOne { ... } query queryTwo { ... }`).\n     *\n     * @return {String} The GraphQL query string for the Document.\n     */\n\n    createClass(Document, [{\n      key: 'toString',\n      value: function toString() {\n        return join(this.definitions);\n      }\n\n      /**\n       * Adds an operation to the Document.\n       *\n       * @private\n       * @param {String} operationType The type of the operation. Either 'query' or 'mutation'.\n       * @param {(Operation|String)} [query|queryName] Either an instance of an operation\n       *   object, or the name of an operation. Both are optional.\n       * @param {Object[]} [variables] A list of variables in the operation. See {@link Client#variable}.\n       * @param {Function} [callback] The query builder callback. If an operation\n       *   instance is passed, this callback will be ignored.\n       *   A {@link SelectionSet} is created using this callback.\n        */\n\n    }, {\n      key: 'addOperation',\n      value: function addOperation(operationType) {\n        for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n          args[_key2 - 1] = arguments[_key2];\n        }\n\n        var operation = extractOperation.apply(undefined, [this.typeBundle, operationType].concat(args));\n\n        if (isInvalidOperationCombination(this.operations.concat(operation))) {\n          throw new Error('All operations must be uniquely named on a multi-operation document');\n        }\n\n        this.definitions.push(operation);\n      }\n\n      /**\n       * Adds a query to the Document.\n       *\n       * @example\n       * document.addQuery('myQuery', (root) => {\n       *   root.add('cat', (cat) => {\n       *    cat.add('name');\n       *   });\n       * });\n       *\n       * @param {(Query|String)} [query|queryName] Either an instance of a query\n       *   object, or the name of a query. Both are optional.\n       * @param {Object[]} [variables] A list of variables in the query. See {@link Client#variable}.\n       * @param {Function} [callback] The query builder callback. If a query\n       *   instance is passed, this callback will be ignored.\n       *   A {@link SelectionSet} is created using this callback.\n       */\n\n    }, {\n      key: 'addQuery',\n      value: function addQuery() {\n        for (var _len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n          args[_key3] = arguments[_key3];\n        }\n\n        this.addOperation.apply(this, ['query'].concat(args));\n      }\n\n      /**\n       * Adds a mutation to the Document.\n       *\n       * @example\n       * const input = client.variable('input', 'CatCreateInput!');\n       *\n       * document.addMutation('myMutation', [input], (root) => {\n       *   root.add('catCreate', {args: {input}}, (catCreate) => {\n       *     catCreate.add('cat', (cat) => {\n       *       cat.add('name');\n       *     });\n       *   });\n       * });\n       *\n       * @param {(Mutation|String)} [mutation|mutationName] Either an instance of a mutation\n       *   object, or the name of a mutation. Both are optional.\n       * @param {Object[]} [variables] A list of variables in the mutation. See {@link Client#variable}.\n       * @param {Function} [callback] The mutation builder callback. If a mutation\n       *   instance is passed, this callback will be ignored.\n       *   A {@link SelectionSet} is created using this callback.\n       */\n\n    }, {\n      key: 'addMutation',\n      value: function addMutation() {\n        for (var _len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n          args[_key4] = arguments[_key4];\n        }\n\n        this.addOperation.apply(this, ['mutation'].concat(args));\n      }\n\n      /**\n       * Defines a fragment on the Document.\n       *\n       * @param {String} name The name of the fragment.\n       * @param {String} onType The type the fragment is on.\n       * @param {Function} [builderFunction] The query builder callback.\n       *   A {@link SelectionSet} is created using this callback.\n       * @return {FragmentSpread} A {@link FragmentSpread} to be used with {@link SelectionSetBuilder#addFragment}.\n       */\n\n    }, {\n      key: 'defineFragment',\n      value: function defineFragment(name, onType, builderFunction) {\n        if (fragmentNameIsNotUnique(this.fragmentDefinitions, name)) {\n          throw new Error('All fragments must be uniquely named on a multi-fragment document');\n        }\n\n        var selectionSet = new SelectionSet(this.typeBundle, onType, builderFunction);\n        var fragment = new FragmentDefinition(name, onType, selectionSet);\n\n        this.definitions.push(fragment);\n\n        return fragment.spread;\n      }\n\n      /**\n       * All operations ({@link Query} and {@link Mutation}) on the Document.\n       */\n\n    }, {\n      key: 'operations',\n      get: function get$$1() {\n        return this.definitions.filter(function (definition) {\n          return Operation.prototype.isPrototypeOf(definition);\n        });\n      }\n\n      /**\n       * All {@link FragmentDefinition}s on the Document.\n       */\n\n    }, {\n      key: 'fragmentDefinitions',\n      get: function get$$1() {\n        return this.definitions.filter(function (definition) {\n          return FragmentDefinition.prototype.isPrototypeOf(definition);\n        });\n      }\n    }]);\n    return Document;\n  }();\n\n  /**\n   * The base class used when deserializing response data.\n   * Provides rich features, like functions to generate queries to refetch a node or fetch the next page.\n   *\n   * @class\n   */\n  var GraphModel =\n\n  /**\n   * @param {Object} attrs Attributes on the GraphModel.\n   */\n  function GraphModel(attrs) {\n    var _this = this;\n\n    classCallCheck(this, GraphModel);\n\n    Object.defineProperty(this, 'attrs', { value: attrs, enumerable: false });\n\n    Object.keys(this.attrs).filter(function (key) {\n      return !(key in _this);\n    }).forEach(function (key) {\n      var descriptor = void 0;\n\n      if (attrs[key] === null) {\n        descriptor = {\n          enumerable: true,\n          get: function get$$1() {\n            return null;\n          }\n        };\n      } else {\n        descriptor = {\n          enumerable: true,\n          get: function get$$1() {\n            return this.attrs[key].valueOf();\n          }\n        };\n      }\n      Object.defineProperty(_this, key, descriptor);\n    });\n  };\n\n  /**\n   * A registry of classes used to deserialize the response data. Uses {@link GraphModel} by default.\n   */\n\n  var ClassRegistry = function () {\n    function ClassRegistry() {\n      classCallCheck(this, ClassRegistry);\n\n      this.classStore = {};\n    }\n\n    /**\n     * Registers a class for a GraphQL type in the registry.\n     *\n     * @param {Class} constructor The constructor of the class.\n     * @param {String} type The GraphQL type of the object to deserialize into the class.\n     */\n\n    createClass(ClassRegistry, [{\n      key: 'registerClassForType',\n      value: function registerClassForType(constructor, type) {\n        this.classStore[type] = constructor;\n      }\n\n      /**\n       * Unregisters a class for a GraphQL type in the registry.\n       *\n       * @param {String} type The GraphQL type to unregister.\n       */\n\n    }, {\n      key: 'unregisterClassForType',\n      value: function unregisterClassForType(type) {\n        delete this.classStore[type];\n      }\n\n      /**\n       * Returns the class for the given GraphQL type.\n       *\n       * @param {String} type The GraphQL type to look up.\n       * @return {Class|GraphModel} The class for the given GraphQL type. Defaults to {@link GraphModel} if no class is registered for the GraphQL type.\n       */\n\n    }, {\n      key: 'classForType',\n      value: function classForType(type) {\n        return this.classStore[type] || GraphModel;\n      }\n    }]);\n    return ClassRegistry;\n  }();\n\n  function isValue(arg) {\n    return Object.prototype.toString.call(arg) !== '[object Null]' && Object.prototype.toString.call(arg) !== '[object Undefined]';\n  }\n\n  function isNodeContext(context) {\n    return context.selection.selectionSet.typeSchema.implementsNode;\n  }\n\n  function isConnection(context) {\n    return context.selection.selectionSet.typeSchema.name.endsWith('Connection');\n  }\n\n  function nearestNode(context) {\n    if (context == null) {\n      return null;\n    } else if (isNodeContext(context)) {\n      return context;\n    } else {\n      return nearestNode(context.parent);\n    }\n  }\n\n  function contextsFromRoot(context) {\n    if (context.parent) {\n      return contextsFromRoot(context.parent).concat(context);\n    } else {\n      return [context];\n    }\n  }\n\n  function contextsFromNearestNode(context) {\n    if (context.selection.selectionSet.typeSchema.implementsNode) {\n      return [context];\n    } else {\n      return contextsFromNearestNode(context.parent).concat(context);\n    }\n  }\n\n  function initializeDocumentAndVars(currentContext, contextChain) {\n    var lastInChain = contextChain[contextChain.length - 1];\n    var first = lastInChain.selection.args.first;\n    var variableDefinitions = Object.keys(lastInChain.selection.args).filter(function (key) {\n      return isVariable(lastInChain.selection.args[key]);\n    }).map(function (key) {\n      return lastInChain.selection.args[key];\n    });\n\n    var firstVar = variableDefinitions.find(function (definition) {\n      return definition.name === 'first';\n    });\n\n    if (!firstVar) {\n      if (isVariable(first)) {\n        firstVar = first;\n      } else {\n        firstVar = variable('first', 'Int', first);\n        variableDefinitions.push(firstVar);\n      }\n    }\n\n    var document = new Document(currentContext.selection.selectionSet.typeBundle);\n\n    return [document, variableDefinitions, firstVar];\n  }\n\n  function addNextFieldTo(currentSelection, contextChain, path, cursor) {\n    // There are always at least two. When we start, it's the root context, and the first set\n    var nextContext = contextChain.shift();\n\n    path.push(nextContext.selection.responseKey);\n\n    if (contextChain.length) {\n      currentSelection.add(nextContext.selection.name, { alias: nextContext.selection.alias, args: nextContext.selection.args }, function (newSelection) {\n        addNextFieldTo(newSelection, contextChain, path, cursor);\n      });\n    } else {\n      var edgesField = nextContext.selection.selectionSet.selections.find(function (field) {\n        return field.name === 'edges';\n      });\n      var nodeField = edgesField.selectionSet.selections.find(function (field) {\n        return field.name === 'node';\n      });\n      var first = void 0;\n\n      if (isVariable(nextContext.selection.args.first)) {\n        first = nextContext.selection.args.first;\n      } else {\n        first = variable('first', 'Int', nextContext.selection.args.first);\n      }\n\n      var options = {\n        alias: nextContext.selection.alias,\n        args: Object.assign({}, nextContext.selection.args, { after: cursor, first: first })\n      };\n\n      currentSelection.addConnection(nextContext.selection.name, options, nodeField.selectionSet);\n    }\n  }\n\n  function collectFragments(selections) {\n    return selections.reduce(function (fragmentDefinitions, field) {\n      if (FragmentSpread.prototype.isPrototypeOf(field)) {\n        fragmentDefinitions.push(field.toDefinition());\n      }\n\n      fragmentDefinitions.push.apply(fragmentDefinitions, toConsumableArray(collectFragments(field.selectionSet.selections)));\n\n      return fragmentDefinitions;\n    }, []);\n  }\n\n  function nextPageQueryAndPath(context, cursor) {\n    var nearestNodeContext = nearestNode(context);\n\n    if (nearestNodeContext) {\n      return function () {\n        var _document$definitions;\n\n        var path = [];\n        var nodeType = nearestNodeContext.selection.selectionSet.typeSchema;\n        var nodeId = nearestNodeContext.responseData.id;\n        var contextChain = contextsFromNearestNode(context);\n\n        var _initializeDocumentAn = initializeDocumentAndVars(context, contextChain),\n            _initializeDocumentAn2 = slicedToArray(_initializeDocumentAn, 2),\n            document = _initializeDocumentAn2[0],\n            variableDefinitions = _initializeDocumentAn2[1];\n\n        document.addQuery(variableDefinitions, function (root) {\n          path.push('node');\n          root.add('node', { args: { id: nodeId } }, function (node) {\n            node.addInlineFragmentOn(nodeType.name, function (fragment) {\n              addNextFieldTo(fragment, contextChain.slice(1), path, cursor);\n            });\n          });\n        });\n\n        var fragments = collectFragments(document.operations[0].selectionSet.selections);\n\n        (_document$definitions = document.definitions).unshift.apply(_document$definitions, toConsumableArray(fragments));\n\n        return [document, path];\n      };\n    } else {\n      return function () {\n        var _document$definitions2;\n\n        var path = [];\n        var contextChain = contextsFromRoot(context);\n\n        var _initializeDocumentAn3 = initializeDocumentAndVars(context, contextChain),\n            _initializeDocumentAn4 = slicedToArray(_initializeDocumentAn3, 2),\n            document = _initializeDocumentAn4[0],\n            variableDefinitions = _initializeDocumentAn4[1];\n\n        document.addQuery(variableDefinitions, function (root) {\n          addNextFieldTo(root, contextChain.slice(1), path, cursor);\n        });\n\n        var fragments = collectFragments(document.operations[0].selectionSet.selections);\n\n        (_document$definitions2 = document.definitions).unshift.apply(_document$definitions2, toConsumableArray(fragments));\n\n        return [document, path];\n      };\n    }\n  }\n\n  function hasNextPage$1(connection, edge) {\n    if (edge !== connection.edges[connection.edges.length - 1]) {\n      return new Scalar(true);\n    }\n\n    return connection.pageInfo.hasNextPage;\n  }\n\n  function hasPreviousPage(connection, edge) {\n    if (edge !== connection.edges[0]) {\n      return new Scalar(true);\n    }\n\n    return connection.pageInfo.hasPreviousPage;\n  }\n\n  function transformConnections(variableValues) {\n    return function (context, value) {\n      if (isConnection(context)) {\n        if (!(value.pageInfo && value.pageInfo.hasOwnProperty('hasNextPage') && value.pageInfo.hasOwnProperty('hasPreviousPage'))) {\n          throw new Error('Connections must include the selections \"pageInfo { hasNextPage, hasPreviousPage }\".');\n        }\n\n        return value.edges.map(function (edge) {\n          return Object.assign(edge.node, {\n            nextPageQueryAndPath: nextPageQueryAndPath(context, edge.cursor),\n            hasNextPage: hasNextPage$1(value, edge),\n            hasPreviousPage: hasPreviousPage(value, edge),\n            variableValues: variableValues\n          });\n        });\n      } else {\n        return value;\n      }\n    };\n  }\n\n  /* eslint-disable no-warning-comments */\n  var DecodingContext = function () {\n    function DecodingContext(selection, responseData) {\n      var parent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      classCallCheck(this, DecodingContext);\n\n      this.selection = selection;\n      this.responseData = responseData;\n      this.parent = parent;\n      Object.freeze(this);\n    }\n\n    createClass(DecodingContext, [{\n      key: 'contextForObjectProperty',\n      value: function contextForObjectProperty(responseKey) {\n        var nestedSelections = this.selection.selectionSet.selectionsByResponseKey[responseKey];\n        var nextSelection = nestedSelections && nestedSelections[0];\n        var nextContext = void 0;\n\n        // fragment spreads operate inside the current context, so we recurse to get the proper\n        // selection set, but retain the current response context\n        if (Spread.prototype.isPrototypeOf(nextSelection)) {\n          nextContext = new DecodingContext(nextSelection, this.responseData, this.parent);\n        } else {\n          nextContext = new DecodingContext(nextSelection, this.responseData[responseKey], this);\n        }\n\n        if (!nextSelection) {\n          throw new Error('Unexpected response key \"' + responseKey + '\", not found in selection set: ' + this.selection.selectionSet);\n        }\n\n        if (Field.prototype.isPrototypeOf(nextSelection)) {\n          return nextContext;\n        } else {\n          return nextContext.contextForObjectProperty(responseKey);\n        }\n      }\n    }, {\n      key: 'contextForArrayItem',\n      value: function contextForArrayItem(item) {\n        return new DecodingContext(this.selection, item, this.parent);\n      }\n    }]);\n    return DecodingContext;\n  }();\n\n  function decodeArrayItems(context, transformers) {\n    return context.responseData.map(function (item) {\n      return decodeContext(context.contextForArrayItem(item), transformers);\n    });\n  }\n\n  function decodeObjectValues(context, transformers) {\n    return Object.keys(context.responseData).reduce(function (acc, responseKey) {\n      acc[responseKey] = decodeContext(context.contextForObjectProperty(responseKey), transformers);\n\n      return acc;\n    }, {});\n  }\n\n  function runTransformers(transformers, context, value) {\n    return transformers.reduce(function (acc, transformer) {\n      return transformer(context, acc);\n    }, value);\n  }\n\n  function decodeContext(context, transformers) {\n    var value = context.responseData;\n\n    if (Array.isArray(value)) {\n      value = decodeArrayItems(context, transformers);\n    } else if (isObject(value)) {\n      value = decodeObjectValues(context, transformers);\n    }\n\n    return runTransformers(transformers, context, value);\n  }\n\n  function generateRefetchQueries(context, value) {\n    if (isValue(value) && isNodeContext(context)) {\n      value.refetchQuery = function () {\n        return new Query(context.selection.selectionSet.typeBundle, function (root) {\n          root.add('node', { args: { id: context.responseData.id } }, function (node) {\n            node.addInlineFragmentOn(context.selection.selectionSet.typeSchema.name, context.selection.selectionSet);\n          });\n        });\n      };\n    }\n\n    return value;\n  }\n\n  function transformPojosToClassesWithRegistry(classRegistry) {\n    return function transformPojosToClasses(context, value) {\n      if (isObject(value)) {\n        var Klass = classRegistry.classForType(context.selection.selectionSet.typeSchema.name);\n\n        return new Klass(value);\n      } else {\n        return value;\n      }\n    };\n  }\n\n  function transformScalars(context, value) {\n    if (isValue(value)) {\n      if (context.selection.selectionSet.typeSchema.kind === 'SCALAR') {\n        return new Scalar(value);\n      } else if (context.selection.selectionSet.typeSchema.kind === 'ENUM') {\n        return new Enum(value);\n      }\n    }\n\n    return value;\n  }\n\n  function recordTypeInformation(context, value) {\n    var _context$selection$se = context.selection.selectionSet,\n        typeBundle = _context$selection$se.typeBundle,\n        typeSchema = _context$selection$se.typeSchema;\n\n    if (isValue(value)) {\n      if (value.__typename) {\n        value.type = schemaForType(typeBundle, value.__typename, typeSchema);\n      } else {\n        value.type = typeSchema;\n      }\n    }\n\n    return value;\n  }\n\n  function defaultTransformers(_ref) {\n    var _ref$classRegistry = _ref.classRegistry,\n        classRegistry = _ref$classRegistry === undefined ? new ClassRegistry() : _ref$classRegistry,\n        variableValues = _ref.variableValues;\n\n    return [transformScalars, generateRefetchQueries, transformConnections(variableValues), recordTypeInformation, transformPojosToClassesWithRegistry(classRegistry)];\n  }\n\n  /**\n   * A function used to decode the response data.\n   *\n   * @function decode\n   * @param {SelectionSet} selection The selection set used to query the response data.\n   * @param {Object} responseData The response data returned.\n   * @param {Object} [options] Options to use when decoding including:\n   *   @param {ClassRegistry} [options.classRegistry] A class registry to use when deserializing the data into classes.\n   * @return {GraphModel} The decoded response data.\n   */\n  function decode(selection, responseData) {\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n    var transformers = options.transformers || defaultTransformers(options);\n    var context = new DecodingContext(selection, responseData);\n\n    return decodeContext(context, transformers);\n  }\n\n  function httpFetcher(url) {\n    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n    return function fetcher(graphQLParams, headers) {\n      return fetch(url, _extends({\n        body: JSON.stringify(graphQLParams),\n        method: 'POST',\n        mode: 'cors'\n      }, options, {\n        headers: _extends({\n          'Content-Type': 'application/json',\n          Accept: 'application/json'\n        }, options.headers, headers)\n      })).then(function (response) {\n        var contentType = response.headers.get('content-type');\n\n        if (contentType.indexOf('application/json') > -1) {\n          return response.json();\n        }\n\n        return response.text().then(function (text) {\n          return { text: text };\n        });\n      });\n    };\n  }\n\n  function hasNextPage(paginatedModels) {\n    return paginatedModels && paginatedModels.length && paginatedModels[paginatedModels.length - 1].hasNextPage;\n  }\n\n  /**\n   * The Client class used to create and send GraphQL documents, fragments, queries and mutations.\n   */\n\n  var Client$2 = function () {\n\n    /**\n     * @param {Object} typeBundle A set of ES6 modules generated by {@link https://github.com/Shopify/graphql-js-schema|graphql-js-schema}.\n     * @param {Object} options An options object. Must include either `url` and optional `fetcherOptions` OR a `fetcher` function.\n     *   @param {(String|Function)} options.url|fetcher Either the URL of the GraphQL API endpoint, or a custom fetcher function for further customization.\n     *   @param {Object} [options.fetcherOptions] Additional options to use with `fetch`, like headers. Do not specify this argument if `fetcher` is specified.\n     *   @param {ClassRegistry} [options.registry=new ClassRegistry()] A {@link ClassRegistry} used to decode the response data.\n     */\n    function Client(typeBundle, _ref) {\n      var url = _ref.url,\n          fetcherOptions = _ref.fetcherOptions,\n          fetcher = _ref.fetcher,\n          _ref$registry = _ref.registry,\n          registry = _ref$registry === undefined ? new ClassRegistry() : _ref$registry;\n      classCallCheck(this, Client);\n\n      this.typeBundle = typeBundle;\n      this.classRegistry = registry;\n\n      if (url && fetcher) {\n        throw new Error('Arguments not supported: supply either `url` and optional `fetcherOptions` OR use a `fetcher` function for further customization.');\n      }\n\n      if (url) {\n        this.fetcher = httpFetcher(url, fetcherOptions);\n      } else if (fetcher) {\n        if (fetcherOptions) {\n          throw new Error('Arguments not supported: when specifying your own `fetcher`, set options through it and not with `fetcherOptions`');\n        }\n\n        this.fetcher = fetcher;\n      } else {\n        throw new Error('Invalid arguments: one of `url` or `fetcher` is needed.');\n      }\n    }\n\n    /**\n     * Creates a GraphQL document.\n     *\n     * @example\n     * const document = client.document();\n     *\n     * @return {Document} A GraphQL document.\n     */\n\n    createClass(Client, [{\n      key: 'document',\n      value: function document() {\n        return new Document(this.typeBundle);\n      }\n\n      /**\n       * Creates a GraphQL query.\n       *\n       * @example\n       * const query = client.query('myQuery', (root) => {\n       *   root.add('cat', (cat) => {\n       *    cat.add('name');\n       *   });\n       * });\n       *\n       * @param {String} [name] A name for the query.\n       * @param {VariableDefinition[]} [variables] A list of variables in the query. See {@link Client#variable}.\n       * @param {Function} selectionSetCallback The query builder callback.\n       *   A {@link SelectionSet} is created using this callback.\n       * @return {Query} A GraphQL query.\n       */\n\n    }, {\n      key: 'query',\n      value: function query() {\n        for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n          args[_key] = arguments[_key];\n        }\n\n        return new (Function.prototype.bind.apply(Query, [null].concat([this.typeBundle], args)))();\n      }\n\n      /**\n       * Creates a GraphQL mutation.\n       *\n       * @example\n       * const input = client.variable('input', 'CatCreateInput!');\n       *\n       * const mutation = client.mutation('myMutation', [input], (root) => {\n       *   root.add('catCreate', {args: {input}}, (catCreate) => {\n       *     catCreate.add('cat', (cat) => {\n       *       cat.add('name');\n       *     });\n       *   });\n       * });\n       *\n       * @param {String} [name] A name for the mutation.\n       * @param {VariableDefinition[]} [variables] A list of variables in the mutation. See {@link Client#variable}.\n       * @param {Function} selectionSetCallback The mutation builder callback.\n       *   A {@link SelectionSet} is created using this callback.\n       * @return {Mutation} A GraphQL mutation.\n       */\n\n    }, {\n      key: 'mutation',\n      value: function mutation() {\n        for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n          args[_key2] = arguments[_key2];\n        }\n\n        return new (Function.prototype.bind.apply(Mutation, [null].concat([this.typeBundle], args)))();\n      }\n\n      /**\n       * Sends a GraphQL operation (query or mutation) or a document.\n       *\n       * @example\n       * client.send(query, {id: '12345'}).then((result) => {\n       *   // Do something with the returned result\n       *   console.log(result);\n       * });\n       *\n       * @param {(Query|Mutation|Document|Function)} request The operation or document to send. If represented\n       * as a function, it must return `Query`, `Mutation`, or `Document` and recieve the client as the only param.\n       * @param {Object} [variableValues] The values for variables in the operation or document.\n       * @param {Object} [otherProperties] Other properties to send with the query. For example, a custom operation name.\n       * @param {Object} [headers] Additional headers to be applied on a request by request basis.\n       * @return {Promise.<Object>} A promise resolving to an object containing the response data.\n       */\n\n    }, {\n      key: 'send',\n      value: function send(request) {\n        var variableValues = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n        var _this = this;\n\n        var otherProperties = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n        var headers = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n        var operationOrDocument = void 0;\n\n        if (Function.prototype.isPrototypeOf(request)) {\n          operationOrDocument = request(this);\n        } else {\n          operationOrDocument = request;\n        }\n\n        var graphQLParams = { query: operationOrDocument.toString() };\n\n        if (variableValues) {\n          graphQLParams.variables = variableValues;\n        }\n\n        Object.assign(graphQLParams, otherProperties);\n\n        var operation = void 0;\n\n        if (Operation.prototype.isPrototypeOf(operationOrDocument)) {\n          operation = operationOrDocument;\n        } else {\n          var document = operationOrDocument;\n\n          if (document.operations.length === 1) {\n            operation = document.operations[0];\n          } else if (otherProperties.operationName) {\n            operation = document.operations.find(function (documentOperation) {\n              return documentOperation.name === otherProperties.operationName;\n            });\n          } else {\n            throw new Error('\\n          A document must contain exactly one operation, or an operationName\\n          must be specified. Example:\\n\\n            client.send(document, null, {operationName: \\'myFancyQuery\\'});\\n        ');\n          }\n        }\n\n        return this.fetcher(graphQLParams, headers).then(function (response) {\n          if (response.data) {\n            response.model = decode(operation, response.data, {\n              classRegistry: _this.classRegistry,\n              variableValues: variableValues\n            });\n          }\n\n          return response;\n        });\n      }\n\n      /**\n       * Fetches the next page of a paginated node or array of nodes.\n       *\n       * @example\n       * client.fetchNextPage(node, {first: 10}).then((result) => {\n       *   // Do something with the next page\n       *   console.log(result);\n       * });\n       *\n       * @param {(GraphModel|GraphModel[])} nodeOrNodes The node or list of nodes on which to fetch the next page.\n       * @param {Object} [options] Options object containing:\n       *   @param {Integer} [options.first] The number of nodes to query on the next page. Defaults to the page size of the previous query.\n       * @return {Promise.<GraphModel[]>} A promise resolving with the next page of {@link GraphModel}s.\n       */\n\n    }, {\n      key: 'fetchNextPage',\n      value: function fetchNextPage(nodeOrNodes, options) {\n        var node = void 0;\n\n        if (Array.isArray(nodeOrNodes)) {\n          node = nodeOrNodes[nodeOrNodes.length - 1];\n        } else {\n          node = nodeOrNodes;\n        }\n\n        var _node$nextPageQueryAn = node.nextPageQueryAndPath(),\n            _node$nextPageQueryAn2 = slicedToArray(_node$nextPageQueryAn, 2),\n            query = _node$nextPageQueryAn2[0],\n            path = _node$nextPageQueryAn2[1];\n\n        var variableValues = void 0;\n\n        if (node.variableValues || options) {\n          variableValues = Object.assign({}, node.variableValues, options);\n        }\n\n        return this.send(query, variableValues).then(function (response) {\n          response.model = path.reduce(function (object, key) {\n            return object[key];\n          }, response.model);\n\n          return response;\n        });\n      }\n\n      /**\n       * Fetches all subsequent pages of a paginated array of nodes.\n       *\n       * @example\n       * client.fetchAllPages(nodes, {pageSize: 20}).then((result) => {\n       *   // Do something with all the models\n       *   console.log(result);\n       * });\n       *\n       * @param {GraphModel[]} paginatedModels The list of nodes on which to fetch all pages.\n       * @param {Object} options Options object containing:\n       *   @param {Integer} options.pageSize The number of nodes to query on each page.\n       * @return {Promise.<GraphModel[]>} A promise resolving with all pages of {@link GraphModel}s, including the original list.\n       */\n\n    }, {\n      key: 'fetchAllPages',\n      value: function fetchAllPages(paginatedModels, _ref2) {\n        var _this2 = this;\n\n        var pageSize = _ref2.pageSize;\n\n        if (hasNextPage(paginatedModels)) {\n          return this.fetchNextPage(paginatedModels, { first: pageSize }).then(function (_ref3) {\n            var model = _ref3.model;\n\n            var pages = paginatedModels.concat(model);\n\n            return _this2.fetchAllPages(pages, { pageSize: pageSize });\n          });\n        }\n\n        return Promise.resolve(paginatedModels);\n      }\n\n      /**\n       * Refetches a {@link GraphModel} whose type implements `Node`.\n       *\n       * @example\n       * client.refetch(node).then((result) => {\n       *   // Do something with the refetched node\n       *   console.log(result);\n       * });\n       *\n       * @param {GraphModel} nodeType A {@link GraphModel} whose type implements `Node`.\n       * @return {Promise.<GraphModel>} The refetched {@link GraphModel}.\n       */\n\n    }, {\n      key: 'refetch',\n      value: function refetch(nodeType) {\n        if (!nodeType) {\n          throw new Error('\\'client#refetch\\' must be called with a non-null instance of a Node.');\n        } else if (!nodeType.type.implementsNode) {\n          throw new Error('\\'client#refetch\\' must be called with a type that implements Node. Received ' + nodeType.type.name + '.');\n        }\n\n        return this.send(nodeType.refetchQuery()).then(function (_ref4) {\n          var model = _ref4.model;\n          return model.node;\n        });\n      }\n\n      /**\n       * Creates a variable to be used in a {@link Query} or {@link Mutation}.\n       *\n       * @example\n       * const idVariable = client.variable('id', 'ID!', '12345');\n       *\n       * @param {String} name The name of the variable.\n       * @param {String} type The GraphQL type of the variable.\n       * @param {*} [defaultValue] The default value of the variable.\n       * @return {VariableDefinition} A variable object that can be used in a {@link Query} or {@link Mutation}.\n       */\n\n    }, {\n      key: 'variable',\n      value: function variable$$1(name, type, defaultValue) {\n        return variable(name, type, defaultValue);\n      }\n\n      /**\n       * Creates an enum to be used in a {@link Query} or {@link Mutation}.\n       *\n       * @example\n       * const titleEnum = client.enum('TITLE');\n       *\n       * @param {String} key The key of the enum.\n       * @return {Enum} An enum object that can be used in a {@link Query} or {@link Mutation}.\n       */\n\n    }, {\n      key: 'enum',\n      value: function _enum(key) {\n        return enumFunction(key);\n      }\n    }]);\n    return Client;\n  }();\n\n  /**\n   * The class used to configure the JS Buy SDK Client.\n   * @class\n   */\n  var Config = function () {\n    createClass$1(Config, [{\n      key: 'requiredProperties',\n\n\n      /**\n       * Properties that must be set on initializations\n       * @attribute requiredProperties\n       * @default ['storefrontAccessToken', 'domain']\n       * @type Array\n       * @private\n       */\n      get: function get$$1() {\n        return ['storefrontAccessToken', 'domain'];\n      }\n\n      /**\n       * Deprecated properties that map directly to required properties\n       * @attribute deprecatedProperties\n       * @default {'accessToken': 'storefrontAccessToken', 'apiKey': 'storefrontAccessToken'}\n       * @type Object\n       * @private\n       */\n\n    }, {\n      key: 'deprecatedProperties',\n      get: function get$$1() {\n        return {\n          accessToken: 'storefrontAccessToken',\n          apiKey: 'storefrontAccessToken'\n        };\n      }\n\n      /**\n       * @constructs Config\n       * @param {Object} attrs An object specifying the configuration. Requires the following properties:\n       *   @param {String} attrs.storefrontAccessToken The {@link https://help.shopify.com/api/reference/storefront_access_token|Storefront access token} for the shop.\n       *   @param {String} attrs.domain The `myshopify` domain for the shop (e.g. `graphql.myshopify.com`).\n       */\n\n    }]);\n\n    function Config(attrs) {\n      var _this = this;\n\n      classCallCheck$1(this, Config);\n\n      Object.keys(this.deprecatedProperties).forEach(function (key) {\n        if (!attrs.hasOwnProperty(key)) {\n          return;\n        }\n        // eslint-disable-next-line no-console\n        console.warn('[ShopifyBuy] Config property ' + key + ' is deprecated as of v1.0, please use ' + _this.deprecatedProperties[key] + ' instead.');\n        attrs[_this.deprecatedProperties[key]] = attrs[key];\n      });\n\n      this.requiredProperties.forEach(function (key) {\n        if (attrs.hasOwnProperty(key)) {\n          _this[key] = attrs[key];\n        } else {\n          throw new Error('new Config() requires the option \\'' + key + '\\'');\n        }\n      });\n\n      if (attrs.hasOwnProperty('apiVersion')) {\n        this.apiVersion = attrs.apiVersion;\n      } else {\n        this.apiVersion = '2023-07';\n      }\n\n      if (attrs.hasOwnProperty('source')) {\n        this.source = attrs.source;\n      }\n\n      if (attrs.hasOwnProperty('language')) {\n        this.language = attrs.language;\n      }\n    }\n\n    return Config;\n  }();\n\n  var Resource = function Resource(client) {\n    classCallCheck$1(this, Resource);\n\n    this.graphQLClient = client;\n  };\n\n  var defaultErrors = [{ message: 'an unknown error has occurred.' }];\n\n  function defaultResolver(path) {\n    var keys = path.split('.');\n\n    return function (_ref) {\n      var model = _ref.model,\n          errors = _ref.errors;\n\n      return new Promise(function (resolve, reject) {\n        try {\n          var result = keys.reduce(function (ref, key) {\n            return ref[key];\n          }, model);\n\n          resolve(result);\n        } catch (_) {\n          if (errors) {\n            reject(errors);\n          } else {\n            reject(defaultErrors);\n          }\n        }\n      });\n    };\n  }\n\n  function fetchResourcesForProducts(productOrProduct, client) {\n    var products = [].concat(productOrProduct);\n\n    return Promise.all(products.reduce(function (promiseAcc, product) {\n\n      // If the graphql query doesn't find a match, skip fetching variants and images.\n      if (product === null) {\n        return promiseAcc;\n      }\n\n      // Fetch the rest of the images and variants for this product\n      promiseAcc.push(client.fetchAllPages(product.images, { pageSize: 250 }).then(function (images) {\n        product.attrs.images = images;\n      }));\n\n      promiseAcc.push(client.fetchAllPages(product.variants, { pageSize: 250 }).then(function (variants) {\n        product.attrs.variants = variants;\n      }));\n\n      return promiseAcc;\n    }, []));\n  }\n\n  function paginateProductConnectionsAndResolve(client) {\n    return function (products) {\n      return fetchResourcesForProducts(products, client).then(function () {\n        return products;\n      });\n    };\n  }\n\n  function paginateCollectionsProductConnectionsAndResolve(client) {\n    return function (collectionOrCollections) {\n      var collections = [].concat(collectionOrCollections);\n\n      return Promise.all(collections.reduce(function (promiseAcc, collection) {\n        return promiseAcc.concat(fetchResourcesForProducts(collection.products, client));\n      }, [])).then(function () {\n        return collectionOrCollections;\n      });\n    };\n  }\n\n  /**\n   * @namespace ProductHelpers\n   */\n  var productHelpers = {\n\n    /**\n     * Returns the variant of a product corresponding to the options given.\n     *\n     * @example\n     * const selectedVariant = client.product.helpers.variantForOptions(product, {\n     *   size: \"Small\",\n     *   color: \"Red\"\n     * });\n     *\n     * @memberof ProductHelpers\n     * @method variantForOptions\n     * @param {GraphModel} product The product to find the variant on. Must include `variants`.\n     * @param {Object} options An object containing the options for the variant.\n     * @return {GraphModel} The variant corresponding to the options given.\n     */\n    variantForOptions: function variantForOptions(product, options) {\n      return product.variants.find(function (variant) {\n        return variant.selectedOptions.every(function (selectedOption) {\n          return options[selectedOption.name] === selectedOption.value.valueOf();\n        });\n      });\n    }\n  };\n\n  function query(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.id = client.variable(\"id\", \"ID!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.ProductFragment = document.defineFragment(\"ProductFragment\", \"Product\", function (root) {\n      root.add(\"id\");\n      root.add(\"availableForSale\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"descriptionHtml\");\n      root.add(\"description\");\n      root.add(\"handle\");\n      root.add(\"productType\");\n      root.add(\"title\");\n      root.add(\"vendor\");\n      root.add(\"publishedAt\");\n      root.add(\"onlineStoreUrl\");\n      root.add(\"options\", function (options) {\n        options.add(\"name\");\n        options.add(\"values\");\n      });\n      root.add(\"images\", {\n        args: {\n          first: 250\n        }\n      }, function (images) {\n        images.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        images.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"url\", {\n              alias: \"src\"\n            });\n            node.add(\"altText\");\n            node.add(\"width\");\n            node.add(\"height\");\n          });\n        });\n      });\n      root.add(\"variants\", {\n        args: {\n          first: 250\n        }\n      }, function (variants) {\n        variants.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        variants.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.VariantFragment);\n          });\n        });\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.id], function (root) {\n      root.add(\"node\", {\n        args: {\n          id: variables.__defaultOperation__.id\n        }\n      }, function (node) {\n        node.addFragment(spreads.ProductFragment);\n      });\n    });\n    return document;\n  }\n\n  function query$1(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.ids = client.variable(\"ids\", \"[ID!]!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.ProductFragment = document.defineFragment(\"ProductFragment\", \"Product\", function (root) {\n      root.add(\"id\");\n      root.add(\"availableForSale\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"descriptionHtml\");\n      root.add(\"description\");\n      root.add(\"handle\");\n      root.add(\"productType\");\n      root.add(\"title\");\n      root.add(\"vendor\");\n      root.add(\"publishedAt\");\n      root.add(\"onlineStoreUrl\");\n      root.add(\"options\", function (options) {\n        options.add(\"name\");\n        options.add(\"values\");\n      });\n      root.add(\"images\", {\n        args: {\n          first: 250\n        }\n      }, function (images) {\n        images.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        images.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"url\", {\n              alias: \"src\"\n            });\n            node.add(\"altText\");\n            node.add(\"width\");\n            node.add(\"height\");\n          });\n        });\n      });\n      root.add(\"variants\", {\n        args: {\n          first: 250\n        }\n      }, function (variants) {\n        variants.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        variants.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.VariantFragment);\n          });\n        });\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.ids], function (root) {\n      root.add(\"nodes\", {\n        args: {\n          ids: variables.__defaultOperation__.ids\n        }\n      }, function (nodes) {\n        nodes.addFragment(spreads.ProductFragment);\n      });\n    });\n    return document;\n  }\n\n  function query$2(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.first = client.variable(\"first\", \"Int!\");\n    variables.__defaultOperation__.query = client.variable(\"query\", \"String\");\n    variables.__defaultOperation__.sortKey = client.variable(\"sortKey\", \"ProductSortKeys\");\n    variables.__defaultOperation__.reverse = client.variable(\"reverse\", \"Boolean\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.ProductFragment = document.defineFragment(\"ProductFragment\", \"Product\", function (root) {\n      root.add(\"id\");\n      root.add(\"availableForSale\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"descriptionHtml\");\n      root.add(\"description\");\n      root.add(\"handle\");\n      root.add(\"productType\");\n      root.add(\"title\");\n      root.add(\"vendor\");\n      root.add(\"publishedAt\");\n      root.add(\"onlineStoreUrl\");\n      root.add(\"options\", function (options) {\n        options.add(\"name\");\n        options.add(\"values\");\n      });\n      root.add(\"images\", {\n        args: {\n          first: 250\n        }\n      }, function (images) {\n        images.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        images.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"url\", {\n              alias: \"src\"\n            });\n            node.add(\"altText\");\n            node.add(\"width\");\n            node.add(\"height\");\n          });\n        });\n      });\n      root.add(\"variants\", {\n        args: {\n          first: 250\n        }\n      }, function (variants) {\n        variants.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        variants.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.VariantFragment);\n          });\n        });\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.first, variables.__defaultOperation__.query, variables.__defaultOperation__.sortKey, variables.__defaultOperation__.reverse], function (root) {\n      root.add(\"products\", {\n        args: {\n          first: variables.__defaultOperation__.first,\n          query: variables.__defaultOperation__.query,\n          sortKey: variables.__defaultOperation__.sortKey,\n          reverse: variables.__defaultOperation__.reverse\n        }\n      }, function (products) {\n        products.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        products.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.ProductFragment);\n          });\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$3(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.handle = client.variable(\"handle\", \"String!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.ProductFragment = document.defineFragment(\"ProductFragment\", \"Product\", function (root) {\n      root.add(\"id\");\n      root.add(\"availableForSale\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"descriptionHtml\");\n      root.add(\"description\");\n      root.add(\"handle\");\n      root.add(\"productType\");\n      root.add(\"title\");\n      root.add(\"vendor\");\n      root.add(\"publishedAt\");\n      root.add(\"onlineStoreUrl\");\n      root.add(\"options\", function (options) {\n        options.add(\"name\");\n        options.add(\"values\");\n      });\n      root.add(\"images\", {\n        args: {\n          first: 250\n        }\n      }, function (images) {\n        images.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        images.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"url\", {\n              alias: \"src\"\n            });\n            node.add(\"altText\");\n            node.add(\"width\");\n            node.add(\"height\");\n          });\n        });\n      });\n      root.add(\"variants\", {\n        args: {\n          first: 250\n        }\n      }, function (variants) {\n        variants.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        variants.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.VariantFragment);\n          });\n        });\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.handle], function (root) {\n      root.add(\"productByHandle\", {\n        args: {\n          handle: variables.__defaultOperation__.handle\n        }\n      }, function (productByHandle) {\n        productByHandle.addFragment(spreads.ProductFragment);\n      });\n    });\n    return document;\n  }\n\n  function query$4(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.productId = client.variable(\"productId\", \"ID!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.ProductFragment = document.defineFragment(\"ProductFragment\", \"Product\", function (root) {\n      root.add(\"id\");\n      root.add(\"availableForSale\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"descriptionHtml\");\n      root.add(\"description\");\n      root.add(\"handle\");\n      root.add(\"productType\");\n      root.add(\"title\");\n      root.add(\"vendor\");\n      root.add(\"publishedAt\");\n      root.add(\"onlineStoreUrl\");\n      root.add(\"options\", function (options) {\n        options.add(\"name\");\n        options.add(\"values\");\n      });\n      root.add(\"images\", {\n        args: {\n          first: 250\n        }\n      }, function (images) {\n        images.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        images.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"url\", {\n              alias: \"src\"\n            });\n            node.add(\"altText\");\n            node.add(\"width\");\n            node.add(\"height\");\n          });\n        });\n      });\n      root.add(\"variants\", {\n        args: {\n          first: 250\n        }\n      }, function (variants) {\n        variants.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        variants.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.VariantFragment);\n          });\n        });\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.productId], function (root) {\n      root.add(\"productRecommendations\", {\n        args: {\n          productId: variables.__defaultOperation__.productId\n        }\n      }, function (productRecommendations) {\n        productRecommendations.addFragment(spreads.ProductFragment);\n      });\n    });\n    return document;\n  }\n\n  // GraphQL\n  /**\n   * The JS Buy SDK product resource\n   * @class\n   */\n\n  var ProductResource = function (_Resource) {\n    inherits$1(ProductResource, _Resource);\n\n    function ProductResource() {\n      classCallCheck$1(this, ProductResource);\n      return possibleConstructorReturn$1(this, (ProductResource.__proto__ || Object.getPrototypeOf(ProductResource)).apply(this, arguments));\n    }\n\n    createClass$1(ProductResource, [{\n      key: 'fetchAll',\n\n\n      /**\n       * Fetches all products on the shop.\n       *\n       * @example\n       * client.product.fetchAll().then((products) => {\n       *   // Do something with the products\n       * });\n       *\n       * @param {Int} [pageSize] The number of products to fetch per page\n       * @return {Promise|GraphModel[]} A promise resolving with an array of `GraphModel`s of the products.\n       */\n      value: function fetchAll() {\n        var first = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 20;\n\n        return this.graphQLClient.send(query$2, { first: first }).then(defaultResolver('products')).then(paginateProductConnectionsAndResolve(this.graphQLClient));\n      }\n\n      /**\n       * Fetches a single product by ID on the shop.\n       *\n       * @example\n       * client.product.fetch('Xk9lM2JkNzFmNzIQ4NTIY4ZDFi9DaGVja291dC9lM2JkN==').then((product) => {\n       *   // Do something with the product\n       * });\n       *\n       * @param {String} id The id of the product to fetch.\n       * @return {Promise|GraphModel} A promise resolving with a `GraphModel` of the product.\n       */\n\n    }, {\n      key: 'fetch',\n      value: function fetch(id) {\n        return this.graphQLClient.send(query, { id: id }).then(defaultResolver('node')).then(paginateProductConnectionsAndResolve(this.graphQLClient));\n      }\n\n      /**\n       * Fetches multiple products by ID on the shop.\n       *\n       * @example\n       * const ids = ['Xk9lM2JkNzFmNzIQ4NTIY4ZDFi9DaGVja291dC9lM2JkN==', 'Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0Lzc4NTc5ODkzODQ='];\n       * client.product.fetchMultiple(ids).then((products) => {\n       *   // Do something with the products\n       * });\n       *\n       * @param {String[]} ids The ids of the products to fetch\n       * @return {Promise|GraphModel[]} A promise resolving with a `GraphModel` of the product.\n       */\n\n    }, {\n      key: 'fetchMultiple',\n      value: function fetchMultiple(ids) {\n        return this.graphQLClient.send(query$1, { ids: ids }).then(defaultResolver('nodes')).then(paginateProductConnectionsAndResolve(this.graphQLClient));\n      }\n\n      /**\n       * Fetches a single product by handle on the shop.\n       *\n       * @example\n       * client.product.fetchByHandle('my-product').then((product) => {\n       *   // Do something with the product\n       * });\n       *\n       * @param {String} handle The handle of the product to fetch.\n       * @return {Promise|GraphModel} A promise resolving with a `GraphModel` of the product.\n       */\n\n    }, {\n      key: 'fetchByHandle',\n      value: function fetchByHandle(handle) {\n        return this.graphQLClient.send(query$3, { handle: handle }).then(defaultResolver('productByHandle')).then(paginateProductConnectionsAndResolve(this.graphQLClient));\n      }\n\n      /**\n       * Fetches all products on the shop that match the query.\n       *\n       * @example\n       * client.product.fetchQuery({first: 20, sortKey: 'CREATED_AT', reverse: true}).then((products) => {\n       *   // Do something with the first 10 products sorted by title in ascending order\n       * });\n       *\n       * @param {Object} [args] An object specifying the query data containing zero or more of:\n       *   @param {Int} [args.first=20] The relay `first` param. This specifies page size.\n       *   @param {String} [args.sortKey=ID] The key to sort results by. Available values are\n       *   documented as {@link https://help.shopify.com/api/storefront-api/reference/enum/productsortkeys|Product Sort Keys}.\n       *   @param {String} [args.query] A query string. See full documentation {@link https://help.shopify.com/api/storefront-api/reference/object/shop#products|here}\n       *   @param {Boolean} [args.reverse] Whether or not to reverse the sort order of the results\n       * @return {Promise|GraphModel[]} A promise resolving with an array of `GraphModel`s of the products.\n       */\n\n    }, {\n      key: 'fetchQuery',\n      value: function fetchQuery() {\n        var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n            _ref$first = _ref.first,\n            first = _ref$first === undefined ? 20 : _ref$first,\n            _ref$sortKey = _ref.sortKey,\n            sortKey = _ref$sortKey === undefined ? 'ID' : _ref$sortKey,\n            query$$1 = _ref.query,\n            reverse = _ref.reverse;\n\n        return this.graphQLClient.send(query$2, {\n          first: first,\n          sortKey: sortKey,\n          query: query$$1,\n          reverse: reverse\n        }).then(defaultResolver('products')).then(paginateProductConnectionsAndResolve(this.graphQLClient));\n      }\n\n      /**\n       * Find recommended products related to a given productId.\n       * To learn more about how recommendations are generated, see https://shopify.dev/themes/product-merchandising/recommendations.\n       *\n       * @example\n       * const productId 'Xk9lM2JkNzFmNzIQ4NTIY4ZDFi9DaGVja291dC9lM2JkN==';\n       * client.product.fetchProductRecommendations(productId).then((products) => {\n       *   // Do something with the products\n       * });\n       *\n       * @param {String} productId The id of the product to fetch.\n       * @return {Promise|GraphModel[]} A promise resolving with an array of `GraphModel`s of the products.\n       */\n\n    }, {\n      key: 'fetchRecommendations',\n      value: function fetchRecommendations(productId) {\n        return this.graphQLClient.send(query$4, { productId: productId }).then(defaultResolver('productRecommendations')).then(paginateProductConnectionsAndResolve(this.graphQLClient));\n      }\n    }, {\n      key: 'helpers',\n      get: function get$$1() {\n        return productHelpers;\n      }\n    }]);\n    return ProductResource;\n  }(Resource);\n\n  function query$5(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.id = client.variable(\"id\", \"ID!\");\n    spreads.CollectionFragment = document.defineFragment(\"CollectionFragment\", \"Collection\", function (root) {\n      root.add(\"id\");\n      root.add(\"handle\");\n      root.add(\"description\");\n      root.add(\"descriptionHtml\");\n      root.add(\"updatedAt\");\n      root.add(\"title\");\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.id], function (root) {\n      root.add(\"node\", {\n        args: {\n          id: variables.__defaultOperation__.id\n        }\n      }, function (node) {\n        node.addFragment(spreads.CollectionFragment);\n      });\n    });\n    return document;\n  }\n\n  function query$6(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.id = client.variable(\"id\", \"ID!\");\n    variables.__defaultOperation__.productsFirst = client.variable(\"productsFirst\", \"Int!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.CollectionFragment = document.defineFragment(\"CollectionFragment\", \"Collection\", function (root) {\n      root.add(\"id\");\n      root.add(\"handle\");\n      root.add(\"description\");\n      root.add(\"descriptionHtml\");\n      root.add(\"updatedAt\");\n      root.add(\"title\");\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n      });\n    });\n    spreads.ProductFragment = document.defineFragment(\"ProductFragment\", \"Product\", function (root) {\n      root.add(\"id\");\n      root.add(\"availableForSale\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"descriptionHtml\");\n      root.add(\"description\");\n      root.add(\"handle\");\n      root.add(\"productType\");\n      root.add(\"title\");\n      root.add(\"vendor\");\n      root.add(\"publishedAt\");\n      root.add(\"onlineStoreUrl\");\n      root.add(\"options\", function (options) {\n        options.add(\"name\");\n        options.add(\"values\");\n      });\n      root.add(\"images\", {\n        args: {\n          first: 250\n        }\n      }, function (images) {\n        images.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        images.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"url\", {\n              alias: \"src\"\n            });\n            node.add(\"altText\");\n            node.add(\"width\");\n            node.add(\"height\");\n          });\n        });\n      });\n      root.add(\"variants\", {\n        args: {\n          first: 250\n        }\n      }, function (variants) {\n        variants.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        variants.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.VariantFragment);\n          });\n        });\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.id, variables.__defaultOperation__.productsFirst], function (root) {\n      root.add(\"node\", {\n        args: {\n          id: variables.__defaultOperation__.id\n        }\n      }, function (node) {\n        node.addFragment(spreads.CollectionFragment);\n        node.addInlineFragmentOn(\"Collection\", function (Collection) {\n          Collection.add(\"products\", {\n            args: {\n              first: variables.__defaultOperation__.productsFirst\n            }\n          }, function (products) {\n            products.add(\"pageInfo\", function (pageInfo) {\n              pageInfo.add(\"hasNextPage\");\n              pageInfo.add(\"hasPreviousPage\");\n            });\n            products.add(\"edges\", function (edges) {\n              edges.add(\"cursor\");\n              edges.add(\"node\", function (node) {\n                node.addFragment(spreads.ProductFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$7(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.first = client.variable(\"first\", \"Int!\");\n    variables.__defaultOperation__.query = client.variable(\"query\", \"String\");\n    variables.__defaultOperation__.sortKey = client.variable(\"sortKey\", \"CollectionSortKeys\");\n    variables.__defaultOperation__.reverse = client.variable(\"reverse\", \"Boolean\");\n    spreads.CollectionFragment = document.defineFragment(\"CollectionFragment\", \"Collection\", function (root) {\n      root.add(\"id\");\n      root.add(\"handle\");\n      root.add(\"description\");\n      root.add(\"descriptionHtml\");\n      root.add(\"updatedAt\");\n      root.add(\"title\");\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.first, variables.__defaultOperation__.query, variables.__defaultOperation__.sortKey, variables.__defaultOperation__.reverse], function (root) {\n      root.add(\"collections\", {\n        args: {\n          first: variables.__defaultOperation__.first,\n          query: variables.__defaultOperation__.query,\n          sortKey: variables.__defaultOperation__.sortKey,\n          reverse: variables.__defaultOperation__.reverse\n        }\n      }, function (collections) {\n        collections.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        collections.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.CollectionFragment);\n          });\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$8(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.first = client.variable(\"first\", \"Int!\");\n    variables.__defaultOperation__.query = client.variable(\"query\", \"String\");\n    variables.__defaultOperation__.sortKey = client.variable(\"sortKey\", \"CollectionSortKeys\");\n    variables.__defaultOperation__.reverse = client.variable(\"reverse\", \"Boolean\");\n    variables.__defaultOperation__.productsFirst = client.variable(\"productsFirst\", \"Int!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.CollectionFragment = document.defineFragment(\"CollectionFragment\", \"Collection\", function (root) {\n      root.add(\"id\");\n      root.add(\"handle\");\n      root.add(\"description\");\n      root.add(\"descriptionHtml\");\n      root.add(\"updatedAt\");\n      root.add(\"title\");\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n      });\n    });\n    spreads.ProductFragment = document.defineFragment(\"ProductFragment\", \"Product\", function (root) {\n      root.add(\"id\");\n      root.add(\"availableForSale\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"descriptionHtml\");\n      root.add(\"description\");\n      root.add(\"handle\");\n      root.add(\"productType\");\n      root.add(\"title\");\n      root.add(\"vendor\");\n      root.add(\"publishedAt\");\n      root.add(\"onlineStoreUrl\");\n      root.add(\"options\", function (options) {\n        options.add(\"name\");\n        options.add(\"values\");\n      });\n      root.add(\"images\", {\n        args: {\n          first: 250\n        }\n      }, function (images) {\n        images.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        images.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"url\", {\n              alias: \"src\"\n            });\n            node.add(\"altText\");\n            node.add(\"width\");\n            node.add(\"height\");\n          });\n        });\n      });\n      root.add(\"variants\", {\n        args: {\n          first: 250\n        }\n      }, function (variants) {\n        variants.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        variants.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.VariantFragment);\n          });\n        });\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.first, variables.__defaultOperation__.query, variables.__defaultOperation__.sortKey, variables.__defaultOperation__.reverse, variables.__defaultOperation__.productsFirst], function (root) {\n      root.add(\"collections\", {\n        args: {\n          first: variables.__defaultOperation__.first,\n          query: variables.__defaultOperation__.query,\n          sortKey: variables.__defaultOperation__.sortKey,\n          reverse: variables.__defaultOperation__.reverse\n        }\n      }, function (collections) {\n        collections.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        collections.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.CollectionFragment);\n            node.add(\"products\", {\n              args: {\n                first: variables.__defaultOperation__.productsFirst\n              }\n            }, function (products) {\n              products.add(\"pageInfo\", function (pageInfo) {\n                pageInfo.add(\"hasNextPage\");\n                pageInfo.add(\"hasPreviousPage\");\n              });\n              products.add(\"edges\", function (edges) {\n                edges.add(\"cursor\");\n                edges.add(\"node\", function (node) {\n                  node.addFragment(spreads.ProductFragment);\n                });\n              });\n            });\n          });\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$9(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.handle = client.variable(\"handle\", \"String!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.ProductFragment = document.defineFragment(\"ProductFragment\", \"Product\", function (root) {\n      root.add(\"id\");\n      root.add(\"availableForSale\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"descriptionHtml\");\n      root.add(\"description\");\n      root.add(\"handle\");\n      root.add(\"productType\");\n      root.add(\"title\");\n      root.add(\"vendor\");\n      root.add(\"publishedAt\");\n      root.add(\"onlineStoreUrl\");\n      root.add(\"options\", function (options) {\n        options.add(\"name\");\n        options.add(\"values\");\n      });\n      root.add(\"images\", {\n        args: {\n          first: 250\n        }\n      }, function (images) {\n        images.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        images.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"url\", {\n              alias: \"src\"\n            });\n            node.add(\"altText\");\n            node.add(\"width\");\n            node.add(\"height\");\n          });\n        });\n      });\n      root.add(\"variants\", {\n        args: {\n          first: 250\n        }\n      }, function (variants) {\n        variants.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        variants.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.VariantFragment);\n          });\n        });\n      });\n    });\n    spreads.CollectionFragment = document.defineFragment(\"CollectionFragment\", \"Collection\", function (root) {\n      root.add(\"id\");\n      root.add(\"handle\");\n      root.add(\"description\");\n      root.add(\"descriptionHtml\");\n      root.add(\"updatedAt\");\n      root.add(\"title\");\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n      });\n    });\n    spreads.CollectionsProductsFragment = document.defineFragment(\"CollectionsProductsFragment\", \"Collection\", function (root) {\n      root.add(\"products\", {\n        args: {\n          first: 20\n        }\n      }, function (products) {\n        products.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        products.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.ProductFragment);\n          });\n        });\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.handle], function (root) {\n      root.add(\"collectionByHandle\", {\n        args: {\n          handle: variables.__defaultOperation__.handle\n        }\n      }, function (collectionByHandle) {\n        collectionByHandle.addFragment(spreads.CollectionFragment);\n        collectionByHandle.addFragment(spreads.CollectionsProductsFragment);\n      });\n    });\n    return document;\n  }\n\n  // GraphQL\n  /**\n   * The JS Buy SDK collection resource\n   * @class\n   */\n\n  var CollectionResource = function (_Resource) {\n    inherits$1(CollectionResource, _Resource);\n\n    function CollectionResource() {\n      classCallCheck$1(this, CollectionResource);\n      return possibleConstructorReturn$1(this, (CollectionResource.__proto__ || Object.getPrototypeOf(CollectionResource)).apply(this, arguments));\n    }\n\n    createClass$1(CollectionResource, [{\n      key: 'fetchAll',\n\n\n      /**\n       * Fetches all collections on the shop, not including products.\n       * To fetch collections with products use [fetchAllsWithProducts]{@link Client#fetchAllsWithProducts}.\n       *\n       * @example\n       * client.collection.fetchAll().then((collections) => {\n       *   // Do something with the collections\n       * });\n       *\n       * @return {Promise|GraphModel[]} A promise resolving with an array of `GraphModel`s of the collections.\n       */\n      value: function fetchAll() {\n        var first = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 20;\n\n        return this.graphQLClient.send(query$7, { first: first }).then(defaultResolver('collections'));\n      }\n\n      /**\n       * Fetches all collections on the shop, including products.\n       *\n       * @example\n       * client.collection.fetchAllWithProducts().then((collections) => {\n       *   // Do something with the collections\n       * });\n       *\n       * @return {Promise|GraphModel[]} A promise resolving with an array of `GraphModel`s of the collections.\n       */\n\n    }, {\n      key: 'fetchAllWithProducts',\n      value: function fetchAllWithProducts() {\n        var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n            _ref$first = _ref.first,\n            first = _ref$first === undefined ? 20 : _ref$first,\n            _ref$productsFirst = _ref.productsFirst,\n            productsFirst = _ref$productsFirst === undefined ? 20 : _ref$productsFirst;\n\n        return this.graphQLClient.send(query$8, { first: first, productsFirst: productsFirst }).then(defaultResolver('collections')).then(paginateCollectionsProductConnectionsAndResolve(this.graphQLClient));\n      }\n\n      /**\n       * Fetches a single collection by ID on the shop, not including products.\n       * To fetch the collection with products use [fetchWithProducts]{@link Client#fetchWithProducts}.\n       *\n       * @example\n       * client.collection.fetch('Xk9lM2JkNzFmNzIQ4NTIY4ZDFiZTUyZTUwNTE2MDNhZjg==').then((collection) => {\n       *   // Do something with the collection\n       * });\n       *\n       * @param {String} id The id of the collection to fetch.\n       * @return {Promise|GraphModel} A promise resolving with a `GraphModel` of the collection.\n       */\n\n    }, {\n      key: 'fetch',\n      value: function fetch(id) {\n        return this.graphQLClient.send(query$5, { id: id }).then(defaultResolver('node'));\n      }\n\n      /**\n       * Fetches a single collection by ID on the shop, including products.\n       *\n       * @example\n       * client.collection.fetchWithProducts('Xk9lM2JkNzFmNzIQ4NTIY4ZDFiZTUyZTUwNTE2MDNhZjg==').then((collection) => {\n       *   // Do something with the collection\n       * });\n       *\n       * @param {String} id The id of the collection to fetch.\n       * @return {Promise|GraphModel} A promise resolving with a `GraphModel` of the collection.\n       */\n\n    }, {\n      key: 'fetchWithProducts',\n      value: function fetchWithProducts(id) {\n        var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n            _ref2$productsFirst = _ref2.productsFirst,\n            productsFirst = _ref2$productsFirst === undefined ? 20 : _ref2$productsFirst;\n\n        return this.graphQLClient.send(query$6, { id: id, productsFirst: productsFirst }).then(defaultResolver('node')).then(paginateCollectionsProductConnectionsAndResolve(this.graphQLClient));\n      }\n\n      /**\n       * Fetches a collection by handle on the shop.\n       *\n       * @example\n       * client.collection.fetchByHandle('my-collection').then((collection) => {\n       *   // Do something with the collection\n       * });\n       *\n       * @param {String} handle The handle of the collection to fetch.\n       * @return {Promise|GraphModel} A promise resolving with a `GraphModel` of the collection.\n       */\n\n    }, {\n      key: 'fetchByHandle',\n      value: function fetchByHandle(handle) {\n        return this.graphQLClient.send(query$9, { handle: handle }).then(defaultResolver('collectionByHandle'));\n      }\n\n      /**\n       * Fetches all collections on the shop that match the query.\n       *\n       * @example\n       * client.collection.fetchQuery({first: 20, sortKey: 'CREATED_AT', reverse: true}).then((collections) => {\n       *   // Do something with the first 10 collections sorted by title in ascending order\n       * });\n       *\n       * @param {Object} [args] An object specifying the query data containing zero or more of:\n       *   @param {Int} [args.first=20] The relay `first` param. This specifies page size.\n       *   @param {String} [args.sortKey=ID] The key to sort results by. Available values are\n       *   documented as {@link https://help.shopify.com/api/storefront-api/reference/enum/collectionsortkeys|Collection Sort Keys}.\n       *   @param {String} [args.query] A query string. See full documentation {@link https://help.shopify.com/api/storefront-api/reference/object/shop#collections|here}\n       *   @param {Boolean} [args.reverse] Whether or not to reverse the sort order of the results\n       * @return {Promise|GraphModel[]} A promise resolving with an array of `GraphModel`s of the collections.\n       */\n\n    }, {\n      key: 'fetchQuery',\n      value: function fetchQuery() {\n        var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n            _ref3$first = _ref3.first,\n            first = _ref3$first === undefined ? 20 : _ref3$first,\n            _ref3$sortKey = _ref3.sortKey,\n            sortKey = _ref3$sortKey === undefined ? 'ID' : _ref3$sortKey,\n            query = _ref3.query,\n            reverse = _ref3.reverse;\n\n        return this.graphQLClient.send(query$7, {\n          first: first,\n          sortKey: sortKey,\n          query: query,\n          reverse: reverse\n        }).then(defaultResolver('collections'));\n      }\n    }]);\n    return CollectionResource;\n  }(Resource);\n\n  function query$10(client) {\n    var document = client.document();\n    document.addQuery(function (root) {\n      root.add(\"shop\", function (shop) {\n        shop.add(\"paymentSettings\", function (paymentSettings) {\n          paymentSettings.add(\"enabledPresentmentCurrencies\");\n        });\n        shop.add(\"description\");\n        shop.add(\"moneyFormat\");\n        shop.add(\"name\");\n        shop.add(\"primaryDomain\", function (primaryDomain) {\n          primaryDomain.add(\"host\");\n          primaryDomain.add(\"sslEnabled\");\n          primaryDomain.add(\"url\");\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$11(client) {\n    var document = client.document();\n    var spreads = {};\n    spreads.PolicyFragment = document.defineFragment(\"PolicyFragment\", \"ShopPolicy\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"url\");\n      root.add(\"body\");\n    });\n    document.addQuery(function (root) {\n      root.add(\"shop\", function (shop) {\n        shop.add(\"privacyPolicy\", function (privacyPolicy) {\n          privacyPolicy.addFragment(spreads.PolicyFragment);\n        });\n        shop.add(\"termsOfService\", function (termsOfService) {\n          termsOfService.addFragment(spreads.PolicyFragment);\n        });\n        shop.add(\"refundPolicy\", function (refundPolicy) {\n          refundPolicy.addFragment(spreads.PolicyFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  // GraphQL\n  /**\n   * The JS Buy SDK shop resource\n   * @class\n   */\n\n  var ShopResource = function (_Resource) {\n    inherits$1(ShopResource, _Resource);\n\n    function ShopResource() {\n      classCallCheck$1(this, ShopResource);\n      return possibleConstructorReturn$1(this, (ShopResource.__proto__ || Object.getPrototypeOf(ShopResource)).apply(this, arguments));\n    }\n\n    createClass$1(ShopResource, [{\n      key: 'fetchInfo',\n\n\n      /**\n       * Fetches shop information (`currencyCode`, `description`, `moneyFormat`, `name`, and `primaryDomain`).\n       * See the {@link https://help.shopify.com/api/storefront-api/reference/object/shop|Storefront API reference} for more information.\n       *\n       * @example\n       * client.shop.fetchInfo().then((shop) => {\n       *   // Do something with the shop\n       * });\n       *\n       * @return {Promise|GraphModel} A promise resolving with a `GraphModel` of the shop.\n       */\n      value: function fetchInfo() {\n        return this.graphQLClient.send(query$10).then(defaultResolver('shop'));\n      }\n\n      /**\n       * Fetches shop policies (privacy policy, terms of service and refund policy).\n       *\n       * @example\n       * client.shop.fetchPolicies().then((shop) => {\n       *   // Do something with the shop\n       * });\n       *\n       * @return {Promise|GraphModel} A promise resolving with a `GraphModel` of the shop.\n       */\n\n    }, {\n      key: 'fetchPolicies',\n      value: function fetchPolicies() {\n        return this.graphQLClient.send(query$11).then(defaultResolver('shop'));\n      }\n    }]);\n    return ShopResource;\n  }(Resource);\n\n  function handleCheckoutMutation(mutationRootKey, client) {\n    return function (_ref) {\n      var _ref$data = _ref.data,\n          data = _ref$data === undefined ? {} : _ref$data,\n          errors = _ref.errors,\n          _ref$model = _ref.model,\n          model = _ref$model === undefined ? {} : _ref$model;\n\n      var rootData = data[mutationRootKey];\n      var rootModel = model[mutationRootKey];\n\n      if (rootData && rootData.checkout) {\n        return client.fetchAllPages(rootModel.checkout.lineItems, { pageSize: 250 }).then(function (lineItems) {\n          rootModel.checkout.attrs.lineItems = lineItems;\n          rootModel.checkout.errors = errors;\n          rootModel.checkout.userErrors = rootModel.userErrors;\n\n          return rootModel.checkout;\n        });\n      }\n\n      if (errors && errors.length) {\n        return Promise.reject(new Error(JSON.stringify(errors)));\n      }\n\n      if (rootData && rootData.checkoutUserErrors && rootData.checkoutUserErrors.length) {\n        return Promise.reject(new Error(JSON.stringify(rootData.checkoutUserErrors)));\n      }\n\n      if (rootData && rootData.userErrors && rootData.userErrors.length) {\n        return Promise.reject(new Error(JSON.stringify(rootData.userErrors)));\n      }\n\n      return Promise.reject(new Error(\"The \" + mutationRootKey + \" mutation failed due to an unknown error.\"));\n    };\n  }\n\n  function query$12(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.id = client.variable(\"id\", \"ID!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addQuery([variables.__defaultOperation__.id], function (root) {\n      root.add(\"node\", {\n        args: {\n          id: variables.__defaultOperation__.id\n        }\n      }, function (node) {\n        node.addFragment(spreads.CheckoutFragment);\n      });\n    });\n    return document;\n  }\n\n  function query$13(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.input = client.variable(\"input\", \"CheckoutCreateInput!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation([variables.__defaultOperation__.input], function (root) {\n      root.add(\"checkoutCreate\", {\n        args: {\n          input: variables.__defaultOperation__.input\n        }\n      }, function (checkoutCreate) {\n        checkoutCreate.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutCreate.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutCreate.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$14(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    variables.__defaultOperation__.lineItems = client.variable(\"lineItems\", \"[CheckoutLineItemInput!]!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation([variables.__defaultOperation__.checkoutId, variables.__defaultOperation__.lineItems], function (root) {\n      root.add(\"checkoutLineItemsAdd\", {\n        args: {\n          checkoutId: variables.__defaultOperation__.checkoutId,\n          lineItems: variables.__defaultOperation__.lineItems\n        }\n      }, function (checkoutLineItemsAdd) {\n        checkoutLineItemsAdd.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutLineItemsAdd.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutLineItemsAdd.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$15(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    variables.__defaultOperation__.lineItemIds = client.variable(\"lineItemIds\", \"[ID!]!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation([variables.__defaultOperation__.checkoutId, variables.__defaultOperation__.lineItemIds], function (root) {\n      root.add(\"checkoutLineItemsRemove\", {\n        args: {\n          checkoutId: variables.__defaultOperation__.checkoutId,\n          lineItemIds: variables.__defaultOperation__.lineItemIds\n        }\n      }, function (checkoutLineItemsRemove) {\n        checkoutLineItemsRemove.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutLineItemsRemove.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutLineItemsRemove.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$16(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    variables.__defaultOperation__.lineItems = client.variable(\"lineItems\", \"[CheckoutLineItemInput!]!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation([variables.__defaultOperation__.checkoutId, variables.__defaultOperation__.lineItems], function (root) {\n      root.add(\"checkoutLineItemsReplace\", {\n        args: {\n          checkoutId: variables.__defaultOperation__.checkoutId,\n          lineItems: variables.__defaultOperation__.lineItems\n        }\n      }, function (checkoutLineItemsReplace) {\n        checkoutLineItemsReplace.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutLineItemsReplace.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$17(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.__defaultOperation__ = {};\n    variables.__defaultOperation__.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    variables.__defaultOperation__.lineItems = client.variable(\"lineItems\", \"[CheckoutLineItemUpdateInput!]!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation([variables.__defaultOperation__.checkoutId, variables.__defaultOperation__.lineItems], function (root) {\n      root.add(\"checkoutLineItemsUpdate\", {\n        args: {\n          checkoutId: variables.__defaultOperation__.checkoutId,\n          lineItems: variables.__defaultOperation__.lineItems\n        }\n      }, function (checkoutLineItemsUpdate) {\n        checkoutLineItemsUpdate.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutLineItemsUpdate.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutLineItemsUpdate.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$18(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.checkoutAttributesUpdateV2 = {};\n    variables.checkoutAttributesUpdateV2.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    variables.checkoutAttributesUpdateV2.input = client.variable(\"input\", \"CheckoutAttributesUpdateV2Input!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation(\"checkoutAttributesUpdateV2\", [variables.checkoutAttributesUpdateV2.checkoutId, variables.checkoutAttributesUpdateV2.input], function (root) {\n      root.add(\"checkoutAttributesUpdateV2\", {\n        args: {\n          checkoutId: variables.checkoutAttributesUpdateV2.checkoutId,\n          input: variables.checkoutAttributesUpdateV2.input\n        }\n      }, function (checkoutAttributesUpdateV2) {\n        checkoutAttributesUpdateV2.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutAttributesUpdateV2.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutAttributesUpdateV2.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$19(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.checkoutDiscountCodeApplyV2 = {};\n    variables.checkoutDiscountCodeApplyV2.discountCode = client.variable(\"discountCode\", \"String!\");\n    variables.checkoutDiscountCodeApplyV2.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation(\"checkoutDiscountCodeApplyV2\", [variables.checkoutDiscountCodeApplyV2.discountCode, variables.checkoutDiscountCodeApplyV2.checkoutId], function (root) {\n      root.add(\"checkoutDiscountCodeApplyV2\", {\n        args: {\n          discountCode: variables.checkoutDiscountCodeApplyV2.discountCode,\n          checkoutId: variables.checkoutDiscountCodeApplyV2.checkoutId\n        }\n      }, function (checkoutDiscountCodeApplyV2) {\n        checkoutDiscountCodeApplyV2.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutDiscountCodeApplyV2.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutDiscountCodeApplyV2.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$20(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.checkoutDiscountCodeRemove = {};\n    variables.checkoutDiscountCodeRemove.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation(\"checkoutDiscountCodeRemove\", [variables.checkoutDiscountCodeRemove.checkoutId], function (root) {\n      root.add(\"checkoutDiscountCodeRemove\", {\n        args: {\n          checkoutId: variables.checkoutDiscountCodeRemove.checkoutId\n        }\n      }, function (checkoutDiscountCodeRemove) {\n        checkoutDiscountCodeRemove.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutDiscountCodeRemove.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutDiscountCodeRemove.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$21(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.checkoutGiftCardsAppend = {};\n    variables.checkoutGiftCardsAppend.giftCardCodes = client.variable(\"giftCardCodes\", \"[String!]!\");\n    variables.checkoutGiftCardsAppend.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation(\"checkoutGiftCardsAppend\", [variables.checkoutGiftCardsAppend.giftCardCodes, variables.checkoutGiftCardsAppend.checkoutId], function (root) {\n      root.add(\"checkoutGiftCardsAppend\", {\n        args: {\n          giftCardCodes: variables.checkoutGiftCardsAppend.giftCardCodes,\n          checkoutId: variables.checkoutGiftCardsAppend.checkoutId\n        }\n      }, function (checkoutGiftCardsAppend) {\n        checkoutGiftCardsAppend.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutGiftCardsAppend.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutGiftCardsAppend.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$22(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.checkoutGiftCardRemoveV2 = {};\n    variables.checkoutGiftCardRemoveV2.appliedGiftCardId = client.variable(\"appliedGiftCardId\", \"ID!\");\n    variables.checkoutGiftCardRemoveV2.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation(\"checkoutGiftCardRemoveV2\", [variables.checkoutGiftCardRemoveV2.appliedGiftCardId, variables.checkoutGiftCardRemoveV2.checkoutId], function (root) {\n      root.add(\"checkoutGiftCardRemoveV2\", {\n        args: {\n          appliedGiftCardId: variables.checkoutGiftCardRemoveV2.appliedGiftCardId,\n          checkoutId: variables.checkoutGiftCardRemoveV2.checkoutId\n        }\n      }, function (checkoutGiftCardRemoveV2) {\n        checkoutGiftCardRemoveV2.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutGiftCardRemoveV2.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutGiftCardRemoveV2.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$23(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.checkoutEmailUpdateV2 = {};\n    variables.checkoutEmailUpdateV2.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    variables.checkoutEmailUpdateV2.email = client.variable(\"email\", \"String!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation(\"checkoutEmailUpdateV2\", [variables.checkoutEmailUpdateV2.checkoutId, variables.checkoutEmailUpdateV2.email], function (root) {\n      root.add(\"checkoutEmailUpdateV2\", {\n        args: {\n          checkoutId: variables.checkoutEmailUpdateV2.checkoutId,\n          email: variables.checkoutEmailUpdateV2.email\n        }\n      }, function (checkoutEmailUpdateV2) {\n        checkoutEmailUpdateV2.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutEmailUpdateV2.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutEmailUpdateV2.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  function query$24(client) {\n    var document = client.document();\n    var spreads = {};\n    var variables = {};\n    variables.checkoutShippingAddressUpdateV2 = {};\n    variables.checkoutShippingAddressUpdateV2.shippingAddress = client.variable(\"shippingAddress\", \"MailingAddressInput!\");\n    variables.checkoutShippingAddressUpdateV2.checkoutId = client.variable(\"checkoutId\", \"ID!\");\n    spreads.VariantFragment = document.defineFragment(\"VariantFragment\", \"ProductVariant\", function (root) {\n      root.add(\"id\");\n      root.add(\"title\");\n      root.add(\"price\", function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"price\", {\n        alias: \"priceV2\"\n      }, function (price) {\n        price.add(\"amount\");\n        price.add(\"currencyCode\");\n      });\n      root.add(\"weight\");\n      root.add(\"availableForSale\", {\n        alias: \"available\"\n      });\n      root.add(\"sku\");\n      root.add(\"compareAtPrice\", function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"compareAtPrice\", {\n        alias: \"compareAtPriceV2\"\n      }, function (compareAtPrice) {\n        compareAtPrice.add(\"amount\");\n        compareAtPrice.add(\"currencyCode\");\n      });\n      root.add(\"image\", function (image) {\n        image.add(\"id\");\n        image.add(\"url\", {\n          alias: \"src\"\n        });\n        image.add(\"altText\");\n        image.add(\"width\");\n        image.add(\"height\");\n      });\n      root.add(\"selectedOptions\", function (selectedOptions) {\n        selectedOptions.add(\"name\");\n        selectedOptions.add(\"value\");\n      });\n      root.add(\"unitPrice\", function (unitPrice) {\n        unitPrice.add(\"amount\");\n        unitPrice.add(\"currencyCode\");\n      });\n      root.add(\"unitPriceMeasurement\", function (unitPriceMeasurement) {\n        unitPriceMeasurement.add(\"measuredType\");\n        unitPriceMeasurement.add(\"quantityUnit\");\n        unitPriceMeasurement.add(\"quantityValue\");\n        unitPriceMeasurement.add(\"referenceUnit\");\n        unitPriceMeasurement.add(\"referenceValue\");\n      });\n    });\n    spreads.DiscountApplicationFragment = document.defineFragment(\"DiscountApplicationFragment\", \"DiscountApplication\", function (root) {\n      root.add(\"targetSelection\");\n      root.add(\"allocationMethod\");\n      root.add(\"targetType\");\n      root.add(\"value\", function (value) {\n        value.addInlineFragmentOn(\"MoneyV2\", function (MoneyV2) {\n          MoneyV2.add(\"amount\");\n          MoneyV2.add(\"currencyCode\");\n        });\n        value.addInlineFragmentOn(\"PricingPercentageValue\", function (PricingPercentageValue) {\n          PricingPercentageValue.add(\"percentage\");\n        });\n      });\n      root.addInlineFragmentOn(\"ManualDiscountApplication\", function (ManualDiscountApplication) {\n        ManualDiscountApplication.add(\"title\");\n        ManualDiscountApplication.add(\"description\");\n      });\n      root.addInlineFragmentOn(\"DiscountCodeApplication\", function (DiscountCodeApplication) {\n        DiscountCodeApplication.add(\"code\");\n        DiscountCodeApplication.add(\"applicable\");\n      });\n      root.addInlineFragmentOn(\"ScriptDiscountApplication\", function (ScriptDiscountApplication) {\n        ScriptDiscountApplication.add(\"title\");\n      });\n      root.addInlineFragmentOn(\"AutomaticDiscountApplication\", function (AutomaticDiscountApplication) {\n        AutomaticDiscountApplication.add(\"title\");\n      });\n    });\n    spreads.AppliedGiftCardFragment = document.defineFragment(\"AppliedGiftCardFragment\", \"AppliedGiftCard\", function (root) {\n      root.add(\"amountUsed\", function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"amountUsed\", {\n        alias: \"amountUsedV2\"\n      }, function (amountUsed) {\n        amountUsed.add(\"amount\");\n        amountUsed.add(\"currencyCode\");\n      });\n      root.add(\"balance\", function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"balance\", {\n        alias: \"balanceV2\"\n      }, function (balance) {\n        balance.add(\"amount\");\n        balance.add(\"currencyCode\");\n      });\n      root.add(\"presentmentAmountUsed\", function (presentmentAmountUsed) {\n        presentmentAmountUsed.add(\"amount\");\n        presentmentAmountUsed.add(\"currencyCode\");\n      });\n      root.add(\"id\");\n      root.add(\"lastCharacters\");\n    });\n    spreads.VariantWithProductFragment = document.defineFragment(\"VariantWithProductFragment\", \"ProductVariant\", function (root) {\n      root.addFragment(spreads.VariantFragment);\n      root.add(\"product\", function (product) {\n        product.add(\"id\");\n        product.add(\"handle\");\n      });\n    });\n    spreads.UserErrorFragment = document.defineFragment(\"UserErrorFragment\", \"UserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n    });\n    spreads.CheckoutUserErrorFragment = document.defineFragment(\"CheckoutUserErrorFragment\", \"CheckoutUserError\", function (root) {\n      root.add(\"field\");\n      root.add(\"message\");\n      root.add(\"code\");\n    });\n    spreads.MailingAddressFragment = document.defineFragment(\"MailingAddressFragment\", \"MailingAddress\", function (root) {\n      root.add(\"id\");\n      root.add(\"address1\");\n      root.add(\"address2\");\n      root.add(\"city\");\n      root.add(\"company\");\n      root.add(\"country\");\n      root.add(\"firstName\");\n      root.add(\"formatted\");\n      root.add(\"lastName\");\n      root.add(\"latitude\");\n      root.add(\"longitude\");\n      root.add(\"phone\");\n      root.add(\"province\");\n      root.add(\"zip\");\n      root.add(\"name\");\n      root.add(\"countryCodeV2\", {\n        alias: \"countryCode\"\n      });\n      root.add(\"provinceCode\");\n    });\n    spreads.CheckoutFragment = document.defineFragment(\"CheckoutFragment\", \"Checkout\", function (root) {\n      root.add(\"id\");\n      root.add(\"ready\");\n      root.add(\"requiresShipping\");\n      root.add(\"note\");\n      root.add(\"paymentDue\", function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"paymentDue\", {\n        alias: \"paymentDueV2\"\n      }, function (paymentDue) {\n        paymentDue.add(\"amount\");\n        paymentDue.add(\"currencyCode\");\n      });\n      root.add(\"webUrl\");\n      root.add(\"orderStatusUrl\");\n      root.add(\"taxExempt\");\n      root.add(\"taxesIncluded\");\n      root.add(\"currencyCode\");\n      root.add(\"totalTax\", function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"totalTax\", {\n        alias: \"totalTaxV2\"\n      }, function (totalTax) {\n        totalTax.add(\"amount\");\n        totalTax.add(\"currencyCode\");\n      });\n      root.add(\"lineItemsSubtotalPrice\", function (lineItemsSubtotalPrice) {\n        lineItemsSubtotalPrice.add(\"amount\");\n        lineItemsSubtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"subtotalPrice\", {\n        alias: \"subtotalPriceV2\"\n      }, function (subtotalPrice) {\n        subtotalPrice.add(\"amount\");\n        subtotalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"totalPrice\", {\n        alias: \"totalPriceV2\"\n      }, function (totalPrice) {\n        totalPrice.add(\"amount\");\n        totalPrice.add(\"currencyCode\");\n      });\n      root.add(\"completedAt\");\n      root.add(\"createdAt\");\n      root.add(\"updatedAt\");\n      root.add(\"email\");\n      root.add(\"discountApplications\", {\n        args: {\n          first: 10\n        }\n      }, function (discountApplications) {\n        discountApplications.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        discountApplications.add(\"edges\", function (edges) {\n          edges.add(\"node\", function (node) {\n            node.addFragment(spreads.DiscountApplicationFragment);\n          });\n        });\n      });\n      root.add(\"appliedGiftCards\", function (appliedGiftCards) {\n        appliedGiftCards.addFragment(spreads.AppliedGiftCardFragment);\n      });\n      root.add(\"shippingAddress\", function (shippingAddress) {\n        shippingAddress.addFragment(spreads.MailingAddressFragment);\n      });\n      root.add(\"shippingLine\", function (shippingLine) {\n        shippingLine.add(\"handle\");\n        shippingLine.add(\"price\", function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"price\", {\n          alias: \"priceV2\"\n        }, function (price) {\n          price.add(\"amount\");\n          price.add(\"currencyCode\");\n        });\n        shippingLine.add(\"title\");\n      });\n      root.add(\"customAttributes\", function (customAttributes) {\n        customAttributes.add(\"key\");\n        customAttributes.add(\"value\");\n      });\n      root.add(\"order\", function (order) {\n        order.add(\"id\");\n        order.add(\"processedAt\");\n        order.add(\"orderNumber\");\n        order.add(\"subtotalPrice\", function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"subtotalPrice\", {\n          alias: \"subtotalPriceV2\"\n        }, function (subtotalPrice) {\n          subtotalPrice.add(\"amount\");\n          subtotalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalShippingPrice\", {\n          alias: \"totalShippingPriceV2\"\n        }, function (totalShippingPrice) {\n          totalShippingPrice.add(\"amount\");\n          totalShippingPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalTax\", {\n          alias: \"totalTaxV2\"\n        }, function (totalTax) {\n          totalTax.add(\"amount\");\n          totalTax.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"totalPrice\", {\n          alias: \"totalPriceV2\"\n        }, function (totalPrice) {\n          totalPrice.add(\"amount\");\n          totalPrice.add(\"currencyCode\");\n        });\n        order.add(\"currencyCode\");\n        order.add(\"totalRefunded\", function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"totalRefunded\", {\n          alias: \"totalRefundedV2\"\n        }, function (totalRefunded) {\n          totalRefunded.add(\"amount\");\n          totalRefunded.add(\"currencyCode\");\n        });\n        order.add(\"customerUrl\");\n        order.add(\"shippingAddress\", function (shippingAddress) {\n          shippingAddress.addFragment(spreads.MailingAddressFragment);\n        });\n        order.add(\"lineItems\", {\n          args: {\n            first: 250\n          }\n        }, function (lineItems) {\n          lineItems.add(\"pageInfo\", function (pageInfo) {\n            pageInfo.add(\"hasNextPage\");\n            pageInfo.add(\"hasPreviousPage\");\n          });\n          lineItems.add(\"edges\", function (edges) {\n            edges.add(\"cursor\");\n            edges.add(\"node\", function (node) {\n              node.add(\"title\");\n              node.add(\"variant\", function (variant) {\n                variant.addFragment(spreads.VariantWithProductFragment);\n              });\n              node.add(\"quantity\");\n              node.add(\"customAttributes\", function (customAttributes) {\n                customAttributes.add(\"key\");\n                customAttributes.add(\"value\");\n              });\n            });\n          });\n        });\n      });\n      root.add(\"lineItems\", {\n        args: {\n          first: 250\n        }\n      }, function (lineItems) {\n        lineItems.add(\"pageInfo\", function (pageInfo) {\n          pageInfo.add(\"hasNextPage\");\n          pageInfo.add(\"hasPreviousPage\");\n        });\n        lineItems.add(\"edges\", function (edges) {\n          edges.add(\"cursor\");\n          edges.add(\"node\", function (node) {\n            node.add(\"id\");\n            node.add(\"title\");\n            node.add(\"variant\", function (variant) {\n              variant.addFragment(spreads.VariantWithProductFragment);\n            });\n            node.add(\"quantity\");\n            node.add(\"customAttributes\", function (customAttributes) {\n              customAttributes.add(\"key\");\n              customAttributes.add(\"value\");\n            });\n            node.add(\"discountAllocations\", function (discountAllocations) {\n              discountAllocations.add(\"allocatedAmount\", function (allocatedAmount) {\n                allocatedAmount.add(\"amount\");\n                allocatedAmount.add(\"currencyCode\");\n              });\n              discountAllocations.add(\"discountApplication\", function (discountApplication) {\n                discountApplication.addFragment(spreads.DiscountApplicationFragment);\n              });\n            });\n          });\n        });\n      });\n    });\n    document.addMutation(\"checkoutShippingAddressUpdateV2\", [variables.checkoutShippingAddressUpdateV2.shippingAddress, variables.checkoutShippingAddressUpdateV2.checkoutId], function (root) {\n      root.add(\"checkoutShippingAddressUpdateV2\", {\n        args: {\n          shippingAddress: variables.checkoutShippingAddressUpdateV2.shippingAddress,\n          checkoutId: variables.checkoutShippingAddressUpdateV2.checkoutId\n        }\n      }, function (checkoutShippingAddressUpdateV2) {\n        checkoutShippingAddressUpdateV2.add(\"userErrors\", function (userErrors) {\n          userErrors.addFragment(spreads.UserErrorFragment);\n        });\n        checkoutShippingAddressUpdateV2.add(\"checkoutUserErrors\", function (checkoutUserErrors) {\n          checkoutUserErrors.addFragment(spreads.CheckoutUserErrorFragment);\n        });\n        checkoutShippingAddressUpdateV2.add(\"checkout\", function (checkout) {\n          checkout.addFragment(spreads.CheckoutFragment);\n        });\n      });\n    });\n    return document;\n  }\n\n  // GraphQL\n  /**\n   * The JS Buy SDK checkout resource\n   * @class\n   */\n\n  var CheckoutResource = function (_Resource) {\n    inherits$1(CheckoutResource, _Resource);\n\n    function CheckoutResource() {\n      classCallCheck$1(this, CheckoutResource);\n      return possibleConstructorReturn$1(this, (CheckoutResource.__proto__ || Object.getPrototypeOf(CheckoutResource)).apply(this, arguments));\n    }\n\n    createClass$1(CheckoutResource, [{\n      key: 'fetch',\n\n\n      /**\n       * Fetches a checkout by ID.\n       *\n       * @example\n       * client.checkout.fetch('FlZj9rZXlN5MDY4ZDFiZTUyZTUwNTE2MDNhZjg=').then((checkout) => {\n       *   // Do something with the checkout\n       * });\n       *\n       * @param {String} id The id of the checkout to fetch.\n       * @return {Promise|GraphModel} A promise resolving with a `GraphModel` of the checkout.\n       */\n      value: function fetch(id) {\n        var _this2 = this;\n\n        return this.graphQLClient.send(query$12, { id: id }).then(defaultResolver('node')).then(function (checkout) {\n          if (!checkout) {\n            return null;\n          }\n\n          return _this2.graphQLClient.fetchAllPages(checkout.lineItems, { pageSize: 250 }).then(function (lineItems) {\n            checkout.attrs.lineItems = lineItems;\n\n            return checkout;\n          });\n        });\n      }\n\n      /**\n       * Creates a checkout.\n       *\n       * @example\n       * const input = {\n       *   lineItems: [\n       *     {variantId: 'Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0VmFyaWFudC8yOTEwNjAyMjc5Mg==', quantity: 5}\n       *   ]\n       * };\n       *\n       * client.checkout.create(input).then((checkout) => {\n       *   // Do something with the newly created checkout\n       * });\n       *\n       * @param {Object} [input] An input object containing zero or more of:\n       *   @param {String} [input.email] An email connected to the checkout.\n       *   @param {Object[]} [input.lineItems] A list of line items in the checkout. See the {@link https://help.shopify.com/api/storefront-api/reference/input-object/checkoutlineiteminput|Storefront API reference} for valid input fields for each line item.\n       *   @param {Object} [input.shippingAddress] A shipping address. See the {@link https://help.shopify.com/api/storefront-api/reference/input-object/mailingaddressinput|Storefront API reference} for valid input fields.\n       *   @param {String} [input.note] A note for the checkout.\n       *   @param {Object[]} [input.customAttributes] A list of custom attributes for the checkout. See the {@link https://help.shopify.com/api/storefront-api/reference/input-object/attributeinput|Storefront API reference} for valid input fields.\n       *   @param {String} [input.presentmentCurrencyCode ] A presentment currency code. See the {@link https://help.shopify.com/en/api/storefront-api/reference/enum/currencycode|Storefront API reference} for valid currency code values.\n       * @return {Promise|GraphModel} A promise resolving with the created checkout.\n       */\n\n    }, {\n      key: 'create',\n      value: function create() {\n        var input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n        return this.graphQLClient.send(query$13, { input: input }).then(handleCheckoutMutation('checkoutCreate', this.graphQLClient));\n      }\n\n      /**\n       * Replaces the value of checkout's custom attributes and/or note with values defined in the input\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const input = {customAttributes: [{key: \"MyKey\", value: \"MyValue\"}]};\n       *\n       * client.checkout.updateAttributes(checkoutId, input).then((checkout) => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to update.\n       * @param {Object} [input] An input object containing zero or more of:\n       *   @param {Boolean} [input.allowPartialAddresses] An email connected to the checkout.\n       *   @param {Object[]} [input.customAttributes] A list of custom attributes for the checkout. See the {@link https://help.shopify.com/api/storefront-api/reference/input-object/attributeinput|Storefront API reference} for valid input fields.\n       *   @param {String} [input.note] A note for the checkout.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'updateAttributes',\n      value: function updateAttributes(checkoutId) {\n        var input = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n        return this.graphQLClient.send(query$18, { checkoutId: checkoutId, input: input }).then(handleCheckoutMutation('checkoutAttributesUpdateV2', this.graphQLClient));\n      }\n\n      /**\n       * Replaces the value of checkout's email address\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const email = 'user@example.com';\n       *\n       * client.checkout.updateEmail(checkoutId, email).then((checkout) => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to update.\n       * @param {String} email The email address to apply to the checkout.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'updateEmail',\n      value: function updateEmail(checkoutId, email) {\n        return this.graphQLClient.send(query$23, { checkoutId: checkoutId, email: email }).then(handleCheckoutMutation('checkoutEmailUpdateV2', this.graphQLClient));\n      }\n\n      /**\n       * Adds line items to an existing checkout.\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const lineItems = [{variantId: 'Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0VmFyaWFudC8yOTEwNjAyMjc5Mg==', quantity: 5}];\n       *\n       * client.checkout.addLineItems(checkoutId, lineItems).then((checkout) => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to add line items to.\n       * @param {Object[]} lineItems A list of line items to add to the checkout. See the {@link https://help.shopify.com/api/storefront-api/reference/input-object/checkoutlineiteminput|Storefront API reference} for valid input fields for each line item.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'addLineItems',\n      value: function addLineItems(checkoutId, lineItems) {\n        return this.graphQLClient.send(query$14, { checkoutId: checkoutId, lineItems: lineItems }).then(handleCheckoutMutation('checkoutLineItemsAdd', this.graphQLClient));\n      }\n\n      /**\n       * Applies a discount to an existing checkout using a discount code.\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const discountCode = 'best-discount-ever';\n       *\n       * client.checkout.addDiscount(checkoutId, discountCode).then((checkout) => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to add discount to.\n       * @param {String} discountCode The discount code to apply to the checkout.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'addDiscount',\n      value: function addDiscount(checkoutId, discountCode) {\n        return this.graphQLClient.send(query$19, { checkoutId: checkoutId, discountCode: discountCode }).then(handleCheckoutMutation('checkoutDiscountCodeApplyV2', this.graphQLClient));\n      }\n\n      /**\n       * Removes the applied discount from an existing checkout.\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       *\n       * client.checkout.removeDiscount(checkoutId).then((checkout) => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to remove the discount from.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'removeDiscount',\n      value: function removeDiscount(checkoutId) {\n        return this.graphQLClient.send(query$20, { checkoutId: checkoutId }).then(handleCheckoutMutation('checkoutDiscountCodeRemove', this.graphQLClient));\n      }\n\n      /**\n       * Applies gift cards to an existing checkout using a list of gift card codes\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const giftCardCodes = ['6FD8853DAGAA949F'];\n       *\n       * client.checkout.addGiftCards(checkoutId, giftCardCodes).then((checkout) => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to add gift cards to.\n       * @param {String[]} giftCardCodes The gift card codes to apply to the checkout.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'addGiftCards',\n      value: function addGiftCards(checkoutId, giftCardCodes) {\n        return this.graphQLClient.send(query$21, { checkoutId: checkoutId, giftCardCodes: giftCardCodes }).then(handleCheckoutMutation('checkoutGiftCardsAppend', this.graphQLClient));\n      }\n\n      /**\n       * Remove a gift card from an existing checkout\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const appliedGiftCardId = 'Z2lkOi8vc2hvcGlmeS9BcHBsaWVkR2lmdENhcmQvNDI4NTQ1ODAzMTI=';\n       *\n       * client.checkout.removeGiftCard(checkoutId, appliedGiftCardId).then((checkout) => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to add gift cards to.\n       * @param {String} appliedGiftCardId The gift card id to remove from the checkout.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'removeGiftCard',\n      value: function removeGiftCard(checkoutId, appliedGiftCardId) {\n        return this.graphQLClient.send(query$22, { checkoutId: checkoutId, appliedGiftCardId: appliedGiftCardId }).then(handleCheckoutMutation('checkoutGiftCardRemoveV2', this.graphQLClient));\n      }\n\n      /**\n       * Removes line items from an existing checkout.\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const lineItemIds = ['TViZGE5Y2U1ZDFhY2FiMmM2YT9rZXk9NTc2YjBhODcwNWIxYzg0YjE5ZjRmZGQ5NjczNGVkZGU='];\n       *\n       * client.checkout.removeLineItems(checkoutId, lineItemIds).then((checkout) => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to remove line items from.\n       * @param {String[]} lineItemIds A list of the ids of line items to remove from the checkout.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'removeLineItems',\n      value: function removeLineItems(checkoutId, lineItemIds) {\n        return this.graphQLClient.send(query$15, { checkoutId: checkoutId, lineItemIds: lineItemIds }).then(handleCheckoutMutation('checkoutLineItemsRemove', this.graphQLClient));\n      }\n\n      /**\n       * Replace line items on an existing checkout.\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const lineItems = [{variantId: 'Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0VmFyaWFudC8yOTEwNjAyMjc5Mg==', quantity: 5}];\n       *\n       * client.checkout.replaceLineItems(checkoutId, lineItems).then((checkout) => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to add line items to.\n       * @param {Object[]} lineItems A list of line items to set on the checkout. See the {@link https://help.shopify.com/api/storefront-api/reference/input-object/checkoutlineiteminput|Storefront API reference} for valid input fields for each line item.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'replaceLineItems',\n      value: function replaceLineItems(checkoutId, lineItems) {\n        return this.graphQLClient.send(query$16, { checkoutId: checkoutId, lineItems: lineItems }).then(handleCheckoutMutation('checkoutLineItemsReplace', this.graphQLClient));\n      }\n\n      /**\n       * Updates line items on an existing checkout.\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const lineItems = [\n       *   {\n       *     id: 'TViZGE5Y2U1ZDFhY2FiMmM2YT9rZXk9NTc2YjBhODcwNWIxYzg0YjE5ZjRmZGQ5NjczNGVkZGU=',\n       *     quantity: 5,\n       *     variantId: 'Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0VmFyaWFudC8yOTEwNjAyMjc5Mg=='\n       *   }\n       * ];\n       *\n       * client.checkout.updateLineItems(checkoutId, lineItems).then(checkout => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param {String} checkoutId The ID of the checkout to update a line item on.\n       * @param {Object[]} lineItems A list of line item information to update. See the {@link https://help.shopify.com/api/storefront-api/reference/input-object/checkoutlineitemupdateinput|Storefront API reference} for valid input fields for each line item.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'updateLineItems',\n      value: function updateLineItems(checkoutId, lineItems) {\n        return this.graphQLClient.send(query$17, { checkoutId: checkoutId, lineItems: lineItems }).then(handleCheckoutMutation('checkoutLineItemsUpdate', this.graphQLClient));\n      }\n\n      /**\n       * Updates shipping address on an existing checkout.\n       *\n       * @example\n       * const checkoutId = 'Z2lkOi8vc2hvcGlmeS9DaGVja291dC9kMTZmM2EzMDM4Yjc4N=';\n       * const shippingAddress = {\n       *    address1: 'Chestnut Street 92',\n       *    address2: 'Apartment 2',\n       *    city: 'Louisville',\n       *    company: null,\n       *    country: 'United States',\n       *    firstName: 'Bob',\n       *    lastName: 'Norman',\n       *    phone: '555-625-1199',\n       *    province: 'Kentucky',\n       *    zip: '40202'\n       *  };\n       *\n       * client.checkout.updateShippingAddress(checkoutId, shippingAddress).then(checkout => {\n       *   // Do something with the updated checkout\n       * });\n       *\n       * @param  {String} checkoutId The ID of the checkout to update shipping address.\n       * @param  {Object} shippingAddress A shipping address.\n       * @return {Promise|GraphModel} A promise resolving with the updated checkout.\n       */\n\n    }, {\n      key: 'updateShippingAddress',\n      value: function updateShippingAddress(checkoutId, shippingAddress) {\n        return this.graphQLClient.send(query$24, { checkoutId: checkoutId, shippingAddress: shippingAddress }).then(handleCheckoutMutation('checkoutShippingAddressUpdateV2', this.graphQLClient));\n      }\n    }]);\n    return CheckoutResource;\n  }(Resource);\n\n  /**\n   * @namespace ImageHelpers\n   */\n  var imageHelpers = {\n\n    /**\n     * Generates the image src for a resized image with maximum dimensions `maxWidth` and `maxHeight`.\n     * Images do not scale up.\n     *\n     * @example\n     * const url = client.image.helpers.imageForSize(product.variants[0].image, {maxWidth: 50, maxHeight: 50});\n     *\n     * @memberof ImageHelpers\n     * @method imageForSize\n     * @param {Object} image The original image model to generate the image src for.\n     * @param {Object} options An options object containing:\n     *  @param {Integer} options.maxWidth The maximum width for the image.\n     *  @param {Integer} options.maxHeight The maximum height for the image.\n     * @return {String} The image src for the resized image.\n     */\n    imageForSize: function imageForSize(image, _ref) {\n      var maxWidth = _ref.maxWidth,\n          maxHeight = _ref.maxHeight;\n\n      var splitUrl = image.src.split('?');\n      var notQuery = splitUrl[0];\n      var query = splitUrl[1] ? '?' + splitUrl[1] : '';\n\n      // Use the section before the query\n      var imageTokens = notQuery.split('.');\n\n      // Take the token before the file extension and append the dimensions\n      var imagePathIndex = imageTokens.length - 2;\n\n      imageTokens[imagePathIndex] = imageTokens[imagePathIndex] + '_' + maxWidth + 'x' + maxHeight;\n\n      return '' + imageTokens.join('.') + query;\n    }\n  };\n\n  /**\n   * The JS Buy SDK image resource\n   * @class\n   */\n\n  var ImageResource = function (_Resource) {\n    inherits$1(ImageResource, _Resource);\n\n    function ImageResource() {\n      classCallCheck$1(this, ImageResource);\n      return possibleConstructorReturn$1(this, (ImageResource.__proto__ || Object.getPrototypeOf(ImageResource)).apply(this, arguments));\n    }\n\n    createClass$1(ImageResource, [{\n      key: 'helpers',\n      get: function get$$1() {\n        return imageHelpers;\n      }\n    }]);\n    return ImageResource;\n  }(Resource);\n\n  var version = \"2.20.0\";\n\n  var AppliedGiftCard = {\n    \"name\": \"AppliedGiftCard\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"amountUsed\": \"MoneyV2\",\n      \"balance\": \"MoneyV2\",\n      \"id\": \"ID\",\n      \"lastCharacters\": \"String\",\n      \"presentmentAmountUsed\": \"MoneyV2\"\n    },\n    \"implementsNode\": true\n  };\n\n  var Attribute = {\n    \"name\": \"Attribute\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"key\": \"String\",\n      \"value\": \"String\"\n    },\n    \"implementsNode\": false\n  };\n\n  var AutomaticDiscountApplication = {\n    \"name\": \"AutomaticDiscountApplication\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"title\": \"String\"\n    },\n    \"implementsNode\": false\n  };\n\n  var Boolean$1 = {\n    \"name\": \"Boolean\",\n    \"kind\": \"SCALAR\"\n  };\n\n  var Checkout = {\n    \"name\": \"Checkout\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"appliedGiftCards\": \"AppliedGiftCard\",\n      \"completedAt\": \"DateTime\",\n      \"createdAt\": \"DateTime\",\n      \"currencyCode\": \"CurrencyCode\",\n      \"customAttributes\": \"Attribute\",\n      \"discountApplications\": \"DiscountApplicationConnection\",\n      \"email\": \"String\",\n      \"id\": \"ID\",\n      \"lineItems\": \"CheckoutLineItemConnection\",\n      \"lineItemsSubtotalPrice\": \"MoneyV2\",\n      \"note\": \"String\",\n      \"order\": \"Order\",\n      \"orderStatusUrl\": \"URL\",\n      \"paymentDue\": \"MoneyV2\",\n      \"ready\": \"Boolean\",\n      \"requiresShipping\": \"Boolean\",\n      \"shippingAddress\": \"MailingAddress\",\n      \"shippingLine\": \"ShippingRate\",\n      \"subtotalPrice\": \"MoneyV2\",\n      \"taxExempt\": \"Boolean\",\n      \"taxesIncluded\": \"Boolean\",\n      \"totalPrice\": \"MoneyV2\",\n      \"totalTax\": \"MoneyV2\",\n      \"updatedAt\": \"DateTime\",\n      \"webUrl\": \"URL\"\n    },\n    \"implementsNode\": true\n  };\n\n  var CheckoutAttributesUpdateV2Payload = {\n    \"name\": \"CheckoutAttributesUpdateV2Payload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutCreatePayload = {\n    \"name\": \"CheckoutCreatePayload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutDiscountCodeApplyV2Payload = {\n    \"name\": \"CheckoutDiscountCodeApplyV2Payload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutDiscountCodeRemovePayload = {\n    \"name\": \"CheckoutDiscountCodeRemovePayload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutEmailUpdateV2Payload = {\n    \"name\": \"CheckoutEmailUpdateV2Payload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutErrorCode = {\n    \"name\": \"CheckoutErrorCode\",\n    \"kind\": \"ENUM\"\n  };\n\n  var CheckoutGiftCardRemoveV2Payload = {\n    \"name\": \"CheckoutGiftCardRemoveV2Payload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutGiftCardsAppendPayload = {\n    \"name\": \"CheckoutGiftCardsAppendPayload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutLineItem = {\n    \"name\": \"CheckoutLineItem\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"customAttributes\": \"Attribute\",\n      \"discountAllocations\": \"DiscountAllocation\",\n      \"id\": \"ID\",\n      \"quantity\": \"Int\",\n      \"title\": \"String\",\n      \"variant\": \"ProductVariant\"\n    },\n    \"implementsNode\": true\n  };\n\n  var CheckoutLineItemConnection = {\n    \"name\": \"CheckoutLineItemConnection\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"edges\": \"CheckoutLineItemEdge\",\n      \"pageInfo\": \"PageInfo\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutLineItemEdge = {\n    \"name\": \"CheckoutLineItemEdge\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"cursor\": \"String\",\n      \"node\": \"CheckoutLineItem\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutLineItemsAddPayload = {\n    \"name\": \"CheckoutLineItemsAddPayload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutLineItemsRemovePayload = {\n    \"name\": \"CheckoutLineItemsRemovePayload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutLineItemsReplacePayload = {\n    \"name\": \"CheckoutLineItemsReplacePayload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"userErrors\": \"CheckoutUserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutLineItemsUpdatePayload = {\n    \"name\": \"CheckoutLineItemsUpdatePayload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutShippingAddressUpdateV2Payload = {\n    \"name\": \"CheckoutShippingAddressUpdateV2Payload\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkout\": \"Checkout\",\n      \"checkoutUserErrors\": \"CheckoutUserError\",\n      \"userErrors\": \"UserError\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CheckoutUserError = {\n    \"name\": \"CheckoutUserError\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"code\": \"CheckoutErrorCode\",\n      \"field\": \"String\",\n      \"message\": \"String\"\n    },\n    \"implementsNode\": false\n  };\n\n  var Collection = {\n    \"name\": \"Collection\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"description\": \"String\",\n      \"descriptionHtml\": \"HTML\",\n      \"handle\": \"String\",\n      \"id\": \"ID\",\n      \"image\": \"Image\",\n      \"products\": \"ProductConnection\",\n      \"title\": \"String\",\n      \"updatedAt\": \"DateTime\"\n    },\n    \"implementsNode\": true\n  };\n\n  var CollectionConnection = {\n    \"name\": \"CollectionConnection\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"edges\": \"CollectionEdge\",\n      \"pageInfo\": \"PageInfo\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CollectionEdge = {\n    \"name\": \"CollectionEdge\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"cursor\": \"String\",\n      \"node\": \"Collection\"\n    },\n    \"implementsNode\": false\n  };\n\n  var CountryCode = {\n    \"name\": \"CountryCode\",\n    \"kind\": \"ENUM\"\n  };\n\n  var CurrencyCode = {\n    \"name\": \"CurrencyCode\",\n    \"kind\": \"ENUM\"\n  };\n\n  var DateTime = {\n    \"name\": \"DateTime\",\n    \"kind\": \"SCALAR\"\n  };\n\n  var Decimal = {\n    \"name\": \"Decimal\",\n    \"kind\": \"SCALAR\"\n  };\n\n  var DiscountAllocation = {\n    \"name\": \"DiscountAllocation\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"allocatedAmount\": \"MoneyV2\",\n      \"discountApplication\": \"DiscountApplication\"\n    },\n    \"implementsNode\": false\n  };\n\n  var DiscountApplication = {\n    \"name\": \"DiscountApplication\",\n    \"kind\": \"INTERFACE\",\n    \"fieldBaseTypes\": {\n      \"allocationMethod\": \"DiscountApplicationAllocationMethod\",\n      \"targetSelection\": \"DiscountApplicationTargetSelection\",\n      \"targetType\": \"DiscountApplicationTargetType\",\n      \"value\": \"PricingValue\"\n    },\n    \"possibleTypes\": [\"AutomaticDiscountApplication\", \"DiscountCodeApplication\", \"ManualDiscountApplication\", \"ScriptDiscountApplication\"]\n  };\n\n  var DiscountApplicationAllocationMethod = {\n    \"name\": \"DiscountApplicationAllocationMethod\",\n    \"kind\": \"ENUM\"\n  };\n\n  var DiscountApplicationConnection = {\n    \"name\": \"DiscountApplicationConnection\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"edges\": \"DiscountApplicationEdge\",\n      \"pageInfo\": \"PageInfo\"\n    },\n    \"implementsNode\": false\n  };\n\n  var DiscountApplicationEdge = {\n    \"name\": \"DiscountApplicationEdge\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"node\": \"DiscountApplication\"\n    },\n    \"implementsNode\": false\n  };\n\n  var DiscountApplicationTargetSelection = {\n    \"name\": \"DiscountApplicationTargetSelection\",\n    \"kind\": \"ENUM\"\n  };\n\n  var DiscountApplicationTargetType = {\n    \"name\": \"DiscountApplicationTargetType\",\n    \"kind\": \"ENUM\"\n  };\n\n  var DiscountCodeApplication = {\n    \"name\": \"DiscountCodeApplication\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"applicable\": \"Boolean\",\n      \"code\": \"String\"\n    },\n    \"implementsNode\": false\n  };\n\n  var Domain = {\n    \"name\": \"Domain\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"host\": \"String\",\n      \"sslEnabled\": \"Boolean\",\n      \"url\": \"URL\"\n    },\n    \"implementsNode\": false\n  };\n\n  var Float = {\n    \"name\": \"Float\",\n    \"kind\": \"SCALAR\"\n  };\n\n  var HTML = {\n    \"name\": \"HTML\",\n    \"kind\": \"SCALAR\"\n  };\n\n  var ID = {\n    \"name\": \"ID\",\n    \"kind\": \"SCALAR\"\n  };\n\n  var Image = {\n    \"name\": \"Image\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"altText\": \"String\",\n      \"height\": \"Int\",\n      \"id\": \"ID\",\n      \"url\": \"URL\",\n      \"width\": \"Int\"\n    },\n    \"implementsNode\": false\n  };\n\n  var ImageConnection = {\n    \"name\": \"ImageConnection\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"edges\": \"ImageEdge\",\n      \"pageInfo\": \"PageInfo\"\n    },\n    \"implementsNode\": false\n  };\n\n  var ImageEdge = {\n    \"name\": \"ImageEdge\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"cursor\": \"String\",\n      \"node\": \"Image\"\n    },\n    \"implementsNode\": false\n  };\n\n  var Int = {\n    \"name\": \"Int\",\n    \"kind\": \"SCALAR\"\n  };\n\n  var MailingAddress = {\n    \"name\": \"MailingAddress\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"address1\": \"String\",\n      \"address2\": \"String\",\n      \"city\": \"String\",\n      \"company\": \"String\",\n      \"country\": \"String\",\n      \"countryCodeV2\": \"CountryCode\",\n      \"firstName\": \"String\",\n      \"formatted\": \"String\",\n      \"id\": \"ID\",\n      \"lastName\": \"String\",\n      \"latitude\": \"Float\",\n      \"longitude\": \"Float\",\n      \"name\": \"String\",\n      \"phone\": \"String\",\n      \"province\": \"String\",\n      \"provinceCode\": \"String\",\n      \"zip\": \"String\"\n    },\n    \"implementsNode\": true\n  };\n\n  var ManualDiscountApplication = {\n    \"name\": \"ManualDiscountApplication\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"description\": \"String\",\n      \"title\": \"String\"\n    },\n    \"implementsNode\": false\n  };\n\n  var MoneyV2 = {\n    \"name\": \"MoneyV2\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"amount\": \"Decimal\",\n      \"currencyCode\": \"CurrencyCode\"\n    },\n    \"implementsNode\": false\n  };\n\n  var Mutation$1 = {\n    \"name\": \"Mutation\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"checkoutAttributesUpdateV2\": \"CheckoutAttributesUpdateV2Payload\",\n      \"checkoutCreate\": \"CheckoutCreatePayload\",\n      \"checkoutDiscountCodeApplyV2\": \"CheckoutDiscountCodeApplyV2Payload\",\n      \"checkoutDiscountCodeRemove\": \"CheckoutDiscountCodeRemovePayload\",\n      \"checkoutEmailUpdateV2\": \"CheckoutEmailUpdateV2Payload\",\n      \"checkoutGiftCardRemoveV2\": \"CheckoutGiftCardRemoveV2Payload\",\n      \"checkoutGiftCardsAppend\": \"CheckoutGiftCardsAppendPayload\",\n      \"checkoutLineItemsAdd\": \"CheckoutLineItemsAddPayload\",\n      \"checkoutLineItemsRemove\": \"CheckoutLineItemsRemovePayload\",\n      \"checkoutLineItemsReplace\": \"CheckoutLineItemsReplacePayload\",\n      \"checkoutLineItemsUpdate\": \"CheckoutLineItemsUpdatePayload\",\n      \"checkoutShippingAddressUpdateV2\": \"CheckoutShippingAddressUpdateV2Payload\"\n    },\n    \"implementsNode\": false,\n    \"relayInputObjectBaseTypes\": {\n      \"cartCreate\": \"CartInput\",\n      \"cartMetafieldDelete\": \"CartMetafieldDeleteInput\",\n      \"checkoutAttributesUpdateV2\": \"CheckoutAttributesUpdateV2Input\",\n      \"checkoutCreate\": \"CheckoutCreateInput\",\n      \"customerAccessTokenCreate\": \"CustomerAccessTokenCreateInput\",\n      \"customerActivate\": \"CustomerActivateInput\",\n      \"customerCreate\": \"CustomerCreateInput\",\n      \"customerReset\": \"CustomerResetInput\"\n    }\n  };\n\n  var Node = {\n    \"name\": \"Node\",\n    \"kind\": \"INTERFACE\",\n    \"fieldBaseTypes\": {},\n    \"possibleTypes\": [\"AppliedGiftCard\", \"Article\", \"Blog\", \"Cart\", \"CartLine\", \"Checkout\", \"CheckoutLineItem\", \"Collection\", \"Comment\", \"ExternalVideo\", \"GenericFile\", \"Location\", \"MailingAddress\", \"Market\", \"MediaImage\", \"MediaPresentation\", \"Menu\", \"MenuItem\", \"Metafield\", \"Metaobject\", \"Model3d\", \"Order\", \"Page\", \"Payment\", \"Product\", \"ProductOption\", \"ProductVariant\", \"Shop\", \"ShopPolicy\", \"UrlRedirect\", \"Video\"]\n  };\n\n  var Order = {\n    \"name\": \"Order\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"currencyCode\": \"CurrencyCode\",\n      \"customerUrl\": \"URL\",\n      \"id\": \"ID\",\n      \"lineItems\": \"OrderLineItemConnection\",\n      \"orderNumber\": \"Int\",\n      \"processedAt\": \"DateTime\",\n      \"shippingAddress\": \"MailingAddress\",\n      \"subtotalPrice\": \"MoneyV2\",\n      \"totalPrice\": \"MoneyV2\",\n      \"totalRefunded\": \"MoneyV2\",\n      \"totalShippingPrice\": \"MoneyV2\",\n      \"totalTax\": \"MoneyV2\"\n    },\n    \"implementsNode\": true\n  };\n\n  var OrderLineItem = {\n    \"name\": \"OrderLineItem\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"customAttributes\": \"Attribute\",\n      \"quantity\": \"Int\",\n      \"title\": \"String\",\n      \"variant\": \"ProductVariant\"\n    },\n    \"implementsNode\": false\n  };\n\n  var OrderLineItemConnection = {\n    \"name\": \"OrderLineItemConnection\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"edges\": \"OrderLineItemEdge\",\n      \"pageInfo\": \"PageInfo\"\n    },\n    \"implementsNode\": false\n  };\n\n  var OrderLineItemEdge = {\n    \"name\": \"OrderLineItemEdge\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"cursor\": \"String\",\n      \"node\": \"OrderLineItem\"\n    },\n    \"implementsNode\": false\n  };\n\n  var PageInfo = {\n    \"name\": \"PageInfo\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"hasNextPage\": \"Boolean\",\n      \"hasPreviousPage\": \"Boolean\"\n    },\n    \"implementsNode\": false\n  };\n\n  var PaymentSettings = {\n    \"name\": \"PaymentSettings\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"enabledPresentmentCurrencies\": \"CurrencyCode\"\n    },\n    \"implementsNode\": false\n  };\n\n  var PricingPercentageValue = {\n    \"name\": \"PricingPercentageValue\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"percentage\": \"Float\"\n    },\n    \"implementsNode\": false\n  };\n\n  var PricingValue = {\n    \"name\": \"PricingValue\",\n    \"kind\": \"UNION\"\n  };\n\n  var Product = {\n    \"name\": \"Product\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"availableForSale\": \"Boolean\",\n      \"createdAt\": \"DateTime\",\n      \"description\": \"String\",\n      \"descriptionHtml\": \"HTML\",\n      \"handle\": \"String\",\n      \"id\": \"ID\",\n      \"images\": \"ImageConnection\",\n      \"onlineStoreUrl\": \"URL\",\n      \"options\": \"ProductOption\",\n      \"productType\": \"String\",\n      \"publishedAt\": \"DateTime\",\n      \"title\": \"String\",\n      \"updatedAt\": \"DateTime\",\n      \"variants\": \"ProductVariantConnection\",\n      \"vendor\": \"String\"\n    },\n    \"implementsNode\": true\n  };\n\n  var ProductConnection = {\n    \"name\": \"ProductConnection\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"edges\": \"ProductEdge\",\n      \"pageInfo\": \"PageInfo\"\n    },\n    \"implementsNode\": false\n  };\n\n  var ProductEdge = {\n    \"name\": \"ProductEdge\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"cursor\": \"String\",\n      \"node\": \"Product\"\n    },\n    \"implementsNode\": false\n  };\n\n  var ProductOption = {\n    \"name\": \"ProductOption\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"name\": \"String\",\n      \"values\": \"String\"\n    },\n    \"implementsNode\": true\n  };\n\n  var ProductVariant = {\n    \"name\": \"ProductVariant\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"availableForSale\": \"Boolean\",\n      \"compareAtPrice\": \"MoneyV2\",\n      \"id\": \"ID\",\n      \"image\": \"Image\",\n      \"price\": \"MoneyV2\",\n      \"product\": \"Product\",\n      \"selectedOptions\": \"SelectedOption\",\n      \"sku\": \"String\",\n      \"title\": \"String\",\n      \"unitPrice\": \"MoneyV2\",\n      \"unitPriceMeasurement\": \"UnitPriceMeasurement\",\n      \"weight\": \"Float\"\n    },\n    \"implementsNode\": true\n  };\n\n  var ProductVariantConnection = {\n    \"name\": \"ProductVariantConnection\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"edges\": \"ProductVariantEdge\",\n      \"pageInfo\": \"PageInfo\"\n    },\n    \"implementsNode\": false\n  };\n\n  var ProductVariantEdge = {\n    \"name\": \"ProductVariantEdge\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"cursor\": \"String\",\n      \"node\": \"ProductVariant\"\n    },\n    \"implementsNode\": false\n  };\n\n  var QueryRoot = {\n    \"name\": \"QueryRoot\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"collectionByHandle\": \"Collection\",\n      \"collections\": \"CollectionConnection\",\n      \"node\": \"Node\",\n      \"nodes\": \"Node\",\n      \"productByHandle\": \"Product\",\n      \"productRecommendations\": \"Product\",\n      \"products\": \"ProductConnection\",\n      \"shop\": \"Shop\"\n    },\n    \"implementsNode\": false\n  };\n\n  var ScriptDiscountApplication = {\n    \"name\": \"ScriptDiscountApplication\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"title\": \"String\"\n    },\n    \"implementsNode\": false\n  };\n\n  var SelectedOption = {\n    \"name\": \"SelectedOption\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"name\": \"String\",\n      \"value\": \"String\"\n    },\n    \"implementsNode\": false\n  };\n\n  var ShippingRate = {\n    \"name\": \"ShippingRate\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"handle\": \"String\",\n      \"price\": \"MoneyV2\",\n      \"title\": \"String\"\n    },\n    \"implementsNode\": false\n  };\n\n  var Shop = {\n    \"name\": \"Shop\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"description\": \"String\",\n      \"moneyFormat\": \"String\",\n      \"name\": \"String\",\n      \"paymentSettings\": \"PaymentSettings\",\n      \"primaryDomain\": \"Domain\",\n      \"privacyPolicy\": \"ShopPolicy\",\n      \"refundPolicy\": \"ShopPolicy\",\n      \"termsOfService\": \"ShopPolicy\"\n    },\n    \"implementsNode\": true\n  };\n\n  var ShopPolicy = {\n    \"name\": \"ShopPolicy\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"body\": \"String\",\n      \"id\": \"ID\",\n      \"title\": \"String\",\n      \"url\": \"URL\"\n    },\n    \"implementsNode\": true\n  };\n\n  var String$1 = {\n    \"name\": \"String\",\n    \"kind\": \"SCALAR\"\n  };\n\n  var URL = {\n    \"name\": \"URL\",\n    \"kind\": \"SCALAR\"\n  };\n\n  var UnitPriceMeasurement = {\n    \"name\": \"UnitPriceMeasurement\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"measuredType\": \"UnitPriceMeasurementMeasuredType\",\n      \"quantityUnit\": \"UnitPriceMeasurementMeasuredUnit\",\n      \"quantityValue\": \"Float\",\n      \"referenceUnit\": \"UnitPriceMeasurementMeasuredUnit\",\n      \"referenceValue\": \"Int\"\n    },\n    \"implementsNode\": false\n  };\n\n  var UnitPriceMeasurementMeasuredType = {\n    \"name\": \"UnitPriceMeasurementMeasuredType\",\n    \"kind\": \"ENUM\"\n  };\n\n  var UnitPriceMeasurementMeasuredUnit = {\n    \"name\": \"UnitPriceMeasurementMeasuredUnit\",\n    \"kind\": \"ENUM\"\n  };\n\n  var UserError = {\n    \"name\": \"UserError\",\n    \"kind\": \"OBJECT\",\n    \"fieldBaseTypes\": {\n      \"field\": \"String\",\n      \"message\": \"String\"\n    },\n    \"implementsNode\": false\n  };\n\n  var Types = {\n    types: {}\n  };\n  Types.types[\"AppliedGiftCard\"] = AppliedGiftCard;\n  Types.types[\"Attribute\"] = Attribute;\n  Types.types[\"AutomaticDiscountApplication\"] = AutomaticDiscountApplication;\n  Types.types[\"Boolean\"] = Boolean$1;\n  Types.types[\"Checkout\"] = Checkout;\n  Types.types[\"CheckoutAttributesUpdateV2Payload\"] = CheckoutAttributesUpdateV2Payload;\n  Types.types[\"CheckoutCreatePayload\"] = CheckoutCreatePayload;\n  Types.types[\"CheckoutDiscountCodeApplyV2Payload\"] = CheckoutDiscountCodeApplyV2Payload;\n  Types.types[\"CheckoutDiscountCodeRemovePayload\"] = CheckoutDiscountCodeRemovePayload;\n  Types.types[\"CheckoutEmailUpdateV2Payload\"] = CheckoutEmailUpdateV2Payload;\n  Types.types[\"CheckoutErrorCode\"] = CheckoutErrorCode;\n  Types.types[\"CheckoutGiftCardRemoveV2Payload\"] = CheckoutGiftCardRemoveV2Payload;\n  Types.types[\"CheckoutGiftCardsAppendPayload\"] = CheckoutGiftCardsAppendPayload;\n  Types.types[\"CheckoutLineItem\"] = CheckoutLineItem;\n  Types.types[\"CheckoutLineItemConnection\"] = CheckoutLineItemConnection;\n  Types.types[\"CheckoutLineItemEdge\"] = CheckoutLineItemEdge;\n  Types.types[\"CheckoutLineItemsAddPayload\"] = CheckoutLineItemsAddPayload;\n  Types.types[\"CheckoutLineItemsRemovePayload\"] = CheckoutLineItemsRemovePayload;\n  Types.types[\"CheckoutLineItemsReplacePayload\"] = CheckoutLineItemsReplacePayload;\n  Types.types[\"CheckoutLineItemsUpdatePayload\"] = CheckoutLineItemsUpdatePayload;\n  Types.types[\"CheckoutShippingAddressUpdateV2Payload\"] = CheckoutShippingAddressUpdateV2Payload;\n  Types.types[\"CheckoutUserError\"] = CheckoutUserError;\n  Types.types[\"Collection\"] = Collection;\n  Types.types[\"CollectionConnection\"] = CollectionConnection;\n  Types.types[\"CollectionEdge\"] = CollectionEdge;\n  Types.types[\"CountryCode\"] = CountryCode;\n  Types.types[\"CurrencyCode\"] = CurrencyCode;\n  Types.types[\"DateTime\"] = DateTime;\n  Types.types[\"Decimal\"] = Decimal;\n  Types.types[\"DiscountAllocation\"] = DiscountAllocation;\n  Types.types[\"DiscountApplication\"] = DiscountApplication;\n  Types.types[\"DiscountApplicationAllocationMethod\"] = DiscountApplicationAllocationMethod;\n  Types.types[\"DiscountApplicationConnection\"] = DiscountApplicationConnection;\n  Types.types[\"DiscountApplicationEdge\"] = DiscountApplicationEdge;\n  Types.types[\"DiscountApplicationTargetSelection\"] = DiscountApplicationTargetSelection;\n  Types.types[\"DiscountApplicationTargetType\"] = DiscountApplicationTargetType;\n  Types.types[\"DiscountCodeApplication\"] = DiscountCodeApplication;\n  Types.types[\"Domain\"] = Domain;\n  Types.types[\"Float\"] = Float;\n  Types.types[\"HTML\"] = HTML;\n  Types.types[\"ID\"] = ID;\n  Types.types[\"Image\"] = Image;\n  Types.types[\"ImageConnection\"] = ImageConnection;\n  Types.types[\"ImageEdge\"] = ImageEdge;\n  Types.types[\"Int\"] = Int;\n  Types.types[\"MailingAddress\"] = MailingAddress;\n  Types.types[\"ManualDiscountApplication\"] = ManualDiscountApplication;\n  Types.types[\"MoneyV2\"] = MoneyV2;\n  Types.types[\"Mutation\"] = Mutation$1;\n  Types.types[\"Node\"] = Node;\n  Types.types[\"Order\"] = Order;\n  Types.types[\"OrderLineItem\"] = OrderLineItem;\n  Types.types[\"OrderLineItemConnection\"] = OrderLineItemConnection;\n  Types.types[\"OrderLineItemEdge\"] = OrderLineItemEdge;\n  Types.types[\"PageInfo\"] = PageInfo;\n  Types.types[\"PaymentSettings\"] = PaymentSettings;\n  Types.types[\"PricingPercentageValue\"] = PricingPercentageValue;\n  Types.types[\"PricingValue\"] = PricingValue;\n  Types.types[\"Product\"] = Product;\n  Types.types[\"ProductConnection\"] = ProductConnection;\n  Types.types[\"ProductEdge\"] = ProductEdge;\n  Types.types[\"ProductOption\"] = ProductOption;\n  Types.types[\"ProductVariant\"] = ProductVariant;\n  Types.types[\"ProductVariantConnection\"] = ProductVariantConnection;\n  Types.types[\"ProductVariantEdge\"] = ProductVariantEdge;\n  Types.types[\"QueryRoot\"] = QueryRoot;\n  Types.types[\"ScriptDiscountApplication\"] = ScriptDiscountApplication;\n  Types.types[\"SelectedOption\"] = SelectedOption;\n  Types.types[\"ShippingRate\"] = ShippingRate;\n  Types.types[\"Shop\"] = Shop;\n  Types.types[\"ShopPolicy\"] = ShopPolicy;\n  Types.types[\"String\"] = String$1;\n  Types.types[\"URL\"] = URL;\n  Types.types[\"UnitPriceMeasurement\"] = UnitPriceMeasurement;\n  Types.types[\"UnitPriceMeasurementMeasuredType\"] = UnitPriceMeasurementMeasuredType;\n  Types.types[\"UnitPriceMeasurementMeasuredUnit\"] = UnitPriceMeasurementMeasuredUnit;\n  Types.types[\"UserError\"] = UserError;\n  Types.queryType = \"QueryRoot\";\n  Types.mutationType = \"Mutation\";\n  Types.subscriptionType = null;\n\n  function recursivelyFreezeObject(structure) {\n    Object.getOwnPropertyNames(structure).forEach(function (key) {\n      var value = structure[key];\n      if (value && (typeof value === \"undefined\" ? \"undefined\" : _typeof(value)) === 'object') {\n        recursivelyFreezeObject(value);\n      }\n    });\n    Object.freeze(structure);\n    return structure;\n  }\n\n  var types = recursivelyFreezeObject(Types);\n\n  // GraphQL\n  /**\n   * The JS Buy SDK Client.\n   * @class\n   *\n   * @property {ProductResource} product The property under which product fetching methods live.\n   * @property {CollectionResource} collection The property under which collection fetching methods live.\n   * @property {ShopResource} shop The property under which shop fetching methods live.\n   * @property {CheckoutResource} checkout The property under which shop fetching and mutating methods live.\n   * @property {ImageResource} image The property under which image helper methods live.\n   */\n\n  var Client = function () {\n    createClass$1(Client, null, [{\n      key: 'buildClient',\n\n\n      /**\n       * Primary entry point for building a new Client.\n       */\n      value: function buildClient(config, fetchFunction) {\n        var newConfig = new Config(config);\n        var client = new Client(newConfig, Client$2, fetchFunction);\n\n        client.config = newConfig;\n\n        return client;\n      }\n\n      /**\n       * @constructs Client\n       * @param {Config} config An instance of {@link Config} used to configure the Client.\n       */\n\n    }]);\n\n    function Client(config) {\n      var GraphQLClientClass = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Client$2;\n      var fetchFunction = arguments[2];\n      classCallCheck$1(this, Client);\n\n      var url = 'https://' + config.domain + '/api/' + config.apiVersion + '/graphql';\n\n      var headers = {\n        'X-SDK-Variant': 'javascript',\n        'X-SDK-Version': version,\n        'X-Shopify-Storefront-Access-Token': config.storefrontAccessToken\n      };\n\n      if (config.source) {\n        headers['X-SDK-Variant-Source'] = config.source;\n      }\n\n      var languageHeader = config.language ? config.language : '*';\n\n      headers['Accept-Language'] = languageHeader;\n\n      if (fetchFunction) {\n        headers['Content-Type'] = 'application/json';\n        headers.Accept = 'application/json';\n\n        this.graphQLClient = new GraphQLClientClass(types, {\n          fetcher: function fetcher(graphQLParams) {\n            return fetchFunction(url, {\n              body: JSON.stringify(graphQLParams),\n              method: 'POST',\n              mode: 'cors',\n              headers: headers\n            }).then(function (response) {\n              return response.json();\n            });\n          }\n        });\n      } else {\n        this.graphQLClient = new GraphQLClientClass(types, {\n          url: url,\n          fetcherOptions: { headers: headers }\n        });\n      }\n\n      this.product = new ProductResource(this.graphQLClient);\n      this.collection = new CollectionResource(this.graphQLClient);\n      this.shop = new ShopResource(this.graphQLClient);\n      this.checkout = new CheckoutResource(this.graphQLClient);\n      this.image = new ImageResource(this.graphQLClient);\n    }\n\n    /**\n     * Fetches the next page of models\n     *\n     * @example\n     * client.fetchNextPage(products).then((nextProducts) => {\n     *   // Do something with the products\n     * });\n     *\n     * @param {models} [Array] The paginated set to fetch the next page of\n     * @return {Promise|GraphModel[]} A promise resolving with an array of `GraphModel`s of the type provided.\n     */\n\n\n    createClass$1(Client, [{\n      key: 'fetchNextPage',\n      value: function fetchNextPage(models) {\n        return this.graphQLClient.fetchNextPage(models);\n      }\n    }]);\n    return Client;\n  }();\n\n  var shopifyBuy = Client;\n\n  function merge(target) {\n    for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      sources[_key - 1] = arguments[_key];\n    }\n\n    sources.forEach(function (source) {\n      if (source) {\n        Object.keys(source).forEach(function (key) {\n          if (Object.prototype.toString.call(source[key]) === '[object Object]') {\n            target[key] = merge(target[key] || {}, source[key]);\n          } else {\n            target[key] = source[key];\n          }\n        });\n      }\n    });\n    return target;\n  }\n\n  function isFunction(obj) {\n    return !!(obj && obj.constructor && obj.call && obj.apply);\n  }\n\n  var quantityTemplate = \"<div class=\\\"{{data.classes.product.quantity}} {{data.quantityClass}}\\\" data-element=\\\"product.quantity\\\">\\n            {{#data.contents.quantityDecrement}}\\n              <button class=\\\"{{data.classes.product.quantityButton}} {{data.classes.product.quantityDecrement}}\\\" type=\\\"button\\\" data-element=\\\"product.quantityDecrement\\\"><span>-</span><span class=\\\"visuallyhidden\\\">Decrement</span></button>\\n            {{/data.contents.quantityDecrement}}\\n            {{#data.contents.quantityInput}}\\n              <input class=\\\"{{data.classes.product.quantityInput}}\\\" type=\\\"number\\\" min=\\\"0\\\" aria-label=\\\"Quantity\\\" value=\\\"{{data.selectedQuantity}}\\\" data-element=\\\"product.quantityInput\\\">\\n            {{/data.contents.quantityInput}}\\n            {{#data.contents.quantityIncrement}}\\n              <button class=\\\"{{data.classes.product.quantityButton}} {{data.classes.product.quantityIncrement}}\\\" type=\\\"button\\\" data-element=\\\"product.quantityIncrement\\\"><span>+</span><span class=\\\"visuallyhidden\\\">Increment</span></button>\\n            {{/data.contents.quantityIncrement}}\\n           </div>\";\n  var buttonTemplate = '<div class=\"{{data.classes.product.buttonWrapper}}\" data-element=\"product.buttonWrapper\"><button {{#data.buttonDisabled}}disabled{{/data.buttonDisabled}} class=\"{{data.classes.product.button}} {{data.buttonClass}}\" data-element=\"product.button\">{{data.buttonText}}</button></div>';\n  var productTemplate = {\n    img: '{{#data.currentImage.srcLarge}}<div class=\"{{data.classes.product.imgWrapper}}\" data-element=\"product.imgWrapper\"><img alt=\"{{data.currentImage.altText}}\" data-element=\"product.img\" class=\"{{data.classes.product.img}}\" src=\"{{data.currentImage.srcLarge}}\" /></div>{{/data.currentImage.srcLarge}}',\n    imgWithCarousel: \"<div class=\\\"{{data.classes.product.imgWrapper}}\\\" data-element=\\\"product.imageWrapper\\\">\\n                      <div class=\\\"main-image-wrapper\\\">\\n                        <button type=\\\"button\\\" class=\\\"carousel-button carousel-button--previous\\\">\\n                          Left\\n                          <img class=\\\"carousel-button-arrow\\\" src=\\\"//sdks.shopifycdn.com/buy-button/latest/arrow.svg\\\" alt=\\\"Carousel Arrow\\\"/>\\n                        </button>\\n                        <img class=\\\"{{data.classes.product.img}}\\\" alt=\\\"{{data.currentImage.altText}}\\\" src=\\\"{{data.currentImage.src}}\\\" data-element=\\\"product.img\\\" />\\n                        <button type=\\\"button\\\" class=\\\"carousel-button carousel-button--next\\\">\\n                          Right\\n                          <img class=\\\"carousel-button-arrow\\\" src=\\\"//sdks.shopifycdn.com/buy-button/latest/arrow.svg\\\" alt=\\\"Carousel Arrow\\\"/>\\n                        </button>\\n                      </div>\\n                      <div class=\\\"{{data.classes.product.carousel}}\\\">\\n                        {{#data.carouselImages}}\\n                        <a data-element=\\\"product.carouselitem\\\" aria-label=\\\"{{altText}}\\\" href=\\\"{{src}}\\\" class=\\\"{{data.classes.product.carouselItem}} {{#isSelected}} {{data.classes.product.carouselItemSelected}} {{/isSelected}}\\\" data-image-id=\\\"{{id}}\\\" style=\\\"background-image: url({{carouselSrc}})\\\"></a>\\n                        {{/data.carouselImages}}\\n                      </div>\\n                    </div>\",\n    title: '<h1 class=\"{{data.classes.product.title}}\" data-element=\"product.title\">{{data.title}}</h1>',\n    variantTitle: '{{#data.hasVariants}}<h2 class=\"{{data.classes.product.variantTitle}}\" data-element=\"product.variantTitle\">{{data.selectedVariant.title}}</h2>{{/data.hasVariants}}',\n    options: '{{#data.hasVariants}}<div class=\"{{data.classes.product.options}}\" data-element=\"product.options\">{{{data.optionsHtml}}}</div>{{/data.hasVariants}}',\n    price: \"<div class=\\\"{{data.classes.product.prices}}\\\" data-element=\\\"product.prices\\\">\\n            {{#data.selectedVariant}}\\n            <span class=\\\"visuallyhidden\\\">{{data.priceAccessibilityLabel}}&nbsp;</span>\\n            <span class=\\\"{{data.classes.product.price}} {{data.priceClass}}\\\" data-element=\\\"product.price\\\">{{data.formattedPrice}}</span>\\n            {{#data.hasCompareAtPrice}}\\n            <span class=\\\"visuallyhidden\\\">{{data.compareAtPriceAccessibilityLabel}}&nbsp;</span>\\n            <span class=\\\"{{data.classes.product.compareAt}}\\\" data-element=\\\"product.compareAt\\\">{{data.formattedCompareAtPrice}}</span>\\n            {{/data.hasCompareAtPrice}}\\n            {{#data.showUnitPrice}}\\n            <div class=\\\"{{data.classes.product.unitPrice}}\\\" data-element=\\\"product.unitPrice\\\">\\n              <span class=\\\"visuallyhidden\\\">{{data.text.unitPriceAccessibilityLabel}}</span>\\n              {{data.formattedUnitPrice}}<span aria-hidden=\\\"true\\\">/</span><span class=\\\"visuallyhidden\\\">&nbsp;{{data.text.unitPriceAccessibilitySeparator}}&nbsp;</span>{{data.formattedUnitPriceBaseUnit}}\\n            </div>\\n            {{/data.showUnitPrice}}\\n            {{/data.selectedVariant}}\\n          </div>\",\n    description: '<div class=\"{{data.classes.product.description}}\" data-element=\"product.description\">{{{data.descriptionHtml}}}</div>',\n    button: buttonTemplate,\n    quantity: quantityTemplate,\n    buttonWithQuantity: \"<div class=\\\"{{data.classes.product.buttonWithQuantity}}\\\" data-element=\\\"product.buttonWithQuantity\\\">\".concat(quantityTemplate).concat(buttonTemplate, \"</div>\")\n  };\n\n  var cartTemplates = {\n    title: \"<div class=\\\"{{data.classes.cart.header}}\\\" data-element=\\\"cart.header\\\">\\n            <h2 class=\\\"{{data.classes.cart.title}}\\\" data-element=\\\"cart.title\\\">{{data.text.title}}</h2>\\n            <button class=\\\"{{data.classes.cart.close}}\\\" data-element=\\\"cart.close\\\">\\n              <span aria-hidden=\\\"true\\\">&times;</span>\\n              <span class=\\\"visuallyhidden\\\">{{data.text.closeAccessibilityLabel}}</span>\\n             </button>\\n          </div>\",\n    lineItems: \"<div class=\\\"{{data.classes.cart.cartScroll}}{{#data.contents.note}} {{data.classes.cart.cartScrollWithCartNote}}{{/data.contents.note}}{{#data.discounts}} {{data.classes.cart.cartScrollWithDiscounts}}{{/data.discounts}}\\\" data-element=\\\"cart.cartScroll\\\">\\n                {{#data.isEmpty}}<p class=\\\"{{data.classes.cart.empty}} {{data.classes.cart.emptyCart}}\\\" data-element=\\\"cart.empty\\\">{{data.text.empty}}</p>{{/data.isEmpty}}\\n                <ul role=\\\"list\\\" class=\\\"{{data.classes.cart.lineItems}}\\\" data-element=\\\"cart.lineItems\\\">{{{data.lineItemsHtml}}}</ul>\\n              </div>\",\n    footer: \"{{^data.isEmpty}}\\n            <div class=\\\"{{data.classes.cart.footer}}\\\" data-element=\\\"cart.footer\\\">\\n              {{#data.discounts}}\\n                <div class=\\\"{{data.classes.cart.discount}}\\\" data-element=\\\"cart.discount\\\">\\n                  <span class=\\\"{{data.classes.cart.discountText}}\\\" data-element=\\\"cart.discountText\\\">\\n                    <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\" class=\\\"{{data.classes.cart.discountIcon}}\\\" data-element=\\\"cart.discountIcon\\\" aria-hidden=\\\"true\\\">\\n                      <path d=\\\"M10.001 2.99856C9.80327 2.99856 9.61002 2.93994 9.44565 2.83011C9.28128 2.72029 9.15317 2.56418 9.07752 2.38155C9.00187 2.19891 8.98207 1.99794 9.02064 1.80405C9.05921 1.61016 9.1544 1.43207 9.29419 1.29228C9.43397 1.1525 9.61207 1.0573 9.80596 1.01874C9.99984 0.980171 10.2008 0.999965 10.3834 1.07562C10.5661 1.15127 10.7222 1.27938 10.832 1.44375C10.9418 1.60812 11.0005 1.80136 11.0005 1.99905C11.0005 2.26414 10.8952 2.51837 10.7077 2.70581C10.5203 2.89326 10.266 2.99856 10.001 2.99856ZM10.001 1.67062e-05H7.0024C6.87086 -0.000743818 6.74046 0.024469 6.61868 0.0742095C6.49691 0.12395 6.38614 0.19724 6.29275 0.289876L0.295655 6.28697C0.201972 6.37989 0.127614 6.49044 0.0768697 6.61224C0.0261256 6.73404 0 6.86468 0 6.99663C0 7.12857 0.0261256 7.25922 0.0768697 7.38102C0.127614 7.50282 0.201972 7.61336 0.295655 7.70628L4.29372 11.7043C4.38664 11.798 4.49718 11.8724 4.61898 11.9231C4.74078 11.9739 4.87143 12 5.00337 12C5.13532 12 5.26596 11.9739 5.38776 11.9231C5.50956 11.8724 5.62011 11.798 5.71303 11.7043C5.90294 11.5044 11.5102 5.89716 11.7101 5.70725C11.8028 5.61386 11.876 5.50309 11.9258 5.38132C11.9755 5.25954 12.0007 5.12914 12 4.99759V1.99905C12 1.46887 11.7894 0.96041 11.4145 0.585519C11.0396 0.210628 10.5311 1.67062e-05 10.001 1.67062e-05Z\\\" />\\n                    </svg>\\n                    <span class=\\\"visuallyhidden\\\">Discount:</span>\\n                    {{text}}\\n                  </span>\\n                  <span class=\\\"{{data.classes.cart.discountAmount}}\\\" data-element=\\\"cart.discountAmount\\\">{{amount}}</span>\\n                </div>\\n              {{/data.discounts}}\\n              <p class=\\\"{{data.classes.cart.subtotalText}}\\\" data-element=\\\"cart.total\\\">{{data.text.total}}</p>\\n              <p class=\\\"{{data.classes.cart.subtotal}}\\\" data-element=\\\"cart.subtotal\\\">{{data.formattedTotal}}</p>\\n              {{#data.contents.note}}\\n                <div class=\\\"{{data.classes.cart.note}}\\\" data-element=\\\"cart.note\\\">\\n                  <label for=\\\"{{data.cartNoteId}}\\\" class=\\\"{{data.classes.cart.noteDescription}}\\\" data-element=\\\"cart.noteDescription\\\">{{data.text.noteDescription}}</label>\\n                  <textarea id=\\\"{{data.cartNoteId}}\\\" class=\\\"{{data.classes.cart.noteTextArea}}\\\" data-element=\\\"cart.noteTextArea\\\" rows=\\\"3\\\"/>{{data.cartNote}}</textarea>\\n                </div>\\n              {{/data.contents.note}}\\n              <p class=\\\"{{data.classes.cart.notice}}\\\" data-element=\\\"cart.notice\\\">{{data.text.notice}}</p>\\n              <button class=\\\"{{data.classes.cart.button}}\\\" type=\\\"button\\\" data-element=\\\"cart.button\\\">{{data.text.button}}</button>\\n            </div>\\n           {{/data.isEmpty}}\"\n  };\n\n  var optionTemplates = {\n    option: \"<div class=\\\"{{data.classes.option.option}}\\\" data-element=\\\"option.option\\\">\\n    <label for=\\\"{{data.selectId}}\\\" class=\\\"{{data.classes.option.label}} {{#data.onlyOption}}{{data.classes.option.hiddenLabel}}{{/data.onlyOption}}\\\" data-element=\\\"option.label\\\">{{data.name}}</label>\\n      <div class=\\\"{{data.classes.option.wrapper}}\\\" data-element=\\\"option.wrapper\\\">\\n      <select id=\\\"{{data.selectId}}\\\" class=\\\"{{data.classes.option.select}}\\\" name=\\\"{{data.name}}\\\" data-element=\\\"option.select\\\">\\n        {{#data.values}}\\n          <option {{#selected}}selected{{/selected}} value=\\\"{{name}}\\\">{{name}}</option>\\n        {{/data.values}}\\n      </select>\\n      <svg class=\\\"{{data.classes.option.selectIcon}}\\\" data-element=\\\"option.selectIcon\\\" viewBox=\\\"0 0 24 24\\\"><path d=\\\"M21 5.176l-9.086 9.353L3 5.176.686 7.647 12 19.382 23.314 7.647 21 5.176z\\\"></path></svg>\\n    </div>\\n  </div>\"\n  };\n\n  var toggleTemplates = {\n    title: '<h5 class=\"{{data.classes.toggle.title}}\" data-element=\"toggle.title\">{{data.text.title}}</h5>',\n    icon: '<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"{{data.classes.toggle.icon}}\" data-element=\"toggle.icon\" viewBox=\"0 0 25 25\" enable-background=\"new 0 0 25 25\"><g class=\"{{data.classes.toggle.iconPath}}\"><path d=\"M24.6 3.6c-.3-.4-.8-.6-1.3-.6h-18.4l-.1-.5c-.3-1.5-1.7-1.5-2.5-1.5h-1.3c-.6 0-1 .4-1 1s.4 1 1 1h1.8l3 13.6c.2 1.2 1.3 2.4 2.5 2.4h12.7c.6 0 1-.4 1-1s-.4-1-1-1h-12.7c-.2 0-.5-.4-.6-.8l-.2-1.2h12.6c1.3 0 2.3-1.4 2.5-2.4l2.4-7.4v-.2c.1-.5-.1-1-.4-1.4zm-4 8.5v.2c-.1.3-.4.8-.5.8h-13l-1.8-8.1h17.6l-2.3 7.1z\"/><circle cx=\"9\" cy=\"22\" r=\"2\"/><circle cx=\"19\" cy=\"22\" r=\"2\"/></g></svg>',\n    count: '<div class=\"{{data.classes.toggle.count}}\" data-element=\"toggle.count\">{{data.count}}</div>'\n  };\n\n  var lineItemTemplates = {\n    image: '<div class=\"{{data.classes.lineItem.image}}\" style=\"background-image: url({{data.lineItemImage}})\" data-element=\"lineItem.image\"></div>',\n    variantTitle: '<div class=\"{{data.classes.lineItem.variantTitle}}\" data-element=\"lineItem.variantTitle\">{{data.variantTitle}}</div>',\n    title: '<span class=\"{{data.classes.lineItem.itemTitle}}\" data-element=\"lineItem.itemTitle\">{{data.title}}</span>',\n    price: '<span class=\"{{data.classes.lineItem.price}}\" data-element=\"lineItem.price\">{{data.formattedPrice}}</span>',\n    priceWithDiscounts: \"<div class=\\\"{{data.classes.lineItem.priceWithDiscounts}}\\\" data-element=\\\"lineItem.price\\\">\\n                        {{#data.formattedFullPrice}}\\n                          <span class=\\\"visuallyhidden\\\">Regular price</span>\\n                          <del class=\\\"{{data.classes.lineItem.fullPrice}}\\\" data-element=\\\"lineItem.fullPrice\\\">{{data.formattedFullPrice}}</del>\\n                          <span class=\\\"visuallyhidden\\\">Sale price</span>\\n                        {{/data.formattedFullPrice}}\\n                        <div class=\\\"{{data.classes.lineItem.price}}\\\" data-element=\\\"lineItem.price\\\">{{data.formattedActualPrice}}</div>\\n                        {{#data.discounts}}\\n                          <div class=\\\"{{data.classes.lineItem.discount}}\\\" data-element=\\\"lineItem.discount\\\">\\n                            <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 12 12\\\" class=\\\"{{data.classes.lineItem.discountIcon}}\\\" data-element=\\\"lineItem.discountIcon\\\" aria-hidden=\\\"true\\\">\\n                              <path d=\\\"M10.001 2.99856C9.80327 2.99856 9.61002 2.93994 9.44565 2.83011C9.28128 2.72029 9.15317 2.56418 9.07752 2.38155C9.00187 2.19891 8.98207 1.99794 9.02064 1.80405C9.05921 1.61016 9.1544 1.43207 9.29419 1.29228C9.43397 1.1525 9.61207 1.0573 9.80596 1.01874C9.99984 0.980171 10.2008 0.999965 10.3834 1.07562C10.5661 1.15127 10.7222 1.27938 10.832 1.44375C10.9418 1.60812 11.0005 1.80136 11.0005 1.99905C11.0005 2.26414 10.8952 2.51837 10.7077 2.70581C10.5203 2.89326 10.266 2.99856 10.001 2.99856ZM10.001 1.67062e-05H7.0024C6.87086 -0.000743818 6.74046 0.024469 6.61868 0.0742095C6.49691 0.12395 6.38614 0.19724 6.29275 0.289876L0.295655 6.28697C0.201972 6.37989 0.127614 6.49044 0.0768697 6.61224C0.0261256 6.73404 0 6.86468 0 6.99663C0 7.12857 0.0261256 7.25922 0.0768697 7.38102C0.127614 7.50282 0.201972 7.61336 0.295655 7.70628L4.29372 11.7043C4.38664 11.798 4.49718 11.8724 4.61898 11.9231C4.74078 11.9739 4.87143 12 5.00337 12C5.13532 12 5.26596 11.9739 5.38776 11.9231C5.50956 11.8724 5.62011 11.798 5.71303 11.7043C5.90294 11.5044 11.5102 5.89716 11.7101 5.70725C11.8028 5.61386 11.876 5.50309 11.9258 5.38132C11.9755 5.25954 12.0007 5.12914 12 4.99759V1.99905C12 1.46887 11.7894 0.96041 11.4145 0.585519C11.0396 0.210628 10.5311 1.67062e-05 10.001 1.67062e-05Z\\\" />\\n                            </svg>\\n                            <span class=\\\"visuallyhidden\\\">Discount:</span>\\n                            {{discount}}\\n                          </div>\\n                        {{/data.discounts}}\\n                      </div>\",\n    quantity: \"<div class=\\\"{{data.classes.lineItem.quantity}}\\\" data-element=\\\"lineItem.quantity\\\">\\n              <button class=\\\"{{data.classes.lineItem.quantityButton}} {{data.classes.lineItem.quantityDecrement}}\\\" type=\\\"button\\\" data-line-item-id=\\\"{{data.id}}\\\" data-element=\\\"lineItem.quantityDecrement\\\">\\n                <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M4 7h8v2H4z\\\"/></svg><span class=\\\"visuallyhidden\\\">{{data.text.quantityDecrementAccessibilityLabel}}</span>\\n              </button>\\n              <input class=\\\"{{data.classes.lineItem.quantityInput}}\\\" type=\\\"number\\\" min=\\\"0\\\" aria-label=\\\"{{data.text.quantityInputAccessibilityLabel}}\\\" data-line-item-id=\\\"{{data.id}}\\\" value=\\\"{{data.quantity}}\\\" data-element=\\\"lineItem.quantityInput\\\">\\n              <button class=\\\"{{data.classes.lineItem.quantityButton}} {{data.classes.lineItem.quantityIncrement}}\\\" type=\\\"button\\\" data-line-item-id=\\\"{{data.id}}\\\" data-element=\\\"lineItem.quantityIncrement\\\">\\n                <svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path d=\\\"M12 7H9V4H7v3H4v2h3v3h2V9h3z\\\"/></svg><span class=\\\"visuallyhidden\\\">{{data.text.quantityIncrementAccessibilityLabel}}</span>\\n              </button>\\n            </div>\"\n  };\n\n  var modalTemplates = {\n    contents: \"\\n              <button class=\\\"{{data.classes.modal.close}}\\\" data-element=\\\"modal.close\\\">\\n                <span aria-role=\\\"hidden\\\">&times;</span>\\n                <span class=\\\"visuallyhidden\\\">Close</span>\\n              </button>\\n            \"\n  };\n\n  var defaults = {\n    product: {\n      iframe: true,\n      buttonDestination: 'cart',\n      isButton: false,\n      layout: 'vertical',\n      manifest: ['product', 'option'],\n      width: '280px',\n      order: ['img', 'imgWithCarousel', 'title', 'variantTitle', 'price', 'options', 'quantity', 'button', 'buttonWithQuantity', 'description'],\n      contents: {\n        img: true,\n        imgWithCarousel: false,\n        title: true,\n        variantTitle: false,\n        price: true,\n        unitPrice: true,\n        options: true,\n        quantity: false,\n        quantityIncrement: false,\n        quantityDecrement: false,\n        quantityInput: true,\n        button: true,\n        buttonWithQuantity: false,\n        description: false\n      },\n      templates: productTemplate,\n      classes: {\n        wrapper: 'shopify-buy__product-wrapper',\n        product: 'shopify-buy__product',\n        img: 'shopify-buy__product__variant-img',\n        imgWrapper: 'shopify-buy__product-img-wrapper',\n        carousel: 'shopify-buy__carousel',\n        carouselNext: 'carousel-button--next',\n        carouselPrevious: 'carousel-button--previous',\n        carouselItem: 'shopify-buy__carousel-item',\n        carouselItemSelected: 'shopify-buy__carousel-item--selected',\n        blockButton: 'shopify-buy__btn--parent',\n        button: 'shopify-buy__btn',\n        buttonWrapper: 'shopify-buy__btn-wrapper',\n        title: 'shopify-buy__product__title',\n        prices: 'shopify-buy__product__price',\n        price: 'shopify-buy__product__actual-price',\n        compareAt: 'shopify-buy__product__compare-price',\n        unitPrice: 'shopify-buy__product__unit-price',\n        loweredPrice: 'shopify-buy__price--lowered',\n        variantTitle: 'shopify-buy__product__variant-title',\n        description: 'shopify-buy__product-description',\n        options: 'shopify-buy__product__variant-selectors',\n        disabled: 'shopify-buy__btn-disabled',\n        buttonBesideQty: 'shopify-buy__beside-quantity',\n        quantity: 'shopify-buy__quantity-container',\n        quantityInput: 'shopify-buy__quantity',\n        quantityButton: 'shopify-buy__btn--seamless',\n        quantityIncrement: 'shopify-buy__quantity-increment',\n        quantityDecrement: 'shopify-buy__quantity-decrement',\n        buttonWithQuantity: 'shopify-buy__btn-and-quantity',\n        quantityWithButtons: 'shopify-buy__quantity-with-btns',\n        vertical: 'shopify-buy__layout-vertical',\n        horizontal: 'shopify-buy__layout-horizontal'\n      },\n      text: {\n        button: 'ADD TO CART',\n        outOfStock: 'Out of stock',\n        unavailable: 'Unavailable',\n        unitPriceAccessibilityLabel: 'Unit price',\n        unitPriceAccessibilitySeparator: 'per',\n        regularPriceAccessibilityLabel: 'Regular price',\n        salePriceAccessibilityLabel: 'Sale price'\n      }\n    },\n    modalProduct: {\n      iframe: false,\n      layout: 'horizontal',\n      contents: {\n        img: true,\n        imgWithCarousel: false,\n        title: true,\n        variantTitle: false,\n        price: true,\n        unitPrice: true,\n        options: true,\n        button: true,\n        buttonWithQuantity: false,\n        quantity: false,\n        quantityIncrement: false,\n        quantityDecrement: false,\n        description: true\n      },\n      order: ['img', 'imgWithCarousel', 'title', 'variantTitle', 'price', 'options', 'buttonWithQuantity', 'button', 'description'],\n      classes: {\n        wrapper: 'shopify-buy__modal-product-wrapper',\n        hasImage: 'has-image'\n      },\n      buttonDestination: 'cart',\n      text: {\n        button: 'ADD TO CART'\n      }\n    },\n    modal: {\n      iframe: true,\n      manifest: ['modal', 'product', 'option'],\n      classes: {\n        overlay: 'shopify-buy__modal-overlay',\n        modal: 'shopify-buy__modal',\n        contents: 'shopify-buy__modal-contents',\n        close: 'shopify-buy__btn--close',\n        wrapper: 'shopify-buy__modal-wrapper',\n        product: 'shopify-buy__product-modal',\n        img: 'shopify-buy__modal-img',\n        imgWithCarousel: 'shopify-buy__modal-img',\n        footer: 'shopify-buy__modal-footer',\n        footerWithImg: 'shopify-buy__modal-footer--has-img',\n        imgWithImg: 'shopify-buy__modal-img--has-img',\n        contentsWithImg: 'shopify-buy__modal-contents--has-img',\n        scrollContents: 'shopify-buy__modal-scroll-contents'\n      },\n      contents: {\n        contents: true\n      },\n      order: ['contents'],\n      templates: modalTemplates\n    },\n    productSet: {\n      iframe: true,\n      manifest: ['product', 'option', 'productSet'],\n      contents: {\n        title: false,\n        products: true,\n        pagination: true\n      },\n      order: ['title', 'products', 'pagination'],\n      templates: {\n        title: '<h2 class=\"{{data.classes.productSet.title}}\">{{data.collection.attrs.title}}</h2>',\n        products: '<div class=\"{{data.classes.productSet.products}}\"></div>',\n        pagination: '<button class=\"{{data.classes.productSet.paginationButton}} {{data.nextButtonClass}}\">{{data.text.nextPageButton}}</button>'\n      },\n      classes: {\n        wrapper: 'shopify-buy__collection-wrapper',\n        productSet: 'shopify-buy__collection',\n        title: 'shopify-buy__collection__title',\n        collection: 'shopify-buy__collection',\n        products: 'shopify-buy__collection-products',\n        product: 'shopify-buy__collection-product',\n        paginationButton: 'shopify-buy__collection-pagination-button shopify-buy__btn'\n      },\n      text: {\n        nextPageButton: 'Next page'\n      }\n    },\n    option: {\n      templates: optionTemplates,\n      contents: {\n        option: true\n      },\n      order: ['option'],\n      classes: {\n        option: 'shopify-buy__option-select',\n        wrapper: 'shopify-buy__option-select-wrapper',\n        select: 'shopify-buy__option-select__select',\n        label: 'shopify-buy__option-select__label',\n        optionDisabled: 'shopify-buy__option--disabled',\n        optionSelected: 'shopify-buy__option--selected',\n        selectIcon: 'shopify-buy__select-icon',\n        hiddenLabel: 'visuallyhidden'\n      }\n    },\n    cart: {\n      iframe: true,\n      templates: cartTemplates,\n      startOpen: false,\n      popup: true,\n      manifest: ['cart', 'lineItem', 'toggle'],\n      contents: {\n        title: true,\n        lineItems: true,\n        footer: true,\n        note: false,\n        discounts: true\n      },\n      order: ['title', 'lineItems', 'footer'],\n      classes: {\n        wrapper: 'shopify-buy__cart-wrapper',\n        cart: 'shopify-buy__cart',\n        header: 'shopify-buy__cart__header',\n        title: 'shopify-buy__cart__title',\n        lineItems: 'shopify-buy__cart-items',\n        footer: 'shopify-buy__cart-bottom',\n        discount: 'shopify-buy__cart__discount',\n        discountText: 'shopify-buy__cart__discount__text',\n        discountIcon: 'shopify-buy__cart__discount__text__icon',\n        discountAmount: 'shopify-buy__cart__discount__amount',\n        subtotalText: 'shopify-buy__cart__subtotal__text',\n        subtotal: 'shopify-buy__cart__subtotal__price',\n        notice: 'shopify-buy__cart__notice',\n        currency: 'shopify-buy__cart__currency',\n        button: 'shopify-buy__btn shopify-buy__btn--cart-checkout',\n        close: 'shopify-buy__btn--close',\n        cartScroll: 'shopify-buy__cart-scroll',\n        cartScrollWithDiscounts: 'shopify-buy__cart-scroll--discounts',\n        cartScrollWithCartNote: 'shopify-buy__cart-scroll--cart-note',\n        empty: 'shopify-buy__cart-empty-text',\n        note: 'shopify-buy__cart__note',\n        noteDescription: 'shopify-buy__cart__note__description',\n        noteTextArea: 'shopify-buy__cart__note__text-area'\n      },\n      text: {\n        title: 'Cart',\n        empty: 'Your cart is empty.',\n        button: 'CHECKOUT',\n        total: 'SUBTOTAL',\n        currency: 'CAD',\n        notice: 'Shipping and discount codes are added at checkout.',\n        noteDescription: 'Special instructions for seller',\n        closeAccessibilityLabel: 'Close cart'\n      }\n    },\n    lineItem: {\n      templates: lineItemTemplates,\n      contents: {\n        image: true,\n        variantTitle: true,\n        title: true,\n        price: false,\n        priceWithDiscounts: true,\n        quantity: true,\n        quantityIncrement: true,\n        quantityDecrement: true,\n        quantityInput: true\n      },\n      order: ['image', 'title', 'variantTitle', 'price', 'priceWithDiscounts', 'quantity'],\n      classes: {\n        lineItem: 'shopify-buy__cart-item',\n        image: 'shopify-buy__cart-item__image',\n        variantTitle: 'shopify-buy__cart-item__variant-title',\n        itemTitle: 'shopify-buy__cart-item__title',\n        price: 'shopify-buy__cart-item__price',\n        priceWithDiscounts: 'shopify-buy__cart-item__price-and-discounts',\n        fullPrice: 'shopify-buy__cart-item__full-price',\n        discount: 'shopify-buy__cart-item__discount',\n        discountIcon: 'shopify-buy__cart-item__discount__icon',\n        quantity: 'shopify-buy__quantity-container clearfix',\n        quantityInput: 'shopify-buy__quantity shopify-buy__cart-item__quantity-input',\n        quantityButton: 'shopify-buy__btn--seamless',\n        quantityIncrement: 'shopify-buy__quantity-increment',\n        quantityDecrement: 'shopify-buy__quantity-decrement'\n      },\n      text: {\n        quantityInputAccessibilityLabel: 'Quantity',\n        quantityDecrementAccessibilityLabel: 'Reduce item quantity by one',\n        quantityIncrementAccessibilityLabel: 'Increase item quantity by one'\n      }\n    },\n    toggle: {\n      templates: toggleTemplates,\n      manifest: ['toggle'],\n      iframe: true,\n      sticky: true,\n      contents: {\n        count: true,\n        icon: true,\n        title: false\n      },\n      order: ['count', 'icon', 'title'],\n      classes: {\n        wrapper: 'shopify-buy__cart-toggle-wrapper',\n        toggle: 'shopify-buy__cart-toggle',\n        title: 'shopify-buy__cart-toggle__title',\n        count: 'shopify-buy__cart-toggle__count',\n        icon: 'shopify-buy__icon-cart shopify-buy__icon-cart--side',\n        iconPath: 'shopify-buy__icon-cart__group'\n      },\n      text: {\n        title: 'cart'\n      }\n    },\n    window: {\n      height: 600,\n      width: 400,\n      toolbar: 0,\n      scrollbars: 1,\n      status: 0,\n      resizable: 1,\n      center: 0,\n      createnew: 1,\n      location: 0,\n      menubar: 0,\n      onUnload: null,\n      titlebar: 'yes'\n    }\n  };\n\n  function wrapConsole(logCommand) {\n    var logMethod = function logMethod() {\n      var hostConsole = window.console;\n      var args = Array.prototype.slice.apply(arguments).join(' ');\n      /* eslint-disable no-console */\n\n      if (hostConsole) {\n        hostConsole[logCommand](args);\n      }\n      /* eslint-enable no-console */\n\n    };\n\n    return function () {\n      var args = Array.prototype.slice.call(arguments);\n      args.unshift('[SHOPIFY-BUY-UI]: ');\n      logMethod.apply(void 0, _toConsumableArray(args));\n    };\n  }\n\n  var logger = {\n    debug: wrapConsole('debug'),\n    info: wrapConsole('info'),\n    warn: wrapConsole('warn'),\n    error: wrapConsole('error'),\n    log: wrapConsole('log')\n  };\n\n  function isArray(arg) {\n    return Object.prototype.toString.call(arg) === '[object Array]';\n  }\n\n  function logNotFound(component) {\n    var errInfo = '';\n\n    if (component.id) {\n      if (isArray(component.id)) {\n        errInfo = \"for ids \".concat(component.id.join(', '), \".\");\n      } else {\n        errInfo = \"for id \".concat(component.id, \".\");\n      }\n    } else if (component.handle) {\n      errInfo = \"for handle \\\"\".concat(component.handle, \"\\\".\");\n    }\n\n    var message = \"Not Found: \".concat(component.typeKey, \" not found \").concat(errInfo);\n    logger.warn(message);\n  }\n\n  var defaultMoneyFormat = '${{amount}}';\n\n  var DOCUMENT_FRAGMENT_NODE = 11;\n\n  function morphAttrs(fromNode, toNode) {\n      var toNodeAttrs = toNode.attributes;\n      var attr;\n      var attrName;\n      var attrNamespaceURI;\n      var attrValue;\n      var fromValue;\n\n      // document-fragments dont have attributes so lets not do anything\n      if (toNode.nodeType === DOCUMENT_FRAGMENT_NODE || fromNode.nodeType === DOCUMENT_FRAGMENT_NODE) {\n        return;\n      }\n\n      // update attributes on original DOM element\n      for (var i = toNodeAttrs.length - 1; i >= 0; i--) {\n          attr = toNodeAttrs[i];\n          attrName = attr.name;\n          attrNamespaceURI = attr.namespaceURI;\n          attrValue = attr.value;\n\n          if (attrNamespaceURI) {\n              attrName = attr.localName || attrName;\n              fromValue = fromNode.getAttributeNS(attrNamespaceURI, attrName);\n\n              if (fromValue !== attrValue) {\n                  if (attr.prefix === 'xmlns'){\n                      attrName = attr.name; // It's not allowed to set an attribute with the XMLNS namespace without specifying the `xmlns` prefix\n                  }\n                  fromNode.setAttributeNS(attrNamespaceURI, attrName, attrValue);\n              }\n          } else {\n              fromValue = fromNode.getAttribute(attrName);\n\n              if (fromValue !== attrValue) {\n                  fromNode.setAttribute(attrName, attrValue);\n              }\n          }\n      }\n\n      // Remove any extra attributes found on the original DOM element that\n      // weren't found on the target element.\n      var fromNodeAttrs = fromNode.attributes;\n\n      for (var d = fromNodeAttrs.length - 1; d >= 0; d--) {\n          attr = fromNodeAttrs[d];\n          attrName = attr.name;\n          attrNamespaceURI = attr.namespaceURI;\n\n          if (attrNamespaceURI) {\n              attrName = attr.localName || attrName;\n\n              if (!toNode.hasAttributeNS(attrNamespaceURI, attrName)) {\n                  fromNode.removeAttributeNS(attrNamespaceURI, attrName);\n              }\n          } else {\n              if (!toNode.hasAttribute(attrName)) {\n                  fromNode.removeAttribute(attrName);\n              }\n          }\n      }\n  }\n\n  var range; // Create a range object for efficently rendering strings to elements.\n  var NS_XHTML = 'http://www.w3.org/1999/xhtml';\n\n  var doc = typeof document === 'undefined' ? undefined : document;\n  var HAS_TEMPLATE_SUPPORT = !!doc && 'content' in doc.createElement('template');\n  var HAS_RANGE_SUPPORT = !!doc && doc.createRange && 'createContextualFragment' in doc.createRange();\n\n  function createFragmentFromTemplate(str) {\n      var template = doc.createElement('template');\n      template.innerHTML = str;\n      return template.content.childNodes[0];\n  }\n\n  function createFragmentFromRange(str) {\n      if (!range) {\n          range = doc.createRange();\n          range.selectNode(doc.body);\n      }\n\n      var fragment = range.createContextualFragment(str);\n      return fragment.childNodes[0];\n  }\n\n  function createFragmentFromWrap(str) {\n      var fragment = doc.createElement('body');\n      fragment.innerHTML = str;\n      return fragment.childNodes[0];\n  }\n\n  /**\n   * This is about the same\n   * var html = new DOMParser().parseFromString(str, 'text/html');\n   * return html.body.firstChild;\n   *\n   * @method toElement\n   * @param {String} str\n   */\n  function toElement(str) {\n      str = str.trim();\n      if (HAS_TEMPLATE_SUPPORT) {\n        // avoid restrictions on content for things like `<tr><th>Hi</th></tr>` which\n        // createContextualFragment doesn't support\n        // <template> support not available in IE\n        return createFragmentFromTemplate(str);\n      } else if (HAS_RANGE_SUPPORT) {\n        return createFragmentFromRange(str);\n      }\n\n      return createFragmentFromWrap(str);\n  }\n\n  /**\n   * Returns true if two node's names are the same.\n   *\n   * NOTE: We don't bother checking `namespaceURI` because you will never find two HTML elements with the same\n   *       nodeName and different namespace URIs.\n   *\n   * @param {Element} a\n   * @param {Element} b The target element\n   * @return {boolean}\n   */\n  function compareNodeNames(fromEl, toEl) {\n      var fromNodeName = fromEl.nodeName;\n      var toNodeName = toEl.nodeName;\n      var fromCodeStart, toCodeStart;\n\n      if (fromNodeName === toNodeName) {\n          return true;\n      }\n\n      fromCodeStart = fromNodeName.charCodeAt(0);\n      toCodeStart = toNodeName.charCodeAt(0);\n\n      // If the target element is a virtual DOM node or SVG node then we may\n      // need to normalize the tag name before comparing. Normal HTML elements that are\n      // in the \"http://www.w3.org/1999/xhtml\"\n      // are converted to upper case\n      if (fromCodeStart <= 90 && toCodeStart >= 97) { // from is upper and to is lower\n          return fromNodeName === toNodeName.toUpperCase();\n      } else if (toCodeStart <= 90 && fromCodeStart >= 97) { // to is upper and from is lower\n          return toNodeName === fromNodeName.toUpperCase();\n      } else {\n          return false;\n      }\n  }\n\n  /**\n   * Create an element, optionally with a known namespace URI.\n   *\n   * @param {string} name the element name, e.g. 'div' or 'svg'\n   * @param {string} [namespaceURI] the element's namespace URI, i.e. the value of\n   * its `xmlns` attribute or its inferred namespace.\n   *\n   * @return {Element}\n   */\n  function createElementNS(name, namespaceURI) {\n      return !namespaceURI || namespaceURI === NS_XHTML ?\n          doc.createElement(name) :\n          doc.createElementNS(namespaceURI, name);\n  }\n\n  /**\n   * Copies the children of one DOM element to another DOM element\n   */\n  function moveChildren(fromEl, toEl) {\n      var curChild = fromEl.firstChild;\n      while (curChild) {\n          var nextChild = curChild.nextSibling;\n          toEl.appendChild(curChild);\n          curChild = nextChild;\n      }\n      return toEl;\n  }\n\n  function syncBooleanAttrProp(fromEl, toEl, name) {\n      if (fromEl[name] !== toEl[name]) {\n          fromEl[name] = toEl[name];\n          if (fromEl[name]) {\n              fromEl.setAttribute(name, '');\n          } else {\n              fromEl.removeAttribute(name);\n          }\n      }\n  }\n\n  var specialElHandlers = {\n      OPTION: function(fromEl, toEl) {\n          var parentNode = fromEl.parentNode;\n          if (parentNode) {\n              var parentName = parentNode.nodeName.toUpperCase();\n              if (parentName === 'OPTGROUP') {\n                  parentNode = parentNode.parentNode;\n                  parentName = parentNode && parentNode.nodeName.toUpperCase();\n              }\n              if (parentName === 'SELECT' && !parentNode.hasAttribute('multiple')) {\n                  if (fromEl.hasAttribute('selected') && !toEl.selected) {\n                      // Workaround for MS Edge bug where the 'selected' attribute can only be\n                      // removed if set to a non-empty value:\n                      // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12087679/\n                      fromEl.setAttribute('selected', 'selected');\n                      fromEl.removeAttribute('selected');\n                  }\n                  // We have to reset select element's selectedIndex to -1, otherwise setting\n                  // fromEl.selected using the syncBooleanAttrProp below has no effect.\n                  // The correct selectedIndex will be set in the SELECT special handler below.\n                  parentNode.selectedIndex = -1;\n              }\n          }\n          syncBooleanAttrProp(fromEl, toEl, 'selected');\n      },\n      /**\n       * The \"value\" attribute is special for the <input> element since it sets\n       * the initial value. Changing the \"value\" attribute without changing the\n       * \"value\" property will have no effect since it is only used to the set the\n       * initial value.  Similar for the \"checked\" attribute, and \"disabled\".\n       */\n      INPUT: function(fromEl, toEl) {\n          syncBooleanAttrProp(fromEl, toEl, 'checked');\n          syncBooleanAttrProp(fromEl, toEl, 'disabled');\n\n          if (fromEl.value !== toEl.value) {\n              fromEl.value = toEl.value;\n          }\n\n          if (!toEl.hasAttribute('value')) {\n              fromEl.removeAttribute('value');\n          }\n      },\n\n      TEXTAREA: function(fromEl, toEl) {\n          var newValue = toEl.value;\n          if (fromEl.value !== newValue) {\n              fromEl.value = newValue;\n          }\n\n          var firstChild = fromEl.firstChild;\n          if (firstChild) {\n              // Needed for IE. Apparently IE sets the placeholder as the\n              // node value and vise versa. This ignores an empty update.\n              var oldValue = firstChild.nodeValue;\n\n              if (oldValue == newValue || (!newValue && oldValue == fromEl.placeholder)) {\n                  return;\n              }\n\n              firstChild.nodeValue = newValue;\n          }\n      },\n      SELECT: function(fromEl, toEl) {\n          if (!toEl.hasAttribute('multiple')) {\n              var selectedIndex = -1;\n              var i = 0;\n              // We have to loop through children of fromEl, not toEl since nodes can be moved\n              // from toEl to fromEl directly when morphing.\n              // At the time this special handler is invoked, all children have already been morphed\n              // and appended to / removed from fromEl, so using fromEl here is safe and correct.\n              var curChild = fromEl.firstChild;\n              var optgroup;\n              var nodeName;\n              while(curChild) {\n                  nodeName = curChild.nodeName && curChild.nodeName.toUpperCase();\n                  if (nodeName === 'OPTGROUP') {\n                      optgroup = curChild;\n                      curChild = optgroup.firstChild;\n                  } else {\n                      if (nodeName === 'OPTION') {\n                          if (curChild.hasAttribute('selected')) {\n                              selectedIndex = i;\n                              break;\n                          }\n                          i++;\n                      }\n                      curChild = curChild.nextSibling;\n                      if (!curChild && optgroup) {\n                          curChild = optgroup.nextSibling;\n                          optgroup = null;\n                      }\n                  }\n              }\n\n              fromEl.selectedIndex = selectedIndex;\n          }\n      }\n  };\n\n  var ELEMENT_NODE = 1;\n  var DOCUMENT_FRAGMENT_NODE$1 = 11;\n  var TEXT_NODE = 3;\n  var COMMENT_NODE = 8;\n\n  function noop$1() {}\n\n  function defaultGetNodeKey(node) {\n    if (node) {\n        return (node.getAttribute && node.getAttribute('id')) || node.id;\n    }\n  }\n\n  function morphdomFactory(morphAttrs) {\n\n      return function morphdom(fromNode, toNode, options) {\n          if (!options) {\n              options = {};\n          }\n\n          if (typeof toNode === 'string') {\n              if (fromNode.nodeName === '#document' || fromNode.nodeName === 'HTML' || fromNode.nodeName === 'BODY') {\n                  var toNodeHtml = toNode;\n                  toNode = doc.createElement('html');\n                  toNode.innerHTML = toNodeHtml;\n              } else {\n                  toNode = toElement(toNode);\n              }\n          }\n\n          var getNodeKey = options.getNodeKey || defaultGetNodeKey;\n          var onBeforeNodeAdded = options.onBeforeNodeAdded || noop$1;\n          var onNodeAdded = options.onNodeAdded || noop$1;\n          var onBeforeElUpdated = options.onBeforeElUpdated || noop$1;\n          var onElUpdated = options.onElUpdated || noop$1;\n          var onBeforeNodeDiscarded = options.onBeforeNodeDiscarded || noop$1;\n          var onNodeDiscarded = options.onNodeDiscarded || noop$1;\n          var onBeforeElChildrenUpdated = options.onBeforeElChildrenUpdated || noop$1;\n          var childrenOnly = options.childrenOnly === true;\n\n          // This object is used as a lookup to quickly find all keyed elements in the original DOM tree.\n          var fromNodesLookup = Object.create(null);\n          var keyedRemovalList = [];\n\n          function addKeyedRemoval(key) {\n              keyedRemovalList.push(key);\n          }\n\n          function walkDiscardedChildNodes(node, skipKeyedNodes) {\n              if (node.nodeType === ELEMENT_NODE) {\n                  var curChild = node.firstChild;\n                  while (curChild) {\n\n                      var key = undefined;\n\n                      if (skipKeyedNodes && (key = getNodeKey(curChild))) {\n                          // If we are skipping keyed nodes then we add the key\n                          // to a list so that it can be handled at the very end.\n                          addKeyedRemoval(key);\n                      } else {\n                          // Only report the node as discarded if it is not keyed. We do this because\n                          // at the end we loop through all keyed elements that were unmatched\n                          // and then discard them in one final pass.\n                          onNodeDiscarded(curChild);\n                          if (curChild.firstChild) {\n                              walkDiscardedChildNodes(curChild, skipKeyedNodes);\n                          }\n                      }\n\n                      curChild = curChild.nextSibling;\n                  }\n              }\n          }\n\n          /**\n           * Removes a DOM node out of the original DOM\n           *\n           * @param  {Node} node The node to remove\n           * @param  {Node} parentNode The nodes parent\n           * @param  {Boolean} skipKeyedNodes If true then elements with keys will be skipped and not discarded.\n           * @return {undefined}\n           */\n          function removeNode(node, parentNode, skipKeyedNodes) {\n              if (onBeforeNodeDiscarded(node) === false) {\n                  return;\n              }\n\n              if (parentNode) {\n                  parentNode.removeChild(node);\n              }\n\n              onNodeDiscarded(node);\n              walkDiscardedChildNodes(node, skipKeyedNodes);\n          }\n\n          // // TreeWalker implementation is no faster, but keeping this around in case this changes in the future\n          // function indexTree(root) {\n          //     var treeWalker = document.createTreeWalker(\n          //         root,\n          //         NodeFilter.SHOW_ELEMENT);\n          //\n          //     var el;\n          //     while((el = treeWalker.nextNode())) {\n          //         var key = getNodeKey(el);\n          //         if (key) {\n          //             fromNodesLookup[key] = el;\n          //         }\n          //     }\n          // }\n\n          // // NodeIterator implementation is no faster, but keeping this around in case this changes in the future\n          //\n          // function indexTree(node) {\n          //     var nodeIterator = document.createNodeIterator(node, NodeFilter.SHOW_ELEMENT);\n          //     var el;\n          //     while((el = nodeIterator.nextNode())) {\n          //         var key = getNodeKey(el);\n          //         if (key) {\n          //             fromNodesLookup[key] = el;\n          //         }\n          //     }\n          // }\n\n          function indexTree(node) {\n              if (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE$1) {\n                  var curChild = node.firstChild;\n                  while (curChild) {\n                      var key = getNodeKey(curChild);\n                      if (key) {\n                          fromNodesLookup[key] = curChild;\n                      }\n\n                      // Walk recursively\n                      indexTree(curChild);\n\n                      curChild = curChild.nextSibling;\n                  }\n              }\n          }\n\n          indexTree(fromNode);\n\n          function handleNodeAdded(el) {\n              onNodeAdded(el);\n\n              var curChild = el.firstChild;\n              while (curChild) {\n                  var nextSibling = curChild.nextSibling;\n\n                  var key = getNodeKey(curChild);\n                  if (key) {\n                      var unmatchedFromEl = fromNodesLookup[key];\n                      // if we find a duplicate #id node in cache, replace `el` with cache value\n                      // and morph it to the child node.\n                      if (unmatchedFromEl && compareNodeNames(curChild, unmatchedFromEl)) {\n                          curChild.parentNode.replaceChild(unmatchedFromEl, curChild);\n                          morphEl(unmatchedFromEl, curChild);\n                      } else {\n                        handleNodeAdded(curChild);\n                      }\n                  } else {\n                    // recursively call for curChild and it's children to see if we find something in\n                    // fromNodesLookup\n                    handleNodeAdded(curChild);\n                  }\n\n                  curChild = nextSibling;\n              }\n          }\n\n          function cleanupFromEl(fromEl, curFromNodeChild, curFromNodeKey) {\n              // We have processed all of the \"to nodes\". If curFromNodeChild is\n              // non-null then we still have some from nodes left over that need\n              // to be removed\n              while (curFromNodeChild) {\n                  var fromNextSibling = curFromNodeChild.nextSibling;\n                  if ((curFromNodeKey = getNodeKey(curFromNodeChild))) {\n                      // Since the node is keyed it might be matched up later so we defer\n                      // the actual removal to later\n                      addKeyedRemoval(curFromNodeKey);\n                  } else {\n                      // NOTE: we skip nested keyed nodes from being removed since there is\n                      //       still a chance they will be matched up later\n                      removeNode(curFromNodeChild, fromEl, true /* skip keyed nodes */);\n                  }\n                  curFromNodeChild = fromNextSibling;\n              }\n          }\n\n          function morphEl(fromEl, toEl, childrenOnly) {\n              var toElKey = getNodeKey(toEl);\n\n              if (toElKey) {\n                  // If an element with an ID is being morphed then it will be in the final\n                  // DOM so clear it out of the saved elements collection\n                  delete fromNodesLookup[toElKey];\n              }\n\n              if (!childrenOnly) {\n                  // optional\n                  if (onBeforeElUpdated(fromEl, toEl) === false) {\n                      return;\n                  }\n\n                  // update attributes on original DOM element first\n                  morphAttrs(fromEl, toEl);\n                  // optional\n                  onElUpdated(fromEl);\n\n                  if (onBeforeElChildrenUpdated(fromEl, toEl) === false) {\n                      return;\n                  }\n              }\n\n              if (fromEl.nodeName !== 'TEXTAREA') {\n                morphChildren(fromEl, toEl);\n              } else {\n                specialElHandlers.TEXTAREA(fromEl, toEl);\n              }\n          }\n\n          function morphChildren(fromEl, toEl) {\n              var curToNodeChild = toEl.firstChild;\n              var curFromNodeChild = fromEl.firstChild;\n              var curToNodeKey;\n              var curFromNodeKey;\n\n              var fromNextSibling;\n              var toNextSibling;\n              var matchingFromEl;\n\n              // walk the children\n              outer: while (curToNodeChild) {\n                  toNextSibling = curToNodeChild.nextSibling;\n                  curToNodeKey = getNodeKey(curToNodeChild);\n\n                  // walk the fromNode children all the way through\n                  while (curFromNodeChild) {\n                      fromNextSibling = curFromNodeChild.nextSibling;\n\n                      if (curToNodeChild.isSameNode && curToNodeChild.isSameNode(curFromNodeChild)) {\n                          curToNodeChild = toNextSibling;\n                          curFromNodeChild = fromNextSibling;\n                          continue outer;\n                      }\n\n                      curFromNodeKey = getNodeKey(curFromNodeChild);\n\n                      var curFromNodeType = curFromNodeChild.nodeType;\n\n                      // this means if the curFromNodeChild doesnt have a match with the curToNodeChild\n                      var isCompatible = undefined;\n\n                      if (curFromNodeType === curToNodeChild.nodeType) {\n                          if (curFromNodeType === ELEMENT_NODE) {\n                              // Both nodes being compared are Element nodes\n\n                              if (curToNodeKey) {\n                                  // The target node has a key so we want to match it up with the correct element\n                                  // in the original DOM tree\n                                  if (curToNodeKey !== curFromNodeKey) {\n                                      // The current element in the original DOM tree does not have a matching key so\n                                      // let's check our lookup to see if there is a matching element in the original\n                                      // DOM tree\n                                      if ((matchingFromEl = fromNodesLookup[curToNodeKey])) {\n                                          if (fromNextSibling === matchingFromEl) {\n                                              // Special case for single element removals. To avoid removing the original\n                                              // DOM node out of the tree (since that can break CSS transitions, etc.),\n                                              // we will instead discard the current node and wait until the next\n                                              // iteration to properly match up the keyed target element with its matching\n                                              // element in the original tree\n                                              isCompatible = false;\n                                          } else {\n                                              // We found a matching keyed element somewhere in the original DOM tree.\n                                              // Let's move the original DOM node into the current position and morph\n                                              // it.\n\n                                              // NOTE: We use insertBefore instead of replaceChild because we want to go through\n                                              // the `removeNode()` function for the node that is being discarded so that\n                                              // all lifecycle hooks are correctly invoked\n                                              fromEl.insertBefore(matchingFromEl, curFromNodeChild);\n\n                                              // fromNextSibling = curFromNodeChild.nextSibling;\n\n                                              if (curFromNodeKey) {\n                                                  // Since the node is keyed it might be matched up later so we defer\n                                                  // the actual removal to later\n                                                  addKeyedRemoval(curFromNodeKey);\n                                              } else {\n                                                  // NOTE: we skip nested keyed nodes from being removed since there is\n                                                  //       still a chance they will be matched up later\n                                                  removeNode(curFromNodeChild, fromEl, true /* skip keyed nodes */);\n                                              }\n\n                                              curFromNodeChild = matchingFromEl;\n                                          }\n                                      } else {\n                                          // The nodes are not compatible since the \"to\" node has a key and there\n                                          // is no matching keyed node in the source tree\n                                          isCompatible = false;\n                                      }\n                                  }\n                              } else if (curFromNodeKey) {\n                                  // The original has a key\n                                  isCompatible = false;\n                              }\n\n                              isCompatible = isCompatible !== false && compareNodeNames(curFromNodeChild, curToNodeChild);\n                              if (isCompatible) {\n                                  // We found compatible DOM elements so transform\n                                  // the current \"from\" node to match the current\n                                  // target DOM node.\n                                  // MORPH\n                                  morphEl(curFromNodeChild, curToNodeChild);\n                              }\n\n                          } else if (curFromNodeType === TEXT_NODE || curFromNodeType == COMMENT_NODE) {\n                              // Both nodes being compared are Text or Comment nodes\n                              isCompatible = true;\n                              // Simply update nodeValue on the original node to\n                              // change the text value\n                              if (curFromNodeChild.nodeValue !== curToNodeChild.nodeValue) {\n                                  curFromNodeChild.nodeValue = curToNodeChild.nodeValue;\n                              }\n\n                          }\n                      }\n\n                      if (isCompatible) {\n                          // Advance both the \"to\" child and the \"from\" child since we found a match\n                          // Nothing else to do as we already recursively called morphChildren above\n                          curToNodeChild = toNextSibling;\n                          curFromNodeChild = fromNextSibling;\n                          continue outer;\n                      }\n\n                      // No compatible match so remove the old node from the DOM and continue trying to find a\n                      // match in the original DOM. However, we only do this if the from node is not keyed\n                      // since it is possible that a keyed node might match up with a node somewhere else in the\n                      // target tree and we don't want to discard it just yet since it still might find a\n                      // home in the final DOM tree. After everything is done we will remove any keyed nodes\n                      // that didn't find a home\n                      if (curFromNodeKey) {\n                          // Since the node is keyed it might be matched up later so we defer\n                          // the actual removal to later\n                          addKeyedRemoval(curFromNodeKey);\n                      } else {\n                          // NOTE: we skip nested keyed nodes from being removed since there is\n                          //       still a chance they will be matched up later\n                          removeNode(curFromNodeChild, fromEl, true /* skip keyed nodes */);\n                      }\n\n                      curFromNodeChild = fromNextSibling;\n                  } // END: while(curFromNodeChild) {}\n\n                  // If we got this far then we did not find a candidate match for\n                  // our \"to node\" and we exhausted all of the children \"from\"\n                  // nodes. Therefore, we will just append the current \"to\" node\n                  // to the end\n                  if (curToNodeKey && (matchingFromEl = fromNodesLookup[curToNodeKey]) && compareNodeNames(matchingFromEl, curToNodeChild)) {\n                      fromEl.appendChild(matchingFromEl);\n                      // MORPH\n                      morphEl(matchingFromEl, curToNodeChild);\n                  } else {\n                      var onBeforeNodeAddedResult = onBeforeNodeAdded(curToNodeChild);\n                      if (onBeforeNodeAddedResult !== false) {\n                          if (onBeforeNodeAddedResult) {\n                              curToNodeChild = onBeforeNodeAddedResult;\n                          }\n\n                          if (curToNodeChild.actualize) {\n                              curToNodeChild = curToNodeChild.actualize(fromEl.ownerDocument || doc);\n                          }\n                          fromEl.appendChild(curToNodeChild);\n                          handleNodeAdded(curToNodeChild);\n                      }\n                  }\n\n                  curToNodeChild = toNextSibling;\n                  curFromNodeChild = fromNextSibling;\n              }\n\n              cleanupFromEl(fromEl, curFromNodeChild, curFromNodeKey);\n\n              var specialElHandler = specialElHandlers[fromEl.nodeName];\n              if (specialElHandler) {\n                  specialElHandler(fromEl, toEl);\n              }\n          } // END: morphChildren(...)\n\n          var morphedNode = fromNode;\n          var morphedNodeType = morphedNode.nodeType;\n          var toNodeType = toNode.nodeType;\n\n          if (!childrenOnly) {\n              // Handle the case where we are given two DOM nodes that are not\n              // compatible (e.g. <div> --> <span> or <div> --> TEXT)\n              if (morphedNodeType === ELEMENT_NODE) {\n                  if (toNodeType === ELEMENT_NODE) {\n                      if (!compareNodeNames(fromNode, toNode)) {\n                          onNodeDiscarded(fromNode);\n                          morphedNode = moveChildren(fromNode, createElementNS(toNode.nodeName, toNode.namespaceURI));\n                      }\n                  } else {\n                      // Going from an element node to a text node\n                      morphedNode = toNode;\n                  }\n              } else if (morphedNodeType === TEXT_NODE || morphedNodeType === COMMENT_NODE) { // Text or comment node\n                  if (toNodeType === morphedNodeType) {\n                      if (morphedNode.nodeValue !== toNode.nodeValue) {\n                          morphedNode.nodeValue = toNode.nodeValue;\n                      }\n\n                      return morphedNode;\n                  } else {\n                      // Text node to something else\n                      morphedNode = toNode;\n                  }\n              }\n          }\n\n          if (morphedNode === toNode) {\n              // The \"to node\" was not compatible with the \"from node\" so we had to\n              // toss out the \"from node\" and use the \"to node\"\n              onNodeDiscarded(fromNode);\n          } else {\n              if (toNode.isSameNode && toNode.isSameNode(morphedNode)) {\n                  return;\n              }\n\n              morphEl(morphedNode, toNode, childrenOnly);\n\n              // We now need to loop over any keyed nodes that might need to be\n              // removed. We only do the removal if we know that the keyed node\n              // never found a match. When a keyed node is matched up we remove\n              // it out of fromNodesLookup and we use fromNodesLookup to determine\n              // if a keyed node has been matched up or not\n              if (keyedRemovalList) {\n                  for (var i=0, len=keyedRemovalList.length; i<len; i++) {\n                      var elToRemove = fromNodesLookup[keyedRemovalList[i]];\n                      if (elToRemove) {\n                          removeNode(elToRemove, elToRemove.parentNode, false);\n                      }\n                  }\n              }\n          }\n\n          if (!childrenOnly && morphedNode !== fromNode && fromNode.parentNode) {\n              if (morphedNode.actualize) {\n                  morphedNode = morphedNode.actualize(fromNode.ownerDocument || doc);\n              }\n              // If we had to swap out the from node with a new node because the old\n              // node was not compatible with the target node then we need to\n              // replace the old DOM node in the original DOM tree. This is only\n              // possible if the original DOM node was part of a DOM tree which\n              // we know is the case if it has a parent node.\n              fromNode.parentNode.replaceChild(morphedNode, fromNode);\n          }\n\n          return morphedNode;\n      };\n  }\n\n  var morphdom = morphdomFactory(morphAttrs);\n\n  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\n  function createCommonjsModule(fn, module) {\n  \treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n  }\n\n  var mustache = createCommonjsModule(function (module, exports) {\n  /*!\n   * mustache.js - Logic-less {{mustache}} templates with JavaScript\n   * http://github.com/janl/mustache.js\n   */\n\n  /*global define: false Mustache: true*/\n\n  (function defineMustache (global, factory) {\n    if ( exports && typeof exports.nodeName !== 'string') {\n      factory(exports); // CommonJS\n    } else {\n      global.Mustache = {};\n      factory(global.Mustache); // script, wsh, asp\n    }\n  }(commonjsGlobal, function mustacheFactory (mustache) {\n\n    var objectToString = Object.prototype.toString;\n    var isArray = Array.isArray || function isArrayPolyfill (object) {\n      return objectToString.call(object) === '[object Array]';\n    };\n\n    function isFunction (object) {\n      return typeof object === 'function';\n    }\n\n    /**\n     * More correct typeof string handling array\n     * which normally returns typeof 'object'\n     */\n    function typeStr (obj) {\n      return isArray(obj) ? 'array' : typeof obj;\n    }\n\n    function escapeRegExp (string) {\n      return string.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g, '\\\\$&');\n    }\n\n    /**\n     * Null safe way of checking whether or not an object,\n     * including its prototype, has a given property\n     */\n    function hasProperty (obj, propName) {\n      return obj != null && typeof obj === 'object' && (propName in obj);\n    }\n\n    /**\n     * Safe way of detecting whether or not the given thing is a primitive and\n     * whether it has the given property\n     */\n    function primitiveHasOwnProperty (primitive, propName) {  \n      return (\n        primitive != null\n        && typeof primitive !== 'object'\n        && primitive.hasOwnProperty\n        && primitive.hasOwnProperty(propName)\n      );\n    }\n\n    // Workaround for https://issues.apache.org/jira/browse/COUCHDB-577\n    // See https://github.com/janl/mustache.js/issues/189\n    var regExpTest = RegExp.prototype.test;\n    function testRegExp (re, string) {\n      return regExpTest.call(re, string);\n    }\n\n    var nonSpaceRe = /\\S/;\n    function isWhitespace (string) {\n      return !testRegExp(nonSpaceRe, string);\n    }\n\n    var entityMap = {\n      '&': '&amp;',\n      '<': '&lt;',\n      '>': '&gt;',\n      '\"': '&quot;',\n      \"'\": '&#39;',\n      '/': '&#x2F;',\n      '`': '&#x60;',\n      '=': '&#x3D;'\n    };\n\n    function escapeHtml (string) {\n      return String(string).replace(/[&<>\"'`=\\/]/g, function fromEntityMap (s) {\n        return entityMap[s];\n      });\n    }\n\n    var whiteRe = /\\s*/;\n    var spaceRe = /\\s+/;\n    var equalsRe = /\\s*=/;\n    var curlyRe = /\\s*\\}/;\n    var tagRe = /#|\\^|\\/|>|\\{|&|=|!/;\n\n    /**\n     * Breaks up the given `template` string into a tree of tokens. If the `tags`\n     * argument is given here it must be an array with two string values: the\n     * opening and closing tags used in the template (e.g. [ \"<%\", \"%>\" ]). Of\n     * course, the default is to use mustaches (i.e. mustache.tags).\n     *\n     * A token is an array with at least 4 elements. The first element is the\n     * mustache symbol that was used inside the tag, e.g. \"#\" or \"&\". If the tag\n     * did not contain a symbol (i.e. {{myValue}}) this element is \"name\". For\n     * all text that appears outside a symbol this element is \"text\".\n     *\n     * The second element of a token is its \"value\". For mustache tags this is\n     * whatever else was inside the tag besides the opening symbol. For text tokens\n     * this is the text itself.\n     *\n     * The third and fourth elements of the token are the start and end indices,\n     * respectively, of the token in the original template.\n     *\n     * Tokens that are the root node of a subtree contain two more elements: 1) an\n     * array of tokens in the subtree and 2) the index in the original template at\n     * which the closing tag for that section begins.\n     */\n    function parseTemplate (template, tags) {\n      if (!template)\n        return [];\n\n      var sections = [];     // Stack to hold section tokens\n      var tokens = [];       // Buffer to hold the tokens\n      var spaces = [];       // Indices of whitespace tokens on the current line\n      var hasTag = false;    // Is there a {{tag}} on the current line?\n      var nonSpace = false;  // Is there a non-space char on the current line?\n\n      // Strips all whitespace tokens array for the current line\n      // if there was a {{#tag}} on it and otherwise only space.\n      function stripSpace () {\n        if (hasTag && !nonSpace) {\n          while (spaces.length)\n            delete tokens[spaces.pop()];\n        } else {\n          spaces = [];\n        }\n\n        hasTag = false;\n        nonSpace = false;\n      }\n\n      var openingTagRe, closingTagRe, closingCurlyRe;\n      function compileTags (tagsToCompile) {\n        if (typeof tagsToCompile === 'string')\n          tagsToCompile = tagsToCompile.split(spaceRe, 2);\n\n        if (!isArray(tagsToCompile) || tagsToCompile.length !== 2)\n          throw new Error('Invalid tags: ' + tagsToCompile);\n\n        openingTagRe = new RegExp(escapeRegExp(tagsToCompile[0]) + '\\\\s*');\n        closingTagRe = new RegExp('\\\\s*' + escapeRegExp(tagsToCompile[1]));\n        closingCurlyRe = new RegExp('\\\\s*' + escapeRegExp('}' + tagsToCompile[1]));\n      }\n\n      compileTags(tags || mustache.tags);\n\n      var scanner = new Scanner(template);\n\n      var start, type, value, chr, token, openSection;\n      while (!scanner.eos()) {\n        start = scanner.pos;\n\n        // Match any text between tags.\n        value = scanner.scanUntil(openingTagRe);\n\n        if (value) {\n          for (var i = 0, valueLength = value.length; i < valueLength; ++i) {\n            chr = value.charAt(i);\n\n            if (isWhitespace(chr)) {\n              spaces.push(tokens.length);\n            } else {\n              nonSpace = true;\n            }\n\n            tokens.push([ 'text', chr, start, start + 1 ]);\n            start += 1;\n\n            // Check for whitespace on the current line.\n            if (chr === '\\n')\n              stripSpace();\n          }\n        }\n\n        // Match the opening tag.\n        if (!scanner.scan(openingTagRe))\n          break;\n\n        hasTag = true;\n\n        // Get the tag type.\n        type = scanner.scan(tagRe) || 'name';\n        scanner.scan(whiteRe);\n\n        // Get the tag value.\n        if (type === '=') {\n          value = scanner.scanUntil(equalsRe);\n          scanner.scan(equalsRe);\n          scanner.scanUntil(closingTagRe);\n        } else if (type === '{') {\n          value = scanner.scanUntil(closingCurlyRe);\n          scanner.scan(curlyRe);\n          scanner.scanUntil(closingTagRe);\n          type = '&';\n        } else {\n          value = scanner.scanUntil(closingTagRe);\n        }\n\n        // Match the closing tag.\n        if (!scanner.scan(closingTagRe))\n          throw new Error('Unclosed tag at ' + scanner.pos);\n\n        token = [ type, value, start, scanner.pos ];\n        tokens.push(token);\n\n        if (type === '#' || type === '^') {\n          sections.push(token);\n        } else if (type === '/') {\n          // Check section nesting.\n          openSection = sections.pop();\n\n          if (!openSection)\n            throw new Error('Unopened section \"' + value + '\" at ' + start);\n\n          if (openSection[1] !== value)\n            throw new Error('Unclosed section \"' + openSection[1] + '\" at ' + start);\n        } else if (type === 'name' || type === '{' || type === '&') {\n          nonSpace = true;\n        } else if (type === '=') {\n          // Set the tags for the next time around.\n          compileTags(value);\n        }\n      }\n\n      // Make sure there are no open sections when we're done.\n      openSection = sections.pop();\n\n      if (openSection)\n        throw new Error('Unclosed section \"' + openSection[1] + '\" at ' + scanner.pos);\n\n      return nestTokens(squashTokens(tokens));\n    }\n\n    /**\n     * Combines the values of consecutive text tokens in the given `tokens` array\n     * to a single token.\n     */\n    function squashTokens (tokens) {\n      var squashedTokens = [];\n\n      var token, lastToken;\n      for (var i = 0, numTokens = tokens.length; i < numTokens; ++i) {\n        token = tokens[i];\n\n        if (token) {\n          if (token[0] === 'text' && lastToken && lastToken[0] === 'text') {\n            lastToken[1] += token[1];\n            lastToken[3] = token[3];\n          } else {\n            squashedTokens.push(token);\n            lastToken = token;\n          }\n        }\n      }\n\n      return squashedTokens;\n    }\n\n    /**\n     * Forms the given array of `tokens` into a nested tree structure where\n     * tokens that represent a section have two additional items: 1) an array of\n     * all tokens that appear in that section and 2) the index in the original\n     * template that represents the end of that section.\n     */\n    function nestTokens (tokens) {\n      var nestedTokens = [];\n      var collector = nestedTokens;\n      var sections = [];\n\n      var token, section;\n      for (var i = 0, numTokens = tokens.length; i < numTokens; ++i) {\n        token = tokens[i];\n\n        switch (token[0]) {\n          case '#':\n          case '^':\n            collector.push(token);\n            sections.push(token);\n            collector = token[4] = [];\n            break;\n          case '/':\n            section = sections.pop();\n            section[5] = token[2];\n            collector = sections.length > 0 ? sections[sections.length - 1][4] : nestedTokens;\n            break;\n          default:\n            collector.push(token);\n        }\n      }\n\n      return nestedTokens;\n    }\n\n    /**\n     * A simple string scanner that is used by the template parser to find\n     * tokens in template strings.\n     */\n    function Scanner (string) {\n      this.string = string;\n      this.tail = string;\n      this.pos = 0;\n    }\n\n    /**\n     * Returns `true` if the tail is empty (end of string).\n     */\n    Scanner.prototype.eos = function eos () {\n      return this.tail === '';\n    };\n\n    /**\n     * Tries to match the given regular expression at the current position.\n     * Returns the matched text if it can match, the empty string otherwise.\n     */\n    Scanner.prototype.scan = function scan (re) {\n      var match = this.tail.match(re);\n\n      if (!match || match.index !== 0)\n        return '';\n\n      var string = match[0];\n\n      this.tail = this.tail.substring(string.length);\n      this.pos += string.length;\n\n      return string;\n    };\n\n    /**\n     * Skips all text until the given regular expression can be matched. Returns\n     * the skipped string, which is the entire tail if no match can be made.\n     */\n    Scanner.prototype.scanUntil = function scanUntil (re) {\n      var index = this.tail.search(re), match;\n\n      switch (index) {\n        case -1:\n          match = this.tail;\n          this.tail = '';\n          break;\n        case 0:\n          match = '';\n          break;\n        default:\n          match = this.tail.substring(0, index);\n          this.tail = this.tail.substring(index);\n      }\n\n      this.pos += match.length;\n\n      return match;\n    };\n\n    /**\n     * Represents a rendering context by wrapping a view object and\n     * maintaining a reference to the parent context.\n     */\n    function Context (view, parentContext) {\n      this.view = view;\n      this.cache = { '.': this.view };\n      this.parent = parentContext;\n    }\n\n    /**\n     * Creates a new context using the given view with this context\n     * as the parent.\n     */\n    Context.prototype.push = function push (view) {\n      return new Context(view, this);\n    };\n\n    /**\n     * Returns the value of the given name in this context, traversing\n     * up the context hierarchy if the value is absent in this context's view.\n     */\n    Context.prototype.lookup = function lookup (name) {\n      var cache = this.cache;\n\n      var value;\n      if (cache.hasOwnProperty(name)) {\n        value = cache[name];\n      } else {\n        var context = this, intermediateValue, names, index, lookupHit = false;\n\n        while (context) {\n          if (name.indexOf('.') > 0) {\n            intermediateValue = context.view;\n            names = name.split('.');\n            index = 0;\n\n            /**\n             * Using the dot notion path in `name`, we descend through the\n             * nested objects.\n             *\n             * To be certain that the lookup has been successful, we have to\n             * check if the last object in the path actually has the property\n             * we are looking for. We store the result in `lookupHit`.\n             *\n             * This is specially necessary for when the value has been set to\n             * `undefined` and we want to avoid looking up parent contexts.\n             *\n             * In the case where dot notation is used, we consider the lookup\n             * to be successful even if the last \"object\" in the path is\n             * not actually an object but a primitive (e.g., a string, or an\n             * integer), because it is sometimes useful to access a property\n             * of an autoboxed primitive, such as the length of a string.\n             **/\n            while (intermediateValue != null && index < names.length) {\n              if (index === names.length - 1)\n                lookupHit = (\n                  hasProperty(intermediateValue, names[index]) \n                  || primitiveHasOwnProperty(intermediateValue, names[index])\n                );\n\n              intermediateValue = intermediateValue[names[index++]];\n            }\n          } else {\n            intermediateValue = context.view[name];\n\n            /**\n             * Only checking against `hasProperty`, which always returns `false` if\n             * `context.view` is not an object. Deliberately omitting the check\n             * against `primitiveHasOwnProperty` if dot notation is not used.\n             *\n             * Consider this example:\n             * ```\n             * Mustache.render(\"The length of a football field is {{#length}}{{length}}{{/length}}.\", {length: \"100 yards\"})\n             * ```\n             *\n             * If we were to check also against `primitiveHasOwnProperty`, as we do\n             * in the dot notation case, then render call would return:\n             *\n             * \"The length of a football field is 9.\"\n             *\n             * rather than the expected:\n             *\n             * \"The length of a football field is 100 yards.\"\n             **/\n            lookupHit = hasProperty(context.view, name);\n          }\n\n          if (lookupHit) {\n            value = intermediateValue;\n            break;\n          }\n\n          context = context.parent;\n        }\n\n        cache[name] = value;\n      }\n\n      if (isFunction(value))\n        value = value.call(this.view);\n\n      return value;\n    };\n\n    /**\n     * A Writer knows how to take a stream of tokens and render them to a\n     * string, given a context. It also maintains a cache of templates to\n     * avoid the need to parse the same template twice.\n     */\n    function Writer () {\n      this.cache = {};\n    }\n\n    /**\n     * Clears all cached templates in this writer.\n     */\n    Writer.prototype.clearCache = function clearCache () {\n      this.cache = {};\n    };\n\n    /**\n     * Parses and caches the given `template` according to the given `tags` or\n     * `mustache.tags` if `tags` is omitted,  and returns the array of tokens\n     * that is generated from the parse.\n     */\n    Writer.prototype.parse = function parse (template, tags) {\n      var cache = this.cache;\n      var cacheKey = template + ':' + (tags || mustache.tags).join(':');\n      var tokens = cache[cacheKey];\n\n      if (tokens == null)\n        tokens = cache[cacheKey] = parseTemplate(template, tags);\n\n      return tokens;\n    };\n\n    /**\n     * High-level method that is used to render the given `template` with\n     * the given `view`.\n     *\n     * The optional `partials` argument may be an object that contains the\n     * names and templates of partials that are used in the template. It may\n     * also be a function that is used to load partial templates on the fly\n     * that takes a single argument: the name of the partial.\n     *\n     * If the optional `tags` argument is given here it must be an array with two\n     * string values: the opening and closing tags used in the template (e.g.\n     * [ \"<%\", \"%>\" ]). The default is to mustache.tags.\n     */\n    Writer.prototype.render = function render (template, view, partials, tags) {\n      var tokens = this.parse(template, tags);\n      var context = (view instanceof Context) ? view : new Context(view);\n      return this.renderTokens(tokens, context, partials, template, tags);\n    };\n\n    /**\n     * Low-level method that renders the given array of `tokens` using\n     * the given `context` and `partials`.\n     *\n     * Note: The `originalTemplate` is only ever used to extract the portion\n     * of the original template that was contained in a higher-order section.\n     * If the template doesn't use higher-order sections, this argument may\n     * be omitted.\n     */\n    Writer.prototype.renderTokens = function renderTokens (tokens, context, partials, originalTemplate, tags) {\n      var buffer = '';\n\n      var token, symbol, value;\n      for (var i = 0, numTokens = tokens.length; i < numTokens; ++i) {\n        value = undefined;\n        token = tokens[i];\n        symbol = token[0];\n\n        if (symbol === '#') value = this.renderSection(token, context, partials, originalTemplate);\n        else if (symbol === '^') value = this.renderInverted(token, context, partials, originalTemplate);\n        else if (symbol === '>') value = this.renderPartial(token, context, partials, tags);\n        else if (symbol === '&') value = this.unescapedValue(token, context);\n        else if (symbol === 'name') value = this.escapedValue(token, context);\n        else if (symbol === 'text') value = this.rawValue(token);\n\n        if (value !== undefined)\n          buffer += value;\n      }\n\n      return buffer;\n    };\n\n    Writer.prototype.renderSection = function renderSection (token, context, partials, originalTemplate) {\n      var self = this;\n      var buffer = '';\n      var value = context.lookup(token[1]);\n\n      // This function is used to render an arbitrary template\n      // in the current context by higher-order sections.\n      function subRender (template) {\n        return self.render(template, context, partials);\n      }\n\n      if (!value) return;\n\n      if (isArray(value)) {\n        for (var j = 0, valueLength = value.length; j < valueLength; ++j) {\n          buffer += this.renderTokens(token[4], context.push(value[j]), partials, originalTemplate);\n        }\n      } else if (typeof value === 'object' || typeof value === 'string' || typeof value === 'number') {\n        buffer += this.renderTokens(token[4], context.push(value), partials, originalTemplate);\n      } else if (isFunction(value)) {\n        if (typeof originalTemplate !== 'string')\n          throw new Error('Cannot use higher-order sections without the original template');\n\n        // Extract the portion of the original template that the section contains.\n        value = value.call(context.view, originalTemplate.slice(token[3], token[5]), subRender);\n\n        if (value != null)\n          buffer += value;\n      } else {\n        buffer += this.renderTokens(token[4], context, partials, originalTemplate);\n      }\n      return buffer;\n    };\n\n    Writer.prototype.renderInverted = function renderInverted (token, context, partials, originalTemplate) {\n      var value = context.lookup(token[1]);\n\n      // Use JavaScript's definition of falsy. Include empty arrays.\n      // See https://github.com/janl/mustache.js/issues/186\n      if (!value || (isArray(value) && value.length === 0))\n        return this.renderTokens(token[4], context, partials, originalTemplate);\n    };\n\n    Writer.prototype.renderPartial = function renderPartial (token, context, partials, tags) {\n      if (!partials) return;\n\n      var value = isFunction(partials) ? partials(token[1]) : partials[token[1]];\n      if (value != null)\n        return this.renderTokens(this.parse(value, tags), context, partials, value);\n    };\n\n    Writer.prototype.unescapedValue = function unescapedValue (token, context) {\n      var value = context.lookup(token[1]);\n      if (value != null)\n        return value;\n    };\n\n    Writer.prototype.escapedValue = function escapedValue (token, context) {\n      var value = context.lookup(token[1]);\n      if (value != null)\n        return mustache.escape(value);\n    };\n\n    Writer.prototype.rawValue = function rawValue (token) {\n      return token[1];\n    };\n\n    mustache.name = 'mustache.js';\n    mustache.version = '3.0.1';\n    mustache.tags = [ '{{', '}}' ];\n\n    // All high-level mustache.* functions use this writer.\n    var defaultWriter = new Writer();\n\n    /**\n     * Clears all cached templates in the default writer.\n     */\n    mustache.clearCache = function clearCache () {\n      return defaultWriter.clearCache();\n    };\n\n    /**\n     * Parses and caches the given template in the default writer and returns the\n     * array of tokens it contains. Doing this ahead of time avoids the need to\n     * parse templates on the fly as they are rendered.\n     */\n    mustache.parse = function parse (template, tags) {\n      return defaultWriter.parse(template, tags);\n    };\n\n    /**\n     * Renders the `template` with the given `view` and `partials` using the\n     * default writer. If the optional `tags` argument is given here it must be an\n     * array with two string values: the opening and closing tags used in the\n     * template (e.g. [ \"<%\", \"%>\" ]). The default is to mustache.tags.\n     */\n    mustache.render = function render (template, view, partials, tags) {\n      if (typeof template !== 'string') {\n        throw new TypeError('Invalid template! Template should be a \"string\" ' +\n                            'but \"' + typeStr(template) + '\" was given as the first ' +\n                            'argument for mustache#render(template, view, partials)');\n      }\n\n      return defaultWriter.render(template, view, partials, tags);\n    };\n\n    // This is here for backwards compatibility with 0.4.x.,\n    /*eslint-disable */ // eslint wants camel cased function name\n    mustache.to_html = function to_html (template, view, partials, send) {\n      /*eslint-enable*/\n\n      var result = mustache.render(template, view, partials);\n\n      if (isFunction(send)) {\n        send(result);\n      } else {\n        return result;\n      }\n    };\n\n    // Export the escaping function so that the user may override it.\n    // See https://github.com/janl/mustache.js/issues/244\n    mustache.escape = escapeHtml;\n\n    // Export these mainly for testing, but also for advanced usage.\n    mustache.Scanner = Scanner;\n    mustache.Context = Context;\n    mustache.Writer = Writer;\n\n    return mustache;\n  }));\n  });\n\n  var Template =\n  /*#__PURE__*/\n  function () {\n    function Template(templates, contents, order) {\n      this.templates = templates;\n      this.contents = contents;\n      this.order = order;\n    }\n\n    var _proto = Template.prototype;\n\n    _proto.render = function render(data, cb) {\n      var output = mustache.render(this.masterTemplate, data);\n\n      if (!cb) {\n        return output;\n      }\n\n      return cb(output);\n    };\n\n    _createClass(Template, [{\n      key: \"masterTemplate\",\n      get: function get() {\n        var _this = this;\n\n        return this.order.reduce(function (acc, key) {\n          var string = '';\n\n          if (_this.contents[key]) {\n            string = _this.templates[key] || '';\n          }\n\n          return acc + string;\n        }, '');\n      }\n    }]);\n\n    return Template;\n  }();\n\n  var stylesTemplate = '{{#selectors}}' + '{{#media}} {{media}} { {{/media}}' + '{{selector}} { ' + '{{#declarations}}' + '{{property}}: {{{value}}};' + '{{/declarations}}' + ' } ' + '{{#media}} } {{/media}}' + '{{/selectors}}';\n\n  var conditionalStyles = \".shopify-buy__modal {\\n  display: none;\\n}\\n\\n.is-active .shopify-buy__modal {\\n    display: block;\\n    opacity: 1;\\n    margin-left: auto;\\n    margin-right: auto;\\n  }\\n\";\n\n  function addClassToElement(className, element) {\n    if (!className) {\n      return;\n    }\n\n    if (element.classList) {\n      element.classList.add(className);\n    } else {\n      var classes = element.className.split(' ');\n\n      if (classes.indexOf(className) > -1) {\n        return;\n      }\n\n      element.setAttribute('class', \"\".concat(element.className, \" \").concat(className));\n    }\n  }\n  function removeClassFromElement(className, element) {\n    if (!className) {\n      return;\n    }\n\n    if (element.classList) {\n      element.classList.remove(className);\n    } else {\n      element.setAttribute('class', element.className.replace(className, ''));\n    }\n  }\n\n  var iframeStyles = {\n    width: '100%',\n    overflow: 'hidden',\n    border: 'none'\n  };\n  var iframeAttrs = {\n    horizontalscrolling: 'no',\n    verticalscrolling: 'no',\n    allowTransparency: 'true',\n    frameBorder: '0',\n    scrolling: 'no'\n  };\n  var webfontScript = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.16/webfont.js';\n\n  function isPseudoSelector(key) {\n    return key.charAt(0) === ':';\n  }\n\n  function isMedia(key) {\n    return key.charAt(0) === '@';\n  }\n\n  function isValue$1(test) {\n    return typeof test === 'string' || typeof test === 'number';\n  }\n\n  function ruleDeclarations(rule) {\n    return Object.keys(rule).filter(function (key) {\n      return isValue$1(rule[key]);\n    }).map(function (key) {\n      return {\n        property: key,\n        value: rule[key]\n      };\n    });\n  }\n\n  function selectorStyleGroup(selector, selectorClass, classes) {\n    var styleGroup = [];\n\n    if (selector && selectorClass) {\n      var formattedSelector = selectorClass.split(' ').join('.');\n\n      if (!isPseudoSelector(formattedSelector)) {\n        formattedSelector = \".\".concat(formattedSelector);\n      }\n\n      styleGroup = Object.keys(selector).filter(function (decKey) {\n        return !isValue$1(selector[decKey]);\n      }).reduce(function (acc, decKey) {\n        var className = classes[decKey] || decKey;\n        return acc.concat(selectorStyleGroup(selector[decKey], className, classes).map(function (group) {\n          var groupSelector = '';\n\n          if (isPseudoSelector(group.selector)) {\n            groupSelector = \"\".concat(formattedSelector).concat(group.selector);\n          } else if (isMedia(decKey)) {\n            groupSelector = formattedSelector;\n          } else {\n            groupSelector = \"\".concat(formattedSelector, \" \").concat(group.selector);\n          }\n\n          return {\n            selector: groupSelector,\n            declarations: group.declarations,\n            media: isMedia(decKey) ? decKey : null\n          };\n        }));\n      }, []);\n      var declarations = ruleDeclarations(selector);\n\n      if (declarations.length) {\n        styleGroup.push({\n          selector: \"\".concat(formattedSelector),\n          declarations: declarations\n        });\n      }\n    }\n\n    return styleGroup;\n  }\n\n  var iframe =\n  /*#__PURE__*/\n  function () {\n    function iframe(node, config) {\n      var _this = this;\n\n      this.el = document.createElement('iframe');\n      this.parent = node;\n      this.stylesheet = config.stylesheet;\n      this.customStylesHash = config.customStyles || {};\n      this.classes = config.classes;\n      this.browserFeatures = config.browserFeatures;\n      this.googleFonts = config.googleFonts || [];\n      this.name = config.name;\n\n      if (config.width) {\n        this.setWidth(config.width);\n      }\n\n      Object.keys(iframeStyles).forEach(function (key) {\n        _this.el.style[key] = iframeStyles[key];\n      });\n      Object.keys(iframeAttrs).forEach(function (key) {\n        return _this.el.setAttribute(key, iframeAttrs[key]);\n      });\n      this.el.setAttribute('name', config.name);\n      this.styleTag = null;\n    }\n\n    var _proto = iframe.prototype;\n\n    _proto.load = function load() {\n      var _this2 = this;\n\n      return new Promise(function (resolve) {\n        _this2.el.onload = function () {\n          return _this2.loadFonts().then(function () {\n            _this2.appendStyleTag();\n\n            return resolve();\n          });\n        };\n\n        _this2.parent.appendChild(_this2.el);\n      });\n    };\n\n    _proto.loadFonts = function loadFonts() {\n      var _this3 = this;\n\n      if (!this.googleFonts || !this.googleFonts.length) {\n        return Promise.resolve(true);\n      }\n\n      return this.loadFontScript().then(function () {\n        return new Promise(function (resolve) {\n          if (!window.WebFont) {\n            return resolve();\n          }\n\n          window.WebFont.load({\n            google: {\n              families: _this3.googleFonts\n            },\n            fontactive: function fontactive() {\n              return resolve();\n            },\n            context: _this3.el.contentWindow || frames[_this3.name]\n          });\n          return window.setTimeout(function () {\n            return resolve();\n          }, 1000);\n        });\n      });\n    };\n\n    _proto.loadFontScript = function loadFontScript() {\n      if (window.WebFont) {\n        return Promise.resolve();\n      }\n\n      var fontScript = document.createElement('script');\n      return new Promise(function (resolve) {\n        fontScript.onload = function () {\n          resolve();\n        };\n\n        fontScript.src = webfontScript;\n        document.head.appendChild(fontScript);\n        setTimeout(function () {\n          resolve();\n        }, 500);\n      });\n    };\n\n    _proto.setWidth = function setWidth(width) {\n      this.parent.style['max-width'] = width;\n    };\n\n    _proto.addClass = function addClass(className) {\n      addClassToElement(className, this.parent);\n    };\n\n    _proto.removeClass = function removeClass(className) {\n      removeClassFromElement(className, this.parent);\n    };\n\n    _proto.setName = function setName(name) {\n      this.el.setAttribute('name', name);\n    };\n\n    _proto.updateStyles = function updateStyles(customStyles, googleFonts) {\n      var _this4 = this;\n\n      this.googleFonts = googleFonts;\n      return this.loadFonts().then(function () {\n        _this4.customStylesHash = customStyles;\n        _this4.styleTag.innerHTML = _this4.css;\n        return;\n      });\n    };\n\n    _proto.appendStyleTag = function appendStyleTag() {\n      if (!this.document.head) {\n        return;\n      }\n\n      this.styleTag = this.document.createElement('style');\n\n      if (this.styleTag.styleSheet) {\n        this.styleTag.styleSheet.cssText = this.css;\n      } else {\n        this.styleTag.appendChild(this.document.createTextNode(this.css));\n      }\n\n      this.document.head.appendChild(this.styleTag);\n    };\n\n    _createClass(iframe, [{\n      key: \"width\",\n      get: function get() {\n        return this.parent.style['max-width'];\n      }\n    }, {\n      key: \"document\",\n      get: function get() {\n        var doc;\n\n        if (this.el.contentWindow && this.el.contentWindow.document.body) {\n          doc = this.el.contentWindow.document;\n        } else if (this.el.document && this.el.document.body) {\n          doc = this.el.document;\n        } else if (this.el.contentDocument && this.el.contentDocument.body) {\n          doc = this.el.contentDocument;\n        }\n\n        return doc;\n      }\n    }, {\n      key: \"customStyles\",\n      get: function get() {\n        var _this5 = this;\n\n        var customStyles = [];\n        Object.keys(this.customStylesHash).forEach(function (typeKey) {\n          if (_this5.customStylesHash[typeKey]) {\n            Object.keys(_this5.customStylesHash[typeKey]).forEach(function (key) {\n              var styleGroup = selectorStyleGroup(_this5.customStylesHash[typeKey][key], _this5.classes[typeKey][key], _this5.classes[typeKey]);\n              customStyles = customStyles.concat(styleGroup);\n            });\n          }\n        });\n        return customStyles;\n      }\n    }, {\n      key: \"conditionalCSS\",\n      get: function get() {\n        if (this.browserFeatures.transition && this.browserFeatures.transform && this.browserFeatures.animation) {\n          return '';\n        }\n\n        return conditionalStyles;\n      }\n    }, {\n      key: \"css\",\n      get: function get() {\n        var compiled = mustache.render(stylesTemplate, {\n          selectors: this.customStyles\n        });\n        return \"\".concat(this.stylesheet, \" \\n \").concat(compiled, \" \\n \").concat(this.conditionalCSS);\n      }\n    }]);\n\n    return iframe;\n  }();\n\n  var styles = {};\n  styles.cart = 'html, body, h1, h2, h3, h4, h5, p {   padding: 0;   margin: 0; } * {   -webkit-box-sizing: border-box;           box-sizing: border-box; } body, html {   min-height: 100%; } html {   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   font-size: 14px;   line-height: 1.2;   color: #4c4c4c;   text-rendering: optimizeLegibility;   -webkit-font-smoothing: antialiased;   -moz-osx-font-smoothing: grayscale; } select {   text-rendering: auto !important; } ul {   list-style: none;   padding-left: 0;   margin: 0; } img {   display: block;   max-width: 100%; } input {   -webkit-appearance: textfield;   margin: 0; } .clearfix:after {     content: \"\";     display: table;     clear: both;   } .visuallyhidden {   border: 0;   height: 1px;   margin: -1px;   overflow: hidden;   padding: 0;   position: absolute;   width: 1px; } .component-container {   overflow: hidden; } .shopify-buy__type--center {   text-align: center; } .shopify-buy--visually-hidden {   position: absolute !important;   clip: rect(1px, 1px, 1px, 1px);   padding:0 !important;   border:0 !important;   height: 1px !important;   width: 1px !important;   overflow: hidden; } .shopify-buy__btn {   color: #fff;   font-size: 15px;   background-color: #78b657;   padding: 12px 40px;   letter-spacing: .3px;   display: block;   border-radius: 3px;   cursor: pointer;   -webkit-transition: background 200ms ease;   transition: background 200ms ease;   max-width: 100%;   text-overflow: ellipsis;   overflow: hidden;   line-height: 1.2;   border: 0;   -moz-appearance: none;   -webkit-appearance: none } .shopify-buy__btn:hover,   .shopify-buy__btn:focus {     background-color: #5f9d3e;   } .shopify-buy__btn--parent {   background-color: transparent;   border: 0;   padding: 0;   cursor: pointer } .shopify-buy__btn--parent:hover .product__variant-img, .shopify-buy__btn--parent:focus .product__variant-img {       opacity: .7;     } .shopify-buy__btn--cart-tab {   padding: 5px 11px;   border-radius: 3px 0 0 3px;   position: fixed;   right: 0;   top: 50%;   -webkit-transform: translate(100%, -50%);           transform: translate(100%, -50%);   opacity: 0;   min-width: inherit;   width: auto;   height: auto;   z-index: 2147483647 } .shopify-buy__btn--cart-tab.is-active {     -webkit-transform: translateY(-50%);             transform: translateY(-50%);     opacity: 1;   } .shopify-buy__btn__counter {   display: block;   margin: 0 auto 10px auto;   font-size: 18px; } .shopify-buy__icon-cart--side {   height: 20px;   width: 20px; } .shopify-buy__btn[disabled] {   background-color: #999;   pointer-events: none; } .shopify-buy__btn--close {   position: absolute;   right: 9px;   top: 8px;   font-size: 35px;   color: #767676;   border: none;   background-color: transparent;   -webkit-transition: color 100ms ease, -webkit-transform 100ms ease;   transition: color 100ms ease, -webkit-transform 100ms ease;   transition: transform 100ms ease, color 100ms ease;   transition: transform 100ms ease, color 100ms ease, -webkit-transform 100ms ease;   cursor: pointer;   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   padding-right: 9px } .shopify-buy__btn--close:hover {     -webkit-transform: scale(1.2);             transform: scale(1.2);     color: hsl(0, 0%, 41.2745098039%);   } @-webkit-keyframes flipIn {   from {     max-height: 0;     -webkit-transform: rotatex(90deg) translatey(-50%);             transform: rotatex(90deg) translatey(-50%);     margin-bottom: -65px;     opacity: 0;   }    to {     max-height: none;     -webkit-transform: none;             transform: none;     margin-bottom: 20px;     opacity: 1;   } } @keyframes flipIn {   from {     max-height: 0;     -webkit-transform: rotatex(90deg) translatey(-50%);             transform: rotatex(90deg) translatey(-50%);     margin-bottom: -65px;     opacity: 0;   }    to {     max-height: none;     -webkit-transform: none;             transform: none;     margin-bottom: 20px;     opacity: 1;   } } @-webkit-keyframes flipOut {   from {     max-height: none;     -webkit-transform: none;             transform: none;     margin-bottom: 20px;     opacity: 1;   }    to {     max-height: 0;     -webkit-transform: rotatex(90deg) translatey(-50%);             transform: rotatex(90deg) translatey(-50%);     margin-bottom: -65px;     opacity: 0;   } } @keyframes flipOut {   from {     max-height: none;     -webkit-transform: none;             transform: none;     margin-bottom: 20px;     opacity: 1;   }    to {     max-height: 0;     -webkit-transform: rotatex(90deg) translatey(-50%);             transform: rotatex(90deg) translatey(-50%);     margin-bottom: -65px;     opacity: 0;   } } .shopify-buy__cart-wrapper {   height: 100%;   padding-left: 10px; } .shopify-buy__cart {   height: 100%;   background-color: #fff;   width: calc(100% - 10px);   position: absolute;   right: 0;   -webkit-box-shadow: -5px 0 5px rgba(0, 0, 0, 0.1);           box-shadow: -5px 0 5px rgba(0, 0, 0, 0.1); } .shopify-buy__cart__header {   padding: 20px;   padding-right: 40px;   position: relative;   z-index: 2147483647;   background-color: inherit; } .shopify-buy__cart__title {   font-size: 18px;   color: #767676;   font-weight: normal;   overflow: hidden;   text-overflow: ellipsis; } .shopify-buy__cart-scroll {   padding: 70px 0 135px 0;   position: absolute;   top: 0;   height: 100%;   width: 100%; } .shopify-buy__cart-scroll--discounts {   padding-bottom: 170px; } .shopify-buy__cart-scroll--cart-note {   padding-bottom: 200px; } .shopify-buy__cart-scroll--cart-note.shopify-buy__cart-scroll--discounts {   padding-bottom: 230px; } .shopify-buy__cart-items {   overflow: hidden;   overflow-y: auto;   height: 100%;   position: relative;   padding: 0 20px 20px;   -webkit-overflow-scrolling: touch;   -webkit-perspective: 400px;           perspective: 400px;   -webkit-perspective-origin: 50% 0px;           perspective-origin: 50% 0px; } .shopify-buy__cart-item {   min-height: 65px;   margin-bottom: 20px;   overflow: hidden;   position: relative;   -webkit-backface-visibility: visible;           backface-visibility: visible;   -webkit-animation: 200ms flipIn forwards;           animation: 200ms flipIn forwards; } .shopify-buy__cart-item.is-hidden {   -webkit-animation-name: flipOut;           animation-name: flipOut; } .shopify-buy__cart-item__image {   width: 65px;   height: 65px;   background-size: contain;   background-repeat: no-repeat;   background-position: center center;   background-color: transparent;   position: absolute;   left: 0;   top: 0; } .shopify-buy__cart-item__title {   font-size: 14px;   margin-left: 80px;   margin-bottom: 3px;   display: block; } .shopify-buy__cart-item__price {   float: right;   font-size: 14px;   font-weight: bold;   line-height: 26px; } .shopify-buy__cart-item__price-and-discounts {   float: right;   text-align: right;   max-width: 100px } .shopify-buy__cart-item__price-and-discounts .shopify-buy__cart-item__price {     float: none;   } .shopify-buy__cart-item__full-price {   font-size: 12px;   line-height: 12px; } .shopify-buy__cart-item__discount {   font-size: 12px;   word-wrap: break-word;   text-transform: uppercase } .shopify-buy__cart-item__discount + .shopify-buy__cart-item__discount {     margin-top: 5px;   } .shopify-buy__cart-item__discount__icon {   width: 12px;   height: 12px;   vertical-align: top;   fill: currentColor; } .shopify-buy__cart-item__variant-title {   margin-left: 80px;   margin-bottom: 10px;   color: #4c4c4c;   font-size: 12px;   max-width: 220px;   overflow: hidden;   text-overflow: ellipsis; } .shopify-buy__cart-bottom {   background-color: #fff;   position: absolute;   width: 100%;   bottom: 0;   padding: 15px 20px 20px 20px; } .shopify-buy__cart__subtotal__text {   text-transform: uppercase;   float: left;   font-size: 11px;   color: #4c4c4c; } .shopify-buy__cart__subtotal__price {   float: right; } .shopify-buy__cart__discount {   display: -webkit-box;   display: -webkit-flex;   display: -ms-flexbox;   display: flex;   margin-bottom: 10px;   color: #4c4c4c; } .shopify-buy__cart__discount__text {   font-size: 11px;   text-transform: uppercase;   margin-right: 10px;   -webkit-box-flex: 1;   -webkit-flex-grow: 1;       -ms-flex-positive: 1;           flex-grow: 1; } .shopify-buy__cart__discount__text__icon {   width: 11px;   height: 11px;   vertical-align: top;   fill: currentColor; } .shopify-buy__cart__discount__amount {   font-size: 12px;   line-height: 12px;   -webkit-flex-shrink: 0;       -ms-flex-negative: 0;           flex-shrink: 0; } .shopify-buy__cart__currency {   font-size: 12px; } .shopify-buy__cart__notice {   font-size: 11px;   clear: both;   padding-top: 10px;   text-align: center;   color: #4c4c4c; } .shopify-buy__cart__note {   clear: both;   padding-top: 10px; } .shopify-buy__cart__note__description {   font-size: 11px;   color: #4c4c4c; } .shopify-buy__cart__note__text-area {   resize: none;   font-size: 11px;   width: 100%;   color: #4c4c4c; } .shopify-buy__cart-empty-text {   padding: 10px 15px;   text-align: center; } .shopify-buy__btn--cart-checkout {   clear: both;   margin-top: 15px;   width: 100%;   padding: 10px 5px;   font-size: 16px; } .shopify-buy__quantity-container {   margin-left: 80px;   margin-right: 100px;   height: 26px;   line-height: 26px; } .shopify-buy__quantity-container.is-loading {   opacity: 0.65;   pointer-events: none; } .shopify-buy__cart-item__quantity-input {   float: left;   background: transparent; } @media (max-width: 330px) {   .shopify-buy__cart-item__price-and-discounts {     max-width: 90px;   }    .shopify-buy__quantity-container {     margin-right: 90px;   } } .shopify-buy__quantity-decrement, .shopify-buy__quantity-increment {   color: #4c4c4c;   display: block;   height: 30px;   float: left;   line-height: 16px;   font-family: monospace;   width: 26px;   padding: 0;   border: none;   background: transparent;   -webkit-box-shadow: none;           box-shadow: none;   cursor: pointer;   font-size: 18px;   text-align: center;   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   border: 1px solid #767676;   position: relative } .shopify-buy__quantity-decrement svg, .shopify-buy__quantity-increment svg {     width: 14px;     height: 14px;     position: absolute;     top: 50%;     left: 50%;     margin-top: -6px;     margin-left: -7px;     fill: currentColor;   } .shopify-buy__quantity-decrement {   border-radius: 3px 0 0 3px; } .shopify-buy__quantity-increment {   border-radius: 0 3px 3px 0; } .shopify-buy__quantity {   color: black;   width: 45px;   height: 30px;   font-size: 16px;   border: none;   text-align: center;   -webkit-appearance: none;   -moz-appearance: textfield;   display: inline-block;   padding: 0;   border-radius: 0;   border-top: 1px solid #767676;   border-bottom: 1px solid #767676; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {   -webkit-appearance: none;   margin: 0; } .shopify-buy__quantity-container.shopify-buy__quantity-with-btns {   overflow: hidden } .shopify-buy__quantity-container.shopify-buy__quantity-with-btns .shopify-buy__quantity {     border-left: 0;     border-right: 0;     float: left;   } ';\n  styles.modal = 'html, body, h1, h2, h3, h4, h5, p {   padding: 0;   margin: 0; } * {   -webkit-box-sizing: border-box;           box-sizing: border-box; } body, html {   min-height: 100%; } html {   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   font-size: 14px;   line-height: 1.2;   color: #4c4c4c;   text-rendering: optimizeLegibility;   -webkit-font-smoothing: antialiased;   -moz-osx-font-smoothing: grayscale; } select {   text-rendering: auto !important; } ul {   list-style: none;   padding-left: 0;   margin: 0; } img {   display: block;   max-width: 100%; } input {   -webkit-appearance: textfield;   margin: 0; } .clearfix:after {     content: \"\";     display: table;     clear: both;   } .visuallyhidden {   border: 0;   height: 1px;   margin: -1px;   overflow: hidden;   padding: 0;   position: absolute;   width: 1px; } .component-container {   overflow: hidden; } .shopify-buy__type--center {   text-align: center; } .shopify-buy--visually-hidden {   position: absolute !important;   clip: rect(1px, 1px, 1px, 1px);   padding:0 !important;   border:0 !important;   height: 1px !important;   width: 1px !important;   overflow: hidden; } .shopify-buy__quantity-decrement, .shopify-buy__quantity-increment {   color: #4c4c4c;   display: block;   height: 30px;   float: left;   line-height: 16px;   font-family: monospace;   width: 26px;   padding: 0;   border: none;   background: transparent;   -webkit-box-shadow: none;           box-shadow: none;   cursor: pointer;   font-size: 18px;   text-align: center;   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   border: 1px solid #767676;   position: relative } .shopify-buy__quantity-decrement svg, .shopify-buy__quantity-increment svg {     width: 14px;     height: 14px;     position: absolute;     top: 50%;     left: 50%;     margin-top: -6px;     margin-left: -7px;     fill: currentColor;   } .shopify-buy__quantity-decrement {   border-radius: 3px 0 0 3px; } .shopify-buy__quantity-increment {   border-radius: 0 3px 3px 0; } .shopify-buy__quantity {   color: black;   width: 45px;   height: 30px;   font-size: 16px;   border: none;   text-align: center;   -webkit-appearance: none;   -moz-appearance: textfield;   display: inline-block;   padding: 0;   border-radius: 0;   border-top: 1px solid #767676;   border-bottom: 1px solid #767676; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {   -webkit-appearance: none;   margin: 0; } .shopify-buy__quantity-container.shopify-buy__quantity-with-btns {   overflow: hidden } .shopify-buy__quantity-container.shopify-buy__quantity-with-btns .shopify-buy__quantity {     border-left: 0;     border-right: 0;     float: left;   } .shopify-buy__btn {   color: #fff;   font-size: 15px;   background-color: #78b657;   padding: 12px 40px;   letter-spacing: .3px;   display: block;   border-radius: 3px;   cursor: pointer;   -webkit-transition: background 200ms ease;   transition: background 200ms ease;   max-width: 100%;   text-overflow: ellipsis;   overflow: hidden;   line-height: 1.2;   border: 0;   -moz-appearance: none;   -webkit-appearance: none } .shopify-buy__btn:hover,   .shopify-buy__btn:focus {     background-color: #5f9d3e;   } .shopify-buy__btn--parent {   background-color: transparent;   border: 0;   padding: 0;   cursor: pointer } .shopify-buy__btn--parent:hover .product__variant-img, .shopify-buy__btn--parent:focus .product__variant-img {       opacity: .7;     } .shopify-buy__btn--cart-tab {   padding: 5px 11px;   border-radius: 3px 0 0 3px;   position: fixed;   right: 0;   top: 50%;   -webkit-transform: translate(100%, -50%);           transform: translate(100%, -50%);   opacity: 0;   min-width: inherit;   width: auto;   height: auto;   z-index: 2147483647 } .shopify-buy__btn--cart-tab.is-active {     -webkit-transform: translateY(-50%);             transform: translateY(-50%);     opacity: 1;   } .shopify-buy__btn__counter {   display: block;   margin: 0 auto 10px auto;   font-size: 18px; } .shopify-buy__icon-cart--side {   height: 20px;   width: 20px; } .shopify-buy__btn[disabled] {   background-color: #999;   pointer-events: none; } .shopify-buy__btn--close {   position: absolute;   right: 9px;   top: 8px;   font-size: 35px;   color: #767676;   border: none;   background-color: transparent;   -webkit-transition: color 100ms ease, -webkit-transform 100ms ease;   transition: color 100ms ease, -webkit-transform 100ms ease;   transition: transform 100ms ease, color 100ms ease;   transition: transform 100ms ease, color 100ms ease, -webkit-transform 100ms ease;   cursor: pointer;   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   padding-right: 9px } .shopify-buy__btn--close:hover {     -webkit-transform: scale(1.2);             transform: scale(1.2);     color: hsl(0, 0%, 41.2745098039%);   } .shopify-buy__option-select-wrapper {   border: 1px solid #d3dbe2;   border-radius: 3px;   -webkit-box-sizing: border-box;           box-sizing: border-box;   position: relative;   background: #fff;   vertical-align: bottom; } .shopify-buy__select-icon {   cursor: pointer;   display: block;   fill: #798c9c;   position: absolute;   right: 10px;   top: 50%;   margin-top: -6px;   pointer-events: none;   width: 12px;   height: 12px;   vertical-align: middle; } .shopify-buy__option-select + .shopify-buy__option-select {     margin-top: 7.5px;   } .shopify-buy__option-select__label {   display: block;   font-size: 14px;   margin-top: 15px;   margin-bottom: 5px; } .shopify-buy__btn--parent .shopify-buy__option-select__label {     cursor: pointer;   } .shopify-buy__option-select__select {   font-size: inherit;   padding: 7px 10px;   padding-right: 32px;   border: 0;   width: 100%;   background: transparent;   -webkit-appearance: none;   -moz-appearance: none } .shopify-buy__option-select__select::-ms-expand {     display: none;   } .shopify-buy__btn--parent .shopify-buy__option-select__select {     cursor: pointer;   } .shopify-buy__product {   overflow: hidden;   width: 100%; } .shopify-buy__product__variant-img {   margin: 0 auto 15px auto;   -webkit-transition: opacity 0.3s ease;   transition: opacity 0.3s ease;   opacity: 1 } .shopify-buy__product__variant-img.is-transitioning {     opacity: 0;   } .shopify-buy__is-button {   cursor: pointer; } .shopify-buy__no-image .shopify-buy__product__variant-img {     display: none;   } .shopify-buy__product__title {   font-size: 18px;   line-height: 1.2;   color: #4a4a4a;   margin-bottom: 15px;   font-weight: 700; } .shopify-buy__layout-horizontal .shopify-buy__product__title {     margin-top: 10px;   } .shopify-buy__product__variant-title {   font-size: 18px;   color: #666;   font-weight: 400;   text-align: center;   margin-bottom: 15px; } .shopify-buy__product__price {   margin-bottom: 15px; } .shopify-buy__product-description {   margin-top: 30px;   line-height: 1.65;   color: #4a4a4a } .shopify-buy__product-description p,   .shopify-buy__product-description ul,   .shopify-buy__product-description ol,   .shopify-buy__product-description img {     margin-bottom: 10px   } .shopify-buy__product-description p:last-child, .shopify-buy__product-description ul:last-child, .shopify-buy__product-description ol:last-child, .shopify-buy__product-description img:last-child {       margin-bottom: 0;     } .shopify-buy__product-description a {     color: inherit;   } .shopify-buy__product-description img {     max-width: 100%;   } .shopify-buy__product-description h1 {     font-size: 20px;   } .shopify-buy__product-description h2 {     font-size: 18px;   } .shopify-buy__product-description h3 {     font-size: 17px;   } .shopify-buy__product-description ul,   .shopify-buy__product-description ol {     margin-left: 2em;   } .shopify-buy__product-description ul {     list-style-type: disc;   } .shopify-buy__layout-vertical {   text-align: center; } .shopify-buy__product__actual-price, .shopify-buy__product__compare-price {   color: #4a4a4a;   display: inline-block; } .shopify-buy__product__actual-price {   font-size: 14px; } .shopify-buy__product__compare-price {   font-size: 12px;   text-decoration: line-through;   padding-left: 5px;   opacity: 0.76; } .shopify-buy__product__unit-price {   color: #4a4a4a;   padding-top: 5px;   font-size: 12px;   opacity: 0.8; } .shopify-buy__product__variant-selectors {   text-align: left;   font-size: 14px; } .shopify-buy__layout-vertical .shopify-buy__product__variant-selectors {     width: 100%;     max-width: 280px;     display: inline-block;   } .shopify-buy__quantity {   border-left: 1px solid;   border-right: 1px solid;   border-radius: 3px; } .shopify-buy__quantity, .shopify-buy__quantity-increment, .shopify-buy__quantity-decrement {   border-color: #d3dbe2;   line-height: 1.2;   font-size: 15px;   height: auto;   padding-top: 12px;   padding-bottom: 12px; } .shopify-buy__btn {   display: inline-block; } .shopify-buy__btn-wrapper {   margin-top: 20px; } .shopify-buy__btn.shopify-buy__beside-quantity {   display: inline-block;   vertical-align: top;   border-top-left-radius: 0;   border-bottom-left-radius: 0;   border: 1px solid transparent; } .shopify-buy__btn-and-quantity .shopify-buy__quantity {     border-right: 0;     border-top-right-radius: 0;     border-bottom-right-radius: 0;     background: #fff;   } .shopify-buy__btn-and-quantity .shopify-buy__quantity-container {     display: inline-block;     vertical-align: top;   } .shopify-buy__btn-and-quantity .shopify-buy__btn-wrapper {     display: inline-block;     vertical-align: top;     margin: 0;   } .shopify-buy__cart-item__quantity-container {   margin-top: 20px;   display: inline-block; } .shopify-buy__layout-vertical .shopify-buy__btn,   .shopify-buy__layout-vertical .shopify-buy__quantity-container,   .shopify-buy__layout-horizontal .shopify-buy__btn,   .shopify-buy__layout-horizontal .shopify-buy__quantity-container {     margin: 20px auto 0;   } .shopify-buy__layout-vertical .shopify-buy__btn:first-child, .shopify-buy__layout-horizontal .shopify-buy__btn:first-child {     margin-top: 0;   } .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity, .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity {     margin: 20px auto 0   } .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity .shopify-buy__btn,     .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity .shopify-buy__quantity-container,     .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity .shopify-buy__btn,     .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity .shopify-buy__quantity-container {       margin: 0 auto;     } .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity:first-child, .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity:first-child {     margin: 0 auto;   } .shopify-buy__layout-vertical .shopify-buy__product__variant-img, .shopify-buy__layout-horizontal .shopify-buy__product__variant-img {     max-width: 100%;   } @media (min-width: 500px) {   .shopify-buy__layout-horizontal:not(.no-image) {     text-align: left;     margin-bottom: 0;     margin-left: 0   }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-img-wrapper {       float: left;       width: 40%;     }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-title {       text-align: left;     }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__price,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-description,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__btn-and-quantity,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__btn-wrapper,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__quantity-container,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-selectors {       margin-left: calc(40% + 25px);     } } @media (min-width: 680px) {     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-img-wrapper {       float: left;       width: 60%;     }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__price,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-description,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__btn-and-quantity,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__btn-wrapper,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__quantity-container,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-selectors {       margin-left: calc(60% + 25px);     } } .no-image .shopify-buy__product-img-wrapper {     display: none;   } @-webkit-keyframes dash {   to {     stroke-dashoffset: 0;   } } @keyframes dash {   to {     stroke-dashoffset: 0;   } } .shopify-buy__carousel {   font-size: 0;   text-align: center;   min-height: 90px;   margin-left: -15px;   margin-top: 15px; } .shopify-buy__carousel-item {   width: calc(16.666% - 15px);   margin-left: 15px;   display: inline-block;   vertical-align: middle;   cursor: pointer;   position: relative;   background-size: cover;   background-position: center;   padding: 0;   border: none } .shopify-buy__carousel-item:nth-child(n+7) {     margin-top: 15px;   } .shopify-buy__carousel-item:before {     content: \"\";     display: block;     padding-top: 100%;   } .main-image-wrapper {   position: relative; } .carousel-button {   position: absolute;   width: 75px;   top: 0;   height: 100%;   border: none;   font-size: 0;   background-color: transparent;   opacity: 0.4;   cursor: pointer } .carousel-button:hover,   .carousel-button:focus {     opacity: 0.9;     outline: none;   } .carousel-button-arrow {   width: 20px;   display: inline-block;   margin-left: 25px; } .carousel-button--previous {   left: 0;   -webkit-transform: rotate(180deg);           transform: rotate(180deg); } .carousel-button--next {   right: 0; } .shopify-buy__carousel-item--selected {   opacity: 0.4; } .shopify-buy__btn--close {   right: 0px;   font-size: 45px;   font-weight: 100;   z-index: 2147483647;   padding: 0 10px; } .shopify-buy__modal {   background: #fff;   width: calc(100% - 20px);   position: absolute;   left: 0;   right: 0;   z-index: 2147483646; } .shopify-buy__product {   text-align: left; } .shopify-buy__product__title, .shopify-buy__product__price, .shopify-buy__product__variant-title {   text-align: left; } .shopify-buy__product__title {   font-size: 26px;   font-weight: 700;   line-height: 1.4; } .shopify-buy__product__compare-price {   display: inline-block;   margin-right: 5px; } .shopify-buy__product__actual-price {   display: inline-block; } .shopify-buy__modal .shopify-buy__modal-product-wrapper {   width: 100%; } .shopify-buy__product__variant-image {   margin: 0; } @media (max-width: 499px) {   body.is-active {     overflow: hidden;     position: fixed;     height: 100vh;     -webkit-transition: all 0s;     transition: all 0s;   }    .shopify-buy__modal {     width: 100%;     min-height: 100vh;     position: fixed;     overflow-y: auto;   }    .shopify-buy__product {     padding: 15px;     position: absolute;     top: 0;     left: 0;   }    .shopify-buy__product__variant-img {     max-height: 60vh;     margin: 0 auto;     width: auto;     max-width: 100%;   }    .shopify-buy__btn--close {     position: fixed;     top: 0;     right: 0;   } } @-webkit-keyframes slideIn {   from {     opacity: 0;     transform: translateY(-200px);     -webkit-transform: translateY(-200px);   }    to {     opacity: 1;     transform: translateY(0);     -webkit-transform: translateY(0);   } } @keyframes slideIn {   from {     opacity: 0;     transform: translateY(-200px);     -webkit-transform: translateY(-200px);   }    to {     opacity: 1;     transform: translateY(0);     -webkit-transform: translateY(0);   } } @-webkit-keyframes slideOut {   from {     opacity: 1;     transform: translateY(0);     -webkit-transform: translateY(0);   }    to {     opacity: 0;     transform: translateY(-200px);     -webkit-transform: translateY(-200px);   } } @keyframes slideOut {   from {     opacity: 1;     transform: translateY(0);     -webkit-transform: translateY(0);   }    to {     opacity: 0;     transform: translateY(-200px);     -webkit-transform: translateY(-200px);   } } @media (min-width: 500px) {   html,   body.is-active {     height: 100%;   }    .shopify-buy__modal-overlay {     width: 100%;     height: 100%;     position: fixed;     overflow-y: scroll;   }    .shopify-buy__modal {     margin: 100px auto 40px auto;     opacity: 0;     border-radius: 2px;     border: 1px solid rgba(0, 0, 0, 0.72);     -webkit-transform: translateY(-200px);             transform: translateY(-200px);     max-width: 1000px;     -webkit-animation: 200ms slideOut forwards;             animation: 200ms slideOut forwards;   }     .is-active .shopify-buy__modal {       -webkit-animation-name: slideIn;               animation-name: slideIn;     }    .shopify-buy__product {     padding: 30px;   }    .shopify-buy__product-img-wrapper {     height: 100%;     padding-right: 30px;   }    .shopify-buy__product__variant-img {     margin: 0 auto;   }    .shopify-buy__btn--close {     top: -60px;     color: hsl(0, 0%, 100%)   }      .shopify-buy__btn--close:hover {       color: #fff;     } } @media (min-width: 680px) {   .shopify-buy__product {     padding: 45px;   } } ';\n  styles.product = 'html, body, h1, h2, h3, h4, h5, p {   padding: 0;   margin: 0; } * {   -webkit-box-sizing: border-box;           box-sizing: border-box; } body, html {   min-height: 100%; } html {   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   font-size: 14px;   line-height: 1.2;   color: #4c4c4c;   text-rendering: optimizeLegibility;   -webkit-font-smoothing: antialiased;   -moz-osx-font-smoothing: grayscale; } select {   text-rendering: auto !important; } ul {   list-style: none;   padding-left: 0;   margin: 0; } img {   display: block;   max-width: 100%; } input {   -webkit-appearance: textfield;   margin: 0; } .clearfix:after {     content: \"\";     display: table;     clear: both;   } .visuallyhidden {   border: 0;   height: 1px;   margin: -1px;   overflow: hidden;   padding: 0;   position: absolute;   width: 1px; } .component-container {   overflow: hidden; } .shopify-buy__type--center {   text-align: center; } .shopify-buy--visually-hidden {   position: absolute !important;   clip: rect(1px, 1px, 1px, 1px);   padding:0 !important;   border:0 !important;   height: 1px !important;   width: 1px !important;   overflow: hidden; } .shopify-buy__quantity-decrement, .shopify-buy__quantity-increment {   color: #4c4c4c;   display: block;   height: 30px;   float: left;   line-height: 16px;   font-family: monospace;   width: 26px;   padding: 0;   border: none;   background: transparent;   -webkit-box-shadow: none;           box-shadow: none;   cursor: pointer;   font-size: 18px;   text-align: center;   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   border: 1px solid #767676;   position: relative } .shopify-buy__quantity-decrement svg, .shopify-buy__quantity-increment svg {     width: 14px;     height: 14px;     position: absolute;     top: 50%;     left: 50%;     margin-top: -6px;     margin-left: -7px;     fill: currentColor;   } .shopify-buy__quantity-decrement {   border-radius: 3px 0 0 3px; } .shopify-buy__quantity-increment {   border-radius: 0 3px 3px 0; } .shopify-buy__quantity {   color: black;   width: 45px;   height: 30px;   font-size: 16px;   border: none;   text-align: center;   -webkit-appearance: none;   -moz-appearance: textfield;   display: inline-block;   padding: 0;   border-radius: 0;   border-top: 1px solid #767676;   border-bottom: 1px solid #767676; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {   -webkit-appearance: none;   margin: 0; } .shopify-buy__quantity-container.shopify-buy__quantity-with-btns {   overflow: hidden } .shopify-buy__quantity-container.shopify-buy__quantity-with-btns .shopify-buy__quantity {     border-left: 0;     border-right: 0;     float: left;   } .shopify-buy__btn {   color: #fff;   font-size: 15px;   background-color: #78b657;   padding: 12px 40px;   letter-spacing: .3px;   display: block;   border-radius: 3px;   cursor: pointer;   -webkit-transition: background 200ms ease;   transition: background 200ms ease;   max-width: 100%;   text-overflow: ellipsis;   overflow: hidden;   line-height: 1.2;   border: 0;   -moz-appearance: none;   -webkit-appearance: none } .shopify-buy__btn:hover,   .shopify-buy__btn:focus {     background-color: #5f9d3e;   } .shopify-buy__btn--parent {   background-color: transparent;   border: 0;   padding: 0;   cursor: pointer } .shopify-buy__btn--parent:hover .product__variant-img, .shopify-buy__btn--parent:focus .product__variant-img {       opacity: .7;     } .shopify-buy__btn--cart-tab {   padding: 5px 11px;   border-radius: 3px 0 0 3px;   position: fixed;   right: 0;   top: 50%;   -webkit-transform: translate(100%, -50%);           transform: translate(100%, -50%);   opacity: 0;   min-width: inherit;   width: auto;   height: auto;   z-index: 2147483647 } .shopify-buy__btn--cart-tab.is-active {     -webkit-transform: translateY(-50%);             transform: translateY(-50%);     opacity: 1;   } .shopify-buy__btn__counter {   display: block;   margin: 0 auto 10px auto;   font-size: 18px; } .shopify-buy__icon-cart--side {   height: 20px;   width: 20px; } .shopify-buy__btn[disabled] {   background-color: #999;   pointer-events: none; } .shopify-buy__btn--close {   position: absolute;   right: 9px;   top: 8px;   font-size: 35px;   color: #767676;   border: none;   background-color: transparent;   -webkit-transition: color 100ms ease, -webkit-transform 100ms ease;   transition: color 100ms ease, -webkit-transform 100ms ease;   transition: transform 100ms ease, color 100ms ease;   transition: transform 100ms ease, color 100ms ease, -webkit-transform 100ms ease;   cursor: pointer;   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   padding-right: 9px } .shopify-buy__btn--close:hover {     -webkit-transform: scale(1.2);             transform: scale(1.2);     color: hsl(0, 0%, 41.2745098039%);   } .shopify-buy__option-select-wrapper {   border: 1px solid #d3dbe2;   border-radius: 3px;   -webkit-box-sizing: border-box;           box-sizing: border-box;   position: relative;   background: #fff;   vertical-align: bottom; } .shopify-buy__select-icon {   cursor: pointer;   display: block;   fill: #798c9c;   position: absolute;   right: 10px;   top: 50%;   margin-top: -6px;   pointer-events: none;   width: 12px;   height: 12px;   vertical-align: middle; } .shopify-buy__option-select + .shopify-buy__option-select {     margin-top: 7.5px;   } .shopify-buy__option-select__label {   display: block;   font-size: 14px;   margin-top: 15px;   margin-bottom: 5px; } .shopify-buy__btn--parent .shopify-buy__option-select__label {     cursor: pointer;   } .shopify-buy__option-select__select {   font-size: inherit;   padding: 7px 10px;   padding-right: 32px;   border: 0;   width: 100%;   background: transparent;   -webkit-appearance: none;   -moz-appearance: none } .shopify-buy__option-select__select::-ms-expand {     display: none;   } .shopify-buy__btn--parent .shopify-buy__option-select__select {     cursor: pointer;   } .shopify-buy__product {   overflow: hidden;   width: 100%; } .shopify-buy__product__variant-img {   margin: 0 auto 15px auto;   -webkit-transition: opacity 0.3s ease;   transition: opacity 0.3s ease;   opacity: 1 } .shopify-buy__product__variant-img.is-transitioning {     opacity: 0;   } .shopify-buy__is-button {   cursor: pointer; } .shopify-buy__no-image .shopify-buy__product__variant-img {     display: none;   } .shopify-buy__product__title {   font-size: 18px;   line-height: 1.2;   color: #4a4a4a;   margin-bottom: 15px;   font-weight: 700; } .shopify-buy__layout-horizontal .shopify-buy__product__title {     margin-top: 10px;   } .shopify-buy__product__variant-title {   font-size: 18px;   color: #666;   font-weight: 400;   text-align: center;   margin-bottom: 15px; } .shopify-buy__product__price {   margin-bottom: 15px; } .shopify-buy__product-description {   margin-top: 30px;   line-height: 1.65;   color: #4a4a4a } .shopify-buy__product-description p,   .shopify-buy__product-description ul,   .shopify-buy__product-description ol,   .shopify-buy__product-description img {     margin-bottom: 10px   } .shopify-buy__product-description p:last-child, .shopify-buy__product-description ul:last-child, .shopify-buy__product-description ol:last-child, .shopify-buy__product-description img:last-child {       margin-bottom: 0;     } .shopify-buy__product-description a {     color: inherit;   } .shopify-buy__product-description img {     max-width: 100%;   } .shopify-buy__product-description h1 {     font-size: 20px;   } .shopify-buy__product-description h2 {     font-size: 18px;   } .shopify-buy__product-description h3 {     font-size: 17px;   } .shopify-buy__product-description ul,   .shopify-buy__product-description ol {     margin-left: 2em;   } .shopify-buy__product-description ul {     list-style-type: disc;   } .shopify-buy__layout-vertical {   text-align: center; } .shopify-buy__product__actual-price, .shopify-buy__product__compare-price {   color: #4a4a4a;   display: inline-block; } .shopify-buy__product__actual-price {   font-size: 14px; } .shopify-buy__product__compare-price {   font-size: 12px;   text-decoration: line-through;   padding-left: 5px;   opacity: 0.76; } .shopify-buy__product__unit-price {   color: #4a4a4a;   padding-top: 5px;   font-size: 12px;   opacity: 0.8; } .shopify-buy__product__variant-selectors {   text-align: left;   font-size: 14px; } .shopify-buy__layout-vertical .shopify-buy__product__variant-selectors {     width: 100%;     max-width: 280px;     display: inline-block;   } .shopify-buy__quantity {   border-left: 1px solid;   border-right: 1px solid;   border-radius: 3px; } .shopify-buy__quantity, .shopify-buy__quantity-increment, .shopify-buy__quantity-decrement {   border-color: #d3dbe2;   line-height: 1.2;   font-size: 15px;   height: auto;   padding-top: 12px;   padding-bottom: 12px; } .shopify-buy__btn {   display: inline-block; } .shopify-buy__btn-wrapper {   margin-top: 20px; } .shopify-buy__btn.shopify-buy__beside-quantity {   display: inline-block;   vertical-align: top;   border-top-left-radius: 0;   border-bottom-left-radius: 0;   border: 1px solid transparent; } .shopify-buy__btn-and-quantity .shopify-buy__quantity {     border-right: 0;     border-top-right-radius: 0;     border-bottom-right-radius: 0;     background: #fff;   } .shopify-buy__btn-and-quantity .shopify-buy__quantity-container {     display: inline-block;     vertical-align: top;   } .shopify-buy__btn-and-quantity .shopify-buy__btn-wrapper {     display: inline-block;     vertical-align: top;     margin: 0;   } .shopify-buy__cart-item__quantity-container {   margin-top: 20px;   display: inline-block; } .shopify-buy__layout-vertical .shopify-buy__btn,   .shopify-buy__layout-vertical .shopify-buy__quantity-container,   .shopify-buy__layout-horizontal .shopify-buy__btn,   .shopify-buy__layout-horizontal .shopify-buy__quantity-container {     margin: 20px auto 0;   } .shopify-buy__layout-vertical .shopify-buy__btn:first-child, .shopify-buy__layout-horizontal .shopify-buy__btn:first-child {     margin-top: 0;   } .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity, .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity {     margin: 20px auto 0   } .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity .shopify-buy__btn,     .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity .shopify-buy__quantity-container,     .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity .shopify-buy__btn,     .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity .shopify-buy__quantity-container {       margin: 0 auto;     } .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity:first-child, .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity:first-child {     margin: 0 auto;   } .shopify-buy__layout-vertical .shopify-buy__product__variant-img, .shopify-buy__layout-horizontal .shopify-buy__product__variant-img {     max-width: 100%;   } @media (min-width: 500px) {   .shopify-buy__layout-horizontal:not(.no-image) {     text-align: left;     margin-bottom: 0;     margin-left: 0   }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-img-wrapper {       float: left;       width: 40%;     }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-title {       text-align: left;     }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__price,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-description,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__btn-and-quantity,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__btn-wrapper,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__quantity-container,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-selectors {       margin-left: calc(40% + 25px);     } } @media (min-width: 680px) {     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-img-wrapper {       float: left;       width: 60%;     }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__price,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-description,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__btn-and-quantity,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__btn-wrapper,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__quantity-container,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-selectors {       margin-left: calc(60% + 25px);     } } .no-image .shopify-buy__product-img-wrapper {     display: none;   } @-webkit-keyframes dash {   to {     stroke-dashoffset: 0;   } } @keyframes dash {   to {     stroke-dashoffset: 0;   } } .shopify-buy__carousel {   font-size: 0;   text-align: center;   min-height: 90px;   margin-left: -15px;   margin-top: 15px; } .shopify-buy__carousel-item {   width: calc(16.666% - 15px);   margin-left: 15px;   display: inline-block;   vertical-align: middle;   cursor: pointer;   position: relative;   background-size: cover;   background-position: center;   padding: 0;   border: none } .shopify-buy__carousel-item:nth-child(n+7) {     margin-top: 15px;   } .shopify-buy__carousel-item:before {     content: \"\";     display: block;     padding-top: 100%;   } .main-image-wrapper {   position: relative; } .carousel-button {   position: absolute;   width: 75px;   top: 0;   height: 100%;   border: none;   font-size: 0;   background-color: transparent;   opacity: 0.4;   cursor: pointer } .carousel-button:hover,   .carousel-button:focus {     opacity: 0.9;     outline: none;   } .carousel-button-arrow {   width: 20px;   display: inline-block;   margin-left: 25px; } .carousel-button--previous {   left: 0;   -webkit-transform: rotate(180deg);           transform: rotate(180deg); } .carousel-button--next {   right: 0; } .shopify-buy__carousel-item--selected {   opacity: 0.4; } ';\n  styles.productSet = 'html, body, h1, h2, h3, h4, h5, p {   padding: 0;   margin: 0; } * {   -webkit-box-sizing: border-box;           box-sizing: border-box; } body, html {   min-height: 100%; } html {   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   font-size: 14px;   line-height: 1.2;   color: #4c4c4c;   text-rendering: optimizeLegibility;   -webkit-font-smoothing: antialiased;   -moz-osx-font-smoothing: grayscale; } select {   text-rendering: auto !important; } ul {   list-style: none;   padding-left: 0;   margin: 0; } img {   display: block;   max-width: 100%; } input {   -webkit-appearance: textfield;   margin: 0; } .clearfix:after {     content: \"\";     display: table;     clear: both;   } .visuallyhidden {   border: 0;   height: 1px;   margin: -1px;   overflow: hidden;   padding: 0;   position: absolute;   width: 1px; } .component-container {   overflow: hidden; } .shopify-buy__type--center {   text-align: center; } .shopify-buy--visually-hidden {   position: absolute !important;   clip: rect(1px, 1px, 1px, 1px);   padding:0 !important;   border:0 !important;   height: 1px !important;   width: 1px !important;   overflow: hidden; } .shopify-buy__btn {   color: #fff;   font-size: 15px;   background-color: #78b657;   padding: 12px 40px;   letter-spacing: .3px;   display: block;   border-radius: 3px;   cursor: pointer;   -webkit-transition: background 200ms ease;   transition: background 200ms ease;   max-width: 100%;   text-overflow: ellipsis;   overflow: hidden;   line-height: 1.2;   border: 0;   -moz-appearance: none;   -webkit-appearance: none } .shopify-buy__btn:hover,   .shopify-buy__btn:focus {     background-color: #5f9d3e;   } .shopify-buy__btn--parent {   background-color: transparent;   border: 0;   padding: 0;   cursor: pointer } .shopify-buy__btn--parent:hover .product__variant-img, .shopify-buy__btn--parent:focus .product__variant-img {       opacity: .7;     } .shopify-buy__btn--cart-tab {   padding: 5px 11px;   border-radius: 3px 0 0 3px;   position: fixed;   right: 0;   top: 50%;   -webkit-transform: translate(100%, -50%);           transform: translate(100%, -50%);   opacity: 0;   min-width: inherit;   width: auto;   height: auto;   z-index: 2147483647 } .shopify-buy__btn--cart-tab.is-active {     -webkit-transform: translateY(-50%);             transform: translateY(-50%);     opacity: 1;   } .shopify-buy__btn__counter {   display: block;   margin: 0 auto 10px auto;   font-size: 18px; } .shopify-buy__icon-cart--side {   height: 20px;   width: 20px; } .shopify-buy__btn[disabled] {   background-color: #999;   pointer-events: none; } .shopify-buy__btn--close {   position: absolute;   right: 9px;   top: 8px;   font-size: 35px;   color: #767676;   border: none;   background-color: transparent;   -webkit-transition: color 100ms ease, -webkit-transform 100ms ease;   transition: color 100ms ease, -webkit-transform 100ms ease;   transition: transform 100ms ease, color 100ms ease;   transition: transform 100ms ease, color 100ms ease, -webkit-transform 100ms ease;   cursor: pointer;   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   padding-right: 9px } .shopify-buy__btn--close:hover {     -webkit-transform: scale(1.2);             transform: scale(1.2);     color: hsl(0, 0%, 41.2745098039%);   } .shopify-buy__quantity-decrement, .shopify-buy__quantity-increment {   color: #4c4c4c;   display: block;   height: 30px;   float: left;   line-height: 16px;   font-family: monospace;   width: 26px;   padding: 0;   border: none;   background: transparent;   -webkit-box-shadow: none;           box-shadow: none;   cursor: pointer;   font-size: 18px;   text-align: center;   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   border: 1px solid #767676;   position: relative } .shopify-buy__quantity-decrement svg, .shopify-buy__quantity-increment svg {     width: 14px;     height: 14px;     position: absolute;     top: 50%;     left: 50%;     margin-top: -6px;     margin-left: -7px;     fill: currentColor;   } .shopify-buy__quantity-decrement {   border-radius: 3px 0 0 3px; } .shopify-buy__quantity-increment {   border-radius: 0 3px 3px 0; } .shopify-buy__quantity {   color: black;   width: 45px;   height: 30px;   font-size: 16px;   border: none;   text-align: center;   -webkit-appearance: none;   -moz-appearance: textfield;   display: inline-block;   padding: 0;   border-radius: 0;   border-top: 1px solid #767676;   border-bottom: 1px solid #767676; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {   -webkit-appearance: none;   margin: 0; } .shopify-buy__quantity-container.shopify-buy__quantity-with-btns {   overflow: hidden } .shopify-buy__quantity-container.shopify-buy__quantity-with-btns .shopify-buy__quantity {     border-left: 0;     border-right: 0;     float: left;   } .shopify-buy__option-select-wrapper {   border: 1px solid #d3dbe2;   border-radius: 3px;   -webkit-box-sizing: border-box;           box-sizing: border-box;   position: relative;   background: #fff;   vertical-align: bottom; } .shopify-buy__select-icon {   cursor: pointer;   display: block;   fill: #798c9c;   position: absolute;   right: 10px;   top: 50%;   margin-top: -6px;   pointer-events: none;   width: 12px;   height: 12px;   vertical-align: middle; } .shopify-buy__option-select + .shopify-buy__option-select {     margin-top: 7.5px;   } .shopify-buy__option-select__label {   display: block;   font-size: 14px;   margin-top: 15px;   margin-bottom: 5px; } .shopify-buy__btn--parent .shopify-buy__option-select__label {     cursor: pointer;   } .shopify-buy__option-select__select {   font-size: inherit;   padding: 7px 10px;   padding-right: 32px;   border: 0;   width: 100%;   background: transparent;   -webkit-appearance: none;   -moz-appearance: none } .shopify-buy__option-select__select::-ms-expand {     display: none;   } .shopify-buy__btn--parent .shopify-buy__option-select__select {     cursor: pointer;   } .shopify-buy__product {   overflow: hidden;   width: 100%; } .shopify-buy__product__variant-img {   margin: 0 auto 15px auto;   -webkit-transition: opacity 0.3s ease;   transition: opacity 0.3s ease;   opacity: 1 } .shopify-buy__product__variant-img.is-transitioning {     opacity: 0;   } .shopify-buy__is-button {   cursor: pointer; } .shopify-buy__no-image .shopify-buy__product__variant-img {     display: none;   } .shopify-buy__product__title {   font-size: 18px;   line-height: 1.2;   color: #4a4a4a;   margin-bottom: 15px;   font-weight: 700; } .shopify-buy__layout-horizontal .shopify-buy__product__title {     margin-top: 10px;   } .shopify-buy__product__variant-title {   font-size: 18px;   color: #666;   font-weight: 400;   text-align: center;   margin-bottom: 15px; } .shopify-buy__product__price {   margin-bottom: 15px; } .shopify-buy__product-description {   margin-top: 30px;   line-height: 1.65;   color: #4a4a4a } .shopify-buy__product-description p,   .shopify-buy__product-description ul,   .shopify-buy__product-description ol,   .shopify-buy__product-description img {     margin-bottom: 10px   } .shopify-buy__product-description p:last-child, .shopify-buy__product-description ul:last-child, .shopify-buy__product-description ol:last-child, .shopify-buy__product-description img:last-child {       margin-bottom: 0;     } .shopify-buy__product-description a {     color: inherit;   } .shopify-buy__product-description img {     max-width: 100%;   } .shopify-buy__product-description h1 {     font-size: 20px;   } .shopify-buy__product-description h2 {     font-size: 18px;   } .shopify-buy__product-description h3 {     font-size: 17px;   } .shopify-buy__product-description ul,   .shopify-buy__product-description ol {     margin-left: 2em;   } .shopify-buy__product-description ul {     list-style-type: disc;   } .shopify-buy__layout-vertical {   text-align: center; } .shopify-buy__product__actual-price, .shopify-buy__product__compare-price {   color: #4a4a4a;   display: inline-block; } .shopify-buy__product__actual-price {   font-size: 14px; } .shopify-buy__product__compare-price {   font-size: 12px;   text-decoration: line-through;   padding-left: 5px;   opacity: 0.76; } .shopify-buy__product__unit-price {   color: #4a4a4a;   padding-top: 5px;   font-size: 12px;   opacity: 0.8; } .shopify-buy__product__variant-selectors {   text-align: left;   font-size: 14px; } .shopify-buy__layout-vertical .shopify-buy__product__variant-selectors {     width: 100%;     max-width: 280px;     display: inline-block;   } .shopify-buy__quantity {   border-left: 1px solid;   border-right: 1px solid;   border-radius: 3px; } .shopify-buy__quantity, .shopify-buy__quantity-increment, .shopify-buy__quantity-decrement {   border-color: #d3dbe2;   line-height: 1.2;   font-size: 15px;   height: auto;   padding-top: 12px;   padding-bottom: 12px; } .shopify-buy__btn {   display: inline-block; } .shopify-buy__btn-wrapper {   margin-top: 20px; } .shopify-buy__btn.shopify-buy__beside-quantity {   display: inline-block;   vertical-align: top;   border-top-left-radius: 0;   border-bottom-left-radius: 0;   border: 1px solid transparent; } .shopify-buy__btn-and-quantity .shopify-buy__quantity {     border-right: 0;     border-top-right-radius: 0;     border-bottom-right-radius: 0;     background: #fff;   } .shopify-buy__btn-and-quantity .shopify-buy__quantity-container {     display: inline-block;     vertical-align: top;   } .shopify-buy__btn-and-quantity .shopify-buy__btn-wrapper {     display: inline-block;     vertical-align: top;     margin: 0;   } .shopify-buy__cart-item__quantity-container {   margin-top: 20px;   display: inline-block; } .shopify-buy__layout-vertical .shopify-buy__btn,   .shopify-buy__layout-vertical .shopify-buy__quantity-container,   .shopify-buy__layout-horizontal .shopify-buy__btn,   .shopify-buy__layout-horizontal .shopify-buy__quantity-container {     margin: 20px auto 0;   } .shopify-buy__layout-vertical .shopify-buy__btn:first-child, .shopify-buy__layout-horizontal .shopify-buy__btn:first-child {     margin-top: 0;   } .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity, .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity {     margin: 20px auto 0   } .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity .shopify-buy__btn,     .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity .shopify-buy__quantity-container,     .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity .shopify-buy__btn,     .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity .shopify-buy__quantity-container {       margin: 0 auto;     } .shopify-buy__layout-vertical .shopify-buy__btn-and-quantity:first-child, .shopify-buy__layout-horizontal .shopify-buy__btn-and-quantity:first-child {     margin: 0 auto;   } .shopify-buy__layout-vertical .shopify-buy__product__variant-img, .shopify-buy__layout-horizontal .shopify-buy__product__variant-img {     max-width: 100%;   } @media (min-width: 500px) {   .shopify-buy__layout-horizontal:not(.no-image) {     text-align: left;     margin-bottom: 0;     margin-left: 0   }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-img-wrapper {       float: left;       width: 40%;     }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-title {       text-align: left;     }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__price,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-description,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__btn-and-quantity,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__btn-wrapper,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__quantity-container,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-selectors {       margin-left: calc(40% + 25px);     } } @media (min-width: 680px) {     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-img-wrapper {       float: left;       width: 60%;     }      .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-title,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__price,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-description,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__btn-and-quantity,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__btn-wrapper,     .shopify-buy__layout-horizontal:not(.no-image) > .shopify-buy__quantity-container,     .shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product__variant-selectors {       margin-left: calc(60% + 25px);     } } .no-image .shopify-buy__product-img-wrapper {     display: none;   } @-webkit-keyframes dash {   to {     stroke-dashoffset: 0;   } } @keyframes dash {   to {     stroke-dashoffset: 0;   } } .shopify-buy__carousel {   font-size: 0;   text-align: center;   min-height: 90px;   margin-left: -15px;   margin-top: 15px; } .shopify-buy__carousel-item {   width: calc(16.666% - 15px);   margin-left: 15px;   display: inline-block;   vertical-align: middle;   cursor: pointer;   position: relative;   background-size: cover;   background-position: center;   padding: 0;   border: none } .shopify-buy__carousel-item:nth-child(n+7) {     margin-top: 15px;   } .shopify-buy__carousel-item:before {     content: \"\";     display: block;     padding-top: 100%;   } .main-image-wrapper {   position: relative; } .carousel-button {   position: absolute;   width: 75px;   top: 0;   height: 100%;   border: none;   font-size: 0;   background-color: transparent;   opacity: 0.4;   cursor: pointer } .carousel-button:hover,   .carousel-button:focus {     opacity: 0.9;     outline: none;   } .carousel-button-arrow {   width: 20px;   display: inline-block;   margin-left: 25px; } .carousel-button--previous {   left: 0;   -webkit-transform: rotate(180deg);           transform: rotate(180deg); } .carousel-button--next {   right: 0; } .shopify-buy__carousel-item--selected {   opacity: 0.4; } .shopify-buy__collection {   overflow: hidden; } .shopify-buy__collection-products {   margin-left: -15px;   text-align: center } @media(min-width: 601px) { .shopify-buy__collection-products {     margin-left: -20px }   } .shopify-buy__product {   min-width: 240px;   width: auto;   margin-left: 15px;   display: inline-block;   vertical-align: top } .shopify-buy__product + .shopify-buy__product {     margin-top: 15px;   } @media(min-width: 601px) { .shopify-buy__product {     width: calc(25% - 20px);     margin-left: 20px;     margin-bottom: 50px }      .shopify-buy__product + .shopify-buy__product {       margin-top: 0;     }   } .shopify-buy__btn.shopify-buy__collection-pagination-button  {   display: none;   margin: 15px auto } .shopify-buy__btn.shopify-buy__collection-pagination-button.is-active {     display: block;   }  ';\n  styles.toggle = 'html, body, h1, h2, h3, h4, h5, p {   padding: 0;   margin: 0; } * {   -webkit-box-sizing: border-box;           box-sizing: border-box; } body, html {   min-height: 100%; } html {   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   font-size: 14px;   line-height: 1.2;   color: #4c4c4c;   text-rendering: optimizeLegibility;   -webkit-font-smoothing: antialiased;   -moz-osx-font-smoothing: grayscale; } select {   text-rendering: auto !important; } ul {   list-style: none;   padding-left: 0;   margin: 0; } img {   display: block;   max-width: 100%; } input {   -webkit-appearance: textfield;   margin: 0; } .clearfix:after {     content: \"\";     display: table;     clear: both;   } .visuallyhidden {   border: 0;   height: 1px;   margin: -1px;   overflow: hidden;   padding: 0;   position: absolute;   width: 1px; } .component-container {   overflow: hidden; } .shopify-buy__type--center {   text-align: center; } .shopify-buy--visually-hidden {   position: absolute !important;   clip: rect(1px, 1px, 1px, 1px);   padding:0 !important;   border:0 !important;   height: 1px !important;   width: 1px !important;   overflow: hidden; } .shopify-buy__btn {   color: #fff;   font-size: 15px;   background-color: #78b657;   padding: 12px 40px;   letter-spacing: .3px;   display: block;   border-radius: 3px;   cursor: pointer;   -webkit-transition: background 200ms ease;   transition: background 200ms ease;   max-width: 100%;   text-overflow: ellipsis;   overflow: hidden;   line-height: 1.2;   border: 0;   -moz-appearance: none;   -webkit-appearance: none } .shopify-buy__btn:hover,   .shopify-buy__btn:focus {     background-color: #5f9d3e;   } .shopify-buy__btn--parent {   background-color: transparent;   border: 0;   padding: 0;   cursor: pointer } .shopify-buy__btn--parent:hover .product__variant-img, .shopify-buy__btn--parent:focus .product__variant-img {       opacity: .7;     } .shopify-buy__btn--cart-tab {   padding: 5px 11px;   border-radius: 3px 0 0 3px;   position: fixed;   right: 0;   top: 50%;   -webkit-transform: translate(100%, -50%);           transform: translate(100%, -50%);   opacity: 0;   min-width: inherit;   width: auto;   height: auto;   z-index: 2147483647 } .shopify-buy__btn--cart-tab.is-active {     -webkit-transform: translateY(-50%);             transform: translateY(-50%);     opacity: 1;   } .shopify-buy__btn__counter {   display: block;   margin: 0 auto 10px auto;   font-size: 18px; } .shopify-buy__icon-cart--side {   height: 20px;   width: 20px; } .shopify-buy__btn[disabled] {   background-color: #999;   pointer-events: none; } .shopify-buy__btn--close {   position: absolute;   right: 9px;   top: 8px;   font-size: 35px;   color: #767676;   border: none;   background-color: transparent;   -webkit-transition: color 100ms ease, -webkit-transform 100ms ease;   transition: color 100ms ease, -webkit-transform 100ms ease;   transition: transform 100ms ease, color 100ms ease;   transition: transform 100ms ease, color 100ms ease, -webkit-transform 100ms ease;   cursor: pointer;   font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;   padding-right: 9px } .shopify-buy__btn--close:hover {     -webkit-transform: scale(1.2);             transform: scale(1.2);     color: hsl(0, 0%, 41.2745098039%);   } .shopify-buy__cart-toggle-wrapper {   display: inline-block; } .shopify-buy__cart-toggle {   background-color: #78b657;   color: #fff;   border-radius: 3px 0 0 3px;;   padding: 8px 10px;   text-align: center;   display: inline-block;   min-width: 46px;   margin-right: 0;   cursor: pointer;   -webkit-transition: background 200ms ease;   transition: background 200ms ease } .shopify-buy__cart-toggle:hover {     background-color: #5f9d3e;   } .shopify-buy__cart-toggle__count {   font-size: 18px;   margin-bottom: 10px; } .shopify-buy__icon-cart__group {   fill: #fff; } .is-inline .shopify-buy__icon-cart,   .is-inline .shopify-buy__cart-toggle__title,   .is-inline .shopify-buy__cart-toggle__count {     display: inline-block;     vertical-align: middle;   } .is-inline {    .shopify-buy__icon-cart {     margin-right: 5px;   }    .shopify-buy__cart-toggle__title {     font-size: 16px;     font-weight: normal;   }    .shopify-buy__cart-toggle__count {     margin-left: 21px;     margin-bottom: 0;     position: relative   }      .shopify-buy__cart-toggle__count:before {       content: \"\";       display: block;       position: absolute;       left: -12px;       height: 100%;       width: 1px;       background-color: #fff;       opacity: 0.3;     } } .is-inline.shopify-buy__cart-toggle {     border-radius: 3px;     padding: 5px 10px;   } ';\n\n  var TAB_KEY = 9;\n  var trapFocusHandlers = {};\n  function removeTrapFocus(container) {\n    if (trapFocusHandlers.focusin) {\n      container.removeEventListener(\"focusin\", trapFocusHandlers.focusin);\n    }\n\n    if (trapFocusHandlers.focusout) {\n      container.removeEventListener(\"focusout\", trapFocusHandlers.focusout);\n    }\n\n    if (trapFocusHandlers.keydown) {\n      container.removeEventListener(\"keydown\", trapFocusHandlers.keydown);\n    }\n  }\n  function trapFocus(container) {\n    var focusableElements = container.querySelectorAll(\"a, button:enabled, input:enabled, select:enabled\");\n    var firstElement = focusableElements[0];\n    var lastElement = focusableElements[focusableElements.length - 1];\n    removeTrapFocus(container);\n\n    trapFocusHandlers.focusin = function (event) {\n      if (event.target !== firstElement && event.target !== lastElement) {\n        return;\n      }\n\n      container.addEventListener(\"keydown\", trapFocusHandlers.keydown);\n    };\n\n    trapFocusHandlers.focusout = function () {\n      container.removeEventListener(\"keydown\", trapFocusHandlers.keydown);\n    };\n\n    trapFocusHandlers.keydown = function (event) {\n      if (event.keyCode !== TAB_KEY) {\n        return;\n      }\n\n      if (event.target === lastElement && !event.shiftKey) {\n        event.preventDefault();\n        firstElement.focus();\n      }\n\n      if (event.target === firstElement && event.shiftKey) {\n        event.preventDefault();\n        lastElement.focus();\n      }\n    };\n\n    container.addEventListener(\"focusout\", trapFocusHandlers.focusout);\n    container.addEventListener(\"focusin\", trapFocusHandlers.focusin);\n    firstElement.focus();\n  }\n\n  var delegateEventSplitter = /^(\\S+)\\s*(.*)$/;\n  var ESC_KEY = 27;\n\n  var View =\n  /*#__PURE__*/\n  function () {\n    function View(component) {\n      this.component = component;\n      this.iframe = null;\n      this.node = this.component.node;\n      this.template = new Template(this.component.options.templates, this.component.options.contents, this.component.options.order);\n      this.eventsBound = false;\n    }\n\n    var _proto = View.prototype;\n\n    _proto.init = function init() {\n      this.component.node.className += \" shopify-buy-frame shopify-buy-frame--\".concat(this.component.typeKey);\n\n      if (this.iframe || !this.component.options.iframe) {\n        return Promise.resolve(this.iframe);\n      }\n\n      this.iframe = new iframe(this.component.node, {\n        classes: this.component.classes,\n        customStyles: this.component.styles,\n        stylesheet: styles[this.component.typeKey],\n        browserFeatures: this.component.props.browserFeatures,\n        googleFonts: this.component.googleFonts,\n        name: this.component.name,\n        width: this.component.options.layout === 'vertical' ? this.component.options.width : null\n      });\n      this.iframe.addClass(this.className);\n      return this.iframe.load();\n    }\n    /**\n     * renders string template using viewData to wrapper element.\n     */\n    ;\n\n    _proto.render = function render() {\n      var _this = this;\n\n      this.component._userEvent('beforeRender');\n\n      var html = this.template.render({\n        data: this.component.viewData\n      }, function (data) {\n        return _this.wrapTemplate(data);\n      });\n\n      if (!this.wrapper) {\n        this.wrapper = this._createWrapper();\n      }\n\n      this.updateNode(this.wrapper, html);\n      this.resize();\n\n      this.component._userEvent('afterRender');\n    }\n    /**\n     * delegates DOM events to event listeners.\n     */\n    ;\n\n    _proto.delegateEvents = function delegateEvents() {\n      var _this2 = this;\n\n      if (this.eventsBound) {\n        return;\n      }\n\n      this.closeComponentsOnEsc();\n      Object.keys(this.component.DOMEvents).forEach(function (key) {\n        var _key$match = key.match(delegateEventSplitter),\n            _key$match2 = _slicedToArray(_key$match, 3),\n            eventName = _key$match2[1],\n            selectorString = _key$match2[2];\n\n        if (selectorString) {\n          _this2._on(eventName, selectorString, function (evt, target) {\n            _this2.component.DOMEvents[key].call(_this2, evt, target);\n          });\n        } else {\n          _this2.wrapper.addEventListener('click', function (evt) {\n            _this2.component.DOMEvents[key].call(_this2, evt);\n          });\n        }\n      });\n\n      if (this.iframe) {\n        this.iframe.el.onload = function () {\n          _this2.iframe.el.onload = null;\n\n          _this2.reloadIframe();\n        };\n      }\n\n      this.eventsBound = true;\n    };\n\n    _proto.reloadIframe = function reloadIframe() {\n      this.node.removeChild(this.iframe.el);\n      this.wrapper = null;\n      this.iframe = null;\n      this.component.init();\n    };\n\n    _proto.append = function append(wrapper) {\n      if (this.iframe) {\n        this.document.body.appendChild(wrapper);\n      } else {\n        this.component.node.appendChild(wrapper);\n      }\n    };\n\n    _proto.addClass = function addClass(className) {\n      if (this.iframe) {\n        this.iframe.addClass(className);\n      } else {\n        addClassToElement(className, this.component.node);\n      }\n    };\n\n    _proto.removeClass = function removeClass(className) {\n      if (this.iframe) {\n        this.iframe.removeClass(className);\n      } else {\n        removeClassFromElement(className, this.component.node);\n      }\n    };\n\n    _proto.destroy = function destroy() {\n      this.node.parentNode.removeChild(this.node);\n    }\n    /**\n     * update the contents of a DOM node with template\n     * @param {String} className - class name to select node.\n     * @param {Object} template - template to be rendered.\n     */\n    ;\n\n    _proto.renderChild = function renderChild(className, template) {\n      var selector = \".\".concat(className.split(' ').join('.'));\n      var node = this.wrapper.querySelector(selector);\n      var html = template.render({\n        data: this.component.viewData\n      });\n      this.updateNode(node, html);\n    }\n    /**\n     * call morpdom on a node with new HTML\n     * @param {Object} node - DOM node to be updated.\n     * @param {String} html - HTML to update DOM node with.\n     */\n    ;\n\n    _proto.updateNode = function updateNode(node, html) {\n      var div = document.createElement('div');\n      div.innerHTML = html;\n      morphdom(node, div.firstElementChild);\n    }\n    /**\n     * wrap HTML string in containing elements.\n     * May be defined in subclass.\n     * @param {String} html - HTML string.\n     * @return {String} wrapped string.\n     */\n    ;\n\n    _proto.wrapTemplate = function wrapTemplate(html) {\n      return \"<div class=\\\"\".concat(this.component.classes[this.component.typeKey][this.component.typeKey], \"\\\">\").concat(html, \"</div>\");\n    }\n    /**\n     * resize iframe if necessary.\n     */\n    ;\n\n    _proto.resize = function resize() {\n      if (!this.iframe || !this.wrapper) {\n        return;\n      }\n\n      if (this.shouldResizeX) {\n        this._resizeX();\n      }\n\n      if (this.shouldResizeY) {\n        this._resizeY();\n      }\n    }\n    /**\n     * get total height of iframe contents\n     * @return {String} value in pixels.\n     */\n    ;\n\n    /**\n     * Trap focus in the wrapper.\n     */\n    _proto.setFocus = function setFocus() {\n      trapFocus(this.wrapper);\n    }\n    /**\n     * determines if iframe will require horizontal resizing to contain its children.\n     * May be defined in subclass.\n     * @return {Boolean}\n     */\n    ;\n\n    _proto.closeComponentsOnEsc = function closeComponentsOnEsc() {\n      var _this3 = this;\n\n      if (!this.iframe) {\n        return;\n      }\n\n      this.document.addEventListener('keydown', function (evt) {\n        if (evt.keyCode !== ESC_KEY) {\n          return;\n        }\n\n        _this3.component.props.closeModal();\n\n        _this3.component.props.closeCart();\n      });\n    };\n\n    _proto.animateRemoveNode = function animateRemoveNode(id) {\n      var _this4 = this;\n\n      var el = this.document.getElementById(id);\n      addClassToElement('is-hidden', el);\n\n      if (this.component.props.browserFeatures.animation) {\n        el.addEventListener('animationend', function () {\n          if (!el.parentNode) {\n            return;\n          }\n\n          _this4.removeNode(el);\n        });\n      } else {\n        this.removeNode(el);\n      }\n    };\n\n    _proto.removeNode = function removeNode(el) {\n      el.parentNode.removeChild(el);\n      this.render();\n    };\n\n    _proto._createWrapper = function _createWrapper() {\n      var wrapper = document.createElement('div');\n      wrapper.className = this.component.classes[this.component.typeKey][this.component.typeKey];\n      this.append(wrapper);\n      return wrapper;\n    };\n\n    _proto._resizeX = function _resizeX() {\n      this.iframe.el.style.width = \"\".concat(this.document.body.clientWidth, \"px\");\n    };\n\n    _proto._resizeY = function _resizeY(value) {\n      var newHeight = value || this.outerHeight;\n      this.iframe.el.style.height = newHeight;\n    };\n\n    _proto._on = function _on(eventName, selector, fn) {\n      var _this5 = this;\n\n      this.wrapper.addEventListener(eventName, function (evt) {\n        var possibleTargets = Array.prototype.slice.call(_this5.wrapper.querySelectorAll(selector));\n        var target = evt.target;\n        possibleTargets.forEach(function (possibleTarget) {\n          var el = target;\n\n          while (el && el !== _this5.wrapper) {\n            if (el === possibleTarget) {\n              return fn.call(possibleTarget, evt, possibleTarget);\n            }\n\n            el = el.parentNode;\n          }\n\n          return el;\n        });\n      }, eventName === 'blur');\n    };\n\n    _createClass(View, [{\n      key: \"outerHeight\",\n      get: function get() {\n        var style = window.getComputedStyle(this.wrapper, '');\n\n        if (!style) {\n          return \"\".concat(this.wrapper.clientHeight, \"px\");\n        }\n\n        var height = style.getPropertyValue('height');\n\n        if (!height || height === '0px' || height === 'auto') {\n          var clientHeight = this.wrapper.clientHeight;\n          height = style.getPropertyValue('height') || \"\".concat(clientHeight, \"px\");\n        }\n\n        return height;\n      }\n    }, {\n      key: \"className\",\n      get: function get() {\n        return '';\n      }\n    }, {\n      key: \"shouldResizeX\",\n      get: function get() {\n        return false;\n      }\n      /**\n       * determines if iframe will require vertical resizing to contain its children.\n       * May be defined in subclass.\n       * @return {Boolean}\n       */\n\n    }, {\n      key: \"shouldResizeY\",\n      get: function get() {\n        return false;\n      }\n      /**\n       * get reference to document object.\n       * @return {Objcet} instance of Document.\n       */\n\n    }, {\n      key: \"document\",\n      get: function get() {\n        return this.iframe ? this.iframe.document : window.document;\n      }\n    }]);\n\n    return View;\n  }();\n\n  var Updater =\n  /*#__PURE__*/\n  function () {\n    function Updater(component) {\n      this.component = component;\n    }\n\n    var _proto = Updater.prototype;\n\n    _proto.updateConfig = function updateConfig(config) {\n      this.component.config = merge(this.component.config, config.options);\n      this.component.view.template = new Template(this.component.options.templates, this.component.options.contents, this.component.options.order);\n\n      if (this.component.view.iframe) {\n        this.component.view.iframe.updateStyles(this.component.styles, this.component.googleFonts);\n      }\n\n      this.component.view.render();\n      this.component.view.resize();\n    };\n\n    return Updater;\n  }();\n\n  function moneyFormat() {\n    var format = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultMoneyFormat;\n    return decodeURIComponent(format);\n  }\n  /**\n   * Manages rendering, lifecycle, and data fetching of a cmoponent.\n   */\n\n\n  var Component =\n  /*#__PURE__*/\n  function () {\n    /**\n     * creates a component.\n     * @param {Object} config - configuration object.\n     * @param {Object} props - data and utilities passed down from UI instance.\n     */\n    function Component(config, props) {\n      this.id = config.id;\n      this.storefrontId = config.storefrontId;\n      this.handle = config.handle;\n      this.node = config.node;\n      this.globalConfig = {\n        debug: config.debug,\n        moneyFormat: moneyFormat(config.moneyFormat),\n        cartNode: config.cartNode,\n        modalNode: config.modalNode,\n        toggles: config.toggles\n      };\n      this.config = merge({}, defaults, config.options || {});\n      this.props = props;\n      this.model = {};\n      this.updater = new Updater(this);\n      this.view = new View(this);\n    }\n    /**\n     * get unique name for component.\n     * @return {String} component name.\n     */\n\n\n    var _proto = Component.prototype;\n\n    /**\n     * initializes component by creating model and rendering view.\n     * @param {Object} [data] - data to initialize model with.\n     * @return {Promise} promise resolving to instance.\n     */\n    _proto.init = function init(data) {\n      var _this = this;\n\n      this._userEvent('beforeInit');\n\n      return this.view.init().then(function () {\n        return _this.setupModel(data);\n      }).then(function (model) {\n        _this.model = model;\n\n        _this.view.render();\n\n        _this.view.delegateEvents();\n\n        _this._userEvent('afterInit');\n\n        return _this;\n      }).catch(function (err) {\n        if (err.message.indexOf('Not Found') > -1) {\n          logNotFound(_this);\n        }\n\n        throw err;\n      });\n    }\n    /**\n     * fetches data if necessary\n     * @param {Object} [data] - data to initialize model with.\n     */\n    ;\n\n    _proto.setupModel = function setupModel(data) {\n      if (data) {\n        return Promise.resolve(data);\n      } else {\n        return this.fetchData();\n      }\n    }\n    /**\n     * re-assign configuration and re-render component.\n     * @param {Object} config - new configuration object.\n     */\n    ;\n\n    _proto.updateConfig = function updateConfig(config) {\n      return this.updater.updateConfig(config);\n    }\n    /**\n     * remove node from DOM.\n     */\n    ;\n\n    _proto.destroy = function destroy() {\n      this.view.destroy();\n    };\n\n    _proto._userEvent = function _userEvent(methodName) {\n      if (this.globalConfig.debug) {\n        logger.info(\"EVENT: \".concat(methodName, \" (\").concat(this.typeKey, \")\"));\n      }\n\n      if (isFunction(this.events[methodName])) {\n        this.events[methodName].call(this, this);\n      }\n    };\n\n    _createClass(Component, [{\n      key: \"name\",\n      get: function get() {\n        var uniqueHandle = '';\n\n        if (this.id) {\n          uniqueHandle = \"-\".concat(this.id);\n        } else if (this.handle) {\n          uniqueHandle = \"-\".concat(this.handle);\n        }\n\n        return \"frame-\".concat(this.typeKey).concat(uniqueHandle);\n      }\n      /**\n       * get configuration options specific to this component.\n       * @return {Object} options object.\n       */\n\n    }, {\n      key: \"options\",\n      get: function get() {\n        return merge({}, this.config[this.typeKey]);\n      }\n      /**\n       * get events to be bound to DOM.\n       * @return {Object} DOMEvents object.\n       */\n\n    }, {\n      key: \"DOMEvents\",\n      get: function get() {\n        return this.options.DOMEvents || {};\n      }\n      /**\n       * get events to be called on lifecycle methods.\n       * @return {Object} events object.\n       */\n\n    }, {\n      key: \"events\",\n      get: function get() {\n        return this.options.events || {};\n      }\n      /**\n       * get classes for component and any components it contains as determined by manifest.\n       * @return {Object} class keys and names.\n       */\n\n    }, {\n      key: \"classes\",\n      get: function get() {\n        var _this2 = this;\n\n        return this.options.manifest.filter(function (component) {\n          return _this2.config[component].classes;\n        }).reduce(function (hash, component) {\n          hash[component] = _this2.config[component].classes;\n          return hash;\n        }, {});\n      }\n      /**\n       * get classes formatted as CSS selectors.\n       * @return {Object} class keys and selectors.\n       */\n\n    }, {\n      key: \"selectors\",\n      get: function get() {\n        var _this3 = this;\n\n        return this.options.manifest.filter(function (component) {\n          return _this3.config[component].classes;\n        }).reduce(function (hash, component) {\n          hash[component] = Object.keys(_this3.config[component].classes).reduce(function (classes, classKey) {\n            classes[classKey] = \".\".concat(_this3.classes[component][classKey].split(' ').join('.'));\n            return classes;\n          }, {});\n          return hash;\n        }, {});\n      }\n      /**\n       * get styles for component and any components it contains as determined by manifest.\n       * @return {Object} key-value pairs of CSS styles.\n       */\n\n    }, {\n      key: \"styles\",\n      get: function get() {\n        var _this4 = this;\n\n        return this.options.manifest.filter(function (component) {\n          return _this4.config[component].styles;\n        }).reduce(function (hash, component) {\n          hash[component] = _this4.config[component].styles;\n          return hash;\n        }, {});\n      }\n      /**\n       * get google fonts for component and any components it contains as determined by manifest.\n       * @return {Array} array of names of fonts to be loaded.\n       */\n\n    }, {\n      key: \"googleFonts\",\n      get: function get() {\n        var _this5 = this;\n\n        return this.options.manifest.filter(function (component) {\n          return _this5.config[component].googleFonts;\n        }).reduce(function (fonts, component) {\n          return fonts.concat(_this5.config[component].googleFonts);\n        }, []);\n      }\n      /**\n       * get data to be passed to view.\n       * @return {Object} viewData object.\n       */\n\n    }, {\n      key: \"viewData\",\n      get: function get() {\n        return merge(this.model, this.options.viewData, {\n          classes: this.classes,\n          text: this.options.text\n        });\n      }\n      /**\n       * get callbacks for morphdom lifecycle events.\n       * @return {Object} object.\n       */\n\n    }, {\n      key: \"morphCallbacks\",\n      get: function get() {\n        return {\n          onBeforeElUpdated: function onBeforeElUpdated(fromEl, toEl) {\n            if (fromEl.tagName === 'IMG') {\n              if (fromEl.src === toEl.getAttribute('data-src')) {\n                return false;\n              }\n            }\n\n            return true;\n          }\n        };\n      }\n    }]);\n\n    return Component;\n  }();\n\n  var CheckoutNavigator =\n  /*#__PURE__*/\n  function () {\n    function CheckoutNavigator(config) {\n      this.config = config;\n    }\n\n    var _proto = CheckoutNavigator.prototype;\n\n    _proto.open = function open(url) {\n      if (this.config.cart.popup) {\n        window.open(url, 'checkout', this.params);\n      } else {\n        window.location = url;\n      }\n    };\n\n    _createClass(CheckoutNavigator, [{\n      key: \"params\",\n      get: function get() {\n        var config = Object.assign({}, this.config.window, {\n          left: window.outerWidth / 2 - 200,\n          top: window.outerHeight / 2 - 300\n        });\n        return Object.keys(config).reduce(function (acc, key) {\n          return \"\".concat(acc).concat(key, \"=\").concat(config[key], \",\");\n        }, '');\n      }\n    }]);\n\n    return CheckoutNavigator;\n  }();\n\n  var windowUtils = {\n    location: function location() {\n      return window.location.href;\n    }\n  };\n\n  var placeholderRegex = /\\{\\{\\s*(\\w+)\\s*\\}\\}/;\n  var thousandsRegex = /(\\d)(?=(\\d\\d\\d)+(?!\\d))/g;\n\n  function formatWithDelimiters(number) {\n    var precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n    var thousands = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ',';\n    var decimal = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '.';\n\n    if (isNaN(number) || number == null) {\n      return 0;\n    }\n\n    var fixedNumber = (number / 100.0).toFixed(precision);\n    var parts = fixedNumber.split('.');\n    var dollars = parts[0].replace(thousandsRegex, \"$1\".concat(thousands));\n    var cents = parts[1] ? decimal + parts[1] : '';\n    return dollars + cents;\n  }\n\n  function formatMoney(amount, format) {\n    var cents = amount * 100;\n\n    if (typeof cents === 'string') {\n      cents = cents.replace('.', '');\n    }\n\n    var value = '';\n    var formatString = format || defaultMoneyFormat;\n    var placeholderMatch = formatString.match(placeholderRegex);\n\n    if (!placeholderMatch) {\n      formatString = defaultMoneyFormat;\n      placeholderMatch = formatString.match(placeholderRegex);\n    }\n\n    switch (placeholderMatch[1]) {\n      case 'amount':\n        value = formatWithDelimiters(cents);\n        break;\n\n      case 'amount_no_decimals':\n        value = formatWithDelimiters(cents, 0);\n        break;\n\n      case 'amount_with_comma_separator':\n        value = formatWithDelimiters(cents, 2, '.', ',');\n        break;\n\n      case 'amount_no_decimals_with_comma_separator':\n        value = formatWithDelimiters(cents, 0, '.', ',');\n        break;\n\n      case 'amount_no_decimals_with_space_separator':\n        value = formatWithDelimiters(cents, 0, ' ');\n        break;\n\n      default:\n        value = formatWithDelimiters(cents);\n    }\n\n    return formatString.replace(placeholderRegex, value);\n  }\n\n  function normalizeId(type, databaseKey) {\n    return \"gid://shopify/\".concat(type, \"/\").concat(databaseKey);\n  }\n\n  function getNormalizedIdFromConfig(type, config, databaseKey, storefrontKey) {\n    var denormalizedValue = config[databaseKey];\n    var normalizedValue = config[storefrontKey];\n\n    if (normalizedValue) {\n      return normalizedValue;\n    } else if (denormalizedValue) {\n      if (Array.isArray(denormalizedValue)) {\n        return denormalizedValue.map(function (value) {\n          return normalizeId(type, value);\n        });\n      } else {\n        return normalizeId(type, denormalizedValue);\n      }\n    } else {\n      return null;\n    }\n  }\n\n  function normalizeConfig(config) {\n    var baseResourceType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Product';\n\n    if (config.id || config.storefrontId) {\n      config.storefrontId = getNormalizedIdFromConfig(baseResourceType, config, 'id', 'storefrontId');\n    }\n\n    if (config.variantId || config.storefrontVariantId) {\n      config.storefrontVariantId = getNormalizedIdFromConfig('ProductVariant', config, 'variantId', 'storefrontVariantId');\n    }\n\n    return config;\n  }\n\n  function detectCSSFeature(featurename) {\n    var feature = false,\n        domPrefixes = 'Webkit Moz ms O'.split(' '),\n        elm = document.createElement('div'),\n        featurenameCapital = null;\n    featurename = featurename.toLowerCase();\n\n    if (elm.style[featurename] !== undefined) {\n      feature = true;\n    }\n\n    if (feature === false) {\n      featurenameCapital = featurename.charAt(0).toUpperCase() + featurename.substr(1);\n\n      for (var i = 0; i < domPrefixes.length; i++) {\n        if (elm.style[domPrefixes[i] + featurenameCapital] !== undefined) {\n          feature = true;\n          break;\n        }\n      }\n    }\n\n    return feature;\n  }\n\n  var supportsAnimations = function supportsAnimations() {\n    return detectCSSFeature('animation');\n  };\n\n  var supportsTransitions = function supportsTransitions() {\n    return detectCSSFeature('transition');\n  };\n\n  var supportsTransforms = function supportsTransforms() {\n    return detectCSSFeature('transform');\n  };\n\n  var supportsWindowOpen = function supportsWindowOpen() {\n    var userAgent = navigator.userAgent || navigator.vendor || window.opera;\n\n    if (userAgent.indexOf('Mac OS X') === -1) {\n      return true;\n    }\n\n    var unSupportedApps = ['Instagram', 'Pinterest/iOS', 'FBAN/FBIOS', 'FBAN/MessengerForiOS'];\n    return !unSupportedApps.some(function (appName) {\n      return userAgent.indexOf(appName) > -1;\n    });\n  };\n\n  var browserFeatures = {\n    animation: supportsAnimations(),\n    transition: supportsTransitions(),\n    transform: supportsTransforms(),\n    windowOpen: supportsWindowOpen\n  };\n\n  function getUnitString(unitEnum) {\n    if (unitEnum === 'L') {\n      return 'L';\n    } else if (unitEnum === 'M3') {\n      return 'm³';\n    } else if (unitEnum === 'M2') {\n      return 'm²';\n    } else {\n      return unitEnum.toLowerCase();\n    }\n  }\n\n  function getUnitPriceBaseUnit(referenceValue, referenceUnit) {\n    var unitString = getUnitString(referenceUnit);\n\n    if (referenceValue === 1) {\n      return \"\".concat(unitString);\n    }\n\n    return \"\".concat(referenceValue).concat(unitString);\n  }\n\n  var ProductView =\n  /*#__PURE__*/\n  function (_View) {\n    _inheritsLoose(ProductView, _View);\n\n    function ProductView() {\n      return _View.apply(this, arguments) || this;\n    }\n\n    var _proto = ProductView.prototype;\n\n    /**\n     * add event listener which triggers resize when the product image is loaded.\n     */\n    _proto.resizeOnLoad = function resizeOnLoad() {\n      var _this = this;\n\n      var productContents = this.component.config.product.contents;\n\n      if (!(productContents.img || productContents.imgWithCarousel)) {\n        return;\n      }\n\n      var image = this.wrapper.getElementsByClassName(this.component.classes.product.img)[0];\n\n      if (!image) {\n        return;\n      }\n\n      image.addEventListener('load', function () {\n        _this.resize();\n      });\n    }\n    /**\n     * renders string template using viewData to wrapper element.\n     * Resizes iframe to match image size.\n     */\n    ;\n\n    _proto.render = function render() {\n      _View.prototype.render.call(this);\n\n      this.resizeOnLoad();\n    };\n\n    _proto.wrapTemplate = function wrapTemplate(html) {\n      var ariaLabel;\n\n      switch (this.component.options.buttonDestination) {\n        case 'modal':\n          ariaLabel = 'View details';\n          break;\n\n        case 'cart':\n          ariaLabel = 'Add to cart';\n          break;\n\n        default:\n          ariaLabel = 'Buy Now';\n      }\n\n      if (this.component.isButton) {\n        return \"<div class=\\\"\".concat(this.wrapperClass, \" \").concat(this.component.classes.product.product, \"\\\"><div tabindex=\\\"0\\\" role=\\\"button\\\" aria-label=\\\"\").concat(ariaLabel, \"\\\" class=\\\"\").concat(this.component.classes.product.blockButton, \"\\\">\").concat(html, \"</div></div>\");\n      } else {\n        return \"<div class=\\\"\".concat(this.wrapperClass, \" \").concat(this.component.classes.product.product, \"\\\">\").concat(html, \"</div>\");\n      }\n    };\n\n    _createClass(ProductView, [{\n      key: \"className\",\n      get: function get() {\n        return this.component.classes.product[this.component.options.layout];\n      }\n    }, {\n      key: \"shouldResizeX\",\n      get: function get() {\n        return false;\n      }\n    }, {\n      key: \"shouldResizeY\",\n      get: function get() {\n        return true;\n      }\n    }, {\n      key: \"outerHeight\",\n      get: function get() {\n        return \"\".concat(this.wrapper.clientHeight, \"px\");\n      }\n    }, {\n      key: \"wrapperClass\",\n      get: function get() {\n        return \"\".concat(this.component.currentImage ? 'has-image' : 'no-image', \" \").concat(this.component.classes.product[this.component.options.layout]);\n      }\n    }]);\n\n    return ProductView;\n  }(View);\n\n  var MAX_WIDTH = '950px';\n\n  var ProductUpdater =\n  /*#__PURE__*/\n  function (_Updater) {\n    _inheritsLoose(ProductUpdater, _Updater);\n\n    function ProductUpdater() {\n      return _Updater.apply(this, arguments) || this;\n    }\n\n    var _proto = ProductUpdater.prototype;\n\n    _proto.updateConfig = function updateConfig(config) {\n      var _this = this;\n\n      var newConfig = normalizeConfig(config);\n\n      if (newConfig.storefrontId || newConfig.storefrontVariantId) {\n        this.component.storefrontId = newConfig.storefrontId || this.component.storefrontId;\n        this.component.defaultStorefrontVariantId = newConfig.storefrontVariantId || this.component.defaultStorefrontVariantId;\n        this.component.init();\n        return;\n      }\n\n      var layout = this.component.options.layout;\n\n      if (config.options && config.options.product) {\n        if (config.options.product.layout) {\n          layout = config.options.product.layout;\n        }\n\n        if (this.component.view.iframe) {\n          if (layout === 'vertical' && this.component.view.iframe.width === MAX_WIDTH) {\n            this.component.view.iframe.setWidth(this.component.options.width);\n          }\n\n          if (layout === 'horizontal' && this.component.view.iframe.width && this.component.view.iframe.width !== MAX_WIDTH) {\n            this.component.view.iframe.setWidth(MAX_WIDTH);\n          }\n\n          if (config.options.product.width && layout === 'vertical') {\n            this.component.view.iframe.setWidth(config.options.product.width);\n          }\n\n          if (config.options.product.layout) {\n            this.component.view.iframe.el.style.width = '100%';\n          }\n        }\n      }\n\n      if (this.component.view.iframe) {\n        this.component.view.iframe.removeClass(this.component.classes.product.vertical);\n        this.component.view.iframe.removeClass(this.component.classes.product.horizontal);\n        this.component.view.iframe.addClass(this.component.classes.product[layout]);\n        this.component.view.resize();\n      }\n\n      _toConsumableArray(this.component.view.wrapper.querySelectorAll('img')).forEach(function (img) {\n        img.addEventListener('load', function () {\n          _this.component.view.resize();\n        });\n      });\n\n      _Updater.prototype.updateConfig.call(this, config);\n\n      if (this.component.cart) {\n        this.component.cart.updateConfig(config);\n      }\n\n      if (this.component.modal) {\n        this.component.modal.updateConfig(Object.assign({}, config, {\n          options: Object.assign({}, this.component.config, {\n            product: this.component.modalProductConfig\n          })\n        }));\n      }\n    };\n\n    return ProductUpdater;\n  }(Updater);\n\n  function isFunction$1(obj) {\n    return Boolean(obj && obj.constructor && obj.call && obj.apply);\n  }\n\n  function isPseudoSelector$1(key) {\n    return key.charAt(0) === ':';\n  }\n\n  function isMedia$1(key) {\n    return key.charAt(0) === '@';\n  }\n\n  var ENTER_KEY = 13;\n  var propertiesWhitelist = ['background', 'background-color', 'border', 'border-radius', 'color', 'border-color', 'border-width', 'border-style', 'transition', 'text-transform', 'text-shadow', 'box-shadow', 'font-size', 'font-family'];\n\n  function whitelistedProperties(selectorStyles) {\n    return Object.keys(selectorStyles).reduce(function (filteredStyles, propertyName) {\n      if (isPseudoSelector$1(propertyName) || isMedia$1(propertyName)) {\n        filteredStyles[propertyName] = whitelistedProperties(selectorStyles[propertyName]);\n        return filteredStyles;\n      }\n\n      if (propertiesWhitelist.indexOf(propertyName) > -1) {\n        filteredStyles[propertyName] = selectorStyles[propertyName];\n      }\n\n      return filteredStyles;\n    }, {});\n  }\n  /**\n   * Renders and fetches data for product embed.\n   * @extends Component.\n   */\n\n\n  var Product$1 =\n  /*#__PURE__*/\n  function (_Component) {\n    _inheritsLoose(Product, _Component);\n\n    /**\n     * create Product.\n     * @param {Object} config - configuration object.\n     * @param {Object} props - data and utilities passed down from UI instance.\n     */\n    function Product(config, props) {\n      var _this;\n\n      // eslint-disable-next-line no-param-reassign\n      config = normalizeConfig(config);\n      _this = _Component.call(this, config, props) || this;\n      _this.typeKey = 'product';\n      _this.defaultStorefrontVariantId = config.storefrontVariantId;\n      _this.cachedImage = null;\n      _this.childTemplate = new Template(_this.config.option.templates, _this.config.option.contents, _this.config.option.order);\n      _this.cart = null;\n      _this.modal = null;\n      _this.imgStyle = '';\n      _this.selectedQuantity = 1;\n      _this.selectedVariant = {};\n      _this.selectedOptions = {};\n      _this.selectedImage = null;\n      _this.modalProduct = Boolean(config.modalProduct);\n      _this.updater = new ProductUpdater(_assertThisInitialized(_this));\n      _this.view = new ProductView(_assertThisInitialized(_this));\n      return _this;\n    }\n    /**\n     * determines when image src should be updated\n     * @return {Boolean}\n     */\n\n\n    var _proto = Product.prototype;\n\n    /**\n     * prevent events from bubbling if entire product is being treated as button.\n     */\n    _proto.stopPropagation = function stopPropagation(evt) {\n      if (this.isButton) {\n        evt.stopImmediatePropagation();\n      }\n    }\n    /**\n     * get HTML for product options selector.\n     * @return {String} HTML\n     */\n    ;\n\n    /**\n     * determines whether an option can resolve to an available variant given current selections\n     * @return {Boolean}\n     */\n    _proto.optionValueCanBeSelected = function optionValueCanBeSelected(selections, name, value) {\n      var variants = this.variantArray;\n      var selectableValues = Object.assign({}, selections, _defineProperty({}, name, value));\n      var satisfactoryVariants = variants.filter(function (variant) {\n        var matchingOptions = Object.keys(selectableValues).filter(function (key) {\n          return variant.optionValues[key] === selectableValues[key];\n        });\n        return matchingOptions.length === Object.keys(selectableValues).length;\n      });\n      var variantSelectable = false;\n      variantSelectable = satisfactoryVariants.reduce(function (variantExists, variant) {\n        var variantAvailable = variant.available;\n\n        if (!variantExists) {\n          return variantAvailable;\n        }\n\n        return variantExists;\n      }, false);\n      return variantSelectable;\n    }\n    /**\n     * get options for product with selected value.\n     * @return {Array}\n     */\n    ;\n\n    /**\n     * open online store in new tab.\n     */\n    _proto.openOnlineStore = function openOnlineStore() {\n      this._userEvent('openOnlineStore');\n\n      window.open(this.onlineStoreURL);\n    }\n    /**\n     * initializes component by creating model and rendering view.\n     * Creates and initalizes cart if necessary.\n     * @param {Object} [data] - data to initialize model with.\n     * @return {Promise} promise resolving to instance.\n     */\n    ;\n\n    _proto.init = function init(data) {\n      var _this2 = this;\n\n      return this.createCart().then(function (cart) {\n        _this2.cart = cart;\n        return _Component.prototype.init.call(_this2, data).then(function (model) {\n          if (model) {\n            _this2.view.render();\n          }\n\n          return model;\n        });\n      });\n    }\n    /**\n     * creates cart if necessary.\n     * @return {Promise}\n     */\n    ;\n\n    _proto.createCart = function createCart() {\n      var cartConfig = Object.assign({}, this.globalConfig, {\n        node: this.globalConfig.cartNode,\n        options: this.config\n      });\n      return this.props.createCart(cartConfig);\n    }\n    /**\n     * fetches data if necessary.\n     * Sets default variant for product.\n     * @param {Object} [data] - data to initialize model with.\n     */\n    ;\n\n    _proto.setupModel = function setupModel(data) {\n      var _this3 = this;\n\n      return _Component.prototype.setupModel.call(this, data).then(function (model) {\n        return _this3.setDefaultVariant(model);\n      });\n    }\n    /**\n     * fetch product data from API.\n     * @return {Promise} promise resolving to model data.\n     */\n    ;\n\n    _proto.sdkFetch = function sdkFetch() {\n      if (this.storefrontId && Array.isArray(this.storefrontId) && this.storefrontId[0]) {\n        return this.props.client.product.fetch(this.storefrontId[0]);\n      } else if (this.storefrontId && !Array.isArray(this.storefrontId)) {\n        return this.props.client.product.fetch(this.storefrontId);\n      } else if (this.handle) {\n        return this.props.client.product.fetchByHandle(this.handle).then(function (product) {\n          return product;\n        });\n      }\n\n      return Promise.reject(new Error('SDK Fetch Failed'));\n    }\n    /**\n     * call sdkFetch and set selected quantity to 0.\n     * @throw 'Not Found' if model not returned.\n     * @return {Promise} promise resolving to model data.\n     */\n    ;\n\n    _proto.fetchData = function fetchData() {\n      var _this4 = this;\n\n      return this.sdkFetch().then(function (model) {\n        if (model) {\n          _this4.storefrontId = model.id;\n          _this4.handle = model.handle;\n          return model;\n        }\n\n        throw new Error('Not Found');\n      });\n    };\n\n    _proto.onButtonClick = function onButtonClick(evt, target) {\n      evt.stopPropagation();\n\n      if (isFunction$1(this.options.buttonDestination)) {\n        this.options.buttonDestination(this);\n      } else if (this.options.buttonDestination === 'cart') {\n        this.props.closeModal();\n\n        this._userEvent('addVariantToCart');\n\n        this.props.tracker.trackMethod(this.cart.addVariantToCart.bind(this), 'Update Cart', this.selectedVariantTrackingInfo)(this.selectedVariant, this.selectedQuantity);\n\n        if (!this.modalProduct) {\n          this.props.setActiveEl(target);\n        }\n      } else if (this.options.buttonDestination === 'modal') {\n        this.props.setActiveEl(target);\n        this.props.tracker.track('Open modal', this.productTrackingInfo);\n        this.openModal();\n      } else if (this.options.buttonDestination === 'onlineStore') {\n        this.openOnlineStore();\n      } else {\n        this._userEvent('openCheckout');\n\n        this.props.tracker.track('Direct Checkout', {});\n        var checkoutWindow;\n\n        if (this.config.cart.popup && browserFeatures.windowOpen()) {\n          var params = new CheckoutNavigator(this.config).params;\n          checkoutWindow = window.open('', 'checkout', params);\n        } else {\n          checkoutWindow = window;\n        }\n\n        var input = {\n          lineItems: [{\n            variantId: this.selectedVariant.id,\n            quantity: this.selectedQuantity\n          }]\n        };\n        this.props.client.checkout.create(input).then(function (checkout) {\n          checkoutWindow.location = checkout.webUrl;\n        });\n      }\n    };\n\n    _proto.onBlockButtonKeyup = function onBlockButtonKeyup(evt, target) {\n      if (evt.keyCode === ENTER_KEY) {\n        this.onButtonClick(evt, target);\n      }\n    };\n\n    _proto.onOptionSelect = function onOptionSelect(evt) {\n      var target = evt.target;\n      var value = target.options[target.selectedIndex].value;\n      var name = target.getAttribute('name');\n      this.updateVariant(name, value);\n    };\n\n    _proto.onQuantityBlur = function onQuantityBlur(evt, target) {\n      this.updateQuantity(function () {\n        return parseInt(target.value, 10);\n      });\n    };\n\n    _proto.onQuantityIncrement = function onQuantityIncrement(qty) {\n      this.updateQuantity(function (prevQty) {\n        return prevQty + qty;\n      });\n    };\n\n    _proto.closeCartOnBgClick = function closeCartOnBgClick() {\n      if (this.cart && this.cart.isVisible) {\n        this.cart.close();\n      }\n    };\n\n    _proto.onCarouselItemClick = function onCarouselItemClick(evt, target) {\n      evt.preventDefault();\n      var selectedImageId = target.getAttribute('data-image-id');\n      var imageList = this.model.images;\n      var foundImage = imageList.find(function (image) {\n        return image.id === selectedImageId;\n      });\n\n      if (foundImage) {\n        this.selectedImage = foundImage;\n        this.cachedImage = foundImage;\n      }\n\n      this.view.render();\n    };\n\n    _proto.nextIndex = function nextIndex(currentIndex, offset) {\n      var nextIndex = currentIndex + offset;\n\n      if (nextIndex >= this.model.images.length) {\n        return 0;\n      }\n\n      if (nextIndex < 0) {\n        return this.model.images.length - 1;\n      }\n\n      return nextIndex;\n    };\n\n    _proto.onCarouselChange = function onCarouselChange(offset) {\n      var _this5 = this;\n\n      var imageList = this.model.images;\n      var currentImage = imageList.filter(function (image) {\n        return image.id === _this5.currentImage.id;\n      })[0];\n      var currentImageIndex = imageList.indexOf(currentImage);\n      this.selectedImage = imageList[this.nextIndex(currentImageIndex, offset)];\n      this.cachedImage = this.selectedImage;\n      this.view.render();\n    }\n    /**\n     * create modal instance and initialize.\n     * @return {Promise} promise resolving to modal instance\n     */\n    ;\n\n    _proto.openModal = function openModal() {\n      if (!this.modal) {\n        var modalConfig = Object.assign({}, this.globalConfig, {\n          node: this.globalConfig.modalNode,\n          options: Object.assign({}, this.config, {\n            product: this.modalProductConfig,\n            modal: Object.assign({}, this.config.modal, {\n              googleFonts: this.options.googleFonts\n            })\n          })\n        });\n        this.modal = this.props.createModal(modalConfig, this.props);\n      }\n\n      this._userEvent('openModal');\n\n      return this.modal.init(this.model);\n    }\n    /**\n     * update quantity of selected variant and rerender.\n     * @param {Function} fn - function which returns new quantity given current quantity.\n     */\n    ;\n\n    _proto.updateQuantity = function updateQuantity(fn) {\n      var quantity = fn(this.selectedQuantity);\n\n      if (quantity < 0) {\n        quantity = 0;\n      }\n\n      this.selectedQuantity = quantity;\n\n      this._userEvent('updateQuantity');\n\n      this.view.render();\n    }\n    /**\n     * Update variant based on option value.\n     * @param {String} optionName - name of option being modified.\n     * @param {String} value - value of selected option.\n     * @return {Object} updated option object.\n     */\n    ;\n\n    _proto.updateVariant = function updateVariant(optionName, value) {\n      var _this6 = this;\n\n      var updatedOption = this.model.options.find(function (option) {\n        return option.name === optionName;\n      });\n\n      if (updatedOption) {\n        this.selectedOptions[updatedOption.name] = value;\n        this.selectedVariant = this.props.client.product.helpers.variantForOptions(this.model, this.selectedOptions);\n      }\n\n      if (this.variantExists) {\n        this.cachedImage = this.selectedVariant.image;\n\n        if (this.selectedVariant.image) {\n          this.selectedImage = null;\n        } else {\n          this.selectedImage = this.model.images[0]; // get cached image\n        }\n      } else {\n        this.selectedImage = this.model.images.find(function (image) {\n          return image.id === _this6.cachedImage.id;\n        });\n      }\n\n      this.view.render();\n\n      this._userEvent('updateVariant');\n\n      return updatedOption;\n    }\n    /**\n     * set default variant to be selected on initialization.\n     * @param {Object} model - model to be modified.\n     */\n    ;\n\n    _proto.setDefaultVariant = function setDefaultVariant(model) {\n      var _this7 = this;\n\n      var selectedVariant;\n\n      if (this.defaultStorefrontVariantId) {\n        selectedVariant = model.variants.find(function (variant) {\n          return variant.id === _this7.defaultStorefrontVariantId;\n        });\n      } else {\n        this.defaultStorefrontVariantId = model.variants[0].id;\n        selectedVariant = model.variants[0];\n        this.selectedImage = model.images[0];\n      }\n\n      if (!selectedVariant) {\n        selectedVariant = model.variants[0];\n      }\n\n      this.selectedOptions = selectedVariant.selectedOptions.reduce(function (acc, option) {\n        acc[option.name] = option.value;\n        return acc;\n      }, {});\n      this.selectedVariant = selectedVariant;\n      return model;\n    };\n\n    _proto.imageAltText = function imageAltText(altText) {\n      return altText || this.model.title;\n    };\n\n    _createClass(Product, [{\n      key: \"shouldUpdateImage\",\n      get: function get() {\n        return !this.cachedImage || this.image && this.image.src !== this.cachedImage;\n      }\n      /**\n       * get image for product and cache it. Return caches image if shouldUpdateImage is false.\n       * @return {Object} image objcet.\n       */\n\n    }, {\n      key: \"currentImage\",\n      get: function get() {\n        if (this.shouldUpdateImage) {\n          this.cachedImage = this.image;\n        }\n\n        return this.cachedImage;\n      }\n      /**\n       * get image for selected variant and size based on options or layout.\n       * @return {Object} image object.\n       */\n\n    }, {\n      key: \"image\",\n      get: function get() {\n        var DEFAULT_IMAGE_SIZE = 480;\n        var MODAL_IMAGE_SIZE = 550;\n\n        if (!(this.selectedVariant || this.options.contents.imgWithCarousel)) {\n          return null;\n        }\n\n        var imageSize;\n\n        if (this.options.width && this.options.width.slice(-1) === '%') {\n          imageSize = 1000;\n        } else {\n          imageSize = parseInt(this.options.width, 10) || DEFAULT_IMAGE_SIZE;\n        }\n\n        var id;\n        var src;\n        var srcLarge;\n        var srcOriginal;\n        var altText;\n        var imageOptions = {\n          maxWidth: imageSize,\n          maxHeight: imageSize * 1.5\n        };\n        var imageOptionsLarge = {\n          maxWidth: MODAL_IMAGE_SIZE,\n          maxHeight: MODAL_IMAGE_SIZE * 1.5\n        };\n\n        if (this.selectedImage) {\n          id = this.selectedImage.id;\n          src = this.props.client.image.helpers.imageForSize(this.selectedImage, imageOptions);\n          srcLarge = this.props.client.image.helpers.imageForSize(this.selectedImage, imageOptionsLarge);\n          srcOriginal = this.selectedImage.src;\n          altText = this.imageAltText(this.selectedImage.altText);\n        } else if (this.selectedVariant.image == null && this.model.images[0] == null) {\n          id = null;\n          src = '';\n          srcLarge = '';\n          srcOriginal = '';\n          altText = '';\n        } else if (this.selectedVariant.image == null) {\n          id = this.model.images[0].id;\n          src = this.model.images[0].src;\n          srcLarge = this.props.client.image.helpers.imageForSize(this.model.images[0], imageOptionsLarge);\n          srcOriginal = this.model.images[0].src;\n          altText = this.imageAltText(this.model.images[0].altText);\n        } else {\n          id = this.selectedVariant.image.id;\n          src = this.props.client.image.helpers.imageForSize(this.selectedVariant.image, imageOptions);\n          srcLarge = this.props.client.image.helpers.imageForSize(this.selectedVariant.image, imageOptionsLarge);\n          srcOriginal = this.selectedVariant.image.src;\n          altText = this.imageAltText(this.selectedVariant.image.altText);\n        }\n\n        return {\n          id: id,\n          src: src,\n          srcLarge: srcLarge,\n          srcOriginal: srcOriginal,\n          altText: altText\n        };\n      }\n      /**\n       * get formatted cart subtotal based on moneyFormat\n       * @return {String}\n       */\n\n    }, {\n      key: \"formattedPrice\",\n      get: function get() {\n        if (!this.selectedVariant) {\n          return '';\n        }\n\n        return formatMoney(this.selectedVariant.priceV2.amount, this.globalConfig.moneyFormat);\n      }\n      /**\n       * get formatted cart subtotal based on moneyFormat\n       * @return {String}\n       */\n\n    }, {\n      key: \"formattedCompareAtPrice\",\n      get: function get() {\n        if (!this.hasCompareAtPrice) {\n          return '';\n        }\n\n        return formatMoney(this.selectedVariant.compareAtPriceV2.amount, this.globalConfig.moneyFormat);\n      }\n      /**\n       * get whether unit price string should be displayed\n       * @return {Boolean}\n       */\n\n    }, {\n      key: \"showUnitPrice\",\n      get: function get() {\n        if (!this.selectedVariant || !this.selectedVariant.unitPrice || !this.options.contents.unitPrice) {\n          return false;\n        }\n\n        return true;\n      }\n      /**\n       * get formatted variant unit price amount based on moneyFormat\n       * @return {String}\n       */\n\n    }, {\n      key: \"formattedUnitPrice\",\n      get: function get() {\n        if (!this.showUnitPrice) {\n          return '';\n        }\n\n        return formatMoney(this.selectedVariant.unitPrice.amount, this.globalConfig.moneyFormat);\n      }\n      /**\n       * get formatted variant unit price base unit\n       * @return {String}\n       */\n\n    }, {\n      key: \"formattedUnitPriceBaseUnit\",\n      get: function get() {\n        if (!this.showUnitPrice) {\n          return '';\n        }\n\n        var unitPriceMeasurement = this.selectedVariant.unitPriceMeasurement;\n        return getUnitPriceBaseUnit(unitPriceMeasurement.referenceValue, unitPriceMeasurement.referenceUnit);\n      }\n      /**\n       * get data to be passed to view.\n       * @return {Object} viewData object.\n       */\n\n    }, {\n      key: \"viewData\",\n      get: function get() {\n        return Object.assign({}, this.model, this.options.viewData, {\n          classes: this.classes,\n          contents: this.options.contents,\n          text: this.options.text,\n          optionsHtml: this.optionsHtml,\n          decoratedOptions: this.decoratedOptions,\n          currentImage: this.currentImage,\n          buttonClass: this.buttonClass,\n          hasVariants: this.hasVariants,\n          buttonDisabled: !this.buttonEnabled,\n          selectedVariant: this.selectedVariant,\n          selectedQuantity: this.selectedQuantity,\n          buttonText: this.buttonText,\n          imgStyle: this.imgStyle,\n          quantityClass: this.quantityClass,\n          priceClass: this.priceClass,\n          formattedPrice: this.formattedPrice,\n          priceAccessibilityLabel: this.priceAccessibilityLabel,\n          hasCompareAtPrice: this.hasCompareAtPrice,\n          formattedCompareAtPrice: this.formattedCompareAtPrice,\n          compareAtPriceAccessibilityLabel: this.compareAtPriceAccessibilityLabel,\n          showUnitPrice: this.showUnitPrice,\n          formattedUnitPrice: this.formattedUnitPrice,\n          formattedUnitPriceBaseUnit: this.formattedUnitPriceBaseUnit,\n          carouselIndex: 0,\n          carouselImages: this.carouselImages\n        });\n      }\n    }, {\n      key: \"carouselImages\",\n      get: function get() {\n        var _this8 = this;\n\n        return this.model.images.map(function (image) {\n          return {\n            id: image.id,\n            src: image.src,\n            carouselSrc: _this8.props.client.image.helpers.imageForSize(image, {\n              maxWidth: 100,\n              maxHeight: 100\n            }),\n            isSelected: image.id === _this8.currentImage.id,\n            altText: _this8.imageAltText(image.altText)\n          };\n        });\n      }\n    }, {\n      key: \"buttonClass\",\n      get: function get() {\n        var disabledClass = this.buttonEnabled ? '' : this.classes.product.disabled;\n        var quantityClass = this.options.contents.buttonWithQuantity ? this.classes.product.buttonBesideQty : '';\n        return \"\".concat(disabledClass, \" \").concat(quantityClass);\n      }\n    }, {\n      key: \"quantityClass\",\n      get: function get() {\n        return this.options.contents.quantityIncrement || this.options.contents.quantityDecrement ? this.classes.product.quantityWithButtons : '';\n      }\n    }, {\n      key: \"buttonText\",\n      get: function get() {\n        if (this.options.buttonDestination === 'modal') {\n          return this.options.text.button;\n        }\n\n        if (!this.variantExists) {\n          return this.options.text.unavailable;\n        }\n\n        if (!this.variantInStock) {\n          return this.options.text.outOfStock;\n        }\n\n        return this.options.text.button;\n      }\n    }, {\n      key: \"buttonEnabled\",\n      get: function get() {\n        return this.options.buttonDestination === 'modal' || this.buttonActionAvailable && this.variantExists && this.variantInStock;\n      }\n    }, {\n      key: \"variantExists\",\n      get: function get() {\n        var _this9 = this;\n\n        return this.model.variants.some(function (variant) {\n          if (_this9.selectedVariant) {\n            return variant.id === _this9.selectedVariant.id;\n          } else {\n            return false;\n          }\n        });\n      }\n    }, {\n      key: \"variantInStock\",\n      get: function get() {\n        return this.variantExists && this.selectedVariant.available;\n      }\n    }, {\n      key: \"hasVariants\",\n      get: function get() {\n        return this.model.variants.length > 1;\n      }\n    }, {\n      key: \"requiresCart\",\n      get: function get() {\n        return this.options.buttonDestination === 'cart';\n      }\n    }, {\n      key: \"buttonActionAvailable\",\n      get: function get() {\n        return !this.requiresCart || Boolean(this.cart);\n      }\n    }, {\n      key: \"hasQuantity\",\n      get: function get() {\n        return this.options.contents.quantityInput;\n      }\n    }, {\n      key: \"priceClass\",\n      get: function get() {\n        return this.hasCompareAtPrice ? this.classes.product.loweredPrice : '';\n      }\n    }, {\n      key: \"isButton\",\n      get: function get() {\n        return this.options.isButton && !(this.options.contents.button || this.options.contents.buttonWithQuantity);\n      }\n      /**\n       * get events to be bound to DOM.\n       * @return {Object}\n       */\n\n    }, {\n      key: \"DOMEvents\",\n      get: function get() {\n        var _merge;\n\n        return merge({}, (_merge = {\n          click: this.closeCartOnBgClick.bind(this)\n        }, _defineProperty(_merge, \"click \".concat(this.selectors.option.select), this.stopPropagation.bind(this)), _defineProperty(_merge, \"focus \".concat(this.selectors.option.select), this.stopPropagation.bind(this)), _defineProperty(_merge, \"click \".concat(this.selectors.option.wrapper), this.stopPropagation.bind(this)), _defineProperty(_merge, \"click \".concat(this.selectors.product.quantityInput), this.stopPropagation.bind(this)), _defineProperty(_merge, \"click \".concat(this.selectors.product.quantityButton), this.stopPropagation.bind(this)), _defineProperty(_merge, \"change \".concat(this.selectors.option.select), this.onOptionSelect.bind(this)), _defineProperty(_merge, \"click \".concat(this.selectors.product.button), this.onButtonClick.bind(this)), _defineProperty(_merge, \"click \".concat(this.selectors.product.blockButton), this.onButtonClick.bind(this)), _defineProperty(_merge, \"keyup \".concat(this.selectors.product.blockButton), this.onBlockButtonKeyup.bind(this)), _defineProperty(_merge, \"click \".concat(this.selectors.product.quantityIncrement), this.onQuantityIncrement.bind(this, 1)), _defineProperty(_merge, \"click \".concat(this.selectors.product.quantityDecrement), this.onQuantityIncrement.bind(this, -1)), _defineProperty(_merge, \"blur \".concat(this.selectors.product.quantityInput), this.onQuantityBlur.bind(this)), _defineProperty(_merge, \"click \".concat(this.selectors.product.carouselItem), this.onCarouselItemClick.bind(this)), _defineProperty(_merge, \"click \".concat(this.selectors.product.carouselNext), this.onCarouselChange.bind(this, 1)), _defineProperty(_merge, \"click \".concat(this.selectors.product.carouselPrevious), this.onCarouselChange.bind(this, -1)), _merge), this.options.DOMEvents);\n      }\n    }, {\n      key: \"optionsHtml\",\n      get: function get() {\n        var _this10 = this;\n\n        if (!this.options.contents.options) {\n          return '';\n        }\n\n        var uniqueId = Date.now();\n        return this.decoratedOptions.reduce(function (acc, option, index) {\n          var data = merge(option, _this10.options.viewData);\n          data.classes = _this10.classes;\n          data.selectId = \"Option-\".concat(uniqueId, \"-\").concat(index);\n          data.onlyOption = _this10.model.options.length === 1;\n          return acc + _this10.childTemplate.render({\n            data: data\n          });\n        }, '');\n      }\n      /**\n       * get product variants with embedded options\n       * @return {Array} array of variants\n       */\n\n    }, {\n      key: \"variantArray\",\n      get: function get() {\n        delete this.variantArrayMemo;\n        this.variantArrayMemo = this.model.variants.map(function (variant) {\n          var betterVariant = {\n            id: variant.id,\n            available: variant.available,\n            optionValues: {}\n          };\n          variant.optionValues.forEach(function (optionValue) {\n            betterVariant.optionValues[optionValue.name] = optionValue.value;\n          });\n          return betterVariant;\n        });\n        return this.variantArrayMemo;\n      }\n    }, {\n      key: \"decoratedOptions\",\n      get: function get() {\n        var _this11 = this;\n\n        return this.model.options.map(function (option) {\n          return {\n            name: option.name,\n            values: option.values.map(function (value) {\n              return {\n                name: value.value,\n                selected: _this11.selectedOptions[option.name] === value.value\n              };\n            })\n          };\n        });\n      }\n      /**\n       * get info about product to be sent to tracker\n       * @return {Object}\n       */\n\n    }, {\n      key: \"trackingInfo\",\n      get: function get() {\n        var variant = this.selectedVariant || this.model.variants[0];\n        var contents = this.options.contents;\n        var contentString = Object.keys(contents).filter(function (key) {\n          return contents[key];\n        }).toString();\n        return {\n          id: this.model.id,\n          name: this.model.title,\n          variantId: variant.id,\n          variantName: variant.title,\n          price: variant.priceV2.amount,\n          destination: this.options.buttonDestination,\n          layout: this.options.layout,\n          contents: contentString,\n          checkoutPopup: this.config.cart.popup,\n          sku: null\n        };\n      }\n      /**\n       * get info about variant to be sent to tracker\n       * @return {Object}\n       */\n\n    }, {\n      key: \"selectedVariantTrackingInfo\",\n      get: function get() {\n        var variant = this.selectedVariant;\n        return {\n          id: variant.id,\n          name: variant.title,\n          productId: this.model.id,\n          productName: this.model.title,\n          quantity: this.selectedQuantity,\n          price: variant.priceV2.amount,\n          sku: null\n        };\n      }\n      /**\n       * get info about product to be sent to tracker\n       * @return {Object}\n       */\n\n    }, {\n      key: \"productTrackingInfo\",\n      get: function get() {\n        return {\n          id: this.model.id\n        };\n      }\n      /**\n       * get configuration object for product details modal based on product config and modalProduct config.\n       * @return {Object} configuration object.\n       */\n\n    }, {\n      key: \"modalProductConfig\",\n      get: function get() {\n        var _this12 = this;\n\n        var modalProductStyles;\n\n        if (this.config.product.styles) {\n          modalProductStyles = merge({}, Object.keys(this.config.product.styles).reduce(function (productStyles, selectorKey) {\n            productStyles[selectorKey] = whitelistedProperties(_this12.config.product.styles[selectorKey]);\n            return productStyles;\n          }, {}), this.config.modalProduct.styles);\n        } else {\n          modalProductStyles = {};\n        }\n\n        return Object.assign({}, this.config.modalProduct, {\n          styles: modalProductStyles\n        });\n      }\n      /**\n       * get params for online store URL.\n       * @return {Object}\n       */\n\n    }, {\n      key: \"onlineStoreParams\",\n      get: function get() {\n        return {\n          channel: 'buy_button',\n          referrer: encodeURIComponent(windowUtils.location()),\n          variant: this.selectedVariant.id.split('/')[4]\n        };\n      }\n      /**\n       * get query string for online store URL from params\n       * @return {String}\n       */\n\n    }, {\n      key: \"onlineStoreQueryString\",\n      get: function get() {\n        var _this13 = this;\n\n        return Object.keys(this.onlineStoreParams).reduce(function (string, key) {\n          return \"\".concat(string).concat(key, \"=\").concat(_this13.onlineStoreParams[key], \"&\");\n        }, '?');\n      }\n      /**\n       * get URL to open online store page for product.\n       * @return {String}\n       */\n\n    }, {\n      key: \"onlineStoreURL\",\n      get: function get() {\n        return \"\".concat(this.model.onlineStoreUrl).concat(this.onlineStoreQueryString);\n      }\n    }, {\n      key: \"priceAccessibilityLabel\",\n      get: function get() {\n        return this.hasCompareAtPrice ? this.options.text.salePriceAccessibilityLabel : this.options.text.regularPriceAccessibilityLabel;\n      }\n    }, {\n      key: \"compareAtPriceAccessibilityLabel\",\n      get: function get() {\n        return this.hasCompareAtPrice ? this.options.text.regularPriceAccessibilityLabel : '';\n      }\n    }, {\n      key: \"hasCompareAtPrice\",\n      get: function get() {\n        return Boolean(this.selectedVariant && this.selectedVariant.compareAtPriceV2);\n      }\n    }]);\n\n    return Product;\n  }(Component);\n\n  var ModalView =\n  /*#__PURE__*/\n  function (_View) {\n    _inheritsLoose(ModalView, _View);\n\n    function ModalView() {\n      return _View.apply(this, arguments) || this;\n    }\n\n    var _proto = ModalView.prototype;\n\n    _proto.wrapTemplate = function wrapTemplate(html) {\n      return \"<div class=\\\"\".concat(this.component.classes.modal.overlay, \"\\\"><div class=\\\"\").concat(this.component.classes.modal.modal, \"\\\">\").concat(html, \"</div></div>\");\n    }\n    /**\n     * close modal.\n     */\n    ;\n\n    _proto.close = function close() {\n      var _this = this;\n\n      this.component.isVisible = false;\n      removeTrapFocus(this.wrapper);\n\n      if (this.wrapper && this._closeOnBgClick) {\n        this.wrapper.removeEventListener('click', this._closeOnBgClick);\n      }\n\n      removeClassFromElement('is-active', this.wrapper);\n      removeClassFromElement('is-active', this.document.body);\n      removeClassFromElement('shopify-buy-modal-is-active', document.body);\n      removeClassFromElement('shopify-buy-modal-is-active', document.getElementsByTagName('html')[0]);\n\n      if (!this.iframe) {\n        removeClassFromElement('is-active', this.component.node);\n        removeClassFromElement('is-block', this.component.node);\n        return;\n      }\n\n      this.iframe.removeClass('is-block');\n\n      if (this.component.props.browserFeatures.transition) {\n        this.iframe.parent.addEventListener('transitionend', function () {\n          _this.iframe.removeClass('is-active');\n        });\n      } else {\n        this.iframe.removeClass('is-active');\n      }\n    }\n    /**\n     * delegates DOM events to event listeners.\n     * Adds event listener to wrapper to close modal on click.\n     */\n    ;\n\n    _proto.delegateEvents = function delegateEvents() {\n      _View.prototype.delegateEvents.call(this);\n\n      this._closeOnBgClick = this.component.closeOnBgClick.bind(this.component);\n      this.wrapper.addEventListener('click', this._closeOnBgClick);\n    };\n\n    _proto.render = function render() {\n      if (!this.component.isVisible) {\n        return;\n      }\n\n      _View.prototype.render.call(this);\n\n      addClassToElement('is-active', this.document.body);\n      addClassToElement('shopify-buy-modal-is-active', document.body);\n      addClassToElement('shopify-buy-modal-is-active', document.getElementsByTagName('html')[0]);\n      addClassToElement('is-active', this.wrapper);\n\n      if (this.iframe) {\n        this.iframe.addClass('is-active');\n        this.iframe.addClass('is-block');\n      } else {\n        addClassToElement('is-active', this.component.node);\n        addClassToElement('is-block', this.component.node);\n      }\n    };\n\n    return ModalView;\n  }(View);\n\n  var ModalUpdater =\n  /*#__PURE__*/\n  function (_Updater) {\n    _inheritsLoose(ModalUpdater, _Updater);\n\n    function ModalUpdater() {\n      return _Updater.apply(this, arguments) || this;\n    }\n\n    var _proto = ModalUpdater.prototype;\n\n    _proto.updateConfig = function updateConfig(config) {\n      var _this = this;\n\n      _Updater.prototype.updateConfig.call(this, config);\n\n      this.component.product = new Product$1(this.component.productConfig, this.component.props);\n      return this.component.product.init(this.component.model).then(function () {\n        return _this.component.view.resize();\n      });\n    };\n\n    return ModalUpdater;\n  }(Updater);\n\n  /**\n   * Renders product modal.\n   * @extends Component.\n   */\n\n  var Modal =\n  /*#__PURE__*/\n  function (_Component) {\n    _inheritsLoose(Modal, _Component);\n\n    /**\n     * create Modal.\n     * @param {Object} config - configuration object.\n     * @param {Object} props - data and utilities passed down from UI instance.\n     */\n    function Modal(config, props) {\n      var _this;\n\n      _this = _Component.call(this, config, props) || this;\n      _this.typeKey = 'modal';\n      _this.node = config.node ? config.node.appendChild(document.createElement('div')) : document.body.appendChild(document.createElement('div'));\n      _this.node.className = 'shopify-buy-modal-wrapper';\n      _this.product = null;\n      _this.updater = new ModalUpdater(_assertThisInitialized(_this));\n      _this.view = new ModalView(_assertThisInitialized(_this));\n      return _this;\n    }\n    /**\n     * get events to be bound to DOM.\n     * Combines Product events with modal events.\n     * @return {Object}\n     */\n\n\n    var _proto = Modal.prototype;\n\n    _proto.closeOnBgClick = function closeOnBgClick(evt) {\n      if (!this.productWrapper.contains(evt.target)) {\n        this.props.closeModal();\n      }\n    }\n    /**\n     * initializes component by creating model and rendering view.\n     * Creates and initializes product component.\n     * @param {Object} [data] - data to initialize model with.\n     * @return {Promise} promise resolving to instance.\n    */\n    ;\n\n    _proto.init = function init(data) {\n      var _this2 = this;\n\n      this.isVisible = true;\n      return _Component.prototype.init.call(this, data).then(function () {\n        _this2.productWrapper = _this2.view.wrapper.getElementsByClassName(_this2.classes.modal.modal)[0];\n        _this2.product = new Product$1(_this2.productConfig, _this2.props);\n        return _this2.product.init(_this2.model).then(function () {\n          _this2.view.setFocus();\n\n          return _this2.view.resize();\n        });\n      });\n    }\n    /**\n     * close modal.\n     */\n    ;\n\n    _proto.close = function close() {\n      this._userEvent('closeModal');\n\n      this.view.close();\n    };\n\n    _createClass(Modal, [{\n      key: \"DOMEvents\",\n      get: function get() {\n        return Object.assign({}, _defineProperty({}, \"click \".concat(this.selectors.modal.close), this.props.closeModal.bind(this)), this.options.DOMEvents);\n      }\n      /**\n       * get configuration object for product within modal. Set product node to modal contents.\n       * @return {Object}\n       */\n\n    }, {\n      key: \"productConfig\",\n      get: function get() {\n        return Object.assign({}, this.globalConfig, {\n          node: this.productWrapper,\n          options: merge({}, this.config),\n          modalProduct: true\n        });\n      }\n    }]);\n\n    return Modal;\n  }(Component);\n\n  var ProductSetUpdater =\n  /*#__PURE__*/\n  function (_Updater) {\n    _inheritsLoose(ProductSetUpdater, _Updater);\n\n    function ProductSetUpdater() {\n      return _Updater.apply(this, arguments) || this;\n    }\n\n    var _proto = ProductSetUpdater.prototype;\n\n    _proto.updateConfig = function updateConfig(config) {\n      _Updater.prototype.updateConfig.call(this, config);\n\n      this.component.products[0].updateConfig({\n        options: Object.assign({}, config.options)\n      });\n      this.component.cart.updateConfig(config);\n      this.component.renderProducts();\n    };\n\n    return ProductSetUpdater;\n  }(Updater);\n\n  var pollInterval = 200;\n\n  var ProductSetView =\n  /*#__PURE__*/\n  function (_View) {\n    _inheritsLoose(ProductSetView, _View);\n\n    function ProductSetView(component) {\n      var _this;\n\n      _this = _View.call(this, component) || this;\n      _this.height = 0;\n      _this.resizeCompleted = false;\n      return _this;\n    }\n\n    var _proto = ProductSetView.prototype;\n\n    _proto.wrapTemplate = function wrapTemplate(html) {\n      return \"<div class=\\\"\".concat(this.component.classes.productSet.productSet, \"\\\">\").concat(html, \"</div>\");\n    }\n    /**\n     * resize iframe until it is tall enough to contain all products.\n     */\n    ;\n\n    _proto.resizeUntilFits = function resizeUntilFits() {\n      var _this2 = this;\n\n      if (!this.iframe || this.resizeCompleted) {\n        return;\n      }\n\n      var maxResizes = this.component.products.length;\n      var resizes = 0;\n      this.height = this.outerHeight;\n      this.resize();\n      var productSetResize = setInterval(function () {\n        var currentHeight = _this2.outerHeight;\n\n        if (parseInt(currentHeight, 10) > parseInt(_this2.height, 10)) {\n          resizes++;\n          _this2.height = currentHeight;\n\n          _this2.resize(currentHeight);\n        }\n\n        if (resizes > maxResizes) {\n          _this2.resizeCompleted = true;\n          clearInterval(productSetResize);\n        }\n      }, pollInterval);\n    };\n\n    _createClass(ProductSetView, [{\n      key: \"shouldResizeY\",\n      get: function get() {\n        return true;\n      }\n    }]);\n\n    return ProductSetView;\n  }(View);\n\n  function isArray$1(arg) {\n    return Object.prototype.toString.call(arg) === '[object Array]';\n  }\n  /**\n   * Renders and fetches data for collection and product set embed.\n   * @extends Component.\n   */\n\n\n  var ProductSet =\n  /*#__PURE__*/\n  function (_Component) {\n    _inheritsLoose(ProductSet, _Component);\n\n    /**\n     * create ProductSet\n     * @param {Object} config - configuration object.\n     * @param {Object} props - data and utilities passed down from UI instance.\n     */\n    function ProductSet(config, props) {\n      var _this;\n\n      if (Array.isArray(config.id)) {\n        // eslint-disable-next-line no-param-reassign\n        config = normalizeConfig(config);\n      } else {\n        // eslint-disable-next-line no-param-reassign\n        config = normalizeConfig(config, 'Collection');\n      }\n\n      _this = _Component.call(this, config, props) || this;\n      _this.typeKey = 'productSet';\n      _this.products = [];\n      _this.cart = null;\n      _this.page = 1;\n      _this.nextModel = {\n        products: []\n      };\n      _this.updater = new ProductSetUpdater(_assertThisInitialized(_this));\n      _this.view = new ProductSetView(_assertThisInitialized(_this));\n      return _this;\n    }\n\n    var _proto = ProductSet.prototype;\n\n    /**\n     * initializes component by creating model and rendering view.\n     * Creates and initalizes cart if necessary.\n     * Calls renderProducts.\n     * @param {Object} [data] - data to initialize model with.\n     * @return {Promise} promise resolving to instance.\n     */\n    _proto.init = function init(data) {\n      var _this2 = this;\n\n      var cartConfig = Object.assign({}, this.globalConfig, {\n        node: this.globalConfig.cartNode,\n        options: this.config\n      });\n      return this.props.createCart(cartConfig).then(function (cart) {\n        _this2.cart = cart;\n        return _Component.prototype.init.call(_this2, data).then(function (model) {\n          if (model) {\n            return _this2.renderProducts(_this2.model.products);\n          }\n\n          return _this2;\n        });\n      });\n    }\n    /**\n     * fetches products from SDK based on provided config information.\n     * @param {Object} options - query options for request\n     * @return {Promise} promise resolving to collection data.\n     */\n    ;\n\n    _proto.sdkFetch = function sdkFetch() {\n      var _this3 = this;\n\n      var promise;\n\n      if (this.storefrontId) {\n        if (Array.isArray(this.storefrontId)) {\n          promise = this.props.client.product.fetchMultiple(this.storefrontId);\n        } else {\n          promise = this.props.client.collection.fetchWithProducts(this.storefrontId);\n        }\n      } else if (this.handle) {\n        promise = this.props.client.collection.fetchByHandle(this.handle).then(function (collection) {\n          _this3.storefrontId = collection.id;\n          return _this3.props.client.collection.fetchWithProducts(_this3.storefrontId);\n        });\n      }\n\n      return promise.then(function (collectionOrProducts) {\n        var products;\n\n        if (Array.isArray(collectionOrProducts)) {\n          products = collectionOrProducts;\n        } else {\n          products = collectionOrProducts.products;\n        }\n\n        return products;\n      });\n    }\n    /**\n     * call sdkFetch and set model.products to products array.\n     * @throw 'Not Found' if model not returned.\n     * @return {Promise} promise resolving to model data.\n     */\n    ;\n\n    _proto.fetchData = function fetchData() {\n      return this.sdkFetch().then(function (products) {\n        if (products.length) {\n          return {\n            products: products\n          };\n        }\n\n        throw new Error('Not Found');\n      });\n    }\n    /**\n     * make request to SDK for next page. Render button if products on next page exist.\n     * @return {Promise} promise resolving when button is rendered or not.\n     */\n    ;\n\n    _proto.showPagination = function showPagination() {\n      var _this4 = this;\n\n      return this.props.client.fetchNextPage(this.model.products).then(function (data) {\n        _this4.nextModel = {\n          products: data.model\n        };\n\n        _this4.view.renderChild(_this4.classes.productSet.paginationButton, _this4.paginationTemplate);\n\n        _this4.view.resize();\n\n        return;\n      });\n    }\n    /**\n     * append next page worth of products into the DOM\n     */\n    ;\n\n    _proto.nextPage = function nextPage() {\n      this.model = this.nextModel;\n\n      this._userEvent('loadNextPage');\n\n      this.renderProducts();\n    }\n    /**\n     * render product components into productSet container. Show pagination button if necessary.\n     * @return {Promise} promise resolving to instance.\n     */\n    ;\n\n    _proto.renderProducts = function renderProducts() {\n      var _this5 = this;\n\n      if (!this.model.products.length) {\n        return Promise.resolve();\n      }\n\n      var productConfig = Object.assign({}, this.globalConfig, {\n        node: this.view.document.querySelector(\".\".concat(this.classes.productSet.products)),\n        options: merge({}, this.config, {\n          product: {\n            iframe: false,\n            classes: {\n              wrapper: this.classes.productSet.product\n            }\n          }\n        })\n      });\n\n      if (this.config.productSet.iframe === false) {\n        productConfig.node = this.node.querySelector(\".\".concat(this.classes.productSet.products));\n      }\n\n      var promises = this.model.products.map(function (productModel) {\n        var product = new Product$1(productConfig, _this5.props);\n\n        _this5.products.push(product);\n\n        return product.init(productModel);\n      });\n      return Promise.all(promises).then(function () {\n        _this5.view.resizeUntilFits();\n\n        var hasPagination = _this5.model.products[0].hasOwnProperty('hasNextPage');\n\n        if (_this5.options.contents.pagination && hasPagination) {\n          _this5.showPagination();\n        }\n\n        return _this5;\n      });\n    };\n\n    _createClass(ProductSet, [{\n      key: \"nextButtonClass\",\n      get: function get() {\n        return this.nextModel.products.length ? 'is-active' : '';\n      }\n      /**\n       * get data to be passed to view.\n       * @return {Object} viewData object.\n       */\n\n    }, {\n      key: \"viewData\",\n      get: function get() {\n        return Object.assign({}, this.options.viewData, {\n          classes: this.classes,\n          text: this.options.text,\n          nextButtonClass: this.nextButtonClass\n        });\n      }\n      /**\n       * get events to be bound to DOM.\n       * @return {Object}\n       */\n\n    }, {\n      key: \"DOMEvents\",\n      get: function get() {\n        return Object.assign({}, _defineProperty({\n          click: this.props.closeCart.bind(this)\n        }, \"click \".concat(this.selectors.productSet.paginationButton), this.nextPage.bind(this)), this.options.DOMEvents);\n      }\n      /**\n       * get template for rendering pagination button.\n       * @return {Object} Template instance\n       */\n\n    }, {\n      key: \"paginationTemplate\",\n      get: function get() {\n        this._paginationTemplate = this._paginationTemplate || new Template({\n          pagination: this.options.templates.pagination\n        }, {\n          pagination: true\n        }, ['pagination']);\n        return this._paginationTemplate;\n      }\n      /**\n       * get info about collection or set to be sent to tracker\n       * @return {Object|Array}\n       */\n\n    }, {\n      key: \"trackingInfo\",\n      get: function get() {\n        var contents = this.config.product.contents;\n        var contentString = Object.keys(contents).filter(function (key) {\n          return contents[key];\n        }).toString();\n        var config = {\n          destination: this.config.product.buttonDestination,\n          layout: this.config.product.layout,\n          contents: contentString,\n          checkoutPopup: this.config.cart.popup\n        };\n\n        if (isArray$1(this.id)) {\n          return this.model.products.map(function (product) {\n            var variant = product.variants[0];\n            return Object.assign({}, config, {\n              id: product.id,\n              name: product.title,\n              variantId: variant.id,\n              variantName: variant.title,\n              price: variant.priceV2.amount,\n              sku: null,\n              isProductSet: true\n            });\n          });\n        }\n\n        return Object.assign(config, {\n          id: this.storefrontId\n        });\n      }\n    }]);\n\n    return ProductSet;\n  }(Component);\n\n  var ENTER_KEY$1 = 13;\n  var SPACE_KEY = 32;\n\n  var ToggleView =\n  /*#__PURE__*/\n  function (_View) {\n    _inheritsLoose(ToggleView, _View);\n\n    function ToggleView() {\n      return _View.apply(this, arguments) || this;\n    }\n\n    var _proto = ToggleView.prototype;\n\n    _proto.render = function render() {\n      _View.prototype.render.call(this);\n\n      if (this.component.options.sticky) {\n        this.addClass('is-sticky');\n      }\n\n      if (this.isVisible) {\n        this.addClass('is-active');\n      } else {\n        this.removeClass('is-active');\n      }\n\n      if (this.iframe) {\n        this.iframe.parent.setAttribute('tabindex', 0);\n        this.iframe.parent.setAttribute('role', 'button');\n        this.iframe.parent.setAttribute('aria-label', this.component.options.text.title);\n        this.resize();\n      }\n    };\n\n    _proto.delegateEvents = function delegateEvents() {\n      var _this = this;\n\n      _View.prototype.delegateEvents.call(this);\n\n      if (!this.iframe) {\n        return;\n      }\n\n      this.iframe.parent.addEventListener('keydown', function (evt) {\n        if (evt.keyCode !== ENTER_KEY$1 && evt.keyCode !== SPACE_KEY) {\n          return;\n        }\n\n        evt.preventDefault();\n\n        _this.component.props.setActiveEl(_this.node);\n\n        _this.component.props.cart.toggleVisibility(_this.component.props.cart);\n      });\n    };\n\n    _proto.wrapTemplate = function wrapTemplate(html) {\n      return \"<div class=\\\"\".concat(this.stickyClass, \" \").concat(this.component.classes.toggle.toggle, \"\\\">\\n      \").concat(html, \"\\n      \").concat(this.readableLabel, \"\\n    </div>\");\n    };\n\n    _proto._resizeX = function _resizeX() {\n      this.iframe.el.style.width = \"\".concat(this.wrapper.clientWidth, \"px\");\n    };\n\n    _createClass(ToggleView, [{\n      key: \"shouldResizeY\",\n      get: function get() {\n        return true;\n      }\n    }, {\n      key: \"shouldResizeX\",\n      get: function get() {\n        return true;\n      }\n    }, {\n      key: \"isVisible\",\n      get: function get() {\n        return this.component.count > 0;\n      }\n    }, {\n      key: \"stickyClass\",\n      get: function get() {\n        return this.component.options.sticky ? 'is-sticky' : 'is-inline';\n      }\n    }, {\n      key: \"outerHeight\",\n      get: function get() {\n        return \"\".concat(this.wrapper.clientHeight, \"px\");\n      }\n    }, {\n      key: \"readableLabel\",\n      get: function get() {\n        if (this.component.options.contents.title) {\n          return '';\n        }\n\n        return \"<p class=\\\"shopify-buy--visually-hidden\\\">\".concat(this.component.options.text.title, \"</p>\");\n      }\n    }]);\n\n    return ToggleView;\n  }(View);\n\n  var CartToggle =\n  /*#__PURE__*/\n  function (_Component) {\n    _inheritsLoose(CartToggle, _Component);\n\n    function CartToggle(config, props) {\n      var _this;\n\n      _this = _Component.call(this, config, props) || this;\n      _this.typeKey = 'toggle';\n      _this.node = config.node || _this.props.cart.node.parentNode.insertBefore(document.createElement('div'), _this.props.cart.node);\n      _this.view = new ToggleView(_assertThisInitialized(_this));\n      return _this;\n    }\n\n    var _proto = CartToggle.prototype;\n\n    _proto.toggleCart = function toggleCart(evt) {\n      evt.stopPropagation();\n      this.props.setActiveEl(this.view.node);\n      this.props.cart.toggleVisibility();\n    };\n\n    _createClass(CartToggle, [{\n      key: \"count\",\n      get: function get() {\n        if (!this.props.cart.model) {\n          return 0;\n        }\n\n        return this.props.cart.model.lineItems.reduce(function (acc, lineItem) {\n          return acc + lineItem.quantity;\n        }, 0);\n      }\n    }, {\n      key: \"viewData\",\n      get: function get() {\n        return Object.assign({}, this.options.viewData, {\n          classes: this.classes,\n          text: this.options.text,\n          count: this.count\n        });\n      }\n    }, {\n      key: \"DOMEvents\",\n      get: function get() {\n        return merge({}, {\n          click: this.toggleCart.bind(this)\n        }, this.options.DOMEvents);\n      }\n    }]);\n\n    return CartToggle;\n  }(Component);\n\n  var CartView =\n  /*#__PURE__*/\n  function (_View) {\n    _inheritsLoose(CartView, _View);\n\n    function CartView(component) {\n      var _this;\n\n      _this = _View.call(this, component) || this;\n      _this.node.className = 'shopify-buy-cart-wrapper';\n      return _this;\n    }\n\n    var _proto = CartView.prototype;\n\n    _proto.render = function render() {\n      _View.prototype.render.call(this);\n\n      if (this.component.isVisible) {\n        this.addClass('is-active');\n        this.addClass('is-visible');\n        this.addClass('is-initialized');\n\n        if (this.iframe) {\n          addClassToElement('is-block', this.iframe.el);\n        }\n      } else {\n        this.removeClass('is-active');\n\n        if (!this.component.props.browserFeatures.transition) {\n          this.removeClass('is-visible');\n\n          if (this.iframe) {\n            removeClassFromElement('is-block', this.iframe.el);\n          }\n        }\n      }\n    };\n\n    _proto.delegateEvents = function delegateEvents() {\n      var _this2 = this;\n\n      _View.prototype.delegateEvents.call(this);\n\n      if (this.component.props.browserFeatures.transition) {\n        this.node.addEventListener('transitionend', function () {\n          if (_this2.component.isVisible) {\n            return;\n          }\n\n          _this2.removeClass('is-visible');\n\n          if (_this2.iframe) {\n            removeClassFromElement('is-block', _this2.iframe.el);\n          }\n        });\n      }\n    };\n\n    _proto.wrapTemplate = function wrapTemplate(html) {\n      return \"<div class=\\\"\".concat(this.component.classes.cart.cart, \"\\\">\").concat(html, \"</div>\");\n    };\n\n    _createClass(CartView, [{\n      key: \"wrapperClass\",\n      get: function get() {\n        return this.component.isVisible ? 'is-active' : '';\n      }\n    }]);\n\n    return CartView;\n  }(View);\n\n  var CartUpdater =\n  /*#__PURE__*/\n  function (_Updater) {\n    _inheritsLoose(CartUpdater, _Updater);\n\n    function CartUpdater() {\n      return _Updater.apply(this, arguments) || this;\n    }\n\n    var _proto = CartUpdater.prototype;\n\n    _proto.updateConfig = function updateConfig(config) {\n      _Updater.prototype.updateConfig.call(this, config);\n\n      this.component.toggles.forEach(function (toggle) {\n        return toggle.updateConfig(config);\n      });\n    };\n\n    return CartUpdater;\n  }(Updater);\n\n  var NO_IMG_URL = '//sdks.shopifycdn.com/buy-button/latest/no-image.jpg';\n  var LINE_ITEM_TARGET_SELECTIONS = ['ENTITLED', 'EXPLICIT'];\n  var CART_TARGET_SELECTION = 'ALL';\n  /**\n   * Renders and cart embed.\n   * @extends Component.\n   */\n\n  var Cart =\n  /*#__PURE__*/\n  function (_Component) {\n    _inheritsLoose(Cart, _Component);\n\n    /**\n     * create Cart.\n     * @param {Object} config - configuration object.\n     * @param {Object} props - data and utilities passed down from UI instance.\n     */\n    function Cart(config, props) {\n      var _this;\n\n      _this = _Component.call(this, config, props) || this;\n      _this.addVariantToCart = _this.addVariantToCart.bind(_assertThisInitialized(_this));\n      _this.childTemplate = new Template(_this.config.lineItem.templates, _this.config.lineItem.contents, _this.config.lineItem.order);\n      _this.node = config.node || document.body.appendChild(document.createElement('div'));\n      _this.isVisible = _this.options.startOpen;\n      _this.lineItemCache = [];\n      _this.moneyFormat = _this.globalConfig.moneyFormat;\n      _this.checkout = new CheckoutNavigator(_this.config);\n      var toggles = _this.globalConfig.toggles || [{\n        node: _this.node.parentNode.insertBefore(document.createElement('div'), _this.node)\n      }];\n      _this.toggles = toggles.map(function (toggle) {\n        return new CartToggle(merge({}, config, toggle), Object.assign({}, _this.props, {\n          cart: _assertThisInitialized(_this)\n        }));\n      });\n      _this.updater = new CartUpdater(_assertThisInitialized(_this));\n      _this.view = new CartView(_assertThisInitialized(_this));\n      return _this;\n    }\n\n    var _proto = Cart.prototype;\n\n    _proto.createToggles = function createToggles(config) {\n      var _this2 = this;\n\n      this.toggles = this.toggles.concat(config.toggles.map(function (toggle) {\n        return new CartToggle(merge({}, config, toggle), Object.assign({}, _this2.props, {\n          cart: _this2\n        }));\n      }));\n      return Promise.all(this.toggles.map(function (toggle) {\n        return toggle.init({\n          lineItems: _this2.lineItems\n        });\n      }));\n    }\n    /**\n     * get key for configuration object.\n     * @return {String}\n     */\n    ;\n\n    _proto.imageForLineItem = function imageForLineItem(lineItem) {\n      var imageSize = 180;\n      var imageOptions = {\n        maxWidth: imageSize,\n        maxHeight: imageSize\n      };\n\n      if (lineItem.variant.image) {\n        return this.props.client.image.helpers.imageForSize(lineItem.variant.image, imageOptions);\n      } else {\n        return NO_IMG_URL;\n      }\n    }\n    /**\n     * sets model to null and removes checkout from localStorage\n     * @return {Promise} promise resolving to the cart model\n     */\n    ;\n\n    _proto.removeCheckout = function removeCheckout() {\n      this.model = null;\n      localStorage.removeItem(this.localStorageCheckoutKey);\n      return this.model;\n    }\n    /**\n     * get model data either by calling client.createCart or loading from localStorage.\n     * @return {Promise} promise resolving to cart instance.\n     */\n    ;\n\n    _proto.fetchData = function fetchData() {\n      var _this3 = this;\n\n      var checkoutId = localStorage.getItem(this.localStorageCheckoutKey);\n\n      if (checkoutId) {\n        return this.props.client.checkout.fetch(checkoutId).then(function (checkout) {\n          _this3.model = checkout;\n\n          if (checkout.completedAt) {\n            return _this3.removeCheckout();\n          }\n\n          return _this3.sanitizeCheckout(checkout).then(function (newCheckout) {\n            _this3.updateCache(newCheckout.lineItems);\n\n            return newCheckout;\n          });\n        }).catch(function () {\n          return _this3.removeCheckout();\n        });\n      } else {\n        return Promise.resolve(null);\n      }\n    };\n\n    _proto.sanitizeCheckout = function sanitizeCheckout(checkout) {\n      var lineItemsToDelete = checkout.lineItems.filter(function (item) {\n        return !item.variant;\n      });\n\n      if (!lineItemsToDelete.length) {\n        return Promise.resolve(checkout);\n      }\n\n      var lineItemIds = lineItemsToDelete.map(function (item) {\n        return item.id;\n      });\n      return this.props.client.checkout.removeLineItems(checkout.id, lineItemIds).then(function (newCheckout) {\n        return newCheckout;\n      });\n    };\n\n    _proto.fetchMoneyFormat = function fetchMoneyFormat() {\n      return this.props.client.shop.fetchInfo().then(function (res) {\n        return res.moneyFormat;\n      });\n    }\n    /**\n     * initializes component by creating model and rendering view.\n     * Creates and initalizes toggle component.\n     * @param {Object} [data] - data to initialize model with.\n     * @return {Promise} promise resolving to instance.\n     */\n    ;\n\n    _proto.init = function init(data) {\n      var _this4 = this;\n\n      if (!this.moneyFormat) {\n        this.fetchMoneyFormat().then(function (moneyFormat) {\n          _this4.moneyFormat = moneyFormat;\n        });\n      }\n\n      return _Component.prototype.init.call(this, data).then(function (cart) {\n        return _this4.toggles.map(function (toggle) {\n          var lineItems = cart.model ? cart.model.lineItems : [];\n          return toggle.init({\n            lineItems: lineItems\n          });\n        });\n      }).then(function () {\n        return _this4;\n      });\n    };\n\n    _proto.destroy = function destroy() {\n      _Component.prototype.destroy.call(this);\n\n      this.toggles.forEach(function (toggle) {\n        return toggle.destroy();\n      });\n    }\n    /**\n     * closes cart\n     */\n    ;\n\n    _proto.close = function close() {\n      this.isVisible = false;\n      this.view.render();\n      removeTrapFocus(this.view.wrapper);\n    }\n    /**\n     * opens cart\n     */\n    ;\n\n    _proto.open = function open() {\n      this.isVisible = true;\n      this.view.render();\n      this.setFocus();\n    }\n    /**\n     * toggles cart visibility\n     * @param {Boolean} visible - desired state.\n     */\n    ;\n\n    _proto.toggleVisibility = function toggleVisibility(visible) {\n      this.isVisible = visible || !this.isVisible;\n      this.view.render();\n\n      if (this.isVisible) {\n        this.setFocus();\n      }\n    };\n\n    _proto.onQuantityBlur = function onQuantityBlur(evt, target) {\n      this.setQuantity(target, function () {\n        return parseInt(target.value, 10);\n      });\n    };\n\n    _proto.onQuantityIncrement = function onQuantityIncrement(qty, evt, target) {\n      this.setQuantity(target, function (prevQty) {\n        return prevQty + qty;\n      });\n    };\n\n    _proto.onCheckout = function onCheckout() {\n      this._userEvent('openCheckout');\n\n      this.props.tracker.track('Open cart checkout', {});\n      this.checkout.open(this.model.webUrl);\n    }\n    /**\n     * set quantity for a line item.\n     * @param {Object} target - DOM node of line item\n     * @param {Function} fn - function to return new quantity given currrent quantity.\n     */\n    ;\n\n    _proto.setQuantity = function setQuantity(target, fn) {\n      var id = target.getAttribute('data-line-item-id');\n      var item = this.model.lineItems.find(function (lineItem) {\n        return lineItem.id === id;\n      });\n      var newQty = fn(item.quantity);\n      return this.props.tracker.trackMethod(this.updateItem.bind(this), 'Update Cart', this.cartItemTrackingInfo(item, newQty))(id, newQty);\n    };\n\n    _proto.setNote = function setNote(evt) {\n      var _this5 = this;\n\n      var note = evt.target.value;\n      return this.props.client.checkout.updateAttributes(this.model.id, {\n        note: note\n      }).then(function (checkout) {\n        _this5.model = checkout;\n        return checkout;\n      });\n    }\n    /**\n     * set cache using line items.\n     * @param {Array} lineItems - array of GraphModel line item objects.\n     */\n    ;\n\n    _proto.updateCache = function updateCache(lineItems) {\n      var cachedLineItems = this.lineItemCache.reduce(function (acc, item) {\n        acc[item.id] = item;\n        return acc;\n      }, {});\n      this.lineItemCache = lineItems.map(function (item) {\n        return Object.assign({}, cachedLineItems[item.id], item);\n      });\n      return this.lineItemCache;\n    }\n    /**\n     * update cached line item.\n     * @param {Number} id - lineItem id.\n     * @param {Number} qty - quantity for line item.\n     */\n    ;\n\n    _proto.updateCacheItem = function updateCacheItem(lineItemId, quantity) {\n      if (this.lineItemCache.length === 0) {\n        return;\n      }\n\n      var lineItem = this.lineItemCache.find(function (item) {\n        return lineItemId === item.id;\n      });\n      lineItem.quantity = quantity;\n      this.view.render();\n    }\n    /**\n     * update line item.\n     * @param {Number} id - lineItem id.\n     * @param {Number} qty - quantity for line item.\n     */\n    ;\n\n    _proto.updateItem = function updateItem(id, quantity) {\n      var _this6 = this;\n\n      this._userEvent('updateItemQuantity');\n\n      var lineItem = {\n        id: id,\n        quantity: quantity\n      };\n      var lineItemEl = this.view.document.getElementById(id);\n\n      if (lineItemEl) {\n        var quantityEl = lineItemEl.getElementsByClassName(this.classes.lineItem.quantity)[0];\n\n        if (quantityEl) {\n          addClassToElement('is-loading', quantityEl);\n        }\n      }\n\n      return this.props.client.checkout.updateLineItems(this.model.id, [lineItem]).then(function (checkout) {\n        _this6.model = checkout;\n\n        _this6.updateCache(_this6.model.lineItems);\n\n        _this6.toggles.forEach(function (toggle) {\n          return toggle.view.render();\n        });\n\n        if (quantity > 0) {\n          _this6.view.render();\n        } else {\n          _this6.view.animateRemoveNode(id);\n        }\n\n        return checkout;\n      });\n    }\n    /**\n     * add variant to cart.\n     * @param {Object} variant - variant object.\n     * @param {Number} [quantity=1] - quantity to be added.\n     */\n    ;\n\n    _proto.addVariantToCart = function addVariantToCart(variant) {\n      var _this7 = this;\n\n      var quantity = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n      var openCart = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n      if (quantity <= 0) {\n        return null;\n      }\n\n      if (openCart) {\n        this.open();\n      }\n\n      var lineItem = {\n        variantId: variant.id,\n        quantity: quantity\n      };\n\n      if (this.model) {\n        return this.props.client.checkout.addLineItems(this.model.id, [lineItem]).then(function (checkout) {\n          _this7.model = checkout;\n\n          _this7.updateCache(_this7.model.lineItems);\n\n          _this7.view.render();\n\n          _this7.toggles.forEach(function (toggle) {\n            return toggle.view.render();\n          });\n\n          if (!openCart) {\n            _this7.setFocus();\n          }\n\n          return checkout;\n        });\n      } else {\n        var input = {\n          lineItems: [lineItem]\n        };\n        return this.props.client.checkout.create(input).then(function (checkout) {\n          localStorage.setItem(_this7.localStorageCheckoutKey, checkout.id);\n          _this7.model = checkout;\n\n          _this7.updateCache(_this7.model.lineItems);\n\n          _this7.view.render();\n\n          _this7.toggles.forEach(function (toggle) {\n            return toggle.view.render();\n          });\n\n          if (!openCart) {\n            _this7.setFocus();\n          }\n\n          return checkout;\n        });\n      }\n    }\n    /**\n     * Remove all lineItems in the cart\n     */\n    ;\n\n    _proto.empty = function empty() {\n      var _this8 = this;\n\n      var lineItemIds = this.model.lineItems ? this.model.lineItems.map(function (item) {\n        return item.id;\n      }) : [];\n      return this.props.client.checkout.removeLineItems(this.model.id, lineItemIds).then(function (checkout) {\n        _this8.model = checkout;\n\n        _this8.view.render();\n\n        _this8.toggles.forEach(function (toggle) {\n          return toggle.view.render();\n        });\n\n        return checkout;\n      });\n    }\n    /**\n     * get info about line item to be sent to tracker\n     * @return {Object}\n     */\n    ;\n\n    _proto.cartItemTrackingInfo = function cartItemTrackingInfo(item, quantity) {\n      return {\n        id: item.variant.id,\n        variantName: item.variant.title,\n        productId: item.variant.product.id,\n        name: item.title,\n        price: item.variant.priceV2.amount,\n        prevQuantity: item.quantity,\n        quantity: parseFloat(quantity),\n        sku: null\n      };\n    };\n\n    _proto.setFocus = function setFocus() {\n      var _this9 = this;\n\n      setTimeout(function () {\n        _this9.view.setFocus();\n      }, 0);\n    };\n\n    _createClass(Cart, [{\n      key: \"typeKey\",\n      get: function get() {\n        return 'cart';\n      }\n      /**\n       * get events to be bound to DOM.\n       * @return {Object}\n       */\n\n    }, {\n      key: \"DOMEvents\",\n      get: function get() {\n        var _merge;\n\n        return merge({}, (_merge = {}, _defineProperty(_merge, \"click \".concat(this.selectors.cart.close), this.props.closeCart.bind(this)), _defineProperty(_merge, \"click \".concat(this.selectors.lineItem.quantityIncrement), this.onQuantityIncrement.bind(this, 1)), _defineProperty(_merge, \"click \".concat(this.selectors.lineItem.quantityDecrement), this.onQuantityIncrement.bind(this, -1)), _defineProperty(_merge, \"click \".concat(this.selectors.cart.button), this.onCheckout.bind(this)), _defineProperty(_merge, \"blur \".concat(this.selectors.lineItem.quantityInput), this.onQuantityBlur.bind(this)), _defineProperty(_merge, \"blur \".concat(this.selectors.cart.note), this.setNote.bind(this)), _merge), this.options.DOMEvents);\n      }\n      /**\n       * get cart line items.\n       * @return {Array} HTML\n       */\n\n    }, {\n      key: \"lineItems\",\n      get: function get() {\n        return this.model ? this.model.lineItems : [];\n      }\n      /**\n       * get HTML for cart line items.\n       * @return {String} HTML\n       */\n\n    }, {\n      key: \"lineItemsHtml\",\n      get: function get() {\n        var _this10 = this;\n\n        return this.lineItemCache.reduce(function (acc, lineItem) {\n          var data = Object.assign({}, lineItem, _this10.options.viewData);\n          var fullPrice = data.variant.priceV2.amount * data.quantity;\n          var formattedPrice = formatMoney(fullPrice, _this10.moneyFormat);\n          var discountAllocations = data.discountAllocations;\n\n          var _discountAllocations$ = discountAllocations.reduce(function (discountAcc, discount) {\n            var targetSelection = discount.discountApplication.targetSelection;\n\n            if (LINE_ITEM_TARGET_SELECTIONS.indexOf(targetSelection) > -1) {\n              var discountAmount = discount.allocatedAmount.amount;\n              var discountDisplayText = discount.discountApplication.title || discount.discountApplication.code;\n              discountAcc.totalDiscount += discountAmount;\n              discountAcc.discounts.push({\n                discount: \"\".concat(discountDisplayText, \" (-\").concat(formatMoney(discountAmount, _this10.moneyFormat), \")\")\n              });\n            }\n\n            return discountAcc;\n          }, {\n            discounts: [],\n            totalDiscount: 0\n          }),\n              discounts = _discountAllocations$.discounts,\n              totalDiscount = _discountAllocations$.totalDiscount;\n\n          data.discounts = discounts.length > 0 ? discounts : null;\n          data.formattedFullPrice = totalDiscount > 0 ? formattedPrice : null;\n          data.formattedActualPrice = formatMoney(fullPrice - totalDiscount, _this10.moneyFormat);\n          data.formattedPrice = formattedPrice;\n          data.classes = _this10.classes;\n          data.text = _this10.config.lineItem.text;\n          data.lineItemImage = _this10.imageForLineItem(data);\n          data.variantTitle = data.variant.title === 'Default Title' ? '' : data.variant.title;\n          return acc + _this10.childTemplate.render({\n            data: data\n          }, function (output) {\n            return \"<li id=\\\"\".concat(lineItem.id, \"\\\" class=\").concat(_this10.classes.lineItem.lineItem, \">\").concat(output, \"</li>\");\n          });\n        }, '');\n      }\n      /**\n       * get data to be passed to view.\n       * @return {Object} viewData object.\n       */\n\n    }, {\n      key: \"viewData\",\n      get: function get() {\n        var modelData = this.model || {};\n        return merge(modelData, this.options.viewData, {\n          text: this.options.text,\n          classes: this.classes,\n          lineItemsHtml: this.lineItemsHtml,\n          isEmpty: this.isEmpty,\n          formattedTotal: this.formattedTotal,\n          discounts: this.cartDiscounts,\n          contents: this.options.contents,\n          cartNote: this.cartNote,\n          cartNoteId: this.cartNoteId\n        });\n      }\n      /**\n       * get formatted cart subtotal based on moneyFormat\n       * @return {String}\n       */\n\n    }, {\n      key: \"formattedTotal\",\n      get: function get() {\n        if (!this.model) {\n          return formatMoney(0, this.moneyFormat);\n        }\n\n        var total = this.options.contents.discounts ? this.model.subtotalPriceV2.amount : this.model.lineItemsSubtotalPrice.amount;\n        return formatMoney(total, this.moneyFormat);\n      }\n    }, {\n      key: \"cartDiscounts\",\n      get: function get() {\n        var _this11 = this;\n\n        if (!this.options.contents.discounts || !this.model) {\n          return [];\n        }\n\n        return this.model.discountApplications.reduce(function (discountArr, discount) {\n          if (discount.targetSelection === CART_TARGET_SELECTION) {\n            var discountValue = 0;\n\n            if (discount.value.amount) {\n              discountValue = discount.value.amount;\n            } else if (discount.value.percentage) {\n              discountValue = discount.value.percentage / 100 * _this11.model.lineItemsSubtotalPrice.amount;\n            }\n\n            if (discountValue > 0) {\n              var discountDisplayText = discount.title || discount.code;\n              discountArr.push({\n                text: discountDisplayText,\n                amount: \"-\".concat(formatMoney(discountValue, _this11.moneyFormat))\n              });\n            }\n          }\n\n          return discountArr;\n        }, []);\n      }\n      /**\n       * whether cart is empty\n       * @return {Boolean}\n       */\n\n    }, {\n      key: \"isEmpty\",\n      get: function get() {\n        if (!this.model) {\n          return true;\n        }\n\n        return this.model.lineItems.length < 1;\n      }\n    }, {\n      key: \"cartNote\",\n      get: function get() {\n        return this.model && this.model.note;\n      }\n    }, {\n      key: \"cartNoteId\",\n      get: function get() {\n        return \"CartNote-\".concat(Date.now());\n      }\n    }, {\n      key: \"wrapperClass\",\n      get: function get() {\n        return this.isVisible ? 'is-active' : '';\n      }\n    }, {\n      key: \"localStorageCheckoutKey\",\n      get: function get() {\n        return \"\".concat(this.props.client.config.storefrontAccessToken, \".\").concat(this.props.client.config.domain, \".checkoutId\");\n      }\n    }]);\n\n    return Cart;\n  }(Component);\n\n  var Tracker =\n  /*#__PURE__*/\n  function () {\n    function Tracker(lib, clientConfig) {\n      this.lib = lib || null;\n      this.clientConfig = clientConfig;\n    }\n\n    var _proto = Tracker.prototype;\n\n    _proto.trackMethod = function trackMethod(fn, event, properties) {\n      var self = this;\n      return function () {\n        var returnValue = fn.apply(void 0, arguments);\n\n        if (returnValue && returnValue.then) {\n          return returnValue.then(function (val) {\n            self.callLib(event, properties);\n            return val;\n          });\n        }\n\n        self.callLib(event, properties);\n        return returnValue;\n      };\n    };\n\n    _proto.callLib = function callLib(eventName, properties) {\n      switch (eventName) {\n        case 'Update Cart':\n          if (properties.quantity < 1) {\n            return this.track('Removed Product', properties);\n          }\n\n          if (properties.prevQuantity && properties.quantity < properties.prevQuantity) {\n            return;\n          }\n\n          return this.track('Added Product', properties);\n\n        default:\n          return this.track(eventName, properties);\n      }\n    };\n\n    _proto.trackPageview = function trackPageview() {\n      if (this.lib && this.lib.page) {\n        this.lib.page();\n      }\n    };\n\n    _proto.trackComponent = function trackComponent(type, properties) {\n      switch (type) {\n        case 'product':\n          return this.track('Viewed Product', properties);\n\n        case 'collection':\n          return this.track('Viewed Product Category', properties);\n      }\n    };\n\n    _proto.track = function track(eventName, properties) {\n      properties.pageurl = document.location.href;\n      properties.referrer = document.referrer;\n      properties.subdomain = this.clientConfig.domain;\n\n      if (this.lib && this.lib.track) {\n        this.lib.track(eventName, properties);\n      }\n    };\n\n    return Tracker;\n  }();\n\n  var hostStyles = \".shopify-buy-modal-is-active {\\n  height: 100%;\\n  overflow: auto;\\n}\\n\\n.shopify-buy-frame {\\n  display: inline-block\\n}\\n\\n.shopify-buy-frame iframe {\\n    width: 100%;\\n    display: block;\\n    height: 0;\\n    overflow: hidden;\\n  }\\n\\n.shopify-buy-frame--cart {\\n  width: 100%;\\n  max-width: 350px;\\n  position: fixed;\\n  top: 0;\\n  right: 0;\\n  height: 100%;\\n  z-index: 2147483647;\\n  transform: translateX(100%);\\n  -webkit-transform: translateX(100%);\\n  visibility: hidden\\n}\\n\\n.shopify-buy-frame--cart iframe {\\n    height: 100%;\\n    display: none\\n  }\\n\\n.shopify-buy-frame--cart iframe.is-block {\\n      display: block;\\n    }\\n\\n.shopify-buy-frame--cart.is-initialized {\\n    -webkit-transition: -webkit-transform 250ms cubic-bezier(0.165, 0.84, 0.44, 1);\\n    transition: -webkit-transform 250ms cubic-bezier(0.165, 0.84, 0.44, 1);\\n    transition: transform 250ms cubic-bezier(0.165, 0.84, 0.44, 1);\\n    transition: transform 250ms cubic-bezier(0.165, 0.84, 0.44, 1), -webkit-transform 250ms cubic-bezier(0.165, 0.84, 0.44, 1);\\n  }\\n\\n.shopify-buy-frame--cart.is-active {\\n    transform: translateX(0);\\n    -webkit-transform: translateX(0);\\n  }\\n\\n.shopify-buy-frame--cart.is-visible {\\n    visibility: visible;\\n  }\\n\\n.shopify-buy-frame--product {\\n  display: block\\n}\\n\\n.shopify-buy-frame--product.shopify-buy__layout-horizontal {\\n    display: block;\\n    margin-left: auto;\\n\\n    margin-right: auto\\n  }\\n\\n.shopify-buy-frame--product.shopify-buy__layout-horizontal iframe {\\n      max-width: 100%\\n    }\\n\\n@media (min-width: 950px) {\\n\\n.shopify-buy-frame--product.shopify-buy__layout-horizontal iframe {\\n        max-width: 950px;\\n        margin-left: auto;\\n        margin-right: auto\\n    }\\n      }\\n\\n.shopify-buy-frame--toggle {\\n  display: inline-block\\n}\\n\\n.shopify-buy-frame--toggle:not(.is-sticky) {\\n    overflow: hidden;\\n    padding: 5px;\\n  }\\n\\n.shopify-buy-frame--toggle.is-sticky {\\n    display: none;\\n    position: fixed;\\n    right: 0;\\n    top: 50%;\\n    transform: translateY(-50%);\\n    -webkit-transform: translateY(-50%);\\n    z-index: 2147483645;\\n  }\\n\\n.shopify-buy-frame--toggle.is-active.is-sticky {\\n    display: block;\\n  }\\n\\n.is-active .shopify-buy-frame--toggle iframe {\\n      min-height: 67px;\\n    }\\n\\n.shopify-buy-frame--productSet {\\n  width: 100%;\\n}\\n\\n.shopify-buy-frame--modal {\\n  position: fixed;\\n  width: 100%;\\n  height: 100%;\\n  top: 0;\\n  left: 0;\\n  z-index: 2147483646;\\n  display: none;\\n  -webkit-transition: background 300ms ease;\\n  transition: background 300ms ease\\n}\\n\\n.shopify-buy-frame--modal iframe {\\n    height: 100%;\\n    width: 100%;\\n    max-width: none;\\n  }\\n\\n.shopify-buy-frame--modal.is-active {\\n    background: rgba(0,0,0,0.6);\\n  }\\n\\n.shopify-buy-frame--modal.is-block {\\n    display: block;\\n  }\\n\";\n\n  var conditionalStyles$1 = \".shopify-buy-frame--cart {\\n  display: none\\n}\\n.shopify-buy-frame--cart.is-active {\\n    display: block;\\n  }\\n\";\n\n  var frameUtils = {};\n  var lastTime = 0;\n  var vendors = ['ms', 'moz', 'webkit', 'o'];\n\n  if (window.requestAnimationFrame && window.cancelAnimationFrame) {\n    frameUtils.requestAnimationFrame = window.requestAnimationFrame;\n    frameUtils.cancelAnimationFrame = window.cancelAnimationFrame;\n  } else {\n    for (var x = 0; x < vendors.length && !frameUtils.requestAnimationFrame; ++x) {\n      frameUtils.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame'];\n      frameUtils.cancelAnimationFrame = window[vendors[x] + 'CancelAnimationFrame'] || window[vendors[x] + 'CancelRequestAnimationFrame'];\n    }\n\n    if (!frameUtils.requestAnimationFrame) frameUtils.requestAnimationFrame = function (callback, element) {\n      var currTime = new Date().getTime();\n      var timeToCall = Math.max(0, 16 - (currTime - lastTime));\n      var id = window.setTimeout(function () {\n        callback(currTime + timeToCall);\n      }, timeToCall);\n      lastTime = currTime + timeToCall;\n      return id;\n    };\n    if (!frameUtils.cancelAnimationFrame) frameUtils.cancelAnimationFrame = function (id) {\n      clearTimeout(id);\n    };\n  }\n\n  function CustomEvent(event, params) {\n    params = params || {\n      bubbles: false,\n      cancelable: false,\n      detail: undefined\n    };\n    var evt = document.createEvent('CustomEvent');\n    evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n    return evt;\n  }\n  CustomEvent.prototype = window.Event.prototype;\n\n  var throttle = function throttle(type, name, obj) {\n    obj = obj || window;\n    var running = false;\n\n    var func = function func() {\n      if (running) {\n        return;\n      }\n\n      running = true;\n      frameUtils.requestAnimationFrame.call(window, function () {\n        obj.dispatchEvent(new CustomEvent(name));\n        running = false;\n      });\n    };\n\n    obj.addEventListener(type, func);\n  };\n\n  var DATA_ATTRIBUTE = 'data-shopify-buy-ui';\n  var ESC_KEY$1 = 27;\n  /** Initializes and coordinates components. */\n\n  var UI =\n  /*#__PURE__*/\n  function () {\n    /**\n     * create a UI instance\n     * @param {Object} client - Instance of ShopifyBuy Client\n     * @param {Object} integrations - optional tracker and logger integrations\n     * @param {String} styleOverrides - additional CSS to be added to _host_ style tag\n     */\n    function UI(client) {\n      var integrations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var styleOverrides = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n      this.client = client;\n      this.config = {};\n      this.config.domain = this.client.config.domain;\n      this.iframeComponents = [];\n      this.components = {\n        product: [],\n        cart: [],\n        collection: [],\n        productSet: [],\n        modal: [],\n        toggle: []\n      };\n      this.componentTypes = {\n        product: Product$1,\n        cart: Cart,\n        collection: ProductSet,\n        productSet: ProductSet,\n        toggle: CartToggle\n      };\n      this.errorReporter = integrations.errorReporter;\n      this.tracker = new Tracker(integrations.tracker, this.config);\n      this.styleOverrides = styleOverrides;\n      this.tracker.trackPageview();\n      this.activeEl = null;\n\n      this._appendStyleTag();\n\n      this._bindResize();\n\n      this._bindHostClick();\n\n      this._bindEsc(window);\n\n      this._bindPostMessage();\n    }\n    /**\n     * create a component of a type.\n     * @param {String} type - one of 'product', 'productSet', 'collection', 'cart'.\n     * @param {Object} config - configuration object\n     * @return {Promise} resolves to instance of newly created component.\n     */\n\n\n    var _proto = UI.prototype;\n\n    _proto.createComponent = function createComponent(type, config) {\n      var _this = this;\n\n      config.node = config.node || this._queryEntryNode();\n      var component = new this.componentTypes[type](config, this.componentProps);\n\n      if (component.iframe) {\n        this._bindEsc(component.iframe.el.contentWindow || component.iframe.el);\n      }\n\n      this.components[type].push(component);\n      return component.init().then(function () {\n        _this.trackComponent(type, component);\n\n        return component;\n      }).catch(function (error) {\n        if (_this.errorReporter) {\n          _this.errorReporter.notifyException(error);\n        } // eslint-disable-next-line\n\n\n        console.error(error);\n      });\n    };\n\n    _proto.trackComponent = function trackComponent(type, component) {\n      var _this2 = this;\n\n      if (type === 'productSet') {\n        component.trackingInfo.forEach(function (product) {\n          _this2.tracker.trackComponent('product', product);\n        });\n      } else {\n        this.tracker.trackComponent(type, component.trackingInfo);\n      }\n    }\n    /**\n     * destroy a component\n     * @param {String} type - one of 'product', 'productSet', 'collection', 'cart'.\n     * @param {Number} id - ID of the component's model.\n     */\n    ;\n\n    _proto.destroyComponent = function destroyComponent(type, id) {\n      var _this3 = this;\n\n      this.components[type].forEach(function (component, index) {\n        if (id && !component.model.id === id) {\n          return;\n        }\n\n        _this3.components[type][index].destroy();\n\n        _this3.components[type].splice(index, 1);\n      });\n    }\n    /**\n     * create a cart object to be shared between components.\n     * @param {Object} config - configuration object.\n     * @return {Promise} a promise which resolves once the cart has been initialized.\n     */\n    ;\n\n    _proto.createCart = function createCart(config) {\n      var _this4 = this;\n\n      if (this.components.cart.length) {\n        if (config.toggles && config.toggles.length > this.components.cart[0].toggles.length) {\n          return this.components.cart[0].createToggles(config).then(function () {\n            return _this4.components.cart[0];\n          });\n        }\n\n        return Promise.resolve(this.components.cart[0]);\n      } else {\n        var cart = new Cart(config, this.componentProps);\n        this.components.cart.push(cart);\n        return cart.init();\n      }\n    }\n    /**\n     * close any cart.\n     */\n    ;\n\n    _proto.closeCart = function closeCart() {\n      var _this5 = this;\n\n      if (!this.components.cart.length) {\n        return;\n      }\n\n      this.components.cart.forEach(function (cart) {\n        if (!cart.isVisible) {\n          return;\n        }\n\n        cart.close();\n\n        _this5.restoreFocus();\n      });\n    }\n    /**\n     * open any cart.\n     */\n    ;\n\n    _proto.openCart = function openCart() {\n      if (this.components.cart.length) {\n        this.components.cart.forEach(function (cart) {\n          cart.open();\n        });\n      }\n    }\n    /**\n     * toggle visibility of cart.\n     * @param {Boolean} [visibility] - desired state of cart.\n     */\n    ;\n\n    _proto.toggleCart = function toggleCart(visibility) {\n      if (this.components.cart.length) {\n        this.components.cart.forEach(function (cart) {\n          cart.toggleVisibility(visibility);\n        });\n      }\n\n      if (!visibility) {\n        this.restoreFocus();\n      }\n    }\n    /**\n     * create a modal object to be shared between components.\n     * @param {Object} config - configuration object.\n     * @return {Modal} a Modal instance.\n     */\n    ;\n\n    _proto.createModal = function createModal(config) {\n      if (this.components.modal.length) {\n        return this.components.modal[0];\n      } else {\n        var modal = new Modal(config, this.componentProps);\n        this.components.modal.push(modal);\n        return modal;\n      }\n    };\n\n    _proto.setActiveEl = function setActiveEl(el) {\n      this.activeEl = el;\n    }\n    /**\n     * close any modals.\n     */\n    ;\n\n    _proto.closeModal = function closeModal() {\n      if (!this.components.modal.length) {\n        return;\n      }\n\n      this.components.modal.forEach(function (modal) {\n        return modal.close();\n      });\n      this.restoreFocus();\n    };\n\n    _proto.restoreFocus = function restoreFocus() {\n      if (this.activeEl && !this.modalOpen && !this.cartOpen) {\n        this.activeEl.focus();\n      }\n    }\n    /**\n     * get properties to be passed to any component.\n     * @return {Object} props object.\n     */\n    ;\n\n    _proto._queryEntryNode = function _queryEntryNode() {\n      this.entry = this.entry || window.document.querySelectorAll(\"script[\".concat(DATA_ATTRIBUTE, \"]\"))[0];\n      var div = document.createElement('div');\n\n      if (this.entry) {\n        var parentNode = this.entry.parentNode;\n\n        if (parentNode.tagName === 'HEAD' || parentNode.tagName === 'HTML') {\n          this._appendToBody(div);\n        } else {\n          this.entry.removeAttribute(DATA_ATTRIBUTE);\n          parentNode.insertBefore(div, this.entry);\n        }\n      } else {\n        this._appendToBody(div);\n      }\n\n      return div;\n    };\n\n    _proto._appendToBody = function _appendToBody(el) {\n      if (!document.body) {\n        document.body = document.createElement('body');\n      }\n\n      document.body.appendChild(el);\n    };\n\n    _proto._appendStyleTag = function _appendStyleTag() {\n      var styleTag = document.createElement('style');\n\n      if (styleTag.styleSheet) {\n        styleTag.styleSheet.cssText = this.styleText;\n      } else {\n        styleTag.appendChild(document.createTextNode(this.styleText));\n      }\n\n      document.head.appendChild(styleTag);\n    };\n\n    _proto._bindHostClick = function _bindHostClick() {\n      var _this6 = this;\n\n      document.addEventListener('click', function (evt) {\n        if (_this6.components.cart.length < 1) {\n          return;\n        }\n\n        var cartNode = _this6.components.cart[0].node;\n\n        if (evt.target === cartNode || cartNode.contains(evt.target)) {\n          return;\n        }\n\n        _this6.closeCart();\n      });\n    };\n\n    _proto._bindResize = function _bindResize() {\n      var _this7 = this;\n\n      throttle('resize', 'safeResize');\n      window.addEventListener('safeResize', function () {\n        _this7.components.collection.forEach(function (collection) {\n          return collection.view.resize();\n        });\n\n        _this7.components.productSet.forEach(function (set) {\n          return set.view.resize();\n        });\n\n        _this7.components.product.forEach(function (product) {\n          return product.view.resize();\n        });\n      });\n    };\n\n    _proto._bindEsc = function _bindEsc(context) {\n      var _this8 = this;\n\n      context.addEventListener('keydown', function (evt) {\n        if (evt.keyCode !== ESC_KEY$1) {\n          return;\n        }\n\n        _this8.closeModal();\n\n        _this8.closeCart();\n      });\n    };\n\n    _proto._bindPostMessage = function _bindPostMessage() {\n      window.addEventListener('message', function (msg) {\n        var data;\n\n        try {\n          data = JSON.parse(msg.data);\n        } catch (err) {\n          data = {};\n        }\n\n        if (data.syncCart || data.current_checkout_page && data.current_checkout_page === '/checkout/thank_you') {\n          location.reload();\n        }\n      });\n    };\n\n    _createClass(UI, [{\n      key: \"modalOpen\",\n      get: function get() {\n        return this.components.modal.reduce(function (isOpen, modal) {\n          return isOpen || modal.isVisible;\n        }, false);\n      }\n    }, {\n      key: \"cartOpen\",\n      get: function get() {\n        return this.components.cart.reduce(function (isOpen, cart) {\n          return isOpen || cart.isVisible;\n        }, false);\n      }\n    }, {\n      key: \"componentProps\",\n      get: function get() {\n        return {\n          client: this.client,\n          createCart: this.createCart.bind(this),\n          closeCart: this.closeCart.bind(this),\n          toggleCart: this.toggleCart.bind(this),\n          createModal: this.createModal.bind(this),\n          closeModal: this.closeModal.bind(this),\n          setActiveEl: this.setActiveEl.bind(this),\n          destroyComponent: this.destroyComponent.bind(this),\n          tracker: this.tracker,\n          errorReporter: this.errorReporter,\n          browserFeatures: browserFeatures\n        };\n      }\n      /**\n       * get string of CSS to be inserted into host style tag.\n       */\n\n    }, {\n      key: \"styleText\",\n      get: function get() {\n        if (browserFeatures.transition && browserFeatures.transform && browserFeatures.animation) {\n          return hostStyles + this.styleOverrides;\n        }\n\n        return hostStyles + conditionalStyles$1 + this.styleOverrides;\n      }\n    }]);\n\n    return UI;\n  }();\n\n  var support = {\n    searchParams: 'URLSearchParams' in self,\n    iterable: 'Symbol' in self && 'iterator' in Symbol,\n    blob:\n      'FileReader' in self &&\n      'Blob' in self &&\n      (function() {\n        try {\n          new Blob();\n          return true\n        } catch (e) {\n          return false\n        }\n      })(),\n    formData: 'FormData' in self,\n    arrayBuffer: 'ArrayBuffer' in self\n  };\n\n  function isDataView(obj) {\n    return obj && DataView.prototype.isPrototypeOf(obj)\n  }\n\n  if (support.arrayBuffer) {\n    var viewClasses = [\n      '[object Int8Array]',\n      '[object Uint8Array]',\n      '[object Uint8ClampedArray]',\n      '[object Int16Array]',\n      '[object Uint16Array]',\n      '[object Int32Array]',\n      '[object Uint32Array]',\n      '[object Float32Array]',\n      '[object Float64Array]'\n    ];\n\n    var isArrayBufferView =\n      ArrayBuffer.isView ||\n      function(obj) {\n        return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n      };\n  }\n\n  function normalizeName(name) {\n    if (typeof name !== 'string') {\n      name = String(name);\n    }\n    if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n      throw new TypeError('Invalid character in header field name')\n    }\n    return name.toLowerCase()\n  }\n\n  function normalizeValue(value) {\n    if (typeof value !== 'string') {\n      value = String(value);\n    }\n    return value\n  }\n\n  // Build a destructive iterator for the value list\n  function iteratorFor(items) {\n    var iterator = {\n      next: function() {\n        var value = items.shift();\n        return {done: value === undefined, value: value}\n      }\n    };\n\n    if (support.iterable) {\n      iterator[Symbol.iterator] = function() {\n        return iterator\n      };\n    }\n\n    return iterator\n  }\n\n  function Headers(headers) {\n    this.map = {};\n\n    if (headers instanceof Headers) {\n      headers.forEach(function(value, name) {\n        this.append(name, value);\n      }, this);\n    } else if (Array.isArray(headers)) {\n      headers.forEach(function(header) {\n        this.append(header[0], header[1]);\n      }, this);\n    } else if (headers) {\n      Object.getOwnPropertyNames(headers).forEach(function(name) {\n        this.append(name, headers[name]);\n      }, this);\n    }\n  }\n\n  Headers.prototype.append = function(name, value) {\n    name = normalizeName(name);\n    value = normalizeValue(value);\n    var oldValue = this.map[name];\n    this.map[name] = oldValue ? oldValue + ', ' + value : value;\n  };\n\n  Headers.prototype['delete'] = function(name) {\n    delete this.map[normalizeName(name)];\n  };\n\n  Headers.prototype.get = function(name) {\n    name = normalizeName(name);\n    return this.has(name) ? this.map[name] : null\n  };\n\n  Headers.prototype.has = function(name) {\n    return this.map.hasOwnProperty(normalizeName(name))\n  };\n\n  Headers.prototype.set = function(name, value) {\n    this.map[normalizeName(name)] = normalizeValue(value);\n  };\n\n  Headers.prototype.forEach = function(callback, thisArg) {\n    for (var name in this.map) {\n      if (this.map.hasOwnProperty(name)) {\n        callback.call(thisArg, this.map[name], name, this);\n      }\n    }\n  };\n\n  Headers.prototype.keys = function() {\n    var items = [];\n    this.forEach(function(value, name) {\n      items.push(name);\n    });\n    return iteratorFor(items)\n  };\n\n  Headers.prototype.values = function() {\n    var items = [];\n    this.forEach(function(value) {\n      items.push(value);\n    });\n    return iteratorFor(items)\n  };\n\n  Headers.prototype.entries = function() {\n    var items = [];\n    this.forEach(function(value, name) {\n      items.push([name, value]);\n    });\n    return iteratorFor(items)\n  };\n\n  if (support.iterable) {\n    Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n  }\n\n  function consumed(body) {\n    if (body.bodyUsed) {\n      return Promise.reject(new TypeError('Already read'))\n    }\n    body.bodyUsed = true;\n  }\n\n  function fileReaderReady(reader) {\n    return new Promise(function(resolve, reject) {\n      reader.onload = function() {\n        resolve(reader.result);\n      };\n      reader.onerror = function() {\n        reject(reader.error);\n      };\n    })\n  }\n\n  function readBlobAsArrayBuffer(blob) {\n    var reader = new FileReader();\n    var promise = fileReaderReady(reader);\n    reader.readAsArrayBuffer(blob);\n    return promise\n  }\n\n  function readBlobAsText(blob) {\n    var reader = new FileReader();\n    var promise = fileReaderReady(reader);\n    reader.readAsText(blob);\n    return promise\n  }\n\n  function readArrayBufferAsText(buf) {\n    var view = new Uint8Array(buf);\n    var chars = new Array(view.length);\n\n    for (var i = 0; i < view.length; i++) {\n      chars[i] = String.fromCharCode(view[i]);\n    }\n    return chars.join('')\n  }\n\n  function bufferClone(buf) {\n    if (buf.slice) {\n      return buf.slice(0)\n    } else {\n      var view = new Uint8Array(buf.byteLength);\n      view.set(new Uint8Array(buf));\n      return view.buffer\n    }\n  }\n\n  function Body() {\n    this.bodyUsed = false;\n\n    this._initBody = function(body) {\n      this._bodyInit = body;\n      if (!body) {\n        this._bodyText = '';\n      } else if (typeof body === 'string') {\n        this._bodyText = body;\n      } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n        this._bodyBlob = body;\n      } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n        this._bodyFormData = body;\n      } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n        this._bodyText = body.toString();\n      } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n        this._bodyArrayBuffer = bufferClone(body.buffer);\n        // IE 10-11 can't handle a DataView body.\n        this._bodyInit = new Blob([this._bodyArrayBuffer]);\n      } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n        this._bodyArrayBuffer = bufferClone(body);\n      } else {\n        this._bodyText = body = Object.prototype.toString.call(body);\n      }\n\n      if (!this.headers.get('content-type')) {\n        if (typeof body === 'string') {\n          this.headers.set('content-type', 'text/plain;charset=UTF-8');\n        } else if (this._bodyBlob && this._bodyBlob.type) {\n          this.headers.set('content-type', this._bodyBlob.type);\n        } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n          this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n        }\n      }\n    };\n\n    if (support.blob) {\n      this.blob = function() {\n        var rejected = consumed(this);\n        if (rejected) {\n          return rejected\n        }\n\n        if (this._bodyBlob) {\n          return Promise.resolve(this._bodyBlob)\n        } else if (this._bodyArrayBuffer) {\n          return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n        } else if (this._bodyFormData) {\n          throw new Error('could not read FormData body as blob')\n        } else {\n          return Promise.resolve(new Blob([this._bodyText]))\n        }\n      };\n\n      this.arrayBuffer = function() {\n        if (this._bodyArrayBuffer) {\n          return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n        } else {\n          return this.blob().then(readBlobAsArrayBuffer)\n        }\n      };\n    }\n\n    this.text = function() {\n      var rejected = consumed(this);\n      if (rejected) {\n        return rejected\n      }\n\n      if (this._bodyBlob) {\n        return readBlobAsText(this._bodyBlob)\n      } else if (this._bodyArrayBuffer) {\n        return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n      } else if (this._bodyFormData) {\n        throw new Error('could not read FormData body as text')\n      } else {\n        return Promise.resolve(this._bodyText)\n      }\n    };\n\n    if (support.formData) {\n      this.formData = function() {\n        return this.text().then(decode$1)\n      };\n    }\n\n    this.json = function() {\n      return this.text().then(JSON.parse)\n    };\n\n    return this\n  }\n\n  // HTTP methods whose capitalization should be normalized\n  var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\n  function normalizeMethod(method) {\n    var upcased = method.toUpperCase();\n    return methods.indexOf(upcased) > -1 ? upcased : method\n  }\n\n  function Request(input, options) {\n    options = options || {};\n    var body = options.body;\n\n    if (input instanceof Request) {\n      if (input.bodyUsed) {\n        throw new TypeError('Already read')\n      }\n      this.url = input.url;\n      this.credentials = input.credentials;\n      if (!options.headers) {\n        this.headers = new Headers(input.headers);\n      }\n      this.method = input.method;\n      this.mode = input.mode;\n      this.signal = input.signal;\n      if (!body && input._bodyInit != null) {\n        body = input._bodyInit;\n        input.bodyUsed = true;\n      }\n    } else {\n      this.url = String(input);\n    }\n\n    this.credentials = options.credentials || this.credentials || 'same-origin';\n    if (options.headers || !this.headers) {\n      this.headers = new Headers(options.headers);\n    }\n    this.method = normalizeMethod(options.method || this.method || 'GET');\n    this.mode = options.mode || this.mode || null;\n    this.signal = options.signal || this.signal;\n    this.referrer = null;\n\n    if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n      throw new TypeError('Body not allowed for GET or HEAD requests')\n    }\n    this._initBody(body);\n  }\n\n  Request.prototype.clone = function() {\n    return new Request(this, {body: this._bodyInit})\n  };\n\n  function decode$1(body) {\n    var form = new FormData();\n    body\n      .trim()\n      .split('&')\n      .forEach(function(bytes) {\n        if (bytes) {\n          var split = bytes.split('=');\n          var name = split.shift().replace(/\\+/g, ' ');\n          var value = split.join('=').replace(/\\+/g, ' ');\n          form.append(decodeURIComponent(name), decodeURIComponent(value));\n        }\n      });\n    return form\n  }\n\n  function parseHeaders(rawHeaders) {\n    var headers = new Headers();\n    // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n    // https://tools.ietf.org/html/rfc7230#section-3.2\n    var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n    preProcessedHeaders.split(/\\r?\\n/).forEach(function(line) {\n      var parts = line.split(':');\n      var key = parts.shift().trim();\n      if (key) {\n        var value = parts.join(':').trim();\n        headers.append(key, value);\n      }\n    });\n    return headers\n  }\n\n  Body.call(Request.prototype);\n\n  function Response(bodyInit, options) {\n    if (!options) {\n      options = {};\n    }\n\n    this.type = 'default';\n    this.status = options.status === undefined ? 200 : options.status;\n    this.ok = this.status >= 200 && this.status < 300;\n    this.statusText = 'statusText' in options ? options.statusText : 'OK';\n    this.headers = new Headers(options.headers);\n    this.url = options.url || '';\n    this._initBody(bodyInit);\n  }\n\n  Body.call(Response.prototype);\n\n  Response.prototype.clone = function() {\n    return new Response(this._bodyInit, {\n      status: this.status,\n      statusText: this.statusText,\n      headers: new Headers(this.headers),\n      url: this.url\n    })\n  };\n\n  Response.error = function() {\n    var response = new Response(null, {status: 0, statusText: ''});\n    response.type = 'error';\n    return response\n  };\n\n  var redirectStatuses = [301, 302, 303, 307, 308];\n\n  Response.redirect = function(url, status) {\n    if (redirectStatuses.indexOf(status) === -1) {\n      throw new RangeError('Invalid status code')\n    }\n\n    return new Response(null, {status: status, headers: {location: url}})\n  };\n\n  var DOMException = self.DOMException;\n  try {\n    new DOMException();\n  } catch (err) {\n    DOMException = function(message, name) {\n      this.message = message;\n      this.name = name;\n      var error = Error(message);\n      this.stack = error.stack;\n    };\n    DOMException.prototype = Object.create(Error.prototype);\n    DOMException.prototype.constructor = DOMException;\n  }\n\n  function fetch$1(input, init) {\n    return new Promise(function(resolve, reject) {\n      var request = new Request(input, init);\n\n      if (request.signal && request.signal.aborted) {\n        return reject(new DOMException('Aborted', 'AbortError'))\n      }\n\n      var xhr = new XMLHttpRequest();\n\n      function abortXhr() {\n        xhr.abort();\n      }\n\n      xhr.onload = function() {\n        var options = {\n          status: xhr.status,\n          statusText: xhr.statusText,\n          headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n        };\n        options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n        var body = 'response' in xhr ? xhr.response : xhr.responseText;\n        resolve(new Response(body, options));\n      };\n\n      xhr.onerror = function() {\n        reject(new TypeError('Network request failed'));\n      };\n\n      xhr.ontimeout = function() {\n        reject(new TypeError('Network request failed'));\n      };\n\n      xhr.onabort = function() {\n        reject(new DOMException('Aborted', 'AbortError'));\n      };\n\n      xhr.open(request.method, request.url, true);\n\n      if (request.credentials === 'include') {\n        xhr.withCredentials = true;\n      } else if (request.credentials === 'omit') {\n        xhr.withCredentials = false;\n      }\n\n      if ('responseType' in xhr && support.blob) {\n        xhr.responseType = 'blob';\n      }\n\n      request.headers.forEach(function(value, name) {\n        xhr.setRequestHeader(name, value);\n      });\n\n      if (request.signal) {\n        request.signal.addEventListener('abort', abortXhr);\n\n        xhr.onreadystatechange = function() {\n          // DONE (success or failure)\n          if (xhr.readyState === 4) {\n            request.signal.removeEventListener('abort', abortXhr);\n          }\n        };\n      }\n\n      xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n    })\n  }\n\n  fetch$1.polyfill = true;\n\n  if (!self.fetch) {\n    self.fetch = fetch$1;\n    self.Headers = Headers;\n    self.Request = Request;\n    self.Response = Response;\n  }\n\n  var O = 'object';\n  var check = function (it) {\n    return it && it.Math == Math && it;\n  };\n\n  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n  var global_1 =\n    // eslint-disable-next-line no-undef\n    check(typeof globalThis == O && globalThis) ||\n    check(typeof window == O && window) ||\n    check(typeof self == O && self) ||\n    check(typeof commonjsGlobal == O && commonjsGlobal) ||\n    // eslint-disable-next-line no-new-func\n    Function('return this')();\n\n  var fails = function (exec) {\n    try {\n      return !!exec();\n    } catch (error) {\n      return true;\n    }\n  };\n\n  // Thank's IE8 for his funny defineProperty\n  var descriptors = !fails(function () {\n    return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n  });\n\n  var isObject$1 = function (it) {\n    return typeof it === 'object' ? it !== null : typeof it === 'function';\n  };\n\n  var document$1 = global_1.document;\n  // typeof document.createElement is 'object' in old IE\n  var EXISTS = isObject$1(document$1) && isObject$1(document$1.createElement);\n\n  var documentCreateElement = function (it) {\n    return EXISTS ? document$1.createElement(it) : {};\n  };\n\n  // Thank's IE8 for his funny defineProperty\n  var ie8DomDefine = !descriptors && !fails(function () {\n    return Object.defineProperty(documentCreateElement('div'), 'a', {\n      get: function () { return 7; }\n    }).a != 7;\n  });\n\n  var anObject = function (it) {\n    if (!isObject$1(it)) {\n      throw TypeError(String(it) + ' is not an object');\n    } return it;\n  };\n\n  // `ToPrimitive` abstract operation\n  // https://tc39.github.io/ecma262/#sec-toprimitive\n  // instead of the ES6 spec version, we didn't implement @@toPrimitive case\n  // and the second argument - flag - preferred type is a string\n  var toPrimitive = function (input, PREFERRED_STRING) {\n    if (!isObject$1(input)) return input;\n    var fn, val;\n    if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$1(val = fn.call(input))) return val;\n    if (typeof (fn = input.valueOf) == 'function' && !isObject$1(val = fn.call(input))) return val;\n    if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject$1(val = fn.call(input))) return val;\n    throw TypeError(\"Can't convert object to primitive value\");\n  };\n\n  var nativeDefineProperty = Object.defineProperty;\n\n  // `Object.defineProperty` method\n  // https://tc39.github.io/ecma262/#sec-object.defineproperty\n  var f = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n    anObject(O);\n    P = toPrimitive(P, true);\n    anObject(Attributes);\n    if (ie8DomDefine) try {\n      return nativeDefineProperty(O, P, Attributes);\n    } catch (error) { /* empty */ }\n    if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n    if ('value' in Attributes) O[P] = Attributes.value;\n    return O;\n  };\n\n  var objectDefineProperty = {\n  \tf: f\n  };\n\n  var createPropertyDescriptor = function (bitmap, value) {\n    return {\n      enumerable: !(bitmap & 1),\n      configurable: !(bitmap & 2),\n      writable: !(bitmap & 4),\n      value: value\n    };\n  };\n\n  var hide = descriptors ? function (object, key, value) {\n    return objectDefineProperty.f(object, key, createPropertyDescriptor(1, value));\n  } : function (object, key, value) {\n    object[key] = value;\n    return object;\n  };\n\n  var setGlobal = function (key, value) {\n    try {\n      hide(global_1, key, value);\n    } catch (error) {\n      global_1[key] = value;\n    } return value;\n  };\n\n  var isPure = false;\n\n  var shared = createCommonjsModule(function (module) {\n  var SHARED = '__core-js_shared__';\n  var store = global_1[SHARED] || setGlobal(SHARED, {});\n\n  (module.exports = function (key, value) {\n    return store[key] || (store[key] = value !== undefined ? value : {});\n  })('versions', []).push({\n    version: '3.1.3',\n    mode:  'global',\n    copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n  });\n  });\n\n  var hasOwnProperty = {}.hasOwnProperty;\n\n  var has = function (it, key) {\n    return hasOwnProperty.call(it, key);\n  };\n\n  var functionToString = shared('native-function-to-string', Function.toString);\n\n  var WeakMap = global_1.WeakMap;\n\n  var nativeWeakMap = typeof WeakMap === 'function' && /native code/.test(functionToString.call(WeakMap));\n\n  var id = 0;\n  var postfix = Math.random();\n\n  var uid = function (key) {\n    return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n  };\n\n  var keys = shared('keys');\n\n  var sharedKey = function (key) {\n    return keys[key] || (keys[key] = uid(key));\n  };\n\n  var hiddenKeys = {};\n\n  var WeakMap$1 = global_1.WeakMap;\n  var set, get, has$1;\n\n  var enforce = function (it) {\n    return has$1(it) ? get(it) : set(it, {});\n  };\n\n  var getterFor = function (TYPE) {\n    return function (it) {\n      var state;\n      if (!isObject$1(it) || (state = get(it)).type !== TYPE) {\n        throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n      } return state;\n    };\n  };\n\n  if (nativeWeakMap) {\n    var store = new WeakMap$1();\n    var wmget = store.get;\n    var wmhas = store.has;\n    var wmset = store.set;\n    set = function (it, metadata) {\n      wmset.call(store, it, metadata);\n      return metadata;\n    };\n    get = function (it) {\n      return wmget.call(store, it) || {};\n    };\n    has$1 = function (it) {\n      return wmhas.call(store, it);\n    };\n  } else {\n    var STATE = sharedKey('state');\n    hiddenKeys[STATE] = true;\n    set = function (it, metadata) {\n      hide(it, STATE, metadata);\n      return metadata;\n    };\n    get = function (it) {\n      return has(it, STATE) ? it[STATE] : {};\n    };\n    has$1 = function (it) {\n      return has(it, STATE);\n    };\n  }\n\n  var internalState = {\n    set: set,\n    get: get,\n    has: has$1,\n    enforce: enforce,\n    getterFor: getterFor\n  };\n\n  var redefine = createCommonjsModule(function (module) {\n  var getInternalState = internalState.get;\n  var enforceInternalState = internalState.enforce;\n  var TEMPLATE = String(functionToString).split('toString');\n\n  shared('inspectSource', function (it) {\n    return functionToString.call(it);\n  });\n\n  (module.exports = function (O, key, value, options) {\n    var unsafe = options ? !!options.unsafe : false;\n    var simple = options ? !!options.enumerable : false;\n    var noTargetGet = options ? !!options.noTargetGet : false;\n    if (typeof value == 'function') {\n      if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key);\n      enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');\n    }\n    if (O === global_1) {\n      if (simple) O[key] = value;\n      else setGlobal(key, value);\n      return;\n    } else if (!unsafe) {\n      delete O[key];\n    } else if (!noTargetGet && O[key]) {\n      simple = true;\n    }\n    if (simple) O[key] = value;\n    else hide(O, key, value);\n  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n  })(Function.prototype, 'toString', function toString() {\n    return typeof this == 'function' && getInternalState(this).source || functionToString.call(this);\n  });\n  });\n\n  var toString = {}.toString;\n\n  var classofRaw = function (it) {\n    return toString.call(it).slice(8, -1);\n  };\n\n  var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {\n    // Chrome 38 Symbol has incorrect toString conversion\n    // eslint-disable-next-line no-undef\n    return !String(Symbol());\n  });\n\n  var Symbol$1 = global_1.Symbol;\n  var store$1 = shared('wks');\n\n  var wellKnownSymbol = function (name) {\n    return store$1[name] || (store$1[name] = nativeSymbol && Symbol$1[name]\n      || (nativeSymbol ? Symbol$1 : uid)('Symbol.' + name));\n  };\n\n  var TO_STRING_TAG = wellKnownSymbol('toStringTag');\n  // ES3 wrong here\n  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n  // fallback for IE11 Script Access Denied error\n  var tryGet = function (it, key) {\n    try {\n      return it[key];\n    } catch (error) { /* empty */ }\n  };\n\n  // getting tag from ES6+ `Object.prototype.toString`\n  var classof = function (it) {\n    var O, tag, result;\n    return it === undefined ? 'Undefined' : it === null ? 'Null'\n      // @@toStringTag case\n      : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n      // builtinTag case\n      : CORRECT_ARGUMENTS ? classofRaw(O)\n      // ES3 arguments fallback\n      : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n  };\n\n  var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');\n  var test = {};\n\n  test[TO_STRING_TAG$1] = 'z';\n\n  // `Object.prototype.toString` method implementation\n  // https://tc39.github.io/ecma262/#sec-object.prototype.tostring\n  var objectToString = String(test) !== '[object z]' ? function toString() {\n    return '[object ' + classof(this) + ']';\n  } : test.toString;\n\n  var ObjectPrototype = Object.prototype;\n\n  // `Object.prototype.toString` method\n  // https://tc39.github.io/ecma262/#sec-object.prototype.tostring\n  if (objectToString !== ObjectPrototype.toString) {\n    redefine(ObjectPrototype, 'toString', objectToString, { unsafe: true });\n  }\n\n  var ceil = Math.ceil;\n  var floor = Math.floor;\n\n  // `ToInteger` abstract operation\n  // https://tc39.github.io/ecma262/#sec-tointeger\n  var toInteger = function (argument) {\n    return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n  };\n\n  // `RequireObjectCoercible` abstract operation\n  // https://tc39.github.io/ecma262/#sec-requireobjectcoercible\n  var requireObjectCoercible = function (it) {\n    if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n    return it;\n  };\n\n  // `String.prototype.{ codePointAt, at }` methods implementation\n  var createMethod = function (CONVERT_TO_STRING) {\n    return function ($this, pos) {\n      var S = String(requireObjectCoercible($this));\n      var position = toInteger(pos);\n      var size = S.length;\n      var first, second;\n      if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n      first = S.charCodeAt(position);\n      return first < 0xD800 || first > 0xDBFF || position + 1 === size\n        || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n          ? CONVERT_TO_STRING ? S.charAt(position) : first\n          : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n    };\n  };\n\n  var stringMultibyte = {\n    // `String.prototype.codePointAt` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat\n    codeAt: createMethod(false),\n    // `String.prototype.at` method\n    // https://github.com/mathiasbynens/String.prototype.at\n    charAt: createMethod(true)\n  };\n\n  var nativePropertyIsEnumerable = {}.propertyIsEnumerable;\n  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n  // Nashorn ~ JDK8 bug\n  var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n  // `Object.prototype.propertyIsEnumerable` method implementation\n  // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable\n  var f$1 = NASHORN_BUG ? function propertyIsEnumerable(V) {\n    var descriptor = getOwnPropertyDescriptor(this, V);\n    return !!descriptor && descriptor.enumerable;\n  } : nativePropertyIsEnumerable;\n\n  var objectPropertyIsEnumerable = {\n  \tf: f$1\n  };\n\n  var split = ''.split;\n\n  // fallback for non-array-like ES3 and non-enumerable old V8 strings\n  var indexedObject = fails(function () {\n    // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n    // eslint-disable-next-line no-prototype-builtins\n    return !Object('z').propertyIsEnumerable(0);\n  }) ? function (it) {\n    return classofRaw(it) == 'String' ? split.call(it, '') : Object(it);\n  } : Object;\n\n  // toObject with fallback for non-array-like ES3 strings\n\n\n\n  var toIndexedObject = function (it) {\n    return indexedObject(requireObjectCoercible(it));\n  };\n\n  var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n  // `Object.getOwnPropertyDescriptor` method\n  // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\n  var f$2 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n    O = toIndexedObject(O);\n    P = toPrimitive(P, true);\n    if (ie8DomDefine) try {\n      return nativeGetOwnPropertyDescriptor(O, P);\n    } catch (error) { /* empty */ }\n    if (has(O, P)) return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(O, P), O[P]);\n  };\n\n  var objectGetOwnPropertyDescriptor = {\n  \tf: f$2\n  };\n\n  var path = global_1;\n\n  var aFunction = function (variable) {\n    return typeof variable == 'function' ? variable : undefined;\n  };\n\n  var getBuiltIn = function (namespace, method) {\n    return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global_1[namespace])\n      : path[namespace] && path[namespace][method] || global_1[namespace] && global_1[namespace][method];\n  };\n\n  var min = Math.min;\n\n  // `ToLength` abstract operation\n  // https://tc39.github.io/ecma262/#sec-tolength\n  var toLength = function (argument) {\n    return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n  };\n\n  var max = Math.max;\n  var min$1 = Math.min;\n\n  // Helper for a popular repeating case of the spec:\n  // Let integer be ? ToInteger(index).\n  // If integer < 0, let result be max((length + integer), 0); else let result be min(length, length).\n  var toAbsoluteIndex = function (index, length) {\n    var integer = toInteger(index);\n    return integer < 0 ? max(integer + length, 0) : min$1(integer, length);\n  };\n\n  // `Array.prototype.{ indexOf, includes }` methods implementation\n  var createMethod$1 = function (IS_INCLUDES) {\n    return function ($this, el, fromIndex) {\n      var O = toIndexedObject($this);\n      var length = toLength(O.length);\n      var index = toAbsoluteIndex(fromIndex, length);\n      var value;\n      // Array#includes uses SameValueZero equality algorithm\n      // eslint-disable-next-line no-self-compare\n      if (IS_INCLUDES && el != el) while (length > index) {\n        value = O[index++];\n        // eslint-disable-next-line no-self-compare\n        if (value != value) return true;\n      // Array#indexOf ignores holes, Array#includes - not\n      } else for (;length > index; index++) {\n        if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n      } return !IS_INCLUDES && -1;\n    };\n  };\n\n  var arrayIncludes = {\n    // `Array.prototype.includes` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.includes\n    includes: createMethod$1(true),\n    // `Array.prototype.indexOf` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n    indexOf: createMethod$1(false)\n  };\n\n  var indexOf = arrayIncludes.indexOf;\n\n\n  var objectKeysInternal = function (object, names) {\n    var O = toIndexedObject(object);\n    var i = 0;\n    var result = [];\n    var key;\n    for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n    // Don't enum bug & hidden keys\n    while (names.length > i) if (has(O, key = names[i++])) {\n      ~indexOf(result, key) || result.push(key);\n    }\n    return result;\n  };\n\n  // IE8- don't enum bug keys\n  var enumBugKeys = [\n    'constructor',\n    'hasOwnProperty',\n    'isPrototypeOf',\n    'propertyIsEnumerable',\n    'toLocaleString',\n    'toString',\n    'valueOf'\n  ];\n\n  var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');\n\n  // `Object.getOwnPropertyNames` method\n  // https://tc39.github.io/ecma262/#sec-object.getownpropertynames\n  var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n    return objectKeysInternal(O, hiddenKeys$1);\n  };\n\n  var objectGetOwnPropertyNames = {\n  \tf: f$3\n  };\n\n  var f$4 = Object.getOwnPropertySymbols;\n\n  var objectGetOwnPropertySymbols = {\n  \tf: f$4\n  };\n\n  // all object keys, includes non-enumerable and symbols\n  var ownKeys = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n    var keys = objectGetOwnPropertyNames.f(anObject(it));\n    var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;\n    return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n  };\n\n  var copyConstructorProperties = function (target, source) {\n    var keys = ownKeys(source);\n    var defineProperty = objectDefineProperty.f;\n    var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n    }\n  };\n\n  var replacement = /#|\\.prototype\\./;\n\n  var isForced = function (feature, detection) {\n    var value = data[normalize(feature)];\n    return value == POLYFILL ? true\n      : value == NATIVE ? false\n      : typeof detection == 'function' ? fails(detection)\n      : !!detection;\n  };\n\n  var normalize = isForced.normalize = function (string) {\n    return String(string).replace(replacement, '.').toLowerCase();\n  };\n\n  var data = isForced.data = {};\n  var NATIVE = isForced.NATIVE = 'N';\n  var POLYFILL = isForced.POLYFILL = 'P';\n\n  var isForced_1 = isForced;\n\n  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;\n\n\n\n\n\n\n  /*\n    options.target      - name of the target object\n    options.global      - target is the global object\n    options.stat        - export as static methods of target\n    options.proto       - export as prototype methods of target\n    options.real        - real prototype method for the `pure` version\n    options.forced      - export even if the native feature is available\n    options.bind        - bind methods to the target, required for the `pure` version\n    options.wrap        - wrap constructors to preventing global pollution, required for the `pure` version\n    options.unsafe      - use the simple assignment of property instead of delete + defineProperty\n    options.sham        - add a flag to not completely full polyfills\n    options.enumerable  - export as enumerable property\n    options.noTargetGet - prevent calling a getter on target\n  */\n  var _export = function (options, source) {\n    var TARGET = options.target;\n    var GLOBAL = options.global;\n    var STATIC = options.stat;\n    var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n    if (GLOBAL) {\n      target = global_1;\n    } else if (STATIC) {\n      target = global_1[TARGET] || setGlobal(TARGET, {});\n    } else {\n      target = (global_1[TARGET] || {}).prototype;\n    }\n    if (target) for (key in source) {\n      sourceProperty = source[key];\n      if (options.noTargetGet) {\n        descriptor = getOwnPropertyDescriptor$1(target, key);\n        targetProperty = descriptor && descriptor.value;\n      } else targetProperty = target[key];\n      FORCED = isForced_1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n      // contained in target\n      if (!FORCED && targetProperty !== undefined) {\n        if (typeof sourceProperty === typeof targetProperty) continue;\n        copyConstructorProperties(sourceProperty, targetProperty);\n      }\n      // add a flag to not completely full polyfills\n      if (options.sham || (targetProperty && targetProperty.sham)) {\n        hide(sourceProperty, 'sham', true);\n      }\n      // extend global\n      redefine(target, key, sourceProperty, options);\n    }\n  };\n\n  // `ToObject` abstract operation\n  // https://tc39.github.io/ecma262/#sec-toobject\n  var toObject = function (argument) {\n    return Object(requireObjectCoercible(argument));\n  };\n\n  var correctPrototypeGetter = !fails(function () {\n    function F() { /* empty */ }\n    F.prototype.constructor = null;\n    return Object.getPrototypeOf(new F()) !== F.prototype;\n  });\n\n  var IE_PROTO = sharedKey('IE_PROTO');\n  var ObjectPrototype$1 = Object.prototype;\n\n  // `Object.getPrototypeOf` method\n  // https://tc39.github.io/ecma262/#sec-object.getprototypeof\n  var objectGetPrototypeOf = correctPrototypeGetter ? Object.getPrototypeOf : function (O) {\n    O = toObject(O);\n    if (has(O, IE_PROTO)) return O[IE_PROTO];\n    if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n      return O.constructor.prototype;\n    } return O instanceof Object ? ObjectPrototype$1 : null;\n  };\n\n  var ITERATOR = wellKnownSymbol('iterator');\n  var BUGGY_SAFARI_ITERATORS = false;\n\n  var returnThis = function () { return this; };\n\n  // `%IteratorPrototype%` object\n  // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object\n  var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n  if ([].keys) {\n    arrayIterator = [].keys();\n    // Safari 8 has buggy iterators w/o `next`\n    if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n    else {\n      PrototypeOfArrayIteratorPrototype = objectGetPrototypeOf(objectGetPrototypeOf(arrayIterator));\n      if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n    }\n  }\n\n  if (IteratorPrototype == undefined) IteratorPrototype = {};\n\n  // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n  if ( !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);\n\n  var iteratorsCore = {\n    IteratorPrototype: IteratorPrototype,\n    BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n  };\n\n  // `Object.keys` method\n  // https://tc39.github.io/ecma262/#sec-object.keys\n  var objectKeys = Object.keys || function keys(O) {\n    return objectKeysInternal(O, enumBugKeys);\n  };\n\n  // `Object.defineProperties` method\n  // https://tc39.github.io/ecma262/#sec-object.defineproperties\n  var objectDefineProperties = descriptors ? Object.defineProperties : function defineProperties(O, Properties) {\n    anObject(O);\n    var keys = objectKeys(Properties);\n    var length = keys.length;\n    var index = 0;\n    var key;\n    while (length > index) objectDefineProperty.f(O, key = keys[index++], Properties[key]);\n    return O;\n  };\n\n  var html = getBuiltIn('document', 'documentElement');\n\n  var IE_PROTO$1 = sharedKey('IE_PROTO');\n\n  var PROTOTYPE = 'prototype';\n  var Empty = function () { /* empty */ };\n\n  // Create object with fake `null` prototype: use iframe Object with cleared prototype\n  var createDict = function () {\n    // Thrash, waste and sodomy: IE GC bug\n    var iframe = documentCreateElement('iframe');\n    var length = enumBugKeys.length;\n    var lt = '<';\n    var script = 'script';\n    var gt = '>';\n    var js = 'java' + script + ':';\n    var iframeDocument;\n    iframe.style.display = 'none';\n    html.appendChild(iframe);\n    iframe.src = String(js);\n    iframeDocument = iframe.contentWindow.document;\n    iframeDocument.open();\n    iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt);\n    iframeDocument.close();\n    createDict = iframeDocument.F;\n    while (length--) delete createDict[PROTOTYPE][enumBugKeys[length]];\n    return createDict();\n  };\n\n  // `Object.create` method\n  // https://tc39.github.io/ecma262/#sec-object.create\n  var objectCreate = Object.create || function create(O, Properties) {\n    var result;\n    if (O !== null) {\n      Empty[PROTOTYPE] = anObject(O);\n      result = new Empty();\n      Empty[PROTOTYPE] = null;\n      // add \"__proto__\" for Object.getPrototypeOf polyfill\n      result[IE_PROTO$1] = O;\n    } else result = createDict();\n    return Properties === undefined ? result : objectDefineProperties(result, Properties);\n  };\n\n  hiddenKeys[IE_PROTO$1] = true;\n\n  var defineProperty = objectDefineProperty.f;\n\n\n\n  var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');\n\n  var setToStringTag = function (it, TAG, STATIC) {\n    if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG$2)) {\n      defineProperty(it, TO_STRING_TAG$2, { configurable: true, value: TAG });\n    }\n  };\n\n  var iterators = {};\n\n  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;\n\n\n\n\n\n  var returnThis$1 = function () { return this; };\n\n  var createIteratorConstructor = function (IteratorConstructor, NAME, next) {\n    var TO_STRING_TAG = NAME + ' Iterator';\n    IteratorConstructor.prototype = objectCreate(IteratorPrototype$1, { next: createPropertyDescriptor(1, next) });\n    setToStringTag(IteratorConstructor, TO_STRING_TAG, false);\n    iterators[TO_STRING_TAG] = returnThis$1;\n    return IteratorConstructor;\n  };\n\n  var aPossiblePrototype = function (it) {\n    if (!isObject$1(it) && it !== null) {\n      throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n    } return it;\n  };\n\n  // `Object.setPrototypeOf` method\n  // https://tc39.github.io/ecma262/#sec-object.setprototypeof\n  // Works with __proto__ only. Old v8 can't work with null proto objects.\n  /* eslint-disable no-proto */\n  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n    var CORRECT_SETTER = false;\n    var test = {};\n    var setter;\n    try {\n      setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n      setter.call(test, []);\n      CORRECT_SETTER = test instanceof Array;\n    } catch (error) { /* empty */ }\n    return function setPrototypeOf(O, proto) {\n      anObject(O);\n      aPossiblePrototype(proto);\n      if (CORRECT_SETTER) setter.call(O, proto);\n      else O.__proto__ = proto;\n      return O;\n    };\n  }() : undefined);\n\n  var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;\n  var BUGGY_SAFARI_ITERATORS$1 = iteratorsCore.BUGGY_SAFARI_ITERATORS;\n  var ITERATOR$1 = wellKnownSymbol('iterator');\n  var KEYS = 'keys';\n  var VALUES = 'values';\n  var ENTRIES = 'entries';\n\n  var returnThis$2 = function () { return this; };\n\n  var defineIterator = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n    createIteratorConstructor(IteratorConstructor, NAME, next);\n\n    var getIterationMethod = function (KIND) {\n      if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n      if (!BUGGY_SAFARI_ITERATORS$1 && KIND in IterablePrototype) return IterablePrototype[KIND];\n      switch (KIND) {\n        case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n        case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n        case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n      } return function () { return new IteratorConstructor(this); };\n    };\n\n    var TO_STRING_TAG = NAME + ' Iterator';\n    var INCORRECT_VALUES_NAME = false;\n    var IterablePrototype = Iterable.prototype;\n    var nativeIterator = IterablePrototype[ITERATOR$1]\n      || IterablePrototype['@@iterator']\n      || DEFAULT && IterablePrototype[DEFAULT];\n    var defaultIterator = !BUGGY_SAFARI_ITERATORS$1 && nativeIterator || getIterationMethod(DEFAULT);\n    var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n    var CurrentIteratorPrototype, methods, KEY;\n\n    // fix native\n    if (anyNativeIterator) {\n      CurrentIteratorPrototype = objectGetPrototypeOf(anyNativeIterator.call(new Iterable()));\n      if (IteratorPrototype$2 !== Object.prototype && CurrentIteratorPrototype.next) {\n        if ( objectGetPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype$2) {\n          if (objectSetPrototypeOf) {\n            objectSetPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$2);\n          } else if (typeof CurrentIteratorPrototype[ITERATOR$1] != 'function') {\n            hide(CurrentIteratorPrototype, ITERATOR$1, returnThis$2);\n          }\n        }\n        // Set @@toStringTag to native iterators\n        setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);\n      }\n    }\n\n    // fix Array#{values, @@iterator}.name in V8 / FF\n    if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n      INCORRECT_VALUES_NAME = true;\n      defaultIterator = function values() { return nativeIterator.call(this); };\n    }\n\n    // define iterator\n    if ( IterablePrototype[ITERATOR$1] !== defaultIterator) {\n      hide(IterablePrototype, ITERATOR$1, defaultIterator);\n    }\n    iterators[NAME] = defaultIterator;\n\n    // export additional methods\n    if (DEFAULT) {\n      methods = {\n        values: getIterationMethod(VALUES),\n        keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n        entries: getIterationMethod(ENTRIES)\n      };\n      if (FORCED) for (KEY in methods) {\n        if (BUGGY_SAFARI_ITERATORS$1 || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n          redefine(IterablePrototype, KEY, methods[KEY]);\n        }\n      } else _export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS$1 || INCORRECT_VALUES_NAME }, methods);\n    }\n\n    return methods;\n  };\n\n  var charAt = stringMultibyte.charAt;\n\n\n\n  var STRING_ITERATOR = 'String Iterator';\n  var setInternalState = internalState.set;\n  var getInternalState = internalState.getterFor(STRING_ITERATOR);\n\n  // `String.prototype[@@iterator]` method\n  // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator\n  defineIterator(String, 'String', function (iterated) {\n    setInternalState(this, {\n      type: STRING_ITERATOR,\n      string: String(iterated),\n      index: 0\n    });\n  // `%StringIteratorPrototype%.next` method\n  // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next\n  }, function next() {\n    var state = getInternalState(this);\n    var string = state.string;\n    var index = state.index;\n    var point;\n    if (index >= string.length) return { value: undefined, done: true };\n    point = charAt(string, index);\n    state.index += point.length;\n    return { value: point, done: false };\n  });\n\n  // iterable DOM collections\n  // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\n  var domIterables = {\n    CSSRuleList: 0,\n    CSSStyleDeclaration: 0,\n    CSSValueList: 0,\n    ClientRectList: 0,\n    DOMRectList: 0,\n    DOMStringList: 0,\n    DOMTokenList: 1,\n    DataTransferItemList: 0,\n    FileList: 0,\n    HTMLAllCollection: 0,\n    HTMLCollection: 0,\n    HTMLFormElement: 0,\n    HTMLSelectElement: 0,\n    MediaList: 0,\n    MimeTypeArray: 0,\n    NamedNodeMap: 0,\n    NodeList: 1,\n    PaintRequestList: 0,\n    Plugin: 0,\n    PluginArray: 0,\n    SVGLengthList: 0,\n    SVGNumberList: 0,\n    SVGPathSegList: 0,\n    SVGPointList: 0,\n    SVGStringList: 0,\n    SVGTransformList: 0,\n    SourceBufferList: 0,\n    StyleSheetList: 0,\n    TextTrackCueList: 0,\n    TextTrackList: 0,\n    TouchList: 0\n  };\n\n  var UNSCOPABLES = wellKnownSymbol('unscopables');\n  var ArrayPrototype = Array.prototype;\n\n  // Array.prototype[@@unscopables]\n  // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n  if (ArrayPrototype[UNSCOPABLES] == undefined) {\n    hide(ArrayPrototype, UNSCOPABLES, objectCreate(null));\n  }\n\n  // add a key to Array.prototype[@@unscopables]\n  var addToUnscopables = function (key) {\n    ArrayPrototype[UNSCOPABLES][key] = true;\n  };\n\n  var ARRAY_ITERATOR = 'Array Iterator';\n  var setInternalState$1 = internalState.set;\n  var getInternalState$1 = internalState.getterFor(ARRAY_ITERATOR);\n\n  // `Array.prototype.entries` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.entries\n  // `Array.prototype.keys` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.keys\n  // `Array.prototype.values` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.values\n  // `Array.prototype[@@iterator]` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator\n  // `CreateArrayIterator` internal method\n  // https://tc39.github.io/ecma262/#sec-createarrayiterator\n  var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {\n    setInternalState$1(this, {\n      type: ARRAY_ITERATOR,\n      target: toIndexedObject(iterated), // target\n      index: 0,                          // next index\n      kind: kind                         // kind\n    });\n  // `%ArrayIteratorPrototype%.next` method\n  // https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next\n  }, function () {\n    var state = getInternalState$1(this);\n    var target = state.target;\n    var kind = state.kind;\n    var index = state.index++;\n    if (!target || index >= target.length) {\n      state.target = undefined;\n      return { value: undefined, done: true };\n    }\n    if (kind == 'keys') return { value: index, done: false };\n    if (kind == 'values') return { value: target[index], done: false };\n    return { value: [index, target[index]], done: false };\n  }, 'values');\n\n  // argumentsList[@@iterator] is %ArrayProto_values%\n  // https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject\n  // https://tc39.github.io/ecma262/#sec-createmappedargumentsobject\n  iterators.Arguments = iterators.Array;\n\n  // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n  addToUnscopables('keys');\n  addToUnscopables('values');\n  addToUnscopables('entries');\n\n  var ITERATOR$2 = wellKnownSymbol('iterator');\n  var TO_STRING_TAG$3 = wellKnownSymbol('toStringTag');\n  var ArrayValues = es_array_iterator.values;\n\n  for (var COLLECTION_NAME in domIterables) {\n    var Collection$1 = global_1[COLLECTION_NAME];\n    var CollectionPrototype = Collection$1 && Collection$1.prototype;\n    if (CollectionPrototype) {\n      // some Chrome versions have non-configurable methods on DOMTokenList\n      if (CollectionPrototype[ITERATOR$2] !== ArrayValues) try {\n        hide(CollectionPrototype, ITERATOR$2, ArrayValues);\n      } catch (error) {\n        CollectionPrototype[ITERATOR$2] = ArrayValues;\n      }\n      if (!CollectionPrototype[TO_STRING_TAG$3]) hide(CollectionPrototype, TO_STRING_TAG$3, COLLECTION_NAME);\n      if (domIterables[COLLECTION_NAME]) for (var METHOD_NAME in es_array_iterator) {\n        // some Chrome versions have non-configurable methods on DOMTokenList\n        if (CollectionPrototype[METHOD_NAME] !== es_array_iterator[METHOD_NAME]) try {\n          hide(CollectionPrototype, METHOD_NAME, es_array_iterator[METHOD_NAME]);\n        } catch (error) {\n          CollectionPrototype[METHOD_NAME] = es_array_iterator[METHOD_NAME];\n        }\n      }\n    }\n  }\n\n  var redefineAll = function (target, src, options) {\n    for (var key in src) redefine(target, key, src[key], options);\n    return target;\n  };\n\n  var SPECIES = wellKnownSymbol('species');\n\n  var setSpecies = function (CONSTRUCTOR_NAME) {\n    var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n    var defineProperty = objectDefineProperty.f;\n\n    if (descriptors && Constructor && !Constructor[SPECIES]) {\n      defineProperty(Constructor, SPECIES, {\n        configurable: true,\n        get: function () { return this; }\n      });\n    }\n  };\n\n  var aFunction$1 = function (it) {\n    if (typeof it != 'function') {\n      throw TypeError(String(it) + ' is not a function');\n    } return it;\n  };\n\n  var anInstance = function (it, Constructor, name) {\n    if (!(it instanceof Constructor)) {\n      throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n    } return it;\n  };\n\n  var ITERATOR$3 = wellKnownSymbol('iterator');\n  var ArrayPrototype$1 = Array.prototype;\n\n  // check on default Array iterator\n  var isArrayIteratorMethod = function (it) {\n    return it !== undefined && (iterators.Array === it || ArrayPrototype$1[ITERATOR$3] === it);\n  };\n\n  // optional / simple context binding\n  var bindContext = function (fn, that, length) {\n    aFunction$1(fn);\n    if (that === undefined) return fn;\n    switch (length) {\n      case 0: return function () {\n        return fn.call(that);\n      };\n      case 1: return function (a) {\n        return fn.call(that, a);\n      };\n      case 2: return function (a, b) {\n        return fn.call(that, a, b);\n      };\n      case 3: return function (a, b, c) {\n        return fn.call(that, a, b, c);\n      };\n    }\n    return function (/* ...args */) {\n      return fn.apply(that, arguments);\n    };\n  };\n\n  var ITERATOR$4 = wellKnownSymbol('iterator');\n\n  var getIteratorMethod = function (it) {\n    if (it != undefined) return it[ITERATOR$4]\n      || it['@@iterator']\n      || iterators[classof(it)];\n  };\n\n  // call something on iterator step with safe closing on error\n  var callWithSafeIterationClosing = function (iterator, fn, value, ENTRIES) {\n    try {\n      return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n    // 7.4.6 IteratorClose(iterator, completion)\n    } catch (error) {\n      var returnMethod = iterator['return'];\n      if (returnMethod !== undefined) anObject(returnMethod.call(iterator));\n      throw error;\n    }\n  };\n\n  var iterate_1 = createCommonjsModule(function (module) {\n  var Result = function (stopped, result) {\n    this.stopped = stopped;\n    this.result = result;\n  };\n\n  var iterate = module.exports = function (iterable, fn, that, AS_ENTRIES, IS_ITERATOR) {\n    var boundFunction = bindContext(fn, that, AS_ENTRIES ? 2 : 1);\n    var iterator, iterFn, index, length, result, step;\n\n    if (IS_ITERATOR) {\n      iterator = iterable;\n    } else {\n      iterFn = getIteratorMethod(iterable);\n      if (typeof iterFn != 'function') throw TypeError('Target is not iterable');\n      // optimisation for array iterators\n      if (isArrayIteratorMethod(iterFn)) {\n        for (index = 0, length = toLength(iterable.length); length > index; index++) {\n          result = AS_ENTRIES\n            ? boundFunction(anObject(step = iterable[index])[0], step[1])\n            : boundFunction(iterable[index]);\n          if (result && result instanceof Result) return result;\n        } return new Result(false);\n      }\n      iterator = iterFn.call(iterable);\n    }\n\n    while (!(step = iterator.next()).done) {\n      result = callWithSafeIterationClosing(iterator, boundFunction, step.value, AS_ENTRIES);\n      if (result && result instanceof Result) return result;\n    } return new Result(false);\n  };\n\n  iterate.stop = function (result) {\n    return new Result(true, result);\n  };\n  });\n\n  var ITERATOR$5 = wellKnownSymbol('iterator');\n  var SAFE_CLOSING = false;\n\n  try {\n    var called = 0;\n    var iteratorWithReturn = {\n      next: function () {\n        return { done: !!called++ };\n      },\n      'return': function () {\n        SAFE_CLOSING = true;\n      }\n    };\n    iteratorWithReturn[ITERATOR$5] = function () {\n      return this;\n    };\n    // eslint-disable-next-line no-throw-literal\n    Array.from(iteratorWithReturn, function () { throw 2; });\n  } catch (error) { /* empty */ }\n\n  var checkCorrectnessOfIteration = function (exec, SKIP_CLOSING) {\n    if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n    var ITERATION_SUPPORT = false;\n    try {\n      var object = {};\n      object[ITERATOR$5] = function () {\n        return {\n          next: function () {\n            return { done: ITERATION_SUPPORT = true };\n          }\n        };\n      };\n      exec(object);\n    } catch (error) { /* empty */ }\n    return ITERATION_SUPPORT;\n  };\n\n  var SPECIES$1 = wellKnownSymbol('species');\n\n  // `SpeciesConstructor` abstract operation\n  // https://tc39.github.io/ecma262/#sec-speciesconstructor\n  var speciesConstructor = function (O, defaultConstructor) {\n    var C = anObject(O).constructor;\n    var S;\n    return C === undefined || (S = anObject(C)[SPECIES$1]) == undefined ? defaultConstructor : aFunction$1(S);\n  };\n\n  var location$1 = global_1.location;\n  var set$1 = global_1.setImmediate;\n  var clear = global_1.clearImmediate;\n  var process = global_1.process;\n  var MessageChannel = global_1.MessageChannel;\n  var Dispatch = global_1.Dispatch;\n  var counter = 0;\n  var queue = {};\n  var ONREADYSTATECHANGE = 'onreadystatechange';\n  var defer, channel, port;\n\n  var run = function (id) {\n    // eslint-disable-next-line no-prototype-builtins\n    if (queue.hasOwnProperty(id)) {\n      var fn = queue[id];\n      delete queue[id];\n      fn();\n    }\n  };\n\n  var runner = function (id) {\n    return function () {\n      run(id);\n    };\n  };\n\n  var listener = function (event) {\n    run(event.data);\n  };\n\n  var post = function (id) {\n    // old engines have not location.origin\n    global_1.postMessage(id + '', location$1.protocol + '//' + location$1.host);\n  };\n\n  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:\n  if (!set$1 || !clear) {\n    set$1 = function setImmediate(fn) {\n      var args = [];\n      var i = 1;\n      while (arguments.length > i) args.push(arguments[i++]);\n      queue[++counter] = function () {\n        // eslint-disable-next-line no-new-func\n        (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);\n      };\n      defer(counter);\n      return counter;\n    };\n    clear = function clearImmediate(id) {\n      delete queue[id];\n    };\n    // Node.js 0.8-\n    if (classofRaw(process) == 'process') {\n      defer = function (id) {\n        process.nextTick(runner(id));\n      };\n    // Sphere (JS game engine) Dispatch API\n    } else if (Dispatch && Dispatch.now) {\n      defer = function (id) {\n        Dispatch.now(runner(id));\n      };\n    // Browsers with MessageChannel, includes WebWorkers\n    } else if (MessageChannel) {\n      channel = new MessageChannel();\n      port = channel.port2;\n      channel.port1.onmessage = listener;\n      defer = bindContext(port.postMessage, port, 1);\n    // Browsers with postMessage, skip WebWorkers\n    // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n    } else if (global_1.addEventListener && typeof postMessage == 'function' && !global_1.importScripts && !fails(post)) {\n      defer = post;\n      global_1.addEventListener('message', listener, false);\n    // IE8-\n    } else if (ONREADYSTATECHANGE in documentCreateElement('script')) {\n      defer = function (id) {\n        html.appendChild(documentCreateElement('script'))[ONREADYSTATECHANGE] = function () {\n          html.removeChild(this);\n          run(id);\n        };\n      };\n    // Rest old browsers\n    } else {\n      defer = function (id) {\n        setTimeout(runner(id), 0);\n      };\n    }\n  }\n\n  var task = {\n    set: set$1,\n    clear: clear\n  };\n\n  var userAgent = getBuiltIn('navigator', 'userAgent') || '';\n\n  var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;\n\n  var macrotask = task.set;\n\n\n  var MutationObserver = global_1.MutationObserver || global_1.WebKitMutationObserver;\n  var process$1 = global_1.process;\n  var Promise$1 = global_1.Promise;\n  var IS_NODE = classofRaw(process$1) == 'process';\n  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\n  var queueMicrotaskDescriptor = getOwnPropertyDescriptor$2(global_1, 'queueMicrotask');\n  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n\n  var flush, head, last, notify, toggle, node, promise;\n\n  // modern engines have queueMicrotask method\n  if (!queueMicrotask) {\n    flush = function () {\n      var parent, fn;\n      if (IS_NODE && (parent = process$1.domain)) parent.exit();\n      while (head) {\n        fn = head.fn;\n        head = head.next;\n        try {\n          fn();\n        } catch (error) {\n          if (head) notify();\n          else last = undefined;\n          throw error;\n        }\n      } last = undefined;\n      if (parent) parent.enter();\n    };\n\n    // Node.js\n    if (IS_NODE) {\n      notify = function () {\n        process$1.nextTick(flush);\n      };\n    // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n    } else if (MutationObserver && !/(iphone|ipod|ipad).*applewebkit/i.test(userAgent)) {\n      toggle = true;\n      node = document.createTextNode('');\n      new MutationObserver(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n      notify = function () {\n        node.data = toggle = !toggle;\n      };\n    // environments with maybe non-completely correct, but existent Promise\n    } else if (Promise$1 && Promise$1.resolve) {\n      // Promise.resolve without an argument throws an error in LG WebOS 2\n      promise = Promise$1.resolve(undefined);\n      notify = function () {\n        promise.then(flush);\n      };\n    // for other environments - macrotask based on:\n    // - setImmediate\n    // - MessageChannel\n    // - window.postMessag\n    // - onreadystatechange\n    // - setTimeout\n    } else {\n      notify = function () {\n        // strange IE + webpack dev server bug - use .call(global)\n        macrotask.call(global_1, flush);\n      };\n    }\n  }\n\n  var microtask = queueMicrotask || function (fn) {\n    var task = { fn: fn, next: undefined };\n    if (last) last.next = task;\n    if (!head) {\n      head = task;\n      notify();\n    } last = task;\n  };\n\n  var PromiseCapability = function (C) {\n    var resolve, reject;\n    this.promise = new C(function ($$resolve, $$reject) {\n      if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n      resolve = $$resolve;\n      reject = $$reject;\n    });\n    this.resolve = aFunction$1(resolve);\n    this.reject = aFunction$1(reject);\n  };\n\n  // 25.4.1.5 NewPromiseCapability(C)\n  var f$5 = function (C) {\n    return new PromiseCapability(C);\n  };\n\n  var newPromiseCapability = {\n  \tf: f$5\n  };\n\n  var promiseResolve = function (C, x) {\n    anObject(C);\n    if (isObject$1(x) && x.constructor === C) return x;\n    var promiseCapability = newPromiseCapability.f(C);\n    var resolve = promiseCapability.resolve;\n    resolve(x);\n    return promiseCapability.promise;\n  };\n\n  var hostReportErrors = function (a, b) {\n    var console = global_1.console;\n    if (console && console.error) {\n      arguments.length === 1 ? console.error(a) : console.error(a, b);\n    }\n  };\n\n  var perform = function (exec) {\n    try {\n      return { error: false, value: exec() };\n    } catch (error) {\n      return { error: true, value: error };\n    }\n  };\n\n  var task$1 = task.set;\n\n\n\n\n\n\n\n\n\n\n  var SPECIES$2 = wellKnownSymbol('species');\n  var PROMISE = 'Promise';\n  var getInternalState$2 = internalState.get;\n  var setInternalState$2 = internalState.set;\n  var getInternalPromiseState = internalState.getterFor(PROMISE);\n  var PromiseConstructor = global_1[PROMISE];\n  var TypeError$1 = global_1.TypeError;\n  var document$2 = global_1.document;\n  var process$2 = global_1.process;\n  var $fetch = global_1.fetch;\n  var versions = process$2 && process$2.versions;\n  var v8 = versions && versions.v8 || '';\n  var newPromiseCapability$1 = newPromiseCapability.f;\n  var newGenericPromiseCapability = newPromiseCapability$1;\n  var IS_NODE$1 = classofRaw(process$2) == 'process';\n  var DISPATCH_EVENT = !!(document$2 && document$2.createEvent && global_1.dispatchEvent);\n  var UNHANDLED_REJECTION = 'unhandledrejection';\n  var REJECTION_HANDLED = 'rejectionhandled';\n  var PENDING = 0;\n  var FULFILLED = 1;\n  var REJECTED = 2;\n  var HANDLED = 1;\n  var UNHANDLED = 2;\n  var Internal, OwnPromiseCapability, PromiseWrapper;\n\n  var FORCED = isForced_1(PROMISE, function () {\n    // correct subclassing with @@species support\n    var promise = PromiseConstructor.resolve(1);\n    var empty = function () { /* empty */ };\n    var FakePromise = (promise.constructor = {})[SPECIES$2] = function (exec) {\n      exec(empty, empty);\n    };\n    // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n    return !((IS_NODE$1 || typeof PromiseRejectionEvent == 'function')\n      && (!isPure || promise['finally'])\n      && promise.then(empty) instanceof FakePromise\n      // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n      // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n      // we can't detect it synchronously, so just check versions\n      && v8.indexOf('6.6') !== 0\n      && userAgent.indexOf('Chrome/66') === -1);\n  });\n\n  var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n    PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\n  });\n\n  // helpers\n  var isThenable = function (it) {\n    var then;\n    return isObject$1(it) && typeof (then = it.then) == 'function' ? then : false;\n  };\n\n  var notify$1 = function (promise, state, isReject) {\n    if (state.notified) return;\n    state.notified = true;\n    var chain = state.reactions;\n    microtask(function () {\n      var value = state.value;\n      var ok = state.state == FULFILLED;\n      var index = 0;\n      // variable length - can't use forEach\n      while (chain.length > index) {\n        var reaction = chain[index++];\n        var handler = ok ? reaction.ok : reaction.fail;\n        var resolve = reaction.resolve;\n        var reject = reaction.reject;\n        var domain = reaction.domain;\n        var result, then, exited;\n        try {\n          if (handler) {\n            if (!ok) {\n              if (state.rejection === UNHANDLED) onHandleUnhandled(promise, state);\n              state.rejection = HANDLED;\n            }\n            if (handler === true) result = value;\n            else {\n              if (domain) domain.enter();\n              result = handler(value); // can throw\n              if (domain) {\n                domain.exit();\n                exited = true;\n              }\n            }\n            if (result === reaction.promise) {\n              reject(TypeError$1('Promise-chain cycle'));\n            } else if (then = isThenable(result)) {\n              then.call(result, resolve, reject);\n            } else resolve(result);\n          } else reject(value);\n        } catch (error) {\n          if (domain && !exited) domain.exit();\n          reject(error);\n        }\n      }\n      state.reactions = [];\n      state.notified = false;\n      if (isReject && !state.rejection) onUnhandled(promise, state);\n    });\n  };\n\n  var dispatchEvent = function (name, promise, reason) {\n    var event, handler;\n    if (DISPATCH_EVENT) {\n      event = document$2.createEvent('Event');\n      event.promise = promise;\n      event.reason = reason;\n      event.initEvent(name, false, true);\n      global_1.dispatchEvent(event);\n    } else event = { promise: promise, reason: reason };\n    if (handler = global_1['on' + name]) handler(event);\n    else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n  };\n\n  var onUnhandled = function (promise, state) {\n    task$1.call(global_1, function () {\n      var value = state.value;\n      var IS_UNHANDLED = isUnhandled(state);\n      var result;\n      if (IS_UNHANDLED) {\n        result = perform(function () {\n          if (IS_NODE$1) {\n            process$2.emit('unhandledRejection', value, promise);\n          } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n        });\n        // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n        state.rejection = IS_NODE$1 || isUnhandled(state) ? UNHANDLED : HANDLED;\n        if (result.error) throw result.value;\n      }\n    });\n  };\n\n  var isUnhandled = function (state) {\n    return state.rejection !== HANDLED && !state.parent;\n  };\n\n  var onHandleUnhandled = function (promise, state) {\n    task$1.call(global_1, function () {\n      if (IS_NODE$1) {\n        process$2.emit('rejectionHandled', promise);\n      } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n    });\n  };\n\n  var bind = function (fn, promise, state, unwrap) {\n    return function (value) {\n      fn(promise, state, value, unwrap);\n    };\n  };\n\n  var internalReject = function (promise, state, value, unwrap) {\n    if (state.done) return;\n    state.done = true;\n    if (unwrap) state = unwrap;\n    state.value = value;\n    state.state = REJECTED;\n    notify$1(promise, state, true);\n  };\n\n  var internalResolve = function (promise, state, value, unwrap) {\n    if (state.done) return;\n    state.done = true;\n    if (unwrap) state = unwrap;\n    try {\n      if (promise === value) throw TypeError$1(\"Promise can't be resolved itself\");\n      var then = isThenable(value);\n      if (then) {\n        microtask(function () {\n          var wrapper = { done: false };\n          try {\n            then.call(value,\n              bind(internalResolve, promise, wrapper, state),\n              bind(internalReject, promise, wrapper, state)\n            );\n          } catch (error) {\n            internalReject(promise, wrapper, error, state);\n          }\n        });\n      } else {\n        state.value = value;\n        state.state = FULFILLED;\n        notify$1(promise, state, false);\n      }\n    } catch (error) {\n      internalReject(promise, { done: false }, error, state);\n    }\n  };\n\n  // constructor polyfill\n  if (FORCED) {\n    // 25.4.3.1 Promise(executor)\n    PromiseConstructor = function Promise(executor) {\n      anInstance(this, PromiseConstructor, PROMISE);\n      aFunction$1(executor);\n      Internal.call(this);\n      var state = getInternalState$2(this);\n      try {\n        executor(bind(internalResolve, this, state), bind(internalReject, this, state));\n      } catch (error) {\n        internalReject(this, state, error);\n      }\n    };\n    // eslint-disable-next-line no-unused-vars\n    Internal = function Promise(executor) {\n      setInternalState$2(this, {\n        type: PROMISE,\n        done: false,\n        notified: false,\n        parent: false,\n        reactions: [],\n        rejection: false,\n        state: PENDING,\n        value: undefined\n      });\n    };\n    Internal.prototype = redefineAll(PromiseConstructor.prototype, {\n      // `Promise.prototype.then` method\n      // https://tc39.github.io/ecma262/#sec-promise.prototype.then\n      then: function then(onFulfilled, onRejected) {\n        var state = getInternalPromiseState(this);\n        var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));\n        reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n        reaction.fail = typeof onRejected == 'function' && onRejected;\n        reaction.domain = IS_NODE$1 ? process$2.domain : undefined;\n        state.parent = true;\n        state.reactions.push(reaction);\n        if (state.state != PENDING) notify$1(this, state, false);\n        return reaction.promise;\n      },\n      // `Promise.prototype.catch` method\n      // https://tc39.github.io/ecma262/#sec-promise.prototype.catch\n      'catch': function (onRejected) {\n        return this.then(undefined, onRejected);\n      }\n    });\n    OwnPromiseCapability = function () {\n      var promise = new Internal();\n      var state = getInternalState$2(promise);\n      this.promise = promise;\n      this.resolve = bind(internalResolve, promise, state);\n      this.reject = bind(internalReject, promise, state);\n    };\n    newPromiseCapability.f = newPromiseCapability$1 = function (C) {\n      return C === PromiseConstructor || C === PromiseWrapper\n        ? new OwnPromiseCapability(C)\n        : newGenericPromiseCapability(C);\n    };\n\n    // wrap fetch result\n    if ( typeof $fetch == 'function') _export({ global: true, enumerable: true, forced: true }, {\n      // eslint-disable-next-line no-unused-vars\n      fetch: function fetch(input) {\n        return promiseResolve(PromiseConstructor, $fetch.apply(global_1, arguments));\n      }\n    });\n  }\n\n  _export({ global: true, wrap: true, forced: FORCED }, {\n    Promise: PromiseConstructor\n  });\n\n  setToStringTag(PromiseConstructor, PROMISE, false);\n  setSpecies(PROMISE);\n\n  PromiseWrapper = path[PROMISE];\n\n  // statics\n  _export({ target: PROMISE, stat: true, forced: FORCED }, {\n    // `Promise.reject` method\n    // https://tc39.github.io/ecma262/#sec-promise.reject\n    reject: function reject(r) {\n      var capability = newPromiseCapability$1(this);\n      capability.reject.call(undefined, r);\n      return capability.promise;\n    }\n  });\n\n  _export({ target: PROMISE, stat: true, forced:  FORCED }, {\n    // `Promise.resolve` method\n    // https://tc39.github.io/ecma262/#sec-promise.resolve\n    resolve: function resolve(x) {\n      return promiseResolve( this, x);\n    }\n  });\n\n  _export({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\n    // `Promise.all` method\n    // https://tc39.github.io/ecma262/#sec-promise.all\n    all: function all(iterable) {\n      var C = this;\n      var capability = newPromiseCapability$1(C);\n      var resolve = capability.resolve;\n      var reject = capability.reject;\n      var result = perform(function () {\n        var $promiseResolve = aFunction$1(C.resolve);\n        var values = [];\n        var counter = 0;\n        var remaining = 1;\n        iterate_1(iterable, function (promise) {\n          var index = counter++;\n          var alreadyCalled = false;\n          values.push(undefined);\n          remaining++;\n          $promiseResolve.call(C, promise).then(function (value) {\n            if (alreadyCalled) return;\n            alreadyCalled = true;\n            values[index] = value;\n            --remaining || resolve(values);\n          }, reject);\n        });\n        --remaining || resolve(values);\n      });\n      if (result.error) reject(result.value);\n      return capability.promise;\n    },\n    // `Promise.race` method\n    // https://tc39.github.io/ecma262/#sec-promise.race\n    race: function race(iterable) {\n      var C = this;\n      var capability = newPromiseCapability$1(C);\n      var reject = capability.reject;\n      var result = perform(function () {\n        var $promiseResolve = aFunction$1(C.resolve);\n        iterate_1(iterable, function (promise) {\n          $promiseResolve.call(C, promise).then(capability.resolve, reject);\n        });\n      });\n      if (result.error) reject(result.value);\n      return capability.promise;\n    }\n  });\n\n  // `Promise.prototype.finally` method\n  // https://tc39.github.io/ecma262/#sec-promise.prototype.finally\n  _export({ target: 'Promise', proto: true, real: true }, {\n    'finally': function (onFinally) {\n      var C = speciesConstructor(this, getBuiltIn('Promise'));\n      var isFunction = typeof onFinally == 'function';\n      return this.then(\n        isFunction ? function (x) {\n          return promiseResolve(C, onFinally()).then(function () { return x; });\n        } : onFinally,\n        isFunction ? function (e) {\n          return promiseResolve(C, onFinally()).then(function () { throw e; });\n        } : onFinally\n      );\n    }\n  });\n\n  var promise$1 = path.Promise;\n\n  var $AggregateError = function AggregateError(errors, message) {\n    var that = this;\n    if (!(that instanceof $AggregateError)) return new $AggregateError(errors, message);\n    if (objectSetPrototypeOf) {\n      that = objectSetPrototypeOf(new Error(message), objectGetPrototypeOf(that));\n    }\n    var errorsArray = [];\n    iterate_1(errors, errorsArray.push, errorsArray);\n    that.errors = errorsArray;\n    if (message !== undefined) hide(that, 'message', String(message));\n    return that;\n  };\n\n  $AggregateError.prototype = objectCreate(Error.prototype, {\n    constructor: createPropertyDescriptor(5, $AggregateError),\n    name: createPropertyDescriptor(5, 'AggregateError')\n  });\n\n  _export({ global: true }, {\n    AggregateError: $AggregateError\n  });\n\n  // `Promise.allSettled` method\n  // https://github.com/tc39/proposal-promise-allSettled\n  _export({ target: 'Promise', stat: true }, {\n    allSettled: function allSettled(iterable) {\n      var C = this;\n      var capability = newPromiseCapability.f(C);\n      var resolve = capability.resolve;\n      var reject = capability.reject;\n      var result = perform(function () {\n        var promiseResolve = aFunction$1(C.resolve);\n        var values = [];\n        var counter = 0;\n        var remaining = 1;\n        iterate_1(iterable, function (promise) {\n          var index = counter++;\n          var alreadyCalled = false;\n          values.push(undefined);\n          remaining++;\n          promiseResolve.call(C, promise).then(function (value) {\n            if (alreadyCalled) return;\n            alreadyCalled = true;\n            values[index] = { status: 'fulfilled', value: value };\n            --remaining || resolve(values);\n          }, function (e) {\n            if (alreadyCalled) return;\n            alreadyCalled = true;\n            values[index] = { status: 'rejected', reason: e };\n            --remaining || resolve(values);\n          });\n        });\n        --remaining || resolve(values);\n      });\n      if (result.error) reject(result.value);\n      return capability.promise;\n    }\n  });\n\n  // `Promise.try` method\n  // https://github.com/tc39/proposal-promise-try\n  _export({ target: 'Promise', stat: true }, {\n    'try': function (callbackfn) {\n      var promiseCapability = newPromiseCapability.f(this);\n      var result = perform(callbackfn);\n      (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);\n      return promiseCapability.promise;\n    }\n  });\n\n  var PROMISE_ANY_ERROR = 'No one promise resolved';\n\n  // `Promise.any` method\n  // https://github.com/tc39/proposal-promise-any\n  _export({ target: 'Promise', stat: true }, {\n    any: function any(iterable) {\n      var C = this;\n      var capability = newPromiseCapability.f(C);\n      var resolve = capability.resolve;\n      var reject = capability.reject;\n      var result = perform(function () {\n        var promiseResolve = aFunction$1(C.resolve);\n        var errors = [];\n        var counter = 0;\n        var remaining = 1;\n        var alreadyResolved = false;\n        iterate_1(iterable, function (promise) {\n          var index = counter++;\n          var alreadyRejected = false;\n          errors.push(undefined);\n          remaining++;\n          promiseResolve.call(C, promise).then(function (value) {\n            if (alreadyRejected || alreadyResolved) return;\n            alreadyResolved = true;\n            resolve(value);\n          }, function (e) {\n            if (alreadyRejected || alreadyResolved) return;\n            alreadyRejected = true;\n            errors[index] = e;\n            --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));\n          });\n        });\n        --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));\n      });\n      if (result.error) reject(result.value);\n      return capability.promise;\n    }\n  });\n\n  var MATCH = wellKnownSymbol('match');\n\n  // `IsRegExp` abstract operation\n  // https://tc39.github.io/ecma262/#sec-isregexp\n  var isRegexp = function (it) {\n    var isRegExp;\n    return isObject$1(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp');\n  };\n\n  var notARegexp = function (it) {\n    if (isRegexp(it)) {\n      throw TypeError(\"The method doesn't accept regular expressions\");\n    } return it;\n  };\n\n  var MATCH$1 = wellKnownSymbol('match');\n\n  var correctIsRegexpLogic = function (METHOD_NAME) {\n    var regexp = /./;\n    try {\n      '/./'[METHOD_NAME](regexp);\n    } catch (e) {\n      try {\n        regexp[MATCH$1] = false;\n        return '/./'[METHOD_NAME](regexp);\n      } catch (f) { /* empty */ }\n    } return false;\n  };\n\n  var nativeEndsWith = ''.endsWith;\n  var min$2 = Math.min;\n\n  // `String.prototype.endsWith` method\n  // https://tc39.github.io/ecma262/#sec-string.prototype.endswith\n  _export({ target: 'String', proto: true, forced: !correctIsRegexpLogic('endsWith') }, {\n    endsWith: function endsWith(searchString /* , endPosition = @length */) {\n      var that = String(requireObjectCoercible(this));\n      notARegexp(searchString);\n      var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n      var len = toLength(that.length);\n      var end = endPosition === undefined ? len : min$2(toLength(endPosition), len);\n      var search = String(searchString);\n      return nativeEndsWith\n        ? nativeEndsWith.call(that, search, end)\n        : that.slice(end - search.length, end) === search;\n    }\n  });\n\n  var call = Function.call;\n\n  var entryUnbind = function (CONSTRUCTOR, METHOD, length) {\n    return bindContext(call, global_1[CONSTRUCTOR].prototype[METHOD], length);\n  };\n\n  var endsWith = entryUnbind('String', 'endsWith');\n\n  var iterator = entryUnbind('Array', 'values');\n\n  // `IsArray` abstract operation\n  // https://tc39.github.io/ecma262/#sec-isarray\n  var isArray$2 = Array.isArray || function isArray(arg) {\n    return classofRaw(arg) == 'Array';\n  };\n\n  var SPECIES$3 = wellKnownSymbol('species');\n\n  // `ArraySpeciesCreate` abstract operation\n  // https://tc39.github.io/ecma262/#sec-arrayspeciescreate\n  var arraySpeciesCreate = function (originalArray, length) {\n    var C;\n    if (isArray$2(originalArray)) {\n      C = originalArray.constructor;\n      // cross-realm fallback\n      if (typeof C == 'function' && (C === Array || isArray$2(C.prototype))) C = undefined;\n      else if (isObject$1(C)) {\n        C = C[SPECIES$3];\n        if (C === null) C = undefined;\n      }\n    } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n  };\n\n  var push = [].push;\n\n  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation\n  var createMethod$2 = function (TYPE) {\n    var IS_MAP = TYPE == 1;\n    var IS_FILTER = TYPE == 2;\n    var IS_SOME = TYPE == 3;\n    var IS_EVERY = TYPE == 4;\n    var IS_FIND_INDEX = TYPE == 6;\n    var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n    return function ($this, callbackfn, that, specificCreate) {\n      var O = toObject($this);\n      var self = indexedObject(O);\n      var boundFunction = bindContext(callbackfn, that, 3);\n      var length = toLength(self.length);\n      var index = 0;\n      var create = specificCreate || arraySpeciesCreate;\n      var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n      var value, result;\n      for (;length > index; index++) if (NO_HOLES || index in self) {\n        value = self[index];\n        result = boundFunction(value, index, O);\n        if (TYPE) {\n          if (IS_MAP) target[index] = result; // map\n          else if (result) switch (TYPE) {\n            case 3: return true;              // some\n            case 5: return value;             // find\n            case 6: return index;             // findIndex\n            case 2: push.call(target, value); // filter\n          } else if (IS_EVERY) return false;  // every\n        }\n      }\n      return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n    };\n  };\n\n  var arrayIteration = {\n    // `Array.prototype.forEach` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n    forEach: createMethod$2(0),\n    // `Array.prototype.map` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.map\n    map: createMethod$2(1),\n    // `Array.prototype.filter` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.filter\n    filter: createMethod$2(2),\n    // `Array.prototype.some` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.some\n    some: createMethod$2(3),\n    // `Array.prototype.every` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.every\n    every: createMethod$2(4),\n    // `Array.prototype.find` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.find\n    find: createMethod$2(5),\n    // `Array.prototype.findIndex` method\n    // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex\n    findIndex: createMethod$2(6)\n  };\n\n  var $find = arrayIteration.find;\n\n\n  var FIND = 'find';\n  var SKIPS_HOLES = true;\n\n  // Shouldn't skip holes\n  if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n  // `Array.prototype.find` method\n  // https://tc39.github.io/ecma262/#sec-array.prototype.find\n  _export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n    find: function find(callbackfn /* , that = undefined */) {\n      return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    }\n  });\n\n  // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n  addToUnscopables(FIND);\n\n  var find = entryUnbind('Array', 'find');\n\n  var nativeAssign = Object.assign;\n\n  // `Object.assign` method\n  // https://tc39.github.io/ecma262/#sec-object.assign\n  // should work with symbols and should have deterministic property order (V8 bug)\n  var objectAssign = !nativeAssign || fails(function () {\n    var A = {};\n    var B = {};\n    // eslint-disable-next-line no-undef\n    var symbol = Symbol();\n    var alphabet = 'abcdefghijklmnopqrst';\n    A[symbol] = 7;\n    alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n    return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;\n  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n    var T = toObject(target);\n    var argumentsLength = arguments.length;\n    var index = 1;\n    var getOwnPropertySymbols = objectGetOwnPropertySymbols.f;\n    var propertyIsEnumerable = objectPropertyIsEnumerable.f;\n    while (argumentsLength > index) {\n      var S = indexedObject(arguments[index++]);\n      var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);\n      var length = keys.length;\n      var j = 0;\n      var key;\n      while (length > j) {\n        key = keys[j++];\n        if (!descriptors || propertyIsEnumerable.call(S, key)) T[key] = S[key];\n      }\n    } return T;\n  } : nativeAssign;\n\n  // `Object.assign` method\n  // https://tc39.github.io/ecma262/#sec-object.assign\n  _export({ target: 'Object', stat: true, forced: Object.assign !== objectAssign }, {\n    assign: objectAssign\n  });\n\n  var assign = path.Object.assign;\n\n  var propertyIsEnumerable = objectPropertyIsEnumerable.f;\n\n  // `Object.{ entries, values }` methods implementation\n  var createMethod$3 = function (TO_ENTRIES) {\n    return function (it) {\n      var O = toIndexedObject(it);\n      var keys = objectKeys(O);\n      var length = keys.length;\n      var i = 0;\n      var result = [];\n      var key;\n      while (length > i) {\n        key = keys[i++];\n        if (!descriptors || propertyIsEnumerable.call(O, key)) {\n          result.push(TO_ENTRIES ? [key, O[key]] : O[key]);\n        }\n      }\n      return result;\n    };\n  };\n\n  var objectToArray = {\n    // `Object.entries` method\n    // https://tc39.github.io/ecma262/#sec-object.entries\n    entries: createMethod$3(true),\n    // `Object.values` method\n    // https://tc39.github.io/ecma262/#sec-object.values\n    values: createMethod$3(false)\n  };\n\n  var $values = objectToArray.values;\n\n  // `Object.values` method\n  // https://tc39.github.io/ecma262/#sec-object.values\n  _export({ target: 'Object', stat: true }, {\n    values: function values(O) {\n      return $values(O);\n    }\n  });\n\n  var values = path.Object.values;\n\n  var UpdatedShopifyBuy =\n  /*#__PURE__*/\n  function (_ShopifyBuy) {\n    _inheritsLoose(UpdatedShopifyBuy, _ShopifyBuy);\n\n    function UpdatedShopifyBuy() {\n      return _ShopifyBuy.apply(this, arguments) || this;\n    }\n\n    UpdatedShopifyBuy.buildClient = function buildClient(config) {\n      var newConfig = Object.assign({}, config, {\n        source: 'buy-button-js'\n      });\n      return _ShopifyBuy.buildClient.call(this, newConfig);\n    };\n\n    return UpdatedShopifyBuy;\n  }(shopifyBuy);\n\n  window.ShopifyBuy = window.ShopifyBuy || UpdatedShopifyBuy;\n  UpdatedShopifyBuy.UI = window.ShopifyBuy.UI || {\n    domains: {},\n    init: function init(client) {\n      var integrations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var styleOverrides = arguments.length > 2 ? arguments[2] : undefined;\n      var uniqueClientKey = \"\".concat(client.config.domain, \".\").concat(client.config.storefrontAccessToken);\n\n      if (!this.domains[uniqueClientKey]) {\n        this.domains[uniqueClientKey] = new UI(client, integrations, styleOverrides);\n      }\n\n      return this.domains[uniqueClientKey];\n    },\n    adapterHelpers: {\n      templates: {\n        product: productTemplate\n      }\n    }\n  };\n\n  return UpdatedShopifyBuy;\n\n}));\n","[...document.querySelectorAll(\".accordion-panel\")].forEach((panel) => {\n\tconst heading = panel.querySelector(\".accordion-heading\");\n\tconst body = panel.querySelector(\".accordion-body\");\n\n\tconsole.log(panel, heading, body);\n\theading.addEventListener(\"click\", (e) => {\n\t\te.preventDefault();\n\t\tconst { currentTarget } = e;\n\t\tconst expanded = currentTarget.getAttribute(\"aria-expanded\") === \"true\";\n\t\tcurrentTarget.setAttribute(\"aria-expanded\", `${!expanded}`);\n\t\t// heading.classList.toggle(\"border-b\");\n\t\theading.querySelector(\"span\").classList.toggle(\"rotate-[-135deg]\");\n\t\theading.querySelector(\"span\").classList.toggle(\"rotate-45\");\n\t\tbody.classList.toggle(\"hidden\");\n\t});\n});\n","jQuery(document).ready(function ($) {\n\taddMainImg();\n\n\taddIntersectionObserver();\n\t$(window).resize(function () {\n\t\taddMainImg();\n\t});\n\n\tfunction addIntersectionObserver() {\n\t\tconsole.log(\"adding observer\");\n\t\tlet observer = new IntersectionObserver(\n\t\t\t(entries) => {\n\t\t\t\t// console.log(\"entries\", entries);\n\t\t\t\tentries.forEach((entry) => {\n\t\t\t\t\t// console.log(entry);\n\t\t\t\t\tif (entry.isIntersecting) {\n\t\t\t\t\t\tentry.target.play();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tentry.target.pause();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t},\n\t\t\t{\n\t\t\t\tthreshold: [0, 0.01],\n\t\t\t}\n\t\t);\n\n\t\t[...document.querySelectorAll(\"#mainvid, .associated-image-video\")].forEach(\n\t\t\t(el) => observer.observe(el)\n\t\t);\n\t}\n\n\tfunction addMainImg() {\n\t\tconsole.log('debug:', window.screen.width);\n\t\tif (window.innerWidth >= 768) {\n\t\t\tconsole.log(\"debug: screen is > 767\");\n\t\t\t$(\".main-product-imagery\").removeClass(\"hidden\");\n\t\t\tconst firstEl = document.querySelector(\".vslide-images li\");\n\t\t\tconst type = firstEl.getAttribute(\"data-type\");\n\t\t\tconst target =\n\t\t\t\ttype === \"image\"\n\t\t\t\t\t? $(\".main-product-imagery #mainimg\")\n\t\t\t\t\t: $(\".main-product-imagery #mainvid\");\n\t\t\tconst other =\n\t\t\t\ttype !== \"image\"\n\t\t\t\t\t? $(\".main-product-imagery #mainimg\")\n\t\t\t\t\t: $(\".main-product-imagery #mainvid\");\n\t\t\tconst url =\n\t\t\t\ttype === \"image\"\n\t\t\t\t\t? firstEl.querySelector(\"img\").getAttribute(\"src\")\n\t\t\t\t\t: firstEl.querySelector(\"video\").getAttribute(\"src\");\n\t\t\t$(target).attr(\"src\", url);\n\t\t\t$(target).removeClass(\"hidden\");\n\t\t\t$(other).addClass(\"hidden\");\n\t\t} else {\n\t\t\tconsole.log(\"debug: hide the main product imagery\");\n\t\t\t$(\".main-product-imagery\").addClass(\"hidden\");\n\t\t}\n\t\t// const el = $(\".vslide-images img\");\n\t\t// console.log(9, el);\n\t\t// $activeimg = $(\".vslide-images img\").attr(\"src\");\n\t\t// $screenwidth = window.screen.width;\n\t\t// if ($screenwidth > 767) {\n\t\t// \tif (!$(\"#mainimg\").length) {\n\t\t// \t\t$(\".vslide\").prepend('<img id=\"mainimg\" src=\"' + $activeimg + '\" />');\n\t\t// \t}\n\t\t// \t$(\".vslide img\").on(\"click\", function () {\n\t\t// \t\t$(\"#mainimg\").prop(\"src\", this.src);\n\t\t// \t});\n\t\t// } else {\n\t\t//   $('.main-product-imagery').addClass('hidden');\n\t\t// \tif ($(\"#mainimg\").length) {\n\t\t// \t\t$(\"#mainimg\").remove();\n\t\t// \t}\n\t\t// }\n\n\t\taddIntersectionObserver();\n\t}\n\n\t[...document.querySelectorAll(\".vslide img\")].forEach((el) => {\n\t\tel.addEventListener(\"click\", (e) => {\n\t\t\tconst { currentTarget } = e;\n\t\t\tconst parent = currentTarget.closest(\"[data-type]\");\n\t\t\tconst type = parent.getAttribute(\"data-type\");\n\n\t\t\tconst target =\n\t\t\t\ttype === \"image\"\n\t\t\t\t\t? $(\".main-product-imagery #mainimg\")\n\t\t\t\t\t: $(\".main-product-imagery #mainvid\");\n\t\t\tconst other =\n\t\t\t\ttype !== \"image\"\n\t\t\t\t\t? $(\".main-product-imagery #mainimg\")\n\t\t\t\t\t: $(\".main-product-imagery #mainvid\");\n\t\t\tconst url =\n\t\t\t\ttype === \"image\"\n\t\t\t\t\t? parent.querySelector(\"img\").getAttribute(\"src\")\n\t\t\t\t\t: parent.querySelector(\"video\").getAttribute(\"src\");\n\t\t\t$(target).attr(\"src\", url);\n\t\t\t$(target).removeClass(\"hidden\");\n\t\t\t$(other).addClass(\"hidden\");\n\t\t});\n\t});\n\t$(\".vslide img\").on(\"click\", function () {\n\t\t$(\"#mainimg\").prop(\"src\", this.src);\n\t});\n\n\tvar $scrollup = $(\"#scroll-up\");\n\tvar $scrolldown = $(\"#scroll-down\");\n\tvar $scrollimages = $(\".vslide-images\");\n\tlet scrollimagesH = $scrollimages.innerHeight();\n\n\t$scrollup.hide();\n\t$scrolldown.show();\n\n\t$scrolldown.click(function (event) {\n\t\tevent.preventDefault();\n\t\t$scrollimages.animate({ scrollTop: \"+=\" + scrollimagesH }, 300);\n\t});\n\t$scrollup.click(function (event) {\n\t\tevent.preventDefault();\n\t\t$scrollimages.animate({ scrollTop: \"-=\" + scrollimagesH }, 300);\n\t});\n\n\t$scrollimages.scroll(function () {\n\t\tvar scrollHeight = $scrollimages[0].scrollHeight;\n\n\t\tif ($scrollimages.scrollTop() >= 30) {\n\t\t\t$scrollup.fadeIn(100);\n\t\t\t$scrolldown.hide();\n\t\t} else {\n\t\t\t$scrollup.fadeOut(100);\n\t\t}\n\n\t\tif (scrollHeight - scrollimagesH > $scrollimages.scrollTop()) {\n\t\t\t$scrolldown.show();\n\t\t}\n\t});\n});\n","/*!\n  Copyright (c) 2018 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n    var extendStatics = function (d, b) {\n        extendStatics = Object.setPrototypeOf ||\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n        return extendStatics(d, b);\n    };\n    return function (d, b) {\n        extendStatics(d, b);\n        function __() { this.constructor = d; }\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n})();\nvar __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.cloneNode = exports.Element = exports.Document = exports.NodeWithChildren = exports.ProcessingInstruction = exports.Comment = exports.Text = exports.DataNode = exports.Node = void 0;\nvar nodeTypes = new Map([\n    [\"tag\" /* Tag */, 1],\n    [\"script\" /* Script */, 1],\n    [\"style\" /* Style */, 1],\n    [\"directive\" /* Directive */, 1],\n    [\"text\" /* Text */, 3],\n    [\"cdata\" /* CDATA */, 4],\n    [\"comment\" /* Comment */, 8],\n    [\"root\" /* Root */, 9],\n]);\n/**\n * This object will be used as the prototype for Nodes when creating a\n * DOM-Level-1-compliant structure.\n */\nvar Node = /** @class */ (function () {\n    /**\n     *\n     * @param type The type of the node.\n     */\n    function Node(type) {\n        this.type = type;\n        /** Parent of the node */\n        this.parent = null;\n        /** Previous sibling */\n        this.prev = null;\n        /** Next sibling */\n        this.next = null;\n        /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */\n        this.startIndex = null;\n        /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */\n        this.endIndex = null;\n    }\n    Object.defineProperty(Node.prototype, \"nodeType\", {\n        // Read-only aliases\n        get: function () {\n            var _a;\n            return (_a = nodeTypes.get(this.type)) !== null && _a !== void 0 ? _a : 1;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    Object.defineProperty(Node.prototype, \"parentNode\", {\n        // Read-write aliases for properties\n        get: function () {\n            return this.parent;\n        },\n        set: function (parent) {\n            this.parent = parent;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    Object.defineProperty(Node.prototype, \"previousSibling\", {\n        get: function () {\n            return this.prev;\n        },\n        set: function (prev) {\n            this.prev = prev;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    Object.defineProperty(Node.prototype, \"nextSibling\", {\n        get: function () {\n            return this.next;\n        },\n        set: function (next) {\n            this.next = next;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    /**\n     * Clone this node, and optionally its children.\n     *\n     * @param recursive Clone child nodes as well.\n     * @returns A clone of the node.\n     */\n    Node.prototype.cloneNode = function (recursive) {\n        if (recursive === void 0) { recursive = false; }\n        return cloneNode(this, recursive);\n    };\n    return Node;\n}());\nexports.Node = Node;\nvar DataNode = /** @class */ (function (_super) {\n    __extends(DataNode, _super);\n    /**\n     * @param type The type of the node\n     * @param data The content of the data node\n     */\n    function DataNode(type, data) {\n        var _this = _super.call(this, type) || this;\n        _this.data = data;\n        return _this;\n    }\n    Object.defineProperty(DataNode.prototype, \"nodeValue\", {\n        get: function () {\n            return this.data;\n        },\n        set: function (data) {\n            this.data = data;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    return DataNode;\n}(Node));\nexports.DataNode = DataNode;\nvar Text = /** @class */ (function (_super) {\n    __extends(Text, _super);\n    function Text(data) {\n        return _super.call(this, \"text\" /* Text */, data) || this;\n    }\n    return Text;\n}(DataNode));\nexports.Text = Text;\nvar Comment = /** @class */ (function (_super) {\n    __extends(Comment, _super);\n    function Comment(data) {\n        return _super.call(this, \"comment\" /* Comment */, data) || this;\n    }\n    return Comment;\n}(DataNode));\nexports.Comment = Comment;\nvar ProcessingInstruction = /** @class */ (function (_super) {\n    __extends(ProcessingInstruction, _super);\n    function ProcessingInstruction(name, data) {\n        var _this = _super.call(this, \"directive\" /* Directive */, data) || this;\n        _this.name = name;\n        return _this;\n    }\n    return ProcessingInstruction;\n}(DataNode));\nexports.ProcessingInstruction = ProcessingInstruction;\n/**\n * A `Node` that can have children.\n */\nvar NodeWithChildren = /** @class */ (function (_super) {\n    __extends(NodeWithChildren, _super);\n    /**\n     * @param type Type of the node.\n     * @param children Children of the node. Only certain node types can have children.\n     */\n    function NodeWithChildren(type, children) {\n        var _this = _super.call(this, type) || this;\n        _this.children = children;\n        return _this;\n    }\n    Object.defineProperty(NodeWithChildren.prototype, \"firstChild\", {\n        // Aliases\n        get: function () {\n            var _a;\n            return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    Object.defineProperty(NodeWithChildren.prototype, \"lastChild\", {\n        get: function () {\n            return this.children.length > 0\n                ? this.children[this.children.length - 1]\n                : null;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    Object.defineProperty(NodeWithChildren.prototype, \"childNodes\", {\n        get: function () {\n            return this.children;\n        },\n        set: function (children) {\n            this.children = children;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    return NodeWithChildren;\n}(Node));\nexports.NodeWithChildren = NodeWithChildren;\nvar Document = /** @class */ (function (_super) {\n    __extends(Document, _super);\n    function Document(children) {\n        return _super.call(this, \"root\" /* Root */, children) || this;\n    }\n    return Document;\n}(NodeWithChildren));\nexports.Document = Document;\nvar Element = /** @class */ (function (_super) {\n    __extends(Element, _super);\n    /**\n     * @param name Name of the tag, eg. `div`, `span`.\n     * @param attribs Object mapping attribute names to attribute values.\n     * @param children Children of the node.\n     */\n    function Element(name, attribs, children) {\n        if (children === void 0) { children = []; }\n        var _this = _super.call(this, name === \"script\"\n            ? \"script\" /* Script */\n            : name === \"style\"\n                ? \"style\" /* Style */\n                : \"tag\" /* Tag */, children) || this;\n        _this.name = name;\n        _this.attribs = attribs;\n        _this.attribs = attribs;\n        return _this;\n    }\n    Object.defineProperty(Element.prototype, \"tagName\", {\n        // DOM Level 1 aliases\n        get: function () {\n            return this.name;\n        },\n        set: function (name) {\n            this.name = name;\n        },\n        enumerable: false,\n        configurable: true\n    });\n    Object.defineProperty(Element.prototype, \"attributes\", {\n        get: function () {\n            var _this = this;\n            return Object.keys(this.attribs).map(function (name) {\n                var _a, _b;\n                return ({\n                    name: name,\n                    value: _this.attribs[name],\n                    namespace: (_a = _this[\"x-attribsNamespace\"]) === null || _a === void 0 ? void 0 : _a[name],\n                    prefix: (_b = _this[\"x-attribsPrefix\"]) === null || _b === void 0 ? void 0 : _b[name],\n                });\n            });\n        },\n        enumerable: false,\n        configurable: true\n    });\n    return Element;\n}(NodeWithChildren));\nexports.Element = Element;\n/**\n * Clone a node, and optionally its children.\n *\n * @param recursive Clone child nodes as well.\n * @returns A clone of the node.\n */\nfunction cloneNode(node, recursive) {\n    if (recursive === void 0) { recursive = false; }\n    var result;\n    switch (node.type) {\n        case \"text\" /* Text */:\n            result = new Text(node.data);\n            break;\n        case \"directive\" /* Directive */: {\n            var instr = node;\n            result = new ProcessingInstruction(instr.name, instr.data);\n            if (instr[\"x-name\"] != null) {\n                result[\"x-name\"] = instr[\"x-name\"];\n                result[\"x-publicId\"] = instr[\"x-publicId\"];\n                result[\"x-systemId\"] = instr[\"x-systemId\"];\n            }\n            break;\n        }\n        case \"comment\" /* Comment */:\n            result = new Comment(node.data);\n            break;\n        case \"tag\" /* Tag */:\n        case \"script\" /* Script */:\n        case \"style\" /* Style */: {\n            var elem = node;\n            var children = recursive ? cloneChildren(elem.children) : [];\n            var clone_1 = new Element(elem.name, __assign({}, elem.attribs), children);\n            children.forEach(function (child) { return (child.parent = clone_1); });\n            if (elem[\"x-attribsNamespace\"]) {\n                clone_1[\"x-attribsNamespace\"] = __assign({}, elem[\"x-attribsNamespace\"]);\n            }\n            if (elem[\"x-attribsPrefix\"]) {\n                clone_1[\"x-attribsPrefix\"] = __assign({}, elem[\"x-attribsPrefix\"]);\n            }\n            result = clone_1;\n            break;\n        }\n        case \"cdata\" /* CDATA */: {\n            var cdata = node;\n            var children = recursive ? cloneChildren(cdata.children) : [];\n            var clone_2 = new NodeWithChildren(node.type, children);\n            children.forEach(function (child) { return (child.parent = clone_2); });\n            result = clone_2;\n            break;\n        }\n        case \"root\" /* Root */: {\n            var doc = node;\n            var children = recursive ? cloneChildren(doc.children) : [];\n            var clone_3 = new Document(children);\n            children.forEach(function (child) { return (child.parent = clone_3); });\n            if (doc[\"x-mode\"]) {\n                clone_3[\"x-mode\"] = doc[\"x-mode\"];\n            }\n            result = clone_3;\n            break;\n        }\n        case \"doctype\" /* Doctype */: {\n            // This type isn't used yet.\n            throw new Error(\"Not implemented yet: ElementType.Doctype case\");\n        }\n    }\n    result.startIndex = node.startIndex;\n    result.endIndex = node.endIndex;\n    return result;\n}\nexports.cloneNode = cloneNode;\nfunction cloneChildren(childs) {\n    var children = childs.map(function (child) { return cloneNode(child, true); });\n    for (var i = 1; i < children.length; i++) {\n        children[i].prev = children[i - 1];\n        children[i - 1].next = children[i];\n    }\n    return children;\n}\n","/**\n * SVG elements are case-sensitive.\n *\n * @see {@link https://developer.mozilla.org/docs/Web/SVG/Element#SVG_elements_A_to_Z}\n */\nvar CASE_SENSITIVE_TAG_NAMES = [\n  'animateMotion',\n  'animateTransform',\n  'clipPath',\n  'feBlend',\n  'feColorMatrix',\n  'feComponentTransfer',\n  'feComposite',\n  'feConvolveMatrix',\n  'feDiffuseLighting',\n  'feDisplacementMap',\n  'feDropShadow',\n  'feFlood',\n  'feFuncA',\n  'feFuncB',\n  'feFuncG',\n  'feFuncR',\n  'feGaussainBlur',\n  'feImage',\n  'feMerge',\n  'feMergeNode',\n  'feMorphology',\n  'feOffset',\n  'fePointLight',\n  'feSpecularLighting',\n  'feSpotLight',\n  'feTile',\n  'feTurbulence',\n  'foreignObject',\n  'linearGradient',\n  'radialGradient',\n  'textPath'\n];\n\nmodule.exports = {\n  CASE_SENSITIVE_TAG_NAMES: CASE_SENSITIVE_TAG_NAMES\n};\n","// constants\nvar HTML = 'html';\nvar HEAD = 'head';\nvar BODY = 'body';\nvar FIRST_TAG_REGEX = /<([a-zA-Z]+[0-9]?)/; // e.g., <h1>\nvar HEAD_TAG_REGEX = /<head.*>/i;\nvar BODY_TAG_REGEX = /<body.*>/i;\n\n// falls back to `parseFromString` if `createHTMLDocument` cannot be used\nvar parseFromDocument = function () {\n  throw new Error(\n    'This browser does not support `document.implementation.createHTMLDocument`'\n  );\n};\n\nvar parseFromString = function () {\n  throw new Error(\n    'This browser does not support `DOMParser.prototype.parseFromString`'\n  );\n};\n\n/**\n * DOMParser (performance: slow).\n *\n * @see https://developer.mozilla.org/docs/Web/API/DOMParser#Parsing_an_SVG_or_HTML_document\n */\nif (typeof window.DOMParser === 'function') {\n  var domParser = new window.DOMParser();\n  var mimeType = 'text/html';\n\n  /**\n   * Creates an HTML document using `DOMParser.parseFromString`.\n   *\n   * @param  {string} html      - The HTML string.\n   * @param  {string} [tagName] - The element to render the HTML (with 'body' as fallback).\n   * @return {HTMLDocument}\n   */\n  parseFromString = function (html, tagName) {\n    if (tagName) {\n      html = '<' + tagName + '>' + html + '</' + tagName + '>';\n    }\n\n    return domParser.parseFromString(html, mimeType);\n  };\n\n  parseFromDocument = parseFromString;\n}\n\n/**\n * DOMImplementation (performance: fair).\n *\n * @see https://developer.mozilla.org/docs/Web/API/DOMImplementation/createHTMLDocument\n */\nif (document.implementation) {\n  var isIE = require('./utilities').isIE;\n\n  // title parameter is required in IE\n  // https://msdn.microsoft.com/en-us/library/ff975457(v=vs.85).aspx\n  var doc = document.implementation.createHTMLDocument(\n    isIE() ? 'html-dom-parser' : undefined\n  );\n\n  /**\n   * Use HTML document created by `document.implementation.createHTMLDocument`.\n   *\n   * @param  {string} html      - The HTML string.\n   * @param  {string} [tagName] - The element to render the HTML (with 'body' as fallback).\n   * @return {HTMLDocument}\n   */\n  parseFromDocument = function (html, tagName) {\n    if (tagName) {\n      doc.documentElement.getElementsByTagName(tagName)[0].innerHTML = html;\n      return doc;\n    }\n\n    doc.documentElement.innerHTML = html;\n    return doc;\n  };\n}\n\n/**\n * Template (performance: fast).\n *\n * @see https://developer.mozilla.org/docs/Web/HTML/Element/template\n */\nvar template = document.createElement('template');\nvar parseFromTemplate;\n\nif (template.content) {\n  /**\n   * Uses a template element (content fragment) to parse HTML.\n   *\n   * @param  {string} html - The HTML string.\n   * @return {NodeList}\n   */\n  parseFromTemplate = function (html) {\n    template.innerHTML = html;\n    return template.content.childNodes;\n  };\n}\n\n/**\n * Parses HTML string to DOM nodes.\n *\n * @param  {string}   html - HTML markup.\n * @return {NodeList}\n */\nfunction domparser(html) {\n  var firstTagName;\n  var match = html.match(FIRST_TAG_REGEX);\n\n  if (match && match[1]) {\n    firstTagName = match[1].toLowerCase();\n  }\n\n  var doc;\n  var element;\n  var elements;\n\n  switch (firstTagName) {\n    case HTML:\n      doc = parseFromString(html);\n\n      // the created document may come with filler head/body elements,\n      // so make sure to remove them if they don't actually exist\n      if (!HEAD_TAG_REGEX.test(html)) {\n        element = doc.getElementsByTagName(HEAD)[0];\n        if (element) {\n          element.parentNode.removeChild(element);\n        }\n      }\n\n      if (!BODY_TAG_REGEX.test(html)) {\n        element = doc.getElementsByTagName(BODY)[0];\n        if (element) {\n          element.parentNode.removeChild(element);\n        }\n      }\n\n      return doc.getElementsByTagName(HTML);\n\n    case HEAD:\n    case BODY:\n      elements = parseFromDocument(html).getElementsByTagName(firstTagName);\n\n      // if there's a sibling element, then return both elements\n      if (BODY_TAG_REGEX.test(html) && HEAD_TAG_REGEX.test(html)) {\n        return elements[0].parentNode.childNodes;\n      }\n      return elements;\n\n    // low-level tag or text\n    default:\n      if (parseFromTemplate) {\n        return parseFromTemplate(html);\n      }\n\n      return parseFromDocument(html, BODY).getElementsByTagName(BODY)[0]\n        .childNodes;\n  }\n}\n\nmodule.exports = domparser;\n","var domparser = require('./domparser');\nvar formatDOM = require('./utilities').formatDOM;\n\nvar DIRECTIVE_REGEX = /<(![a-zA-Z\\s]+)>/; // e.g., <!doctype html>\n\n/**\n * Parses HTML string to DOM nodes in browser.\n *\n * @param  {string} html  - HTML markup.\n * @return {DomElement[]} - DOM elements.\n */\nfunction HTMLDOMParser(html) {\n  if (typeof html !== 'string') {\n    throw new TypeError('First argument must be a string');\n  }\n\n  if (html === '') {\n    return [];\n  }\n\n  // match directive\n  var match = html.match(DIRECTIVE_REGEX);\n  var directive;\n\n  if (match && match[1]) {\n    directive = match[1];\n  }\n\n  return formatDOM(domparser(html), null, directive);\n}\n\nmodule.exports = HTMLDOMParser;\n","var constants = require('./constants');\nvar domhandler = require('domhandler/lib/node');\n\nvar CASE_SENSITIVE_TAG_NAMES = constants.CASE_SENSITIVE_TAG_NAMES;\n\nvar Comment = domhandler.Comment;\nvar Element = domhandler.Element;\nvar ProcessingInstruction = domhandler.ProcessingInstruction;\nvar Text = domhandler.Text;\n\nvar caseSensitiveTagNamesMap = {};\nvar tagName;\n\nfor (var i = 0, len = CASE_SENSITIVE_TAG_NAMES.length; i < len; i++) {\n  tagName = CASE_SENSITIVE_TAG_NAMES[i];\n  caseSensitiveTagNamesMap[tagName.toLowerCase()] = tagName;\n}\n\n/**\n * Gets case-sensitive tag name.\n *\n * @param  {string}           tagName - Tag name in lowercase.\n * @return {string|undefined}         - Case-sensitive tag name.\n */\nfunction getCaseSensitiveTagName(tagName) {\n  return caseSensitiveTagNamesMap[tagName];\n}\n\n/**\n * Formats DOM attributes to a hash map.\n *\n * @param  {NamedNodeMap} attributes - List of attributes.\n * @return {object}                  - Map of attribute name to value.\n */\nfunction formatAttributes(attributes) {\n  var result = {};\n  var attribute;\n  // `NamedNodeMap` is array-like\n  for (var i = 0, len = attributes.length; i < len; i++) {\n    attribute = attributes[i];\n    result[attribute.name] = attribute.value;\n  }\n  return result;\n}\n\n/**\n * Corrects the tag name if it is case-sensitive (SVG).\n * Otherwise, returns the lowercase tag name (HTML).\n *\n * @param  {string} tagName - Lowercase tag name.\n * @return {string}         - Formatted tag name.\n */\nfunction formatTagName(tagName) {\n  tagName = tagName.toLowerCase();\n  var caseSensitiveTagName = getCaseSensitiveTagName(tagName);\n  if (caseSensitiveTagName) {\n    return caseSensitiveTagName;\n  }\n  return tagName;\n}\n\n/**\n * Transforms DOM nodes to `domhandler` nodes.\n *\n * @param  {NodeList}     nodes         - DOM nodes.\n * @param  {Element|null} [parent=null] - Parent node.\n * @param  {string}       [directive]   - Directive.\n * @return {Array<Comment|Element|ProcessingInstruction|Text>}\n */\nfunction formatDOM(nodes, parent, directive) {\n  parent = parent || null;\n  var result = [];\n\n  for (var index = 0, len = nodes.length; index < len; index++) {\n    var node = nodes[index];\n    var current;\n\n    // set the node data given the type\n    switch (node.nodeType) {\n      case 1:\n        // script, style, or tag\n        current = new Element(\n          formatTagName(node.nodeName),\n          formatAttributes(node.attributes)\n        );\n        current.children = formatDOM(node.childNodes, current);\n        break;\n\n      case 3:\n        current = new Text(node.nodeValue);\n        break;\n\n      case 8:\n        current = new Comment(node.nodeValue);\n        break;\n\n      default:\n        continue;\n    }\n\n    // set previous node next\n    var prev = result[index - 1] || null;\n    if (prev) {\n      prev.next = current;\n    }\n\n    // set properties for current node\n    current.parent = parent;\n    current.prev = prev;\n    current.next = null;\n\n    result.push(current);\n  }\n\n  if (directive) {\n    current = new ProcessingInstruction(\n      directive.substring(0, directive.indexOf(' ')).toLowerCase(),\n      directive\n    );\n    current.next = result[0] || null;\n    current.parent = parent;\n    result.unshift(current);\n\n    if (result[1]) {\n      result[1].prev = result[0];\n    }\n  }\n\n  return result;\n}\n\n/**\n * Detects if browser is Internet Explorer.\n *\n * @return {boolean} - Whether IE is detected.\n */\nfunction isIE() {\n  return /(MSIE |Trident\\/|Edge\\/)/.test(navigator.userAgent);\n}\n\nmodule.exports = {\n  formatAttributes: formatAttributes,\n  formatDOM: formatDOM,\n  isIE: isIE\n};\n","var domToReact = require('./lib/dom-to-react');\nvar attributesToProps = require('./lib/attributes-to-props');\nvar htmlToDOM = require('html-dom-parser');\n\nvar domParserOptions = { lowerCaseAttributeNames: false };\n\n/**\n * Converts HTML string to React elements.\n *\n * @param  {String}   html                    - HTML string.\n * @param  {Object}   [options]               - Parser options.\n * @param  {Object}   [options.htmlparser2]   - htmlparser2 options.\n * @param  {Object}   [options.library]       - Library for React, Preact, etc.\n * @param  {Function} [options.replace]       - Replace method.\n * @return {JSX.Element|JSX.Element[]|String} - React element(s), empty array, or string.\n */\nfunction HTMLReactParser(html, options) {\n  if (typeof html !== 'string') {\n    throw new TypeError('First argument must be a string');\n  }\n  if (html === '') {\n    return [];\n  }\n  options = options || {};\n  return domToReact(\n    htmlToDOM(html, options.htmlparser2 || domParserOptions),\n    options\n  );\n}\n\nHTMLReactParser.domToReact = domToReact;\nHTMLReactParser.htmlToDOM = htmlToDOM;\nHTMLReactParser.attributesToProps = attributesToProps;\n\n// support CommonJS and ES Modules\nmodule.exports = HTMLReactParser;\nmodule.exports.default = HTMLReactParser;\n","var reactProperty = require('react-property');\nvar utilities = require('./utilities');\n\nvar setStyleProp = utilities.setStyleProp;\n\nvar htmlProperties = reactProperty.html;\nvar svgProperties = reactProperty.svg;\nvar isCustomAttribute = reactProperty.isCustomAttribute;\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * Converts HTML/SVG DOM attributes to React props.\n *\n * @param  {object} [attributes={}] - HTML/SVG DOM attributes.\n * @return {object}                 - React props.\n */\nfunction attributesToProps(attributes) {\n  attributes = attributes || {};\n\n  var attributeName;\n  var attributeNameLowerCased;\n  var attributeValue;\n  var property;\n  var props = {};\n\n  for (attributeName in attributes) {\n    attributeValue = attributes[attributeName];\n\n    // ARIA (aria-*) or custom data (data-*) attribute\n    if (isCustomAttribute(attributeName)) {\n      props[attributeName] = attributeValue;\n      continue;\n    }\n\n    // convert HTML attribute to React prop\n    attributeNameLowerCased = attributeName.toLowerCase();\n    if (hasOwnProperty.call(htmlProperties, attributeNameLowerCased)) {\n      property = htmlProperties[attributeNameLowerCased];\n      props[property.propertyName] =\n        property.hasBooleanValue ||\n        (property.hasOverloadedBooleanValue && !attributeValue)\n          ? true\n          : attributeValue;\n      continue;\n    }\n\n    // convert SVG attribute to React prop\n    if (hasOwnProperty.call(svgProperties, attributeName)) {\n      property = svgProperties[attributeName];\n      props[property.propertyName] = attributeValue;\n      continue;\n    }\n\n    // preserve custom attribute if React >=16\n    if (utilities.PRESERVE_CUSTOM_ATTRIBUTES) {\n      props[attributeName] = attributeValue;\n    }\n  }\n\n  // transform inline style to object\n  setStyleProp(attributes.style, props);\n\n  return props;\n}\n\nmodule.exports = attributesToProps;\n","var React = require('react');\nvar attributesToProps = require('./attributes-to-props');\nvar utilities = require('./utilities');\n\nvar setStyleProp = utilities.setStyleProp;\n\n/**\n * Converts DOM nodes to JSX element(s).\n *\n * @param  {DomElement[]} nodes             - DOM nodes.\n * @param  {object}       [options={}]      - Options.\n * @param  {Function}     [options.replace] - Replacer.\n * @param  {object}       [options.library] - Library (React/Preact/etc.).\n * @return {string|JSX.Element|JSX.Element[]}\n */\nfunction domToReact(nodes, options) {\n  options = options || {};\n\n  var library = options.library || React;\n  var cloneElement = library.cloneElement;\n  var createElement = library.createElement;\n  var isValidElement = library.isValidElement;\n\n  var result = [];\n  var node;\n  var hasReplace = typeof options.replace === 'function';\n  var replaceElement;\n  var props;\n  var children;\n  var data;\n  var trim = options.trim;\n\n  for (var i = 0, len = nodes.length; i < len; i++) {\n    node = nodes[i];\n\n    // replace with custom React element (if present)\n    if (hasReplace) {\n      replaceElement = options.replace(node);\n\n      if (isValidElement(replaceElement)) {\n        // set \"key\" prop for sibling elements\n        // https://fb.me/react-warning-keys\n        if (len > 1) {\n          replaceElement = cloneElement(replaceElement, {\n            key: replaceElement.key || i\n          });\n        }\n        result.push(replaceElement);\n        continue;\n      }\n    }\n\n    if (node.type === 'text') {\n      // if trim option is enabled, skip whitespace text nodes\n      if (trim) {\n        data = node.data.trim();\n        if (data) {\n          result.push(node.data);\n        }\n      } else {\n        result.push(node.data);\n      }\n      continue;\n    }\n\n    props = node.attribs;\n    if (skipAttributesToProps(node)) {\n      setStyleProp(props.style, props);\n    } else if (props) {\n      props = attributesToProps(props);\n    }\n\n    children = null;\n\n    switch (node.type) {\n      case 'script':\n      case 'style':\n        // prevent text in <script> or <style> from being escaped\n        // https://reactjs.org/docs/dom-elements.html#dangerouslysetinnerhtml\n        if (node.children[0]) {\n          props.dangerouslySetInnerHTML = {\n            __html: node.children[0].data\n          };\n        }\n        break;\n\n      case 'tag':\n        // setting textarea value in children is an antipattern in React\n        // https://reactjs.org/docs/forms.html#the-textarea-tag\n        if (node.name === 'textarea' && node.children[0]) {\n          props.defaultValue = node.children[0].data;\n        } else if (node.children && node.children.length) {\n          // continue recursion of creating React elements (if applicable)\n          children = domToReact(node.children, options);\n        }\n        break;\n\n      // skip all other cases (e.g., comment)\n      default:\n        continue;\n    }\n\n    // set \"key\" prop for sibling elements\n    // https://fb.me/react-warning-keys\n    if (len > 1) {\n      props.key = i;\n    }\n\n    result.push(createElement(node.name, props, children));\n  }\n\n  return result.length === 1 ? result[0] : result;\n}\n\n/**\n * Determines whether DOM element attributes should be transformed to props.\n * Web Components should not have their attributes transformed except for `style`.\n *\n * @param  {DomElement} node\n * @return {boolean}\n */\nfunction skipAttributesToProps(node) {\n  return (\n    utilities.PRESERVE_CUSTOM_ATTRIBUTES &&\n    node.type === 'tag' &&\n    utilities.isCustomComponent(node.name, node.attribs)\n  );\n}\n\nmodule.exports = domToReact;\n","var React = require('react');\nvar styleToJS = require('style-to-js').default;\n\n/**\n * Swap key with value in an object.\n *\n * @param  {Object}   obj        - The object.\n * @param  {Function} [override] - The override method.\n * @return {Object}              - The inverted object.\n */\nfunction invertObject(obj, override) {\n  if (!obj || typeof obj !== 'object') {\n    throw new TypeError('First argument must be an object');\n  }\n\n  var key;\n  var value;\n  var isOverridePresent = typeof override === 'function';\n  var overrides = {};\n  var result = {};\n\n  for (key in obj) {\n    value = obj[key];\n\n    if (isOverridePresent) {\n      overrides = override(key, value);\n      if (overrides && overrides.length === 2) {\n        result[overrides[0]] = overrides[1];\n        continue;\n      }\n    }\n\n    if (typeof value === 'string') {\n      result[value] = key;\n    }\n  }\n\n  return result;\n}\n\n/**\n * Check if a given tag is a custom component.\n *\n * @see {@link https://github.com/facebook/react/blob/v16.6.3/packages/react-dom/src/shared/isCustomComponent.js}\n *\n * @param {string} tagName - The name of the html tag.\n * @param {Object} props   - The props being passed to the element.\n * @return {boolean}\n */\nfunction isCustomComponent(tagName, props) {\n  if (tagName.indexOf('-') === -1) {\n    return props && typeof props.is === 'string';\n  }\n\n  switch (tagName) {\n    // These are reserved SVG and MathML elements.\n    // We don't mind this whitelist too much because we expect it to never grow.\n    // The alternative is to track the namespace in a few places which is convoluted.\n    // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts\n    case 'annotation-xml':\n    case 'color-profile':\n    case 'font-face':\n    case 'font-face-src':\n    case 'font-face-uri':\n    case 'font-face-format':\n    case 'font-face-name':\n    case 'missing-glyph':\n      return false;\n    default:\n      return true;\n  }\n}\n\nvar styleToJSOptions = { reactCompat: true };\n\n/**\n * Sets style prop.\n *\n * @param {null|undefined|string} style\n * @param {object} props\n */\nfunction setStyleProp(style, props) {\n  if (style === null || style === undefined) {\n    return;\n  }\n  props.style = styleToJS(style, styleToJSOptions);\n}\n\n/**\n * @constant {boolean}\n * @see {@link https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html}\n */\nvar PRESERVE_CUSTOM_ATTRIBUTES = React.version.split('.')[0] >= 16;\n\nmodule.exports = {\n  PRESERVE_CUSTOM_ATTRIBUTES: PRESERVE_CUSTOM_ATTRIBUTES,\n  invertObject: invertObject,\n  isCustomComponent: isCustomComponent,\n  setStyleProp: setStyleProp\n};\n","// http://www.w3.org/TR/CSS21/grammar.html\n// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027\nvar COMMENT_REGEX = /\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g;\n\nvar NEWLINE_REGEX = /\\n/g;\nvar WHITESPACE_REGEX = /^\\s*/;\n\n// declaration\nvar PROPERTY_REGEX = /^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/;\nvar COLON_REGEX = /^:\\s*/;\nvar VALUE_REGEX = /^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/;\nvar SEMICOLON_REGEX = /^[;\\s]*/;\n\n// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill\nvar TRIM_REGEX = /^\\s+|\\s+$/g;\n\n// strings\nvar NEWLINE = '\\n';\nvar FORWARD_SLASH = '/';\nvar ASTERISK = '*';\nvar EMPTY_STRING = '';\n\n// types\nvar TYPE_COMMENT = 'comment';\nvar TYPE_DECLARATION = 'declaration';\n\n/**\n * @param {String} style\n * @param {Object} [options]\n * @return {Object[]}\n * @throws {TypeError}\n * @throws {Error}\n */\nmodule.exports = function(style, options) {\n  if (typeof style !== 'string') {\n    throw new TypeError('First argument must be a string');\n  }\n\n  if (!style) return [];\n\n  options = options || {};\n\n  /**\n   * Positional.\n   */\n  var lineno = 1;\n  var column = 1;\n\n  /**\n   * Update lineno and column based on `str`.\n   *\n   * @param {String} str\n   */\n  function updatePosition(str) {\n    var lines = str.match(NEWLINE_REGEX);\n    if (lines) lineno += lines.length;\n    var i = str.lastIndexOf(NEWLINE);\n    column = ~i ? str.length - i : column + str.length;\n  }\n\n  /**\n   * Mark position and patch `node.position`.\n   *\n   * @return {Function}\n   */\n  function position() {\n    var start = { line: lineno, column: column };\n    return function(node) {\n      node.position = new Position(start);\n      whitespace();\n      return node;\n    };\n  }\n\n  /**\n   * Store position information for a node.\n   *\n   * @constructor\n   * @property {Object} start\n   * @property {Object} end\n   * @property {undefined|String} source\n   */\n  function Position(start) {\n    this.start = start;\n    this.end = { line: lineno, column: column };\n    this.source = options.source;\n  }\n\n  /**\n   * Non-enumerable source string.\n   */\n  Position.prototype.content = style;\n\n  var errorsList = [];\n\n  /**\n   * Error `msg`.\n   *\n   * @param {String} msg\n   * @throws {Error}\n   */\n  function error(msg) {\n    var err = new Error(\n      options.source + ':' + lineno + ':' + column + ': ' + msg\n    );\n    err.reason = msg;\n    err.filename = options.source;\n    err.line = lineno;\n    err.column = column;\n    err.source = style;\n\n    if (options.silent) {\n      errorsList.push(err);\n    } else {\n      throw err;\n    }\n  }\n\n  /**\n   * Match `re` and return captures.\n   *\n   * @param {RegExp} re\n   * @return {undefined|Array}\n   */\n  function match(re) {\n    var m = re.exec(style);\n    if (!m) return;\n    var str = m[0];\n    updatePosition(str);\n    style = style.slice(str.length);\n    return m;\n  }\n\n  /**\n   * Parse whitespace.\n   */\n  function whitespace() {\n    match(WHITESPACE_REGEX);\n  }\n\n  /**\n   * Parse comments.\n   *\n   * @param {Object[]} [rules]\n   * @return {Object[]}\n   */\n  function comments(rules) {\n    var c;\n    rules = rules || [];\n    while ((c = comment())) {\n      if (c !== false) {\n        rules.push(c);\n      }\n    }\n    return rules;\n  }\n\n  /**\n   * Parse comment.\n   *\n   * @return {Object}\n   * @throws {Error}\n   */\n  function comment() {\n    var pos = position();\n    if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;\n\n    var i = 2;\n    while (\n      EMPTY_STRING != style.charAt(i) &&\n      (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))\n    ) {\n      ++i;\n    }\n    i += 2;\n\n    if (EMPTY_STRING === style.charAt(i - 1)) {\n      return error('End of comment missing');\n    }\n\n    var str = style.slice(2, i - 2);\n    column += 2;\n    updatePosition(str);\n    style = style.slice(i);\n    column += 2;\n\n    return pos({\n      type: TYPE_COMMENT,\n      comment: str\n    });\n  }\n\n  /**\n   * Parse declaration.\n   *\n   * @return {Object}\n   * @throws {Error}\n   */\n  function declaration() {\n    var pos = position();\n\n    // prop\n    var prop = match(PROPERTY_REGEX);\n    if (!prop) return;\n    comment();\n\n    // :\n    if (!match(COLON_REGEX)) return error(\"property missing ':'\");\n\n    // val\n    var val = match(VALUE_REGEX);\n\n    var ret = pos({\n      type: TYPE_DECLARATION,\n      property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),\n      value: val\n        ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING))\n        : EMPTY_STRING\n    });\n\n    // ;\n    match(SEMICOLON_REGEX);\n\n    return ret;\n  }\n\n  /**\n   * Parse declarations.\n   *\n   * @return {Object[]}\n   */\n  function declarations() {\n    var decls = [];\n\n    comments(decls);\n\n    // declarations\n    var decl;\n    while ((decl = declaration())) {\n      if (decl !== false) {\n        decls.push(decl);\n        comments(decls);\n      }\n    }\n\n    return decls;\n  }\n\n  whitespace();\n  return declarations();\n};\n\n/**\n * Trim `str`.\n *\n * @param {String} str\n * @return {String}\n */\nfunction trim(str) {\n  return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;\n}\n","var HTMLDOMPropertyConfig = require('./lib/HTMLDOMPropertyConfig');\nvar SVGDOMPropertyConfig = require('./lib/SVGDOMPropertyConfig');\nvar injection = require('./lib/injection');\n\nvar MUST_USE_PROPERTY = injection.MUST_USE_PROPERTY;\nvar HAS_BOOLEAN_VALUE = injection.HAS_BOOLEAN_VALUE;\nvar HAS_NUMERIC_VALUE = injection.HAS_NUMERIC_VALUE;\nvar HAS_POSITIVE_NUMERIC_VALUE = injection.HAS_POSITIVE_NUMERIC_VALUE;\nvar HAS_OVERLOADED_BOOLEAN_VALUE = injection.HAS_OVERLOADED_BOOLEAN_VALUE;\n\n/**\n * @see https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/DOMProperty.js#L14-L16\n *\n * @param  {Number}  value\n * @param  {Number}  bitmask\n * @return {Boolean}\n */\nfunction checkMask(value, bitmask) {\n  return (value & bitmask) === bitmask;\n}\n\n/**\n * @see https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/DOMProperty.js#L57\n *\n * @param {Object}  domPropertyConfig - HTMLDOMPropertyConfig or SVGDOMPropertyConfig\n * @param {Object}  config            - The object to be mutated\n * @param {Boolean} isSVG             - Whether the injected config is HTML or SVG (it assumes the default is HTML)\n */\nfunction injectDOMPropertyConfig(domPropertyConfig, config, isSVG) {\n  var Properties = domPropertyConfig.Properties;\n  var DOMAttributeNames = domPropertyConfig.DOMAttributeNames;\n  var attributeName;\n  var propertyName;\n  var propConfig;\n\n  for (propertyName in Properties) {\n    attributeName =\n      DOMAttributeNames[propertyName] ||\n      (isSVG ? propertyName : propertyName.toLowerCase());\n    propConfig = Properties[propertyName];\n\n    config[attributeName] = {\n      attributeName: attributeName,\n      propertyName: propertyName,\n      mustUseProperty: checkMask(propConfig, MUST_USE_PROPERTY),\n      hasBooleanValue: checkMask(propConfig, HAS_BOOLEAN_VALUE),\n      hasNumericValue: checkMask(propConfig, HAS_NUMERIC_VALUE),\n      hasPositiveNumericValue: checkMask(\n        propConfig,\n        HAS_POSITIVE_NUMERIC_VALUE\n      ),\n      hasOverloadedBooleanValue: checkMask(\n        propConfig,\n        HAS_OVERLOADED_BOOLEAN_VALUE\n      )\n    };\n  }\n}\n\n/**\n * HTML properties config.\n *\n * @type {Object}\n */\nvar html = {};\ninjectDOMPropertyConfig(HTMLDOMPropertyConfig, html);\n\n/**\n * SVG properties config.\n *\n * @type {Object}\n */\nvar svg = {};\ninjectDOMPropertyConfig(SVGDOMPropertyConfig, svg, true);\n\n/**\n * HTML and SVG properties config.\n *\n * @type {Object}\n */\nvar properties = {};\ninjectDOMPropertyConfig(HTMLDOMPropertyConfig, properties);\ninjectDOMPropertyConfig(SVGDOMPropertyConfig, properties, true);\n\nvar ATTRIBUTE_NAME_START_CHAR =\n  ':A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\nvar ATTRIBUTE_NAME_CHAR =\n  ATTRIBUTE_NAME_START_CHAR + '\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040';\n\nmodule.exports = {\n  html: html,\n  svg: svg,\n  properties: properties,\n\n  /**\n   * Checks whether a property name is a custom attribute.\n   *\n   * @see https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L23-L25\n   *\n   * @param {String}\n   * @return {Boolean}\n   */\n  isCustomAttribute: RegExp.prototype.test.bind(\n    new RegExp('^(data|aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$')\n  )\n};\n","module.exports = {\n  Properties: {\n    autoFocus: 4,\n    accept: 0,\n    acceptCharset: 0,\n    accessKey: 0,\n    action: 0,\n    allowFullScreen: 4,\n    allowTransparency: 0,\n    alt: 0,\n    as: 0,\n    async: 4,\n    autoComplete: 0,\n    autoPlay: 4,\n    capture: 4,\n    cellPadding: 0,\n    cellSpacing: 0,\n    charSet: 0,\n    challenge: 0,\n    checked: 5,\n    cite: 0,\n    classID: 0,\n    className: 0,\n    cols: 24,\n    colSpan: 0,\n    content: 0,\n    contentEditable: 0,\n    contextMenu: 0,\n    controls: 4,\n    controlsList: 0,\n    coords: 0,\n    crossOrigin: 0,\n    data: 0,\n    dateTime: 0,\n    default: 4,\n    defer: 4,\n    dir: 0,\n    disabled: 4,\n    download: 32,\n    draggable: 0,\n    encType: 0,\n    form: 0,\n    formAction: 0,\n    formEncType: 0,\n    formMethod: 0,\n    formNoValidate: 4,\n    formTarget: 0,\n    frameBorder: 0,\n    headers: 0,\n    height: 0,\n    hidden: 4,\n    high: 0,\n    href: 0,\n    hrefLang: 0,\n    htmlFor: 0,\n    httpEquiv: 0,\n    icon: 0,\n    id: 0,\n    inputMode: 0,\n    integrity: 0,\n    is: 0,\n    keyParams: 0,\n    keyType: 0,\n    kind: 0,\n    label: 0,\n    lang: 0,\n    list: 0,\n    loop: 4,\n    low: 0,\n    manifest: 0,\n    marginHeight: 0,\n    marginWidth: 0,\n    max: 0,\n    maxLength: 0,\n    media: 0,\n    mediaGroup: 0,\n    method: 0,\n    min: 0,\n    minLength: 0,\n    multiple: 5,\n    muted: 5,\n    name: 0,\n    nonce: 0,\n    noValidate: 4,\n    open: 4,\n    optimum: 0,\n    pattern: 0,\n    placeholder: 0,\n    playsInline: 4,\n    poster: 0,\n    preload: 0,\n    profile: 0,\n    radioGroup: 0,\n    readOnly: 4,\n    referrerPolicy: 0,\n    rel: 0,\n    required: 4,\n    reversed: 4,\n    role: 0,\n    rows: 24,\n    rowSpan: 8,\n    sandbox: 0,\n    scope: 0,\n    scoped: 4,\n    scrolling: 0,\n    seamless: 4,\n    selected: 5,\n    shape: 0,\n    size: 24,\n    sizes: 0,\n    span: 24,\n    spellCheck: 0,\n    src: 0,\n    srcDoc: 0,\n    srcLang: 0,\n    srcSet: 0,\n    start: 8,\n    step: 0,\n    style: 0,\n    summary: 0,\n    tabIndex: 0,\n    target: 0,\n    title: 0,\n    type: 0,\n    useMap: 0,\n    value: 0,\n    width: 0,\n    wmode: 0,\n    wrap: 0,\n    about: 0,\n    datatype: 0,\n    inlist: 0,\n    prefix: 0,\n    property: 0,\n    resource: 0,\n    typeof: 0,\n    vocab: 0,\n    autoCapitalize: 0,\n    autoCorrect: 0,\n    autoSave: 0,\n    color: 0,\n    itemProp: 0,\n    itemScope: 4,\n    itemType: 0,\n    itemID: 0,\n    itemRef: 0,\n    results: 0,\n    security: 0,\n    unselectable: 0\n  },\n  DOMAttributeNames: {\n    acceptCharset: 'accept-charset',\n    className: 'class',\n    htmlFor: 'for',\n    httpEquiv: 'http-equiv'\n  }\n};\n","module.exports = {\n  Properties: {\n    accentHeight: 0,\n    accumulate: 0,\n    additive: 0,\n    alignmentBaseline: 0,\n    allowReorder: 0,\n    alphabetic: 0,\n    amplitude: 0,\n    arabicForm: 0,\n    ascent: 0,\n    attributeName: 0,\n    attributeType: 0,\n    autoReverse: 0,\n    azimuth: 0,\n    baseFrequency: 0,\n    baseProfile: 0,\n    baselineShift: 0,\n    bbox: 0,\n    begin: 0,\n    bias: 0,\n    by: 0,\n    calcMode: 0,\n    capHeight: 0,\n    clip: 0,\n    clipPath: 0,\n    clipRule: 0,\n    clipPathUnits: 0,\n    colorInterpolation: 0,\n    colorInterpolationFilters: 0,\n    colorProfile: 0,\n    colorRendering: 0,\n    contentScriptType: 0,\n    contentStyleType: 0,\n    cursor: 0,\n    cx: 0,\n    cy: 0,\n    d: 0,\n    decelerate: 0,\n    descent: 0,\n    diffuseConstant: 0,\n    direction: 0,\n    display: 0,\n    divisor: 0,\n    dominantBaseline: 0,\n    dur: 0,\n    dx: 0,\n    dy: 0,\n    edgeMode: 0,\n    elevation: 0,\n    enableBackground: 0,\n    end: 0,\n    exponent: 0,\n    externalResourcesRequired: 0,\n    fill: 0,\n    fillOpacity: 0,\n    fillRule: 0,\n    filter: 0,\n    filterRes: 0,\n    filterUnits: 0,\n    floodColor: 0,\n    floodOpacity: 0,\n    focusable: 0,\n    fontFamily: 0,\n    fontSize: 0,\n    fontSizeAdjust: 0,\n    fontStretch: 0,\n    fontStyle: 0,\n    fontVariant: 0,\n    fontWeight: 0,\n    format: 0,\n    from: 0,\n    fx: 0,\n    fy: 0,\n    g1: 0,\n    g2: 0,\n    glyphName: 0,\n    glyphOrientationHorizontal: 0,\n    glyphOrientationVertical: 0,\n    glyphRef: 0,\n    gradientTransform: 0,\n    gradientUnits: 0,\n    hanging: 0,\n    horizAdvX: 0,\n    horizOriginX: 0,\n    ideographic: 0,\n    imageRendering: 0,\n    in: 0,\n    in2: 0,\n    intercept: 0,\n    k: 0,\n    k1: 0,\n    k2: 0,\n    k3: 0,\n    k4: 0,\n    kernelMatrix: 0,\n    kernelUnitLength: 0,\n    kerning: 0,\n    keyPoints: 0,\n    keySplines: 0,\n    keyTimes: 0,\n    lengthAdjust: 0,\n    letterSpacing: 0,\n    lightingColor: 0,\n    limitingConeAngle: 0,\n    local: 0,\n    markerEnd: 0,\n    markerMid: 0,\n    markerStart: 0,\n    markerHeight: 0,\n    markerUnits: 0,\n    markerWidth: 0,\n    mask: 0,\n    maskContentUnits: 0,\n    maskUnits: 0,\n    mathematical: 0,\n    mode: 0,\n    numOctaves: 0,\n    offset: 0,\n    opacity: 0,\n    operator: 0,\n    order: 0,\n    orient: 0,\n    orientation: 0,\n    origin: 0,\n    overflow: 0,\n    overlinePosition: 0,\n    overlineThickness: 0,\n    paintOrder: 0,\n    panose1: 0,\n    pathLength: 0,\n    patternContentUnits: 0,\n    patternTransform: 0,\n    patternUnits: 0,\n    pointerEvents: 0,\n    points: 0,\n    pointsAtX: 0,\n    pointsAtY: 0,\n    pointsAtZ: 0,\n    preserveAlpha: 0,\n    preserveAspectRatio: 0,\n    primitiveUnits: 0,\n    r: 0,\n    radius: 0,\n    refX: 0,\n    refY: 0,\n    renderingIntent: 0,\n    repeatCount: 0,\n    repeatDur: 0,\n    requiredExtensions: 0,\n    requiredFeatures: 0,\n    restart: 0,\n    result: 0,\n    rotate: 0,\n    rx: 0,\n    ry: 0,\n    scale: 0,\n    seed: 0,\n    shapeRendering: 0,\n    slope: 0,\n    spacing: 0,\n    specularConstant: 0,\n    specularExponent: 0,\n    speed: 0,\n    spreadMethod: 0,\n    startOffset: 0,\n    stdDeviation: 0,\n    stemh: 0,\n    stemv: 0,\n    stitchTiles: 0,\n    stopColor: 0,\n    stopOpacity: 0,\n    strikethroughPosition: 0,\n    strikethroughThickness: 0,\n    string: 0,\n    stroke: 0,\n    strokeDasharray: 0,\n    strokeDashoffset: 0,\n    strokeLinecap: 0,\n    strokeLinejoin: 0,\n    strokeMiterlimit: 0,\n    strokeOpacity: 0,\n    strokeWidth: 0,\n    surfaceScale: 0,\n    systemLanguage: 0,\n    tableValues: 0,\n    targetX: 0,\n    targetY: 0,\n    textAnchor: 0,\n    textDecoration: 0,\n    textRendering: 0,\n    textLength: 0,\n    to: 0,\n    transform: 0,\n    u1: 0,\n    u2: 0,\n    underlinePosition: 0,\n    underlineThickness: 0,\n    unicode: 0,\n    unicodeBidi: 0,\n    unicodeRange: 0,\n    unitsPerEm: 0,\n    vAlphabetic: 0,\n    vHanging: 0,\n    vIdeographic: 0,\n    vMathematical: 0,\n    values: 0,\n    vectorEffect: 0,\n    version: 0,\n    vertAdvY: 0,\n    vertOriginX: 0,\n    vertOriginY: 0,\n    viewBox: 0,\n    viewTarget: 0,\n    visibility: 0,\n    widths: 0,\n    wordSpacing: 0,\n    writingMode: 0,\n    x: 0,\n    xHeight: 0,\n    x1: 0,\n    x2: 0,\n    xChannelSelector: 0,\n    xlinkActuate: 0,\n    xlinkArcrole: 0,\n    xlinkHref: 0,\n    xlinkRole: 0,\n    xlinkShow: 0,\n    xlinkTitle: 0,\n    xlinkType: 0,\n    xmlBase: 0,\n    xmlns: 0,\n    xmlnsXlink: 0,\n    xmlLang: 0,\n    xmlSpace: 0,\n    y: 0,\n    y1: 0,\n    y2: 0,\n    yChannelSelector: 0,\n    z: 0,\n    zoomAndPan: 0\n  },\n  DOMAttributeNames: {\n    accentHeight: 'accent-height',\n    alignmentBaseline: 'alignment-baseline',\n    arabicForm: 'arabic-form',\n    baselineShift: 'baseline-shift',\n    capHeight: 'cap-height',\n    clipPath: 'clip-path',\n    clipRule: 'clip-rule',\n    colorInterpolation: 'color-interpolation',\n    colorInterpolationFilters: 'color-interpolation-filters',\n    colorProfile: 'color-profile',\n    colorRendering: 'color-rendering',\n    dominantBaseline: 'dominant-baseline',\n    enableBackground: 'enable-background',\n    fillOpacity: 'fill-opacity',\n    fillRule: 'fill-rule',\n    floodColor: 'flood-color',\n    floodOpacity: 'flood-opacity',\n    fontFamily: 'font-family',\n    fontSize: 'font-size',\n    fontSizeAdjust: 'font-size-adjust',\n    fontStretch: 'font-stretch',\n    fontStyle: 'font-style',\n    fontVariant: 'font-variant',\n    fontWeight: 'font-weight',\n    glyphName: 'glyph-name',\n    glyphOrientationHorizontal: 'glyph-orientation-horizontal',\n    glyphOrientationVertical: 'glyph-orientation-vertical',\n    horizAdvX: 'horiz-adv-x',\n    horizOriginX: 'horiz-origin-x',\n    imageRendering: 'image-rendering',\n    letterSpacing: 'letter-spacing',\n    lightingColor: 'lighting-color',\n    markerEnd: 'marker-end',\n    markerMid: 'marker-mid',\n    markerStart: 'marker-start',\n    overlinePosition: 'overline-position',\n    overlineThickness: 'overline-thickness',\n    paintOrder: 'paint-order',\n    panose1: 'panose-1',\n    pointerEvents: 'pointer-events',\n    renderingIntent: 'rendering-intent',\n    shapeRendering: 'shape-rendering',\n    stopColor: 'stop-color',\n    stopOpacity: 'stop-opacity',\n    strikethroughPosition: 'strikethrough-position',\n    strikethroughThickness: 'strikethrough-thickness',\n    strokeDasharray: 'stroke-dasharray',\n    strokeDashoffset: 'stroke-dashoffset',\n    strokeLinecap: 'stroke-linecap',\n    strokeLinejoin: 'stroke-linejoin',\n    strokeMiterlimit: 'stroke-miterlimit',\n    strokeOpacity: 'stroke-opacity',\n    strokeWidth: 'stroke-width',\n    textAnchor: 'text-anchor',\n    textDecoration: 'text-decoration',\n    textRendering: 'text-rendering',\n    underlinePosition: 'underline-position',\n    underlineThickness: 'underline-thickness',\n    unicodeBidi: 'unicode-bidi',\n    unicodeRange: 'unicode-range',\n    unitsPerEm: 'units-per-em',\n    vAlphabetic: 'v-alphabetic',\n    vHanging: 'v-hanging',\n    vIdeographic: 'v-ideographic',\n    vMathematical: 'v-mathematical',\n    vectorEffect: 'vector-effect',\n    vertAdvY: 'vert-adv-y',\n    vertOriginX: 'vert-origin-x',\n    vertOriginY: 'vert-origin-y',\n    wordSpacing: 'word-spacing',\n    writingMode: 'writing-mode',\n    xHeight: 'x-height',\n    xlinkActuate: 'xlink:actuate',\n    xlinkArcrole: 'xlink:arcrole',\n    xlinkHref: 'xlink:href',\n    xlinkRole: 'xlink:role',\n    xlinkShow: 'xlink:show',\n    xlinkTitle: 'xlink:title',\n    xlinkType: 'xlink:type',\n    xmlBase: 'xml:base',\n    xmlnsXlink: 'xmlns:xlink',\n    xmlLang: 'xml:lang',\n    xmlSpace: 'xml:space'\n  }\n};\n","module.exports = {\n  MUST_USE_PROPERTY: 1,\n  HAS_BOOLEAN_VALUE: 4,\n  HAS_NUMERIC_VALUE: 8,\n  HAS_POSITIVE_NUMERIC_VALUE: 24,\n  HAS_OVERLOADED_BOOLEAN_VALUE: 32\n};\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nexports.__esModule = true;\nvar style_to_object_1 = __importDefault(require(\"style-to-object\"));\nvar utilities_1 = require(\"./utilities\");\nfunction StyleToJS(style, options) {\n    var output = {};\n    if (!style || typeof style !== 'string') {\n        return output;\n    }\n    style_to_object_1[\"default\"](style, function (property, value) {\n        if (property && value) {\n            output[utilities_1.camelCase(property, options)] = value;\n        }\n    });\n    return output;\n}\nexports[\"default\"] = StyleToJS;\n","\"use strict\";\nexports.__esModule = true;\nexports.camelCase = void 0;\nvar CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9-]+$/;\nvar HYPHEN_REGEX = /-([a-z])/g;\nvar NO_HYPHEN_REGEX = /^[^-]+$/;\nvar VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/;\nvar skipCamelCase = function (property) {\n    return !property ||\n        NO_HYPHEN_REGEX.test(property) ||\n        CUSTOM_PROPERTY_REGEX.test(property);\n};\nvar capitalize = function (match, character) {\n    return character.toUpperCase();\n};\nvar trimHyphen = function (match, prefix) { return prefix + \"-\"; };\nvar camelCase = function (property, options) {\n    if (options === void 0) { options = {}; }\n    if (skipCamelCase(property)) {\n        return property;\n    }\n    property = property.toLowerCase();\n    if (!options.reactCompat) {\n        property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen);\n    }\n    return property.replace(HYPHEN_REGEX, capitalize);\n};\nexports.camelCase = camelCase;\n","var parse = require('inline-style-parser');\n\n/**\n * Parses inline style to object.\n *\n * @example\n * // returns { 'line-height': '42' }\n * StyleToObject('line-height: 42;');\n *\n * @param  {String}      style      - The inline style.\n * @param  {Function}    [iterator] - The iterator function.\n * @return {null|Object}\n */\nfunction StyleToObject(style, iterator) {\n  var output = null;\n  if (!style || typeof style !== 'string') {\n    return output;\n  }\n\n  var declaration;\n  var declarations = parse(style);\n  var hasIterator = typeof iterator === 'function';\n  var property;\n  var value;\n\n  for (var i = 0, len = declarations.length; i < len; i++) {\n    declaration = declarations[i];\n    property = declaration.property;\n    value = declaration.value;\n\n    if (hasIterator) {\n      iterator(property, value, declaration);\n    } else if (value) {\n      output || (output = {});\n      output[property] = value;\n    }\n  }\n\n  return output;\n}\n\nmodule.exports = StyleToObject;\n","module.exports = window[\"React\"];","module.exports = window[\"ReactDOM\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"./webpack-chunks/chunk.\" + chunkId + \".\" + {\"37\":\"027bd065a36f3f2e42a0\",\"97\":\"ded132803358326dc886\",\"326\":\"b6b582cf318406352057\",\"352\":\"a63e21d820e26869ed5f\",\"428\":\"7ef9b77d664d83656be0\",\"937\":\"214635ce68ca0df4982b\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t506: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkkrusteaz_website\"] = self[\"webpackChunkkrusteaz_website\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","var __WEBPACK_NAMESPACE_OBJECT__ = window[\"wp\"][\"element\"];","import { Component, createRef } from \"@wordpress/element\";\n\nexport default class Accordion extends Component {\n\tconstructor() {\n\t\tsuper(...arguments);\n\n\t\tthis.accordionRef = createRef();\n\t\tthis.state = {\n\t\t\tactive: 0,\n\t\t\tcurrentFocus: 0,\n\t\t\tisFocused: false,\n\t\t};\n\t}\n\n\tupdateActiveIdx(active, takeFocus = false) {\n\t\t// this.setState({ active, currentFocus: active });\n\t\tthis.setState({ active });\n\t}\n\n\trender() {\n\t\t// console.log(78, this.props);\n\t\tlet { children } = this.props;\n\n\t\tif (!this.props.isAdmin) {\n\t\t\tchildren = Array.isArray(children) ? children : [children];\n\t\t\tchildren = children.map((child, idx) => {\n\t\t\t\treturn wp.element.cloneElement(child, {\n\t\t\t\t\tactive: this.state.active === idx,\n\t\t\t\t\tanchor: this.props.anchor,\n\t\t\t\t\tidx,\n\t\t\t\t\tcurrentFocus: this.state.currentFocus,\n\n\t\t\t\t\tonClick: (e, idx) => {\n\t\t\t\t\t\te.preventDefault();\n\n\t\t\t\t\t\tconst newActiveIdx = this.state.active === idx ? -1 : idx;\n\t\t\t\t\t\tthis.updateActiveIdx(newActiveIdx, true);\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tdata-react=\"Accordion\"\n\t\t\t\tdata-props={JSON.stringify(this.props.attributes)}\n\t\t\t\tclassName={`accordion accordion-wrapper ${this.props.className}`}\n\t\t\t\tref={this.accordionRef}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t);\n\t}\n}\n","const AccordionPanel = (props) => {\n\tconst { children, ...rest } = props;\n\tconst { outerLookAndFeelClass = \"\" } = rest;\n\t// console.log(children);\n\treturn (\n\t\t<div data-react=\"AccordionPanel\" className={outerLookAndFeelClass}>\n\t\t\t{!children.map\n\t\t\t\t? children\n\t\t\t\t: children.map((child, idx) => {\n\t\t\t\t\t\treturn wp.element.cloneElement(child, rest);\n\t\t\t\t  })}\n\t\t</div>\n\t);\n};\n\nexport default AccordionPanel;\n","var _g;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nconst SvgPlus = props => /*#__PURE__*/React.createElement(\"svg\", _extends({\n  viewBox: \"0 0 12 12\",\n  xmlns: \"http://www.w3.org/2000/svg\"\n}, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n  stroke: \"currentColor\",\n  strokeWidth: 2,\n  fill: \"none\",\n  fillRule: \"evenodd\",\n  strokeLinecap: \"square\"\n}, /*#__PURE__*/React.createElement(\"path\", {\n  d: \"M6 1.238v9.524M11 6H1\"\n}))));\nexport default SvgPlus;","import Plus from \"../../../../assets/icons/plus.svg\";\n\nexport default function icon(props) {\n\treturn <Plus {...props} />;\n}\n","import classnames from \"classnames\";\nimport DefaultIcon from \"../components/icon.jsx\";\nconst AccordionHeading = (props) => {\n\t// console.log(\"accordion heading props\", props);\n\tconst {\n\t\t// accessibilityClasses = \"hover:bg-primary-200 focus:bg-gray-200\",\n\t\taccessibilityClasses = \"\",\n\t\t// activeClasses = \"text-gray-500\",\n\t\tactiveClasses = \"\",\n\t\tlookAndFeelClasses = \"text-left p-2\",\n\t\tonClick = () => {\n\t\t\tconsole.warn(\n\t\t\t\t\"[ACCORDION HEADING]: Click handlers not bound in this context. If you find yourself seeing this message outside of the context of a backend system, please check props being passed in.\"\n\t\t\t);\n\t\t},\n\t\tonKeyDown = () => {\n\t\t\tconsole.warn(\n\t\t\t\t\"[ACCORDION HEADING]: Key down handlers not bound in this context. If you find yourself seeing this message outside of the context of a backend system, please check props being passed in.\"\n\t\t\t);\n\t\t},\n\t\tisAdmin = false,\n\t\tactive = false,\n\t\tidx = -1,\n\t\tshowIcon = true,\n\t\tanchor = \"accordion-anchor\",\n\t} = props;\n\n\tconst ButtonType = isAdmin ? \"div\" : \"button\";\n\treturn (\n\t\t<ButtonType\n\t\t\tid={`${anchor}-${idx}-heading`}\n\t\t\taria-controls={`${anchor}-${idx}-body`}\n\t\t\tdata-react=\"AccordionHeading\"\n\t\t\tclassName={classnames(\n\t\t\t\t`w-full flex justify-between items-center`,\n\t\t\t\taccessibilityClasses,\n\t\t\t\tlookAndFeelClasses,\n\t\t\t\tactiveClasses\n\t\t\t)}\n\t\t\taria-expanded={active ? \"true\" : \"false\"}\n\t\t\t// aria-expanded=\"false\"\n\n\t\t\tonClick={(e) => onClick(e, idx)}\n\t\t\tonKeyDown={(e) => {\n\t\t\t\tonKeyDown({ e, idx });\n\t\t\t}}\n\t\t>\n\t\t\t{props.children}\n\t\t\t{showIcon && (\n\t\t\t\t<DefaultIcon\n\t\t\t\t\tclassName={classnames(\n\t\t\t\t\t\t`origin-center transform h-4 w-4 transition-transform ease-in-out duration-200`,\n\t\t\t\t\t\tactive ? \"rotate-45\" : \"\"\n\t\t\t\t\t)}\n\t\t\t\t/>\n\t\t\t)}\n\t\t</ButtonType>\n\t);\n};\n\nexport default AccordionHeading;\n","import { Component, createRef } from \"@wordpress/element\";\n\nexport default class AccordionBody extends Component {\n\tconstructor() {\n\t\tsuper(...arguments);\n\t\tthis.ref = createRef();\n\t\tthis.state = {\n\t\t\theight: 1000,\n\t\t};\n\t}\n\n\tcomponentDidUpdate() {\n\t\tconst height = this.ref.current.scrollHeight;\n\t\tif (height != this.state.height) {\n\t\t\tthis.setState({ height });\n\t\t}\n\t}\n\n\tcomponentDidMount() {\n\t\t// hacky way to get around waiting for children to render...\n\t\tsetTimeout(() => {\n\t\t\tconst height = this.ref.current.scrollHeight;\n\t\t\tif (height != this.state.height) {\n\t\t\t\tthis.setState({ height });\n\t\t\t}\n\t\t}, 1000);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tactive,\n\t\t\tshowBody = false,\n\t\t\tanchor = \"accordion-anchor\",\n\t\t\tidx = -1,\n\t\t} = this.props;\n\t\treturn (\n\t\t\t<div\n\t\t\t\tref={this.ref}\n\t\t\t\tid={`${anchor}-${idx}-body`}\n\t\t\t\taria-labelledby={`${anchor}-${idx}-heading`}\n\t\t\t\tdata-react=\"AccordionBody\"\n\t\t\t\tclassName=\"overflow-hidden transition-all ease-in-out duration-300\"\n\t\t\t\tstyle={{\n\t\t\t\t\tmaxHeight: active || showBody ? this.state.height : 0,\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<div className=\"p-4 text-lg space-y-2\">{this.props.children}</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n","import React from \"react\";\nimport Accordion from \"./react-accordion/wrapper/accordion.jsx\";\nimport AccordionPanel from \"./react-accordion-panel/components/accordion-panel.jsx\";\nimport AccordionHeading from \"./react-accordion-panel/components/accordion-heading.jsx\";\nimport AccordionBody from \"./react-accordion-panel/components/accordion-body.jsx\";\n\n// /**\n//  * Test: is the name of the component defined in data-react=\"<NAME_HERE>\" attribute\n//  */\nexport default {\n\tAccordion,\n\tAccordionPanel,\n\tAccordionHeading,\n\tAccordionBody,\n\tAccordionPanel: React.lazy(\n\t\t() => \"./react-accordion-panel/components/accordion-panel.jsx\"\n\t),\n\tCarousel: React.lazy(() =>\n\t\timport(\"./react-carousel/components/Carousel.jsx\")\n\t),\n\tSlide: React.lazy(() => import(\"./react-slide/components/Slide.jsx\")),\n\t// \tLatestPostsGrid: React.lazy(() =>\n\t// \t\timport(\"./latest-posts/components/effects/PostQueryComponent.jsx\")\n\t// \t),\n\tLatestPostsCard: React.lazy(() =>\n\t\timport(\"./latest-posts/components/templates/Card.jsx\")\n\t),\n\t// SampleComponentReact: React.lazy(() =>\n\t// \timport(\"./a-sample-react-block/components/SampleComponentReact.jsx\")\n\t// ),\n};\n","import HTMLReactParser from './index.js';\n\nexport var domToReact = HTMLReactParser.domToReact;\nexport var htmlToDOM = HTMLReactParser.htmlToDOM;\nexport var attributesToProps = HTMLReactParser.attributesToProps;\n\nexport default HTMLReactParser;\n","// we may need to punt on this and move to render?\n// reason being it's not technically SSR but...\n// it's basically the saved output of react so might as well be\nimport { render } from \"react-dom\";\n\n// all possible components lazy loaded\nimport components from \"../components/lazyComponents.js\"; //\" /components/lazyComponents.js\";\n// parser that wraps each dom tree parsed in a <Suspense/> tag\n// fallback is same HTML dangerously set as HTML\nimport htmlToJSX from \"./htmlToJSX.jsx\";\n\n// All possible nodes to make interactive\nlet domNodes = document.querySelectorAll(\"[data-react]\");\n// algo to reduce nodes down to root nodes\n// this is due to htmlToJSX recursively walking down\n// node tree to render all comoponents\nlet rootNodes = [...domNodes].filter((node) => {\n\tlet parent = node.parentElement;\n\tlet next = parent?.closest(\"[data-react]\");\n\treturn !next;\n});\n\n// helper function to ensure the root nodes are\n// not injected into but actually replaced\nfunction renderReplace(reactComponent, element) {\n\tconst targetNode = document.createElement(\"div\");\n\ttargetNode.innerHTML = element.outerHTML;\n\t// hydrate(reactComponent, element);\n\t// render(reactComponent, element);\n\n\t// Due to lazy loading components we have to wait for the dom to be ready\n\n\trender(reactComponent, targetNode, () => {\n\t\t// Due to lazy loading components we need to wait for the dom to be ready\n\t\t// before asking the element to be replaced with our targetNode's child.\n\t\t// Here we assume the first mutation observed React as attached itself\n\t\t// so we should be able to safely replace the server rendered DOM Node with React's\n\t\tconst observer = new MutationObserver((_, observer) => {\n\t\t\telement.replaceWith(targetNode.childNodes[0]);\n\t\t\tobserver.disconnect();\n\t\t});\n\t\tobserver.observe(targetNode, {\n\t\t\tattributes: true,\n\t\t\tchildList: true,\n\t\t\tsubtree: true,\n\t\t});\n\t\t// TODO: make this smarter on handling if component wasn't lazy loaded instead of a static timing\n\t\tsetTimeout(() => {\n\t\t\tobserver.disconnect();\n\t\t\telement.replaceWith(targetNode.childNodes[0]);\n\t\t}, 750);\n\t});\n}\n\n// now we just loop through nodes and make them reactive\nrootNodes.forEach((node) => {\n\tlet html = node.outerHTML;\n\trenderReplace(htmlToJSX(components, html), node);\n});\n\n// debug\n// console.log(\"root nodes\", rootNodes);\n","import React, { Suspense, useEffect } from \"react\";\nimport parse, { domToReact } from \"html-react-parser\";\n\nexport default (components, html) => {\n\tfunction replacer({ attribs, children }) {\n\t\tif (attribs && attribs[\"data-react\"]) {\n\t\t\tif (!components[attribs[\"data-react\"]]) return;\n\t\t\tconst Component = components[attribs[\"data-react\"]];\n\t\t\tconst propsString = attribs[\"data-props\"];\n\t\t\tconst props = !!propsString ? JSON.parse(propsString) : {};\n\t\t\tconst emptyChildrenRemoved = children.filter((child) => {\n\t\t\t\treturn (\n\t\t\t\t\tchild.type !== \"text\" ||\n\t\t\t\t\t(child.type === \"text\" && child.data.trim().length)\n\t\t\t\t);\n\t\t\t});\n\t\t\tconst Comp = (\n\t\t\t\t<Component {...props}>\n\t\t\t\t\t{domToReact(emptyChildrenRemoved, { replace: replacer })}\n\t\t\t\t</Component>\n\t\t\t);\n\t\t\treturn Comp;\n\t\t}\n\t}\n\tlet comp = parse(html, { replace: replacer });\n\tconst Fallback = ({ html }) => {\n\t\tuseEffect(() => {\n\t\t\treturn () => console.log(\"Fallback unmounted\");\n\t\t});\n\t\treturn <div dangerouslySetInnerHTML={{ __html: html }} />;\n\t};\n\treturn <Suspense fallback={<Fallback html={html} />}>{comp}</Suspense>;\n};\n","const SLIDERS = document.querySelectorAll('[data-slider-arrows]');\n// console.log(SLIDERS);\n[...SLIDERS].forEach(\n    function(DIV){\n        // BUILD THE ARROWS FOR THIS UNLESS IT SPECIFICALLY SAYS \"false\" NOT TO.\n        if(DIV.getAttribute('data-slider-arrows') != 'false' ){\n            buildArrowsForThisSlider(DIV);\n        }\n    }\n);\n \n\nfunction buildArrowsForThisSlider(_DIV){\n    let DIV = _DIV; \n    let WRAPPER = DIV.parentNode;\n    \n    let buttonLeft = document.createElement(\"button\");\n    buttonLeft.type = 'button';\n    buttonLeft.className = 'slider-button text-black bg-white absolute left-8 inset-y-1/3 z-50 rounded-full h-10 w-10 flex flex-col items-center justify-center cursor-pointer ';\n    // buttonLeft.innerHTML = '<img src=\"/wp-content/themes/tombras/assets/icons/chevron-left.svg\" />';\n    buttonLeft.innerHTML = `<svg width=\"13\" height=\"19\" >\n                                <path d=\"M11.112 1L3 9.112l8.112 8.113\" stroke=\"currentColor\" stroke-width=\"3\" fill=\"none\" fill-rule=\"evenodd\"/>\n                            </svg>`;\n    \n    let buttonRight = document.createElement(\"button\");\n    buttonRight.type = 'button';\n    buttonRight.className = 'slider-button text-black bg-white absolute inset-y-1/3 right-8 z-50 rounded-full h-10 w-10 flex flex-col items-center justify-center cursor-pointer ';\n    // buttonRight.innerHTML = '<img class=\"w-10 h-auto\" src=\"/wp-content/themes/tombras/assets/icons/chevron-right.svg\" />';\n    buttonRight.innerHTML = `<svg class=\"relative \" width=\"13\" height=\"19\">\n                                <path d=\"M1 1l8.112 8.112L1 17.225\" stroke=\"currentColor\" stroke-width=\"3\" fill=\"none\" fill-rule=\"evenodd\"/>\n                            </svg>`;\n    \n    WRAPPER.append(buttonLeft);\n    WRAPPER.append(buttonRight);\n\n    buttonLeft.onclick = function(){\n        slideLeft(buttonLeft, buttonRight, DIV);\n    } \n\n    buttonRight.onclick = function(){\n        slideRight(buttonLeft, buttonRight, DIV);\n    } \n\n\n\n    checkButtons(buttonLeft, buttonRight, DIV);\n\n}\n\nfunction checkButtons(_btnLeft, _btnRight, _DIV){\n    \n    // let maxScrollLeft = _DIV.scrollWidth - _DIV.clientWidth;\n\n    setTimeout( function(){\n        if(_DIV.scrollLeft == 0){\n            _btnLeft.classList.add('hidden');\n        }else{\n            _btnLeft.classList.remove('hidden');\n        }\n            \n        // let maxScrollLeft = _DIV.scrollWidth - _DIV.clientWidth;\n       \n        if(_DIV.scrollLeft ==  (_DIV.scrollWidth - _DIV.clientWidth)   ){\n            _btnRight.classList.add('hidden');\n        }else{\n            _btnRight.classList.remove('hidden');\n        }\n    \n    }, 500 );\n\n}\n\n\nfunction slideLeft(_btnLeft, _btnRight, _DIV){\n    let W = _DIV.firstElementChild.clientWidth;\n    // DIV.scrollLeft += W;\n    // DIV.scrollBy({ top:0, left: W, behavior: 'smooth' });\n    _DIV.scrollBy({ left: -W, behavior: 'smooth' });\n    \n    checkButtons(_btnLeft, _btnRight, _DIV)\n}\n\n\nfunction slideRight(_btnLeft, _btnRight, _DIV){\n    let W = _DIV.firstElementChild.clientWidth;\n    // DIV.scrollLeft -= W;\n    _DIV.scrollBy({ left: W, behavior: 'smooth' });\n\n    // let maxScrollLeft = _DIV.scrollWidth - _DIV.clientWidth;\n    \n    checkButtons(_btnLeft, _btnRight, _DIV)\n\n}\n\n\n\n\n\nexport {};\n","window.addEventListener(\"load\", function (event) {\n\tlet ACCORDIONS = document.querySelectorAll(\"[data-simple-accordion]\");\n\t[...ACCORDIONS].forEach(function (_DIV) {\n\t\tif (_DIV.getAttribute(\"data-simple-accordion\") != \"false\") {\n\t\t\tbuildSimpleAccordions(_DIV, _DIV.getAttribute(\"data-simple-accordion\"));\n\t\t}\n\t});\n});\n\nfunction buildSimpleAccordions(_DIV, _PROPS) {\n\tlet BTN = _DIV.querySelector(\"button\");\n\tBTN.classList.add(\"w-full\", \"flex\", \"flex-row\", \"justify-between\");\n\tlet INDICATOR = document.createElement(\"span\");\n\tINDICATOR.innerHTML = `+`;\n\tINDICATOR.className = \"transform duration-300 text-black\";\n\tBTN.append(INDICATOR);\n\n\tlet PANEL = _DIV.querySelector(\"div\");\n\tPANEL.classList.add(\"overflow-hidden\", \"max-h-0\", \"h-auto\", \"duration-300\");\n\n\tif (_PROPS == \"active\") {\n\t\t// console.log(\"is_OPEN active\");\n\t\tPANEL.style.maxHeight = PANEL.scrollHeight + \"px\";\n\t\tINDICATOR.classList.add(\"rotate-45\");\n\t} else {\n\t\t// console.log(\"is_CLOSED \");\n\t\tPANEL.style.maxHeight = null;\n\t\tINDICATOR.classList.remove(\"rotate-45\");\n\t}\n\n\tBTN.addEventListener(\"click\", function (e) {\n\t\tif (PANEL.style.maxHeight) {\n\t\t\tPANEL.style.maxHeight = null;\n\t\t\tINDICATOR.classList.remove(\"rotate-45\");\n\t\t} else {\n\t\t\tPANEL.style.maxHeight = PANEL.scrollHeight + \"px\";\n\t\t\tINDICATOR.classList.add(\"rotate-45\");\n\t\t}\n\t});\n}\n\nexport {};\n","export function toggleModal() {\n\tconsole.log(\"open modal\");\n\tconst body = document.querySelector(\"body\");\n\tconst modal = document.querySelector(\".modal\");\n\tmodal.classList.toggle(\"opacity-0\");\n\tmodal.classList.toggle(\"pointer-events-none\");\n\tbody.classList.toggle(\"modal-active\");\n}\n\n/* get height of product header */\nexport function resizeFn() {\n\tconst mediaQuery = window.matchMedia(\"(min-width: 768px)\");\n\n\tlet height = document.querySelector(\n\t\t\".single-product .product-details\"\n\t).offsetHeight;\n\tlet mobileHeight =\n\t\theight +\n\t\tdocument.querySelector(\".single-product .product-image\").offsetHeight;\n\tlet notifyHeight = document.querySelector(\n\t\t\".notify-container-content\"\n\t)?.offsetHeight;\n\n\tif (notifyHeight) {\n\t\tmobileHeight += notifyHeight;\n\t\theight += notifyHeight;\n\t}\n\tlet slant = document.querySelector(\".bg-color-slant\");\n\tlet headerHeight = document.querySelector(\n\t\t\".single-product header\"\n\t).offsetHeight;\n\tlet slantSvg = document.querySelector(\".bg-color-slant .slant-svg\");\n\n\tif (mediaQuery.matches) {\n\t\tslant.style.height = height + headerHeight + 26 + \"px\";\n\t\tslantSvg.style.top = height + headerHeight + 25 + \"px\";\n\t} else {\n\t\tconsole.log(30, height, mobileHeight, headerHeight);\n\t\tslant.style.height = mobileHeight + headerHeight + 60 + \"px\"; //+ 26 + \"px\";\n\t\tslantSvg.style.top = mobileHeight + headerHeight + 59 + \"px\"; //+ 25 + \"px\";\n\t}\n}\n\nconst root = document.querySelector(\":root\");\nexport const setStickyOffset = () => {\n\tconst affectsStickyPosition = [\n\t\t...document.querySelectorAll(\"#masthead, #banner-container\"),\n\t];\n\tconst stickyOffset = affectsStickyPosition.reduce((acc, curr) => {\n\t\tconsole.log(\"offset!!!\", curr, curr.offsetHeight);\n\t\treturn (acc += curr.offsetHeight);\n\t}, 0);\n\n\tconsole.log(\"offset + 20\", stickyOffset + 20);\n\troot.style.setProperty(\"--sticky-offset\", `${stickyOffset + 20}px`);\n};\n","import ShopifyBuy from \"@shopify/buy-button-js\";\nimport { toggleModal, resizeFn } from \"../js/utils\";\nconst PUBLIC_TOKEN = \"8523d3d915159e9900cac0647fd813d9\";\nconst URL = \"shop.krusteaz.com\";\n\nconst client = ShopifyBuy.buildClient({\n\tdomain: URL,\n\tstorefrontAccessToken: PUBLIC_TOKEN,\n});\n\nconst ui = ShopifyBuy.UI.init(client);\n\nconst shopifyGlobalOptions = {\n\toption: {},\n\tcart: {\n\t\tstyles: {\n\t\t\tbutton: {\n\t\t\t\t\"font-family\": \"Roboto, sans-serif\",\n\t\t\t\t\"font-weight\": \"bold\",\n\t\t\t\t\":hover\": {\n\t\t\t\t\t\"background-color\": \"#ce0045\",\n\t\t\t\t},\n\t\t\t\t\"background-color\": \"#e5004d\",\n\t\t\t\t\":focus\": {\n\t\t\t\t\t\"background-color\": \"#ce0045\",\n\t\t\t\t},\n\t\t\t\t\"border-radius\": \"40px\",\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\theader: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tlineItems: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tsubtotalText: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tsubtotal: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tnotice: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tcurrency: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tclose: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t\t\":hover\": {\n\t\t\t\t\tcolor: \"#000000\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tempty: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tnoteDescription: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tdiscountText: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tdiscountIcon: {\n\t\t\t\tfill: \"#000000\",\n\t\t\t},\n\t\t\tdiscountAmount: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t},\n\t\ttext: {\n\t\t\ttotal: \"Subtotal\",\n\t\t\tbutton: \"Checkout\",\n\t\t},\n\t\tpopup: false,\n\t\tgoogleFonts: [\"Roboto\"],\n\t},\n\ttoggle: {\n\t\tstyles: {\n\t\t\ttoggle: {\n\t\t\t\t\"font-family\": \"Roboto, sans-serif\",\n\t\t\t\t\"font-weight\": \"bold\",\n\t\t\t\t\"background-color\": \"#e5004d\",\n\t\t\t\t\":hover\": {\n\t\t\t\t\t\"background-color\": \"#ce0045\",\n\t\t\t\t},\n\t\t\t\t\":focus\": {\n\t\t\t\t\t\"background-color\": \"#ce0045\",\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t\tgoogleFonts: [\"Roboto\"],\n\t},\n\tlineItem: {\n\t\tstyles: {\n\t\t\tvariantTitle: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tprice: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tfullPrice: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tdiscount: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tdiscountIcon: {\n\t\t\t\tfill: \"#000000\",\n\t\t\t},\n\t\t\tquantity: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t},\n\t\t\tquantityIncrement: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t\t\"border-color\": \"#000000\",\n\t\t\t},\n\t\t\tquantityDecrement: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t\t\"border-color\": \"#000000\",\n\t\t\t},\n\t\t\tquantityInput: {\n\t\t\t\tcolor: \"#000000\",\n\t\t\t\t\"border-color\": \"#000000\",\n\t\t\t},\n\t\t},\n\t},\n};\nconst products = [...document.querySelectorAll(\"[data-shopify-id]\")];\nif (products?.length === 0) {\n\tui.createComponent(\"cart\", {\n\t\tnode: document.querySelector(\"#shopify-krusteaz-cart\"),\n\t\toptions: {\n\t\t\t...shopifyGlobalOptions,\n\t\t},\n\t});\n}\n\n[...document.querySelectorAll(\".no-shopify-buynow-modal\")].forEach((el) => {\n\tlet containerId = el.getAttribute(\"data-destini-container\");\n\tlet associationId = el.getAttribute(\"data-destini-association\");\n\tlet APO = el.getAttribute(\"data-destini-apo\");\n\tconsole.log(\"destini stuff\", containerId, associationId, APO);\n\tel.addEventListener(\"click\", function () {\n\t\tconsole.log(\"click\");\n\t\tdestini.init(containerId);\n\t\tdestini.loadWidget(associationId, APO);\n\t\t// toggleModal();\n\t});\n});\n\nproducts.forEach((p) => {\n\tconst isSingle = p.getAttribute(\"data-type\") === \"single\";\n\tconst id = p.getAttribute(\"data-shopify-id\");\n\tconst destiniApo = p.getAttribute(\"data-destini-apo\");\n\n\tif (!id) return;\n\n\tlet hasEvent = false;\n\tconst events = {};\n\tconst text = isSingle ? { outOfStock: \"Find in Store\" } : {};\n\tif (!isSingle) {\n\t\tevents[\"beforeRender\"] = function (cmp) {\n\t\t\tconsole.log(\"component...\", cmp);\n\t\t\tdocument\n\t\t\t\t.querySelector(\".no-shopify-buynow-modal\")\n\t\t\t\t.classList.add(\"hidden\");\n\t\t};\n\t\tevents[\"afterRender\"] = function (cmp) {\n\t\t\tresizeFn();\n\t\t\tif (!hasEvent) {\n\t\t\t\tdocument\n\t\t\t\t\t.querySelectorAll(\".shopify-buynow-modal\")\n\t\t\t\t\t.forEach(function (buyNowButton) {\n\t\t\t\t\t\tconsole.log(\"adding buy now\", buyNowButton);\n\t\t\t\t\t\tlet containerId = buyNowButton.getAttribute(\n\t\t\t\t\t\t\t\"data-destini-container\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tlet associationId = buyNowButton.getAttribute(\n\t\t\t\t\t\t\t\"data-destini-association\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\tlet APO = buyNowButton.getAttribute(\"data-destini-apo\");\n\t\t\t\t\t\tconsole.log(\"destini stuff\", containerId, associationId, APO);\n\t\t\t\t\t\tbuyNowButton.addEventListener(\"click\", function () {\n\t\t\t\t\t\t\tconsole.log(\"click\");\n\t\t\t\t\t\t\tdestini.init(containerId);\n\t\t\t\t\t\t\tdestini.loadWidget(associationId, APO);\n\t\t\t\t\t\t\ttoggleModal();\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\thasEvent = true;\n\t\t\t}\n\t\t};\n\t} else if (isSingle) {\n\t\tevents[\"afterRender\"] = function (cmp) {\n\t\t\tconst el = cmp?.view?.node;\n\t\t\tconst isDisabled = el?.querySelector(\"button\")?.disabled;\n\t\t\tif (el && isDisabled) {\n\t\t\t\tconst data = el.closest(\"[data-destini-container]\");\n\t\t\t\tlet containerId = data.getAttribute(\"data-destini-container\");\n\t\t\t\tlet associationId = data.getAttribute(\"data-destini-association\");\n\t\t\t\tlet APO = data.getAttribute(\"data-destini-apo\");\n\t\t\t\tconst btn = el.querySelector(\"button\");\n\t\t\t\tconst parent = btn.parentNode;\n\t\t\t\tparent.removeChild(btn);\n\n\t\t\t\tconst newEl = document.createElement(\"button\");\n\t\t\t\tnewEl.innerText = \"Find in Store\";\n\t\t\t\tnewEl.setAttribute(\n\t\t\t\t\t\"class\",\n\t\t\t\t\t\"no-shopify-buynow-modal buynow modal-open btn-red mt-6 inline-block cursor-pointer\"\n\t\t\t\t);\n\t\t\t\tparent.appendChild(newEl);\n\n\t\t\t\tnewEl.addEventListener(\"click\", function () {\n\t\t\t\t\tconsole.log(\"click\");\n\t\t\t\t\tdestini.init(containerId);\n\t\t\t\t\tdestini.loadWidget(associationId, APO);\n\t\t\t\t\ttoggleModal();\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\t}\n\n\tconst isDark = p.closest('.dark-shopify-integration');\n\n\tui.createComponent(\"product\", {\n\t\tid,\n\t\tnode: p,\n\t\tmoneyFormat: \"%24%7B%7Bamount%7D%7D\",\n\t\toptions: {\n\t\t\tproduct: {\n\t\t\t\tevents,\n\t\t\t\ttext,\n\t\t\t\tiframe: false,\n\t\t\t\ttemplates: {\n\t\t\t\t\tprice: isSingle\n\t\t\t\t\t\t? `\n\t\t\t\t\t\t\t<div class=\"mb-4 text-left mb-{{data.classes.product.prices}}\" data-element=\"product.prices\">\n\t\t\t\t\t\t\t\t<span class=\"font-bold my-4 {{data.classes.product.price}} {{data.priceClass}}\" data-element=\"product.price\">{{data.formattedPrice}}</span>\n\t\t\t\t\t\t\t\t<span class=\"block\">Pack of 4</span>\n\t\t\t\t\t\t\t</div>`\n\t\t\t\t\t\t: `\n\t\t\t\t\t\t<div class=\"mt-[10px] mb-[30px] mb-{{data.classes.product.prices}}\" data-element=\"product.prices\">\n\t\t\t\t\t\t\t<span class=\"font-bold text-[30px] ${isDark ? 'text-black' : 'text-white'} my-4 {{data.classes.product.price}} {{data.priceClass}}\" data-element=\"product.price\">{{data.formattedPrice}}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t`,\n\t\t\t\t\tbutton: `\n\t\t\t\t\t\t<div data-shopify-title=\"{{data.title}}\" class=\"{{data.classes.product.buttonWrapper}} singlebtn\" data-element=\"product.buttonWrapper\">\n\t\t\t\t\t\t\t<button {{#data.buttonDisabled}}disabled{{/data.buttonDisabled}} class=\"btn-red {{data.classes.product.button}} {{data.buttonClass}}\" data-element=\"product.button\">\n\t\t\t\t\t\t\t\t{{data.buttonText}}\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t`,\n\t\t\t\t\tbuttonWithQuantity: `\n\t\t\t\t\t\t<div class=\"lg:inline-block\">\n\t\t\t\t\t\t\t<div class=\"{{data.classes.product.quantity}} {{data.quantityClass}}\" data-element=\"product.quantity\">\n\t\t\t\t\t\t\t\t<label class=\"${isDark ? 'text-black' : 'text-white'} font-bold block\" for=\"shopify-select\">Quantity</label>\n\t\t\t\t\t\t\t\t<div class=\"relative\">\n\t\t\t\t\t\t\t\t\t<select id=\"shopify-select\" class=\"appearance-none w-full p-2 border-black {{data.classes.product.quantityInput}}\" aria-label=\"Quantity\" data-element=\"product.quantityInput\">\n\t\t\t\t\t\t\t\t\t\t<option value=\"1\">1 (4 boxes)</option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"2\">2 (8 boxes)</option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"3\">3 (12 boxes)</option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"4\">4 (16 boxes)</option>\n\t\t\t\t\t\t\t\t\t\t<option value=\"5\">5 (20 boxes)</option>\n\t\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t\t\t<span class=\"text-primary-900 absolute top-[13px] right-4 -scale-y-100\">\n\t\t\t\t\t\t\t\t\t\t<svg \n\t\t\t\t\t\t\t\t\t\t\tclass=\"w-4\"\n\t\t\t\t\t\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\t\t\t\t\t\tfill=\"none\" \n\t\t\t\t\t\t\t\t\t\t\tviewBox=\"0 0 24 24\" \n\t\t\t\t\t\t\t\t\t\t\tstroke=\"currentColor\">\n\t\t\t\t\t\t\t\t\t\t\t<path \n\t\t\t\t\t\t\t\t\t\t\t\tstroke-linecap=\"round\" \n\t\t\t\t\t\t\t\t\t\t\t\tstroke-linejoin=\"round\" \n\t\t\t\t\t\t\t\t\t\t\t\tstroke-width=\"4\" \n\t\t\t\t\t\t\t\t\t\t\t\td=\"M5 15l7-7 7 7\" />\n\t\t\t\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div data-shopify-title=\"{{data.title}}\" class=\"{{data.classes.product.buttonWrapper}} mt-6 grid justify-start gap-4 lg:gap-[28px] lg:grid-cols-2 lg:justify-normal\" data-element=\"product.buttonWrapper\">\n\t\t\t\t\t\t\t\t<button {{#data.buttonDisabled}}disabled{{/data.buttonDisabled}} class=\"btn-red {{data.classes.product.button}} {{data.buttonClass}}\" data-element=\"product.button\">\n\t\t\t\t\t\t\t\t\t{{data.buttonText}}\n\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t<a class=\"shopify-buynow-modal buynow modal-open btn-red-outline inline-block cursor-pointer\" data-toggle=\"modal\" data-target=\"#widget-modal\" data-destini-container=\"destinidiv\" data-destini-association=\"default\" data-destini-apo=\"${destiniApo}\">\n\t\t\t\t\t\t\t\t\tFind in Store\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t`,\n\t\t\t\t},\n\t\t\t\tcontents: {\n\t\t\t\t\timg: false,\n\t\t\t\t\ttitle: false,\n\t\t\t\t\tprice: true,\n\t\t\t\t\tbutton: true,\n\t\t\t\t\tquantity: false,\n\t\t\t\t\tquantityIncrement: false, // button to increase quantity\n\t\t\t\t\tquantityDecrement: false, // button to decrease quantity\n\t\t\t\t\tquantityInput: isSingle ? false : true, // input field to directly set quantity\n\t\t\t\t\tbuttonWithQuantity: isSingle ? false : true,\n\t\t\t\t},\n\t\t\t},\n\t\t\t...shopifyGlobalOptions,\n\t\t},\n\t});\n});\n","const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"less than a second\",\n    other: \"less than {{count}} seconds\",\n  },\n\n  xSeconds: {\n    one: \"1 second\",\n    other: \"{{count}} seconds\",\n  },\n\n  halfAMinute: \"half a minute\",\n\n  lessThanXMinutes: {\n    one: \"less than a minute\",\n    other: \"less than {{count}} minutes\",\n  },\n\n  xMinutes: {\n    one: \"1 minute\",\n    other: \"{{count}} minutes\",\n  },\n\n  aboutXHours: {\n    one: \"about 1 hour\",\n    other: \"about {{count}} hours\",\n  },\n\n  xHours: {\n    one: \"1 hour\",\n    other: \"{{count}} hours\",\n  },\n\n  xDays: {\n    one: \"1 day\",\n    other: \"{{count}} days\",\n  },\n\n  aboutXWeeks: {\n    one: \"about 1 week\",\n    other: \"about {{count}} weeks\",\n  },\n\n  xWeeks: {\n    one: \"1 week\",\n    other: \"{{count}} weeks\",\n  },\n\n  aboutXMonths: {\n    one: \"about 1 month\",\n    other: \"about {{count}} months\",\n  },\n\n  xMonths: {\n    one: \"1 month\",\n    other: \"{{count}} months\",\n  },\n\n  aboutXYears: {\n    one: \"about 1 year\",\n    other: \"about {{count}} years\",\n  },\n\n  xYears: {\n    one: \"1 year\",\n    other: \"{{count}} years\",\n  },\n\n  overXYears: {\n    one: \"over 1 year\",\n    other: \"over {{count}} years\",\n  },\n\n  almostXYears: {\n    one: \"almost 1 year\",\n    other: \"almost {{count}} years\",\n  },\n};\n\nexport const formatDistance = (token, count, options) => {\n  let result;\n\n  const tokenValue = formatDistanceLocale[token];\n  if (typeof tokenValue === \"string\") {\n    result = tokenValue;\n  } else if (count === 1) {\n    result = tokenValue.one;\n  } else {\n    result = tokenValue.other.replace(\"{{count}}\", count.toString());\n  }\n\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return \"in \" + result;\n    } else {\n      return result + \" ago\";\n    }\n  }\n\n  return result;\n};\n","export function buildFormatLongFn(args) {\n  return (options = {}) => {\n    // TODO: Remove String()\n    const width = options.width ? String(options.width) : args.defaultWidth;\n    const format = args.formats[width] || args.formats[args.defaultWidth];\n    return format;\n  };\n}\n","import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.mjs\";\n\nconst dateFormats = {\n  full: \"EEEE, MMMM do, y\",\n  long: \"MMMM do, y\",\n  medium: \"MMM d, y\",\n  short: \"MM/dd/yyyy\",\n};\n\nconst timeFormats = {\n  full: \"h:mm:ss a zzzz\",\n  long: \"h:mm:ss a z\",\n  medium: \"h:mm:ss a\",\n  short: \"h:mm a\",\n};\n\nconst dateTimeFormats = {\n  full: \"{{date}} 'at' {{time}}\",\n  long: \"{{date}} 'at' {{time}}\",\n  medium: \"{{date}}, {{time}}\",\n  short: \"{{date}}, {{time}}\",\n};\n\nexport const formatLong = {\n  date: buildFormatLongFn({\n    formats: dateFormats,\n    defaultWidth: \"full\",\n  }),\n\n  time: buildFormatLongFn({\n    formats: timeFormats,\n    defaultWidth: \"full\",\n  }),\n\n  dateTime: buildFormatLongFn({\n    formats: dateTimeFormats,\n    defaultWidth: \"full\",\n  }),\n};\n","const formatRelativeLocale = {\n  lastWeek: \"'last' eeee 'at' p\",\n  yesterday: \"'yesterday at' p\",\n  today: \"'today at' p\",\n  tomorrow: \"'tomorrow at' p\",\n  nextWeek: \"eeee 'at' p\",\n  other: \"P\",\n};\n\nexport const formatRelative = (token, _date, _baseDate, _options) =>\n  formatRelativeLocale[token];\n","/* eslint-disable no-unused-vars */\n\n/**\n * The localize function argument callback which allows to convert raw value to\n * the actual type.\n *\n * @param value - The value to convert\n *\n * @returns The converted value\n */\n\n/**\n * The map of localized values for each width.\n */\n\n/**\n * The index type of the locale unit value. It types conversion of units of\n * values that don't start at 0 (i.e. quarters).\n */\n\n/**\n * Converts the unit value to the tuple of values.\n */\n\n/**\n * The tuple of localized era values. The first element represents BC,\n * the second element represents AD.\n */\n\n/**\n * The tuple of localized quarter values. The first element represents Q1.\n */\n\n/**\n * The tuple of localized day values. The first element represents Sunday.\n */\n\n/**\n * The tuple of localized month values. The first element represents January.\n */\n\nexport function buildLocalizeFn(args) {\n  return (value, options) => {\n    const context = options?.context ? String(options.context) : \"standalone\";\n\n    let valuesArray;\n    if (context === \"formatting\" && args.formattingValues) {\n      const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n      const width = options?.width ? String(options.width) : defaultWidth;\n\n      valuesArray =\n        args.formattingValues[width] || args.formattingValues[defaultWidth];\n    } else {\n      const defaultWidth = args.defaultWidth;\n      const width = options?.width ? String(options.width) : args.defaultWidth;\n\n      valuesArray = args.values[width] || args.values[defaultWidth];\n    }\n    const index = args.argumentCallback ? args.argumentCallback(value) : value;\n\n    // @ts-expect-error - For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n    return valuesArray[index];\n  };\n}\n","export function buildMatchFn(args) {\n  return (string, options = {}) => {\n    const width = options.width;\n\n    const matchPattern =\n      (width && args.matchPatterns[width]) ||\n      args.matchPatterns[args.defaultMatchWidth];\n    const matchResult = string.match(matchPattern);\n\n    if (!matchResult) {\n      return null;\n    }\n    const matchedString = matchResult[0];\n\n    const parsePatterns =\n      (width && args.parsePatterns[width]) ||\n      args.parsePatterns[args.defaultParseWidth];\n\n    const key = Array.isArray(parsePatterns)\n      ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString))\n      : // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n        findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n\n    let value;\n\n    value = args.valueCallback ? args.valueCallback(key) : key;\n    value = options.valueCallback\n      ? // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n        options.valueCallback(value)\n      : value;\n\n    const rest = string.slice(matchedString.length);\n\n    return { value, rest };\n  };\n}\n\nfunction findKey(object, predicate) {\n  for (const key in object) {\n    if (\n      Object.prototype.hasOwnProperty.call(object, key) &&\n      predicate(object[key])\n    ) {\n      return key;\n    }\n  }\n  return undefined;\n}\n\nfunction findIndex(array, predicate) {\n  for (let key = 0; key < array.length; key++) {\n    if (predicate(array[key])) {\n      return key;\n    }\n  }\n  return undefined;\n}\n","export function buildMatchPatternFn(args) {\n  return (string, options = {}) => {\n    const matchResult = string.match(args.matchPattern);\n    if (!matchResult) return null;\n    const matchedString = matchResult[0];\n\n    const parseResult = string.match(args.parsePattern);\n    if (!parseResult) return null;\n    let value = args.valueCallback\n      ? args.valueCallback(parseResult[0])\n      : parseResult[0];\n\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type\n    value = options.valueCallback ? options.valueCallback(value) : value;\n\n    const rest = string.slice(matchedString.length);\n\n    return { value, rest };\n  };\n}\n","import { formatDistance } from \"./en-US/_lib/formatDistance.mjs\";\nimport { formatLong } from \"./en-US/_lib/formatLong.mjs\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.mjs\";\nimport { localize } from \"./en-US/_lib/localize.mjs\";\nimport { match } from \"./en-US/_lib/match.mjs\";\n\n/**\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)\n * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)\n */\nexport const enUS = {\n  code: \"en-US\",\n  formatDistance: formatDistance,\n  formatLong: formatLong,\n  formatRelative: formatRelative,\n  localize: localize,\n  match: match,\n  options: {\n    weekStartsOn: 0 /* Sunday */,\n    firstWeekContainsDate: 1,\n  },\n};\n\n// Fallback for modularized imports:\nexport default enUS;\n","import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.mjs\";\n\nconst eraValues = {\n  narrow: [\"B\", \"A\"],\n  abbreviated: [\"BC\", \"AD\"],\n  wide: [\"Before Christ\", \"Anno Domini\"],\n};\n\nconst quarterValues = {\n  narrow: [\"1\", \"2\", \"3\", \"4\"],\n  abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n  wide: [\"1st quarter\", \"2nd quarter\", \"3rd quarter\", \"4th quarter\"],\n};\n\n// Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\nconst monthValues = {\n  narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n  abbreviated: [\n    \"Jan\",\n    \"Feb\",\n    \"Mar\",\n    \"Apr\",\n    \"May\",\n    \"Jun\",\n    \"Jul\",\n    \"Aug\",\n    \"Sep\",\n    \"Oct\",\n    \"Nov\",\n    \"Dec\",\n  ],\n\n  wide: [\n    \"January\",\n    \"February\",\n    \"March\",\n    \"April\",\n    \"May\",\n    \"June\",\n    \"July\",\n    \"August\",\n    \"September\",\n    \"October\",\n    \"November\",\n    \"December\",\n  ],\n};\n\nconst dayValues = {\n  narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n  short: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"],\n  abbreviated: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n  wide: [\n    \"Sunday\",\n    \"Monday\",\n    \"Tuesday\",\n    \"Wednesday\",\n    \"Thursday\",\n    \"Friday\",\n    \"Saturday\",\n  ],\n};\n\nconst dayPeriodValues = {\n  narrow: {\n    am: \"a\",\n    pm: \"p\",\n    midnight: \"mi\",\n    noon: \"n\",\n    morning: \"morning\",\n    afternoon: \"afternoon\",\n    evening: \"evening\",\n    night: \"night\",\n  },\n  abbreviated: {\n    am: \"AM\",\n    pm: \"PM\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"morning\",\n    afternoon: \"afternoon\",\n    evening: \"evening\",\n    night: \"night\",\n  },\n  wide: {\n    am: \"a.m.\",\n    pm: \"p.m.\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"morning\",\n    afternoon: \"afternoon\",\n    evening: \"evening\",\n    night: \"night\",\n  },\n};\n\nconst formattingDayPeriodValues = {\n  narrow: {\n    am: \"a\",\n    pm: \"p\",\n    midnight: \"mi\",\n    noon: \"n\",\n    morning: \"in the morning\",\n    afternoon: \"in the afternoon\",\n    evening: \"in the evening\",\n    night: \"at night\",\n  },\n  abbreviated: {\n    am: \"AM\",\n    pm: \"PM\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"in the morning\",\n    afternoon: \"in the afternoon\",\n    evening: \"in the evening\",\n    night: \"at night\",\n  },\n  wide: {\n    am: \"a.m.\",\n    pm: \"p.m.\",\n    midnight: \"midnight\",\n    noon: \"noon\",\n    morning: \"in the morning\",\n    afternoon: \"in the afternoon\",\n    evening: \"in the evening\",\n    night: \"at night\",\n  },\n};\n\nconst ordinalNumber = (dirtyNumber, _options) => {\n  const number = Number(dirtyNumber);\n\n  // If ordinal numbers depend on context, for example,\n  // if they are different for different grammatical genders,\n  // use `options.unit`.\n  //\n  // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n  // 'day', 'hour', 'minute', 'second'.\n\n  const rem100 = number % 100;\n  if (rem100 > 20 || rem100 < 10) {\n    switch (rem100 % 10) {\n      case 1:\n        return number + \"st\";\n      case 2:\n        return number + \"nd\";\n      case 3:\n        return number + \"rd\";\n    }\n  }\n  return number + \"th\";\n};\n\nexport const localize = {\n  ordinalNumber,\n\n  era: buildLocalizeFn({\n    values: eraValues,\n    defaultWidth: \"wide\",\n  }),\n\n  quarter: buildLocalizeFn({\n    values: quarterValues,\n    defaultWidth: \"wide\",\n    argumentCallback: (quarter) => quarter - 1,\n  }),\n\n  month: buildLocalizeFn({\n    values: monthValues,\n    defaultWidth: \"wide\",\n  }),\n\n  day: buildLocalizeFn({\n    values: dayValues,\n    defaultWidth: \"wide\",\n  }),\n\n  dayPeriod: buildLocalizeFn({\n    values: dayPeriodValues,\n    defaultWidth: \"wide\",\n    formattingValues: formattingDayPeriodValues,\n    defaultFormattingWidth: \"wide\",\n  }),\n};\n","import { buildMatchFn } from \"../../_lib/buildMatchFn.mjs\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.mjs\";\n\nconst matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\n\nconst matchEraPatterns = {\n  narrow: /^(b|a)/i,\n  abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n  wide: /^(before christ|before common era|anno domini|common era)/i,\n};\nconst parseEraPatterns = {\n  any: [/^b/i, /^(a|c)/i],\n};\n\nconst matchQuarterPatterns = {\n  narrow: /^[1234]/i,\n  abbreviated: /^q[1234]/i,\n  wide: /^[1234](th|st|nd|rd)? quarter/i,\n};\nconst parseQuarterPatterns = {\n  any: [/1/i, /2/i, /3/i, /4/i],\n};\n\nconst matchMonthPatterns = {\n  narrow: /^[jfmasond]/i,\n  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i,\n};\nconst parseMonthPatterns = {\n  narrow: [\n    /^j/i,\n    /^f/i,\n    /^m/i,\n    /^a/i,\n    /^m/i,\n    /^j/i,\n    /^j/i,\n    /^a/i,\n    /^s/i,\n    /^o/i,\n    /^n/i,\n    /^d/i,\n  ],\n\n  any: [\n    /^ja/i,\n    /^f/i,\n    /^mar/i,\n    /^ap/i,\n    /^may/i,\n    /^jun/i,\n    /^jul/i,\n    /^au/i,\n    /^s/i,\n    /^o/i,\n    /^n/i,\n    /^d/i,\n  ],\n};\n\nconst matchDayPatterns = {\n  narrow: /^[smtwf]/i,\n  short: /^(su|mo|tu|we|th|fr|sa)/i,\n  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i,\n};\nconst parseDayPatterns = {\n  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i],\n};\n\nconst matchDayPeriodPatterns = {\n  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n  any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i,\n};\nconst parseDayPeriodPatterns = {\n  any: {\n    am: /^a/i,\n    pm: /^p/i,\n    midnight: /^mi/i,\n    noon: /^no/i,\n    morning: /morning/i,\n    afternoon: /afternoon/i,\n    evening: /evening/i,\n    night: /night/i,\n  },\n};\n\nexport const match = {\n  ordinalNumber: buildMatchPatternFn({\n    matchPattern: matchOrdinalNumberPattern,\n    parsePattern: parseOrdinalNumberPattern,\n    valueCallback: (value) => parseInt(value, 10),\n  }),\n\n  era: buildMatchFn({\n    matchPatterns: matchEraPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseEraPatterns,\n    defaultParseWidth: \"any\",\n  }),\n\n  quarter: buildMatchFn({\n    matchPatterns: matchQuarterPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseQuarterPatterns,\n    defaultParseWidth: \"any\",\n    valueCallback: (index) => index + 1,\n  }),\n\n  month: buildMatchFn({\n    matchPatterns: matchMonthPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseMonthPatterns,\n    defaultParseWidth: \"any\",\n  }),\n\n  day: buildMatchFn({\n    matchPatterns: matchDayPatterns,\n    defaultMatchWidth: \"wide\",\n    parsePatterns: parseDayPatterns,\n    defaultParseWidth: \"any\",\n  }),\n\n  dayPeriod: buildMatchFn({\n    matchPatterns: matchDayPeriodPatterns,\n    defaultMatchWidth: \"any\",\n    parsePatterns: parseDayPeriodPatterns,\n    defaultParseWidth: \"any\",\n  }),\n};\n","let defaultOptions = {};\n\nexport function getDefaultOptions() {\n  return defaultOptions;\n}\n\nexport function setDefaultOptions(newOptions) {\n  defaultOptions = newOptions;\n}\n","/**\n * @module constants\n * @summary Useful constants\n * @description\n * Collection of useful date constants.\n *\n * The constants could be imported from `date-fns/constants`:\n *\n * ```ts\n * import { maxTime, minTime } from \"./constants/date-fns/constants\";\n *\n * function isAllowedTime(time) {\n *   return time <= maxTime && time >= minTime;\n * }\n * ```\n */\n\n/**\n * @constant\n * @name daysInWeek\n * @summary Days in 1 week.\n */\nexport const daysInWeek = 7;\n\n/**\n * @constant\n * @name daysInYear\n * @summary Days in 1 year.\n *\n * @description\n * How many days in a year.\n *\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occures every 4 years, except for years that are divisable by 100 and not divisable by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n */\nexport const daysInYear = 365.2425;\n\n/**\n * @constant\n * @name maxTime\n * @summary Maximum allowed time.\n *\n * @example\n * import { maxTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = 8640000000000001 <= maxTime;\n * //=> false\n *\n * new Date(8640000000000001);\n * //=> Invalid Date\n */\nexport const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n\n/**\n * @constant\n * @name minTime\n * @summary Minimum allowed time.\n *\n * @example\n * import { minTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = -8640000000000001 >= minTime;\n * //=> false\n *\n * new Date(-8640000000000001)\n * //=> Invalid Date\n */\nexport const minTime = -maxTime;\n\n/**\n * @constant\n * @name millisecondsInWeek\n * @summary Milliseconds in 1 week.\n */\nexport const millisecondsInWeek = 604800000;\n\n/**\n * @constant\n * @name millisecondsInDay\n * @summary Milliseconds in 1 day.\n */\nexport const millisecondsInDay = 86400000;\n\n/**\n * @constant\n * @name millisecondsInMinute\n * @summary Milliseconds in 1 minute\n */\nexport const millisecondsInMinute = 60000;\n\n/**\n * @constant\n * @name millisecondsInHour\n * @summary Milliseconds in 1 hour\n */\nexport const millisecondsInHour = 3600000;\n\n/**\n * @constant\n * @name millisecondsInSecond\n * @summary Milliseconds in 1 second\n */\nexport const millisecondsInSecond = 1000;\n\n/**\n * @constant\n * @name minutesInYear\n * @summary Minutes in 1 year.\n */\nexport const minutesInYear = 525600;\n\n/**\n * @constant\n * @name minutesInMonth\n * @summary Minutes in 1 month.\n */\nexport const minutesInMonth = 43200;\n\n/**\n * @constant\n * @name minutesInDay\n * @summary Minutes in 1 day.\n */\nexport const minutesInDay = 1440;\n\n/**\n * @constant\n * @name minutesInHour\n * @summary Minutes in 1 hour.\n */\nexport const minutesInHour = 60;\n\n/**\n * @constant\n * @name monthsInQuarter\n * @summary Months in 1 quarter.\n */\nexport const monthsInQuarter = 3;\n\n/**\n * @constant\n * @name monthsInYear\n * @summary Months in 1 year.\n */\nexport const monthsInYear = 12;\n\n/**\n * @constant\n * @name quartersInYear\n * @summary Quarters in 1 year\n */\nexport const quartersInYear = 4;\n\n/**\n * @constant\n * @name secondsInHour\n * @summary Seconds in 1 hour.\n */\nexport const secondsInHour = 3600;\n\n/**\n * @constant\n * @name secondsInMinute\n * @summary Seconds in 1 minute.\n */\nexport const secondsInMinute = 60;\n\n/**\n * @constant\n * @name secondsInDay\n * @summary Seconds in 1 day.\n */\nexport const secondsInDay = secondsInHour * 24;\n\n/**\n * @constant\n * @name secondsInWeek\n * @summary Seconds in 1 week.\n */\nexport const secondsInWeek = secondsInDay * 7;\n\n/**\n * @constant\n * @name secondsInYear\n * @summary Seconds in 1 year.\n */\nexport const secondsInYear = secondsInDay * daysInYear;\n\n/**\n * @constant\n * @name secondsInMonth\n * @summary Seconds in 1 month\n */\nexport const secondsInMonth = secondsInYear / 12;\n\n/**\n * @constant\n * @name secondsInQuarter\n * @summary Seconds in 1 quarter.\n */\nexport const secondsInQuarter = secondsInMonth * 3;\n","/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param argument - The value to convert\n *\n * @returns The parsed date in the local time zone\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport function toDate(argument) {\n  const argStr = Object.prototype.toString.call(argument);\n\n  // Clone the date\n  if (\n    argument instanceof Date ||\n    (typeof argument === \"object\" && argStr === \"[object Date]\")\n  ) {\n    // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n    return new argument.constructor(+argument);\n  } else if (\n    typeof argument === \"number\" ||\n    argStr === \"[object Number]\" ||\n    typeof argument === \"string\" ||\n    argStr === \"[object String]\"\n  ) {\n    // TODO: Can we get rid of as?\n    return new Date(argument);\n  } else {\n    // TODO: Can we get rid of as?\n    return new Date(NaN);\n  }\n}\n\n// Fallback for modularized imports:\nexport default toDate;\n","import { toDate } from \"./toDate.mjs\";\n\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n *\n * @returns The start of a day\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\nexport function startOfDay(date) {\n  const _date = toDate(date);\n  _date.setHours(0, 0, 0, 0);\n  return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfDay;\n","import { toDate } from \"../toDate.mjs\";\n\n/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport function getTimezoneOffsetInMilliseconds(date) {\n  const _date = toDate(date);\n  const utcDate = new Date(\n    Date.UTC(\n      _date.getFullYear(),\n      _date.getMonth(),\n      _date.getDate(),\n      _date.getHours(),\n      _date.getMinutes(),\n      _date.getSeconds(),\n      _date.getMilliseconds(),\n    ),\n  );\n  utcDate.setUTCFullYear(_date.getFullYear());\n  return +date - +utcDate;\n}\n","import { millisecondsInDay } from \"./constants.mjs\";\nimport { startOfDay } from \"./startOfDay.mjs\";\nimport { getTimezoneOffsetInMilliseconds } from \"./_lib/getTimezoneOffsetInMilliseconds.mjs\";\n\n/**\n * @name differenceInCalendarDays\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates. This means that the times are removed\n * from the dates and then the difference in days is calculated.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param dateLeft - The later date\n * @param dateRight - The earlier date\n *\n * @returns The number of calendar days\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * const result = differenceInCalendarDays(\n *   new Date(2012, 6, 2, 0, 0),\n *   new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n * // How many calendar days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * const result = differenceInCalendarDays(\n *   new Date(2011, 6, 3, 0, 1),\n *   new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 1\n */\nexport function differenceInCalendarDays(dateLeft, dateRight) {\n  const startOfDayLeft = startOfDay(dateLeft);\n  const startOfDayRight = startOfDay(dateRight);\n\n  const timestampLeft =\n    +startOfDayLeft - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n  const timestampRight =\n    +startOfDayRight - getTimezoneOffsetInMilliseconds(startOfDayRight);\n\n  // Round the number of days to the nearest integer because the number of\n  // milliseconds in a day is not constant (e.g. it's different in the week of\n  // the daylight saving time clock shift).\n  return Math.round((timestampLeft - timestampRight) / millisecondsInDay);\n}\n\n// Fallback for modularized imports:\nexport default differenceInCalendarDays;\n","/**\n * @name constructFrom\n * @category Generic Helpers\n * @summary Constructs a date using the reference date and the value\n *\n * @description\n * The function constructs a new date using the constructor from the reference\n * date and the given value. It helps to build generic functions that accept\n * date extensions.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The reference date to take constructor from\n * @param value - The value to create the date\n *\n * @returns Date initialized using the given date and value\n *\n * @example\n * import { constructFrom } from 'date-fns'\n *\n * // A function that clones a date preserving the original type\n * function cloneDate<DateType extends Date(date: DateType): DateType {\n *   return constructFrom(\n *     date, // Use contrustor from the given date\n *     date.getTime() // Use the date value to create a new date\n *   )\n * }\n */\nexport function constructFrom(date, value) {\n  if (date instanceof Date) {\n    return new date.constructor(value);\n  } else {\n    return new Date(value);\n  }\n}\n\n// Fallback for modularized imports:\nexport default constructFrom;\n","import { toDate } from \"./toDate.mjs\";\nimport { constructFrom } from \"./constructFrom.mjs\";\n\n/**\n * @name startOfYear\n * @category Year Helpers\n * @summary Return the start of a year for the given date.\n *\n * @description\n * Return the start of a year for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n *\n * @returns The start of a year\n *\n * @example\n * // The start of a year for 2 September 2014 11:55:00:\n * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Jan 01 2014 00:00:00\n */\nexport function startOfYear(date) {\n  const cleanDate = toDate(date);\n  const _date = constructFrom(date, 0);\n  _date.setFullYear(cleanDate.getFullYear(), 0, 1);\n  _date.setHours(0, 0, 0, 0);\n  return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfYear;\n","import { differenceInCalendarDays } from \"./differenceInCalendarDays.mjs\";\nimport { startOfYear } from \"./startOfYear.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * @name getDayOfYear\n * @category Day Helpers\n * @summary Get the day of the year of the given date.\n *\n * @description\n * Get the day of the year of the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n *\n * @returns The day of year\n *\n * @example\n * // Which day of the year is 2 July 2014?\n * const result = getDayOfYear(new Date(2014, 6, 2))\n * //=> 183\n */\nexport function getDayOfYear(date) {\n  const _date = toDate(date);\n  const diff = differenceInCalendarDays(_date, startOfYear(_date));\n  const dayOfYear = diff + 1;\n  return dayOfYear;\n}\n\n// Fallback for modularized imports:\nexport default getDayOfYear;\n","import { toDate } from \"./toDate.mjs\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.mjs\";\n\n/**\n * The {@link startOfWeek} function options.\n */\n\n/**\n * @name startOfWeek\n * @category Week Helpers\n * @summary Return the start of a week for the given date.\n *\n * @description\n * Return the start of a week for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a week\n *\n * @example\n * // The start of a week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sun Aug 31 2014 00:00:00\n *\n * @example\n * // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:\n * const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function startOfWeek(date, options) {\n  const defaultOptions = getDefaultOptions();\n  const weekStartsOn =\n    options?.weekStartsOn ??\n    options?.locale?.options?.weekStartsOn ??\n    defaultOptions.weekStartsOn ??\n    defaultOptions.locale?.options?.weekStartsOn ??\n    0;\n\n  const _date = toDate(date);\n  const day = _date.getDay();\n  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n\n  _date.setDate(_date.getDate() - diff);\n  _date.setHours(0, 0, 0, 0);\n  return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfWeek;\n","import { startOfWeek } from \"./startOfWeek.mjs\";\n\n/**\n * @name startOfISOWeek\n * @category ISO Week Helpers\n * @summary Return the start of an ISO week for the given date.\n *\n * @description\n * Return the start of an ISO week for the given date.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n *\n * @returns The start of an ISO week\n *\n * @example\n * // The start of an ISO week for 2 September 2014 11:55:00:\n * const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function startOfISOWeek(date) {\n  return startOfWeek(date, { weekStartsOn: 1 });\n}\n\n// Fallback for modularized imports:\nexport default startOfISOWeek;\n","import { constructFrom } from \"./constructFrom.mjs\";\nimport { startOfISOWeek } from \"./startOfISOWeek.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * @name getISOWeekYear\n * @category ISO Week-Numbering Year Helpers\n * @summary Get the ISO week-numbering year of the given date.\n *\n * @description\n * Get the ISO week-numbering year of the given date,\n * which always starts 3 days before the year's first Thursday.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n *\n * @returns The ISO week-numbering year\n *\n * @example\n * // Which ISO-week numbering year is 2 January 2005?\n * const result = getISOWeekYear(new Date(2005, 0, 2))\n * //=> 2004\n */\nexport function getISOWeekYear(date) {\n  const _date = toDate(date);\n  const year = _date.getFullYear();\n\n  const fourthOfJanuaryOfNextYear = constructFrom(date, 0);\n  fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n  fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n  const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);\n\n  const fourthOfJanuaryOfThisYear = constructFrom(date, 0);\n  fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);\n  fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);\n  const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);\n\n  if (_date.getTime() >= startOfNextYear.getTime()) {\n    return year + 1;\n  } else if (_date.getTime() >= startOfThisYear.getTime()) {\n    return year;\n  } else {\n    return year - 1;\n  }\n}\n\n// Fallback for modularized imports:\nexport default getISOWeekYear;\n","import { getISOWeekYear } from \"./getISOWeekYear.mjs\";\nimport { startOfISOWeek } from \"./startOfISOWeek.mjs\";\nimport { constructFrom } from \"./constructFrom.mjs\";\n\n/**\n * @name startOfISOWeekYear\n * @category ISO Week-Numbering Year Helpers\n * @summary Return the start of an ISO week-numbering year for the given date.\n *\n * @description\n * Return the start of an ISO week-numbering year,\n * which always starts 3 days before the year's first Thursday.\n * The result will be in the local timezone.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n *\n * @returns The start of an ISO week-numbering year\n *\n * @example\n * // The start of an ISO week-numbering year for 2 July 2005:\n * const result = startOfISOWeekYear(new Date(2005, 6, 2))\n * //=> Mon Jan 03 2005 00:00:00\n */\nexport function startOfISOWeekYear(date) {\n  const year = getISOWeekYear(date);\n  const fourthOfJanuary = constructFrom(date, 0);\n  fourthOfJanuary.setFullYear(year, 0, 4);\n  fourthOfJanuary.setHours(0, 0, 0, 0);\n  return startOfISOWeek(fourthOfJanuary);\n}\n\n// Fallback for modularized imports:\nexport default startOfISOWeekYear;\n","import { millisecondsInWeek } from \"./constants.mjs\";\nimport { startOfISOWeek } from \"./startOfISOWeek.mjs\";\nimport { startOfISOWeekYear } from \"./startOfISOWeekYear.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * @name getISOWeek\n * @category ISO Week Helpers\n * @summary Get the ISO week of the given date.\n *\n * @description\n * Get the ISO week of the given date.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n *\n * @returns The ISO week\n *\n * @example\n * // Which week of the ISO-week numbering year is 2 January 2005?\n * const result = getISOWeek(new Date(2005, 0, 2))\n * //=> 53\n */\nexport function getISOWeek(date) {\n  const _date = toDate(date);\n  const diff = +startOfISOWeek(_date) - +startOfISOWeekYear(_date);\n\n  // Round the number of weeks to the nearest integer because the number of\n  // milliseconds in a week is not constant (e.g. it's different in the week of\n  // the daylight saving time clock shift).\n  return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// Fallback for modularized imports:\nexport default getISOWeek;\n","import { constructFrom } from \"./constructFrom.mjs\";\nimport { startOfWeek } from \"./startOfWeek.mjs\";\nimport { toDate } from \"./toDate.mjs\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.mjs\";\n\n/**\n * The {@link getWeekYear} function options.\n */\n\n/**\n * @name getWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Get the local week-numbering year of the given date.\n *\n * @description\n * Get the local week-numbering year of the given date.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n * @param options - An object with options.\n *\n * @returns The local week-numbering year\n *\n * @example\n * // Which week numbering year is 26 December 2004 with the default settings?\n * const result = getWeekYear(new Date(2004, 11, 26))\n * //=> 2005\n *\n * @example\n * // Which week numbering year is 26 December 2004 if week starts on Saturday?\n * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 })\n * //=> 2004\n *\n * @example\n * // Which week numbering year is 26 December 2004 if the first week contains 4 January?\n * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 })\n * //=> 2004\n */\nexport function getWeekYear(date, options) {\n  const _date = toDate(date);\n  const year = _date.getFullYear();\n\n  const defaultOptions = getDefaultOptions();\n  const firstWeekContainsDate =\n    options?.firstWeekContainsDate ??\n    options?.locale?.options?.firstWeekContainsDate ??\n    defaultOptions.firstWeekContainsDate ??\n    defaultOptions.locale?.options?.firstWeekContainsDate ??\n    1;\n\n  const firstWeekOfNextYear = constructFrom(date, 0);\n  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n  firstWeekOfNextYear.setHours(0, 0, 0, 0);\n  const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n\n  const firstWeekOfThisYear = constructFrom(date, 0);\n  firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n  firstWeekOfThisYear.setHours(0, 0, 0, 0);\n  const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n\n  if (_date.getTime() >= startOfNextYear.getTime()) {\n    return year + 1;\n  } else if (_date.getTime() >= startOfThisYear.getTime()) {\n    return year;\n  } else {\n    return year - 1;\n  }\n}\n\n// Fallback for modularized imports:\nexport default getWeekYear;\n","import { constructFrom } from \"./constructFrom.mjs\";\nimport { getWeekYear } from \"./getWeekYear.mjs\";\nimport { startOfWeek } from \"./startOfWeek.mjs\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.mjs\";\n\n/**\n * The {@link startOfWeekYear} function options.\n */\n\n/**\n * @name startOfWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Return the start of a local week-numbering year for the given date.\n *\n * @description\n * Return the start of a local week-numbering year.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a week-numbering year\n *\n * @example\n * // The start of an a week-numbering year for 2 July 2005 with default settings:\n * const result = startOfWeekYear(new Date(2005, 6, 2))\n * //=> Sun Dec 26 2004 00:00:00\n *\n * @example\n * // The start of a week-numbering year for 2 July 2005\n * // if Monday is the first day of week\n * // and 4 January is always in the first week of the year:\n * const result = startOfWeekYear(new Date(2005, 6, 2), {\n *   weekStartsOn: 1,\n *   firstWeekContainsDate: 4\n * })\n * //=> Mon Jan 03 2005 00:00:00\n */\nexport function startOfWeekYear(date, options) {\n  const defaultOptions = getDefaultOptions();\n  const firstWeekContainsDate =\n    options?.firstWeekContainsDate ??\n    options?.locale?.options?.firstWeekContainsDate ??\n    defaultOptions.firstWeekContainsDate ??\n    defaultOptions.locale?.options?.firstWeekContainsDate ??\n    1;\n\n  const year = getWeekYear(date, options);\n  const firstWeek = constructFrom(date, 0);\n  firstWeek.setFullYear(year, 0, firstWeekContainsDate);\n  firstWeek.setHours(0, 0, 0, 0);\n  const _date = startOfWeek(firstWeek, options);\n  return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfWeekYear;\n","import { millisecondsInWeek } from \"./constants.mjs\";\nimport { startOfWeek } from \"./startOfWeek.mjs\";\nimport { startOfWeekYear } from \"./startOfWeekYear.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * The {@link getWeek} function options.\n */\n\n/**\n * @name getWeek\n * @category Week Helpers\n * @summary Get the local week index of the given date.\n *\n * @description\n * Get the local week index of the given date.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The given date\n * @param options - An object with options\n *\n * @returns The week\n *\n * @example\n * // Which week of the local week numbering year is 2 January 2005 with default options?\n * const result = getWeek(new Date(2005, 0, 2))\n * //=> 2\n *\n * @example\n * // Which week of the local week numbering year is 2 January 2005,\n * // if Monday is the first day of the week,\n * // and the first week of the year always contains 4 January?\n * const result = getWeek(new Date(2005, 0, 2), {\n *   weekStartsOn: 1,\n *   firstWeekContainsDate: 4\n * })\n * //=> 53\n */\n\nexport function getWeek(date, options) {\n  const _date = toDate(date);\n  const diff = +startOfWeek(_date, options) - +startOfWeekYear(_date, options);\n\n  // Round the number of weeks to the nearest integer because the number of\n  // milliseconds in a week is not constant (e.g. it's different in the week of\n  // the daylight saving time clock shift).\n  return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// Fallback for modularized imports:\nexport default getWeek;\n","export function addLeadingZeros(number, targetLength) {\n  const sign = number < 0 ? \"-\" : \"\";\n  const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n  return sign + output;\n}\n","import { addLeadingZeros } from \"../addLeadingZeros.mjs\";\n\n/*\n * |     | Unit                           |     | Unit                           |\n * |-----|--------------------------------|-----|--------------------------------|\n * |  a  | AM, PM                         |  A* |                                |\n * |  d  | Day of month                   |  D  |                                |\n * |  h  | Hour [1-12]                    |  H  | Hour [0-23]                    |\n * |  m  | Minute                         |  M  | Month                          |\n * |  s  | Second                         |  S  | Fraction of second             |\n * |  y  | Year (abs)                     |  Y  |                                |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n */\n\nexport const lightFormatters = {\n  // Year\n  y(date, token) {\n    // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n    // | Year     |     y | yy |   yyy |  yyyy | yyyyy |\n    // |----------|-------|----|-------|-------|-------|\n    // | AD 1     |     1 | 01 |   001 |  0001 | 00001 |\n    // | AD 12    |    12 | 12 |   012 |  0012 | 00012 |\n    // | AD 123   |   123 | 23 |   123 |  0123 | 00123 |\n    // | AD 1234  |  1234 | 34 |  1234 |  1234 | 01234 |\n    // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n\n    const signedYear = date.getFullYear();\n    // Returns 1 for 1 BC (which is year 0 in JavaScript)\n    const year = signedYear > 0 ? signedYear : 1 - signedYear;\n    return addLeadingZeros(token === \"yy\" ? year % 100 : year, token.length);\n  },\n\n  // Month\n  M(date, token) {\n    const month = date.getMonth();\n    return token === \"M\" ? String(month + 1) : addLeadingZeros(month + 1, 2);\n  },\n\n  // Day of the month\n  d(date, token) {\n    return addLeadingZeros(date.getDate(), token.length);\n  },\n\n  // AM or PM\n  a(date, token) {\n    const dayPeriodEnumValue = date.getHours() / 12 >= 1 ? \"pm\" : \"am\";\n\n    switch (token) {\n      case \"a\":\n      case \"aa\":\n        return dayPeriodEnumValue.toUpperCase();\n      case \"aaa\":\n        return dayPeriodEnumValue;\n      case \"aaaaa\":\n        return dayPeriodEnumValue[0];\n      case \"aaaa\":\n      default:\n        return dayPeriodEnumValue === \"am\" ? \"a.m.\" : \"p.m.\";\n    }\n  },\n\n  // Hour [1-12]\n  h(date, token) {\n    return addLeadingZeros(date.getHours() % 12 || 12, token.length);\n  },\n\n  // Hour [0-23]\n  H(date, token) {\n    return addLeadingZeros(date.getHours(), token.length);\n  },\n\n  // Minute\n  m(date, token) {\n    return addLeadingZeros(date.getMinutes(), token.length);\n  },\n\n  // Second\n  s(date, token) {\n    return addLeadingZeros(date.getSeconds(), token.length);\n  },\n\n  // Fraction of second\n  S(date, token) {\n    const numberOfDigits = token.length;\n    const milliseconds = date.getMilliseconds();\n    const fractionalSeconds = Math.trunc(\n      milliseconds * Math.pow(10, numberOfDigits - 3),\n    );\n    return addLeadingZeros(fractionalSeconds, token.length);\n  },\n};\n","import { getDayOfYear } from \"../../getDayOfYear.mjs\";\nimport { getISOWeek } from \"../../getISOWeek.mjs\";\nimport { getISOWeekYear } from \"../../getISOWeekYear.mjs\";\nimport { getWeek } from \"../../getWeek.mjs\";\nimport { getWeekYear } from \"../../getWeekYear.mjs\";\nimport { addLeadingZeros } from \"../addLeadingZeros.mjs\";\nimport { lightFormatters } from \"./lightFormatters.mjs\";\n\nconst dayPeriodEnum = {\n  am: \"am\",\n  pm: \"pm\",\n  midnight: \"midnight\",\n  noon: \"noon\",\n  morning: \"morning\",\n  afternoon: \"afternoon\",\n  evening: \"evening\",\n  night: \"night\",\n};\n\n/*\n * |     | Unit                           |     | Unit                           |\n * |-----|--------------------------------|-----|--------------------------------|\n * |  a  | AM, PM                         |  A* | Milliseconds in day            |\n * |  b  | AM, PM, noon, midnight         |  B  | Flexible day period            |\n * |  c  | Stand-alone local day of week  |  C* | Localized hour w/ day period   |\n * |  d  | Day of month                   |  D  | Day of year                    |\n * |  e  | Local day of week              |  E  | Day of week                    |\n * |  f  |                                |  F* | Day of week in month           |\n * |  g* | Modified Julian day            |  G  | Era                            |\n * |  h  | Hour [1-12]                    |  H  | Hour [0-23]                    |\n * |  i! | ISO day of week                |  I! | ISO week of year               |\n * |  j* | Localized hour w/ day period   |  J* | Localized hour w/o day period  |\n * |  k  | Hour [1-24]                    |  K  | Hour [0-11]                    |\n * |  l* | (deprecated)                   |  L  | Stand-alone month              |\n * |  m  | Minute                         |  M  | Month                          |\n * |  n  |                                |  N  |                                |\n * |  o! | Ordinal number modifier        |  O  | Timezone (GMT)                 |\n * |  p! | Long localized time            |  P! | Long localized date            |\n * |  q  | Stand-alone quarter            |  Q  | Quarter                        |\n * |  r* | Related Gregorian year         |  R! | ISO week-numbering year        |\n * |  s  | Second                         |  S  | Fraction of second             |\n * |  t! | Seconds timestamp              |  T! | Milliseconds timestamp         |\n * |  u  | Extended year                  |  U* | Cyclic year                    |\n * |  v* | Timezone (generic non-locat.)  |  V* | Timezone (location)            |\n * |  w  | Local week of year             |  W* | Week of month                  |\n * |  x  | Timezone (ISO-8601 w/o Z)      |  X  | Timezone (ISO-8601)            |\n * |  y  | Year (abs)                     |  Y  | Local week-numbering year      |\n * |  z  | Timezone (specific non-locat.) |  Z* | Timezone (aliases)             |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `format` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n *   i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n *   `R` is supposed to be used in conjunction with `I` and `i`\n *   for universal ISO week-numbering date, whereas\n *   `Y` is supposed to be used in conjunction with `w` and `e`\n *   for week-numbering date specific to the locale.\n * - `P` is long localized date format\n * - `p` is long localized time format\n */\n\nexport const formatters = {\n  // Era\n  G: function (date, token, localize) {\n    const era = date.getFullYear() > 0 ? 1 : 0;\n    switch (token) {\n      // AD, BC\n      case \"G\":\n      case \"GG\":\n      case \"GGG\":\n        return localize.era(era, { width: \"abbreviated\" });\n      // A, B\n      case \"GGGGG\":\n        return localize.era(era, { width: \"narrow\" });\n      // Anno Domini, Before Christ\n      case \"GGGG\":\n      default:\n        return localize.era(era, { width: \"wide\" });\n    }\n  },\n\n  // Year\n  y: function (date, token, localize) {\n    // Ordinal number\n    if (token === \"yo\") {\n      const signedYear = date.getFullYear();\n      // Returns 1 for 1 BC (which is year 0 in JavaScript)\n      const year = signedYear > 0 ? signedYear : 1 - signedYear;\n      return localize.ordinalNumber(year, { unit: \"year\" });\n    }\n\n    return lightFormatters.y(date, token);\n  },\n\n  // Local week-numbering year\n  Y: function (date, token, localize, options) {\n    const signedWeekYear = getWeekYear(date, options);\n    // Returns 1 for 1 BC (which is year 0 in JavaScript)\n    const weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;\n\n    // Two digit year\n    if (token === \"YY\") {\n      const twoDigitYear = weekYear % 100;\n      return addLeadingZeros(twoDigitYear, 2);\n    }\n\n    // Ordinal number\n    if (token === \"Yo\") {\n      return localize.ordinalNumber(weekYear, { unit: \"year\" });\n    }\n\n    // Padding\n    return addLeadingZeros(weekYear, token.length);\n  },\n\n  // ISO week-numbering year\n  R: function (date, token) {\n    const isoWeekYear = getISOWeekYear(date);\n\n    // Padding\n    return addLeadingZeros(isoWeekYear, token.length);\n  },\n\n  // Extended year. This is a single number designating the year of this calendar system.\n  // The main difference between `y` and `u` localizers are B.C. years:\n  // | Year | `y` | `u` |\n  // |------|-----|-----|\n  // | AC 1 |   1 |   1 |\n  // | BC 1 |   1 |   0 |\n  // | BC 2 |   2 |  -1 |\n  // Also `yy` always returns the last two digits of a year,\n  // while `uu` pads single digit years to 2 characters and returns other years unchanged.\n  u: function (date, token) {\n    const year = date.getFullYear();\n    return addLeadingZeros(year, token.length);\n  },\n\n  // Quarter\n  Q: function (date, token, localize) {\n    const quarter = Math.ceil((date.getMonth() + 1) / 3);\n    switch (token) {\n      // 1, 2, 3, 4\n      case \"Q\":\n        return String(quarter);\n      // 01, 02, 03, 04\n      case \"QQ\":\n        return addLeadingZeros(quarter, 2);\n      // 1st, 2nd, 3rd, 4th\n      case \"Qo\":\n        return localize.ordinalNumber(quarter, { unit: \"quarter\" });\n      // Q1, Q2, Q3, Q4\n      case \"QQQ\":\n        return localize.quarter(quarter, {\n          width: \"abbreviated\",\n          context: \"formatting\",\n        });\n      // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n      case \"QQQQQ\":\n        return localize.quarter(quarter, {\n          width: \"narrow\",\n          context: \"formatting\",\n        });\n      // 1st quarter, 2nd quarter, ...\n      case \"QQQQ\":\n      default:\n        return localize.quarter(quarter, {\n          width: \"wide\",\n          context: \"formatting\",\n        });\n    }\n  },\n\n  // Stand-alone quarter\n  q: function (date, token, localize) {\n    const quarter = Math.ceil((date.getMonth() + 1) / 3);\n    switch (token) {\n      // 1, 2, 3, 4\n      case \"q\":\n        return String(quarter);\n      // 01, 02, 03, 04\n      case \"qq\":\n        return addLeadingZeros(quarter, 2);\n      // 1st, 2nd, 3rd, 4th\n      case \"qo\":\n        return localize.ordinalNumber(quarter, { unit: \"quarter\" });\n      // Q1, Q2, Q3, Q4\n      case \"qqq\":\n        return localize.quarter(quarter, {\n          width: \"abbreviated\",\n          context: \"standalone\",\n        });\n      // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n      case \"qqqqq\":\n        return localize.quarter(quarter, {\n          width: \"narrow\",\n          context: \"standalone\",\n        });\n      // 1st quarter, 2nd quarter, ...\n      case \"qqqq\":\n      default:\n        return localize.quarter(quarter, {\n          width: \"wide\",\n          context: \"standalone\",\n        });\n    }\n  },\n\n  // Month\n  M: function (date, token, localize) {\n    const month = date.getMonth();\n    switch (token) {\n      case \"M\":\n      case \"MM\":\n        return lightFormatters.M(date, token);\n      // 1st, 2nd, ..., 12th\n      case \"Mo\":\n        return localize.ordinalNumber(month + 1, { unit: \"month\" });\n      // Jan, Feb, ..., Dec\n      case \"MMM\":\n        return localize.month(month, {\n          width: \"abbreviated\",\n          context: \"formatting\",\n        });\n      // J, F, ..., D\n      case \"MMMMM\":\n        return localize.month(month, {\n          width: \"narrow\",\n          context: \"formatting\",\n        });\n      // January, February, ..., December\n      case \"MMMM\":\n      default:\n        return localize.month(month, { width: \"wide\", context: \"formatting\" });\n    }\n  },\n\n  // Stand-alone month\n  L: function (date, token, localize) {\n    const month = date.getMonth();\n    switch (token) {\n      // 1, 2, ..., 12\n      case \"L\":\n        return String(month + 1);\n      // 01, 02, ..., 12\n      case \"LL\":\n        return addLeadingZeros(month + 1, 2);\n      // 1st, 2nd, ..., 12th\n      case \"Lo\":\n        return localize.ordinalNumber(month + 1, { unit: \"month\" });\n      // Jan, Feb, ..., Dec\n      case \"LLL\":\n        return localize.month(month, {\n          width: \"abbreviated\",\n          context: \"standalone\",\n        });\n      // J, F, ..., D\n      case \"LLLLL\":\n        return localize.month(month, {\n          width: \"narrow\",\n          context: \"standalone\",\n        });\n      // January, February, ..., December\n      case \"LLLL\":\n      default:\n        return localize.month(month, { width: \"wide\", context: \"standalone\" });\n    }\n  },\n\n  // Local week of year\n  w: function (date, token, localize, options) {\n    const week = getWeek(date, options);\n\n    if (token === \"wo\") {\n      return localize.ordinalNumber(week, { unit: \"week\" });\n    }\n\n    return addLeadingZeros(week, token.length);\n  },\n\n  // ISO week of year\n  I: function (date, token, localize) {\n    const isoWeek = getISOWeek(date);\n\n    if (token === \"Io\") {\n      return localize.ordinalNumber(isoWeek, { unit: \"week\" });\n    }\n\n    return addLeadingZeros(isoWeek, token.length);\n  },\n\n  // Day of the month\n  d: function (date, token, localize) {\n    if (token === \"do\") {\n      return localize.ordinalNumber(date.getDate(), { unit: \"date\" });\n    }\n\n    return lightFormatters.d(date, token);\n  },\n\n  // Day of year\n  D: function (date, token, localize) {\n    const dayOfYear = getDayOfYear(date);\n\n    if (token === \"Do\") {\n      return localize.ordinalNumber(dayOfYear, { unit: \"dayOfYear\" });\n    }\n\n    return addLeadingZeros(dayOfYear, token.length);\n  },\n\n  // Day of week\n  E: function (date, token, localize) {\n    const dayOfWeek = date.getDay();\n    switch (token) {\n      // Tue\n      case \"E\":\n      case \"EE\":\n      case \"EEE\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"formatting\",\n        });\n      // T\n      case \"EEEEE\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"formatting\",\n        });\n      // Tu\n      case \"EEEEEE\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"formatting\",\n        });\n      // Tuesday\n      case \"EEEE\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"formatting\",\n        });\n    }\n  },\n\n  // Local day of week\n  e: function (date, token, localize, options) {\n    const dayOfWeek = date.getDay();\n    const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n    switch (token) {\n      // Numerical value (Nth day of week with current locale or weekStartsOn)\n      case \"e\":\n        return String(localDayOfWeek);\n      // Padded numerical value\n      case \"ee\":\n        return addLeadingZeros(localDayOfWeek, 2);\n      // 1st, 2nd, ..., 7th\n      case \"eo\":\n        return localize.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n      case \"eee\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"formatting\",\n        });\n      // T\n      case \"eeeee\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"formatting\",\n        });\n      // Tu\n      case \"eeeeee\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"formatting\",\n        });\n      // Tuesday\n      case \"eeee\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"formatting\",\n        });\n    }\n  },\n\n  // Stand-alone local day of week\n  c: function (date, token, localize, options) {\n    const dayOfWeek = date.getDay();\n    const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n    switch (token) {\n      // Numerical value (same as in `e`)\n      case \"c\":\n        return String(localDayOfWeek);\n      // Padded numerical value\n      case \"cc\":\n        return addLeadingZeros(localDayOfWeek, token.length);\n      // 1st, 2nd, ..., 7th\n      case \"co\":\n        return localize.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n      case \"ccc\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"standalone\",\n        });\n      // T\n      case \"ccccc\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"standalone\",\n        });\n      // Tu\n      case \"cccccc\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"standalone\",\n        });\n      // Tuesday\n      case \"cccc\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"standalone\",\n        });\n    }\n  },\n\n  // ISO day of week\n  i: function (date, token, localize) {\n    const dayOfWeek = date.getDay();\n    const isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n    switch (token) {\n      // 2\n      case \"i\":\n        return String(isoDayOfWeek);\n      // 02\n      case \"ii\":\n        return addLeadingZeros(isoDayOfWeek, token.length);\n      // 2nd\n      case \"io\":\n        return localize.ordinalNumber(isoDayOfWeek, { unit: \"day\" });\n      // Tue\n      case \"iii\":\n        return localize.day(dayOfWeek, {\n          width: \"abbreviated\",\n          context: \"formatting\",\n        });\n      // T\n      case \"iiiii\":\n        return localize.day(dayOfWeek, {\n          width: \"narrow\",\n          context: \"formatting\",\n        });\n      // Tu\n      case \"iiiiii\":\n        return localize.day(dayOfWeek, {\n          width: \"short\",\n          context: \"formatting\",\n        });\n      // Tuesday\n      case \"iiii\":\n      default:\n        return localize.day(dayOfWeek, {\n          width: \"wide\",\n          context: \"formatting\",\n        });\n    }\n  },\n\n  // AM or PM\n  a: function (date, token, localize) {\n    const hours = date.getHours();\n    const dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n\n    switch (token) {\n      case \"a\":\n      case \"aa\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\",\n        });\n      case \"aaa\":\n        return localize\n          .dayPeriod(dayPeriodEnumValue, {\n            width: \"abbreviated\",\n            context: \"formatting\",\n          })\n          .toLowerCase();\n      case \"aaaaa\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"narrow\",\n          context: \"formatting\",\n        });\n      case \"aaaa\":\n      default:\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"wide\",\n          context: \"formatting\",\n        });\n    }\n  },\n\n  // AM, PM, midnight, noon\n  b: function (date, token, localize) {\n    const hours = date.getHours();\n    let dayPeriodEnumValue;\n    if (hours === 12) {\n      dayPeriodEnumValue = dayPeriodEnum.noon;\n    } else if (hours === 0) {\n      dayPeriodEnumValue = dayPeriodEnum.midnight;\n    } else {\n      dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n    }\n\n    switch (token) {\n      case \"b\":\n      case \"bb\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\",\n        });\n      case \"bbb\":\n        return localize\n          .dayPeriod(dayPeriodEnumValue, {\n            width: \"abbreviated\",\n            context: \"formatting\",\n          })\n          .toLowerCase();\n      case \"bbbbb\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"narrow\",\n          context: \"formatting\",\n        });\n      case \"bbbb\":\n      default:\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"wide\",\n          context: \"formatting\",\n        });\n    }\n  },\n\n  // in the morning, in the afternoon, in the evening, at night\n  B: function (date, token, localize) {\n    const hours = date.getHours();\n    let dayPeriodEnumValue;\n    if (hours >= 17) {\n      dayPeriodEnumValue = dayPeriodEnum.evening;\n    } else if (hours >= 12) {\n      dayPeriodEnumValue = dayPeriodEnum.afternoon;\n    } else if (hours >= 4) {\n      dayPeriodEnumValue = dayPeriodEnum.morning;\n    } else {\n      dayPeriodEnumValue = dayPeriodEnum.night;\n    }\n\n    switch (token) {\n      case \"B\":\n      case \"BB\":\n      case \"BBB\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"abbreviated\",\n          context: \"formatting\",\n        });\n      case \"BBBBB\":\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"narrow\",\n          context: \"formatting\",\n        });\n      case \"BBBB\":\n      default:\n        return localize.dayPeriod(dayPeriodEnumValue, {\n          width: \"wide\",\n          context: \"formatting\",\n        });\n    }\n  },\n\n  // Hour [1-12]\n  h: function (date, token, localize) {\n    if (token === \"ho\") {\n      let hours = date.getHours() % 12;\n      if (hours === 0) hours = 12;\n      return localize.ordinalNumber(hours, { unit: \"hour\" });\n    }\n\n    return lightFormatters.h(date, token);\n  },\n\n  // Hour [0-23]\n  H: function (date, token, localize) {\n    if (token === \"Ho\") {\n      return localize.ordinalNumber(date.getHours(), { unit: \"hour\" });\n    }\n\n    return lightFormatters.H(date, token);\n  },\n\n  // Hour [0-11]\n  K: function (date, token, localize) {\n    const hours = date.getHours() % 12;\n\n    if (token === \"Ko\") {\n      return localize.ordinalNumber(hours, { unit: \"hour\" });\n    }\n\n    return addLeadingZeros(hours, token.length);\n  },\n\n  // Hour [1-24]\n  k: function (date, token, localize) {\n    let hours = date.getHours();\n    if (hours === 0) hours = 24;\n\n    if (token === \"ko\") {\n      return localize.ordinalNumber(hours, { unit: \"hour\" });\n    }\n\n    return addLeadingZeros(hours, token.length);\n  },\n\n  // Minute\n  m: function (date, token, localize) {\n    if (token === \"mo\") {\n      return localize.ordinalNumber(date.getMinutes(), { unit: \"minute\" });\n    }\n\n    return lightFormatters.m(date, token);\n  },\n\n  // Second\n  s: function (date, token, localize) {\n    if (token === \"so\") {\n      return localize.ordinalNumber(date.getSeconds(), { unit: \"second\" });\n    }\n\n    return lightFormatters.s(date, token);\n  },\n\n  // Fraction of second\n  S: function (date, token) {\n    return lightFormatters.S(date, token);\n  },\n\n  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n  X: function (date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n\n    if (timezoneOffset === 0) {\n      return \"Z\";\n    }\n\n    switch (token) {\n      // Hours and optional minutes\n      case \"X\":\n        return formatTimezoneWithOptionalMinutes(timezoneOffset);\n\n      // Hours, minutes and optional seconds without `:` delimiter\n      // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n      // so this token always has the same output as `XX`\n      case \"XXXX\":\n      case \"XX\": // Hours and minutes without `:` delimiter\n        return formatTimezone(timezoneOffset);\n\n      // Hours, minutes and optional seconds with `:` delimiter\n      // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n      // so this token always has the same output as `XXX`\n      case \"XXXXX\":\n      case \"XXX\": // Hours and minutes with `:` delimiter\n      default:\n        return formatTimezone(timezoneOffset, \":\");\n    }\n  },\n\n  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n  x: function (date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n\n    switch (token) {\n      // Hours and optional minutes\n      case \"x\":\n        return formatTimezoneWithOptionalMinutes(timezoneOffset);\n\n      // Hours, minutes and optional seconds without `:` delimiter\n      // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n      // so this token always has the same output as `xx`\n      case \"xxxx\":\n      case \"xx\": // Hours and minutes without `:` delimiter\n        return formatTimezone(timezoneOffset);\n\n      // Hours, minutes and optional seconds with `:` delimiter\n      // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n      // so this token always has the same output as `xxx`\n      case \"xxxxx\":\n      case \"xxx\": // Hours and minutes with `:` delimiter\n      default:\n        return formatTimezone(timezoneOffset, \":\");\n    }\n  },\n\n  // Timezone (GMT)\n  O: function (date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n\n    switch (token) {\n      // Short\n      case \"O\":\n      case \"OO\":\n      case \"OOO\":\n        return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n      // Long\n      case \"OOOO\":\n      default:\n        return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n    }\n  },\n\n  // Timezone (specific non-location)\n  z: function (date, token, _localize) {\n    const timezoneOffset = date.getTimezoneOffset();\n\n    switch (token) {\n      // Short\n      case \"z\":\n      case \"zz\":\n      case \"zzz\":\n        return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n      // Long\n      case \"zzzz\":\n      default:\n        return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n    }\n  },\n\n  // Seconds timestamp\n  t: function (date, token, _localize) {\n    const timestamp = Math.trunc(date.getTime() / 1000);\n    return addLeadingZeros(timestamp, token.length);\n  },\n\n  // Milliseconds timestamp\n  T: function (date, token, _localize) {\n    const timestamp = date.getTime();\n    return addLeadingZeros(timestamp, token.length);\n  },\n};\n\nfunction formatTimezoneShort(offset, delimiter = \"\") {\n  const sign = offset > 0 ? \"-\" : \"+\";\n  const absOffset = Math.abs(offset);\n  const hours = Math.trunc(absOffset / 60);\n  const minutes = absOffset % 60;\n  if (minutes === 0) {\n    return sign + String(hours);\n  }\n  return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\n\nfunction formatTimezoneWithOptionalMinutes(offset, delimiter) {\n  if (offset % 60 === 0) {\n    const sign = offset > 0 ? \"-\" : \"+\";\n    return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n  }\n  return formatTimezone(offset, delimiter);\n}\n\nfunction formatTimezone(offset, delimiter = \"\") {\n  const sign = offset > 0 ? \"-\" : \"+\";\n  const absOffset = Math.abs(offset);\n  const hours = addLeadingZeros(Math.trunc(absOffset / 60), 2);\n  const minutes = addLeadingZeros(absOffset % 60, 2);\n  return sign + hours + delimiter + minutes;\n}\n","const dateLongFormatter = (pattern, formatLong) => {\n  switch (pattern) {\n    case \"P\":\n      return formatLong.date({ width: \"short\" });\n    case \"PP\":\n      return formatLong.date({ width: \"medium\" });\n    case \"PPP\":\n      return formatLong.date({ width: \"long\" });\n    case \"PPPP\":\n    default:\n      return formatLong.date({ width: \"full\" });\n  }\n};\n\nconst timeLongFormatter = (pattern, formatLong) => {\n  switch (pattern) {\n    case \"p\":\n      return formatLong.time({ width: \"short\" });\n    case \"pp\":\n      return formatLong.time({ width: \"medium\" });\n    case \"ppp\":\n      return formatLong.time({ width: \"long\" });\n    case \"pppp\":\n    default:\n      return formatLong.time({ width: \"full\" });\n  }\n};\n\nconst dateTimeLongFormatter = (pattern, formatLong) => {\n  const matchResult = pattern.match(/(P+)(p+)?/) || [];\n  const datePattern = matchResult[1];\n  const timePattern = matchResult[2];\n\n  if (!timePattern) {\n    return dateLongFormatter(pattern, formatLong);\n  }\n\n  let dateTimeFormat;\n\n  switch (datePattern) {\n    case \"P\":\n      dateTimeFormat = formatLong.dateTime({ width: \"short\" });\n      break;\n    case \"PP\":\n      dateTimeFormat = formatLong.dateTime({ width: \"medium\" });\n      break;\n    case \"PPP\":\n      dateTimeFormat = formatLong.dateTime({ width: \"long\" });\n      break;\n    case \"PPPP\":\n    default:\n      dateTimeFormat = formatLong.dateTime({ width: \"full\" });\n      break;\n  }\n\n  return dateTimeFormat\n    .replace(\"{{date}}\", dateLongFormatter(datePattern, formatLong))\n    .replace(\"{{time}}\", timeLongFormatter(timePattern, formatLong));\n};\n\nexport const longFormatters = {\n  p: timeLongFormatter,\n  P: dateTimeLongFormatter,\n};\n","const dayOfYearTokenRE = /^D+$/;\nconst weekYearTokenRE = /^Y+$/;\n\nconst throwTokens = [\"D\", \"DD\", \"YY\", \"YYYY\"];\n\nexport function isProtectedDayOfYearToken(token) {\n  return dayOfYearTokenRE.test(token);\n}\n\nexport function isProtectedWeekYearToken(token) {\n  return weekYearTokenRE.test(token);\n}\n\nexport function warnOrThrowProtectedError(token, format, input) {\n  const _message = message(token, format, input);\n  console.warn(_message);\n  if (throwTokens.includes(token)) throw new RangeError(_message);\n}\n\nfunction message(token, format, input) {\n  const subject = token[0] === \"Y\" ? \"years\" : \"days of the month\";\n  return `Use \\`${token.toLowerCase()}\\` instead of \\`${token}\\` (in \\`${format}\\`) for formatting ${subject} to the input \\`${input}\\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;\n}\n","/**\n * @name isDate\n * @category Common Helpers\n * @summary Is the given value a date?\n *\n * @description\n * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.\n *\n * @param value - The value to check\n *\n * @returns True if the given value is a date\n *\n * @example\n * // For a valid date:\n * const result = isDate(new Date())\n * //=> true\n *\n * @example\n * // For an invalid date:\n * const result = isDate(new Date(NaN))\n * //=> true\n *\n * @example\n * // For some value:\n * const result = isDate('2014-02-31')\n * //=> false\n *\n * @example\n * // For an object:\n * const result = isDate({})\n * //=> false\n */\nexport function isDate(value) {\n  return (\n    value instanceof Date ||\n    (typeof value === \"object\" &&\n      Object.prototype.toString.call(value) === \"[object Date]\")\n  );\n}\n\n// Fallback for modularized imports:\nexport default isDate;\n","import { isDate } from \"./isDate.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n/**\n * @name isValid\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Argument is converted to Date using `toDate`. See [toDate](https://date-fns.org/docs/toDate)\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The date to check\n *\n * @returns The date is valid\n *\n * @example\n * // For the valid date:\n * const result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the value, convertable into a date:\n * const result = isValid(1393804800000)\n * //=> true\n *\n * @example\n * // For the invalid date:\n * const result = isValid(new Date(''))\n * //=> false\n */\nexport function isValid(date) {\n  if (!isDate(date) && typeof date !== \"number\") {\n    return false;\n  }\n  const _date = toDate(date);\n  return !isNaN(Number(_date));\n}\n\n// Fallback for modularized imports:\nexport default isValid;\n","import { defaultLocale } from \"./_lib/defaultLocale.mjs\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.mjs\";\nimport { formatters } from \"./_lib/format/formatters.mjs\";\nimport { longFormatters } from \"./_lib/format/longFormatters.mjs\";\nimport {\n  isProtectedDayOfYearToken,\n  isProtectedWeekYearToken,\n  warnOrThrowProtectedError,\n} from \"./_lib/protectedTokens.mjs\";\nimport { isValid } from \"./isValid.mjs\";\nimport { toDate } from \"./toDate.mjs\";\n\n// Rexports of internal for libraries to use.\n// See: https://github.com/date-fns/date-fns/issues/3638#issuecomment-1877082874\nexport { formatters, longFormatters };\n\n// This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n//   (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n//   except a single quote symbol, which ends the sequence.\n//   Two quote characters do not end the sequence.\n//   If there is no matching single quote\n//   then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\nconst formattingTokensRegExp =\n  /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\n\n// This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\nconst longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\n\nconst escapedStringRegExp = /^'([^]*?)'?$/;\nconst doubleQuoteRegExp = /''/g;\nconst unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n\nexport { format as formatDate };\n\n/**\n * The {@link format} function options.\n */\n\n/**\n * @name format\n * @alias formatDate\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. The result may vary by locale.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * The characters wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n * (see the last example)\n *\n * Format of the string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 7 below the table).\n *\n * Accepted patterns:\n * | Unit                            | Pattern | Result examples                   | Notes |\n * |---------------------------------|---------|-----------------------------------|-------|\n * | Era                             | G..GGG  | AD, BC                            |       |\n * |                                 | GGGG    | Anno Domini, Before Christ        | 2     |\n * |                                 | GGGGG   | A, B                              |       |\n * | Calendar year                   | y       | 44, 1, 1900, 2017                 | 5     |\n * |                                 | yo      | 44th, 1st, 0th, 17th              | 5,7   |\n * |                                 | yy      | 44, 01, 00, 17                    | 5     |\n * |                                 | yyy     | 044, 001, 1900, 2017              | 5     |\n * |                                 | yyyy    | 0044, 0001, 1900, 2017            | 5     |\n * |                                 | yyyyy   | ...                               | 3,5   |\n * | Local week-numbering year       | Y       | 44, 1, 1900, 2017                 | 5     |\n * |                                 | Yo      | 44th, 1st, 1900th, 2017th         | 5,7   |\n * |                                 | YY      | 44, 01, 00, 17                    | 5,8   |\n * |                                 | YYY     | 044, 001, 1900, 2017              | 5     |\n * |                                 | YYYY    | 0044, 0001, 1900, 2017            | 5,8   |\n * |                                 | YYYYY   | ...                               | 3,5   |\n * | ISO week-numbering year         | R       | -43, 0, 1, 1900, 2017             | 5,7   |\n * |                                 | RR      | -43, 00, 01, 1900, 2017           | 5,7   |\n * |                                 | RRR     | -043, 000, 001, 1900, 2017        | 5,7   |\n * |                                 | RRRR    | -0043, 0000, 0001, 1900, 2017     | 5,7   |\n * |                                 | RRRRR   | ...                               | 3,5,7 |\n * | Extended year                   | u       | -43, 0, 1, 1900, 2017             | 5     |\n * |                                 | uu      | -43, 01, 1900, 2017               | 5     |\n * |                                 | uuu     | -043, 001, 1900, 2017             | 5     |\n * |                                 | uuuu    | -0043, 0001, 1900, 2017           | 5     |\n * |                                 | uuuuu   | ...                               | 3,5   |\n * | Quarter (formatting)            | Q       | 1, 2, 3, 4                        |       |\n * |                                 | Qo      | 1st, 2nd, 3rd, 4th                | 7     |\n * |                                 | QQ      | 01, 02, 03, 04                    |       |\n * |                                 | QQQ     | Q1, Q2, Q3, Q4                    |       |\n * |                                 | QQQQ    | 1st quarter, 2nd quarter, ...     | 2     |\n * |                                 | QQQQQ   | 1, 2, 3, 4                        | 4     |\n * | Quarter (stand-alone)           | q       | 1, 2, 3, 4                        |       |\n * |                                 | qo      | 1st, 2nd, 3rd, 4th                | 7     |\n * |                                 | qq      | 01, 02, 03, 04                    |       |\n * |                                 | qqq     | Q1, Q2, Q3, Q4                    |       |\n * |                                 | qqqq    | 1st quarter, 2nd quarter, ...     | 2     |\n * |                                 | qqqqq   | 1, 2, 3, 4                        | 4     |\n * | Month (formatting)              | M       | 1, 2, ..., 12                     |       |\n * |                                 | Mo      | 1st, 2nd, ..., 12th               | 7     |\n * |                                 | MM      | 01, 02, ..., 12                   |       |\n * |                                 | MMM     | Jan, Feb, ..., Dec                |       |\n * |                                 | MMMM    | January, February, ..., December  | 2     |\n * |                                 | MMMMM   | J, F, ..., D                      |       |\n * | Month (stand-alone)             | L       | 1, 2, ..., 12                     |       |\n * |                                 | Lo      | 1st, 2nd, ..., 12th               | 7     |\n * |                                 | LL      | 01, 02, ..., 12                   |       |\n * |                                 | LLL     | Jan, Feb, ..., Dec                |       |\n * |                                 | LLLL    | January, February, ..., December  | 2     |\n * |                                 | LLLLL   | J, F, ..., D                      |       |\n * | Local week of year              | w       | 1, 2, ..., 53                     |       |\n * |                                 | wo      | 1st, 2nd, ..., 53th               | 7     |\n * |                                 | ww      | 01, 02, ..., 53                   |       |\n * | ISO week of year                | I       | 1, 2, ..., 53                     | 7     |\n * |                                 | Io      | 1st, 2nd, ..., 53th               | 7     |\n * |                                 | II      | 01, 02, ..., 53                   | 7     |\n * | Day of month                    | d       | 1, 2, ..., 31                     |       |\n * |                                 | do      | 1st, 2nd, ..., 31st               | 7     |\n * |                                 | dd      | 01, 02, ..., 31                   |       |\n * | Day of year                     | D       | 1, 2, ..., 365, 366               | 9     |\n * |                                 | Do      | 1st, 2nd, ..., 365th, 366th       | 7     |\n * |                                 | DD      | 01, 02, ..., 365, 366             | 9     |\n * |                                 | DDD     | 001, 002, ..., 365, 366           |       |\n * |                                 | DDDD    | ...                               | 3     |\n * | Day of week (formatting)        | E..EEE  | Mon, Tue, Wed, ..., Sun           |       |\n * |                                 | EEEE    | Monday, Tuesday, ..., Sunday      | 2     |\n * |                                 | EEEEE   | M, T, W, T, F, S, S               |       |\n * |                                 | EEEEEE  | Mo, Tu, We, Th, Fr, Sa, Su        |       |\n * | ISO day of week (formatting)    | i       | 1, 2, 3, ..., 7                   | 7     |\n * |                                 | io      | 1st, 2nd, ..., 7th                | 7     |\n * |                                 | ii      | 01, 02, ..., 07                   | 7     |\n * |                                 | iii     | Mon, Tue, Wed, ..., Sun           | 7     |\n * |                                 | iiii    | Monday, Tuesday, ..., Sunday      | 2,7   |\n * |                                 | iiiii   | M, T, W, T, F, S, S               | 7     |\n * |                                 | iiiiii  | Mo, Tu, We, Th, Fr, Sa, Su        | 7     |\n * | Local day of week (formatting)  | e       | 2, 3, 4, ..., 1                   |       |\n * |                                 | eo      | 2nd, 3rd, ..., 1st                | 7     |\n * |                                 | ee      | 02, 03, ..., 01                   |       |\n * |                                 | eee     | Mon, Tue, Wed, ..., Sun           |       |\n * |                                 | eeee    | Monday, Tuesday, ..., Sunday      | 2     |\n * |                                 | eeeee   | M, T, W, T, F, S, S               |       |\n * |                                 | eeeeee  | Mo, Tu, We, Th, Fr, Sa, Su        |       |\n * | Local day of week (stand-alone) | c       | 2, 3, 4, ..., 1                   |       |\n * |                                 | co      | 2nd, 3rd, ..., 1st                | 7     |\n * |                                 | cc      | 02, 03, ..., 01                   |       |\n * |                                 | ccc     | Mon, Tue, Wed, ..., Sun           |       |\n * |                                 | cccc    | Monday, Tuesday, ..., Sunday      | 2     |\n * |                                 | ccccc   | M, T, W, T, F, S, S               |       |\n * |                                 | cccccc  | Mo, Tu, We, Th, Fr, Sa, Su        |       |\n * | AM, PM                          | a..aa   | AM, PM                            |       |\n * |                                 | aaa     | am, pm                            |       |\n * |                                 | aaaa    | a.m., p.m.                        | 2     |\n * |                                 | aaaaa   | a, p                              |       |\n * | AM, PM, noon, midnight          | b..bb   | AM, PM, noon, midnight            |       |\n * |                                 | bbb     | am, pm, noon, midnight            |       |\n * |                                 | bbbb    | a.m., p.m., noon, midnight        | 2     |\n * |                                 | bbbbb   | a, p, n, mi                       |       |\n * | Flexible day period             | B..BBB  | at night, in the morning, ...     |       |\n * |                                 | BBBB    | at night, in the morning, ...     | 2     |\n * |                                 | BBBBB   | at night, in the morning, ...     |       |\n * | Hour [1-12]                     | h       | 1, 2, ..., 11, 12                 |       |\n * |                                 | ho      | 1st, 2nd, ..., 11th, 12th         | 7     |\n * |                                 | hh      | 01, 02, ..., 11, 12               |       |\n * | Hour [0-23]                     | H       | 0, 1, 2, ..., 23                  |       |\n * |                                 | Ho      | 0th, 1st, 2nd, ..., 23rd          | 7     |\n * |                                 | HH      | 00, 01, 02, ..., 23               |       |\n * | Hour [0-11]                     | K       | 1, 2, ..., 11, 0                  |       |\n * |                                 | Ko      | 1st, 2nd, ..., 11th, 0th          | 7     |\n * |                                 | KK      | 01, 02, ..., 11, 00               |       |\n * | Hour [1-24]                     | k       | 24, 1, 2, ..., 23                 |       |\n * |                                 | ko      | 24th, 1st, 2nd, ..., 23rd         | 7     |\n * |                                 | kk      | 24, 01, 02, ..., 23               |       |\n * | Minute                          | m       | 0, 1, ..., 59                     |       |\n * |                                 | mo      | 0th, 1st, ..., 59th               | 7     |\n * |                                 | mm      | 00, 01, ..., 59                   |       |\n * | Second                          | s       | 0, 1, ..., 59                     |       |\n * |                                 | so      | 0th, 1st, ..., 59th               | 7     |\n * |                                 | ss      | 00, 01, ..., 59                   |       |\n * | Fraction of second              | S       | 0, 1, ..., 9                      |       |\n * |                                 | SS      | 00, 01, ..., 99                   |       |\n * |                                 | SSS     | 000, 001, ..., 999                |       |\n * |                                 | SSSS    | ...                               | 3     |\n * | Timezone (ISO-8601 w/ Z)        | X       | -08, +0530, Z                     |       |\n * |                                 | XX      | -0800, +0530, Z                   |       |\n * |                                 | XXX     | -08:00, +05:30, Z                 |       |\n * |                                 | XXXX    | -0800, +0530, Z, +123456          | 2     |\n * |                                 | XXXXX   | -08:00, +05:30, Z, +12:34:56      |       |\n * | Timezone (ISO-8601 w/o Z)       | x       | -08, +0530, +00                   |       |\n * |                                 | xx      | -0800, +0530, +0000               |       |\n * |                                 | xxx     | -08:00, +05:30, +00:00            | 2     |\n * |                                 | xxxx    | -0800, +0530, +0000, +123456      |       |\n * |                                 | xxxxx   | -08:00, +05:30, +00:00, +12:34:56 |       |\n * | Timezone (GMT)                  | O...OOO | GMT-8, GMT+5:30, GMT+0            |       |\n * |                                 | OOOO    | GMT-08:00, GMT+05:30, GMT+00:00   | 2     |\n * | Timezone (specific non-locat.)  | z...zzz | GMT-8, GMT+5:30, GMT+0            | 6     |\n * |                                 | zzzz    | GMT-08:00, GMT+05:30, GMT+00:00   | 2,6   |\n * | Seconds timestamp               | t       | 512969520                         | 7     |\n * |                                 | tt      | ...                               | 3,7   |\n * | Milliseconds timestamp          | T       | 512969520900                      | 7     |\n * |                                 | TT      | ...                               | 3,7   |\n * | Long localized date             | P       | 04/29/1453                        | 7     |\n * |                                 | PP      | Apr 29, 1453                      | 7     |\n * |                                 | PPP     | April 29th, 1453                  | 7     |\n * |                                 | PPPP    | Friday, April 29th, 1453          | 2,7   |\n * | Long localized time             | p       | 12:00 AM                          | 7     |\n * |                                 | pp      | 12:00:00 AM                       | 7     |\n * |                                 | ppp     | 12:00:00 AM GMT+2                 | 7     |\n * |                                 | pppp    | 12:00:00 AM GMT+02:00             | 2,7   |\n * | Combination of date and time    | Pp      | 04/29/1453, 12:00 AM              | 7     |\n * |                                 | PPpp    | Apr 29, 1453, 12:00:00 AM         | 7     |\n * |                                 | PPPppp  | April 29th, 1453 at ...           | 7     |\n * |                                 | PPPPpppp| Friday, April 29th, 1453 at ...   | 2,7   |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n *    are the same as \"stand-alone\" units, but are different in some languages.\n *    \"Formatting\" units are declined according to the rules of the language\n *    in the context of a date. \"Stand-alone\" units are always nominative singular:\n *\n *    `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n *    `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n *    the single quote characters (see below).\n *    If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)\n *    the output will be the same as default pattern for this unit, usually\n *    the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units\n *    are marked with \"2\" in the last column of the table.\n *\n *    `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`\n *\n *    `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`\n *\n *    `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`\n *\n *    `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`\n *\n *    `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`\n *\n * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).\n *    The output will be padded with zeros to match the length of the pattern.\n *\n *    `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`\n *\n * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n *    These tokens represent the shortest form of the quarter.\n *\n * 5. The main difference between `y` and `u` patterns are B.C. years:\n *\n *    | Year | `y` | `u` |\n *    |------|-----|-----|\n *    | AC 1 |   1 |   1 |\n *    | BC 1 |   1 |   0 |\n *    | BC 2 |   2 |  -1 |\n *\n *    Also `yy` always returns the last two digits of a year,\n *    while `uu` pads single digit years to 2 characters and returns other years unchanged:\n *\n *    | Year | `yy` | `uu` |\n *    |------|------|------|\n *    | 1    |   01 |   01 |\n *    | 14   |   14 |   14 |\n *    | 376  |   76 |  376 |\n *    | 1453 |   53 | 1453 |\n *\n *    The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n *    except local week-numbering years are dependent on `options.weekStartsOn`\n *    and `options.firstWeekContainsDate` (compare [getISOWeekYear](https://date-fns.org/docs/getISOWeekYear)\n *    and [getWeekYear](https://date-fns.org/docs/getWeekYear)).\n *\n * 6. Specific non-location timezones are currently unavailable in `date-fns`,\n *    so right now these tokens fall back to GMT timezones.\n *\n * 7. These patterns are not in the Unicode Technical Standard #35:\n *    - `i`: ISO day of week\n *    - `I`: ISO week of year\n *    - `R`: ISO week-numbering year\n *    - `t`: seconds timestamp\n *    - `T`: milliseconds timestamp\n *    - `o`: ordinal number modifier\n *    - `P`: long localized date\n *    - `p`: long localized time\n *\n * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n *    You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.\n *    You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The original date\n * @param format - The string of tokens\n * @param options - An object with options\n *\n * @returns The formatted date string\n *\n * @throws `date` must not be Invalid Date\n * @throws `options.locale` must contain `localize` property\n * @throws `options.locale` must contain `formatLong` property\n * @throws use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md\n * @throws format string contains an unescaped latin alphabet character\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')\n * //=> '02/11/2014'\n *\n * @example\n * // Represent 2 July 2014 in Esperanto:\n * import { eoLocale } from 'date-fns/locale/eo'\n * const result = format(new Date(2014, 6, 2), \"do 'de' MMMM yyyy\", {\n *   locale: eoLocale\n * })\n * //=> '2-a de julio 2014'\n *\n * @example\n * // Escape string by single quote characters:\n * const result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\nexport function format(date, formatStr, options) {\n  const defaultOptions = getDefaultOptions();\n  const locale = options?.locale ?? defaultOptions.locale ?? defaultLocale;\n\n  const firstWeekContainsDate =\n    options?.firstWeekContainsDate ??\n    options?.locale?.options?.firstWeekContainsDate ??\n    defaultOptions.firstWeekContainsDate ??\n    defaultOptions.locale?.options?.firstWeekContainsDate ??\n    1;\n\n  const weekStartsOn =\n    options?.weekStartsOn ??\n    options?.locale?.options?.weekStartsOn ??\n    defaultOptions.weekStartsOn ??\n    defaultOptions.locale?.options?.weekStartsOn ??\n    0;\n\n  const originalDate = toDate(date);\n\n  if (!isValid(originalDate)) {\n    throw new RangeError(\"Invalid time value\");\n  }\n\n  let parts = formatStr\n    .match(longFormattingTokensRegExp)\n    .map((substring) => {\n      const firstCharacter = substring[0];\n      if (firstCharacter === \"p\" || firstCharacter === \"P\") {\n        const longFormatter = longFormatters[firstCharacter];\n        return longFormatter(substring, locale.formatLong);\n      }\n      return substring;\n    })\n    .join(\"\")\n    .match(formattingTokensRegExp)\n    .map((substring) => {\n      // Replace two single quote characters with one single quote character\n      if (substring === \"''\") {\n        return { isToken: false, value: \"'\" };\n      }\n\n      const firstCharacter = substring[0];\n      if (firstCharacter === \"'\") {\n        return { isToken: false, value: cleanEscapedString(substring) };\n      }\n\n      if (formatters[firstCharacter]) {\n        return { isToken: true, value: substring };\n      }\n\n      if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n        throw new RangeError(\n          \"Format string contains an unescaped latin alphabet character `\" +\n            firstCharacter +\n            \"`\",\n        );\n      }\n\n      return { isToken: false, value: substring };\n    });\n\n  // invoke localize preprocessor (only for french locales at the moment)\n  if (locale.localize.preprocessor) {\n    parts = locale.localize.preprocessor(originalDate, parts);\n  }\n\n  const formatterOptions = {\n    firstWeekContainsDate,\n    weekStartsOn,\n    locale,\n  };\n\n  return parts\n    .map((part) => {\n      if (!part.isToken) return part.value;\n\n      const token = part.value;\n\n      if (\n        (!options?.useAdditionalWeekYearTokens &&\n          isProtectedWeekYearToken(token)) ||\n        (!options?.useAdditionalDayOfYearTokens &&\n          isProtectedDayOfYearToken(token))\n      ) {\n        warnOrThrowProtectedError(token, formatStr, String(date));\n      }\n\n      const formatter = formatters[token[0]];\n      return formatter(originalDate, token, locale.localize, formatterOptions);\n    })\n    .join(\"\");\n}\n\nfunction cleanEscapedString(input) {\n  const matched = input.match(escapedStringRegExp);\n\n  if (!matched) {\n    return input;\n  }\n\n  return matched[1].replace(doubleQuoteRegExp, \"'\");\n}\n\n// Fallback for modularized imports:\nexport default format;\n","/**\n * Returns the formatted time zone name of the provided `timeZone` or the current\n * system time zone if omitted, accounting for DST according to the UTC value of\n * the date.\n */\nexport function tzIntlTimeZoneName(length, date, options) {\n    const dtf = getDTF(length, options.timeZone, options.locale);\n    return 'formatToParts' in dtf ? partsTimeZone(dtf, date) : hackyTimeZone(dtf, date);\n}\nfunction partsTimeZone(dtf, date) {\n    const formatted = dtf.formatToParts(date);\n    for (let i = formatted.length - 1; i >= 0; --i) {\n        if (formatted[i].type === 'timeZoneName') {\n            return formatted[i].value;\n        }\n    }\n    return undefined;\n}\nfunction hackyTimeZone(dtf, date) {\n    const formatted = dtf.format(date).replace(/\\u200E/g, '');\n    const tzNameMatch = / [\\w-+ ]+$/.exec(formatted);\n    return tzNameMatch ? tzNameMatch[0].substr(1) : '';\n}\n// If a locale has been provided `en-US` is used as a fallback in case it is an\n// invalid locale, otherwise the locale is left undefined to use the system locale.\nfunction getDTF(length, timeZone, locale) {\n    return new Intl.DateTimeFormat(locale ? [locale.code, 'en-US'] : undefined, {\n        timeZone: timeZone,\n        timeZoneName: length,\n    });\n}\n","/**\n * Returns the [year, month, day, hour, minute, seconds] tokens of the provided\n * `date` as it will be rendered in the `timeZone`.\n */\nexport function tzTokenizeDate(date, timeZone) {\n    const dtf = getDateTimeFormat(timeZone);\n    return 'formatToParts' in dtf ? partsOffset(dtf, date) : hackyOffset(dtf, date);\n}\nconst typeToPos = {\n    year: 0,\n    month: 1,\n    day: 2,\n    hour: 3,\n    minute: 4,\n    second: 5,\n};\nfunction partsOffset(dtf, date) {\n    try {\n        const formatted = dtf.formatToParts(date);\n        const filled = [];\n        for (let i = 0; i < formatted.length; i++) {\n            const pos = typeToPos[formatted[i].type];\n            if (pos !== undefined) {\n                filled[pos] = parseInt(formatted[i].value, 10);\n            }\n        }\n        return filled;\n    }\n    catch (error) {\n        if (error instanceof RangeError) {\n            return [NaN];\n        }\n        throw error;\n    }\n}\nfunction hackyOffset(dtf, date) {\n    const formatted = dtf.format(date);\n    // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n    const parsed = /(\\d+)\\/(\\d+)\\/(\\d+),? (\\d+):(\\d+):(\\d+)/.exec(formatted);\n    // const [, fMonth, fDay, fYear, fHour, fMinute, fSecond] = parsed\n    // return [fYear, fMonth, fDay, fHour, fMinute, fSecond]\n    return [\n        parseInt(parsed[3], 10),\n        parseInt(parsed[1], 10),\n        parseInt(parsed[2], 10),\n        parseInt(parsed[4], 10),\n        parseInt(parsed[5], 10),\n        parseInt(parsed[6], 10),\n    ];\n}\n// Get a cached Intl.DateTimeFormat instance for the IANA `timeZone`. This can be used\n// to get deterministic local date/time output according to the `en-US` locale which\n// can be used to extract local time parts as necessary.\nconst dtfCache = {};\nfunction getDateTimeFormat(timeZone) {\n    if (!dtfCache[timeZone]) {\n        // New browsers use `hourCycle`, IE and Chrome <73 does not support it and uses `hour12`\n        const testDateFormatted = new Intl.DateTimeFormat('en-US', {\n            hourCycle: 'h23',\n            timeZone: 'America/New_York',\n            year: 'numeric',\n            month: '2-digit',\n            day: '2-digit',\n            hour: '2-digit',\n            minute: '2-digit',\n            second: '2-digit',\n        }).format(new Date('2014-06-25T04:00:00.123Z'));\n        const hourCycleSupported = testDateFormatted === '06/25/2014, 00:00:00' ||\n            testDateFormatted === '‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00';\n        dtfCache[timeZone] = hourCycleSupported\n            ? new Intl.DateTimeFormat('en-US', {\n                hourCycle: 'h23',\n                timeZone: timeZone,\n                year: 'numeric',\n                month: 'numeric',\n                day: '2-digit',\n                hour: '2-digit',\n                minute: '2-digit',\n                second: '2-digit',\n            })\n            : new Intl.DateTimeFormat('en-US', {\n                hour12: false,\n                timeZone: timeZone,\n                year: 'numeric',\n                month: 'numeric',\n                day: '2-digit',\n                hour: '2-digit',\n                minute: '2-digit',\n                second: '2-digit',\n            });\n    }\n    return dtfCache[timeZone];\n}\n","/**\n * Use instead of `new Date(Date.UTC(...))` to support years below 100 which doesn't work\n * otherwise due to the nature of the\n * [`Date` constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#interpretation_of_two-digit_years.\n *\n * For `Date.UTC(...)`, use `newDateUTC(...).getTime()`.\n */\nexport function newDateUTC(fullYear, month, day, hour, minute, second, millisecond) {\n    const utcDate = new Date(0);\n    utcDate.setUTCFullYear(fullYear, month, day);\n    utcDate.setUTCHours(hour, minute, second, millisecond);\n    return utcDate;\n}\n","import { tzTokenizeDate } from '../tzTokenizeDate/index.js';\nimport { newDateUTC } from '../newDateUTC/index.js';\nconst MILLISECONDS_IN_HOUR = 3600000;\nconst MILLISECONDS_IN_MINUTE = 60000;\nconst patterns = {\n    timezone: /([Z+-].*)$/,\n    timezoneZ: /^(Z)$/,\n    timezoneHH: /^([+-]\\d{2})$/,\n    timezoneHHMM: /^([+-])(\\d{2}):?(\\d{2})$/,\n};\n// Parse constious time zone offset formats to an offset in milliseconds\nexport function tzParseTimezone(timezoneString, date, isUtcDate) {\n    // Empty string\n    if (!timezoneString) {\n        return 0;\n    }\n    // Z\n    let token = patterns.timezoneZ.exec(timezoneString);\n    if (token) {\n        return 0;\n    }\n    let hours;\n    let absoluteOffset;\n    // ±hh\n    token = patterns.timezoneHH.exec(timezoneString);\n    if (token) {\n        hours = parseInt(token[1], 10);\n        if (!validateTimezone(hours)) {\n            return NaN;\n        }\n        return -(hours * MILLISECONDS_IN_HOUR);\n    }\n    // ±hh:mm or ±hhmm\n    token = patterns.timezoneHHMM.exec(timezoneString);\n    if (token) {\n        hours = parseInt(token[2], 10);\n        const minutes = parseInt(token[3], 10);\n        if (!validateTimezone(hours, minutes)) {\n            return NaN;\n        }\n        absoluteOffset = Math.abs(hours) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n        return token[1] === '+' ? -absoluteOffset : absoluteOffset;\n    }\n    // IANA time zone\n    if (isValidTimezoneIANAString(timezoneString)) {\n        date = new Date(date || Date.now());\n        const utcDate = isUtcDate ? date : toUtcDate(date);\n        const offset = calcOffset(utcDate, timezoneString);\n        const fixedOffset = isUtcDate ? offset : fixOffset(date, offset, timezoneString);\n        return -fixedOffset;\n    }\n    return NaN;\n}\nfunction toUtcDate(date) {\n    return newDateUTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());\n}\nfunction calcOffset(date, timezoneString) {\n    const tokens = tzTokenizeDate(date, timezoneString);\n    // ms dropped because it's not provided by tzTokenizeDate\n    const asUTC = newDateUTC(tokens[0], tokens[1] - 1, tokens[2], tokens[3] % 24, tokens[4], tokens[5], 0).getTime();\n    let asTS = date.getTime();\n    const over = asTS % 1000;\n    asTS -= over >= 0 ? over : 1000 + over;\n    return asUTC - asTS;\n}\nfunction fixOffset(date, offset, timezoneString) {\n    const localTS = date.getTime();\n    // Our UTC time is just a guess because our offset is just a guess\n    let utcGuess = localTS - offset;\n    // Test whether the zone matches the offset for this ts\n    const o2 = calcOffset(new Date(utcGuess), timezoneString);\n    // If so, offset didn't change, and we're done\n    if (offset === o2) {\n        return offset;\n    }\n    // If not, change the ts by the difference in the offset\n    utcGuess -= o2 - offset;\n    // If that gives us the local time we want, we're done\n    const o3 = calcOffset(new Date(utcGuess), timezoneString);\n    if (o2 === o3) {\n        return o2;\n    }\n    // If it's different, we're in a hole time. The offset has changed, but we don't adjust the time\n    return Math.max(o2, o3);\n}\nfunction validateTimezone(hours, minutes) {\n    return -23 <= hours && hours <= 23 && (minutes == null || (0 <= minutes && minutes <= 59));\n}\nconst validIANATimezoneCache = {};\nfunction isValidTimezoneIANAString(timeZoneString) {\n    if (validIANATimezoneCache[timeZoneString])\n        return true;\n    try {\n        new Intl.DateTimeFormat(undefined, { timeZone: timeZoneString });\n        validIANATimezoneCache[timeZoneString] = true;\n        return true;\n    }\n    catch (error) {\n        return false;\n    }\n}\n","import { tzIntlTimeZoneName } from '../../_lib/tzIntlTimeZoneName/index.js';\nimport { tzParseTimezone } from '../../_lib/tzParseTimezone/index.js';\nconst MILLISECONDS_IN_MINUTE = 60 * 1000;\nexport const formatters = {\n    // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n    X: function (date, token, options) {\n        const timezoneOffset = getTimeZoneOffset(options.timeZone, date);\n        if (timezoneOffset === 0) {\n            return 'Z';\n        }\n        switch (token) {\n            // Hours and optional minutes\n            case 'X':\n                return formatTimezoneWithOptionalMinutes(timezoneOffset);\n            // Hours, minutes and optional seconds without `:` delimeter\n            // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n            // so this token always has the same output as `XX`\n            case 'XXXX':\n            case 'XX': // Hours and minutes without `:` delimeter\n                return formatTimezone(timezoneOffset);\n            // Hours, minutes and optional seconds with `:` delimeter\n            // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n            // so this token always has the same output as `XXX`\n            case 'XXXXX':\n            case 'XXX': // Hours and minutes with `:` delimeter\n            default:\n                return formatTimezone(timezoneOffset, ':');\n        }\n    },\n    // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n    x: function (date, token, options) {\n        const timezoneOffset = getTimeZoneOffset(options.timeZone, date);\n        switch (token) {\n            // Hours and optional minutes\n            case 'x':\n                return formatTimezoneWithOptionalMinutes(timezoneOffset);\n            // Hours, minutes and optional seconds without `:` delimeter\n            // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n            // so this token always has the same output as `xx`\n            case 'xxxx':\n            case 'xx': // Hours and minutes without `:` delimeter\n                return formatTimezone(timezoneOffset);\n            // Hours, minutes and optional seconds with `:` delimeter\n            // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n            // so this token always has the same output as `xxx`\n            case 'xxxxx':\n            case 'xxx': // Hours and minutes with `:` delimeter\n            default:\n                return formatTimezone(timezoneOffset, ':');\n        }\n    },\n    // Timezone (GMT)\n    O: function (date, token, options) {\n        const timezoneOffset = getTimeZoneOffset(options.timeZone, date);\n        switch (token) {\n            // Short\n            case 'O':\n            case 'OO':\n            case 'OOO':\n                return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n            // Long\n            case 'OOOO':\n            default:\n                return 'GMT' + formatTimezone(timezoneOffset, ':');\n        }\n    },\n    // Timezone (specific non-location)\n    z: function (date, token, options) {\n        switch (token) {\n            // Short\n            case 'z':\n            case 'zz':\n            case 'zzz':\n                return tzIntlTimeZoneName('short', date, options);\n            // Long\n            case 'zzzz':\n            default:\n                return tzIntlTimeZoneName('long', date, options);\n        }\n    },\n};\nfunction getTimeZoneOffset(timeZone, originalDate) {\n    const timeZoneOffset = timeZone\n        ? tzParseTimezone(timeZone, originalDate, true) / MILLISECONDS_IN_MINUTE\n        : originalDate?.getTimezoneOffset() ?? 0;\n    if (Number.isNaN(timeZoneOffset)) {\n        throw new RangeError('Invalid time zone specified: ' + timeZone);\n    }\n    return timeZoneOffset;\n}\nfunction addLeadingZeros(number, targetLength) {\n    const sign = number < 0 ? '-' : '';\n    let output = Math.abs(number).toString();\n    while (output.length < targetLength) {\n        output = '0' + output;\n    }\n    return sign + output;\n}\nfunction formatTimezone(offset, delimiter = '') {\n    const sign = offset > 0 ? '-' : '+';\n    const absOffset = Math.abs(offset);\n    const hours = addLeadingZeros(Math.floor(absOffset / 60), 2);\n    const minutes = addLeadingZeros(Math.floor(absOffset % 60), 2);\n    return sign + hours + delimiter + minutes;\n}\nfunction formatTimezoneWithOptionalMinutes(offset, delimiter) {\n    if (offset % 60 === 0) {\n        const sign = offset > 0 ? '-' : '+';\n        return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n    }\n    return formatTimezone(offset, delimiter);\n}\nfunction formatTimezoneShort(offset, delimiter = '') {\n    const sign = offset > 0 ? '-' : '+';\n    const absOffset = Math.abs(offset);\n    const hours = Math.floor(absOffset / 60);\n    const minutes = absOffset % 60;\n    if (minutes === 0) {\n        return sign + String(hours);\n    }\n    return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\n","/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport function getTimezoneOffsetInMilliseconds(date) {\n    const utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));\n    utcDate.setUTCFullYear(date.getFullYear());\n    return +date - +utcDate;\n}\n","/** Regex to identify the presence of a time zone specifier in a date string */\nexport const tzPattern = /(Z|[+-]\\d{2}(?::?\\d{2})?| UTC| [a-zA-Z]+\\/[a-zA-Z_]+(?:\\/[a-zA-Z_]+)?)$/;\n","import { getTimezoneOffsetInMilliseconds } from '../_lib/getTimezoneOffsetInMilliseconds/index.js';\nimport { tzParseTimezone } from '../_lib/tzParseTimezone/index.js';\nimport { tzPattern } from '../_lib/tzPattern/index.js';\nconst MILLISECONDS_IN_HOUR = 3600000;\nconst MILLISECONDS_IN_MINUTE = 60000;\nconst DEFAULT_ADDITIONAL_DIGITS = 2;\nconst patterns = {\n    dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,\n    datePattern: /^([0-9W+-]+)(.*)/,\n    plainTime: /:/,\n    // year tokens\n    YY: /^(\\d{2})$/,\n    YYY: [\n        /^([+-]\\d{2})$/, // 0 additional digits\n        /^([+-]\\d{3})$/, // 1 additional digit\n        /^([+-]\\d{4})$/, // 2 additional digits\n    ],\n    YYYY: /^(\\d{4})/,\n    YYYYY: [\n        /^([+-]\\d{4})/, // 0 additional digits\n        /^([+-]\\d{5})/, // 1 additional digit\n        /^([+-]\\d{6})/, // 2 additional digits\n    ],\n    // date tokens\n    MM: /^-(\\d{2})$/,\n    DDD: /^-?(\\d{3})$/,\n    MMDD: /^-?(\\d{2})-?(\\d{2})$/,\n    Www: /^-?W(\\d{2})$/,\n    WwwD: /^-?W(\\d{2})-?(\\d{1})$/,\n    HH: /^(\\d{2}([.,]\\d*)?)$/,\n    HHMM: /^(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n    HHMMSS: /^(\\d{2}):?(\\d{2}):?(\\d{2}([.,]\\d*)?)$/,\n    // time zone tokens (to identify the presence of a tz)\n    timeZone: tzPattern,\n};\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If an argument is a string, the function tries to parse it.\n * Function accepts complete ISO 8601 formats as well as partial implementations.\n * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601\n * If the function cannot parse the string or the values are invalid, it returns Invalid Date.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n * All *date-fns* functions will throw `RangeError` if `options.additionalDigits` is not 0, 1, 2 or undefined.\n *\n * @param argument the value to convert\n * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - the additional number of digits in the extended year format\n * @param {string} [options.timeZone=''] - used to specify the IANA time zone offset of a date String.\n *\n * @returns the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // Convert string '2014-02-11T11:30:30' to date:\n * const result = toDate('2014-02-11T11:30:30')\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert string '+02014101' to date,\n * // if the additional number of digits in the extended year format is 1:\n * const result = toDate('+02014101', {additionalDigits: 1})\n * //=> Fri Apr 11 2014 00:00:00\n */\nexport function toDate(argument, options = {}) {\n    if (arguments.length < 1) {\n        throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n    }\n    if (argument === null) {\n        return new Date(NaN);\n    }\n    const additionalDigits = options.additionalDigits == null ? DEFAULT_ADDITIONAL_DIGITS : Number(options.additionalDigits);\n    if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {\n        throw new RangeError('additionalDigits must be 0, 1 or 2');\n    }\n    // Clone the date\n    if (argument instanceof Date ||\n        (typeof argument === 'object' && Object.prototype.toString.call(argument) === '[object Date]')) {\n        // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n        return new Date(argument.getTime());\n    }\n    else if (typeof argument === 'number' ||\n        Object.prototype.toString.call(argument) === '[object Number]') {\n        return new Date(argument);\n    }\n    else if (!(Object.prototype.toString.call(argument) === '[object String]')) {\n        return new Date(NaN);\n    }\n    const dateStrings = splitDateString(argument);\n    const { year, restDateString } = parseYear(dateStrings.date, additionalDigits);\n    const date = parseDate(restDateString, year);\n    if (date === null || isNaN(date.getTime())) {\n        return new Date(NaN);\n    }\n    if (date) {\n        const timestamp = date.getTime();\n        let time = 0;\n        let offset;\n        if (dateStrings.time) {\n            time = parseTime(dateStrings.time);\n            if (time === null || isNaN(time)) {\n                return new Date(NaN);\n            }\n        }\n        if (dateStrings.timeZone || options.timeZone) {\n            offset = tzParseTimezone(dateStrings.timeZone || options.timeZone, new Date(timestamp + time));\n            if (isNaN(offset)) {\n                return new Date(NaN);\n            }\n        }\n        else {\n            // get offset accurate to hour in time zones that change offset\n            offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time));\n            offset = getTimezoneOffsetInMilliseconds(new Date(timestamp + time + offset));\n        }\n        return new Date(timestamp + time + offset);\n    }\n    else {\n        return new Date(NaN);\n    }\n}\nfunction splitDateString(dateString) {\n    const dateStrings = {};\n    let parts = patterns.dateTimePattern.exec(dateString);\n    let timeString;\n    if (!parts) {\n        parts = patterns.datePattern.exec(dateString);\n        if (parts) {\n            dateStrings.date = parts[1];\n            timeString = parts[2];\n        }\n        else {\n            dateStrings.date = null;\n            timeString = dateString;\n        }\n    }\n    else {\n        dateStrings.date = parts[1];\n        timeString = parts[3];\n    }\n    if (timeString) {\n        const token = patterns.timeZone.exec(timeString);\n        if (token) {\n            dateStrings.time = timeString.replace(token[1], '');\n            dateStrings.timeZone = token[1].trim();\n        }\n        else {\n            dateStrings.time = timeString;\n        }\n    }\n    return dateStrings;\n}\nfunction parseYear(dateString, additionalDigits) {\n    if (dateString) {\n        const patternYYY = patterns.YYY[additionalDigits];\n        const patternYYYYY = patterns.YYYYY[additionalDigits];\n        // YYYY or ±YYYYY\n        let token = patterns.YYYY.exec(dateString) || patternYYYYY.exec(dateString);\n        if (token) {\n            const yearString = token[1];\n            return {\n                year: parseInt(yearString, 10),\n                restDateString: dateString.slice(yearString.length),\n            };\n        }\n        // YY or ±YYY\n        token = patterns.YY.exec(dateString) || patternYYY.exec(dateString);\n        if (token) {\n            const centuryString = token[1];\n            return {\n                year: parseInt(centuryString, 10) * 100,\n                restDateString: dateString.slice(centuryString.length),\n            };\n        }\n    }\n    // Invalid ISO-formatted year\n    return {\n        year: null,\n    };\n}\nfunction parseDate(dateString, year) {\n    // Invalid ISO-formatted year\n    if (year === null) {\n        return null;\n    }\n    let date;\n    let month;\n    let week;\n    // YYYY\n    if (!dateString || !dateString.length) {\n        date = new Date(0);\n        date.setUTCFullYear(year);\n        return date;\n    }\n    // YYYY-MM\n    let token = patterns.MM.exec(dateString);\n    if (token) {\n        date = new Date(0);\n        month = parseInt(token[1], 10) - 1;\n        if (!validateDate(year, month)) {\n            return new Date(NaN);\n        }\n        date.setUTCFullYear(year, month);\n        return date;\n    }\n    // YYYY-DDD or YYYYDDD\n    token = patterns.DDD.exec(dateString);\n    if (token) {\n        date = new Date(0);\n        const dayOfYear = parseInt(token[1], 10);\n        if (!validateDayOfYearDate(year, dayOfYear)) {\n            return new Date(NaN);\n        }\n        date.setUTCFullYear(year, 0, dayOfYear);\n        return date;\n    }\n    // yyyy-MM-dd or YYYYMMDD\n    token = patterns.MMDD.exec(dateString);\n    if (token) {\n        date = new Date(0);\n        month = parseInt(token[1], 10) - 1;\n        const day = parseInt(token[2], 10);\n        if (!validateDate(year, month, day)) {\n            return new Date(NaN);\n        }\n        date.setUTCFullYear(year, month, day);\n        return date;\n    }\n    // YYYY-Www or YYYYWww\n    token = patterns.Www.exec(dateString);\n    if (token) {\n        week = parseInt(token[1], 10) - 1;\n        if (!validateWeekDate(week)) {\n            return new Date(NaN);\n        }\n        return dayOfISOWeekYear(year, week);\n    }\n    // YYYY-Www-D or YYYYWwwD\n    token = patterns.WwwD.exec(dateString);\n    if (token) {\n        week = parseInt(token[1], 10) - 1;\n        const dayOfWeek = parseInt(token[2], 10) - 1;\n        if (!validateWeekDate(week, dayOfWeek)) {\n            return new Date(NaN);\n        }\n        return dayOfISOWeekYear(year, week, dayOfWeek);\n    }\n    // Invalid ISO-formatted date\n    return null;\n}\nfunction parseTime(timeString) {\n    let hours;\n    let minutes;\n    // hh\n    let token = patterns.HH.exec(timeString);\n    if (token) {\n        hours = parseFloat(token[1].replace(',', '.'));\n        if (!validateTime(hours)) {\n            return NaN;\n        }\n        return (hours % 24) * MILLISECONDS_IN_HOUR;\n    }\n    // hh:mm or hhmm\n    token = patterns.HHMM.exec(timeString);\n    if (token) {\n        hours = parseInt(token[1], 10);\n        minutes = parseFloat(token[2].replace(',', '.'));\n        if (!validateTime(hours, minutes)) {\n            return NaN;\n        }\n        return (hours % 24) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE;\n    }\n    // hh:mm:ss or hhmmss\n    token = patterns.HHMMSS.exec(timeString);\n    if (token) {\n        hours = parseInt(token[1], 10);\n        minutes = parseInt(token[2], 10);\n        const seconds = parseFloat(token[3].replace(',', '.'));\n        if (!validateTime(hours, minutes, seconds)) {\n            return NaN;\n        }\n        return (hours % 24) * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * 1000;\n    }\n    // Invalid ISO-formatted time\n    return null;\n}\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n    week = week || 0;\n    day = day || 0;\n    const date = new Date(0);\n    date.setUTCFullYear(isoWeekYear, 0, 4);\n    const fourthOfJanuaryDay = date.getUTCDay() || 7;\n    const diff = week * 7 + day + 1 - fourthOfJanuaryDay;\n    date.setUTCDate(date.getUTCDate() + diff);\n    return date;\n}\n// Validation functions\nconst DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nconst DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nfunction isLeapYearIndex(year) {\n    return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0);\n}\nfunction validateDate(year, month, date) {\n    if (month < 0 || month > 11) {\n        return false;\n    }\n    if (date != null) {\n        if (date < 1) {\n            return false;\n        }\n        const isLeapYear = isLeapYearIndex(year);\n        if (isLeapYear && date > DAYS_IN_MONTH_LEAP_YEAR[month]) {\n            return false;\n        }\n        if (!isLeapYear && date > DAYS_IN_MONTH[month]) {\n            return false;\n        }\n    }\n    return true;\n}\nfunction validateDayOfYearDate(year, dayOfYear) {\n    if (dayOfYear < 1) {\n        return false;\n    }\n    const isLeapYear = isLeapYearIndex(year);\n    if (isLeapYear && dayOfYear > 366) {\n        return false;\n    }\n    if (!isLeapYear && dayOfYear > 365) {\n        return false;\n    }\n    return true;\n}\nfunction validateWeekDate(week, day) {\n    if (week < 0 || week > 52) {\n        return false;\n    }\n    if (day != null && (day < 0 || day > 6)) {\n        return false;\n    }\n    return true;\n}\nfunction validateTime(hours, minutes, seconds) {\n    if (hours < 0 || hours >= 25) {\n        return false;\n    }\n    if (minutes != null && (minutes < 0 || minutes >= 60)) {\n        return false;\n    }\n    if (seconds != null && (seconds < 0 || seconds >= 60)) {\n        return false;\n    }\n    return true;\n}\n","import { format as dateFnsFormat } from 'date-fns/format';\nimport { formatters } from './formatters/index.js';\nimport { toDate } from '../toDate/index.js';\nconst tzFormattingTokensRegExp = /([xXOz]+)|''|'(''|[^'])+('|$)/g;\n/**\n * @name format\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. The result may consty by locale.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://git.io/fxCyr\n *\n * The characters wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n * (see the last example)\n *\n * Format of the string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 7 below the table).\n *\n * Accepted patterns:\n * | Unit                            | Pattern | Result examples                   | Notes |\n * |---------------------------------|---------|-----------------------------------|-------|\n * | Era                             | G..GGG  | AD, BC                            |       |\n * |                                 | GGGG    | Anno Domini, Before Christ        | 2     |\n * |                                 | GGGGG   | A, B                              |       |\n * | Calendar year                   | y       | 44, 1, 1900, 2017                 | 5     |\n * |                                 | yo      | 44th, 1st, 0th, 17th              | 5,7   |\n * |                                 | yy      | 44, 01, 00, 17                    | 5     |\n * |                                 | yyy     | 044, 001, 1900, 2017              | 5     |\n * |                                 | yyyy    | 0044, 0001, 1900, 2017            | 5     |\n * |                                 | yyyyy   | ...                               | 3,5   |\n * | Local week-numbering year       | Y       | 44, 1, 1900, 2017                 | 5     |\n * |                                 | Yo      | 44th, 1st, 1900th, 2017th         | 5,7   |\n * |                                 | YY      | 44, 01, 00, 17                    | 5,8   |\n * |                                 | YYY     | 044, 001, 1900, 2017              | 5     |\n * |                                 | YYYY    | 0044, 0001, 1900, 2017            | 5,8   |\n * |                                 | YYYYY   | ...                               | 3,5   |\n * | ISO week-numbering year         | R       | -43, 0, 1, 1900, 2017             | 5,7   |\n * |                                 | RR      | -43, 00, 01, 1900, 2017           | 5,7   |\n * |                                 | RRR     | -043, 000, 001, 1900, 2017        | 5,7   |\n * |                                 | RRRR    | -0043, 0000, 0001, 1900, 2017     | 5,7   |\n * |                                 | RRRRR   | ...                               | 3,5,7 |\n * | Extended year                   | u       | -43, 0, 1, 1900, 2017             | 5     |\n * |                                 | uu      | -43, 01, 1900, 2017               | 5     |\n * |                                 | uuu     | -043, 001, 1900, 2017             | 5     |\n * |                                 | uuuu    | -0043, 0001, 1900, 2017           | 5     |\n * |                                 | uuuuu   | ...                               | 3,5   |\n * | Quarter (formatting)            | Q       | 1, 2, 3, 4                        |       |\n * |                                 | Qo      | 1st, 2nd, 3rd, 4th                | 7     |\n * |                                 | QQ      | 01, 02, 03, 04                    |       |\n * |                                 | QQQ     | Q1, Q2, Q3, Q4                    |       |\n * |                                 | QQQQ    | 1st quarter, 2nd quarter, ...     | 2     |\n * |                                 | QQQQQ   | 1, 2, 3, 4                        | 4     |\n * | Quarter (stand-alone)           | q       | 1, 2, 3, 4                        |       |\n * |                                 | qo      | 1st, 2nd, 3rd, 4th                | 7     |\n * |                                 | qq      | 01, 02, 03, 04                    |       |\n * |                                 | qqq     | Q1, Q2, Q3, Q4                    |       |\n * |                                 | qqqq    | 1st quarter, 2nd quarter, ...     | 2     |\n * |                                 | qqqqq   | 1, 2, 3, 4                        | 4     |\n * | Month (formatting)              | M       | 1, 2, ..., 12                     |       |\n * |                                 | Mo      | 1st, 2nd, ..., 12th               | 7     |\n * |                                 | MM      | 01, 02, ..., 12                   |       |\n * |                                 | MMM     | Jan, Feb, ..., Dec                |       |\n * |                                 | MMMM    | January, February, ..., December  | 2     |\n * |                                 | MMMMM   | J, F, ..., D                      |       |\n * | Month (stand-alone)             | L       | 1, 2, ..., 12                     |       |\n * |                                 | Lo      | 1st, 2nd, ..., 12th               | 7     |\n * |                                 | LL      | 01, 02, ..., 12                   |       |\n * |                                 | LLL     | Jan, Feb, ..., Dec                |       |\n * |                                 | LLLL    | January, February, ..., December  | 2     |\n * |                                 | LLLLL   | J, F, ..., D                      |       |\n * | Local week of year              | w       | 1, 2, ..., 53                     |       |\n * |                                 | wo      | 1st, 2nd, ..., 53th               | 7     |\n * |                                 | ww      | 01, 02, ..., 53                   |       |\n * | ISO week of year                | I       | 1, 2, ..., 53                     | 7     |\n * |                                 | Io      | 1st, 2nd, ..., 53th               | 7     |\n * |                                 | II      | 01, 02, ..., 53                   | 7     |\n * | Day of month                    | d       | 1, 2, ..., 31                     |       |\n * |                                 | do      | 1st, 2nd, ..., 31st               | 7     |\n * |                                 | dd      | 01, 02, ..., 31                   |       |\n * | Day of year                     | D       | 1, 2, ..., 365, 366               | 8     |\n * |                                 | Do      | 1st, 2nd, ..., 365th, 366th       | 7     |\n * |                                 | DD      | 01, 02, ..., 365, 366             | 8     |\n * |                                 | DDD     | 001, 002, ..., 365, 366           |       |\n * |                                 | DDDD    | ...                               | 3     |\n * | Day of week (formatting)        | E..EEE  | Mon, Tue, Wed, ..., Su            |       |\n * |                                 | EEEE    | Monday, Tuesday, ..., Sunday      | 2     |\n * |                                 | EEEEE   | M, T, W, T, F, S, S               |       |\n * |                                 | EEEEEE  | Mo, Tu, We, Th, Fr, Su, Sa        |       |\n * | ISO day of week (formatting)    | i       | 1, 2, 3, ..., 7                   | 7     |\n * |                                 | io      | 1st, 2nd, ..., 7th                | 7     |\n * |                                 | ii      | 01, 02, ..., 07                   | 7     |\n * |                                 | iii     | Mon, Tue, Wed, ..., Su            | 7     |\n * |                                 | iiii    | Monday, Tuesday, ..., Sunday      | 2,7   |\n * |                                 | iiiii   | M, T, W, T, F, S, S               | 7     |\n * |                                 | iiiiii  | Mo, Tu, We, Th, Fr, Su, Sa        | 7     |\n * | Local day of week (formatting)  | e       | 2, 3, 4, ..., 1                   |       |\n * |                                 | eo      | 2nd, 3rd, ..., 1st                | 7     |\n * |                                 | ee      | 02, 03, ..., 01                   |       |\n * |                                 | eee     | Mon, Tue, Wed, ..., Su            |       |\n * |                                 | eeee    | Monday, Tuesday, ..., Sunday      | 2     |\n * |                                 | eeeee   | M, T, W, T, F, S, S               |       |\n * |                                 | eeeeee  | Mo, Tu, We, Th, Fr, Su, Sa        |       |\n * | Local day of week (stand-alone) | c       | 2, 3, 4, ..., 1                   |       |\n * |                                 | co      | 2nd, 3rd, ..., 1st                | 7     |\n * |                                 | cc      | 02, 03, ..., 01                   |       |\n * |                                 | ccc     | Mon, Tue, Wed, ..., Su            |       |\n * |                                 | cccc    | Monday, Tuesday, ..., Sunday      | 2     |\n * |                                 | ccccc   | M, T, W, T, F, S, S               |       |\n * |                                 | cccccc  | Mo, Tu, We, Th, Fr, Su, Sa        |       |\n * | AM, PM                          | a..aaa  | AM, PM                            |       |\n * |                                 | aaaa    | a.m., p.m.                        | 2     |\n * |                                 | aaaaa   | a, p                              |       |\n * | AM, PM, noon, midnight          | b..bbb  | AM, PM, noon, midnight            |       |\n * |                                 | bbbb    | a.m., p.m., noon, midnight        | 2     |\n * |                                 | bbbbb   | a, p, n, mi                       |       |\n * | Flexible day period             | B..BBB  | at night, in the morning, ...     |       |\n * |                                 | BBBB    | at night, in the morning, ...     | 2     |\n * |                                 | BBBBB   | at night, in the morning, ...     |       |\n * | Hour [1-12]                     | h       | 1, 2, ..., 11, 12                 |       |\n * |                                 | ho      | 1st, 2nd, ..., 11th, 12th         | 7     |\n * |                                 | hh      | 01, 02, ..., 11, 12               |       |\n * | Hour [0-23]                     | H       | 0, 1, 2, ..., 23                  |       |\n * |                                 | Ho      | 0th, 1st, 2nd, ..., 23rd          | 7     |\n * |                                 | HH      | 00, 01, 02, ..., 23               |       |\n * | Hour [0-11]                     | K       | 1, 2, ..., 11, 0                  |       |\n * |                                 | Ko      | 1st, 2nd, ..., 11th, 0th          | 7     |\n * |                                 | KK      | 1, 2, ..., 11, 0                  |       |\n * | Hour [1-24]                     | k       | 24, 1, 2, ..., 23                 |       |\n * |                                 | ko      | 24th, 1st, 2nd, ..., 23rd         | 7     |\n * |                                 | kk      | 24, 01, 02, ..., 23               |       |\n * | Minute                          | m       | 0, 1, ..., 59                     |       |\n * |                                 | mo      | 0th, 1st, ..., 59th               | 7     |\n * |                                 | mm      | 00, 01, ..., 59                   |       |\n * | Second                          | s       | 0, 1, ..., 59                     |       |\n * |                                 | so      | 0th, 1st, ..., 59th               | 7     |\n * |                                 | ss      | 00, 01, ..., 59                   |       |\n * | Fraction of second              | S       | 0, 1, ..., 9                      |       |\n * |                                 | SS      | 00, 01, ..., 99                   |       |\n * |                                 | SSS     | 000, 0001, ..., 999               |       |\n * |                                 | SSSS    | ...                               | 3     |\n * | Timezone (ISO-8601 w/ Z)        | X       | -08, +0530, Z                     |       |\n * |                                 | XX      | -0800, +0530, Z                   |       |\n * |                                 | XXX     | -08:00, +05:30, Z                 |       |\n * |                                 | XXXX    | -0800, +0530, Z, +123456          | 2     |\n * |                                 | XXXXX   | -08:00, +05:30, Z, +12:34:56      |       |\n * | Timezone (ISO-8601 w/o Z)       | x       | -08, +0530, +00                   |       |\n * |                                 | xx      | -0800, +0530, +0000               |       |\n * |                                 | xxx     | -08:00, +05:30, +00:00            | 2     |\n * |                                 | xxxx    | -0800, +0530, +0000, +123456      |       |\n * |                                 | xxxxx   | -08:00, +05:30, +00:00, +12:34:56 |       |\n * | Timezone (GMT)                  | O...OOO | GMT-8, GMT+5:30, GMT+0            |       |\n * |                                 | OOOO    | GMT-08:00, GMT+05:30, GMT+00:00   | 2     |\n * | Timezone (specific non-locat.)  | z...zzz | PDT, EST, CEST                    | 6     |\n * |                                 | zzzz    | Pacific Daylight Time             | 2,6   |\n * | Seconds timestamp               | t       | 512969520                         | 7     |\n * |                                 | tt      | ...                               | 3,7   |\n * | Milliseconds timestamp          | T       | 512969520900                      | 7     |\n * |                                 | TT      | ...                               | 3,7   |\n * | Long localized date             | P       | 05/29/1453                        | 7     |\n * |                                 | PP      | May 29, 1453                      | 7     |\n * |                                 | PPP     | May 29th, 1453                    | 7     |\n * |                                 | PPPP    | Sunday, May 29th, 1453            | 2,7   |\n * | Long localized time             | p       | 12:00 AM                          | 7     |\n * |                                 | pp      | 12:00:00 AM                       | 7     |\n * |                                 | ppp     | 12:00:00 AM GMT+2                 | 7     |\n * |                                 | pppp    | 12:00:00 AM GMT+02:00             | 2,7   |\n * | Combination of date and time    | Pp      | 05/29/1453, 12:00 AM              | 7     |\n * |                                 | PPpp    | May 29, 1453, 12:00:00 AM         | 7     |\n * |                                 | PPPppp  | May 29th, 1453 at ...             | 7     |\n * |                                 | PPPPpppp| Sunday, May 29th, 1453 at ...     | 2,7   |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n *    are the same as \"stand-alone\" units, but are different in some languages.\n *    \"Formatting\" units are declined according to the rules of the language\n *    in the context of a date. \"Stand-alone\" units are always nominative singular:\n *\n *    `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n *    `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n *    the single quote characters (see below).\n *    If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)\n *    the output will be the same as default pattern for this unit, usually\n *    the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units\n *    are marked with \"2\" in the last column of the table.\n *\n *    `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`\n *\n *    `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`\n *\n *    `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`\n *\n *    `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`\n *\n *    `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`\n *\n * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).\n *    The output will be padded with zeros to match the length of the pattern.\n *\n *    `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`\n *\n * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n *    These tokens represent the shortest form of the quarter.\n *\n * 5. The main difference between `y` and `u` patterns are B.C. years:\n *\n *    | Year | `y` | `u` |\n *    |------|-----|-----|\n *    | AC 1 |   1 |   1 |\n *    | BC 1 |   1 |   0 |\n *    | BC 2 |   2 |  -1 |\n *\n *    Also `yy` always returns the last two digits of a year,\n *    while `uu` pads single digit years to 2 characters and returns other years unchanged:\n *\n *    | Year | `yy` | `uu` |\n *    |------|------|------|\n *    | 1    |   01 |   01 |\n *    | 14   |   14 |   14 |\n *    | 376  |   76 |  376 |\n *    | 1453 |   53 | 1453 |\n *\n *    The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n *    except local week-numbering years are dependent on `options.weekStartsOn`\n *    and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}\n *    and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).\n *\n * 6. Specific non-location timezones are created using the Intl browser API. The output is determined by the\n *    preferred standard of the current locale (en-US by default) which may not always give the expected result.\n *    For this reason it is recommended to supply a `locale` in the format options when formatting a time zone name.\n *\n * 7. These patterns are not in the Unicode Technical Standard #35:\n *    - `i`: ISO day of week\n *    - `I`: ISO week of year\n *    - `R`: ISO week-numbering year\n *    - `t`: seconds timestamp\n *    - `T`: milliseconds timestamp\n *    - `o`: ordinal number modifier\n *    - `P`: long localized date\n *    - `p`: long localized time\n *\n * 8. These tokens are often confused with others. See: https://git.io/fxCyr\n *\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole\n *   library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - The second argument is now required for the sake of explicitness.\n *\n *   ```javascript\n *   // Before v2.0.0\n *   format(new Date(2016, 0, 1))\n *\n *   // v2.0.0 onward\n *   format(new Date(2016, 0, 1), \"yyyy-MM-dd'T'HH:mm:ss.SSSxxx\")\n *   ```\n *\n * - New format string API for `format` function\n *   which is based on [Unicode Technical Standard\n *   #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table). See [this\n *   post](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg) for more details.\n *\n * - Characters are now escaped using single quote symbols (`'`) instead of square brackets.\n *\n * @param date the original date\n * @param formatStr the string of tokens\n * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link\n *   https://date-fns.org/docs/toDate}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See\n *   [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {Boolean} [options.awareOfUnicodeTokens=false] - if true, allows usage of Unicode tokens causes confusion:\n *   - Some of the day of year tokens (`D`, `DD`) that are confused with the day of month tokens (`d`, `dd`).\n *   - Some of the local week-numbering year tokens (`YY`, `YYYY`) that are confused with the calendar year tokens\n *   (`yy`, `yyyy`). See: https://git.io/fxCyr\n * @param {String} [options.timeZone=''] - used to specify the IANA time zone offset of a date String.\n * @param {Date|Number} [options.originalDate] - can be used to pass the original unmodified date to `format` to\n *   improve correctness of the replaced timezone token close to the DST threshold.\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} `options.awareOfUnicodeTokens` must be set to `true` to use `XX` token; see:\n *   https://git.io/fxCyr\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')\n * //=> '02/11/2014'\n *\n * @example\n * // Represent 2 July 2014 in Esperanto:\n * import { eoLocale } from 'date-fns/locale/eo'\n * const result = format(new Date(2014, 6, 2), \"do 'de' MMMM yyyy\", {\n *   locale: eoLocale\n * })\n * //=> '2-a de julio 2014'\n *\n * @example\n * // Escape string by single quote characters:\n * const result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\nexport function format(date, formatStr, options = {}) {\n    formatStr = String(formatStr);\n    const matches = formatStr.match(tzFormattingTokensRegExp);\n    if (matches) {\n        const d = toDate(options.originalDate || date, options);\n        // Work through each match and replace the tz token in the format string with the quoted\n        // formatted time zone so the remaining tokens can be filled in by date-fns#format.\n        formatStr = matches.reduce(function (result, token) {\n            if (token[0] === \"'\") {\n                return result; // This is a quoted portion, matched only to ensure we don't match inside it\n            }\n            const pos = result.indexOf(token);\n            const precededByQuotedSection = result[pos - 1] === \"'\";\n            const replaced = result.replace(token, \"'\" + formatters[token[0]](d, token, options) + \"'\");\n            // If the replacement results in two adjoining quoted strings, the back to back quotes\n            // are removed, so it doesn't look like an escaped quote.\n            return precededByQuotedSection\n                ? replaced.substring(0, pos - 1) + replaced.substring(pos + 1)\n                : replaced;\n        }, formatStr);\n    }\n    return dateFnsFormat(date, formatStr, options);\n}\n","import { format } from '../format/index.js';\nimport { toZonedTime } from '../toZonedTime/index.js';\n/**\n * @name formatInTimeZone\n * @category Time Zone Helpers\n * @summary Gets the offset in milliseconds between the time zone and Universal Coordinated Time (UTC)\n *\n * @param date the date representing the local time / real UTC time\n * @param timeZone the time zone this date should be formatted for; can be an offset or IANA time zone\n * @param formatStr the string of tokens\n * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link\n *   https://date-fns.org/docs/toDate}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See\n *   [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {Boolean} [options.awareOfUnicodeTokens=false] - if true, allows usage of Unicode tokens causes confusion:\n *   - Some of the day of year tokens (`D`, `DD`) that are confused with the day of month tokens (`d`, `dd`).\n *   - Some of the local week-numbering year tokens (`YY`, `YYYY`) that are confused with the calendar year tokens\n *   (`yy`, `yyyy`). See: https://git.io/fxCyr\n * @param {String} [options.timeZone=''] - used to specify the IANA time zone offset of a date String.\n */\nexport function formatInTimeZone(date, timeZone, formatStr, options) {\n    options = {\n        ...options,\n        timeZone,\n        originalDate: date,\n    };\n    return format(toZonedTime(date, timeZone, { timeZone: options.timeZone }), formatStr, options);\n}\n","import { tzParseTimezone } from '../_lib/tzParseTimezone/index.js';\nimport { toDate } from '../toDate/index.js';\n/**\n * @name toZonedTime\n * @category Time Zone Helpers\n * @summary Get a date/time representing local time in a given time zone from the UTC date\n *\n * @description\n * Returns a date instance with values representing the local time in the time zone\n * specified of the UTC time from the date provided. In other words, when the new date\n * is formatted it will show the equivalent hours in the target time zone regardless\n * of the current system time zone.\n *\n * @param date the date with the relevant UTC time\n * @param timeZone the time zone to get local time for, can be an offset or IANA time zone\n * @param options the object with options. See [Options]{@link https://date-fns.org/docs/Options}\n * @param {0|1|2} [options.additionalDigits=2] - passed to `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n *\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // In June 10am UTC is 6am in New York (-04:00)\n * const result = toZonedTime('2014-06-25T10:00:00.000Z', 'America/New_York')\n * //=> Jun 25 2014 06:00:00\n */\nexport function toZonedTime(date, timeZone, options) {\n    date = toDate(date, options);\n    const offsetMilliseconds = tzParseTimezone(timeZone, date, true);\n    const d = new Date(date.getTime() - offsetMilliseconds);\n    const resultDate = new Date(0);\n    resultDate.setFullYear(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate());\n    resultDate.setHours(d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds(), d.getUTCMilliseconds());\n    return resultDate;\n}\n","import \"../blocks/utils/block-hydration\";\nimport \"./slider-arrows.js\";\nimport \"./simple-accordion.js\";\nimport \"./js/accordion\";\nimport \"./vertical-slider.js\";\n// import \"./notification-bar.js\";\nimport \"./shopify\";\nimport \"./notification.js\";\nimport { toggleModal, resizeFn, setStickyOffset } from \"./js/utils\";\n\nif(document.querySelector('#tip-list')) {\n\timport('./tips');\n}\n/* search results logic */\nif (document.querySelector(\".page-template-searchpage\")) {\n\tlet checkboxes = document.querySelectorAll(\".search-checkbox input\");\n\n\tcheckboxes.forEach(function (checkbox) {\n\t\tcheckbox.addEventListener(\"change\", function (e) {\n\t\t\tlet checkboxes = document.querySelectorAll(\".search-checkbox input\");\n\t\t\tlet articles = document.querySelectorAll(\".search-results-article\");\n\t\t\tarticles.forEach(function (el) {\n\t\t\t\tel.classList.add(\"hidden\");\n\t\t\t});\n\n\t\t\tcheckboxes.forEach(function (chbox) {\n\t\t\t\tif (chbox.checked) {\n\t\t\t\t\tdocument\n\t\t\t\t\t\t.querySelectorAll(`[data-type=${chbox.id}]`)\n\t\t\t\t\t\t.forEach(function (el) {\n\t\t\t\t\t\t\tel.classList.remove(\"hidden\");\n\t\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t});\n}\n\nif (document.querySelector(\".single-product\")) {\n\tresizeFn();\n\tsetTimeout(() => {\n\t\tresizeFn();\n\t}, 100);\n\n\tconst sidebar = document.querySelector(\".product-image\");\n\tconst sidebarTop = getComputedStyle(sidebar).top;\n\tconst footer = document.querySelector(\".additional-product-information\");\n\n\twindow.addEventListener(\"scroll\", function () {\n\t\tlet y = window.scrollY;\n\t\tlet windowHeight = window.outerHeight;\n\t\tconst footerTop = footer.offsetTop;\n\t\tlet difference = y + windowHeight - footerTop - 350;\n\n\t\tif (difference > 0) {\n\t\t\tsidebar.style.top = parseInt(sidebarTop) - difference + \"px\";\n\t\t} else {\n\t\t\tsidebar.style.top = sidebarTop;\n\t\t}\n\t});\n\n\t/* window resize */\n\twindow.addEventListener(\"resize\", resizeFn);\n}\n\n/* modal */\nvar openmodal = document.querySelectorAll(\".modal-open\");\nfor (var i = 0; i < openmodal.length; i++) {\n\topenmodal[i].addEventListener(\"click\", function (event) {\n\t\tevent.preventDefault();\n\t\ttoggleModal();\n\t});\n}\n\nconst overlay = document.querySelector(\".modal-overlay\");\nif (overlay) {\n\toverlay.addEventListener(\"click\", toggleModal);\n}\n\nvar closemodal = document.querySelectorAll(\".modal-close\");\nfor (var i = 0; i < closemodal.length; i++) {\n\tclosemodal[i].addEventListener(\"click\", toggleModal);\n}\n\ndocument.onkeydown = function (evt) {\n\tevt = evt || window.event;\n\tvar isEscape = false;\n\tif (\"key\" in evt) {\n\t\tisEscape = evt.key === \"Escape\" || evt.key === \"Esc\";\n\t} else {\n\t\tisEscape = evt.keyCode === 27;\n\t}\n\tif (isEscape && document.body.classList.contains(\"modal-active\")) {\n\t\ttoggleModal();\n\t}\n};\n\n// let parentEl = document.getElementsByClassName(\"recipe-slider-wrapper\");\n// let childEl = document.getElementsByClassName(\"recipe-slider-flex\");\n\n// let parentElWdith = parentEl[0].offsetWidth;\n// let childElWidth = childEl[0].scrollWidth;\n// console.log(\"parentEL:\", parentElWdith, \"childEl:\", childElWidth);\n\n// if (childElWidth > parentElWdith) {\n// \tconsole.log(true);\n// } else {\n// \tconsole.log(false);\n// \tchildEl[0].classList.add(\"justify-center\");\n// }\n\nif (document.querySelector(\"#product-schema-data\")) {\n\timport(\"./product-schema.js\");\n}\n\nsetStickyOffset()\n","import { formatInTimeZone } from \"date-fns-tz\";\nimport { setStickyOffset } from \"./js/utils\";\n\njQuery(document).ready(function ($) {\n\tconst $masthead = $(\"#masthead\");\n\tconst $main = $(\"#primary\");\n\tconst $notify = $(\"#banner-container\");\n\tvar duration = $(\"#banner-container\").data(\"duration\");\n\tvar notifyHeight = \"\";\n\n\tconst currentDate = formatInTimeZone(\n\t\tnew Date(),\n\t\t\"America/Los_Angeles\",\n\t\t\"Y-MM-dd H:mm:ss\"\n\t);\n\n\t$(\".notify-text\").each(function ($idx, el) {\n\t\tconst $el = $(el);\n\t\tconst publishOn = $el.data(\"publish\");\n\t\tconst unpublishOn = $el.data(\"unpublish\");\n\n\t\tconst shouldHidePublishOn = publishOn ? publishOn > currentDate : false;\n\t\tconst shouldHideUnpublishOn = unpublishOn\n\t\t\t? unpublishOn < currentDate\n\t\t\t: false;\n\n\t\tif (shouldHidePublishOn || shouldHideUnpublishOn) {\n\t\t\t$el.remove();\n\t\t}\n\t});\n\n\tif ($(\"body\").hasClass(\"logged-in\")) {\n\t\tnotifyHeight = $notify.outerHeight() + 32;\n\t} else {\n\t\tnotifyHeight = $notify.outerHeight();\n\t}\n\n\taddMastheadTop();\n\n\tfunction addMastheadTop() {\n\t\tif ($notify.length) {\n\t\t\t$masthead.css(\"top\", notifyHeight + \"px\");\n\t\t\t$main.css(\"padding-top\", $notify.outerHeight() + \"px\");\n\t\t}\n\t}\n\n\tconst $notifyClose = $(\".notify-close-button\");\n\tconst $notifyToggle = $(\".notify-toggle-button\");\n\t$notifyClose.on(\"click\", removeMastheadTop);\n\t$notifyToggle.on(\"click\", removeMastheadTop);\n\n\t$(\".notify-display-toggle\").on(\"click\", addMastheadTop);\n\n\tfunction removeMastheadTop() {\n\t\t$masthead.css(\"top\", \"\");\n\t\t$main.css(\"padding-top\", \"\");\n\t\t$notify.animate(\n\t\t\t{\n\t\t\t\theight: 0,\n\t\t\t},\n\t\t\t500\n\t\t);\n\t}\n\n\t$(window).resize(function () {\n\t\tnotifyHeight = \"\";\n\t\tnotifyHeight = $notify.outerHeight();\n\t\taddMastheadTop();\n\t});\n\n\tvar bannerTexts = $(\".notify-text\");\n\tvar currentIndex = 0;\n\n\tfunction showBannerText() {\n\t\tif ($notify.height() > 0) {\n\t\t\tbannerTexts.hide();\n\t\t\tbannerTexts.eq(currentIndex).show();\n\n\t\t\tcurrentIndex = (currentIndex + 1) % bannerTexts.length;\n\n\t\t\tsetTimeout(showBannerText, duration);\n\n\t\t\tsetStickyOffset();\n\t\t}\n\t}\n\n\tshowBannerText();\n});\n"],"names":["leafPrototypes","getProto","inProgress","dataWebpackPrefix","module","exports","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","Constructor","protoProps","staticProps","prototype","_defineProperty","obj","value","_inheritsLoose","subClass","superClass","create","constructor","__proto__","_assertThisInitialized","self","ReferenceError","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_nonIterableRest","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","Array","isArray","arr2","iter","Symbol","iterator","toString","call","from","_arr","_n","_d","_e","undefined","_s","_i","next","done","push","err","TypeError","_typeof","classCallCheck$1","instance","createClass$1","defineProperties","inherits$1","setPrototypeOf","possibleConstructorReturn$1","join","_len","arguments","fields","_key","isObject","Boolean","valueOf","deepFreezeCopyExcept","predicate","structure","freeze","keys","reduce","copy","map","item","schemaForType","typeBundle","typeName","typeSchema","type","types","kind","Error","classCallCheck","createClass","_extends","assign","source","hasOwnProperty","inherits","possibleConstructorReturn","slicedToArray","sliceIterator","toConsumableArray","VariableDefinition","name","defaultValue","this","defaultValueString","formatInputValue","isVariable","isPrototypeOf","variable","Enum","enumFunction","Scalar","get","toInputValueString","String","JSON","stringify","apply","formatObject","openChar","closeChar","argPairs","formatArgs","args","formatDirectives","directives","directiveStrings","directiveArgs","noop","Profiler","trackTypeDependency","trackFieldDependency","parseFieldCreationArgs","creationArgs","callback","options","selectionSet","_creationArgs","_creationArgs2","SelectionSet","emptyArgs","emptyDirectives","Field","alias","responseKey","Spread","InlineFragment","_Spread","_this","getPrototypeOf","FragmentSpread","_Spread2","fragmentDefinition","_this2","FragmentDefinition","spread","selectionsHaveIdField","selections","some","fieldOrFragment","implementsNode","selectionsHaveTypenameField","indexSelectionsByResponseKey","assignOrPush","unfrozenObject","acc","selection","selectionsByResponseKey","forEach","builderFunction","SelectionSetBuilder","unshift","field","selectionOrFieldName","rest","concat","hasSelectionWithResponseKey","_len2","_key2","parsedArgs","fieldBaseTypes","fieldBaseType","builderFunctionOrSelectionSet","_len3","_key3","add","_len4","_key4","_parseFieldCreationAr","connection","pageInfo","edges","addField","fieldTypeCb","inlineFragmentOn","fragmentSpread","parseArgs","variables","selectionSetCallback","_args","VariableDefinitions","variableDefinitions","Operation","operationType","_parseArgs","queryType","mutationType","nameString","Query","_Operation","_ref","Mutation","isAnonymous","operation","hasAnonymousOperations","operations","hasDuplicateOperationNames","names","hasDuplicates","index","indexOf","extractOperation","Function","bind","isInvalidOperationCombination","fragmentNameIsNotUnique","existingDefinitions","definition","Document","definitions","addOperation","onType","fragmentDefinitions","fragment","filter","GraphModel","attrs","ClassRegistry","classStore","isValue","arg","isNodeContext","context","isConnection","endsWith","nearestNode","parent","contextsFromRoot","contextsFromNearestNode","initializeDocumentAndVars","currentContext","contextChain","lastInChain","first","firstVar","find","addNextFieldTo","currentSelection","path","cursor","nextContext","shift","newSelection","nodeField","after","addConnection","collectFragments","toDefinition","nextPageQueryAndPath","nearestNodeContext","_document$definitions","nodeType","nodeId","responseData","id","_initializeDocumentAn","_initializeDocumentAn2","document","addQuery","root","node","addInlineFragmentOn","slice","fragments","_document$definitions2","_initializeDocumentAn3","_initializeDocumentAn4","hasNextPage$1","edge","hasNextPage","hasPreviousPage","transformConnections","variableValues","DecodingContext","nestedSelections","nextSelection","contextForObjectProperty","decodeArrayItems","transformers","decodeContext","contextForArrayItem","decodeObjectValues","runTransformers","transformer","generateRefetchQueries","refetchQuery","transformPojosToClassesWithRegistry","classRegistry","classForType","transformScalars","recordTypeInformation","_context$selection$se","__typename","defaultTransformers","_ref$classRegistry","decode","httpFetcher","url","graphQLParams","headers","fetch","body","method","mode","Accept","then","response","json","text","paginatedModels","Client$2","Client","fetcherOptions","fetcher","_ref$registry","registry","request","otherProperties","operationOrDocument","query","operationName","documentOperation","data","model","nodeOrNodes","_node$nextPageQueryAn","_node$nextPageQueryAn2","send","object","_ref2","pageSize","fetchNextPage","_ref3","pages","fetchAllPages","Promise","resolve","_ref4","Config","deprecatedProperties","requiredProperties","apiVersion","language","accessToken","apiKey","Resource","client","graphQLClient","defaultErrors","message","defaultResolver","split","errors","reject","ref","_","fetchResourcesForProducts","productOrProduct","products","all","promiseAcc","product","images","variants","paginateProductConnectionsAndResolve","paginateCollectionsProductConnectionsAndResolve","collectionOrCollections","collections","collection","productHelpers","variantForOptions","variant","selectedOptions","every","selectedOption","spreads","__defaultOperation__","VariantFragment","defineFragment","price","compareAtPrice","image","unitPrice","unitPriceMeasurement","ProductFragment","addFragment","query$1","ids","nodes","query$2","sortKey","reverse","query$3","handle","productByHandle","query$4","productId","productRecommendations","ProductResource","_Resource","_ref$first","_ref$sortKey","query$$1","query$5","CollectionFragment","query$6","productsFirst","Collection","query$7","query$8","query$9","CollectionsProductsFragment","collectionByHandle","CollectionResource","_ref$productsFirst","_ref2$productsFirst","_ref3$first","_ref3$sortKey","query$10","shop","paymentSettings","primaryDomain","query$11","PolicyFragment","privacyPolicy","termsOfService","refundPolicy","ShopResource","handleCheckoutMutation","mutationRootKey","_ref$data","_ref$model","rootData","rootModel","checkout","lineItems","userErrors","checkoutUserErrors","query$12","DiscountApplicationFragment","MoneyV2","PricingPercentageValue","ManualDiscountApplication","DiscountCodeApplication","ScriptDiscountApplication","AutomaticDiscountApplication","AppliedGiftCardFragment","amountUsed","balance","presentmentAmountUsed","VariantWithProductFragment","MailingAddressFragment","CheckoutFragment","paymentDue","totalTax","lineItemsSubtotalPrice","subtotalPrice","totalPrice","discountApplications","appliedGiftCards","shippingAddress","shippingLine","customAttributes","order","totalShippingPrice","totalRefunded","discountAllocations","allocatedAmount","discountApplication","query$13","input","UserErrorFragment","CheckoutUserErrorFragment","addMutation","checkoutCreate","query$14","checkoutId","checkoutLineItemsAdd","query$15","lineItemIds","checkoutLineItemsRemove","query$16","checkoutLineItemsReplace","query$17","checkoutLineItemsUpdate","query$18","checkoutAttributesUpdateV2","query$19","checkoutDiscountCodeApplyV2","discountCode","query$20","checkoutDiscountCodeRemove","query$21","checkoutGiftCardsAppend","giftCardCodes","query$22","checkoutGiftCardRemoveV2","appliedGiftCardId","query$23","checkoutEmailUpdateV2","email","query$24","checkoutShippingAddressUpdateV2","CheckoutResource","imageHelpers","imageForSize","maxWidth","maxHeight","splitUrl","src","notQuery","imageTokens","imagePathIndex","ImageResource","version","AppliedGiftCard","Attribute","Boolean$1","Checkout","CheckoutAttributesUpdateV2Payload","CheckoutCreatePayload","CheckoutDiscountCodeApplyV2Payload","CheckoutDiscountCodeRemovePayload","CheckoutEmailUpdateV2Payload","CheckoutErrorCode","CheckoutGiftCardRemoveV2Payload","CheckoutGiftCardsAppendPayload","CheckoutLineItem","CheckoutLineItemConnection","CheckoutLineItemEdge","CheckoutLineItemsAddPayload","CheckoutLineItemsRemovePayload","CheckoutLineItemsReplacePayload","CheckoutLineItemsUpdatePayload","CheckoutShippingAddressUpdateV2Payload","CheckoutUserError","CollectionConnection","CollectionEdge","CountryCode","CurrencyCode","DateTime","Decimal","DiscountAllocation","DiscountApplication","DiscountApplicationAllocationMethod","DiscountApplicationConnection","DiscountApplicationEdge","DiscountApplicationTargetSelection","DiscountApplicationTargetType","Domain","Float","HTML","ID","Image","ImageConnection","ImageEdge","Int","MailingAddress","Mutation$1","Node","Order","OrderLineItem","OrderLineItemConnection","OrderLineItemEdge","PageInfo","PaymentSettings","PricingValue","Product","ProductConnection","ProductEdge","ProductOption","ProductVariant","ProductVariantConnection","ProductVariantEdge","QueryRoot","SelectedOption","ShippingRate","Shop","ShopPolicy","String$1","URL","UnitPriceMeasurement","UnitPriceMeasurementMeasuredType","UnitPriceMeasurementMeasuredUnit","UserError","Types","recursivelyFreezeObject","getOwnPropertyNames","subscriptionType","config","GraphQLClientClass","fetchFunction","domain","storefrontAccessToken","languageHeader","newConfig","models","shopifyBuy","merge","sources","isFunction","quantityTemplate","buttonTemplate","productTemplate","img","imgWithCarousel","title","variantTitle","description","button","quantity","buttonWithQuantity","defaults","iframe","buttonDestination","isButton","layout","manifest","width","contents","quantityIncrement","quantityDecrement","quantityInput","templates","classes","wrapper","imgWrapper","carousel","carouselNext","carouselPrevious","carouselItem","carouselItemSelected","blockButton","buttonWrapper","prices","compareAt","loweredPrice","disabled","buttonBesideQty","quantityButton","quantityWithButtons","vertical","horizontal","outOfStock","unavailable","unitPriceAccessibilityLabel","unitPriceAccessibilitySeparator","regularPriceAccessibilityLabel","salePriceAccessibilityLabel","modalProduct","hasImage","modal","overlay","close","footer","footerWithImg","imgWithImg","contentsWithImg","scrollContents","productSet","pagination","paginationButton","nextPageButton","option","select","label","optionDisabled","optionSelected","selectIcon","hiddenLabel","cart","startOpen","popup","note","discounts","header","discount","discountText","discountIcon","discountAmount","subtotalText","subtotal","notice","currency","cartScroll","cartScrollWithDiscounts","cartScrollWithCartNote","empty","noteDescription","noteTextArea","total","closeAccessibilityLabel","lineItem","priceWithDiscounts","itemTitle","fullPrice","quantityInputAccessibilityLabel","quantityDecrementAccessibilityLabel","quantityIncrementAccessibilityLabel","toggle","icon","count","sticky","iconPath","window","height","toolbar","scrollbars","status","resizable","center","createnew","location","menubar","onUnload","titlebar","wrapConsole","logCommand","logMethod","hostConsole","console","logger","debug","info","warn","error","log","logNotFound","component","errInfo","typeKey","range","defaultMoneyFormat","DOCUMENT_FRAGMENT_NODE","morphAttrs","fromNode","toNode","attr","attrName","attrNamespaceURI","attrValue","toNodeAttrs","attributes","namespaceURI","localName","getAttributeNS","prefix","setAttributeNS","getAttribute","setAttribute","fromNodeAttrs","d","hasAttributeNS","removeAttributeNS","hasAttribute","removeAttribute","NS_XHTML","doc","HAS_TEMPLATE_SUPPORT","createElement","HAS_RANGE_SUPPORT","createRange","createFragmentFromTemplate","str","template","innerHTML","content","childNodes","createFragmentFromRange","selectNode","createContextualFragment","createFragmentFromWrap","toElement","trim","compareNodeNames","fromEl","toEl","fromCodeStart","toCodeStart","fromNodeName","nodeName","toNodeName","charCodeAt","toUpperCase","createElementNS","moveChildren","curChild","firstChild","nextChild","nextSibling","appendChild","syncBooleanAttrProp","specialElHandlers","OPTION","parentNode","parentName","selected","selectedIndex","INPUT","TEXTAREA","newValue","oldValue","nodeValue","placeholder","SELECT","optgroup","ELEMENT_NODE","DOCUMENT_FRAGMENT_NODE$1","TEXT_NODE","COMMENT_NODE","noop$1","defaultGetNodeKey","morphdomFactory","toNodeHtml","getNodeKey","onBeforeNodeAdded","onNodeAdded","onBeforeElUpdated","onElUpdated","onBeforeNodeDiscarded","onNodeDiscarded","onBeforeElChildrenUpdated","childrenOnly","fromNodesLookup","keyedRemovalList","addKeyedRemoval","walkDiscardedChildNodes","skipKeyedNodes","removeNode","removeChild","indexTree","handleNodeAdded","el","unmatchedFromEl","replaceChild","morphEl","cleanupFromEl","curFromNodeChild","curFromNodeKey","fromNextSibling","toElKey","morphChildren","curToNodeKey","toNextSibling","matchingFromEl","curToNodeChild","outer","isSameNode","curFromNodeType","isCompatible","insertBefore","onBeforeNodeAddedResult","actualize","ownerDocument","specialElHandler","morphedNode","morphedNodeType","toNodeType","len","elToRemove","morphdom","commonjsGlobal","globalThis","g","createCommonjsModule","fn","mustache","global","factory","Mustache","objectToString","typeStr","escapeRegExp","string","replace","hasProperty","propName","primitiveHasOwnProperty","primitive","regExpTest","RegExp","test","testRegExp","re","nonSpaceRe","isWhitespace","entityMap","escapeHtml","s","whiteRe","spaceRe","equalsRe","curlyRe","tagRe","parseTemplate","tags","openingTagRe","closingTagRe","closingCurlyRe","sections","tokens","spaces","hasTag","nonSpace","stripSpace","pop","compileTags","tagsToCompile","start","chr","token","openSection","scanner","Scanner","eos","pos","scanUntil","valueLength","charAt","scan","nestTokens","squashTokens","lastToken","squashedTokens","numTokens","nestedTokens","collector","tail","Context","view","parentContext","cache","Writer","match","substring","search","lookup","intermediateValue","lookupHit","clearCache","parse","cacheKey","render","partials","renderTokens","originalTemplate","symbol","buffer","renderSection","renderInverted","renderPartial","unescapedValue","escapedValue","rawValue","subRender","j","escape","defaultWriter","to_html","result","Template","cb","output","masterTemplate","stylesTemplate","conditionalStyles","addClassToElement","className","element","classList","removeClassFromElement","remove","iframeStyles","overflow","border","iframeAttrs","horizontalscrolling","verticalscrolling","allowTransparency","frameBorder","scrolling","webfontScript","isPseudoSelector","isMedia","isValue$1","ruleDeclarations","rule","property","selectorStyleGroup","selector","selectorClass","styleGroup","formattedSelector","decKey","group","declarations","media","stylesheet","customStylesHash","customStyles","browserFeatures","googleFonts","setWidth","style","styleTag","_proto","load","onload","loadFonts","appendStyleTag","_this3","loadFontScript","WebFont","google","families","fontactive","contentWindow","frames","setTimeout","fontScript","head","addClass","removeClass","setName","updateStyles","_this4","css","styleSheet","cssText","createTextNode","contentDocument","_this5","transition","transform","animation","compiled","selectors","conditionalCSS","styles","TAB_KEY","trapFocusHandlers","removeTrapFocus","container","focusin","removeEventListener","focusout","keydown","trapFocus","focusableElements","querySelectorAll","firstElement","lastElement","event","addEventListener","keyCode","shiftKey","preventDefault","focus","delegateEventSplitter","ESC_KEY","View","eventsBound","init","_userEvent","html","viewData","wrapTemplate","_createWrapper","updateNode","resize","delegateEvents","closeComponentsOnEsc","DOMEvents","_key$match2","eventName","selectorString","_on","evt","reloadIframe","append","destroy","renderChild","querySelector","div","firstElementChild","shouldResizeX","_resizeX","shouldResizeY","_resizeY","setFocus","closeModal","closeCart","animateRemoveNode","getElementById","clientWidth","newHeight","outerHeight","possibleTargets","possibleTarget","getComputedStyle","clientHeight","getPropertyValue","Updater","updateConfig","moneyFormat","decodeURIComponent","Component","storefrontId","globalConfig","cartNode","modalNode","toggles","updater","setupModel","catch","fetchData","methodName","events","uniqueHandle","hash","classKey","fonts","tagName","CheckoutNavigator","open","params","left","outerWidth","top","windowUtils","href","placeholderRegex","thousandsRegex","formatWithDelimiters","number","precision","thousands","decimal","isNaN","parts","toFixed","formatMoney","amount","format","cents","formatString","placeholderMatch","normalizeId","databaseKey","getNormalizedIdFromConfig","storefrontKey","denormalizedValue","normalizedValue","normalizeConfig","baseResourceType","variantId","storefrontVariantId","detectCSSFeature","featurename","feature","domPrefixes","elm","featurenameCapital","toLowerCase","substr","supportsTransitions","supportsTransforms","supportsWindowOpen","userAgent","navigator","vendor","opera","appName","windowOpen","getUnitString","unitEnum","getUnitPriceBaseUnit","referenceValue","referenceUnit","unitString","ProductView","_View","resizeOnLoad","productContents","getElementsByClassName","ariaLabel","wrapperClass","currentImage","MAX_WIDTH","ProductUpdater","_Updater","defaultStorefrontVariantId","modalProductConfig","isFunction$1","isPseudoSelector$1","isMedia$1","ENTER_KEY","propertiesWhitelist","whitelistedProperties","selectorStyles","filteredStyles","propertyName","Product$1","_Component","cachedImage","childTemplate","imgStyle","selectedQuantity","selectedVariant","selectedImage","stopPropagation","stopImmediatePropagation","optionValueCanBeSelected","variantArray","selectableValues","optionValues","variantExists","variantAvailable","available","openOnlineStore","onlineStoreURL","createCart","cartConfig","setDefaultVariant","sdkFetch","fetchByHandle","onButtonClick","tracker","trackMethod","addVariantToCart","selectedVariantTrackingInfo","setActiveEl","track","productTrackingInfo","openModal","checkoutWindow","webUrl","onBlockButtonKeyup","onOptionSelect","updateVariant","onQuantityBlur","updateQuantity","parseInt","onQuantityIncrement","qty","prevQty","closeCartOnBgClick","isVisible","onCarouselItemClick","selectedImageId","foundImage","nextIndex","currentIndex","offset","onCarouselChange","imageList","currentImageIndex","modalConfig","createModal","optionName","_this6","updatedOption","helpers","_this7","imageAltText","altText","shouldUpdateImage","imageSize","srcLarge","srcOriginal","DEFAULT_IMAGE_SIZE","MODAL_IMAGE_SIZE","imageOptions","imageOptionsLarge","priceV2","hasCompareAtPrice","compareAtPriceV2","showUnitPrice","optionsHtml","decoratedOptions","buttonClass","hasVariants","buttonDisabled","buttonEnabled","buttonText","quantityClass","priceClass","formattedPrice","priceAccessibilityLabel","formattedCompareAtPrice","compareAtPriceAccessibilityLabel","formattedUnitPrice","formattedUnitPriceBaseUnit","carouselIndex","carouselImages","_this8","carouselSrc","isSelected","disabledClass","variantInStock","buttonActionAvailable","_this9","requiresCart","_merge","click","_this10","uniqueId","Date","now","selectId","onlyOption","variantArrayMemo","betterVariant","optionValue","_this11","values","contentString","variantName","destination","checkoutPopup","sku","productName","modalProductStyles","_this12","productStyles","selectorKey","channel","referrer","encodeURIComponent","_this13","onlineStoreParams","onlineStoreUrl","onlineStoreQueryString","ModalView","_closeOnBgClick","getElementsByTagName","closeOnBgClick","ModalUpdater","productConfig","Modal","productWrapper","contains","ProductSetUpdater","renderProducts","pollInterval","ProductSetView","resizeCompleted","resizeUntilFits","maxResizes","resizes","productSetResize","setInterval","currentHeight","clearInterval","isArray$1","ProductSet","page","nextModel","promise","fetchMultiple","fetchWithProducts","collectionOrProducts","showPagination","paginationTemplate","nextPage","promises","productModel","hasPagination","nextButtonClass","_paginationTemplate","isProductSet","ENTER_KEY$1","SPACE_KEY","ToggleView","toggleVisibility","stickyClass","readableLabel","CartToggle","toggleCart","CartView","CartUpdater","NO_IMG_URL","LINE_ITEM_TARGET_SELECTIONS","CART_TARGET_SELECTION","Cart","lineItemCache","createToggles","imageForLineItem","removeCheckout","localStorage","removeItem","localStorageCheckoutKey","getItem","completedAt","sanitizeCheckout","newCheckout","updateCache","lineItemsToDelete","removeLineItems","fetchMoneyFormat","fetchInfo","res","visible","setQuantity","onCheckout","newQty","updateItem","cartItemTrackingInfo","setNote","updateAttributes","cachedLineItems","updateCacheItem","lineItemId","lineItemEl","quantityEl","updateLineItems","openCart","addLineItems","setItem","prevQuantity","parseFloat","_discountAllocations$","discountAcc","targetSelection","discountDisplayText","code","totalDiscount","formattedFullPrice","formattedActualPrice","lineItemImage","lineItemsHtml","isEmpty","formattedTotal","cartDiscounts","cartNote","cartNoteId","subtotalPriceV2","discountArr","discountValue","percentage","Tracker","lib","clientConfig","properties","returnValue","val","callLib","trackPageview","trackComponent","pageurl","subdomain","hostStyles","conditionalStyles$1","frameUtils","lastTime","vendors","requestAnimationFrame","cancelAnimationFrame","x","currTime","getTime","timeToCall","Math","max","clearTimeout","CustomEvent","bubbles","cancelable","detail","createEvent","initCustomEvent","Event","throttle","running","func","dispatchEvent","DATA_ATTRIBUTE","ESC_KEY$1","UI","integrations","styleOverrides","iframeComponents","components","componentTypes","errorReporter","activeEl","_appendStyleTag","_bindResize","_bindHostClick","_bindEsc","_bindPostMessage","createComponent","_queryEntryNode","componentProps","notifyException","trackingInfo","destroyComponent","splice","restoreFocus","visibility","modalOpen","cartOpen","entry","_appendToBody","styleText","set","msg","syncCart","current_checkout_page","reload","isOpen","support","searchParams","iterable","blob","Blob","e","formData","arrayBuffer","isDataView","DataView","viewClasses","isArrayBufferView","ArrayBuffer","isView","normalizeName","normalizeValue","iteratorFor","items","Headers","consumed","bodyUsed","fileReaderReady","reader","onerror","readBlobAsArrayBuffer","FileReader","readAsArrayBuffer","readBlobAsText","readAsText","readArrayBufferAsText","buf","Uint8Array","chars","fromCharCode","bufferClone","byteLength","Body","_initBody","_bodyInit","_bodyText","_bodyBlob","FormData","_bodyFormData","URLSearchParams","_bodyArrayBuffer","rejected","decode$1","has","thisArg","entries","methods","normalizeMethod","upcased","Request","credentials","signal","form","bytes","parseHeaders","rawHeaders","line","Response","bodyInit","ok","statusText","clone","redirectStatuses","redirect","RangeError","DOMException","stack","fetch$1","aborted","xhr","XMLHttpRequest","abortXhr","abort","getAllResponseHeaders","responseURL","responseText","ontimeout","onabort","withCredentials","responseType","setRequestHeader","onreadystatechange","readyState","polyfill","has$1","O","check","it","global_1","fails","exec","descriptors","a","isObject$1","document$1","EXISTS","documentCreateElement","ie8DomDefine","anObject","toPrimitive","PREFERRED_STRING","nativeDefineProperty","objectDefineProperty","f","P","Attributes","createPropertyDescriptor","bitmap","hide","setGlobal","isPure","shared","SHARED","store","copyright","functionToString","WeakMap","nativeWeakMap","postfix","random","uid","sharedKey","hiddenKeys","WeakMap$1","enforce","getterFor","TYPE","state","wmget","wmhas","wmset","metadata","STATE","internalState","redefine","getInternalState","enforceInternalState","TEMPLATE","unsafe","simple","noTargetGet","classofRaw","nativeSymbol","getOwnPropertySymbols","Symbol$1","store$1","wellKnownSymbol","TO_STRING_TAG","CORRECT_ARGUMENTS","tryGet","classof","tag","callee","TO_STRING_TAG$1","ObjectPrototype","IteratorPrototype","PrototypeOfArrayIteratorPrototype","arrayIterator","ceil","floor","toInteger","argument","requireObjectCoercible","createMethod","CONVERT_TO_STRING","$this","second","S","position","size","stringMultibyte","codeAt","nativePropertyIsEnumerable","propertyIsEnumerable","getOwnPropertyDescriptor","objectPropertyIsEnumerable","V","indexedObject","toIndexedObject","nativeGetOwnPropertyDescriptor","objectGetOwnPropertyDescriptor","aFunction","getBuiltIn","namespace","min","toLength","min$1","toAbsoluteIndex","integer","createMethod$1","IS_INCLUDES","fromIndex","objectKeysInternal","enumBugKeys","hiddenKeys$1","objectGetOwnPropertyNames","objectGetOwnPropertySymbols","ownKeys","copyConstructorProperties","replacement","isForced","detection","normalize","POLYFILL","NATIVE","isForced_1","getOwnPropertyDescriptor$1","_export","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","forced","sham","toObject","correctPrototypeGetter","F","IE_PROTO","ObjectPrototype$1","objectGetPrototypeOf","ITERATOR","BUGGY_SAFARI_ITERATORS","returnThis","iteratorsCore","objectKeys","objectDefineProperties","Properties","IE_PROTO$1","PROTOTYPE","Empty","createDict","iframeDocument","lt","script","gt","js","display","write","objectCreate","TO_STRING_TAG$2","setToStringTag","TAG","iterators","IteratorPrototype$1","returnThis$1","createIteratorConstructor","IteratorConstructor","NAME","aPossiblePrototype","objectSetPrototypeOf","setter","CORRECT_SETTER","proto","IteratorPrototype$2","BUGGY_SAFARI_ITERATORS$1","ITERATOR$1","KEYS","VALUES","ENTRIES","returnThis$2","defineIterator","Iterable","DEFAULT","IS_SET","FORCED","CurrentIteratorPrototype","KEY","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","STRING_ITERATOR","setInternalState","iterated","point","domIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","UNSCOPABLES","ArrayPrototype","addToUnscopables","ARRAY_ITERATOR","setInternalState$1","getInternalState$1","es_array_iterator","Arguments","ITERATOR$2","TO_STRING_TAG$3","ArrayValues","COLLECTION_NAME","Collection$1","CollectionPrototype","METHOD_NAME","redefineAll","SPECIES","setSpecies","CONSTRUCTOR_NAME","aFunction$1","anInstance","ITERATOR$3","ArrayPrototype$1","isArrayIteratorMethod","bindContext","that","b","c","ITERATOR$4","getIteratorMethod","callWithSafeIterationClosing","returnMethod","iterate_1","Result","stopped","iterate","AS_ENTRIES","IS_ITERATOR","iterFn","step","boundFunction","stop","ITERATOR$5","SAFE_CLOSING","called","iteratorWithReturn","defer","port","checkCorrectnessOfIteration","SKIP_CLOSING","ITERATION_SUPPORT","SPECIES$1","speciesConstructor","defaultConstructor","C","location$1","set$1","setImmediate","clear","clearImmediate","process","MessageChannel","Dispatch","counter","queue","ONREADYSTATECHANGE","run","runner","listener","post","postMessage","protocol","host","nextTick","port2","port1","onmessage","importScripts","flush","last","notify","task","getOwnPropertyDescriptor$2","macrotask","MutationObserver","WebKitMutationObserver","process$1","Promise$1","IS_NODE","queueMicrotaskDescriptor","queueMicrotask","exit","enter","observe","characterData","Internal","OwnPromiseCapability","PromiseWrapper","microtask","PromiseCapability","$$resolve","$$reject","newPromiseCapability","promiseResolve","promiseCapability","hostReportErrors","perform","task$1","SPECIES$2","PROMISE","getInternalState$2","setInternalState$2","getInternalPromiseState","PromiseConstructor","TypeError$1","document$2","process$2","$fetch","versions","v8","newPromiseCapability$1","newGenericPromiseCapability","IS_NODE$1","DISPATCH_EVENT","UNHANDLED_REJECTION","REJECTION_HANDLED","PENDING","FULFILLED","REJECTED","HANDLED","UNHANDLED","FakePromise","PromiseRejectionEvent","INCORRECT_ITERATION","isThenable","notify$1","isReject","notified","chain","reactions","exited","reaction","handler","fail","rejection","onHandleUnhandled","onUnhandled","reason","initEvent","isUnhandled","emit","unwrap","internalReject","internalResolve","executor","onFulfilled","onRejected","wrap","r","capability","$promiseResolve","remaining","alreadyCalled","race","real","onFinally","$AggregateError","errorsArray","AggregateError","allSettled","callbackfn","PROMISE_ANY_ERROR","any","alreadyResolved","alreadyRejected","MATCH","isRegexp","isRegExp","notARegexp","MATCH$1","correctIsRegexpLogic","regexp","nativeEndsWith","min$2","searchString","endPosition","end","entryUnbind","CONSTRUCTOR","METHOD","isArray$2","SPECIES$3","arraySpeciesCreate","originalArray","createMethod$2","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","specificCreate","$find","arrayIteration","FIND","SKIPS_HOLES","nativeAssign","objectAssign","A","B","alphabet","T","argumentsLength","createMethod$3","TO_ENTRIES","$values","UpdatedShopifyBuy","_ShopifyBuy","buildClient","ShopifyBuy","domains","uniqueClientKey","adapterHelpers","panel","heading","currentTarget","expanded","jQuery","ready","$","addIntersectionObserver","observer","IntersectionObserver","isIntersecting","play","pause","threshold","addMainImg","innerWidth","firstEl","other","closest","on","prop","$scrollup","$scrolldown","$scrollimages","scrollimagesH","innerHeight","show","animate","scrollTop","scroll","scrollHeight","fadeIn","fadeOut","hasOwn","classNames","argType","inner","default","define","amd","extendStatics","__extends","p","__","__assign","t","n","cloneNode","Element","NodeWithChildren","ProcessingInstruction","Comment","Text","DataNode","nodeTypes","Map","prev","startIndex","endIndex","_a","recursive","_super","children","attribs","_b","instr","elem","cloneChildren","clone_1","child","clone_2","clone_3","childs","CASE_SENSITIVE_TAG_NAMES","HEAD","BODY","FIRST_TAG_REGEX","HEAD_TAG_REGEX","BODY_TAG_REGEX","parseFromDocument","parseFromString","DOMParser","domParser","implementation","isIE","createHTMLDocument","documentElement","parseFromTemplate","firstTagName","elements","domparser","formatDOM","DIRECTIVE_REGEX","directive","constants","domhandler","caseSensitiveTagNamesMap","formatAttributes","attribute","formatTagName","caseSensitiveTagName","getCaseSensitiveTagName","current","domToReact","attributesToProps","htmlToDOM","domParserOptions","lowerCaseAttributeNames","HTMLReactParser","htmlparser2","reactProperty","utilities","setStyleProp","htmlProperties","svgProperties","svg","isCustomAttribute","attributeName","attributeNameLowerCased","attributeValue","hasBooleanValue","hasOverloadedBooleanValue","PRESERVE_CUSTOM_ATTRIBUTES","React","skipAttributesToProps","isCustomComponent","replaceElement","library","cloneElement","isValidElement","hasReplace","dangerouslySetInnerHTML","__html","styleToJS","styleToJSOptions","reactCompat","invertObject","override","isOverridePresent","overrides","is","COMMENT_REGEX","NEWLINE_REGEX","WHITESPACE_REGEX","PROPERTY_REGEX","COLON_REGEX","VALUE_REGEX","SEMICOLON_REGEX","TRIM_REGEX","EMPTY_STRING","lineno","column","updatePosition","lines","lastIndexOf","Position","whitespace","errorsList","filename","silent","m","comments","rules","comment","declaration","ret","decl","decls","HTMLDOMPropertyConfig","SVGDOMPropertyConfig","injection","MUST_USE_PROPERTY","HAS_BOOLEAN_VALUE","HAS_NUMERIC_VALUE","HAS_POSITIVE_NUMERIC_VALUE","HAS_OVERLOADED_BOOLEAN_VALUE","checkMask","bitmask","injectDOMPropertyConfig","domPropertyConfig","isSVG","propConfig","DOMAttributeNames","mustUseProperty","hasNumericValue","hasPositiveNumericValue","autoFocus","accept","acceptCharset","accessKey","action","allowFullScreen","alt","as","async","autoComplete","autoPlay","capture","cellPadding","cellSpacing","charSet","challenge","checked","cite","classID","cols","colSpan","contentEditable","contextMenu","controls","controlsList","coords","crossOrigin","dateTime","dir","download","draggable","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","hidden","high","hrefLang","htmlFor","httpEquiv","inputMode","integrity","keyParams","keyType","lang","list","loop","low","marginHeight","marginWidth","maxLength","mediaGroup","minLength","multiple","muted","nonce","noValidate","optimum","pattern","playsInline","poster","preload","profile","radioGroup","readOnly","referrerPolicy","rel","required","reversed","role","rows","rowSpan","sandbox","scope","scoped","seamless","shape","sizes","span","spellCheck","srcDoc","srcLang","srcSet","summary","tabIndex","useMap","wmode","about","datatype","inlist","resource","typeof","vocab","autoCapitalize","autoCorrect","autoSave","color","itemProp","itemScope","itemType","itemID","itemRef","results","security","unselectable","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipRule","clipPathUnits","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cx","cy","decelerate","descent","diffuseConstant","direction","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerMid","markerStart","markerHeight","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","numOctaves","opacity","operator","orient","orientation","origin","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","rotate","rx","ry","scale","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textRendering","textLength","to","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","viewBox","viewTarget","widths","wordSpacing","writingMode","xHeight","x1","x2","xChannelSelector","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlns","xmlnsXlink","xmlLang","xmlSpace","y","y1","y2","yChannelSelector","z","zoomAndPan","__importDefault","mod","__esModule","style_to_object_1","utilities_1","camelCase","CUSTOM_PROPERTY_REGEX","HYPHEN_REGEX","NO_HYPHEN_REGEX","VENDOR_PREFIX_REGEX","capitalize","character","trimHyphen","skipCamelCase","hasIterator","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","ns","def","o","chunkId","u","miniCssF","l","needAttach","scripts","charset","timeout","nc","onScriptComplete","doneFns","toStringTag","installedChunks","installedChunkData","errorType","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","chunkIds","moreModules","runtime","chunkLoadingGlobal","Accordion","super","accordionRef","createRef","active","currentFocus","isFocused","updateActiveIdx","setState","isAdmin","idx","wp","anchor","onClick","newActiveIdx","_g","outerLookAndFeelClass","Plus","accessibilityClasses","activeClasses","lookAndFeelClasses","onKeyDown","showIcon","ButtonType","classnames","DefaultIcon","AccordionBody","componentDidUpdate","componentDidMount","showBody","AccordionPanel","AccordionHeading","Carousel","Slide","LatestPostsCard","parentElement","outerHTML","reactComponent","targetNode","replaceWith","disconnect","childList","subtree","renderReplace","comp","replacer","propsString","emptyChildrenRemoved","Fallback","useEffect","Suspense","fallback","htmlToJSX","checkButtons","_btnLeft","_btnRight","_DIV","scrollLeft","scrollWidth","DIV","WRAPPER","buttonLeft","buttonRight","onclick","W","scrollBy","behavior","slideLeft","slideRight","buildArrowsForThisSlider","_PROPS","BTN","INDICATOR","PANEL","buildSimpleAccordions","toggleModal","resizeFn","mediaQuery","matchMedia","offsetHeight","mobileHeight","notifyHeight","slant","headerHeight","slantSvg","matches","setStickyOffset","stickyOffset","curr","setProperty","ui","shopifyGlobalOptions","containerId","associationId","APO","destini","loadWidget","isSingle","destiniApo","hasEvent","cmp","isDisabled","btn","newEl","innerText","buyNowButton","isDark","formatDistanceLocale","lessThanXSeconds","one","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","buildFormatLongFn","defaultWidth","formats","formatLong","date","full","long","medium","short","time","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","buildLocalizeFn","valuesArray","formattingValues","defaultFormattingWidth","argumentCallback","buildMatchFn","matchPattern","matchPatterns","defaultMatchWidth","matchResult","matchedString","parsePatterns","defaultParseWidth","array","findIndex","findKey","valueCallback","enUS","formatDistance","tokenValue","addSuffix","comparison","formatRelative","_date","_baseDate","_options","localize","ordinalNumber","dirtyNumber","Number","rem100","era","narrow","abbreviated","wide","quarter","month","day","dayPeriod","am","pm","midnight","noon","morning","afternoon","evening","night","parsePattern","parseResult","weekStartsOn","firstWeekContainsDate","defaultOptions","getDefaultOptions","pow","millisecondsInWeek","millisecondsInDay","argStr","NaN","startOfDay","setHours","getTimezoneOffsetInMilliseconds","utcDate","UTC","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","setUTCFullYear","differenceInCalendarDays","dateLeft","dateRight","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","round","constructFrom","startOfYear","cleanDate","setFullYear","getDayOfYear","startOfWeek","locale","getDay","diff","setDate","startOfISOWeek","getISOWeekYear","year","fourthOfJanuaryOfNextYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","startOfISOWeekYear","fourthOfJanuary","getISOWeek","getWeekYear","firstWeekOfNextYear","firstWeekOfThisYear","startOfWeekYear","firstWeek","getWeek","addLeadingZeros","targetLength","abs","padStart","lightFormatters","signedYear","M","dayPeriodEnumValue","h","H","numberOfDigits","milliseconds","trunc","dayPeriodEnum","formatters","G","unit","Y","signedWeekYear","weekYear","R","Q","q","L","w","week","I","isoWeek","D","dayOfYear","E","dayOfWeek","localDayOfWeek","isoDayOfWeek","hours","K","X","_localize","timezoneOffset","getTimezoneOffset","formatTimezoneWithOptionalMinutes","formatTimezone","formatTimezoneShort","delimiter","sign","absOffset","minutes","dateLongFormatter","timeLongFormatter","longFormatters","datePattern","timePattern","dateTimeFormat","dayOfYearTokenRE","weekYearTokenRE","throwTokens","isDate","isValid","formattingTokensRegExp","longFormattingTokensRegExp","escapedStringRegExp","doubleQuoteRegExp","unescapedLatinCharacterRegExp","formatStr","originalDate","firstCharacter","longFormatter","isToken","cleanEscapedString","preprocessor","formatterOptions","part","useAdditionalWeekYearTokens","isProtectedWeekYearToken","useAdditionalDayOfYearTokens","isProtectedDayOfYearToken","_message","subject","includes","warnOrThrowProtectedError","formatter","matched","tzIntlTimeZoneName","dtf","timeZone","Intl","DateTimeFormat","timeZoneName","getDTF","formatted","formatToParts","partsTimeZone","tzNameMatch","hackyTimeZone","tzTokenizeDate","dtfCache","testDateFormatted","hourCycle","hour","minute","hourCycleSupported","hour12","getDateTimeFormat","filled","typeToPos","partsOffset","parsed","hackyOffset","fullYear","millisecond","setUTCHours","MILLISECONDS_IN_HOUR","MILLISECONDS_IN_MINUTE","patterns","timezone","timezoneZ","timezoneHH","timezoneHHMM","timezoneString","isUtcDate","absoluteOffset","validateTimezone","timeZoneString","validIANATimezoneCache","isValidTimezoneIANAString","toUtcDate","calcOffset","fixedOffset","localTS","utcGuess","o2","o3","fixOffset","asUTC","asTS","over","getTimeZoneOffset","timeZoneOffset","DEFAULT_ADDITIONAL_DIGITS","dateTimePattern","plainTime","YY","YYY","YYYY","YYYYY","MM","DDD","MMDD","Www","WwwD","HH","HHMM","HHMMSS","additionalDigits","dateStrings","dateString","timeString","splitDateString","restDateString","patternYYY","patternYYYYY","yearString","centuryString","parseYear","validateDate","isLeapYear","isLeapYearIndex","validateDayOfYearDate","validateWeekDate","dayOfISOWeekYear","parseDate","timestamp","validateTime","seconds","parseTime","isoWeekYear","getUTCDay","setUTCDate","getUTCDate","DAYS_IN_MONTH","DAYS_IN_MONTH_LEAP_YEAR","tzFormattingTokensRegExp","formatInTimeZone","precededByQuotedSection","replaced","offsetMilliseconds","resultDate","getUTCFullYear","getUTCMonth","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","toZonedTime","$masthead","$main","$notify","duration","currentDate","addMastheadTop","each","$idx","$el","publishOn","unpublishOn","hasClass","$notifyClose","$notifyToggle","removeMastheadTop","bannerTexts","showBannerText","eq","checkbox","checkboxes","chbox","sidebar","sidebarTop","difference","scrollY","offsetTop","openmodal","closemodal","onkeydown"],"sourceRoot":""}