/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackChunkdtools"] = self["webpackChunkdtools"] || []).push([["chunk-vendors"],{

/***/ "./node_modules/@daelui/dogjs/dist/components.js":
/*!*******************************************************!*\
  !*** ./node_modules/@daelui/dogjs/dist/components.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("!function (e, t) {\n  if (true) module.exports = t(__webpack_require__(/*! html2canvas */ \"./node_modules/html2canvas/dist/html2canvas.js\"));else { var s, r; }\n}(self, e => (() => {\n  \"use strict\";\n\n  var t = {\n      889: (e, t, r) => {\n        r.d(t, {\n          L8: () => n,\n          YU: () => s,\n          ZP: () => i\n        });\n        class s extends Array {\n          constructor(e, t) {\n            let {\n              enumValueKey: r\n            } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n            super(e), this.shift(), e = Array.isArray(e) ? e : [], r = r || \"value\", e.forEach(e => {\n              let s = e,\n                i = e;\n              \"object\" == typeof s && (s = e.key, i = e[r] || e.key), \"function\" == typeof t && (i = t(s, i));\n              let n = String(s).toUpperCase();\n              this[n] = i, i && Object.prototype.hasOwnProperty.call(i, \"value\") && (this[n] = i[r]), this.push(e);\n            });\n          }\n        }\n        const i = s,\n          n = function n(e) {\n            let {\n              hasAll: t,\n              value: r,\n              text: i,\n              valueKey: n,\n              textKey: o,\n              transform: a,\n              enumValueKey: l\n            } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n            return e = Array.isArray(e) ? e : [], !1 !== t && (r = void 0 === r ? \"\" : r, i = void 0 === i ? \"全部\" : i, n = n || \"value\", o = o || \"text\", e.unshift({\n              key: \"ALL\",\n              [n]: r,\n              [o]: i\n            })), new s(e, a, {\n              enumValueKey: l\n            });\n          };\n      },\n      868: (e, t, r) => {\n        r.d(t, {\n          Z: () => s\n        });\n        const s = new (r(889).ZP)([\"EDIT\", \"ADD\", \"READONLY\", \"DISABLED\", \"ACTIVE\", \"RENDER\"]);\n      },\n      840: (e, t, r) => {\n        r.d(t, {\n          H: () => s,\n          Z: () => i\n        });\n        class s {\n          constructor() {\n            this._$events = {};\n          }\n          $on(e, t) {\n            if (\"function\" != typeof t) throw new TypeError('Second argument for \"on\" method must be a function.');\n            return (this._$events[e] = this._$events[e] || []).push(t), this;\n          }\n          $once(e, t) {\n            return t._one = !0, this.$on(e, t);\n          }\n          $only(e, t) {\n            return this._$events[e] = [], this.$on(e, t);\n          }\n          $emit(e, t) {\n            let r = this._$events;\n            if (!r[e] || !r[e].length) return this;\n            t = [].slice.call(arguments, 1);\n            let s = [];\n            return r[e].forEach(function (i, n) {\n              i && (s.push(i.apply(i, t)), i._one && r[e].splice(n, 1));\n            }), s;\n          }\n          $off(e, t) {\n            let r = this._$events;\n            if (\"*\" === e) return this._$events = {}, r;\n            if (!r[e]) return !1;\n            if (t) {\n              if (\"function\" != typeof t) throw new TypeError('Second argument for \"off\" method must be a function.');\n              r[e] = r[e].map(function (s, i) {\n                if (s === t) return r[e].splice(i, 1), !1;\n              });\n            } else delete r[e];\n          }\n        }\n        const i = s;\n      },\n      498: t => {\n        t.exports = e;\n      }\n    },\n    r = {};\n  function s(e) {\n    var i = r[e];\n    if (void 0 !== i) return i.exports;\n    var n = r[e] = {\n      exports: {}\n    };\n    return t[e](n, n.exports, s), n.exports;\n  }\n  s.n = e => {\n    var t = e && e.__esModule ? () => e.default : () => e;\n    return s.d(t, {\n      a: t\n    }), t;\n  }, s.d = (e, t) => {\n    for (var r in t) s.o(t, r) && !s.o(e, r) && Object.defineProperty(e, r, {\n      enumerable: !0,\n      get: t[r]\n    });\n  }, s.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t), s.r = e => {\n    \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n      value: \"Module\"\n    }), Object.defineProperty(e, \"__esModule\", {\n      value: !0\n    });\n  };\n  var i = {};\n  return (() => {\n    s.r(i), s.d(i, {\n      AjaxService: () => le,\n      ApiMonitor: () => U,\n      CACHE_TYPE: () => ce,\n      DBer: () => w,\n      DEnum: () => E.YU,\n      DS: () => De,\n      DataService: () => je,\n      Drager: () => j,\n      ErrorMonitor: () => K,\n      FetchService: () => Ae,\n      FormService: () => Le,\n      LoopTrigger: () => Fe,\n      OptionEnum: () => E.L8,\n      PAGER_CONSTANT: () => Z,\n      Pager: () => V,\n      PerformanceMonitor: () => X,\n      Piper: () => G,\n      Resolver: () => Ce,\n      STATUS: () => z.Z,\n      Server: () => fe,\n      Service: () => te,\n      Store: () => de,\n      StoreCookie: () => Ee,\n      StoreDB: () => we,\n      StoreLocal: () => Se,\n      StoreMan: () => Te,\n      StoreMemory: () => ue,\n      StoreSession: () => ye,\n      TimesTrigger: () => Me,\n      agenter: () => r,\n      ajaxService: () => he,\n      apiMonitor: () => _,\n      arrayer: () => t,\n      browser: () => u,\n      coder: () => y,\n      collider: () => m,\n      datar: () => S,\n      dater: () => v,\n      dber: () => b,\n      default: () => Be,\n      domer: () => x,\n      ds: () => Ne,\n      errorMonitor: () => $,\n      eventMode: () => L,\n      exceler: () => P,\n      fetchService: () => Oe,\n      filer: () => D,\n      formService: () => Pe,\n      funcer: () => N,\n      imager: () => R,\n      keycoder: () => M,\n      layer: () => F,\n      loger: () => q,\n      mode_mobile: () => A,\n      mode_pc: () => O,\n      noticer: () => B,\n      numer: () => Y,\n      objecter: () => e,\n      parser: () => ee,\n      performanceMonitor: () => J,\n      resolver: () => Ie,\n      server: () => ge,\n      storeCookie: () => xe,\n      storeDB: () => be,\n      storeLocal: () => ve,\n      storeMemory: () => pe,\n      storeSession: () => me,\n      strer: () => p,\n      timer: () => qe,\n      treer: () => Re,\n      urler: () => ae\n    });\n    const e = {\n        _types: {\n          \"[object Boolean]\": \"boolean\",\n          \"[object Number]\": \"number\",\n          \"[object String]\": \"string\",\n          \"[object Function]\": \"function\",\n          \"[object Array]\": \"array\",\n          \"[object Date]\": \"date\",\n          \"[object RegExp]\": \"regExp\",\n          \"[object Object]\": \"object\",\n          \"[object Null]\": \"null\",\n          \"[object Undefined]\": \"undefined\"\n        },\n        _type: e => Object.prototype.toString.call(e),\n        isString: e => \"string\" == typeof e,\n        isNumber: e => \"number\" == typeof e && isFinite(e),\n        isBoolean: e => \"boolean\" == typeof e,\n        isRegexp(e) {\n          return \"[object RegExp]\" === this._type(e);\n        },\n        isFunction(e) {\n          return \"[object Function]\" === this._type(e);\n        },\n        isArray(e) {\n          return \"[object Array]\" === this._type(e);\n        },\n        isObject: e => !!e && \"object\" == typeof e,\n        isRealObject(e) {\n          return !!e && (\"[object Object]\" === this._type(e) || \"[object Array]\" === this._type(e));\n        },\n        isPlainObject(e) {\n          return !!e && \"[object Object]\" === this._type(e);\n        },\n        isNull(e) {\n          return \"[object Null]\" === this._type(e);\n        },\n        isDate(e) {\n          return \"[object Date]\" === this._type(e);\n        },\n        isEmpty(e, t) {\n          return null == e || this.isArray(e) && !e.length || !t && \"\" === e;\n        },\n        IsNullOrEmpty(e) {\n          var t = !1;\n          return null == e || null == e || void 0 === e || \"\" == e ? t = !0 : \"string\" == typeof e ? \"\" == (e = e.trim()) ? t = !0 : \"NULL\" != (e = e.toUpperCase()) && \"UNDEFINED\" != e && \"{}\" != e || (t = !0) : t = !1, t;\n        },\n        isArguments: e => void 0 !== e.callee,\n        isIterable(e) {\n          return this.isArray(e) || this.isArguments(e);\n        },\n        isPrimitive(e) {\n          return this.isString(e) || this.isNumber(e) || this.isBoolean(e);\n        },\n        isWindow: e => e && \"object\" == typeof e && \"setInterval\" in e,\n        isDOM: e => (\"object\" == typeof HTMLElement ? function (e) {\n          return e instanceof HTMLElement;\n        } : function (e) {\n          return e && \"object\" == typeof e && 1 === e.nodeType && \"string\" == typeof e.nodeName;\n        })(e),\n        isElementNode: e => e && 1 === e.nodeType,\n        extend(e, t, r) {\n          var s,\n            i,\n            n,\n            o,\n            a,\n            l,\n            h = arguments[0] || {},\n            d = 1,\n            c = arguments.length,\n            u = !1;\n          for (\"boolean\" == typeof h && (u = h, h = arguments[1] || {}, d = 2), \"object\" == typeof h || this.isFunction(h) || (h = {}), c === d && (h = this, --d); d < c; d++) if (null !== (s = arguments[d]) && this.isObject(s) && !this.isDOM(s) && !this.isElementNode(s)) for (i in s) n = h[i], h !== (o = s[i]) && (u && o && (this.isPlainObject(o) || (a = this.isArray(o))) ? (a ? (a = !1, l = n && this.isArray(n) ? n : []) : l = n && this.isPlainObject(n) ? n : {}, h[i] = this.extend(u, l, o)) : void 0 !== o && (h[i] = o));\n          return h;\n        },\n        clone(e, t) {\n          var r;\n          switch (t = t || {}, typeof e) {\n            case \"undefined\":\n              break;\n            case \"string\":\n              r = e + \"\";\n              break;\n            case \"number\":\n              r = e - 0;\n              break;\n            case \"boolean\":\n            default:\n              r = e;\n              break;\n            case \"object\":\n              if (null === e) r = null;else if (e instanceof Array) {\n                r = [];\n                let n = Array.isArray(t.excludeType) && t.excludeType.indexOf(\"array\") > -1;\n                for (var s = 0, i = e.length; s < i; s++) {\n                  let i = e[s];\n                  n && Array.isArray(i) || t.callProperty && !1 === t.callProperty(i, s, e) || (i = this.clone(i, t), r.push(i));\n                }\n              } else {\n                r = {};\n                let i = Array.isArray(t.excludeType) && t.excludeType.indexOf(\"object\") > -1;\n                for (var n in e) {\n                  let o = e[n];\n                  i && this.isPlainObject(o) || t.callProperty && !1 === t.callProperty(o, s, e) || (o = this.clone(o, t), r[n] = o);\n                }\n              }\n          }\n          return r;\n        },\n        forEach(e, t) {\n          if (this.isArray(e)) for (var r = 0; r < e.length && !1 !== (n = t(e[r], r, e)); r++);else if (this.isString(e)) {\n            var s = 0;\n            for (var i in e) {\n              var n = t(e[i], s, e);\n              if (s += 1, !1 === n) break;\n            }\n          } else if (\"object\" == typeof e && null !== e) for (var o in e) if (e.hasOwnProperty(o) && !1 === (n = t(e[o], o, e))) break;\n        },\n        merge(e, t) {\n          for (var r in t = t || {}) void 0 !== t[r] && void 0 === e[r] && (e[r] = t[r]);\n          return e;\n        }\n      },\n      t = {\n        idKey: \"id\",\n        pidKey: \"pid\",\n        childrenKey: \"children\",\n        map(e, t, r) {\n          return (e = Array.isArray(e) ? e : []).map(e => (\"function\" == typeof t && (e = t(e)), r && \"string\" == typeof r && e[r] && (e[r] = this.map(e[r])), e));\n        },\n        moveTo: (e, t, r) => (t > r ? (e.splice(r, 0, e[t]), e.splice(t + 1, 1)) : (e.splice(r + 1, 0, e[t]), e.splice(t, 1)), e),\n        sort(e, t, r, s) {\n          let i = /desc/i.test(s) ? -1 : 1,\n            n = e > t,\n            o = e < t;\n          return null == t && null != e ? (n = !0, o = !1) : null == e && null != t ? (o = !0, n = !1) : null == e && void 0 === t && null === t ? (n = !1, o = !1) : r && (n = (e = parseFloat(e)) > (t = parseFloat(t)), o = e < t, isNaN(t) && !isNaN(e) ? (n = !0, o = !1) : isNaN(e) && !isNaN(t) ? (o = !0, n = !1) : isNaN(e) && isNaN(t) && (n = !1, o = !1)), n ? i : o ? 0 - i : 0;\n        },\n        group(e, t, r) {\n          const s = [];\n          return (e || []).forEach(e => {\n            const i = {};\n            t.forEach(t => {\n              i[t] = e[t];\n            });\n            let n = s.find(e => e._key === JSON.stringify(i));\n            n || (n = {\n              _key: JSON.stringify(i),\n              key: i\n            }, s.push(n)), r ? (n.data = r(n.data, e), n.total = n.total || 0, n.total++) : (n.data = n.data || [], n.data.push(e));\n          }), s;\n        }\n      },\n      r = {\n        bind(e, t, r) {\n          e.addEventListener(t, r, !1);\n        },\n        unBind(e, t, r) {\n          e.removeEventListener(t, r);\n        }\n      };\n    var n,\n      o,\n      a,\n      l,\n      h,\n      d = {\n        versions: (n = navigator.userAgent.toLowerCase(), navigator.appVersion, o = !1, a = !1, l = !1, h = !1, n.indexOf(\"\") && n.indexOf(\"android\") > -1 && -1 == n.indexOf(\"mobile\") && (a = !0), n.indexOf(\"ipad\") > -1 && (l = !0), a || l ? o = !0 : n.indexOf(\"mobile\") > -1 && !o || n.indexOf(\"android\") > -1 && !a || n.indexOf(\"phone\") > -1 || (h = !0), {\n          trident: n.indexOf(\"Trident\") > -1,\n          presto: n.indexOf(\"Presto\") > -1,\n          webKit: n.indexOf(\"AppleWebKit\") > -1,\n          gecko: n.indexOf(\"Gecko\") > -1 && -1 === n.indexOf(\"KHTML\"),\n          pc: h,\n          mobile: !!n.match(/(iPhone|iPad|iPod|ios|Android|Linux|AppleWebKit.*Mobile.*)/i),\n          android: n.indexOf(\"Android\") > -1 || n.indexOf(\"Linux\") > -1,\n          ios: !!n.match(/\\(i[^;]+;( U;)? CPU.+Mac OS X/),\n          iPhone: n.indexOf(\"iPhone\") > -1 || n.indexOf(\"Mac\") > -1,\n          iPad: n.indexOf(\"iPad\") > -1,\n          iPod: n.indexOf(\"iPod\") > -1,\n          pad: o,\n          webApp: -1 === n.indexOf(\"Safari\")\n        }),\n        language: (navigator.browserLanguage || navigator.language).toLowerCase(),\n        isWechat: function isWechat() {\n          return d.versions.mobile && \"micromessenger\" === c.match(/MicroMessenger/i);\n        },\n        isAndroidBrowser: function isAndroidBrowser() {\n          return d.versions.android && !d.versions.webApp;\n        },\n        isIOSBrowser: function isIOSBrowser() {\n          return d.versions.ios && !d.versions.webApp;\n        },\n        isAndroidApp: function isAndroidApp() {\n          return d.versions.android && d.versions.webApp;\n        },\n        isIOSApp: function isIOSApp() {\n          return d.versions.ios && d.versions.webApp;\n        },\n        isSupportES5: function isSupportES5() {\n          return !!Object.freeze;\n        },\n        isSupportES6: function isSupportES6() {\n          return !!Object.assign;\n        }\n      },\n      c = navigator.userAgent.toLowerCase();\n    const u = d,\n      p = {\n        pad(e, t, r, s) {\n          r = r || \"0\";\n          var i = (e = e.toString()).length < t ? new Array(t - e.length + 1).join(r) : \"\";\n          return \"left\" == s ? i + e : e + i;\n        },\n        padLeft(e, t, r) {\n          return this.pad(e, t, r, \"left\");\n        },\n        padRight(e, t, r) {\n          return this.pad(e, t, r, \"right\");\n        },\n        uuid(e) {\n          e = parseInt(e), isNaN(e) && (e = 6), e < 1 && (e = 1);\n          for (var t = [], r = 0; r < e; r++) t[r] = \"0123456789abcdef\".substr(Math.floor(16 * Math.random()), 1);\n          return t.join(\"\");\n        },\n        utid(e) {\n          e = (e = parseInt(e) || 12) < 12 ? 12 : e;\n          let t = new Date().getTime().toString(36);\n          for (; t.length < e;) t += Math.floor(36 * Math.random()).toString(36);\n          return t;\n        },\n        urid(e, t, r) {\n          e = parseInt(e), isNaN(e) && (e = 6), e < 1 && (e = 1);\n          var s = [],\n            i = \"0123456789abcdefghijklmnopqrstuvwxyz\";\n          !0 === t ? i = i.slice(10) : !0 === r && (i = i.slice(0, 10));\n          for (var n = 0; n < e; n++) {\n            let e = Math.floor(Math.random() * i.length);\n            s[n] = i.substr(e, 1);\n          }\n          return s.join(\"\");\n        },\n        copy(e) {\n          var t = document.createElement(\"textarea\");\n          t.value = e, t.setAttribute(\"readonly\", \"\"), t.style.position = \"absolute\", t.style.left = \"-9999px\", document.body.appendChild(t), t.select(), document.execCommand(\"copy\"), document.body.removeChild(t);\n        },\n        strToHexCharCode(e) {\n          if (\"\" === e || null == e) return \"\";\n          var t = [];\n          t.push(\"0x\");\n          for (var r = 0; r < e.length; r++) t.push(e.charCodeAt(r).toString(16));\n          return t.join(\"\");\n        },\n        hexCharCodeToStr(e) {\n          var t,\n            r = (e = String(e)).trim(),\n            s = \"0x\" === r.substr(0, 2).toLowerCase() ? r.substr(2) : r,\n            i = s.length;\n          if (i % 2 != 0) return \"\";\n          for (var n = [], o = 0; o < i; o += 2) t = parseInt(s.substr(o, 2), 16), n.push(String.fromCharCode(t));\n          return n.join(\"\");\n        }\n      },\n      f = {\n        compile(e, t, r) {\n          return this.compileModule(this.transform(e, t, r));\n        },\n        compileModule(e) {\n          let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          const r = {},\n            s = {\n              exports: r\n            },\n            i = Object.keys(t),\n            n = [\"module\", \"exports\", ...i],\n            o = [s, r, ...i.map(e => t[e])];\n          return new Function(n.join(), e).apply(r, o), s.exports;\n        },\n        transform(e, t, r) {\n          return this.Babel = t || window.Babel, this.babelOptions = r || window.babelOptions || {\n            presets: [\"es2015\"],\n            plugins: [\"transform-object-rest-spread\"],\n            comments: !1\n          }, this.Babel.transform(e, this.babelOptions || {\n            babelrc: !1,\n            configFile: !1,\n            ast: !1,\n            highlightCode: !1,\n            presets: [\"es2015\"]\n          }).code;\n        },\n        transformModule(e, t, r) {\n          return \"(function (global, factory) {\\n  return typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\\n  typeof define === 'function' && define.amd ? define(['exports'], factory) :\\n  (global = global || self, factory(global));\\n}(this, function (exports) {\\n  \".concat(this.transform(e, t, r), \"\\n  return exports.default\\n}))\");\n        },\n        transformModuleUMD(e, t, r) {\n          return r = r || {\n            presets: [\"es2015\"],\n            plugins: [\"transform-es2015-modules-umd\"],\n            comments: !1\n          }, this.transform(e, t, r);\n        },\n        transformFunction(e, t, r) {\n          return \"(function () {\\n  var exports = {}\\n  \".concat(this.transform(e, t, r), \"\\n  return exports.default\\n})()\");\n        },\n        resolve(e, t) {\n          let r = this.transformModuleUMD(e);\n          return r = window.btoa(window.unescape(window.encodeURIComponent(r))), r = \"data:text/javascript;base64,\" + r, t.import(r).then(e => e);\n        }\n      },\n      g = {\n        getSource(e, t) {\n          e = String(null == e ? \"\" : e), t = t || \"script\";\n          const r = new RegExp(\"<\".concat(t, \"[^>]*>\"));\n          let s = e.match(r);\n          if (s) {\n            let r = e.indexOf(s[0]) + s[0].length,\n              i = e.lastIndexOf(\"</\".concat(t));\n            return e.slice(r, i);\n          }\n          return \"\";\n        },\n        parseTemplate(e) {\n          let t = this.getSource(e, \"template\"),\n            r = this.getSource(e, \"script\"),\n            s = this.getSource(e, \"style\");\n          r = r || \"export default {}\", r += \";export const cpid = '\".concat(p.utid(), \"'\");\n          try {\n            r = f.transformModuleUMD(r);\n          } catch (e) {\n            console.log(e), r = \"{}\";\n          }\n          let i = {};\n          return i.template = t || \"<div></div>\", i.style = s || \"\", i.script = r, i;\n        },\n        resolve(e, t, r) {\n          let s = this.parseTemplate(e),\n            i = s.script;\n          return i = window.btoa(window.unescape(window.encodeURIComponent(i))), i = \"data:text/javascript;base64,\" + i, r.import(i).then(e => {\n            let r = (e = e || {}).default || {};\n            if (r.template = s.template, r = t.component(\"component-compile-\".concat(p.utid()), r), s.style) {\n              let t = window.document,\n                r = t.querySelector(\"#\" + e.cpid);\n              r || (r = t.createElement(\"style\"), e.cpid && (r.id = e.cpid)), r.setAttribute(\"type\", \"text/css\"), r.textContent = s.style;\n              let i = t.body || t.documentElement || document.documentElement;\n              i && i.appendChild(r);\n            }\n            return r;\n          });\n        }\n      };\n    f.vue = g;\n    const y = f,\n      m = {\n        getCollide(e, t, r) {\n          t = Array.isArray(t) ? t : [];\n          let s = -1,\n            i = [],\n            n = [],\n            o = !1,\n            a = !1,\n            l = [],\n            h = [],\n            d = [],\n            c = [],\n            u = null,\n            p = null,\n            f = null,\n            g = null;\n          for (let l = 0; l < t.length; l++) {\n            if (r === l) continue;\n            let h = t[l],\n              d = !1,\n              c = !1;\n            if (h.left <= e.left && h.left + h.width >= e.left) {\n              i.push(l), d = !0;\n              let t = h.left + h.width / 2;\n              e.left <= t && (o = !0);\n            } else if (e.left < h.left) {\n              let t = Math.abs(e.left - h.left);\n              (u > t || null === u) && (u = t);\n            } else if (e.left > h.left + h.width) {\n              let t = e.left - h.left;\n              (p < t || null === p) && (p = t);\n            }\n            if (h.top <= e.top && h.top + h.height >= e.top) {\n              n.push(l), c = !0;\n              let t = h.top + h.height / 2;\n              e.top <= t && (a = !0);\n            } else if (e.top < h.top) {\n              let t = Math.abs(e.top - h.top);\n              (f > t || null === f) && (f = t);\n            } else if (e.top > h.top + h.height) {\n              let t = e.top - h.top;\n              (g < t || null === g) && (g = t);\n            }\n            d && c && (s = l);\n          }\n          for (let s = 0; s < t.length; s++) {\n            if (r === s) continue;\n            let i = t[s];\n            e.left < i.left ? u === Math.abs(e.left - i.left) && null !== u && l.push(s) : e.left > i.left + i.width && p === e.left - i.left && null !== p && h.push(s), e.top < i.top ? f === Math.abs(e.top - i.top) && null !== f && d.push(s) : e.top > i.top + i.height && g === e.top - i.top && null !== g && c.push(s);\n          }\n          return {\n            inXY: s,\n            inXList: i,\n            inYList: n,\n            beforeXList: l,\n            afterXList: h,\n            beforeYList: d,\n            afterYList: c,\n            inXBefreHalf: o,\n            inYBefreHalf: a,\n            currentIndex: r\n          };\n        },\n        sortList(e, t) {\n          let r = -1;\n          if ((t = t || {}).inXY >= 0) r = t.inXY + 1;else if (t.inXList.length > 0) {\n            let s = t.inXList;\n            if (t.beforeYList.length > 0) {\n              let e = t.beforeYList;\n              s.forEach(t => {\n                e.forEach(e => {\n                  t === e && (r = t + 1);\n                });\n              });\n            }\n            -1 === r && (r = e.length - 1);\n          } else if (t.inYList.length > 0) {\n            let s = t.inYList;\n            if (t.beforeXList.length > 0) {\n              let e = t.beforeXList;\n              s.forEach(t => {\n                e.forEach(e => {\n                  t === e && (r = t);\n                });\n              });\n            }\n            -1 === r && (r = e.length - 1);\n          } else t.beforeXList.length > 0 && t.beforeYList.length > 0 ? r = 0 : t.afterXList.length > 0 && t.afterYList.length > 0 && (r = e.length - 1);\n          return t.currentIndex !== r && this.moveTo(e, t.currentIndex, r), e;\n        }\n      },\n      S = {\n        getByKey(e, t) {\n          let r = e;\n          if (\"function\" == typeof t && (t = t(e)), \"string\" == typeof t && e) {\n            let s = e,\n              i = t.split(\".\");\n            for (let t = 0; t < i.length && (s = e[i[t]], null != s); t++) t + 1 === i.length && (r = s);\n          }\n          return r;\n        },\n        removeKeys(e, t) {\n          return t && (t = Array.isArray(t) ? t : [t]).forEach(t => {\n            if (null == t) return !0;\n            Array.isArray(e) ? e.forEach(e => {\n              this.removeKeys(e, t);\n            }) : e && \"object\" == typeof e && this.removeKey(params, t);\n          }), e;\n        },\n        removeKey(e, t) {\n          for (let r in e) Object.prototype.hasOwnProperty.call(e, t) && delete item[t];\n        }\n      },\n      v = {\n        format(e, t, r) {\n          if (t = t || \"yyyy-MM-dd HH:mm:ss\", /\\d+-\\d+/.test(e)) {\n            let t = new Date(e);\n            \"Invalid Date\" === t.toString() || /null/i.test(t.toString()) ? (t = new Date(String(e).replace(/-/g, \"/\")), \"Invalid Date\" === t.toString() || /null/i.test(t.toString()) || (e = t)) : e = t;\n          }\n          if (!(e instanceof Date) && /^\\d+$/.test(e)) if (e = parseInt(e, 10), isNaN(e)) {\n            if (!0 !== r) return \"\";\n            e = new Date();\n          } else e = new Date(e);\n          if (!e || !e.getFullYear) {\n            if (!0 !== r) return \"\";\n            e = new Date();\n          }\n          let s = e.getFullYear(),\n            i = e.getMonth() + 1,\n            n = e.getDate(),\n            o = e.getDay(),\n            a = e.getHours(),\n            l = e.getMinutes(),\n            h = e.getSeconds();\n          return d(/yyyy/g, c(s, 4)), d(/yy/g, c(s.toString().slice(2), 2)), d(/MM/g, c(i, 2)), d(/M/g, i), d(/dd/g, c(n, 2)), d(/d/g, n), d(/HH/g, c(a, 2)), d(/H/g, a), d(/hh/g, c(a % 12, 2)), d(/h/g, a % 12), d(/mm/g, c(l, 2)), d(/m/g, l), d(/ss/g, c(h, 2)), d(/s/g, h), d(/W/g, [\"星期天\", \"星期一\", \"星期二\", \"星期三\", \"星期四\", \"星期五\", \"星期六\"][o]), d(/w/g, [\"Sunday\", \"Monday\", \"Tuesday\", \"Wedesday\", \"Thursday\", \"Friday\", \"Saturday\"][o]), t;\n          function d(e, r) {\n            t = t.replace(e, r);\n          }\n          function c(e, t) {\n            return (e < 0 ? \"-\" : \"\") + p.padLeft(e, t, \"0\");\n          }\n        },\n        formatDiff(e) {\n          if (!e) return \"\";\n          var t = new Date(e),\n            r = new Date().getTime() - t.getTime();\n          return r < 0 ? \"\" : r / 1e3 < 30 ? \"刚刚\" : r / 1e3 < 60 ? parseInt(r / 1e3) + \"秒前\" : r / 6e4 < 60 ? parseInt(r / 6e4) + \"分钟前\" : r / 36e5 < 24 ? parseInt(r / 36e5) + \"小时前\" : r / 864e5 < 31 ? parseInt(r / 864e5) + \"天前\" : r / 2592e6 < 12 ? parseInt(r / 2592e6) + \"月前\" : parseInt(r / 31536e6) + \"年前\";\n        },\n        simpleFormat(e) {\n          var t = new Date(e);\n          return \"Invalid Date\" === String(t) ? \"\" : [t.getFullYear(), \"-\", t.getMonth() + 1, \"-\", t.getDate(), \" \", t.getHours(), \":\", t.getMinutes(), \":\", t.getSeconds()].map(e => /^\\d{1}$/.test(e) ? (\"0\" + e).slice(-2) : e).join(\"\");\n        }\n      };\n    class w {\n      constructor(e) {\n        this.init(e);\n      }\n      init(e) {\n        return this.initer = new Promise((t, r) => {\n          this.dbName = e.dbName, this.dbVersion = e.dbVersion, this.dbStoreName = e.dbStoreName, window.indexedDB || r();\n          var s = indexedDB.open(this.dbName, this.dbVersion);\n          s.onsuccess = e => {\n            this.db = e.target.result, t();\n          }, s.onerror = function (e) {\n            r();\n          }, s.onupgradeneeded = e => {\n            this.db = e.target.result, this.db.createObjectStore(this.dbStoreName, {\n              autoIncrement: !0\n            }), t();\n          };\n        }), this.initer;\n      }\n      getStore(e, t) {\n        return new Promise((r, s) => {\n          this.initer.then(() => {\n            try {\n              var i = this.db.transaction(e, t);\n              r(i.objectStore(e));\n            } catch (e) {\n              s(e);\n            }\n          });\n        });\n      }\n      put(e, t) {\n        return new Promise((r, s) => {\n          this.getStore(this.dbStoreName, \"readwrite\").then(i => {\n            var n = i.put(e, t);\n            n.onsuccess = function () {\n              r(i, n, t ? \"Insert\" : \"Update\");\n            }, n.onerror = function (e) {\n              s(e);\n            };\n          });\n        });\n      }\n      delete(e) {\n        return new Promise((t, r) => {\n          this.getStore(this.dbStoreName, \"readwrite\").then(s => {\n            var i = s.delete(e);\n            i.onsuccess = function () {\n              t();\n            }, i.onerror = function (e) {\n              r(e);\n            };\n          });\n        });\n      }\n      select(e) {\n        return new Promise((t, r) => {\n          this.getStore(this.dbStoreName, \"readwrite\").then(s => {\n            if (e) var i = s.get(e);else i = s.getAll();\n            i.onsuccess = function () {\n              t(i.result);\n            }, i.onerror = function (e) {\n              r(e);\n            };\n          });\n        });\n      }\n      clear() {\n        return new Promise((e, t) => {\n          this.getStore(this.dbStoreName, \"readwrite\").then(r => {\n            var s = r.clear();\n            s.onsuccess = function () {\n              e();\n            }, s.onerror = function (e) {\n              t(e);\n            };\n          });\n        });\n      }\n      setItem(e, t) {\n        return this.put(t, e);\n      }\n      getItem(e) {\n        return this.select(e);\n      }\n    }\n    const b = new w({\n      dbName: \"dog-cache\",\n      dbVersion: 1,\n      dbStoreName: \"dog-store\"\n    });\n    var E = s(889);\n    const x = {\n      getDoc: () => window.document,\n      getDocHead() {\n        return (this.getDoc() || {}).head || this.getDocBody();\n      },\n      getDocBody() {\n        let e = this.getDoc() || {};\n        return e.body || e.documentElement || document.documentElement;\n      },\n      appendElement(e, t, r, s) {\n        return new Promise((i, n) => {\n          try {\n            let n = document.createElement(e);\n            n.onload = function () {\n              i(this, e, t, r);\n            };\n            for (let e in t) /innerHTML/i.test(e) ? n[e] = t[e] : n.setAttribute(e, t[e]);\n            r = r || this.getDocBody(), /link|style/i.test(e) && (r = this.getDocHead()), s && (n.innerHTML = s), r.appendChild(n);\n          } catch (e) {\n            n(e);\n          }\n        });\n      },\n      getMaxZIndex() {\n        let e = Array.from(document.querySelectorAll(\"body *\")).map(e => {\n          let t = e.currentStyle || window.getComputedStyle(e);\n          return \"static\" !== t.position && parseInt(t.zIndex) || 0;\n        });\n        return Math.max.apply(null, e);\n      }\n    };\n    var T = s(840);\n    class j extends T.Z {\n      constructor(e) {\n        super(), e = e || {}, this.options = Object.assign({}, j.options, e), this.dragEl = e.el, this.targetEl = e.targetEl || this.dragEl, j.initDrager(), j.add(this), this.initDrager();\n      }\n      initDrager() {\n        let e = this.getDragEl();\n        if (!e || !e.addEventListener) return !1;\n        e.addEventListener(\"mousedown\", e => {\n          this.handleDragStart(e);\n        });\n      }\n      handleDragStart(e, t, r) {\n        if (t && (this.dragEl = t), r && (this.targetEl = r), 2 === e.button) return !1;\n        try {\n          window.event ? t.setCapture() : window.captureEvents && window.captureEvents(Event.MOUSEMOVE | Event.MOUSEUP | Event.STARTSELECT);\n        } catch (e) {}\n        return this.oldMousePos = this.getMousePosition(e), this.oldDragerStyle = this.getDragerStyle(e), this.oldTargetStyle = this.getTargetStyle(e), !1 === this.$emit(\"onDragStart\", {\n          oldMousePos: this.oldMousePos,\n          oldDragerStyle: this.oldDragerStyle,\n          oldTargetStyle: this.oldTargetStyle,\n          e,\n          drager: this\n        })[0] || (this.dragStatus = !0, this.buildSimulation(e)), !1;\n      }\n      handleDragMove(e, t) {\n        if (!this.dragStatus) return !1;\n        let r = this.getMovedStyle(e, this.oldMousePos, this.oldDragerStyle, t),\n          s = this.getMovedStyle(e, this.oldMousePos, this.oldTargetStyle, t);\n        this.syncSimulationStyle(s, t);\n        let i = this.getElStyle(this.simulationEl),\n          n = this.$emit(\"onDragMove\", {\n            newDragerStyle: r,\n            newTargetStyle: s,\n            simulationStyle: i,\n            newMousePos: e,\n            oldMousePos: this.oldMousePos,\n            oldDragerStyle: this.oldDragerStyle,\n            oldTargetStyle: this.oldTargetStyle,\n            e: t,\n            drager: this\n          });\n        if (!1 === this.options.isSyncStyle) return !1;\n        !1 !== n[0] && this.setTargetStyle(s);\n      }\n      handleDragEnd(e, t) {\n        if (!this.dragStatus) return !1;\n        this.dragStatus = !1;\n        let r = this.getMovedStyle(e, this.oldMousePos, this.oldDragerStyle, this.oldTargetStyle, t),\n          s = this.getMovedStyle(e, this.oldMousePos, this.oldTargetStyle, t),\n          i = this.getElStyle(this.simulationEl),\n          n = this.$emit(\"onDragEnd\", {\n            newDragerStyle: r,\n            newTargetStyle: s,\n            simulationStyle: i,\n            newMousePos: e,\n            oldMousePos: this.oldMousePos,\n            oldDragerStyle: this.oldDragerStyle,\n            oldTargetStyle: this.oldTargetStyle,\n            e: t,\n            drager: this\n          });\n        if (this.removeSimulation(), !1 === this.options.isSyncStyle) return !1;\n        !1 !== n[0] && this.setTargetStyle(s);\n      }\n      getMousePosition(e) {\n        return j.getMousePosition(e);\n      }\n      getDragerStyle(e) {\n        var t = this.getDragEl();\n        return this.getElStyle(t);\n      }\n      getTargetStyle() {\n        var e = this.getTargetEl();\n        return this.getElStyle(e);\n      }\n      getElStyle(e) {\n        if (e) {\n          let t = e.getBoundingClientRect(),\n            r = window.getComputedStyle(e);\n          return {\n            left: parseFloat(r.left || 0) || 0,\n            top: parseFloat(r.top || 0) || 0,\n            width: t.width,\n            height: t.height,\n            rect: t,\n            style: r\n          };\n        }\n        return {\n          left: 0,\n          top: 0,\n          width: 0,\n          height: 0,\n          rect: {\n            left: 0,\n            top: 0\n          },\n          style: {\n            left: 0,\n            top: 0\n          }\n        };\n      }\n      getMovedStyle(e, t, r, s) {\n        var i,\n          n = e.x - t.x,\n          o = e.y - t.y,\n          a = this.getTargetStyle(),\n          l = a.width,\n          h = a.height,\n          d = r.top + o,\n          c = r.left + n;\n        return this.options.isRangeLimit && (d = d > (i = this.getRange()).height - h ? i.height - h : d, (c = c > i.width - l ? i.width - l : c) < 0 && (c = 0), d < 0 && (d = 0)), {\n          top: d,\n          left: c,\n          disX: n,\n          disY: o,\n          e: s\n        };\n      }\n      getRange() {\n        var e = window.innerWidth,\n          t = window.innerHeight;\n        return \"number\" != typeof e && (e = document.documentElement.clientWidth, t = document.documentElement.clientHeight), {\n          width: e,\n          height: t\n        };\n      }\n      setTargetStyle(e) {\n        let t = this.getTargetEl();\n        t.style.left = e.left + \"px\", t.style.top = e.top + \"px\";\n      }\n      getDragEl() {\n        return this.dragEl;\n      }\n      getTargetEl() {\n        return this.targetEl || this.dragEl;\n      }\n      getMovedEl() {\n        let e = this.targetEl || this.dragEl;\n        return this.options.isSimulation && (e = this.simulationEl || e), e;\n      }\n      buildSimulation() {\n        if (!this.options.isSimulation) return !1;\n        this.removeSimulation();\n        let e = this.oldTargetStyle,\n          t = document.createElement(\"div\");\n        t.style.position = \"fixed\", t.style.border = \"1px dotted #999999\", t.style.background = \"rgba(0, 0, 0, 0.5)\", t.style.width = e.width + \"px\", t.style.height = e.height + \"px\", t.style.left = e.rect.left + \"px\", t.style.top = e.rect.top + \"px\", t.style.zIndex = this.options.simulationZIndex || 11, t.style.cursor = \"move\", document.body.appendChild(t), this.simulationEl = t;\n      }\n      syncSimulationStyle(e) {\n        if (!this.options.isSimulation || !this.simulationEl) return !1;\n        let t = this.simulationEl,\n          r = this.oldTargetStyle;\n        t.style.left = r.rect.left + (e.newPos.x - e.oldPos.x) + \"px\", t.style.top = r.rect.top + (e.newPos.y - e.oldPos.y) + \"px\";\n      }\n      removeSimulation() {\n        this.simulationEl && this.simulationEl.remove && this.simulationEl.remove();\n      }\n      releaseCapture() {\n        let e = this.getDragEl();\n        e && e.releaseCapture();\n      }\n      destructor() {\n        j.remove(this);\n      }\n    }\n    j.options = {\n      isSimulation: !0,\n      simulationZIndex: 9999,\n      isSyncStyle: !0,\n      isRangeLimit: !1\n    }, j.initDrager = function () {\n      if (this._isInitDrager) return !1;\n      this._isInitDrager = !0;\n      const e = document;\n      e.addEventListener(\"mousemove\", e => {\n        this._dragerInstances.forEach(t => {\n          t instanceof j && t.handleDragMove(this.getMousePosition(e), e);\n        });\n      }, !1), e.addEventListener(\"mouseup\", e => {\n        this._dragerInstances.forEach(t => {\n          t instanceof j && t.handleDragEnd(this.getMousePosition(e), e);\n        });\n        try {\n          window.event ? this._dragerInstances.forEach(e => {\n            e instanceof j && e.releaseCapture();\n          }) : window.releaseEvents && window.releaseEvents(Event.MOUSEMOVE | Event.MOUSEUP | Event.STARTSELECT);\n        } catch (e) {}\n      }, !1), this._dragerInstances = [];\n    }, j.getMousePosition = function (e) {\n      var t = 0,\n        r = 0,\n        s = document;\n      return e || (e = window.event), e.pageX || e.pageY ? (t = e.pageX, r = e.pageY) : (e.clientX || e.clientY) && (t = e.clientX + s.body.scrollLeft + s.documentElement.scrollLeft, r = e.clientY + s.body.scrollTop + s.documentElement.scrollTop), {\n        x: t,\n        y: r\n      };\n    }, j.add = function (e) {\n      this._dragerInstances.find(t => t === e) || this._dragerInstances.push(e);\n    }, j.remove = function (e) {\n      this._dragerInstances = this._dragerInstances.filter(function (t) {\n        return t !== e;\n      });\n    };\n    const A = {\n        down: \"touchstart\",\n        move: \"touchmove\",\n        up: \"touchend\",\n        click: \"touchend\",\n        over: \"touchstart\",\n        out: \"touchend\",\n        cancel: \"touchcancel\"\n      },\n      O = {\n        down: \"mousedown\",\n        move: \"mousemove\",\n        up: \"mouseup\",\n        click: \"click\",\n        over: \"mouseover\",\n        out: \"mouseout\",\n        cancel: \"mouseout\"\n      },\n      L = u.versions.mobile ? A : O,\n      P = {\n        bindParseClipboard() {\n          document.addEventListener(\"paste\", e => {\n            const t = e.clipboardData.getData(\"text/html\"),\n              r = new DOMParser().parseFromString(t, \"text/html\"),\n              s = Array.from(r.querySelectorAll(\"table tr\"));\n            let i = [];\n            return s.forEach(function (e) {\n              let t = [];\n              Arrat.from(e.querySelectorAll(\"td\")).forEach(function (e) {\n                t.push(e.innerText);\n              }), i.push(t);\n            }), i;\n          });\n        }\n      },\n      D = {\n        downloadFile(e, t) {\n          var r = new Blob([t]);\n          this.downloadByHref(URL.createObjectURL(r), e), URL.revokeObjectURL(r);\n        },\n        downloadByHref(e, t) {\n          var r = document.createElement(\"a\");\n          r.download = t, r.href = e, document.body.appendChild(r), r.click(), document.body.removeChild(r);\n        },\n        readFileText: e => new Promise(function (t, r) {\n          e instanceof File || r(new Error(\"Not a File\"));\n          let s = new FileReader();\n          s.onload = function () {\n            t(this.result);\n          };\n          try {\n            s.readAsText(e);\n          } catch (e) {\n            r(e);\n          }\n        }),\n        readFileImage(e) {\n          return this.readImageBase64(e).then(e => {\n            let t = new Image();\n            return t.src = e, t;\n          });\n        },\n        readImageBase64: e => new Promise(function (t, r) {\n          let s = new FileReader();\n          s.onload = function () {\n            t(this.result);\n          };\n          try {\n            s.readAsDataURL(e);\n          } catch (e) {\n            r(e);\n          }\n        }),\n        downloadFileByUrl(e, t) {\n          let r = document.createElement(\"a\"),\n            s = document.createEvent(\"MouseEvents\");\n          r.setAttribute(\"href\", t), r.setAttribute(\"download\", \"codeImg\"), r.setAttribute(\"target\", \"_blank\"), s.initEvent(\"click\", !0, !0), r.dispatchEvent(s);\n        },\n        dataURLtoBlob(e) {\n          for (var t = e.split(\",\"), r = t[0].match(/:(.*?);/)[1], s = atob(t[1]), i = s.length, n = new Uint8Array(i); i--;) n[i] = s.charCodeAt(i);\n          return new Blob([n], {\n            type: r\n          });\n        },\n        getImgBlobByCanvas(e) {\n          let t = document.body.appendChild(e);\n          return t.style.display = \"none\", document.body.removeChild(t), this.dataURLtoBlob(t.toDataURL(\"image/png\"));\n        },\n        downloadCanvas(e) {\n          let t = this.getImgBlobByCanvas(e);\n          this.downloadByHref(URL.createObjectURL(t), Date.now() + \".png\"), URL.revokeObjectURL(t);\n        },\n        downloadImage(e, t, r) {\n          e = e || new Date().getTime(), r = String(r).toLowerCase(), r = (r = /^(png|jpeg|bmp|gif)$/.test(r) ? r : \"png\").replace(/jpg/i, \"jpeg\"), t = t.replace(\"image/\" + r, \"image/octet-stream\");\n          var s = document.createElementNS(\"http://www.w3.org/1999/xhtml\", \"a\");\n          s.href = t, s.download = e;\n          var i = document.createEvent(\"MouseEvents\");\n          i.initMouseEvent(\"click\", !0, !1, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), s.dispatchEvent(i);\n        },\n        resolveBookMarks(e) {\n          let t = (e = \"string\" == typeof e ? e : \"\").split(\"\\n\");\n          t = t.filter(e => /\\s*(dl|dt)/i.test(e)), t = t.map(e => (e = (e = (e = (e = (e = e.replace(/\\s*<DL><p>\\s*/i, \"[\")).replace(/.*<h3.+>(.+)<\\/h3>.*/i, '{ \"name\": \"$1\", \"children\": ')).replace(/.*<a href=\"(.+)\".+ADD_DATE.+>(.+)<\\/a>.*/i, '{ \"name\": \"$2\", \"href\": \"$1\" }')).replace(/\\s+<\\/DL><p>\\s*/i, \"] }\")).replace(/<\\/DL><p>\\s*/i, \"]\")).replace(/\\r+$/i, \"\"));\n          let r = t.join(\"\");\n          r = r.replace(/\\s+}{\\s+/g, \"},{\");\n          let s = [];\n          try {\n            s = JSON.parse(r);\n          } catch (e) {\n            s = [];\n          }\n          return s;\n        }\n      },\n      N = {\n        toPromise: e => (\"function\" == typeof e && (e = e()), Promise.resolve(e)),\n        loop(e, t) {\n          e = isNaN(e) ? 0 : e;\n          let r = typeof t,\n            s = \"string\" === r ? \"\" : [];\n          for (let i = 0; i < e; i++) \"function\" === r ? s.push(t(i)) : \"string\" === r && (s += t);\n          return s;\n        }\n      };\n    var C = s(498),\n      I = s.n(C);\n    const R = {\n        convertToCanvas(e) {\n          let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          const r = window.devicePixelRatio,\n            s = e.offsetWidth,\n            i = e.offsetHeight;\n          let {\n            width: n,\n            height: o\n          } = t;\n          n = n || s, o = o || i;\n          const a = Object.assign({\n            scale: r,\n            width: n,\n            height: o,\n            useCORS: !0,\n            allowTaint: !1\n          }, t || {});\n          return I()(e, a);\n        },\n        download(e) {\n          let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          return this.convertToCanvas(e, t).then(function (e) {\n            let t = document.body.appendChild(e);\n            t.style.display = \"none\", document.body.removeChild(t);\n            let r = D.dataURLtoBlob(t.toDataURL(\"image/png\")),\n              s = document.createElement(\"a\");\n            s.setAttribute(\"href\", URL.createObjectURL(r)), s.setAttribute(\"download\", Date.now() + \".png\"), document.body.appendChild(s), s.click(), URL.revokeObjectURL(r), document.body.removeChild(s);\n          });\n        }\n      },\n      M = {\n        BackSpace: 8,\n        Tab: 9,\n        Clear: 12,\n        Enter: 13,\n        Shift: 16,\n        Control: 17,\n        Alt: 18,\n        Pause: 19,\n        CapsLock: 20,\n        Escape: 27,\n        Space: 32,\n        PageUp: 33,\n        PageDown: 34,\n        End: 35,\n        Home: 36,\n        ArrowLeft: 37,\n        ArrowUp: 38,\n        ArrowRight: 39,\n        ArrowDown: 40,\n        Select: 41,\n        Print: 42,\n        Execute: 43,\n        Insert: 45,\n        Delete: 46,\n        Help: 47,\n        0: 48,\n        \")\": 48,\n        1: 49,\n        \"!\": 49,\n        2: 50,\n        \"@\": 50,\n        3: 51,\n        \"#\": 51,\n        4: 52,\n        $: 52,\n        5: 53,\n        \"%\": 53,\n        6: 54,\n        \"^\": 54,\n        7: 55,\n        \"&\": 55,\n        8: 56,\n        \"*\": 56,\n        9: 57,\n        \"(\": 57,\n        A: 65,\n        a: 65,\n        B: 66,\n        b: 66,\n        C: 67,\n        c: 67,\n        D: 68,\n        d: 68,\n        E: 69,\n        e: 69,\n        F: 70,\n        f: 70,\n        G: 71,\n        g: 71,\n        H: 72,\n        h: 72,\n        I: 73,\n        i: 73,\n        J: 74,\n        j: 74,\n        K: 75,\n        k: 75,\n        L: 76,\n        l: 76,\n        M: 77,\n        m: 77,\n        N: 78,\n        n: 78,\n        O: 79,\n        o: 79,\n        P: 80,\n        p: 80,\n        Q: 81,\n        q: 81,\n        R: 82,\n        r: 82,\n        S: 83,\n        s: 83,\n        T: 84,\n        t: 84,\n        U: 85,\n        u: 85,\n        V: 86,\n        v: 86,\n        W: 87,\n        w: 87,\n        X: 88,\n        x: 88,\n        Y: 89,\n        y: 89,\n        Z: 90,\n        z: 90\n      },\n      F = {\n        zIndex: 20,\n        getIncreaseZIndex() {\n          let e = this.zIndex;\n          return this.increase(), e;\n        },\n        getZIndex() {\n          let e = this.zIndex;\n          return this.increase(), e;\n        },\n        increase() {\n          return this.zIndex += 3, this.zIndex;\n        },\n        setZIndex(e) {\n          return e = parseInt(e), isNaN(e) || (this.zIndex = e), this;\n        }\n      },\n      q = {\n        log() {\n          console.log.apply(console, arguments);\n        },\n        info() {\n          console.info.apply(console, arguments);\n        },\n        warn() {\n          console.warn.apply(console, arguments);\n        },\n        error() {\n          console.error.apply(console, arguments);\n        }\n      },\n      B = {\n        doNotify(e) {\n          let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          let r = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n          const s = new Notification(e, t);\n          for (let e in r) s[e] = r[e];\n        },\n        notify(e) {\n          let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n          let r = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n          if (!(\"Notification\" in window)) return console.error(\"This browser does not support desktop notification\");\n          \"granted\" === Notification.permission ? this.doNotify(e, t, r) : \"denied\" !== Notification.permission && Notification.requestPermission().then(s => {\n            \"granted\" === s && this.doNotify(e, t, r);\n          });\n        }\n      },\n      H = class {\n        start() {}\n        stop() {}\n        store() {}\n        isStoreAble() {\n          return !1;\n        }\n        getUserData() {\n          let e = new Date().getTime(),\n            t = window.navigator || {},\n            r = window.location || {};\n          return {\n            id: (e - Math.ceil(1e4 * Math.random())).toString(36),\n            time: e,\n            href: r.href,\n            pageProtocol: r.protocol,\n            pageHost: r.host,\n            pagePathname: r.pathname,\n            userAgent: t.userAgent,\n            language: t.language,\n            platform: t.platform\n          };\n        }\n      };\n    let k = {};\n    !function () {\n      if (\"function\" == typeof window.CustomEvent) return !1;\n      function e(e, t) {\n        t = t || {\n          bubbles: !1,\n          cancelable: !1,\n          detail: void 0\n        };\n        var r = document.createEvent(\"CustomEvent\");\n        return r.initCustomEvent(e, t.bubbles, t.cancelable, t.detail), r;\n      }\n      e.prototype = window.Event.prototype, window.CustomEvent = e;\n    }(), function () {\n      if (window.CustomEvent && \"dog\" === window.CustomEvent.version) return !1;\n      function e(e) {\n        var t = new CustomEvent(e, {\n          detail: this\n        });\n        window.dispatchEvent(t);\n      }\n      window.CustomEvent.version = \"dog\";\n      var t = window.XMLHttpRequest;\n      let r = t.prototype.open;\n      t.prototype.open = function (t, s, i, n, o) {\n        this.method = t, this.reqUrl = s, i = void 0 === i || i, this.async = i, this.reqStart = new Date().getTime();\n        let a = {\n          method: t,\n          url: s,\n          async: i,\n          user: n,\n          password: o\n        };\n        e.call(a, \"ajaxOpen\");\n        let l = [\"method\", \"url\", \"async\", \"user\", \"password\"];\n        return l = l.map(function (e) {\n          return a[e];\n        }), r.apply(this, l);\n      };\n      let s = t.prototype.setRequestHeader;\n      t.prototype.setRequestHeader = function (t, r) {\n        this.reqHeaders || (this.reqHeaders = {}), this.reqHeaders[t] = r;\n        let i = {\n          reqHeaders: this.reqHeaders,\n          method: this.method,\n          url: this.reqUrl,\n          async: this.async\n        };\n        return e.call(i, \"ajaxSetHeaders\"), s.apply(this, arguments);\n      };\n      let i = t.prototype.send;\n      t.prototype.send = function (t) {\n        let r = {\n          requestPayload: t,\n          requestQuery: \"\",\n          reqHeaders: this.reqHeaders,\n          method: this.method,\n          url: this.reqUrl,\n          async: this.async\n        };\n        return e.call(r, \"ajaxSend\"), this.requestPayload = r.requestPayload, this.requestQuery = r.requestQuery, i.apply(this, [r.requestPayload]);\n      };\n      var n = Object.getOwnPropertyDescriptor(t.prototype, \"responseText\");\n      Object.defineProperty(t.prototype, \"responseText\", {\n        get() {\n          let t = \"\";\n          try {\n            t = n.get.call(this);\n          } catch (e) {\n            t = \"\";\n          }\n          let r = {\n            responseText: t,\n            requestPayload: this.requestPayload,\n            requestQuery: this.requestPayload,\n            reqHeaders: this.reqHeaders,\n            method: this.method,\n            url: this.reqUrl,\n            async: this.async\n          };\n          return e.call(r, \"ajaxResponseText\"), t = r.responseText, t;\n        },\n        set(e) {\n          return n.set.call(this, e);\n        },\n        configurable: !0\n      }), window.XMLHttpRequest = class extends t {\n        constructor() {\n          super();\n          var r = new t();\n          return r.addEventListener(\"abort\", function () {\n            e.call(this, \"ajaxAbort\");\n          }, !1), r.addEventListener(\"error\", function () {\n            e.call(this, \"ajaxError\");\n          }, !1), r.addEventListener(\"load\", function () {\n            e.call(this, \"ajaxLoad\");\n          }, !1), r.addEventListener(\"loadstart\", function () {\n            e.call(this, \"ajaxLoadStart\");\n          }, !1), r.addEventListener(\"progress\", function () {\n            e.call(this, \"ajaxProgress\");\n          }, !1), r.addEventListener(\"timeout\", function () {\n            e.call(this, \"ajaxTimeout\");\n          }, !1), r.addEventListener(\"loadend\", function () {\n            e.call(this, \"ajaxLoadEnd\");\n          }, !1), r.addEventListener(\"readystatechange\", function () {\n            e.call(this, \"ajaxStateChange\");\n          }, !1), r;\n        }\n      }, k.XMLHttpRequest = t;\n      let o = window.fetch;\n      window.fetch = function (t, r) {\n        let s = {\n          method: (r = r || {}).method,\n          url: t,\n          async: r.async,\n          user: r.user,\n          password: r.password\n        };\n        e.call(s, \"fetchOpen\"), t = s.url;\n        let i = {};\n        [\"method\", \"async\", \"user\", \"password\"].forEach(function (e) {\n          i[e] = s[e];\n        }), r = Object.assign(r, i), s.request = r.data, e.call(s, \"fetchSend\"), r.data = s.request;\n        let n = r.headers || {};\n        s.reqHeaders = n, e.call(s, \"fetchSetHeaders\"), r.headers = s.reqHeaders;\n        let a = o.apply(this, [t, r]);\n        try {\n          let i = this || {};\n          r = r || {}, setTimeout(function () {\n            i.method = r.method || \"get\", i.responseURL = t, i.request = r.data, i.responseText = \"\", i.reqHeaders = r.headers, i.reqStart = new Date().getTime(), i.withCredentials = r.mode, a.then(function (t) {\n              i.responseURL = t.url || i.responseURL;\n              let r = t.text;\n              t.text = function () {\n                return r.call(t).then(function (t) {\n                  s.responseText = t;\n                  try {\n                    i.responseText = t, i.isHandled = !1, e.call(s, \"fetchResponseText\"), e.call(i, \"fetchStateChange\");\n                  } catch (e) {}\n                  return s.responseText;\n                });\n              };\n              let n = t.json;\n              t.json = function () {\n                return n.call(t).then(function (t) {\n                  s.responseJson = t;\n                  try {\n                    i.responseText = JSON.stringify(t), i.isHandled = !1, e.call(s, \"fetchResponseJson\"), e.call(i, \"fetchStateChange\");\n                  } catch (e) {}\n                  return s.responseJson;\n                });\n              }, t.body instanceof ReadableStream || t.text().then(function (t) {\n                i.responseText = t, e.call(i, \"fetchStateChange\");\n              }), i.status = t.status, e.call(i, \"fetchStateChange\");\n            }).catch(function (t) {\n              i.status = \"\", i.errors = t.message + (t.stack || (t.error || {}).stack), e.call(i, \"fetchStateChange\");\n            });\n          });\n        } catch (e) {}\n        return a;\n      }, k.fetch = o, Object.defineProperty(HTMLScriptElement.prototype, \"src\", {\n        set(t) {\n          let r = {\n            url: t\n          };\n          e.call(r, \"scriptSetSrc\"), this.setAttribute(\"src\", r.url);\n        }\n      });\n    }();\n    class U extends H {\n      constructor() {\n        super(), this.handleXHR = this.handleXHR.bind(this), this.handleFetch = this.handleFetch.bind(this), this.handleAjaxOpen = this.handleAjaxOpen.bind(this), this.handleAjaxSend = this.handleAjaxSend.bind(this), this.handleAjaxSetHeaders = this.handleAjaxSetHeaders.bind(this), this.handleAjaxResponseText = this.handleAjaxResponseText.bind(this), this.handleFetchOpen = this.handleFetchOpen.bind(this), this.handleFetchSend = this.handleFetchSend.bind(this), this.handleFetchSetHeaders = this.handleFetchSetHeaders.bind(this), this.handleFetchResponseText = this.handleFetchResponseText.bind(this), this.handleFetchResponseJson = this.handleFetchResponseJson.bind(this), this.handleScriptSetSrc = this.handleScriptSetSrc.bind(this);\n      }\n      start() {\n        window.addEventListener(\"ajaxStateChange\", this.handleXHR, !1), window.addEventListener(\"fetchStateChange\", this.handleFetch, !1), window.addEventListener(\"ajaxOpen\", this.handleAjaxOpen, !1), window.addEventListener(\"ajaxSend\", this.handleAjaxSend, !1), window.addEventListener(\"ajaxSetHeaders\", this.handleAjaxSetHeaders, !1), window.addEventListener(\"ajaxResponseText\", this.handleAjaxResponseText, !1), window.addEventListener(\"fetchOpen\", this.handleFetchOpen, !1), window.addEventListener(\"fetchSend\", this.handleFetchSend, !1), window.addEventListener(\"fetchSetHeaders\", this.handleFetchSetHeaders, !1), window.addEventListener(\"fetchResponseText\", this.handleFetchResponseText, !1), window.addEventListener(\"fetchResponseJson\", this.handleFetchResponseJson, !1), window.addEventListener(\"scriptSetSrc\", this.handleScriptSetSrc, !1);\n      }\n      stop() {\n        window.removeEventListener(\"ajaxStateChange\", this.handleXHR), window.removeEventListener(\"fetchStateChange\", this.handleFetch), window.removeEventListener(\"ajaxOpen\", this.handleAjaxOpen), window.removeEventListener(\"ajaxSend\", this.handleAjaxSend), window.removeEventListener(\"ajaxSetHeaders\", this.handleAjaxSetHeaders), window.removeEventListener(\"ajaxResponseText\", this.handleAjaxResponseText), window.removeEventListener(\"fetchOpen\", this.handleFetchOpen), window.removeEventListener(\"fetchSend\", this.handleFetchSend), window.removeEventListener(\"fetchSetHeaders\", this.handleFetchSetHeaders), window.removeEventListener(\"fetchResponseText\", this.handleFetchResponseText), window.removeEventListener(\"fetchResponseJson\", this.handleFetchResponseJson), window.removeEventListener(\"scriptSetSrc\", this.handleScriptSetSrc);\n      }\n      handleXHR(e) {\n        try {\n          e.detail && (4 === e.detail.readyState || e.detail.status >= 200) && !e.detail.isHandled && (e.detail.isHandled = !0, setTimeout(() => {\n            let t = e.detail,\n              r = new Date().getTime();\n            t.reqEnd = r;\n            let s = {\n              id: (r - Math.ceil(1e4 * Math.random())).toString(36),\n              cat: \"XMLHttpRequest\",\n              method: String(t.method || \"\").toLowerCase(),\n              url: t.responseURL || t.reqUrl,\n              request: t.request,\n              response: t.responseText,\n              reqHeaders: t.reqHeaders,\n              resHeaders: {},\n              reqStart: t.reqStart || 0,\n              reqEnd: t.reqEnd || 0,\n              status: t.status,\n              withCredentials: t.withCredentials,\n              errors: t.errors || \"\",\n              href: location.href\n            };\n            this.isStoreAble(s, t) && (Object.assign(s, this.getUserData(s)), this.store(s, t));\n          }, 200));\n        } catch (e) {}\n      }\n      handleFetch(e) {\n        try {\n          if (e.detail && (4 === e.detail.readyState || e.detail.status >= 200) && !e.detail.isHandled) {\n            e.detail.isHandled = !0;\n            let t = e.detail,\n              r = new Date().getTime();\n            t.reqEnd = r;\n            let s = {\n              id: (r - Math.ceil(1e4 * Math.random())).toString(36),\n              cat: \"fetch\",\n              method: String(t.method || \"\").toLowerCase(),\n              url: t.responseURL || t.reqUrl,\n              request: t.request,\n              response: t.responseText,\n              reqHeaders: t.reqHeaders,\n              resHeaders: {},\n              reqStart: t.reqStart,\n              reqEnd: t.reqEnd,\n              status: t.status,\n              withCredentials: t.withCredentials,\n              href: location.href,\n              errors: t.errors || \"\"\n            };\n            this.isStoreAble(s, t) && (Object.assign(s, this.getUserData(s)), this.store(s, t));\n          }\n        } catch (e) {}\n      }\n      handleAjaxOpen() {}\n      handleAjaxSend() {}\n      handleAjaxSetHeaders() {}\n      handleAjaxResponseText() {}\n      handleFetchOpen() {}\n      handleFetchSend() {}\n      handleFetchSetHeaders() {}\n      handleFetchResponseText() {}\n      handleFetchResponseJson() {}\n      handleScriptSetSrc() {}\n      store(e, t) {\n        console.log(\"******************************************XHR/Fetch*******************************************\"), console.log(e);\n      }\n    }\n    const _ = new U();\n    class K extends H {\n      constructor() {\n        super(), this.hanldeError = this.hanldeError.bind(this), this.handleRejection = this.handleRejection.bind(this);\n      }\n      start() {\n        if (this.isBind) return this;\n        this.isBind = !0, window.addEventListener(\"error\", this.hanldeError, !0), window.addEventListener(\"unhandledrejection\", this.handleRejection, !0);\n      }\n      stop() {\n        this.isBind = !1, window.removeEventListener(\"error\", this.hanldeError), window.removeEventListener(\"unhandledrejection\", this.handleRejection);\n      }\n      hanldeError(e, t, r, s, i) {\n        try {\n          let n = {\n              EvalError: window.EvalError,\n              InternalError: window.InternalError,\n              RangeError: window.RangeError,\n              ReferenceError: window.ReferenceError,\n              SyntaxError: window.SyntaxError,\n              TypeError: window.TypeError,\n              URIError: window.URIError,\n              XMLHttpRequest: window.XMLHttpRequest\n            },\n            o = \"error\",\n            a = \"\";\n          if (\"object\" == typeof e) {\n            let l = e;\n            o = l.type || \"error\";\n            for (let e in n) l.error && n[e] && l.error instanceof n[e] && (o = e);\n            a = l.filename || l.fileName || \"\", e = l.message || \"\";\n            let h = l.target;\n            t = h.src || h.href || \"\", h.tagName && (e = h.tagName + \"error\"), r = isNaN(l.lineno) ? isNaN(l.lineNumber) ? 0 : l.lineNumber : l.lineno, s = isNaN(l.colno) ? isNaN(l.columnNumber) ? 0 : l.columnNumber : l.colno, i = (l.error || {}).stack || \"\", console.log(l);\n          }\n          let l = {\n            name: o,\n            fileName: a,\n            message: e,\n            url: t,\n            lineNumber: r,\n            columnNumber: s,\n            stack: i\n          };\n          this.isStoreAble(l) && (Object.assign(l, this.getUserData(l)), this.store(l));\n        } catch (e) {}\n      }\n      handleRejection(e) {\n        if (e && \"object\" == typeof e.reason) {\n          let t = {\n            name: e.reason.name,\n            fileName: e.reason.fileName,\n            message: e.reason.message,\n            url: e.reason.url,\n            lineNumber: e.reason.lineNumber,\n            columnNumber: e.reason.columnNumber,\n            stack: e.reason.stack\n          };\n          Object.assign(t, this.getUserData(t)), this.store(t);\n        }\n      }\n      store(e) {\n        console.log(\"*****************************************Error********************************************\"), console.log(e);\n      }\n    }\n    const $ = new K();\n    class X extends H {\n      constructor() {\n        super(), this.handleLoad = this.handleLoad.bind(this);\n      }\n      start() {\n        window.addEventListener(\"load\", this.handleLoad, !0);\n      }\n      stop() {\n        window.removeEventListener(\"load\", this.handleLoad);\n      }\n      handleLoad(e) {\n        try {\n          let e = this.getPerformData();\n          this.isStoreAble(e) && (Object.assign(e.info, this.getUserData(e)), setTimeout(() => {\n            this.store(e.info);\n          }, 3e3));\n        } catch (e) {}\n      }\n      getPerformData() {\n        let e = {},\n          t = [];\n        try {\n          var r = window.performance;\n          if (r) {\n            var s = r.getEntriesByType(\"navigation\")[0],\n              i = 0;\n            s || (i = (s = r.timing).navigationStart), e = {\n              href: (window.location || {}).href,\n              navigationStart: i,\n              statsTtfb: s.responseStart - s.requestStart,\n              statsDomLoaded: s.domContentLoadedEventEnd - i,\n              statsLoaded: s.loadEventEnd - i,\n              redirect: s.redirectEnd - s.redirectStart,\n              appCache: s.domainLookupStart - s.fetchStart,\n              dns: s.domainLookupEnd - s.domainLookupStart,\n              tcp: s.connectEnd - s.connectStart,\n              waitingTtfb: s.responseStart - s.requestStart,\n              contentDownload: s.responseEnd - s.responseStart,\n              httpTotalTime: s.responseEnd - s.requestStart,\n              domContentLoaded: s.domContentLoadedEventEnd - i,\n              loaded: s.loadEventEnd - i\n            }, t = [{\n              key: \"Redirect\",\n              desc: \"网页重定向的耗时\",\n              value: s.redirectEnd - s.redirectStart\n            }, {\n              key: \"AppCache\",\n              desc: \"检查本地缓存的耗时\",\n              value: s.domainLookupStart - s.fetchStart\n            }, {\n              key: \"DNS\",\n              desc: \"DNS查询的耗时\",\n              value: s.domainLookupEnd - s.domainLookupStart\n            }, {\n              key: \"TCP\",\n              desc: \"TCP连接的耗时\",\n              value: s.connectEnd - s.connectStart\n            }, {\n              key: \"Waiting(TTFB)\",\n              desc: \"从客户端发起请求到接收到响应的时间 / Time To First Byte\",\n              value: s.responseStart - s.requestStart\n            }, {\n              key: \"Content Download\",\n              desc: \"下载服务端返回数据的时间\",\n              value: s.responseEnd - s.responseStart\n            }, {\n              key: \"HTTP Total Time\",\n              desc: \"HTTP请求总耗时\",\n              value: s.responseEnd - s.requestStart\n            }, {\n              key: \"DOMContentLoaded\",\n              desc: \"dom加载完成的时间\",\n              value: s.domContentLoadedEventEnd - i\n            }, {\n              key: \"Loaded\",\n              desc: \"页面load的总耗时\",\n              value: s.loadEventEnd - i\n            }];\n          }\n        } catch (r) {}\n        return {\n          info: e,\n          desc: t\n        };\n      }\n      store(e) {\n        console.log(\"******************************************Performance*******************************************\"), console.log(e);\n      }\n    }\n    const J = new X(),\n      Y = {\n        toMoney: e => (e = parseFloat(e), isNaN(e) || 0 === e ? \"0.00\" : (e += \"\", -1 == (e = parseFloat(e.replace(/,/g, \"\")).toFixed(2)).indexOf(\".\") ? e.replace(/\\d{1,3}(?=(\\d{3})+$)/g, function (e) {\n          return e + \",\";\n        }) : e.replace(/(\\d)(?=(\\d{3})+\\.)/g, function (e) {\n          return e + \",\";\n        }))),\n        toCapacity(e) {\n          if (e = parseFloat(e), isNaN(e) || 0 === e) return \"0 B\";\n          var t = Math.floor(Math.log(e) / Math.log(1e3));\n          return (e / Math.pow(1e3, t)).toPrecision(4) + \" \" + [\"B\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"][t];\n        },\n        toDecimal: (e, t) => (e = parseFloat(e), t = parseInt(t), isNaN(e) || isNaN(t) || (e = e.toFixed(t).replace(/\\.0+$/, \"\").replace(/(\\.[^0]+)0+$/, \"$1\")), e)\n      };\n    var z = s(868);\n    class V {\n      constructor(e) {\n        e = e || {};\n        let t = parseInt(e.pageSize);\n        t = isNaN(t) ? 10 : t < 1 ? 1 : t;\n        let r = parseInt(e.pageIndex);\n        r = isNaN(r) || r < 1 ? 1 : r;\n        let s = parseInt(e.groupSize);\n        s = isNaN(s) ? 10 : s < 1 ? 1 : s;\n        let i = parseInt(e.total);\n        i = isNaN(i) || i < 0 ? 0 : i, this.pageSize = t, this.pageIndex = r, this.total = i, this.groupSize = s, this.isShowFirstLast = !1 === e.isShowFirstLast, this.isShowPrevNext = !1 === e.isShowPrevNext;\n      }\n      getPageData(e) {\n        e = Object.assign({\n          pageSize: this.pageSize,\n          pageIndex: this.pageIndex,\n          groupSize: this.groupSize,\n          total: this.total,\n          isShowFirstLast: this.isShowFirstLast,\n          isShowPrevNext: this.isShowPrevNext\n        }, e || {});\n        let t = parseInt(e.pageSize);\n        t = isNaN(t) ? 10 : t < 1 ? 1 : t;\n        let r = parseInt(e.pageIndex);\n        r = isNaN(r) || r < 1 ? 1 : r;\n        let s = parseInt(e.groupSize);\n        s = isNaN(s) ? 10 : s < 1 ? 1 : s;\n        let i = parseInt(e.total);\n        i = isNaN(i) || i < 0 ? 0 : i;\n        let n = Math.ceil(i / t);\n        n = n < 1 ? 1 : n;\n        let o = [],\n          a = (Math.ceil(r / s) - 1) * s;\n        a = a < 0 ? 0 : a;\n        let l = s + a;\n        l = l > n ? n : l;\n        for (let e = a; e < l; e++) {\n          let t = e + 1,\n            s = r === t ? z.Z.ACTIVE : z.Z.ABLE;\n          o.push({\n            value: t,\n            text: t,\n            status: s\n          });\n        }\n        let h = !1 === e.isShowFirstLast,\n          d = !1 === e.isShowPrevNext;\n        if (d) {\n          let e = r <= 1 ? z.Z.DISABLED : z.Z.ABLE;\n          o.unshift({\n            value: Z.PREV,\n            text: \"<\",\n            status: e\n          });\n        }\n        if (h) {\n          let e = r <= 1 ? z.Z.DISABLED : z.Z.ABLE;\n          o.unshift({\n            value: Z.FIRST,\n            text: \"«\",\n            status: e\n          });\n        }\n        if (h) {\n          let e = r >= n ? z.Z.DISABLED : z.Z.ABLE;\n          o.push({\n            value: Z.NEXT,\n            text: \">\",\n            status: e\n          });\n        }\n        if (d) {\n          let e = r >= n ? z.Z.DISABLED : z.Z.ABLE;\n          o.push({\n            value: Z.LAST,\n            text: \"»\",\n            status: e\n          });\n        }\n        return {\n          pageSize: t,\n          pageIndex: r,\n          total: i,\n          pageCount: n,\n          groupSize: s,\n          list: o\n        };\n      }\n      prev() {\n        let e = this.pageIndex;\n        e -= 1, e = e < 1 ? 1 : e;\n        let t = Math.ceil(this.total / this.pageSize);\n        return e = e > t ? t : e, this.pageIndex = e, this;\n      }\n      next() {\n        let e = this.pageIndex;\n        e += 1, e = e < 1 ? 1 : e;\n        let t = Math.ceil(this.total / this.pageSize);\n        return e = e > t ? t : e, this.pageIndex = e, this;\n      }\n      go(e) {\n        let t = parseInt(e);\n        t = isNaN(t) || t < 1 ? 1 : t;\n        let r = Math.ceil(this.total / this.pageSize);\n        return t = t > r ? r : t, this.pageIndex = t, this;\n      }\n      first() {\n        return this.pageIndex = 1, this;\n      }\n      last() {\n        let e = Math.ceil(this.total / this.pageSize);\n        return e = e < 1 ? 1 : e, this.pageIndex = e, this;\n      }\n    }\n    const Z = {\n        FIRST: \"FIRST\",\n        LAST: \"LAST\",\n        PREV: \"PRVE\",\n        NEXT: \"NEXT\"\n      },\n      W = {\n        parallel: \"parallel\",\n        serial: \"serial\",\n        rank: \"rank\"\n      };\n    class G {\n      constructor(e) {\n        e = e || {}, this.type = W[e.type] || W.serial, this.map = {}, this.pipers = [], this.value = e.value, this.children = e.children, this.dependencies = e.dependencies, this.valve = e.valve;\n      }\n      build(e) {\n        return e = Array.isArray(e) ? e : [], this.pipers = e.map(e => new G(e)), this;\n      }\n      getPipe(e) {}\n      next(e, t) {\n        return this.getValue().then(e, t);\n      }\n      getValue(t) {\n        let r = this.value;\n        e.isFunction(r) && (r = r(t));\n        let s = Promise.resolve(r);\n        return this.type === W.rank && (s = s.then(e => this.getValve(e).then(t => t ? e : this.getPiperValue(e))).catch(e => this.getPiperValue(e))), s;\n      }\n      getPiperValue(e) {\n        let t = Promise.resolve(e);\n        return this.pipers.forEach(function (r) {\n          t = r.getValue(e).then(function (e) {\n            return r.getValve(e).then(function (t) {\n              return t ? e : r.getValue(e);\n            });\n          }).catch(function (e) {\n            return r.getValue(e);\n          });\n        }), t;\n      }\n      getValve(t) {\n        let r = this.valve;\n        return e.isFunction(r) && (r = r(t)), Promise.resolve(void 0 === r || r);\n      }\n    }\n    const Q = {\n        stringify(t, r, s) {\n          let i = t;\n          return null == t ? i = \"\" : e.isObject(t) && (i = JSON.stringify(t, r, s)), i;\n        },\n        parse(e) {\n          let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"json\";\n          let r = arguments.length > 2 ? arguments[2] : undefined;\n          let s = arguments.length > 3 ? arguments[3] : undefined;\n          let i = arguments.length > 4 ? arguments[4] : undefined;\n          let n = e;\n          return \"json\" !== (t = String(t).toLowerCase().trim()) && \"object\" !== t && \"array\" !== t || (n = this.toObject(e, i), \"true\" !== String(r) && \"1\" !== String(r) || (\"json\" === t || \"object\" === t ? n = \"object\" == typeof n && n ? n : s || {} : \"array\" === t && (n = Array.isArray(n) ? n : s || []))), n;\n        },\n        toObject(t, r) {\n          if (\"string\" == typeof t) {\n            let s = null;\n            if (/^\\s*\\t*(\\[|\\{)/m.test(t)) try {\n              s = JSON.parse(t);\n            } catch (e) {\n              s = null;\n            }\n            if (null === s) try {\n              s = new Function(\"return \" + t)();\n            } catch (e) {\n              s = null;\n            }\n            if (null === s) try {\n              s = JSON.parse('{\"a\":\"' + t + '\"}'), s = JSON.parse(s.a);\n            } catch (e) {\n              s = null;\n            }\n            e.isRealObject(s) && r && (s = this.solveDeep(s)), t = null === s ? t : s;\n          }\n          return t;\n        },\n        solveDeep(t) {\n          let r = t;\n          if (Array.isArray(t)) r = t.map(e => this.toObject(e));else if (e.isRealObject(t)) for (let r in t) {\n            if (\"string\" == typeof t[r] && /^\\s*({|\\[)/m.test(t[r])) try {\n              t[r] = this.toObject(t[r]);\n            } catch (e) {}\n            e.isRealObject(t[r]) && (t[r] = this.solveDeep(t[r]));\n          }\n          return r;\n        },\n        parseEuqalSeparate(e) {\n          let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \":\";\n          let r = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"\\n\";\n          let s = Q.parse(e),\n            i = !1;\n          if (\"object\" != typeof s) {\n            if (\"string\" == typeof s) {\n              let s = e.split(r);\n              s = s.map(e => {\n                let r = e.split(new RegExp(t + \"\\\\s*\", \"i\"));\n                return {\n                  name: r[0].trim(),\n                  value: r.splice(1).join(\": \")\n                };\n              });\n              let n = {};\n              s.forEach(e => {\n                e.name && (i = !0, n[e.name] = e.value);\n              }), i && (e = n);\n            }\n          } else \"object\" == typeof s && (e = s);\n          return e;\n        }\n      },\n      ee = Q;\n    class te extends T.H {\n      constructor() {\n        super(), this._options = this.getDefaults() || {}, this._resolves = [], this._rejects = [], this.$on(\"onBeforeRequest\", this.onBeforeRequest.bind(this)), this.$on(\"onAfterRequest\", this.onAfterRequest.bind(this));\n      }\n      get() {\n        let e = this.process.apply(this, arguments);\n        return e.method = re.GET, this.launch(e);\n      }\n      post() {\n        let e = this.process.apply(this, arguments);\n        return e.method = re.POST, this.launch(e);\n      }\n      put() {\n        let e = this.process.apply(this, arguments);\n        return e.method = re.PUT, this.launch(e);\n      }\n      delete() {\n        let e = this.process.apply(this, arguments);\n        return e.method = re.DELETE, this.launch(e);\n      }\n      jsonp() {\n        let e = this.process.apply(this, arguments);\n        return e.method = re.JSONP, this.launch(e);\n      }\n      request(e) {\n        let t = this.process.apply(this, arguments);\n        return t.method = t.method || re.POST, this.launch(t);\n      }\n      launch(e) {\n        let t = this.$emit(\"onBeforeRequest\", e),\n          r = !0;\n        if (Array.isArray(t) && t.forEach(e => {\n          !1 === e && (r = !1);\n        }), !r) return Promise.reject({\n          success: !1,\n          msg: \"Request cancled\"\n        });\n        \"function\" == typeof e.onBeforeRequest && e.onBeforeRequest(e, this);\n        let s = this._send(e);\n        return s = s.then(e => {\n          e = e || {};\n          let t = this.parse(e.response, (e.options || {}).dataType, (e.options || {}).isForceParse);\n          return this.$emit(\"onAfterRequest\", e), Promise.resolve(t);\n        }, e => {\n          e = e || {};\n          let t = this.parse(e.response, (e.options || {}).dataType, (e.options || {}).isForceParse);\n          return this.$emit(\"onAfterRequest\", e), Promise.reject(t);\n        }), this._resolves.forEach(e => {\n          s = s.then(e);\n        }), this._rejects.forEach(e => {\n          s = s.catch(e);\n        }), s;\n      }\n      _send(e) {\n        return Promise.resolve({});\n      }\n      process(t, r, s) {\n        e.isPlainObject(t) ? s = t : e.isPlainObject(s) ? s.url = t || s.url : s = {\n          url: t || \"\"\n        };\n        let n = this._options.resolver || {};\n        for (var _len = arguments.length, i = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n          i[_key - 3] = arguments[_key];\n        }\n        s.data = r || s.data || \"\", s.url = s.url || \"\", e.isFunction(n.solveAPI) && (s.url = n.solvePath(s.url)), s = e.extend({}, this._options, e.isPlainObject(s) ? s : {}, ...i);\n        let o = {};\n        return e.forEach(this._options.headers, (e, t) => {\n          o[t] = e;\n        }), o = e.extend(o, e.extend({}, s.headers)), s.headers = o, e.isFunction(n.resolve) && (s = n.resolve(s)), s;\n      }\n      pipe(e, t) {\n        return \"function\" == typeof e && this._resolves.push(e), \"function\" == typeof t && this._rejects.push(t), this;\n      }\n      onBeforeRequest() {}\n      onAfterRequest() {}\n      mock() {}\n      stringify(e) {\n        return ee.stringify(e);\n      }\n      parse(e, t, r) {\n        return ee.parse(e, t, r);\n      }\n      setOptions(t) {\n        t = e.isPlainObject(t) ? t : {}, this._options = e.extend(this._options, t);\n      }\n      getDefaults() {\n        return {\n          url: \"\",\n          method: \"POST\",\n          data: \"\",\n          headers: {\n            Accept: \"application/json\",\n            \"Content-Type\": \"application/x-www-form-urlencoded;charset=UTF-8\"\n          }\n        };\n      }\n    }\n    const re = {\n        GET: \"get\",\n        POST: \"post\",\n        PUT: \"put\",\n        DELETE: \"delete\",\n        JSONP: \"jsonp\"\n      },\n      se = te;\n    class ie {\n      constructor(e) {}\n      build(e) {}\n      show(e) {}\n      hide() {}\n      remove(e) {}\n      getZIndex() {\n        return F.getZIndex();\n      }\n    }\n    ie.defaults = {}, new ie();\n    const ne = ie;\n    const oe = new class extends ne {}(),\n      ae = {\n        stringify(e, t, r) {\n          t = t || \"&\", r = r || \"=\";\n          let s = \"\";\n          for (var i in e) s += i + r + unescape(e[i]) + t;\n          return s.slice(0, -1);\n        },\n        parseURL(e) {\n          var t = {};\n          return (e = \"string\" == typeof e ? e : \"\").split(\"?\").forEach(function (e) {\n            /[^\\s]+=\\w*/.test(e) && e.split(\"&\").forEach(function (e) {\n              var r = e.indexOf(\"=\"),\n                s = e.slice(0, r),\n                i = unescape(e.slice(r + 1));\n              -1 === r && (s = e, i = \"\"), s && (t[s] = i || \"\");\n            });\n          }), t;\n        }\n      };\n    class le extends se {\n      _send(t) {\n        let r = this,\n          s = t.data instanceof FormData;\n        if (\"formdata\" === t.dataCate && e.isPlainObject(n) && !(t.data instanceof FormData)) {\n          s = !0;\n          let e = new FormData();\n          for (let t in n) void 0 !== n[t] && e.append(t, n[t]);\n          n = e;\n        }\n        s || (t = e.clone(t));\n        let i = !1,\n          n = \"\",\n          o = t.url;\n        if (e.isObject(t.data)) for (let e in t.data) void 0 === t.data[e] && delete t.data[e];\n        if (/get/i.test(t.method)) {\n          if (t.data) {\n            let e = ae.stringify(t.data);\n            o += e ? \"?\" + e : \"\";\n          }\n        } else {\n          if (Array.isArray(t.data)) t.headers[\"Content-Type\"] = \"application/json;charset=UTF-8\";else if (e.isObject(t.data)) {\n            let r = !1;\n            for (let s in t.data) if (e.isObject(t.data[s])) {\n              r = !0;\n              break;\n            }\n            r && (t.headers[\"Content-Type\"] = \"application/json;charset=UTF-8\");\n          }\n          t.data && (s ? (n = t.data, delete t.headers[\"Content-Type\"], delete t.headers.Accept) : n = /json/.test(t.headers[\"Content-Type\"]) ? JSON.stringify(t.data) : ae.stringify(t.data)), t.body = n;\n        }\n        return new Promise((e, s) => {\n          let a = this._getXHR(),\n            l = String(t.withCredentials);\n          a.withCredentials = \"true\" === l || \"1\" === l;\n          let h = new Date().getTime();\n          if (a.onreadystatechange = function () {\n            if (4 === a.readyState) {\n              let n = new Date().getTime(),\n                o = a.status;\n              if (i) return !1;\n              let l = {\n                options: t,\n                status: o,\n                responseText: a.responseText,\n                response: r.parse(a.responseText, t.dataType, t.isForceParse),\n                xhr: a,\n                start: h,\n                end: n\n              };\n              o >= 200 && o <= 304 ? e(l) : s(l), \"function\" == typeof t.complete && t.complete(l), \"function\" == typeof t.onAfterRequest && t.onAfterRequest(l, r);\n            }\n          }, /^\\/\\//.test(o)) {\n            let e = t.protocol || location.protocol;\n            /file/.test(e) && (e = \"http:\"), o = e + o;\n          }\n          if (/^get$/i.test(t.method) ? (a.open(t.method, o, t.async), Object.keys(t.headers).forEach(e => {\n            a.setRequestHeader(e, t.headers[e]);\n          }), a.send(null)) : (a.open(t.method, o, t.async), Object.keys(t.headers).forEach(e => {\n            a.setRequestHeader(e, t.headers[e]);\n          }), a.send(n || null)), t.timeout > 50) {\n            let e = new Date().getTime(),\n              r = setTimeout(function () {\n                4 !== a.readyState && (i = !0, a.abort(), clearTimeout(r)), s({\n                  xhr: a,\n                  options: t,\n                  error: \"Timeout\",\n                  start: h,\n                  end: e\n                });\n              }, t.timeout);\n          }\n        });\n      }\n      _getXHR() {\n        let e = null;\n        return e = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject(\"Microsoft.XMLHTTP\"), e;\n      }\n      getDefaults() {\n        return {\n          url: \"\",\n          method: \"POST\",\n          data: \"\",\n          timeout: -1,\n          async: !0,\n          dataType: \"object\",\n          isForceParse: !1,\n          headers: {\n            Accept: \"application/json\",\n            \"Content-Type\": \"application/x-www-form-urlencoded;charset=UTF-8\"\n          },\n          crossDomain: !0,\n          withCredentials: !1\n        };\n      }\n    }\n    const he = new le();\n    class de extends T.H {\n      constructor() {\n        let {\n          state: e = {},\n          pipe: t = {},\n          key: r = \"dog-cache\"\n        } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n        super(), this.state = e || {}, this.state.list = Array.isArray(this.state.list) ? this.state.list : [], this.pipe = t || {}, this.key = r, this._watchClean();\n      }\n      getKey() {\n        return this.key;\n      }\n      setKey(e) {\n        this.key = e;\n      }\n      getItem(e) {\n        let t = null,\n          r = this.getStoreState();\n        return e = this._toKey(e), r.list.forEach(r => {\n          if (r.key === e) return t = r.value, !1;\n        }), t;\n      }\n      setItem(e, t, r) {\n        let s = !0;\n        t = (\"function\" == typeof (r = r || {}).solve ? r.solve : this.solve)(t, r.dataType);\n        let i = r.valid;\n        if (!0 !== i && 1 !== i && (i = \"function\" == typeof r.valid ? r.valid : this.valid, s = i(t, r.dataType)), !s) return !1;\n        if (\"\" === (e = this._toKey(e))) return !1;\n        let n = this.getStoreState(),\n          o = !1;\n        n.list.forEach(t => {\n          t.key === e && (o = !0, t.deploy = Object.assign({}, t.deploy || {}, r || {}));\n        }), o || n.list.push({\n          key: e,\n          value: t,\n          deploy: Object.assign({}, r || {})\n        }), this.setStoreState(n);\n      }\n      setStoreState(e) {\n        (e = e || {}).list = Array.isArray(e.list) ? e.list : [], this.state = e;\n      }\n      getStoreState() {\n        let e = this.state;\n        return e && Array.isArray(e.list) || (e = {\n          list: []\n        }), e;\n      }\n      getStorage() {\n        return {\n          setItem: () => this.setItem.apply(this, arguments),\n          getItem() {\n            return this.getItem.apply(this, arguments);\n          },\n          clear() {\n            return this.clear.apply(this, arguments);\n          }\n        };\n      }\n      solve(e, t) {\n        return ee.parse(e);\n      }\n      valid(e, t) {\n        let r = !0;\n        return t && (\"json\" !== (t = String(type).toLowerCase().trim()) && \"object\" !== t && \"object\" == typeof e && e && (\"array\" !== t || Array.isArray(e)) || (r = !1)), r;\n      }\n      _toKey(e) {\n        return e && \"object\" == typeof e && (e = JSON.stringify(e)), String(e);\n      }\n      _watchClean() {\n        this.state.list.forEach(e => {\n          let t = e.deploy || {},\n            r = parseInt(t.expires);\n          r = isNaN(r) ? 31536e6 : r;\n          let s = parseInt(t.startTime);\n          s = isNaN(s) ? new Date().getTime() : s, r + s <= new Date().getTime() && this.clear(e.key);\n        }), setTimeout(() => {\n          this._watchClean();\n        }, 500);\n      }\n      clear(e) {\n        return e = this._toKey(e), Promise.resolve(this.getStoreState()).then(t => (t.list = t.list.filter(t => t.key !== e), this.setStoreState(t), t));\n      }\n    }\n    const ce = {\n      MEMORY: \"MEMORY\",\n      COOKIE: \"COOKIE\",\n      SESSION: \"SESSION\",\n      LOCAL: \"LOCAL\",\n      DB: \"DB\"\n    };\n    class ue extends de {}\n    const pe = new ue();\n    class fe extends te {\n      constructor(e) {\n        super(), e = e || {}, this.service = e.service, this.indicator = e.indicator, this.store = e.store, this.storeMemory = pe;\n      }\n      _send(e) {\n        let t = null;\n        return t = this.getCache(e) || this.getBuffer(e), t || (t = this.service._send.apply(this.service, arguments), this.setBuffer(e, t)), t;\n      }\n      process() {\n        return this.service.process.apply(this.service, arguments);\n      }\n      setOptions(e) {\n        this.service.setOptions(e);\n      }\n      onBeforeRequest(e) {\n        e.isPreloader && this.indicator.show();\n      }\n      onAfterRequest(e) {\n        let t = e.options || {};\n        t.cache && this.store.setItem(this.getCacheKey(t), e, t.cache), t.isPreloader && this.indicator.hide();\n      }\n      getCacheKey(e) {\n        return this.getCustomKey(e, \"cacheKey\") || {\n          name: \"cache\",\n          method: e.method,\n          url: e.url,\n          data: this.getFormatData(e.data, e.cacheIgnoreKey)\n        };\n      }\n      getCache(e) {\n        let t = null;\n        if ((e = e || {}).cache) {\n          let r = this.getCacheKey(e),\n            s = this.store.getItem(r);\n          null != s && (t = Promise.resolve(s));\n        }\n        return t;\n      }\n      setCache(e, t) {\n        if (!(e = e || {}).cache) return !1;\n        \"object\" != typeof e.cache && (e.cache = {});\n        let r = e.cache.expires;\n        r = isNaN(r) ? 18e5 : r, r = r > 15552e6 ? 6e4 : r, this.storeMemory.setItem(this.getCacheKey(e), t, e.cache);\n      }\n      getBufferKey(e) {\n        return this.getCustomKey(e, \"bufferKey\") || {\n          name: \"buffer\",\n          method: e.method,\n          url: e.url,\n          data: this.getFormatData(e.data, e.bufferIgnoreKey)\n        };\n      }\n      getBuffer(e) {\n        let t = null;\n        if ((e = e || {}).buffer) {\n          let r = this.getBufferKey(e);\n          t = this.storeMemory.getItem(r) || null;\n        }\n        return t;\n      }\n      setBuffer(e, t) {\n        if (!(e = e || {}).buffer) return !1;\n        \"object\" != typeof e.buffer && (e.buffer = {});\n        let r = e.buffer.expires;\n        r = isNaN(r) ? 5e3 : r, r = r > 6e4 ? 6e4 : r, this.storeMemory.setItem(this.getBufferKey(e), t, e.buffer);\n      }\n      getCustomKey(e, t) {\n        let r = null;\n        if (e[t] && (r = e[t], \"function\" == typeof e[t])) try {\n          r = e[t]();\n        } catch (e) {\n          r = null;\n        }\n        return r;\n      }\n      getFormatData(e, t) {\n        let r = {};\n        return e instanceof FormData ? (e.forEach((e, t) => {\n          r[t] = e;\n        }), r = JSON.parse(JSON.stringify(r))) : r = JSON.parse(JSON.stringify(e)), t && S.removeKeys(r, t), r;\n      }\n    }\n    const ge = new fe({\n      service: he,\n      indicator: oe,\n      store: pe\n    });\n    class ye extends de {\n      getItem(e) {\n        let t = null;\n        return e = this._toKey(e), this.getStoreState().list.forEach(r => {\n          if (r.key === e) return t = r.value, !1;\n        }), t;\n      }\n      setItem(e, t, r) {\n        let s = !0,\n          i = \"function\" == typeof (r = r || {}).solve ? r.solve : this.solve;\n        t = i(t, r.dataType);\n        let n = r.valid;\n        if (!0 !== n && 1 !== n && (n = \"function\" == typeof r.valid ? r.valid : this.valid, s = n(t, r.dataType)), !s) return !1;\n        if (\"\" === (e = this._toKey(e))) return !1;\n        let o = this.getStoreState(),\n          a = !1;\n        o.list.forEach(s => {\n          s.key === e && (a = !0, s.value = t, s.deploy = Object.assign({}, s.deploy || {}, r || {}));\n        }), a || o.list.push({\n          key: e,\n          value: t,\n          deploy: Object.assign({}, r || {})\n        }), this.setStoreState(o);\n      }\n      setStoreState(e) {\n        (e = e || {}).list = Array.isArray(e.list) ? e.list : [], e = ee.stringify(e);\n        try {\n          this.getStorage().setItem(this.getKey(), e);\n        } catch (e) {\n          console.warn(\"Failed!Storage is full.\");\n        }\n      }\n      getStoreState() {\n        let e = this.getStorage().getItem(this.getKey());\n        return e = ee.parse(e, \"object\"), e && Array.isArray(e.list) || (e = {\n          list: []\n        }), e;\n      }\n      getStorage() {\n        return window.sessionStorage;\n      }\n    }\n    const me = new ye();\n    class Se extends ye {\n      getStorage() {\n        return window.localStorage;\n      }\n    }\n    const ve = new Se();\n    class we extends de {\n      getItem(e) {\n        let t = null;\n        return e = this._toKey(e), this.getStoreState().then(r => (r.list.forEach(r => {\n          if (r.key === e) return t = r.value, !1;\n        }), t));\n      }\n      setItem(e, t, r) {\n        let s = !0,\n          i = \"function\" == typeof (r = r || {}).solve ? r.solve : this.solve;\n        t = i(t, r.dataType);\n        let n = r.valid;\n        return !0 !== n && 1 !== n && (n = \"function\" == typeof r.valid ? r.valid : this.valid, s = n(t, r.dataType)), s ? \"\" === (e = this._toKey(e)) ? Promise.resolve(!1) : this.getStoreState().then(s => {\n          let i = !1;\n          return s.list.forEach(s => {\n            s.key === e && (i = !0, s.value = t, s.deploy = Object.assign({}, s.deploy || {}, r || {}));\n          }), i || s.list.push({\n            key: e,\n            value: t,\n            deploy: Object.assign({}, r || {})\n          }), this.setStoreState(s);\n        }) : Promise.resolve(!1);\n      }\n      setStoreState(e) {\n        return (e = e || {}).list = Array.isArray(e.list) ? e.list : [], e = ee.stringify(e), this.getStorage().setItem(this.getKey(), e);\n      }\n      getStoreState() {\n        return this.getStorage().getItem(this.getKey()).then(e => ((e = ee.parse(e, \"object\")) && Array.isArray(e.list) || (e = {\n          list: []\n        }), e));\n      }\n      getStorage() {\n        return b;\n      }\n    }\n    const be = new we();\n    class Ee extends de {}\n    const xe = new Ee();\n    class Te extends de {\n      constructor() {\n        let {\n          cacheTypes: e = []\n        } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n        super(), e = Array.isArray(e) ? e : [], this.cacheTypes = e;\n      }\n      getItem(e) {\n        let t = this.getStorage();\n        return Promise.resolve(t.getItem.apply(t, arguments));\n      }\n      setItem(e, t, r) {\n        let s = this.getStorage();\n        return Promise.resolve(s.setItem.apply(s, arguments));\n      }\n      clear(e) {\n        let t = this.getStorage();\n        return Promise.resolve(t.clear.apply(t, arguments));\n      }\n      getStorage() {\n        let e = pe,\n          t = !1;\n        return this.cacheTypes.forEach(r => {\n          if (t) return !1;\n          ce.DB === r && window.indexedDB && window.indexedDB.open ? (e = be, t = !0) : ce.SESSION === r && window.sessionStorage ? (e = me, t = !0) : ce.LOCAL === r && window.localStorage ? (e = ve, t = !0) : ce.COOKIE === r && document.cookie && (e = xe, t = !0);\n        }), e;\n      }\n    }\n    class je extends te {\n      constructor(e) {\n        super(), e = e || {}, this.options = e, this.service = e.service, this.indicator = e.indicator, this.store = e.store;\n      }\n      _send(e) {\n        let t = this.getCache(e) || this.getBuffer(e);\n        return t = Promise.resolve(t).catch(t).then(t => (t || (t = this.service._send.apply(this.service, arguments), this.setBuffer(e, t)), t)), t;\n      }\n      proxyRequest(e) {\n        return e = e || {}, this.request({\n          method: e.method,\n          url: e.proxyurl,\n          headers: Object.assign({\n            proxyurl: e.url,\n            proxyheaders: JSON.stringify(e.proxyheaders || {}),\n            proxyresheaders: JSON.stringify(e.proxyresheaders || {})\n          }, e.headers || {}),\n          data: e.data,\n          complete: e.complete,\n          withCredentials: !0\n        });\n      }\n      process() {\n        return this.service.process.apply(this.service, arguments);\n      }\n      setOptions(e) {\n        this.service.setOptions(e);\n      }\n      onBeforeRequest(e) {\n        this.showIndicator();\n      }\n      onAfterRequest(e) {\n        let t = e.options || {},\n          r = t.cacheStatus = \"200\";\n        String(r).indexOf(e.status) > -1 && (t.cache && this.getStorage(t).setItem(this.getCacheKey(t), e, t.cache), t.buffer && this.getBufferStore(t).clear(this.getBufferKey(t))), this.hideIndicator();\n      }\n      showIndicator() {\n        this.options.isPreloader && this.indicator && this.indicator.show();\n      }\n      hideIndicator() {\n        this.options.isPreloader && this.indicator && this.indicator.hide();\n      }\n      getCacheKey(e) {\n        return {\n          name: \"cache\",\n          method: e.method,\n          url: e.url,\n          data: e.data\n        };\n      }\n      getCache(e) {\n        let t = null;\n        if ((e = e || {}).cache) {\n          let r = this.getCacheKey(e),\n            s = this.getStorage(e).getItem(r);\n          null != s && (t = Promise.resolve(s));\n        }\n        return t;\n      }\n      setCache(e, t) {\n        if (!(e = e || {}).cache) return !1;\n        \"object\" != typeof e.cache && (e.cache = {});\n        let r = e.cache.expires;\n        r = isNaN(r) ? 18e5 : r, r = r > 15552e6 ? 6e4 : r, this.getStorage(e).setItem(this.getCacheKey(e), t, e.cache);\n      }\n      getBufferKey(e) {\n        return {\n          name: \"buffer\",\n          method: e.method,\n          url: e.url,\n          data: e.data\n        };\n      }\n      getBuffer(e) {\n        let t = null;\n        if ((e = e || {}).buffer) {\n          let r = this.getBufferKey(e);\n          t = this.getBufferStore(e).getItem(r) || null;\n        }\n        return t;\n      }\n      setBuffer(e, t) {\n        if (!(e = e || {}).buffer) return !1;\n        \"object\" != typeof e.buffer && (e.buffer = {});\n        let r = e.buffer.expires;\n        r = isNaN(r) ? 5e3 : r, r = r > 6e4 ? 6e4 : r, this.getBufferStore(e).setItem(this.getBufferKey(e), t, e.buffer);\n      }\n      getBufferStore() {\n        return pe;\n      }\n      getStorage(e) {\n        e = Object.assign({}, {\n          cacheType: this.options.cacheType,\n          cacheTypes: this.options.cacheTypes\n        }, e || {});\n        let t = this.store,\n          r = e.cacheTypes;\n        return r = Array.isArray(r) ? r : [], e.cacheType && r.unshift(e.cacheType), r.length && (this.storeMan || (this.storeMan = new Te({\n          cacheTypes: r\n        })), t = this.storeMan), t;\n      }\n    }\n    class Ae extends te {\n      _send(t) {\n        t = e.clone(t);\n        let r = !1,\n          s = \"\";\n        if (e.isObject(t.data)) for (let e in t.data) void 0 === t.data[e] && delete t.data[e];\n        if (/get/i.test(t.method)) t.data && (t.url += \"?\" + ae.stringify(t.data)), t.data = \"\";else {\n          if (Array.isArray(t.data)) t.headers[\"Content-Type\"] = \"application/json;charset=UTF-8\";else if (e.isObject(t.data)) {\n            let r = !1;\n            for (let s in t.data) if (e.isObject(t.data[s])) {\n              r = !0;\n              break;\n            }\n            r && (t.headers[\"Content-Type\"] = \"application/json;charset=UTF-8\");\n          }\n          t.data && (s = /json/.test(t.headers[\"Content-Type\"]) ? JSON.stringify(t.data) : ae.stringify(t.data)), t.body = s;\n        }\n        let i = new Request(t.url, t);\n        return t.timeout > 50 && setTimeout(function () {\n          r = !0;\n        }, t.timeout), fetch(i).then(e => r || 200 !== e.status ? Promise.reject(e) : (\"function\" == typeof t.complete && t.complete({\n          xhr,\n          status,\n          options: t,\n          responseText\n        }), Promise.resolve(e)), e => Promise.reject(e)).then(e => requester.interceptors.response._resolve(e), e => requester.interceptors.response._reject(e));\n      }\n      getDefaults() {\n        return {\n          url: \"\",\n          method: \"POST\",\n          data: \"\",\n          mode: \"cors\",\n          redirect: \"follow\",\n          credentials: \"include\",\n          timeout: -1,\n          dataType: \"object\",\n          headers: {\n            Accept: \"application/json\",\n            \"Content-Type\": \"application/x-www-form-urlencoded;charset=UTF-8\",\n            post: {},\n            get: {},\n            put: {},\n            delete: {}\n          }\n        };\n      }\n    }\n    const Oe = new Ae();\n    class Le extends te {\n      _send(t) {\n        let r = this;\n        t = e.clone(t);\n        let s = !1,\n          i = \"\",\n          n = 0;\n        if (/get/i.test(t.method)) t.data && (t.url += \"?\" + ae.stringify(t.data)), t.data = \"\";else {\n          if (Array.isArray(t.data)) t.headers[\"Content-Type\"] = \"application/json;charset=UTF-8\";else if (e.isObject(t.data)) {\n            let r = !1;\n            for (let s in t.data) if (e.isObject(t.data[s])) {\n              r = !0;\n              break;\n            }\n            r && (t.headers[\"Content-Type\"] = \"application/json;charset=UTF-8\");\n          }\n          t.data && (i = /json/.test(t.headers[\"Content-Type\"]) ? JSON.stringify(t.data) : ae.stringify(t.data)), t.body = i;\n        }\n        return new Promise((e, i) => {\n          const o = document.createElement(\"iframe\");\n          o.name = \"iframeForm\", o.style.display = \"none\", document.body.appendChild(o), o.addEventListener(\"load\", function () {\n            if (s) return !1;\n            n = 4, status >= 200 && status < 300 ? e(r.parse(xhr.responseText, t.dataType, t.isForceParse)) : i({\n              xhr,\n              status,\n              options: t\n            }), \"function\" == typeof t.complete && t.complete({\n              xhr,\n              status,\n              options: t\n            });\n          });\n          const a = document.createElement(\"form\"),\n            l = document.createElement(\"input\");\n          if (a.method = t.method, a.action = t.url, a.target = o.name, /^get$/i.test(t.method)) t.url += \"?\" + t.params, Object.keys(t.headers).forEach(e => {\n            xhr.setRequestHeader(e, t.headers[e]);\n          });else {\n            for (let e in t.params) l.name = e, l.value = t.params[e].toString(), a.appendChild(l.cloneNode());\n            Object.keys(t.headers).forEach(e => {\n              xhr.setRequestHeader(e, t.headers[e]);\n            });\n          }\n          if (a.style.display = \"none\", document.body.appendChild(a), a.submit(), document.body.removeChild(a), t.timeout > 50) {\n            let e = setTimeout(function () {\n              4 !== n && (s = !0, clearTimeout(e)), i({\n                xhr,\n                message: \"超时\"\n              });\n            }, t.timeout);\n          }\n        });\n      }\n      getDefaults() {\n        return {\n          url: \"\",\n          method: \"POST\",\n          data: \"\",\n          timeout: -1,\n          async: !0,\n          dataType: \"object\",\n          isForceParse: !1,\n          withCredentials: !0,\n          headers: {\n            Accept: \"application/json\",\n            \"Content-Type\": \"application/x-www-form-urlencoded;charset=UTF-8\",\n            crossDomain: !0,\n            xhrFields: {\n              withCredentials: !0\n            }\n          }\n        };\n      }\n    }\n    const Pe = new Le();\n    class De extends je {\n      constructor() {\n        let {\n          isJson: e,\n          isAuth: t,\n          service: r,\n          indicator2: s,\n          store: i,\n          cacheType: n,\n          cacheTypes: o\n        } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n          isJson: !0,\n          isAuth: !0,\n          service: he,\n          indicator: oe,\n          store: pe,\n          cacheType: \"\",\n          cacheTypes: [ce.DB, ce.LOCAL, ce.SESSION, ce.MEMORY]\n        };\n        super({\n          isJson: e,\n          isAuth: t,\n          service: r,\n          indicator2: s,\n          store: i,\n          cacheType: n,\n          cacheTypes: o\n        }), e && this.setOptions({\n          headers: {\n            Accept: \"application/json\",\n            \"Content-Type\": \"application/json;charset=UTF-8\"\n          }\n        }), t && this.pipe(function (e) {\n          return e && String(e.status) >= \"400\" ? Promise.reject(e) : e;\n        });\n      }\n    }\n    const Ne = new De();\n    class Ce {\n      constructor(_ref) {\n        let {\n          application: e\n        } = _ref;\n        this.application = e;\n      }\n      solveAPI(e) {\n        return e;\n      }\n      solvePaths(e, t) {\n        return Object.keys(e).forEach(r => {\n          let s = e[r].url,\n            i = (t = t || (this.application || {}).mode || {}).rules || [],\n            n = this.solveRules(s, i);\n          n = this.prettyUrl(n), e[r].url = n;\n        }), e;\n      }\n      solveRules(e, t) {\n        return \"string\" != typeof e || (t = Array.isArray(t) ? t : [t]).forEach(t => {\n          if (t && t.rule) {\n            let r = new RegExp(\"{*\\\\s*\" + t.rule + \"\\\\s*}*\", \"ig\");\n            e = e.replace(r, t.url || \"\"), e = this.prettyUrl(e);\n          }\n        }), e;\n      }\n      prettyUrl(e) {\n        return \"string\" != typeof e ? e : e.replace(/([^:])\\/\\//g, \"$1/\");\n      }\n      solvePath(e, t) {\n        let r = (t = t || (this.application || {}).mode || {}).rules || [],\n          s = this.solveRules(e, r);\n        return s = this.prettyUrl(s), s;\n      }\n      resolve(e) {\n        return e;\n      }\n    }\n    const Ie = new Ce({\n        application: window.application\n      }),\n      Re = {\n        idKey: \"id\",\n        pidKey: \"pid\",\n        childrenKey: \"children\",\n        resetKey() {\n          this.idKey = \"id\", this.pidKey = \"pid\";\n        },\n        arrayToTree(e, t, r, s) {\n          let i = [];\n          if (t = t || this.idKey, r = r || this.pidKey, s = s || this.childrenKey, !Array.isArray(e)) return i;\n          e.forEach(e => {\n            delete e[s];\n          });\n          let n = {};\n          return e.forEach(e => {\n            n[e[t]] = e;\n          }), e.forEach(e => {\n            let t = n[e[r]];\n            t && e !== t ? (t[s] || (t[s] = [])).push(e) : i.push(e);\n          }), i;\n        },\n        treeToArray(e, t) {\n          return t = t || this.childrenKey, function e(r, s) {\n            return (r = Array.isArray(r) ? r : []).forEach(r => {\n              let i = r[t];\n              delete r[t], s.push(r), e(i, s);\n            }), s;\n          }(e, []);\n        },\n        getShowRows(e, t, r, s, i, n) {\n          i = i || this.idKey, n = n || this.childrenKey;\n          let o = t;\n          return !0 !== s && (o = this.arrayToTree(t)), r = r || [], o.forEach(t => {\n            let s = !1;\n            e.forEach(e => {\n              if (t[i] === e[i]) return s = !0, !1;\n            }), s && t[n] && (t[n].forEach(e => {\n              r.push({\n                isShow: !0,\n                data: e\n              });\n            }), this.getShowRows(e, t[n], r, !0));\n          }), r;\n        },\n        getParentNode(e, t, r, s, i) {\n          e = e || {};\n          let n = null;\n          return r = r || this.idKey, s = s || this.pidKey, i = i || this.childrenKey, function t(o) {\n            o = Array.isArray(o) ? o : [];\n            for (let a = 0; a < o.length; a++) {\n              let l = o[a];\n              if (n || e[s] === l[r]) {\n                n = l;\n                break;\n              }\n              l && l[i] && t(l[i]);\n            }\n          }(t), n;\n        },\n        forEach(e, t, r, s) {\n          e = Array.isArray(e) ? e : [], s = s || 0;\n          let i = \"function\" == typeof t;\n          return r = r || this.childrenKey, i ? (e.forEach(e => {\n            t(e, s), Array.isArray(e[r]) && this.forEach(e[r], t, r, s + 1);\n          }), e) : e;\n        },\n        map(e, t, r, s) {\n          e = Array.isArray(e) ? e : [], s = s || 0;\n          let i = \"function\" == typeof t;\n          return r = r || this.childrenKey, i ? e = e.map(e => {\n            let i = t(e, s);\n            return i && Array.isArray(e[r]) && (i[r] = this.map(e[r], t, r, s)), i;\n          }) : e;\n        },\n        filter(e, t, r, s) {\n          e = Array.isArray(e) ? e : [], s = s || 0;\n          let i = \"function\" == typeof t;\n          return r = r || this.childrenKey, i ? e = e.filter(e => {\n            let i = t(e, s);\n            return i && e && Array.isArray(e[r]) && (e[r] = this.filter(e[r], t, r, s)), i;\n          }) : e;\n        }\n      };\n    class Me {\n      constructor(e) {\n        this.reset(e);\n      }\n      reset(e) {\n        e = e || this.options || {}, this.options = e || {};\n        let t = isNaN(e.waitTime) ? 300 : e.waitTime;\n        t = t < 100 ? 100 : t, this.options.waitTime = t;\n        let r = isNaN(e.times) ? 3 : e.times;\n        r = r < 1 ? 1 : r, this.options.times = r, this.lastTime = new Date().getTime(), this.count = 0;\n      }\n      trigger(e) {\n        let t = this.options.times;\n        new Date().getTime() - this.lastTime < this.options.waitTime ? this.count += 1 : this.count = 0, this.lastTime = new Date().getTime(), this.count >= t && (this.reset(), \"function\" == typeof e && e(), this.reset());\n      }\n    }\n    class Fe {\n      constructor(e) {\n        this.reset(e);\n      }\n      reset(e) {\n        e = e || this.options || {}, this.options = e || {};\n        let t = isNaN(e.unitTime) ? 100 : e.unitTime;\n        t = t < 20 ? 20 : t, this.options.unitTime = t;\n        let r = isNaN(e.maxTimes) ? 100 : e.maxTimes;\n        return r = r < 1 ? 1 : r, this.options.maxTimes = r, this.count = 0, this;\n      }\n      trigger(e, t) {\n        this.run(e, t), setTimeout(() => {\n          if (this.count >= this.options.maxTimes) return this.reset(e, t), !0;\n          this.trigger(e, t);\n        }, this.options.unitTime);\n      }\n      run(e, t) {\n        e = \"function\" == typeof e ? e : function () {}, t = \"function\" == typeof t ? t : function () {};\n        let r = null;\n        this.count += 1;\n        try {\n          r = e();\n        } catch (e) {\n          r = e;\n        }\n        if (!0 === r) {\n          this.count = this.options.maxTimes;\n          try {\n            t();\n          } catch (e) {\n            r = e;\n          }\n        }\n        return this;\n      }\n    }\n    const qe = {},\n      Be = {\n        objecter: e,\n        arrayer: t,\n        filer: D,\n        imager: R,\n        agenter: r,\n        browser: u,\n        coder: y,\n        DEnum: E.YU,\n        OptionEnum: E.L8,\n        collider: m,\n        datar: S,\n        dater: v,\n        dber: b,\n        DBer: w,\n        domer: x,\n        Drager: j,\n        eventMode: L,\n        mode_mobile: A,\n        mode_pc: O,\n        exceler: P,\n        funcer: N,\n        keycoder: M,\n        layer: F,\n        loger: q,\n        noticer: B,\n        apiMonitor: _,\n        ApiMonitor: U,\n        errorMonitor: $,\n        ErrorMonitor: K,\n        performanceMonitor: J,\n        PerformanceMonitor: X,\n        numer: Y,\n        Pager: V,\n        PAGER_CONSTANT: Z,\n        STATUS: z.Z,\n        Piper: G,\n        server: ge,\n        Server: fe,\n        StoreMan: Te,\n        Store: de,\n        storeMemory: pe,\n        StoreMemory: ue,\n        storeSession: me,\n        StoreSession: ye,\n        storeLocal: ve,\n        StoreLocal: Se,\n        storeDB: be,\n        StoreDB: we,\n        storeCookie: xe,\n        StoreCookie: Ee,\n        CACHE_TYPE: ce,\n        Service: te,\n        DataService: je,\n        ajaxService: he,\n        AjaxService: le,\n        fetchService: Oe,\n        FetchService: Ae,\n        formService: Pe,\n        FormService: Le,\n        parser: ee,\n        ds: Ne,\n        DS: De,\n        resolver: Ie,\n        Resolver: Ce,\n        strer: p,\n        treer: Re,\n        timer: qe,\n        TimesTrigger: Me,\n        LoopTrigger: Fe,\n        urler: ae\n      };\n  })(), i;\n})());\n\n//# sourceURL=webpack://dtools/./node_modules/@daelui/dogjs/dist/components.js?");

/***/ }),

/***/ "./node_modules/@daelui/pigjs/dist/index.js":
/*!**************************************************!*\
  !*** ./node_modules/@daelui/pigjs/dist/index.js ***!
  \**************************************************/
/***/ (function(module) {

eval("function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return typeof key === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (typeof input !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (typeof res !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n!function (e, t) {\n  if (true) module.exports = t();else { var o, r; }\n}(this, () => (() => {\n  \"use strict\";\n\n  var e = {\n    d: (t, r) => {\n      for (var o in r) e.o(r, o) && !e.o(t, o) && Object.defineProperty(t, o, {\n        enumerable: !0,\n        get: r[o]\n      });\n    }\n  };\n  e.g = function () {\n    if (\"object\" == typeof globalThis) return globalThis;\n    try {\n      return this || new Function(\"return this\")();\n    } catch (e) {\n      if (\"object\" == typeof window) return window;\n    }\n  }(), e.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t), e.r = e => {\n    \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n      value: \"Module\"\n    }), Object.defineProperty(e, \"__esModule\", {\n      value: !0\n    });\n  };\n  var t = {};\n  e.r(t), e.d(t, {\n    ModuleLoader: () => i,\n    default: () => s,\n    pig: () => n\n  });\n  class r {\n    constructor() {\n      this._$events = {};\n    }\n    $on(e, t) {\n      if (\"function\" != typeof t) throw new TypeError('Second argument for \"on\" method must be a function.');\n      return (this._$events[e] = this._$events[e] || []).push(t), this;\n    }\n    $once(e, t) {\n      return t._one = !0, this.$on(e, t);\n    }\n    $only(e, t) {\n      return this._$events[e] = [], this.$on(e, t);\n    }\n    $emit(e, t) {\n      let r = this._$events;\n      if (!r[e] || !r[e].length) return this;\n      t = [].slice.call(arguments, 1);\n      let o = [];\n      return r[e].forEach(function (n, s) {\n        n && (o.push(n.apply(n, t)), n._one && r[e].splice(s, 1));\n      }), o;\n    }\n    $off(e, t) {\n      let r = this._$events;\n      if (\"*\" === e) return this._$events = {}, r;\n      if (!r[e]) return !1;\n      if (t) {\n        if (\"function\" != typeof t) throw new TypeError('Second argument for \"off\" method must be a function.');\n        r[e] = r[e].map(function (o, n) {\n          if (o === t) return r[e].splice(n, 1), !1;\n        });\n      } else delete r[e];\n    }\n  }\n  const o = \"undefined\" != typeof self ? self : e.g;\n  class n extends r {}\n  n.init = function (e) {\n    if (e = e || {}, this.options = e, o.SystemLoader) this.loadRegistry(), this.defer = Promise.resolve(!0);else {\n      if (this.defer) return this.defer;\n      this.defer = this.loadRegistry().then(() => {\n        let t = this.loadSource(_objectSpread({\n          path: \"system/system.min.js\"\n        }, e));\n        return t.then(() => {\n          this.registryComponents();\n        }), t;\n      });\n    }\n    return this.defer;\n  }, n.config = function (e) {\n    e = e || {}, this.options = e;\n  }, n.loadRegistry = async function () {\n    if (this.isRegisted) return !0;\n    this.isRegisted = !0;\n    let e = [];\n    await fetch(this.options.registry).then(async t => {\n      e = await t.json();\n    }), e = Array.isArray(e) ? e : [], this.registryMap = e;\n  }, n.registryComponents = function (e) {\n    e = e || this.registryMap, e = Array.isArray(e) ? e : [];\n    let t = this.options || {};\n    const r = t.root || t.baseUrl;\n    let o = t.versions;\n    o = Array.isArray(o) ? o : [];\n    let n = new Map();\n    (e = e.sort((e, t) => (e = Number(\"0.\" + String(e.version).split(\".\").join(\"\"))) > (t = Number(\"0.\" + String(t.version).split(\".\").join(\"\"))) ? -1 : e < t ? 1 : 0)).forEach(e => {\n      let t = n.get(e.name);\n      t || (n.set(e.name, []), t = n.get(e.name)), t.push(e);\n    });\n    let s = {},\n      i = {};\n    Array.from(n.keys()).forEach(e => {\n      let t = n.get(e),\n        a = t[0],\n        c = o.find(e => e.name === a.name);\n      if (c && c.version) {\n        let e = t.map((e, t) => {\n          let r = String(e.version || \"\");\n          r = r.split(\".\").map(e => parseInt(e));\n          let o = String(c.version || \"\");\n          o = o.split(\".\");\n          let n = 1;\n          return \"*\" !== o[0] && (o[0] = parseInt(o[0]) || 0, n += 1e11 + (r[0] === o[0] ? 1e11 : r[0] - o[0]), \"*\" !== o[1] && (o[1] = parseInt(o[1]) || 0, n += 1e9 + (r[1] === o[1] ? 1e9 : r[1] - o[1]), \"*\" !== o[2] && (o[2] = parseInt(o[2]) || 0, n += 1e7 + (r[2] === o[2] ? 1e7 : r[2] - o[2])))), {\n            i: t,\n            count: n\n          };\n        });\n        e = e.sort((e, t) => e.count > t.count ? -1 : e.count < t.count ? 1 : 0), a = t[e[0].i];\n      }\n      let p = /^(https?:)?\\/\\//.test(a.path) ? a.path : (a.root || a.baseUrl || r) + \"/\" + a.path;\n      p = /^\\/\\//i.test(p) ? location.protocol + p : p, s[a.name] = p, Array.isArray(a.deps) && a.deps.length && (a.deps = a.deps.filter(e => \"string\" == typeof e), i[p] = a.deps);\n    }), this.register({\n      map: s,\n      deps: i\n    });\n  }, n.loadSource = function (e) {\n    \"string\" == typeof e && (e = {\n      path: e\n    }), e = e || {};\n    const t = (e = _objectSpread(_objectSpread({}, this.options), e)).root || location.origin;\n    e.root = t;\n    const r = e.path || \"\";\n    return e.path = r, this.options = e, new Promise((e, o) => {\n      this.loadScript(t + \"/\" + r, t => {\n        t ? e(this.options) : o(this.options);\n      });\n    });\n  }, n.loadScript = function (e, t) {\n    var r = document.createElement(\"script\");\n    r.setAttribute(\"defer\", !0), r.setAttribute(\"async\", !0), \"onload\" in r ? (r.onload = t, r.onerror = function () {\n      t(!1, this.options);\n    }) : r.onreadystatechange = function () {\n      (/loaded|complete/i.test(r.readyState) || r.complete) && t(!0, this.options);\n    }, r.setAttribute(\"src\", e), this.getHead().appendChild(r);\n  }, n.loadStyle = function (e, t) {\n    var r = document.createElement(\"link\");\n    r.setAttribute(\"rel\", \"stylesheet\"), r.setAttribute(\"type\", \"text/css\"), \"onload\" in r ? (r.onload = t, r.onerror = function () {\n      t(!1);\n    }) : r.onreadystatechange = function () {\n      (/loaded|complete/i.test(r.readyState) || r.complete) && t();\n    }, r.setAttribute(\"href\", e), this.getHead().appendChild(r);\n  }, n.getHead = function () {\n    return document.head || document.getElementsByTagName(\"head\")[0] || document.documentElement;\n  }, n.import = function () {\n    return o.SystemLoader ? o.SystemLoader.import.apply(SystemLoader, arguments) : Promise.resolve({\n      msg: \"no loader\"\n    });\n  }, n.register = function (e) {\n    SystemLoader.addImportMap({\n      imports: e.map,\n      depcache: e.deps\n    });\n  }, n._register = function (e) {\n    const t = {};\n    Object.keys(e).forEach(r => {\n      t[r] = e[r];\n    });\n    const r = document.createElement(\"script\");\n    return r.type = \"systemjs-importmap\", r.textContent = JSON.stringify({\n      imports: t\n    }, null, 3), document.head.appendChild(r), SystemLoader.prepareImport().then(() => {\n      const t = this.getBaseUrl();\n      return Object.keys(e).forEach(r => {\n        SystemLoader.set((t + \"/\").replace(/\\/+$/, \"/\") + r, e[r]);\n      }), this;\n    });\n  }, n.load = function (e) {\n    return SystemLoader.import(e);\n  }, n.getBaseUrl = function () {\n    let e;\n    const t = document.querySelector(\"base[href]\");\n    if (t && (e = t.href), !e && \"undefined\" != typeof location) {\n      e = location.href.split(\"#\")[0].split(\"?\")[0];\n      const t = e.lastIndexOf(\"/\");\n      -1 !== t && (e = e.slice(0, t + 1));\n    }\n    return e;\n  }, n = o.$pig && o.$pig.import ? o.$pig : n, o.$pig = n;\n  const s = n;\n  class i {\n    register(e) {\n      const t = {};\n      Object.keys(e).forEach(e => {\n        t[e] = e;\n      });\n      const r = document.createElement(\"script\");\n      return r.type = \"systemjs-importmap\", r.textContent = JSON.stringify({\n        imports: t\n      }, null, 3), document.head.appendChild(r), SystemLoader.prepareImport().then(() => {\n        const t = this.getBaseUrl();\n        return Object.keys(e).forEach(r => {\n          SystemLoader.set((t + \"/\").replace(/\\/+$/, \"/\") + r, e[r]);\n        }), this;\n      });\n    }\n    load(e) {\n      return SystemLoader.import(e);\n    }\n    getBaseUrl() {\n      let e;\n      const t = document.querySelector(\"base[href]\");\n      if (t && (e = t.href), !e && \"undefined\" != typeof location) {\n        e = location.href.split(\"#\")[0].split(\"?\")[0];\n        const t = e.lastIndexOf(\"/\");\n        -1 !== t && (e = e.slice(0, t + 1));\n      }\n      return e;\n    }\n  }\n  return t;\n})());\n\n//# sourceURL=webpack://dtools/./node_modules/@daelui/pigjs/dist/index.js?");

/***/ }),

/***/ "./node_modules/html2canvas/dist/html2canvas.js":
/*!******************************************************!*\
  !*** ./node_modules/html2canvas/dist/html2canvas.js ***!
  \******************************************************/
/***/ (function(module) {

eval("/*!\n * html2canvas 1.4.1 <https://html2canvas.hertzen.com>\n * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>\n * Released under MIT License\n */\n(function (global, factory) {\n   true ? module.exports = factory() : 0;\n})(this, function () {\n  'use strict';\n\n  /*! *****************************************************************************\r\n  Copyright (c) Microsoft Corporation.\r\n    Permission to use, copy, modify, and/or distribute this software for any\r\n  purpose with or without fee is hereby granted.\r\n    THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\n  REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\n  AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\n  INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\n  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\n  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\n  PERFORMANCE OF THIS SOFTWARE.\r\n  ***************************************************************************** */\n  /* global Reflect, Promise */\n  var _extendStatics = function extendStatics(d, b) {\n    _extendStatics = Object.setPrototypeOf || {\n      __proto__: []\n    } instanceof Array && function (d, b) {\n      d.__proto__ = b;\n    } || function (d, b) {\n      for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n    };\n    return _extendStatics(d, b);\n  };\n  function __extends(d, b) {\n    if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n    _extendStatics(d, b);\n    function __() {\n      this.constructor = d;\n    }\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n  }\n  var _assign = function __assign() {\n    _assign = Object.assign || function __assign(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)) t[p] = s[p];\n      }\n      return t;\n    };\n    return _assign.apply(this, arguments);\n  };\n  function __awaiter(thisArg, _arguments, P, generator) {\n    function adopt(value) {\n      return value instanceof P ? value : new P(function (resolve) {\n        resolve(value);\n      });\n    }\n    return new (P || (P = Promise))(function (resolve, reject) {\n      function fulfilled(value) {\n        try {\n          step(generator.next(value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function rejected(value) {\n        try {\n          step(generator[\"throw\"](value));\n        } catch (e) {\n          reject(e);\n        }\n      }\n      function step(result) {\n        result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n      }\n      step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n  }\n  function __generator(thisArg, body) {\n    var _ = {\n        label: 0,\n        sent: function sent() {\n          if (t[0] & 1) throw t[1];\n          return t[1];\n        },\n        trys: [],\n        ops: []\n      },\n      f,\n      y,\n      t,\n      g;\n    return g = {\n      next: verb(0),\n      \"throw\": verb(1),\n      \"return\": verb(2)\n    }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n      return this;\n    }), g;\n    function verb(n) {\n      return function (v) {\n        return step([n, v]);\n      };\n    }\n    function step(op) {\n      if (f) throw new TypeError(\"Generator is already executing.\");\n      while (_) try {\n        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n        if (y = 0, t) op = [op[0] & 2, t.value];\n        switch (op[0]) {\n          case 0:\n          case 1:\n            t = op;\n            break;\n          case 4:\n            _.label++;\n            return {\n              value: op[1],\n              done: false\n            };\n          case 5:\n            _.label++;\n            y = op[1];\n            op = [0];\n            continue;\n          case 7:\n            op = _.ops.pop();\n            _.trys.pop();\n            continue;\n          default:\n            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n              _ = 0;\n              continue;\n            }\n            if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n              _.label = op[1];\n              break;\n            }\n            if (op[0] === 6 && _.label < t[1]) {\n              _.label = t[1];\n              t = op;\n              break;\n            }\n            if (t && _.label < t[2]) {\n              _.label = t[2];\n              _.ops.push(op);\n              break;\n            }\n            if (t[2]) _.ops.pop();\n            _.trys.pop();\n            continue;\n        }\n        op = body.call(thisArg, _);\n      } catch (e) {\n        op = [6, e];\n        y = 0;\n      } finally {\n        f = t = 0;\n      }\n      if (op[0] & 5) throw op[1];\n      return {\n        value: op[0] ? op[1] : void 0,\n        done: true\n      };\n    }\n  }\n  function __spreadArray(to, from, pack) {\n    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n      if (ar || !(i in from)) {\n        if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n        ar[i] = from[i];\n      }\n    }\n    return to.concat(ar || from);\n  }\n  var Bounds = /** @class */function () {\n    function Bounds(left, top, width, height) {\n      this.left = left;\n      this.top = top;\n      this.width = width;\n      this.height = height;\n    }\n    Bounds.prototype.add = function (x, y, w, h) {\n      return new Bounds(this.left + x, this.top + y, this.width + w, this.height + h);\n    };\n    Bounds.fromClientRect = function (context, clientRect) {\n      return new Bounds(clientRect.left + context.windowBounds.left, clientRect.top + context.windowBounds.top, clientRect.width, clientRect.height);\n    };\n    Bounds.fromDOMRectList = function (context, domRectList) {\n      var domRect = Array.from(domRectList).find(function (rect) {\n        return rect.width !== 0;\n      });\n      return domRect ? new Bounds(domRect.left + context.windowBounds.left, domRect.top + context.windowBounds.top, domRect.width, domRect.height) : Bounds.EMPTY;\n    };\n    Bounds.EMPTY = new Bounds(0, 0, 0, 0);\n    return Bounds;\n  }();\n  var parseBounds = function parseBounds(context, node) {\n    return Bounds.fromClientRect(context, node.getBoundingClientRect());\n  };\n  var parseDocumentSize = function parseDocumentSize(document) {\n    var body = document.body;\n    var documentElement = document.documentElement;\n    if (!body || !documentElement) {\n      throw new Error(\"Unable to get document size\");\n    }\n    var width = Math.max(Math.max(body.scrollWidth, documentElement.scrollWidth), Math.max(body.offsetWidth, documentElement.offsetWidth), Math.max(body.clientWidth, documentElement.clientWidth));\n    var height = Math.max(Math.max(body.scrollHeight, documentElement.scrollHeight), Math.max(body.offsetHeight, documentElement.offsetHeight), Math.max(body.clientHeight, documentElement.clientHeight));\n    return new Bounds(0, 0, width, height);\n  };\n\n  /*\n   * css-line-break 2.1.0 <https://github.com/niklasvh/css-line-break#readme>\n   * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>\n   * Released under MIT License\n   */\n  var toCodePoints$1 = function toCodePoints$1(str) {\n    var codePoints = [];\n    var i = 0;\n    var length = str.length;\n    while (i < length) {\n      var value = str.charCodeAt(i++);\n      if (value >= 0xd800 && value <= 0xdbff && i < length) {\n        var extra = str.charCodeAt(i++);\n        if ((extra & 0xfc00) === 0xdc00) {\n          codePoints.push(((value & 0x3ff) << 10) + (extra & 0x3ff) + 0x10000);\n        } else {\n          codePoints.push(value);\n          i--;\n        }\n      } else {\n        codePoints.push(value);\n      }\n    }\n    return codePoints;\n  };\n  var fromCodePoint$1 = function fromCodePoint$1() {\n    var codePoints = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n      codePoints[_i] = arguments[_i];\n    }\n    if (String.fromCodePoint) {\n      return String.fromCodePoint.apply(String, codePoints);\n    }\n    var length = codePoints.length;\n    if (!length) {\n      return '';\n    }\n    var codeUnits = [];\n    var index = -1;\n    var result = '';\n    while (++index < length) {\n      var codePoint = codePoints[index];\n      if (codePoint <= 0xffff) {\n        codeUnits.push(codePoint);\n      } else {\n        codePoint -= 0x10000;\n        codeUnits.push((codePoint >> 10) + 0xd800, codePoint % 0x400 + 0xdc00);\n      }\n      if (index + 1 === length || codeUnits.length > 0x4000) {\n        result += String.fromCharCode.apply(String, codeUnits);\n        codeUnits.length = 0;\n      }\n    }\n    return result;\n  };\n  var chars$2 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n  // Use a lookup table to find the index.\n  var lookup$2 = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\n  for (var i$2 = 0; i$2 < chars$2.length; i$2++) {\n    lookup$2[chars$2.charCodeAt(i$2)] = i$2;\n  }\n\n  /*\n   * utrie 1.0.2 <https://github.com/niklasvh/utrie>\n   * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>\n   * Released under MIT License\n   */\n  var chars$1$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n  // Use a lookup table to find the index.\n  var lookup$1$1 = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\n  for (var i$1$1 = 0; i$1$1 < chars$1$1.length; i$1$1++) {\n    lookup$1$1[chars$1$1.charCodeAt(i$1$1)] = i$1$1;\n  }\n  var decode$1 = function decode$1(base64) {\n    var bufferLength = base64.length * 0.75,\n      len = base64.length,\n      i,\n      p = 0,\n      encoded1,\n      encoded2,\n      encoded3,\n      encoded4;\n    if (base64[base64.length - 1] === '=') {\n      bufferLength--;\n      if (base64[base64.length - 2] === '=') {\n        bufferLength--;\n      }\n    }\n    var buffer = typeof ArrayBuffer !== 'undefined' && typeof Uint8Array !== 'undefined' && typeof Uint8Array.prototype.slice !== 'undefined' ? new ArrayBuffer(bufferLength) : new Array(bufferLength);\n    var bytes = Array.isArray(buffer) ? buffer : new Uint8Array(buffer);\n    for (i = 0; i < len; i += 4) {\n      encoded1 = lookup$1$1[base64.charCodeAt(i)];\n      encoded2 = lookup$1$1[base64.charCodeAt(i + 1)];\n      encoded3 = lookup$1$1[base64.charCodeAt(i + 2)];\n      encoded4 = lookup$1$1[base64.charCodeAt(i + 3)];\n      bytes[p++] = encoded1 << 2 | encoded2 >> 4;\n      bytes[p++] = (encoded2 & 15) << 4 | encoded3 >> 2;\n      bytes[p++] = (encoded3 & 3) << 6 | encoded4 & 63;\n    }\n    return buffer;\n  };\n  var polyUint16Array$1 = function polyUint16Array$1(buffer) {\n    var length = buffer.length;\n    var bytes = [];\n    for (var i = 0; i < length; i += 2) {\n      bytes.push(buffer[i + 1] << 8 | buffer[i]);\n    }\n    return bytes;\n  };\n  var polyUint32Array$1 = function polyUint32Array$1(buffer) {\n    var length = buffer.length;\n    var bytes = [];\n    for (var i = 0; i < length; i += 4) {\n      bytes.push(buffer[i + 3] << 24 | buffer[i + 2] << 16 | buffer[i + 1] << 8 | buffer[i]);\n    }\n    return bytes;\n  };\n\n  /** Shift size for getting the index-2 table offset. */\n  var UTRIE2_SHIFT_2$1 = 5;\n  /** Shift size for getting the index-1 table offset. */\n  var UTRIE2_SHIFT_1$1 = 6 + 5;\n  /**\n   * Shift size for shifting left the index array values.\n   * Increases possible data size with 16-bit index values at the cost\n   * of compactability.\n   * This requires data blocks to be aligned by UTRIE2_DATA_GRANULARITY.\n   */\n  var UTRIE2_INDEX_SHIFT$1 = 2;\n  /**\n   * Difference between the two shift sizes,\n   * for getting an index-1 offset from an index-2 offset. 6=11-5\n   */\n  var UTRIE2_SHIFT_1_2$1 = UTRIE2_SHIFT_1$1 - UTRIE2_SHIFT_2$1;\n  /**\n   * The part of the index-2 table for U+D800..U+DBFF stores values for\n   * lead surrogate code _units_ not code _points_.\n   * Values for lead surrogate code _points_ are indexed with this portion of the table.\n   * Length=32=0x20=0x400>>UTRIE2_SHIFT_2. (There are 1024=0x400 lead surrogates.)\n   */\n  var UTRIE2_LSCP_INDEX_2_OFFSET$1 = 0x10000 >> UTRIE2_SHIFT_2$1;\n  /** Number of entries in a data block. 32=0x20 */\n  var UTRIE2_DATA_BLOCK_LENGTH$1 = 1 << UTRIE2_SHIFT_2$1;\n  /** Mask for getting the lower bits for the in-data-block offset. */\n  var UTRIE2_DATA_MASK$1 = UTRIE2_DATA_BLOCK_LENGTH$1 - 1;\n  var UTRIE2_LSCP_INDEX_2_LENGTH$1 = 0x400 >> UTRIE2_SHIFT_2$1;\n  /** Count the lengths of both BMP pieces. 2080=0x820 */\n  var UTRIE2_INDEX_2_BMP_LENGTH$1 = UTRIE2_LSCP_INDEX_2_OFFSET$1 + UTRIE2_LSCP_INDEX_2_LENGTH$1;\n  /**\n   * The 2-byte UTF-8 version of the index-2 table follows at offset 2080=0x820.\n   * Length 32=0x20 for lead bytes C0..DF, regardless of UTRIE2_SHIFT_2.\n   */\n  var UTRIE2_UTF8_2B_INDEX_2_OFFSET$1 = UTRIE2_INDEX_2_BMP_LENGTH$1;\n  var UTRIE2_UTF8_2B_INDEX_2_LENGTH$1 = 0x800 >> 6; /* U+0800 is the first code point after 2-byte UTF-8 */\n  /**\n   * The index-1 table, only used for supplementary code points, at offset 2112=0x840.\n   * Variable length, for code points up to highStart, where the last single-value range starts.\n   * Maximum length 512=0x200=0x100000>>UTRIE2_SHIFT_1.\n   * (For 0x100000 supplementary code points U+10000..U+10ffff.)\n   *\n   * The part of the index-2 table for supplementary code points starts\n   * after this index-1 table.\n   *\n   * Both the index-1 table and the following part of the index-2 table\n   * are omitted completely if there is only BMP data.\n   */\n  var UTRIE2_INDEX_1_OFFSET$1 = UTRIE2_UTF8_2B_INDEX_2_OFFSET$1 + UTRIE2_UTF8_2B_INDEX_2_LENGTH$1;\n  /**\n   * Number of index-1 entries for the BMP. 32=0x20\n   * This part of the index-1 table is omitted from the serialized form.\n   */\n  var UTRIE2_OMITTED_BMP_INDEX_1_LENGTH$1 = 0x10000 >> UTRIE2_SHIFT_1$1;\n  /** Number of entries in an index-2 block. 64=0x40 */\n  var UTRIE2_INDEX_2_BLOCK_LENGTH$1 = 1 << UTRIE2_SHIFT_1_2$1;\n  /** Mask for getting the lower bits for the in-index-2-block offset. */\n  var UTRIE2_INDEX_2_MASK$1 = UTRIE2_INDEX_2_BLOCK_LENGTH$1 - 1;\n  var slice16$1 = function slice16$1(view, start, end) {\n    if (view.slice) {\n      return view.slice(start, end);\n    }\n    return new Uint16Array(Array.prototype.slice.call(view, start, end));\n  };\n  var slice32$1 = function slice32$1(view, start, end) {\n    if (view.slice) {\n      return view.slice(start, end);\n    }\n    return new Uint32Array(Array.prototype.slice.call(view, start, end));\n  };\n  var createTrieFromBase64$1 = function createTrieFromBase64$1(base64, _byteLength) {\n    var buffer = decode$1(base64);\n    var view32 = Array.isArray(buffer) ? polyUint32Array$1(buffer) : new Uint32Array(buffer);\n    var view16 = Array.isArray(buffer) ? polyUint16Array$1(buffer) : new Uint16Array(buffer);\n    var headerLength = 24;\n    var index = slice16$1(view16, headerLength / 2, view32[4] / 2);\n    var data = view32[5] === 2 ? slice16$1(view16, (headerLength + view32[4]) / 2) : slice32$1(view32, Math.ceil((headerLength + view32[4]) / 4));\n    return new Trie$1(view32[0], view32[1], view32[2], view32[3], index, data);\n  };\n  var Trie$1 = /** @class */function () {\n    function Trie(initialValue, errorValue, highStart, highValueIndex, index, data) {\n      this.initialValue = initialValue;\n      this.errorValue = errorValue;\n      this.highStart = highStart;\n      this.highValueIndex = highValueIndex;\n      this.index = index;\n      this.data = data;\n    }\n    /**\n     * Get the value for a code point as stored in the Trie.\n     *\n     * @param codePoint the code point\n     * @return the value\n     */\n    Trie.prototype.get = function (codePoint) {\n      var ix;\n      if (codePoint >= 0) {\n        if (codePoint < 0x0d800 || codePoint > 0x0dbff && codePoint <= 0x0ffff) {\n          // Ordinary BMP code point, excluding leading surrogates.\n          // BMP uses a single level lookup.  BMP index starts at offset 0 in the Trie2 index.\n          // 16 bit data is stored in the index array itself.\n          ix = this.index[codePoint >> UTRIE2_SHIFT_2$1];\n          ix = (ix << UTRIE2_INDEX_SHIFT$1) + (codePoint & UTRIE2_DATA_MASK$1);\n          return this.data[ix];\n        }\n        if (codePoint <= 0xffff) {\n          // Lead Surrogate Code Point.  A Separate index section is stored for\n          // lead surrogate code units and code points.\n          //   The main index has the code unit data.\n          //   For this function, we need the code point data.\n          // Note: this expression could be refactored for slightly improved efficiency, but\n          //       surrogate code points will be so rare in practice that it's not worth it.\n          ix = this.index[UTRIE2_LSCP_INDEX_2_OFFSET$1 + (codePoint - 0xd800 >> UTRIE2_SHIFT_2$1)];\n          ix = (ix << UTRIE2_INDEX_SHIFT$1) + (codePoint & UTRIE2_DATA_MASK$1);\n          return this.data[ix];\n        }\n        if (codePoint < this.highStart) {\n          // Supplemental code point, use two-level lookup.\n          ix = UTRIE2_INDEX_1_OFFSET$1 - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH$1 + (codePoint >> UTRIE2_SHIFT_1$1);\n          ix = this.index[ix];\n          ix += codePoint >> UTRIE2_SHIFT_2$1 & UTRIE2_INDEX_2_MASK$1;\n          ix = this.index[ix];\n          ix = (ix << UTRIE2_INDEX_SHIFT$1) + (codePoint & UTRIE2_DATA_MASK$1);\n          return this.data[ix];\n        }\n        if (codePoint <= 0x10ffff) {\n          return this.data[this.highValueIndex];\n        }\n      }\n      // Fall through.  The code point is outside of the legal range of 0..0x10ffff.\n      return this.errorValue;\n    };\n    return Trie;\n  }();\n\n  /*\n   * base64-arraybuffer 1.0.2 <https://github.com/niklasvh/base64-arraybuffer>\n   * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>\n   * Released under MIT License\n   */\n  var chars$3 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n  // Use a lookup table to find the index.\n  var lookup$3 = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\n  for (var i$3 = 0; i$3 < chars$3.length; i$3++) {\n    lookup$3[chars$3.charCodeAt(i$3)] = i$3;\n  }\n  var base64$1 = ' ';\n  var LETTER_NUMBER_MODIFIER = 50;\n  // Non-tailorable Line Breaking Classes\n  var BK = 1; //  Cause a line break (after)\n  var CR$1 = 2; //  Cause a line break (after), except between CR and LF\n  var LF$1 = 3; //  Cause a line break (after)\n  var CM = 4; //  Prohibit a line break between the character and the preceding character\n  var NL = 5; //  Cause a line break (after)\n  var WJ = 7; //  Prohibit line breaks before and after\n  var ZW = 8; //  Provide a break opportunity\n  var GL = 9; //  Prohibit line breaks before and after\n  var SP = 10; // Enable indirect line breaks\n  var ZWJ$1 = 11; // Prohibit line breaks within joiner sequences\n  // Break Opportunities\n  var B2 = 12; //  Provide a line break opportunity before and after the character\n  var BA = 13; //  Generally provide a line break opportunity after the character\n  var BB = 14; //  Generally provide a line break opportunity before the character\n  var HY = 15; //  Provide a line break opportunity after the character, except in numeric context\n  var CB = 16; //   Provide a line break opportunity contingent on additional information\n  // Characters Prohibiting Certain Breaks\n  var CL = 17; //  Prohibit line breaks before\n  var CP = 18; //  Prohibit line breaks before\n  var EX = 19; //  Prohibit line breaks before\n  var IN = 20; //  Allow only indirect line breaks between pairs\n  var NS = 21; //  Allow only indirect line breaks before\n  var OP = 22; //  Prohibit line breaks after\n  var QU = 23; //  Act like they are both opening and closing\n  // Numeric Context\n  var IS = 24; //  Prevent breaks after any and before numeric\n  var NU = 25; //  Form numeric expressions for line breaking purposes\n  var PO = 26; //  Do not break following a numeric expression\n  var PR = 27; //  Do not break in front of a numeric expression\n  var SY = 28; //  Prevent a break before; and allow a break after\n  // Other Characters\n  var AI = 29; //  Act like AL when the resolvedEAW is N; otherwise; act as ID\n  var AL = 30; //  Are alphabetic characters or symbols that are used with alphabetic characters\n  var CJ = 31; //  Treat as NS or ID for strict or normal breaking.\n  var EB = 32; //  Do not break from following Emoji Modifier\n  var EM = 33; //  Do not break from preceding Emoji Base\n  var H2 = 34; //  Form Korean syllable blocks\n  var H3 = 35; //  Form Korean syllable blocks\n  var HL = 36; //  Do not break around a following hyphen; otherwise act as Alphabetic\n  var ID = 37; //  Break before or after; except in some numeric context\n  var JL = 38; //  Form Korean syllable blocks\n  var JV = 39; //  Form Korean syllable blocks\n  var JT = 40; //  Form Korean syllable blocks\n  var RI$1 = 41; //  Keep pairs together. For pairs; break before and after other classes\n  var SA = 42; //  Provide a line break opportunity contingent on additional, language-specific context analysis\n  var XX = 43; //  Have as yet unknown line breaking behavior or unassigned code positions\n  var ea_OP = [0x2329, 0xff08];\n  var BREAK_MANDATORY = '!';\n  var BREAK_NOT_ALLOWED$1 = '×';\n  var BREAK_ALLOWED$1 = '÷';\n  var UnicodeTrie$1 = createTrieFromBase64$1(base64$1);\n  var ALPHABETICS = [AL, HL];\n  var HARD_LINE_BREAKS = [BK, CR$1, LF$1, NL];\n  var SPACE$1 = [SP, ZW];\n  var PREFIX_POSTFIX = [PR, PO];\n  var LINE_BREAKS = HARD_LINE_BREAKS.concat(SPACE$1);\n  var KOREAN_SYLLABLE_BLOCK = [JL, JV, JT, H2, H3];\n  var HYPHEN = [HY, BA];\n  var codePointsToCharacterClasses = function codePointsToCharacterClasses(codePoints, lineBreak) {\n    if (lineBreak === void 0) {\n      lineBreak = 'strict';\n    }\n    var types = [];\n    var indices = [];\n    var categories = [];\n    codePoints.forEach(function (codePoint, index) {\n      var classType = UnicodeTrie$1.get(codePoint);\n      if (classType > LETTER_NUMBER_MODIFIER) {\n        categories.push(true);\n        classType -= LETTER_NUMBER_MODIFIER;\n      } else {\n        categories.push(false);\n      }\n      if (['normal', 'auto', 'loose'].indexOf(lineBreak) !== -1) {\n        // U+2010, – U+2013, 〜 U+301C, ゠ U+30A0\n        if ([0x2010, 0x2013, 0x301c, 0x30a0].indexOf(codePoint) !== -1) {\n          indices.push(index);\n          return types.push(CB);\n        }\n      }\n      if (classType === CM || classType === ZWJ$1) {\n        // LB10 Treat any remaining combining mark or ZWJ as AL.\n        if (index === 0) {\n          indices.push(index);\n          return types.push(AL);\n        }\n        // LB9 Do not break a combining character sequence; treat it as if it has the line breaking class of\n        // the base character in all of the following rules. Treat ZWJ as if it were CM.\n        var prev = types[index - 1];\n        if (LINE_BREAKS.indexOf(prev) === -1) {\n          indices.push(indices[index - 1]);\n          return types.push(prev);\n        }\n        indices.push(index);\n        return types.push(AL);\n      }\n      indices.push(index);\n      if (classType === CJ) {\n        return types.push(lineBreak === 'strict' ? NS : ID);\n      }\n      if (classType === SA) {\n        return types.push(AL);\n      }\n      if (classType === AI) {\n        return types.push(AL);\n      }\n      // For supplementary characters, a useful default is to treat characters in the range 10000..1FFFD as AL\n      // and characters in the ranges 20000..2FFFD and 30000..3FFFD as ID, until the implementation can be revised\n      // to take into account the actual line breaking properties for these characters.\n      if (classType === XX) {\n        if (codePoint >= 0x20000 && codePoint <= 0x2fffd || codePoint >= 0x30000 && codePoint <= 0x3fffd) {\n          return types.push(ID);\n        } else {\n          return types.push(AL);\n        }\n      }\n      types.push(classType);\n    });\n    return [indices, types, categories];\n  };\n  var isAdjacentWithSpaceIgnored = function isAdjacentWithSpaceIgnored(a, b, currentIndex, classTypes) {\n    var current = classTypes[currentIndex];\n    if (Array.isArray(a) ? a.indexOf(current) !== -1 : a === current) {\n      var i = currentIndex;\n      while (i <= classTypes.length) {\n        i++;\n        var next = classTypes[i];\n        if (next === b) {\n          return true;\n        }\n        if (next !== SP) {\n          break;\n        }\n      }\n    }\n    if (current === SP) {\n      var i = currentIndex;\n      while (i > 0) {\n        i--;\n        var prev = classTypes[i];\n        if (Array.isArray(a) ? a.indexOf(prev) !== -1 : a === prev) {\n          var n = currentIndex;\n          while (n <= classTypes.length) {\n            n++;\n            var next = classTypes[n];\n            if (next === b) {\n              return true;\n            }\n            if (next !== SP) {\n              break;\n            }\n          }\n        }\n        if (prev !== SP) {\n          break;\n        }\n      }\n    }\n    return false;\n  };\n  var previousNonSpaceClassType = function previousNonSpaceClassType(currentIndex, classTypes) {\n    var i = currentIndex;\n    while (i >= 0) {\n      var type = classTypes[i];\n      if (type === SP) {\n        i--;\n      } else {\n        return type;\n      }\n    }\n    return 0;\n  };\n  var _lineBreakAtIndex = function _lineBreakAtIndex(codePoints, classTypes, indicies, index, forbiddenBreaks) {\n    if (indicies[index] === 0) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    var currentIndex = index - 1;\n    if (Array.isArray(forbiddenBreaks) && forbiddenBreaks[currentIndex] === true) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    var beforeIndex = currentIndex - 1;\n    var afterIndex = currentIndex + 1;\n    var current = classTypes[currentIndex];\n    // LB4 Always break after hard line breaks.\n    // LB5 Treat CR followed by LF, as well as CR, LF, and NL as hard line breaks.\n    var before = beforeIndex >= 0 ? classTypes[beforeIndex] : 0;\n    var next = classTypes[afterIndex];\n    if (current === CR$1 && next === LF$1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    if (HARD_LINE_BREAKS.indexOf(current) !== -1) {\n      return BREAK_MANDATORY;\n    }\n    // LB6 Do not break before hard line breaks.\n    if (HARD_LINE_BREAKS.indexOf(next) !== -1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB7 Do not break before spaces or zero width space.\n    if (SPACE$1.indexOf(next) !== -1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB8 Break before any character following a zero-width space, even if one or more spaces intervene.\n    if (previousNonSpaceClassType(currentIndex, classTypes) === ZW) {\n      return BREAK_ALLOWED$1;\n    }\n    // LB8a Do not break after a zero width joiner.\n    if (UnicodeTrie$1.get(codePoints[currentIndex]) === ZWJ$1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // zwj emojis\n    if ((current === EB || current === EM) && UnicodeTrie$1.get(codePoints[afterIndex]) === ZWJ$1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB11 Do not break before or after Word joiner and related characters.\n    if (current === WJ || next === WJ) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB12 Do not break after NBSP and related characters.\n    if (current === GL) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB12a Do not break before NBSP and related characters, except after spaces and hyphens.\n    if ([SP, BA, HY].indexOf(current) === -1 && next === GL) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB13 Do not break before ‘]’ or ‘!’ or ‘;’ or ‘/’, even after spaces.\n    if ([CL, CP, EX, IS, SY].indexOf(next) !== -1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB14 Do not break after ‘[’, even after spaces.\n    if (previousNonSpaceClassType(currentIndex, classTypes) === OP) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB15 Do not break within ‘”[’, even with intervening spaces.\n    if (isAdjacentWithSpaceIgnored(QU, OP, currentIndex, classTypes)) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB16 Do not break between closing punctuation and a nonstarter (lb=NS), even with intervening spaces.\n    if (isAdjacentWithSpaceIgnored([CL, CP], NS, currentIndex, classTypes)) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB17 Do not break within ‘——’, even with intervening spaces.\n    if (isAdjacentWithSpaceIgnored(B2, B2, currentIndex, classTypes)) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB18 Break after spaces.\n    if (current === SP) {\n      return BREAK_ALLOWED$1;\n    }\n    // LB19 Do not break before or after quotation marks, such as ‘ ” ’.\n    if (current === QU || next === QU) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB20 Break before and after unresolved CB.\n    if (next === CB || current === CB) {\n      return BREAK_ALLOWED$1;\n    }\n    // LB21 Do not break before hyphen-minus, other hyphens, fixed-width spaces, small kana, and other non-starters, or after acute accents.\n    if ([BA, HY, NS].indexOf(next) !== -1 || current === BB) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB21a Don't break after Hebrew + Hyphen.\n    if (before === HL && HYPHEN.indexOf(current) !== -1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB21b Don’t break between Solidus and Hebrew letters.\n    if (current === SY && next === HL) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB22 Do not break before ellipsis.\n    if (next === IN) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB23 Do not break between digits and letters.\n    if (ALPHABETICS.indexOf(next) !== -1 && current === NU || ALPHABETICS.indexOf(current) !== -1 && next === NU) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB23a Do not break between numeric prefixes and ideographs, or between ideographs and numeric postfixes.\n    if (current === PR && [ID, EB, EM].indexOf(next) !== -1 || [ID, EB, EM].indexOf(current) !== -1 && next === PO) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB24 Do not break between numeric prefix/postfix and letters, or between letters and prefix/postfix.\n    if (ALPHABETICS.indexOf(current) !== -1 && PREFIX_POSTFIX.indexOf(next) !== -1 || PREFIX_POSTFIX.indexOf(current) !== -1 && ALPHABETICS.indexOf(next) !== -1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB25 Do not break between the following pairs of classes relevant to numbers:\n    if (\n    // (PR | PO) × ( OP | HY )? NU\n    [PR, PO].indexOf(current) !== -1 && (next === NU || [OP, HY].indexOf(next) !== -1 && classTypes[afterIndex + 1] === NU) ||\n    // ( OP | HY ) × NU\n    [OP, HY].indexOf(current) !== -1 && next === NU ||\n    // NU ×\t(NU | SY | IS)\n    current === NU && [NU, SY, IS].indexOf(next) !== -1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // NU (NU | SY | IS)* × (NU | SY | IS | CL | CP)\n    if ([NU, SY, IS, CL, CP].indexOf(next) !== -1) {\n      var prevIndex = currentIndex;\n      while (prevIndex >= 0) {\n        var type = classTypes[prevIndex];\n        if (type === NU) {\n          return BREAK_NOT_ALLOWED$1;\n        } else if ([SY, IS].indexOf(type) !== -1) {\n          prevIndex--;\n        } else {\n          break;\n        }\n      }\n    }\n    // NU (NU | SY | IS)* (CL | CP)? × (PO | PR))\n    if ([PR, PO].indexOf(next) !== -1) {\n      var prevIndex = [CL, CP].indexOf(current) !== -1 ? beforeIndex : currentIndex;\n      while (prevIndex >= 0) {\n        var type = classTypes[prevIndex];\n        if (type === NU) {\n          return BREAK_NOT_ALLOWED$1;\n        } else if ([SY, IS].indexOf(type) !== -1) {\n          prevIndex--;\n        } else {\n          break;\n        }\n      }\n    }\n    // LB26 Do not break a Korean syllable.\n    if (JL === current && [JL, JV, H2, H3].indexOf(next) !== -1 || [JV, H2].indexOf(current) !== -1 && [JV, JT].indexOf(next) !== -1 || [JT, H3].indexOf(current) !== -1 && next === JT) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB27 Treat a Korean Syllable Block the same as ID.\n    if (KOREAN_SYLLABLE_BLOCK.indexOf(current) !== -1 && [IN, PO].indexOf(next) !== -1 || KOREAN_SYLLABLE_BLOCK.indexOf(next) !== -1 && current === PR) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB28 Do not break between alphabetics (“at”).\n    if (ALPHABETICS.indexOf(current) !== -1 && ALPHABETICS.indexOf(next) !== -1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB29 Do not break between numeric punctuation and alphabetics (“e.g.”).\n    if (current === IS && ALPHABETICS.indexOf(next) !== -1) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB30 Do not break between letters, numbers, or ordinary symbols and opening or closing parentheses.\n    if (ALPHABETICS.concat(NU).indexOf(current) !== -1 && next === OP && ea_OP.indexOf(codePoints[afterIndex]) === -1 || ALPHABETICS.concat(NU).indexOf(next) !== -1 && current === CP) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    // LB30a Break between two regional indicator symbols if and only if there are an even number of regional\n    // indicators preceding the position of the break.\n    if (current === RI$1 && next === RI$1) {\n      var i = indicies[currentIndex];\n      var count = 1;\n      while (i > 0) {\n        i--;\n        if (classTypes[i] === RI$1) {\n          count++;\n        } else {\n          break;\n        }\n      }\n      if (count % 2 !== 0) {\n        return BREAK_NOT_ALLOWED$1;\n      }\n    }\n    // LB30b Do not break between an emoji base and an emoji modifier.\n    if (current === EB && next === EM) {\n      return BREAK_NOT_ALLOWED$1;\n    }\n    return BREAK_ALLOWED$1;\n  };\n  var cssFormattedClasses = function cssFormattedClasses(codePoints, options) {\n    if (!options) {\n      options = {\n        lineBreak: 'normal',\n        wordBreak: 'normal'\n      };\n    }\n    var _a = codePointsToCharacterClasses(codePoints, options.lineBreak),\n      indicies = _a[0],\n      classTypes = _a[1],\n      isLetterNumber = _a[2];\n    if (options.wordBreak === 'break-all' || options.wordBreak === 'break-word') {\n      classTypes = classTypes.map(function (type) {\n        return [NU, AL, SA].indexOf(type) !== -1 ? ID : type;\n      });\n    }\n    var forbiddenBreakpoints = options.wordBreak === 'keep-all' ? isLetterNumber.map(function (letterNumber, i) {\n      return letterNumber && codePoints[i] >= 0x4e00 && codePoints[i] <= 0x9fff;\n    }) : undefined;\n    return [indicies, classTypes, forbiddenBreakpoints];\n  };\n  var Break = /** @class */function () {\n    function Break(codePoints, lineBreak, start, end) {\n      this.codePoints = codePoints;\n      this.required = lineBreak === BREAK_MANDATORY;\n      this.start = start;\n      this.end = end;\n    }\n    Break.prototype.slice = function () {\n      return fromCodePoint$1.apply(void 0, this.codePoints.slice(this.start, this.end));\n    };\n    return Break;\n  }();\n  var LineBreaker = function LineBreaker(str, options) {\n    var codePoints = toCodePoints$1(str);\n    var _a = cssFormattedClasses(codePoints, options),\n      indicies = _a[0],\n      classTypes = _a[1],\n      forbiddenBreakpoints = _a[2];\n    var length = codePoints.length;\n    var lastEnd = 0;\n    var nextIndex = 0;\n    return {\n      next: function next() {\n        if (nextIndex >= length) {\n          return {\n            done: true,\n            value: null\n          };\n        }\n        var lineBreak = BREAK_NOT_ALLOWED$1;\n        while (nextIndex < length && (lineBreak = _lineBreakAtIndex(codePoints, classTypes, indicies, ++nextIndex, forbiddenBreakpoints)) === BREAK_NOT_ALLOWED$1) {}\n        if (lineBreak !== BREAK_NOT_ALLOWED$1 || nextIndex === length) {\n          var value = new Break(codePoints, lineBreak, lastEnd, nextIndex);\n          lastEnd = nextIndex;\n          return {\n            value: value,\n            done: false\n          };\n        }\n        return {\n          done: true,\n          value: null\n        };\n      }\n    };\n  };\n\n  // https://www.w3.org/TR/css-syntax-3\n  var FLAG_UNRESTRICTED = 1 << 0;\n  var FLAG_ID = 1 << 1;\n  var FLAG_INTEGER = 1 << 2;\n  var FLAG_NUMBER = 1 << 3;\n  var LINE_FEED = 0x000a;\n  var SOLIDUS = 0x002f;\n  var REVERSE_SOLIDUS = 0x005c;\n  var CHARACTER_TABULATION = 0x0009;\n  var SPACE = 0x0020;\n  var QUOTATION_MARK = 0x0022;\n  var EQUALS_SIGN = 0x003d;\n  var NUMBER_SIGN = 0x0023;\n  var DOLLAR_SIGN = 0x0024;\n  var PERCENTAGE_SIGN = 0x0025;\n  var APOSTROPHE = 0x0027;\n  var LEFT_PARENTHESIS = 0x0028;\n  var RIGHT_PARENTHESIS = 0x0029;\n  var LOW_LINE = 0x005f;\n  var HYPHEN_MINUS = 0x002d;\n  var EXCLAMATION_MARK = 0x0021;\n  var LESS_THAN_SIGN = 0x003c;\n  var GREATER_THAN_SIGN = 0x003e;\n  var COMMERCIAL_AT = 0x0040;\n  var LEFT_SQUARE_BRACKET = 0x005b;\n  var RIGHT_SQUARE_BRACKET = 0x005d;\n  var CIRCUMFLEX_ACCENT = 0x003d;\n  var LEFT_CURLY_BRACKET = 0x007b;\n  var QUESTION_MARK = 0x003f;\n  var RIGHT_CURLY_BRACKET = 0x007d;\n  var VERTICAL_LINE = 0x007c;\n  var TILDE = 0x007e;\n  var CONTROL = 0x0080;\n  var REPLACEMENT_CHARACTER = 0xfffd;\n  var ASTERISK = 0x002a;\n  var PLUS_SIGN = 0x002b;\n  var COMMA = 0x002c;\n  var COLON = 0x003a;\n  var SEMICOLON = 0x003b;\n  var FULL_STOP = 0x002e;\n  var NULL = 0x0000;\n  var BACKSPACE = 0x0008;\n  var LINE_TABULATION = 0x000b;\n  var SHIFT_OUT = 0x000e;\n  var INFORMATION_SEPARATOR_ONE = 0x001f;\n  var DELETE = 0x007f;\n  var EOF = -1;\n  var ZERO = 0x0030;\n  var a = 0x0061;\n  var e = 0x0065;\n  var f = 0x0066;\n  var u = 0x0075;\n  var z = 0x007a;\n  var A = 0x0041;\n  var E = 0x0045;\n  var F = 0x0046;\n  var U = 0x0055;\n  var Z = 0x005a;\n  var isDigit = function isDigit(codePoint) {\n    return codePoint >= ZERO && codePoint <= 0x0039;\n  };\n  var isSurrogateCodePoint = function isSurrogateCodePoint(codePoint) {\n    return codePoint >= 0xd800 && codePoint <= 0xdfff;\n  };\n  var isHex = function isHex(codePoint) {\n    return isDigit(codePoint) || codePoint >= A && codePoint <= F || codePoint >= a && codePoint <= f;\n  };\n  var isLowerCaseLetter = function isLowerCaseLetter(codePoint) {\n    return codePoint >= a && codePoint <= z;\n  };\n  var isUpperCaseLetter = function isUpperCaseLetter(codePoint) {\n    return codePoint >= A && codePoint <= Z;\n  };\n  var isLetter = function isLetter(codePoint) {\n    return isLowerCaseLetter(codePoint) || isUpperCaseLetter(codePoint);\n  };\n  var isNonASCIICodePoint = function isNonASCIICodePoint(codePoint) {\n    return codePoint >= CONTROL;\n  };\n  var isWhiteSpace = function isWhiteSpace(codePoint) {\n    return codePoint === LINE_FEED || codePoint === CHARACTER_TABULATION || codePoint === SPACE;\n  };\n  var isNameStartCodePoint = function isNameStartCodePoint(codePoint) {\n    return isLetter(codePoint) || isNonASCIICodePoint(codePoint) || codePoint === LOW_LINE;\n  };\n  var isNameCodePoint = function isNameCodePoint(codePoint) {\n    return isNameStartCodePoint(codePoint) || isDigit(codePoint) || codePoint === HYPHEN_MINUS;\n  };\n  var isNonPrintableCodePoint = function isNonPrintableCodePoint(codePoint) {\n    return codePoint >= NULL && codePoint <= BACKSPACE || codePoint === LINE_TABULATION || codePoint >= SHIFT_OUT && codePoint <= INFORMATION_SEPARATOR_ONE || codePoint === DELETE;\n  };\n  var isValidEscape = function isValidEscape(c1, c2) {\n    if (c1 !== REVERSE_SOLIDUS) {\n      return false;\n    }\n    return c2 !== LINE_FEED;\n  };\n  var isIdentifierStart = function isIdentifierStart(c1, c2, c3) {\n    if (c1 === HYPHEN_MINUS) {\n      return isNameStartCodePoint(c2) || isValidEscape(c2, c3);\n    } else if (isNameStartCodePoint(c1)) {\n      return true;\n    } else if (c1 === REVERSE_SOLIDUS && isValidEscape(c1, c2)) {\n      return true;\n    }\n    return false;\n  };\n  var isNumberStart = function isNumberStart(c1, c2, c3) {\n    if (c1 === PLUS_SIGN || c1 === HYPHEN_MINUS) {\n      if (isDigit(c2)) {\n        return true;\n      }\n      return c2 === FULL_STOP && isDigit(c3);\n    }\n    if (c1 === FULL_STOP) {\n      return isDigit(c2);\n    }\n    return isDigit(c1);\n  };\n  var stringToNumber = function stringToNumber(codePoints) {\n    var c = 0;\n    var sign = 1;\n    if (codePoints[c] === PLUS_SIGN || codePoints[c] === HYPHEN_MINUS) {\n      if (codePoints[c] === HYPHEN_MINUS) {\n        sign = -1;\n      }\n      c++;\n    }\n    var integers = [];\n    while (isDigit(codePoints[c])) {\n      integers.push(codePoints[c++]);\n    }\n    var int = integers.length ? parseInt(fromCodePoint$1.apply(void 0, integers), 10) : 0;\n    if (codePoints[c] === FULL_STOP) {\n      c++;\n    }\n    var fraction = [];\n    while (isDigit(codePoints[c])) {\n      fraction.push(codePoints[c++]);\n    }\n    var fracd = fraction.length;\n    var frac = fracd ? parseInt(fromCodePoint$1.apply(void 0, fraction), 10) : 0;\n    if (codePoints[c] === E || codePoints[c] === e) {\n      c++;\n    }\n    var expsign = 1;\n    if (codePoints[c] === PLUS_SIGN || codePoints[c] === HYPHEN_MINUS) {\n      if (codePoints[c] === HYPHEN_MINUS) {\n        expsign = -1;\n      }\n      c++;\n    }\n    var exponent = [];\n    while (isDigit(codePoints[c])) {\n      exponent.push(codePoints[c++]);\n    }\n    var exp = exponent.length ? parseInt(fromCodePoint$1.apply(void 0, exponent), 10) : 0;\n    return sign * (int + frac * Math.pow(10, -fracd)) * Math.pow(10, expsign * exp);\n  };\n  var LEFT_PARENTHESIS_TOKEN = {\n    type: 2 /* LEFT_PARENTHESIS_TOKEN */\n  };\n\n  var RIGHT_PARENTHESIS_TOKEN = {\n    type: 3 /* RIGHT_PARENTHESIS_TOKEN */\n  };\n\n  var COMMA_TOKEN = {\n    type: 4 /* COMMA_TOKEN */\n  };\n  var SUFFIX_MATCH_TOKEN = {\n    type: 13 /* SUFFIX_MATCH_TOKEN */\n  };\n  var PREFIX_MATCH_TOKEN = {\n    type: 8 /* PREFIX_MATCH_TOKEN */\n  };\n  var COLUMN_TOKEN = {\n    type: 21 /* COLUMN_TOKEN */\n  };\n  var DASH_MATCH_TOKEN = {\n    type: 9 /* DASH_MATCH_TOKEN */\n  };\n  var INCLUDE_MATCH_TOKEN = {\n    type: 10 /* INCLUDE_MATCH_TOKEN */\n  };\n  var LEFT_CURLY_BRACKET_TOKEN = {\n    type: 11 /* LEFT_CURLY_BRACKET_TOKEN */\n  };\n\n  var RIGHT_CURLY_BRACKET_TOKEN = {\n    type: 12 /* RIGHT_CURLY_BRACKET_TOKEN */\n  };\n\n  var SUBSTRING_MATCH_TOKEN = {\n    type: 14 /* SUBSTRING_MATCH_TOKEN */\n  };\n  var BAD_URL_TOKEN = {\n    type: 23 /* BAD_URL_TOKEN */\n  };\n  var BAD_STRING_TOKEN = {\n    type: 1 /* BAD_STRING_TOKEN */\n  };\n  var CDO_TOKEN = {\n    type: 25 /* CDO_TOKEN */\n  };\n  var CDC_TOKEN = {\n    type: 24 /* CDC_TOKEN */\n  };\n  var COLON_TOKEN = {\n    type: 26 /* COLON_TOKEN */\n  };\n  var SEMICOLON_TOKEN = {\n    type: 27 /* SEMICOLON_TOKEN */\n  };\n  var LEFT_SQUARE_BRACKET_TOKEN = {\n    type: 28 /* LEFT_SQUARE_BRACKET_TOKEN */\n  };\n\n  var RIGHT_SQUARE_BRACKET_TOKEN = {\n    type: 29 /* RIGHT_SQUARE_BRACKET_TOKEN */\n  };\n\n  var WHITESPACE_TOKEN = {\n    type: 31 /* WHITESPACE_TOKEN */\n  };\n  var EOF_TOKEN = {\n    type: 32 /* EOF_TOKEN */\n  };\n  var Tokenizer = /** @class */function () {\n    function Tokenizer() {\n      this._value = [];\n    }\n    Tokenizer.prototype.write = function (chunk) {\n      this._value = this._value.concat(toCodePoints$1(chunk));\n    };\n    Tokenizer.prototype.read = function () {\n      var tokens = [];\n      var token = this.consumeToken();\n      while (token !== EOF_TOKEN) {\n        tokens.push(token);\n        token = this.consumeToken();\n      }\n      return tokens;\n    };\n    Tokenizer.prototype.consumeToken = function () {\n      var codePoint = this.consumeCodePoint();\n      switch (codePoint) {\n        case QUOTATION_MARK:\n          return this.consumeStringToken(QUOTATION_MARK);\n        case NUMBER_SIGN:\n          var c1 = this.peekCodePoint(0);\n          var c2 = this.peekCodePoint(1);\n          var c3 = this.peekCodePoint(2);\n          if (isNameCodePoint(c1) || isValidEscape(c2, c3)) {\n            var flags = isIdentifierStart(c1, c2, c3) ? FLAG_ID : FLAG_UNRESTRICTED;\n            var value = this.consumeName();\n            return {\n              type: 5 /* HASH_TOKEN */,\n              value: value,\n              flags: flags\n            };\n          }\n          break;\n        case DOLLAR_SIGN:\n          if (this.peekCodePoint(0) === EQUALS_SIGN) {\n            this.consumeCodePoint();\n            return SUFFIX_MATCH_TOKEN;\n          }\n          break;\n        case APOSTROPHE:\n          return this.consumeStringToken(APOSTROPHE);\n        case LEFT_PARENTHESIS:\n          return LEFT_PARENTHESIS_TOKEN;\n        case RIGHT_PARENTHESIS:\n          return RIGHT_PARENTHESIS_TOKEN;\n        case ASTERISK:\n          if (this.peekCodePoint(0) === EQUALS_SIGN) {\n            this.consumeCodePoint();\n            return SUBSTRING_MATCH_TOKEN;\n          }\n          break;\n        case PLUS_SIGN:\n          if (isNumberStart(codePoint, this.peekCodePoint(0), this.peekCodePoint(1))) {\n            this.reconsumeCodePoint(codePoint);\n            return this.consumeNumericToken();\n          }\n          break;\n        case COMMA:\n          return COMMA_TOKEN;\n        case HYPHEN_MINUS:\n          var e1 = codePoint;\n          var e2 = this.peekCodePoint(0);\n          var e3 = this.peekCodePoint(1);\n          if (isNumberStart(e1, e2, e3)) {\n            this.reconsumeCodePoint(codePoint);\n            return this.consumeNumericToken();\n          }\n          if (isIdentifierStart(e1, e2, e3)) {\n            this.reconsumeCodePoint(codePoint);\n            return this.consumeIdentLikeToken();\n          }\n          if (e2 === HYPHEN_MINUS && e3 === GREATER_THAN_SIGN) {\n            this.consumeCodePoint();\n            this.consumeCodePoint();\n            return CDC_TOKEN;\n          }\n          break;\n        case FULL_STOP:\n          if (isNumberStart(codePoint, this.peekCodePoint(0), this.peekCodePoint(1))) {\n            this.reconsumeCodePoint(codePoint);\n            return this.consumeNumericToken();\n          }\n          break;\n        case SOLIDUS:\n          if (this.peekCodePoint(0) === ASTERISK) {\n            this.consumeCodePoint();\n            while (true) {\n              var c = this.consumeCodePoint();\n              if (c === ASTERISK) {\n                c = this.consumeCodePoint();\n                if (c === SOLIDUS) {\n                  return this.consumeToken();\n                }\n              }\n              if (c === EOF) {\n                return this.consumeToken();\n              }\n            }\n          }\n          break;\n        case COLON:\n          return COLON_TOKEN;\n        case SEMICOLON:\n          return SEMICOLON_TOKEN;\n        case LESS_THAN_SIGN:\n          if (this.peekCodePoint(0) === EXCLAMATION_MARK && this.peekCodePoint(1) === HYPHEN_MINUS && this.peekCodePoint(2) === HYPHEN_MINUS) {\n            this.consumeCodePoint();\n            this.consumeCodePoint();\n            return CDO_TOKEN;\n          }\n          break;\n        case COMMERCIAL_AT:\n          var a1 = this.peekCodePoint(0);\n          var a2 = this.peekCodePoint(1);\n          var a3 = this.peekCodePoint(2);\n          if (isIdentifierStart(a1, a2, a3)) {\n            var value = this.consumeName();\n            return {\n              type: 7 /* AT_KEYWORD_TOKEN */,\n              value: value\n            };\n          }\n          break;\n        case LEFT_SQUARE_BRACKET:\n          return LEFT_SQUARE_BRACKET_TOKEN;\n        case REVERSE_SOLIDUS:\n          if (isValidEscape(codePoint, this.peekCodePoint(0))) {\n            this.reconsumeCodePoint(codePoint);\n            return this.consumeIdentLikeToken();\n          }\n          break;\n        case RIGHT_SQUARE_BRACKET:\n          return RIGHT_SQUARE_BRACKET_TOKEN;\n        case CIRCUMFLEX_ACCENT:\n          if (this.peekCodePoint(0) === EQUALS_SIGN) {\n            this.consumeCodePoint();\n            return PREFIX_MATCH_TOKEN;\n          }\n          break;\n        case LEFT_CURLY_BRACKET:\n          return LEFT_CURLY_BRACKET_TOKEN;\n        case RIGHT_CURLY_BRACKET:\n          return RIGHT_CURLY_BRACKET_TOKEN;\n        case u:\n        case U:\n          var u1 = this.peekCodePoint(0);\n          var u2 = this.peekCodePoint(1);\n          if (u1 === PLUS_SIGN && (isHex(u2) || u2 === QUESTION_MARK)) {\n            this.consumeCodePoint();\n            this.consumeUnicodeRangeToken();\n          }\n          this.reconsumeCodePoint(codePoint);\n          return this.consumeIdentLikeToken();\n        case VERTICAL_LINE:\n          if (this.peekCodePoint(0) === EQUALS_SIGN) {\n            this.consumeCodePoint();\n            return DASH_MATCH_TOKEN;\n          }\n          if (this.peekCodePoint(0) === VERTICAL_LINE) {\n            this.consumeCodePoint();\n            return COLUMN_TOKEN;\n          }\n          break;\n        case TILDE:\n          if (this.peekCodePoint(0) === EQUALS_SIGN) {\n            this.consumeCodePoint();\n            return INCLUDE_MATCH_TOKEN;\n          }\n          break;\n        case EOF:\n          return EOF_TOKEN;\n      }\n      if (isWhiteSpace(codePoint)) {\n        this.consumeWhiteSpace();\n        return WHITESPACE_TOKEN;\n      }\n      if (isDigit(codePoint)) {\n        this.reconsumeCodePoint(codePoint);\n        return this.consumeNumericToken();\n      }\n      if (isNameStartCodePoint(codePoint)) {\n        this.reconsumeCodePoint(codePoint);\n        return this.consumeIdentLikeToken();\n      }\n      return {\n        type: 6 /* DELIM_TOKEN */,\n        value: fromCodePoint$1(codePoint)\n      };\n    };\n    Tokenizer.prototype.consumeCodePoint = function () {\n      var value = this._value.shift();\n      return typeof value === 'undefined' ? -1 : value;\n    };\n    Tokenizer.prototype.reconsumeCodePoint = function (codePoint) {\n      this._value.unshift(codePoint);\n    };\n    Tokenizer.prototype.peekCodePoint = function (delta) {\n      if (delta >= this._value.length) {\n        return -1;\n      }\n      return this._value[delta];\n    };\n    Tokenizer.prototype.consumeUnicodeRangeToken = function () {\n      var digits = [];\n      var codePoint = this.consumeCodePoint();\n      while (isHex(codePoint) && digits.length < 6) {\n        digits.push(codePoint);\n        codePoint = this.consumeCodePoint();\n      }\n      var questionMarks = false;\n      while (codePoint === QUESTION_MARK && digits.length < 6) {\n        digits.push(codePoint);\n        codePoint = this.consumeCodePoint();\n        questionMarks = true;\n      }\n      if (questionMarks) {\n        var start_1 = parseInt(fromCodePoint$1.apply(void 0, digits.map(function (digit) {\n          return digit === QUESTION_MARK ? ZERO : digit;\n        })), 16);\n        var end = parseInt(fromCodePoint$1.apply(void 0, digits.map(function (digit) {\n          return digit === QUESTION_MARK ? F : digit;\n        })), 16);\n        return {\n          type: 30 /* UNICODE_RANGE_TOKEN */,\n          start: start_1,\n          end: end\n        };\n      }\n      var start = parseInt(fromCodePoint$1.apply(void 0, digits), 16);\n      if (this.peekCodePoint(0) === HYPHEN_MINUS && isHex(this.peekCodePoint(1))) {\n        this.consumeCodePoint();\n        codePoint = this.consumeCodePoint();\n        var endDigits = [];\n        while (isHex(codePoint) && endDigits.length < 6) {\n          endDigits.push(codePoint);\n          codePoint = this.consumeCodePoint();\n        }\n        var end = parseInt(fromCodePoint$1.apply(void 0, endDigits), 16);\n        return {\n          type: 30 /* UNICODE_RANGE_TOKEN */,\n          start: start,\n          end: end\n        };\n      } else {\n        return {\n          type: 30 /* UNICODE_RANGE_TOKEN */,\n          start: start,\n          end: start\n        };\n      }\n    };\n    Tokenizer.prototype.consumeIdentLikeToken = function () {\n      var value = this.consumeName();\n      if (value.toLowerCase() === 'url' && this.peekCodePoint(0) === LEFT_PARENTHESIS) {\n        this.consumeCodePoint();\n        return this.consumeUrlToken();\n      } else if (this.peekCodePoint(0) === LEFT_PARENTHESIS) {\n        this.consumeCodePoint();\n        return {\n          type: 19 /* FUNCTION_TOKEN */,\n          value: value\n        };\n      }\n      return {\n        type: 20 /* IDENT_TOKEN */,\n        value: value\n      };\n    };\n    Tokenizer.prototype.consumeUrlToken = function () {\n      var value = [];\n      this.consumeWhiteSpace();\n      if (this.peekCodePoint(0) === EOF) {\n        return {\n          type: 22 /* URL_TOKEN */,\n          value: ''\n        };\n      }\n      var next = this.peekCodePoint(0);\n      if (next === APOSTROPHE || next === QUOTATION_MARK) {\n        var stringToken = this.consumeStringToken(this.consumeCodePoint());\n        if (stringToken.type === 0 /* STRING_TOKEN */) {\n          this.consumeWhiteSpace();\n          if (this.peekCodePoint(0) === EOF || this.peekCodePoint(0) === RIGHT_PARENTHESIS) {\n            this.consumeCodePoint();\n            return {\n              type: 22 /* URL_TOKEN */,\n              value: stringToken.value\n            };\n          }\n        }\n        this.consumeBadUrlRemnants();\n        return BAD_URL_TOKEN;\n      }\n      while (true) {\n        var codePoint = this.consumeCodePoint();\n        if (codePoint === EOF || codePoint === RIGHT_PARENTHESIS) {\n          return {\n            type: 22 /* URL_TOKEN */,\n            value: fromCodePoint$1.apply(void 0, value)\n          };\n        } else if (isWhiteSpace(codePoint)) {\n          this.consumeWhiteSpace();\n          if (this.peekCodePoint(0) === EOF || this.peekCodePoint(0) === RIGHT_PARENTHESIS) {\n            this.consumeCodePoint();\n            return {\n              type: 22 /* URL_TOKEN */,\n              value: fromCodePoint$1.apply(void 0, value)\n            };\n          }\n          this.consumeBadUrlRemnants();\n          return BAD_URL_TOKEN;\n        } else if (codePoint === QUOTATION_MARK || codePoint === APOSTROPHE || codePoint === LEFT_PARENTHESIS || isNonPrintableCodePoint(codePoint)) {\n          this.consumeBadUrlRemnants();\n          return BAD_URL_TOKEN;\n        } else if (codePoint === REVERSE_SOLIDUS) {\n          if (isValidEscape(codePoint, this.peekCodePoint(0))) {\n            value.push(this.consumeEscapedCodePoint());\n          } else {\n            this.consumeBadUrlRemnants();\n            return BAD_URL_TOKEN;\n          }\n        } else {\n          value.push(codePoint);\n        }\n      }\n    };\n    Tokenizer.prototype.consumeWhiteSpace = function () {\n      while (isWhiteSpace(this.peekCodePoint(0))) {\n        this.consumeCodePoint();\n      }\n    };\n    Tokenizer.prototype.consumeBadUrlRemnants = function () {\n      while (true) {\n        var codePoint = this.consumeCodePoint();\n        if (codePoint === RIGHT_PARENTHESIS || codePoint === EOF) {\n          return;\n        }\n        if (isValidEscape(codePoint, this.peekCodePoint(0))) {\n          this.consumeEscapedCodePoint();\n        }\n      }\n    };\n    Tokenizer.prototype.consumeStringSlice = function (count) {\n      var SLICE_STACK_SIZE = 50000;\n      var value = '';\n      while (count > 0) {\n        var amount = Math.min(SLICE_STACK_SIZE, count);\n        value += fromCodePoint$1.apply(void 0, this._value.splice(0, amount));\n        count -= amount;\n      }\n      this._value.shift();\n      return value;\n    };\n    Tokenizer.prototype.consumeStringToken = function (endingCodePoint) {\n      var value = '';\n      var i = 0;\n      do {\n        var codePoint = this._value[i];\n        if (codePoint === EOF || codePoint === undefined || codePoint === endingCodePoint) {\n          value += this.consumeStringSlice(i);\n          return {\n            type: 0 /* STRING_TOKEN */,\n            value: value\n          };\n        }\n        if (codePoint === LINE_FEED) {\n          this._value.splice(0, i);\n          return BAD_STRING_TOKEN;\n        }\n        if (codePoint === REVERSE_SOLIDUS) {\n          var next = this._value[i + 1];\n          if (next !== EOF && next !== undefined) {\n            if (next === LINE_FEED) {\n              value += this.consumeStringSlice(i);\n              i = -1;\n              this._value.shift();\n            } else if (isValidEscape(codePoint, next)) {\n              value += this.consumeStringSlice(i);\n              value += fromCodePoint$1(this.consumeEscapedCodePoint());\n              i = -1;\n            }\n          }\n        }\n        i++;\n      } while (true);\n    };\n    Tokenizer.prototype.consumeNumber = function () {\n      var repr = [];\n      var type = FLAG_INTEGER;\n      var c1 = this.peekCodePoint(0);\n      if (c1 === PLUS_SIGN || c1 === HYPHEN_MINUS) {\n        repr.push(this.consumeCodePoint());\n      }\n      while (isDigit(this.peekCodePoint(0))) {\n        repr.push(this.consumeCodePoint());\n      }\n      c1 = this.peekCodePoint(0);\n      var c2 = this.peekCodePoint(1);\n      if (c1 === FULL_STOP && isDigit(c2)) {\n        repr.push(this.consumeCodePoint(), this.consumeCodePoint());\n        type = FLAG_NUMBER;\n        while (isDigit(this.peekCodePoint(0))) {\n          repr.push(this.consumeCodePoint());\n        }\n      }\n      c1 = this.peekCodePoint(0);\n      c2 = this.peekCodePoint(1);\n      var c3 = this.peekCodePoint(2);\n      if ((c1 === E || c1 === e) && ((c2 === PLUS_SIGN || c2 === HYPHEN_MINUS) && isDigit(c3) || isDigit(c2))) {\n        repr.push(this.consumeCodePoint(), this.consumeCodePoint());\n        type = FLAG_NUMBER;\n        while (isDigit(this.peekCodePoint(0))) {\n          repr.push(this.consumeCodePoint());\n        }\n      }\n      return [stringToNumber(repr), type];\n    };\n    Tokenizer.prototype.consumeNumericToken = function () {\n      var _a = this.consumeNumber(),\n        number = _a[0],\n        flags = _a[1];\n      var c1 = this.peekCodePoint(0);\n      var c2 = this.peekCodePoint(1);\n      var c3 = this.peekCodePoint(2);\n      if (isIdentifierStart(c1, c2, c3)) {\n        var unit = this.consumeName();\n        return {\n          type: 15 /* DIMENSION_TOKEN */,\n          number: number,\n          flags: flags,\n          unit: unit\n        };\n      }\n      if (c1 === PERCENTAGE_SIGN) {\n        this.consumeCodePoint();\n        return {\n          type: 16 /* PERCENTAGE_TOKEN */,\n          number: number,\n          flags: flags\n        };\n      }\n      return {\n        type: 17 /* NUMBER_TOKEN */,\n        number: number,\n        flags: flags\n      };\n    };\n    Tokenizer.prototype.consumeEscapedCodePoint = function () {\n      var codePoint = this.consumeCodePoint();\n      if (isHex(codePoint)) {\n        var hex = fromCodePoint$1(codePoint);\n        while (isHex(this.peekCodePoint(0)) && hex.length < 6) {\n          hex += fromCodePoint$1(this.consumeCodePoint());\n        }\n        if (isWhiteSpace(this.peekCodePoint(0))) {\n          this.consumeCodePoint();\n        }\n        var hexCodePoint = parseInt(hex, 16);\n        if (hexCodePoint === 0 || isSurrogateCodePoint(hexCodePoint) || hexCodePoint > 0x10ffff) {\n          return REPLACEMENT_CHARACTER;\n        }\n        return hexCodePoint;\n      }\n      if (codePoint === EOF) {\n        return REPLACEMENT_CHARACTER;\n      }\n      return codePoint;\n    };\n    Tokenizer.prototype.consumeName = function () {\n      var result = '';\n      while (true) {\n        var codePoint = this.consumeCodePoint();\n        if (isNameCodePoint(codePoint)) {\n          result += fromCodePoint$1(codePoint);\n        } else if (isValidEscape(codePoint, this.peekCodePoint(0))) {\n          result += fromCodePoint$1(this.consumeEscapedCodePoint());\n        } else {\n          this.reconsumeCodePoint(codePoint);\n          return result;\n        }\n      }\n    };\n    return Tokenizer;\n  }();\n  var Parser = /** @class */function () {\n    function Parser(tokens) {\n      this._tokens = tokens;\n    }\n    Parser.create = function (value) {\n      var tokenizer = new Tokenizer();\n      tokenizer.write(value);\n      return new Parser(tokenizer.read());\n    };\n    Parser.parseValue = function (value) {\n      return Parser.create(value).parseComponentValue();\n    };\n    Parser.parseValues = function (value) {\n      return Parser.create(value).parseComponentValues();\n    };\n    Parser.prototype.parseComponentValue = function () {\n      var token = this.consumeToken();\n      while (token.type === 31 /* WHITESPACE_TOKEN */) {\n        token = this.consumeToken();\n      }\n      if (token.type === 32 /* EOF_TOKEN */) {\n        throw new SyntaxError(\"Error parsing CSS component value, unexpected EOF\");\n      }\n      this.reconsumeToken(token);\n      var value = this.consumeComponentValue();\n      do {\n        token = this.consumeToken();\n      } while (token.type === 31 /* WHITESPACE_TOKEN */);\n      if (token.type === 32 /* EOF_TOKEN */) {\n        return value;\n      }\n      throw new SyntaxError(\"Error parsing CSS component value, multiple values found when expecting only one\");\n    };\n    Parser.prototype.parseComponentValues = function () {\n      var values = [];\n      while (true) {\n        var value = this.consumeComponentValue();\n        if (value.type === 32 /* EOF_TOKEN */) {\n          return values;\n        }\n        values.push(value);\n        values.push();\n      }\n    };\n    Parser.prototype.consumeComponentValue = function () {\n      var token = this.consumeToken();\n      switch (token.type) {\n        case 11 /* LEFT_CURLY_BRACKET_TOKEN */:\n        case 28 /* LEFT_SQUARE_BRACKET_TOKEN */:\n        case 2 /* LEFT_PARENTHESIS_TOKEN */:\n          return this.consumeSimpleBlock(token.type);\n        case 19 /* FUNCTION_TOKEN */:\n          return this.consumeFunction(token);\n      }\n      return token;\n    };\n    Parser.prototype.consumeSimpleBlock = function (type) {\n      var block = {\n        type: type,\n        values: []\n      };\n      var token = this.consumeToken();\n      while (true) {\n        if (token.type === 32 /* EOF_TOKEN */ || isEndingTokenFor(token, type)) {\n          return block;\n        }\n        this.reconsumeToken(token);\n        block.values.push(this.consumeComponentValue());\n        token = this.consumeToken();\n      }\n    };\n    Parser.prototype.consumeFunction = function (functionToken) {\n      var cssFunction = {\n        name: functionToken.value,\n        values: [],\n        type: 18 /* FUNCTION */\n      };\n\n      while (true) {\n        var token = this.consumeToken();\n        if (token.type === 32 /* EOF_TOKEN */ || token.type === 3 /* RIGHT_PARENTHESIS_TOKEN */) {\n          return cssFunction;\n        }\n        this.reconsumeToken(token);\n        cssFunction.values.push(this.consumeComponentValue());\n      }\n    };\n    Parser.prototype.consumeToken = function () {\n      var token = this._tokens.shift();\n      return typeof token === 'undefined' ? EOF_TOKEN : token;\n    };\n    Parser.prototype.reconsumeToken = function (token) {\n      this._tokens.unshift(token);\n    };\n    return Parser;\n  }();\n  var isDimensionToken = function isDimensionToken(token) {\n    return token.type === 15 /* DIMENSION_TOKEN */;\n  };\n  var isNumberToken = function isNumberToken(token) {\n    return token.type === 17 /* NUMBER_TOKEN */;\n  };\n  var isIdentToken = function isIdentToken(token) {\n    return token.type === 20 /* IDENT_TOKEN */;\n  };\n  var isStringToken = function isStringToken(token) {\n    return token.type === 0 /* STRING_TOKEN */;\n  };\n  var isIdentWithValue = function isIdentWithValue(token, value) {\n    return isIdentToken(token) && token.value === value;\n  };\n  var nonWhiteSpace = function nonWhiteSpace(token) {\n    return token.type !== 31 /* WHITESPACE_TOKEN */;\n  };\n  var nonFunctionArgSeparator = function nonFunctionArgSeparator(token) {\n    return token.type !== 31 /* WHITESPACE_TOKEN */ && token.type !== 4 /* COMMA_TOKEN */;\n  };\n\n  var parseFunctionArgs = function parseFunctionArgs(tokens) {\n    var args = [];\n    var arg = [];\n    tokens.forEach(function (token) {\n      if (token.type === 4 /* COMMA_TOKEN */) {\n        if (arg.length === 0) {\n          throw new Error(\"Error parsing function args, zero tokens for arg\");\n        }\n        args.push(arg);\n        arg = [];\n        return;\n      }\n      if (token.type !== 31 /* WHITESPACE_TOKEN */) {\n        arg.push(token);\n      }\n    });\n    if (arg.length) {\n      args.push(arg);\n    }\n    return args;\n  };\n  var isEndingTokenFor = function isEndingTokenFor(token, type) {\n    if (type === 11 /* LEFT_CURLY_BRACKET_TOKEN */ && token.type === 12 /* RIGHT_CURLY_BRACKET_TOKEN */) {\n      return true;\n    }\n    if (type === 28 /* LEFT_SQUARE_BRACKET_TOKEN */ && token.type === 29 /* RIGHT_SQUARE_BRACKET_TOKEN */) {\n      return true;\n    }\n    return type === 2 /* LEFT_PARENTHESIS_TOKEN */ && token.type === 3 /* RIGHT_PARENTHESIS_TOKEN */;\n  };\n\n  var isLength = function isLength(token) {\n    return token.type === 17 /* NUMBER_TOKEN */ || token.type === 15 /* DIMENSION_TOKEN */;\n  };\n\n  var isLengthPercentage = function isLengthPercentage(token) {\n    return token.type === 16 /* PERCENTAGE_TOKEN */ || isLength(token);\n  };\n  var parseLengthPercentageTuple = function parseLengthPercentageTuple(tokens) {\n    return tokens.length > 1 ? [tokens[0], tokens[1]] : [tokens[0]];\n  };\n  var ZERO_LENGTH = {\n    type: 17 /* NUMBER_TOKEN */,\n    number: 0,\n    flags: FLAG_INTEGER\n  };\n  var FIFTY_PERCENT = {\n    type: 16 /* PERCENTAGE_TOKEN */,\n    number: 50,\n    flags: FLAG_INTEGER\n  };\n  var HUNDRED_PERCENT = {\n    type: 16 /* PERCENTAGE_TOKEN */,\n    number: 100,\n    flags: FLAG_INTEGER\n  };\n  var getAbsoluteValueForTuple = function getAbsoluteValueForTuple(tuple, width, height) {\n    var x = tuple[0],\n      y = tuple[1];\n    return [getAbsoluteValue(x, width), getAbsoluteValue(typeof y !== 'undefined' ? y : x, height)];\n  };\n  var getAbsoluteValue = function getAbsoluteValue(token, parent) {\n    if (token.type === 16 /* PERCENTAGE_TOKEN */) {\n      return token.number / 100 * parent;\n    }\n    if (isDimensionToken(token)) {\n      switch (token.unit) {\n        case 'rem':\n        case 'em':\n          return 16 * token.number;\n        // TODO use correct font-size\n        case 'px':\n        default:\n          return token.number;\n      }\n    }\n    return token.number;\n  };\n  var DEG = 'deg';\n  var GRAD = 'grad';\n  var RAD = 'rad';\n  var TURN = 'turn';\n  var angle = {\n    name: 'angle',\n    parse: function parse(_context, value) {\n      if (value.type === 15 /* DIMENSION_TOKEN */) {\n        switch (value.unit) {\n          case DEG:\n            return Math.PI * value.number / 180;\n          case GRAD:\n            return Math.PI / 200 * value.number;\n          case RAD:\n            return value.number;\n          case TURN:\n            return Math.PI * 2 * value.number;\n        }\n      }\n      throw new Error(\"Unsupported angle type\");\n    }\n  };\n  var isAngle = function isAngle(value) {\n    if (value.type === 15 /* DIMENSION_TOKEN */) {\n      if (value.unit === DEG || value.unit === GRAD || value.unit === RAD || value.unit === TURN) {\n        return true;\n      }\n    }\n    return false;\n  };\n  var parseNamedSide = function parseNamedSide(tokens) {\n    var sideOrCorner = tokens.filter(isIdentToken).map(function (ident) {\n      return ident.value;\n    }).join(' ');\n    switch (sideOrCorner) {\n      case 'to bottom right':\n      case 'to right bottom':\n      case 'left top':\n      case 'top left':\n        return [ZERO_LENGTH, ZERO_LENGTH];\n      case 'to top':\n      case 'bottom':\n        return deg(0);\n      case 'to bottom left':\n      case 'to left bottom':\n      case 'right top':\n      case 'top right':\n        return [ZERO_LENGTH, HUNDRED_PERCENT];\n      case 'to right':\n      case 'left':\n        return deg(90);\n      case 'to top left':\n      case 'to left top':\n      case 'right bottom':\n      case 'bottom right':\n        return [HUNDRED_PERCENT, HUNDRED_PERCENT];\n      case 'to bottom':\n      case 'top':\n        return deg(180);\n      case 'to top right':\n      case 'to right top':\n      case 'left bottom':\n      case 'bottom left':\n        return [HUNDRED_PERCENT, ZERO_LENGTH];\n      case 'to left':\n      case 'right':\n        return deg(270);\n    }\n    return 0;\n  };\n  var deg = function deg(_deg) {\n    return Math.PI * _deg / 180;\n  };\n  var color$1 = {\n    name: 'color',\n    parse: function parse(context, value) {\n      if (value.type === 18 /* FUNCTION */) {\n        var colorFunction = SUPPORTED_COLOR_FUNCTIONS[value.name];\n        if (typeof colorFunction === 'undefined') {\n          throw new Error(\"Attempting to parse an unsupported color function \\\"\" + value.name + \"\\\"\");\n        }\n        return colorFunction(context, value.values);\n      }\n      if (value.type === 5 /* HASH_TOKEN */) {\n        if (value.value.length === 3) {\n          var r = value.value.substring(0, 1);\n          var g = value.value.substring(1, 2);\n          var b = value.value.substring(2, 3);\n          return pack(parseInt(r + r, 16), parseInt(g + g, 16), parseInt(b + b, 16), 1);\n        }\n        if (value.value.length === 4) {\n          var r = value.value.substring(0, 1);\n          var g = value.value.substring(1, 2);\n          var b = value.value.substring(2, 3);\n          var a = value.value.substring(3, 4);\n          return pack(parseInt(r + r, 16), parseInt(g + g, 16), parseInt(b + b, 16), parseInt(a + a, 16) / 255);\n        }\n        if (value.value.length === 6) {\n          var r = value.value.substring(0, 2);\n          var g = value.value.substring(2, 4);\n          var b = value.value.substring(4, 6);\n          return pack(parseInt(r, 16), parseInt(g, 16), parseInt(b, 16), 1);\n        }\n        if (value.value.length === 8) {\n          var r = value.value.substring(0, 2);\n          var g = value.value.substring(2, 4);\n          var b = value.value.substring(4, 6);\n          var a = value.value.substring(6, 8);\n          return pack(parseInt(r, 16), parseInt(g, 16), parseInt(b, 16), parseInt(a, 16) / 255);\n        }\n      }\n      if (value.type === 20 /* IDENT_TOKEN */) {\n        var namedColor = COLORS[value.value.toUpperCase()];\n        if (typeof namedColor !== 'undefined') {\n          return namedColor;\n        }\n      }\n      return COLORS.TRANSPARENT;\n    }\n  };\n  var isTransparent = function isTransparent(color) {\n    return (0xff & color) === 0;\n  };\n  var asString = function asString(color) {\n    var alpha = 0xff & color;\n    var blue = 0xff & color >> 8;\n    var green = 0xff & color >> 16;\n    var red = 0xff & color >> 24;\n    return alpha < 255 ? \"rgba(\" + red + \",\" + green + \",\" + blue + \",\" + alpha / 255 + \")\" : \"rgb(\" + red + \",\" + green + \",\" + blue + \")\";\n  };\n  var pack = function pack(r, g, b, a) {\n    return (r << 24 | g << 16 | b << 8 | Math.round(a * 255) << 0) >>> 0;\n  };\n  var getTokenColorValue = function getTokenColorValue(token, i) {\n    if (token.type === 17 /* NUMBER_TOKEN */) {\n      return token.number;\n    }\n    if (token.type === 16 /* PERCENTAGE_TOKEN */) {\n      var max = i === 3 ? 1 : 255;\n      return i === 3 ? token.number / 100 * max : Math.round(token.number / 100 * max);\n    }\n    return 0;\n  };\n  var rgb = function rgb(_context, args) {\n    var tokens = args.filter(nonFunctionArgSeparator);\n    if (tokens.length === 3) {\n      var _a = tokens.map(getTokenColorValue),\n        r = _a[0],\n        g = _a[1],\n        b = _a[2];\n      return pack(r, g, b, 1);\n    }\n    if (tokens.length === 4) {\n      var _b = tokens.map(getTokenColorValue),\n        r = _b[0],\n        g = _b[1],\n        b = _b[2],\n        a = _b[3];\n      return pack(r, g, b, a);\n    }\n    return 0;\n  };\n  function hue2rgb(t1, t2, hue) {\n    if (hue < 0) {\n      hue += 1;\n    }\n    if (hue >= 1) {\n      hue -= 1;\n    }\n    if (hue < 1 / 6) {\n      return (t2 - t1) * hue * 6 + t1;\n    } else if (hue < 1 / 2) {\n      return t2;\n    } else if (hue < 2 / 3) {\n      return (t2 - t1) * 6 * (2 / 3 - hue) + t1;\n    } else {\n      return t1;\n    }\n  }\n  var hsl = function hsl(context, args) {\n    var tokens = args.filter(nonFunctionArgSeparator);\n    var hue = tokens[0],\n      saturation = tokens[1],\n      lightness = tokens[2],\n      alpha = tokens[3];\n    var h = (hue.type === 17 /* NUMBER_TOKEN */ ? deg(hue.number) : angle.parse(context, hue)) / (Math.PI * 2);\n    var s = isLengthPercentage(saturation) ? saturation.number / 100 : 0;\n    var l = isLengthPercentage(lightness) ? lightness.number / 100 : 0;\n    var a = typeof alpha !== 'undefined' && isLengthPercentage(alpha) ? getAbsoluteValue(alpha, 1) : 1;\n    if (s === 0) {\n      return pack(l * 255, l * 255, l * 255, 1);\n    }\n    var t2 = l <= 0.5 ? l * (s + 1) : l + s - l * s;\n    var t1 = l * 2 - t2;\n    var r = hue2rgb(t1, t2, h + 1 / 3);\n    var g = hue2rgb(t1, t2, h);\n    var b = hue2rgb(t1, t2, h - 1 / 3);\n    return pack(r * 255, g * 255, b * 255, a);\n  };\n  var SUPPORTED_COLOR_FUNCTIONS = {\n    hsl: hsl,\n    hsla: hsl,\n    rgb: rgb,\n    rgba: rgb\n  };\n  var parseColor = function parseColor(context, value) {\n    return color$1.parse(context, Parser.create(value).parseComponentValue());\n  };\n  var COLORS = {\n    ALICEBLUE: 0xf0f8ffff,\n    ANTIQUEWHITE: 0xfaebd7ff,\n    AQUA: 0x00ffffff,\n    AQUAMARINE: 0x7fffd4ff,\n    AZURE: 0xf0ffffff,\n    BEIGE: 0xf5f5dcff,\n    BISQUE: 0xffe4c4ff,\n    BLACK: 0x000000ff,\n    BLANCHEDALMOND: 0xffebcdff,\n    BLUE: 0x0000ffff,\n    BLUEVIOLET: 0x8a2be2ff,\n    BROWN: 0xa52a2aff,\n    BURLYWOOD: 0xdeb887ff,\n    CADETBLUE: 0x5f9ea0ff,\n    CHARTREUSE: 0x7fff00ff,\n    CHOCOLATE: 0xd2691eff,\n    CORAL: 0xff7f50ff,\n    CORNFLOWERBLUE: 0x6495edff,\n    CORNSILK: 0xfff8dcff,\n    CRIMSON: 0xdc143cff,\n    CYAN: 0x00ffffff,\n    DARKBLUE: 0x00008bff,\n    DARKCYAN: 0x008b8bff,\n    DARKGOLDENROD: 0xb886bbff,\n    DARKGRAY: 0xa9a9a9ff,\n    DARKGREEN: 0x006400ff,\n    DARKGREY: 0xa9a9a9ff,\n    DARKKHAKI: 0xbdb76bff,\n    DARKMAGENTA: 0x8b008bff,\n    DARKOLIVEGREEN: 0x556b2fff,\n    DARKORANGE: 0xff8c00ff,\n    DARKORCHID: 0x9932ccff,\n    DARKRED: 0x8b0000ff,\n    DARKSALMON: 0xe9967aff,\n    DARKSEAGREEN: 0x8fbc8fff,\n    DARKSLATEBLUE: 0x483d8bff,\n    DARKSLATEGRAY: 0x2f4f4fff,\n    DARKSLATEGREY: 0x2f4f4fff,\n    DARKTURQUOISE: 0x00ced1ff,\n    DARKVIOLET: 0x9400d3ff,\n    DEEPPINK: 0xff1493ff,\n    DEEPSKYBLUE: 0x00bfffff,\n    DIMGRAY: 0x696969ff,\n    DIMGREY: 0x696969ff,\n    DODGERBLUE: 0x1e90ffff,\n    FIREBRICK: 0xb22222ff,\n    FLORALWHITE: 0xfffaf0ff,\n    FORESTGREEN: 0x228b22ff,\n    FUCHSIA: 0xff00ffff,\n    GAINSBORO: 0xdcdcdcff,\n    GHOSTWHITE: 0xf8f8ffff,\n    GOLD: 0xffd700ff,\n    GOLDENROD: 0xdaa520ff,\n    GRAY: 0x808080ff,\n    GREEN: 0x008000ff,\n    GREENYELLOW: 0xadff2fff,\n    GREY: 0x808080ff,\n    HONEYDEW: 0xf0fff0ff,\n    HOTPINK: 0xff69b4ff,\n    INDIANRED: 0xcd5c5cff,\n    INDIGO: 0x4b0082ff,\n    IVORY: 0xfffff0ff,\n    KHAKI: 0xf0e68cff,\n    LAVENDER: 0xe6e6faff,\n    LAVENDERBLUSH: 0xfff0f5ff,\n    LAWNGREEN: 0x7cfc00ff,\n    LEMONCHIFFON: 0xfffacdff,\n    LIGHTBLUE: 0xadd8e6ff,\n    LIGHTCORAL: 0xf08080ff,\n    LIGHTCYAN: 0xe0ffffff,\n    LIGHTGOLDENRODYELLOW: 0xfafad2ff,\n    LIGHTGRAY: 0xd3d3d3ff,\n    LIGHTGREEN: 0x90ee90ff,\n    LIGHTGREY: 0xd3d3d3ff,\n    LIGHTPINK: 0xffb6c1ff,\n    LIGHTSALMON: 0xffa07aff,\n    LIGHTSEAGREEN: 0x20b2aaff,\n    LIGHTSKYBLUE: 0x87cefaff,\n    LIGHTSLATEGRAY: 0x778899ff,\n    LIGHTSLATEGREY: 0x778899ff,\n    LIGHTSTEELBLUE: 0xb0c4deff,\n    LIGHTYELLOW: 0xffffe0ff,\n    LIME: 0x00ff00ff,\n    LIMEGREEN: 0x32cd32ff,\n    LINEN: 0xfaf0e6ff,\n    MAGENTA: 0xff00ffff,\n    MAROON: 0x800000ff,\n    MEDIUMAQUAMARINE: 0x66cdaaff,\n    MEDIUMBLUE: 0x0000cdff,\n    MEDIUMORCHID: 0xba55d3ff,\n    MEDIUMPURPLE: 0x9370dbff,\n    MEDIUMSEAGREEN: 0x3cb371ff,\n    MEDIUMSLATEBLUE: 0x7b68eeff,\n    MEDIUMSPRINGGREEN: 0x00fa9aff,\n    MEDIUMTURQUOISE: 0x48d1ccff,\n    MEDIUMVIOLETRED: 0xc71585ff,\n    MIDNIGHTBLUE: 0x191970ff,\n    MINTCREAM: 0xf5fffaff,\n    MISTYROSE: 0xffe4e1ff,\n    MOCCASIN: 0xffe4b5ff,\n    NAVAJOWHITE: 0xffdeadff,\n    NAVY: 0x000080ff,\n    OLDLACE: 0xfdf5e6ff,\n    OLIVE: 0x808000ff,\n    OLIVEDRAB: 0x6b8e23ff,\n    ORANGE: 0xffa500ff,\n    ORANGERED: 0xff4500ff,\n    ORCHID: 0xda70d6ff,\n    PALEGOLDENROD: 0xeee8aaff,\n    PALEGREEN: 0x98fb98ff,\n    PALETURQUOISE: 0xafeeeeff,\n    PALEVIOLETRED: 0xdb7093ff,\n    PAPAYAWHIP: 0xffefd5ff,\n    PEACHPUFF: 0xffdab9ff,\n    PERU: 0xcd853fff,\n    PINK: 0xffc0cbff,\n    PLUM: 0xdda0ddff,\n    POWDERBLUE: 0xb0e0e6ff,\n    PURPLE: 0x800080ff,\n    REBECCAPURPLE: 0x663399ff,\n    RED: 0xff0000ff,\n    ROSYBROWN: 0xbc8f8fff,\n    ROYALBLUE: 0x4169e1ff,\n    SADDLEBROWN: 0x8b4513ff,\n    SALMON: 0xfa8072ff,\n    SANDYBROWN: 0xf4a460ff,\n    SEAGREEN: 0x2e8b57ff,\n    SEASHELL: 0xfff5eeff,\n    SIENNA: 0xa0522dff,\n    SILVER: 0xc0c0c0ff,\n    SKYBLUE: 0x87ceebff,\n    SLATEBLUE: 0x6a5acdff,\n    SLATEGRAY: 0x708090ff,\n    SLATEGREY: 0x708090ff,\n    SNOW: 0xfffafaff,\n    SPRINGGREEN: 0x00ff7fff,\n    STEELBLUE: 0x4682b4ff,\n    TAN: 0xd2b48cff,\n    TEAL: 0x008080ff,\n    THISTLE: 0xd8bfd8ff,\n    TOMATO: 0xff6347ff,\n    TRANSPARENT: 0x00000000,\n    TURQUOISE: 0x40e0d0ff,\n    VIOLET: 0xee82eeff,\n    WHEAT: 0xf5deb3ff,\n    WHITE: 0xffffffff,\n    WHITESMOKE: 0xf5f5f5ff,\n    YELLOW: 0xffff00ff,\n    YELLOWGREEN: 0x9acd32ff\n  };\n  var backgroundClip = {\n    name: 'background-clip',\n    initialValue: 'border-box',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      return tokens.map(function (token) {\n        if (isIdentToken(token)) {\n          switch (token.value) {\n            case 'padding-box':\n              return 1 /* PADDING_BOX */;\n            case 'content-box':\n              return 2 /* CONTENT_BOX */;\n          }\n        }\n\n        return 0 /* BORDER_BOX */;\n      });\n    }\n  };\n\n  var backgroundColor = {\n    name: \"background-color\",\n    initialValue: 'transparent',\n    prefix: false,\n    type: 3 /* TYPE_VALUE */,\n    format: 'color'\n  };\n  var parseColorStop = function parseColorStop(context, args) {\n    var color = color$1.parse(context, args[0]);\n    var stop = args[1];\n    return stop && isLengthPercentage(stop) ? {\n      color: color,\n      stop: stop\n    } : {\n      color: color,\n      stop: null\n    };\n  };\n  var processColorStops = function processColorStops(stops, lineLength) {\n    var first = stops[0];\n    var last = stops[stops.length - 1];\n    if (first.stop === null) {\n      first.stop = ZERO_LENGTH;\n    }\n    if (last.stop === null) {\n      last.stop = HUNDRED_PERCENT;\n    }\n    var processStops = [];\n    var previous = 0;\n    for (var i = 0; i < stops.length; i++) {\n      var stop_1 = stops[i].stop;\n      if (stop_1 !== null) {\n        var absoluteValue = getAbsoluteValue(stop_1, lineLength);\n        if (absoluteValue > previous) {\n          processStops.push(absoluteValue);\n        } else {\n          processStops.push(previous);\n        }\n        previous = absoluteValue;\n      } else {\n        processStops.push(null);\n      }\n    }\n    var gapBegin = null;\n    for (var i = 0; i < processStops.length; i++) {\n      var stop_2 = processStops[i];\n      if (stop_2 === null) {\n        if (gapBegin === null) {\n          gapBegin = i;\n        }\n      } else if (gapBegin !== null) {\n        var gapLength = i - gapBegin;\n        var beforeGap = processStops[gapBegin - 1];\n        var gapValue = (stop_2 - beforeGap) / (gapLength + 1);\n        for (var g = 1; g <= gapLength; g++) {\n          processStops[gapBegin + g - 1] = gapValue * g;\n        }\n        gapBegin = null;\n      }\n    }\n    return stops.map(function (_a, i) {\n      var color = _a.color;\n      return {\n        color: color,\n        stop: Math.max(Math.min(1, processStops[i] / lineLength), 0)\n      };\n    });\n  };\n  var getAngleFromCorner = function getAngleFromCorner(corner, width, height) {\n    var centerX = width / 2;\n    var centerY = height / 2;\n    var x = getAbsoluteValue(corner[0], width) - centerX;\n    var y = centerY - getAbsoluteValue(corner[1], height);\n    return (Math.atan2(y, x) + Math.PI * 2) % (Math.PI * 2);\n  };\n  var calculateGradientDirection = function calculateGradientDirection(angle, width, height) {\n    var radian = typeof angle === 'number' ? angle : getAngleFromCorner(angle, width, height);\n    var lineLength = Math.abs(width * Math.sin(radian)) + Math.abs(height * Math.cos(radian));\n    var halfWidth = width / 2;\n    var halfHeight = height / 2;\n    var halfLineLength = lineLength / 2;\n    var yDiff = Math.sin(radian - Math.PI / 2) * halfLineLength;\n    var xDiff = Math.cos(radian - Math.PI / 2) * halfLineLength;\n    return [lineLength, halfWidth - xDiff, halfWidth + xDiff, halfHeight - yDiff, halfHeight + yDiff];\n  };\n  var distance = function distance(a, b) {\n    return Math.sqrt(a * a + b * b);\n  };\n  var findCorner = function findCorner(width, height, x, y, closest) {\n    var corners = [[0, 0], [0, height], [width, 0], [width, height]];\n    return corners.reduce(function (stat, corner) {\n      var cx = corner[0],\n        cy = corner[1];\n      var d = distance(x - cx, y - cy);\n      if (closest ? d < stat.optimumDistance : d > stat.optimumDistance) {\n        return {\n          optimumCorner: corner,\n          optimumDistance: d\n        };\n      }\n      return stat;\n    }, {\n      optimumDistance: closest ? Infinity : -Infinity,\n      optimumCorner: null\n    }).optimumCorner;\n  };\n  var calculateRadius = function calculateRadius(gradient, x, y, width, height) {\n    var rx = 0;\n    var ry = 0;\n    switch (gradient.size) {\n      case 0 /* CLOSEST_SIDE */:\n        // The ending shape is sized so that that it exactly meets the side of the gradient box closest to the gradient’s center.\n        // If the shape is an ellipse, it exactly meets the closest side in each dimension.\n        if (gradient.shape === 0 /* CIRCLE */) {\n          rx = ry = Math.min(Math.abs(x), Math.abs(x - width), Math.abs(y), Math.abs(y - height));\n        } else if (gradient.shape === 1 /* ELLIPSE */) {\n          rx = Math.min(Math.abs(x), Math.abs(x - width));\n          ry = Math.min(Math.abs(y), Math.abs(y - height));\n        }\n        break;\n      case 2 /* CLOSEST_CORNER */:\n        // The ending shape is sized so that that it passes through the corner of the gradient box closest to the gradient’s center.\n        // If the shape is an ellipse, the ending shape is given the same aspect-ratio it would have if closest-side were specified.\n        if (gradient.shape === 0 /* CIRCLE */) {\n          rx = ry = Math.min(distance(x, y), distance(x, y - height), distance(x - width, y), distance(x - width, y - height));\n        } else if (gradient.shape === 1 /* ELLIPSE */) {\n          // Compute the ratio ry/rx (which is to be the same as for \"closest-side\")\n          var c = Math.min(Math.abs(y), Math.abs(y - height)) / Math.min(Math.abs(x), Math.abs(x - width));\n          var _a = findCorner(width, height, x, y, true),\n            cx = _a[0],\n            cy = _a[1];\n          rx = distance(cx - x, (cy - y) / c);\n          ry = c * rx;\n        }\n        break;\n      case 1 /* FARTHEST_SIDE */:\n        // Same as closest-side, except the ending shape is sized based on the farthest side(s)\n        if (gradient.shape === 0 /* CIRCLE */) {\n          rx = ry = Math.max(Math.abs(x), Math.abs(x - width), Math.abs(y), Math.abs(y - height));\n        } else if (gradient.shape === 1 /* ELLIPSE */) {\n          rx = Math.max(Math.abs(x), Math.abs(x - width));\n          ry = Math.max(Math.abs(y), Math.abs(y - height));\n        }\n        break;\n      case 3 /* FARTHEST_CORNER */:\n        // Same as closest-corner, except the ending shape is sized based on the farthest corner.\n        // If the shape is an ellipse, the ending shape is given the same aspect ratio it would have if farthest-side were specified.\n        if (gradient.shape === 0 /* CIRCLE */) {\n          rx = ry = Math.max(distance(x, y), distance(x, y - height), distance(x - width, y), distance(x - width, y - height));\n        } else if (gradient.shape === 1 /* ELLIPSE */) {\n          // Compute the ratio ry/rx (which is to be the same as for \"farthest-side\")\n          var c = Math.max(Math.abs(y), Math.abs(y - height)) / Math.max(Math.abs(x), Math.abs(x - width));\n          var _b = findCorner(width, height, x, y, false),\n            cx = _b[0],\n            cy = _b[1];\n          rx = distance(cx - x, (cy - y) / c);\n          ry = c * rx;\n        }\n        break;\n    }\n    if (Array.isArray(gradient.size)) {\n      rx = getAbsoluteValue(gradient.size[0], width);\n      ry = gradient.size.length === 2 ? getAbsoluteValue(gradient.size[1], height) : rx;\n    }\n    return [rx, ry];\n  };\n  var linearGradient = function linearGradient(context, tokens) {\n    var angle$1 = deg(180);\n    var stops = [];\n    parseFunctionArgs(tokens).forEach(function (arg, i) {\n      if (i === 0) {\n        var firstToken = arg[0];\n        if (firstToken.type === 20 /* IDENT_TOKEN */ && firstToken.value === 'to') {\n          angle$1 = parseNamedSide(arg);\n          return;\n        } else if (isAngle(firstToken)) {\n          angle$1 = angle.parse(context, firstToken);\n          return;\n        }\n      }\n      var colorStop = parseColorStop(context, arg);\n      stops.push(colorStop);\n    });\n    return {\n      angle: angle$1,\n      stops: stops,\n      type: 1 /* LINEAR_GRADIENT */\n    };\n  };\n\n  var prefixLinearGradient = function prefixLinearGradient(context, tokens) {\n    var angle$1 = deg(180);\n    var stops = [];\n    parseFunctionArgs(tokens).forEach(function (arg, i) {\n      if (i === 0) {\n        var firstToken = arg[0];\n        if (firstToken.type === 20 /* IDENT_TOKEN */ && ['top', 'left', 'right', 'bottom'].indexOf(firstToken.value) !== -1) {\n          angle$1 = parseNamedSide(arg);\n          return;\n        } else if (isAngle(firstToken)) {\n          angle$1 = (angle.parse(context, firstToken) + deg(270)) % deg(360);\n          return;\n        }\n      }\n      var colorStop = parseColorStop(context, arg);\n      stops.push(colorStop);\n    });\n    return {\n      angle: angle$1,\n      stops: stops,\n      type: 1 /* LINEAR_GRADIENT */\n    };\n  };\n\n  var webkitGradient = function webkitGradient(context, tokens) {\n    var angle = deg(180);\n    var stops = [];\n    var type = 1 /* LINEAR_GRADIENT */;\n    var shape = 0 /* CIRCLE */;\n    var size = 3 /* FARTHEST_CORNER */;\n    var position = [];\n    parseFunctionArgs(tokens).forEach(function (arg, i) {\n      var firstToken = arg[0];\n      if (i === 0) {\n        if (isIdentToken(firstToken) && firstToken.value === 'linear') {\n          type = 1 /* LINEAR_GRADIENT */;\n          return;\n        } else if (isIdentToken(firstToken) && firstToken.value === 'radial') {\n          type = 2 /* RADIAL_GRADIENT */;\n          return;\n        }\n      }\n      if (firstToken.type === 18 /* FUNCTION */) {\n        if (firstToken.name === 'from') {\n          var color = color$1.parse(context, firstToken.values[0]);\n          stops.push({\n            stop: ZERO_LENGTH,\n            color: color\n          });\n        } else if (firstToken.name === 'to') {\n          var color = color$1.parse(context, firstToken.values[0]);\n          stops.push({\n            stop: HUNDRED_PERCENT,\n            color: color\n          });\n        } else if (firstToken.name === 'color-stop') {\n          var values = firstToken.values.filter(nonFunctionArgSeparator);\n          if (values.length === 2) {\n            var color = color$1.parse(context, values[1]);\n            var stop_1 = values[0];\n            if (isNumberToken(stop_1)) {\n              stops.push({\n                stop: {\n                  type: 16 /* PERCENTAGE_TOKEN */,\n                  number: stop_1.number * 100,\n                  flags: stop_1.flags\n                },\n                color: color\n              });\n            }\n          }\n        }\n      }\n    });\n    return type === 1 /* LINEAR_GRADIENT */ ? {\n      angle: (angle + deg(180)) % deg(360),\n      stops: stops,\n      type: type\n    } : {\n      size: size,\n      shape: shape,\n      stops: stops,\n      position: position,\n      type: type\n    };\n  };\n  var CLOSEST_SIDE = 'closest-side';\n  var FARTHEST_SIDE = 'farthest-side';\n  var CLOSEST_CORNER = 'closest-corner';\n  var FARTHEST_CORNER = 'farthest-corner';\n  var CIRCLE = 'circle';\n  var ELLIPSE = 'ellipse';\n  var COVER = 'cover';\n  var CONTAIN = 'contain';\n  var radialGradient = function radialGradient(context, tokens) {\n    var shape = 0 /* CIRCLE */;\n    var size = 3 /* FARTHEST_CORNER */;\n    var stops = [];\n    var position = [];\n    parseFunctionArgs(tokens).forEach(function (arg, i) {\n      var isColorStop = true;\n      if (i === 0) {\n        var isAtPosition_1 = false;\n        isColorStop = arg.reduce(function (acc, token) {\n          if (isAtPosition_1) {\n            if (isIdentToken(token)) {\n              switch (token.value) {\n                case 'center':\n                  position.push(FIFTY_PERCENT);\n                  return acc;\n                case 'top':\n                case 'left':\n                  position.push(ZERO_LENGTH);\n                  return acc;\n                case 'right':\n                case 'bottom':\n                  position.push(HUNDRED_PERCENT);\n                  return acc;\n              }\n            } else if (isLengthPercentage(token) || isLength(token)) {\n              position.push(token);\n            }\n          } else if (isIdentToken(token)) {\n            switch (token.value) {\n              case CIRCLE:\n                shape = 0 /* CIRCLE */;\n                return false;\n              case ELLIPSE:\n                shape = 1 /* ELLIPSE */;\n                return false;\n              case 'at':\n                isAtPosition_1 = true;\n                return false;\n              case CLOSEST_SIDE:\n                size = 0 /* CLOSEST_SIDE */;\n                return false;\n              case COVER:\n              case FARTHEST_SIDE:\n                size = 1 /* FARTHEST_SIDE */;\n                return false;\n              case CONTAIN:\n              case CLOSEST_CORNER:\n                size = 2 /* CLOSEST_CORNER */;\n                return false;\n              case FARTHEST_CORNER:\n                size = 3 /* FARTHEST_CORNER */;\n                return false;\n            }\n          } else if (isLength(token) || isLengthPercentage(token)) {\n            if (!Array.isArray(size)) {\n              size = [];\n            }\n            size.push(token);\n            return false;\n          }\n          return acc;\n        }, isColorStop);\n      }\n      if (isColorStop) {\n        var colorStop = parseColorStop(context, arg);\n        stops.push(colorStop);\n      }\n    });\n    return {\n      size: size,\n      shape: shape,\n      stops: stops,\n      position: position,\n      type: 2 /* RADIAL_GRADIENT */\n    };\n  };\n\n  var prefixRadialGradient = function prefixRadialGradient(context, tokens) {\n    var shape = 0 /* CIRCLE */;\n    var size = 3 /* FARTHEST_CORNER */;\n    var stops = [];\n    var position = [];\n    parseFunctionArgs(tokens).forEach(function (arg, i) {\n      var isColorStop = true;\n      if (i === 0) {\n        isColorStop = arg.reduce(function (acc, token) {\n          if (isIdentToken(token)) {\n            switch (token.value) {\n              case 'center':\n                position.push(FIFTY_PERCENT);\n                return false;\n              case 'top':\n              case 'left':\n                position.push(ZERO_LENGTH);\n                return false;\n              case 'right':\n              case 'bottom':\n                position.push(HUNDRED_PERCENT);\n                return false;\n            }\n          } else if (isLengthPercentage(token) || isLength(token)) {\n            position.push(token);\n            return false;\n          }\n          return acc;\n        }, isColorStop);\n      } else if (i === 1) {\n        isColorStop = arg.reduce(function (acc, token) {\n          if (isIdentToken(token)) {\n            switch (token.value) {\n              case CIRCLE:\n                shape = 0 /* CIRCLE */;\n                return false;\n              case ELLIPSE:\n                shape = 1 /* ELLIPSE */;\n                return false;\n              case CONTAIN:\n              case CLOSEST_SIDE:\n                size = 0 /* CLOSEST_SIDE */;\n                return false;\n              case FARTHEST_SIDE:\n                size = 1 /* FARTHEST_SIDE */;\n                return false;\n              case CLOSEST_CORNER:\n                size = 2 /* CLOSEST_CORNER */;\n                return false;\n              case COVER:\n              case FARTHEST_CORNER:\n                size = 3 /* FARTHEST_CORNER */;\n                return false;\n            }\n          } else if (isLength(token) || isLengthPercentage(token)) {\n            if (!Array.isArray(size)) {\n              size = [];\n            }\n            size.push(token);\n            return false;\n          }\n          return acc;\n        }, isColorStop);\n      }\n      if (isColorStop) {\n        var colorStop = parseColorStop(context, arg);\n        stops.push(colorStop);\n      }\n    });\n    return {\n      size: size,\n      shape: shape,\n      stops: stops,\n      position: position,\n      type: 2 /* RADIAL_GRADIENT */\n    };\n  };\n\n  var isLinearGradient = function isLinearGradient(background) {\n    return background.type === 1 /* LINEAR_GRADIENT */;\n  };\n\n  var isRadialGradient = function isRadialGradient(background) {\n    return background.type === 2 /* RADIAL_GRADIENT */;\n  };\n\n  var image = {\n    name: 'image',\n    parse: function parse(context, value) {\n      if (value.type === 22 /* URL_TOKEN */) {\n        var image_1 = {\n          url: value.value,\n          type: 0 /* URL */\n        };\n        context.cache.addImage(value.value);\n        return image_1;\n      }\n      if (value.type === 18 /* FUNCTION */) {\n        var imageFunction = SUPPORTED_IMAGE_FUNCTIONS[value.name];\n        if (typeof imageFunction === 'undefined') {\n          throw new Error(\"Attempting to parse an unsupported image function \\\"\" + value.name + \"\\\"\");\n        }\n        return imageFunction(context, value.values);\n      }\n      throw new Error(\"Unsupported image type \" + value.type);\n    }\n  };\n  function isSupportedImage(value) {\n    return !(value.type === 20 /* IDENT_TOKEN */ && value.value === 'none') && (value.type !== 18 /* FUNCTION */ || !!SUPPORTED_IMAGE_FUNCTIONS[value.name]);\n  }\n  var SUPPORTED_IMAGE_FUNCTIONS = {\n    'linear-gradient': linearGradient,\n    '-moz-linear-gradient': prefixLinearGradient,\n    '-ms-linear-gradient': prefixLinearGradient,\n    '-o-linear-gradient': prefixLinearGradient,\n    '-webkit-linear-gradient': prefixLinearGradient,\n    'radial-gradient': radialGradient,\n    '-moz-radial-gradient': prefixRadialGradient,\n    '-ms-radial-gradient': prefixRadialGradient,\n    '-o-radial-gradient': prefixRadialGradient,\n    '-webkit-radial-gradient': prefixRadialGradient,\n    '-webkit-gradient': webkitGradient\n  };\n  var backgroundImage = {\n    name: 'background-image',\n    initialValue: 'none',\n    type: 1 /* LIST */,\n    prefix: false,\n    parse: function parse(context, tokens) {\n      if (tokens.length === 0) {\n        return [];\n      }\n      var first = tokens[0];\n      if (first.type === 20 /* IDENT_TOKEN */ && first.value === 'none') {\n        return [];\n      }\n      return tokens.filter(function (value) {\n        return nonFunctionArgSeparator(value) && isSupportedImage(value);\n      }).map(function (value) {\n        return image.parse(context, value);\n      });\n    }\n  };\n  var backgroundOrigin = {\n    name: 'background-origin',\n    initialValue: 'border-box',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      return tokens.map(function (token) {\n        if (isIdentToken(token)) {\n          switch (token.value) {\n            case 'padding-box':\n              return 1 /* PADDING_BOX */;\n            case 'content-box':\n              return 2 /* CONTENT_BOX */;\n          }\n        }\n\n        return 0 /* BORDER_BOX */;\n      });\n    }\n  };\n\n  var backgroundPosition = {\n    name: 'background-position',\n    initialValue: '0% 0%',\n    type: 1 /* LIST */,\n    prefix: false,\n    parse: function parse(_context, tokens) {\n      return parseFunctionArgs(tokens).map(function (values) {\n        return values.filter(isLengthPercentage);\n      }).map(parseLengthPercentageTuple);\n    }\n  };\n  var backgroundRepeat = {\n    name: 'background-repeat',\n    initialValue: 'repeat',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      return parseFunctionArgs(tokens).map(function (values) {\n        return values.filter(isIdentToken).map(function (token) {\n          return token.value;\n        }).join(' ');\n      }).map(parseBackgroundRepeat);\n    }\n  };\n  var parseBackgroundRepeat = function parseBackgroundRepeat(value) {\n    switch (value) {\n      case 'no-repeat':\n        return 1 /* NO_REPEAT */;\n      case 'repeat-x':\n      case 'repeat no-repeat':\n        return 2 /* REPEAT_X */;\n      case 'repeat-y':\n      case 'no-repeat repeat':\n        return 3 /* REPEAT_Y */;\n      case 'repeat':\n      default:\n        return 0 /* REPEAT */;\n    }\n  };\n\n  var BACKGROUND_SIZE;\n  (function (BACKGROUND_SIZE) {\n    BACKGROUND_SIZE[\"AUTO\"] = \"auto\";\n    BACKGROUND_SIZE[\"CONTAIN\"] = \"contain\";\n    BACKGROUND_SIZE[\"COVER\"] = \"cover\";\n  })(BACKGROUND_SIZE || (BACKGROUND_SIZE = {}));\n  var backgroundSize = {\n    name: 'background-size',\n    initialValue: '0',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      return parseFunctionArgs(tokens).map(function (values) {\n        return values.filter(isBackgroundSizeInfoToken);\n      });\n    }\n  };\n  var isBackgroundSizeInfoToken = function isBackgroundSizeInfoToken(value) {\n    return isIdentToken(value) || isLengthPercentage(value);\n  };\n  var borderColorForSide = function borderColorForSide(side) {\n    return {\n      name: \"border-\" + side + \"-color\",\n      initialValue: 'transparent',\n      prefix: false,\n      type: 3 /* TYPE_VALUE */,\n      format: 'color'\n    };\n  };\n  var borderTopColor = borderColorForSide('top');\n  var borderRightColor = borderColorForSide('right');\n  var borderBottomColor = borderColorForSide('bottom');\n  var borderLeftColor = borderColorForSide('left');\n  var borderRadiusForSide = function borderRadiusForSide(side) {\n    return {\n      name: \"border-radius-\" + side,\n      initialValue: '0 0',\n      prefix: false,\n      type: 1 /* LIST */,\n      parse: function parse(_context, tokens) {\n        return parseLengthPercentageTuple(tokens.filter(isLengthPercentage));\n      }\n    };\n  };\n  var borderTopLeftRadius = borderRadiusForSide('top-left');\n  var borderTopRightRadius = borderRadiusForSide('top-right');\n  var borderBottomRightRadius = borderRadiusForSide('bottom-right');\n  var borderBottomLeftRadius = borderRadiusForSide('bottom-left');\n  var borderStyleForSide = function borderStyleForSide(side) {\n    return {\n      name: \"border-\" + side + \"-style\",\n      initialValue: 'solid',\n      prefix: false,\n      type: 2 /* IDENT_VALUE */,\n      parse: function parse(_context, style) {\n        switch (style) {\n          case 'none':\n            return 0 /* NONE */;\n          case 'dashed':\n            return 2 /* DASHED */;\n          case 'dotted':\n            return 3 /* DOTTED */;\n          case 'double':\n            return 4 /* DOUBLE */;\n        }\n\n        return 1 /* SOLID */;\n      }\n    };\n  };\n\n  var borderTopStyle = borderStyleForSide('top');\n  var borderRightStyle = borderStyleForSide('right');\n  var borderBottomStyle = borderStyleForSide('bottom');\n  var borderLeftStyle = borderStyleForSide('left');\n  var borderWidthForSide = function borderWidthForSide(side) {\n    return {\n      name: \"border-\" + side + \"-width\",\n      initialValue: '0',\n      type: 0 /* VALUE */,\n      prefix: false,\n      parse: function parse(_context, token) {\n        if (isDimensionToken(token)) {\n          return token.number;\n        }\n        return 0;\n      }\n    };\n  };\n  var borderTopWidth = borderWidthForSide('top');\n  var borderRightWidth = borderWidthForSide('right');\n  var borderBottomWidth = borderWidthForSide('bottom');\n  var borderLeftWidth = borderWidthForSide('left');\n  var color = {\n    name: \"color\",\n    initialValue: 'transparent',\n    prefix: false,\n    type: 3 /* TYPE_VALUE */,\n    format: 'color'\n  };\n  var direction = {\n    name: 'direction',\n    initialValue: 'ltr',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, direction) {\n      switch (direction) {\n        case 'rtl':\n          return 1 /* RTL */;\n        case 'ltr':\n        default:\n          return 0 /* LTR */;\n      }\n    }\n  };\n\n  var display = {\n    name: 'display',\n    initialValue: 'inline-block',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      return tokens.filter(isIdentToken).reduce(function (bit, token) {\n        return bit | parseDisplayValue(token.value);\n      }, 0 /* NONE */);\n    }\n  };\n\n  var parseDisplayValue = function parseDisplayValue(display) {\n    switch (display) {\n      case 'block':\n      case '-webkit-box':\n        return 2 /* BLOCK */;\n      case 'inline':\n        return 4 /* INLINE */;\n      case 'run-in':\n        return 8 /* RUN_IN */;\n      case 'flow':\n        return 16 /* FLOW */;\n      case 'flow-root':\n        return 32 /* FLOW_ROOT */;\n      case 'table':\n        return 64 /* TABLE */;\n      case 'flex':\n      case '-webkit-flex':\n        return 128 /* FLEX */;\n      case 'grid':\n      case '-ms-grid':\n        return 256 /* GRID */;\n      case 'ruby':\n        return 512 /* RUBY */;\n      case 'subgrid':\n        return 1024 /* SUBGRID */;\n      case 'list-item':\n        return 2048 /* LIST_ITEM */;\n      case 'table-row-group':\n        return 4096 /* TABLE_ROW_GROUP */;\n      case 'table-header-group':\n        return 8192 /* TABLE_HEADER_GROUP */;\n      case 'table-footer-group':\n        return 16384 /* TABLE_FOOTER_GROUP */;\n      case 'table-row':\n        return 32768 /* TABLE_ROW */;\n      case 'table-cell':\n        return 65536 /* TABLE_CELL */;\n      case 'table-column-group':\n        return 131072 /* TABLE_COLUMN_GROUP */;\n      case 'table-column':\n        return 262144 /* TABLE_COLUMN */;\n      case 'table-caption':\n        return 524288 /* TABLE_CAPTION */;\n      case 'ruby-base':\n        return 1048576 /* RUBY_BASE */;\n      case 'ruby-text':\n        return 2097152 /* RUBY_TEXT */;\n      case 'ruby-base-container':\n        return 4194304 /* RUBY_BASE_CONTAINER */;\n      case 'ruby-text-container':\n        return 8388608 /* RUBY_TEXT_CONTAINER */;\n      case 'contents':\n        return 16777216 /* CONTENTS */;\n      case 'inline-block':\n        return 33554432 /* INLINE_BLOCK */;\n      case 'inline-list-item':\n        return 67108864 /* INLINE_LIST_ITEM */;\n      case 'inline-table':\n        return 134217728 /* INLINE_TABLE */;\n      case 'inline-flex':\n        return 268435456 /* INLINE_FLEX */;\n      case 'inline-grid':\n        return 536870912 /* INLINE_GRID */;\n    }\n\n    return 0 /* NONE */;\n  };\n\n  var float = {\n    name: 'float',\n    initialValue: 'none',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, float) {\n      switch (float) {\n        case 'left':\n          return 1 /* LEFT */;\n        case 'right':\n          return 2 /* RIGHT */;\n        case 'inline-start':\n          return 3 /* INLINE_START */;\n        case 'inline-end':\n          return 4 /* INLINE_END */;\n      }\n\n      return 0 /* NONE */;\n    }\n  };\n\n  var letterSpacing = {\n    name: 'letter-spacing',\n    initialValue: '0',\n    prefix: false,\n    type: 0 /* VALUE */,\n    parse: function parse(_context, token) {\n      if (token.type === 20 /* IDENT_TOKEN */ && token.value === 'normal') {\n        return 0;\n      }\n      if (token.type === 17 /* NUMBER_TOKEN */) {\n        return token.number;\n      }\n      if (token.type === 15 /* DIMENSION_TOKEN */) {\n        return token.number;\n      }\n      return 0;\n    }\n  };\n  var LINE_BREAK;\n  (function (LINE_BREAK) {\n    LINE_BREAK[\"NORMAL\"] = \"normal\";\n    LINE_BREAK[\"STRICT\"] = \"strict\";\n  })(LINE_BREAK || (LINE_BREAK = {}));\n  var lineBreak = {\n    name: 'line-break',\n    initialValue: 'normal',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, lineBreak) {\n      switch (lineBreak) {\n        case 'strict':\n          return LINE_BREAK.STRICT;\n        case 'normal':\n        default:\n          return LINE_BREAK.NORMAL;\n      }\n    }\n  };\n  var lineHeight = {\n    name: 'line-height',\n    initialValue: 'normal',\n    prefix: false,\n    type: 4 /* TOKEN_VALUE */\n  };\n\n  var computeLineHeight = function computeLineHeight(token, fontSize) {\n    if (isIdentToken(token) && token.value === 'normal') {\n      return 1.2 * fontSize;\n    } else if (token.type === 17 /* NUMBER_TOKEN */) {\n      return fontSize * token.number;\n    } else if (isLengthPercentage(token)) {\n      return getAbsoluteValue(token, fontSize);\n    }\n    return fontSize;\n  };\n  var listStyleImage = {\n    name: 'list-style-image',\n    initialValue: 'none',\n    type: 0 /* VALUE */,\n    prefix: false,\n    parse: function parse(context, token) {\n      if (token.type === 20 /* IDENT_TOKEN */ && token.value === 'none') {\n        return null;\n      }\n      return image.parse(context, token);\n    }\n  };\n  var listStylePosition = {\n    name: 'list-style-position',\n    initialValue: 'outside',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, position) {\n      switch (position) {\n        case 'inside':\n          return 0 /* INSIDE */;\n        case 'outside':\n        default:\n          return 1 /* OUTSIDE */;\n      }\n    }\n  };\n\n  var listStyleType = {\n    name: 'list-style-type',\n    initialValue: 'none',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, type) {\n      switch (type) {\n        case 'disc':\n          return 0 /* DISC */;\n        case 'circle':\n          return 1 /* CIRCLE */;\n        case 'square':\n          return 2 /* SQUARE */;\n        case 'decimal':\n          return 3 /* DECIMAL */;\n        case 'cjk-decimal':\n          return 4 /* CJK_DECIMAL */;\n        case 'decimal-leading-zero':\n          return 5 /* DECIMAL_LEADING_ZERO */;\n        case 'lower-roman':\n          return 6 /* LOWER_ROMAN */;\n        case 'upper-roman':\n          return 7 /* UPPER_ROMAN */;\n        case 'lower-greek':\n          return 8 /* LOWER_GREEK */;\n        case 'lower-alpha':\n          return 9 /* LOWER_ALPHA */;\n        case 'upper-alpha':\n          return 10 /* UPPER_ALPHA */;\n        case 'arabic-indic':\n          return 11 /* ARABIC_INDIC */;\n        case 'armenian':\n          return 12 /* ARMENIAN */;\n        case 'bengali':\n          return 13 /* BENGALI */;\n        case 'cambodian':\n          return 14 /* CAMBODIAN */;\n        case 'cjk-earthly-branch':\n          return 15 /* CJK_EARTHLY_BRANCH */;\n        case 'cjk-heavenly-stem':\n          return 16 /* CJK_HEAVENLY_STEM */;\n        case 'cjk-ideographic':\n          return 17 /* CJK_IDEOGRAPHIC */;\n        case 'devanagari':\n          return 18 /* DEVANAGARI */;\n        case 'ethiopic-numeric':\n          return 19 /* ETHIOPIC_NUMERIC */;\n        case 'georgian':\n          return 20 /* GEORGIAN */;\n        case 'gujarati':\n          return 21 /* GUJARATI */;\n        case 'gurmukhi':\n          return 22 /* GURMUKHI */;\n        case 'hebrew':\n          return 22 /* HEBREW */;\n        case 'hiragana':\n          return 23 /* HIRAGANA */;\n        case 'hiragana-iroha':\n          return 24 /* HIRAGANA_IROHA */;\n        case 'japanese-formal':\n          return 25 /* JAPANESE_FORMAL */;\n        case 'japanese-informal':\n          return 26 /* JAPANESE_INFORMAL */;\n        case 'kannada':\n          return 27 /* KANNADA */;\n        case 'katakana':\n          return 28 /* KATAKANA */;\n        case 'katakana-iroha':\n          return 29 /* KATAKANA_IROHA */;\n        case 'khmer':\n          return 30 /* KHMER */;\n        case 'korean-hangul-formal':\n          return 31 /* KOREAN_HANGUL_FORMAL */;\n        case 'korean-hanja-formal':\n          return 32 /* KOREAN_HANJA_FORMAL */;\n        case 'korean-hanja-informal':\n          return 33 /* KOREAN_HANJA_INFORMAL */;\n        case 'lao':\n          return 34 /* LAO */;\n        case 'lower-armenian':\n          return 35 /* LOWER_ARMENIAN */;\n        case 'malayalam':\n          return 36 /* MALAYALAM */;\n        case 'mongolian':\n          return 37 /* MONGOLIAN */;\n        case 'myanmar':\n          return 38 /* MYANMAR */;\n        case 'oriya':\n          return 39 /* ORIYA */;\n        case 'persian':\n          return 40 /* PERSIAN */;\n        case 'simp-chinese-formal':\n          return 41 /* SIMP_CHINESE_FORMAL */;\n        case 'simp-chinese-informal':\n          return 42 /* SIMP_CHINESE_INFORMAL */;\n        case 'tamil':\n          return 43 /* TAMIL */;\n        case 'telugu':\n          return 44 /* TELUGU */;\n        case 'thai':\n          return 45 /* THAI */;\n        case 'tibetan':\n          return 46 /* TIBETAN */;\n        case 'trad-chinese-formal':\n          return 47 /* TRAD_CHINESE_FORMAL */;\n        case 'trad-chinese-informal':\n          return 48 /* TRAD_CHINESE_INFORMAL */;\n        case 'upper-armenian':\n          return 49 /* UPPER_ARMENIAN */;\n        case 'disclosure-open':\n          return 50 /* DISCLOSURE_OPEN */;\n        case 'disclosure-closed':\n          return 51 /* DISCLOSURE_CLOSED */;\n        case 'none':\n        default:\n          return -1 /* NONE */;\n      }\n    }\n  };\n\n  var marginForSide = function marginForSide(side) {\n    return {\n      name: \"margin-\" + side,\n      initialValue: '0',\n      prefix: false,\n      type: 4 /* TOKEN_VALUE */\n    };\n  };\n\n  var marginTop = marginForSide('top');\n  var marginRight = marginForSide('right');\n  var marginBottom = marginForSide('bottom');\n  var marginLeft = marginForSide('left');\n  var overflow = {\n    name: 'overflow',\n    initialValue: 'visible',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      return tokens.filter(isIdentToken).map(function (overflow) {\n        switch (overflow.value) {\n          case 'hidden':\n            return 1 /* HIDDEN */;\n          case 'scroll':\n            return 2 /* SCROLL */;\n          case 'clip':\n            return 3 /* CLIP */;\n          case 'auto':\n            return 4 /* AUTO */;\n          case 'visible':\n          default:\n            return 0 /* VISIBLE */;\n        }\n      });\n    }\n  };\n\n  var overflowWrap = {\n    name: 'overflow-wrap',\n    initialValue: 'normal',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, overflow) {\n      switch (overflow) {\n        case 'break-word':\n          return \"break-word\" /* BREAK_WORD */;\n        case 'normal':\n        default:\n          return \"normal\" /* NORMAL */;\n      }\n    }\n  };\n\n  var paddingForSide = function paddingForSide(side) {\n    return {\n      name: \"padding-\" + side,\n      initialValue: '0',\n      prefix: false,\n      type: 3 /* TYPE_VALUE */,\n      format: 'length-percentage'\n    };\n  };\n  var paddingTop = paddingForSide('top');\n  var paddingRight = paddingForSide('right');\n  var paddingBottom = paddingForSide('bottom');\n  var paddingLeft = paddingForSide('left');\n  var textAlign = {\n    name: 'text-align',\n    initialValue: 'left',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, textAlign) {\n      switch (textAlign) {\n        case 'right':\n          return 2 /* RIGHT */;\n        case 'center':\n        case 'justify':\n          return 1 /* CENTER */;\n        case 'left':\n        default:\n          return 0 /* LEFT */;\n      }\n    }\n  };\n\n  var position = {\n    name: 'position',\n    initialValue: 'static',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, position) {\n      switch (position) {\n        case 'relative':\n          return 1 /* RELATIVE */;\n        case 'absolute':\n          return 2 /* ABSOLUTE */;\n        case 'fixed':\n          return 3 /* FIXED */;\n        case 'sticky':\n          return 4 /* STICKY */;\n      }\n\n      return 0 /* STATIC */;\n    }\n  };\n\n  var textShadow = {\n    name: 'text-shadow',\n    initialValue: 'none',\n    type: 1 /* LIST */,\n    prefix: false,\n    parse: function parse(context, tokens) {\n      if (tokens.length === 1 && isIdentWithValue(tokens[0], 'none')) {\n        return [];\n      }\n      return parseFunctionArgs(tokens).map(function (values) {\n        var shadow = {\n          color: COLORS.TRANSPARENT,\n          offsetX: ZERO_LENGTH,\n          offsetY: ZERO_LENGTH,\n          blur: ZERO_LENGTH\n        };\n        var c = 0;\n        for (var i = 0; i < values.length; i++) {\n          var token = values[i];\n          if (isLength(token)) {\n            if (c === 0) {\n              shadow.offsetX = token;\n            } else if (c === 1) {\n              shadow.offsetY = token;\n            } else {\n              shadow.blur = token;\n            }\n            c++;\n          } else {\n            shadow.color = color$1.parse(context, token);\n          }\n        }\n        return shadow;\n      });\n    }\n  };\n  var textTransform = {\n    name: 'text-transform',\n    initialValue: 'none',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, textTransform) {\n      switch (textTransform) {\n        case 'uppercase':\n          return 2 /* UPPERCASE */;\n        case 'lowercase':\n          return 1 /* LOWERCASE */;\n        case 'capitalize':\n          return 3 /* CAPITALIZE */;\n      }\n\n      return 0 /* NONE */;\n    }\n  };\n\n  var transform$1 = {\n    name: 'transform',\n    initialValue: 'none',\n    prefix: true,\n    type: 0 /* VALUE */,\n    parse: function parse(_context, token) {\n      if (token.type === 20 /* IDENT_TOKEN */ && token.value === 'none') {\n        return null;\n      }\n      if (token.type === 18 /* FUNCTION */) {\n        var transformFunction = SUPPORTED_TRANSFORM_FUNCTIONS[token.name];\n        if (typeof transformFunction === 'undefined') {\n          throw new Error(\"Attempting to parse an unsupported transform function \\\"\" + token.name + \"\\\"\");\n        }\n        return transformFunction(token.values);\n      }\n      return null;\n    }\n  };\n  var matrix = function matrix(args) {\n    var values = args.filter(function (arg) {\n      return arg.type === 17 /* NUMBER_TOKEN */;\n    }).map(function (arg) {\n      return arg.number;\n    });\n    return values.length === 6 ? values : null;\n  };\n  // doesn't support 3D transforms at the moment\n  var matrix3d = function matrix3d(args) {\n    var values = args.filter(function (arg) {\n      return arg.type === 17 /* NUMBER_TOKEN */;\n    }).map(function (arg) {\n      return arg.number;\n    });\n    var a1 = values[0],\n      b1 = values[1];\n    values[2];\n    values[3];\n    var a2 = values[4],\n      b2 = values[5];\n    values[6];\n    values[7];\n    values[8];\n    values[9];\n    values[10];\n    values[11];\n    var a4 = values[12],\n      b4 = values[13];\n    values[14];\n    values[15];\n    return values.length === 16 ? [a1, b1, a2, b2, a4, b4] : null;\n  };\n  var SUPPORTED_TRANSFORM_FUNCTIONS = {\n    matrix: matrix,\n    matrix3d: matrix3d\n  };\n  var DEFAULT_VALUE = {\n    type: 16 /* PERCENTAGE_TOKEN */,\n    number: 50,\n    flags: FLAG_INTEGER\n  };\n  var DEFAULT = [DEFAULT_VALUE, DEFAULT_VALUE];\n  var transformOrigin = {\n    name: 'transform-origin',\n    initialValue: '50% 50%',\n    prefix: true,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      var origins = tokens.filter(isLengthPercentage);\n      if (origins.length !== 2) {\n        return DEFAULT;\n      }\n      return [origins[0], origins[1]];\n    }\n  };\n  var visibility = {\n    name: 'visible',\n    initialValue: 'none',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, visibility) {\n      switch (visibility) {\n        case 'hidden':\n          return 1 /* HIDDEN */;\n        case 'collapse':\n          return 2 /* COLLAPSE */;\n        case 'visible':\n        default:\n          return 0 /* VISIBLE */;\n      }\n    }\n  };\n\n  var WORD_BREAK;\n  (function (WORD_BREAK) {\n    WORD_BREAK[\"NORMAL\"] = \"normal\";\n    WORD_BREAK[\"BREAK_ALL\"] = \"break-all\";\n    WORD_BREAK[\"KEEP_ALL\"] = \"keep-all\";\n  })(WORD_BREAK || (WORD_BREAK = {}));\n  var wordBreak = {\n    name: 'word-break',\n    initialValue: 'normal',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, wordBreak) {\n      switch (wordBreak) {\n        case 'break-all':\n          return WORD_BREAK.BREAK_ALL;\n        case 'keep-all':\n          return WORD_BREAK.KEEP_ALL;\n        case 'normal':\n        default:\n          return WORD_BREAK.NORMAL;\n      }\n    }\n  };\n  var zIndex = {\n    name: 'z-index',\n    initialValue: 'auto',\n    prefix: false,\n    type: 0 /* VALUE */,\n    parse: function parse(_context, token) {\n      if (token.type === 20 /* IDENT_TOKEN */) {\n        return {\n          auto: true,\n          order: 0\n        };\n      }\n      if (isNumberToken(token)) {\n        return {\n          auto: false,\n          order: token.number\n        };\n      }\n      throw new Error(\"Invalid z-index number parsed\");\n    }\n  };\n  var time = {\n    name: 'time',\n    parse: function parse(_context, value) {\n      if (value.type === 15 /* DIMENSION_TOKEN */) {\n        switch (value.unit.toLowerCase()) {\n          case 's':\n            return 1000 * value.number;\n          case 'ms':\n            return value.number;\n        }\n      }\n      throw new Error(\"Unsupported time type\");\n    }\n  };\n  var opacity = {\n    name: 'opacity',\n    initialValue: '1',\n    type: 0 /* VALUE */,\n    prefix: false,\n    parse: function parse(_context, token) {\n      if (isNumberToken(token)) {\n        return token.number;\n      }\n      return 1;\n    }\n  };\n  var textDecorationColor = {\n    name: \"text-decoration-color\",\n    initialValue: 'transparent',\n    prefix: false,\n    type: 3 /* TYPE_VALUE */,\n    format: 'color'\n  };\n  var textDecorationLine = {\n    name: 'text-decoration-line',\n    initialValue: 'none',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      return tokens.filter(isIdentToken).map(function (token) {\n        switch (token.value) {\n          case 'underline':\n            return 1 /* UNDERLINE */;\n          case 'overline':\n            return 2 /* OVERLINE */;\n          case 'line-through':\n            return 3 /* LINE_THROUGH */;\n          case 'none':\n            return 4 /* BLINK */;\n        }\n\n        return 0 /* NONE */;\n      }).filter(function (line) {\n        return line !== 0 /* NONE */;\n      });\n    }\n  };\n\n  var fontFamily = {\n    name: \"font-family\",\n    initialValue: '',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      var accumulator = [];\n      var results = [];\n      tokens.forEach(function (token) {\n        switch (token.type) {\n          case 20 /* IDENT_TOKEN */:\n          case 0 /* STRING_TOKEN */:\n            accumulator.push(token.value);\n            break;\n          case 17 /* NUMBER_TOKEN */:\n            accumulator.push(token.number.toString());\n            break;\n          case 4 /* COMMA_TOKEN */:\n            results.push(accumulator.join(' '));\n            accumulator.length = 0;\n            break;\n        }\n      });\n      if (accumulator.length) {\n        results.push(accumulator.join(' '));\n      }\n      return results.map(function (result) {\n        return result.indexOf(' ') === -1 ? result : \"'\" + result + \"'\";\n      });\n    }\n  };\n  var fontSize = {\n    name: \"font-size\",\n    initialValue: '0',\n    prefix: false,\n    type: 3 /* TYPE_VALUE */,\n    format: 'length'\n  };\n  var fontWeight = {\n    name: 'font-weight',\n    initialValue: 'normal',\n    type: 0 /* VALUE */,\n    prefix: false,\n    parse: function parse(_context, token) {\n      if (isNumberToken(token)) {\n        return token.number;\n      }\n      if (isIdentToken(token)) {\n        switch (token.value) {\n          case 'bold':\n            return 700;\n          case 'normal':\n          default:\n            return 400;\n        }\n      }\n      return 400;\n    }\n  };\n  var fontVariant = {\n    name: 'font-variant',\n    initialValue: 'none',\n    type: 1 /* LIST */,\n    prefix: false,\n    parse: function parse(_context, tokens) {\n      return tokens.filter(isIdentToken).map(function (token) {\n        return token.value;\n      });\n    }\n  };\n  var fontStyle = {\n    name: 'font-style',\n    initialValue: 'normal',\n    prefix: false,\n    type: 2 /* IDENT_VALUE */,\n    parse: function parse(_context, overflow) {\n      switch (overflow) {\n        case 'oblique':\n          return \"oblique\" /* OBLIQUE */;\n        case 'italic':\n          return \"italic\" /* ITALIC */;\n        case 'normal':\n        default:\n          return \"normal\" /* NORMAL */;\n      }\n    }\n  };\n\n  var contains = function contains(bit, value) {\n    return (bit & value) !== 0;\n  };\n  var content = {\n    name: 'content',\n    initialValue: 'none',\n    type: 1 /* LIST */,\n    prefix: false,\n    parse: function parse(_context, tokens) {\n      if (tokens.length === 0) {\n        return [];\n      }\n      var first = tokens[0];\n      if (first.type === 20 /* IDENT_TOKEN */ && first.value === 'none') {\n        return [];\n      }\n      return tokens;\n    }\n  };\n  var counterIncrement = {\n    name: 'counter-increment',\n    initialValue: 'none',\n    prefix: true,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      if (tokens.length === 0) {\n        return null;\n      }\n      var first = tokens[0];\n      if (first.type === 20 /* IDENT_TOKEN */ && first.value === 'none') {\n        return null;\n      }\n      var increments = [];\n      var filtered = tokens.filter(nonWhiteSpace);\n      for (var i = 0; i < filtered.length; i++) {\n        var counter = filtered[i];\n        var next = filtered[i + 1];\n        if (counter.type === 20 /* IDENT_TOKEN */) {\n          var increment = next && isNumberToken(next) ? next.number : 1;\n          increments.push({\n            counter: counter.value,\n            increment: increment\n          });\n        }\n      }\n      return increments;\n    }\n  };\n  var counterReset = {\n    name: 'counter-reset',\n    initialValue: 'none',\n    prefix: true,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      if (tokens.length === 0) {\n        return [];\n      }\n      var resets = [];\n      var filtered = tokens.filter(nonWhiteSpace);\n      for (var i = 0; i < filtered.length; i++) {\n        var counter = filtered[i];\n        var next = filtered[i + 1];\n        if (isIdentToken(counter) && counter.value !== 'none') {\n          var reset = next && isNumberToken(next) ? next.number : 0;\n          resets.push({\n            counter: counter.value,\n            reset: reset\n          });\n        }\n      }\n      return resets;\n    }\n  };\n  var duration = {\n    name: 'duration',\n    initialValue: '0s',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(context, tokens) {\n      return tokens.filter(isDimensionToken).map(function (token) {\n        return time.parse(context, token);\n      });\n    }\n  };\n  var quotes = {\n    name: 'quotes',\n    initialValue: 'none',\n    prefix: true,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      if (tokens.length === 0) {\n        return null;\n      }\n      var first = tokens[0];\n      if (first.type === 20 /* IDENT_TOKEN */ && first.value === 'none') {\n        return null;\n      }\n      var quotes = [];\n      var filtered = tokens.filter(isStringToken);\n      if (filtered.length % 2 !== 0) {\n        return null;\n      }\n      for (var i = 0; i < filtered.length; i += 2) {\n        var open_1 = filtered[i].value;\n        var close_1 = filtered[i + 1].value;\n        quotes.push({\n          open: open_1,\n          close: close_1\n        });\n      }\n      return quotes;\n    }\n  };\n  var getQuote = function getQuote(quotes, depth, open) {\n    if (!quotes) {\n      return '';\n    }\n    var quote = quotes[Math.min(depth, quotes.length - 1)];\n    if (!quote) {\n      return '';\n    }\n    return open ? quote.open : quote.close;\n  };\n  var boxShadow = {\n    name: 'box-shadow',\n    initialValue: 'none',\n    type: 1 /* LIST */,\n    prefix: false,\n    parse: function parse(context, tokens) {\n      if (tokens.length === 1 && isIdentWithValue(tokens[0], 'none')) {\n        return [];\n      }\n      return parseFunctionArgs(tokens).map(function (values) {\n        var shadow = {\n          color: 0x000000ff,\n          offsetX: ZERO_LENGTH,\n          offsetY: ZERO_LENGTH,\n          blur: ZERO_LENGTH,\n          spread: ZERO_LENGTH,\n          inset: false\n        };\n        var c = 0;\n        for (var i = 0; i < values.length; i++) {\n          var token = values[i];\n          if (isIdentWithValue(token, 'inset')) {\n            shadow.inset = true;\n          } else if (isLength(token)) {\n            if (c === 0) {\n              shadow.offsetX = token;\n            } else if (c === 1) {\n              shadow.offsetY = token;\n            } else if (c === 2) {\n              shadow.blur = token;\n            } else {\n              shadow.spread = token;\n            }\n            c++;\n          } else {\n            shadow.color = color$1.parse(context, token);\n          }\n        }\n        return shadow;\n      });\n    }\n  };\n  var paintOrder = {\n    name: 'paint-order',\n    initialValue: 'normal',\n    prefix: false,\n    type: 1 /* LIST */,\n    parse: function parse(_context, tokens) {\n      var DEFAULT_VALUE = [0 /* FILL */, 1 /* STROKE */, 2 /* MARKERS */];\n      var layers = [];\n      tokens.filter(isIdentToken).forEach(function (token) {\n        switch (token.value) {\n          case 'stroke':\n            layers.push(1 /* STROKE */);\n            break;\n          case 'fill':\n            layers.push(0 /* FILL */);\n            break;\n          case 'markers':\n            layers.push(2 /* MARKERS */);\n            break;\n        }\n      });\n      DEFAULT_VALUE.forEach(function (value) {\n        if (layers.indexOf(value) === -1) {\n          layers.push(value);\n        }\n      });\n      return layers;\n    }\n  };\n  var webkitTextStrokeColor = {\n    name: \"-webkit-text-stroke-color\",\n    initialValue: 'currentcolor',\n    prefix: false,\n    type: 3 /* TYPE_VALUE */,\n    format: 'color'\n  };\n  var webkitTextStrokeWidth = {\n    name: \"-webkit-text-stroke-width\",\n    initialValue: '0',\n    type: 0 /* VALUE */,\n    prefix: false,\n    parse: function parse(_context, token) {\n      if (isDimensionToken(token)) {\n        return token.number;\n      }\n      return 0;\n    }\n  };\n  var CSSParsedDeclaration = /** @class */function () {\n    function CSSParsedDeclaration(context, declaration) {\n      var _a, _b;\n      this.animationDuration = parse(context, duration, declaration.animationDuration);\n      this.backgroundClip = parse(context, backgroundClip, declaration.backgroundClip);\n      this.backgroundColor = parse(context, backgroundColor, declaration.backgroundColor);\n      this.backgroundImage = parse(context, backgroundImage, declaration.backgroundImage);\n      this.backgroundOrigin = parse(context, backgroundOrigin, declaration.backgroundOrigin);\n      this.backgroundPosition = parse(context, backgroundPosition, declaration.backgroundPosition);\n      this.backgroundRepeat = parse(context, backgroundRepeat, declaration.backgroundRepeat);\n      this.backgroundSize = parse(context, backgroundSize, declaration.backgroundSize);\n      this.borderTopColor = parse(context, borderTopColor, declaration.borderTopColor);\n      this.borderRightColor = parse(context, borderRightColor, declaration.borderRightColor);\n      this.borderBottomColor = parse(context, borderBottomColor, declaration.borderBottomColor);\n      this.borderLeftColor = parse(context, borderLeftColor, declaration.borderLeftColor);\n      this.borderTopLeftRadius = parse(context, borderTopLeftRadius, declaration.borderTopLeftRadius);\n      this.borderTopRightRadius = parse(context, borderTopRightRadius, declaration.borderTopRightRadius);\n      this.borderBottomRightRadius = parse(context, borderBottomRightRadius, declaration.borderBottomRightRadius);\n      this.borderBottomLeftRadius = parse(context, borderBottomLeftRadius, declaration.borderBottomLeftRadius);\n      this.borderTopStyle = parse(context, borderTopStyle, declaration.borderTopStyle);\n      this.borderRightStyle = parse(context, borderRightStyle, declaration.borderRightStyle);\n      this.borderBottomStyle = parse(context, borderBottomStyle, declaration.borderBottomStyle);\n      this.borderLeftStyle = parse(context, borderLeftStyle, declaration.borderLeftStyle);\n      this.borderTopWidth = parse(context, borderTopWidth, declaration.borderTopWidth);\n      this.borderRightWidth = parse(context, borderRightWidth, declaration.borderRightWidth);\n      this.borderBottomWidth = parse(context, borderBottomWidth, declaration.borderBottomWidth);\n      this.borderLeftWidth = parse(context, borderLeftWidth, declaration.borderLeftWidth);\n      this.boxShadow = parse(context, boxShadow, declaration.boxShadow);\n      this.color = parse(context, color, declaration.color);\n      this.direction = parse(context, direction, declaration.direction);\n      this.display = parse(context, display, declaration.display);\n      this.float = parse(context, float, declaration.cssFloat);\n      this.fontFamily = parse(context, fontFamily, declaration.fontFamily);\n      this.fontSize = parse(context, fontSize, declaration.fontSize);\n      this.fontStyle = parse(context, fontStyle, declaration.fontStyle);\n      this.fontVariant = parse(context, fontVariant, declaration.fontVariant);\n      this.fontWeight = parse(context, fontWeight, declaration.fontWeight);\n      this.letterSpacing = parse(context, letterSpacing, declaration.letterSpacing);\n      this.lineBreak = parse(context, lineBreak, declaration.lineBreak);\n      this.lineHeight = parse(context, lineHeight, declaration.lineHeight);\n      this.listStyleImage = parse(context, listStyleImage, declaration.listStyleImage);\n      this.listStylePosition = parse(context, listStylePosition, declaration.listStylePosition);\n      this.listStyleType = parse(context, listStyleType, declaration.listStyleType);\n      this.marginTop = parse(context, marginTop, declaration.marginTop);\n      this.marginRight = parse(context, marginRight, declaration.marginRight);\n      this.marginBottom = parse(context, marginBottom, declaration.marginBottom);\n      this.marginLeft = parse(context, marginLeft, declaration.marginLeft);\n      this.opacity = parse(context, opacity, declaration.opacity);\n      var overflowTuple = parse(context, overflow, declaration.overflow);\n      this.overflowX = overflowTuple[0];\n      this.overflowY = overflowTuple[overflowTuple.length > 1 ? 1 : 0];\n      this.overflowWrap = parse(context, overflowWrap, declaration.overflowWrap);\n      this.paddingTop = parse(context, paddingTop, declaration.paddingTop);\n      this.paddingRight = parse(context, paddingRight, declaration.paddingRight);\n      this.paddingBottom = parse(context, paddingBottom, declaration.paddingBottom);\n      this.paddingLeft = parse(context, paddingLeft, declaration.paddingLeft);\n      this.paintOrder = parse(context, paintOrder, declaration.paintOrder);\n      this.position = parse(context, position, declaration.position);\n      this.textAlign = parse(context, textAlign, declaration.textAlign);\n      this.textDecorationColor = parse(context, textDecorationColor, (_a = declaration.textDecorationColor) !== null && _a !== void 0 ? _a : declaration.color);\n      this.textDecorationLine = parse(context, textDecorationLine, (_b = declaration.textDecorationLine) !== null && _b !== void 0 ? _b : declaration.textDecoration);\n      this.textShadow = parse(context, textShadow, declaration.textShadow);\n      this.textTransform = parse(context, textTransform, declaration.textTransform);\n      this.transform = parse(context, transform$1, declaration.transform);\n      this.transformOrigin = parse(context, transformOrigin, declaration.transformOrigin);\n      this.visibility = parse(context, visibility, declaration.visibility);\n      this.webkitTextStrokeColor = parse(context, webkitTextStrokeColor, declaration.webkitTextStrokeColor);\n      this.webkitTextStrokeWidth = parse(context, webkitTextStrokeWidth, declaration.webkitTextStrokeWidth);\n      this.wordBreak = parse(context, wordBreak, declaration.wordBreak);\n      this.zIndex = parse(context, zIndex, declaration.zIndex);\n    }\n    CSSParsedDeclaration.prototype.isVisible = function () {\n      return this.display > 0 && this.opacity > 0 && this.visibility === 0 /* VISIBLE */;\n    };\n\n    CSSParsedDeclaration.prototype.isTransparent = function () {\n      return isTransparent(this.backgroundColor);\n    };\n    CSSParsedDeclaration.prototype.isTransformed = function () {\n      return this.transform !== null;\n    };\n    CSSParsedDeclaration.prototype.isPositioned = function () {\n      return this.position !== 0 /* STATIC */;\n    };\n\n    CSSParsedDeclaration.prototype.isPositionedWithZIndex = function () {\n      return this.isPositioned() && !this.zIndex.auto;\n    };\n    CSSParsedDeclaration.prototype.isFloating = function () {\n      return this.float !== 0 /* NONE */;\n    };\n\n    CSSParsedDeclaration.prototype.isInlineLevel = function () {\n      return contains(this.display, 4 /* INLINE */) || contains(this.display, 33554432 /* INLINE_BLOCK */) || contains(this.display, 268435456 /* INLINE_FLEX */) || contains(this.display, 536870912 /* INLINE_GRID */) || contains(this.display, 67108864 /* INLINE_LIST_ITEM */) || contains(this.display, 134217728 /* INLINE_TABLE */);\n    };\n\n    return CSSParsedDeclaration;\n  }();\n  var CSSParsedPseudoDeclaration = /** @class */function () {\n    function CSSParsedPseudoDeclaration(context, declaration) {\n      this.content = parse(context, content, declaration.content);\n      this.quotes = parse(context, quotes, declaration.quotes);\n    }\n    return CSSParsedPseudoDeclaration;\n  }();\n  var CSSParsedCounterDeclaration = /** @class */function () {\n    function CSSParsedCounterDeclaration(context, declaration) {\n      this.counterIncrement = parse(context, counterIncrement, declaration.counterIncrement);\n      this.counterReset = parse(context, counterReset, declaration.counterReset);\n    }\n    return CSSParsedCounterDeclaration;\n  }();\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  var parse = function parse(context, descriptor, style) {\n    var tokenizer = new Tokenizer();\n    var value = style !== null && typeof style !== 'undefined' ? style.toString() : descriptor.initialValue;\n    tokenizer.write(value);\n    var parser = new Parser(tokenizer.read());\n    switch (descriptor.type) {\n      case 2 /* IDENT_VALUE */:\n        var token = parser.parseComponentValue();\n        return descriptor.parse(context, isIdentToken(token) ? token.value : descriptor.initialValue);\n      case 0 /* VALUE */:\n        return descriptor.parse(context, parser.parseComponentValue());\n      case 1 /* LIST */:\n        return descriptor.parse(context, parser.parseComponentValues());\n      case 4 /* TOKEN_VALUE */:\n        return parser.parseComponentValue();\n      case 3 /* TYPE_VALUE */:\n        switch (descriptor.format) {\n          case 'angle':\n            return angle.parse(context, parser.parseComponentValue());\n          case 'color':\n            return color$1.parse(context, parser.parseComponentValue());\n          case 'image':\n            return image.parse(context, parser.parseComponentValue());\n          case 'length':\n            var length_1 = parser.parseComponentValue();\n            return isLength(length_1) ? length_1 : ZERO_LENGTH;\n          case 'length-percentage':\n            var value_1 = parser.parseComponentValue();\n            return isLengthPercentage(value_1) ? value_1 : ZERO_LENGTH;\n          case 'time':\n            return time.parse(context, parser.parseComponentValue());\n        }\n        break;\n    }\n  };\n  var elementDebuggerAttribute = 'data-html2canvas-debug';\n  var getElementDebugType = function getElementDebugType(element) {\n    var attribute = element.getAttribute(elementDebuggerAttribute);\n    switch (attribute) {\n      case 'all':\n        return 1 /* ALL */;\n      case 'clone':\n        return 2 /* CLONE */;\n      case 'parse':\n        return 3 /* PARSE */;\n      case 'render':\n        return 4 /* RENDER */;\n      default:\n        return 0 /* NONE */;\n    }\n  };\n\n  var isDebugging = function isDebugging(element, type) {\n    var elementType = getElementDebugType(element);\n    return elementType === 1 /* ALL */ || type === elementType;\n  };\n  var ElementContainer = /** @class */function () {\n    function ElementContainer(context, element) {\n      this.context = context;\n      this.textNodes = [];\n      this.elements = [];\n      this.flags = 0;\n      if (isDebugging(element, 3 /* PARSE */)) {\n        debugger;\n      }\n      this.styles = new CSSParsedDeclaration(context, window.getComputedStyle(element, null));\n      if (isHTMLElementNode(element)) {\n        if (this.styles.animationDuration.some(function (duration) {\n          return duration > 0;\n        })) {\n          element.style.animationDuration = '0s';\n        }\n        if (this.styles.transform !== null) {\n          // getBoundingClientRect takes transforms into account\n          element.style.transform = 'none';\n        }\n      }\n      this.bounds = parseBounds(this.context, element);\n      if (isDebugging(element, 4 /* RENDER */)) {\n        this.flags |= 16 /* DEBUG_RENDER */;\n      }\n    }\n\n    return ElementContainer;\n  }();\n\n  /*\n   * text-segmentation 1.0.3 <https://github.com/niklasvh/text-segmentation>\n   * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>\n   * Released under MIT License\n   */\n  var base64 = ' ';\n\n  /*\n   * utrie 1.0.2 <https://github.com/niklasvh/utrie>\n   * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>\n   * Released under MIT License\n   */\n  var chars$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n  // Use a lookup table to find the index.\n  var lookup$1 = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\n  for (var i$1 = 0; i$1 < chars$1.length; i$1++) {\n    lookup$1[chars$1.charCodeAt(i$1)] = i$1;\n  }\n  var decode = function decode(base64) {\n    var bufferLength = base64.length * 0.75,\n      len = base64.length,\n      i,\n      p = 0,\n      encoded1,\n      encoded2,\n      encoded3,\n      encoded4;\n    if (base64[base64.length - 1] === '=') {\n      bufferLength--;\n      if (base64[base64.length - 2] === '=') {\n        bufferLength--;\n      }\n    }\n    var buffer = typeof ArrayBuffer !== 'undefined' && typeof Uint8Array !== 'undefined' && typeof Uint8Array.prototype.slice !== 'undefined' ? new ArrayBuffer(bufferLength) : new Array(bufferLength);\n    var bytes = Array.isArray(buffer) ? buffer : new Uint8Array(buffer);\n    for (i = 0; i < len; i += 4) {\n      encoded1 = lookup$1[base64.charCodeAt(i)];\n      encoded2 = lookup$1[base64.charCodeAt(i + 1)];\n      encoded3 = lookup$1[base64.charCodeAt(i + 2)];\n      encoded4 = lookup$1[base64.charCodeAt(i + 3)];\n      bytes[p++] = encoded1 << 2 | encoded2 >> 4;\n      bytes[p++] = (encoded2 & 15) << 4 | encoded3 >> 2;\n      bytes[p++] = (encoded3 & 3) << 6 | encoded4 & 63;\n    }\n    return buffer;\n  };\n  var polyUint16Array = function polyUint16Array(buffer) {\n    var length = buffer.length;\n    var bytes = [];\n    for (var i = 0; i < length; i += 2) {\n      bytes.push(buffer[i + 1] << 8 | buffer[i]);\n    }\n    return bytes;\n  };\n  var polyUint32Array = function polyUint32Array(buffer) {\n    var length = buffer.length;\n    var bytes = [];\n    for (var i = 0; i < length; i += 4) {\n      bytes.push(buffer[i + 3] << 24 | buffer[i + 2] << 16 | buffer[i + 1] << 8 | buffer[i]);\n    }\n    return bytes;\n  };\n\n  /** Shift size for getting the index-2 table offset. */\n  var UTRIE2_SHIFT_2 = 5;\n  /** Shift size for getting the index-1 table offset. */\n  var UTRIE2_SHIFT_1 = 6 + 5;\n  /**\n   * Shift size for shifting left the index array values.\n   * Increases possible data size with 16-bit index values at the cost\n   * of compactability.\n   * This requires data blocks to be aligned by UTRIE2_DATA_GRANULARITY.\n   */\n  var UTRIE2_INDEX_SHIFT = 2;\n  /**\n   * Difference between the two shift sizes,\n   * for getting an index-1 offset from an index-2 offset. 6=11-5\n   */\n  var UTRIE2_SHIFT_1_2 = UTRIE2_SHIFT_1 - UTRIE2_SHIFT_2;\n  /**\n   * The part of the index-2 table for U+D800..U+DBFF stores values for\n   * lead surrogate code _units_ not code _points_.\n   * Values for lead surrogate code _points_ are indexed with this portion of the table.\n   * Length=32=0x20=0x400>>UTRIE2_SHIFT_2. (There are 1024=0x400 lead surrogates.)\n   */\n  var UTRIE2_LSCP_INDEX_2_OFFSET = 0x10000 >> UTRIE2_SHIFT_2;\n  /** Number of entries in a data block. 32=0x20 */\n  var UTRIE2_DATA_BLOCK_LENGTH = 1 << UTRIE2_SHIFT_2;\n  /** Mask for getting the lower bits for the in-data-block offset. */\n  var UTRIE2_DATA_MASK = UTRIE2_DATA_BLOCK_LENGTH - 1;\n  var UTRIE2_LSCP_INDEX_2_LENGTH = 0x400 >> UTRIE2_SHIFT_2;\n  /** Count the lengths of both BMP pieces. 2080=0x820 */\n  var UTRIE2_INDEX_2_BMP_LENGTH = UTRIE2_LSCP_INDEX_2_OFFSET + UTRIE2_LSCP_INDEX_2_LENGTH;\n  /**\n   * The 2-byte UTF-8 version of the index-2 table follows at offset 2080=0x820.\n   * Length 32=0x20 for lead bytes C0..DF, regardless of UTRIE2_SHIFT_2.\n   */\n  var UTRIE2_UTF8_2B_INDEX_2_OFFSET = UTRIE2_INDEX_2_BMP_LENGTH;\n  var UTRIE2_UTF8_2B_INDEX_2_LENGTH = 0x800 >> 6; /* U+0800 is the first code point after 2-byte UTF-8 */\n  /**\n   * The index-1 table, only used for supplementary code points, at offset 2112=0x840.\n   * Variable length, for code points up to highStart, where the last single-value range starts.\n   * Maximum length 512=0x200=0x100000>>UTRIE2_SHIFT_1.\n   * (For 0x100000 supplementary code points U+10000..U+10ffff.)\n   *\n   * The part of the index-2 table for supplementary code points starts\n   * after this index-1 table.\n   *\n   * Both the index-1 table and the following part of the index-2 table\n   * are omitted completely if there is only BMP data.\n   */\n  var UTRIE2_INDEX_1_OFFSET = UTRIE2_UTF8_2B_INDEX_2_OFFSET + UTRIE2_UTF8_2B_INDEX_2_LENGTH;\n  /**\n   * Number of index-1 entries for the BMP. 32=0x20\n   * This part of the index-1 table is omitted from the serialized form.\n   */\n  var UTRIE2_OMITTED_BMP_INDEX_1_LENGTH = 0x10000 >> UTRIE2_SHIFT_1;\n  /** Number of entries in an index-2 block. 64=0x40 */\n  var UTRIE2_INDEX_2_BLOCK_LENGTH = 1 << UTRIE2_SHIFT_1_2;\n  /** Mask for getting the lower bits for the in-index-2-block offset. */\n  var UTRIE2_INDEX_2_MASK = UTRIE2_INDEX_2_BLOCK_LENGTH - 1;\n  var slice16 = function slice16(view, start, end) {\n    if (view.slice) {\n      return view.slice(start, end);\n    }\n    return new Uint16Array(Array.prototype.slice.call(view, start, end));\n  };\n  var slice32 = function slice32(view, start, end) {\n    if (view.slice) {\n      return view.slice(start, end);\n    }\n    return new Uint32Array(Array.prototype.slice.call(view, start, end));\n  };\n  var createTrieFromBase64 = function createTrieFromBase64(base64, _byteLength) {\n    var buffer = decode(base64);\n    var view32 = Array.isArray(buffer) ? polyUint32Array(buffer) : new Uint32Array(buffer);\n    var view16 = Array.isArray(buffer) ? polyUint16Array(buffer) : new Uint16Array(buffer);\n    var headerLength = 24;\n    var index = slice16(view16, headerLength / 2, view32[4] / 2);\n    var data = view32[5] === 2 ? slice16(view16, (headerLength + view32[4]) / 2) : slice32(view32, Math.ceil((headerLength + view32[4]) / 4));\n    return new Trie(view32[0], view32[1], view32[2], view32[3], index, data);\n  };\n  var Trie = /** @class */function () {\n    function Trie(initialValue, errorValue, highStart, highValueIndex, index, data) {\n      this.initialValue = initialValue;\n      this.errorValue = errorValue;\n      this.highStart = highStart;\n      this.highValueIndex = highValueIndex;\n      this.index = index;\n      this.data = data;\n    }\n    /**\n     * Get the value for a code point as stored in the Trie.\n     *\n     * @param codePoint the code point\n     * @return the value\n     */\n    Trie.prototype.get = function (codePoint) {\n      var ix;\n      if (codePoint >= 0) {\n        if (codePoint < 0x0d800 || codePoint > 0x0dbff && codePoint <= 0x0ffff) {\n          // Ordinary BMP code point, excluding leading surrogates.\n          // BMP uses a single level lookup.  BMP index starts at offset 0 in the Trie2 index.\n          // 16 bit data is stored in the index array itself.\n          ix = this.index[codePoint >> UTRIE2_SHIFT_2];\n          ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK);\n          return this.data[ix];\n        }\n        if (codePoint <= 0xffff) {\n          // Lead Surrogate Code Point.  A Separate index section is stored for\n          // lead surrogate code units and code points.\n          //   The main index has the code unit data.\n          //   For this function, we need the code point data.\n          // Note: this expression could be refactored for slightly improved efficiency, but\n          //       surrogate code points will be so rare in practice that it's not worth it.\n          ix = this.index[UTRIE2_LSCP_INDEX_2_OFFSET + (codePoint - 0xd800 >> UTRIE2_SHIFT_2)];\n          ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK);\n          return this.data[ix];\n        }\n        if (codePoint < this.highStart) {\n          // Supplemental code point, use two-level lookup.\n          ix = UTRIE2_INDEX_1_OFFSET - UTRIE2_OMITTED_BMP_INDEX_1_LENGTH + (codePoint >> UTRIE2_SHIFT_1);\n          ix = this.index[ix];\n          ix += codePoint >> UTRIE2_SHIFT_2 & UTRIE2_INDEX_2_MASK;\n          ix = this.index[ix];\n          ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK);\n          return this.data[ix];\n        }\n        if (codePoint <= 0x10ffff) {\n          return this.data[this.highValueIndex];\n        }\n      }\n      // Fall through.  The code point is outside of the legal range of 0..0x10ffff.\n      return this.errorValue;\n    };\n    return Trie;\n  }();\n\n  /*\n   * base64-arraybuffer 1.0.2 <https://github.com/niklasvh/base64-arraybuffer>\n   * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>\n   * Released under MIT License\n   */\n  var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n  // Use a lookup table to find the index.\n  var lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\n  for (var i = 0; i < chars.length; i++) {\n    lookup[chars.charCodeAt(i)] = i;\n  }\n  var Prepend = 1;\n  var CR = 2;\n  var LF = 3;\n  var Control = 4;\n  var Extend = 5;\n  var SpacingMark = 7;\n  var L = 8;\n  var V = 9;\n  var T = 10;\n  var LV = 11;\n  var LVT = 12;\n  var ZWJ = 13;\n  var Extended_Pictographic = 14;\n  var RI = 15;\n  var toCodePoints = function toCodePoints(str) {\n    var codePoints = [];\n    var i = 0;\n    var length = str.length;\n    while (i < length) {\n      var value = str.charCodeAt(i++);\n      if (value >= 0xd800 && value <= 0xdbff && i < length) {\n        var extra = str.charCodeAt(i++);\n        if ((extra & 0xfc00) === 0xdc00) {\n          codePoints.push(((value & 0x3ff) << 10) + (extra & 0x3ff) + 0x10000);\n        } else {\n          codePoints.push(value);\n          i--;\n        }\n      } else {\n        codePoints.push(value);\n      }\n    }\n    return codePoints;\n  };\n  var fromCodePoint = function fromCodePoint() {\n    var codePoints = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n      codePoints[_i] = arguments[_i];\n    }\n    if (String.fromCodePoint) {\n      return String.fromCodePoint.apply(String, codePoints);\n    }\n    var length = codePoints.length;\n    if (!length) {\n      return '';\n    }\n    var codeUnits = [];\n    var index = -1;\n    var result = '';\n    while (++index < length) {\n      var codePoint = codePoints[index];\n      if (codePoint <= 0xffff) {\n        codeUnits.push(codePoint);\n      } else {\n        codePoint -= 0x10000;\n        codeUnits.push((codePoint >> 10) + 0xd800, codePoint % 0x400 + 0xdc00);\n      }\n      if (index + 1 === length || codeUnits.length > 0x4000) {\n        result += String.fromCharCode.apply(String, codeUnits);\n        codeUnits.length = 0;\n      }\n    }\n    return result;\n  };\n  var UnicodeTrie = createTrieFromBase64(base64);\n  var BREAK_NOT_ALLOWED = '×';\n  var BREAK_ALLOWED = '÷';\n  var codePointToClass = function codePointToClass(codePoint) {\n    return UnicodeTrie.get(codePoint);\n  };\n  var _graphemeBreakAtIndex = function _graphemeBreakAtIndex(_codePoints, classTypes, index) {\n    var prevIndex = index - 2;\n    var prev = classTypes[prevIndex];\n    var current = classTypes[index - 1];\n    var next = classTypes[index];\n    // GB3 Do not break between a CR and LF\n    if (current === CR && next === LF) {\n      return BREAK_NOT_ALLOWED;\n    }\n    // GB4 Otherwise, break before and after controls.\n    if (current === CR || current === LF || current === Control) {\n      return BREAK_ALLOWED;\n    }\n    // GB5\n    if (next === CR || next === LF || next === Control) {\n      return BREAK_ALLOWED;\n    }\n    // Do not break Hangul syllable sequences.\n    // GB6\n    if (current === L && [L, V, LV, LVT].indexOf(next) !== -1) {\n      return BREAK_NOT_ALLOWED;\n    }\n    // GB7\n    if ((current === LV || current === V) && (next === V || next === T)) {\n      return BREAK_NOT_ALLOWED;\n    }\n    // GB8\n    if ((current === LVT || current === T) && next === T) {\n      return BREAK_NOT_ALLOWED;\n    }\n    // GB9 Do not break before extending characters or ZWJ.\n    if (next === ZWJ || next === Extend) {\n      return BREAK_NOT_ALLOWED;\n    }\n    // Do not break before SpacingMarks, or after Prepend characters.\n    // GB9a\n    if (next === SpacingMark) {\n      return BREAK_NOT_ALLOWED;\n    }\n    // GB9a\n    if (current === Prepend) {\n      return BREAK_NOT_ALLOWED;\n    }\n    // GB11 Do not break within emoji modifier sequences or emoji zwj sequences.\n    if (current === ZWJ && next === Extended_Pictographic) {\n      while (prev === Extend) {\n        prev = classTypes[--prevIndex];\n      }\n      if (prev === Extended_Pictographic) {\n        return BREAK_NOT_ALLOWED;\n      }\n    }\n    // GB12 Do not break within emoji flag sequences.\n    // That is, do not break between regional indicator (RI) symbols\n    // if there is an odd number of RI characters before the break point.\n    if (current === RI && next === RI) {\n      var countRI = 0;\n      while (prev === RI) {\n        countRI++;\n        prev = classTypes[--prevIndex];\n      }\n      if (countRI % 2 === 0) {\n        return BREAK_NOT_ALLOWED;\n      }\n    }\n    return BREAK_ALLOWED;\n  };\n  var GraphemeBreaker = function GraphemeBreaker(str) {\n    var codePoints = toCodePoints(str);\n    var length = codePoints.length;\n    var index = 0;\n    var lastEnd = 0;\n    var classTypes = codePoints.map(codePointToClass);\n    return {\n      next: function next() {\n        if (index >= length) {\n          return {\n            done: true,\n            value: null\n          };\n        }\n        var graphemeBreak = BREAK_NOT_ALLOWED;\n        while (index < length && (graphemeBreak = _graphemeBreakAtIndex(codePoints, classTypes, ++index)) === BREAK_NOT_ALLOWED) {}\n        if (graphemeBreak !== BREAK_NOT_ALLOWED || index === length) {\n          var value = fromCodePoint.apply(null, codePoints.slice(lastEnd, index));\n          lastEnd = index;\n          return {\n            value: value,\n            done: false\n          };\n        }\n        return {\n          done: true,\n          value: null\n        };\n      }\n    };\n  };\n  var splitGraphemes = function splitGraphemes(str) {\n    var breaker = GraphemeBreaker(str);\n    var graphemes = [];\n    var bk;\n    while (!(bk = breaker.next()).done) {\n      if (bk.value) {\n        graphemes.push(bk.value.slice());\n      }\n    }\n    return graphemes;\n  };\n  var testRangeBounds = function testRangeBounds(document) {\n    var TEST_HEIGHT = 123;\n    if (document.createRange) {\n      var range = document.createRange();\n      if (range.getBoundingClientRect) {\n        var testElement = document.createElement('boundtest');\n        testElement.style.height = TEST_HEIGHT + \"px\";\n        testElement.style.display = 'block';\n        document.body.appendChild(testElement);\n        range.selectNode(testElement);\n        var rangeBounds = range.getBoundingClientRect();\n        var rangeHeight = Math.round(rangeBounds.height);\n        document.body.removeChild(testElement);\n        if (rangeHeight === TEST_HEIGHT) {\n          return true;\n        }\n      }\n    }\n    return false;\n  };\n  var testIOSLineBreak = function testIOSLineBreak(document) {\n    var testElement = document.createElement('boundtest');\n    testElement.style.width = '50px';\n    testElement.style.display = 'block';\n    testElement.style.fontSize = '12px';\n    testElement.style.letterSpacing = '0px';\n    testElement.style.wordSpacing = '0px';\n    document.body.appendChild(testElement);\n    var range = document.createRange();\n    testElement.innerHTML = typeof ''.repeat === 'function' ? '&#128104;'.repeat(10) : '';\n    var node = testElement.firstChild;\n    var textList = toCodePoints$1(node.data).map(function (i) {\n      return fromCodePoint$1(i);\n    });\n    var offset = 0;\n    var prev = {};\n    // ios 13 does not handle range getBoundingClientRect line changes correctly #2177\n    var supports = textList.every(function (text, i) {\n      range.setStart(node, offset);\n      range.setEnd(node, offset + text.length);\n      var rect = range.getBoundingClientRect();\n      offset += text.length;\n      var boundAhead = rect.x > prev.x || rect.y > prev.y;\n      prev = rect;\n      if (i === 0) {\n        return true;\n      }\n      return boundAhead;\n    });\n    document.body.removeChild(testElement);\n    return supports;\n  };\n  var testCORS = function testCORS() {\n    return typeof new Image().crossOrigin !== 'undefined';\n  };\n  var testResponseType = function testResponseType() {\n    return typeof new XMLHttpRequest().responseType === 'string';\n  };\n  var testSVG = function testSVG(document) {\n    var img = new Image();\n    var canvas = document.createElement('canvas');\n    var ctx = canvas.getContext('2d');\n    if (!ctx) {\n      return false;\n    }\n    img.src = \"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>\";\n    try {\n      ctx.drawImage(img, 0, 0);\n      canvas.toDataURL();\n    } catch (e) {\n      return false;\n    }\n    return true;\n  };\n  var isGreenPixel = function isGreenPixel(data) {\n    return data[0] === 0 && data[1] === 255 && data[2] === 0 && data[3] === 255;\n  };\n  var testForeignObject = function testForeignObject(document) {\n    var canvas = document.createElement('canvas');\n    var size = 100;\n    canvas.width = size;\n    canvas.height = size;\n    var ctx = canvas.getContext('2d');\n    if (!ctx) {\n      return Promise.reject(false);\n    }\n    ctx.fillStyle = 'rgb(0, 255, 0)';\n    ctx.fillRect(0, 0, size, size);\n    var img = new Image();\n    var greenImageSrc = canvas.toDataURL();\n    img.src = greenImageSrc;\n    var svg = createForeignObjectSVG(size, size, 0, 0, img);\n    ctx.fillStyle = 'red';\n    ctx.fillRect(0, 0, size, size);\n    return loadSerializedSVG$1(svg).then(function (img) {\n      ctx.drawImage(img, 0, 0);\n      var data = ctx.getImageData(0, 0, size, size).data;\n      ctx.fillStyle = 'red';\n      ctx.fillRect(0, 0, size, size);\n      var node = document.createElement('div');\n      node.style.backgroundImage = \"url(\" + greenImageSrc + \")\";\n      node.style.height = size + \"px\";\n      // Firefox 55 does not render inline <img /> tags\n      return isGreenPixel(data) ? loadSerializedSVG$1(createForeignObjectSVG(size, size, 0, 0, node)) : Promise.reject(false);\n    }).then(function (img) {\n      ctx.drawImage(img, 0, 0);\n      // Edge does not render background-images\n      return isGreenPixel(ctx.getImageData(0, 0, size, size).data);\n    }).catch(function () {\n      return false;\n    });\n  };\n  var createForeignObjectSVG = function createForeignObjectSVG(width, height, x, y, node) {\n    var xmlns = 'http://www.w3.org/2000/svg';\n    var svg = document.createElementNS(xmlns, 'svg');\n    var foreignObject = document.createElementNS(xmlns, 'foreignObject');\n    svg.setAttributeNS(null, 'width', width.toString());\n    svg.setAttributeNS(null, 'height', height.toString());\n    foreignObject.setAttributeNS(null, 'width', '100%');\n    foreignObject.setAttributeNS(null, 'height', '100%');\n    foreignObject.setAttributeNS(null, 'x', x.toString());\n    foreignObject.setAttributeNS(null, 'y', y.toString());\n    foreignObject.setAttributeNS(null, 'externalResourcesRequired', 'true');\n    svg.appendChild(foreignObject);\n    foreignObject.appendChild(node);\n    return svg;\n  };\n  var loadSerializedSVG$1 = function loadSerializedSVG$1(svg) {\n    return new Promise(function (resolve, reject) {\n      var img = new Image();\n      img.onload = function () {\n        return resolve(img);\n      };\n      img.onerror = reject;\n      img.src = \"data:image/svg+xml;charset=utf-8,\" + encodeURIComponent(new XMLSerializer().serializeToString(svg));\n    });\n  };\n  var FEATURES = {\n    get SUPPORT_RANGE_BOUNDS() {\n      var value = testRangeBounds(document);\n      Object.defineProperty(FEATURES, 'SUPPORT_RANGE_BOUNDS', {\n        value: value\n      });\n      return value;\n    },\n    get SUPPORT_WORD_BREAKING() {\n      var value = FEATURES.SUPPORT_RANGE_BOUNDS && testIOSLineBreak(document);\n      Object.defineProperty(FEATURES, 'SUPPORT_WORD_BREAKING', {\n        value: value\n      });\n      return value;\n    },\n    get SUPPORT_SVG_DRAWING() {\n      var value = testSVG(document);\n      Object.defineProperty(FEATURES, 'SUPPORT_SVG_DRAWING', {\n        value: value\n      });\n      return value;\n    },\n    get SUPPORT_FOREIGNOBJECT_DRAWING() {\n      var value = typeof Array.from === 'function' && typeof window.fetch === 'function' ? testForeignObject(document) : Promise.resolve(false);\n      Object.defineProperty(FEATURES, 'SUPPORT_FOREIGNOBJECT_DRAWING', {\n        value: value\n      });\n      return value;\n    },\n    get SUPPORT_CORS_IMAGES() {\n      var value = testCORS();\n      Object.defineProperty(FEATURES, 'SUPPORT_CORS_IMAGES', {\n        value: value\n      });\n      return value;\n    },\n    get SUPPORT_RESPONSE_TYPE() {\n      var value = testResponseType();\n      Object.defineProperty(FEATURES, 'SUPPORT_RESPONSE_TYPE', {\n        value: value\n      });\n      return value;\n    },\n    get SUPPORT_CORS_XHR() {\n      var value = ('withCredentials' in new XMLHttpRequest());\n      Object.defineProperty(FEATURES, 'SUPPORT_CORS_XHR', {\n        value: value\n      });\n      return value;\n    },\n    get SUPPORT_NATIVE_TEXT_SEGMENTATION() {\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any\n      var value = !!(typeof Intl !== 'undefined' && Intl.Segmenter);\n      Object.defineProperty(FEATURES, 'SUPPORT_NATIVE_TEXT_SEGMENTATION', {\n        value: value\n      });\n      return value;\n    }\n  };\n  var TextBounds = /** @class */function () {\n    function TextBounds(text, bounds) {\n      this.text = text;\n      this.bounds = bounds;\n    }\n    return TextBounds;\n  }();\n  var parseTextBounds = function parseTextBounds(context, value, styles, node) {\n    var textList = breakText(value, styles);\n    var textBounds = [];\n    var offset = 0;\n    textList.forEach(function (text) {\n      if (styles.textDecorationLine.length || text.trim().length > 0) {\n        if (FEATURES.SUPPORT_RANGE_BOUNDS) {\n          var clientRects = createRange(node, offset, text.length).getClientRects();\n          if (clientRects.length > 1) {\n            var subSegments = segmentGraphemes(text);\n            var subOffset_1 = 0;\n            subSegments.forEach(function (subSegment) {\n              textBounds.push(new TextBounds(subSegment, Bounds.fromDOMRectList(context, createRange(node, subOffset_1 + offset, subSegment.length).getClientRects())));\n              subOffset_1 += subSegment.length;\n            });\n          } else {\n            textBounds.push(new TextBounds(text, Bounds.fromDOMRectList(context, clientRects)));\n          }\n        } else {\n          var replacementNode = node.splitText(text.length);\n          textBounds.push(new TextBounds(text, getWrapperBounds(context, node)));\n          node = replacementNode;\n        }\n      } else if (!FEATURES.SUPPORT_RANGE_BOUNDS) {\n        node = node.splitText(text.length);\n      }\n      offset += text.length;\n    });\n    return textBounds;\n  };\n  var getWrapperBounds = function getWrapperBounds(context, node) {\n    var ownerDocument = node.ownerDocument;\n    if (ownerDocument) {\n      var wrapper = ownerDocument.createElement('html2canvaswrapper');\n      wrapper.appendChild(node.cloneNode(true));\n      var parentNode = node.parentNode;\n      if (parentNode) {\n        parentNode.replaceChild(wrapper, node);\n        var bounds = parseBounds(context, wrapper);\n        if (wrapper.firstChild) {\n          parentNode.replaceChild(wrapper.firstChild, wrapper);\n        }\n        return bounds;\n      }\n    }\n    return Bounds.EMPTY;\n  };\n  var createRange = function createRange(node, offset, length) {\n    var ownerDocument = node.ownerDocument;\n    if (!ownerDocument) {\n      throw new Error('Node has no owner document');\n    }\n    var range = ownerDocument.createRange();\n    range.setStart(node, offset);\n    range.setEnd(node, offset + length);\n    return range;\n  };\n  var segmentGraphemes = function segmentGraphemes(value) {\n    if (FEATURES.SUPPORT_NATIVE_TEXT_SEGMENTATION) {\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any\n      var segmenter = new Intl.Segmenter(void 0, {\n        granularity: 'grapheme'\n      });\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any\n      return Array.from(segmenter.segment(value)).map(function (segment) {\n        return segment.segment;\n      });\n    }\n    return splitGraphemes(value);\n  };\n  var segmentWords = function segmentWords(value, styles) {\n    if (FEATURES.SUPPORT_NATIVE_TEXT_SEGMENTATION) {\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any\n      var segmenter = new Intl.Segmenter(void 0, {\n        granularity: 'word'\n      });\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any\n      return Array.from(segmenter.segment(value)).map(function (segment) {\n        return segment.segment;\n      });\n    }\n    return breakWords(value, styles);\n  };\n  var breakText = function breakText(value, styles) {\n    return styles.letterSpacing !== 0 ? segmentGraphemes(value) : segmentWords(value, styles);\n  };\n  // https://drafts.csswg.org/css-text/#word-separator\n  var wordSeparators = [0x0020, 0x00a0, 0x1361, 0x10100, 0x10101, 0x1039, 0x1091];\n  var breakWords = function breakWords(str, styles) {\n    var breaker = LineBreaker(str, {\n      lineBreak: styles.lineBreak,\n      wordBreak: styles.overflowWrap === \"break-word\" /* BREAK_WORD */ ? 'break-word' : styles.wordBreak\n    });\n    var words = [];\n    var bk;\n    var _loop_1 = function _loop_1() {\n      if (bk.value) {\n        var value = bk.value.slice();\n        var codePoints = toCodePoints$1(value);\n        var word_1 = '';\n        codePoints.forEach(function (codePoint) {\n          if (wordSeparators.indexOf(codePoint) === -1) {\n            word_1 += fromCodePoint$1(codePoint);\n          } else {\n            if (word_1.length) {\n              words.push(word_1);\n            }\n            words.push(fromCodePoint$1(codePoint));\n            word_1 = '';\n          }\n        });\n        if (word_1.length) {\n          words.push(word_1);\n        }\n      }\n    };\n    while (!(bk = breaker.next()).done) {\n      _loop_1();\n    }\n    return words;\n  };\n  var TextContainer = /** @class */function () {\n    function TextContainer(context, node, styles) {\n      this.text = transform(node.data, styles.textTransform);\n      this.textBounds = parseTextBounds(context, this.text, styles, node);\n    }\n    return TextContainer;\n  }();\n  var transform = function transform(text, _transform) {\n    switch (_transform) {\n      case 1 /* LOWERCASE */:\n        return text.toLowerCase();\n      case 3 /* CAPITALIZE */:\n        return text.replace(CAPITALIZE, capitalize);\n      case 2 /* UPPERCASE */:\n        return text.toUpperCase();\n      default:\n        return text;\n    }\n  };\n  var CAPITALIZE = /(^|\\s|:|-|\\(|\\))([a-z])/g;\n  var capitalize = function capitalize(m, p1, p2) {\n    if (m.length > 0) {\n      return p1 + p2.toUpperCase();\n    }\n    return m;\n  };\n  var ImageElementContainer = /** @class */function (_super) {\n    __extends(ImageElementContainer, _super);\n    function ImageElementContainer(context, img) {\n      var _this = _super.call(this, context, img) || this;\n      _this.src = img.currentSrc || img.src;\n      _this.intrinsicWidth = img.naturalWidth;\n      _this.intrinsicHeight = img.naturalHeight;\n      _this.context.cache.addImage(_this.src);\n      return _this;\n    }\n    return ImageElementContainer;\n  }(ElementContainer);\n  var CanvasElementContainer = /** @class */function (_super) {\n    __extends(CanvasElementContainer, _super);\n    function CanvasElementContainer(context, canvas) {\n      var _this = _super.call(this, context, canvas) || this;\n      _this.canvas = canvas;\n      _this.intrinsicWidth = canvas.width;\n      _this.intrinsicHeight = canvas.height;\n      return _this;\n    }\n    return CanvasElementContainer;\n  }(ElementContainer);\n  var SVGElementContainer = /** @class */function (_super) {\n    __extends(SVGElementContainer, _super);\n    function SVGElementContainer(context, img) {\n      var _this = _super.call(this, context, img) || this;\n      var s = new XMLSerializer();\n      var bounds = parseBounds(context, img);\n      img.setAttribute('width', bounds.width + \"px\");\n      img.setAttribute('height', bounds.height + \"px\");\n      _this.svg = \"data:image/svg+xml,\" + encodeURIComponent(s.serializeToString(img));\n      _this.intrinsicWidth = img.width.baseVal.value;\n      _this.intrinsicHeight = img.height.baseVal.value;\n      _this.context.cache.addImage(_this.svg);\n      return _this;\n    }\n    return SVGElementContainer;\n  }(ElementContainer);\n  var LIElementContainer = /** @class */function (_super) {\n    __extends(LIElementContainer, _super);\n    function LIElementContainer(context, element) {\n      var _this = _super.call(this, context, element) || this;\n      _this.value = element.value;\n      return _this;\n    }\n    return LIElementContainer;\n  }(ElementContainer);\n  var OLElementContainer = /** @class */function (_super) {\n    __extends(OLElementContainer, _super);\n    function OLElementContainer(context, element) {\n      var _this = _super.call(this, context, element) || this;\n      _this.start = element.start;\n      _this.reversed = typeof element.reversed === 'boolean' && element.reversed === true;\n      return _this;\n    }\n    return OLElementContainer;\n  }(ElementContainer);\n  var CHECKBOX_BORDER_RADIUS = [{\n    type: 15 /* DIMENSION_TOKEN */,\n    flags: 0,\n    unit: 'px',\n    number: 3\n  }];\n  var RADIO_BORDER_RADIUS = [{\n    type: 16 /* PERCENTAGE_TOKEN */,\n    flags: 0,\n    number: 50\n  }];\n  var reformatInputBounds = function reformatInputBounds(bounds) {\n    if (bounds.width > bounds.height) {\n      return new Bounds(bounds.left + (bounds.width - bounds.height) / 2, bounds.top, bounds.height, bounds.height);\n    } else if (bounds.width < bounds.height) {\n      return new Bounds(bounds.left, bounds.top + (bounds.height - bounds.width) / 2, bounds.width, bounds.width);\n    }\n    return bounds;\n  };\n  var getInputValue = function getInputValue(node) {\n    var value = node.type === PASSWORD ? new Array(node.value.length + 1).join('\\u2022') : node.value;\n    return value.length === 0 ? node.placeholder || '' : value;\n  };\n  var CHECKBOX = 'checkbox';\n  var RADIO = 'radio';\n  var PASSWORD = 'password';\n  var INPUT_COLOR = 0x2a2a2aff;\n  var InputElementContainer = /** @class */function (_super) {\n    __extends(InputElementContainer, _super);\n    function InputElementContainer(context, input) {\n      var _this = _super.call(this, context, input) || this;\n      _this.type = input.type.toLowerCase();\n      _this.checked = input.checked;\n      _this.value = getInputValue(input);\n      if (_this.type === CHECKBOX || _this.type === RADIO) {\n        _this.styles.backgroundColor = 0xdededeff;\n        _this.styles.borderTopColor = _this.styles.borderRightColor = _this.styles.borderBottomColor = _this.styles.borderLeftColor = 0xa5a5a5ff;\n        _this.styles.borderTopWidth = _this.styles.borderRightWidth = _this.styles.borderBottomWidth = _this.styles.borderLeftWidth = 1;\n        _this.styles.borderTopStyle = _this.styles.borderRightStyle = _this.styles.borderBottomStyle = _this.styles.borderLeftStyle = 1 /* SOLID */;\n        _this.styles.backgroundClip = [0 /* BORDER_BOX */];\n        _this.styles.backgroundOrigin = [0 /* BORDER_BOX */];\n        _this.bounds = reformatInputBounds(_this.bounds);\n      }\n      switch (_this.type) {\n        case CHECKBOX:\n          _this.styles.borderTopRightRadius = _this.styles.borderTopLeftRadius = _this.styles.borderBottomRightRadius = _this.styles.borderBottomLeftRadius = CHECKBOX_BORDER_RADIUS;\n          break;\n        case RADIO:\n          _this.styles.borderTopRightRadius = _this.styles.borderTopLeftRadius = _this.styles.borderBottomRightRadius = _this.styles.borderBottomLeftRadius = RADIO_BORDER_RADIUS;\n          break;\n      }\n      return _this;\n    }\n    return InputElementContainer;\n  }(ElementContainer);\n  var SelectElementContainer = /** @class */function (_super) {\n    __extends(SelectElementContainer, _super);\n    function SelectElementContainer(context, element) {\n      var _this = _super.call(this, context, element) || this;\n      var option = element.options[element.selectedIndex || 0];\n      _this.value = option ? option.text || '' : '';\n      return _this;\n    }\n    return SelectElementContainer;\n  }(ElementContainer);\n  var TextareaElementContainer = /** @class */function (_super) {\n    __extends(TextareaElementContainer, _super);\n    function TextareaElementContainer(context, element) {\n      var _this = _super.call(this, context, element) || this;\n      _this.value = element.value;\n      return _this;\n    }\n    return TextareaElementContainer;\n  }(ElementContainer);\n  var IFrameElementContainer = /** @class */function (_super) {\n    __extends(IFrameElementContainer, _super);\n    function IFrameElementContainer(context, iframe) {\n      var _this = _super.call(this, context, iframe) || this;\n      _this.src = iframe.src;\n      _this.width = parseInt(iframe.width, 10) || 0;\n      _this.height = parseInt(iframe.height, 10) || 0;\n      _this.backgroundColor = _this.styles.backgroundColor;\n      try {\n        if (iframe.contentWindow && iframe.contentWindow.document && iframe.contentWindow.document.documentElement) {\n          _this.tree = parseTree(context, iframe.contentWindow.document.documentElement);\n          // http://www.w3.org/TR/css3-background/#special-backgrounds\n          var documentBackgroundColor = iframe.contentWindow.document.documentElement ? parseColor(context, getComputedStyle(iframe.contentWindow.document.documentElement).backgroundColor) : COLORS.TRANSPARENT;\n          var bodyBackgroundColor = iframe.contentWindow.document.body ? parseColor(context, getComputedStyle(iframe.contentWindow.document.body).backgroundColor) : COLORS.TRANSPARENT;\n          _this.backgroundColor = isTransparent(documentBackgroundColor) ? isTransparent(bodyBackgroundColor) ? _this.styles.backgroundColor : bodyBackgroundColor : documentBackgroundColor;\n        }\n      } catch (e) {}\n      return _this;\n    }\n    return IFrameElementContainer;\n  }(ElementContainer);\n  var LIST_OWNERS = ['OL', 'UL', 'MENU'];\n  var parseNodeTree = function parseNodeTree(context, node, parent, root) {\n    for (var childNode = node.firstChild, nextNode = void 0; childNode; childNode = nextNode) {\n      nextNode = childNode.nextSibling;\n      if (isTextNode(childNode) && childNode.data.trim().length > 0) {\n        parent.textNodes.push(new TextContainer(context, childNode, parent.styles));\n      } else if (isElementNode(childNode)) {\n        if (isSlotElement(childNode) && childNode.assignedNodes) {\n          childNode.assignedNodes().forEach(function (childNode) {\n            return parseNodeTree(context, childNode, parent, root);\n          });\n        } else {\n          var container = createContainer(context, childNode);\n          if (container.styles.isVisible()) {\n            if (createsRealStackingContext(childNode, container, root)) {\n              container.flags |= 4 /* CREATES_REAL_STACKING_CONTEXT */;\n            } else if (createsStackingContext(container.styles)) {\n              container.flags |= 2 /* CREATES_STACKING_CONTEXT */;\n            }\n\n            if (LIST_OWNERS.indexOf(childNode.tagName) !== -1) {\n              container.flags |= 8 /* IS_LIST_OWNER */;\n            }\n\n            parent.elements.push(container);\n            childNode.slot;\n            if (childNode.shadowRoot) {\n              parseNodeTree(context, childNode.shadowRoot, container, root);\n            } else if (!isTextareaElement(childNode) && !isSVGElement(childNode) && !isSelectElement(childNode)) {\n              parseNodeTree(context, childNode, container, root);\n            }\n          }\n        }\n      }\n    }\n  };\n  var createContainer = function createContainer(context, element) {\n    if (isImageElement(element)) {\n      return new ImageElementContainer(context, element);\n    }\n    if (isCanvasElement(element)) {\n      return new CanvasElementContainer(context, element);\n    }\n    if (isSVGElement(element)) {\n      return new SVGElementContainer(context, element);\n    }\n    if (isLIElement(element)) {\n      return new LIElementContainer(context, element);\n    }\n    if (isOLElement(element)) {\n      return new OLElementContainer(context, element);\n    }\n    if (isInputElement(element)) {\n      return new InputElementContainer(context, element);\n    }\n    if (isSelectElement(element)) {\n      return new SelectElementContainer(context, element);\n    }\n    if (isTextareaElement(element)) {\n      return new TextareaElementContainer(context, element);\n    }\n    if (isIFrameElement(element)) {\n      return new IFrameElementContainer(context, element);\n    }\n    return new ElementContainer(context, element);\n  };\n  var parseTree = function parseTree(context, element) {\n    var container = createContainer(context, element);\n    container.flags |= 4 /* CREATES_REAL_STACKING_CONTEXT */;\n    parseNodeTree(context, element, container, container);\n    return container;\n  };\n  var createsRealStackingContext = function createsRealStackingContext(node, container, root) {\n    return container.styles.isPositionedWithZIndex() || container.styles.opacity < 1 || container.styles.isTransformed() || isBodyElement(node) && root.styles.isTransparent();\n  };\n  var createsStackingContext = function createsStackingContext(styles) {\n    return styles.isPositioned() || styles.isFloating();\n  };\n  var isTextNode = function isTextNode(node) {\n    return node.nodeType === Node.TEXT_NODE;\n  };\n  var isElementNode = function isElementNode(node) {\n    return node.nodeType === Node.ELEMENT_NODE;\n  };\n  var isHTMLElementNode = function isHTMLElementNode(node) {\n    return isElementNode(node) && typeof node.style !== 'undefined' && !isSVGElementNode(node);\n  };\n  var isSVGElementNode = function isSVGElementNode(element) {\n    return typeof element.className === 'object';\n  };\n  var isLIElement = function isLIElement(node) {\n    return node.tagName === 'LI';\n  };\n  var isOLElement = function isOLElement(node) {\n    return node.tagName === 'OL';\n  };\n  var isInputElement = function isInputElement(node) {\n    return node.tagName === 'INPUT';\n  };\n  var isHTMLElement = function isHTMLElement(node) {\n    return node.tagName === 'HTML';\n  };\n  var isSVGElement = function isSVGElement(node) {\n    return node.tagName === 'svg';\n  };\n  var isBodyElement = function isBodyElement(node) {\n    return node.tagName === 'BODY';\n  };\n  var isCanvasElement = function isCanvasElement(node) {\n    return node.tagName === 'CANVAS';\n  };\n  var isVideoElement = function isVideoElement(node) {\n    return node.tagName === 'VIDEO';\n  };\n  var isImageElement = function isImageElement(node) {\n    return node.tagName === 'IMG';\n  };\n  var isIFrameElement = function isIFrameElement(node) {\n    return node.tagName === 'IFRAME';\n  };\n  var isStyleElement = function isStyleElement(node) {\n    return node.tagName === 'STYLE';\n  };\n  var isScriptElement = function isScriptElement(node) {\n    return node.tagName === 'SCRIPT';\n  };\n  var isTextareaElement = function isTextareaElement(node) {\n    return node.tagName === 'TEXTAREA';\n  };\n  var isSelectElement = function isSelectElement(node) {\n    return node.tagName === 'SELECT';\n  };\n  var isSlotElement = function isSlotElement(node) {\n    return node.tagName === 'SLOT';\n  };\n  // https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name\n  var isCustomElement = function isCustomElement(node) {\n    return node.tagName.indexOf('-') > 0;\n  };\n  var CounterState = /** @class */function () {\n    function CounterState() {\n      this.counters = {};\n    }\n    CounterState.prototype.getCounterValue = function (name) {\n      var counter = this.counters[name];\n      if (counter && counter.length) {\n        return counter[counter.length - 1];\n      }\n      return 1;\n    };\n    CounterState.prototype.getCounterValues = function (name) {\n      var counter = this.counters[name];\n      return counter ? counter : [];\n    };\n    CounterState.prototype.pop = function (counters) {\n      var _this = this;\n      counters.forEach(function (counter) {\n        return _this.counters[counter].pop();\n      });\n    };\n    CounterState.prototype.parse = function (style) {\n      var _this = this;\n      var counterIncrement = style.counterIncrement;\n      var counterReset = style.counterReset;\n      var canReset = true;\n      if (counterIncrement !== null) {\n        counterIncrement.forEach(function (entry) {\n          var counter = _this.counters[entry.counter];\n          if (counter && entry.increment !== 0) {\n            canReset = false;\n            if (!counter.length) {\n              counter.push(1);\n            }\n            counter[Math.max(0, counter.length - 1)] += entry.increment;\n          }\n        });\n      }\n      var counterNames = [];\n      if (canReset) {\n        counterReset.forEach(function (entry) {\n          var counter = _this.counters[entry.counter];\n          counterNames.push(entry.counter);\n          if (!counter) {\n            counter = _this.counters[entry.counter] = [];\n          }\n          counter.push(entry.reset);\n        });\n      }\n      return counterNames;\n    };\n    return CounterState;\n  }();\n  var ROMAN_UPPER = {\n    integers: [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1],\n    values: ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I']\n  };\n  var ARMENIAN = {\n    integers: [9000, 8000, 7000, 6000, 5000, 4000, 3000, 2000, 1000, 900, 800, 700, 600, 500, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1],\n    values: ['Ք', 'Փ', 'Ւ', 'Ց', 'Ր', 'Տ', 'Վ', 'Ս', 'Ռ', 'Ջ', 'Պ', 'Չ', 'Ո', 'Շ', 'Ն', 'Յ', 'Մ', 'Ճ', 'Ղ', 'Ձ', 'Հ', 'Կ', 'Ծ', 'Խ', 'Լ', 'Ի', 'Ժ', 'Թ', 'Ը', 'Է', 'Զ', 'Ե', 'Դ', 'Գ', 'Բ', 'Ա']\n  };\n  var HEBREW = {\n    integers: [10000, 9000, 8000, 7000, 6000, 5000, 4000, 3000, 2000, 1000, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 19, 18, 17, 16, 15, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1],\n    values: ['י׳', 'ט׳', 'ח׳', 'ז׳', 'ו׳', 'ה׳', 'ד׳', 'ג׳', 'ב׳', 'א׳', 'ת', 'ש', 'ר', 'ק', 'צ', 'פ', 'ע', 'ס', 'נ', 'מ', 'ל', 'כ', 'יט', 'יח', 'יז', 'טז', 'טו', 'י', 'ט', 'ח', 'ז', 'ו', 'ה', 'ד', 'ג', 'ב', 'א']\n  };\n  var GEORGIAN = {\n    integers: [10000, 9000, 8000, 7000, 6000, 5000, 4000, 3000, 2000, 1000, 900, 800, 700, 600, 500, 400, 300, 200, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1],\n    values: ['ჵ', 'ჰ', 'ჯ', 'ჴ', 'ხ', 'ჭ', 'წ', 'ძ', 'ც', 'ჩ', 'შ', 'ყ', 'ღ', 'ქ', 'ფ', 'ჳ', 'ტ', 'ს', 'რ', 'ჟ', 'პ', 'ო', 'ჲ', 'ნ', 'მ', 'ლ', 'კ', 'ი', 'თ', 'ჱ', 'ზ', 'ვ', 'ე', 'დ', 'გ', 'ბ', 'ა']\n  };\n  var createAdditiveCounter = function createAdditiveCounter(value, min, max, symbols, fallback, suffix) {\n    if (value < min || value > max) {\n      return createCounterText(value, fallback, suffix.length > 0);\n    }\n    return symbols.integers.reduce(function (string, integer, index) {\n      while (value >= integer) {\n        value -= integer;\n        string += symbols.values[index];\n      }\n      return string;\n    }, '') + suffix;\n  };\n  var createCounterStyleWithSymbolResolver = function createCounterStyleWithSymbolResolver(value, codePointRangeLength, isNumeric, resolver) {\n    var string = '';\n    do {\n      if (!isNumeric) {\n        value--;\n      }\n      string = resolver(value) + string;\n      value /= codePointRangeLength;\n    } while (value * codePointRangeLength >= codePointRangeLength);\n    return string;\n  };\n  var createCounterStyleFromRange = function createCounterStyleFromRange(value, codePointRangeStart, codePointRangeEnd, isNumeric, suffix) {\n    var codePointRangeLength = codePointRangeEnd - codePointRangeStart + 1;\n    return (value < 0 ? '-' : '') + (createCounterStyleWithSymbolResolver(Math.abs(value), codePointRangeLength, isNumeric, function (codePoint) {\n      return fromCodePoint$1(Math.floor(codePoint % codePointRangeLength) + codePointRangeStart);\n    }) + suffix);\n  };\n  var createCounterStyleFromSymbols = function createCounterStyleFromSymbols(value, symbols, suffix) {\n    if (suffix === void 0) {\n      suffix = '. ';\n    }\n    var codePointRangeLength = symbols.length;\n    return createCounterStyleWithSymbolResolver(Math.abs(value), codePointRangeLength, false, function (codePoint) {\n      return symbols[Math.floor(codePoint % codePointRangeLength)];\n    }) + suffix;\n  };\n  var CJK_ZEROS = 1 << 0;\n  var CJK_TEN_COEFFICIENTS = 1 << 1;\n  var CJK_TEN_HIGH_COEFFICIENTS = 1 << 2;\n  var CJK_HUNDRED_COEFFICIENTS = 1 << 3;\n  var createCJKCounter = function createCJKCounter(value, numbers, multipliers, negativeSign, suffix, flags) {\n    if (value < -9999 || value > 9999) {\n      return createCounterText(value, 4 /* CJK_DECIMAL */, suffix.length > 0);\n    }\n    var tmp = Math.abs(value);\n    var string = suffix;\n    if (tmp === 0) {\n      return numbers[0] + string;\n    }\n    for (var digit = 0; tmp > 0 && digit <= 4; digit++) {\n      var coefficient = tmp % 10;\n      if (coefficient === 0 && contains(flags, CJK_ZEROS) && string !== '') {\n        string = numbers[coefficient] + string;\n      } else if (coefficient > 1 || coefficient === 1 && digit === 0 || coefficient === 1 && digit === 1 && contains(flags, CJK_TEN_COEFFICIENTS) || coefficient === 1 && digit === 1 && contains(flags, CJK_TEN_HIGH_COEFFICIENTS) && value > 100 || coefficient === 1 && digit > 1 && contains(flags, CJK_HUNDRED_COEFFICIENTS)) {\n        string = numbers[coefficient] + (digit > 0 ? multipliers[digit - 1] : '') + string;\n      } else if (coefficient === 1 && digit > 0) {\n        string = multipliers[digit - 1] + string;\n      }\n      tmp = Math.floor(tmp / 10);\n    }\n    return (value < 0 ? negativeSign : '') + string;\n  };\n  var CHINESE_INFORMAL_MULTIPLIERS = '十百千萬';\n  var CHINESE_FORMAL_MULTIPLIERS = '拾佰仟萬';\n  var JAPANESE_NEGATIVE = 'マイナス';\n  var KOREAN_NEGATIVE = '마이너스';\n  var createCounterText = function createCounterText(value, type, appendSuffix) {\n    var defaultSuffix = appendSuffix ? '. ' : '';\n    var cjkSuffix = appendSuffix ? '、' : '';\n    var koreanSuffix = appendSuffix ? ', ' : '';\n    var spaceSuffix = appendSuffix ? ' ' : '';\n    switch (type) {\n      case 0 /* DISC */:\n        return '•' + spaceSuffix;\n      case 1 /* CIRCLE */:\n        return '◦' + spaceSuffix;\n      case 2 /* SQUARE */:\n        return '◾' + spaceSuffix;\n      case 5 /* DECIMAL_LEADING_ZERO */:\n        var string = createCounterStyleFromRange(value, 48, 57, true, defaultSuffix);\n        return string.length < 4 ? \"0\" + string : string;\n      case 4 /* CJK_DECIMAL */:\n        return createCounterStyleFromSymbols(value, '〇一二三四五六七八九', cjkSuffix);\n      case 6 /* LOWER_ROMAN */:\n        return createAdditiveCounter(value, 1, 3999, ROMAN_UPPER, 3 /* DECIMAL */, defaultSuffix).toLowerCase();\n      case 7 /* UPPER_ROMAN */:\n        return createAdditiveCounter(value, 1, 3999, ROMAN_UPPER, 3 /* DECIMAL */, defaultSuffix);\n      case 8 /* LOWER_GREEK */:\n        return createCounterStyleFromRange(value, 945, 969, false, defaultSuffix);\n      case 9 /* LOWER_ALPHA */:\n        return createCounterStyleFromRange(value, 97, 122, false, defaultSuffix);\n      case 10 /* UPPER_ALPHA */:\n        return createCounterStyleFromRange(value, 65, 90, false, defaultSuffix);\n      case 11 /* ARABIC_INDIC */:\n        return createCounterStyleFromRange(value, 1632, 1641, true, defaultSuffix);\n      case 12 /* ARMENIAN */:\n      case 49 /* UPPER_ARMENIAN */:\n        return createAdditiveCounter(value, 1, 9999, ARMENIAN, 3 /* DECIMAL */, defaultSuffix);\n      case 35 /* LOWER_ARMENIAN */:\n        return createAdditiveCounter(value, 1, 9999, ARMENIAN, 3 /* DECIMAL */, defaultSuffix).toLowerCase();\n      case 13 /* BENGALI */:\n        return createCounterStyleFromRange(value, 2534, 2543, true, defaultSuffix);\n      case 14 /* CAMBODIAN */:\n      case 30 /* KHMER */:\n        return createCounterStyleFromRange(value, 6112, 6121, true, defaultSuffix);\n      case 15 /* CJK_EARTHLY_BRANCH */:\n        return createCounterStyleFromSymbols(value, '子丑寅卯辰巳午未申酉戌亥', cjkSuffix);\n      case 16 /* CJK_HEAVENLY_STEM */:\n        return createCounterStyleFromSymbols(value, '甲乙丙丁戊己庚辛壬癸', cjkSuffix);\n      case 17 /* CJK_IDEOGRAPHIC */:\n      case 48 /* TRAD_CHINESE_INFORMAL */:\n        return createCJKCounter(value, '零一二三四五六七八九', CHINESE_INFORMAL_MULTIPLIERS, '負', cjkSuffix, CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS | CJK_HUNDRED_COEFFICIENTS);\n      case 47 /* TRAD_CHINESE_FORMAL */:\n        return createCJKCounter(value, '零壹貳參肆伍陸柒捌玖', CHINESE_FORMAL_MULTIPLIERS, '負', cjkSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS | CJK_HUNDRED_COEFFICIENTS);\n      case 42 /* SIMP_CHINESE_INFORMAL */:\n        return createCJKCounter(value, '零一二三四五六七八九', CHINESE_INFORMAL_MULTIPLIERS, '负', cjkSuffix, CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS | CJK_HUNDRED_COEFFICIENTS);\n      case 41 /* SIMP_CHINESE_FORMAL */:\n        return createCJKCounter(value, '零壹贰叁肆伍陆柒捌玖', CHINESE_FORMAL_MULTIPLIERS, '负', cjkSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS | CJK_HUNDRED_COEFFICIENTS);\n      case 26 /* JAPANESE_INFORMAL */:\n        return createCJKCounter(value, '〇一二三四五六七八九', '十百千万', JAPANESE_NEGATIVE, cjkSuffix, 0);\n      case 25 /* JAPANESE_FORMAL */:\n        return createCJKCounter(value, '零壱弐参四伍六七八九', '拾百千万', JAPANESE_NEGATIVE, cjkSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS);\n      case 31 /* KOREAN_HANGUL_FORMAL */:\n        return createCJKCounter(value, '영일이삼사오육칠팔구', '십백천만', KOREAN_NEGATIVE, koreanSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS);\n      case 33 /* KOREAN_HANJA_INFORMAL */:\n        return createCJKCounter(value, '零一二三四五六七八九', '十百千萬', KOREAN_NEGATIVE, koreanSuffix, 0);\n      case 32 /* KOREAN_HANJA_FORMAL */:\n        return createCJKCounter(value, '零壹貳參四五六七八九', '拾百千', KOREAN_NEGATIVE, koreanSuffix, CJK_ZEROS | CJK_TEN_COEFFICIENTS | CJK_TEN_HIGH_COEFFICIENTS);\n      case 18 /* DEVANAGARI */:\n        return createCounterStyleFromRange(value, 0x966, 0x96f, true, defaultSuffix);\n      case 20 /* GEORGIAN */:\n        return createAdditiveCounter(value, 1, 19999, GEORGIAN, 3 /* DECIMAL */, defaultSuffix);\n      case 21 /* GUJARATI */:\n        return createCounterStyleFromRange(value, 0xae6, 0xaef, true, defaultSuffix);\n      case 22 /* GURMUKHI */:\n        return createCounterStyleFromRange(value, 0xa66, 0xa6f, true, defaultSuffix);\n      case 22 /* HEBREW */:\n        return createAdditiveCounter(value, 1, 10999, HEBREW, 3 /* DECIMAL */, defaultSuffix);\n      case 23 /* HIRAGANA */:\n        return createCounterStyleFromSymbols(value, 'あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん');\n      case 24 /* HIRAGANA_IROHA */:\n        return createCounterStyleFromSymbols(value, 'いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす');\n      case 27 /* KANNADA */:\n        return createCounterStyleFromRange(value, 0xce6, 0xcef, true, defaultSuffix);\n      case 28 /* KATAKANA */:\n        return createCounterStyleFromSymbols(value, 'アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン', cjkSuffix);\n      case 29 /* KATAKANA_IROHA */:\n        return createCounterStyleFromSymbols(value, 'イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス', cjkSuffix);\n      case 34 /* LAO */:\n        return createCounterStyleFromRange(value, 0xed0, 0xed9, true, defaultSuffix);\n      case 37 /* MONGOLIAN */:\n        return createCounterStyleFromRange(value, 0x1810, 0x1819, true, defaultSuffix);\n      case 38 /* MYANMAR */:\n        return createCounterStyleFromRange(value, 0x1040, 0x1049, true, defaultSuffix);\n      case 39 /* ORIYA */:\n        return createCounterStyleFromRange(value, 0xb66, 0xb6f, true, defaultSuffix);\n      case 40 /* PERSIAN */:\n        return createCounterStyleFromRange(value, 0x6f0, 0x6f9, true, defaultSuffix);\n      case 43 /* TAMIL */:\n        return createCounterStyleFromRange(value, 0xbe6, 0xbef, true, defaultSuffix);\n      case 44 /* TELUGU */:\n        return createCounterStyleFromRange(value, 0xc66, 0xc6f, true, defaultSuffix);\n      case 45 /* THAI */:\n        return createCounterStyleFromRange(value, 0xe50, 0xe59, true, defaultSuffix);\n      case 46 /* TIBETAN */:\n        return createCounterStyleFromRange(value, 0xf20, 0xf29, true, defaultSuffix);\n      case 3 /* DECIMAL */:\n      default:\n        return createCounterStyleFromRange(value, 48, 57, true, defaultSuffix);\n    }\n  };\n  var IGNORE_ATTRIBUTE = 'data-html2canvas-ignore';\n  var DocumentCloner = /** @class */function () {\n    function DocumentCloner(context, element, options) {\n      this.context = context;\n      this.options = options;\n      this.scrolledElements = [];\n      this.referenceElement = element;\n      this.counters = new CounterState();\n      this.quoteDepth = 0;\n      if (!element.ownerDocument) {\n        throw new Error('Cloned element does not have an owner document');\n      }\n      this.documentElement = this.cloneNode(element.ownerDocument.documentElement, false);\n    }\n    DocumentCloner.prototype.toIFrame = function (ownerDocument, windowSize) {\n      var _this = this;\n      var iframe = createIFrameContainer(ownerDocument, windowSize);\n      if (!iframe.contentWindow) {\n        return Promise.reject(\"Unable to find iframe window\");\n      }\n      var scrollX = ownerDocument.defaultView.pageXOffset;\n      var scrollY = ownerDocument.defaultView.pageYOffset;\n      var cloneWindow = iframe.contentWindow;\n      var documentClone = cloneWindow.document;\n      /* Chrome doesn't detect relative background-images assigned in inline <style> sheets when fetched through getComputedStyle\n       if window url is about:blank, we can assign the url to current by writing onto the document\n       */\n      var iframeLoad = iframeLoader(iframe).then(function () {\n        return __awaiter(_this, void 0, void 0, function () {\n          var onclone, referenceElement;\n          return __generator(this, function (_a) {\n            switch (_a.label) {\n              case 0:\n                this.scrolledElements.forEach(restoreNodeScroll);\n                if (cloneWindow) {\n                  cloneWindow.scrollTo(windowSize.left, windowSize.top);\n                  if (/(iPad|iPhone|iPod)/g.test(navigator.userAgent) && (cloneWindow.scrollY !== windowSize.top || cloneWindow.scrollX !== windowSize.left)) {\n                    this.context.logger.warn('Unable to restore scroll position for cloned document');\n                    this.context.windowBounds = this.context.windowBounds.add(cloneWindow.scrollX - windowSize.left, cloneWindow.scrollY - windowSize.top, 0, 0);\n                  }\n                }\n                onclone = this.options.onclone;\n                referenceElement = this.clonedReferenceElement;\n                if (typeof referenceElement === 'undefined') {\n                  return [2 /*return*/, Promise.reject(\"Error finding the \" + this.referenceElement.nodeName + \" in the cloned document\")];\n                }\n                if (!(documentClone.fonts && documentClone.fonts.ready)) return [3 /*break*/, 2];\n                return [4 /*yield*/, documentClone.fonts.ready];\n              case 1:\n                _a.sent();\n                _a.label = 2;\n              case 2:\n                if (!/(AppleWebKit)/g.test(navigator.userAgent)) return [3 /*break*/, 4];\n                return [4 /*yield*/, imagesReady(documentClone)];\n              case 3:\n                _a.sent();\n                _a.label = 4;\n              case 4:\n                if (typeof onclone === 'function') {\n                  return [2 /*return*/, Promise.resolve().then(function () {\n                    return onclone(documentClone, referenceElement);\n                  }).then(function () {\n                    return iframe;\n                  })];\n                }\n                return [2 /*return*/, iframe];\n            }\n          });\n        });\n      });\n      documentClone.open();\n      documentClone.write(serializeDoctype(document.doctype) + \"<html></html>\");\n      // Chrome scrolls the parent document for some reason after the write to the cloned window???\n      restoreOwnerScroll(this.referenceElement.ownerDocument, scrollX, scrollY);\n      documentClone.replaceChild(documentClone.adoptNode(this.documentElement), documentClone.documentElement);\n      documentClone.close();\n      return iframeLoad;\n    };\n    DocumentCloner.prototype.createElementClone = function (node) {\n      if (isDebugging(node, 2 /* CLONE */)) {\n        debugger;\n      }\n      if (isCanvasElement(node)) {\n        return this.createCanvasClone(node);\n      }\n      if (isVideoElement(node)) {\n        return this.createVideoClone(node);\n      }\n      if (isStyleElement(node)) {\n        return this.createStyleClone(node);\n      }\n      var clone = node.cloneNode(false);\n      if (isImageElement(clone)) {\n        if (isImageElement(node) && node.currentSrc && node.currentSrc !== node.src) {\n          clone.src = node.currentSrc;\n          clone.srcset = '';\n        }\n        if (clone.loading === 'lazy') {\n          clone.loading = 'eager';\n        }\n      }\n      if (isCustomElement(clone)) {\n        return this.createCustomElementClone(clone);\n      }\n      return clone;\n    };\n    DocumentCloner.prototype.createCustomElementClone = function (node) {\n      var clone = document.createElement('html2canvascustomelement');\n      copyCSSStyles(node.style, clone);\n      return clone;\n    };\n    DocumentCloner.prototype.createStyleClone = function (node) {\n      try {\n        var sheet = node.sheet;\n        if (sheet && sheet.cssRules) {\n          var css = [].slice.call(sheet.cssRules, 0).reduce(function (css, rule) {\n            if (rule && typeof rule.cssText === 'string') {\n              return css + rule.cssText;\n            }\n            return css;\n          }, '');\n          var style = node.cloneNode(false);\n          style.textContent = css;\n          return style;\n        }\n      } catch (e) {\n        // accessing node.sheet.cssRules throws a DOMException\n        this.context.logger.error('Unable to access cssRules property', e);\n        if (e.name !== 'SecurityError') {\n          throw e;\n        }\n      }\n      return node.cloneNode(false);\n    };\n    DocumentCloner.prototype.createCanvasClone = function (canvas) {\n      var _a;\n      if (this.options.inlineImages && canvas.ownerDocument) {\n        var img = canvas.ownerDocument.createElement('img');\n        try {\n          img.src = canvas.toDataURL();\n          return img;\n        } catch (e) {\n          this.context.logger.info(\"Unable to inline canvas contents, canvas is tainted\", canvas);\n        }\n      }\n      var clonedCanvas = canvas.cloneNode(false);\n      try {\n        clonedCanvas.width = canvas.width;\n        clonedCanvas.height = canvas.height;\n        var ctx = canvas.getContext('2d');\n        var clonedCtx = clonedCanvas.getContext('2d');\n        if (clonedCtx) {\n          if (!this.options.allowTaint && ctx) {\n            clonedCtx.putImageData(ctx.getImageData(0, 0, canvas.width, canvas.height), 0, 0);\n          } else {\n            var gl = (_a = canvas.getContext('webgl2')) !== null && _a !== void 0 ? _a : canvas.getContext('webgl');\n            if (gl) {\n              var attribs = gl.getContextAttributes();\n              if ((attribs === null || attribs === void 0 ? void 0 : attribs.preserveDrawingBuffer) === false) {\n                this.context.logger.warn('Unable to clone WebGL context as it has preserveDrawingBuffer=false', canvas);\n              }\n            }\n            clonedCtx.drawImage(canvas, 0, 0);\n          }\n        }\n        return clonedCanvas;\n      } catch (e) {\n        this.context.logger.info(\"Unable to clone canvas as it is tainted\", canvas);\n      }\n      return clonedCanvas;\n    };\n    DocumentCloner.prototype.createVideoClone = function (video) {\n      var canvas = video.ownerDocument.createElement('canvas');\n      canvas.width = video.offsetWidth;\n      canvas.height = video.offsetHeight;\n      var ctx = canvas.getContext('2d');\n      try {\n        if (ctx) {\n          ctx.drawImage(video, 0, 0, canvas.width, canvas.height);\n          if (!this.options.allowTaint) {\n            ctx.getImageData(0, 0, canvas.width, canvas.height);\n          }\n        }\n        return canvas;\n      } catch (e) {\n        this.context.logger.info(\"Unable to clone video as it is tainted\", video);\n      }\n      var blankCanvas = video.ownerDocument.createElement('canvas');\n      blankCanvas.width = video.offsetWidth;\n      blankCanvas.height = video.offsetHeight;\n      return blankCanvas;\n    };\n    DocumentCloner.prototype.appendChildNode = function (clone, child, copyStyles) {\n      if (!isElementNode(child) || !isScriptElement(child) && !child.hasAttribute(IGNORE_ATTRIBUTE) && (typeof this.options.ignoreElements !== 'function' || !this.options.ignoreElements(child))) {\n        if (!this.options.copyStyles || !isElementNode(child) || !isStyleElement(child)) {\n          clone.appendChild(this.cloneNode(child, copyStyles));\n        }\n      }\n    };\n    DocumentCloner.prototype.cloneChildNodes = function (node, clone, copyStyles) {\n      var _this = this;\n      for (var child = node.shadowRoot ? node.shadowRoot.firstChild : node.firstChild; child; child = child.nextSibling) {\n        if (isElementNode(child) && isSlotElement(child) && typeof child.assignedNodes === 'function') {\n          var assignedNodes = child.assignedNodes();\n          if (assignedNodes.length) {\n            assignedNodes.forEach(function (assignedNode) {\n              return _this.appendChildNode(clone, assignedNode, copyStyles);\n            });\n          }\n        } else {\n          this.appendChildNode(clone, child, copyStyles);\n        }\n      }\n    };\n    DocumentCloner.prototype.cloneNode = function (node, copyStyles) {\n      if (isTextNode(node)) {\n        return document.createTextNode(node.data);\n      }\n      if (!node.ownerDocument) {\n        return node.cloneNode(false);\n      }\n      var window = node.ownerDocument.defaultView;\n      if (window && isElementNode(node) && (isHTMLElementNode(node) || isSVGElementNode(node))) {\n        var clone = this.createElementClone(node);\n        clone.style.transitionProperty = 'none';\n        var style = window.getComputedStyle(node);\n        var styleBefore = window.getComputedStyle(node, ':before');\n        var styleAfter = window.getComputedStyle(node, ':after');\n        if (this.referenceElement === node && isHTMLElementNode(clone)) {\n          this.clonedReferenceElement = clone;\n        }\n        if (isBodyElement(clone)) {\n          createPseudoHideStyles(clone);\n        }\n        var counters = this.counters.parse(new CSSParsedCounterDeclaration(this.context, style));\n        var before = this.resolvePseudoContent(node, clone, styleBefore, PseudoElementType.BEFORE);\n        if (isCustomElement(node)) {\n          copyStyles = true;\n        }\n        if (!isVideoElement(node)) {\n          this.cloneChildNodes(node, clone, copyStyles);\n        }\n        if (before) {\n          clone.insertBefore(before, clone.firstChild);\n        }\n        var after = this.resolvePseudoContent(node, clone, styleAfter, PseudoElementType.AFTER);\n        if (after) {\n          clone.appendChild(after);\n        }\n        this.counters.pop(counters);\n        if (style && (this.options.copyStyles || isSVGElementNode(node)) && !isIFrameElement(node) || copyStyles) {\n          copyCSSStyles(style, clone);\n        }\n        if (node.scrollTop !== 0 || node.scrollLeft !== 0) {\n          this.scrolledElements.push([clone, node.scrollLeft, node.scrollTop]);\n        }\n        if ((isTextareaElement(node) || isSelectElement(node)) && (isTextareaElement(clone) || isSelectElement(clone))) {\n          clone.value = node.value;\n        }\n        return clone;\n      }\n      return node.cloneNode(false);\n    };\n    DocumentCloner.prototype.resolvePseudoContent = function (node, clone, style, pseudoElt) {\n      var _this = this;\n      if (!style) {\n        return;\n      }\n      var value = style.content;\n      var document = clone.ownerDocument;\n      if (!document || !value || value === 'none' || value === '-moz-alt-content' || style.display === 'none') {\n        return;\n      }\n      this.counters.parse(new CSSParsedCounterDeclaration(this.context, style));\n      var declaration = new CSSParsedPseudoDeclaration(this.context, style);\n      var anonymousReplacedElement = document.createElement('html2canvaspseudoelement');\n      copyCSSStyles(style, anonymousReplacedElement);\n      declaration.content.forEach(function (token) {\n        if (token.type === 0 /* STRING_TOKEN */) {\n          anonymousReplacedElement.appendChild(document.createTextNode(token.value));\n        } else if (token.type === 22 /* URL_TOKEN */) {\n          var img = document.createElement('img');\n          img.src = token.value;\n          img.style.opacity = '1';\n          anonymousReplacedElement.appendChild(img);\n        } else if (token.type === 18 /* FUNCTION */) {\n          if (token.name === 'attr') {\n            var attr = token.values.filter(isIdentToken);\n            if (attr.length) {\n              anonymousReplacedElement.appendChild(document.createTextNode(node.getAttribute(attr[0].value) || ''));\n            }\n          } else if (token.name === 'counter') {\n            var _a = token.values.filter(nonFunctionArgSeparator),\n              counter = _a[0],\n              counterStyle = _a[1];\n            if (counter && isIdentToken(counter)) {\n              var counterState = _this.counters.getCounterValue(counter.value);\n              var counterType = counterStyle && isIdentToken(counterStyle) ? listStyleType.parse(_this.context, counterStyle.value) : 3 /* DECIMAL */;\n              anonymousReplacedElement.appendChild(document.createTextNode(createCounterText(counterState, counterType, false)));\n            }\n          } else if (token.name === 'counters') {\n            var _b = token.values.filter(nonFunctionArgSeparator),\n              counter = _b[0],\n              delim = _b[1],\n              counterStyle = _b[2];\n            if (counter && isIdentToken(counter)) {\n              var counterStates = _this.counters.getCounterValues(counter.value);\n              var counterType_1 = counterStyle && isIdentToken(counterStyle) ? listStyleType.parse(_this.context, counterStyle.value) : 3 /* DECIMAL */;\n              var separator = delim && delim.type === 0 /* STRING_TOKEN */ ? delim.value : '';\n              var text = counterStates.map(function (value) {\n                return createCounterText(value, counterType_1, false);\n              }).join(separator);\n              anonymousReplacedElement.appendChild(document.createTextNode(text));\n            }\n          } else ;\n        } else if (token.type === 20 /* IDENT_TOKEN */) {\n          switch (token.value) {\n            case 'open-quote':\n              anonymousReplacedElement.appendChild(document.createTextNode(getQuote(declaration.quotes, _this.quoteDepth++, true)));\n              break;\n            case 'close-quote':\n              anonymousReplacedElement.appendChild(document.createTextNode(getQuote(declaration.quotes, --_this.quoteDepth, false)));\n              break;\n            default:\n              // safari doesn't parse string tokens correctly because of lack of quotes\n              anonymousReplacedElement.appendChild(document.createTextNode(token.value));\n          }\n        }\n      });\n      anonymousReplacedElement.className = PSEUDO_HIDE_ELEMENT_CLASS_BEFORE + \" \" + PSEUDO_HIDE_ELEMENT_CLASS_AFTER;\n      var newClassName = pseudoElt === PseudoElementType.BEFORE ? \" \" + PSEUDO_HIDE_ELEMENT_CLASS_BEFORE : \" \" + PSEUDO_HIDE_ELEMENT_CLASS_AFTER;\n      if (isSVGElementNode(clone)) {\n        clone.className.baseValue += newClassName;\n      } else {\n        clone.className += newClassName;\n      }\n      return anonymousReplacedElement;\n    };\n    DocumentCloner.destroy = function (container) {\n      if (container.parentNode) {\n        container.parentNode.removeChild(container);\n        return true;\n      }\n      return false;\n    };\n    return DocumentCloner;\n  }();\n  var PseudoElementType;\n  (function (PseudoElementType) {\n    PseudoElementType[PseudoElementType[\"BEFORE\"] = 0] = \"BEFORE\";\n    PseudoElementType[PseudoElementType[\"AFTER\"] = 1] = \"AFTER\";\n  })(PseudoElementType || (PseudoElementType = {}));\n  var createIFrameContainer = function createIFrameContainer(ownerDocument, bounds) {\n    var cloneIframeContainer = ownerDocument.createElement('iframe');\n    cloneIframeContainer.className = 'html2canvas-container';\n    cloneIframeContainer.style.visibility = 'hidden';\n    cloneIframeContainer.style.position = 'fixed';\n    cloneIframeContainer.style.left = '-10000px';\n    cloneIframeContainer.style.top = '0px';\n    cloneIframeContainer.style.border = '0';\n    cloneIframeContainer.width = bounds.width.toString();\n    cloneIframeContainer.height = bounds.height.toString();\n    cloneIframeContainer.scrolling = 'no'; // ios won't scroll without it\n    cloneIframeContainer.setAttribute(IGNORE_ATTRIBUTE, 'true');\n    ownerDocument.body.appendChild(cloneIframeContainer);\n    return cloneIframeContainer;\n  };\n  var imageReady = function imageReady(img) {\n    return new Promise(function (resolve) {\n      if (img.complete) {\n        resolve();\n        return;\n      }\n      if (!img.src) {\n        resolve();\n        return;\n      }\n      img.onload = resolve;\n      img.onerror = resolve;\n    });\n  };\n  var imagesReady = function imagesReady(document) {\n    return Promise.all([].slice.call(document.images, 0).map(imageReady));\n  };\n  var iframeLoader = function iframeLoader(iframe) {\n    return new Promise(function (resolve, reject) {\n      var cloneWindow = iframe.contentWindow;\n      if (!cloneWindow) {\n        return reject(\"No window assigned for iframe\");\n      }\n      var documentClone = cloneWindow.document;\n      cloneWindow.onload = iframe.onload = function () {\n        cloneWindow.onload = iframe.onload = null;\n        var interval = setInterval(function () {\n          if (documentClone.body.childNodes.length > 0 && documentClone.readyState === 'complete') {\n            clearInterval(interval);\n            resolve(iframe);\n          }\n        }, 50);\n      };\n    });\n  };\n  var ignoredStyleProperties = ['all', 'd', 'content' // Safari shows pseudoelements if content is set\n  ];\n\n  var copyCSSStyles = function copyCSSStyles(style, target) {\n    // Edge does not provide value for cssText\n    for (var i = style.length - 1; i >= 0; i--) {\n      var property = style.item(i);\n      if (ignoredStyleProperties.indexOf(property) === -1) {\n        target.style.setProperty(property, style.getPropertyValue(property));\n      }\n    }\n    return target;\n  };\n  var serializeDoctype = function serializeDoctype(doctype) {\n    var str = '';\n    if (doctype) {\n      str += '<!DOCTYPE ';\n      if (doctype.name) {\n        str += doctype.name;\n      }\n      if (doctype.internalSubset) {\n        str += doctype.internalSubset;\n      }\n      if (doctype.publicId) {\n        str += \"\\\"\" + doctype.publicId + \"\\\"\";\n      }\n      if (doctype.systemId) {\n        str += \"\\\"\" + doctype.systemId + \"\\\"\";\n      }\n      str += '>';\n    }\n    return str;\n  };\n  var restoreOwnerScroll = function restoreOwnerScroll(ownerDocument, x, y) {\n    if (ownerDocument && ownerDocument.defaultView && (x !== ownerDocument.defaultView.pageXOffset || y !== ownerDocument.defaultView.pageYOffset)) {\n      ownerDocument.defaultView.scrollTo(x, y);\n    }\n  };\n  var restoreNodeScroll = function restoreNodeScroll(_a) {\n    var element = _a[0],\n      x = _a[1],\n      y = _a[2];\n    element.scrollLeft = x;\n    element.scrollTop = y;\n  };\n  var PSEUDO_BEFORE = ':before';\n  var PSEUDO_AFTER = ':after';\n  var PSEUDO_HIDE_ELEMENT_CLASS_BEFORE = '___html2canvas___pseudoelement_before';\n  var PSEUDO_HIDE_ELEMENT_CLASS_AFTER = '___html2canvas___pseudoelement_after';\n  var PSEUDO_HIDE_ELEMENT_STYLE = \"{\\n    content: \\\"\\\" !important;\\n    display: none !important;\\n}\";\n  var createPseudoHideStyles = function createPseudoHideStyles(body) {\n    createStyles(body, \".\" + PSEUDO_HIDE_ELEMENT_CLASS_BEFORE + PSEUDO_BEFORE + PSEUDO_HIDE_ELEMENT_STYLE + \"\\n         .\" + PSEUDO_HIDE_ELEMENT_CLASS_AFTER + PSEUDO_AFTER + PSEUDO_HIDE_ELEMENT_STYLE);\n  };\n  var createStyles = function createStyles(body, styles) {\n    var document = body.ownerDocument;\n    if (document) {\n      var style = document.createElement('style');\n      style.textContent = styles;\n      body.appendChild(style);\n    }\n  };\n  var CacheStorage = /** @class */function () {\n    function CacheStorage() {}\n    CacheStorage.getOrigin = function (url) {\n      var link = CacheStorage._link;\n      if (!link) {\n        return 'about:blank';\n      }\n      link.href = url;\n      link.href = link.href; // IE9, LOL! - http://jsfiddle.net/niklasvh/2e48b/\n      return link.protocol + link.hostname + link.port;\n    };\n    CacheStorage.isSameOrigin = function (src) {\n      return CacheStorage.getOrigin(src) === CacheStorage._origin;\n    };\n    CacheStorage.setContext = function (window) {\n      CacheStorage._link = window.document.createElement('a');\n      CacheStorage._origin = CacheStorage.getOrigin(window.location.href);\n    };\n    CacheStorage._origin = 'about:blank';\n    return CacheStorage;\n  }();\n  var Cache = /** @class */function () {\n    function Cache(context, _options) {\n      this.context = context;\n      this._options = _options;\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any\n      this._cache = {};\n    }\n    Cache.prototype.addImage = function (src) {\n      var result = Promise.resolve();\n      if (this.has(src)) {\n        return result;\n      }\n      if (isBlobImage(src) || isRenderable(src)) {\n        (this._cache[src] = this.loadImage(src)).catch(function () {\n          // prevent unhandled rejection\n        });\n        return result;\n      }\n      return result;\n    };\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    Cache.prototype.match = function (src) {\n      return this._cache[src];\n    };\n    Cache.prototype.loadImage = function (key) {\n      return __awaiter(this, void 0, void 0, function () {\n        var isSameOrigin, useCORS, useProxy, src;\n        var _this = this;\n        return __generator(this, function (_a) {\n          switch (_a.label) {\n            case 0:\n              isSameOrigin = CacheStorage.isSameOrigin(key);\n              useCORS = !isInlineImage(key) && this._options.useCORS === true && FEATURES.SUPPORT_CORS_IMAGES && !isSameOrigin;\n              useProxy = !isInlineImage(key) && !isSameOrigin && !isBlobImage(key) && typeof this._options.proxy === 'string' && FEATURES.SUPPORT_CORS_XHR && !useCORS;\n              if (!isSameOrigin && this._options.allowTaint === false && !isInlineImage(key) && !isBlobImage(key) && !useProxy && !useCORS) {\n                return [2 /*return*/];\n              }\n\n              src = key;\n              if (!useProxy) return [3 /*break*/, 2];\n              return [4 /*yield*/, this.proxy(src)];\n            case 1:\n              src = _a.sent();\n              _a.label = 2;\n            case 2:\n              this.context.logger.debug(\"Added image \" + key.substring(0, 256));\n              return [4 /*yield*/, new Promise(function (resolve, reject) {\n                var img = new Image();\n                img.onload = function () {\n                  return resolve(img);\n                };\n                img.onerror = reject;\n                //ios safari 10.3 taints canvas with data urls unless crossOrigin is set to anonymous\n                if (isInlineBase64Image(src) || useCORS) {\n                  img.crossOrigin = 'anonymous';\n                }\n                img.src = src;\n                if (img.complete === true) {\n                  // Inline XML images may fail to parse, throwing an Error later on\n                  setTimeout(function () {\n                    return resolve(img);\n                  }, 500);\n                }\n                if (_this._options.imageTimeout > 0) {\n                  setTimeout(function () {\n                    return reject(\"Timed out (\" + _this._options.imageTimeout + \"ms) loading image\");\n                  }, _this._options.imageTimeout);\n                }\n              })];\n            case 3:\n              return [2 /*return*/, _a.sent()];\n          }\n        });\n      });\n    };\n    Cache.prototype.has = function (key) {\n      return typeof this._cache[key] !== 'undefined';\n    };\n    Cache.prototype.keys = function () {\n      return Promise.resolve(Object.keys(this._cache));\n    };\n    Cache.prototype.proxy = function (src) {\n      var _this = this;\n      var proxy = this._options.proxy;\n      if (!proxy) {\n        throw new Error('No proxy defined');\n      }\n      var key = src.substring(0, 256);\n      return new Promise(function (resolve, reject) {\n        var responseType = FEATURES.SUPPORT_RESPONSE_TYPE ? 'blob' : 'text';\n        var xhr = new XMLHttpRequest();\n        xhr.onload = function () {\n          if (xhr.status === 200) {\n            if (responseType === 'text') {\n              resolve(xhr.response);\n            } else {\n              var reader_1 = new FileReader();\n              reader_1.addEventListener('load', function () {\n                return resolve(reader_1.result);\n              }, false);\n              reader_1.addEventListener('error', function (e) {\n                return reject(e);\n              }, false);\n              reader_1.readAsDataURL(xhr.response);\n            }\n          } else {\n            reject(\"Failed to proxy resource \" + key + \" with status code \" + xhr.status);\n          }\n        };\n        xhr.onerror = reject;\n        var queryString = proxy.indexOf('?') > -1 ? '&' : '?';\n        xhr.open('GET', \"\" + proxy + queryString + \"url=\" + encodeURIComponent(src) + \"&responseType=\" + responseType);\n        if (responseType !== 'text' && xhr instanceof XMLHttpRequest) {\n          xhr.responseType = responseType;\n        }\n        if (_this._options.imageTimeout) {\n          var timeout_1 = _this._options.imageTimeout;\n          xhr.timeout = timeout_1;\n          xhr.ontimeout = function () {\n            return reject(\"Timed out (\" + timeout_1 + \"ms) proxying \" + key);\n          };\n        }\n        xhr.send();\n      });\n    };\n    return Cache;\n  }();\n  var INLINE_SVG = /^data:image\\/svg\\+xml/i;\n  var INLINE_BASE64 = /^data:image\\/.*;base64,/i;\n  var INLINE_IMG = /^data:image\\/.*/i;\n  var isRenderable = function isRenderable(src) {\n    return FEATURES.SUPPORT_SVG_DRAWING || !isSVG(src);\n  };\n  var isInlineImage = function isInlineImage(src) {\n    return INLINE_IMG.test(src);\n  };\n  var isInlineBase64Image = function isInlineBase64Image(src) {\n    return INLINE_BASE64.test(src);\n  };\n  var isBlobImage = function isBlobImage(src) {\n    return src.substr(0, 4) === 'blob';\n  };\n  var isSVG = function isSVG(src) {\n    return src.substr(-3).toLowerCase() === 'svg' || INLINE_SVG.test(src);\n  };\n  var Vector = /** @class */function () {\n    function Vector(x, y) {\n      this.type = 0 /* VECTOR */;\n      this.x = x;\n      this.y = y;\n    }\n    Vector.prototype.add = function (deltaX, deltaY) {\n      return new Vector(this.x + deltaX, this.y + deltaY);\n    };\n    return Vector;\n  }();\n  var lerp = function lerp(a, b, t) {\n    return new Vector(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t);\n  };\n  var BezierCurve = /** @class */function () {\n    function BezierCurve(start, startControl, endControl, end) {\n      this.type = 1 /* BEZIER_CURVE */;\n      this.start = start;\n      this.startControl = startControl;\n      this.endControl = endControl;\n      this.end = end;\n    }\n    BezierCurve.prototype.subdivide = function (t, firstHalf) {\n      var ab = lerp(this.start, this.startControl, t);\n      var bc = lerp(this.startControl, this.endControl, t);\n      var cd = lerp(this.endControl, this.end, t);\n      var abbc = lerp(ab, bc, t);\n      var bccd = lerp(bc, cd, t);\n      var dest = lerp(abbc, bccd, t);\n      return firstHalf ? new BezierCurve(this.start, ab, abbc, dest) : new BezierCurve(dest, bccd, cd, this.end);\n    };\n    BezierCurve.prototype.add = function (deltaX, deltaY) {\n      return new BezierCurve(this.start.add(deltaX, deltaY), this.startControl.add(deltaX, deltaY), this.endControl.add(deltaX, deltaY), this.end.add(deltaX, deltaY));\n    };\n    BezierCurve.prototype.reverse = function () {\n      return new BezierCurve(this.end, this.endControl, this.startControl, this.start);\n    };\n    return BezierCurve;\n  }();\n  var isBezierCurve = function isBezierCurve(path) {\n    return path.type === 1 /* BEZIER_CURVE */;\n  };\n\n  var BoundCurves = /** @class */function () {\n    function BoundCurves(element) {\n      var styles = element.styles;\n      var bounds = element.bounds;\n      var _a = getAbsoluteValueForTuple(styles.borderTopLeftRadius, bounds.width, bounds.height),\n        tlh = _a[0],\n        tlv = _a[1];\n      var _b = getAbsoluteValueForTuple(styles.borderTopRightRadius, bounds.width, bounds.height),\n        trh = _b[0],\n        trv = _b[1];\n      var _c = getAbsoluteValueForTuple(styles.borderBottomRightRadius, bounds.width, bounds.height),\n        brh = _c[0],\n        brv = _c[1];\n      var _d = getAbsoluteValueForTuple(styles.borderBottomLeftRadius, bounds.width, bounds.height),\n        blh = _d[0],\n        blv = _d[1];\n      var factors = [];\n      factors.push((tlh + trh) / bounds.width);\n      factors.push((blh + brh) / bounds.width);\n      factors.push((tlv + blv) / bounds.height);\n      factors.push((trv + brv) / bounds.height);\n      var maxFactor = Math.max.apply(Math, factors);\n      if (maxFactor > 1) {\n        tlh /= maxFactor;\n        tlv /= maxFactor;\n        trh /= maxFactor;\n        trv /= maxFactor;\n        brh /= maxFactor;\n        brv /= maxFactor;\n        blh /= maxFactor;\n        blv /= maxFactor;\n      }\n      var topWidth = bounds.width - trh;\n      var rightHeight = bounds.height - brv;\n      var bottomWidth = bounds.width - brh;\n      var leftHeight = bounds.height - blv;\n      var borderTopWidth = styles.borderTopWidth;\n      var borderRightWidth = styles.borderRightWidth;\n      var borderBottomWidth = styles.borderBottomWidth;\n      var borderLeftWidth = styles.borderLeftWidth;\n      var paddingTop = getAbsoluteValue(styles.paddingTop, element.bounds.width);\n      var paddingRight = getAbsoluteValue(styles.paddingRight, element.bounds.width);\n      var paddingBottom = getAbsoluteValue(styles.paddingBottom, element.bounds.width);\n      var paddingLeft = getAbsoluteValue(styles.paddingLeft, element.bounds.width);\n      this.topLeftBorderDoubleOuterBox = tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + borderLeftWidth / 3, bounds.top + borderTopWidth / 3, tlh - borderLeftWidth / 3, tlv - borderTopWidth / 3, CORNER.TOP_LEFT) : new Vector(bounds.left + borderLeftWidth / 3, bounds.top + borderTopWidth / 3);\n      this.topRightBorderDoubleOuterBox = tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + topWidth, bounds.top + borderTopWidth / 3, trh - borderRightWidth / 3, trv - borderTopWidth / 3, CORNER.TOP_RIGHT) : new Vector(bounds.left + bounds.width - borderRightWidth / 3, bounds.top + borderTopWidth / 3);\n      this.bottomRightBorderDoubleOuterBox = brh > 0 || brv > 0 ? getCurvePoints(bounds.left + bottomWidth, bounds.top + rightHeight, brh - borderRightWidth / 3, brv - borderBottomWidth / 3, CORNER.BOTTOM_RIGHT) : new Vector(bounds.left + bounds.width - borderRightWidth / 3, bounds.top + bounds.height - borderBottomWidth / 3);\n      this.bottomLeftBorderDoubleOuterBox = blh > 0 || blv > 0 ? getCurvePoints(bounds.left + borderLeftWidth / 3, bounds.top + leftHeight, blh - borderLeftWidth / 3, blv - borderBottomWidth / 3, CORNER.BOTTOM_LEFT) : new Vector(bounds.left + borderLeftWidth / 3, bounds.top + bounds.height - borderBottomWidth / 3);\n      this.topLeftBorderDoubleInnerBox = tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + borderLeftWidth * 2 / 3, bounds.top + borderTopWidth * 2 / 3, tlh - borderLeftWidth * 2 / 3, tlv - borderTopWidth * 2 / 3, CORNER.TOP_LEFT) : new Vector(bounds.left + borderLeftWidth * 2 / 3, bounds.top + borderTopWidth * 2 / 3);\n      this.topRightBorderDoubleInnerBox = tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + topWidth, bounds.top + borderTopWidth * 2 / 3, trh - borderRightWidth * 2 / 3, trv - borderTopWidth * 2 / 3, CORNER.TOP_RIGHT) : new Vector(bounds.left + bounds.width - borderRightWidth * 2 / 3, bounds.top + borderTopWidth * 2 / 3);\n      this.bottomRightBorderDoubleInnerBox = brh > 0 || brv > 0 ? getCurvePoints(bounds.left + bottomWidth, bounds.top + rightHeight, brh - borderRightWidth * 2 / 3, brv - borderBottomWidth * 2 / 3, CORNER.BOTTOM_RIGHT) : new Vector(bounds.left + bounds.width - borderRightWidth * 2 / 3, bounds.top + bounds.height - borderBottomWidth * 2 / 3);\n      this.bottomLeftBorderDoubleInnerBox = blh > 0 || blv > 0 ? getCurvePoints(bounds.left + borderLeftWidth * 2 / 3, bounds.top + leftHeight, blh - borderLeftWidth * 2 / 3, blv - borderBottomWidth * 2 / 3, CORNER.BOTTOM_LEFT) : new Vector(bounds.left + borderLeftWidth * 2 / 3, bounds.top + bounds.height - borderBottomWidth * 2 / 3);\n      this.topLeftBorderStroke = tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + borderLeftWidth / 2, bounds.top + borderTopWidth / 2, tlh - borderLeftWidth / 2, tlv - borderTopWidth / 2, CORNER.TOP_LEFT) : new Vector(bounds.left + borderLeftWidth / 2, bounds.top + borderTopWidth / 2);\n      this.topRightBorderStroke = tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + topWidth, bounds.top + borderTopWidth / 2, trh - borderRightWidth / 2, trv - borderTopWidth / 2, CORNER.TOP_RIGHT) : new Vector(bounds.left + bounds.width - borderRightWidth / 2, bounds.top + borderTopWidth / 2);\n      this.bottomRightBorderStroke = brh > 0 || brv > 0 ? getCurvePoints(bounds.left + bottomWidth, bounds.top + rightHeight, brh - borderRightWidth / 2, brv - borderBottomWidth / 2, CORNER.BOTTOM_RIGHT) : new Vector(bounds.left + bounds.width - borderRightWidth / 2, bounds.top + bounds.height - borderBottomWidth / 2);\n      this.bottomLeftBorderStroke = blh > 0 || blv > 0 ? getCurvePoints(bounds.left + borderLeftWidth / 2, bounds.top + leftHeight, blh - borderLeftWidth / 2, blv - borderBottomWidth / 2, CORNER.BOTTOM_LEFT) : new Vector(bounds.left + borderLeftWidth / 2, bounds.top + bounds.height - borderBottomWidth / 2);\n      this.topLeftBorderBox = tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left, bounds.top, tlh, tlv, CORNER.TOP_LEFT) : new Vector(bounds.left, bounds.top);\n      this.topRightBorderBox = trh > 0 || trv > 0 ? getCurvePoints(bounds.left + topWidth, bounds.top, trh, trv, CORNER.TOP_RIGHT) : new Vector(bounds.left + bounds.width, bounds.top);\n      this.bottomRightBorderBox = brh > 0 || brv > 0 ? getCurvePoints(bounds.left + bottomWidth, bounds.top + rightHeight, brh, brv, CORNER.BOTTOM_RIGHT) : new Vector(bounds.left + bounds.width, bounds.top + bounds.height);\n      this.bottomLeftBorderBox = blh > 0 || blv > 0 ? getCurvePoints(bounds.left, bounds.top + leftHeight, blh, blv, CORNER.BOTTOM_LEFT) : new Vector(bounds.left, bounds.top + bounds.height);\n      this.topLeftPaddingBox = tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + borderLeftWidth, bounds.top + borderTopWidth, Math.max(0, tlh - borderLeftWidth), Math.max(0, tlv - borderTopWidth), CORNER.TOP_LEFT) : new Vector(bounds.left + borderLeftWidth, bounds.top + borderTopWidth);\n      this.topRightPaddingBox = trh > 0 || trv > 0 ? getCurvePoints(bounds.left + Math.min(topWidth, bounds.width - borderRightWidth), bounds.top + borderTopWidth, topWidth > bounds.width + borderRightWidth ? 0 : Math.max(0, trh - borderRightWidth), Math.max(0, trv - borderTopWidth), CORNER.TOP_RIGHT) : new Vector(bounds.left + bounds.width - borderRightWidth, bounds.top + borderTopWidth);\n      this.bottomRightPaddingBox = brh > 0 || brv > 0 ? getCurvePoints(bounds.left + Math.min(bottomWidth, bounds.width - borderLeftWidth), bounds.top + Math.min(rightHeight, bounds.height - borderBottomWidth), Math.max(0, brh - borderRightWidth), Math.max(0, brv - borderBottomWidth), CORNER.BOTTOM_RIGHT) : new Vector(bounds.left + bounds.width - borderRightWidth, bounds.top + bounds.height - borderBottomWidth);\n      this.bottomLeftPaddingBox = blh > 0 || blv > 0 ? getCurvePoints(bounds.left + borderLeftWidth, bounds.top + Math.min(leftHeight, bounds.height - borderBottomWidth), Math.max(0, blh - borderLeftWidth), Math.max(0, blv - borderBottomWidth), CORNER.BOTTOM_LEFT) : new Vector(bounds.left + borderLeftWidth, bounds.top + bounds.height - borderBottomWidth);\n      this.topLeftContentBox = tlh > 0 || tlv > 0 ? getCurvePoints(bounds.left + borderLeftWidth + paddingLeft, bounds.top + borderTopWidth + paddingTop, Math.max(0, tlh - (borderLeftWidth + paddingLeft)), Math.max(0, tlv - (borderTopWidth + paddingTop)), CORNER.TOP_LEFT) : new Vector(bounds.left + borderLeftWidth + paddingLeft, bounds.top + borderTopWidth + paddingTop);\n      this.topRightContentBox = trh > 0 || trv > 0 ? getCurvePoints(bounds.left + Math.min(topWidth, bounds.width + borderLeftWidth + paddingLeft), bounds.top + borderTopWidth + paddingTop, topWidth > bounds.width + borderLeftWidth + paddingLeft ? 0 : trh - borderLeftWidth + paddingLeft, trv - (borderTopWidth + paddingTop), CORNER.TOP_RIGHT) : new Vector(bounds.left + bounds.width - (borderRightWidth + paddingRight), bounds.top + borderTopWidth + paddingTop);\n      this.bottomRightContentBox = brh > 0 || brv > 0 ? getCurvePoints(bounds.left + Math.min(bottomWidth, bounds.width - (borderLeftWidth + paddingLeft)), bounds.top + Math.min(rightHeight, bounds.height + borderTopWidth + paddingTop), Math.max(0, brh - (borderRightWidth + paddingRight)), brv - (borderBottomWidth + paddingBottom), CORNER.BOTTOM_RIGHT) : new Vector(bounds.left + bounds.width - (borderRightWidth + paddingRight), bounds.top + bounds.height - (borderBottomWidth + paddingBottom));\n      this.bottomLeftContentBox = blh > 0 || blv > 0 ? getCurvePoints(bounds.left + borderLeftWidth + paddingLeft, bounds.top + leftHeight, Math.max(0, blh - (borderLeftWidth + paddingLeft)), blv - (borderBottomWidth + paddingBottom), CORNER.BOTTOM_LEFT) : new Vector(bounds.left + borderLeftWidth + paddingLeft, bounds.top + bounds.height - (borderBottomWidth + paddingBottom));\n    }\n    return BoundCurves;\n  }();\n  var CORNER;\n  (function (CORNER) {\n    CORNER[CORNER[\"TOP_LEFT\"] = 0] = \"TOP_LEFT\";\n    CORNER[CORNER[\"TOP_RIGHT\"] = 1] = \"TOP_RIGHT\";\n    CORNER[CORNER[\"BOTTOM_RIGHT\"] = 2] = \"BOTTOM_RIGHT\";\n    CORNER[CORNER[\"BOTTOM_LEFT\"] = 3] = \"BOTTOM_LEFT\";\n  })(CORNER || (CORNER = {}));\n  var getCurvePoints = function getCurvePoints(x, y, r1, r2, position) {\n    var kappa = 4 * ((Math.sqrt(2) - 1) / 3);\n    var ox = r1 * kappa; // control point offset horizontal\n    var oy = r2 * kappa; // control point offset vertical\n    var xm = x + r1; // x-middle\n    var ym = y + r2; // y-middle\n    switch (position) {\n      case CORNER.TOP_LEFT:\n        return new BezierCurve(new Vector(x, ym), new Vector(x, ym - oy), new Vector(xm - ox, y), new Vector(xm, y));\n      case CORNER.TOP_RIGHT:\n        return new BezierCurve(new Vector(x, y), new Vector(x + ox, y), new Vector(xm, ym - oy), new Vector(xm, ym));\n      case CORNER.BOTTOM_RIGHT:\n        return new BezierCurve(new Vector(xm, y), new Vector(xm, y + oy), new Vector(x + ox, ym), new Vector(x, ym));\n      case CORNER.BOTTOM_LEFT:\n      default:\n        return new BezierCurve(new Vector(xm, ym), new Vector(xm - ox, ym), new Vector(x, y + oy), new Vector(x, y));\n    }\n  };\n  var calculateBorderBoxPath = function calculateBorderBoxPath(curves) {\n    return [curves.topLeftBorderBox, curves.topRightBorderBox, curves.bottomRightBorderBox, curves.bottomLeftBorderBox];\n  };\n  var calculateContentBoxPath = function calculateContentBoxPath(curves) {\n    return [curves.topLeftContentBox, curves.topRightContentBox, curves.bottomRightContentBox, curves.bottomLeftContentBox];\n  };\n  var calculatePaddingBoxPath = function calculatePaddingBoxPath(curves) {\n    return [curves.topLeftPaddingBox, curves.topRightPaddingBox, curves.bottomRightPaddingBox, curves.bottomLeftPaddingBox];\n  };\n  var TransformEffect = /** @class */function () {\n    function TransformEffect(offsetX, offsetY, matrix) {\n      this.offsetX = offsetX;\n      this.offsetY = offsetY;\n      this.matrix = matrix;\n      this.type = 0 /* TRANSFORM */;\n      this.target = 2 /* BACKGROUND_BORDERS */ | 4 /* CONTENT */;\n    }\n\n    return TransformEffect;\n  }();\n  var ClipEffect = /** @class */function () {\n    function ClipEffect(path, target) {\n      this.path = path;\n      this.target = target;\n      this.type = 1 /* CLIP */;\n    }\n\n    return ClipEffect;\n  }();\n  var OpacityEffect = /** @class */function () {\n    function OpacityEffect(opacity) {\n      this.opacity = opacity;\n      this.type = 2 /* OPACITY */;\n      this.target = 2 /* BACKGROUND_BORDERS */ | 4 /* CONTENT */;\n    }\n\n    return OpacityEffect;\n  }();\n  var isTransformEffect = function isTransformEffect(effect) {\n    return effect.type === 0 /* TRANSFORM */;\n  };\n\n  var isClipEffect = function isClipEffect(effect) {\n    return effect.type === 1 /* CLIP */;\n  };\n  var isOpacityEffect = function isOpacityEffect(effect) {\n    return effect.type === 2 /* OPACITY */;\n  };\n\n  var equalPath = function equalPath(a, b) {\n    if (a.length === b.length) {\n      return a.some(function (v, i) {\n        return v === b[i];\n      });\n    }\n    return false;\n  };\n  var transformPath = function transformPath(path, deltaX, deltaY, deltaW, deltaH) {\n    return path.map(function (point, index) {\n      switch (index) {\n        case 0:\n          return point.add(deltaX, deltaY);\n        case 1:\n          return point.add(deltaX + deltaW, deltaY);\n        case 2:\n          return point.add(deltaX + deltaW, deltaY + deltaH);\n        case 3:\n          return point.add(deltaX, deltaY + deltaH);\n      }\n      return point;\n    });\n  };\n  var StackingContext = /** @class */function () {\n    function StackingContext(container) {\n      this.element = container;\n      this.inlineLevel = [];\n      this.nonInlineLevel = [];\n      this.negativeZIndex = [];\n      this.zeroOrAutoZIndexOrTransformedOrOpacity = [];\n      this.positiveZIndex = [];\n      this.nonPositionedFloats = [];\n      this.nonPositionedInlineLevel = [];\n    }\n    return StackingContext;\n  }();\n  var ElementPaint = /** @class */function () {\n    function ElementPaint(container, parent) {\n      this.container = container;\n      this.parent = parent;\n      this.effects = [];\n      this.curves = new BoundCurves(this.container);\n      if (this.container.styles.opacity < 1) {\n        this.effects.push(new OpacityEffect(this.container.styles.opacity));\n      }\n      if (this.container.styles.transform !== null) {\n        var offsetX = this.container.bounds.left + this.container.styles.transformOrigin[0].number;\n        var offsetY = this.container.bounds.top + this.container.styles.transformOrigin[1].number;\n        var matrix = this.container.styles.transform;\n        this.effects.push(new TransformEffect(offsetX, offsetY, matrix));\n      }\n      if (this.container.styles.overflowX !== 0 /* VISIBLE */) {\n        var borderBox = calculateBorderBoxPath(this.curves);\n        var paddingBox = calculatePaddingBoxPath(this.curves);\n        if (equalPath(borderBox, paddingBox)) {\n          this.effects.push(new ClipEffect(borderBox, 2 /* BACKGROUND_BORDERS */ | 4 /* CONTENT */));\n        } else {\n          this.effects.push(new ClipEffect(borderBox, 2 /* BACKGROUND_BORDERS */));\n          this.effects.push(new ClipEffect(paddingBox, 4 /* CONTENT */));\n        }\n      }\n    }\n\n    ElementPaint.prototype.getEffects = function (target) {\n      var inFlow = [2 /* ABSOLUTE */, 3 /* FIXED */].indexOf(this.container.styles.position) === -1;\n      var parent = this.parent;\n      var effects = this.effects.slice(0);\n      while (parent) {\n        var croplessEffects = parent.effects.filter(function (effect) {\n          return !isClipEffect(effect);\n        });\n        if (inFlow || parent.container.styles.position !== 0 /* STATIC */ || !parent.parent) {\n          effects.unshift.apply(effects, croplessEffects);\n          inFlow = [2 /* ABSOLUTE */, 3 /* FIXED */].indexOf(parent.container.styles.position) === -1;\n          if (parent.container.styles.overflowX !== 0 /* VISIBLE */) {\n            var borderBox = calculateBorderBoxPath(parent.curves);\n            var paddingBox = calculatePaddingBoxPath(parent.curves);\n            if (!equalPath(borderBox, paddingBox)) {\n              effects.unshift(new ClipEffect(paddingBox, 2 /* BACKGROUND_BORDERS */ | 4 /* CONTENT */));\n            }\n          }\n        } else {\n          effects.unshift.apply(effects, croplessEffects);\n        }\n        parent = parent.parent;\n      }\n      return effects.filter(function (effect) {\n        return contains(effect.target, target);\n      });\n    };\n    return ElementPaint;\n  }();\n  var parseStackTree = function parseStackTree(parent, stackingContext, realStackingContext, listItems) {\n    parent.container.elements.forEach(function (child) {\n      var treatAsRealStackingContext = contains(child.flags, 4 /* CREATES_REAL_STACKING_CONTEXT */);\n      var createsStackingContext = contains(child.flags, 2 /* CREATES_STACKING_CONTEXT */);\n      var paintContainer = new ElementPaint(child, parent);\n      if (contains(child.styles.display, 2048 /* LIST_ITEM */)) {\n        listItems.push(paintContainer);\n      }\n      var listOwnerItems = contains(child.flags, 8 /* IS_LIST_OWNER */) ? [] : listItems;\n      if (treatAsRealStackingContext || createsStackingContext) {\n        var parentStack = treatAsRealStackingContext || child.styles.isPositioned() ? realStackingContext : stackingContext;\n        var stack = new StackingContext(paintContainer);\n        if (child.styles.isPositioned() || child.styles.opacity < 1 || child.styles.isTransformed()) {\n          var order_1 = child.styles.zIndex.order;\n          if (order_1 < 0) {\n            var index_1 = 0;\n            parentStack.negativeZIndex.some(function (current, i) {\n              if (order_1 > current.element.container.styles.zIndex.order) {\n                index_1 = i;\n                return false;\n              } else if (index_1 > 0) {\n                return true;\n              }\n              return false;\n            });\n            parentStack.negativeZIndex.splice(index_1, 0, stack);\n          } else if (order_1 > 0) {\n            var index_2 = 0;\n            parentStack.positiveZIndex.some(function (current, i) {\n              if (order_1 >= current.element.container.styles.zIndex.order) {\n                index_2 = i + 1;\n                return false;\n              } else if (index_2 > 0) {\n                return true;\n              }\n              return false;\n            });\n            parentStack.positiveZIndex.splice(index_2, 0, stack);\n          } else {\n            parentStack.zeroOrAutoZIndexOrTransformedOrOpacity.push(stack);\n          }\n        } else {\n          if (child.styles.isFloating()) {\n            parentStack.nonPositionedFloats.push(stack);\n          } else {\n            parentStack.nonPositionedInlineLevel.push(stack);\n          }\n        }\n        parseStackTree(paintContainer, stack, treatAsRealStackingContext ? stack : realStackingContext, listOwnerItems);\n      } else {\n        if (child.styles.isInlineLevel()) {\n          stackingContext.inlineLevel.push(paintContainer);\n        } else {\n          stackingContext.nonInlineLevel.push(paintContainer);\n        }\n        parseStackTree(paintContainer, stackingContext, realStackingContext, listOwnerItems);\n      }\n      if (contains(child.flags, 8 /* IS_LIST_OWNER */)) {\n        processListItems(child, listOwnerItems);\n      }\n    });\n  };\n  var processListItems = function processListItems(owner, elements) {\n    var numbering = owner instanceof OLElementContainer ? owner.start : 1;\n    var reversed = owner instanceof OLElementContainer ? owner.reversed : false;\n    for (var i = 0; i < elements.length; i++) {\n      var item = elements[i];\n      if (item.container instanceof LIElementContainer && typeof item.container.value === 'number' && item.container.value !== 0) {\n        numbering = item.container.value;\n      }\n      item.listValue = createCounterText(numbering, item.container.styles.listStyleType, true);\n      numbering += reversed ? -1 : 1;\n    }\n  };\n  var parseStackingContexts = function parseStackingContexts(container) {\n    var paintContainer = new ElementPaint(container, null);\n    var root = new StackingContext(paintContainer);\n    var listItems = [];\n    parseStackTree(paintContainer, root, root, listItems);\n    processListItems(paintContainer.container, listItems);\n    return root;\n  };\n  var parsePathForBorder = function parsePathForBorder(curves, borderSide) {\n    switch (borderSide) {\n      case 0:\n        return createPathFromCurves(curves.topLeftBorderBox, curves.topLeftPaddingBox, curves.topRightBorderBox, curves.topRightPaddingBox);\n      case 1:\n        return createPathFromCurves(curves.topRightBorderBox, curves.topRightPaddingBox, curves.bottomRightBorderBox, curves.bottomRightPaddingBox);\n      case 2:\n        return createPathFromCurves(curves.bottomRightBorderBox, curves.bottomRightPaddingBox, curves.bottomLeftBorderBox, curves.bottomLeftPaddingBox);\n      case 3:\n      default:\n        return createPathFromCurves(curves.bottomLeftBorderBox, curves.bottomLeftPaddingBox, curves.topLeftBorderBox, curves.topLeftPaddingBox);\n    }\n  };\n  var parsePathForBorderDoubleOuter = function parsePathForBorderDoubleOuter(curves, borderSide) {\n    switch (borderSide) {\n      case 0:\n        return createPathFromCurves(curves.topLeftBorderBox, curves.topLeftBorderDoubleOuterBox, curves.topRightBorderBox, curves.topRightBorderDoubleOuterBox);\n      case 1:\n        return createPathFromCurves(curves.topRightBorderBox, curves.topRightBorderDoubleOuterBox, curves.bottomRightBorderBox, curves.bottomRightBorderDoubleOuterBox);\n      case 2:\n        return createPathFromCurves(curves.bottomRightBorderBox, curves.bottomRightBorderDoubleOuterBox, curves.bottomLeftBorderBox, curves.bottomLeftBorderDoubleOuterBox);\n      case 3:\n      default:\n        return createPathFromCurves(curves.bottomLeftBorderBox, curves.bottomLeftBorderDoubleOuterBox, curves.topLeftBorderBox, curves.topLeftBorderDoubleOuterBox);\n    }\n  };\n  var parsePathForBorderDoubleInner = function parsePathForBorderDoubleInner(curves, borderSide) {\n    switch (borderSide) {\n      case 0:\n        return createPathFromCurves(curves.topLeftBorderDoubleInnerBox, curves.topLeftPaddingBox, curves.topRightBorderDoubleInnerBox, curves.topRightPaddingBox);\n      case 1:\n        return createPathFromCurves(curves.topRightBorderDoubleInnerBox, curves.topRightPaddingBox, curves.bottomRightBorderDoubleInnerBox, curves.bottomRightPaddingBox);\n      case 2:\n        return createPathFromCurves(curves.bottomRightBorderDoubleInnerBox, curves.bottomRightPaddingBox, curves.bottomLeftBorderDoubleInnerBox, curves.bottomLeftPaddingBox);\n      case 3:\n      default:\n        return createPathFromCurves(curves.bottomLeftBorderDoubleInnerBox, curves.bottomLeftPaddingBox, curves.topLeftBorderDoubleInnerBox, curves.topLeftPaddingBox);\n    }\n  };\n  var parsePathForBorderStroke = function parsePathForBorderStroke(curves, borderSide) {\n    switch (borderSide) {\n      case 0:\n        return createStrokePathFromCurves(curves.topLeftBorderStroke, curves.topRightBorderStroke);\n      case 1:\n        return createStrokePathFromCurves(curves.topRightBorderStroke, curves.bottomRightBorderStroke);\n      case 2:\n        return createStrokePathFromCurves(curves.bottomRightBorderStroke, curves.bottomLeftBorderStroke);\n      case 3:\n      default:\n        return createStrokePathFromCurves(curves.bottomLeftBorderStroke, curves.topLeftBorderStroke);\n    }\n  };\n  var createStrokePathFromCurves = function createStrokePathFromCurves(outer1, outer2) {\n    var path = [];\n    if (isBezierCurve(outer1)) {\n      path.push(outer1.subdivide(0.5, false));\n    } else {\n      path.push(outer1);\n    }\n    if (isBezierCurve(outer2)) {\n      path.push(outer2.subdivide(0.5, true));\n    } else {\n      path.push(outer2);\n    }\n    return path;\n  };\n  var createPathFromCurves = function createPathFromCurves(outer1, inner1, outer2, inner2) {\n    var path = [];\n    if (isBezierCurve(outer1)) {\n      path.push(outer1.subdivide(0.5, false));\n    } else {\n      path.push(outer1);\n    }\n    if (isBezierCurve(outer2)) {\n      path.push(outer2.subdivide(0.5, true));\n    } else {\n      path.push(outer2);\n    }\n    if (isBezierCurve(inner2)) {\n      path.push(inner2.subdivide(0.5, true).reverse());\n    } else {\n      path.push(inner2);\n    }\n    if (isBezierCurve(inner1)) {\n      path.push(inner1.subdivide(0.5, false).reverse());\n    } else {\n      path.push(inner1);\n    }\n    return path;\n  };\n  var paddingBox = function paddingBox(element) {\n    var bounds = element.bounds;\n    var styles = element.styles;\n    return bounds.add(styles.borderLeftWidth, styles.borderTopWidth, -(styles.borderRightWidth + styles.borderLeftWidth), -(styles.borderTopWidth + styles.borderBottomWidth));\n  };\n  var contentBox = function contentBox(element) {\n    var styles = element.styles;\n    var bounds = element.bounds;\n    var paddingLeft = getAbsoluteValue(styles.paddingLeft, bounds.width);\n    var paddingRight = getAbsoluteValue(styles.paddingRight, bounds.width);\n    var paddingTop = getAbsoluteValue(styles.paddingTop, bounds.width);\n    var paddingBottom = getAbsoluteValue(styles.paddingBottom, bounds.width);\n    return bounds.add(paddingLeft + styles.borderLeftWidth, paddingTop + styles.borderTopWidth, -(styles.borderRightWidth + styles.borderLeftWidth + paddingLeft + paddingRight), -(styles.borderTopWidth + styles.borderBottomWidth + paddingTop + paddingBottom));\n  };\n  var calculateBackgroundPositioningArea = function calculateBackgroundPositioningArea(backgroundOrigin, element) {\n    if (backgroundOrigin === 0 /* BORDER_BOX */) {\n      return element.bounds;\n    }\n    if (backgroundOrigin === 2 /* CONTENT_BOX */) {\n      return contentBox(element);\n    }\n    return paddingBox(element);\n  };\n  var calculateBackgroundPaintingArea = function calculateBackgroundPaintingArea(backgroundClip, element) {\n    if (backgroundClip === 0 /* BORDER_BOX */) {\n      return element.bounds;\n    }\n    if (backgroundClip === 2 /* CONTENT_BOX */) {\n      return contentBox(element);\n    }\n    return paddingBox(element);\n  };\n  var calculateBackgroundRendering = function calculateBackgroundRendering(container, index, intrinsicSize) {\n    var backgroundPositioningArea = calculateBackgroundPositioningArea(getBackgroundValueForIndex(container.styles.backgroundOrigin, index), container);\n    var backgroundPaintingArea = calculateBackgroundPaintingArea(getBackgroundValueForIndex(container.styles.backgroundClip, index), container);\n    var backgroundImageSize = calculateBackgroundSize(getBackgroundValueForIndex(container.styles.backgroundSize, index), intrinsicSize, backgroundPositioningArea);\n    var sizeWidth = backgroundImageSize[0],\n      sizeHeight = backgroundImageSize[1];\n    var position = getAbsoluteValueForTuple(getBackgroundValueForIndex(container.styles.backgroundPosition, index), backgroundPositioningArea.width - sizeWidth, backgroundPositioningArea.height - sizeHeight);\n    var path = calculateBackgroundRepeatPath(getBackgroundValueForIndex(container.styles.backgroundRepeat, index), position, backgroundImageSize, backgroundPositioningArea, backgroundPaintingArea);\n    var offsetX = Math.round(backgroundPositioningArea.left + position[0]);\n    var offsetY = Math.round(backgroundPositioningArea.top + position[1]);\n    return [path, offsetX, offsetY, sizeWidth, sizeHeight];\n  };\n  var isAuto = function isAuto(token) {\n    return isIdentToken(token) && token.value === BACKGROUND_SIZE.AUTO;\n  };\n  var hasIntrinsicValue = function hasIntrinsicValue(value) {\n    return typeof value === 'number';\n  };\n  var calculateBackgroundSize = function calculateBackgroundSize(size, _a, bounds) {\n    var intrinsicWidth = _a[0],\n      intrinsicHeight = _a[1],\n      intrinsicProportion = _a[2];\n    var first = size[0],\n      second = size[1];\n    if (!first) {\n      return [0, 0];\n    }\n    if (isLengthPercentage(first) && second && isLengthPercentage(second)) {\n      return [getAbsoluteValue(first, bounds.width), getAbsoluteValue(second, bounds.height)];\n    }\n    var hasIntrinsicProportion = hasIntrinsicValue(intrinsicProportion);\n    if (isIdentToken(first) && (first.value === BACKGROUND_SIZE.CONTAIN || first.value === BACKGROUND_SIZE.COVER)) {\n      if (hasIntrinsicValue(intrinsicProportion)) {\n        var targetRatio = bounds.width / bounds.height;\n        return targetRatio < intrinsicProportion !== (first.value === BACKGROUND_SIZE.COVER) ? [bounds.width, bounds.width / intrinsicProportion] : [bounds.height * intrinsicProportion, bounds.height];\n      }\n      return [bounds.width, bounds.height];\n    }\n    var hasIntrinsicWidth = hasIntrinsicValue(intrinsicWidth);\n    var hasIntrinsicHeight = hasIntrinsicValue(intrinsicHeight);\n    var hasIntrinsicDimensions = hasIntrinsicWidth || hasIntrinsicHeight;\n    // If the background-size is auto or auto auto:\n    if (isAuto(first) && (!second || isAuto(second))) {\n      // If the image has both horizontal and vertical intrinsic dimensions, it's rendered at that size.\n      if (hasIntrinsicWidth && hasIntrinsicHeight) {\n        return [intrinsicWidth, intrinsicHeight];\n      }\n      // If the image has no intrinsic dimensions and has no intrinsic proportions,\n      // it's rendered at the size of the background positioning area.\n      if (!hasIntrinsicProportion && !hasIntrinsicDimensions) {\n        return [bounds.width, bounds.height];\n      }\n      // TODO If the image has no intrinsic dimensions but has intrinsic proportions, it's rendered as if contain had been specified instead.\n      // If the image has only one intrinsic dimension and has intrinsic proportions, it's rendered at the size corresponding to that one dimension.\n      // The other dimension is computed using the specified dimension and the intrinsic proportions.\n      if (hasIntrinsicDimensions && hasIntrinsicProportion) {\n        var width_1 = hasIntrinsicWidth ? intrinsicWidth : intrinsicHeight * intrinsicProportion;\n        var height_1 = hasIntrinsicHeight ? intrinsicHeight : intrinsicWidth / intrinsicProportion;\n        return [width_1, height_1];\n      }\n      // If the image has only one intrinsic dimension but has no intrinsic proportions,\n      // it's rendered using the specified dimension and the other dimension of the background positioning area.\n      var width_2 = hasIntrinsicWidth ? intrinsicWidth : bounds.width;\n      var height_2 = hasIntrinsicHeight ? intrinsicHeight : bounds.height;\n      return [width_2, height_2];\n    }\n    // If the image has intrinsic proportions, it's stretched to the specified dimension.\n    // The unspecified dimension is computed using the specified dimension and the intrinsic proportions.\n    if (hasIntrinsicProportion) {\n      var width_3 = 0;\n      var height_3 = 0;\n      if (isLengthPercentage(first)) {\n        width_3 = getAbsoluteValue(first, bounds.width);\n      } else if (isLengthPercentage(second)) {\n        height_3 = getAbsoluteValue(second, bounds.height);\n      }\n      if (isAuto(first)) {\n        width_3 = height_3 * intrinsicProportion;\n      } else if (!second || isAuto(second)) {\n        height_3 = width_3 / intrinsicProportion;\n      }\n      return [width_3, height_3];\n    }\n    // If the image has no intrinsic proportions, it's stretched to the specified dimension.\n    // The unspecified dimension is computed using the image's corresponding intrinsic dimension,\n    // if there is one. If there is no such intrinsic dimension,\n    // it becomes the corresponding dimension of the background positioning area.\n    var width = null;\n    var height = null;\n    if (isLengthPercentage(first)) {\n      width = getAbsoluteValue(first, bounds.width);\n    } else if (second && isLengthPercentage(second)) {\n      height = getAbsoluteValue(second, bounds.height);\n    }\n    if (width !== null && (!second || isAuto(second))) {\n      height = hasIntrinsicWidth && hasIntrinsicHeight ? width / intrinsicWidth * intrinsicHeight : bounds.height;\n    }\n    if (height !== null && isAuto(first)) {\n      width = hasIntrinsicWidth && hasIntrinsicHeight ? height / intrinsicHeight * intrinsicWidth : bounds.width;\n    }\n    if (width !== null && height !== null) {\n      return [width, height];\n    }\n    throw new Error(\"Unable to calculate background-size for element\");\n  };\n  var getBackgroundValueForIndex = function getBackgroundValueForIndex(values, index) {\n    var value = values[index];\n    if (typeof value === 'undefined') {\n      return values[0];\n    }\n    return value;\n  };\n  var calculateBackgroundRepeatPath = function calculateBackgroundRepeatPath(repeat, _a, _b, backgroundPositioningArea, backgroundPaintingArea) {\n    var x = _a[0],\n      y = _a[1];\n    var width = _b[0],\n      height = _b[1];\n    switch (repeat) {\n      case 2 /* REPEAT_X */:\n        return [new Vector(Math.round(backgroundPositioningArea.left), Math.round(backgroundPositioningArea.top + y)), new Vector(Math.round(backgroundPositioningArea.left + backgroundPositioningArea.width), Math.round(backgroundPositioningArea.top + y)), new Vector(Math.round(backgroundPositioningArea.left + backgroundPositioningArea.width), Math.round(height + backgroundPositioningArea.top + y)), new Vector(Math.round(backgroundPositioningArea.left), Math.round(height + backgroundPositioningArea.top + y))];\n      case 3 /* REPEAT_Y */:\n        return [new Vector(Math.round(backgroundPositioningArea.left + x), Math.round(backgroundPositioningArea.top)), new Vector(Math.round(backgroundPositioningArea.left + x + width), Math.round(backgroundPositioningArea.top)), new Vector(Math.round(backgroundPositioningArea.left + x + width), Math.round(backgroundPositioningArea.height + backgroundPositioningArea.top)), new Vector(Math.round(backgroundPositioningArea.left + x), Math.round(backgroundPositioningArea.height + backgroundPositioningArea.top))];\n      case 1 /* NO_REPEAT */:\n        return [new Vector(Math.round(backgroundPositioningArea.left + x), Math.round(backgroundPositioningArea.top + y)), new Vector(Math.round(backgroundPositioningArea.left + x + width), Math.round(backgroundPositioningArea.top + y)), new Vector(Math.round(backgroundPositioningArea.left + x + width), Math.round(backgroundPositioningArea.top + y + height)), new Vector(Math.round(backgroundPositioningArea.left + x), Math.round(backgroundPositioningArea.top + y + height))];\n      default:\n        return [new Vector(Math.round(backgroundPaintingArea.left), Math.round(backgroundPaintingArea.top)), new Vector(Math.round(backgroundPaintingArea.left + backgroundPaintingArea.width), Math.round(backgroundPaintingArea.top)), new Vector(Math.round(backgroundPaintingArea.left + backgroundPaintingArea.width), Math.round(backgroundPaintingArea.height + backgroundPaintingArea.top)), new Vector(Math.round(backgroundPaintingArea.left), Math.round(backgroundPaintingArea.height + backgroundPaintingArea.top))];\n    }\n  };\n  var SMALL_IMAGE = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7';\n  var SAMPLE_TEXT = 'Hidden Text';\n  var FontMetrics = /** @class */function () {\n    function FontMetrics(document) {\n      this._data = {};\n      this._document = document;\n    }\n    FontMetrics.prototype.parseMetrics = function (fontFamily, fontSize) {\n      var container = this._document.createElement('div');\n      var img = this._document.createElement('img');\n      var span = this._document.createElement('span');\n      var body = this._document.body;\n      container.style.visibility = 'hidden';\n      container.style.fontFamily = fontFamily;\n      container.style.fontSize = fontSize;\n      container.style.margin = '0';\n      container.style.padding = '0';\n      container.style.whiteSpace = 'nowrap';\n      body.appendChild(container);\n      img.src = SMALL_IMAGE;\n      img.width = 1;\n      img.height = 1;\n      img.style.margin = '0';\n      img.style.padding = '0';\n      img.style.verticalAlign = 'baseline';\n      span.style.fontFamily = fontFamily;\n      span.style.fontSize = fontSize;\n      span.style.margin = '0';\n      span.style.padding = '0';\n      span.appendChild(this._document.createTextNode(SAMPLE_TEXT));\n      container.appendChild(span);\n      container.appendChild(img);\n      var baseline = img.offsetTop - span.offsetTop + 2;\n      container.removeChild(span);\n      container.appendChild(this._document.createTextNode(SAMPLE_TEXT));\n      container.style.lineHeight = 'normal';\n      img.style.verticalAlign = 'super';\n      var middle = img.offsetTop - container.offsetTop + 2;\n      body.removeChild(container);\n      return {\n        baseline: baseline,\n        middle: middle\n      };\n    };\n    FontMetrics.prototype.getMetrics = function (fontFamily, fontSize) {\n      var key = fontFamily + \" \" + fontSize;\n      if (typeof this._data[key] === 'undefined') {\n        this._data[key] = this.parseMetrics(fontFamily, fontSize);\n      }\n      return this._data[key];\n    };\n    return FontMetrics;\n  }();\n  var Renderer = /** @class */function () {\n    function Renderer(context, options) {\n      this.context = context;\n      this.options = options;\n    }\n    return Renderer;\n  }();\n  var MASK_OFFSET = 10000;\n  var CanvasRenderer = /** @class */function (_super) {\n    __extends(CanvasRenderer, _super);\n    function CanvasRenderer(context, options) {\n      var _this = _super.call(this, context, options) || this;\n      _this._activeEffects = [];\n      _this.canvas = options.canvas ? options.canvas : document.createElement('canvas');\n      _this.ctx = _this.canvas.getContext('2d');\n      if (!options.canvas) {\n        _this.canvas.width = Math.floor(options.width * options.scale);\n        _this.canvas.height = Math.floor(options.height * options.scale);\n        _this.canvas.style.width = options.width + \"px\";\n        _this.canvas.style.height = options.height + \"px\";\n      }\n      _this.fontMetrics = new FontMetrics(document);\n      _this.ctx.scale(_this.options.scale, _this.options.scale);\n      _this.ctx.translate(-options.x, -options.y);\n      _this.ctx.textBaseline = 'bottom';\n      _this._activeEffects = [];\n      _this.context.logger.debug(\"Canvas renderer initialized (\" + options.width + \"x\" + options.height + \") with scale \" + options.scale);\n      return _this;\n    }\n    CanvasRenderer.prototype.applyEffects = function (effects) {\n      var _this = this;\n      while (this._activeEffects.length) {\n        this.popEffect();\n      }\n      effects.forEach(function (effect) {\n        return _this.applyEffect(effect);\n      });\n    };\n    CanvasRenderer.prototype.applyEffect = function (effect) {\n      this.ctx.save();\n      if (isOpacityEffect(effect)) {\n        this.ctx.globalAlpha = effect.opacity;\n      }\n      if (isTransformEffect(effect)) {\n        this.ctx.translate(effect.offsetX, effect.offsetY);\n        this.ctx.transform(effect.matrix[0], effect.matrix[1], effect.matrix[2], effect.matrix[3], effect.matrix[4], effect.matrix[5]);\n        this.ctx.translate(-effect.offsetX, -effect.offsetY);\n      }\n      if (isClipEffect(effect)) {\n        this.path(effect.path);\n        this.ctx.clip();\n      }\n      this._activeEffects.push(effect);\n    };\n    CanvasRenderer.prototype.popEffect = function () {\n      this._activeEffects.pop();\n      this.ctx.restore();\n    };\n    CanvasRenderer.prototype.renderStack = function (stack) {\n      return __awaiter(this, void 0, void 0, function () {\n        var styles;\n        return __generator(this, function (_a) {\n          switch (_a.label) {\n            case 0:\n              styles = stack.element.container.styles;\n              if (!styles.isVisible()) return [3 /*break*/, 2];\n              return [4 /*yield*/, this.renderStackContent(stack)];\n            case 1:\n              _a.sent();\n              _a.label = 2;\n            case 2:\n              return [2 /*return*/];\n          }\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.renderNode = function (paint) {\n      return __awaiter(this, void 0, void 0, function () {\n        return __generator(this, function (_a) {\n          switch (_a.label) {\n            case 0:\n              if (contains(paint.container.flags, 16 /* DEBUG_RENDER */)) {\n                debugger;\n              }\n              if (!paint.container.styles.isVisible()) return [3 /*break*/, 3];\n              return [4 /*yield*/, this.renderNodeBackgroundAndBorders(paint)];\n            case 1:\n              _a.sent();\n              return [4 /*yield*/, this.renderNodeContent(paint)];\n            case 2:\n              _a.sent();\n              _a.label = 3;\n            case 3:\n              return [2 /*return*/];\n          }\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.renderTextWithLetterSpacing = function (text, letterSpacing, baseline) {\n      var _this = this;\n      if (letterSpacing === 0) {\n        this.ctx.fillText(text.text, text.bounds.left, text.bounds.top + baseline);\n      } else {\n        var letters = segmentGraphemes(text.text);\n        letters.reduce(function (left, letter) {\n          _this.ctx.fillText(letter, left, text.bounds.top + baseline);\n          return left + _this.ctx.measureText(letter).width;\n        }, text.bounds.left);\n      }\n    };\n    CanvasRenderer.prototype.createFontStyle = function (styles) {\n      var fontVariant = styles.fontVariant.filter(function (variant) {\n        return variant === 'normal' || variant === 'small-caps';\n      }).join('');\n      var fontFamily = fixIOSSystemFonts(styles.fontFamily).join(', ');\n      var fontSize = isDimensionToken(styles.fontSize) ? \"\" + styles.fontSize.number + styles.fontSize.unit : styles.fontSize.number + \"px\";\n      return [[styles.fontStyle, fontVariant, styles.fontWeight, fontSize, fontFamily].join(' '), fontFamily, fontSize];\n    };\n    CanvasRenderer.prototype.renderTextNode = function (text, styles) {\n      return __awaiter(this, void 0, void 0, function () {\n        var _a, font, fontFamily, fontSize, _b, baseline, middle, paintOrder;\n        var _this = this;\n        return __generator(this, function (_c) {\n          _a = this.createFontStyle(styles), font = _a[0], fontFamily = _a[1], fontSize = _a[2];\n          this.ctx.font = font;\n          this.ctx.direction = styles.direction === 1 /* RTL */ ? 'rtl' : 'ltr';\n          this.ctx.textAlign = 'left';\n          this.ctx.textBaseline = 'alphabetic';\n          _b = this.fontMetrics.getMetrics(fontFamily, fontSize), baseline = _b.baseline, middle = _b.middle;\n          paintOrder = styles.paintOrder;\n          text.textBounds.forEach(function (text) {\n            paintOrder.forEach(function (paintOrderLayer) {\n              switch (paintOrderLayer) {\n                case 0 /* FILL */:\n                  _this.ctx.fillStyle = asString(styles.color);\n                  _this.renderTextWithLetterSpacing(text, styles.letterSpacing, baseline);\n                  var textShadows = styles.textShadow;\n                  if (textShadows.length && text.text.trim().length) {\n                    textShadows.slice(0).reverse().forEach(function (textShadow) {\n                      _this.ctx.shadowColor = asString(textShadow.color);\n                      _this.ctx.shadowOffsetX = textShadow.offsetX.number * _this.options.scale;\n                      _this.ctx.shadowOffsetY = textShadow.offsetY.number * _this.options.scale;\n                      _this.ctx.shadowBlur = textShadow.blur.number;\n                      _this.renderTextWithLetterSpacing(text, styles.letterSpacing, baseline);\n                    });\n                    _this.ctx.shadowColor = '';\n                    _this.ctx.shadowOffsetX = 0;\n                    _this.ctx.shadowOffsetY = 0;\n                    _this.ctx.shadowBlur = 0;\n                  }\n                  if (styles.textDecorationLine.length) {\n                    _this.ctx.fillStyle = asString(styles.textDecorationColor || styles.color);\n                    styles.textDecorationLine.forEach(function (textDecorationLine) {\n                      switch (textDecorationLine) {\n                        case 1 /* UNDERLINE */:\n                          // Draws a line at the baseline of the font\n                          // TODO As some browsers display the line as more than 1px if the font-size is big,\n                          // need to take that into account both in position and size\n                          _this.ctx.fillRect(text.bounds.left, Math.round(text.bounds.top + baseline), text.bounds.width, 1);\n                          break;\n                        case 2 /* OVERLINE */:\n                          _this.ctx.fillRect(text.bounds.left, Math.round(text.bounds.top), text.bounds.width, 1);\n                          break;\n                        case 3 /* LINE_THROUGH */:\n                          // TODO try and find exact position for line-through\n                          _this.ctx.fillRect(text.bounds.left, Math.ceil(text.bounds.top + middle), text.bounds.width, 1);\n                          break;\n                      }\n                    });\n                  }\n                  break;\n                case 1 /* STROKE */:\n                  if (styles.webkitTextStrokeWidth && text.text.trim().length) {\n                    _this.ctx.strokeStyle = asString(styles.webkitTextStrokeColor);\n                    _this.ctx.lineWidth = styles.webkitTextStrokeWidth;\n                    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n                    _this.ctx.lineJoin = !!window.chrome ? 'miter' : 'round';\n                    _this.ctx.strokeText(text.text, text.bounds.left, text.bounds.top + baseline);\n                  }\n                  _this.ctx.strokeStyle = '';\n                  _this.ctx.lineWidth = 0;\n                  _this.ctx.lineJoin = 'miter';\n                  break;\n              }\n            });\n          });\n          return [2 /*return*/];\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.renderReplacedElement = function (container, curves, image) {\n      if (image && container.intrinsicWidth > 0 && container.intrinsicHeight > 0) {\n        var box = contentBox(container);\n        var path = calculatePaddingBoxPath(curves);\n        this.path(path);\n        this.ctx.save();\n        this.ctx.clip();\n        this.ctx.drawImage(image, 0, 0, container.intrinsicWidth, container.intrinsicHeight, box.left, box.top, box.width, box.height);\n        this.ctx.restore();\n      }\n    };\n    CanvasRenderer.prototype.renderNodeContent = function (paint) {\n      return __awaiter(this, void 0, void 0, function () {\n        var container, curves, styles, _i, _a, child, image, image, iframeRenderer, canvas, size, _b, fontFamily, fontSize, baseline, bounds, x, textBounds, img, image, url, fontFamily, bounds;\n        return __generator(this, function (_c) {\n          switch (_c.label) {\n            case 0:\n              this.applyEffects(paint.getEffects(4 /* CONTENT */));\n              container = paint.container;\n              curves = paint.curves;\n              styles = container.styles;\n              _i = 0, _a = container.textNodes;\n              _c.label = 1;\n            case 1:\n              if (!(_i < _a.length)) return [3 /*break*/, 4];\n              child = _a[_i];\n              return [4 /*yield*/, this.renderTextNode(child, styles)];\n            case 2:\n              _c.sent();\n              _c.label = 3;\n            case 3:\n              _i++;\n              return [3 /*break*/, 1];\n            case 4:\n              if (!(container instanceof ImageElementContainer)) return [3 /*break*/, 8];\n              _c.label = 5;\n            case 5:\n              _c.trys.push([5, 7,, 8]);\n              return [4 /*yield*/, this.context.cache.match(container.src)];\n            case 6:\n              image = _c.sent();\n              this.renderReplacedElement(container, curves, image);\n              return [3 /*break*/, 8];\n            case 7:\n              _c.sent();\n              this.context.logger.error(\"Error loading image \" + container.src);\n              return [3 /*break*/, 8];\n            case 8:\n              if (container instanceof CanvasElementContainer) {\n                this.renderReplacedElement(container, curves, container.canvas);\n              }\n              if (!(container instanceof SVGElementContainer)) return [3 /*break*/, 12];\n              _c.label = 9;\n            case 9:\n              _c.trys.push([9, 11,, 12]);\n              return [4 /*yield*/, this.context.cache.match(container.svg)];\n            case 10:\n              image = _c.sent();\n              this.renderReplacedElement(container, curves, image);\n              return [3 /*break*/, 12];\n            case 11:\n              _c.sent();\n              this.context.logger.error(\"Error loading svg \" + container.svg.substring(0, 255));\n              return [3 /*break*/, 12];\n            case 12:\n              if (!(container instanceof IFrameElementContainer && container.tree)) return [3 /*break*/, 14];\n              iframeRenderer = new CanvasRenderer(this.context, {\n                scale: this.options.scale,\n                backgroundColor: container.backgroundColor,\n                x: 0,\n                y: 0,\n                width: container.width,\n                height: container.height\n              });\n              return [4 /*yield*/, iframeRenderer.render(container.tree)];\n            case 13:\n              canvas = _c.sent();\n              if (container.width && container.height) {\n                this.ctx.drawImage(canvas, 0, 0, container.width, container.height, container.bounds.left, container.bounds.top, container.bounds.width, container.bounds.height);\n              }\n              _c.label = 14;\n            case 14:\n              if (container instanceof InputElementContainer) {\n                size = Math.min(container.bounds.width, container.bounds.height);\n                if (container.type === CHECKBOX) {\n                  if (container.checked) {\n                    this.ctx.save();\n                    this.path([new Vector(container.bounds.left + size * 0.39363, container.bounds.top + size * 0.79), new Vector(container.bounds.left + size * 0.16, container.bounds.top + size * 0.5549), new Vector(container.bounds.left + size * 0.27347, container.bounds.top + size * 0.44071), new Vector(container.bounds.left + size * 0.39694, container.bounds.top + size * 0.5649), new Vector(container.bounds.left + size * 0.72983, container.bounds.top + size * 0.23), new Vector(container.bounds.left + size * 0.84, container.bounds.top + size * 0.34085), new Vector(container.bounds.left + size * 0.39363, container.bounds.top + size * 0.79)]);\n                    this.ctx.fillStyle = asString(INPUT_COLOR);\n                    this.ctx.fill();\n                    this.ctx.restore();\n                  }\n                } else if (container.type === RADIO) {\n                  if (container.checked) {\n                    this.ctx.save();\n                    this.ctx.beginPath();\n                    this.ctx.arc(container.bounds.left + size / 2, container.bounds.top + size / 2, size / 4, 0, Math.PI * 2, true);\n                    this.ctx.fillStyle = asString(INPUT_COLOR);\n                    this.ctx.fill();\n                    this.ctx.restore();\n                  }\n                }\n              }\n              if (isTextInputElement(container) && container.value.length) {\n                _b = this.createFontStyle(styles), fontFamily = _b[0], fontSize = _b[1];\n                baseline = this.fontMetrics.getMetrics(fontFamily, fontSize).baseline;\n                this.ctx.font = fontFamily;\n                this.ctx.fillStyle = asString(styles.color);\n                this.ctx.textBaseline = 'alphabetic';\n                this.ctx.textAlign = canvasTextAlign(container.styles.textAlign);\n                bounds = contentBox(container);\n                x = 0;\n                switch (container.styles.textAlign) {\n                  case 1 /* CENTER */:\n                    x += bounds.width / 2;\n                    break;\n                  case 2 /* RIGHT */:\n                    x += bounds.width;\n                    break;\n                }\n                textBounds = bounds.add(x, 0, 0, -bounds.height / 2 + 1);\n                this.ctx.save();\n                this.path([new Vector(bounds.left, bounds.top), new Vector(bounds.left + bounds.width, bounds.top), new Vector(bounds.left + bounds.width, bounds.top + bounds.height), new Vector(bounds.left, bounds.top + bounds.height)]);\n                this.ctx.clip();\n                this.renderTextWithLetterSpacing(new TextBounds(container.value, textBounds), styles.letterSpacing, baseline);\n                this.ctx.restore();\n                this.ctx.textBaseline = 'alphabetic';\n                this.ctx.textAlign = 'left';\n              }\n              if (!contains(container.styles.display, 2048 /* LIST_ITEM */)) return [3 /*break*/, 20];\n              if (!(container.styles.listStyleImage !== null)) return [3 /*break*/, 19];\n              img = container.styles.listStyleImage;\n              if (!(img.type === 0 /* URL */)) return [3 /*break*/, 18];\n              image = void 0;\n              url = img.url;\n              _c.label = 15;\n            case 15:\n              _c.trys.push([15, 17,, 18]);\n              return [4 /*yield*/, this.context.cache.match(url)];\n            case 16:\n              image = _c.sent();\n              this.ctx.drawImage(image, container.bounds.left - (image.width + 10), container.bounds.top);\n              return [3 /*break*/, 18];\n            case 17:\n              _c.sent();\n              this.context.logger.error(\"Error loading list-style-image \" + url);\n              return [3 /*break*/, 18];\n            case 18:\n              return [3 /*break*/, 20];\n            case 19:\n              if (paint.listValue && container.styles.listStyleType !== -1 /* NONE */) {\n                fontFamily = this.createFontStyle(styles)[0];\n                this.ctx.font = fontFamily;\n                this.ctx.fillStyle = asString(styles.color);\n                this.ctx.textBaseline = 'middle';\n                this.ctx.textAlign = 'right';\n                bounds = new Bounds(container.bounds.left, container.bounds.top + getAbsoluteValue(container.styles.paddingTop, container.bounds.width), container.bounds.width, computeLineHeight(styles.lineHeight, styles.fontSize.number) / 2 + 1);\n                this.renderTextWithLetterSpacing(new TextBounds(paint.listValue, bounds), styles.letterSpacing, computeLineHeight(styles.lineHeight, styles.fontSize.number) / 2 + 2);\n                this.ctx.textBaseline = 'bottom';\n                this.ctx.textAlign = 'left';\n              }\n              _c.label = 20;\n            case 20:\n              return [2 /*return*/];\n          }\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.renderStackContent = function (stack) {\n      return __awaiter(this, void 0, void 0, function () {\n        var _i, _a, child, _b, _c, child, _d, _e, child, _f, _g, child, _h, _j, child, _k, _l, child, _m, _o, child;\n        return __generator(this, function (_p) {\n          switch (_p.label) {\n            case 0:\n              if (contains(stack.element.container.flags, 16 /* DEBUG_RENDER */)) {\n                debugger;\n              }\n              // https://www.w3.org/TR/css-position-3/#painting-order\n              // 1. the background and borders of the element forming the stacking context.\n              return [4 /*yield*/, this.renderNodeBackgroundAndBorders(stack.element)];\n            case 1:\n              // https://www.w3.org/TR/css-position-3/#painting-order\n              // 1. the background and borders of the element forming the stacking context.\n              _p.sent();\n              _i = 0, _a = stack.negativeZIndex;\n              _p.label = 2;\n            case 2:\n              if (!(_i < _a.length)) return [3 /*break*/, 5];\n              child = _a[_i];\n              return [4 /*yield*/, this.renderStack(child)];\n            case 3:\n              _p.sent();\n              _p.label = 4;\n            case 4:\n              _i++;\n              return [3 /*break*/, 2];\n            case 5:\n              // 3. For all its in-flow, non-positioned, block-level descendants in tree order:\n              return [4 /*yield*/, this.renderNodeContent(stack.element)];\n            case 6:\n              // 3. For all its in-flow, non-positioned, block-level descendants in tree order:\n              _p.sent();\n              _b = 0, _c = stack.nonInlineLevel;\n              _p.label = 7;\n            case 7:\n              if (!(_b < _c.length)) return [3 /*break*/, 10];\n              child = _c[_b];\n              return [4 /*yield*/, this.renderNode(child)];\n            case 8:\n              _p.sent();\n              _p.label = 9;\n            case 9:\n              _b++;\n              return [3 /*break*/, 7];\n            case 10:\n              _d = 0, _e = stack.nonPositionedFloats;\n              _p.label = 11;\n            case 11:\n              if (!(_d < _e.length)) return [3 /*break*/, 14];\n              child = _e[_d];\n              return [4 /*yield*/, this.renderStack(child)];\n            case 12:\n              _p.sent();\n              _p.label = 13;\n            case 13:\n              _d++;\n              return [3 /*break*/, 11];\n            case 14:\n              _f = 0, _g = stack.nonPositionedInlineLevel;\n              _p.label = 15;\n            case 15:\n              if (!(_f < _g.length)) return [3 /*break*/, 18];\n              child = _g[_f];\n              return [4 /*yield*/, this.renderStack(child)];\n            case 16:\n              _p.sent();\n              _p.label = 17;\n            case 17:\n              _f++;\n              return [3 /*break*/, 15];\n            case 18:\n              _h = 0, _j = stack.inlineLevel;\n              _p.label = 19;\n            case 19:\n              if (!(_h < _j.length)) return [3 /*break*/, 22];\n              child = _j[_h];\n              return [4 /*yield*/, this.renderNode(child)];\n            case 20:\n              _p.sent();\n              _p.label = 21;\n            case 21:\n              _h++;\n              return [3 /*break*/, 19];\n            case 22:\n              _k = 0, _l = stack.zeroOrAutoZIndexOrTransformedOrOpacity;\n              _p.label = 23;\n            case 23:\n              if (!(_k < _l.length)) return [3 /*break*/, 26];\n              child = _l[_k];\n              return [4 /*yield*/, this.renderStack(child)];\n            case 24:\n              _p.sent();\n              _p.label = 25;\n            case 25:\n              _k++;\n              return [3 /*break*/, 23];\n            case 26:\n              _m = 0, _o = stack.positiveZIndex;\n              _p.label = 27;\n            case 27:\n              if (!(_m < _o.length)) return [3 /*break*/, 30];\n              child = _o[_m];\n              return [4 /*yield*/, this.renderStack(child)];\n            case 28:\n              _p.sent();\n              _p.label = 29;\n            case 29:\n              _m++;\n              return [3 /*break*/, 27];\n            case 30:\n              return [2 /*return*/];\n          }\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.mask = function (paths) {\n      this.ctx.beginPath();\n      this.ctx.moveTo(0, 0);\n      this.ctx.lineTo(this.canvas.width, 0);\n      this.ctx.lineTo(this.canvas.width, this.canvas.height);\n      this.ctx.lineTo(0, this.canvas.height);\n      this.ctx.lineTo(0, 0);\n      this.formatPath(paths.slice(0).reverse());\n      this.ctx.closePath();\n    };\n    CanvasRenderer.prototype.path = function (paths) {\n      this.ctx.beginPath();\n      this.formatPath(paths);\n      this.ctx.closePath();\n    };\n    CanvasRenderer.prototype.formatPath = function (paths) {\n      var _this = this;\n      paths.forEach(function (point, index) {\n        var start = isBezierCurve(point) ? point.start : point;\n        if (index === 0) {\n          _this.ctx.moveTo(start.x, start.y);\n        } else {\n          _this.ctx.lineTo(start.x, start.y);\n        }\n        if (isBezierCurve(point)) {\n          _this.ctx.bezierCurveTo(point.startControl.x, point.startControl.y, point.endControl.x, point.endControl.y, point.end.x, point.end.y);\n        }\n      });\n    };\n    CanvasRenderer.prototype.renderRepeat = function (path, pattern, offsetX, offsetY) {\n      this.path(path);\n      this.ctx.fillStyle = pattern;\n      this.ctx.translate(offsetX, offsetY);\n      this.ctx.fill();\n      this.ctx.translate(-offsetX, -offsetY);\n    };\n    CanvasRenderer.prototype.resizeImage = function (image, width, height) {\n      var _a;\n      if (image.width === width && image.height === height) {\n        return image;\n      }\n      var ownerDocument = (_a = this.canvas.ownerDocument) !== null && _a !== void 0 ? _a : document;\n      var canvas = ownerDocument.createElement('canvas');\n      canvas.width = Math.max(1, width);\n      canvas.height = Math.max(1, height);\n      var ctx = canvas.getContext('2d');\n      ctx.drawImage(image, 0, 0, image.width, image.height, 0, 0, width, height);\n      return canvas;\n    };\n    CanvasRenderer.prototype.renderBackgroundImage = function (container) {\n      return __awaiter(this, void 0, void 0, function () {\n        var index, _loop_1, this_1, _i, _a, backgroundImage;\n        return __generator(this, function (_b) {\n          switch (_b.label) {\n            case 0:\n              index = container.styles.backgroundImage.length - 1;\n              _loop_1 = function _loop_1(backgroundImage) {\n                var image, url, _c, path, x, y, width, height, pattern, _d, path, x, y, width, height, _e, lineLength, x0, x1, y0, y1, canvas, ctx, gradient_1, pattern, _f, path, left, top_1, width, height, position, x, y, _g, rx, ry, radialGradient_1, midX, midY, f, invF;\n                return __generator(this, function (_h) {\n                  switch (_h.label) {\n                    case 0:\n                      if (!(backgroundImage.type === 0 /* URL */)) return [3 /*break*/, 5];\n                      image = void 0;\n                      url = backgroundImage.url;\n                      _h.label = 1;\n                    case 1:\n                      _h.trys.push([1, 3,, 4]);\n                      return [4 /*yield*/, this_1.context.cache.match(url)];\n                    case 2:\n                      image = _h.sent();\n                      return [3 /*break*/, 4];\n                    case 3:\n                      _h.sent();\n                      this_1.context.logger.error(\"Error loading background-image \" + url);\n                      return [3 /*break*/, 4];\n                    case 4:\n                      if (image) {\n                        _c = calculateBackgroundRendering(container, index, [image.width, image.height, image.width / image.height]), path = _c[0], x = _c[1], y = _c[2], width = _c[3], height = _c[4];\n                        pattern = this_1.ctx.createPattern(this_1.resizeImage(image, width, height), 'repeat');\n                        this_1.renderRepeat(path, pattern, x, y);\n                      }\n                      return [3 /*break*/, 6];\n                    case 5:\n                      if (isLinearGradient(backgroundImage)) {\n                        _d = calculateBackgroundRendering(container, index, [null, null, null]), path = _d[0], x = _d[1], y = _d[2], width = _d[3], height = _d[4];\n                        _e = calculateGradientDirection(backgroundImage.angle, width, height), lineLength = _e[0], x0 = _e[1], x1 = _e[2], y0 = _e[3], y1 = _e[4];\n                        canvas = document.createElement('canvas');\n                        canvas.width = width;\n                        canvas.height = height;\n                        ctx = canvas.getContext('2d');\n                        gradient_1 = ctx.createLinearGradient(x0, y0, x1, y1);\n                        processColorStops(backgroundImage.stops, lineLength).forEach(function (colorStop) {\n                          return gradient_1.addColorStop(colorStop.stop, asString(colorStop.color));\n                        });\n                        ctx.fillStyle = gradient_1;\n                        ctx.fillRect(0, 0, width, height);\n                        if (width > 0 && height > 0) {\n                          pattern = this_1.ctx.createPattern(canvas, 'repeat');\n                          this_1.renderRepeat(path, pattern, x, y);\n                        }\n                      } else if (isRadialGradient(backgroundImage)) {\n                        _f = calculateBackgroundRendering(container, index, [null, null, null]), path = _f[0], left = _f[1], top_1 = _f[2], width = _f[3], height = _f[4];\n                        position = backgroundImage.position.length === 0 ? [FIFTY_PERCENT] : backgroundImage.position;\n                        x = getAbsoluteValue(position[0], width);\n                        y = getAbsoluteValue(position[position.length - 1], height);\n                        _g = calculateRadius(backgroundImage, x, y, width, height), rx = _g[0], ry = _g[1];\n                        if (rx > 0 && ry > 0) {\n                          radialGradient_1 = this_1.ctx.createRadialGradient(left + x, top_1 + y, 0, left + x, top_1 + y, rx);\n                          processColorStops(backgroundImage.stops, rx * 2).forEach(function (colorStop) {\n                            return radialGradient_1.addColorStop(colorStop.stop, asString(colorStop.color));\n                          });\n                          this_1.path(path);\n                          this_1.ctx.fillStyle = radialGradient_1;\n                          if (rx !== ry) {\n                            midX = container.bounds.left + 0.5 * container.bounds.width;\n                            midY = container.bounds.top + 0.5 * container.bounds.height;\n                            f = ry / rx;\n                            invF = 1 / f;\n                            this_1.ctx.save();\n                            this_1.ctx.translate(midX, midY);\n                            this_1.ctx.transform(1, 0, 0, f, 0, 0);\n                            this_1.ctx.translate(-midX, -midY);\n                            this_1.ctx.fillRect(left, invF * (top_1 - midY) + midY, width, height * invF);\n                            this_1.ctx.restore();\n                          } else {\n                            this_1.ctx.fill();\n                          }\n                        }\n                      }\n                      _h.label = 6;\n                    case 6:\n                      index--;\n                      return [2 /*return*/];\n                  }\n                });\n              };\n\n              this_1 = this;\n              _i = 0, _a = container.styles.backgroundImage.slice(0).reverse();\n              _b.label = 1;\n            case 1:\n              if (!(_i < _a.length)) return [3 /*break*/, 4];\n              backgroundImage = _a[_i];\n              return [5 /*yield**/, _loop_1(backgroundImage)];\n            case 2:\n              _b.sent();\n              _b.label = 3;\n            case 3:\n              _i++;\n              return [3 /*break*/, 1];\n            case 4:\n              return [2 /*return*/];\n          }\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.renderSolidBorder = function (color, side, curvePoints) {\n      return __awaiter(this, void 0, void 0, function () {\n        return __generator(this, function (_a) {\n          this.path(parsePathForBorder(curvePoints, side));\n          this.ctx.fillStyle = asString(color);\n          this.ctx.fill();\n          return [2 /*return*/];\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.renderDoubleBorder = function (color, width, side, curvePoints) {\n      return __awaiter(this, void 0, void 0, function () {\n        var outerPaths, innerPaths;\n        return __generator(this, function (_a) {\n          switch (_a.label) {\n            case 0:\n              if (!(width < 3)) return [3 /*break*/, 2];\n              return [4 /*yield*/, this.renderSolidBorder(color, side, curvePoints)];\n            case 1:\n              _a.sent();\n              return [2 /*return*/];\n            case 2:\n              outerPaths = parsePathForBorderDoubleOuter(curvePoints, side);\n              this.path(outerPaths);\n              this.ctx.fillStyle = asString(color);\n              this.ctx.fill();\n              innerPaths = parsePathForBorderDoubleInner(curvePoints, side);\n              this.path(innerPaths);\n              this.ctx.fill();\n              return [2 /*return*/];\n          }\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.renderNodeBackgroundAndBorders = function (paint) {\n      return __awaiter(this, void 0, void 0, function () {\n        var styles, hasBackground, borders, backgroundPaintingArea, side, _i, borders_1, border;\n        var _this = this;\n        return __generator(this, function (_a) {\n          switch (_a.label) {\n            case 0:\n              this.applyEffects(paint.getEffects(2 /* BACKGROUND_BORDERS */));\n              styles = paint.container.styles;\n              hasBackground = !isTransparent(styles.backgroundColor) || styles.backgroundImage.length;\n              borders = [{\n                style: styles.borderTopStyle,\n                color: styles.borderTopColor,\n                width: styles.borderTopWidth\n              }, {\n                style: styles.borderRightStyle,\n                color: styles.borderRightColor,\n                width: styles.borderRightWidth\n              }, {\n                style: styles.borderBottomStyle,\n                color: styles.borderBottomColor,\n                width: styles.borderBottomWidth\n              }, {\n                style: styles.borderLeftStyle,\n                color: styles.borderLeftColor,\n                width: styles.borderLeftWidth\n              }];\n              backgroundPaintingArea = calculateBackgroundCurvedPaintingArea(getBackgroundValueForIndex(styles.backgroundClip, 0), paint.curves);\n              if (!(hasBackground || styles.boxShadow.length)) return [3 /*break*/, 2];\n              this.ctx.save();\n              this.path(backgroundPaintingArea);\n              this.ctx.clip();\n              if (!isTransparent(styles.backgroundColor)) {\n                this.ctx.fillStyle = asString(styles.backgroundColor);\n                this.ctx.fill();\n              }\n              return [4 /*yield*/, this.renderBackgroundImage(paint.container)];\n            case 1:\n              _a.sent();\n              this.ctx.restore();\n              styles.boxShadow.slice(0).reverse().forEach(function (shadow) {\n                _this.ctx.save();\n                var borderBoxArea = calculateBorderBoxPath(paint.curves);\n                var maskOffset = shadow.inset ? 0 : MASK_OFFSET;\n                var shadowPaintingArea = transformPath(borderBoxArea, -maskOffset + (shadow.inset ? 1 : -1) * shadow.spread.number, (shadow.inset ? 1 : -1) * shadow.spread.number, shadow.spread.number * (shadow.inset ? -2 : 2), shadow.spread.number * (shadow.inset ? -2 : 2));\n                if (shadow.inset) {\n                  _this.path(borderBoxArea);\n                  _this.ctx.clip();\n                  _this.mask(shadowPaintingArea);\n                } else {\n                  _this.mask(borderBoxArea);\n                  _this.ctx.clip();\n                  _this.path(shadowPaintingArea);\n                }\n                _this.ctx.shadowOffsetX = shadow.offsetX.number + maskOffset;\n                _this.ctx.shadowOffsetY = shadow.offsetY.number;\n                _this.ctx.shadowColor = asString(shadow.color);\n                _this.ctx.shadowBlur = shadow.blur.number;\n                _this.ctx.fillStyle = shadow.inset ? asString(shadow.color) : 'rgba(0,0,0,1)';\n                _this.ctx.fill();\n                _this.ctx.restore();\n              });\n              _a.label = 2;\n            case 2:\n              side = 0;\n              _i = 0, borders_1 = borders;\n              _a.label = 3;\n            case 3:\n              if (!(_i < borders_1.length)) return [3 /*break*/, 13];\n              border = borders_1[_i];\n              if (!(border.style !== 0 /* NONE */ && !isTransparent(border.color) && border.width > 0)) return [3 /*break*/, 11];\n              if (!(border.style === 2 /* DASHED */)) return [3 /*break*/, 5];\n              return [4 /*yield*/, this.renderDashedDottedBorder(border.color, border.width, side, paint.curves, 2 /* DASHED */)];\n            case 4:\n              _a.sent();\n              return [3 /*break*/, 11];\n            case 5:\n              if (!(border.style === 3 /* DOTTED */)) return [3 /*break*/, 7];\n              return [4 /*yield*/, this.renderDashedDottedBorder(border.color, border.width, side, paint.curves, 3 /* DOTTED */)];\n            case 6:\n              _a.sent();\n              return [3 /*break*/, 11];\n            case 7:\n              if (!(border.style === 4 /* DOUBLE */)) return [3 /*break*/, 9];\n              return [4 /*yield*/, this.renderDoubleBorder(border.color, border.width, side, paint.curves)];\n            case 8:\n              _a.sent();\n              return [3 /*break*/, 11];\n            case 9:\n              return [4 /*yield*/, this.renderSolidBorder(border.color, side, paint.curves)];\n            case 10:\n              _a.sent();\n              _a.label = 11;\n            case 11:\n              side++;\n              _a.label = 12;\n            case 12:\n              _i++;\n              return [3 /*break*/, 3];\n            case 13:\n              return [2 /*return*/];\n          }\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.renderDashedDottedBorder = function (color, width, side, curvePoints, style) {\n      return __awaiter(this, void 0, void 0, function () {\n        var strokePaths, boxPaths, startX, startY, endX, endY, length, dashLength, spaceLength, useLineDash, multiplier, numberOfDashes, minSpace, maxSpace, path1, path2, path1, path2;\n        return __generator(this, function (_a) {\n          this.ctx.save();\n          strokePaths = parsePathForBorderStroke(curvePoints, side);\n          boxPaths = parsePathForBorder(curvePoints, side);\n          if (style === 2 /* DASHED */) {\n            this.path(boxPaths);\n            this.ctx.clip();\n          }\n          if (isBezierCurve(boxPaths[0])) {\n            startX = boxPaths[0].start.x;\n            startY = boxPaths[0].start.y;\n          } else {\n            startX = boxPaths[0].x;\n            startY = boxPaths[0].y;\n          }\n          if (isBezierCurve(boxPaths[1])) {\n            endX = boxPaths[1].end.x;\n            endY = boxPaths[1].end.y;\n          } else {\n            endX = boxPaths[1].x;\n            endY = boxPaths[1].y;\n          }\n          if (side === 0 || side === 2) {\n            length = Math.abs(startX - endX);\n          } else {\n            length = Math.abs(startY - endY);\n          }\n          this.ctx.beginPath();\n          if (style === 3 /* DOTTED */) {\n            this.formatPath(strokePaths);\n          } else {\n            this.formatPath(boxPaths.slice(0, 2));\n          }\n          dashLength = width < 3 ? width * 3 : width * 2;\n          spaceLength = width < 3 ? width * 2 : width;\n          if (style === 3 /* DOTTED */) {\n            dashLength = width;\n            spaceLength = width;\n          }\n          useLineDash = true;\n          if (length <= dashLength * 2) {\n            useLineDash = false;\n          } else if (length <= dashLength * 2 + spaceLength) {\n            multiplier = length / (2 * dashLength + spaceLength);\n            dashLength *= multiplier;\n            spaceLength *= multiplier;\n          } else {\n            numberOfDashes = Math.floor((length + spaceLength) / (dashLength + spaceLength));\n            minSpace = (length - numberOfDashes * dashLength) / (numberOfDashes - 1);\n            maxSpace = (length - (numberOfDashes + 1) * dashLength) / numberOfDashes;\n            spaceLength = maxSpace <= 0 || Math.abs(spaceLength - minSpace) < Math.abs(spaceLength - maxSpace) ? minSpace : maxSpace;\n          }\n          if (useLineDash) {\n            if (style === 3 /* DOTTED */) {\n              this.ctx.setLineDash([0, dashLength + spaceLength]);\n            } else {\n              this.ctx.setLineDash([dashLength, spaceLength]);\n            }\n          }\n          if (style === 3 /* DOTTED */) {\n            this.ctx.lineCap = 'round';\n            this.ctx.lineWidth = width;\n          } else {\n            this.ctx.lineWidth = width * 2 + 1.1;\n          }\n          this.ctx.strokeStyle = asString(color);\n          this.ctx.stroke();\n          this.ctx.setLineDash([]);\n          // dashed round edge gap\n          if (style === 2 /* DASHED */) {\n            if (isBezierCurve(boxPaths[0])) {\n              path1 = boxPaths[3];\n              path2 = boxPaths[0];\n              this.ctx.beginPath();\n              this.formatPath([new Vector(path1.end.x, path1.end.y), new Vector(path2.start.x, path2.start.y)]);\n              this.ctx.stroke();\n            }\n            if (isBezierCurve(boxPaths[1])) {\n              path1 = boxPaths[1];\n              path2 = boxPaths[2];\n              this.ctx.beginPath();\n              this.formatPath([new Vector(path1.end.x, path1.end.y), new Vector(path2.start.x, path2.start.y)]);\n              this.ctx.stroke();\n            }\n          }\n          this.ctx.restore();\n          return [2 /*return*/];\n        });\n      });\n    };\n\n    CanvasRenderer.prototype.render = function (element) {\n      return __awaiter(this, void 0, void 0, function () {\n        var stack;\n        return __generator(this, function (_a) {\n          switch (_a.label) {\n            case 0:\n              if (this.options.backgroundColor) {\n                this.ctx.fillStyle = asString(this.options.backgroundColor);\n                this.ctx.fillRect(this.options.x, this.options.y, this.options.width, this.options.height);\n              }\n              stack = parseStackingContexts(element);\n              return [4 /*yield*/, this.renderStack(stack)];\n            case 1:\n              _a.sent();\n              this.applyEffects([]);\n              return [2 /*return*/, this.canvas];\n          }\n        });\n      });\n    };\n    return CanvasRenderer;\n  }(Renderer);\n  var isTextInputElement = function isTextInputElement(container) {\n    if (container instanceof TextareaElementContainer) {\n      return true;\n    } else if (container instanceof SelectElementContainer) {\n      return true;\n    } else if (container instanceof InputElementContainer && container.type !== RADIO && container.type !== CHECKBOX) {\n      return true;\n    }\n    return false;\n  };\n  var calculateBackgroundCurvedPaintingArea = function calculateBackgroundCurvedPaintingArea(clip, curves) {\n    switch (clip) {\n      case 0 /* BORDER_BOX */:\n        return calculateBorderBoxPath(curves);\n      case 2 /* CONTENT_BOX */:\n        return calculateContentBoxPath(curves);\n      case 1 /* PADDING_BOX */:\n      default:\n        return calculatePaddingBoxPath(curves);\n    }\n  };\n  var canvasTextAlign = function canvasTextAlign(textAlign) {\n    switch (textAlign) {\n      case 1 /* CENTER */:\n        return 'center';\n      case 2 /* RIGHT */:\n        return 'right';\n      case 0 /* LEFT */:\n      default:\n        return 'left';\n    }\n  };\n  // see https://github.com/niklasvh/html2canvas/pull/2645\n  var iOSBrokenFonts = ['-apple-system', 'system-ui'];\n  var fixIOSSystemFonts = function fixIOSSystemFonts(fontFamilies) {\n    return /iPhone OS 15_(0|1)/.test(window.navigator.userAgent) ? fontFamilies.filter(function (fontFamily) {\n      return iOSBrokenFonts.indexOf(fontFamily) === -1;\n    }) : fontFamilies;\n  };\n  var ForeignObjectRenderer = /** @class */function (_super) {\n    __extends(ForeignObjectRenderer, _super);\n    function ForeignObjectRenderer(context, options) {\n      var _this = _super.call(this, context, options) || this;\n      _this.canvas = options.canvas ? options.canvas : document.createElement('canvas');\n      _this.ctx = _this.canvas.getContext('2d');\n      _this.options = options;\n      _this.canvas.width = Math.floor(options.width * options.scale);\n      _this.canvas.height = Math.floor(options.height * options.scale);\n      _this.canvas.style.width = options.width + \"px\";\n      _this.canvas.style.height = options.height + \"px\";\n      _this.ctx.scale(_this.options.scale, _this.options.scale);\n      _this.ctx.translate(-options.x, -options.y);\n      _this.context.logger.debug(\"EXPERIMENTAL ForeignObject renderer initialized (\" + options.width + \"x\" + options.height + \" at \" + options.x + \",\" + options.y + \") with scale \" + options.scale);\n      return _this;\n    }\n    ForeignObjectRenderer.prototype.render = function (element) {\n      return __awaiter(this, void 0, void 0, function () {\n        var svg, img;\n        return __generator(this, function (_a) {\n          switch (_a.label) {\n            case 0:\n              svg = createForeignObjectSVG(this.options.width * this.options.scale, this.options.height * this.options.scale, this.options.scale, this.options.scale, element);\n              return [4 /*yield*/, loadSerializedSVG(svg)];\n            case 1:\n              img = _a.sent();\n              if (this.options.backgroundColor) {\n                this.ctx.fillStyle = asString(this.options.backgroundColor);\n                this.ctx.fillRect(0, 0, this.options.width * this.options.scale, this.options.height * this.options.scale);\n              }\n              this.ctx.drawImage(img, -this.options.x * this.options.scale, -this.options.y * this.options.scale);\n              return [2 /*return*/, this.canvas];\n          }\n        });\n      });\n    };\n    return ForeignObjectRenderer;\n  }(Renderer);\n  var loadSerializedSVG = function loadSerializedSVG(svg) {\n    return new Promise(function (resolve, reject) {\n      var img = new Image();\n      img.onload = function () {\n        resolve(img);\n      };\n      img.onerror = reject;\n      img.src = \"data:image/svg+xml;charset=utf-8,\" + encodeURIComponent(new XMLSerializer().serializeToString(svg));\n    });\n  };\n  var Logger = /** @class */function () {\n    function Logger(_a) {\n      var id = _a.id,\n        enabled = _a.enabled;\n      this.id = id;\n      this.enabled = enabled;\n      this.start = Date.now();\n    }\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    Logger.prototype.debug = function () {\n      var args = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n      }\n      if (this.enabled) {\n        // eslint-disable-next-line no-console\n        if (typeof window !== 'undefined' && window.console && typeof console.debug === 'function') {\n          // eslint-disable-next-line no-console\n          console.debug.apply(console, __spreadArray([this.id, this.getTime() + \"ms\"], args));\n        } else {\n          this.info.apply(this, args);\n        }\n      }\n    };\n    Logger.prototype.getTime = function () {\n      return Date.now() - this.start;\n    };\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    Logger.prototype.info = function () {\n      var args = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n      }\n      if (this.enabled) {\n        // eslint-disable-next-line no-console\n        if (typeof window !== 'undefined' && window.console && typeof console.info === 'function') {\n          // eslint-disable-next-line no-console\n          console.info.apply(console, __spreadArray([this.id, this.getTime() + \"ms\"], args));\n        }\n      }\n    };\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    Logger.prototype.warn = function () {\n      var args = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n      }\n      if (this.enabled) {\n        // eslint-disable-next-line no-console\n        if (typeof window !== 'undefined' && window.console && typeof console.warn === 'function') {\n          // eslint-disable-next-line no-console\n          console.warn.apply(console, __spreadArray([this.id, this.getTime() + \"ms\"], args));\n        } else {\n          this.info.apply(this, args);\n        }\n      }\n    };\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    Logger.prototype.error = function () {\n      var args = [];\n      for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n      }\n      if (this.enabled) {\n        // eslint-disable-next-line no-console\n        if (typeof window !== 'undefined' && window.console && typeof console.error === 'function') {\n          // eslint-disable-next-line no-console\n          console.error.apply(console, __spreadArray([this.id, this.getTime() + \"ms\"], args));\n        } else {\n          this.info.apply(this, args);\n        }\n      }\n    };\n    Logger.instances = {};\n    return Logger;\n  }();\n  var Context = /** @class */function () {\n    function Context(options, windowBounds) {\n      var _a;\n      this.windowBounds = windowBounds;\n      this.instanceName = \"#\" + Context.instanceCount++;\n      this.logger = new Logger({\n        id: this.instanceName,\n        enabled: options.logging\n      });\n      this.cache = (_a = options.cache) !== null && _a !== void 0 ? _a : new Cache(this, options);\n    }\n    Context.instanceCount = 1;\n    return Context;\n  }();\n  var html2canvas = function html2canvas(element, options) {\n    if (options === void 0) {\n      options = {};\n    }\n    return renderElement(element, options);\n  };\n  if (typeof window !== 'undefined') {\n    CacheStorage.setContext(window);\n  }\n  var renderElement = function renderElement(element, opts) {\n    return __awaiter(void 0, void 0, void 0, function () {\n      var ownerDocument, defaultView, resourceOptions, contextOptions, windowOptions, windowBounds, context, foreignObjectRendering, cloneOptions, documentCloner, clonedElement, container, _a, width, height, left, top, backgroundColor, renderOptions, canvas, renderer, root, renderer;\n      var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;\n      return __generator(this, function (_u) {\n        switch (_u.label) {\n          case 0:\n            if (!element || typeof element !== 'object') {\n              return [2 /*return*/, Promise.reject('Invalid element provided as first argument')];\n            }\n            ownerDocument = element.ownerDocument;\n            if (!ownerDocument) {\n              throw new Error(\"Element is not attached to a Document\");\n            }\n            defaultView = ownerDocument.defaultView;\n            if (!defaultView) {\n              throw new Error(\"Document is not attached to a Window\");\n            }\n            resourceOptions = {\n              allowTaint: (_b = opts.allowTaint) !== null && _b !== void 0 ? _b : false,\n              imageTimeout: (_c = opts.imageTimeout) !== null && _c !== void 0 ? _c : 15000,\n              proxy: opts.proxy,\n              useCORS: (_d = opts.useCORS) !== null && _d !== void 0 ? _d : false\n            };\n            contextOptions = _assign({\n              logging: (_e = opts.logging) !== null && _e !== void 0 ? _e : true,\n              cache: opts.cache\n            }, resourceOptions);\n            windowOptions = {\n              windowWidth: (_f = opts.windowWidth) !== null && _f !== void 0 ? _f : defaultView.innerWidth,\n              windowHeight: (_g = opts.windowHeight) !== null && _g !== void 0 ? _g : defaultView.innerHeight,\n              scrollX: (_h = opts.scrollX) !== null && _h !== void 0 ? _h : defaultView.pageXOffset,\n              scrollY: (_j = opts.scrollY) !== null && _j !== void 0 ? _j : defaultView.pageYOffset\n            };\n            windowBounds = new Bounds(windowOptions.scrollX, windowOptions.scrollY, windowOptions.windowWidth, windowOptions.windowHeight);\n            context = new Context(contextOptions, windowBounds);\n            foreignObjectRendering = (_k = opts.foreignObjectRendering) !== null && _k !== void 0 ? _k : false;\n            cloneOptions = {\n              allowTaint: (_l = opts.allowTaint) !== null && _l !== void 0 ? _l : false,\n              onclone: opts.onclone,\n              ignoreElements: opts.ignoreElements,\n              inlineImages: foreignObjectRendering,\n              copyStyles: foreignObjectRendering\n            };\n            context.logger.debug(\"Starting document clone with size \" + windowBounds.width + \"x\" + windowBounds.height + \" scrolled to \" + -windowBounds.left + \",\" + -windowBounds.top);\n            documentCloner = new DocumentCloner(context, element, cloneOptions);\n            clonedElement = documentCloner.clonedReferenceElement;\n            if (!clonedElement) {\n              return [2 /*return*/, Promise.reject(\"Unable to find element in cloned iframe\")];\n            }\n            return [4 /*yield*/, documentCloner.toIFrame(ownerDocument, windowBounds)];\n          case 1:\n            container = _u.sent();\n            _a = isBodyElement(clonedElement) || isHTMLElement(clonedElement) ? parseDocumentSize(clonedElement.ownerDocument) : parseBounds(context, clonedElement), width = _a.width, height = _a.height, left = _a.left, top = _a.top;\n            backgroundColor = parseBackgroundColor(context, clonedElement, opts.backgroundColor);\n            renderOptions = {\n              canvas: opts.canvas,\n              backgroundColor: backgroundColor,\n              scale: (_o = (_m = opts.scale) !== null && _m !== void 0 ? _m : defaultView.devicePixelRatio) !== null && _o !== void 0 ? _o : 1,\n              x: ((_p = opts.x) !== null && _p !== void 0 ? _p : 0) + left,\n              y: ((_q = opts.y) !== null && _q !== void 0 ? _q : 0) + top,\n              width: (_r = opts.width) !== null && _r !== void 0 ? _r : Math.ceil(width),\n              height: (_s = opts.height) !== null && _s !== void 0 ? _s : Math.ceil(height)\n            };\n            if (!foreignObjectRendering) return [3 /*break*/, 3];\n            context.logger.debug(\"Document cloned, using foreign object rendering\");\n            renderer = new ForeignObjectRenderer(context, renderOptions);\n            return [4 /*yield*/, renderer.render(clonedElement)];\n          case 2:\n            canvas = _u.sent();\n            return [3 /*break*/, 5];\n          case 3:\n            context.logger.debug(\"Document cloned, element located at \" + left + \",\" + top + \" with size \" + width + \"x\" + height + \" using computed rendering\");\n            context.logger.debug(\"Starting DOM parsing\");\n            root = parseTree(context, clonedElement);\n            if (backgroundColor === root.styles.backgroundColor) {\n              root.styles.backgroundColor = COLORS.TRANSPARENT;\n            }\n            context.logger.debug(\"Starting renderer for element at \" + renderOptions.x + \",\" + renderOptions.y + \" with size \" + renderOptions.width + \"x\" + renderOptions.height);\n            renderer = new CanvasRenderer(context, renderOptions);\n            return [4 /*yield*/, renderer.render(root)];\n          case 4:\n            canvas = _u.sent();\n            _u.label = 5;\n          case 5:\n            if ((_t = opts.removeContainer) !== null && _t !== void 0 ? _t : true) {\n              if (!DocumentCloner.destroy(container)) {\n                context.logger.error(\"Cannot detach cloned iframe as it is not in the DOM anymore\");\n              }\n            }\n            context.logger.debug(\"Finished rendering\");\n            return [2 /*return*/, canvas];\n        }\n      });\n    });\n  };\n  var parseBackgroundColor = function parseBackgroundColor(context, element, backgroundColorOverride) {\n    var ownerDocument = element.ownerDocument;\n    // http://www.w3.org/TR/css3-background/#special-backgrounds\n    var documentBackgroundColor = ownerDocument.documentElement ? parseColor(context, getComputedStyle(ownerDocument.documentElement).backgroundColor) : COLORS.TRANSPARENT;\n    var bodyBackgroundColor = ownerDocument.body ? parseColor(context, getComputedStyle(ownerDocument.body).backgroundColor) : COLORS.TRANSPARENT;\n    var defaultBackgroundColor = typeof backgroundColorOverride === 'string' ? parseColor(context, backgroundColorOverride) : backgroundColorOverride === null ? COLORS.TRANSPARENT : 0xffffffff;\n    return element === ownerDocument.documentElement ? isTransparent(documentBackgroundColor) ? isTransparent(bodyBackgroundColor) ? defaultBackgroundColor : bodyBackgroundColor : documentBackgroundColor : defaultBackgroundColor;\n  };\n  return html2canvas;\n});\n\n//# sourceURL=webpack://dtools/./node_modules/html2canvas/dist/html2canvas.js?");

/***/ }),

/***/ "./node_modules/vue-router/dist/vue-router.esm.js":
/*!********************************************************!*\
  !*** ./node_modules/vue-router/dist/vue-router.esm.js ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"NavigationFailureType\": function() { return /* binding */ NavigationFailureType; },\n/* harmony export */   \"RouterLink\": function() { return /* binding */ Link; },\n/* harmony export */   \"RouterView\": function() { return /* binding */ View; },\n/* harmony export */   \"START_LOCATION\": function() { return /* binding */ START; },\n/* harmony export */   \"default\": function() { return /* binding */ VueRouter$1; },\n/* harmony export */   \"isNavigationFailure\": function() { return /* binding */ isNavigationFailure; },\n/* harmony export */   \"version\": function() { return /* binding */ version; }\n/* harmony export */ });\n/*!\n  * vue-router v3.6.5\n  * (c) 2022 Evan You\n  * @license MIT\n  */\n/*  */\n\nfunction assert(condition, message) {\n  if (!condition) {\n    throw new Error(\"[vue-router] \" + message);\n  }\n}\nfunction warn(condition, message) {\n  if (!condition) {\n    typeof console !== 'undefined' && console.warn(\"[vue-router] \" + message);\n  }\n}\nfunction extend(a, b) {\n  for (var key in b) {\n    a[key] = b[key];\n  }\n  return a;\n}\n\n/*  */\n\nvar encodeReserveRE = /[!'()*]/g;\nvar encodeReserveReplacer = function encodeReserveReplacer(c) {\n  return '%' + c.charCodeAt(0).toString(16);\n};\nvar commaRE = /%2C/g;\n\n// fixed encodeURIComponent which is more conformant to RFC3986:\n// - escapes [!'()*]\n// - preserve commas\nvar encode = function encode(str) {\n  return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');\n};\nfunction decode(str) {\n  try {\n    return decodeURIComponent(str);\n  } catch (err) {\n    if (true) {\n      warn(false, \"Error decoding \\\"\" + str + \"\\\". Leaving it intact.\");\n    }\n  }\n  return str;\n}\nfunction resolveQuery(query, extraQuery, _parseQuery) {\n  if (extraQuery === void 0) extraQuery = {};\n  var parse = _parseQuery || parseQuery;\n  var parsedQuery;\n  try {\n    parsedQuery = parse(query || '');\n  } catch (e) {\n     true && warn(false, e.message);\n    parsedQuery = {};\n  }\n  for (var key in extraQuery) {\n    var value = extraQuery[key];\n    parsedQuery[key] = Array.isArray(value) ? value.map(castQueryParamValue) : castQueryParamValue(value);\n  }\n  return parsedQuery;\n}\nvar castQueryParamValue = function castQueryParamValue(value) {\n  return value == null || typeof value === 'object' ? value : String(value);\n};\nfunction parseQuery(query) {\n  var res = {};\n  query = query.trim().replace(/^(\\?|#|&)/, '');\n  if (!query) {\n    return res;\n  }\n  query.split('&').forEach(function (param) {\n    var parts = param.replace(/\\+/g, ' ').split('=');\n    var key = decode(parts.shift());\n    var val = parts.length > 0 ? decode(parts.join('=')) : null;\n    if (res[key] === undefined) {\n      res[key] = val;\n    } else if (Array.isArray(res[key])) {\n      res[key].push(val);\n    } else {\n      res[key] = [res[key], val];\n    }\n  });\n  return res;\n}\nfunction stringifyQuery(obj) {\n  var res = obj ? Object.keys(obj).map(function (key) {\n    var val = obj[key];\n    if (val === undefined) {\n      return '';\n    }\n    if (val === null) {\n      return encode(key);\n    }\n    if (Array.isArray(val)) {\n      var result = [];\n      val.forEach(function (val2) {\n        if (val2 === undefined) {\n          return;\n        }\n        if (val2 === null) {\n          result.push(encode(key));\n        } else {\n          result.push(encode(key) + '=' + encode(val2));\n        }\n      });\n      return result.join('&');\n    }\n    return encode(key) + '=' + encode(val);\n  }).filter(function (x) {\n    return x.length > 0;\n  }).join('&') : null;\n  return res ? \"?\" + res : '';\n}\n\n/*  */\n\nvar trailingSlashRE = /\\/?$/;\nfunction createRoute(record, location, redirectedFrom, router) {\n  var stringifyQuery = router && router.options.stringifyQuery;\n  var query = location.query || {};\n  try {\n    query = clone(query);\n  } catch (e) {}\n  var route = {\n    name: location.name || record && record.name,\n    meta: record && record.meta || {},\n    path: location.path || '/',\n    hash: location.hash || '',\n    query: query,\n    params: location.params || {},\n    fullPath: getFullPath(location, stringifyQuery),\n    matched: record ? formatMatch(record) : []\n  };\n  if (redirectedFrom) {\n    route.redirectedFrom = getFullPath(redirectedFrom, stringifyQuery);\n  }\n  return Object.freeze(route);\n}\nfunction clone(value) {\n  if (Array.isArray(value)) {\n    return value.map(clone);\n  } else if (value && typeof value === 'object') {\n    var res = {};\n    for (var key in value) {\n      res[key] = clone(value[key]);\n    }\n    return res;\n  } else {\n    return value;\n  }\n}\n\n// the starting route that represents the initial state\nvar START = createRoute(null, {\n  path: '/'\n});\nfunction formatMatch(record) {\n  var res = [];\n  while (record) {\n    res.unshift(record);\n    record = record.parent;\n  }\n  return res;\n}\nfunction getFullPath(ref, _stringifyQuery) {\n  var path = ref.path;\n  var query = ref.query;\n  if (query === void 0) query = {};\n  var hash = ref.hash;\n  if (hash === void 0) hash = '';\n  var stringify = _stringifyQuery || stringifyQuery;\n  return (path || '/') + stringify(query) + hash;\n}\nfunction isSameRoute(a, b, onlyPath) {\n  if (b === START) {\n    return a === b;\n  } else if (!b) {\n    return false;\n  } else if (a.path && b.path) {\n    return a.path.replace(trailingSlashRE, '') === b.path.replace(trailingSlashRE, '') && (onlyPath || a.hash === b.hash && isObjectEqual(a.query, b.query));\n  } else if (a.name && b.name) {\n    return a.name === b.name && (onlyPath || a.hash === b.hash && isObjectEqual(a.query, b.query) && isObjectEqual(a.params, b.params));\n  } else {\n    return false;\n  }\n}\nfunction isObjectEqual(a, b) {\n  if (a === void 0) a = {};\n  if (b === void 0) b = {};\n\n  // handle null value #1566\n  if (!a || !b) {\n    return a === b;\n  }\n  var aKeys = Object.keys(a).sort();\n  var bKeys = Object.keys(b).sort();\n  if (aKeys.length !== bKeys.length) {\n    return false;\n  }\n  return aKeys.every(function (key, i) {\n    var aVal = a[key];\n    var bKey = bKeys[i];\n    if (bKey !== key) {\n      return false;\n    }\n    var bVal = b[key];\n    // query values can be null and undefined\n    if (aVal == null || bVal == null) {\n      return aVal === bVal;\n    }\n    // check nested equality\n    if (typeof aVal === 'object' && typeof bVal === 'object') {\n      return isObjectEqual(aVal, bVal);\n    }\n    return String(aVal) === String(bVal);\n  });\n}\nfunction isIncludedRoute(current, target) {\n  return current.path.replace(trailingSlashRE, '/').indexOf(target.path.replace(trailingSlashRE, '/')) === 0 && (!target.hash || current.hash === target.hash) && queryIncludes(current.query, target.query);\n}\nfunction queryIncludes(current, target) {\n  for (var key in target) {\n    if (!(key in current)) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction handleRouteEntered(route) {\n  for (var i = 0; i < route.matched.length; i++) {\n    var record = route.matched[i];\n    for (var name in record.instances) {\n      var instance = record.instances[name];\n      var cbs = record.enteredCbs[name];\n      if (!instance || !cbs) {\n        continue;\n      }\n      delete record.enteredCbs[name];\n      for (var i$1 = 0; i$1 < cbs.length; i$1++) {\n        if (!instance._isBeingDestroyed) {\n          cbs[i$1](instance);\n        }\n      }\n    }\n  }\n}\nvar View = {\n  name: 'RouterView',\n  functional: true,\n  props: {\n    name: {\n      type: String,\n      default: 'default'\n    }\n  },\n  render: function render(_, ref) {\n    var props = ref.props;\n    var children = ref.children;\n    var parent = ref.parent;\n    var data = ref.data;\n\n    // used by devtools to display a router-view badge\n    data.routerView = true;\n\n    // directly use parent context's createElement() function\n    // so that components rendered by router-view can resolve named slots\n    var h = parent.$createElement;\n    var name = props.name;\n    var route = parent.$route;\n    var cache = parent._routerViewCache || (parent._routerViewCache = {});\n\n    // determine current view depth, also check to see if the tree\n    // has been toggled inactive but kept-alive.\n    var depth = 0;\n    var inactive = false;\n    while (parent && parent._routerRoot !== parent) {\n      var vnodeData = parent.$vnode ? parent.$vnode.data : {};\n      if (vnodeData.routerView) {\n        depth++;\n      }\n      if (vnodeData.keepAlive && parent._directInactive && parent._inactive) {\n        inactive = true;\n      }\n      parent = parent.$parent;\n    }\n    data.routerViewDepth = depth;\n\n    // render previous view if the tree is inactive and kept-alive\n    if (inactive) {\n      var cachedData = cache[name];\n      var cachedComponent = cachedData && cachedData.component;\n      if (cachedComponent) {\n        // #2301\n        // pass props\n        if (cachedData.configProps) {\n          fillPropsinData(cachedComponent, data, cachedData.route, cachedData.configProps);\n        }\n        return h(cachedComponent, data, children);\n      } else {\n        // render previous empty view\n        return h();\n      }\n    }\n    var matched = route.matched[depth];\n    var component = matched && matched.components[name];\n\n    // render empty node if no matched route or no config component\n    if (!matched || !component) {\n      cache[name] = null;\n      return h();\n    }\n\n    // cache component\n    cache[name] = {\n      component: component\n    };\n\n    // attach instance registration hook\n    // this will be called in the instance's injected lifecycle hooks\n    data.registerRouteInstance = function (vm, val) {\n      // val could be undefined for unregistration\n      var current = matched.instances[name];\n      if (val && current !== vm || !val && current === vm) {\n        matched.instances[name] = val;\n      }\n    }\n\n    // also register instance in prepatch hook\n    // in case the same component instance is reused across different routes\n    ;\n    (data.hook || (data.hook = {})).prepatch = function (_, vnode) {\n      matched.instances[name] = vnode.componentInstance;\n    };\n\n    // register instance in init hook\n    // in case kept-alive component be actived when routes changed\n    data.hook.init = function (vnode) {\n      if (vnode.data.keepAlive && vnode.componentInstance && vnode.componentInstance !== matched.instances[name]) {\n        matched.instances[name] = vnode.componentInstance;\n      }\n\n      // if the route transition has already been confirmed then we weren't\n      // able to call the cbs during confirmation as the component was not\n      // registered yet, so we call it here.\n      handleRouteEntered(route);\n    };\n    var configProps = matched.props && matched.props[name];\n    // save route and configProps in cache\n    if (configProps) {\n      extend(cache[name], {\n        route: route,\n        configProps: configProps\n      });\n      fillPropsinData(component, data, route, configProps);\n    }\n    return h(component, data, children);\n  }\n};\nfunction fillPropsinData(component, data, route, configProps) {\n  // resolve props\n  var propsToPass = data.props = resolveProps(route, configProps);\n  if (propsToPass) {\n    // clone to prevent mutation\n    propsToPass = data.props = extend({}, propsToPass);\n    // pass non-declared props as attrs\n    var attrs = data.attrs = data.attrs || {};\n    for (var key in propsToPass) {\n      if (!component.props || !(key in component.props)) {\n        attrs[key] = propsToPass[key];\n        delete propsToPass[key];\n      }\n    }\n  }\n}\nfunction resolveProps(route, config) {\n  switch (typeof config) {\n    case 'undefined':\n      return;\n    case 'object':\n      return config;\n    case 'function':\n      return config(route);\n    case 'boolean':\n      return config ? route.params : undefined;\n    default:\n      if (true) {\n        warn(false, \"props in \\\"\" + route.path + \"\\\" is a \" + typeof config + \", \" + \"expecting an object, function or boolean.\");\n      }\n  }\n}\n\n/*  */\n\nfunction resolvePath(relative, base, append) {\n  var firstChar = relative.charAt(0);\n  if (firstChar === '/') {\n    return relative;\n  }\n  if (firstChar === '?' || firstChar === '#') {\n    return base + relative;\n  }\n  var stack = base.split('/');\n\n  // remove trailing segment if:\n  // - not appending\n  // - appending to trailing slash (last segment is empty)\n  if (!append || !stack[stack.length - 1]) {\n    stack.pop();\n  }\n\n  // resolve relative path\n  var segments = relative.replace(/^\\//, '').split('/');\n  for (var i = 0; i < segments.length; i++) {\n    var segment = segments[i];\n    if (segment === '..') {\n      stack.pop();\n    } else if (segment !== '.') {\n      stack.push(segment);\n    }\n  }\n\n  // ensure leading slash\n  if (stack[0] !== '') {\n    stack.unshift('');\n  }\n  return stack.join('/');\n}\nfunction parsePath(path) {\n  var hash = '';\n  var query = '';\n  var hashIndex = path.indexOf('#');\n  if (hashIndex >= 0) {\n    hash = path.slice(hashIndex);\n    path = path.slice(0, hashIndex);\n  }\n  var queryIndex = path.indexOf('?');\n  if (queryIndex >= 0) {\n    query = path.slice(queryIndex + 1);\n    path = path.slice(0, queryIndex);\n  }\n  return {\n    path: path,\n    query: query,\n    hash: hash\n  };\n}\nfunction cleanPath(path) {\n  return path.replace(/\\/(?:\\s*\\/)+/g, '/');\n}\nvar isarray = Array.isArray || function (arr) {\n  return Object.prototype.toString.call(arr) == '[object Array]';\n};\n\n/**\n * Expose `pathToRegexp`.\n */\nvar pathToRegexp_1 = pathToRegexp;\nvar parse_1 = parse;\nvar compile_1 = compile;\nvar tokensToFunction_1 = tokensToFunction;\nvar tokensToRegExp_1 = tokensToRegExp;\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n// Match escaped characters that would otherwise appear in future matches.\n// This allows the user to escape special characters that won't transform.\n'(\\\\\\\\.)',\n// Match Express-style parameters and un-named parameters with a prefix\n// and optional suffixes. Matches appear as:\n//\n// \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\", undefined]\n// \"/route(\\\\d+)\"  => [undefined, undefined, undefined, \"\\d+\", undefined, undefined]\n// \"/*\"            => [\"/\", undefined, undefined, undefined, undefined, \"*\"]\n'([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?|(\\\\*))'].join('|'), 'g');\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param  {string}  str\n * @param  {Object=} options\n * @return {!Array}\n */\nfunction parse(str, options) {\n  var tokens = [];\n  var key = 0;\n  var index = 0;\n  var path = '';\n  var defaultDelimiter = options && options.delimiter || '/';\n  var res;\n  while ((res = PATH_REGEXP.exec(str)) != null) {\n    var m = res[0];\n    var escaped = res[1];\n    var offset = res.index;\n    path += str.slice(index, offset);\n    index = offset + m.length;\n\n    // Ignore already escaped sequences.\n    if (escaped) {\n      path += escaped[1];\n      continue;\n    }\n    var next = str[index];\n    var prefix = res[2];\n    var name = res[3];\n    var capture = res[4];\n    var group = res[5];\n    var modifier = res[6];\n    var asterisk = res[7];\n\n    // Push the current path onto the tokens.\n    if (path) {\n      tokens.push(path);\n      path = '';\n    }\n    var partial = prefix != null && next != null && next !== prefix;\n    var repeat = modifier === '+' || modifier === '*';\n    var optional = modifier === '?' || modifier === '*';\n    var delimiter = res[2] || defaultDelimiter;\n    var pattern = capture || group;\n    tokens.push({\n      name: name || key++,\n      prefix: prefix || '',\n      delimiter: delimiter,\n      optional: optional,\n      repeat: repeat,\n      partial: partial,\n      asterisk: !!asterisk,\n      pattern: pattern ? escapeGroup(pattern) : asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?'\n    });\n  }\n\n  // Match any characters still remaining.\n  if (index < str.length) {\n    path += str.substr(index);\n  }\n\n  // If the path exists, push it onto the end.\n  if (path) {\n    tokens.push(path);\n  }\n  return tokens;\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param  {string}             str\n * @param  {Object=}            options\n * @return {!function(Object=, Object=)}\n */\nfunction compile(str, options) {\n  return tokensToFunction(parse(str, options), options);\n}\n\n/**\n * Prettier encoding of URI path segments.\n *\n * @param  {string}\n * @return {string}\n */\nfunction encodeURIComponentPretty(str) {\n  return encodeURI(str).replace(/[\\/?#]/g, function (c) {\n    return '%' + c.charCodeAt(0).toString(16).toUpperCase();\n  });\n}\n\n/**\n * Encode the asterisk parameter. Similar to `pretty`, but allows slashes.\n *\n * @param  {string}\n * @return {string}\n */\nfunction encodeAsterisk(str) {\n  return encodeURI(str).replace(/[?#]/g, function (c) {\n    return '%' + c.charCodeAt(0).toString(16).toUpperCase();\n  });\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction(tokens, options) {\n  // Compile all the tokens into regexps.\n  var matches = new Array(tokens.length);\n\n  // Compile all the patterns before compilation.\n  for (var i = 0; i < tokens.length; i++) {\n    if (typeof tokens[i] === 'object') {\n      matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options));\n    }\n  }\n  return function (obj, opts) {\n    var path = '';\n    var data = obj || {};\n    var options = opts || {};\n    var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent;\n    for (var i = 0; i < tokens.length; i++) {\n      var token = tokens[i];\n      if (typeof token === 'string') {\n        path += token;\n        continue;\n      }\n      var value = data[token.name];\n      var segment;\n      if (value == null) {\n        if (token.optional) {\n          // Prepend partial segment prefixes.\n          if (token.partial) {\n            path += token.prefix;\n          }\n          continue;\n        } else {\n          throw new TypeError('Expected \"' + token.name + '\" to be defined');\n        }\n      }\n      if (isarray(value)) {\n        if (!token.repeat) {\n          throw new TypeError('Expected \"' + token.name + '\" to not repeat, but received `' + JSON.stringify(value) + '`');\n        }\n        if (value.length === 0) {\n          if (token.optional) {\n            continue;\n          } else {\n            throw new TypeError('Expected \"' + token.name + '\" to not be empty');\n          }\n        }\n        for (var j = 0; j < value.length; j++) {\n          segment = encode(value[j]);\n          if (!matches[i].test(segment)) {\n            throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\", but received `' + JSON.stringify(segment) + '`');\n          }\n          path += (j === 0 ? token.prefix : token.delimiter) + segment;\n        }\n        continue;\n      }\n      segment = token.asterisk ? encodeAsterisk(value) : encode(value);\n      if (!matches[i].test(segment)) {\n        throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but received \"' + segment + '\"');\n      }\n      path += token.prefix + segment;\n    }\n    return path;\n  };\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param  {string} str\n * @return {string}\n */\nfunction escapeString(str) {\n  return str.replace(/([.+*?=^!:${}()[\\]|\\/\\\\])/g, '\\\\$1');\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param  {string} group\n * @return {string}\n */\nfunction escapeGroup(group) {\n  return group.replace(/([=!:$\\/()])/g, '\\\\$1');\n}\n\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param  {!RegExp} re\n * @param  {Array}   keys\n * @return {!RegExp}\n */\nfunction attachKeys(re, keys) {\n  re.keys = keys;\n  return re;\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param  {Object} options\n * @return {string}\n */\nfunction flags(options) {\n  return options && options.sensitive ? '' : 'i';\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param  {!RegExp} path\n * @param  {!Array}  keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp(path, keys) {\n  // Use a negative lookahead to match only capturing groups.\n  var groups = path.source.match(/\\((?!\\?)/g);\n  if (groups) {\n    for (var i = 0; i < groups.length; i++) {\n      keys.push({\n        name: i,\n        prefix: null,\n        delimiter: null,\n        optional: false,\n        repeat: false,\n        partial: false,\n        asterisk: false,\n        pattern: null\n      });\n    }\n  }\n  return attachKeys(path, keys);\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param  {!Array}  path\n * @param  {Array}   keys\n * @param  {!Object} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp(path, keys, options) {\n  var parts = [];\n  for (var i = 0; i < path.length; i++) {\n    parts.push(pathToRegexp(path[i], keys, options).source);\n  }\n  var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));\n  return attachKeys(regexp, keys);\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param  {string}  path\n * @param  {!Array}  keys\n * @param  {!Object} options\n * @return {!RegExp}\n */\nfunction stringToRegexp(path, keys, options) {\n  return tokensToRegExp(parse(path, options), keys, options);\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param  {!Array}          tokens\n * @param  {(Array|Object)=} keys\n * @param  {Object=}         options\n * @return {!RegExp}\n */\nfunction tokensToRegExp(tokens, keys, options) {\n  if (!isarray(keys)) {\n    options = /** @type {!Object} */keys || options;\n    keys = [];\n  }\n  options = options || {};\n  var strict = options.strict;\n  var end = options.end !== false;\n  var route = '';\n\n  // Iterate over the tokens and create our regexp string.\n  for (var i = 0; i < tokens.length; i++) {\n    var token = tokens[i];\n    if (typeof token === 'string') {\n      route += escapeString(token);\n    } else {\n      var prefix = escapeString(token.prefix);\n      var capture = '(?:' + token.pattern + ')';\n      keys.push(token);\n      if (token.repeat) {\n        capture += '(?:' + prefix + capture + ')*';\n      }\n      if (token.optional) {\n        if (!token.partial) {\n          capture = '(?:' + prefix + '(' + capture + '))?';\n        } else {\n          capture = prefix + '(' + capture + ')?';\n        }\n      } else {\n        capture = prefix + '(' + capture + ')';\n      }\n      route += capture;\n    }\n  }\n  var delimiter = escapeString(options.delimiter || '/');\n  var endsWithDelimiter = route.slice(-delimiter.length) === delimiter;\n\n  // In non-strict mode we allow a slash at the end of match. If the path to\n  // match already ends with a slash, we remove it for consistency. The slash\n  // is valid at the end of a path match, not in the middle. This is important\n  // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n  if (!strict) {\n    route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?';\n  }\n  if (end) {\n    route += '$';\n  } else {\n    // In non-ending mode, we need the capturing groups to match as much as\n    // possible by using a positive lookahead to the end or next path segment.\n    route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)';\n  }\n  return attachKeys(new RegExp('^' + route, flags(options)), keys);\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param  {(string|RegExp|Array)} path\n * @param  {(Array|Object)=}       keys\n * @param  {Object=}               options\n * @return {!RegExp}\n */\nfunction pathToRegexp(path, keys, options) {\n  if (!isarray(keys)) {\n    options = /** @type {!Object} */keys || options;\n    keys = [];\n  }\n  options = options || {};\n  if (path instanceof RegExp) {\n    return regexpToRegexp(path, /** @type {!Array} */keys);\n  }\n  if (isarray(path)) {\n    return arrayToRegexp( /** @type {!Array} */path, /** @type {!Array} */keys, options);\n  }\n  return stringToRegexp( /** @type {string} */path, /** @type {!Array} */keys, options);\n}\npathToRegexp_1.parse = parse_1;\npathToRegexp_1.compile = compile_1;\npathToRegexp_1.tokensToFunction = tokensToFunction_1;\npathToRegexp_1.tokensToRegExp = tokensToRegExp_1;\n\n/*  */\n\n// $flow-disable-line\nvar regexpCompileCache = Object.create(null);\nfunction fillParams(path, params, routeMsg) {\n  params = params || {};\n  try {\n    var filler = regexpCompileCache[path] || (regexpCompileCache[path] = pathToRegexp_1.compile(path));\n\n    // Fix #2505 resolving asterisk routes { name: 'not-found', params: { pathMatch: '/not-found' }}\n    // and fix #3106 so that you can work with location descriptor object having params.pathMatch equal to empty string\n    if (typeof params.pathMatch === 'string') {\n      params[0] = params.pathMatch;\n    }\n    return filler(params, {\n      pretty: true\n    });\n  } catch (e) {\n    if (true) {\n      // Fix #3072 no warn if `pathMatch` is string\n      warn(typeof params.pathMatch === 'string', \"missing param for \" + routeMsg + \": \" + e.message);\n    }\n    return '';\n  } finally {\n    // delete the 0 if it was added\n    delete params[0];\n  }\n}\n\n/*  */\n\nfunction normalizeLocation(raw, current, append, router) {\n  var next = typeof raw === 'string' ? {\n    path: raw\n  } : raw;\n  // named target\n  if (next._normalized) {\n    return next;\n  } else if (next.name) {\n    next = extend({}, raw);\n    var params = next.params;\n    if (params && typeof params === 'object') {\n      next.params = extend({}, params);\n    }\n    return next;\n  }\n\n  // relative params\n  if (!next.path && next.params && current) {\n    next = extend({}, next);\n    next._normalized = true;\n    var params$1 = extend(extend({}, current.params), next.params);\n    if (current.name) {\n      next.name = current.name;\n      next.params = params$1;\n    } else if (current.matched.length) {\n      var rawPath = current.matched[current.matched.length - 1].path;\n      next.path = fillParams(rawPath, params$1, \"path \" + current.path);\n    } else if (true) {\n      warn(false, \"relative params navigation requires a current route.\");\n    }\n    return next;\n  }\n  var parsedPath = parsePath(next.path || '');\n  var basePath = current && current.path || '/';\n  var path = parsedPath.path ? resolvePath(parsedPath.path, basePath, append || next.append) : basePath;\n  var query = resolveQuery(parsedPath.query, next.query, router && router.options.parseQuery);\n  var hash = next.hash || parsedPath.hash;\n  if (hash && hash.charAt(0) !== '#') {\n    hash = \"#\" + hash;\n  }\n  return {\n    _normalized: true,\n    path: path,\n    query: query,\n    hash: hash\n  };\n}\n\n/*  */\n\n// work around weird flow bug\nvar toTypes = [String, Object];\nvar eventTypes = [String, Array];\nvar noop = function noop() {};\nvar warnedCustomSlot;\nvar warnedTagProp;\nvar warnedEventProp;\nvar Link = {\n  name: 'RouterLink',\n  props: {\n    to: {\n      type: toTypes,\n      required: true\n    },\n    tag: {\n      type: String,\n      default: 'a'\n    },\n    custom: Boolean,\n    exact: Boolean,\n    exactPath: Boolean,\n    append: Boolean,\n    replace: Boolean,\n    activeClass: String,\n    exactActiveClass: String,\n    ariaCurrentValue: {\n      type: String,\n      default: 'page'\n    },\n    event: {\n      type: eventTypes,\n      default: 'click'\n    }\n  },\n  render: function render(h) {\n    var this$1$1 = this;\n    var router = this.$router;\n    var current = this.$route;\n    var ref = router.resolve(this.to, current, this.append);\n    var location = ref.location;\n    var route = ref.route;\n    var href = ref.href;\n    var classes = {};\n    var globalActiveClass = router.options.linkActiveClass;\n    var globalExactActiveClass = router.options.linkExactActiveClass;\n    // Support global empty active class\n    var activeClassFallback = globalActiveClass == null ? 'router-link-active' : globalActiveClass;\n    var exactActiveClassFallback = globalExactActiveClass == null ? 'router-link-exact-active' : globalExactActiveClass;\n    var activeClass = this.activeClass == null ? activeClassFallback : this.activeClass;\n    var exactActiveClass = this.exactActiveClass == null ? exactActiveClassFallback : this.exactActiveClass;\n    var compareTarget = route.redirectedFrom ? createRoute(null, normalizeLocation(route.redirectedFrom), null, router) : route;\n    classes[exactActiveClass] = isSameRoute(current, compareTarget, this.exactPath);\n    classes[activeClass] = this.exact || this.exactPath ? classes[exactActiveClass] : isIncludedRoute(current, compareTarget);\n    var ariaCurrentValue = classes[exactActiveClass] ? this.ariaCurrentValue : null;\n    var handler = function handler(e) {\n      if (guardEvent(e)) {\n        if (this$1$1.replace) {\n          router.replace(location, noop);\n        } else {\n          router.push(location, noop);\n        }\n      }\n    };\n    var on = {\n      click: guardEvent\n    };\n    if (Array.isArray(this.event)) {\n      this.event.forEach(function (e) {\n        on[e] = handler;\n      });\n    } else {\n      on[this.event] = handler;\n    }\n    var data = {\n      class: classes\n    };\n    var scopedSlot = !this.$scopedSlots.$hasNormal && this.$scopedSlots.default && this.$scopedSlots.default({\n      href: href,\n      route: route,\n      navigate: handler,\n      isActive: classes[activeClass],\n      isExactActive: classes[exactActiveClass]\n    });\n    if (scopedSlot) {\n      if ( true && !this.custom) {\n        !warnedCustomSlot && warn(false, 'In Vue Router 4, the v-slot API will by default wrap its content with an <a> element. Use the custom prop to remove this warning:\\n<router-link v-slot=\"{ navigate, href }\" custom></router-link>\\n');\n        warnedCustomSlot = true;\n      }\n      if (scopedSlot.length === 1) {\n        return scopedSlot[0];\n      } else if (scopedSlot.length > 1 || !scopedSlot.length) {\n        if (true) {\n          warn(false, \"<router-link> with to=\\\"\" + this.to + \"\\\" is trying to use a scoped slot but it didn't provide exactly one child. Wrapping the content with a span element.\");\n        }\n        return scopedSlot.length === 0 ? h() : h('span', {}, scopedSlot);\n      }\n    }\n    if (true) {\n      if ('tag' in this.$options.propsData && !warnedTagProp) {\n        warn(false, \"<router-link>'s tag prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\");\n        warnedTagProp = true;\n      }\n      if ('event' in this.$options.propsData && !warnedEventProp) {\n        warn(false, \"<router-link>'s event prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.\");\n        warnedEventProp = true;\n      }\n    }\n    if (this.tag === 'a') {\n      data.on = on;\n      data.attrs = {\n        href: href,\n        'aria-current': ariaCurrentValue\n      };\n    } else {\n      // find the first <a> child and apply listener and href\n      var a = findAnchor(this.$slots.default);\n      if (a) {\n        // in case the <a> is a static node\n        a.isStatic = false;\n        var aData = a.data = extend({}, a.data);\n        aData.on = aData.on || {};\n        // transform existing events in both objects into arrays so we can push later\n        for (var event in aData.on) {\n          var handler$1 = aData.on[event];\n          if (event in on) {\n            aData.on[event] = Array.isArray(handler$1) ? handler$1 : [handler$1];\n          }\n        }\n        // append new listeners for router-link\n        for (var event$1 in on) {\n          if (event$1 in aData.on) {\n            // on[event] is always a function\n            aData.on[event$1].push(on[event$1]);\n          } else {\n            aData.on[event$1] = handler;\n          }\n        }\n        var aAttrs = a.data.attrs = extend({}, a.data.attrs);\n        aAttrs.href = href;\n        aAttrs['aria-current'] = ariaCurrentValue;\n      } else {\n        // doesn't have <a> child, apply listener to self\n        data.on = on;\n      }\n    }\n    return h(this.tag, data, this.$slots.default);\n  }\n};\nfunction guardEvent(e) {\n  // don't redirect with control keys\n  if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) {\n    return;\n  }\n  // don't redirect when preventDefault called\n  if (e.defaultPrevented) {\n    return;\n  }\n  // don't redirect on right click\n  if (e.button !== undefined && e.button !== 0) {\n    return;\n  }\n  // don't redirect if `target=\"_blank\"`\n  if (e.currentTarget && e.currentTarget.getAttribute) {\n    var target = e.currentTarget.getAttribute('target');\n    if (/\\b_blank\\b/i.test(target)) {\n      return;\n    }\n  }\n  // this may be a Weex event which doesn't have this method\n  if (e.preventDefault) {\n    e.preventDefault();\n  }\n  return true;\n}\nfunction findAnchor(children) {\n  if (children) {\n    var child;\n    for (var i = 0; i < children.length; i++) {\n      child = children[i];\n      if (child.tag === 'a') {\n        return child;\n      }\n      if (child.children && (child = findAnchor(child.children))) {\n        return child;\n      }\n    }\n  }\n}\nvar _Vue;\nfunction install(Vue) {\n  if (install.installed && _Vue === Vue) {\n    return;\n  }\n  install.installed = true;\n  _Vue = Vue;\n  var isDef = function isDef(v) {\n    return v !== undefined;\n  };\n  var registerInstance = function registerInstance(vm, callVal) {\n    var i = vm.$options._parentVnode;\n    if (isDef(i) && isDef(i = i.data) && isDef(i = i.registerRouteInstance)) {\n      i(vm, callVal);\n    }\n  };\n  Vue.mixin({\n    beforeCreate: function beforeCreate() {\n      if (isDef(this.$options.router)) {\n        this._routerRoot = this;\n        this._router = this.$options.router;\n        this._router.init(this);\n        Vue.util.defineReactive(this, '_route', this._router.history.current);\n      } else {\n        this._routerRoot = this.$parent && this.$parent._routerRoot || this;\n      }\n      registerInstance(this, this);\n    },\n    destroyed: function destroyed() {\n      registerInstance(this);\n    }\n  });\n  Object.defineProperty(Vue.prototype, '$router', {\n    get: function get() {\n      return this._routerRoot._router;\n    }\n  });\n  Object.defineProperty(Vue.prototype, '$route', {\n    get: function get() {\n      return this._routerRoot._route;\n    }\n  });\n  Vue.component('RouterView', View);\n  Vue.component('RouterLink', Link);\n  var strats = Vue.config.optionMergeStrategies;\n  // use the same hook merging strategy for route hooks\n  strats.beforeRouteEnter = strats.beforeRouteLeave = strats.beforeRouteUpdate = strats.created;\n}\n\n/*  */\n\nvar inBrowser = typeof window !== 'undefined';\n\n/*  */\n\nfunction createRouteMap(routes, oldPathList, oldPathMap, oldNameMap, parentRoute) {\n  // the path list is used to control path matching priority\n  var pathList = oldPathList || [];\n  // $flow-disable-line\n  var pathMap = oldPathMap || Object.create(null);\n  // $flow-disable-line\n  var nameMap = oldNameMap || Object.create(null);\n  routes.forEach(function (route) {\n    addRouteRecord(pathList, pathMap, nameMap, route, parentRoute);\n  });\n\n  // ensure wildcard routes are always at the end\n  for (var i = 0, l = pathList.length; i < l; i++) {\n    if (pathList[i] === '*') {\n      pathList.push(pathList.splice(i, 1)[0]);\n      l--;\n      i--;\n    }\n  }\n  if (false) { var pathNames, found; }\n  return {\n    pathList: pathList,\n    pathMap: pathMap,\n    nameMap: nameMap\n  };\n}\nfunction addRouteRecord(pathList, pathMap, nameMap, route, parent, matchAs) {\n  var path = route.path;\n  var name = route.name;\n  if (true) {\n    assert(path != null, \"\\\"path\\\" is required in a route configuration.\");\n    assert(typeof route.component !== 'string', \"route config \\\"component\\\" for path: \" + String(path || name) + \" cannot be a \" + \"string id. Use an actual component instead.\");\n    warn(\n    // eslint-disable-next-line no-control-regex\n    !/[^\\u0000-\\u007F]+/.test(path), \"Route with path \\\"\" + path + \"\\\" contains unencoded characters, make sure \" + \"your path is correctly encoded before passing it to the router. Use \" + \"encodeURI to encode static segments of your path.\");\n  }\n  var pathToRegexpOptions = route.pathToRegexpOptions || {};\n  var normalizedPath = normalizePath(path, parent, pathToRegexpOptions.strict);\n  if (typeof route.caseSensitive === 'boolean') {\n    pathToRegexpOptions.sensitive = route.caseSensitive;\n  }\n  var record = {\n    path: normalizedPath,\n    regex: compileRouteRegex(normalizedPath, pathToRegexpOptions),\n    components: route.components || {\n      default: route.component\n    },\n    alias: route.alias ? typeof route.alias === 'string' ? [route.alias] : route.alias : [],\n    instances: {},\n    enteredCbs: {},\n    name: name,\n    parent: parent,\n    matchAs: matchAs,\n    redirect: route.redirect,\n    beforeEnter: route.beforeEnter,\n    meta: route.meta || {},\n    props: route.props == null ? {} : route.components ? route.props : {\n      default: route.props\n    }\n  };\n  if (route.children) {\n    // Warn if route is named, does not redirect and has a default child route.\n    // If users navigate to this route by name, the default child will\n    // not be rendered (GH Issue #629)\n    if (true) {\n      if (route.name && !route.redirect && route.children.some(function (child) {\n        return /^\\/?$/.test(child.path);\n      })) {\n        warn(false, \"Named Route '\" + route.name + \"' has a default child route. \" + \"When navigating to this named route (:to=\\\"{name: '\" + route.name + \"'}\\\"), \" + \"the default child route will not be rendered. Remove the name from \" + \"this route and use the name of the default child route for named \" + \"links instead.\");\n      }\n    }\n    route.children.forEach(function (child) {\n      var childMatchAs = matchAs ? cleanPath(matchAs + \"/\" + child.path) : undefined;\n      addRouteRecord(pathList, pathMap, nameMap, child, record, childMatchAs);\n    });\n  }\n  if (!pathMap[record.path]) {\n    pathList.push(record.path);\n    pathMap[record.path] = record;\n  }\n  if (route.alias !== undefined) {\n    var aliases = Array.isArray(route.alias) ? route.alias : [route.alias];\n    for (var i = 0; i < aliases.length; ++i) {\n      var alias = aliases[i];\n      if ( true && alias === path) {\n        warn(false, \"Found an alias with the same value as the path: \\\"\" + path + \"\\\". You have to remove that alias. It will be ignored in development.\");\n        // skip in dev to make it work\n        continue;\n      }\n      var aliasRoute = {\n        path: alias,\n        children: route.children\n      };\n      addRouteRecord(pathList, pathMap, nameMap, aliasRoute, parent, record.path || '/' // matchAs\n      );\n    }\n  }\n\n  if (name) {\n    if (!nameMap[name]) {\n      nameMap[name] = record;\n    } else if ( true && !matchAs) {\n      warn(false, \"Duplicate named routes definition: \" + \"{ name: \\\"\" + name + \"\\\", path: \\\"\" + record.path + \"\\\" }\");\n    }\n  }\n}\nfunction compileRouteRegex(path, pathToRegexpOptions) {\n  var regex = pathToRegexp_1(path, [], pathToRegexpOptions);\n  if (true) {\n    var keys = Object.create(null);\n    regex.keys.forEach(function (key) {\n      warn(!keys[key.name], \"Duplicate param keys in route with path: \\\"\" + path + \"\\\"\");\n      keys[key.name] = true;\n    });\n  }\n  return regex;\n}\nfunction normalizePath(path, parent, strict) {\n  if (!strict) {\n    path = path.replace(/\\/$/, '');\n  }\n  if (path[0] === '/') {\n    return path;\n  }\n  if (parent == null) {\n    return path;\n  }\n  return cleanPath(parent.path + \"/\" + path);\n}\n\n/*  */\n\nfunction createMatcher(routes, router) {\n  var ref = createRouteMap(routes);\n  var pathList = ref.pathList;\n  var pathMap = ref.pathMap;\n  var nameMap = ref.nameMap;\n  function addRoutes(routes) {\n    createRouteMap(routes, pathList, pathMap, nameMap);\n  }\n  function addRoute(parentOrRoute, route) {\n    var parent = typeof parentOrRoute !== 'object' ? nameMap[parentOrRoute] : undefined;\n    // $flow-disable-line\n    createRouteMap([route || parentOrRoute], pathList, pathMap, nameMap, parent);\n\n    // add aliases of parent\n    if (parent && parent.alias.length) {\n      createRouteMap(\n      // $flow-disable-line route is defined if parent is\n      parent.alias.map(function (alias) {\n        return {\n          path: alias,\n          children: [route]\n        };\n      }), pathList, pathMap, nameMap, parent);\n    }\n  }\n  function getRoutes() {\n    return pathList.map(function (path) {\n      return pathMap[path];\n    });\n  }\n  function match(raw, currentRoute, redirectedFrom) {\n    var location = normalizeLocation(raw, currentRoute, false, router);\n    var name = location.name;\n    if (name) {\n      var record = nameMap[name];\n      if (true) {\n        warn(record, \"Route with name '\" + name + \"' does not exist\");\n      }\n      if (!record) {\n        return _createRoute(null, location);\n      }\n      var paramNames = record.regex.keys.filter(function (key) {\n        return !key.optional;\n      }).map(function (key) {\n        return key.name;\n      });\n      if (typeof location.params !== 'object') {\n        location.params = {};\n      }\n      if (currentRoute && typeof currentRoute.params === 'object') {\n        for (var key in currentRoute.params) {\n          if (!(key in location.params) && paramNames.indexOf(key) > -1) {\n            location.params[key] = currentRoute.params[key];\n          }\n        }\n      }\n      location.path = fillParams(record.path, location.params, \"named route \\\"\" + name + \"\\\"\");\n      return _createRoute(record, location, redirectedFrom);\n    } else if (location.path) {\n      location.params = {};\n      for (var i = 0; i < pathList.length; i++) {\n        var path = pathList[i];\n        var record$1 = pathMap[path];\n        if (matchRoute(record$1.regex, location.path, location.params)) {\n          return _createRoute(record$1, location, redirectedFrom);\n        }\n      }\n    }\n    // no match\n    return _createRoute(null, location);\n  }\n  function redirect(record, location) {\n    var originalRedirect = record.redirect;\n    var redirect = typeof originalRedirect === 'function' ? originalRedirect(createRoute(record, location, null, router)) : originalRedirect;\n    if (typeof redirect === 'string') {\n      redirect = {\n        path: redirect\n      };\n    }\n    if (!redirect || typeof redirect !== 'object') {\n      if (true) {\n        warn(false, \"invalid redirect option: \" + JSON.stringify(redirect));\n      }\n      return _createRoute(null, location);\n    }\n    var re = redirect;\n    var name = re.name;\n    var path = re.path;\n    var query = location.query;\n    var hash = location.hash;\n    var params = location.params;\n    query = re.hasOwnProperty('query') ? re.query : query;\n    hash = re.hasOwnProperty('hash') ? re.hash : hash;\n    params = re.hasOwnProperty('params') ? re.params : params;\n    if (name) {\n      // resolved named direct\n      var targetRecord = nameMap[name];\n      if (true) {\n        assert(targetRecord, \"redirect failed: named route \\\"\" + name + \"\\\" not found.\");\n      }\n      return match({\n        _normalized: true,\n        name: name,\n        query: query,\n        hash: hash,\n        params: params\n      }, undefined, location);\n    } else if (path) {\n      // 1. resolve relative redirect\n      var rawPath = resolveRecordPath(path, record);\n      // 2. resolve params\n      var resolvedPath = fillParams(rawPath, params, \"redirect route with path \\\"\" + rawPath + \"\\\"\");\n      // 3. rematch with existing query and hash\n      return match({\n        _normalized: true,\n        path: resolvedPath,\n        query: query,\n        hash: hash\n      }, undefined, location);\n    } else {\n      if (true) {\n        warn(false, \"invalid redirect option: \" + JSON.stringify(redirect));\n      }\n      return _createRoute(null, location);\n    }\n  }\n  function alias(record, location, matchAs) {\n    var aliasedPath = fillParams(matchAs, location.params, \"aliased route with path \\\"\" + matchAs + \"\\\"\");\n    var aliasedMatch = match({\n      _normalized: true,\n      path: aliasedPath\n    });\n    if (aliasedMatch) {\n      var matched = aliasedMatch.matched;\n      var aliasedRecord = matched[matched.length - 1];\n      location.params = aliasedMatch.params;\n      return _createRoute(aliasedRecord, location);\n    }\n    return _createRoute(null, location);\n  }\n  function _createRoute(record, location, redirectedFrom) {\n    if (record && record.redirect) {\n      return redirect(record, redirectedFrom || location);\n    }\n    if (record && record.matchAs) {\n      return alias(record, location, record.matchAs);\n    }\n    return createRoute(record, location, redirectedFrom, router);\n  }\n  return {\n    match: match,\n    addRoute: addRoute,\n    getRoutes: getRoutes,\n    addRoutes: addRoutes\n  };\n}\nfunction matchRoute(regex, path, params) {\n  var m = path.match(regex);\n  if (!m) {\n    return false;\n  } else if (!params) {\n    return true;\n  }\n  for (var i = 1, len = m.length; i < len; ++i) {\n    var key = regex.keys[i - 1];\n    if (key) {\n      // Fix #1994: using * with props: true generates a param named 0\n      params[key.name || 'pathMatch'] = typeof m[i] === 'string' ? decode(m[i]) : m[i];\n    }\n  }\n  return true;\n}\nfunction resolveRecordPath(path, record) {\n  return resolvePath(path, record.parent ? record.parent.path : '/', true);\n}\n\n/*  */\n\n// use User Timing api (if present) for more accurate key precision\nvar Time = inBrowser && window.performance && window.performance.now ? window.performance : Date;\nfunction genStateKey() {\n  return Time.now().toFixed(3);\n}\nvar _key = genStateKey();\nfunction getStateKey() {\n  return _key;\n}\nfunction setStateKey(key) {\n  return _key = key;\n}\n\n/*  */\n\nvar positionStore = Object.create(null);\nfunction setupScroll() {\n  // Prevent browser scroll behavior on History popstate\n  if ('scrollRestoration' in window.history) {\n    window.history.scrollRestoration = 'manual';\n  }\n  // Fix for #1585 for Firefox\n  // Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678\n  // Fix for #2774 Support for apps loaded from Windows file shares not mapped to network drives: replaced location.origin with\n  // window.location.protocol + '//' + window.location.host\n  // location.host contains the port and location.hostname doesn't\n  var protocolAndPath = window.location.protocol + '//' + window.location.host;\n  var absolutePath = window.location.href.replace(protocolAndPath, '');\n  // preserve existing history state as it could be overriden by the user\n  var stateCopy = extend({}, window.history.state);\n  stateCopy.key = getStateKey();\n  window.history.replaceState(stateCopy, '', absolutePath);\n  window.addEventListener('popstate', handlePopState);\n  return function () {\n    window.removeEventListener('popstate', handlePopState);\n  };\n}\nfunction handleScroll(router, to, from, isPop) {\n  if (!router.app) {\n    return;\n  }\n  var behavior = router.options.scrollBehavior;\n  if (!behavior) {\n    return;\n  }\n  if (true) {\n    assert(typeof behavior === 'function', \"scrollBehavior must be a function\");\n  }\n\n  // wait until re-render finishes before scrolling\n  router.app.$nextTick(function () {\n    var position = getScrollPosition();\n    var shouldScroll = behavior.call(router, to, from, isPop ? position : null);\n    if (!shouldScroll) {\n      return;\n    }\n    if (typeof shouldScroll.then === 'function') {\n      shouldScroll.then(function (shouldScroll) {\n        scrollToPosition(shouldScroll, position);\n      }).catch(function (err) {\n        if (true) {\n          assert(false, err.toString());\n        }\n      });\n    } else {\n      scrollToPosition(shouldScroll, position);\n    }\n  });\n}\nfunction saveScrollPosition() {\n  var key = getStateKey();\n  if (key) {\n    positionStore[key] = {\n      x: window.pageXOffset,\n      y: window.pageYOffset\n    };\n  }\n}\nfunction handlePopState(e) {\n  saveScrollPosition();\n  if (e.state && e.state.key) {\n    setStateKey(e.state.key);\n  }\n}\nfunction getScrollPosition() {\n  var key = getStateKey();\n  if (key) {\n    return positionStore[key];\n  }\n}\nfunction getElementPosition(el, offset) {\n  var docEl = document.documentElement;\n  var docRect = docEl.getBoundingClientRect();\n  var elRect = el.getBoundingClientRect();\n  return {\n    x: elRect.left - docRect.left - offset.x,\n    y: elRect.top - docRect.top - offset.y\n  };\n}\nfunction isValidPosition(obj) {\n  return isNumber(obj.x) || isNumber(obj.y);\n}\nfunction normalizePosition(obj) {\n  return {\n    x: isNumber(obj.x) ? obj.x : window.pageXOffset,\n    y: isNumber(obj.y) ? obj.y : window.pageYOffset\n  };\n}\nfunction normalizeOffset(obj) {\n  return {\n    x: isNumber(obj.x) ? obj.x : 0,\n    y: isNumber(obj.y) ? obj.y : 0\n  };\n}\nfunction isNumber(v) {\n  return typeof v === 'number';\n}\nvar hashStartsWithNumberRE = /^#\\d/;\nfunction scrollToPosition(shouldScroll, position) {\n  var isObject = typeof shouldScroll === 'object';\n  if (isObject && typeof shouldScroll.selector === 'string') {\n    // getElementById would still fail if the selector contains a more complicated query like #main[data-attr]\n    // but at the same time, it doesn't make much sense to select an element with an id and an extra selector\n    var el = hashStartsWithNumberRE.test(shouldScroll.selector) // $flow-disable-line\n    ? document.getElementById(shouldScroll.selector.slice(1)) // $flow-disable-line\n    : document.querySelector(shouldScroll.selector);\n    if (el) {\n      var offset = shouldScroll.offset && typeof shouldScroll.offset === 'object' ? shouldScroll.offset : {};\n      offset = normalizeOffset(offset);\n      position = getElementPosition(el, offset);\n    } else if (isValidPosition(shouldScroll)) {\n      position = normalizePosition(shouldScroll);\n    }\n  } else if (isObject && isValidPosition(shouldScroll)) {\n    position = normalizePosition(shouldScroll);\n  }\n  if (position) {\n    // $flow-disable-line\n    if ('scrollBehavior' in document.documentElement.style) {\n      window.scrollTo({\n        left: position.x,\n        top: position.y,\n        // $flow-disable-line\n        behavior: shouldScroll.behavior\n      });\n    } else {\n      window.scrollTo(position.x, position.y);\n    }\n  }\n}\n\n/*  */\n\nvar supportsPushState = inBrowser && function () {\n  var ua = window.navigator.userAgent;\n  if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) {\n    return false;\n  }\n  return window.history && typeof window.history.pushState === 'function';\n}();\nfunction pushState(url, replace) {\n  saveScrollPosition();\n  // try...catch the pushState call to get around Safari\n  // DOM Exception 18 where it limits to 100 pushState calls\n  var history = window.history;\n  try {\n    if (replace) {\n      // preserve existing history state as it could be overriden by the user\n      var stateCopy = extend({}, history.state);\n      stateCopy.key = getStateKey();\n      history.replaceState(stateCopy, '', url);\n    } else {\n      history.pushState({\n        key: setStateKey(genStateKey())\n      }, '', url);\n    }\n  } catch (e) {\n    window.location[replace ? 'replace' : 'assign'](url);\n  }\n}\nfunction replaceState(url) {\n  pushState(url, true);\n}\n\n// When changing thing, also edit router.d.ts\nvar NavigationFailureType = {\n  redirected: 2,\n  aborted: 4,\n  cancelled: 8,\n  duplicated: 16\n};\nfunction createNavigationRedirectedError(from, to) {\n  return createRouterError(from, to, NavigationFailureType.redirected, \"Redirected when going from \\\"\" + from.fullPath + \"\\\" to \\\"\" + stringifyRoute(to) + \"\\\" via a navigation guard.\");\n}\nfunction createNavigationDuplicatedError(from, to) {\n  var error = createRouterError(from, to, NavigationFailureType.duplicated, \"Avoided redundant navigation to current location: \\\"\" + from.fullPath + \"\\\".\");\n  // backwards compatible with the first introduction of Errors\n  error.name = 'NavigationDuplicated';\n  return error;\n}\nfunction createNavigationCancelledError(from, to) {\n  return createRouterError(from, to, NavigationFailureType.cancelled, \"Navigation cancelled from \\\"\" + from.fullPath + \"\\\" to \\\"\" + to.fullPath + \"\\\" with a new navigation.\");\n}\nfunction createNavigationAbortedError(from, to) {\n  return createRouterError(from, to, NavigationFailureType.aborted, \"Navigation aborted from \\\"\" + from.fullPath + \"\\\" to \\\"\" + to.fullPath + \"\\\" via a navigation guard.\");\n}\nfunction createRouterError(from, to, type, message) {\n  var error = new Error(message);\n  error._isRouter = true;\n  error.from = from;\n  error.to = to;\n  error.type = type;\n  return error;\n}\nvar propertiesToLog = ['params', 'query', 'hash'];\nfunction stringifyRoute(to) {\n  if (typeof to === 'string') {\n    return to;\n  }\n  if ('path' in to) {\n    return to.path;\n  }\n  var location = {};\n  propertiesToLog.forEach(function (key) {\n    if (key in to) {\n      location[key] = to[key];\n    }\n  });\n  return JSON.stringify(location, null, 2);\n}\nfunction isError(err) {\n  return Object.prototype.toString.call(err).indexOf('Error') > -1;\n}\nfunction isNavigationFailure(err, errorType) {\n  return isError(err) && err._isRouter && (errorType == null || err.type === errorType);\n}\n\n/*  */\n\nfunction runQueue(queue, fn, cb) {\n  var step = function step(index) {\n    if (index >= queue.length) {\n      cb();\n    } else {\n      if (queue[index]) {\n        fn(queue[index], function () {\n          step(index + 1);\n        });\n      } else {\n        step(index + 1);\n      }\n    }\n  };\n  step(0);\n}\n\n/*  */\n\nfunction resolveAsyncComponents(matched) {\n  return function (to, from, next) {\n    var hasAsync = false;\n    var pending = 0;\n    var error = null;\n    flatMapComponents(matched, function (def, _, match, key) {\n      // if it's a function and doesn't have cid attached,\n      // assume it's an async component resolve function.\n      // we are not using Vue's default async resolving mechanism because\n      // we want to halt the navigation until the incoming component has been\n      // resolved.\n      if (typeof def === 'function' && def.cid === undefined) {\n        hasAsync = true;\n        pending++;\n        var resolve = once(function (resolvedDef) {\n          if (isESModule(resolvedDef)) {\n            resolvedDef = resolvedDef.default;\n          }\n          // save resolved on async factory in case it's used elsewhere\n          def.resolved = typeof resolvedDef === 'function' ? resolvedDef : _Vue.extend(resolvedDef);\n          match.components[key] = resolvedDef;\n          pending--;\n          if (pending <= 0) {\n            next();\n          }\n        });\n        var reject = once(function (reason) {\n          var msg = \"Failed to resolve async component \" + key + \": \" + reason;\n           true && warn(false, msg);\n          if (!error) {\n            error = isError(reason) ? reason : new Error(msg);\n            next(error);\n          }\n        });\n        var res;\n        try {\n          res = def(resolve, reject);\n        } catch (e) {\n          reject(e);\n        }\n        if (res) {\n          if (typeof res.then === 'function') {\n            res.then(resolve, reject);\n          } else {\n            // new syntax in Vue 2.3\n            var comp = res.component;\n            if (comp && typeof comp.then === 'function') {\n              comp.then(resolve, reject);\n            }\n          }\n        }\n      }\n    });\n    if (!hasAsync) {\n      next();\n    }\n  };\n}\nfunction flatMapComponents(matched, fn) {\n  return flatten(matched.map(function (m) {\n    return Object.keys(m.components).map(function (key) {\n      return fn(m.components[key], m.instances[key], m, key);\n    });\n  }));\n}\nfunction flatten(arr) {\n  return Array.prototype.concat.apply([], arr);\n}\nvar hasSymbol = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\nfunction isESModule(obj) {\n  return obj.__esModule || hasSymbol && obj[Symbol.toStringTag] === 'Module';\n}\n\n// in Webpack 2, require.ensure now also returns a Promise\n// so the resolve/reject functions may get called an extra time\n// if the user uses an arrow function shorthand that happens to\n// return that Promise.\nfunction once(fn) {\n  var called = false;\n  return function () {\n    var args = [],\n      len = arguments.length;\n    while (len--) args[len] = arguments[len];\n    if (called) {\n      return;\n    }\n    called = true;\n    return fn.apply(this, args);\n  };\n}\n\n/*  */\n\nvar History = function History(router, base) {\n  this.router = router;\n  this.base = normalizeBase(base);\n  // start with a route object that stands for \"nowhere\"\n  this.current = START;\n  this.pending = null;\n  this.ready = false;\n  this.readyCbs = [];\n  this.readyErrorCbs = [];\n  this.errorCbs = [];\n  this.listeners = [];\n};\nHistory.prototype.listen = function listen(cb) {\n  this.cb = cb;\n};\nHistory.prototype.onReady = function onReady(cb, errorCb) {\n  if (this.ready) {\n    cb();\n  } else {\n    this.readyCbs.push(cb);\n    if (errorCb) {\n      this.readyErrorCbs.push(errorCb);\n    }\n  }\n};\nHistory.prototype.onError = function onError(errorCb) {\n  this.errorCbs.push(errorCb);\n};\nHistory.prototype.transitionTo = function transitionTo(location, onComplete, onAbort) {\n  var this$1$1 = this;\n  var route;\n  // catch redirect option https://github.com/vuejs/vue-router/issues/3201\n  try {\n    route = this.router.match(location, this.current);\n  } catch (e) {\n    this.errorCbs.forEach(function (cb) {\n      cb(e);\n    });\n    // Exception should still be thrown\n    throw e;\n  }\n  var prev = this.current;\n  this.confirmTransition(route, function () {\n    this$1$1.updateRoute(route);\n    onComplete && onComplete(route);\n    this$1$1.ensureURL();\n    this$1$1.router.afterHooks.forEach(function (hook) {\n      hook && hook(route, prev);\n    });\n\n    // fire ready cbs once\n    if (!this$1$1.ready) {\n      this$1$1.ready = true;\n      this$1$1.readyCbs.forEach(function (cb) {\n        cb(route);\n      });\n    }\n  }, function (err) {\n    if (onAbort) {\n      onAbort(err);\n    }\n    if (err && !this$1$1.ready) {\n      // Initial redirection should not mark the history as ready yet\n      // because it's triggered by the redirection instead\n      // https://github.com/vuejs/vue-router/issues/3225\n      // https://github.com/vuejs/vue-router/issues/3331\n      if (!isNavigationFailure(err, NavigationFailureType.redirected) || prev !== START) {\n        this$1$1.ready = true;\n        this$1$1.readyErrorCbs.forEach(function (cb) {\n          cb(err);\n        });\n      }\n    }\n  });\n};\nHistory.prototype.confirmTransition = function confirmTransition(route, onComplete, onAbort) {\n  var this$1$1 = this;\n  var current = this.current;\n  this.pending = route;\n  var abort = function abort(err) {\n    // changed after adding errors with\n    // https://github.com/vuejs/vue-router/pull/3047 before that change,\n    // redirect and aborted navigation would produce an err == null\n    if (!isNavigationFailure(err) && isError(err)) {\n      if (this$1$1.errorCbs.length) {\n        this$1$1.errorCbs.forEach(function (cb) {\n          cb(err);\n        });\n      } else {\n        if (true) {\n          warn(false, 'uncaught error during route navigation:');\n        }\n        console.error(err);\n      }\n    }\n    onAbort && onAbort(err);\n  };\n  var lastRouteIndex = route.matched.length - 1;\n  var lastCurrentIndex = current.matched.length - 1;\n  if (isSameRoute(route, current) &&\n  // in the case the route map has been dynamically appended to\n  lastRouteIndex === lastCurrentIndex && route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]) {\n    this.ensureURL();\n    if (route.hash) {\n      handleScroll(this.router, current, route, false);\n    }\n    return abort(createNavigationDuplicatedError(current, route));\n  }\n  var ref = resolveQueue(this.current.matched, route.matched);\n  var updated = ref.updated;\n  var deactivated = ref.deactivated;\n  var activated = ref.activated;\n  var queue = [].concat(\n  // in-component leave guards\n  extractLeaveGuards(deactivated),\n  // global before hooks\n  this.router.beforeHooks,\n  // in-component update hooks\n  extractUpdateHooks(updated),\n  // in-config enter guards\n  activated.map(function (m) {\n    return m.beforeEnter;\n  }),\n  // async components\n  resolveAsyncComponents(activated));\n  var iterator = function iterator(hook, next) {\n    if (this$1$1.pending !== route) {\n      return abort(createNavigationCancelledError(current, route));\n    }\n    try {\n      hook(route, current, function (to) {\n        if (to === false) {\n          // next(false) -> abort navigation, ensure current URL\n          this$1$1.ensureURL(true);\n          abort(createNavigationAbortedError(current, route));\n        } else if (isError(to)) {\n          this$1$1.ensureURL(true);\n          abort(to);\n        } else if (typeof to === 'string' || typeof to === 'object' && (typeof to.path === 'string' || typeof to.name === 'string')) {\n          // next('/') or next({ path: '/' }) -> redirect\n          abort(createNavigationRedirectedError(current, route));\n          if (typeof to === 'object' && to.replace) {\n            this$1$1.replace(to);\n          } else {\n            this$1$1.push(to);\n          }\n        } else {\n          // confirm transition and pass on the value\n          next(to);\n        }\n      });\n    } catch (e) {\n      abort(e);\n    }\n  };\n  runQueue(queue, iterator, function () {\n    // wait until async components are resolved before\n    // extracting in-component enter guards\n    var enterGuards = extractEnterGuards(activated);\n    var queue = enterGuards.concat(this$1$1.router.resolveHooks);\n    runQueue(queue, iterator, function () {\n      if (this$1$1.pending !== route) {\n        return abort(createNavigationCancelledError(current, route));\n      }\n      this$1$1.pending = null;\n      onComplete(route);\n      if (this$1$1.router.app) {\n        this$1$1.router.app.$nextTick(function () {\n          handleRouteEntered(route);\n        });\n      }\n    });\n  });\n};\nHistory.prototype.updateRoute = function updateRoute(route) {\n  this.current = route;\n  this.cb && this.cb(route);\n};\nHistory.prototype.setupListeners = function setupListeners() {\n  // Default implementation is empty\n};\nHistory.prototype.teardown = function teardown() {\n  // clean up event listeners\n  // https://github.com/vuejs/vue-router/issues/2341\n  this.listeners.forEach(function (cleanupListener) {\n    cleanupListener();\n  });\n  this.listeners = [];\n\n  // reset current history route\n  // https://github.com/vuejs/vue-router/issues/3294\n  this.current = START;\n  this.pending = null;\n};\nfunction normalizeBase(base) {\n  if (!base) {\n    if (inBrowser) {\n      // respect <base> tag\n      var baseEl = document.querySelector('base');\n      base = baseEl && baseEl.getAttribute('href') || '/';\n      // strip full URL origin\n      base = base.replace(/^https?:\\/\\/[^\\/]+/, '');\n    } else {\n      base = '/';\n    }\n  }\n  // make sure there's the starting slash\n  if (base.charAt(0) !== '/') {\n    base = '/' + base;\n  }\n  // remove trailing slash\n  return base.replace(/\\/$/, '');\n}\nfunction resolveQueue(current, next) {\n  var i;\n  var max = Math.max(current.length, next.length);\n  for (i = 0; i < max; i++) {\n    if (current[i] !== next[i]) {\n      break;\n    }\n  }\n  return {\n    updated: next.slice(0, i),\n    activated: next.slice(i),\n    deactivated: current.slice(i)\n  };\n}\nfunction extractGuards(records, name, bind, reverse) {\n  var guards = flatMapComponents(records, function (def, instance, match, key) {\n    var guard = extractGuard(def, name);\n    if (guard) {\n      return Array.isArray(guard) ? guard.map(function (guard) {\n        return bind(guard, instance, match, key);\n      }) : bind(guard, instance, match, key);\n    }\n  });\n  return flatten(reverse ? guards.reverse() : guards);\n}\nfunction extractGuard(def, key) {\n  if (typeof def !== 'function') {\n    // extend now so that global mixins are applied.\n    def = _Vue.extend(def);\n  }\n  return def.options[key];\n}\nfunction extractLeaveGuards(deactivated) {\n  return extractGuards(deactivated, 'beforeRouteLeave', bindGuard, true);\n}\nfunction extractUpdateHooks(updated) {\n  return extractGuards(updated, 'beforeRouteUpdate', bindGuard);\n}\nfunction bindGuard(guard, instance) {\n  if (instance) {\n    return function boundRouteGuard() {\n      return guard.apply(instance, arguments);\n    };\n  }\n}\nfunction extractEnterGuards(activated) {\n  return extractGuards(activated, 'beforeRouteEnter', function (guard, _, match, key) {\n    return bindEnterGuard(guard, match, key);\n  });\n}\nfunction bindEnterGuard(guard, match, key) {\n  return function routeEnterGuard(to, from, next) {\n    return guard(to, from, function (cb) {\n      if (typeof cb === 'function') {\n        if (!match.enteredCbs[key]) {\n          match.enteredCbs[key] = [];\n        }\n        match.enteredCbs[key].push(cb);\n      }\n      next(cb);\n    });\n  };\n}\n\n/*  */\n\nvar HTML5History = /*@__PURE__*/function (History) {\n  function HTML5History(router, base) {\n    History.call(this, router, base);\n    this._startLocation = getLocation(this.base);\n  }\n  if (History) HTML5History.__proto__ = History;\n  HTML5History.prototype = Object.create(History && History.prototype);\n  HTML5History.prototype.constructor = HTML5History;\n  HTML5History.prototype.setupListeners = function setupListeners() {\n    var this$1$1 = this;\n    if (this.listeners.length > 0) {\n      return;\n    }\n    var router = this.router;\n    var expectScroll = router.options.scrollBehavior;\n    var supportsScroll = supportsPushState && expectScroll;\n    if (supportsScroll) {\n      this.listeners.push(setupScroll());\n    }\n    var handleRoutingEvent = function handleRoutingEvent() {\n      var current = this$1$1.current;\n\n      // Avoiding first `popstate` event dispatched in some browsers but first\n      // history route not updated since async guard at the same time.\n      var location = getLocation(this$1$1.base);\n      if (this$1$1.current === START && location === this$1$1._startLocation) {\n        return;\n      }\n      this$1$1.transitionTo(location, function (route) {\n        if (supportsScroll) {\n          handleScroll(router, route, current, true);\n        }\n      });\n    };\n    window.addEventListener('popstate', handleRoutingEvent);\n    this.listeners.push(function () {\n      window.removeEventListener('popstate', handleRoutingEvent);\n    });\n  };\n  HTML5History.prototype.go = function go(n) {\n    window.history.go(n);\n  };\n  HTML5History.prototype.push = function push(location, onComplete, onAbort) {\n    var this$1$1 = this;\n    var ref = this;\n    var fromRoute = ref.current;\n    this.transitionTo(location, function (route) {\n      pushState(cleanPath(this$1$1.base + route.fullPath));\n      handleScroll(this$1$1.router, route, fromRoute, false);\n      onComplete && onComplete(route);\n    }, onAbort);\n  };\n  HTML5History.prototype.replace = function replace(location, onComplete, onAbort) {\n    var this$1$1 = this;\n    var ref = this;\n    var fromRoute = ref.current;\n    this.transitionTo(location, function (route) {\n      replaceState(cleanPath(this$1$1.base + route.fullPath));\n      handleScroll(this$1$1.router, route, fromRoute, false);\n      onComplete && onComplete(route);\n    }, onAbort);\n  };\n  HTML5History.prototype.ensureURL = function ensureURL(push) {\n    if (getLocation(this.base) !== this.current.fullPath) {\n      var current = cleanPath(this.base + this.current.fullPath);\n      push ? pushState(current) : replaceState(current);\n    }\n  };\n  HTML5History.prototype.getCurrentLocation = function getCurrentLocation() {\n    return getLocation(this.base);\n  };\n  return HTML5History;\n}(History);\nfunction getLocation(base) {\n  var path = window.location.pathname;\n  var pathLowerCase = path.toLowerCase();\n  var baseLowerCase = base.toLowerCase();\n  // base=\"/a\" shouldn't turn path=\"/app\" into \"/a/pp\"\n  // https://github.com/vuejs/vue-router/issues/3555\n  // so we ensure the trailing slash in the base\n  if (base && (pathLowerCase === baseLowerCase || pathLowerCase.indexOf(cleanPath(baseLowerCase + '/')) === 0)) {\n    path = path.slice(base.length);\n  }\n  return (path || '/') + window.location.search + window.location.hash;\n}\n\n/*  */\n\nvar HashHistory = /*@__PURE__*/function (History) {\n  function HashHistory(router, base, fallback) {\n    History.call(this, router, base);\n    // check history fallback deeplinking\n    if (fallback && checkFallback(this.base)) {\n      return;\n    }\n    ensureSlash();\n  }\n  if (History) HashHistory.__proto__ = History;\n  HashHistory.prototype = Object.create(History && History.prototype);\n  HashHistory.prototype.constructor = HashHistory;\n\n  // this is delayed until the app mounts\n  // to avoid the hashchange listener being fired too early\n  HashHistory.prototype.setupListeners = function setupListeners() {\n    var this$1$1 = this;\n    if (this.listeners.length > 0) {\n      return;\n    }\n    var router = this.router;\n    var expectScroll = router.options.scrollBehavior;\n    var supportsScroll = supportsPushState && expectScroll;\n    if (supportsScroll) {\n      this.listeners.push(setupScroll());\n    }\n    var handleRoutingEvent = function handleRoutingEvent() {\n      var current = this$1$1.current;\n      if (!ensureSlash()) {\n        return;\n      }\n      this$1$1.transitionTo(getHash(), function (route) {\n        if (supportsScroll) {\n          handleScroll(this$1$1.router, route, current, true);\n        }\n        if (!supportsPushState) {\n          replaceHash(route.fullPath);\n        }\n      });\n    };\n    var eventType = supportsPushState ? 'popstate' : 'hashchange';\n    window.addEventListener(eventType, handleRoutingEvent);\n    this.listeners.push(function () {\n      window.removeEventListener(eventType, handleRoutingEvent);\n    });\n  };\n  HashHistory.prototype.push = function push(location, onComplete, onAbort) {\n    var this$1$1 = this;\n    var ref = this;\n    var fromRoute = ref.current;\n    this.transitionTo(location, function (route) {\n      pushHash(route.fullPath);\n      handleScroll(this$1$1.router, route, fromRoute, false);\n      onComplete && onComplete(route);\n    }, onAbort);\n  };\n  HashHistory.prototype.replace = function replace(location, onComplete, onAbort) {\n    var this$1$1 = this;\n    var ref = this;\n    var fromRoute = ref.current;\n    this.transitionTo(location, function (route) {\n      replaceHash(route.fullPath);\n      handleScroll(this$1$1.router, route, fromRoute, false);\n      onComplete && onComplete(route);\n    }, onAbort);\n  };\n  HashHistory.prototype.go = function go(n) {\n    window.history.go(n);\n  };\n  HashHistory.prototype.ensureURL = function ensureURL(push) {\n    var current = this.current.fullPath;\n    if (getHash() !== current) {\n      push ? pushHash(current) : replaceHash(current);\n    }\n  };\n  HashHistory.prototype.getCurrentLocation = function getCurrentLocation() {\n    return getHash();\n  };\n  return HashHistory;\n}(History);\nfunction checkFallback(base) {\n  var location = getLocation(base);\n  if (!/^\\/#/.test(location)) {\n    window.location.replace(cleanPath(base + '/#' + location));\n    return true;\n  }\n}\nfunction ensureSlash() {\n  var path = getHash();\n  if (path.charAt(0) === '/') {\n    return true;\n  }\n  replaceHash('/' + path);\n  return false;\n}\nfunction getHash() {\n  // We can't use window.location.hash here because it's not\n  // consistent across browsers - Firefox will pre-decode it!\n  var href = window.location.href;\n  var index = href.indexOf('#');\n  // empty path\n  if (index < 0) {\n    return '';\n  }\n  href = href.slice(index + 1);\n  return href;\n}\nfunction getUrl(path) {\n  var href = window.location.href;\n  var i = href.indexOf('#');\n  var base = i >= 0 ? href.slice(0, i) : href;\n  return base + \"#\" + path;\n}\nfunction pushHash(path) {\n  if (supportsPushState) {\n    pushState(getUrl(path));\n  } else {\n    window.location.hash = path;\n  }\n}\nfunction replaceHash(path) {\n  if (supportsPushState) {\n    replaceState(getUrl(path));\n  } else {\n    window.location.replace(getUrl(path));\n  }\n}\n\n/*  */\n\nvar AbstractHistory = /*@__PURE__*/function (History) {\n  function AbstractHistory(router, base) {\n    History.call(this, router, base);\n    this.stack = [];\n    this.index = -1;\n  }\n  if (History) AbstractHistory.__proto__ = History;\n  AbstractHistory.prototype = Object.create(History && History.prototype);\n  AbstractHistory.prototype.constructor = AbstractHistory;\n  AbstractHistory.prototype.push = function push(location, onComplete, onAbort) {\n    var this$1$1 = this;\n    this.transitionTo(location, function (route) {\n      this$1$1.stack = this$1$1.stack.slice(0, this$1$1.index + 1).concat(route);\n      this$1$1.index++;\n      onComplete && onComplete(route);\n    }, onAbort);\n  };\n  AbstractHistory.prototype.replace = function replace(location, onComplete, onAbort) {\n    var this$1$1 = this;\n    this.transitionTo(location, function (route) {\n      this$1$1.stack = this$1$1.stack.slice(0, this$1$1.index).concat(route);\n      onComplete && onComplete(route);\n    }, onAbort);\n  };\n  AbstractHistory.prototype.go = function go(n) {\n    var this$1$1 = this;\n    var targetIndex = this.index + n;\n    if (targetIndex < 0 || targetIndex >= this.stack.length) {\n      return;\n    }\n    var route = this.stack[targetIndex];\n    this.confirmTransition(route, function () {\n      var prev = this$1$1.current;\n      this$1$1.index = targetIndex;\n      this$1$1.updateRoute(route);\n      this$1$1.router.afterHooks.forEach(function (hook) {\n        hook && hook(route, prev);\n      });\n    }, function (err) {\n      if (isNavigationFailure(err, NavigationFailureType.duplicated)) {\n        this$1$1.index = targetIndex;\n      }\n    });\n  };\n  AbstractHistory.prototype.getCurrentLocation = function getCurrentLocation() {\n    var current = this.stack[this.stack.length - 1];\n    return current ? current.fullPath : '/';\n  };\n  AbstractHistory.prototype.ensureURL = function ensureURL() {\n    // noop\n  };\n  return AbstractHistory;\n}(History);\n\n/*  */\n\nvar VueRouter = function VueRouter(options) {\n  if (options === void 0) options = {};\n  if (true) {\n    warn(this instanceof VueRouter, \"Router must be called with the new operator.\");\n  }\n  this.app = null;\n  this.apps = [];\n  this.options = options;\n  this.beforeHooks = [];\n  this.resolveHooks = [];\n  this.afterHooks = [];\n  this.matcher = createMatcher(options.routes || [], this);\n  var mode = options.mode || 'hash';\n  this.fallback = mode === 'history' && !supportsPushState && options.fallback !== false;\n  if (this.fallback) {\n    mode = 'hash';\n  }\n  if (!inBrowser) {\n    mode = 'abstract';\n  }\n  this.mode = mode;\n  switch (mode) {\n    case 'history':\n      this.history = new HTML5History(this, options.base);\n      break;\n    case 'hash':\n      this.history = new HashHistory(this, options.base, this.fallback);\n      break;\n    case 'abstract':\n      this.history = new AbstractHistory(this, options.base);\n      break;\n    default:\n      if (true) {\n        assert(false, \"invalid mode: \" + mode);\n      }\n  }\n};\nvar prototypeAccessors = {\n  currentRoute: {\n    configurable: true\n  }\n};\nVueRouter.prototype.match = function match(raw, current, redirectedFrom) {\n  return this.matcher.match(raw, current, redirectedFrom);\n};\nprototypeAccessors.currentRoute.get = function () {\n  return this.history && this.history.current;\n};\nVueRouter.prototype.init = function init(app /* Vue component instance */) {\n  var this$1$1 = this;\n   true && assert(install.installed, \"not installed. Make sure to call `Vue.use(VueRouter)` \" + \"before creating root instance.\");\n  this.apps.push(app);\n\n  // set up app destroyed handler\n  // https://github.com/vuejs/vue-router/issues/2639\n  app.$once('hook:destroyed', function () {\n    // clean out app from this.apps array once destroyed\n    var index = this$1$1.apps.indexOf(app);\n    if (index > -1) {\n      this$1$1.apps.splice(index, 1);\n    }\n    // ensure we still have a main app or null if no apps\n    // we do not release the router so it can be reused\n    if (this$1$1.app === app) {\n      this$1$1.app = this$1$1.apps[0] || null;\n    }\n    if (!this$1$1.app) {\n      this$1$1.history.teardown();\n    }\n  });\n\n  // main app previously initialized\n  // return as we don't need to set up new history listener\n  if (this.app) {\n    return;\n  }\n  this.app = app;\n  var history = this.history;\n  if (history instanceof HTML5History || history instanceof HashHistory) {\n    var handleInitialScroll = function handleInitialScroll(routeOrError) {\n      var from = history.current;\n      var expectScroll = this$1$1.options.scrollBehavior;\n      var supportsScroll = supportsPushState && expectScroll;\n      if (supportsScroll && 'fullPath' in routeOrError) {\n        handleScroll(this$1$1, routeOrError, from, false);\n      }\n    };\n    var setupListeners = function setupListeners(routeOrError) {\n      history.setupListeners();\n      handleInitialScroll(routeOrError);\n    };\n    history.transitionTo(history.getCurrentLocation(), setupListeners, setupListeners);\n  }\n  history.listen(function (route) {\n    this$1$1.apps.forEach(function (app) {\n      app._route = route;\n    });\n  });\n};\nVueRouter.prototype.beforeEach = function beforeEach(fn) {\n  return registerHook(this.beforeHooks, fn);\n};\nVueRouter.prototype.beforeResolve = function beforeResolve(fn) {\n  return registerHook(this.resolveHooks, fn);\n};\nVueRouter.prototype.afterEach = function afterEach(fn) {\n  return registerHook(this.afterHooks, fn);\n};\nVueRouter.prototype.onReady = function onReady(cb, errorCb) {\n  this.history.onReady(cb, errorCb);\n};\nVueRouter.prototype.onError = function onError(errorCb) {\n  this.history.onError(errorCb);\n};\nVueRouter.prototype.push = function push(location, onComplete, onAbort) {\n  var this$1$1 = this;\n\n  // $flow-disable-line\n  if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n    return new Promise(function (resolve, reject) {\n      this$1$1.history.push(location, resolve, reject);\n    });\n  } else {\n    this.history.push(location, onComplete, onAbort);\n  }\n};\nVueRouter.prototype.replace = function replace(location, onComplete, onAbort) {\n  var this$1$1 = this;\n\n  // $flow-disable-line\n  if (!onComplete && !onAbort && typeof Promise !== 'undefined') {\n    return new Promise(function (resolve, reject) {\n      this$1$1.history.replace(location, resolve, reject);\n    });\n  } else {\n    this.history.replace(location, onComplete, onAbort);\n  }\n};\nVueRouter.prototype.go = function go(n) {\n  this.history.go(n);\n};\nVueRouter.prototype.back = function back() {\n  this.go(-1);\n};\nVueRouter.prototype.forward = function forward() {\n  this.go(1);\n};\nVueRouter.prototype.getMatchedComponents = function getMatchedComponents(to) {\n  var route = to ? to.matched ? to : this.resolve(to).route : this.currentRoute;\n  if (!route) {\n    return [];\n  }\n  return [].concat.apply([], route.matched.map(function (m) {\n    return Object.keys(m.components).map(function (key) {\n      return m.components[key];\n    });\n  }));\n};\nVueRouter.prototype.resolve = function resolve(to, current, append) {\n  current = current || this.history.current;\n  var location = normalizeLocation(to, current, append, this);\n  var route = this.match(location, current);\n  var fullPath = route.redirectedFrom || route.fullPath;\n  var base = this.history.base;\n  var href = createHref(base, fullPath, this.mode);\n  return {\n    location: location,\n    route: route,\n    href: href,\n    // for backwards compat\n    normalizedTo: location,\n    resolved: route\n  };\n};\nVueRouter.prototype.getRoutes = function getRoutes() {\n  return this.matcher.getRoutes();\n};\nVueRouter.prototype.addRoute = function addRoute(parentOrRoute, route) {\n  this.matcher.addRoute(parentOrRoute, route);\n  if (this.history.current !== START) {\n    this.history.transitionTo(this.history.getCurrentLocation());\n  }\n};\nVueRouter.prototype.addRoutes = function addRoutes(routes) {\n  if (true) {\n    warn(false, 'router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead.');\n  }\n  this.matcher.addRoutes(routes);\n  if (this.history.current !== START) {\n    this.history.transitionTo(this.history.getCurrentLocation());\n  }\n};\nObject.defineProperties(VueRouter.prototype, prototypeAccessors);\nvar VueRouter$1 = VueRouter;\nfunction registerHook(list, fn) {\n  list.push(fn);\n  return function () {\n    var i = list.indexOf(fn);\n    if (i > -1) {\n      list.splice(i, 1);\n    }\n  };\n}\nfunction createHref(base, fullPath, mode) {\n  var path = mode === 'hash' ? '#' + fullPath : fullPath;\n  return base ? cleanPath(base + '/' + path) : path;\n}\n\n// We cannot remove this as it would be a breaking change\nVueRouter.install = install;\nVueRouter.version = '3.6.5';\nVueRouter.isNavigationFailure = isNavigationFailure;\nVueRouter.NavigationFailureType = NavigationFailureType;\nVueRouter.START_LOCATION = START;\nif (inBrowser && window.Vue) {\n  window.Vue.use(VueRouter);\n}\nvar version = '3.6.5';\n\n\n//# sourceURL=webpack://dtools/./node_modules/vue-router/dist/vue-router.esm.js?");

/***/ }),

/***/ "./node_modules/vue-style-loader/lib/listToStyles.js":
/*!***********************************************************!*\
  !*** ./node_modules/vue-style-loader/lib/listToStyles.js ***!
  \***********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ listToStyles; }\n/* harmony export */ });\n/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nfunction listToStyles(parentId, list) {\n  var styles = [];\n  var newStyles = {};\n  for (var i = 0; i < list.length; i++) {\n    var item = list[i];\n    var id = item[0];\n    var css = item[1];\n    var media = item[2];\n    var sourceMap = item[3];\n    var part = {\n      id: parentId + ':' + i,\n      css: css,\n      media: media,\n      sourceMap: sourceMap\n    };\n    if (!newStyles[id]) {\n      styles.push(newStyles[id] = {\n        id: id,\n        parts: [part]\n      });\n    } else {\n      newStyles[id].parts.push(part);\n    }\n  }\n  return styles;\n}\n\n//# sourceURL=webpack://dtools/./node_modules/vue-style-loader/lib/listToStyles.js?");

/***/ }),

/***/ "./node_modules/vue-super-flow/lib/index.umd.min.js":
/*!**********************************************************!*\
  !*** ./node_modules/vue-super-flow/lib/index.umd.min.js ***!
  \**********************************************************/
/***/ (function(module) {

eval("(function (t, e) {\n   true ? module.exports = e() : 0;\n})(\"undefined\" !== typeof self ? self : this, function () {\n  return function (t) {\n    var e = {};\n    function n(i) {\n      if (e[i]) return e[i].exports;\n      var r = e[i] = {\n        i: i,\n        l: !1,\n        exports: {}\n      };\n      return t[i].call(r.exports, r, r.exports, n), r.l = !0, r.exports;\n    }\n    return n.m = t, n.c = e, n.d = function (t, e, i) {\n      n.o(t, e) || Object.defineProperty(t, e, {\n        enumerable: !0,\n        get: i\n      });\n    }, n.r = function (t) {\n      \"undefined\" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {\n        value: \"Module\"\n      }), Object.defineProperty(t, \"__esModule\", {\n        value: !0\n      });\n    }, n.t = function (t, e) {\n      if (1 & e && (t = n(t)), 8 & e) return t;\n      if (4 & e && \"object\" === typeof t && t && t.__esModule) return t;\n      var i = Object.create(null);\n      if (n.r(i), Object.defineProperty(i, \"default\", {\n        enumerable: !0,\n        value: t\n      }), 2 & e && \"string\" != typeof t) for (var r in t) n.d(i, r, function (e) {\n        return t[e];\n      }.bind(null, r));\n      return i;\n    }, n.n = function (t) {\n      var e = t && t.__esModule ? function () {\n        return t[\"default\"];\n      } : function () {\n        return t;\n      };\n      return n.d(e, \"a\", e), e;\n    }, n.o = function (t, e) {\n      return Object.prototype.hasOwnProperty.call(t, e);\n    }, n.p = \"\", n(n.s = \"fb15\");\n  }({\n    2470: function _(t, e, n) {\n      \"use strict\";\n\n      n(\"5341\");\n    },\n    \"3ad9\": function ad9(t, e, n) {\n      \"use strict\";\n\n      n(\"41f0\");\n    },\n    \"41f0\": function f0(t, e, n) {},\n    5341: function _(t, e, n) {},\n    \"5ebe\": function ebe(t, e, n) {},\n    \"5fa5\": function fa5(t, e, n) {},\n    \"7e2d\": function e2d(t, e, n) {\n      \"use strict\";\n\n      n(\"5fa5\");\n    },\n    8875: function _(t, e, n) {\n      var i, r, o;\n      (function (n, s) {\n        r = [], i = s, o = \"function\" === typeof i ? i.apply(e, r) : i, void 0 === o || (t.exports = o);\n      })(\"undefined\" !== typeof self && self, function () {\n        function t() {\n          if (document.currentScript) return document.currentScript;\n          try {\n            throw new Error();\n          } catch (h) {\n            var t,\n              e,\n              n,\n              i = /.*at [^(]*\\((.*):(.+):(.+)\\)$/gi,\n              r = /@([^@]*):(\\d+):(\\d+)\\s*$/gi,\n              o = i.exec(h.stack) || r.exec(h.stack),\n              s = o && o[1] || !1,\n              a = o && o[2] || !1,\n              u = document.location.href.replace(document.location.hash, \"\"),\n              l = document.getElementsByTagName(\"script\");\n            s === u && (t = document.documentElement.outerHTML, e = new RegExp(\"(?:[^\\\\n]+?\\\\n){0,\" + (a - 2) + \"}[^<]*<script>([\\\\d\\\\D]*?)<\\\\/script>[\\\\d\\\\D]*\", \"i\"), n = t.replace(e, \"$1\").trim());\n            for (var c = 0; c < l.length; c++) {\n              if (\"interactive\" === l[c].readyState) return l[c];\n              if (l[c].src === s) return l[c];\n              if (s === u && l[c].innerHTML && l[c].innerHTML.trim() === n) return l[c];\n            }\n            return null;\n          }\n        }\n        return t;\n      });\n    },\n    a733: function a733(t, e, n) {},\n    b8fb: function b8fb(t, e, n) {\n      \"use strict\";\n\n      n(\"a733\");\n    },\n    bce9: function bce9(t, e, n) {\n      \"use strict\";\n\n      n(\"5ebe\");\n    },\n    fb15: function fb15(t, e, n) {\n      \"use strict\";\n\n      if (n.r(e), \"undefined\" !== typeof window) {\n        var i = window.document.currentScript,\n          r = n(\"8875\");\n        i = r(), \"currentScript\" in document || Object.defineProperty(document, \"currentScript\", {\n          get: r\n        });\n        var o = i && i.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/);\n        o && (n.p = o[1]);\n      }\n      var s = function s() {\n          var t = this,\n            e = t.$createElement,\n            n = t._self._c || e;\n          return n(\"div\", {\n            ref: \"flow-canvas\",\n            staticClass: \"super-flow\",\n            on: {\n              contextmenu: function contextmenu(e) {\n                return e.preventDefault(), e.stopPropagation(), t.contextmenu(e);\n              }\n            }\n          }, [t.temEdgeConf.visible ? n(\"graph-line\", {\n            attrs: {\n              padding: t.linkPadding,\n              graph: t.graph,\n              link: t.temEdgeConf.link,\n              \"link-base-style\": t.linkBaseStyle,\n              \"link-desc\": t.linkDesc,\n              \"link-style\": t.linkStyle\n            }\n          }) : t._e(), t._l(t.graph.linkList, function (e, i) {\n            return n(\"graph-line\", {\n              key: e.key,\n              attrs: {\n                index: i,\n                padding: t.linkPadding,\n                graph: t.graph,\n                link: e,\n                \"link-base-style\": t.linkBaseStyle,\n                \"link-desc\": t.linkDesc,\n                \"link-style\": t.linkStyle\n              }\n            });\n          }), t.moveNodeConf.isMove && t.hasMarkLine ? n(\"mark-line\", {\n            attrs: {\n              width: t.clientWidth,\n              height: t.clientHeight,\n              \"mark-color\": t.markLineColor,\n              markLine: t.moveNodeConf.markLine\n            }\n          }) : t._e(), t._l(t.graph.nodeList, function (e, i) {\n            return n(\"graph-node\", {\n              key: e.key,\n              attrs: {\n                index: i,\n                node: e,\n                graph: t.graph,\n                \"is-move\": e === t.moveNodeConf.node,\n                \"is-tem-edge\": t.temEdgeConf.visible,\n                \"node-intercept\": t.nodeIntercept(e),\n                \"line-drop\": t.linkAddable,\n                \"node-drop\": t.draggable\n              },\n              on: {\n                \"node-mousedown\": t.nodeMousedown,\n                \"node-mouseenter\": t.nodeMouseenter,\n                \"node-mouseleave\": t.nodeMouseleave,\n                \"node-mouseup\": t.nodeMouseup,\n                \"side-mousedown\": t.sideMousedown,\n                \"node-contextmenu\": t.nodeContextmenu\n              },\n              scopedSlots: t._u([{\n                key: \"default\",\n                fn: function fn(e) {\n                  var n = e.meta;\n                  return [t._t(\"node\", null, {\n                    meta: n\n                  })];\n                }\n              }], null, !0)\n            });\n          }), n(\"graph-menu\", {\n            attrs: {\n              visible: t.menuConf.visible,\n              graph: t.graph,\n              position: t.menuConf.position,\n              list: t.menuConf.list,\n              source: t.menuConf.source\n            },\n            on: {\n              \"update:visible\": function updateVisible(e) {\n                return t.$set(t.menuConf, \"visible\", e);\n              }\n            },\n            scopedSlots: t._u([{\n              key: \"default\",\n              fn: function fn(e) {\n                var n = e.item;\n                return [t._t(\"menuItem\", null, {\n                  item: n\n                })];\n              }\n            }], null, !0)\n          }), n(\"div\", {\n            directives: [{\n              name: \"show\",\n              rawName: \"v-show\",\n              value: t.graph.graphSelected,\n              expression: \"graph.graphSelected\"\n            }],\n            ref: \"selectAllMask\",\n            staticClass: \"select-all__mask\",\n            style: t.maskStyle,\n            attrs: {\n              tabindex: \"-1\"\n            },\n            on: {\n              blur: function blur(e) {\n                t.graph.graphSelected = !1;\n              },\n              mousedown: t.selectAllMaskMouseDown,\n              contextmenu: function contextmenu(t) {\n                t.preventDefault(), t.stopPropagation();\n              }\n            }\n          })], 2);\n        },\n        a = [];\n      function u(t) {\n        return d(t) || h(t) || c(t) || l();\n      }\n      function l() {\n        throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function c(t, e) {\n        if (t) {\n          if (\"string\" === typeof t) return f(t, e);\n          var n = Object.prototype.toString.call(t).slice(8, -1);\n          return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? f(t, e) : void 0;\n        }\n      }\n      function h(t) {\n        if (\"undefined\" !== typeof Symbol && null != t[Symbol.iterator] || null != t[\"@@iterator\"]) return Array.from(t);\n      }\n      function d(t) {\n        if (Array.isArray(t)) return f(t);\n      }\n      function f(t, e) {\n        (null == e || e > t.length) && (e = t.length);\n        for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];\n        return i;\n      }\n      function p(t, e) {\n        if (!(t instanceof e)) throw new TypeError(\"Cannot call a class as a function\");\n      }\n      function m(t, e) {\n        for (var n = 0; n < e.length; n++) {\n          var i = e[n];\n          i.enumerable = i.enumerable || !1, i.configurable = !0, \"value\" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);\n        }\n      }\n      function v(t, e, n) {\n        return e && m(t.prototype, e), n && m(t, n), t;\n      }\n      var y,\n        g = function () {\n          function t() {\n            p(this, t), this.listeners = {};\n          }\n          return v(t, [{\n            key: \"add\",\n            value: function value(t, e) {\n              t in this.listeners || (this.listeners[t] = []), this.listeners[t].push(e);\n            }\n          }, {\n            key: \"remove\",\n            value: function value(t, e) {\n              if (t in this.listeners) for (var n = this.listeners[t], i = 0, r = n.length; i < r; i++) if (n[i] === e) return n.splice(i, 1), this.remove(t, e);\n            }\n          }, {\n            key: \"dispatch\",\n            value: function value(t) {\n              var e = this,\n                n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n              if (t.type in this.listeners) {\n                var i = this.listeners[t.type];\n                t.target = this, n ? i.some(function (n, r) {\n                  var o = n.call(e, t);\n                  return o && i.unshift.apply(i, u(i.splice(r, 1))), o;\n                }) : i.forEach(function (n) {\n                  return n.call(e, t);\n                });\n              }\n            }\n          }]), t;\n        }();\n      function b(t) {\n        return A(t) || L(t) || w(t) || k();\n      }\n      function k() {\n        throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function w(t, e) {\n        if (t) {\n          if (\"string\" === typeof t) return S(t, e);\n          var n = Object.prototype.toString.call(t).slice(8, -1);\n          return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? S(t, e) : void 0;\n        }\n      }\n      function L(t) {\n        if (\"undefined\" !== typeof Symbol && null != t[Symbol.iterator] || null != t[\"@@iterator\"]) return Array.from(t);\n      }\n      function A(t) {\n        if (Array.isArray(t)) return S(t);\n      }\n      function S(t, e) {\n        (null == e || e > t.length) && (e = t.length);\n        for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];\n        return i;\n      }\n      function x() {\n        for (var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : \"\", e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : \"\", n = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\".split(\"\"), i = n.length, r = [], o = 16, s = 0; s < o; s++) r[s] = n[0 | Math.random() * i];\n        return t + r.join(\"\") + e;\n      }\n      function M(t) {\n        var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,\n          n = t.clientX,\n          i = t.clientY,\n          r = t.currentTarget,\n          o = e || r,\n          s = o.getBoundingClientRect(),\n          a = s.left,\n          u = s.top;\n        return [n - a, i - u];\n      }\n      function C(t, e) {\n        return [t[0] + e[0], t[1] + e[1]];\n      }\n      function _(t, e) {\n        return [t[0] * e, t[1] * e];\n      }\n      function P(t, e) {\n        return [e[0] - t[0], e[1] - t[1]];\n      }\n      function O(t, e) {\n        return [t[0] - e[0], t[1] - e[1]];\n      }\n      function j(t, e) {\n        return t[0] * e[0] + t[1] * e[1];\n      }\n      function $(t, e) {\n        return t[0] * e[1] - t[1] * e[0];\n      }\n      function E(t) {\n        var e = Math.sqrt(t[0] * t[0] + t[1] * t[1]);\n        return [t[0] / e, t[1] / e];\n      }\n      function N(t, e) {\n        return t[0] === e[0] && t[1] === e[1];\n      }\n      function I(t) {\n        return Math.round(180 / Math.PI * Math.atan2(t[1], t[0])) + 180;\n      }\n      function D(t, e) {\n        return t[0] * e[1] - t[1] * e[0] === 0;\n      }\n      function T(t) {\n        var e = {\n            add: C,\n            multiply: _,\n            differ: P,\n            minus: O,\n            dotProduct: j,\n            cross: $,\n            unitVector: E,\n            equals: N,\n            angle: I,\n            parallel: D\n          },\n          n = {};\n        return Object.keys(e).forEach(function (i) {\n          Object.defineProperty(n, i, {\n            get: function get() {\n              return function (r) {\n                return t = e[i](t, r), n;\n              };\n            }\n          });\n        }), Object.defineProperty(n, \"end\", {\n          get: function get() {\n            return t;\n          }\n        }), n;\n      }\n      function B(t) {\n        return Object.prototype.toString.call(t).slice(8, -1).toLocaleLowerCase();\n      }\n      function R(t) {\n        return \"function\" === B(t);\n      }\n      function F(t) {\n        return \"boolean\" === B(t);\n      }\n      function X(t) {\n        return \"string\" === B(t);\n      }\n      function Y(t) {\n        return \"object\" === B(t);\n      }\n      function H(t, e) {\n        t.splice.apply(t, [0, t.length].concat(b(e)));\n      }\n      function U(t, e, n) {\n        return e in t ? Object.defineProperty(t, e, {\n          value: n,\n          enumerable: !0,\n          configurable: !0,\n          writable: !0\n        }) : t[e] = n, t;\n      }\n      var W = {\n          top: 1,\n          right: 2,\n          bottom: 3,\n          left: 4\n        },\n        J = (y = {}, U(y, W.top, [0, -1]), U(y, W.right, [1, 0]), U(y, W.bottom, [0, 1]), U(y, W.left, [-1, 0]), y);\n      function z(t) {\n        return K(t) || q(t) || V(t) || G();\n      }\n      function G() {\n        throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function V(t, e) {\n        if (t) {\n          if (\"string\" === typeof t) return Q(t, e);\n          var n = Object.prototype.toString.call(t).slice(8, -1);\n          return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Q(t, e) : void 0;\n        }\n      }\n      function q(t) {\n        if (\"undefined\" !== typeof Symbol && null != t[Symbol.iterator] || null != t[\"@@iterator\"]) return Array.from(t);\n      }\n      function K(t) {\n        if (Array.isArray(t)) return Q(t);\n      }\n      function Q(t, e) {\n        (null == e || e > t.length) && (e = t.length);\n        for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];\n        return i;\n      }\n      function Z(t, e) {\n        if (!(t instanceof e)) throw new TypeError(\"Cannot call a class as a function\");\n      }\n      function tt(t, e) {\n        for (var n = 0; n < e.length; n++) {\n          var i = e[n];\n          i.enumerable = i.enumerable || !1, i.configurable = !0, \"value\" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);\n        }\n      }\n      function et(t, e, n) {\n        return e && tt(t.prototype, e), n && tt(t, n), t;\n      }\n      var nt = function () {\n        function t(e, n) {\n          Z(this, t);\n          var i = e.id,\n            r = void 0 === i ? x(\"node\") : i,\n            o = e.width,\n            s = void 0 === o ? 180 : o,\n            a = e.height,\n            u = void 0 === a ? 100 : a,\n            l = e.coordinate,\n            c = void 0 === l ? [0, 0] : l,\n            h = e.meta,\n            d = void 0 === h ? null : h;\n          this.key = x(\"node\"), this.graph = n, this.id = r, this.coordinate = z(c), this.meta = d, this.width = s, this.height = u;\n        }\n        return et(t, [{\n          key: \"position\",\n          get: function get() {\n            return T(this.coordinate).add(this.graph.origin).end;\n          },\n          set: function set(t) {\n            this.coordinate = T(t).minus(this.graph.origin).end;\n          }\n        }, {\n          key: \"center\",\n          get: function get() {\n            return T(this.coordinate).add([this.width / 2, this.height / 2]).end;\n          },\n          set: function set(t) {\n            this.coordinate = T(t).minus([this.width / 2, this.height / 2]).end;\n          }\n        }, {\n          key: \"width\",\n          get: function get() {\n            return this._width;\n          },\n          set: function set(t) {\n            t = Math.floor(t), this._width = t > 50 ? t : 50, this.angle();\n          }\n        }, {\n          key: \"height\",\n          get: function get() {\n            return this._height;\n          },\n          set: function set(t) {\n            t = Math.floor(t), this._height = t > 20 ? t : 20, this.angle();\n          }\n        }, {\n          key: \"angle\",\n          value: function value() {\n            var t = this.width / 2,\n              e = this.height / 2,\n              n = [0, 0],\n              i = T(n).minus([t, e]).angle().end,\n              r = T(n).add([t, 0]).minus([0, e]).angle().end,\n              o = T(n).add([t, e]).angle().end,\n              s = T(n).add([0, e]).minus([t, 0]).angle().end;\n            this.angleList = [i, r, o, s];\n          }\n        }, {\n          key: \"relative\",\n          value: function value(t) {\n            var e = T(t).minus([this.width / 2, this.height / 2]).angle().end,\n              n = this.angleList,\n              i = [W.top, W.right, W.bottom, W.left],\n              r = W.left;\n            return n.reduce(function (t, n, o) {\n              return e >= t && e < n && (r = i[o - 1]), n;\n            }), {\n              position: this.fixOffset(t, r),\n              direction: J[r]\n            };\n          }\n        }, {\n          key: \"fixOffset\",\n          value: function value(t, e) {\n            switch (e) {\n              case W.top:\n                t[0] = this.width / 2, t[1] = 0;\n                break;\n              case W.right:\n                t[0] = this.width, t[1] = this.height / 2;\n                break;\n              case W.bottom:\n                t[0] = this.width / 2, t[1] = this.height;\n                break;\n              case W.left:\n              default:\n                t[0] = 0, t[1] = this.height / 2;\n                break;\n            }\n            return t;\n          }\n        }, {\n          key: \"remove\",\n          value: function value() {\n            return this.graph.removeNode(this);\n          }\n        }, {\n          key: \"toJSON\",\n          value: function value() {\n            return {\n              id: this.id,\n              width: this.width,\n              height: this.height,\n              coordinate: z(this.coordinate),\n              meta: this.meta\n            };\n          }\n        }]), t;\n      }();\n      function it(t, e) {\n        return ut(t) || at(t, e) || ot(t, e) || rt();\n      }\n      function rt() {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function ot(t, e) {\n        if (t) {\n          if (\"string\" === typeof t) return st(t, e);\n          var n = Object.prototype.toString.call(t).slice(8, -1);\n          return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? st(t, e) : void 0;\n        }\n      }\n      function st(t, e) {\n        (null == e || e > t.length) && (e = t.length);\n        for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];\n        return i;\n      }\n      function at(t, e) {\n        var n = t && (\"undefined\" !== typeof Symbol && t[Symbol.iterator] || t[\"@@iterator\"]);\n        if (null != n) {\n          var i,\n            r,\n            o = [],\n            s = !0,\n            a = !1;\n          try {\n            for (n = n.call(t); !(s = (i = n.next()).done); s = !0) if (o.push(i.value), e && o.length === e) break;\n          } catch (u) {\n            a = !0, r = u;\n          } finally {\n            try {\n              s || null == n[\"return\"] || n[\"return\"]();\n            } finally {\n              if (a) throw r;\n            }\n          }\n          return o;\n        }\n      }\n      function ut(t) {\n        if (Array.isArray(t)) return t;\n      }\n      function lt(t, e) {\n        if (!(t instanceof e)) throw new TypeError(\"Cannot call a class as a function\");\n      }\n      function ct(t, e) {\n        for (var n = 0; n < e.length; n++) {\n          var i = e[n];\n          i.enumerable = i.enumerable || !1, i.configurable = !0, \"value\" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);\n        }\n      }\n      function ht(t, e, n) {\n        return e && ct(t.prototype, e), n && ct(t, n), t;\n      }\n      function dt(t, e, n) {\n        return e in t ? Object.defineProperty(t, e, {\n          value: n,\n          enumerable: !0,\n          configurable: !0,\n          writable: !0\n        }) : t[e] = n, t;\n      }\n      var ft = function () {\n        function t(e, n) {\n          lt(this, t);\n          var i = e.id,\n            r = void 0 === i ? x(\"link\") : i,\n            o = e.start,\n            s = e.end,\n            a = void 0 === s ? null : s,\n            u = e.startAt,\n            l = void 0 === u ? [0, 0] : u,\n            c = e.endAt,\n            h = void 0 === c ? [0, 0] : c,\n            d = e.meta,\n            f = void 0 === d ? null : d;\n          this.key = x(\"link\"), this.id = r, this.graph = n, this.start = o, this.meta = f, this.end = a, this.startDirection = J[W.top], this.endDirection = J[W.top], this.startAt = l, this.endAt = h;\n        }\n        return ht(t, [{\n          key: \"end\",\n          get: function get() {\n            return this._end;\n          },\n          set: function set(t) {\n            if (this.start === t) return !1;\n            this._end = t;\n          }\n        }, {\n          key: \"startAt\",\n          get: function get() {\n            return this._startAt;\n          },\n          set: function set(t) {\n            var e = this.start.relative(t);\n            this._startAt = e.position, this.startDirection = e.direction;\n          }\n        }, {\n          key: \"endAt\",\n          get: function get() {\n            return this._endAt;\n          },\n          set: function set(t) {\n            if (this.end) {\n              var e = this.end.relative(t);\n              this._endAt = e.position, this.endDirection = e.direction;\n            } else this._endAt = t;\n          }\n        }, {\n          key: \"movePosition\",\n          get: function get() {\n            return this._movePosition;\n          },\n          set: function set(t) {\n            if (this._movePosition = t, !this.end) {\n              var e = this.start.relative(T(t).minus(this.graph.origin).minus(this.start.coordinate).end);\n              this.endDirection = T(e.direction).multiply(-1).end;\n            }\n          }\n        }, {\n          key: \"pathPointList\",\n          get: function get() {\n            var t = this.coordinateList(),\n              e = [],\n              n = [];\n            return t.forEach(function (t) {\n              e.push(t[0]), n.push(t[1]);\n            }), {\n              pointList: t,\n              xList: e,\n              yList: n,\n              minX: Math.min.apply(Math, e),\n              maxX: Math.max.apply(Math, e),\n              minY: Math.min.apply(Math, n),\n              maxY: Math.max.apply(Math, n)\n            };\n          }\n        }, {\n          key: \"startCoordinate\",\n          value: function value() {\n            return T(this.start.position).add(this.startAt).end;\n          }\n        }, {\n          key: \"endCoordinate\",\n          value: function value() {\n            return this.end ? T(this.end.position).add(this.endAt).end : this.movePosition;\n          }\n        }, {\n          key: \"coordinateList\",\n          value: function value() {\n            var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : .5,\n              n = this.startCoordinate(),\n              i = this.endCoordinate(),\n              r = this.startDirection,\n              o = this.endDirection,\n              s = T(r).multiply(t.distance).add(n).end,\n              a = T(o).multiply(t.distance).add(i).end;\n            o = T(o).multiply(-1).end;\n            var u = [a[0] - s[0], 0],\n              l = [0, a[1] - s[1]],\n              c = this.pathDirection(l, u, r),\n              h = this.pathDirection(l, u, o),\n              d = T(c).dotProduct(h).end > 0 ? 2 : 1,\n              f = h === u ? l : u,\n              p = [];\n            if (p.push(n, s), 1 === d) {\n              var m = T(s).add(c).end,\n                v = T(m).add(h).end;\n              p.push(m, v);\n            } else {\n              var y = T(c).multiply(e).add(s).end,\n                g = T(y).add(f).end,\n                b = T(h).multiply(1 - e).add(g).end;\n              p.push(y, g, b);\n            }\n            return p.push(i), p;\n          }\n        }, {\n          key: \"pathDirection\",\n          value: function value(t, e, n) {\n            return T(e).parallel(n).end ? T(e).dotProduct(n).end > 0 ? e : t : T(t).dotProduct(n).end > 0 ? t : e;\n          }\n        }, {\n          key: \"isPointInLink\",\n          value: function value(t, e) {\n            var n = e || this.pathPointList,\n              i = n.pointList,\n              r = n.minX,\n              o = n.minY,\n              s = n.maxX,\n              a = n.maxY,\n              u = 5;\n            if (t[0] < r - u || t[0] > s + u || t[1] < o - u || t[1] > a + u) return !1;\n            for (var l = 0; l < i.length - 2; l++) {\n              var c = i[l],\n                h = i[l + 1],\n                d = Math.min(c[1], h[1]) - u,\n                f = Math.max(c[0], h[0]) + u,\n                p = Math.max(c[1], h[1]) + u,\n                m = Math.min(c[0], h[0]) - u,\n                v = it(t, 2),\n                y = v[0],\n                g = v[1];\n              if (y > m && y < f && g > d && g < p) return !0;\n            }\n            return !1;\n          }\n        }, {\n          key: \"remove\",\n          value: function value() {\n            return this.graph.removeLink(this);\n          }\n        }, {\n          key: \"toJSON\",\n          value: function value() {\n            return {\n              id: this.id,\n              startId: this.start.id,\n              endId: this.end.id,\n              startAt: this.startAt,\n              endAt: this.endAt,\n              meta: this.meta\n            };\n          }\n        }]), t;\n      }();\n      function pt(t) {\n        return pt = \"function\" === typeof Symbol && \"symbol\" === typeof Symbol.iterator ? function (t) {\n          return typeof t;\n        } : function (t) {\n          return t && \"function\" === typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? \"symbol\" : typeof t;\n        }, pt(t);\n      }\n      function mt(t) {\n        return bt(t) || gt(t) || yt(t) || vt();\n      }\n      function vt() {\n        throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function yt(t, e) {\n        if (t) {\n          if (\"string\" === typeof t) return kt(t, e);\n          var n = Object.prototype.toString.call(t).slice(8, -1);\n          return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? kt(t, e) : void 0;\n        }\n      }\n      function gt(t) {\n        if (\"undefined\" !== typeof Symbol && null != t[Symbol.iterator] || null != t[\"@@iterator\"]) return Array.from(t);\n      }\n      function bt(t) {\n        if (Array.isArray(t)) return kt(t);\n      }\n      function kt(t, e) {\n        (null == e || e > t.length) && (e = t.length);\n        for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];\n        return i;\n      }\n      function wt(t, e) {\n        if (!(t instanceof e)) throw new TypeError(\"Cannot call a class as a function\");\n      }\n      function Lt(t, e) {\n        for (var n = 0; n < e.length; n++) {\n          var i = e[n];\n          i.enumerable = i.enumerable || !1, i.configurable = !0, \"value\" in i && (i.writable = !0), Object.defineProperty(t, i.key, i);\n        }\n      }\n      function At(t, e, n) {\n        return e && Lt(t.prototype, e), n && Lt(t, n), t;\n      }\n      function St(t, e) {\n        if (\"function\" !== typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\");\n        t.prototype = Object.create(e && e.prototype, {\n          constructor: {\n            value: t,\n            writable: !0,\n            configurable: !0\n          }\n        }), e && xt(t, e);\n      }\n      function xt(t, e) {\n        return xt = Object.setPrototypeOf || function (t, e) {\n          return t.__proto__ = e, t;\n        }, xt(t, e);\n      }\n      function Mt(t) {\n        var e = Pt();\n        return function () {\n          var n,\n            i = Ot(t);\n          if (e) {\n            var r = Ot(this).constructor;\n            n = Reflect.construct(i, arguments, r);\n          } else n = i.apply(this, arguments);\n          return Ct(this, n);\n        };\n      }\n      function Ct(t, e) {\n        return !e || \"object\" !== pt(e) && \"function\" !== typeof e ? _t(t) : e;\n      }\n      function _t(t) {\n        if (void 0 === t) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n        return t;\n      }\n      function Pt() {\n        if (\"undefined\" === typeof Reflect || !Reflect.construct) return !1;\n        if (Reflect.construct.sham) return !1;\n        if (\"function\" === typeof Proxy) return !0;\n        try {\n          return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;\n        } catch (t) {\n          return !1;\n        }\n      }\n      function Ot(t) {\n        return Ot = Object.setPrototypeOf ? Object.getPrototypeOf : function (t) {\n          return t.__proto__ || Object.getPrototypeOf(t);\n        }, Ot(t);\n      }\n      dt(ft, \"distance\", 15);\n      var jt = function (t) {\n          St(n, t);\n          var e = Mt(n);\n          function n(t) {\n            var i;\n            wt(this, n);\n            var r = t.nodeList,\n              o = void 0 === r ? [] : r,\n              s = t.linkList,\n              a = void 0 === s ? [] : s,\n              u = t.origin;\n            return i = e.call(this), i.nodeList = [], i.linkList = [], i.origin = u, i.mouseonLink = null, i.mouseonNode = null, i.graphSelected = !1, i.maskBoundingClientRect = {}, i.initNode(o), i.initLink(a), i;\n          }\n          return At(n, [{\n            key: \"pointMap\",\n            value: function value() {\n              var t = {};\n              return this.nodeList.forEach(function (e) {\n                t[e.id] = e;\n              }), t;\n            }\n          }, {\n            key: \"initNode\",\n            value: function value(t) {\n              var e = this;\n              return H(this.nodeList, t.map(function (t) {\n                return e.createNode(t);\n              })), this.nodeList;\n            }\n          }, {\n            key: \"initLink\",\n            value: function value(t) {\n              var e = this,\n                n = [];\n              return t.forEach(function (t) {\n                var i = t.startId,\n                  r = void 0 === i ? \"\" : i,\n                  o = t.endId,\n                  s = void 0 === o ? \"\" : o,\n                  a = t.startAt,\n                  u = void 0 === a ? [0, 0] : a,\n                  l = t.endAt,\n                  c = void 0 === l ? [0, 0] : l,\n                  h = t.meta,\n                  d = void 0 === h ? null : h,\n                  f = e.pointMap(),\n                  p = f[r],\n                  m = f[s];\n                p && m && n.push(e.createLink({\n                  start: p,\n                  end: m,\n                  meta: d,\n                  startAt: u,\n                  endAt: c\n                }));\n              }), H(this.linkList, n), this.linkList;\n            }\n          }, {\n            key: \"createNode\",\n            value: function value(t) {\n              return new nt(t, this);\n            }\n          }, {\n            key: \"createLink\",\n            value: function value(t) {\n              return new ft(t, this);\n            }\n          }, {\n            key: \"addNode\",\n            value: function value(t) {\n              var e = t.constructor === nt ? t : this.createNode(t);\n              return this.nodeList.push(e), e;\n            }\n          }, {\n            key: \"addLink\",\n            value: function value(t) {\n              var e = t.constructor === ft ? t : this.createLink(t),\n                n = this.linkList.find(function (t) {\n                  return t.start === e.start && t.end === e.end;\n                });\n              return n ? (n.startAt = e.startAt, n.endAt = e.endAt) : e.start && e.end && this.linkList.push(e), e;\n            }\n          }, {\n            key: \"removeNode\",\n            value: function value(t) {\n              var e = this,\n                n = this.nodeList.indexOf(t);\n              return this.linkList.filter(function (e) {\n                return e.start === t || e.end === t;\n              }).forEach(function (t) {\n                e.removeLink(t);\n              }), this.nodeList.splice(n, 1), t;\n            }\n          }, {\n            key: \"removeLink\",\n            value: function value(t) {\n              var e = this.linkList.indexOf(t);\n              return this.linkList.splice(e, 1), this.mouseonLink === t && (this.mouseonLink = null), t;\n            }\n          }, {\n            key: \"toLastNode\",\n            value: function value(t) {\n              var e = this.nodeList;\n              e.splice.apply(e, [e.length - 1, 0].concat(mt(e.splice(t, 1))));\n            }\n          }, {\n            key: \"toLastLink\",\n            value: function value(t) {\n              var e = this.linkList;\n              e.splice.apply(e, [e.length - 1, 0].concat(mt(e.splice(t, 1))));\n            }\n          }, {\n            key: \"toJSON\",\n            value: function value() {\n              return {\n                origin: this.origin,\n                nodeList: this.nodeList.map(function (t) {\n                  return t.toJSON();\n                }),\n                linkList: this.linkList.map(function (t) {\n                  return t.toJSON();\n                })\n              };\n            }\n          }, {\n            key: \"selectAll\",\n            value: function value() {\n              var t = this.nodeList,\n                e = 20;\n              this.maskBoundingClientRect = {\n                top: Math.min.apply(Math, mt(t.map(function (t) {\n                  return t.center[1] - t.height / 2;\n                }))) - e,\n                right: Math.max.apply(Math, mt(t.map(function (t) {\n                  return t.center[0] + t.width / 2;\n                }))) + e,\n                bottom: Math.max.apply(Math, mt(t.map(function (t) {\n                  return t.center[1] + t.height / 2;\n                }))) + e,\n                left: Math.min.apply(Math, mt(t.map(function (t) {\n                  return t.center[0] - t.width / 2;\n                }))) - e\n              }, this.graphSelected = !0;\n            }\n          }]), n;\n        }(g),\n        $t = jt,\n        Et = function Et() {\n          var t = this,\n            e = t.$createElement,\n            n = t._self._c || e;\n          return n(\"div\", {\n            staticClass: \"super-flow__menu-container\"\n          }, [n(\"div\", {\n            directives: [{\n              name: \"show\",\n              rawName: \"v-show\",\n              value: t.visible,\n              expression: \"visible\"\n            }],\n            staticClass: \"flow__menu-mask\",\n            on: {\n              mousemove: function mousemove(t) {\n                t.stopPropagation(), t.preventDefault();\n              },\n              mousedown: t.close\n            }\n          }), n(\"ul\", {\n            directives: [{\n              name: \"show\",\n              rawName: \"v-show\",\n              value: t.visible,\n              expression: \"visible\"\n            }],\n            staticClass: \"super-flow__menu\",\n            style: t.style,\n            attrs: {\n              tabindex: \"-1\"\n            },\n            on: {\n              mousemove: function mousemove(t) {\n                t.stopPropagation(), t.preventDefault();\n              },\n              contextmenu: function contextmenu(t) {\n                t.preventDefault(), t.stopPropagation();\n              },\n              blur: t.close\n            }\n          }, [t._l(t.list, function (e) {\n            return [t._l(e, function (e) {\n              return n(\"li\", {\n                staticClass: \"super-flow__menu-item\",\n                class: {\n                  \"is-disabled\": e.disable\n                },\n                on: {\n                  click: function click(n) {\n                    return t.select(e);\n                  }\n                }\n              }, [t._t(\"default\", [n(\"span\", {\n                staticClass: \"super-flow__menu-item-icon\"\n              }), n(\"span\", {\n                staticClass: \"super-flow__menu-item-content\"\n              }, [t._v(\" \" + t._s(e.label) + \" \")])], {\n                item: e\n              })], 2);\n            }), n(\"li\", {\n              staticClass: \"super-flow__menu-line\"\n            })];\n          })], 2)]);\n        },\n        Nt = [],\n        It = {\n          props: {\n            graph: Object,\n            visible: {\n              type: Boolean,\n              default: !1\n            },\n            list: {\n              type: Array,\n              default: function _default() {\n                return [];\n              }\n            },\n            position: {\n              type: Array,\n              default: function _default() {\n                return [0, 0];\n              }\n            },\n            source: {\n              type: Object,\n              default: function _default() {\n                return {};\n              }\n            }\n          },\n          computed: {\n            style: function style() {\n              return {\n                left: this.position[0] + \"px\",\n                top: this.position[1] + \"px\"\n              };\n            }\n          },\n          methods: {\n            select: function select(t) {\n              t.disable || (this.$emit(\"update:visible\", !1), t.selected(this.source, T(this.position).minus(this.graph.origin).end));\n            },\n            close: function close(t) {\n              this.$emit(\"update:visible\", !1);\n            }\n          },\n          watch: {\n            visible: function visible() {\n              var t = this;\n              this.visible && this.$nextTick(function () {\n                return t.$el.focus();\n              });\n            }\n          }\n        },\n        Dt = It;\n      n(\"b8fb\");\n      function Tt(t, e, n, i, r, o, s, a) {\n        var u,\n          l = \"function\" === typeof t ? t.options : t;\n        if (e && (l.render = e, l.staticRenderFns = n, l._compiled = !0), i && (l.functional = !0), o && (l._scopeId = \"data-v-\" + o), s ? (u = function u(t) {\n          t = t || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, t || \"undefined\" === typeof __VUE_SSR_CONTEXT__ || (t = __VUE_SSR_CONTEXT__), r && r.call(this, t), t && t._registeredComponents && t._registeredComponents.add(s);\n        }, l._ssrRegister = u) : r && (u = a ? function () {\n          r.call(this, (l.functional ? this.parent : this).$root.$options.shadowRoot);\n        } : r), u) if (l.functional) {\n          l._injectStyles = u;\n          var c = l.render;\n          l.render = function (t, e) {\n            return u.call(e), c(t, e);\n          };\n        } else {\n          var h = l.beforeCreate;\n          l.beforeCreate = h ? [].concat(h, u) : [u];\n        }\n        return {\n          exports: t,\n          options: l\n        };\n      }\n      var Bt = Tt(Dt, Et, Nt, !1, null, null, null),\n        Rt = Bt.exports,\n        Ft = function Ft() {\n          var t = this,\n            e = t.$createElement,\n            n = t._self._c || e;\n          return n(\"div\", {\n            staticClass: \"super-flow__node\",\n            class: {\n              \"can-move\": t.nodeDrop\n            },\n            style: t.style,\n            attrs: {\n              tabindex: \"-1\"\n            },\n            on: {\n              mousedown: function mousedown(e) {\n                return !e.type.indexOf(\"key\") && t._k(e.keyCode, \"left\", 37, e.key, [\"Left\", \"ArrowLeft\"]) || \"button\" in e && 0 !== e.button ? null : t.nodeMousedown(e);\n              },\n              mouseenter: t.nodeMouseenter,\n              mouseleave: t.nodeMouseleave,\n              mouseup: t.nodeMouseup,\n              contextmenu: function contextmenu(e) {\n                return e.preventDefault(), e.stopPropagation(), t.nodeContextmenu(e);\n              }\n            }\n          }, [t._t(\"default\", null, {\n            meta: t.node.meta\n          }), t._l(t.direction, function (e, i) {\n            return n(\"div\", {\n              directives: [{\n                name: \"show\",\n                rawName: \"v-show\",\n                value: t.output && t.lineDrop,\n                expression: \"output && lineDrop\"\n              }],\n              class: \"node-side node-side-\" + i,\n              on: {\n                contextmenu: function contextmenu(t) {\n                  t.stopPropagation(), t.preventDefault();\n                },\n                mousedown: function mousedown(n) {\n                  return !n.type.indexOf(\"key\") && t._k(n.keyCode, \"left\", 37, n.key, [\"Left\", \"ArrowLeft\"]) || \"button\" in n && 0 !== n.button ? null : (n.preventDefault(), n.stopPropagation(), function (n) {\n                    return t.sideMousedown(n, e);\n                  }(n));\n                }\n              }\n            });\n          })], 2);\n        },\n        Xt = [],\n        Yt = {\n          props: {\n            graph: Object,\n            node: Object,\n            index: Number,\n            isMove: Boolean,\n            isTemEdge: Boolean,\n            nodeIntercept: Function,\n            lineDrop: Boolean,\n            nodeDrop: Boolean\n          },\n          data: function data() {\n            return {\n              direction: W,\n              output: this.nodeIntercept()\n            };\n          },\n          computed: {\n            style: function style() {\n              var t = this.node,\n                e = t.position,\n                n = t.width,\n                i = t.height;\n              return {\n                width: n + \"px\",\n                height: i + \"px\",\n                top: e[1] + \"px\",\n                left: e[0] + \"px\"\n              };\n            }\n          },\n          methods: {\n            nodeMousedown: function nodeMousedown(t) {\n              this.graph.toLastNode(this.index), this.$emit(\"node-mousedown\", this.node, M(t));\n            },\n            nodeMouseenter: function nodeMouseenter(t) {\n              this.output = this.nodeIntercept(), this.graph.mouseonNode = this.node, this.isTemEdge && this.$emit(\"node-mouseenter\", t, this.node, M(t, this.$el));\n            },\n            nodeMouseleave: function nodeMouseleave() {\n              this.graph.mouseonNode = null, this.isTemEdge && this.$emit(\"node-mouseleave\");\n            },\n            nodeMouseup: function nodeMouseup() {\n              this.isTemEdge && this.$emit(\"node-mouseup\");\n            },\n            nodeContextmenu: function nodeContextmenu(t) {\n              this.$emit(\"node-contextmenu\", t, this.node);\n            },\n            sideMousedown: function sideMousedown(t) {\n              this.$emit(\"side-mousedown\", t, this.node, M(t, this.$el));\n            }\n          }\n        },\n        Ht = Yt,\n        Ut = (n(\"2470\"), Tt(Ht, Ft, Xt, !1, null, null, null)),\n        Wt = Ut.exports,\n        Jt = function Jt() {\n          var t = this,\n            e = t.$createElement,\n            n = t._self._c || e;\n          return n(\"canvas\", {\n            staticClass: \"super-flow__line\"\n          });\n        },\n        zt = [];\n      function Gt(t, e) {\n        return Kt(t) || qt(t, e) || te(t, e) || Vt();\n      }\n      function Vt() {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function qt(t, e) {\n        var n = t && (\"undefined\" !== typeof Symbol && t[Symbol.iterator] || t[\"@@iterator\"]);\n        if (null != n) {\n          var i,\n            r,\n            o = [],\n            s = !0,\n            a = !1;\n          try {\n            for (n = n.call(t); !(s = (i = n.next()).done); s = !0) if (o.push(i.value), e && o.length === e) break;\n          } catch (u) {\n            a = !0, r = u;\n          } finally {\n            try {\n              s || null == n[\"return\"] || n[\"return\"]();\n            } finally {\n              if (a) throw r;\n            }\n          }\n          return o;\n        }\n      }\n      function Kt(t) {\n        if (Array.isArray(t)) return t;\n      }\n      function Qt(t) {\n        return ne(t) || ee(t) || te(t) || Zt();\n      }\n      function Zt() {\n        throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function te(t, e) {\n        if (t) {\n          if (\"string\" === typeof t) return ie(t, e);\n          var n = Object.prototype.toString.call(t).slice(8, -1);\n          return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ie(t, e) : void 0;\n        }\n      }\n      function ee(t) {\n        if (\"undefined\" !== typeof Symbol && null != t[Symbol.iterator] || null != t[\"@@iterator\"]) return Array.from(t);\n      }\n      function ne(t) {\n        if (Array.isArray(t)) return ie(t);\n      }\n      function ie(t, e) {\n        (null == e || e > t.length) && (e = t.length);\n        for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];\n        return i;\n      }\n      var re = {\n          props: {\n            padding: {\n              type: Number,\n              default: 50\n            },\n            linkDesc: [Function, null],\n            linkStyle: [Function, null],\n            linkBaseStyle: Object,\n            index: Number,\n            graph: Object,\n            link: Object\n          },\n          data: function data() {\n            return {\n              top: 0,\n              right: 0,\n              bottom: 0,\n              left: 0,\n              currentPointList: [],\n              currentPathPointList: null\n            };\n          },\n          mounted: function mounted() {\n            var t = this;\n            this.ctx = this.$el.getContext(\"2d\"), this.draw(), this.graph.add(\"mousemove\", this.rootMousemove), this.$once(\"hook:beforeDestroy\", function () {\n              t.graph.remove(\"mousemove\", t.rootMousemove);\n            });\n          },\n          computed: {\n            styles: function styles() {\n              return Object.assign({\n                hover: \"#FF0000\",\n                color: \"#666666\",\n                textColor: \"#666666\",\n                textHover: \"#FF0000\",\n                font: \"14px Arial\",\n                dotted: !1,\n                lineDash: [4, 4],\n                background: \"rgba(255,255,255,0.6)\"\n              }, this.linkBaseStyle);\n            },\n            inPath: {\n              get: function get() {\n                return this.graph.mouseonLink === this.link;\n              },\n              set: function set(t) {\n                t && !this.graph.mouseonNode ? (this.graph.mouseonLink = this.link, this.$el.style.zIndex = \"1\", this.graph.toLastLink(this.index)) : this.inPath && (this.graph.mouseonLink = null, this.$el.style.zIndex = \"0\");\n              }\n            }\n          },\n          methods: {\n            draw: function draw() {\n              var t = this,\n                e = this.currentPathPointList = this.link.pathPointList,\n                n = e.pointList,\n                i = e.minX,\n                r = e.minY,\n                o = e.maxX,\n                s = e.maxY;\n              this.top = r - this.padding, this.right = o + this.padding, this.bottom = s + this.padding, this.left = i - this.padding, this.currentPointList = n.map(function (e) {\n                return [Math.floor(e[0] - t.left), Math.floor(e[1] - t.top)];\n              }), this.changeStyle(), this.initLine();\n            },\n            changeStyle: function changeStyle() {\n              this.$el.width = this.right - this.left, this.$el.height = this.bottom - this.top, this.$el.style.top = this.top + \"px\", this.$el.style.left = this.left + \"px\";\n            },\n            initLine: function initLine() {\n              if (this.ctx.clearRect(0, 0, this.$el.width, this.$el.height), this.linkStyle) {\n                var t = this.linkStyle(this.link);\n                Y(t) && Object.assign(this.styles, t);\n              }\n              if (this.inPath) {\n                var e = this.styles.hover,\n                  n = this.styles.textHover;\n                this.drawLine(e), this.drawDesc(n), this.drawArrow(e);\n              } else {\n                var i = this.styles.color,\n                  r = this.styles.textColor;\n                this.drawLine(i), this.drawDesc(r), this.drawArrow(i);\n              }\n            },\n            drawLine: function drawLine(t) {\n              var e = 2,\n                n = this.ctx;\n              n.lineJoin = \"round\", n.beginPath(), this.styles.dotted && n.setLineDash(this.styles.lineDash), n.lineWidth = e, n.strokeStyle = t, this.currentPointList.forEach(function (t, e) {\n                0 === e ? n.moveTo.apply(n, Qt(t)) : (n.lineTo.apply(n, Qt(t)), n.stroke());\n              }), n.save();\n            },\n            drawDesc: function drawDesc(t) {\n              var e,\n                n = this.ctx;\n              if (R(this.linkDesc) && (e = this.linkDesc(this.link)), X(e)) {\n                var i = this.styles,\n                  r = i.font,\n                  o = i.background;\n                this.ctx.font = r, this.ctx.textAlign = \"center\", this.ctx.textBaseline = \"middle\";\n                var s = this.descIntercept(e),\n                  a = s.text,\n                  u = s.width,\n                  l = parseInt(r.match(/(\\d+px)/g)[0]),\n                  c = this.descPosition(),\n                  h = T(c).minus([u / 2, l / 2]).end;\n                this.ctx.fillStyle = o, n.fillRect(h[0], h[1], u, l), this.ctx.fillStyle = t, n.fillText.apply(n, [a].concat(Qt(c)));\n              }\n            },\n            descPosition: function descPosition() {\n              var t = 0,\n                e = 0,\n                n = null;\n              return this.currentPointList.reduce(function (e, n) {\n                var i = T(e).minus(n).end;\n                return t += Math.abs(i[0]) + Math.abs(i[1]), n;\n              }), this.currentPointList.reduce(function (i, r) {\n                var o = T(i).minus(r).end,\n                  s = Math.abs(o[0]) + Math.abs(o[1]),\n                  a = e,\n                  u = t / 2;\n                return e += s, e >= t / 2 && null === n && (n = i, n = i[0] === r[0] ? i[1] < r[1] ? T(i).add([0, u - a]).end : T(i).add([0, -(u - a)]).end : i[0] < r[0] ? T(i).add([u - a, 0]).end : T(i).add([-(u - a), 0]).end), r;\n              }), n;\n            },\n            descIntercept: function descIntercept(t) {\n              var e = this.ctx,\n                n = e.measureText(t).width,\n                i = 2 * this.padding - 10,\n                r = \"...\",\n                o = e.measureText(r).width;\n              if (n <= i || i <= o) return {\n                text: t,\n                width: n\n              };\n              var s = t.length;\n              while (n >= i - o && s-- > 0) t = t.slice(0, s), n = e.measureText(t).width;\n              return {\n                text: t + r,\n                width: i + o\n              };\n            },\n            drawArrow: function drawArrow(t) {\n              var e = 4,\n                n = this.currentPointList.length;\n              if (!(n < 2)) {\n                var i = this.currentPointList[n - 2],\n                  r = this.currentPointList[n - 1],\n                  o = this.ctx;\n                o.translate.apply(o, Qt(r));\n                var s = Math.atan((r[0] - i[0]) / (r[1] - i[1]));\n                o.beginPath(), r[1] - i[1] >= 0 ? o.rotate(-s) : o.rotate(Math.PI - s), o.fillStyle = t, o.lineTo(-e, 2 * -e), o.lineTo(0, -e), o.lineTo(e, 2 * -e), o.lineTo(0, 0), o.closePath(), o.fill(), o.restore();\n              }\n            },\n            getCoordinates: function getCoordinates(t) {\n              var e = t.clientX,\n                n = t.clientY,\n                i = this.$el.getBoundingClientRect(),\n                r = i.top,\n                o = i.left;\n              return [e - o, n - r];\n            },\n            isPointInStroke: function isPointInStroke(t) {\n              var e = this.getCoordinates(t),\n                n = Gt(e, 2),\n                i = n[0],\n                r = n[1];\n              return this.link.isPointInLink([this.left + i, this.top + r], this.currentPathPointList);\n            },\n            rootMousemove: function rootMousemove(t) {\n              var e = t.evt;\n              return this.inPath = this.isPointInStroke(e), this.inPath;\n            }\n          },\n          watch: {\n            \"link.pathPointList\": function linkPathPointList() {\n              this.draw();\n            },\n            inPath: function inPath() {\n              this.initLine();\n            },\n            \"link.meta\": {\n              deep: !0,\n              handler: function handler() {\n                this.draw();\n              }\n            },\n            linkBaseStyle: {\n              deep: !0,\n              handler: function handler() {\n                this.draw();\n              }\n            }\n          }\n        },\n        oe = re,\n        se = (n(\"7e2d\"), Tt(oe, Jt, zt, !1, null, null, null)),\n        ae = se.exports,\n        ue = function ue() {\n          var t = this,\n            e = t.$createElement,\n            n = t._self._c || e;\n          return n(\"canvas\", {\n            ref: \"markLine\",\n            staticClass: \"super-flow__mark-line\"\n          });\n        },\n        le = [];\n      function ce(t) {\n        return fe(t) || de(t) || ve(t) || he();\n      }\n      function he() {\n        throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function de(t) {\n        if (\"undefined\" !== typeof Symbol && null != t[Symbol.iterator] || null != t[\"@@iterator\"]) return Array.from(t);\n      }\n      function fe(t) {\n        if (Array.isArray(t)) return ye(t);\n      }\n      function pe(t, e) {\n        return be(t) || ge(t, e) || ve(t, e) || me();\n      }\n      function me() {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function ve(t, e) {\n        if (t) {\n          if (\"string\" === typeof t) return ye(t, e);\n          var n = Object.prototype.toString.call(t).slice(8, -1);\n          return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ye(t, e) : void 0;\n        }\n      }\n      function ye(t, e) {\n        (null == e || e > t.length) && (e = t.length);\n        for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];\n        return i;\n      }\n      function ge(t, e) {\n        var n = t && (\"undefined\" !== typeof Symbol && t[Symbol.iterator] || t[\"@@iterator\"]);\n        if (null != n) {\n          var i,\n            r,\n            o = [],\n            s = !0,\n            a = !1;\n          try {\n            for (n = n.call(t); !(s = (i = n.next()).done); s = !0) if (o.push(i.value), e && o.length === e) break;\n          } catch (u) {\n            a = !0, r = u;\n          } finally {\n            try {\n              s || null == n[\"return\"] || n[\"return\"]();\n            } finally {\n              if (a) throw r;\n            }\n          }\n          return o;\n        }\n      }\n      function be(t) {\n        if (Array.isArray(t)) return t;\n      }\n      var ke = {\n          props: {\n            width: {\n              type: Number,\n              default: 0\n            },\n            height: {\n              type: Number,\n              default: 0\n            },\n            markLine: Array,\n            markColor: String\n          },\n          mounted: function mounted() {\n            this.$refs.markLine.height = this.height, this.$refs.markLine.width = this.width, this.draw();\n          },\n          methods: {\n            draw: function draw() {\n              var t = this.$el.getContext(\"2d\");\n              t.clearRect(0, 0, this.width, this.height), t.strokeStyle = this.markColor, t.lineWidth = 1, t.setLineDash([4, 2]), this.markLine.forEach(function (e) {\n                var n = pe(e, 2),\n                  i = n[0],\n                  r = n[1];\n                t.beginPath(), t.moveTo.apply(t, ce(i)), t.lineTo.apply(t, ce(r)), t.stroke();\n              });\n            }\n          },\n          watch: {\n            markLine: function markLine() {\n              this.draw();\n            }\n          }\n        },\n        we = ke,\n        Le = (n(\"bce9\"), Tt(we, ue, le, !1, null, null, null)),\n        Ae = Le.exports;\n      function Se(t) {\n        return _e(t) || Ce(t) || Me(t) || xe();\n      }\n      function xe() {\n        throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n      }\n      function Me(t, e) {\n        if (t) {\n          if (\"string\" === typeof t) return Pe(t, e);\n          var n = Object.prototype.toString.call(t).slice(8, -1);\n          return \"Object\" === n && t.constructor && (n = t.constructor.name), \"Map\" === n || \"Set\" === n ? Array.from(t) : \"Arguments\" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Pe(t, e) : void 0;\n        }\n      }\n      function Ce(t) {\n        if (\"undefined\" !== typeof Symbol && null != t[Symbol.iterator] || null != t[\"@@iterator\"]) return Array.from(t);\n      }\n      function _e(t) {\n        if (Array.isArray(t)) return Pe(t);\n      }\n      function Pe(t, e) {\n        (null == e || e > t.length) && (e = t.length);\n        for (var n = 0, i = new Array(e); n < e; n++) i[n] = t[n];\n        return i;\n      }\n      function Oe(t, e) {\n        var n = Object.keys(t);\n        if (Object.getOwnPropertySymbols) {\n          var i = Object.getOwnPropertySymbols(t);\n          e && (i = i.filter(function (e) {\n            return Object.getOwnPropertyDescriptor(t, e).enumerable;\n          })), n.push.apply(n, i);\n        }\n        return n;\n      }\n      function je(t) {\n        for (var e = 1; e < arguments.length; e++) {\n          var n = null != arguments[e] ? arguments[e] : {};\n          e % 2 ? Oe(Object(n), !0).forEach(function (e) {\n            $e(t, e, n[e]);\n          }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Oe(Object(n)).forEach(function (e) {\n            Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e));\n          });\n        }\n        return t;\n      }\n      function $e(t, e, n) {\n        return e in t ? Object.defineProperty(t, e, {\n          value: n,\n          enumerable: !0,\n          configurable: !0,\n          writable: !0\n        }) : t[e] = n, t;\n      }\n      var Ee = {\n          name: \"super-flow\",\n          props: {\n            draggable: {\n              type: Boolean,\n              default: !0\n            },\n            linkAddable: {\n              type: Boolean,\n              default: !0\n            },\n            linkEditable: {\n              type: Boolean,\n              default: !0\n            },\n            hasMarkLine: {\n              type: Boolean,\n              default: !0\n            },\n            linkDesc: {\n              type: [Function, null],\n              default: null\n            },\n            linkStyle: {\n              type: [Function, null],\n              default: null\n            },\n            linkBaseStyle: {\n              type: Object,\n              default: function _default() {\n                return {};\n              }\n            },\n            markLineColor: {\n              type: String,\n              default: \"#55abfc\"\n            },\n            origin: {\n              type: Array,\n              default: function _default() {\n                return [0, 0];\n              }\n            },\n            nodeList: {\n              type: Array,\n              default: function _default() {\n                return [];\n              }\n            },\n            linkList: {\n              type: Array,\n              default: function _default() {\n                return [];\n              }\n            },\n            graphMenu: {\n              type: Array,\n              default: function _default() {\n                return [];\n              }\n            },\n            nodeMenu: {\n              type: Array,\n              default: function _default() {\n                return [];\n              }\n            },\n            linkMenu: {\n              type: Array,\n              default: function _default() {\n                return [];\n              }\n            },\n            linkPadding: {\n              type: Number,\n              default: 50\n            },\n            enterIntercept: {\n              type: Function,\n              default: function _default() {\n                return !0;\n              }\n            },\n            outputIntercept: {\n              type: Function,\n              default: function _default() {\n                return !0;\n              }\n            }\n          },\n          data: function data() {\n            return {\n              graph: new $t({\n                width: this.width,\n                height: this.height,\n                origin: this.origin\n              }),\n              menuConf: {\n                visible: !1,\n                position: [0, 0],\n                source: null,\n                list: []\n              },\n              moveNodeConf: {\n                isMove: !1,\n                node: null,\n                offset: null,\n                verticalList: [],\n                horizontalList: [],\n                markLine: []\n              },\n              moveAllConf: {\n                isMove: !1,\n                downPosition: [0, 0]\n              },\n              temEdgeConf: {\n                visible: !1,\n                link: null\n              },\n              loaded: !1,\n              clientWidth: 0,\n              clientHeight: 0\n            };\n          },\n          components: {\n            GraphMenu: Rt,\n            GraphNode: Wt,\n            GraphLine: ae,\n            MarkLine: Ae\n          },\n          computed: {\n            maskStyle: function maskStyle() {\n              var t = this.graph.maskBoundingClientRect,\n                e = t.top,\n                n = t.right,\n                i = t.bottom,\n                r = t.left;\n              return {\n                width: \"\".concat(n - r, \"px\"),\n                height: \"\".concat(i - e, \"px\"),\n                top: \"\".concat(e + this.graph.origin[1], \"px\"),\n                left: \"\".concat(r + this.graph.origin[0], \"px\")\n              };\n            }\n          },\n          mounted: function mounted() {\n            var t = this;\n            document.addEventListener(\"mouseup\", this.docMouseup), document.addEventListener(\"mousemove\", this.docMousemove), this.$once(\"hook:beforeDestroy\", function () {\n              document.removeEventListener(\"mouseup\", t.docMouseup), document.removeEventListener(\"mousemove\", t.docMousemove);\n            }), this.$nextTick(function () {\n              t.graph.initNode(t.nodeList), t.graph.initLink(t.linkList);\n            });\n          },\n          methods: {\n            initMenu: function initMenu(t, e) {\n              return t.map(function (t) {\n                return t.map(function (t) {\n                  var n, i;\n                  return n = R(t.disable) ? t.disable(e) : F(t.disable) ? t.disable : Boolean(t.disable), i = R(t.hidden) ? t.hidden(e) : F(t.hidden) ? t.hidden : Boolean(t.hidden), je(je({}, t), {}, {\n                    disable: n,\n                    hidden: i\n                  });\n                }).filter(function (t) {\n                  return !t.hidden;\n                });\n              }).filter(function (t) {\n                return t.length;\n              });\n            },\n            showContextMenu: function showContextMenu(t, e, n) {\n              e.length && (this.$set(this.menuConf, \"position\", t), this.$set(this.menuConf, \"list\", e), this.$set(this.menuConf, \"source\", n), this.menuConf.visible = !0);\n            },\n            docMouseup: function docMouseup(t) {\n              this.moveNodeConf.isMove && (t.stopPropagation(), t.preventDefault()), this.moveNodeConf.isMove = !1, this.moveNodeConf.node = null, this.moveNodeConf.offset = null, H(this.moveNodeConf.markLine, []), this.temEdgeConf.visible = !1, this.temEdgeConf.link = null, this.moveAllConf.isMove = !1;\n            },\n            docMousemove: function docMousemove(t) {\n              this.moveNodeConf.isMove ? this.moveNode(t) : this.temEdgeConf.visible ? this.moveTemEdge(t) : this.graph.graphSelected ? this.moveWhole(t) : this.linkEditable && this.graph.dispatch({\n                type: \"mousemove\",\n                evt: t\n              }, !0);\n            },\n            moveNode: function moveNode(t) {\n              var e = this,\n                n = 10,\n                i = this.moveNodeConf,\n                r = this.graph.origin,\n                o = T(i.offset).differ(M(t, this.$el)).minus(r).add([i.node.width / 2, i.node.height / 2]).end;\n              if (this.hasMarkLine) {\n                var s = [];\n                i.verticalList.some(function (t) {\n                  var i = o[0],\n                    a = t - n < i && t + n > i;\n                  return a && (o[0] = t, t = Math.floor(t), t += r[0], t += t % 1 === 0 ? .5 : 0, s.push([[t, 0], [t, e.clientHeight]])), a;\n                }), i.horizontalList.some(function (t) {\n                  var i = o[1],\n                    a = t - n < i && t + n > i;\n                  return a && (o[1] = t, t = Math.floor(t), t += r[1], t += t % 1 === 0 ? .5 : 0, s.push([[0, t], [e.clientWidth, t]])), a;\n                }), H(i.markLine, s);\n              }\n              i.node.center = o;\n            },\n            moveTemEdge: function moveTemEdge(t) {\n              this.temEdgeConf.link.movePosition = M(t, this.$el);\n            },\n            moveWhole: function moveWhole(t) {\n              if (this.moveAllConf.isMove) {\n                var e = T(this.moveAllConf.downPosition).differ([t.clientX, t.clientY]).end;\n                H(this.graph.origin, T(this.moveAllConf.origin).add(e).end);\n              }\n            },\n            contextmenu: function contextmenu(t) {\n              var e,\n                n,\n                i = this.graph.mouseonLink,\n                r = M(t);\n              i && i.isPointInLink(r) ? (e = this.initMenu(this.linkMenu, i), n = i) : (i && (this.graph.mouseonLink = null), e = this.initMenu(this.graphMenu, this.graph), n = this.graph), this.showContextMenu(r, e, n);\n            },\n            nodeMousedown: function nodeMousedown(t, e) {\n              if (this.draggable) {\n                this.clientWidth = this.$el.clientWidth, this.clientHeight = this.$el.clientHeight;\n                var n = this.moveNodeConf.verticalList,\n                  i = this.moveNodeConf.horizontalList,\n                  r = this.graph.nodeList.filter(function (e) {\n                    return e !== t;\n                  }).map(function (t) {\n                    return t.center;\n                  });\n                H(n, Se(new Set(r.map(function (t) {\n                  return t[0];\n                }))).sort(function (t, e) {\n                  return t - e;\n                })), H(i, Se(new Set(r.map(function (t) {\n                  return t[1];\n                }))).sort(function (t, e) {\n                  return t - e;\n                })), this.moveNodeConf.isMove = !0, this.moveNodeConf.node = t, this.moveNodeConf.offset = e;\n              }\n            },\n            nodeMouseenter: function nodeMouseenter(t, e, n) {\n              var i = this.temEdgeConf.link;\n              this.enterIntercept(i.start, e, this.graph) && (i.end = e, i.endAt = n);\n            },\n            nodeMouseleave: function nodeMouseleave() {\n              this.temEdgeConf.link.end = null;\n            },\n            nodeMouseup: function nodeMouseup() {\n              this.graph.addLink(this.temEdgeConf.link);\n            },\n            nodeContextmenu: function nodeContextmenu(t, e) {\n              var n = this.initMenu(this.nodeMenu, e);\n              n.length && (this.$set(this.menuConf, \"position\", M(t, this.$el)), this.$set(this.menuConf, \"list\", n), this.$set(this.menuConf, \"source\", e), this.menuConf.visible = !0);\n            },\n            sideMousedown: function sideMousedown(t, e, n) {\n              if (this.linkAddable) {\n                var i = this.graph.createLink({\n                  start: e,\n                  startAt: n\n                });\n                i.movePosition = M(t, this.$el), this.$set(this.temEdgeConf, \"link\", i), this.temEdgeConf.visible = !0;\n              }\n            },\n            nodeIntercept: function nodeIntercept(t) {\n              var e = this;\n              return function () {\n                return e.outputIntercept(t, e.graph);\n              };\n            },\n            menuItemSelect: function menuItemSelect() {\n              this.menuConf.visible = !1;\n            },\n            selectAllMaskMouseDown: function selectAllMaskMouseDown(t) {\n              this.moveAllConf.isMove = !0, this.moveAllConf.origin = Se(this.graph.origin), this.moveAllConf.downPosition = [t.clientX, t.clientY];\n            },\n            selectedAll: function selectedAll() {\n              this.graph.selectAll();\n            },\n            toJSON: function toJSON() {\n              return this.graph.toJSON();\n            },\n            getMouseCoordinate: function getMouseCoordinate(t, e) {\n              var n = M({\n                clientX: t,\n                clientY: e\n              }, this.$el);\n              return T(n).minus(this.graph.origin).end;\n            },\n            addNode: function addNode(t) {\n              return this.graph.addNode(t);\n            }\n          },\n          watch: {\n            \"graph.graphSelected\": function graphGraphSelected() {\n              var t = this;\n              this.graph.graphSelected && this.$nextTick(function () {\n                t.$refs.selectAllMask.focus();\n              });\n            },\n            \"graph.mouseonLink\": function graphMouseonLink() {\n              this.graph.mouseonLink ? document.body.style.cursor = \"pointer\" : document.body.style.cursor = \"\";\n            },\n            origin: function origin() {\n              this.graph.origin = this.origin || [];\n            },\n            nodeList: function nodeList() {\n              this.graph.initNode(this.nodeList);\n            },\n            linkList: function linkList() {\n              this.graph.initLink(this.linkList);\n            }\n          },\n          install: function install(t) {\n            t.component(this.name, this);\n          }\n        },\n        Ne = Ee,\n        Ie = (n(\"3ad9\"), Tt(Ne, s, a, !1, null, null, null)),\n        De = Ie.exports;\n      e[\"default\"] = De;\n    }\n  })[\"default\"];\n});\n\n//# sourceURL=webpack://dtools/./node_modules/vue-super-flow/lib/index.umd.min.js?");

/***/ }),

/***/ "./node_modules/vue/dist/vue.esm.js":
/*!******************************************!*\
  !*** ./node_modules/vue/dist/vue.esm.js ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"EffectScope\": function() { return /* binding */ EffectScope; },\n/* harmony export */   \"computed\": function() { return /* binding */ computed; },\n/* harmony export */   \"customRef\": function() { return /* binding */ customRef; },\n/* harmony export */   \"default\": function() { return /* binding */ Vue; },\n/* harmony export */   \"defineAsyncComponent\": function() { return /* binding */ defineAsyncComponent; },\n/* harmony export */   \"defineComponent\": function() { return /* binding */ defineComponent; },\n/* harmony export */   \"del\": function() { return /* binding */ del; },\n/* harmony export */   \"effectScope\": function() { return /* binding */ effectScope; },\n/* harmony export */   \"getCurrentInstance\": function() { return /* binding */ getCurrentInstance; },\n/* harmony export */   \"getCurrentScope\": function() { return /* binding */ getCurrentScope; },\n/* harmony export */   \"h\": function() { return /* binding */ h; },\n/* harmony export */   \"inject\": function() { return /* binding */ inject; },\n/* harmony export */   \"isProxy\": function() { return /* binding */ isProxy; },\n/* harmony export */   \"isReactive\": function() { return /* binding */ isReactive; },\n/* harmony export */   \"isReadonly\": function() { return /* binding */ isReadonly; },\n/* harmony export */   \"isRef\": function() { return /* binding */ isRef; },\n/* harmony export */   \"isShallow\": function() { return /* binding */ isShallow; },\n/* harmony export */   \"markRaw\": function() { return /* binding */ markRaw; },\n/* harmony export */   \"mergeDefaults\": function() { return /* binding */ mergeDefaults; },\n/* harmony export */   \"nextTick\": function() { return /* binding */ nextTick; },\n/* harmony export */   \"onActivated\": function() { return /* binding */ onActivated; },\n/* harmony export */   \"onBeforeMount\": function() { return /* binding */ onBeforeMount; },\n/* harmony export */   \"onBeforeUnmount\": function() { return /* binding */ onBeforeUnmount; },\n/* harmony export */   \"onBeforeUpdate\": function() { return /* binding */ onBeforeUpdate; },\n/* harmony export */   \"onDeactivated\": function() { return /* binding */ onDeactivated; },\n/* harmony export */   \"onErrorCaptured\": function() { return /* binding */ onErrorCaptured; },\n/* harmony export */   \"onMounted\": function() { return /* binding */ onMounted; },\n/* harmony export */   \"onRenderTracked\": function() { return /* binding */ onRenderTracked; },\n/* harmony export */   \"onRenderTriggered\": function() { return /* binding */ onRenderTriggered; },\n/* harmony export */   \"onScopeDispose\": function() { return /* binding */ onScopeDispose; },\n/* harmony export */   \"onServerPrefetch\": function() { return /* binding */ onServerPrefetch; },\n/* harmony export */   \"onUnmounted\": function() { return /* binding */ onUnmounted; },\n/* harmony export */   \"onUpdated\": function() { return /* binding */ onUpdated; },\n/* harmony export */   \"provide\": function() { return /* binding */ provide; },\n/* harmony export */   \"proxyRefs\": function() { return /* binding */ proxyRefs; },\n/* harmony export */   \"reactive\": function() { return /* binding */ reactive; },\n/* harmony export */   \"readonly\": function() { return /* binding */ readonly; },\n/* harmony export */   \"ref\": function() { return /* binding */ ref$1; },\n/* harmony export */   \"set\": function() { return /* binding */ set; },\n/* harmony export */   \"shallowReactive\": function() { return /* binding */ shallowReactive; },\n/* harmony export */   \"shallowReadonly\": function() { return /* binding */ shallowReadonly; },\n/* harmony export */   \"shallowRef\": function() { return /* binding */ shallowRef; },\n/* harmony export */   \"toRaw\": function() { return /* binding */ toRaw; },\n/* harmony export */   \"toRef\": function() { return /* binding */ toRef; },\n/* harmony export */   \"toRefs\": function() { return /* binding */ toRefs; },\n/* harmony export */   \"triggerRef\": function() { return /* binding */ triggerRef; },\n/* harmony export */   \"unref\": function() { return /* binding */ unref; },\n/* harmony export */   \"useAttrs\": function() { return /* binding */ useAttrs; },\n/* harmony export */   \"useCssModule\": function() { return /* binding */ useCssModule; },\n/* harmony export */   \"useCssVars\": function() { return /* binding */ useCssVars; },\n/* harmony export */   \"useListeners\": function() { return /* binding */ useListeners; },\n/* harmony export */   \"useSlots\": function() { return /* binding */ useSlots; },\n/* harmony export */   \"version\": function() { return /* binding */ version; },\n/* harmony export */   \"watch\": function() { return /* binding */ watch; },\n/* harmony export */   \"watchEffect\": function() { return /* binding */ watchEffect; },\n/* harmony export */   \"watchPostEffect\": function() { return /* binding */ watchPostEffect; },\n/* harmony export */   \"watchSyncEffect\": function() { return /* binding */ watchSyncEffect; }\n/* harmony export */ });\n/*!\n * Vue.js v2.7.14\n * (c) 2014-2022 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\nvar isArray = Array.isArray;\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n  return v === undefined || v === null;\n}\nfunction isDef(v) {\n  return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n  return v === true;\n}\nfunction isFalse(v) {\n  return v === false;\n}\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n  return typeof value === 'string' || typeof value === 'number' ||\n  // $flow-disable-line\n  typeof value === 'symbol' || typeof value === 'boolean';\n}\nfunction isFunction(value) {\n  return typeof value === 'function';\n}\n/**\n * Quick object check - this is primarily used to tell\n * objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n  return obj !== null && typeof obj === 'object';\n}\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\nfunction toRawType(value) {\n  return _toString.call(value).slice(8, -1);\n}\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n  return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n  return _toString.call(v) === '[object RegExp]';\n}\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n  var n = parseFloat(String(val));\n  return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n  return isDef(val) && typeof val.then === 'function' && typeof val.catch === 'function';\n}\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n  return val == null ? '' : Array.isArray(val) || isPlainObject(val) && val.toString === _toString ? JSON.stringify(val, null, 2) : String(val);\n}\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n  var n = parseFloat(val);\n  return isNaN(n) ? val : n;\n}\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n  var map = Object.create(null);\n  var list = str.split(',');\n  for (var i = 0; i < list.length; i++) {\n    map[list[i]] = true;\n  }\n  return expectsLowerCase ? function (val) {\n    return map[val.toLowerCase()];\n  } : function (val) {\n    return map[val];\n  };\n}\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n  var len = arr.length;\n  if (len) {\n    // fast path for the only / last item\n    if (item === arr[len - 1]) {\n      arr.length = len - 1;\n      return;\n    }\n    var index = arr.indexOf(item);\n    if (index > -1) {\n      return arr.splice(index, 1);\n    }\n  }\n}\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n  return hasOwnProperty.call(obj, key);\n}\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n  var cache = Object.create(null);\n  return function cachedFn(str) {\n    var hit = cache[str];\n    return hit || (cache[str] = fn(str));\n  };\n}\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n  return str.replace(camelizeRE, function (_, c) {\n    return c ? c.toUpperCase() : '';\n  });\n});\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n  return str.charAt(0).toUpperCase() + str.slice(1);\n});\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n  return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n  function boundFn(a) {\n    var l = arguments.length;\n    return l ? l > 1 ? fn.apply(ctx, arguments) : fn.call(ctx, a) : fn.call(ctx);\n  }\n  boundFn._length = fn.length;\n  return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n  return fn.bind(ctx);\n}\n// @ts-expect-error bind cannot be `undefined`\nvar bind$1 = Function.prototype.bind ? nativeBind : polyfillBind;\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n  start = start || 0;\n  var i = list.length - start;\n  var ret = new Array(i);\n  while (i--) {\n    ret[i] = list[i + start];\n  }\n  return ret;\n}\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n  for (var key in _from) {\n    to[key] = _from[key];\n  }\n  return to;\n}\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject(arr) {\n  var res = {};\n  for (var i = 0; i < arr.length; i++) {\n    if (arr[i]) {\n      extend(res, arr[i]);\n    }\n  }\n  return res;\n}\n/* eslint-disable no-unused-vars */\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) {}\n/**\n * Always return false.\n */\nvar no = function no(a, b, c) {\n  return false;\n};\n/* eslint-enable no-unused-vars */\n/**\n * Return the same value.\n */\nvar identity = function identity(_) {\n  return _;\n};\n/**\n * Generate a string containing static keys from compiler modules.\n */\nfunction genStaticKeys$1(modules) {\n  return modules.reduce(function (keys, m) {\n    return keys.concat(m.staticKeys || []);\n  }, []).join(',');\n}\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n  if (a === b) return true;\n  var isObjectA = isObject(a);\n  var isObjectB = isObject(b);\n  if (isObjectA && isObjectB) {\n    try {\n      var isArrayA = Array.isArray(a);\n      var isArrayB = Array.isArray(b);\n      if (isArrayA && isArrayB) {\n        return a.length === b.length && a.every(function (e, i) {\n          return looseEqual(e, b[i]);\n        });\n      } else if (a instanceof Date && b instanceof Date) {\n        return a.getTime() === b.getTime();\n      } else if (!isArrayA && !isArrayB) {\n        var keysA = Object.keys(a);\n        var keysB = Object.keys(b);\n        return keysA.length === keysB.length && keysA.every(function (key) {\n          return looseEqual(a[key], b[key]);\n        });\n      } else {\n        /* istanbul ignore next */\n        return false;\n      }\n    } catch (e) {\n      /* istanbul ignore next */\n      return false;\n    }\n  } else if (!isObjectA && !isObjectB) {\n    return String(a) === String(b);\n  } else {\n    return false;\n  }\n}\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n  for (var i = 0; i < arr.length; i++) {\n    if (looseEqual(arr[i], val)) return i;\n  }\n  return -1;\n}\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n  var called = false;\n  return function () {\n    if (!called) {\n      called = true;\n      fn.apply(this, arguments);\n    }\n  };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\nfunction hasChanged(x, y) {\n  if (x === y) {\n    return x === 0 && 1 / x !== 1 / y;\n  } else {\n    return x === x || y === y;\n  }\n}\nvar SSR_ATTR = 'data-server-rendered';\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\nvar LIFECYCLE_HOOKS = ['beforeCreate', 'created', 'beforeMount', 'mounted', 'beforeUpdate', 'updated', 'beforeDestroy', 'destroyed', 'activated', 'deactivated', 'errorCaptured', 'serverPrefetch', 'renderTracked', 'renderTriggered'];\nvar config = {\n  /**\n   * Option merge strategies (used in core/util/options)\n   */\n  // $flow-disable-line\n  optionMergeStrategies: Object.create(null),\n  /**\n   * Whether to suppress warnings.\n   */\n  silent: false,\n  /**\n   * Show production mode tip message on boot?\n   */\n  productionTip: \"single\" !== 'production',\n  /**\n   * Whether to enable devtools\n   */\n  devtools: \"single\" !== 'production',\n  /**\n   * Whether to record perf\n   */\n  performance: false,\n  /**\n   * Error handler for watcher errors\n   */\n  errorHandler: null,\n  /**\n   * Warn handler for watcher warns\n   */\n  warnHandler: null,\n  /**\n   * Ignore certain custom elements\n   */\n  ignoredElements: [],\n  /**\n   * Custom user key aliases for v-on\n   */\n  // $flow-disable-line\n  keyCodes: Object.create(null),\n  /**\n   * Check if a tag is reserved so that it cannot be registered as a\n   * component. This is platform-dependent and may be overwritten.\n   */\n  isReservedTag: no,\n  /**\n   * Check if an attribute is reserved so that it cannot be used as a component\n   * prop. This is platform-dependent and may be overwritten.\n   */\n  isReservedAttr: no,\n  /**\n   * Check if a tag is an unknown element.\n   * Platform-dependent.\n   */\n  isUnknownElement: no,\n  /**\n   * Get the namespace of an element\n   */\n  getTagNamespace: noop,\n  /**\n   * Parse the real tag name for the specific platform.\n   */\n  parsePlatformTagName: identity,\n  /**\n   * Check if an attribute must be bound using property, e.g. value\n   * Platform-dependent.\n   */\n  mustUseProp: no,\n  /**\n   * Perform updates asynchronously. Intended to be used by Vue Test Utils\n   * This will significantly reduce performance if set to false.\n   */\n  async: true,\n  /**\n   * Exposed for legacy reasons\n   */\n  _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n  var c = (str + '').charCodeAt(0);\n  return c === 0x24 || c === 0x5f;\n}\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n  Object.defineProperty(obj, key, {\n    value: val,\n    enumerable: !!enumerable,\n    writable: true,\n    configurable: true\n  });\n}\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\nfunction parsePath(path) {\n  if (bailRE.test(path)) {\n    return;\n  }\n  var segments = path.split('.');\n  return function (obj) {\n    for (var i = 0; i < segments.length; i++) {\n      if (!obj) return;\n      obj = obj[segments[i]];\n    }\n    return obj;\n  };\n}\n\n// can we use __proto__?\nvar hasProto = ('__proto__' in {});\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n// Firefox has a \"watch\" function on Object.prototype...\n// @ts-expect-error firebox support\nvar nativeWatch = {}.watch;\nvar supportsPassive = false;\nif (inBrowser) {\n  try {\n    var opts = {};\n    Object.defineProperty(opts, 'passive', {\n      get: function get() {\n        /* istanbul ignore next */\n        supportsPassive = true;\n      }\n    }); // https://github.com/facebook/flow/issues/285\n    window.addEventListener('test-passive', null, opts);\n  } catch (e) {}\n}\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function isServerRendering() {\n  if (_isServer === undefined) {\n    /* istanbul ignore if */\n    if (!inBrowser && typeof __webpack_require__.g !== 'undefined') {\n      // detect presence of vue-server-renderer and avoid\n      // Webpack shimming the process\n      _isServer = __webpack_require__.g['process'] && __webpack_require__.g['process'].env.VUE_ENV === 'server';\n    } else {\n      _isServer = false;\n    }\n  }\n  return _isServer;\n};\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n  return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nvar hasSymbol = typeof Symbol !== 'undefined' && isNative(Symbol) && typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\nvar _Set; // $flow-disable-line\n/* istanbul ignore if */\nif (typeof Set !== 'undefined' && isNative(Set)) {\n  // use native Set when available.\n  _Set = Set;\n} else {\n  // a non-standard Set polyfill that only works with primitive keys.\n  _Set = /** @class */function () {\n    function Set() {\n      this.set = Object.create(null);\n    }\n    Set.prototype.has = function (key) {\n      return this.set[key] === true;\n    };\n    Set.prototype.add = function (key) {\n      this.set[key] = true;\n    };\n    Set.prototype.clear = function () {\n      this.set = Object.create(null);\n    };\n    return Set;\n  }();\n}\nvar currentInstance = null;\n/**\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\n * relies on it). Do not use this internally, just use `currentInstance`.\n *\n * @internal this function needs manual type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction getCurrentInstance() {\n  return currentInstance && {\n    proxy: currentInstance\n  };\n}\n/**\n * @internal\n */\nfunction setCurrentInstance(vm) {\n  if (vm === void 0) {\n    vm = null;\n  }\n  if (!vm) currentInstance && currentInstance._scope.off();\n  currentInstance = vm;\n  vm && vm._scope.on();\n}\n\n/**\n * @internal\n */\nvar VNode = /** @class */function () {\n  function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n    this.tag = tag;\n    this.data = data;\n    this.children = children;\n    this.text = text;\n    this.elm = elm;\n    this.ns = undefined;\n    this.context = context;\n    this.fnContext = undefined;\n    this.fnOptions = undefined;\n    this.fnScopeId = undefined;\n    this.key = data && data.key;\n    this.componentOptions = componentOptions;\n    this.componentInstance = undefined;\n    this.parent = undefined;\n    this.raw = false;\n    this.isStatic = false;\n    this.isRootInsert = true;\n    this.isComment = false;\n    this.isCloned = false;\n    this.isOnce = false;\n    this.asyncFactory = asyncFactory;\n    this.asyncMeta = undefined;\n    this.isAsyncPlaceholder = false;\n  }\n  Object.defineProperty(VNode.prototype, \"child\", {\n    // DEPRECATED: alias for componentInstance for backwards compat.\n    /* istanbul ignore next */\n    get: function get() {\n      return this.componentInstance;\n    },\n    enumerable: false,\n    configurable: true\n  });\n  return VNode;\n}();\nvar createEmptyVNode = function createEmptyVNode(text) {\n  if (text === void 0) {\n    text = '';\n  }\n  var node = new VNode();\n  node.text = text;\n  node.isComment = true;\n  return node;\n};\nfunction createTextVNode(val) {\n  return new VNode(undefined, undefined, undefined, String(val));\n}\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n  var cloned = new VNode(vnode.tag, vnode.data,\n  // #7975\n  // clone children array to avoid mutating original in case of cloning\n  // a child.\n  vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n  cloned.ns = vnode.ns;\n  cloned.isStatic = vnode.isStatic;\n  cloned.key = vnode.key;\n  cloned.isComment = vnode.isComment;\n  cloned.fnContext = vnode.fnContext;\n  cloned.fnOptions = vnode.fnOptions;\n  cloned.fnScopeId = vnode.fnScopeId;\n  cloned.asyncMeta = vnode.asyncMeta;\n  cloned.isCloned = true;\n  return cloned;\n}\n\n/* not type checking this file because flow doesn't play well with Proxy */\nvar initProxy;\nif (true) {\n  var allowedGlobals_1 = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,' + 'require' // for Webpack/Browserify\n  );\n\n  var warnNonPresent_1 = function warnNonPresent_1(target, key) {\n    warn$2(\"Property or method \\\"\".concat(key, \"\\\" is not defined on the instance but \") + 'referenced during render. Make sure that this property is reactive, ' + 'either in the data option, or for class-based components, by ' + 'initializing the property. ' + 'See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.', target);\n  };\n  var warnReservedPrefix_1 = function warnReservedPrefix_1(target, key) {\n    warn$2(\"Property \\\"\".concat(key, \"\\\" must be accessed with \\\"$data.\").concat(key, \"\\\" because \") + 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' + 'prevent conflicts with Vue internals. ' + 'See: https://v2.vuejs.org/v2/api/#data', target);\n  };\n  var hasProxy_1 = typeof Proxy !== 'undefined' && isNative(Proxy);\n  if (hasProxy_1) {\n    var isBuiltInModifier_1 = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\n    config.keyCodes = new Proxy(config.keyCodes, {\n      set: function set(target, key, value) {\n        if (isBuiltInModifier_1(key)) {\n          warn$2(\"Avoid overwriting built-in modifier in config.keyCodes: .\".concat(key));\n          return false;\n        } else {\n          target[key] = value;\n          return true;\n        }\n      }\n    });\n  }\n  var hasHandler_1 = {\n    has: function has(target, key) {\n      var has = (key in target);\n      var isAllowed = allowedGlobals_1(key) || typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data);\n      if (!has && !isAllowed) {\n        if (key in target.$data) warnReservedPrefix_1(target, key);else warnNonPresent_1(target, key);\n      }\n      return has || !isAllowed;\n    }\n  };\n  var getHandler_1 = {\n    get: function get(target, key) {\n      if (typeof key === 'string' && !(key in target)) {\n        if (key in target.$data) warnReservedPrefix_1(target, key);else warnNonPresent_1(target, key);\n      }\n      return target[key];\n    }\n  };\n  initProxy = function initProxy(vm) {\n    if (hasProxy_1) {\n      // determine which proxy handler to use\n      var options = vm.$options;\n      var handlers = options.render && options.render._withStripped ? getHandler_1 : hasHandler_1;\n      vm._renderProxy = new Proxy(vm, handlers);\n    } else {\n      vm._renderProxy = vm;\n    }\n  };\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n\nvar _assign = function __assign() {\n  _assign = Object.assign || function __assign(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)) t[p] = s[p];\n    }\n    return t;\n  };\n  return _assign.apply(this, arguments);\n};\nvar uid$2 = 0;\nvar pendingCleanupDeps = [];\nvar cleanupDeps = function cleanupDeps() {\n  for (var i = 0; i < pendingCleanupDeps.length; i++) {\n    var dep = pendingCleanupDeps[i];\n    dep.subs = dep.subs.filter(function (s) {\n      return s;\n    });\n    dep._pending = false;\n  }\n  pendingCleanupDeps.length = 0;\n};\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n * @internal\n */\nvar Dep = /** @class */function () {\n  function Dep() {\n    // pending subs cleanup\n    this._pending = false;\n    this.id = uid$2++;\n    this.subs = [];\n  }\n  Dep.prototype.addSub = function (sub) {\n    this.subs.push(sub);\n  };\n  Dep.prototype.removeSub = function (sub) {\n    // #12696 deps with massive amount of subscribers are extremely slow to\n    // clean up in Chromium\n    // to workaround this, we unset the sub for now, and clear them on\n    // next scheduler flush.\n    this.subs[this.subs.indexOf(sub)] = null;\n    if (!this._pending) {\n      this._pending = true;\n      pendingCleanupDeps.push(this);\n    }\n  };\n  Dep.prototype.depend = function (info) {\n    if (Dep.target) {\n      Dep.target.addDep(this);\n      if ( true && info && Dep.target.onTrack) {\n        Dep.target.onTrack(_assign({\n          effect: Dep.target\n        }, info));\n      }\n    }\n  };\n  Dep.prototype.notify = function (info) {\n    // stabilize the subscriber list first\n    var subs = this.subs.filter(function (s) {\n      return s;\n    });\n    if ( true && !config.async) {\n      // subs aren't sorted in scheduler if not running async\n      // we need to sort them now to make sure they fire in correct\n      // order\n      subs.sort(function (a, b) {\n        return a.id - b.id;\n      });\n    }\n    for (var i = 0, l = subs.length; i < l; i++) {\n      var sub = subs[i];\n      if ( true && info) {\n        sub.onTrigger && sub.onTrigger(_assign({\n          effect: subs[i]\n        }, info));\n      }\n      sub.update();\n    }\n  };\n  return Dep;\n}();\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\nfunction pushTarget(target) {\n  targetStack.push(target);\n  Dep.target = target;\n}\nfunction popTarget() {\n  targetStack.pop();\n  Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\nvar methodsToPatch = ['push', 'pop', 'shift', 'unshift', 'splice', 'sort', 'reverse'];\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n  // cache original method\n  var original = arrayProto[method];\n  def(arrayMethods, method, function mutator() {\n    var args = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n      args[_i] = arguments[_i];\n    }\n    var result = original.apply(this, args);\n    var ob = this.__ob__;\n    var inserted;\n    switch (method) {\n      case 'push':\n      case 'unshift':\n        inserted = args;\n        break;\n      case 'splice':\n        inserted = args.slice(2);\n        break;\n    }\n    if (inserted) ob.observeArray(inserted);\n    // notify change\n    if (true) {\n      ob.dep.notify({\n        type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\n        target: this,\n        key: method\n      });\n    } else {}\n    return result;\n  });\n});\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\nvar NO_INIITIAL_VALUE = {};\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\nfunction toggleObserving(value) {\n  shouldObserve = value;\n}\n// ssr mock dep\nvar mockDep = {\n  notify: noop,\n  depend: noop,\n  addSub: noop,\n  removeSub: noop\n};\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = /** @class */function () {\n  function Observer(value, shallow, mock) {\n    if (shallow === void 0) {\n      shallow = false;\n    }\n    if (mock === void 0) {\n      mock = false;\n    }\n    this.value = value;\n    this.shallow = shallow;\n    this.mock = mock;\n    // this.value = value\n    this.dep = mock ? mockDep : new Dep();\n    this.vmCount = 0;\n    def(value, '__ob__', this);\n    if (isArray(value)) {\n      if (!mock) {\n        if (hasProto) {\n          value.__proto__ = arrayMethods;\n          /* eslint-enable no-proto */\n        } else {\n          for (var i = 0, l = arrayKeys.length; i < l; i++) {\n            var key = arrayKeys[i];\n            def(value, key, arrayMethods[key]);\n          }\n        }\n      }\n      if (!shallow) {\n        this.observeArray(value);\n      }\n    } else {\n      /**\n       * Walk through all properties and convert them into\n       * getter/setters. This method should only be called when\n       * value type is Object.\n       */\n      var keys = Object.keys(value);\n      for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        defineReactive(value, key, NO_INIITIAL_VALUE, undefined, shallow, mock);\n      }\n    }\n  }\n  /**\n   * Observe a list of Array items.\n   */\n  Observer.prototype.observeArray = function (value) {\n    for (var i = 0, l = value.length; i < l; i++) {\n      observe(value[i], false, this.mock);\n    }\n  };\n  return Observer;\n}();\n// helpers\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, shallow, ssrMockReactivity) {\n  if (value && hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n    return value.__ob__;\n  }\n  if (shouldObserve && (ssrMockReactivity || !isServerRendering()) && (isArray(value) || isPlainObject(value)) && Object.isExtensible(value) && !value.__v_skip /* ReactiveFlags.SKIP */ && !isRef(value) && !(value instanceof VNode)) {\n    return new Observer(value, shallow, ssrMockReactivity);\n  }\n}\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow, mock) {\n  var dep = new Dep();\n  var property = Object.getOwnPropertyDescriptor(obj, key);\n  if (property && property.configurable === false) {\n    return;\n  }\n  // cater for pre-defined getter/setters\n  var getter = property && property.get;\n  var setter = property && property.set;\n  if ((!getter || setter) && (val === NO_INIITIAL_VALUE || arguments.length === 2)) {\n    val = obj[key];\n  }\n  var childOb = !shallow && observe(val, false, mock);\n  Object.defineProperty(obj, key, {\n    enumerable: true,\n    configurable: true,\n    get: function reactiveGetter() {\n      var value = getter ? getter.call(obj) : val;\n      if (Dep.target) {\n        if (true) {\n          dep.depend({\n            target: obj,\n            type: \"get\" /* TrackOpTypes.GET */,\n            key: key\n          });\n        } else {}\n        if (childOb) {\n          childOb.dep.depend();\n          if (isArray(value)) {\n            dependArray(value);\n          }\n        }\n      }\n      return isRef(value) && !shallow ? value.value : value;\n    },\n    set: function reactiveSetter(newVal) {\n      var value = getter ? getter.call(obj) : val;\n      if (!hasChanged(value, newVal)) {\n        return;\n      }\n      if ( true && customSetter) {\n        customSetter();\n      }\n      if (setter) {\n        setter.call(obj, newVal);\n      } else if (getter) {\n        // #7981: for accessor properties without setter\n        return;\n      } else if (!shallow && isRef(value) && !isRef(newVal)) {\n        value.value = newVal;\n        return;\n      } else {\n        val = newVal;\n      }\n      childOb = !shallow && observe(newVal, false, mock);\n      if (true) {\n        dep.notify({\n          type: \"set\" /* TriggerOpTypes.SET */,\n          target: obj,\n          key: key,\n          newValue: newVal,\n          oldValue: value\n        });\n      } else {}\n    }\n  });\n  return dep;\n}\nfunction set(target, key, val) {\n  if ( true && (isUndef(target) || isPrimitive(target))) {\n    warn$2(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\n  }\n  if (isReadonly(target)) {\n     true && warn$2(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n    return;\n  }\n  var ob = target.__ob__;\n  if (isArray(target) && isValidArrayIndex(key)) {\n    target.length = Math.max(target.length, key);\n    target.splice(key, 1, val);\n    // when mocking for SSR, array methods are not hijacked\n    if (ob && !ob.shallow && ob.mock) {\n      observe(val, false, true);\n    }\n    return val;\n  }\n  if (key in target && !(key in Object.prototype)) {\n    target[key] = val;\n    return val;\n  }\n  if (target._isVue || ob && ob.vmCount) {\n     true && warn$2('Avoid adding reactive properties to a Vue instance or its root $data ' + 'at runtime - declare it upfront in the data option.');\n    return val;\n  }\n  if (!ob) {\n    target[key] = val;\n    return val;\n  }\n  defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\n  if (true) {\n    ob.dep.notify({\n      type: \"add\" /* TriggerOpTypes.ADD */,\n      target: target,\n      key: key,\n      newValue: val,\n      oldValue: undefined\n    });\n  } else {}\n  return val;\n}\nfunction del(target, key) {\n  if ( true && (isUndef(target) || isPrimitive(target))) {\n    warn$2(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\n  }\n  if (isArray(target) && isValidArrayIndex(key)) {\n    target.splice(key, 1);\n    return;\n  }\n  var ob = target.__ob__;\n  if (target._isVue || ob && ob.vmCount) {\n     true && warn$2('Avoid deleting properties on a Vue instance or its root $data ' + '- just set it to null.');\n    return;\n  }\n  if (isReadonly(target)) {\n     true && warn$2(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n    return;\n  }\n  if (!hasOwn(target, key)) {\n    return;\n  }\n  delete target[key];\n  if (!ob) {\n    return;\n  }\n  if (true) {\n    ob.dep.notify({\n      type: \"delete\" /* TriggerOpTypes.DELETE */,\n      target: target,\n      key: key\n    });\n  } else {}\n}\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n  for (var e = void 0, i = 0, l = value.length; i < l; i++) {\n    e = value[i];\n    if (e && e.__ob__) {\n      e.__ob__.dep.depend();\n    }\n    if (isArray(e)) {\n      dependArray(e);\n    }\n  }\n}\nfunction reactive(target) {\n  makeReactive(target, false);\n  return target;\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n  makeReactive(target, true);\n  def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n  return target;\n}\nfunction makeReactive(target, shallow) {\n  // if trying to observe a readonly proxy, return the readonly version.\n  if (!isReadonly(target)) {\n    if (true) {\n      if (isArray(target)) {\n        warn$2(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\n      }\n      var existingOb = target && target.__ob__;\n      if (existingOb && existingOb.shallow !== shallow) {\n        warn$2(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\n      }\n    }\n    var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\n    if ( true && !ob) {\n      if (target == null || isPrimitive(target)) {\n        warn$2(\"value cannot be made reactive: \".concat(String(target)));\n      }\n      if (isCollectionType(target)) {\n        warn$2(\"Vue 2 does not support reactive collection types such as Map or Set.\");\n      }\n    }\n  }\n}\nfunction isReactive(value) {\n  if (isReadonly(value)) {\n    return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n  }\n\n  return !!(value && value.__ob__);\n}\nfunction isShallow(value) {\n  return !!(value && value.__v_isShallow);\n}\nfunction isReadonly(value) {\n  return !!(value && value.__v_isReadonly);\n}\nfunction isProxy(value) {\n  return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n  var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n  return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n  // non-extensible objects won't be observed anyway\n  if (Object.isExtensible(value)) {\n    def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n  }\n  return value;\n}\n/**\n * @internal\n */\nfunction isCollectionType(value) {\n  var type = toRawType(value);\n  return type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet';\n}\n\n/**\n * @internal\n */\nvar RefFlag = \"__v_isRef\";\nfunction isRef(r) {\n  return !!(r && r.__v_isRef === true);\n}\nfunction ref$1(value) {\n  return createRef(value, false);\n}\nfunction shallowRef(value) {\n  return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n  if (isRef(rawValue)) {\n    return rawValue;\n  }\n  var ref = {};\n  def(ref, RefFlag, true);\n  def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\n  def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\n  return ref;\n}\nfunction triggerRef(ref) {\n  if ( true && !ref.dep) {\n    warn$2(\"received object is not a triggerable ref.\");\n  }\n  if (true) {\n    ref.dep && ref.dep.notify({\n      type: \"set\" /* TriggerOpTypes.SET */,\n      target: ref,\n      key: 'value'\n    });\n  } else {}\n}\nfunction unref(ref) {\n  return isRef(ref) ? ref.value : ref;\n}\nfunction proxyRefs(objectWithRefs) {\n  if (isReactive(objectWithRefs)) {\n    return objectWithRefs;\n  }\n  var proxy = {};\n  var keys = Object.keys(objectWithRefs);\n  for (var i = 0; i < keys.length; i++) {\n    proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\n  }\n  return proxy;\n}\nfunction proxyWithRefUnwrap(target, source, key) {\n  Object.defineProperty(target, key, {\n    enumerable: true,\n    configurable: true,\n    get: function get() {\n      var val = source[key];\n      if (isRef(val)) {\n        return val.value;\n      } else {\n        var ob = val && val.__ob__;\n        if (ob) ob.dep.depend();\n        return val;\n      }\n    },\n    set: function set(value) {\n      var oldValue = source[key];\n      if (isRef(oldValue) && !isRef(value)) {\n        oldValue.value = value;\n      } else {\n        source[key] = value;\n      }\n    }\n  });\n}\nfunction customRef(factory) {\n  var dep = new Dep();\n  var _a = factory(function () {\n      if (true) {\n        dep.depend({\n          target: ref,\n          type: \"get\" /* TrackOpTypes.GET */,\n          key: 'value'\n        });\n      } else {}\n    }, function () {\n      if (true) {\n        dep.notify({\n          target: ref,\n          type: \"set\" /* TriggerOpTypes.SET */,\n          key: 'value'\n        });\n      } else {}\n    }),\n    get = _a.get,\n    set = _a.set;\n  var ref = {\n    get value() {\n      return get();\n    },\n    set value(newVal) {\n      set(newVal);\n    }\n  };\n  def(ref, RefFlag, true);\n  return ref;\n}\nfunction toRefs(object) {\n  if ( true && !isReactive(object)) {\n    warn$2(\"toRefs() expects a reactive object but received a plain one.\");\n  }\n  var ret = isArray(object) ? new Array(object.length) : {};\n  for (var key in object) {\n    ret[key] = toRef(object, key);\n  }\n  return ret;\n}\nfunction toRef(object, key, defaultValue) {\n  var val = object[key];\n  if (isRef(val)) {\n    return val;\n  }\n  var ref = {\n    get value() {\n      var val = object[key];\n      return val === undefined ? defaultValue : val;\n    },\n    set value(newVal) {\n      object[key] = newVal;\n    }\n  };\n  def(ref, RefFlag, true);\n  return ref;\n}\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\nfunction readonly(target) {\n  return createReadonly(target, false);\n}\nfunction createReadonly(target, shallow) {\n  if (!isPlainObject(target)) {\n    if (true) {\n      if (isArray(target)) {\n        warn$2(\"Vue 2 does not support readonly arrays.\");\n      } else if (isCollectionType(target)) {\n        warn$2(\"Vue 2 does not support readonly collection types such as Map or Set.\");\n      } else {\n        warn$2(\"value cannot be made readonly: \".concat(typeof target));\n      }\n    }\n    return target;\n  }\n  if ( true && !Object.isExtensible(target)) {\n    warn$2(\"Vue 2 does not support creating readonly proxy for non-extensible object.\");\n  }\n  // already a readonly object\n  if (isReadonly(target)) {\n    return target;\n  }\n  // already has a readonly proxy\n  var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\n  var existingProxy = target[existingFlag];\n  if (existingProxy) {\n    return existingProxy;\n  }\n  var proxy = Object.create(Object.getPrototypeOf(target));\n  def(target, existingFlag, proxy);\n  def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\n  def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\n  if (isRef(target)) {\n    def(proxy, RefFlag, true);\n  }\n  if (shallow || isShallow(target)) {\n    def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n  }\n  var keys = Object.keys(target);\n  for (var i = 0; i < keys.length; i++) {\n    defineReadonlyProperty(proxy, target, keys[i], shallow);\n  }\n  return proxy;\n}\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\n  Object.defineProperty(proxy, key, {\n    enumerable: true,\n    configurable: true,\n    get: function get() {\n      var val = target[key];\n      return shallow || !isPlainObject(val) ? val : readonly(val);\n    },\n    set: function set() {\n       true && warn$2(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n    }\n  });\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n  return createReadonly(target, true);\n}\nfunction computed(getterOrOptions, debugOptions) {\n  var getter;\n  var setter;\n  var onlyGetter = isFunction(getterOrOptions);\n  if (onlyGetter) {\n    getter = getterOrOptions;\n    setter =  true ? function () {\n      warn$2('Write operation failed: computed value is readonly');\n    } : 0;\n  } else {\n    getter = getterOrOptions.get;\n    setter = getterOrOptions.set;\n  }\n  var watcher = isServerRendering() ? null : new Watcher(currentInstance, getter, noop, {\n    lazy: true\n  });\n  if ( true && watcher && debugOptions) {\n    watcher.onTrack = debugOptions.onTrack;\n    watcher.onTrigger = debugOptions.onTrigger;\n  }\n  var ref = {\n    // some libs rely on the presence effect for checking computed refs\n    // from normal refs, but the implementation doesn't matter\n    effect: watcher,\n    get value() {\n      if (watcher) {\n        if (watcher.dirty) {\n          watcher.evaluate();\n        }\n        if (Dep.target) {\n          if ( true && Dep.target.onTrack) {\n            Dep.target.onTrack({\n              effect: Dep.target,\n              target: ref,\n              type: \"get\" /* TrackOpTypes.GET */,\n              key: 'value'\n            });\n          }\n          watcher.depend();\n        }\n        return watcher.value;\n      } else {\n        return getter();\n      }\n    },\n    set value(newVal) {\n      setter(newVal);\n    }\n  };\n  def(ref, RefFlag, true);\n  def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\n  return ref;\n}\nvar mark;\nvar measure;\nif (true) {\n  var perf_1 = inBrowser && window.performance;\n  /* istanbul ignore if */\n  if (perf_1 &&\n  // @ts-ignore\n  perf_1.mark &&\n  // @ts-ignore\n  perf_1.measure &&\n  // @ts-ignore\n  perf_1.clearMarks &&\n  // @ts-ignore\n  perf_1.clearMeasures) {\n    mark = function mark(tag) {\n      return perf_1.mark(tag);\n    };\n    measure = function measure(name, startTag, endTag) {\n      perf_1.measure(name, startTag, endTag);\n      perf_1.clearMarks(startTag);\n      perf_1.clearMarks(endTag);\n      // perf.clearMeasures(name)\n    };\n  }\n}\n\nvar normalizeEvent = cached(function (name) {\n  var passive = name.charAt(0) === '&';\n  name = passive ? name.slice(1) : name;\n  var once = name.charAt(0) === '~'; // Prefixed last, checked first\n  name = once ? name.slice(1) : name;\n  var capture = name.charAt(0) === '!';\n  name = capture ? name.slice(1) : name;\n  return {\n    name: name,\n    once: once,\n    capture: capture,\n    passive: passive\n  };\n});\nfunction createFnInvoker(fns, vm) {\n  function invoker() {\n    var fns = invoker.fns;\n    if (isArray(fns)) {\n      var cloned = fns.slice();\n      for (var i = 0; i < cloned.length; i++) {\n        invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\n      }\n    } else {\n      // return handler return value for single handlers\n      return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\n    }\n  }\n  invoker.fns = fns;\n  return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n  var name, cur, old, event;\n  for (name in on) {\n    cur = on[name];\n    old = oldOn[name];\n    event = normalizeEvent(name);\n    if (isUndef(cur)) {\n       true && warn$2(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\n    } else if (isUndef(old)) {\n      if (isUndef(cur.fns)) {\n        cur = on[name] = createFnInvoker(cur, vm);\n      }\n      if (isTrue(event.once)) {\n        cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n      }\n      add(event.name, cur, event.capture, event.passive, event.params);\n    } else if (cur !== old) {\n      old.fns = cur;\n      on[name] = old;\n    }\n  }\n  for (name in oldOn) {\n    if (isUndef(on[name])) {\n      event = normalizeEvent(name);\n      remove(event.name, oldOn[name], event.capture);\n    }\n  }\n}\nfunction mergeVNodeHook(def, hookKey, hook) {\n  if (def instanceof VNode) {\n    def = def.data.hook || (def.data.hook = {});\n  }\n  var invoker;\n  var oldHook = def[hookKey];\n  function wrappedHook() {\n    hook.apply(this, arguments);\n    // important: remove merged hook to ensure it's called only once\n    // and prevent memory leak\n    remove$2(invoker.fns, wrappedHook);\n  }\n  if (isUndef(oldHook)) {\n    // no existing hook\n    invoker = createFnInvoker([wrappedHook]);\n  } else {\n    /* istanbul ignore if */\n    if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n      // already a merged invoker\n      invoker = oldHook;\n      invoker.fns.push(wrappedHook);\n    } else {\n      // existing plain hook\n      invoker = createFnInvoker([oldHook, wrappedHook]);\n    }\n  }\n  invoker.merged = true;\n  def[hookKey] = invoker;\n}\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n  // we are only extracting raw values here.\n  // validation and default values are handled in the child\n  // component itself.\n  var propOptions = Ctor.options.props;\n  if (isUndef(propOptions)) {\n    return;\n  }\n  var res = {};\n  var attrs = data.attrs,\n    props = data.props;\n  if (isDef(attrs) || isDef(props)) {\n    for (var key in propOptions) {\n      var altKey = hyphenate(key);\n      if (true) {\n        var keyInLowerCase = key.toLowerCase();\n        if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n          tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") + \"\".concat(formatComponentName(\n          // @ts-expect-error tag is string\n          tag || Ctor), \", but the declared prop name is\") + \" \\\"\".concat(key, \"\\\". \") + \"Note that HTML attributes are case-insensitive and camelCased \" + \"props need to use their kebab-case equivalents when using in-DOM \" + \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\n        }\n      }\n      checkProp(res, props, key, altKey, true) || checkProp(res, attrs, key, altKey, false);\n    }\n  }\n  return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n  if (isDef(hash)) {\n    if (hasOwn(hash, key)) {\n      res[key] = hash[key];\n      if (!preserve) {\n        delete hash[key];\n      }\n      return true;\n    } else if (hasOwn(hash, altKey)) {\n      res[key] = hash[altKey];\n      if (!preserve) {\n        delete hash[altKey];\n      }\n      return true;\n    }\n  }\n  return false;\n}\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array<VNode>. There are\n// two cases where extra normalization is needed:\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n  for (var i = 0; i < children.length; i++) {\n    if (isArray(children[i])) {\n      return Array.prototype.concat.apply([], children);\n    }\n  }\n  return children;\n}\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g. <template>, <slot>, v-for, or when the children is provided by user\n// with hand-written render functions / JSX. In such cases a full normalization\n// is needed to cater to all possible types of children values.\nfunction normalizeChildren(children) {\n  return isPrimitive(children) ? [createTextVNode(children)] : isArray(children) ? normalizeArrayChildren(children) : undefined;\n}\nfunction isTextNode(node) {\n  return isDef(node) && isDef(node.text) && isFalse(node.isComment);\n}\nfunction normalizeArrayChildren(children, nestedIndex) {\n  var res = [];\n  var i, c, lastIndex, last;\n  for (i = 0; i < children.length; i++) {\n    c = children[i];\n    if (isUndef(c) || typeof c === 'boolean') continue;\n    lastIndex = res.length - 1;\n    last = res[lastIndex];\n    //  nested\n    if (isArray(c)) {\n      if (c.length > 0) {\n        c = normalizeArrayChildren(c, \"\".concat(nestedIndex || '', \"_\").concat(i));\n        // merge adjacent text nodes\n        if (isTextNode(c[0]) && isTextNode(last)) {\n          res[lastIndex] = createTextVNode(last.text + c[0].text);\n          c.shift();\n        }\n        res.push.apply(res, c);\n      }\n    } else if (isPrimitive(c)) {\n      if (isTextNode(last)) {\n        // merge adjacent text nodes\n        // this is necessary for SSR hydration because text nodes are\n        // essentially merged when rendered to HTML strings\n        res[lastIndex] = createTextVNode(last.text + c);\n      } else if (c !== '') {\n        // convert primitive to vnode\n        res.push(createTextVNode(c));\n      }\n    } else {\n      if (isTextNode(c) && isTextNode(last)) {\n        // merge adjacent text nodes\n        res[lastIndex] = createTextVNode(last.text + c.text);\n      } else {\n        // default key for nested array children (likely generated by v-for)\n        if (isTrue(children._isVList) && isDef(c.tag) && isUndef(c.key) && isDef(nestedIndex)) {\n          c.key = \"__vlist\".concat(nestedIndex, \"_\").concat(i, \"__\");\n        }\n        res.push(c);\n      }\n    }\n  }\n  return res;\n}\nvar SIMPLE_NORMALIZE = 1;\nvar ALWAYS_NORMALIZE = 2;\n// wrapper function for providing a more flexible interface\n// without getting yelled at by flow\nfunction createElement$1(context, tag, data, children, normalizationType, alwaysNormalize) {\n  if (isArray(data) || isPrimitive(data)) {\n    normalizationType = children;\n    children = data;\n    data = undefined;\n  }\n  if (isTrue(alwaysNormalize)) {\n    normalizationType = ALWAYS_NORMALIZE;\n  }\n  return _createElement(context, tag, data, children, normalizationType);\n}\nfunction _createElement(context, tag, data, children, normalizationType) {\n  if (isDef(data) && isDef(data.__ob__)) {\n     true && warn$2(\"Avoid using observed data object as vnode data: \".concat(JSON.stringify(data), \"\\n\") + 'Always create fresh vnode data objects in each render!', context);\n    return createEmptyVNode();\n  }\n  // object syntax in v-bind\n  if (isDef(data) && isDef(data.is)) {\n    tag = data.is;\n  }\n  if (!tag) {\n    // in case of component :is set to falsy value\n    return createEmptyVNode();\n  }\n  // warn against non-primitive key\n  if ( true && isDef(data) && isDef(data.key) && !isPrimitive(data.key)) {\n    warn$2('Avoid using non-primitive value as key, ' + 'use string/number value instead.', context);\n  }\n  // support single function children as default scoped slot\n  if (isArray(children) && isFunction(children[0])) {\n    data = data || {};\n    data.scopedSlots = {\n      default: children[0]\n    };\n    children.length = 0;\n  }\n  if (normalizationType === ALWAYS_NORMALIZE) {\n    children = normalizeChildren(children);\n  } else if (normalizationType === SIMPLE_NORMALIZE) {\n    children = simpleNormalizeChildren(children);\n  }\n  var vnode, ns;\n  if (typeof tag === 'string') {\n    var Ctor = void 0;\n    ns = context.$vnode && context.$vnode.ns || config.getTagNamespace(tag);\n    if (config.isReservedTag(tag)) {\n      // platform built-in elements\n      if ( true && isDef(data) && isDef(data.nativeOn) && data.tag !== 'component') {\n        warn$2(\"The .native modifier for v-on is only valid on components but it was used on <\".concat(tag, \">.\"), context);\n      }\n      vnode = new VNode(config.parsePlatformTagName(tag), data, children, undefined, undefined, context);\n    } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {\n      // component\n      vnode = createComponent(Ctor, data, context, children, tag);\n    } else {\n      // unknown or unlisted namespaced elements\n      // check at runtime because it may get assigned a namespace when its\n      // parent normalizes children\n      vnode = new VNode(tag, data, children, undefined, undefined, context);\n    }\n  } else {\n    // direct component options / constructor\n    vnode = createComponent(tag, data, context, children);\n  }\n  if (isArray(vnode)) {\n    return vnode;\n  } else if (isDef(vnode)) {\n    if (isDef(ns)) applyNS(vnode, ns);\n    if (isDef(data)) registerDeepBindings(data);\n    return vnode;\n  } else {\n    return createEmptyVNode();\n  }\n}\nfunction applyNS(vnode, ns, force) {\n  vnode.ns = ns;\n  if (vnode.tag === 'foreignObject') {\n    // use default namespace inside foreignObject\n    ns = undefined;\n    force = true;\n  }\n  if (isDef(vnode.children)) {\n    for (var i = 0, l = vnode.children.length; i < l; i++) {\n      var child = vnode.children[i];\n      if (isDef(child.tag) && (isUndef(child.ns) || isTrue(force) && child.tag !== 'svg')) {\n        applyNS(child, ns, force);\n      }\n    }\n  }\n}\n// ref #5318\n// necessary to ensure parent re-render when deep bindings like :style and\n// :class are used on slot nodes\nfunction registerDeepBindings(data) {\n  if (isObject(data.style)) {\n    traverse(data.style);\n  }\n  if (isObject(data.class)) {\n    traverse(data.class);\n  }\n}\n\n/**\n * Runtime helper for rendering v-for lists.\n */\nfunction renderList(val, render) {\n  var ret = null,\n    i,\n    l,\n    keys,\n    key;\n  if (isArray(val) || typeof val === 'string') {\n    ret = new Array(val.length);\n    for (i = 0, l = val.length; i < l; i++) {\n      ret[i] = render(val[i], i);\n    }\n  } else if (typeof val === 'number') {\n    ret = new Array(val);\n    for (i = 0; i < val; i++) {\n      ret[i] = render(i + 1, i);\n    }\n  } else if (isObject(val)) {\n    if (hasSymbol && val[Symbol.iterator]) {\n      ret = [];\n      var iterator = val[Symbol.iterator]();\n      var result = iterator.next();\n      while (!result.done) {\n        ret.push(render(result.value, ret.length));\n        result = iterator.next();\n      }\n    } else {\n      keys = Object.keys(val);\n      ret = new Array(keys.length);\n      for (i = 0, l = keys.length; i < l; i++) {\n        key = keys[i];\n        ret[i] = render(val[key], key, i);\n      }\n    }\n  }\n  if (!isDef(ret)) {\n    ret = [];\n  }\n  ret._isVList = true;\n  return ret;\n}\n\n/**\n * Runtime helper for rendering <slot>\n */\nfunction renderSlot(name, fallbackRender, props, bindObject) {\n  var scopedSlotFn = this.$scopedSlots[name];\n  var nodes;\n  if (scopedSlotFn) {\n    // scoped slot\n    props = props || {};\n    if (bindObject) {\n      if ( true && !isObject(bindObject)) {\n        warn$2('slot v-bind without argument expects an Object', this);\n      }\n      props = extend(extend({}, bindObject), props);\n    }\n    nodes = scopedSlotFn(props) || (isFunction(fallbackRender) ? fallbackRender() : fallbackRender);\n  } else {\n    nodes = this.$slots[name] || (isFunction(fallbackRender) ? fallbackRender() : fallbackRender);\n  }\n  var target = props && props.slot;\n  if (target) {\n    return this.$createElement('template', {\n      slot: target\n    }, nodes);\n  } else {\n    return nodes;\n  }\n}\n\n/**\n * Runtime helper for resolving filters\n */\nfunction resolveFilter(id) {\n  return resolveAsset(this.$options, 'filters', id, true) || identity;\n}\nfunction isKeyNotMatch(expect, actual) {\n  if (isArray(expect)) {\n    return expect.indexOf(actual) === -1;\n  } else {\n    return expect !== actual;\n  }\n}\n/**\n * Runtime helper for checking keyCodes from config.\n * exposed as Vue.prototype._k\n * passing in eventKeyName as last argument separately for backwards compat\n */\nfunction checkKeyCodes(eventKeyCode, key, builtInKeyCode, eventKeyName, builtInKeyName) {\n  var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;\n  if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {\n    return isKeyNotMatch(builtInKeyName, eventKeyName);\n  } else if (mappedKeyCode) {\n    return isKeyNotMatch(mappedKeyCode, eventKeyCode);\n  } else if (eventKeyName) {\n    return hyphenate(eventKeyName) !== key;\n  }\n  return eventKeyCode === undefined;\n}\n\n/**\n * Runtime helper for merging v-bind=\"object\" into a VNode's data.\n */\nfunction bindObjectProps(data, tag, value, asProp, isSync) {\n  if (value) {\n    if (!isObject(value)) {\n       true && warn$2('v-bind without argument expects an Object or Array value', this);\n    } else {\n      if (isArray(value)) {\n        value = toObject(value);\n      }\n      var hash = void 0;\n      var _loop_1 = function _loop_1(key) {\n        if (key === 'class' || key === 'style' || isReservedAttribute(key)) {\n          hash = data;\n        } else {\n          var type = data.attrs && data.attrs.type;\n          hash = asProp || config.mustUseProp(tag, type, key) ? data.domProps || (data.domProps = {}) : data.attrs || (data.attrs = {});\n        }\n        var camelizedKey = camelize(key);\n        var hyphenatedKey = hyphenate(key);\n        if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {\n          hash[key] = value[key];\n          if (isSync) {\n            var on = data.on || (data.on = {});\n            on[\"update:\".concat(key)] = function ($event) {\n              value[key] = $event;\n            };\n          }\n        }\n      };\n      for (var key in value) {\n        _loop_1(key);\n      }\n    }\n  }\n  return data;\n}\n\n/**\n * Runtime helper for rendering static trees.\n */\nfunction renderStatic(index, isInFor) {\n  var cached = this._staticTrees || (this._staticTrees = []);\n  var tree = cached[index];\n  // if has already-rendered static tree and not inside v-for,\n  // we can reuse the same tree.\n  if (tree && !isInFor) {\n    return tree;\n  }\n  // otherwise, render a fresh tree.\n  tree = cached[index] = this.$options.staticRenderFns[index].call(this._renderProxy, this._c, this // for render fns generated for functional component templates\n  );\n\n  markStatic$1(tree, \"__static__\".concat(index), false);\n  return tree;\n}\n/**\n * Runtime helper for v-once.\n * Effectively it means marking the node as static with a unique key.\n */\nfunction markOnce(tree, index, key) {\n  markStatic$1(tree, \"__once__\".concat(index).concat(key ? \"_\".concat(key) : \"\"), true);\n  return tree;\n}\nfunction markStatic$1(tree, key, isOnce) {\n  if (isArray(tree)) {\n    for (var i = 0; i < tree.length; i++) {\n      if (tree[i] && typeof tree[i] !== 'string') {\n        markStaticNode(tree[i], \"\".concat(key, \"_\").concat(i), isOnce);\n      }\n    }\n  } else {\n    markStaticNode(tree, key, isOnce);\n  }\n}\nfunction markStaticNode(node, key, isOnce) {\n  node.isStatic = true;\n  node.key = key;\n  node.isOnce = isOnce;\n}\nfunction bindObjectListeners(data, value) {\n  if (value) {\n    if (!isPlainObject(value)) {\n       true && warn$2('v-on without argument expects an Object value', this);\n    } else {\n      var on = data.on = data.on ? extend({}, data.on) : {};\n      for (var key in value) {\n        var existing = on[key];\n        var ours = value[key];\n        on[key] = existing ? [].concat(existing, ours) : ours;\n      }\n    }\n  }\n  return data;\n}\nfunction resolveScopedSlots(fns, res,\n// the following are added in 2.6\nhasDynamicKeys, contentHashKey) {\n  res = res || {\n    $stable: !hasDynamicKeys\n  };\n  for (var i = 0; i < fns.length; i++) {\n    var slot = fns[i];\n    if (isArray(slot)) {\n      resolveScopedSlots(slot, res, hasDynamicKeys);\n    } else if (slot) {\n      // marker for reverse proxying v-slot without scope on this.$slots\n      // @ts-expect-error\n      if (slot.proxy) {\n        // @ts-expect-error\n        slot.fn.proxy = true;\n      }\n      res[slot.key] = slot.fn;\n    }\n  }\n  if (contentHashKey) {\n    res.$key = contentHashKey;\n  }\n  return res;\n}\n\n// helper to process dynamic keys for dynamic arguments in v-bind and v-on.\nfunction bindDynamicKeys(baseObj, values) {\n  for (var i = 0; i < values.length; i += 2) {\n    var key = values[i];\n    if (typeof key === 'string' && key) {\n      baseObj[values[i]] = values[i + 1];\n    } else if ( true && key !== '' && key !== null) {\n      // null is a special value for explicitly removing a binding\n      warn$2(\"Invalid value for dynamic directive argument (expected string or null): \".concat(key), this);\n    }\n  }\n  return baseObj;\n}\n// helper to dynamically append modifier runtime markers to event names.\n// ensure only append when value is already string, otherwise it will be cast\n// to string and cause the type check to miss.\nfunction prependModifier(value, symbol) {\n  return typeof value === 'string' ? symbol + value : value;\n}\nfunction installRenderHelpers(target) {\n  target._o = markOnce;\n  target._n = toNumber;\n  target._s = toString;\n  target._l = renderList;\n  target._t = renderSlot;\n  target._q = looseEqual;\n  target._i = looseIndexOf;\n  target._m = renderStatic;\n  target._f = resolveFilter;\n  target._k = checkKeyCodes;\n  target._b = bindObjectProps;\n  target._v = createTextVNode;\n  target._e = createEmptyVNode;\n  target._u = resolveScopedSlots;\n  target._g = bindObjectListeners;\n  target._d = bindDynamicKeys;\n  target._p = prependModifier;\n}\n\n/**\n * Runtime helper for resolving raw children VNodes into a slot object.\n */\nfunction resolveSlots(children, context) {\n  if (!children || !children.length) {\n    return {};\n  }\n  var slots = {};\n  for (var i = 0, l = children.length; i < l; i++) {\n    var child = children[i];\n    var data = child.data;\n    // remove slot attribute if the node is resolved as a Vue slot node\n    if (data && data.attrs && data.attrs.slot) {\n      delete data.attrs.slot;\n    }\n    // named slots should only be respected if the vnode was rendered in the\n    // same context.\n    if ((child.context === context || child.fnContext === context) && data && data.slot != null) {\n      var name_1 = data.slot;\n      var slot = slots[name_1] || (slots[name_1] = []);\n      if (child.tag === 'template') {\n        slot.push.apply(slot, child.children || []);\n      } else {\n        slot.push(child);\n      }\n    } else {\n      (slots.default || (slots.default = [])).push(child);\n    }\n  }\n  // ignore slots that contains only whitespace\n  for (var name_2 in slots) {\n    if (slots[name_2].every(isWhitespace)) {\n      delete slots[name_2];\n    }\n  }\n  return slots;\n}\nfunction isWhitespace(node) {\n  return node.isComment && !node.asyncFactory || node.text === ' ';\n}\nfunction isAsyncPlaceholder(node) {\n  // @ts-expect-error not really boolean type\n  return node.isComment && node.asyncFactory;\n}\nfunction normalizeScopedSlots(ownerVm, scopedSlots, normalSlots, prevScopedSlots) {\n  var res;\n  var hasNormalSlots = Object.keys(normalSlots).length > 0;\n  var isStable = scopedSlots ? !!scopedSlots.$stable : !hasNormalSlots;\n  var key = scopedSlots && scopedSlots.$key;\n  if (!scopedSlots) {\n    res = {};\n  } else if (scopedSlots._normalized) {\n    // fast path 1: child component re-render only, parent did not change\n    return scopedSlots._normalized;\n  } else if (isStable && prevScopedSlots && prevScopedSlots !== emptyObject && key === prevScopedSlots.$key && !hasNormalSlots && !prevScopedSlots.$hasNormal) {\n    // fast path 2: stable scoped slots w/ no normal slots to proxy,\n    // only need to normalize once\n    return prevScopedSlots;\n  } else {\n    res = {};\n    for (var key_1 in scopedSlots) {\n      if (scopedSlots[key_1] && key_1[0] !== '$') {\n        res[key_1] = normalizeScopedSlot(ownerVm, normalSlots, key_1, scopedSlots[key_1]);\n      }\n    }\n  }\n  // expose normal slots on scopedSlots\n  for (var key_2 in normalSlots) {\n    if (!(key_2 in res)) {\n      res[key_2] = proxyNormalSlot(normalSlots, key_2);\n    }\n  }\n  // avoriaz seems to mock a non-extensible $scopedSlots object\n  // and when that is passed down this would cause an error\n  if (scopedSlots && Object.isExtensible(scopedSlots)) {\n    scopedSlots._normalized = res;\n  }\n  def(res, '$stable', isStable);\n  def(res, '$key', key);\n  def(res, '$hasNormal', hasNormalSlots);\n  return res;\n}\nfunction normalizeScopedSlot(vm, normalSlots, key, fn) {\n  var normalized = function normalized() {\n    var cur = currentInstance;\n    setCurrentInstance(vm);\n    var res = arguments.length ? fn.apply(null, arguments) : fn({});\n    res = res && typeof res === 'object' && !isArray(res) ? [res] // single vnode\n    : normalizeChildren(res);\n    var vnode = res && res[0];\n    setCurrentInstance(cur);\n    return res && (!vnode || res.length === 1 && vnode.isComment && !isAsyncPlaceholder(vnode)) // #9658, #10391\n    ? undefined : res;\n  };\n  // this is a slot using the new v-slot syntax without scope. although it is\n  // compiled as a scoped slot, render fn users would expect it to be present\n  // on this.$slots because the usage is semantically a normal slot.\n  if (fn.proxy) {\n    Object.defineProperty(normalSlots, key, {\n      get: normalized,\n      enumerable: true,\n      configurable: true\n    });\n  }\n  return normalized;\n}\nfunction proxyNormalSlot(slots, key) {\n  return function () {\n    return slots[key];\n  };\n}\nfunction initSetup(vm) {\n  var options = vm.$options;\n  var setup = options.setup;\n  if (setup) {\n    var ctx = vm._setupContext = createSetupContext(vm);\n    setCurrentInstance(vm);\n    pushTarget();\n    var setupResult = invokeWithErrorHandling(setup, null, [vm._props || shallowReactive({}), ctx], vm, \"setup\");\n    popTarget();\n    setCurrentInstance();\n    if (isFunction(setupResult)) {\n      // render function\n      // @ts-ignore\n      options.render = setupResult;\n    } else if (isObject(setupResult)) {\n      // bindings\n      if ( true && setupResult instanceof VNode) {\n        warn$2(\"setup() should not return VNodes directly - \" + \"return a render function instead.\");\n      }\n      vm._setupState = setupResult;\n      // __sfc indicates compiled bindings from <script setup>\n      if (!setupResult.__sfc) {\n        for (var key in setupResult) {\n          if (!isReserved(key)) {\n            proxyWithRefUnwrap(vm, setupResult, key);\n          } else if (true) {\n            warn$2(\"Avoid using variables that start with _ or $ in setup().\");\n          }\n        }\n      } else {\n        // exposed for compiled render fn\n        var proxy = vm._setupProxy = {};\n        for (var key in setupResult) {\n          if (key !== '__sfc') {\n            proxyWithRefUnwrap(proxy, setupResult, key);\n          }\n        }\n      }\n    } else if ( true && setupResult !== undefined) {\n      warn$2(\"setup() should return an object. Received: \".concat(setupResult === null ? 'null' : typeof setupResult));\n    }\n  }\n}\nfunction createSetupContext(vm) {\n  var exposeCalled = false;\n  return {\n    get attrs() {\n      if (!vm._attrsProxy) {\n        var proxy = vm._attrsProxy = {};\n        def(proxy, '_v_attr_proxy', true);\n        syncSetupProxy(proxy, vm.$attrs, emptyObject, vm, '$attrs');\n      }\n      return vm._attrsProxy;\n    },\n    get listeners() {\n      if (!vm._listenersProxy) {\n        var proxy = vm._listenersProxy = {};\n        syncSetupProxy(proxy, vm.$listeners, emptyObject, vm, '$listeners');\n      }\n      return vm._listenersProxy;\n    },\n    get slots() {\n      return initSlotsProxy(vm);\n    },\n    emit: bind$1(vm.$emit, vm),\n    expose: function expose(exposed) {\n      if (true) {\n        if (exposeCalled) {\n          warn$2(\"expose() should be called only once per setup().\", vm);\n        }\n        exposeCalled = true;\n      }\n      if (exposed) {\n        Object.keys(exposed).forEach(function (key) {\n          return proxyWithRefUnwrap(vm, exposed, key);\n        });\n      }\n    }\n  };\n}\nfunction syncSetupProxy(to, from, prev, instance, type) {\n  var changed = false;\n  for (var key in from) {\n    if (!(key in to)) {\n      changed = true;\n      defineProxyAttr(to, key, instance, type);\n    } else if (from[key] !== prev[key]) {\n      changed = true;\n    }\n  }\n  for (var key in to) {\n    if (!(key in from)) {\n      changed = true;\n      delete to[key];\n    }\n  }\n  return changed;\n}\nfunction defineProxyAttr(proxy, key, instance, type) {\n  Object.defineProperty(proxy, key, {\n    enumerable: true,\n    configurable: true,\n    get: function get() {\n      return instance[type][key];\n    }\n  });\n}\nfunction initSlotsProxy(vm) {\n  if (!vm._slotsProxy) {\n    syncSetupSlots(vm._slotsProxy = {}, vm.$scopedSlots);\n  }\n  return vm._slotsProxy;\n}\nfunction syncSetupSlots(to, from) {\n  for (var key in from) {\n    to[key] = from[key];\n  }\n  for (var key in to) {\n    if (!(key in from)) {\n      delete to[key];\n    }\n  }\n}\n/**\n * @internal use manual type def because public setup context type relies on\n * legacy VNode types\n */\nfunction useSlots() {\n  return getContext().slots;\n}\n/**\n * @internal use manual type def because public setup context type relies on\n * legacy VNode types\n */\nfunction useAttrs() {\n  return getContext().attrs;\n}\n/**\n * Vue 2 only\n * @internal use manual type def because public setup context type relies on\n * legacy VNode types\n */\nfunction useListeners() {\n  return getContext().listeners;\n}\nfunction getContext() {\n  if ( true && !currentInstance) {\n    warn$2(\"useContext() called without active instance.\");\n  }\n  var vm = currentInstance;\n  return vm._setupContext || (vm._setupContext = createSetupContext(vm));\n}\n/**\n * Runtime helper for merging default declarations. Imported by compiled code\n * only.\n * @internal\n */\nfunction mergeDefaults(raw, defaults) {\n  var props = isArray(raw) ? raw.reduce(function (normalized, p) {\n    return normalized[p] = {}, normalized;\n  }, {}) : raw;\n  for (var key in defaults) {\n    var opt = props[key];\n    if (opt) {\n      if (isArray(opt) || isFunction(opt)) {\n        props[key] = {\n          type: opt,\n          default: defaults[key]\n        };\n      } else {\n        opt.default = defaults[key];\n      }\n    } else if (opt === null) {\n      props[key] = {\n        default: defaults[key]\n      };\n    } else if (true) {\n      warn$2(\"props default key \\\"\".concat(key, \"\\\" has no corresponding declaration.\"));\n    }\n  }\n  return props;\n}\nfunction initRender(vm) {\n  vm._vnode = null; // the root of the child tree\n  vm._staticTrees = null; // v-once cached trees\n  var options = vm.$options;\n  var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree\n  var renderContext = parentVnode && parentVnode.context;\n  vm.$slots = resolveSlots(options._renderChildren, renderContext);\n  vm.$scopedSlots = parentVnode ? normalizeScopedSlots(vm.$parent, parentVnode.data.scopedSlots, vm.$slots) : emptyObject;\n  // bind the createElement fn to this instance\n  // so that we get proper render context inside it.\n  // args order: tag, data, children, normalizationType, alwaysNormalize\n  // internal version is used by render functions compiled from templates\n  // @ts-expect-error\n  vm._c = function (a, b, c, d) {\n    return createElement$1(vm, a, b, c, d, false);\n  };\n  // normalization is always applied for the public version, used in\n  // user-written render functions.\n  // @ts-expect-error\n  vm.$createElement = function (a, b, c, d) {\n    return createElement$1(vm, a, b, c, d, true);\n  };\n  // $attrs & $listeners are exposed for easier HOC creation.\n  // they need to be reactive so that HOCs using them are always updated\n  var parentData = parentVnode && parentVnode.data;\n  /* istanbul ignore else */\n  if (true) {\n    defineReactive(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {\n      !isUpdatingChildComponent && warn$2(\"$attrs is readonly.\", vm);\n    }, true);\n    defineReactive(vm, '$listeners', options._parentListeners || emptyObject, function () {\n      !isUpdatingChildComponent && warn$2(\"$listeners is readonly.\", vm);\n    }, true);\n  } else {}\n}\nvar currentRenderingInstance = null;\nfunction renderMixin(Vue) {\n  // install runtime convenience helpers\n  installRenderHelpers(Vue.prototype);\n  Vue.prototype.$nextTick = function (fn) {\n    return nextTick(fn, this);\n  };\n  Vue.prototype._render = function () {\n    var vm = this;\n    var _a = vm.$options,\n      render = _a.render,\n      _parentVnode = _a._parentVnode;\n    if (_parentVnode && vm._isMounted) {\n      vm.$scopedSlots = normalizeScopedSlots(vm.$parent, _parentVnode.data.scopedSlots, vm.$slots, vm.$scopedSlots);\n      if (vm._slotsProxy) {\n        syncSetupSlots(vm._slotsProxy, vm.$scopedSlots);\n      }\n    }\n    // set parent vnode. this allows render functions to have access\n    // to the data on the placeholder node.\n    vm.$vnode = _parentVnode;\n    // render self\n    var vnode;\n    try {\n      // There's no need to maintain a stack because all render fns are called\n      // separately from one another. Nested component's render fns are called\n      // when parent component is patched.\n      setCurrentInstance(vm);\n      currentRenderingInstance = vm;\n      vnode = render.call(vm._renderProxy, vm.$createElement);\n    } catch (e) {\n      handleError(e, vm, \"render\");\n      // return error render result,\n      // or previous vnode to prevent render error causing blank component\n      /* istanbul ignore else */\n      if ( true && vm.$options.renderError) {\n        try {\n          vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);\n        } catch (e) {\n          handleError(e, vm, \"renderError\");\n          vnode = vm._vnode;\n        }\n      } else {\n        vnode = vm._vnode;\n      }\n    } finally {\n      currentRenderingInstance = null;\n      setCurrentInstance();\n    }\n    // if the returned array contains only a single node, allow it\n    if (isArray(vnode) && vnode.length === 1) {\n      vnode = vnode[0];\n    }\n    // return empty vnode in case the render function errored out\n    if (!(vnode instanceof VNode)) {\n      if ( true && isArray(vnode)) {\n        warn$2('Multiple root nodes returned from render function. Render function ' + 'should return a single root node.', vm);\n      }\n      vnode = createEmptyVNode();\n    }\n    // set parent\n    vnode.parent = _parentVnode;\n    return vnode;\n  };\n}\nfunction ensureCtor(comp, base) {\n  if (comp.__esModule || hasSymbol && comp[Symbol.toStringTag] === 'Module') {\n    comp = comp.default;\n  }\n  return isObject(comp) ? base.extend(comp) : comp;\n}\nfunction createAsyncPlaceholder(factory, data, context, children, tag) {\n  var node = createEmptyVNode();\n  node.asyncFactory = factory;\n  node.asyncMeta = {\n    data: data,\n    context: context,\n    children: children,\n    tag: tag\n  };\n  return node;\n}\nfunction resolveAsyncComponent(factory, baseCtor) {\n  if (isTrue(factory.error) && isDef(factory.errorComp)) {\n    return factory.errorComp;\n  }\n  if (isDef(factory.resolved)) {\n    return factory.resolved;\n  }\n  var owner = currentRenderingInstance;\n  if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {\n    // already pending\n    factory.owners.push(owner);\n  }\n  if (isTrue(factory.loading) && isDef(factory.loadingComp)) {\n    return factory.loadingComp;\n  }\n  if (owner && !isDef(factory.owners)) {\n    var owners_1 = factory.owners = [owner];\n    var sync_1 = true;\n    var timerLoading_1 = null;\n    var timerTimeout_1 = null;\n    owner.$on('hook:destroyed', function () {\n      return remove$2(owners_1, owner);\n    });\n    var forceRender_1 = function forceRender_1(renderCompleted) {\n      for (var i = 0, l = owners_1.length; i < l; i++) {\n        owners_1[i].$forceUpdate();\n      }\n      if (renderCompleted) {\n        owners_1.length = 0;\n        if (timerLoading_1 !== null) {\n          clearTimeout(timerLoading_1);\n          timerLoading_1 = null;\n        }\n        if (timerTimeout_1 !== null) {\n          clearTimeout(timerTimeout_1);\n          timerTimeout_1 = null;\n        }\n      }\n    };\n    var resolve = once(function (res) {\n      // cache resolved\n      factory.resolved = ensureCtor(res, baseCtor);\n      // invoke callbacks only if this is not a synchronous resolve\n      // (async resolves are shimmed as synchronous during SSR)\n      if (!sync_1) {\n        forceRender_1(true);\n      } else {\n        owners_1.length = 0;\n      }\n    });\n    var reject_1 = once(function (reason) {\n       true && warn$2(\"Failed to resolve async component: \".concat(String(factory)) + (reason ? \"\\nReason: \".concat(reason) : ''));\n      if (isDef(factory.errorComp)) {\n        factory.error = true;\n        forceRender_1(true);\n      }\n    });\n    var res_1 = factory(resolve, reject_1);\n    if (isObject(res_1)) {\n      if (isPromise(res_1)) {\n        // () => Promise\n        if (isUndef(factory.resolved)) {\n          res_1.then(resolve, reject_1);\n        }\n      } else if (isPromise(res_1.component)) {\n        res_1.component.then(resolve, reject_1);\n        if (isDef(res_1.error)) {\n          factory.errorComp = ensureCtor(res_1.error, baseCtor);\n        }\n        if (isDef(res_1.loading)) {\n          factory.loadingComp = ensureCtor(res_1.loading, baseCtor);\n          if (res_1.delay === 0) {\n            factory.loading = true;\n          } else {\n            // @ts-expect-error NodeJS timeout type\n            timerLoading_1 = setTimeout(function () {\n              timerLoading_1 = null;\n              if (isUndef(factory.resolved) && isUndef(factory.error)) {\n                factory.loading = true;\n                forceRender_1(false);\n              }\n            }, res_1.delay || 200);\n          }\n        }\n        if (isDef(res_1.timeout)) {\n          // @ts-expect-error NodeJS timeout type\n          timerTimeout_1 = setTimeout(function () {\n            timerTimeout_1 = null;\n            if (isUndef(factory.resolved)) {\n              reject_1( true ? \"timeout (\".concat(res_1.timeout, \"ms)\") : 0);\n            }\n          }, res_1.timeout);\n        }\n      }\n    }\n    sync_1 = false;\n    // return in case resolved synchronously\n    return factory.loading ? factory.loadingComp : factory.resolved;\n  }\n}\nfunction getFirstComponentChild(children) {\n  if (isArray(children)) {\n    for (var i = 0; i < children.length; i++) {\n      var c = children[i];\n      if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {\n        return c;\n      }\n    }\n  }\n}\nfunction initEvents(vm) {\n  vm._events = Object.create(null);\n  vm._hasHookEvent = false;\n  // init parent attached events\n  var listeners = vm.$options._parentListeners;\n  if (listeners) {\n    updateComponentListeners(vm, listeners);\n  }\n}\nvar target$1;\nfunction add$1(event, fn) {\n  target$1.$on(event, fn);\n}\nfunction remove$1(event, fn) {\n  target$1.$off(event, fn);\n}\nfunction createOnceHandler$1(event, fn) {\n  var _target = target$1;\n  return function onceHandler() {\n    var res = fn.apply(null, arguments);\n    if (res !== null) {\n      _target.$off(event, onceHandler);\n    }\n  };\n}\nfunction updateComponentListeners(vm, listeners, oldListeners) {\n  target$1 = vm;\n  updateListeners(listeners, oldListeners || {}, add$1, remove$1, createOnceHandler$1, vm);\n  target$1 = undefined;\n}\nfunction eventsMixin(Vue) {\n  var hookRE = /^hook:/;\n  Vue.prototype.$on = function (event, fn) {\n    var vm = this;\n    if (isArray(event)) {\n      for (var i = 0, l = event.length; i < l; i++) {\n        vm.$on(event[i], fn);\n      }\n    } else {\n      (vm._events[event] || (vm._events[event] = [])).push(fn);\n      // optimize hook:event cost by using a boolean flag marked at registration\n      // instead of a hash lookup\n      if (hookRE.test(event)) {\n        vm._hasHookEvent = true;\n      }\n    }\n    return vm;\n  };\n  Vue.prototype.$once = function (event, fn) {\n    var vm = this;\n    function on() {\n      vm.$off(event, on);\n      fn.apply(vm, arguments);\n    }\n    on.fn = fn;\n    vm.$on(event, on);\n    return vm;\n  };\n  Vue.prototype.$off = function (event, fn) {\n    var vm = this;\n    // all\n    if (!arguments.length) {\n      vm._events = Object.create(null);\n      return vm;\n    }\n    // array of events\n    if (isArray(event)) {\n      for (var i_1 = 0, l = event.length; i_1 < l; i_1++) {\n        vm.$off(event[i_1], fn);\n      }\n      return vm;\n    }\n    // specific event\n    var cbs = vm._events[event];\n    if (!cbs) {\n      return vm;\n    }\n    if (!fn) {\n      vm._events[event] = null;\n      return vm;\n    }\n    // specific handler\n    var cb;\n    var i = cbs.length;\n    while (i--) {\n      cb = cbs[i];\n      if (cb === fn || cb.fn === fn) {\n        cbs.splice(i, 1);\n        break;\n      }\n    }\n    return vm;\n  };\n  Vue.prototype.$emit = function (event) {\n    var vm = this;\n    if (true) {\n      var lowerCaseEvent = event.toLowerCase();\n      if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {\n        tip(\"Event \\\"\".concat(lowerCaseEvent, \"\\\" is emitted in component \") + \"\".concat(formatComponentName(vm), \" but the handler is registered for \\\"\").concat(event, \"\\\". \") + \"Note that HTML attributes are case-insensitive and you cannot use \" + \"v-on to listen to camelCase events when using in-DOM templates. \" + \"You should probably use \\\"\".concat(hyphenate(event), \"\\\" instead of \\\"\").concat(event, \"\\\".\"));\n      }\n    }\n    var cbs = vm._events[event];\n    if (cbs) {\n      cbs = cbs.length > 1 ? toArray(cbs) : cbs;\n      var args = toArray(arguments, 1);\n      var info = \"event handler for \\\"\".concat(event, \"\\\"\");\n      for (var i = 0, l = cbs.length; i < l; i++) {\n        invokeWithErrorHandling(cbs[i], vm, args, vm, info);\n      }\n    }\n    return vm;\n  };\n}\nvar activeInstance = null;\nvar isUpdatingChildComponent = false;\nfunction setActiveInstance(vm) {\n  var prevActiveInstance = activeInstance;\n  activeInstance = vm;\n  return function () {\n    activeInstance = prevActiveInstance;\n  };\n}\nfunction initLifecycle(vm) {\n  var options = vm.$options;\n  // locate first non-abstract parent\n  var parent = options.parent;\n  if (parent && !options.abstract) {\n    while (parent.$options.abstract && parent.$parent) {\n      parent = parent.$parent;\n    }\n    parent.$children.push(vm);\n  }\n  vm.$parent = parent;\n  vm.$root = parent ? parent.$root : vm;\n  vm.$children = [];\n  vm.$refs = {};\n  vm._provided = parent ? parent._provided : Object.create(null);\n  vm._watcher = null;\n  vm._inactive = null;\n  vm._directInactive = false;\n  vm._isMounted = false;\n  vm._isDestroyed = false;\n  vm._isBeingDestroyed = false;\n}\nfunction lifecycleMixin(Vue) {\n  Vue.prototype._update = function (vnode, hydrating) {\n    var vm = this;\n    var prevEl = vm.$el;\n    var prevVnode = vm._vnode;\n    var restoreActiveInstance = setActiveInstance(vm);\n    vm._vnode = vnode;\n    // Vue.prototype.__patch__ is injected in entry points\n    // based on the rendering backend used.\n    if (!prevVnode) {\n      // initial render\n      vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);\n    } else {\n      // updates\n      vm.$el = vm.__patch__(prevVnode, vnode);\n    }\n    restoreActiveInstance();\n    // update __vue__ reference\n    if (prevEl) {\n      prevEl.__vue__ = null;\n    }\n    if (vm.$el) {\n      vm.$el.__vue__ = vm;\n    }\n    // if parent is an HOC, update its $el as well\n    var wrapper = vm;\n    while (wrapper && wrapper.$vnode && wrapper.$parent && wrapper.$vnode === wrapper.$parent._vnode) {\n      wrapper.$parent.$el = wrapper.$el;\n      wrapper = wrapper.$parent;\n    }\n    // updated hook is called by the scheduler to ensure that children are\n    // updated in a parent's updated hook.\n  };\n\n  Vue.prototype.$forceUpdate = function () {\n    var vm = this;\n    if (vm._watcher) {\n      vm._watcher.update();\n    }\n  };\n  Vue.prototype.$destroy = function () {\n    var vm = this;\n    if (vm._isBeingDestroyed) {\n      return;\n    }\n    callHook$1(vm, 'beforeDestroy');\n    vm._isBeingDestroyed = true;\n    // remove self from parent\n    var parent = vm.$parent;\n    if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {\n      remove$2(parent.$children, vm);\n    }\n    // teardown scope. this includes both the render watcher and other\n    // watchers created\n    vm._scope.stop();\n    // remove reference from data ob\n    // frozen object may not have observer.\n    if (vm._data.__ob__) {\n      vm._data.__ob__.vmCount--;\n    }\n    // call the last hook...\n    vm._isDestroyed = true;\n    // invoke destroy hooks on current rendered tree\n    vm.__patch__(vm._vnode, null);\n    // fire destroyed hook\n    callHook$1(vm, 'destroyed');\n    // turn off all instance listeners.\n    vm.$off();\n    // remove __vue__ reference\n    if (vm.$el) {\n      vm.$el.__vue__ = null;\n    }\n    // release circular reference (#6759)\n    if (vm.$vnode) {\n      vm.$vnode.parent = null;\n    }\n  };\n}\nfunction mountComponent(vm, el, hydrating) {\n  vm.$el = el;\n  if (!vm.$options.render) {\n    // @ts-expect-error invalid type\n    vm.$options.render = createEmptyVNode;\n    if (true) {\n      /* istanbul ignore if */\n      if (vm.$options.template && vm.$options.template.charAt(0) !== '#' || vm.$options.el || el) {\n        warn$2('You are using the runtime-only build of Vue where the template ' + 'compiler is not available. Either pre-compile the templates into ' + 'render functions, or use the compiler-included build.', vm);\n      } else {\n        warn$2('Failed to mount component: template or render function not defined.', vm);\n      }\n    }\n  }\n  callHook$1(vm, 'beforeMount');\n  var updateComponent;\n  /* istanbul ignore if */\n  if ( true && config.performance && mark) {\n    updateComponent = function updateComponent() {\n      var name = vm._name;\n      var id = vm._uid;\n      var startTag = \"vue-perf-start:\".concat(id);\n      var endTag = \"vue-perf-end:\".concat(id);\n      mark(startTag);\n      var vnode = vm._render();\n      mark(endTag);\n      measure(\"vue \".concat(name, \" render\"), startTag, endTag);\n      mark(startTag);\n      vm._update(vnode, hydrating);\n      mark(endTag);\n      measure(\"vue \".concat(name, \" patch\"), startTag, endTag);\n    };\n  } else {\n    updateComponent = function updateComponent() {\n      vm._update(vm._render(), hydrating);\n    };\n  }\n  var watcherOptions = {\n    before: function before() {\n      if (vm._isMounted && !vm._isDestroyed) {\n        callHook$1(vm, 'beforeUpdate');\n      }\n    }\n  };\n  if (true) {\n    watcherOptions.onTrack = function (e) {\n      return callHook$1(vm, 'renderTracked', [e]);\n    };\n    watcherOptions.onTrigger = function (e) {\n      return callHook$1(vm, 'renderTriggered', [e]);\n    };\n  }\n  // we set this to vm._watcher inside the watcher's constructor\n  // since the watcher's initial patch may call $forceUpdate (e.g. inside child\n  // component's mounted hook), which relies on vm._watcher being already defined\n  new Watcher(vm, updateComponent, noop, watcherOptions, true /* isRenderWatcher */);\n  hydrating = false;\n  // flush buffer for flush: \"pre\" watchers queued in setup()\n  var preWatchers = vm._preWatchers;\n  if (preWatchers) {\n    for (var i = 0; i < preWatchers.length; i++) {\n      preWatchers[i].run();\n    }\n  }\n  // manually mounted instance, call mounted on self\n  // mounted is called for render-created child components in its inserted hook\n  if (vm.$vnode == null) {\n    vm._isMounted = true;\n    callHook$1(vm, 'mounted');\n  }\n  return vm;\n}\nfunction updateChildComponent(vm, propsData, listeners, parentVnode, renderChildren) {\n  if (true) {\n    isUpdatingChildComponent = true;\n  }\n  // determine whether component has slot children\n  // we need to do this before overwriting $options._renderChildren.\n  // check if there are dynamic scopedSlots (hand-written or compiled but with\n  // dynamic slot names). Static scoped slots compiled from template has the\n  // \"$stable\" marker.\n  var newScopedSlots = parentVnode.data.scopedSlots;\n  var oldScopedSlots = vm.$scopedSlots;\n  var hasDynamicScopedSlot = !!(newScopedSlots && !newScopedSlots.$stable || oldScopedSlots !== emptyObject && !oldScopedSlots.$stable || newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key || !newScopedSlots && vm.$scopedSlots.$key);\n  // Any static slot children from the parent may have changed during parent's\n  // update. Dynamic scoped slots may also have changed. In such cases, a forced\n  // update is necessary to ensure correctness.\n  var needsForceUpdate = !!(renderChildren ||\n  // has new static slots\n  vm.$options._renderChildren ||\n  // has old static slots\n  hasDynamicScopedSlot);\n  var prevVNode = vm.$vnode;\n  vm.$options._parentVnode = parentVnode;\n  vm.$vnode = parentVnode; // update vm's placeholder node without re-render\n  if (vm._vnode) {\n    // update child tree's parent\n    vm._vnode.parent = parentVnode;\n  }\n  vm.$options._renderChildren = renderChildren;\n  // update $attrs and $listeners hash\n  // these are also reactive so they may trigger child update if the child\n  // used them during render\n  var attrs = parentVnode.data.attrs || emptyObject;\n  if (vm._attrsProxy) {\n    // force update if attrs are accessed and has changed since it may be\n    // passed to a child component.\n    if (syncSetupProxy(vm._attrsProxy, attrs, prevVNode.data && prevVNode.data.attrs || emptyObject, vm, '$attrs')) {\n      needsForceUpdate = true;\n    }\n  }\n  vm.$attrs = attrs;\n  // update listeners\n  listeners = listeners || emptyObject;\n  var prevListeners = vm.$options._parentListeners;\n  if (vm._listenersProxy) {\n    syncSetupProxy(vm._listenersProxy, listeners, prevListeners || emptyObject, vm, '$listeners');\n  }\n  vm.$listeners = vm.$options._parentListeners = listeners;\n  updateComponentListeners(vm, listeners, prevListeners);\n  // update props\n  if (propsData && vm.$options.props) {\n    toggleObserving(false);\n    var props = vm._props;\n    var propKeys = vm.$options._propKeys || [];\n    for (var i = 0; i < propKeys.length; i++) {\n      var key = propKeys[i];\n      var propOptions = vm.$options.props; // wtf flow?\n      props[key] = validateProp(key, propOptions, propsData, vm);\n    }\n    toggleObserving(true);\n    // keep a copy of raw propsData\n    vm.$options.propsData = propsData;\n  }\n  // resolve slots + force update if has children\n  if (needsForceUpdate) {\n    vm.$slots = resolveSlots(renderChildren, parentVnode.context);\n    vm.$forceUpdate();\n  }\n  if (true) {\n    isUpdatingChildComponent = false;\n  }\n}\nfunction isInInactiveTree(vm) {\n  while (vm && (vm = vm.$parent)) {\n    if (vm._inactive) return true;\n  }\n  return false;\n}\nfunction activateChildComponent(vm, direct) {\n  if (direct) {\n    vm._directInactive = false;\n    if (isInInactiveTree(vm)) {\n      return;\n    }\n  } else if (vm._directInactive) {\n    return;\n  }\n  if (vm._inactive || vm._inactive === null) {\n    vm._inactive = false;\n    for (var i = 0; i < vm.$children.length; i++) {\n      activateChildComponent(vm.$children[i]);\n    }\n    callHook$1(vm, 'activated');\n  }\n}\nfunction deactivateChildComponent(vm, direct) {\n  if (direct) {\n    vm._directInactive = true;\n    if (isInInactiveTree(vm)) {\n      return;\n    }\n  }\n  if (!vm._inactive) {\n    vm._inactive = true;\n    for (var i = 0; i < vm.$children.length; i++) {\n      deactivateChildComponent(vm.$children[i]);\n    }\n    callHook$1(vm, 'deactivated');\n  }\n}\nfunction callHook$1(vm, hook, args, setContext) {\n  if (setContext === void 0) {\n    setContext = true;\n  }\n  // #7573 disable dep collection when invoking lifecycle hooks\n  pushTarget();\n  var prev = currentInstance;\n  setContext && setCurrentInstance(vm);\n  var handlers = vm.$options[hook];\n  var info = \"\".concat(hook, \" hook\");\n  if (handlers) {\n    for (var i = 0, j = handlers.length; i < j; i++) {\n      invokeWithErrorHandling(handlers[i], vm, args || null, vm, info);\n    }\n  }\n  if (vm._hasHookEvent) {\n    vm.$emit('hook:' + hook);\n  }\n  setContext && setCurrentInstance(prev);\n  popTarget();\n}\nvar MAX_UPDATE_COUNT = 100;\nvar queue = [];\nvar activatedChildren = [];\nvar has = {};\nvar circular = {};\nvar waiting = false;\nvar flushing = false;\nvar index$1 = 0;\n/**\n * Reset the scheduler's state.\n */\nfunction resetSchedulerState() {\n  index$1 = queue.length = activatedChildren.length = 0;\n  has = {};\n  if (true) {\n    circular = {};\n  }\n  waiting = flushing = false;\n}\n// Async edge case #6566 requires saving the timestamp when event listeners are\n// attached. However, calling performance.now() has a perf overhead especially\n// if the page has thousands of event listeners. Instead, we take a timestamp\n// every time the scheduler flushes and use that for all event listeners\n// attached during that flush.\nvar currentFlushTimestamp = 0;\n// Async edge case fix requires storing an event listener's attach timestamp.\nvar getNow = Date.now;\n// Determine what event timestamp the browser is using. Annoyingly, the\n// timestamp can either be hi-res (relative to page load) or low-res\n// (relative to UNIX epoch), so in order to compare time we have to use the\n// same timestamp type when saving the flush timestamp.\n// All IE versions use low-res event timestamps, and have problematic clock\n// implementations (#9632)\nif (inBrowser && !isIE) {\n  var performance_1 = window.performance;\n  if (performance_1 && typeof performance_1.now === 'function' && getNow() > document.createEvent('Event').timeStamp) {\n    // if the event timestamp, although evaluated AFTER the Date.now(), is\n    // smaller than it, it means the event is using a hi-res timestamp,\n    // and we need to use the hi-res version for event listener timestamps as\n    // well.\n    getNow = function getNow() {\n      return performance_1.now();\n    };\n  }\n}\nvar sortCompareFn = function sortCompareFn(a, b) {\n  if (a.post) {\n    if (!b.post) return 1;\n  } else if (b.post) {\n    return -1;\n  }\n  return a.id - b.id;\n};\n/**\n * Flush both queues and run the watchers.\n */\nfunction flushSchedulerQueue() {\n  currentFlushTimestamp = getNow();\n  flushing = true;\n  var watcher, id;\n  // Sort queue before flush.\n  // This ensures that:\n  // 1. Components are updated from parent to child. (because parent is always\n  //    created before the child)\n  // 2. A component's user watchers are run before its render watcher (because\n  //    user watchers are created before the render watcher)\n  // 3. If a component is destroyed during a parent component's watcher run,\n  //    its watchers can be skipped.\n  queue.sort(sortCompareFn);\n  // do not cache length because more watchers might be pushed\n  // as we run existing watchers\n  for (index$1 = 0; index$1 < queue.length; index$1++) {\n    watcher = queue[index$1];\n    if (watcher.before) {\n      watcher.before();\n    }\n    id = watcher.id;\n    has[id] = null;\n    watcher.run();\n    // in dev build, check and stop circular updates.\n    if ( true && has[id] != null) {\n      circular[id] = (circular[id] || 0) + 1;\n      if (circular[id] > MAX_UPDATE_COUNT) {\n        warn$2('You may have an infinite update loop ' + (watcher.user ? \"in watcher with expression \\\"\".concat(watcher.expression, \"\\\"\") : \"in a component render function.\"), watcher.vm);\n        break;\n      }\n    }\n  }\n  // keep copies of post queues before resetting state\n  var activatedQueue = activatedChildren.slice();\n  var updatedQueue = queue.slice();\n  resetSchedulerState();\n  // call component updated and activated hooks\n  callActivatedHooks(activatedQueue);\n  callUpdatedHooks(updatedQueue);\n  cleanupDeps();\n  // devtool hook\n  /* istanbul ignore if */\n  if (devtools && config.devtools) {\n    devtools.emit('flush');\n  }\n}\nfunction callUpdatedHooks(queue) {\n  var i = queue.length;\n  while (i--) {\n    var watcher = queue[i];\n    var vm = watcher.vm;\n    if (vm && vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {\n      callHook$1(vm, 'updated');\n    }\n  }\n}\n/**\n * Queue a kept-alive component that was activated during patch.\n * The queue will be processed after the entire tree has been patched.\n */\nfunction queueActivatedComponent(vm) {\n  // setting _inactive to false here so that a render function can\n  // rely on checking whether it's in an inactive tree (e.g. router-view)\n  vm._inactive = false;\n  activatedChildren.push(vm);\n}\nfunction callActivatedHooks(queue) {\n  for (var i = 0; i < queue.length; i++) {\n    queue[i]._inactive = true;\n    activateChildComponent(queue[i], true /* true */);\n  }\n}\n/**\n * Push a watcher into the watcher queue.\n * Jobs with duplicate IDs will be skipped unless it's\n * pushed when the queue is being flushed.\n */\nfunction queueWatcher(watcher) {\n  var id = watcher.id;\n  if (has[id] != null) {\n    return;\n  }\n  if (watcher === Dep.target && watcher.noRecurse) {\n    return;\n  }\n  has[id] = true;\n  if (!flushing) {\n    queue.push(watcher);\n  } else {\n    // if already flushing, splice the watcher based on its id\n    // if already past its id, it will be run next immediately.\n    var i = queue.length - 1;\n    while (i > index$1 && queue[i].id > watcher.id) {\n      i--;\n    }\n    queue.splice(i + 1, 0, watcher);\n  }\n  // queue the flush\n  if (!waiting) {\n    waiting = true;\n    if ( true && !config.async) {\n      flushSchedulerQueue();\n      return;\n    }\n    nextTick(flushSchedulerQueue);\n  }\n}\nvar WATCHER = \"watcher\";\nvar WATCHER_CB = \"\".concat(WATCHER, \" callback\");\nvar WATCHER_GETTER = \"\".concat(WATCHER, \" getter\");\nvar WATCHER_CLEANUP = \"\".concat(WATCHER, \" cleanup\");\n// Simple effect.\nfunction watchEffect(effect, options) {\n  return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n  return doWatch(effect, null,  true ? _assign(_assign({}, options), {\n    flush: 'post'\n  }) : 0);\n}\nfunction watchSyncEffect(effect, options) {\n  return doWatch(effect, null,  true ? _assign(_assign({}, options), {\n    flush: 'sync'\n  }) : 0);\n}\n// initial value for watchers to trigger on undefined initial values\nvar INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n  if ( true && typeof cb !== 'function') {\n    warn$2(\"`watch(fn, options?)` signature has been moved to a separate API. \" + \"Use `watchEffect(fn, options?)` instead. `watch` now only \" + \"supports `watch(source, cb, options?) signature.\");\n  }\n  return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, _a) {\n  var _b = _a === void 0 ? emptyObject : _a,\n    immediate = _b.immediate,\n    deep = _b.deep,\n    _c = _b.flush,\n    flush = _c === void 0 ? 'pre' : _c,\n    onTrack = _b.onTrack,\n    onTrigger = _b.onTrigger;\n  if ( true && !cb) {\n    if (immediate !== undefined) {\n      warn$2(\"watch() \\\"immediate\\\" option is only respected when using the \" + \"watch(source, callback, options?) signature.\");\n    }\n    if (deep !== undefined) {\n      warn$2(\"watch() \\\"deep\\\" option is only respected when using the \" + \"watch(source, callback, options?) signature.\");\n    }\n  }\n  var warnInvalidSource = function warnInvalidSource(s) {\n    warn$2(\"Invalid watch source: \".concat(s, \". A watch source can only be a getter/effect \") + \"function, a ref, a reactive object, or an array of these types.\");\n  };\n  var instance = currentInstance;\n  var call = function call(fn, type, args) {\n    if (args === void 0) {\n      args = null;\n    }\n    return invokeWithErrorHandling(fn, null, args, instance, type);\n  };\n  var getter;\n  var forceTrigger = false;\n  var isMultiSource = false;\n  if (isRef(source)) {\n    getter = function getter() {\n      return source.value;\n    };\n    forceTrigger = isShallow(source);\n  } else if (isReactive(source)) {\n    getter = function getter() {\n      source.__ob__.dep.depend();\n      return source;\n    };\n    deep = true;\n  } else if (isArray(source)) {\n    isMultiSource = true;\n    forceTrigger = source.some(function (s) {\n      return isReactive(s) || isShallow(s);\n    });\n    getter = function getter() {\n      return source.map(function (s) {\n        if (isRef(s)) {\n          return s.value;\n        } else if (isReactive(s)) {\n          return traverse(s);\n        } else if (isFunction(s)) {\n          return call(s, WATCHER_GETTER);\n        } else {\n           true && warnInvalidSource(s);\n        }\n      });\n    };\n  } else if (isFunction(source)) {\n    if (cb) {\n      // getter with cb\n      getter = function getter() {\n        return call(source, WATCHER_GETTER);\n      };\n    } else {\n      // no cb -> simple effect\n      getter = function getter() {\n        if (instance && instance._isDestroyed) {\n          return;\n        }\n        if (cleanup) {\n          cleanup();\n        }\n        return call(source, WATCHER, [onCleanup]);\n      };\n    }\n  } else {\n    getter = noop;\n     true && warnInvalidSource(source);\n  }\n  if (cb && deep) {\n    var baseGetter_1 = getter;\n    getter = function getter() {\n      return traverse(baseGetter_1());\n    };\n  }\n  var cleanup;\n  var onCleanup = function onCleanup(fn) {\n    cleanup = watcher.onStop = function () {\n      call(fn, WATCHER_CLEANUP);\n    };\n  };\n  // in SSR there is no need to setup an actual effect, and it should be noop\n  // unless it's eager\n  if (isServerRendering()) {\n    // we will also not call the invalidate callback (+ runner is not set up)\n    onCleanup = noop;\n    if (!cb) {\n      getter();\n    } else if (immediate) {\n      call(cb, WATCHER_CB, [getter(), isMultiSource ? [] : undefined, onCleanup]);\n    }\n    return noop;\n  }\n  var watcher = new Watcher(currentInstance, getter, noop, {\n    lazy: true\n  });\n  watcher.noRecurse = !cb;\n  var oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n  // overwrite default run\n  watcher.run = function () {\n    if (!watcher.active) {\n      return;\n    }\n    if (cb) {\n      // watch(source, cb)\n      var newValue = watcher.get();\n      if (deep || forceTrigger || (isMultiSource ? newValue.some(function (v, i) {\n        return hasChanged(v, oldValue[i]);\n      }) : hasChanged(newValue, oldValue))) {\n        // cleanup before running cb again\n        if (cleanup) {\n          cleanup();\n        }\n        call(cb, WATCHER_CB, [newValue,\n        // pass undefined as the old value when it's changed for the first time\n        oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue, onCleanup]);\n        oldValue = newValue;\n      }\n    } else {\n      // watchEffect\n      watcher.get();\n    }\n  };\n  if (flush === 'sync') {\n    watcher.update = watcher.run;\n  } else if (flush === 'post') {\n    watcher.post = true;\n    watcher.update = function () {\n      return queueWatcher(watcher);\n    };\n  } else {\n    // pre\n    watcher.update = function () {\n      if (instance && instance === currentInstance && !instance._isMounted) {\n        // pre-watcher triggered before\n        var buffer = instance._preWatchers || (instance._preWatchers = []);\n        if (buffer.indexOf(watcher) < 0) buffer.push(watcher);\n      } else {\n        queueWatcher(watcher);\n      }\n    };\n  }\n  if (true) {\n    watcher.onTrack = onTrack;\n    watcher.onTrigger = onTrigger;\n  }\n  // initial run\n  if (cb) {\n    if (immediate) {\n      watcher.run();\n    } else {\n      oldValue = watcher.get();\n    }\n  } else if (flush === 'post' && instance) {\n    instance.$once('hook:mounted', function () {\n      return watcher.get();\n    });\n  } else {\n    watcher.get();\n  }\n  return function () {\n    watcher.teardown();\n  };\n}\nvar activeEffectScope;\nvar EffectScope = /** @class */function () {\n  function EffectScope(detached) {\n    if (detached === void 0) {\n      detached = false;\n    }\n    this.detached = detached;\n    /**\n     * @internal\n     */\n    this.active = true;\n    /**\n     * @internal\n     */\n    this.effects = [];\n    /**\n     * @internal\n     */\n    this.cleanups = [];\n    this.parent = activeEffectScope;\n    if (!detached && activeEffectScope) {\n      this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n    }\n  }\n  EffectScope.prototype.run = function (fn) {\n    if (this.active) {\n      var currentEffectScope = activeEffectScope;\n      try {\n        activeEffectScope = this;\n        return fn();\n      } finally {\n        activeEffectScope = currentEffectScope;\n      }\n    } else if (true) {\n      warn$2(\"cannot run an inactive effect scope.\");\n    }\n  };\n  /**\n   * This should only be called on non-detached scopes\n   * @internal\n   */\n  EffectScope.prototype.on = function () {\n    activeEffectScope = this;\n  };\n  /**\n   * This should only be called on non-detached scopes\n   * @internal\n   */\n  EffectScope.prototype.off = function () {\n    activeEffectScope = this.parent;\n  };\n  EffectScope.prototype.stop = function (fromParent) {\n    if (this.active) {\n      var i = void 0,\n        l = void 0;\n      for (i = 0, l = this.effects.length; i < l; i++) {\n        this.effects[i].teardown();\n      }\n      for (i = 0, l = this.cleanups.length; i < l; i++) {\n        this.cleanups[i]();\n      }\n      if (this.scopes) {\n        for (i = 0, l = this.scopes.length; i < l; i++) {\n          this.scopes[i].stop(true);\n        }\n      }\n      // nested scope, dereference from parent to avoid memory leaks\n      if (!this.detached && this.parent && !fromParent) {\n        // optimized O(1) removal\n        var last = this.parent.scopes.pop();\n        if (last && last !== this) {\n          this.parent.scopes[this.index] = last;\n          last.index = this.index;\n        }\n      }\n      this.parent = undefined;\n      this.active = false;\n    }\n  };\n  return EffectScope;\n}();\nfunction effectScope(detached) {\n  return new EffectScope(detached);\n}\n/**\n * @internal\n */\nfunction recordEffectScope(effect, scope) {\n  if (scope === void 0) {\n    scope = activeEffectScope;\n  }\n  if (scope && scope.active) {\n    scope.effects.push(effect);\n  }\n}\nfunction getCurrentScope() {\n  return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n  if (activeEffectScope) {\n    activeEffectScope.cleanups.push(fn);\n  } else if (true) {\n    warn$2(\"onScopeDispose() is called when there is no active effect scope\" + \" to be associated with.\");\n  }\n}\nfunction provide(key, value) {\n  if (!currentInstance) {\n    if (true) {\n      warn$2(\"provide() can only be used inside setup().\");\n    }\n  } else {\n    // TS doesn't allow symbol as index type\n    resolveProvided(currentInstance)[key] = value;\n  }\n}\nfunction resolveProvided(vm) {\n  // by default an instance inherits its parent's provides object\n  // but when it needs to provide values of its own, it creates its\n  // own provides object using parent provides object as prototype.\n  // this way in `inject` we can simply look up injections from direct\n  // parent and let the prototype chain do the work.\n  var existing = vm._provided;\n  var parentProvides = vm.$parent && vm.$parent._provided;\n  if (parentProvides === existing) {\n    return vm._provided = Object.create(parentProvides);\n  } else {\n    return existing;\n  }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory) {\n  if (treatDefaultAsFactory === void 0) {\n    treatDefaultAsFactory = false;\n  }\n  // fallback to `currentRenderingInstance` so that this can be called in\n  // a functional component\n  var instance = currentInstance;\n  if (instance) {\n    // #2400\n    // to support `app.use` plugins,\n    // fallback to appContext's `provides` if the instance is at root\n    var provides = instance.$parent && instance.$parent._provided;\n    if (provides && key in provides) {\n      // TS doesn't allow symbol as index type\n      return provides[key];\n    } else if (arguments.length > 1) {\n      return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance) : defaultValue;\n    } else if (true) {\n      warn$2(\"injection \\\"\".concat(String(key), \"\\\" not found.\"));\n    }\n  } else if (true) {\n    warn$2(\"inject() can only be used inside setup() or functional components.\");\n  }\n}\n\n/**\n * @internal this function needs manual public type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction h(type, props, children) {\n  if (!currentInstance) {\n     true && warn$2(\"globally imported h() can only be invoked when there is an active \" + \"component instance, e.g. synchronously in a component's render or setup function.\");\n  }\n  return createElement$1(currentInstance, type, props, children, 2, true);\n}\nfunction handleError(err, vm, info) {\n  // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.\n  // See: https://github.com/vuejs/vuex/issues/1505\n  pushTarget();\n  try {\n    if (vm) {\n      var cur = vm;\n      while (cur = cur.$parent) {\n        var hooks = cur.$options.errorCaptured;\n        if (hooks) {\n          for (var i = 0; i < hooks.length; i++) {\n            try {\n              var capture = hooks[i].call(cur, err, vm, info) === false;\n              if (capture) return;\n            } catch (e) {\n              globalHandleError(e, cur, 'errorCaptured hook');\n            }\n          }\n        }\n      }\n    }\n    globalHandleError(err, vm, info);\n  } finally {\n    popTarget();\n  }\n}\nfunction invokeWithErrorHandling(handler, context, args, vm, info) {\n  var res;\n  try {\n    res = args ? handler.apply(context, args) : handler.call(context);\n    if (res && !res._isVue && isPromise(res) && !res._handled) {\n      res.catch(function (e) {\n        return handleError(e, vm, info + \" (Promise/async)\");\n      });\n      res._handled = true;\n    }\n  } catch (e) {\n    handleError(e, vm, info);\n  }\n  return res;\n}\nfunction globalHandleError(err, vm, info) {\n  if (config.errorHandler) {\n    try {\n      return config.errorHandler.call(null, err, vm, info);\n    } catch (e) {\n      // if the user intentionally throws the original error in the handler,\n      // do not log it twice\n      if (e !== err) {\n        logError(e, null, 'config.errorHandler');\n      }\n    }\n  }\n  logError(err, vm, info);\n}\nfunction logError(err, vm, info) {\n  if (true) {\n    warn$2(\"Error in \".concat(info, \": \\\"\").concat(err.toString(), \"\\\"\"), vm);\n  }\n  /* istanbul ignore else */\n  if (inBrowser && typeof console !== 'undefined') {\n    console.error(err);\n  } else {\n    throw err;\n  }\n}\n\n/* globals MutationObserver */\nvar isUsingMicroTask = false;\nvar callbacks = [];\nvar pending = false;\nfunction flushCallbacks() {\n  pending = false;\n  var copies = callbacks.slice(0);\n  callbacks.length = 0;\n  for (var i = 0; i < copies.length; i++) {\n    copies[i]();\n  }\n}\n// Here we have async deferring wrappers using microtasks.\n// In 2.5 we used (macro) tasks (in combination with microtasks).\n// However, it has subtle problems when state is changed right before repaint\n// (e.g. #6813, out-in transitions).\n// Also, using (macro) tasks in event handler would cause some weird behaviors\n// that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).\n// So we now use microtasks everywhere, again.\n// A major drawback of this tradeoff is that there are some scenarios\n// where microtasks have too high a priority and fire in between supposedly\n// sequential events (e.g. #4521, #6690, which have workarounds)\n// or even between bubbling of the same event (#6566).\nvar timerFunc;\n// The nextTick behavior leverages the microtask queue, which can be accessed\n// via either native Promise.then or MutationObserver.\n// MutationObserver has wider support, however it is seriously bugged in\n// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n// completely stops working after triggering a few times... so, if native\n// Promise is available, we will use it:\n/* istanbul ignore next, $flow-disable-line */\nif (typeof Promise !== 'undefined' && isNative(Promise)) {\n  var p_1 = Promise.resolve();\n  timerFunc = function timerFunc() {\n    p_1.then(flushCallbacks);\n    // In problematic UIWebViews, Promise.then doesn't completely break, but\n    // it can get stuck in a weird state where callbacks are pushed into the\n    // microtask queue but the queue isn't being flushed, until the browser\n    // needs to do some other work, e.g. handle a timer. Therefore we can\n    // \"force\" the microtask queue to be flushed by adding an empty timer.\n    if (isIOS) setTimeout(noop);\n  };\n  isUsingMicroTask = true;\n} else if (!isIE && typeof MutationObserver !== 'undefined' && (isNative(MutationObserver) ||\n// PhantomJS and iOS 7.x\nMutationObserver.toString() === '[object MutationObserverConstructor]')) {\n  // Use MutationObserver where native Promise is not available,\n  // e.g. PhantomJS, iOS7, Android 4.4\n  // (#6466 MutationObserver is unreliable in IE11)\n  var counter_1 = 1;\n  var observer = new MutationObserver(flushCallbacks);\n  var textNode_1 = document.createTextNode(String(counter_1));\n  observer.observe(textNode_1, {\n    characterData: true\n  });\n  timerFunc = function timerFunc() {\n    counter_1 = (counter_1 + 1) % 2;\n    textNode_1.data = String(counter_1);\n  };\n  isUsingMicroTask = true;\n} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n  // Fallback to setImmediate.\n  // Technically it leverages the (macro) task queue,\n  // but it is still a better choice than setTimeout.\n  timerFunc = function timerFunc() {\n    setImmediate(flushCallbacks);\n  };\n} else {\n  // Fallback to setTimeout.\n  timerFunc = function timerFunc() {\n    setTimeout(flushCallbacks, 0);\n  };\n}\n/**\n * @internal\n */\nfunction nextTick(cb, ctx) {\n  var _resolve;\n  callbacks.push(function () {\n    if (cb) {\n      try {\n        cb.call(ctx);\n      } catch (e) {\n        handleError(e, ctx, 'nextTick');\n      }\n    } else if (_resolve) {\n      _resolve(ctx);\n    }\n  });\n  if (!pending) {\n    pending = true;\n    timerFunc();\n  }\n  // $flow-disable-line\n  if (!cb && typeof Promise !== 'undefined') {\n    return new Promise(function (resolve) {\n      _resolve = resolve;\n    });\n  }\n}\nfunction useCssModule(name) {\n  if (name === void 0) {\n    name = '$style';\n  }\n  /* istanbul ignore else */\n  {\n    if (!currentInstance) {\n       true && warn$2(\"useCssModule must be called inside setup()\");\n      return emptyObject;\n    }\n    var mod = currentInstance[name];\n    if (!mod) {\n       true && warn$2(\"Current instance does not have CSS module named \\\"\".concat(name, \"\\\".\"));\n      return emptyObject;\n    }\n    return mod;\n  }\n}\n\n/**\n * Runtime helper for SFC's CSS variable injection feature.\n * @private\n */\nfunction useCssVars(getter) {\n  if (!inBrowser && !false) return;\n  var instance = currentInstance;\n  if (!instance) {\n     true && warn$2(\"useCssVars is called without current active component instance.\");\n    return;\n  }\n  watchPostEffect(function () {\n    var el = instance.$el;\n    var vars = getter(instance, instance._setupProxy);\n    if (el && el.nodeType === 1) {\n      var style = el.style;\n      for (var key in vars) {\n        style.setProperty(\"--\".concat(key), vars[key]);\n      }\n    }\n  });\n}\n\n/**\n * v3-compatible async component API.\n * @internal the type is manually declared in <root>/types/v3-define-async-component.d.ts\n * because it relies on existing manual types\n */\nfunction defineAsyncComponent(source) {\n  if (isFunction(source)) {\n    source = {\n      loader: source\n    };\n  }\n  var loader = source.loader,\n    loadingComponent = source.loadingComponent,\n    errorComponent = source.errorComponent,\n    _a = source.delay,\n    delay = _a === void 0 ? 200 : _a,\n    timeout = source.timeout,\n    // undefined = never times out\n    _b = source.suspensible,\n    // undefined = never times out\n    suspensible = _b === void 0 ? false : _b,\n    // in Vue 3 default is true\n    userOnError = source.onError;\n  if ( true && suspensible) {\n    warn$2(\"The suspensiblbe option for async components is not supported in Vue2. It is ignored.\");\n  }\n  var pendingRequest = null;\n  var retries = 0;\n  var retry = function retry() {\n    retries++;\n    pendingRequest = null;\n    return load();\n  };\n  var load = function load() {\n    var thisRequest;\n    return pendingRequest || (thisRequest = pendingRequest = loader().catch(function (err) {\n      err = err instanceof Error ? err : new Error(String(err));\n      if (userOnError) {\n        return new Promise(function (resolve, reject) {\n          var userRetry = function userRetry() {\n            return resolve(retry());\n          };\n          var userFail = function userFail() {\n            return reject(err);\n          };\n          userOnError(err, userRetry, userFail, retries + 1);\n        });\n      } else {\n        throw err;\n      }\n    }).then(function (comp) {\n      if (thisRequest !== pendingRequest && pendingRequest) {\n        return pendingRequest;\n      }\n      if ( true && !comp) {\n        warn$2(\"Async component loader resolved to undefined. \" + \"If you are using retry(), make sure to return its return value.\");\n      }\n      // interop module default\n      if (comp && (comp.__esModule || comp[Symbol.toStringTag] === 'Module')) {\n        comp = comp.default;\n      }\n      if ( true && comp && !isObject(comp) && !isFunction(comp)) {\n        throw new Error(\"Invalid async component load result: \".concat(comp));\n      }\n      return comp;\n    }));\n  };\n  return function () {\n    var component = load();\n    return {\n      component: component,\n      delay: delay,\n      timeout: timeout,\n      error: errorComponent,\n      loading: loadingComponent\n    };\n  };\n}\nfunction createLifeCycle(hookName) {\n  return function (fn, target) {\n    if (target === void 0) {\n      target = currentInstance;\n    }\n    if (!target) {\n       true && warn$2(\"\".concat(formatName(hookName), \" is called when there is no active component instance to be \") + \"associated with. \" + \"Lifecycle injection APIs can only be used during execution of setup().\");\n      return;\n    }\n    return injectHook(target, hookName, fn);\n  };\n}\nfunction formatName(name) {\n  if (name === 'beforeDestroy') {\n    name = 'beforeUnmount';\n  } else if (name === 'destroyed') {\n    name = 'unmounted';\n  }\n  return \"on\".concat(name[0].toUpperCase() + name.slice(1));\n}\nfunction injectHook(instance, hookName, fn) {\n  var options = instance.$options;\n  options[hookName] = mergeLifecycleHook(options[hookName], fn);\n}\nvar onBeforeMount = createLifeCycle('beforeMount');\nvar onMounted = createLifeCycle('mounted');\nvar onBeforeUpdate = createLifeCycle('beforeUpdate');\nvar onUpdated = createLifeCycle('updated');\nvar onBeforeUnmount = createLifeCycle('beforeDestroy');\nvar onUnmounted = createLifeCycle('destroyed');\nvar onActivated = createLifeCycle('activated');\nvar onDeactivated = createLifeCycle('deactivated');\nvar onServerPrefetch = createLifeCycle('serverPrefetch');\nvar onRenderTracked = createLifeCycle('renderTracked');\nvar onRenderTriggered = createLifeCycle('renderTriggered');\nvar injectErrorCapturedHook = createLifeCycle('errorCaptured');\nfunction onErrorCaptured(hook, target) {\n  if (target === void 0) {\n    target = currentInstance;\n  }\n  injectErrorCapturedHook(hook, target);\n}\n\n/**\n * Note: also update dist/vue.runtime.mjs when adding new exports to this file.\n */\nvar version = '2.7.14';\n/**\n * @internal type is manually declared in <root>/types/v3-define-component.d.ts\n */\nfunction defineComponent(options) {\n  return options;\n}\nvar seenObjects = new _Set();\n/**\n * Recursively traverse an object to evoke all converted\n * getters, so that every nested property inside the object\n * is collected as a \"deep\" dependency.\n */\nfunction traverse(val) {\n  _traverse(val, seenObjects);\n  seenObjects.clear();\n  return val;\n}\nfunction _traverse(val, seen) {\n  var i, keys;\n  var isA = isArray(val);\n  if (!isA && !isObject(val) || val.__v_skip /* ReactiveFlags.SKIP */ || Object.isFrozen(val) || val instanceof VNode) {\n    return;\n  }\n  if (val.__ob__) {\n    var depId = val.__ob__.dep.id;\n    if (seen.has(depId)) {\n      return;\n    }\n    seen.add(depId);\n  }\n  if (isA) {\n    i = val.length;\n    while (i--) _traverse(val[i], seen);\n  } else if (isRef(val)) {\n    _traverse(val.value, seen);\n  } else {\n    keys = Object.keys(val);\n    i = keys.length;\n    while (i--) _traverse(val[keys[i]], seen);\n  }\n}\nvar uid$1 = 0;\n/**\n * A watcher parses an expression, collects dependencies,\n * and fires callback when the expression value changes.\n * This is used for both the $watch() api and directives.\n * @internal\n */\nvar Watcher = /** @class */function () {\n  function Watcher(vm, expOrFn, cb, options, isRenderWatcher) {\n    recordEffectScope(this,\n    // if the active effect scope is manually created (not a component scope),\n    // prioritize it\n    activeEffectScope && !activeEffectScope._vm ? activeEffectScope : vm ? vm._scope : undefined);\n    if ((this.vm = vm) && isRenderWatcher) {\n      vm._watcher = this;\n    }\n    // options\n    if (options) {\n      this.deep = !!options.deep;\n      this.user = !!options.user;\n      this.lazy = !!options.lazy;\n      this.sync = !!options.sync;\n      this.before = options.before;\n      if (true) {\n        this.onTrack = options.onTrack;\n        this.onTrigger = options.onTrigger;\n      }\n    } else {\n      this.deep = this.user = this.lazy = this.sync = false;\n    }\n    this.cb = cb;\n    this.id = ++uid$1; // uid for batching\n    this.active = true;\n    this.post = false;\n    this.dirty = this.lazy; // for lazy watchers\n    this.deps = [];\n    this.newDeps = [];\n    this.depIds = new _Set();\n    this.newDepIds = new _Set();\n    this.expression =  true ? expOrFn.toString() : 0;\n    // parse expression for getter\n    if (isFunction(expOrFn)) {\n      this.getter = expOrFn;\n    } else {\n      this.getter = parsePath(expOrFn);\n      if (!this.getter) {\n        this.getter = noop;\n         true && warn$2(\"Failed watching path: \\\"\".concat(expOrFn, \"\\\" \") + 'Watcher only accepts simple dot-delimited paths. ' + 'For full control, use a function instead.', vm);\n      }\n    }\n    this.value = this.lazy ? undefined : this.get();\n  }\n  /**\n   * Evaluate the getter, and re-collect dependencies.\n   */\n  Watcher.prototype.get = function () {\n    pushTarget(this);\n    var value;\n    var vm = this.vm;\n    try {\n      value = this.getter.call(vm, vm);\n    } catch (e) {\n      if (this.user) {\n        handleError(e, vm, \"getter for watcher \\\"\".concat(this.expression, \"\\\"\"));\n      } else {\n        throw e;\n      }\n    } finally {\n      // \"touch\" every property so they are all tracked as\n      // dependencies for deep watching\n      if (this.deep) {\n        traverse(value);\n      }\n      popTarget();\n      this.cleanupDeps();\n    }\n    return value;\n  };\n  /**\n   * Add a dependency to this directive.\n   */\n  Watcher.prototype.addDep = function (dep) {\n    var id = dep.id;\n    if (!this.newDepIds.has(id)) {\n      this.newDepIds.add(id);\n      this.newDeps.push(dep);\n      if (!this.depIds.has(id)) {\n        dep.addSub(this);\n      }\n    }\n  };\n  /**\n   * Clean up for dependency collection.\n   */\n  Watcher.prototype.cleanupDeps = function () {\n    var i = this.deps.length;\n    while (i--) {\n      var dep = this.deps[i];\n      if (!this.newDepIds.has(dep.id)) {\n        dep.removeSub(this);\n      }\n    }\n    var tmp = this.depIds;\n    this.depIds = this.newDepIds;\n    this.newDepIds = tmp;\n    this.newDepIds.clear();\n    tmp = this.deps;\n    this.deps = this.newDeps;\n    this.newDeps = tmp;\n    this.newDeps.length = 0;\n  };\n  /**\n   * Subscriber interface.\n   * Will be called when a dependency changes.\n   */\n  Watcher.prototype.update = function () {\n    /* istanbul ignore else */\n    if (this.lazy) {\n      this.dirty = true;\n    } else if (this.sync) {\n      this.run();\n    } else {\n      queueWatcher(this);\n    }\n  };\n  /**\n   * Scheduler job interface.\n   * Will be called by the scheduler.\n   */\n  Watcher.prototype.run = function () {\n    if (this.active) {\n      var value = this.get();\n      if (value !== this.value ||\n      // Deep watchers and watchers on Object/Arrays should fire even\n      // when the value is the same, because the value may\n      // have mutated.\n      isObject(value) || this.deep) {\n        // set new value\n        var oldValue = this.value;\n        this.value = value;\n        if (this.user) {\n          var info = \"callback for watcher \\\"\".concat(this.expression, \"\\\"\");\n          invokeWithErrorHandling(this.cb, this.vm, [value, oldValue], this.vm, info);\n        } else {\n          this.cb.call(this.vm, value, oldValue);\n        }\n      }\n    }\n  };\n  /**\n   * Evaluate the value of the watcher.\n   * This only gets called for lazy watchers.\n   */\n  Watcher.prototype.evaluate = function () {\n    this.value = this.get();\n    this.dirty = false;\n  };\n  /**\n   * Depend on all deps collected by this watcher.\n   */\n  Watcher.prototype.depend = function () {\n    var i = this.deps.length;\n    while (i--) {\n      this.deps[i].depend();\n    }\n  };\n  /**\n   * Remove self from all dependencies' subscriber list.\n   */\n  Watcher.prototype.teardown = function () {\n    if (this.vm && !this.vm._isBeingDestroyed) {\n      remove$2(this.vm._scope.effects, this);\n    }\n    if (this.active) {\n      var i = this.deps.length;\n      while (i--) {\n        this.deps[i].removeSub(this);\n      }\n      this.active = false;\n      if (this.onStop) {\n        this.onStop();\n      }\n    }\n  };\n  return Watcher;\n}();\nvar sharedPropertyDefinition = {\n  enumerable: true,\n  configurable: true,\n  get: noop,\n  set: noop\n};\nfunction proxy(target, sourceKey, key) {\n  sharedPropertyDefinition.get = function proxyGetter() {\n    return this[sourceKey][key];\n  };\n  sharedPropertyDefinition.set = function proxySetter(val) {\n    this[sourceKey][key] = val;\n  };\n  Object.defineProperty(target, key, sharedPropertyDefinition);\n}\nfunction initState(vm) {\n  var opts = vm.$options;\n  if (opts.props) initProps$1(vm, opts.props);\n  // Composition API\n  initSetup(vm);\n  if (opts.methods) initMethods(vm, opts.methods);\n  if (opts.data) {\n    initData(vm);\n  } else {\n    var ob = observe(vm._data = {});\n    ob && ob.vmCount++;\n  }\n  if (opts.computed) initComputed$1(vm, opts.computed);\n  if (opts.watch && opts.watch !== nativeWatch) {\n    initWatch(vm, opts.watch);\n  }\n}\nfunction initProps$1(vm, propsOptions) {\n  var propsData = vm.$options.propsData || {};\n  var props = vm._props = shallowReactive({});\n  // cache prop keys so that future props updates can iterate using Array\n  // instead of dynamic object key enumeration.\n  var keys = vm.$options._propKeys = [];\n  var isRoot = !vm.$parent;\n  // root instance props should be converted\n  if (!isRoot) {\n    toggleObserving(false);\n  }\n  var _loop_1 = function _loop_1(key) {\n    keys.push(key);\n    var value = validateProp(key, propsOptions, propsData, vm);\n    /* istanbul ignore else */\n    if (true) {\n      var hyphenatedKey = hyphenate(key);\n      if (isReservedAttribute(hyphenatedKey) || config.isReservedAttr(hyphenatedKey)) {\n        warn$2(\"\\\"\".concat(hyphenatedKey, \"\\\" is a reserved attribute and cannot be used as component prop.\"), vm);\n      }\n      defineReactive(props, key, value, function () {\n        if (!isRoot && !isUpdatingChildComponent) {\n          warn$2(\"Avoid mutating a prop directly since the value will be \" + \"overwritten whenever the parent component re-renders. \" + \"Instead, use a data or computed property based on the prop's \" + \"value. Prop being mutated: \\\"\".concat(key, \"\\\"\"), vm);\n        }\n      });\n    } else {}\n    // static props are already proxied on the component's prototype\n    // during Vue.extend(). We only need to proxy props defined at\n    // instantiation here.\n    if (!(key in vm)) {\n      proxy(vm, \"_props\", key);\n    }\n  };\n  for (var key in propsOptions) {\n    _loop_1(key);\n  }\n  toggleObserving(true);\n}\nfunction initData(vm) {\n  var data = vm.$options.data;\n  data = vm._data = isFunction(data) ? getData(data, vm) : data || {};\n  if (!isPlainObject(data)) {\n    data = {};\n     true && warn$2('data functions should return an object:\\n' + 'https://v2.vuejs.org/v2/guide/components.html#data-Must-Be-a-Function', vm);\n  }\n  // proxy data on instance\n  var keys = Object.keys(data);\n  var props = vm.$options.props;\n  var methods = vm.$options.methods;\n  var i = keys.length;\n  while (i--) {\n    var key = keys[i];\n    if (true) {\n      if (methods && hasOwn(methods, key)) {\n        warn$2(\"Method \\\"\".concat(key, \"\\\" has already been defined as a data property.\"), vm);\n      }\n    }\n    if (props && hasOwn(props, key)) {\n       true && warn$2(\"The data property \\\"\".concat(key, \"\\\" is already declared as a prop. \") + \"Use prop default value instead.\", vm);\n    } else if (!isReserved(key)) {\n      proxy(vm, \"_data\", key);\n    }\n  }\n  // observe data\n  var ob = observe(data);\n  ob && ob.vmCount++;\n}\nfunction getData(data, vm) {\n  // #7573 disable dep collection when invoking data getters\n  pushTarget();\n  try {\n    return data.call(vm, vm);\n  } catch (e) {\n    handleError(e, vm, \"data()\");\n    return {};\n  } finally {\n    popTarget();\n  }\n}\nvar computedWatcherOptions = {\n  lazy: true\n};\nfunction initComputed$1(vm, computed) {\n  // $flow-disable-line\n  var watchers = vm._computedWatchers = Object.create(null);\n  // computed properties are just getters during SSR\n  var isSSR = isServerRendering();\n  for (var key in computed) {\n    var userDef = computed[key];\n    var getter = isFunction(userDef) ? userDef : userDef.get;\n    if ( true && getter == null) {\n      warn$2(\"Getter is missing for computed property \\\"\".concat(key, \"\\\".\"), vm);\n    }\n    if (!isSSR) {\n      // create internal watcher for the computed property.\n      watchers[key] = new Watcher(vm, getter || noop, noop, computedWatcherOptions);\n    }\n    // component-defined computed properties are already defined on the\n    // component prototype. We only need to define computed properties defined\n    // at instantiation here.\n    if (!(key in vm)) {\n      defineComputed(vm, key, userDef);\n    } else if (true) {\n      if (key in vm.$data) {\n        warn$2(\"The computed property \\\"\".concat(key, \"\\\" is already defined in data.\"), vm);\n      } else if (vm.$options.props && key in vm.$options.props) {\n        warn$2(\"The computed property \\\"\".concat(key, \"\\\" is already defined as a prop.\"), vm);\n      } else if (vm.$options.methods && key in vm.$options.methods) {\n        warn$2(\"The computed property \\\"\".concat(key, \"\\\" is already defined as a method.\"), vm);\n      }\n    }\n  }\n}\nfunction defineComputed(target, key, userDef) {\n  var shouldCache = !isServerRendering();\n  if (isFunction(userDef)) {\n    sharedPropertyDefinition.get = shouldCache ? createComputedGetter(key) : createGetterInvoker(userDef);\n    sharedPropertyDefinition.set = noop;\n  } else {\n    sharedPropertyDefinition.get = userDef.get ? shouldCache && userDef.cache !== false ? createComputedGetter(key) : createGetterInvoker(userDef.get) : noop;\n    sharedPropertyDefinition.set = userDef.set || noop;\n  }\n  if ( true && sharedPropertyDefinition.set === noop) {\n    sharedPropertyDefinition.set = function () {\n      warn$2(\"Computed property \\\"\".concat(key, \"\\\" was assigned to but it has no setter.\"), this);\n    };\n  }\n  Object.defineProperty(target, key, sharedPropertyDefinition);\n}\nfunction createComputedGetter(key) {\n  return function computedGetter() {\n    var watcher = this._computedWatchers && this._computedWatchers[key];\n    if (watcher) {\n      if (watcher.dirty) {\n        watcher.evaluate();\n      }\n      if (Dep.target) {\n        if ( true && Dep.target.onTrack) {\n          Dep.target.onTrack({\n            effect: Dep.target,\n            target: this,\n            type: \"get\" /* TrackOpTypes.GET */,\n            key: key\n          });\n        }\n        watcher.depend();\n      }\n      return watcher.value;\n    }\n  };\n}\nfunction createGetterInvoker(fn) {\n  return function computedGetter() {\n    return fn.call(this, this);\n  };\n}\nfunction initMethods(vm, methods) {\n  var props = vm.$options.props;\n  for (var key in methods) {\n    if (true) {\n      if (typeof methods[key] !== 'function') {\n        warn$2(\"Method \\\"\".concat(key, \"\\\" has type \\\"\").concat(typeof methods[key], \"\\\" in the component definition. \") + \"Did you reference the function correctly?\", vm);\n      }\n      if (props && hasOwn(props, key)) {\n        warn$2(\"Method \\\"\".concat(key, \"\\\" has already been defined as a prop.\"), vm);\n      }\n      if (key in vm && isReserved(key)) {\n        warn$2(\"Method \\\"\".concat(key, \"\\\" conflicts with an existing Vue instance method. \") + \"Avoid defining component methods that start with _ or $.\");\n      }\n    }\n    vm[key] = typeof methods[key] !== 'function' ? noop : bind$1(methods[key], vm);\n  }\n}\nfunction initWatch(vm, watch) {\n  for (var key in watch) {\n    var handler = watch[key];\n    if (isArray(handler)) {\n      for (var i = 0; i < handler.length; i++) {\n        createWatcher(vm, key, handler[i]);\n      }\n    } else {\n      createWatcher(vm, key, handler);\n    }\n  }\n}\nfunction createWatcher(vm, expOrFn, handler, options) {\n  if (isPlainObject(handler)) {\n    options = handler;\n    handler = handler.handler;\n  }\n  if (typeof handler === 'string') {\n    handler = vm[handler];\n  }\n  return vm.$watch(expOrFn, handler, options);\n}\nfunction stateMixin(Vue) {\n  // flow somehow has problems with directly declared definition object\n  // when using Object.defineProperty, so we have to procedurally build up\n  // the object here.\n  var dataDef = {};\n  dataDef.get = function () {\n    return this._data;\n  };\n  var propsDef = {};\n  propsDef.get = function () {\n    return this._props;\n  };\n  if (true) {\n    dataDef.set = function () {\n      warn$2('Avoid replacing instance root $data. ' + 'Use nested data properties instead.', this);\n    };\n    propsDef.set = function () {\n      warn$2(\"$props is readonly.\", this);\n    };\n  }\n  Object.defineProperty(Vue.prototype, '$data', dataDef);\n  Object.defineProperty(Vue.prototype, '$props', propsDef);\n  Vue.prototype.$set = set;\n  Vue.prototype.$delete = del;\n  Vue.prototype.$watch = function (expOrFn, cb, options) {\n    var vm = this;\n    if (isPlainObject(cb)) {\n      return createWatcher(vm, expOrFn, cb, options);\n    }\n    options = options || {};\n    options.user = true;\n    var watcher = new Watcher(vm, expOrFn, cb, options);\n    if (options.immediate) {\n      var info = \"callback for immediate watcher \\\"\".concat(watcher.expression, \"\\\"\");\n      pushTarget();\n      invokeWithErrorHandling(cb, vm, [watcher.value], vm, info);\n      popTarget();\n    }\n    return function unwatchFn() {\n      watcher.teardown();\n    };\n  };\n}\nfunction initProvide(vm) {\n  var provideOption = vm.$options.provide;\n  if (provideOption) {\n    var provided = isFunction(provideOption) ? provideOption.call(vm) : provideOption;\n    if (!isObject(provided)) {\n      return;\n    }\n    var source = resolveProvided(vm);\n    // IE9 doesn't support Object.getOwnPropertyDescriptors so we have to\n    // iterate the keys ourselves.\n    var keys = hasSymbol ? Reflect.ownKeys(provided) : Object.keys(provided);\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      Object.defineProperty(source, key, Object.getOwnPropertyDescriptor(provided, key));\n    }\n  }\n}\nfunction initInjections(vm) {\n  var result = resolveInject(vm.$options.inject, vm);\n  if (result) {\n    toggleObserving(false);\n    Object.keys(result).forEach(function (key) {\n      /* istanbul ignore else */\n      if (true) {\n        defineReactive(vm, key, result[key], function () {\n          warn$2(\"Avoid mutating an injected value directly since the changes will be \" + \"overwritten whenever the provided component re-renders. \" + \"injection being mutated: \\\"\".concat(key, \"\\\"\"), vm);\n        });\n      } else {}\n    });\n    toggleObserving(true);\n  }\n}\nfunction resolveInject(inject, vm) {\n  if (inject) {\n    // inject is :any because flow is not smart enough to figure out cached\n    var result = Object.create(null);\n    var keys = hasSymbol ? Reflect.ownKeys(inject) : Object.keys(inject);\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      // #6574 in case the inject object is observed...\n      if (key === '__ob__') continue;\n      var provideKey = inject[key].from;\n      if (provideKey in vm._provided) {\n        result[key] = vm._provided[provideKey];\n      } else if ('default' in inject[key]) {\n        var provideDefault = inject[key].default;\n        result[key] = isFunction(provideDefault) ? provideDefault.call(vm) : provideDefault;\n      } else if (true) {\n        warn$2(\"Injection \\\"\".concat(key, \"\\\" not found\"), vm);\n      }\n    }\n    return result;\n  }\n}\nvar uid = 0;\nfunction initMixin$1(Vue) {\n  Vue.prototype._init = function (options) {\n    var vm = this;\n    // a uid\n    vm._uid = uid++;\n    var startTag, endTag;\n    /* istanbul ignore if */\n    if ( true && config.performance && mark) {\n      startTag = \"vue-perf-start:\".concat(vm._uid);\n      endTag = \"vue-perf-end:\".concat(vm._uid);\n      mark(startTag);\n    }\n    // a flag to mark this as a Vue instance without having to do instanceof\n    // check\n    vm._isVue = true;\n    // avoid instances from being observed\n    vm.__v_skip = true;\n    // effect scope\n    vm._scope = new EffectScope(true /* detached */);\n    vm._scope._vm = true;\n    // merge options\n    if (options && options._isComponent) {\n      // optimize internal component instantiation\n      // since dynamic options merging is pretty slow, and none of the\n      // internal component options needs special treatment.\n      initInternalComponent(vm, options);\n    } else {\n      vm.$options = mergeOptions(resolveConstructorOptions(vm.constructor), options || {}, vm);\n    }\n    /* istanbul ignore else */\n    if (true) {\n      initProxy(vm);\n    } else {}\n    // expose real self\n    vm._self = vm;\n    initLifecycle(vm);\n    initEvents(vm);\n    initRender(vm);\n    callHook$1(vm, 'beforeCreate', undefined, false /* setContext */);\n    initInjections(vm); // resolve injections before data/props\n    initState(vm);\n    initProvide(vm); // resolve provide after data/props\n    callHook$1(vm, 'created');\n    /* istanbul ignore if */\n    if ( true && config.performance && mark) {\n      vm._name = formatComponentName(vm, false);\n      mark(endTag);\n      measure(\"vue \".concat(vm._name, \" init\"), startTag, endTag);\n    }\n    if (vm.$options.el) {\n      vm.$mount(vm.$options.el);\n    }\n  };\n}\nfunction initInternalComponent(vm, options) {\n  var opts = vm.$options = Object.create(vm.constructor.options);\n  // doing this because it's faster than dynamic enumeration.\n  var parentVnode = options._parentVnode;\n  opts.parent = options.parent;\n  opts._parentVnode = parentVnode;\n  var vnodeComponentOptions = parentVnode.componentOptions;\n  opts.propsData = vnodeComponentOptions.propsData;\n  opts._parentListeners = vnodeComponentOptions.listeners;\n  opts._renderChildren = vnodeComponentOptions.children;\n  opts._componentTag = vnodeComponentOptions.tag;\n  if (options.render) {\n    opts.render = options.render;\n    opts.staticRenderFns = options.staticRenderFns;\n  }\n}\nfunction resolveConstructorOptions(Ctor) {\n  var options = Ctor.options;\n  if (Ctor.super) {\n    var superOptions = resolveConstructorOptions(Ctor.super);\n    var cachedSuperOptions = Ctor.superOptions;\n    if (superOptions !== cachedSuperOptions) {\n      // super option changed,\n      // need to resolve new options.\n      Ctor.superOptions = superOptions;\n      // check if there are any late-modified/attached options (#4976)\n      var modifiedOptions = resolveModifiedOptions(Ctor);\n      // update base extend options\n      if (modifiedOptions) {\n        extend(Ctor.extendOptions, modifiedOptions);\n      }\n      options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);\n      if (options.name) {\n        options.components[options.name] = Ctor;\n      }\n    }\n  }\n  return options;\n}\nfunction resolveModifiedOptions(Ctor) {\n  var modified;\n  var latest = Ctor.options;\n  var sealed = Ctor.sealedOptions;\n  for (var key in latest) {\n    if (latest[key] !== sealed[key]) {\n      if (!modified) modified = {};\n      modified[key] = latest[key];\n    }\n  }\n  return modified;\n}\nfunction FunctionalRenderContext(data, props, children, parent, Ctor) {\n  var _this = this;\n  var options = Ctor.options;\n  // ensure the createElement function in functional components\n  // gets a unique context - this is necessary for correct named slot check\n  var contextVm;\n  if (hasOwn(parent, '_uid')) {\n    contextVm = Object.create(parent);\n    contextVm._original = parent;\n  } else {\n    // the context vm passed in is a functional context as well.\n    // in this case we want to make sure we are able to get a hold to the\n    // real context instance.\n    contextVm = parent;\n    // @ts-ignore\n    parent = parent._original;\n  }\n  var isCompiled = isTrue(options._compiled);\n  var needNormalization = !isCompiled;\n  this.data = data;\n  this.props = props;\n  this.children = children;\n  this.parent = parent;\n  this.listeners = data.on || emptyObject;\n  this.injections = resolveInject(options.inject, parent);\n  this.slots = function () {\n    if (!_this.$slots) {\n      normalizeScopedSlots(parent, data.scopedSlots, _this.$slots = resolveSlots(children, parent));\n    }\n    return _this.$slots;\n  };\n  Object.defineProperty(this, 'scopedSlots', {\n    enumerable: true,\n    get: function get() {\n      return normalizeScopedSlots(parent, data.scopedSlots, this.slots());\n    }\n  });\n  // support for compiled functional template\n  if (isCompiled) {\n    // exposing $options for renderStatic()\n    this.$options = options;\n    // pre-resolve slots for renderSlot()\n    this.$slots = this.slots();\n    this.$scopedSlots = normalizeScopedSlots(parent, data.scopedSlots, this.$slots);\n  }\n  if (options._scopeId) {\n    this._c = function (a, b, c, d) {\n      var vnode = createElement$1(contextVm, a, b, c, d, needNormalization);\n      if (vnode && !isArray(vnode)) {\n        vnode.fnScopeId = options._scopeId;\n        vnode.fnContext = parent;\n      }\n      return vnode;\n    };\n  } else {\n    this._c = function (a, b, c, d) {\n      return createElement$1(contextVm, a, b, c, d, needNormalization);\n    };\n  }\n}\ninstallRenderHelpers(FunctionalRenderContext.prototype);\nfunction createFunctionalComponent(Ctor, propsData, data, contextVm, children) {\n  var options = Ctor.options;\n  var props = {};\n  var propOptions = options.props;\n  if (isDef(propOptions)) {\n    for (var key in propOptions) {\n      props[key] = validateProp(key, propOptions, propsData || emptyObject);\n    }\n  } else {\n    if (isDef(data.attrs)) mergeProps(props, data.attrs);\n    if (isDef(data.props)) mergeProps(props, data.props);\n  }\n  var renderContext = new FunctionalRenderContext(data, props, children, contextVm, Ctor);\n  var vnode = options.render.call(null, renderContext._c, renderContext);\n  if (vnode instanceof VNode) {\n    return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext);\n  } else if (isArray(vnode)) {\n    var vnodes = normalizeChildren(vnode) || [];\n    var res = new Array(vnodes.length);\n    for (var i = 0; i < vnodes.length; i++) {\n      res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);\n    }\n    return res;\n  }\n}\nfunction cloneAndMarkFunctionalResult(vnode, data, contextVm, options, renderContext) {\n  // #7817 clone node before setting fnContext, otherwise if the node is reused\n  // (e.g. it was from a cached normal slot) the fnContext causes named slots\n  // that should not be matched to match.\n  var clone = cloneVNode(vnode);\n  clone.fnContext = contextVm;\n  clone.fnOptions = options;\n  if (true) {\n    (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;\n  }\n  if (data.slot) {\n    (clone.data || (clone.data = {})).slot = data.slot;\n  }\n  return clone;\n}\nfunction mergeProps(to, from) {\n  for (var key in from) {\n    to[camelize(key)] = from[key];\n  }\n}\nfunction getComponentName(options) {\n  return options.name || options.__name || options._componentTag;\n}\n// inline hooks to be invoked on component VNodes during patch\nvar componentVNodeHooks = {\n  init: function init(vnode, hydrating) {\n    if (vnode.componentInstance && !vnode.componentInstance._isDestroyed && vnode.data.keepAlive) {\n      // kept-alive components, treat as a patch\n      var mountedNode = vnode; // work around flow\n      componentVNodeHooks.prepatch(mountedNode, mountedNode);\n    } else {\n      var child = vnode.componentInstance = createComponentInstanceForVnode(vnode, activeInstance);\n      child.$mount(hydrating ? vnode.elm : undefined, hydrating);\n    }\n  },\n  prepatch: function prepatch(oldVnode, vnode) {\n    var options = vnode.componentOptions;\n    var child = vnode.componentInstance = oldVnode.componentInstance;\n    updateChildComponent(child, options.propsData,\n    // updated props\n    options.listeners,\n    // updated listeners\n    vnode,\n    // new parent vnode\n    options.children // new children\n    );\n  },\n\n  insert: function insert(vnode) {\n    var context = vnode.context,\n      componentInstance = vnode.componentInstance;\n    if (!componentInstance._isMounted) {\n      componentInstance._isMounted = true;\n      callHook$1(componentInstance, 'mounted');\n    }\n    if (vnode.data.keepAlive) {\n      if (context._isMounted) {\n        // vue-router#1212\n        // During updates, a kept-alive component's child components may\n        // change, so directly walking the tree here may call activated hooks\n        // on incorrect children. Instead we push them into a queue which will\n        // be processed after the whole patch process ended.\n        queueActivatedComponent(componentInstance);\n      } else {\n        activateChildComponent(componentInstance, true /* direct */);\n      }\n    }\n  },\n\n  destroy: function destroy(vnode) {\n    var componentInstance = vnode.componentInstance;\n    if (!componentInstance._isDestroyed) {\n      if (!vnode.data.keepAlive) {\n        componentInstance.$destroy();\n      } else {\n        deactivateChildComponent(componentInstance, true /* direct */);\n      }\n    }\n  }\n};\n\nvar hooksToMerge = Object.keys(componentVNodeHooks);\nfunction createComponent(Ctor, data, context, children, tag) {\n  if (isUndef(Ctor)) {\n    return;\n  }\n  var baseCtor = context.$options._base;\n  // plain options object: turn it into a constructor\n  if (isObject(Ctor)) {\n    Ctor = baseCtor.extend(Ctor);\n  }\n  // if at this stage it's not a constructor or an async component factory,\n  // reject.\n  if (typeof Ctor !== 'function') {\n    if (true) {\n      warn$2(\"Invalid Component definition: \".concat(String(Ctor)), context);\n    }\n    return;\n  }\n  // async component\n  var asyncFactory;\n  // @ts-expect-error\n  if (isUndef(Ctor.cid)) {\n    asyncFactory = Ctor;\n    Ctor = resolveAsyncComponent(asyncFactory, baseCtor);\n    if (Ctor === undefined) {\n      // return a placeholder node for async component, which is rendered\n      // as a comment node but preserves all the raw information for the node.\n      // the information will be used for async server-rendering and hydration.\n      return createAsyncPlaceholder(asyncFactory, data, context, children, tag);\n    }\n  }\n  data = data || {};\n  // resolve constructor options in case global mixins are applied after\n  // component constructor creation\n  resolveConstructorOptions(Ctor);\n  // transform component v-model data into props & events\n  if (isDef(data.model)) {\n    // @ts-expect-error\n    transformModel(Ctor.options, data);\n  }\n  // extract props\n  // @ts-expect-error\n  var propsData = extractPropsFromVNodeData(data, Ctor, tag);\n  // functional component\n  // @ts-expect-error\n  if (isTrue(Ctor.options.functional)) {\n    return createFunctionalComponent(Ctor, propsData, data, context, children);\n  }\n  // extract listeners, since these needs to be treated as\n  // child component listeners instead of DOM listeners\n  var listeners = data.on;\n  // replace with listeners with .native modifier\n  // so it gets processed during parent component patch.\n  data.on = data.nativeOn;\n  // @ts-expect-error\n  if (isTrue(Ctor.options.abstract)) {\n    // abstract components do not keep anything\n    // other than props & listeners & slot\n    // work around flow\n    var slot = data.slot;\n    data = {};\n    if (slot) {\n      data.slot = slot;\n    }\n  }\n  // install component management hooks onto the placeholder node\n  installComponentHooks(data);\n  // return a placeholder vnode\n  // @ts-expect-error\n  var name = getComponentName(Ctor.options) || tag;\n  var vnode = new VNode(\n  // @ts-expect-error\n  \"vue-component-\".concat(Ctor.cid).concat(name ? \"-\".concat(name) : ''), data, undefined, undefined, undefined, context,\n  // @ts-expect-error\n  {\n    Ctor: Ctor,\n    propsData: propsData,\n    listeners: listeners,\n    tag: tag,\n    children: children\n  }, asyncFactory);\n  return vnode;\n}\nfunction createComponentInstanceForVnode(\n// we know it's MountedComponentVNode but flow doesn't\nvnode,\n// activeInstance in lifecycle state\nparent) {\n  var options = {\n    _isComponent: true,\n    _parentVnode: vnode,\n    parent: parent\n  };\n  // check inline-template render functions\n  var inlineTemplate = vnode.data.inlineTemplate;\n  if (isDef(inlineTemplate)) {\n    options.render = inlineTemplate.render;\n    options.staticRenderFns = inlineTemplate.staticRenderFns;\n  }\n  return new vnode.componentOptions.Ctor(options);\n}\nfunction installComponentHooks(data) {\n  var hooks = data.hook || (data.hook = {});\n  for (var i = 0; i < hooksToMerge.length; i++) {\n    var key = hooksToMerge[i];\n    var existing = hooks[key];\n    var toMerge = componentVNodeHooks[key];\n    // @ts-expect-error\n    if (existing !== toMerge && !(existing && existing._merged)) {\n      hooks[key] = existing ? mergeHook(toMerge, existing) : toMerge;\n    }\n  }\n}\nfunction mergeHook(f1, f2) {\n  var merged = function merged(a, b) {\n    // flow complains about extra args which is why we use any\n    f1(a, b);\n    f2(a, b);\n  };\n  merged._merged = true;\n  return merged;\n}\n// transform component v-model info (value and callback) into\n// prop and event handler respectively.\nfunction transformModel(options, data) {\n  var prop = options.model && options.model.prop || 'value';\n  var event = options.model && options.model.event || 'input';\n  (data.attrs || (data.attrs = {}))[prop] = data.model.value;\n  var on = data.on || (data.on = {});\n  var existing = on[event];\n  var callback = data.model.callback;\n  if (isDef(existing)) {\n    if (isArray(existing) ? existing.indexOf(callback) === -1 : existing !== callback) {\n      on[event] = [callback].concat(existing);\n    }\n  } else {\n    on[event] = callback;\n  }\n}\nvar warn$2 = noop;\nvar tip = noop;\nvar generateComponentTrace; // work around flow check\nvar formatComponentName;\nif (true) {\n  var hasConsole_1 = typeof console !== 'undefined';\n  var classifyRE_1 = /(?:^|[-_])(\\w)/g;\n  var classify_1 = function classify_1(str) {\n    return str.replace(classifyRE_1, function (c) {\n      return c.toUpperCase();\n    }).replace(/[-_]/g, '');\n  };\n  warn$2 = function warn$2(msg, vm) {\n    if (vm === void 0) {\n      vm = currentInstance;\n    }\n    var trace = vm ? generateComponentTrace(vm) : '';\n    if (config.warnHandler) {\n      config.warnHandler.call(null, msg, vm, trace);\n    } else if (hasConsole_1 && !config.silent) {\n      console.error(\"[Vue warn]: \".concat(msg).concat(trace));\n    }\n  };\n  tip = function tip(msg, vm) {\n    if (hasConsole_1 && !config.silent) {\n      console.warn(\"[Vue tip]: \".concat(msg) + (vm ? generateComponentTrace(vm) : ''));\n    }\n  };\n  formatComponentName = function formatComponentName(vm, includeFile) {\n    if (vm.$root === vm) {\n      return '<Root>';\n    }\n    var options = isFunction(vm) && vm.cid != null ? vm.options : vm._isVue ? vm.$options || vm.constructor.options : vm;\n    var name = getComponentName(options);\n    var file = options.__file;\n    if (!name && file) {\n      var match = file.match(/([^/\\\\]+)\\.vue$/);\n      name = match && match[1];\n    }\n    return (name ? \"<\".concat(classify_1(name), \">\") : \"<Anonymous>\") + (file && includeFile !== false ? \" at \".concat(file) : '');\n  };\n  var repeat_1 = function repeat_1(str, n) {\n    var res = '';\n    while (n) {\n      if (n % 2 === 1) res += str;\n      if (n > 1) str += str;\n      n >>= 1;\n    }\n    return res;\n  };\n  generateComponentTrace = function generateComponentTrace(vm) {\n    if (vm._isVue && vm.$parent) {\n      var tree = [];\n      var currentRecursiveSequence = 0;\n      while (vm) {\n        if (tree.length > 0) {\n          var last = tree[tree.length - 1];\n          if (last.constructor === vm.constructor) {\n            currentRecursiveSequence++;\n            vm = vm.$parent;\n            continue;\n          } else if (currentRecursiveSequence > 0) {\n            tree[tree.length - 1] = [last, currentRecursiveSequence];\n            currentRecursiveSequence = 0;\n          }\n        }\n        tree.push(vm);\n        vm = vm.$parent;\n      }\n      return '\\n\\nfound in\\n\\n' + tree.map(function (vm, i) {\n        return \"\".concat(i === 0 ? '---> ' : repeat_1(' ', 5 + i * 2)).concat(isArray(vm) ? \"\".concat(formatComponentName(vm[0]), \"... (\").concat(vm[1], \" recursive calls)\") : formatComponentName(vm));\n      }).join('\\n');\n    } else {\n      return \"\\n\\n(found in \".concat(formatComponentName(vm), \")\");\n    }\n  };\n}\n\n/**\n * Option overwriting strategies are functions that handle\n * how to merge a parent option value and a child option\n * value into the final value.\n */\nvar strats = config.optionMergeStrategies;\n/**\n * Options with restrictions\n */\nif (true) {\n  strats.el = strats.propsData = function (parent, child, vm, key) {\n    if (!vm) {\n      warn$2(\"option \\\"\".concat(key, \"\\\" can only be used during instance \") + 'creation with the `new` keyword.');\n    }\n    return defaultStrat(parent, child);\n  };\n}\n/**\n * Helper that recursively merges two data objects together.\n */\nfunction mergeData(to, from, recursive) {\n  if (recursive === void 0) {\n    recursive = true;\n  }\n  if (!from) return to;\n  var key, toVal, fromVal;\n  var keys = hasSymbol ? Reflect.ownKeys(from) : Object.keys(from);\n  for (var i = 0; i < keys.length; i++) {\n    key = keys[i];\n    // in case the object is already observed...\n    if (key === '__ob__') continue;\n    toVal = to[key];\n    fromVal = from[key];\n    if (!recursive || !hasOwn(to, key)) {\n      set(to, key, fromVal);\n    } else if (toVal !== fromVal && isPlainObject(toVal) && isPlainObject(fromVal)) {\n      mergeData(toVal, fromVal);\n    }\n  }\n  return to;\n}\n/**\n * Data\n */\nfunction mergeDataOrFn(parentVal, childVal, vm) {\n  if (!vm) {\n    // in a Vue.extend merge, both should be functions\n    if (!childVal) {\n      return parentVal;\n    }\n    if (!parentVal) {\n      return childVal;\n    }\n    // when parentVal & childVal are both present,\n    // we need to return a function that returns the\n    // merged result of both functions... no need to\n    // check if parentVal is a function here because\n    // it has to be a function to pass previous merges.\n    return function mergedDataFn() {\n      return mergeData(isFunction(childVal) ? childVal.call(this, this) : childVal, isFunction(parentVal) ? parentVal.call(this, this) : parentVal);\n    };\n  } else {\n    return function mergedInstanceDataFn() {\n      // instance merge\n      var instanceData = isFunction(childVal) ? childVal.call(vm, vm) : childVal;\n      var defaultData = isFunction(parentVal) ? parentVal.call(vm, vm) : parentVal;\n      if (instanceData) {\n        return mergeData(instanceData, defaultData);\n      } else {\n        return defaultData;\n      }\n    };\n  }\n}\nstrats.data = function (parentVal, childVal, vm) {\n  if (!vm) {\n    if (childVal && typeof childVal !== 'function') {\n       true && warn$2('The \"data\" option should be a function ' + 'that returns a per-instance value in component ' + 'definitions.', vm);\n      return parentVal;\n    }\n    return mergeDataOrFn(parentVal, childVal);\n  }\n  return mergeDataOrFn(parentVal, childVal, vm);\n};\n/**\n * Hooks and props are merged as arrays.\n */\nfunction mergeLifecycleHook(parentVal, childVal) {\n  var res = childVal ? parentVal ? parentVal.concat(childVal) : isArray(childVal) ? childVal : [childVal] : parentVal;\n  return res ? dedupeHooks(res) : res;\n}\nfunction dedupeHooks(hooks) {\n  var res = [];\n  for (var i = 0; i < hooks.length; i++) {\n    if (res.indexOf(hooks[i]) === -1) {\n      res.push(hooks[i]);\n    }\n  }\n  return res;\n}\nLIFECYCLE_HOOKS.forEach(function (hook) {\n  strats[hook] = mergeLifecycleHook;\n});\n/**\n * Assets\n *\n * When a vm is present (instance creation), we need to do\n * a three-way merge between constructor options, instance\n * options and parent options.\n */\nfunction mergeAssets(parentVal, childVal, vm, key) {\n  var res = Object.create(parentVal || null);\n  if (childVal) {\n     true && assertObjectType(key, childVal, vm);\n    return extend(res, childVal);\n  } else {\n    return res;\n  }\n}\nASSET_TYPES.forEach(function (type) {\n  strats[type + 's'] = mergeAssets;\n});\n/**\n * Watchers.\n *\n * Watchers hashes should not overwrite one\n * another, so we merge them as arrays.\n */\nstrats.watch = function (parentVal, childVal, vm, key) {\n  // work around Firefox's Object.prototype.watch...\n  //@ts-expect-error work around\n  if (parentVal === nativeWatch) parentVal = undefined;\n  //@ts-expect-error work around\n  if (childVal === nativeWatch) childVal = undefined;\n  /* istanbul ignore if */\n  if (!childVal) return Object.create(parentVal || null);\n  if (true) {\n    assertObjectType(key, childVal, vm);\n  }\n  if (!parentVal) return childVal;\n  var ret = {};\n  extend(ret, parentVal);\n  for (var key_1 in childVal) {\n    var parent_1 = ret[key_1];\n    var child = childVal[key_1];\n    if (parent_1 && !isArray(parent_1)) {\n      parent_1 = [parent_1];\n    }\n    ret[key_1] = parent_1 ? parent_1.concat(child) : isArray(child) ? child : [child];\n  }\n  return ret;\n};\n/**\n * Other object hashes.\n */\nstrats.props = strats.methods = strats.inject = strats.computed = function (parentVal, childVal, vm, key) {\n  if (childVal && \"single\" !== 'production') {\n    assertObjectType(key, childVal, vm);\n  }\n  if (!parentVal) return childVal;\n  var ret = Object.create(null);\n  extend(ret, parentVal);\n  if (childVal) extend(ret, childVal);\n  return ret;\n};\nstrats.provide = function (parentVal, childVal) {\n  if (!parentVal) return childVal;\n  return function () {\n    var ret = Object.create(null);\n    mergeData(ret, isFunction(parentVal) ? parentVal.call(this) : parentVal);\n    if (childVal) {\n      mergeData(ret, isFunction(childVal) ? childVal.call(this) : childVal, false // non-recursive\n      );\n    }\n\n    return ret;\n  };\n};\n/**\n * Default strategy.\n */\nvar defaultStrat = function defaultStrat(parentVal, childVal) {\n  return childVal === undefined ? parentVal : childVal;\n};\n/**\n * Validate component names\n */\nfunction checkComponents(options) {\n  for (var key in options.components) {\n    validateComponentName(key);\n  }\n}\nfunction validateComponentName(name) {\n  if (!new RegExp(\"^[a-zA-Z][\\\\-\\\\.0-9_\".concat(unicodeRegExp.source, \"]*$\")).test(name)) {\n    warn$2('Invalid component name: \"' + name + '\". Component names ' + 'should conform to valid custom element name in html5 specification.');\n  }\n  if (isBuiltInTag(name) || config.isReservedTag(name)) {\n    warn$2('Do not use built-in or reserved HTML elements as component ' + 'id: ' + name);\n  }\n}\n/**\n * Ensure all props option syntax are normalized into the\n * Object-based format.\n */\nfunction normalizeProps(options, vm) {\n  var props = options.props;\n  if (!props) return;\n  var res = {};\n  var i, val, name;\n  if (isArray(props)) {\n    i = props.length;\n    while (i--) {\n      val = props[i];\n      if (typeof val === 'string') {\n        name = camelize(val);\n        res[name] = {\n          type: null\n        };\n      } else if (true) {\n        warn$2('props must be strings when using array syntax.');\n      }\n    }\n  } else if (isPlainObject(props)) {\n    for (var key in props) {\n      val = props[key];\n      name = camelize(key);\n      res[name] = isPlainObject(val) ? val : {\n        type: val\n      };\n    }\n  } else if (true) {\n    warn$2(\"Invalid value for option \\\"props\\\": expected an Array or an Object, \" + \"but got \".concat(toRawType(props), \".\"), vm);\n  }\n  options.props = res;\n}\n/**\n * Normalize all injections into Object-based format\n */\nfunction normalizeInject(options, vm) {\n  var inject = options.inject;\n  if (!inject) return;\n  var normalized = options.inject = {};\n  if (isArray(inject)) {\n    for (var i = 0; i < inject.length; i++) {\n      normalized[inject[i]] = {\n        from: inject[i]\n      };\n    }\n  } else if (isPlainObject(inject)) {\n    for (var key in inject) {\n      var val = inject[key];\n      normalized[key] = isPlainObject(val) ? extend({\n        from: key\n      }, val) : {\n        from: val\n      };\n    }\n  } else if (true) {\n    warn$2(\"Invalid value for option \\\"inject\\\": expected an Array or an Object, \" + \"but got \".concat(toRawType(inject), \".\"), vm);\n  }\n}\n/**\n * Normalize raw function directives into object format.\n */\nfunction normalizeDirectives$1(options) {\n  var dirs = options.directives;\n  if (dirs) {\n    for (var key in dirs) {\n      var def = dirs[key];\n      if (isFunction(def)) {\n        dirs[key] = {\n          bind: def,\n          update: def\n        };\n      }\n    }\n  }\n}\nfunction assertObjectType(name, value, vm) {\n  if (!isPlainObject(value)) {\n    warn$2(\"Invalid value for option \\\"\".concat(name, \"\\\": expected an Object, \") + \"but got \".concat(toRawType(value), \".\"), vm);\n  }\n}\n/**\n * Merge two option objects into a new one.\n * Core utility used in both instantiation and inheritance.\n */\nfunction mergeOptions(parent, child, vm) {\n  if (true) {\n    checkComponents(child);\n  }\n  if (isFunction(child)) {\n    // @ts-expect-error\n    child = child.options;\n  }\n  normalizeProps(child, vm);\n  normalizeInject(child, vm);\n  normalizeDirectives$1(child);\n  // Apply extends and mixins on the child options,\n  // but only if it is a raw options object that isn't\n  // the result of another mergeOptions call.\n  // Only merged options has the _base property.\n  if (!child._base) {\n    if (child.extends) {\n      parent = mergeOptions(parent, child.extends, vm);\n    }\n    if (child.mixins) {\n      for (var i = 0, l = child.mixins.length; i < l; i++) {\n        parent = mergeOptions(parent, child.mixins[i], vm);\n      }\n    }\n  }\n  var options = {};\n  var key;\n  for (key in parent) {\n    mergeField(key);\n  }\n  for (key in child) {\n    if (!hasOwn(parent, key)) {\n      mergeField(key);\n    }\n  }\n  function mergeField(key) {\n    var strat = strats[key] || defaultStrat;\n    options[key] = strat(parent[key], child[key], vm, key);\n  }\n  return options;\n}\n/**\n * Resolve an asset.\n * This function is used because child instances need access\n * to assets defined in its ancestor chain.\n */\nfunction resolveAsset(options, type, id, warnMissing) {\n  /* istanbul ignore if */\n  if (typeof id !== 'string') {\n    return;\n  }\n  var assets = options[type];\n  // check local registration variations first\n  if (hasOwn(assets, id)) return assets[id];\n  var camelizedId = camelize(id);\n  if (hasOwn(assets, camelizedId)) return assets[camelizedId];\n  var PascalCaseId = capitalize(camelizedId);\n  if (hasOwn(assets, PascalCaseId)) return assets[PascalCaseId];\n  // fallback to prototype chain\n  var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n  if ( true && warnMissing && !res) {\n    warn$2('Failed to resolve ' + type.slice(0, -1) + ': ' + id);\n  }\n  return res;\n}\nfunction validateProp(key, propOptions, propsData, vm) {\n  var prop = propOptions[key];\n  var absent = !hasOwn(propsData, key);\n  var value = propsData[key];\n  // boolean casting\n  var booleanIndex = getTypeIndex(Boolean, prop.type);\n  if (booleanIndex > -1) {\n    if (absent && !hasOwn(prop, 'default')) {\n      value = false;\n    } else if (value === '' || value === hyphenate(key)) {\n      // only cast empty string / same name to boolean if\n      // boolean has higher priority\n      var stringIndex = getTypeIndex(String, prop.type);\n      if (stringIndex < 0 || booleanIndex < stringIndex) {\n        value = true;\n      }\n    }\n  }\n  // check default value\n  if (value === undefined) {\n    value = getPropDefaultValue(vm, prop, key);\n    // since the default value is a fresh copy,\n    // make sure to observe it.\n    var prevShouldObserve = shouldObserve;\n    toggleObserving(true);\n    observe(value);\n    toggleObserving(prevShouldObserve);\n  }\n  if (true) {\n    assertProp(prop, key, value, vm, absent);\n  }\n  return value;\n}\n/**\n * Get the default value of a prop.\n */\nfunction getPropDefaultValue(vm, prop, key) {\n  // no default, return undefined\n  if (!hasOwn(prop, 'default')) {\n    return undefined;\n  }\n  var def = prop.default;\n  // warn against non-factory defaults for Object & Array\n  if ( true && isObject(def)) {\n    warn$2('Invalid default value for prop \"' + key + '\": ' + 'Props with type Object/Array must use a factory function ' + 'to return the default value.', vm);\n  }\n  // the raw prop value was also undefined from previous render,\n  // return previous default value to avoid unnecessary watcher trigger\n  if (vm && vm.$options.propsData && vm.$options.propsData[key] === undefined && vm._props[key] !== undefined) {\n    return vm._props[key];\n  }\n  // call factory function for non-Function types\n  // a value is Function if its prototype is function even across different execution context\n  return isFunction(def) && getType(prop.type) !== 'Function' ? def.call(vm) : def;\n}\n/**\n * Assert whether a prop is valid.\n */\nfunction assertProp(prop, name, value, vm, absent) {\n  if (prop.required && absent) {\n    warn$2('Missing required prop: \"' + name + '\"', vm);\n    return;\n  }\n  if (value == null && !prop.required) {\n    return;\n  }\n  var type = prop.type;\n  var valid = !type || type === true;\n  var expectedTypes = [];\n  if (type) {\n    if (!isArray(type)) {\n      type = [type];\n    }\n    for (var i = 0; i < type.length && !valid; i++) {\n      var assertedType = assertType(value, type[i], vm);\n      expectedTypes.push(assertedType.expectedType || '');\n      valid = assertedType.valid;\n    }\n  }\n  var haveExpectedTypes = expectedTypes.some(function (t) {\n    return t;\n  });\n  if (!valid && haveExpectedTypes) {\n    warn$2(getInvalidTypeMessage(name, value, expectedTypes), vm);\n    return;\n  }\n  var validator = prop.validator;\n  if (validator) {\n    if (!validator(value)) {\n      warn$2('Invalid prop: custom validator check failed for prop \"' + name + '\".', vm);\n    }\n  }\n}\nvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol|BigInt)$/;\nfunction assertType(value, type, vm) {\n  var valid;\n  var expectedType = getType(type);\n  if (simpleCheckRE.test(expectedType)) {\n    var t = typeof value;\n    valid = t === expectedType.toLowerCase();\n    // for primitive wrapper objects\n    if (!valid && t === 'object') {\n      valid = value instanceof type;\n    }\n  } else if (expectedType === 'Object') {\n    valid = isPlainObject(value);\n  } else if (expectedType === 'Array') {\n    valid = isArray(value);\n  } else {\n    try {\n      valid = value instanceof type;\n    } catch (e) {\n      warn$2('Invalid prop type: \"' + String(type) + '\" is not a constructor', vm);\n      valid = false;\n    }\n  }\n  return {\n    valid: valid,\n    expectedType: expectedType\n  };\n}\nvar functionTypeCheckRE = /^\\s*function (\\w+)/;\n/**\n * Use function string name to check built-in types,\n * because a simple equality check will fail when running\n * across different vms / iframes.\n */\nfunction getType(fn) {\n  var match = fn && fn.toString().match(functionTypeCheckRE);\n  return match ? match[1] : '';\n}\nfunction isSameType(a, b) {\n  return getType(a) === getType(b);\n}\nfunction getTypeIndex(type, expectedTypes) {\n  if (!isArray(expectedTypes)) {\n    return isSameType(expectedTypes, type) ? 0 : -1;\n  }\n  for (var i = 0, len = expectedTypes.length; i < len; i++) {\n    if (isSameType(expectedTypes[i], type)) {\n      return i;\n    }\n  }\n  return -1;\n}\nfunction getInvalidTypeMessage(name, value, expectedTypes) {\n  var message = \"Invalid prop: type check failed for prop \\\"\".concat(name, \"\\\".\") + \" Expected \".concat(expectedTypes.map(capitalize).join(', '));\n  var expectedType = expectedTypes[0];\n  var receivedType = toRawType(value);\n  // check if we need to specify expected value\n  if (expectedTypes.length === 1 && isExplicable(expectedType) && isExplicable(typeof value) && !isBoolean(expectedType, receivedType)) {\n    message += \" with value \".concat(styleValue(value, expectedType));\n  }\n  message += \", got \".concat(receivedType, \" \");\n  // check if we need to specify received value\n  if (isExplicable(receivedType)) {\n    message += \"with value \".concat(styleValue(value, receivedType), \".\");\n  }\n  return message;\n}\nfunction styleValue(value, type) {\n  if (type === 'String') {\n    return \"\\\"\".concat(value, \"\\\"\");\n  } else if (type === 'Number') {\n    return \"\".concat(Number(value));\n  } else {\n    return \"\".concat(value);\n  }\n}\nvar EXPLICABLE_TYPES = ['string', 'number', 'boolean'];\nfunction isExplicable(value) {\n  return EXPLICABLE_TYPES.some(function (elem) {\n    return value.toLowerCase() === elem;\n  });\n}\nfunction isBoolean() {\n  var args = [];\n  for (var _i = 0; _i < arguments.length; _i++) {\n    args[_i] = arguments[_i];\n  }\n  return args.some(function (elem) {\n    return elem.toLowerCase() === 'boolean';\n  });\n}\nfunction Vue(options) {\n  if ( true && !(this instanceof Vue)) {\n    warn$2('Vue is a constructor and should be called with the `new` keyword');\n  }\n  this._init(options);\n}\n//@ts-expect-error Vue has function type\ninitMixin$1(Vue);\n//@ts-expect-error Vue has function type\nstateMixin(Vue);\n//@ts-expect-error Vue has function type\neventsMixin(Vue);\n//@ts-expect-error Vue has function type\nlifecycleMixin(Vue);\n//@ts-expect-error Vue has function type\nrenderMixin(Vue);\nfunction initUse(Vue) {\n  Vue.use = function (plugin) {\n    var installedPlugins = this._installedPlugins || (this._installedPlugins = []);\n    if (installedPlugins.indexOf(plugin) > -1) {\n      return this;\n    }\n    // additional parameters\n    var args = toArray(arguments, 1);\n    args.unshift(this);\n    if (isFunction(plugin.install)) {\n      plugin.install.apply(plugin, args);\n    } else if (isFunction(plugin)) {\n      plugin.apply(null, args);\n    }\n    installedPlugins.push(plugin);\n    return this;\n  };\n}\nfunction initMixin(Vue) {\n  Vue.mixin = function (mixin) {\n    this.options = mergeOptions(this.options, mixin);\n    return this;\n  };\n}\nfunction initExtend(Vue) {\n  /**\n   * Each instance constructor, including Vue, has a unique\n   * cid. This enables us to create wrapped \"child\n   * constructors\" for prototypal inheritance and cache them.\n   */\n  Vue.cid = 0;\n  var cid = 1;\n  /**\n   * Class inheritance\n   */\n  Vue.extend = function (extendOptions) {\n    extendOptions = extendOptions || {};\n    var Super = this;\n    var SuperId = Super.cid;\n    var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});\n    if (cachedCtors[SuperId]) {\n      return cachedCtors[SuperId];\n    }\n    var name = getComponentName(extendOptions) || getComponentName(Super.options);\n    if ( true && name) {\n      validateComponentName(name);\n    }\n    var Sub = function VueComponent(options) {\n      this._init(options);\n    };\n    Sub.prototype = Object.create(Super.prototype);\n    Sub.prototype.constructor = Sub;\n    Sub.cid = cid++;\n    Sub.options = mergeOptions(Super.options, extendOptions);\n    Sub['super'] = Super;\n    // For props and computed properties, we define the proxy getters on\n    // the Vue instances at extension time, on the extended prototype. This\n    // avoids Object.defineProperty calls for each instance created.\n    if (Sub.options.props) {\n      initProps(Sub);\n    }\n    if (Sub.options.computed) {\n      initComputed(Sub);\n    }\n    // allow further extension/mixin/plugin usage\n    Sub.extend = Super.extend;\n    Sub.mixin = Super.mixin;\n    Sub.use = Super.use;\n    // create asset registers, so extended classes\n    // can have their private assets too.\n    ASSET_TYPES.forEach(function (type) {\n      Sub[type] = Super[type];\n    });\n    // enable recursive self-lookup\n    if (name) {\n      Sub.options.components[name] = Sub;\n    }\n    // keep a reference to the super options at extension time.\n    // later at instantiation we can check if Super's options have\n    // been updated.\n    Sub.superOptions = Super.options;\n    Sub.extendOptions = extendOptions;\n    Sub.sealedOptions = extend({}, Sub.options);\n    // cache constructor\n    cachedCtors[SuperId] = Sub;\n    return Sub;\n  };\n}\nfunction initProps(Comp) {\n  var props = Comp.options.props;\n  for (var key in props) {\n    proxy(Comp.prototype, \"_props\", key);\n  }\n}\nfunction initComputed(Comp) {\n  var computed = Comp.options.computed;\n  for (var key in computed) {\n    defineComputed(Comp.prototype, key, computed[key]);\n  }\n}\nfunction initAssetRegisters(Vue) {\n  /**\n   * Create asset registration methods.\n   */\n  ASSET_TYPES.forEach(function (type) {\n    // @ts-expect-error function is not exact same type\n    Vue[type] = function (id, definition) {\n      if (!definition) {\n        return this.options[type + 's'][id];\n      } else {\n        /* istanbul ignore if */\n        if ( true && type === 'component') {\n          validateComponentName(id);\n        }\n        if (type === 'component' && isPlainObject(definition)) {\n          // @ts-expect-error\n          definition.name = definition.name || id;\n          definition = this.options._base.extend(definition);\n        }\n        if (type === 'directive' && isFunction(definition)) {\n          definition = {\n            bind: definition,\n            update: definition\n          };\n        }\n        this.options[type + 's'][id] = definition;\n        return definition;\n      }\n    };\n  });\n}\nfunction _getComponentName(opts) {\n  return opts && (getComponentName(opts.Ctor.options) || opts.tag);\n}\nfunction matches(pattern, name) {\n  if (isArray(pattern)) {\n    return pattern.indexOf(name) > -1;\n  } else if (typeof pattern === 'string') {\n    return pattern.split(',').indexOf(name) > -1;\n  } else if (isRegExp(pattern)) {\n    return pattern.test(name);\n  }\n  /* istanbul ignore next */\n  return false;\n}\nfunction pruneCache(keepAliveInstance, filter) {\n  var cache = keepAliveInstance.cache,\n    keys = keepAliveInstance.keys,\n    _vnode = keepAliveInstance._vnode;\n  for (var key in cache) {\n    var entry = cache[key];\n    if (entry) {\n      var name_1 = entry.name;\n      if (name_1 && !filter(name_1)) {\n        pruneCacheEntry(cache, key, keys, _vnode);\n      }\n    }\n  }\n}\nfunction pruneCacheEntry(cache, key, keys, current) {\n  var entry = cache[key];\n  if (entry && (!current || entry.tag !== current.tag)) {\n    // @ts-expect-error can be undefined\n    entry.componentInstance.$destroy();\n  }\n  cache[key] = null;\n  remove$2(keys, key);\n}\nvar patternTypes = [String, RegExp, Array];\n// TODO defineComponent\nvar KeepAlive = {\n  name: 'keep-alive',\n  abstract: true,\n  props: {\n    include: patternTypes,\n    exclude: patternTypes,\n    max: [String, Number]\n  },\n  methods: {\n    cacheVNode: function cacheVNode() {\n      var _a = this,\n        cache = _a.cache,\n        keys = _a.keys,\n        vnodeToCache = _a.vnodeToCache,\n        keyToCache = _a.keyToCache;\n      if (vnodeToCache) {\n        var tag = vnodeToCache.tag,\n          componentInstance = vnodeToCache.componentInstance,\n          componentOptions = vnodeToCache.componentOptions;\n        cache[keyToCache] = {\n          name: _getComponentName(componentOptions),\n          tag: tag,\n          componentInstance: componentInstance\n        };\n        keys.push(keyToCache);\n        // prune oldest entry\n        if (this.max && keys.length > parseInt(this.max)) {\n          pruneCacheEntry(cache, keys[0], keys, this._vnode);\n        }\n        this.vnodeToCache = null;\n      }\n    }\n  },\n  created: function created() {\n    this.cache = Object.create(null);\n    this.keys = [];\n  },\n  destroyed: function destroyed() {\n    for (var key in this.cache) {\n      pruneCacheEntry(this.cache, key, this.keys);\n    }\n  },\n  mounted: function mounted() {\n    var _this = this;\n    this.cacheVNode();\n    this.$watch('include', function (val) {\n      pruneCache(_this, function (name) {\n        return matches(val, name);\n      });\n    });\n    this.$watch('exclude', function (val) {\n      pruneCache(_this, function (name) {\n        return !matches(val, name);\n      });\n    });\n  },\n  updated: function updated() {\n    this.cacheVNode();\n  },\n  render: function render() {\n    var slot = this.$slots.default;\n    var vnode = getFirstComponentChild(slot);\n    var componentOptions = vnode && vnode.componentOptions;\n    if (componentOptions) {\n      // check pattern\n      var name_2 = _getComponentName(componentOptions);\n      var _a = this,\n        include = _a.include,\n        exclude = _a.exclude;\n      if (\n      // not included\n      include && (!name_2 || !matches(include, name_2)) ||\n      // excluded\n      exclude && name_2 && matches(exclude, name_2)) {\n        return vnode;\n      }\n      var _b = this,\n        cache = _b.cache,\n        keys = _b.keys;\n      var key = vnode.key == null ?\n      // same constructor may get registered as different local components\n      // so cid alone is not enough (#3269)\n      componentOptions.Ctor.cid + (componentOptions.tag ? \"::\".concat(componentOptions.tag) : '') : vnode.key;\n      if (cache[key]) {\n        vnode.componentInstance = cache[key].componentInstance;\n        // make current key freshest\n        remove$2(keys, key);\n        keys.push(key);\n      } else {\n        // delay setting the cache until update\n        this.vnodeToCache = vnode;\n        this.keyToCache = key;\n      }\n      // @ts-expect-error can vnode.data can be undefined\n      vnode.data.keepAlive = true;\n    }\n    return vnode || slot && slot[0];\n  }\n};\nvar builtInComponents = {\n  KeepAlive: KeepAlive\n};\nfunction initGlobalAPI(Vue) {\n  // config\n  var configDef = {};\n  configDef.get = function () {\n    return config;\n  };\n  if (true) {\n    configDef.set = function () {\n      warn$2('Do not replace the Vue.config object, set individual fields instead.');\n    };\n  }\n  Object.defineProperty(Vue, 'config', configDef);\n  // exposed util methods.\n  // NOTE: these are not considered part of the public API - avoid relying on\n  // them unless you are aware of the risk.\n  Vue.util = {\n    warn: warn$2,\n    extend: extend,\n    mergeOptions: mergeOptions,\n    defineReactive: defineReactive\n  };\n  Vue.set = set;\n  Vue.delete = del;\n  Vue.nextTick = nextTick;\n  // 2.6 explicit observable API\n  Vue.observable = function (obj) {\n    observe(obj);\n    return obj;\n  };\n  Vue.options = Object.create(null);\n  ASSET_TYPES.forEach(function (type) {\n    Vue.options[type + 's'] = Object.create(null);\n  });\n  // this is used to identify the \"base\" constructor to extend all plain-object\n  // components with in Weex's multi-instance scenarios.\n  Vue.options._base = Vue;\n  extend(Vue.options.components, builtInComponents);\n  initUse(Vue);\n  initMixin(Vue);\n  initExtend(Vue);\n  initAssetRegisters(Vue);\n}\ninitGlobalAPI(Vue);\nObject.defineProperty(Vue.prototype, '$isServer', {\n  get: isServerRendering\n});\nObject.defineProperty(Vue.prototype, '$ssrContext', {\n  get: function get() {\n    /* istanbul ignore next */\n    return this.$vnode && this.$vnode.ssrContext;\n  }\n});\n// expose FunctionalRenderContext for ssr runtime helper installation\nObject.defineProperty(Vue, 'FunctionalRenderContext', {\n  value: FunctionalRenderContext\n});\nVue.version = version;\n\n// these are reserved for web because they are directly compiled away\n// during template compilation\nvar isReservedAttr = makeMap('style,class');\n// attributes that should be using props for binding\nvar acceptValue = makeMap('input,textarea,option,select,progress');\nvar mustUseProp = function mustUseProp(tag, type, attr) {\n  return attr === 'value' && acceptValue(tag) && type !== 'button' || attr === 'selected' && tag === 'option' || attr === 'checked' && tag === 'input' || attr === 'muted' && tag === 'video';\n};\nvar isEnumeratedAttr = makeMap('contenteditable,draggable,spellcheck');\nvar isValidContentEditableValue = makeMap('events,caret,typing,plaintext-only');\nvar convertEnumeratedValue = function convertEnumeratedValue(key, value) {\n  return isFalsyAttrValue(value) || value === 'false' ? 'false' :\n  // allow arbitrary string value for contenteditable\n  key === 'contenteditable' && isValidContentEditableValue(value) ? value : 'true';\n};\nvar isBooleanAttr = makeMap('allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,' + 'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' + 'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' + 'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,' + 'required,reversed,scoped,seamless,selected,sortable,' + 'truespeed,typemustmatch,visible');\nvar xlinkNS = 'http://www.w3.org/1999/xlink';\nvar isXlink = function isXlink(name) {\n  return name.charAt(5) === ':' && name.slice(0, 5) === 'xlink';\n};\nvar getXlinkProp = function getXlinkProp(name) {\n  return isXlink(name) ? name.slice(6, name.length) : '';\n};\nvar isFalsyAttrValue = function isFalsyAttrValue(val) {\n  return val == null || val === false;\n};\nfunction genClassForVnode(vnode) {\n  var data = vnode.data;\n  var parentNode = vnode;\n  var childNode = vnode;\n  while (isDef(childNode.componentInstance)) {\n    childNode = childNode.componentInstance._vnode;\n    if (childNode && childNode.data) {\n      data = mergeClassData(childNode.data, data);\n    }\n  }\n  // @ts-expect-error parentNode.parent not VNodeWithData\n  while (isDef(parentNode = parentNode.parent)) {\n    if (parentNode && parentNode.data) {\n      data = mergeClassData(data, parentNode.data);\n    }\n  }\n  return renderClass(data.staticClass, data.class);\n}\nfunction mergeClassData(child, parent) {\n  return {\n    staticClass: concat(child.staticClass, parent.staticClass),\n    class: isDef(child.class) ? [child.class, parent.class] : parent.class\n  };\n}\nfunction renderClass(staticClass, dynamicClass) {\n  if (isDef(staticClass) || isDef(dynamicClass)) {\n    return concat(staticClass, stringifyClass(dynamicClass));\n  }\n  /* istanbul ignore next */\n  return '';\n}\nfunction concat(a, b) {\n  return a ? b ? a + ' ' + b : a : b || '';\n}\nfunction stringifyClass(value) {\n  if (Array.isArray(value)) {\n    return stringifyArray(value);\n  }\n  if (isObject(value)) {\n    return stringifyObject(value);\n  }\n  if (typeof value === 'string') {\n    return value;\n  }\n  /* istanbul ignore next */\n  return '';\n}\nfunction stringifyArray(value) {\n  var res = '';\n  var stringified;\n  for (var i = 0, l = value.length; i < l; i++) {\n    if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {\n      if (res) res += ' ';\n      res += stringified;\n    }\n  }\n  return res;\n}\nfunction stringifyObject(value) {\n  var res = '';\n  for (var key in value) {\n    if (value[key]) {\n      if (res) res += ' ';\n      res += key;\n    }\n  }\n  return res;\n}\nvar namespaceMap = {\n  svg: 'http://www.w3.org/2000/svg',\n  math: 'http://www.w3.org/1998/Math/MathML'\n};\nvar isHTMLTag = makeMap('html,body,base,head,link,meta,style,title,' + 'address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,' + 'div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,' + 'a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,' + 's,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,' + 'embed,object,param,source,canvas,script,noscript,del,ins,' + 'caption,col,colgroup,table,thead,tbody,td,th,tr,' + 'button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,' + 'output,progress,select,textarea,' + 'details,dialog,menu,menuitem,summary,' + 'content,element,shadow,template,blockquote,iframe,tfoot');\n// this map is intentionally selective, only covering SVG elements that may\n// contain child elements.\nvar isSVG = makeMap('svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' + 'foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' + 'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view', true);\nvar isPreTag = function isPreTag(tag) {\n  return tag === 'pre';\n};\nvar isReservedTag = function isReservedTag(tag) {\n  return isHTMLTag(tag) || isSVG(tag);\n};\nfunction getTagNamespace(tag) {\n  if (isSVG(tag)) {\n    return 'svg';\n  }\n  // basic support for MathML\n  // note it doesn't support other MathML elements being component roots\n  if (tag === 'math') {\n    return 'math';\n  }\n}\nvar unknownElementCache = Object.create(null);\nfunction isUnknownElement(tag) {\n  /* istanbul ignore if */\n  if (!inBrowser) {\n    return true;\n  }\n  if (isReservedTag(tag)) {\n    return false;\n  }\n  tag = tag.toLowerCase();\n  /* istanbul ignore if */\n  if (unknownElementCache[tag] != null) {\n    return unknownElementCache[tag];\n  }\n  var el = document.createElement(tag);\n  if (tag.indexOf('-') > -1) {\n    // http://stackoverflow.com/a/28210364/1070244\n    return unknownElementCache[tag] = el.constructor === window.HTMLUnknownElement || el.constructor === window.HTMLElement;\n  } else {\n    return unknownElementCache[tag] = /HTMLUnknownElement/.test(el.toString());\n  }\n}\nvar isTextInputType = makeMap('text,number,password,search,email,tel,url');\n\n/**\n * Query an element selector if it's not an element already.\n */\nfunction query(el) {\n  if (typeof el === 'string') {\n    var selected = document.querySelector(el);\n    if (!selected) {\n       true && warn$2('Cannot find element: ' + el);\n      return document.createElement('div');\n    }\n    return selected;\n  } else {\n    return el;\n  }\n}\nfunction createElement(tagName, vnode) {\n  var elm = document.createElement(tagName);\n  if (tagName !== 'select') {\n    return elm;\n  }\n  // false or null will remove the attribute but undefined will not\n  if (vnode.data && vnode.data.attrs && vnode.data.attrs.multiple !== undefined) {\n    elm.setAttribute('multiple', 'multiple');\n  }\n  return elm;\n}\nfunction createElementNS(namespace, tagName) {\n  return document.createElementNS(namespaceMap[namespace], tagName);\n}\nfunction createTextNode(text) {\n  return document.createTextNode(text);\n}\nfunction createComment(text) {\n  return document.createComment(text);\n}\nfunction insertBefore(parentNode, newNode, referenceNode) {\n  parentNode.insertBefore(newNode, referenceNode);\n}\nfunction removeChild(node, child) {\n  node.removeChild(child);\n}\nfunction appendChild(node, child) {\n  node.appendChild(child);\n}\nfunction parentNode(node) {\n  return node.parentNode;\n}\nfunction nextSibling(node) {\n  return node.nextSibling;\n}\nfunction tagName(node) {\n  return node.tagName;\n}\nfunction setTextContent(node, text) {\n  node.textContent = text;\n}\nfunction setStyleScope(node, scopeId) {\n  node.setAttribute(scopeId, '');\n}\nvar nodeOps = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  createElement: createElement,\n  createElementNS: createElementNS,\n  createTextNode: createTextNode,\n  createComment: createComment,\n  insertBefore: insertBefore,\n  removeChild: removeChild,\n  appendChild: appendChild,\n  parentNode: parentNode,\n  nextSibling: nextSibling,\n  tagName: tagName,\n  setTextContent: setTextContent,\n  setStyleScope: setStyleScope\n});\nvar ref = {\n  create: function create(_, vnode) {\n    registerRef(vnode);\n  },\n  update: function update(oldVnode, vnode) {\n    if (oldVnode.data.ref !== vnode.data.ref) {\n      registerRef(oldVnode, true);\n      registerRef(vnode);\n    }\n  },\n  destroy: function destroy(vnode) {\n    registerRef(vnode, true);\n  }\n};\nfunction registerRef(vnode, isRemoval) {\n  var ref = vnode.data.ref;\n  if (!isDef(ref)) return;\n  var vm = vnode.context;\n  var refValue = vnode.componentInstance || vnode.elm;\n  var value = isRemoval ? null : refValue;\n  var $refsValue = isRemoval ? undefined : refValue;\n  if (isFunction(ref)) {\n    invokeWithErrorHandling(ref, vm, [value], vm, \"template ref function\");\n    return;\n  }\n  var isFor = vnode.data.refInFor;\n  var _isString = typeof ref === 'string' || typeof ref === 'number';\n  var _isRef = isRef(ref);\n  var refs = vm.$refs;\n  if (_isString || _isRef) {\n    if (isFor) {\n      var existing = _isString ? refs[ref] : ref.value;\n      if (isRemoval) {\n        isArray(existing) && remove$2(existing, refValue);\n      } else {\n        if (!isArray(existing)) {\n          if (_isString) {\n            refs[ref] = [refValue];\n            setSetupRef(vm, ref, refs[ref]);\n          } else {\n            ref.value = [refValue];\n          }\n        } else if (!existing.includes(refValue)) {\n          existing.push(refValue);\n        }\n      }\n    } else if (_isString) {\n      if (isRemoval && refs[ref] !== refValue) {\n        return;\n      }\n      refs[ref] = $refsValue;\n      setSetupRef(vm, ref, value);\n    } else if (_isRef) {\n      if (isRemoval && ref.value !== refValue) {\n        return;\n      }\n      ref.value = value;\n    } else if (true) {\n      warn$2(\"Invalid template ref type: \".concat(typeof ref));\n    }\n  }\n}\nfunction setSetupRef(_a, key, val) {\n  var _setupState = _a._setupState;\n  if (_setupState && hasOwn(_setupState, key)) {\n    if (isRef(_setupState[key])) {\n      _setupState[key].value = val;\n    } else {\n      _setupState[key] = val;\n    }\n  }\n}\n\n/**\n * Virtual DOM patching algorithm based on Snabbdom by\n * Simon Friis Vindum (@paldepind)\n * Licensed under the MIT License\n * https://github.com/paldepind/snabbdom/blob/master/LICENSE\n *\n * modified by Evan You (@yyx990803)\n *\n * Not type-checking this because this file is perf-critical and the cost\n * of making flow understand it is not worth it.\n */\nvar emptyNode = new VNode('', {}, []);\nvar hooks = ['create', 'activate', 'update', 'remove', 'destroy'];\nfunction sameVnode(a, b) {\n  return a.key === b.key && a.asyncFactory === b.asyncFactory && (a.tag === b.tag && a.isComment === b.isComment && isDef(a.data) === isDef(b.data) && sameInputType(a, b) || isTrue(a.isAsyncPlaceholder) && isUndef(b.asyncFactory.error));\n}\nfunction sameInputType(a, b) {\n  if (a.tag !== 'input') return true;\n  var i;\n  var typeA = isDef(i = a.data) && isDef(i = i.attrs) && i.type;\n  var typeB = isDef(i = b.data) && isDef(i = i.attrs) && i.type;\n  return typeA === typeB || isTextInputType(typeA) && isTextInputType(typeB);\n}\nfunction createKeyToOldIdx(children, beginIdx, endIdx) {\n  var i, key;\n  var map = {};\n  for (i = beginIdx; i <= endIdx; ++i) {\n    key = children[i].key;\n    if (isDef(key)) map[key] = i;\n  }\n  return map;\n}\nfunction createPatchFunction(backend) {\n  var i, j;\n  var cbs = {};\n  var modules = backend.modules,\n    nodeOps = backend.nodeOps;\n  for (i = 0; i < hooks.length; ++i) {\n    cbs[hooks[i]] = [];\n    for (j = 0; j < modules.length; ++j) {\n      if (isDef(modules[j][hooks[i]])) {\n        cbs[hooks[i]].push(modules[j][hooks[i]]);\n      }\n    }\n  }\n  function emptyNodeAt(elm) {\n    return new VNode(nodeOps.tagName(elm).toLowerCase(), {}, [], undefined, elm);\n  }\n  function createRmCb(childElm, listeners) {\n    function remove() {\n      if (--remove.listeners === 0) {\n        removeNode(childElm);\n      }\n    }\n    remove.listeners = listeners;\n    return remove;\n  }\n  function removeNode(el) {\n    var parent = nodeOps.parentNode(el);\n    // element may have already been removed due to v-html / v-text\n    if (isDef(parent)) {\n      nodeOps.removeChild(parent, el);\n    }\n  }\n  function isUnknownElement(vnode, inVPre) {\n    return !inVPre && !vnode.ns && !(config.ignoredElements.length && config.ignoredElements.some(function (ignore) {\n      return isRegExp(ignore) ? ignore.test(vnode.tag) : ignore === vnode.tag;\n    })) && config.isUnknownElement(vnode.tag);\n  }\n  var creatingElmInVPre = 0;\n  function createElm(vnode, insertedVnodeQueue, parentElm, refElm, nested, ownerArray, index) {\n    if (isDef(vnode.elm) && isDef(ownerArray)) {\n      // This vnode was used in a previous render!\n      // now it's used as a new node, overwriting its elm would cause\n      // potential patch errors down the road when it's used as an insertion\n      // reference node. Instead, we clone the node on-demand before creating\n      // associated DOM element for it.\n      vnode = ownerArray[index] = cloneVNode(vnode);\n    }\n    vnode.isRootInsert = !nested; // for transition enter check\n    if (createComponent(vnode, insertedVnodeQueue, parentElm, refElm)) {\n      return;\n    }\n    var data = vnode.data;\n    var children = vnode.children;\n    var tag = vnode.tag;\n    if (isDef(tag)) {\n      if (true) {\n        if (data && data.pre) {\n          creatingElmInVPre++;\n        }\n        if (isUnknownElement(vnode, creatingElmInVPre)) {\n          warn$2('Unknown custom element: <' + tag + '> - did you ' + 'register the component correctly? For recursive components, ' + 'make sure to provide the \"name\" option.', vnode.context);\n        }\n      }\n      vnode.elm = vnode.ns ? nodeOps.createElementNS(vnode.ns, tag) : nodeOps.createElement(tag, vnode);\n      setScope(vnode);\n      createChildren(vnode, children, insertedVnodeQueue);\n      if (isDef(data)) {\n        invokeCreateHooks(vnode, insertedVnodeQueue);\n      }\n      insert(parentElm, vnode.elm, refElm);\n      if ( true && data && data.pre) {\n        creatingElmInVPre--;\n      }\n    } else if (isTrue(vnode.isComment)) {\n      vnode.elm = nodeOps.createComment(vnode.text);\n      insert(parentElm, vnode.elm, refElm);\n    } else {\n      vnode.elm = nodeOps.createTextNode(vnode.text);\n      insert(parentElm, vnode.elm, refElm);\n    }\n  }\n  function createComponent(vnode, insertedVnodeQueue, parentElm, refElm) {\n    var i = vnode.data;\n    if (isDef(i)) {\n      var isReactivated = isDef(vnode.componentInstance) && i.keepAlive;\n      if (isDef(i = i.hook) && isDef(i = i.init)) {\n        i(vnode, false /* hydrating */);\n      }\n      // after calling the init hook, if the vnode is a child component\n      // it should've created a child instance and mounted it. the child\n      // component also has set the placeholder vnode's elm.\n      // in that case we can just return the element and be done.\n      if (isDef(vnode.componentInstance)) {\n        initComponent(vnode, insertedVnodeQueue);\n        insert(parentElm, vnode.elm, refElm);\n        if (isTrue(isReactivated)) {\n          reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm);\n        }\n        return true;\n      }\n    }\n  }\n  function initComponent(vnode, insertedVnodeQueue) {\n    if (isDef(vnode.data.pendingInsert)) {\n      insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert);\n      vnode.data.pendingInsert = null;\n    }\n    vnode.elm = vnode.componentInstance.$el;\n    if (isPatchable(vnode)) {\n      invokeCreateHooks(vnode, insertedVnodeQueue);\n      setScope(vnode);\n    } else {\n      // empty component root.\n      // skip all element-related modules except for ref (#3455)\n      registerRef(vnode);\n      // make sure to invoke the insert hook\n      insertedVnodeQueue.push(vnode);\n    }\n  }\n  function reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm) {\n    var i;\n    // hack for #4339: a reactivated component with inner transition\n    // does not trigger because the inner node's created hooks are not called\n    // again. It's not ideal to involve module-specific logic in here but\n    // there doesn't seem to be a better way to do it.\n    var innerNode = vnode;\n    while (innerNode.componentInstance) {\n      innerNode = innerNode.componentInstance._vnode;\n      if (isDef(i = innerNode.data) && isDef(i = i.transition)) {\n        for (i = 0; i < cbs.activate.length; ++i) {\n          cbs.activate[i](emptyNode, innerNode);\n        }\n        insertedVnodeQueue.push(innerNode);\n        break;\n      }\n    }\n    // unlike a newly created component,\n    // a reactivated keep-alive component doesn't insert itself\n    insert(parentElm, vnode.elm, refElm);\n  }\n  function insert(parent, elm, ref) {\n    if (isDef(parent)) {\n      if (isDef(ref)) {\n        if (nodeOps.parentNode(ref) === parent) {\n          nodeOps.insertBefore(parent, elm, ref);\n        }\n      } else {\n        nodeOps.appendChild(parent, elm);\n      }\n    }\n  }\n  function createChildren(vnode, children, insertedVnodeQueue) {\n    if (isArray(children)) {\n      if (true) {\n        checkDuplicateKeys(children);\n      }\n      for (var i_1 = 0; i_1 < children.length; ++i_1) {\n        createElm(children[i_1], insertedVnodeQueue, vnode.elm, null, true, children, i_1);\n      }\n    } else if (isPrimitive(vnode.text)) {\n      nodeOps.appendChild(vnode.elm, nodeOps.createTextNode(String(vnode.text)));\n    }\n  }\n  function isPatchable(vnode) {\n    while (vnode.componentInstance) {\n      vnode = vnode.componentInstance._vnode;\n    }\n    return isDef(vnode.tag);\n  }\n  function invokeCreateHooks(vnode, insertedVnodeQueue) {\n    for (var i_2 = 0; i_2 < cbs.create.length; ++i_2) {\n      cbs.create[i_2](emptyNode, vnode);\n    }\n    i = vnode.data.hook; // Reuse variable\n    if (isDef(i)) {\n      if (isDef(i.create)) i.create(emptyNode, vnode);\n      if (isDef(i.insert)) insertedVnodeQueue.push(vnode);\n    }\n  }\n  // set scope id attribute for scoped CSS.\n  // this is implemented as a special case to avoid the overhead\n  // of going through the normal attribute patching process.\n  function setScope(vnode) {\n    var i;\n    if (isDef(i = vnode.fnScopeId)) {\n      nodeOps.setStyleScope(vnode.elm, i);\n    } else {\n      var ancestor = vnode;\n      while (ancestor) {\n        if (isDef(i = ancestor.context) && isDef(i = i.$options._scopeId)) {\n          nodeOps.setStyleScope(vnode.elm, i);\n        }\n        ancestor = ancestor.parent;\n      }\n    }\n    // for slot content they should also get the scopeId from the host instance.\n    if (isDef(i = activeInstance) && i !== vnode.context && i !== vnode.fnContext && isDef(i = i.$options._scopeId)) {\n      nodeOps.setStyleScope(vnode.elm, i);\n    }\n  }\n  function addVnodes(parentElm, refElm, vnodes, startIdx, endIdx, insertedVnodeQueue) {\n    for (; startIdx <= endIdx; ++startIdx) {\n      createElm(vnodes[startIdx], insertedVnodeQueue, parentElm, refElm, false, vnodes, startIdx);\n    }\n  }\n  function invokeDestroyHook(vnode) {\n    var i, j;\n    var data = vnode.data;\n    if (isDef(data)) {\n      if (isDef(i = data.hook) && isDef(i = i.destroy)) i(vnode);\n      for (i = 0; i < cbs.destroy.length; ++i) cbs.destroy[i](vnode);\n    }\n    if (isDef(i = vnode.children)) {\n      for (j = 0; j < vnode.children.length; ++j) {\n        invokeDestroyHook(vnode.children[j]);\n      }\n    }\n  }\n  function removeVnodes(vnodes, startIdx, endIdx) {\n    for (; startIdx <= endIdx; ++startIdx) {\n      var ch = vnodes[startIdx];\n      if (isDef(ch)) {\n        if (isDef(ch.tag)) {\n          removeAndInvokeRemoveHook(ch);\n          invokeDestroyHook(ch);\n        } else {\n          // Text node\n          removeNode(ch.elm);\n        }\n      }\n    }\n  }\n  function removeAndInvokeRemoveHook(vnode, rm) {\n    if (isDef(rm) || isDef(vnode.data)) {\n      var i_3;\n      var listeners = cbs.remove.length + 1;\n      if (isDef(rm)) {\n        // we have a recursively passed down rm callback\n        // increase the listeners count\n        rm.listeners += listeners;\n      } else {\n        // directly removing\n        rm = createRmCb(vnode.elm, listeners);\n      }\n      // recursively invoke hooks on child component root node\n      if (isDef(i_3 = vnode.componentInstance) && isDef(i_3 = i_3._vnode) && isDef(i_3.data)) {\n        removeAndInvokeRemoveHook(i_3, rm);\n      }\n      for (i_3 = 0; i_3 < cbs.remove.length; ++i_3) {\n        cbs.remove[i_3](vnode, rm);\n      }\n      if (isDef(i_3 = vnode.data.hook) && isDef(i_3 = i_3.remove)) {\n        i_3(vnode, rm);\n      } else {\n        rm();\n      }\n    } else {\n      removeNode(vnode.elm);\n    }\n  }\n  function updateChildren(parentElm, oldCh, newCh, insertedVnodeQueue, removeOnly) {\n    var oldStartIdx = 0;\n    var newStartIdx = 0;\n    var oldEndIdx = oldCh.length - 1;\n    var oldStartVnode = oldCh[0];\n    var oldEndVnode = oldCh[oldEndIdx];\n    var newEndIdx = newCh.length - 1;\n    var newStartVnode = newCh[0];\n    var newEndVnode = newCh[newEndIdx];\n    var oldKeyToIdx, idxInOld, vnodeToMove, refElm;\n    // removeOnly is a special flag used only by <transition-group>\n    // to ensure removed elements stay in correct relative positions\n    // during leaving transitions\n    var canMove = !removeOnly;\n    if (true) {\n      checkDuplicateKeys(newCh);\n    }\n    while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {\n      if (isUndef(oldStartVnode)) {\n        oldStartVnode = oldCh[++oldStartIdx]; // Vnode has been moved left\n      } else if (isUndef(oldEndVnode)) {\n        oldEndVnode = oldCh[--oldEndIdx];\n      } else if (sameVnode(oldStartVnode, newStartVnode)) {\n        patchVnode(oldStartVnode, newStartVnode, insertedVnodeQueue, newCh, newStartIdx);\n        oldStartVnode = oldCh[++oldStartIdx];\n        newStartVnode = newCh[++newStartIdx];\n      } else if (sameVnode(oldEndVnode, newEndVnode)) {\n        patchVnode(oldEndVnode, newEndVnode, insertedVnodeQueue, newCh, newEndIdx);\n        oldEndVnode = oldCh[--oldEndIdx];\n        newEndVnode = newCh[--newEndIdx];\n      } else if (sameVnode(oldStartVnode, newEndVnode)) {\n        // Vnode moved right\n        patchVnode(oldStartVnode, newEndVnode, insertedVnodeQueue, newCh, newEndIdx);\n        canMove && nodeOps.insertBefore(parentElm, oldStartVnode.elm, nodeOps.nextSibling(oldEndVnode.elm));\n        oldStartVnode = oldCh[++oldStartIdx];\n        newEndVnode = newCh[--newEndIdx];\n      } else if (sameVnode(oldEndVnode, newStartVnode)) {\n        // Vnode moved left\n        patchVnode(oldEndVnode, newStartVnode, insertedVnodeQueue, newCh, newStartIdx);\n        canMove && nodeOps.insertBefore(parentElm, oldEndVnode.elm, oldStartVnode.elm);\n        oldEndVnode = oldCh[--oldEndIdx];\n        newStartVnode = newCh[++newStartIdx];\n      } else {\n        if (isUndef(oldKeyToIdx)) oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx);\n        idxInOld = isDef(newStartVnode.key) ? oldKeyToIdx[newStartVnode.key] : findIdxInOld(newStartVnode, oldCh, oldStartIdx, oldEndIdx);\n        if (isUndef(idxInOld)) {\n          // New element\n          createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx);\n        } else {\n          vnodeToMove = oldCh[idxInOld];\n          if (sameVnode(vnodeToMove, newStartVnode)) {\n            patchVnode(vnodeToMove, newStartVnode, insertedVnodeQueue, newCh, newStartIdx);\n            oldCh[idxInOld] = undefined;\n            canMove && nodeOps.insertBefore(parentElm, vnodeToMove.elm, oldStartVnode.elm);\n          } else {\n            // same key but different element. treat as new element\n            createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm, false, newCh, newStartIdx);\n          }\n        }\n        newStartVnode = newCh[++newStartIdx];\n      }\n    }\n    if (oldStartIdx > oldEndIdx) {\n      refElm = isUndef(newCh[newEndIdx + 1]) ? null : newCh[newEndIdx + 1].elm;\n      addVnodes(parentElm, refElm, newCh, newStartIdx, newEndIdx, insertedVnodeQueue);\n    } else if (newStartIdx > newEndIdx) {\n      removeVnodes(oldCh, oldStartIdx, oldEndIdx);\n    }\n  }\n  function checkDuplicateKeys(children) {\n    var seenKeys = {};\n    for (var i_4 = 0; i_4 < children.length; i_4++) {\n      var vnode = children[i_4];\n      var key = vnode.key;\n      if (isDef(key)) {\n        if (seenKeys[key]) {\n          warn$2(\"Duplicate keys detected: '\".concat(key, \"'. This may cause an update error.\"), vnode.context);\n        } else {\n          seenKeys[key] = true;\n        }\n      }\n    }\n  }\n  function findIdxInOld(node, oldCh, start, end) {\n    for (var i_5 = start; i_5 < end; i_5++) {\n      var c = oldCh[i_5];\n      if (isDef(c) && sameVnode(node, c)) return i_5;\n    }\n  }\n  function patchVnode(oldVnode, vnode, insertedVnodeQueue, ownerArray, index, removeOnly) {\n    if (oldVnode === vnode) {\n      return;\n    }\n    if (isDef(vnode.elm) && isDef(ownerArray)) {\n      // clone reused vnode\n      vnode = ownerArray[index] = cloneVNode(vnode);\n    }\n    var elm = vnode.elm = oldVnode.elm;\n    if (isTrue(oldVnode.isAsyncPlaceholder)) {\n      if (isDef(vnode.asyncFactory.resolved)) {\n        hydrate(oldVnode.elm, vnode, insertedVnodeQueue);\n      } else {\n        vnode.isAsyncPlaceholder = true;\n      }\n      return;\n    }\n    // reuse element for static trees.\n    // note we only do this if the vnode is cloned -\n    // if the new node is not cloned it means the render functions have been\n    // reset by the hot-reload-api and we need to do a proper re-render.\n    if (isTrue(vnode.isStatic) && isTrue(oldVnode.isStatic) && vnode.key === oldVnode.key && (isTrue(vnode.isCloned) || isTrue(vnode.isOnce))) {\n      vnode.componentInstance = oldVnode.componentInstance;\n      return;\n    }\n    var i;\n    var data = vnode.data;\n    if (isDef(data) && isDef(i = data.hook) && isDef(i = i.prepatch)) {\n      i(oldVnode, vnode);\n    }\n    var oldCh = oldVnode.children;\n    var ch = vnode.children;\n    if (isDef(data) && isPatchable(vnode)) {\n      for (i = 0; i < cbs.update.length; ++i) cbs.update[i](oldVnode, vnode);\n      if (isDef(i = data.hook) && isDef(i = i.update)) i(oldVnode, vnode);\n    }\n    if (isUndef(vnode.text)) {\n      if (isDef(oldCh) && isDef(ch)) {\n        if (oldCh !== ch) updateChildren(elm, oldCh, ch, insertedVnodeQueue, removeOnly);\n      } else if (isDef(ch)) {\n        if (true) {\n          checkDuplicateKeys(ch);\n        }\n        if (isDef(oldVnode.text)) nodeOps.setTextContent(elm, '');\n        addVnodes(elm, null, ch, 0, ch.length - 1, insertedVnodeQueue);\n      } else if (isDef(oldCh)) {\n        removeVnodes(oldCh, 0, oldCh.length - 1);\n      } else if (isDef(oldVnode.text)) {\n        nodeOps.setTextContent(elm, '');\n      }\n    } else if (oldVnode.text !== vnode.text) {\n      nodeOps.setTextContent(elm, vnode.text);\n    }\n    if (isDef(data)) {\n      if (isDef(i = data.hook) && isDef(i = i.postpatch)) i(oldVnode, vnode);\n    }\n  }\n  function invokeInsertHook(vnode, queue, initial) {\n    // delay insert hooks for component root nodes, invoke them after the\n    // element is really inserted\n    if (isTrue(initial) && isDef(vnode.parent)) {\n      vnode.parent.data.pendingInsert = queue;\n    } else {\n      for (var i_6 = 0; i_6 < queue.length; ++i_6) {\n        queue[i_6].data.hook.insert(queue[i_6]);\n      }\n    }\n  }\n  var hydrationBailed = false;\n  // list of modules that can skip create hook during hydration because they\n  // are already rendered on the client or has no need for initialization\n  // Note: style is excluded because it relies on initial clone for future\n  // deep updates (#7063).\n  var isRenderedModule = makeMap('attrs,class,staticClass,staticStyle,key');\n  // Note: this is a browser-only function so we can assume elms are DOM nodes.\n  function hydrate(elm, vnode, insertedVnodeQueue, inVPre) {\n    var i;\n    var tag = vnode.tag,\n      data = vnode.data,\n      children = vnode.children;\n    inVPre = inVPre || data && data.pre;\n    vnode.elm = elm;\n    if (isTrue(vnode.isComment) && isDef(vnode.asyncFactory)) {\n      vnode.isAsyncPlaceholder = true;\n      return true;\n    }\n    // assert node match\n    if (true) {\n      if (!assertNodeMatch(elm, vnode, inVPre)) {\n        return false;\n      }\n    }\n    if (isDef(data)) {\n      if (isDef(i = data.hook) && isDef(i = i.init)) i(vnode, true /* hydrating */);\n      if (isDef(i = vnode.componentInstance)) {\n        // child component. it should have hydrated its own tree.\n        initComponent(vnode, insertedVnodeQueue);\n        return true;\n      }\n    }\n    if (isDef(tag)) {\n      if (isDef(children)) {\n        // empty element, allow client to pick up and populate children\n        if (!elm.hasChildNodes()) {\n          createChildren(vnode, children, insertedVnodeQueue);\n        } else {\n          // v-html and domProps: innerHTML\n          if (isDef(i = data) && isDef(i = i.domProps) && isDef(i = i.innerHTML)) {\n            if (i !== elm.innerHTML) {\n              /* istanbul ignore if */\n              if ( true && typeof console !== 'undefined' && !hydrationBailed) {\n                hydrationBailed = true;\n                console.warn('Parent: ', elm);\n                console.warn('server innerHTML: ', i);\n                console.warn('client innerHTML: ', elm.innerHTML);\n              }\n              return false;\n            }\n          } else {\n            // iterate and compare children lists\n            var childrenMatch = true;\n            var childNode = elm.firstChild;\n            for (var i_7 = 0; i_7 < children.length; i_7++) {\n              if (!childNode || !hydrate(childNode, children[i_7], insertedVnodeQueue, inVPre)) {\n                childrenMatch = false;\n                break;\n              }\n              childNode = childNode.nextSibling;\n            }\n            // if childNode is not null, it means the actual childNodes list is\n            // longer than the virtual children list.\n            if (!childrenMatch || childNode) {\n              /* istanbul ignore if */\n              if ( true && typeof console !== 'undefined' && !hydrationBailed) {\n                hydrationBailed = true;\n                console.warn('Parent: ', elm);\n                console.warn('Mismatching childNodes vs. VNodes: ', elm.childNodes, children);\n              }\n              return false;\n            }\n          }\n        }\n      }\n      if (isDef(data)) {\n        var fullInvoke = false;\n        for (var key in data) {\n          if (!isRenderedModule(key)) {\n            fullInvoke = true;\n            invokeCreateHooks(vnode, insertedVnodeQueue);\n            break;\n          }\n        }\n        if (!fullInvoke && data['class']) {\n          // ensure collecting deps for deep class bindings for future updates\n          traverse(data['class']);\n        }\n      }\n    } else if (elm.data !== vnode.text) {\n      elm.data = vnode.text;\n    }\n    return true;\n  }\n  function assertNodeMatch(node, vnode, inVPre) {\n    if (isDef(vnode.tag)) {\n      return vnode.tag.indexOf('vue-component') === 0 || !isUnknownElement(vnode, inVPre) && vnode.tag.toLowerCase() === (node.tagName && node.tagName.toLowerCase());\n    } else {\n      return node.nodeType === (vnode.isComment ? 8 : 3);\n    }\n  }\n  return function patch(oldVnode, vnode, hydrating, removeOnly) {\n    if (isUndef(vnode)) {\n      if (isDef(oldVnode)) invokeDestroyHook(oldVnode);\n      return;\n    }\n    var isInitialPatch = false;\n    var insertedVnodeQueue = [];\n    if (isUndef(oldVnode)) {\n      // empty mount (likely as component), create new root element\n      isInitialPatch = true;\n      createElm(vnode, insertedVnodeQueue);\n    } else {\n      var isRealElement = isDef(oldVnode.nodeType);\n      if (!isRealElement && sameVnode(oldVnode, vnode)) {\n        // patch existing root node\n        patchVnode(oldVnode, vnode, insertedVnodeQueue, null, null, removeOnly);\n      } else {\n        if (isRealElement) {\n          // mounting to a real element\n          // check if this is server-rendered content and if we can perform\n          // a successful hydration.\n          if (oldVnode.nodeType === 1 && oldVnode.hasAttribute(SSR_ATTR)) {\n            oldVnode.removeAttribute(SSR_ATTR);\n            hydrating = true;\n          }\n          if (isTrue(hydrating)) {\n            if (hydrate(oldVnode, vnode, insertedVnodeQueue)) {\n              invokeInsertHook(vnode, insertedVnodeQueue, true);\n              return oldVnode;\n            } else if (true) {\n              warn$2('The client-side rendered virtual DOM tree is not matching ' + 'server-rendered content. This is likely caused by incorrect ' + 'HTML markup, for example nesting block-level elements inside ' + '<p>, or missing <tbody>. Bailing hydration and performing ' + 'full client-side render.');\n            }\n          }\n          // either not server-rendered, or hydration failed.\n          // create an empty node and replace it\n          oldVnode = emptyNodeAt(oldVnode);\n        }\n        // replacing existing element\n        var oldElm = oldVnode.elm;\n        var parentElm = nodeOps.parentNode(oldElm);\n        // create new node\n        createElm(vnode, insertedVnodeQueue,\n        // extremely rare edge case: do not insert if old element is in a\n        // leaving transition. Only happens when combining transition +\n        // keep-alive + HOCs. (#4590)\n        oldElm._leaveCb ? null : parentElm, nodeOps.nextSibling(oldElm));\n        // update parent placeholder node element, recursively\n        if (isDef(vnode.parent)) {\n          var ancestor = vnode.parent;\n          var patchable = isPatchable(vnode);\n          while (ancestor) {\n            for (var i_8 = 0; i_8 < cbs.destroy.length; ++i_8) {\n              cbs.destroy[i_8](ancestor);\n            }\n            ancestor.elm = vnode.elm;\n            if (patchable) {\n              for (var i_9 = 0; i_9 < cbs.create.length; ++i_9) {\n                cbs.create[i_9](emptyNode, ancestor);\n              }\n              // #6513\n              // invoke insert hooks that may have been merged by create hooks.\n              // e.g. for directives that uses the \"inserted\" hook.\n              var insert_1 = ancestor.data.hook.insert;\n              if (insert_1.merged) {\n                // start at index 1 to avoid re-invoking component mounted hook\n                for (var i_10 = 1; i_10 < insert_1.fns.length; i_10++) {\n                  insert_1.fns[i_10]();\n                }\n              }\n            } else {\n              registerRef(ancestor);\n            }\n            ancestor = ancestor.parent;\n          }\n        }\n        // destroy old node\n        if (isDef(parentElm)) {\n          removeVnodes([oldVnode], 0, 0);\n        } else if (isDef(oldVnode.tag)) {\n          invokeDestroyHook(oldVnode);\n        }\n      }\n    }\n    invokeInsertHook(vnode, insertedVnodeQueue, isInitialPatch);\n    return vnode.elm;\n  };\n}\nvar directives$1 = {\n  create: updateDirectives,\n  update: updateDirectives,\n  destroy: function unbindDirectives(vnode) {\n    // @ts-expect-error emptyNode is not VNodeWithData\n    updateDirectives(vnode, emptyNode);\n  }\n};\nfunction updateDirectives(oldVnode, vnode) {\n  if (oldVnode.data.directives || vnode.data.directives) {\n    _update(oldVnode, vnode);\n  }\n}\nfunction _update(oldVnode, vnode) {\n  var isCreate = oldVnode === emptyNode;\n  var isDestroy = vnode === emptyNode;\n  var oldDirs = normalizeDirectives(oldVnode.data.directives, oldVnode.context);\n  var newDirs = normalizeDirectives(vnode.data.directives, vnode.context);\n  var dirsWithInsert = [];\n  var dirsWithPostpatch = [];\n  var key, oldDir, dir;\n  for (key in newDirs) {\n    oldDir = oldDirs[key];\n    dir = newDirs[key];\n    if (!oldDir) {\n      // new directive, bind\n      callHook(dir, 'bind', vnode, oldVnode);\n      if (dir.def && dir.def.inserted) {\n        dirsWithInsert.push(dir);\n      }\n    } else {\n      // existing directive, update\n      dir.oldValue = oldDir.value;\n      dir.oldArg = oldDir.arg;\n      callHook(dir, 'update', vnode, oldVnode);\n      if (dir.def && dir.def.componentUpdated) {\n        dirsWithPostpatch.push(dir);\n      }\n    }\n  }\n  if (dirsWithInsert.length) {\n    var callInsert = function callInsert() {\n      for (var i = 0; i < dirsWithInsert.length; i++) {\n        callHook(dirsWithInsert[i], 'inserted', vnode, oldVnode);\n      }\n    };\n    if (isCreate) {\n      mergeVNodeHook(vnode, 'insert', callInsert);\n    } else {\n      callInsert();\n    }\n  }\n  if (dirsWithPostpatch.length) {\n    mergeVNodeHook(vnode, 'postpatch', function () {\n      for (var i = 0; i < dirsWithPostpatch.length; i++) {\n        callHook(dirsWithPostpatch[i], 'componentUpdated', vnode, oldVnode);\n      }\n    });\n  }\n  if (!isCreate) {\n    for (key in oldDirs) {\n      if (!newDirs[key]) {\n        // no longer present, unbind\n        callHook(oldDirs[key], 'unbind', oldVnode, oldVnode, isDestroy);\n      }\n    }\n  }\n}\nvar emptyModifiers = Object.create(null);\nfunction normalizeDirectives(dirs, vm) {\n  var res = Object.create(null);\n  if (!dirs) {\n    // $flow-disable-line\n    return res;\n  }\n  var i, dir;\n  for (i = 0; i < dirs.length; i++) {\n    dir = dirs[i];\n    if (!dir.modifiers) {\n      // $flow-disable-line\n      dir.modifiers = emptyModifiers;\n    }\n    res[getRawDirName(dir)] = dir;\n    if (vm._setupState && vm._setupState.__sfc) {\n      var setupDef = dir.def || resolveAsset(vm, '_setupState', 'v-' + dir.name);\n      if (typeof setupDef === 'function') {\n        dir.def = {\n          bind: setupDef,\n          update: setupDef\n        };\n      } else {\n        dir.def = setupDef;\n      }\n    }\n    dir.def = dir.def || resolveAsset(vm.$options, 'directives', dir.name, true);\n  }\n  // $flow-disable-line\n  return res;\n}\nfunction getRawDirName(dir) {\n  return dir.rawName || \"\".concat(dir.name, \".\").concat(Object.keys(dir.modifiers || {}).join('.'));\n}\nfunction callHook(dir, hook, vnode, oldVnode, isDestroy) {\n  var fn = dir.def && dir.def[hook];\n  if (fn) {\n    try {\n      fn(vnode.elm, dir, vnode, oldVnode, isDestroy);\n    } catch (e) {\n      handleError(e, vnode.context, \"directive \".concat(dir.name, \" \").concat(hook, \" hook\"));\n    }\n  }\n}\nvar baseModules = [ref, directives$1];\nfunction updateAttrs(oldVnode, vnode) {\n  var opts = vnode.componentOptions;\n  if (isDef(opts) && opts.Ctor.options.inheritAttrs === false) {\n    return;\n  }\n  if (isUndef(oldVnode.data.attrs) && isUndef(vnode.data.attrs)) {\n    return;\n  }\n  var key, cur, old;\n  var elm = vnode.elm;\n  var oldAttrs = oldVnode.data.attrs || {};\n  var attrs = vnode.data.attrs || {};\n  // clone observed objects, as the user probably wants to mutate it\n  if (isDef(attrs.__ob__) || isTrue(attrs._v_attr_proxy)) {\n    attrs = vnode.data.attrs = extend({}, attrs);\n  }\n  for (key in attrs) {\n    cur = attrs[key];\n    old = oldAttrs[key];\n    if (old !== cur) {\n      setAttr(elm, key, cur, vnode.data.pre);\n    }\n  }\n  // #4391: in IE9, setting type can reset value for input[type=radio]\n  // #6666: IE/Edge forces progress value down to 1 before setting a max\n  /* istanbul ignore if */\n  if ((isIE || isEdge) && attrs.value !== oldAttrs.value) {\n    setAttr(elm, 'value', attrs.value);\n  }\n  for (key in oldAttrs) {\n    if (isUndef(attrs[key])) {\n      if (isXlink(key)) {\n        elm.removeAttributeNS(xlinkNS, getXlinkProp(key));\n      } else if (!isEnumeratedAttr(key)) {\n        elm.removeAttribute(key);\n      }\n    }\n  }\n}\nfunction setAttr(el, key, value, isInPre) {\n  if (isInPre || el.tagName.indexOf('-') > -1) {\n    baseSetAttr(el, key, value);\n  } else if (isBooleanAttr(key)) {\n    // set attribute for blank value\n    // e.g. <option disabled>Select one</option>\n    if (isFalsyAttrValue(value)) {\n      el.removeAttribute(key);\n    } else {\n      // technically allowfullscreen is a boolean attribute for <iframe>,\n      // but Flash expects a value of \"true\" when used on <embed> tag\n      value = key === 'allowfullscreen' && el.tagName === 'EMBED' ? 'true' : key;\n      el.setAttribute(key, value);\n    }\n  } else if (isEnumeratedAttr(key)) {\n    el.setAttribute(key, convertEnumeratedValue(key, value));\n  } else if (isXlink(key)) {\n    if (isFalsyAttrValue(value)) {\n      el.removeAttributeNS(xlinkNS, getXlinkProp(key));\n    } else {\n      el.setAttributeNS(xlinkNS, key, value);\n    }\n  } else {\n    baseSetAttr(el, key, value);\n  }\n}\nfunction baseSetAttr(el, key, value) {\n  if (isFalsyAttrValue(value)) {\n    el.removeAttribute(key);\n  } else {\n    // #7138: IE10 & 11 fires input event when setting placeholder on\n    // <textarea>... block the first input event and remove the blocker\n    // immediately.\n    /* istanbul ignore if */\n    if (isIE && !isIE9 && el.tagName === 'TEXTAREA' && key === 'placeholder' && value !== '' && !el.__ieph) {\n      var blocker_1 = function blocker_1(e) {\n        e.stopImmediatePropagation();\n        el.removeEventListener('input', blocker_1);\n      };\n      el.addEventListener('input', blocker_1);\n      // $flow-disable-line\n      el.__ieph = true; /* IE placeholder patched */\n    }\n\n    el.setAttribute(key, value);\n  }\n}\nvar attrs = {\n  create: updateAttrs,\n  update: updateAttrs\n};\nfunction updateClass(oldVnode, vnode) {\n  var el = vnode.elm;\n  var data = vnode.data;\n  var oldData = oldVnode.data;\n  if (isUndef(data.staticClass) && isUndef(data.class) && (isUndef(oldData) || isUndef(oldData.staticClass) && isUndef(oldData.class))) {\n    return;\n  }\n  var cls = genClassForVnode(vnode);\n  // handle transition classes\n  var transitionClass = el._transitionClasses;\n  if (isDef(transitionClass)) {\n    cls = concat(cls, stringifyClass(transitionClass));\n  }\n  // set the class\n  if (cls !== el._prevClass) {\n    el.setAttribute('class', cls);\n    el._prevClass = cls;\n  }\n}\nvar klass$1 = {\n  create: updateClass,\n  update: updateClass\n};\nvar validDivisionCharRE = /[\\w).+\\-_$\\]]/;\nfunction parseFilters(exp) {\n  var inSingle = false;\n  var inDouble = false;\n  var inTemplateString = false;\n  var inRegex = false;\n  var curly = 0;\n  var square = 0;\n  var paren = 0;\n  var lastFilterIndex = 0;\n  var c, prev, i, expression, filters;\n  for (i = 0; i < exp.length; i++) {\n    prev = c;\n    c = exp.charCodeAt(i);\n    if (inSingle) {\n      if (c === 0x27 && prev !== 0x5c) inSingle = false;\n    } else if (inDouble) {\n      if (c === 0x22 && prev !== 0x5c) inDouble = false;\n    } else if (inTemplateString) {\n      if (c === 0x60 && prev !== 0x5c) inTemplateString = false;\n    } else if (inRegex) {\n      if (c === 0x2f && prev !== 0x5c) inRegex = false;\n    } else if (c === 0x7c &&\n    // pipe\n    exp.charCodeAt(i + 1) !== 0x7c && exp.charCodeAt(i - 1) !== 0x7c && !curly && !square && !paren) {\n      if (expression === undefined) {\n        // first filter, end of expression\n        lastFilterIndex = i + 1;\n        expression = exp.slice(0, i).trim();\n      } else {\n        pushFilter();\n      }\n    } else {\n      switch (c) {\n        case 0x22:\n          inDouble = true;\n          break;\n        // \"\n        case 0x27:\n          inSingle = true;\n          break;\n        // '\n        case 0x60:\n          inTemplateString = true;\n          break;\n        // `\n        case 0x28:\n          paren++;\n          break;\n        // (\n        case 0x29:\n          paren--;\n          break;\n        // )\n        case 0x5b:\n          square++;\n          break;\n        // [\n        case 0x5d:\n          square--;\n          break;\n        // ]\n        case 0x7b:\n          curly++;\n          break;\n        // {\n        case 0x7d:\n          curly--;\n          break;\n        // }\n      }\n\n      if (c === 0x2f) {\n        // /\n        var j = i - 1;\n        var p\n        // find first non-whitespace prev char\n        = void 0;\n        // find first non-whitespace prev char\n        for (; j >= 0; j--) {\n          p = exp.charAt(j);\n          if (p !== ' ') break;\n        }\n        if (!p || !validDivisionCharRE.test(p)) {\n          inRegex = true;\n        }\n      }\n    }\n  }\n  if (expression === undefined) {\n    expression = exp.slice(0, i).trim();\n  } else if (lastFilterIndex !== 0) {\n    pushFilter();\n  }\n  function pushFilter() {\n    (filters || (filters = [])).push(exp.slice(lastFilterIndex, i).trim());\n    lastFilterIndex = i + 1;\n  }\n  if (filters) {\n    for (i = 0; i < filters.length; i++) {\n      expression = wrapFilter(expression, filters[i]);\n    }\n  }\n  return expression;\n}\nfunction wrapFilter(exp, filter) {\n  var i = filter.indexOf('(');\n  if (i < 0) {\n    // _f: resolveFilter\n    return \"_f(\\\"\".concat(filter, \"\\\")(\").concat(exp, \")\");\n  } else {\n    var name_1 = filter.slice(0, i);\n    var args = filter.slice(i + 1);\n    return \"_f(\\\"\".concat(name_1, \"\\\")(\").concat(exp).concat(args !== ')' ? ',' + args : args);\n  }\n}\n\n/* eslint-disable no-unused-vars */\nfunction baseWarn(msg, range) {\n  console.error(\"[Vue compiler]: \".concat(msg));\n}\n/* eslint-enable no-unused-vars */\nfunction pluckModuleFunction(modules, key) {\n  return modules ? modules.map(function (m) {\n    return m[key];\n  }).filter(function (_) {\n    return _;\n  }) : [];\n}\nfunction addProp(el, name, value, range, dynamic) {\n  (el.props || (el.props = [])).push(rangeSetItem({\n    name: name,\n    value: value,\n    dynamic: dynamic\n  }, range));\n  el.plain = false;\n}\nfunction addAttr(el, name, value, range, dynamic) {\n  var attrs = dynamic ? el.dynamicAttrs || (el.dynamicAttrs = []) : el.attrs || (el.attrs = []);\n  attrs.push(rangeSetItem({\n    name: name,\n    value: value,\n    dynamic: dynamic\n  }, range));\n  el.plain = false;\n}\n// add a raw attr (use this in preTransforms)\nfunction addRawAttr(el, name, value, range) {\n  el.attrsMap[name] = value;\n  el.attrsList.push(rangeSetItem({\n    name: name,\n    value: value\n  }, range));\n}\nfunction addDirective(el, name, rawName, value, arg, isDynamicArg, modifiers, range) {\n  (el.directives || (el.directives = [])).push(rangeSetItem({\n    name: name,\n    rawName: rawName,\n    value: value,\n    arg: arg,\n    isDynamicArg: isDynamicArg,\n    modifiers: modifiers\n  }, range));\n  el.plain = false;\n}\nfunction prependModifierMarker(symbol, name, dynamic) {\n  return dynamic ? \"_p(\".concat(name, \",\\\"\").concat(symbol, \"\\\")\") : symbol + name; // mark the event as captured\n}\n\nfunction addHandler(el, name, value, modifiers, important, warn, range, dynamic) {\n  modifiers = modifiers || emptyObject;\n  // warn prevent and passive modifier\n  /* istanbul ignore if */\n  if ( true && warn && modifiers.prevent && modifiers.passive) {\n    warn(\"passive and prevent can't be used together. \" + \"Passive handler can't prevent default event.\", range);\n  }\n  // normalize click.right and click.middle since they don't actually fire\n  // this is technically browser-specific, but at least for now browsers are\n  // the only target envs that have right/middle clicks.\n  if (modifiers.right) {\n    if (dynamic) {\n      name = \"(\".concat(name, \")==='click'?'contextmenu':(\").concat(name, \")\");\n    } else if (name === 'click') {\n      name = 'contextmenu';\n      delete modifiers.right;\n    }\n  } else if (modifiers.middle) {\n    if (dynamic) {\n      name = \"(\".concat(name, \")==='click'?'mouseup':(\").concat(name, \")\");\n    } else if (name === 'click') {\n      name = 'mouseup';\n    }\n  }\n  // check capture modifier\n  if (modifiers.capture) {\n    delete modifiers.capture;\n    name = prependModifierMarker('!', name, dynamic);\n  }\n  if (modifiers.once) {\n    delete modifiers.once;\n    name = prependModifierMarker('~', name, dynamic);\n  }\n  /* istanbul ignore if */\n  if (modifiers.passive) {\n    delete modifiers.passive;\n    name = prependModifierMarker('&', name, dynamic);\n  }\n  var events;\n  if (modifiers.native) {\n    delete modifiers.native;\n    events = el.nativeEvents || (el.nativeEvents = {});\n  } else {\n    events = el.events || (el.events = {});\n  }\n  var newHandler = rangeSetItem({\n    value: value.trim(),\n    dynamic: dynamic\n  }, range);\n  if (modifiers !== emptyObject) {\n    newHandler.modifiers = modifiers;\n  }\n  var handlers = events[name];\n  /* istanbul ignore if */\n  if (Array.isArray(handlers)) {\n    important ? handlers.unshift(newHandler) : handlers.push(newHandler);\n  } else if (handlers) {\n    events[name] = important ? [newHandler, handlers] : [handlers, newHandler];\n  } else {\n    events[name] = newHandler;\n  }\n  el.plain = false;\n}\nfunction getRawBindingAttr(el, name) {\n  return el.rawAttrsMap[':' + name] || el.rawAttrsMap['v-bind:' + name] || el.rawAttrsMap[name];\n}\nfunction getBindingAttr(el, name, getStatic) {\n  var dynamicValue = getAndRemoveAttr(el, ':' + name) || getAndRemoveAttr(el, 'v-bind:' + name);\n  if (dynamicValue != null) {\n    return parseFilters(dynamicValue);\n  } else if (getStatic !== false) {\n    var staticValue = getAndRemoveAttr(el, name);\n    if (staticValue != null) {\n      return JSON.stringify(staticValue);\n    }\n  }\n}\n// note: this only removes the attr from the Array (attrsList) so that it\n// doesn't get processed by processAttrs.\n// By default it does NOT remove it from the map (attrsMap) because the map is\n// needed during codegen.\nfunction getAndRemoveAttr(el, name, removeFromMap) {\n  var val;\n  if ((val = el.attrsMap[name]) != null) {\n    var list = el.attrsList;\n    for (var i = 0, l = list.length; i < l; i++) {\n      if (list[i].name === name) {\n        list.splice(i, 1);\n        break;\n      }\n    }\n  }\n  if (removeFromMap) {\n    delete el.attrsMap[name];\n  }\n  return val;\n}\nfunction getAndRemoveAttrByRegex(el, name) {\n  var list = el.attrsList;\n  for (var i = 0, l = list.length; i < l; i++) {\n    var attr = list[i];\n    if (name.test(attr.name)) {\n      list.splice(i, 1);\n      return attr;\n    }\n  }\n}\nfunction rangeSetItem(item, range) {\n  if (range) {\n    if (range.start != null) {\n      item.start = range.start;\n    }\n    if (range.end != null) {\n      item.end = range.end;\n    }\n  }\n  return item;\n}\n\n/**\n * Cross-platform code generation for component v-model\n */\nfunction genComponentModel(el, value, modifiers) {\n  var _a = modifiers || {},\n    number = _a.number,\n    trim = _a.trim;\n  var baseValueExpression = '$$v';\n  var valueExpression = baseValueExpression;\n  if (trim) {\n    valueExpression = \"(typeof \".concat(baseValueExpression, \" === 'string'\") + \"? \".concat(baseValueExpression, \".trim()\") + \": \".concat(baseValueExpression, \")\");\n  }\n  if (number) {\n    valueExpression = \"_n(\".concat(valueExpression, \")\");\n  }\n  var assignment = genAssignmentCode(value, valueExpression);\n  el.model = {\n    value: \"(\".concat(value, \")\"),\n    expression: JSON.stringify(value),\n    callback: \"function (\".concat(baseValueExpression, \") {\").concat(assignment, \"}\")\n  };\n}\n/**\n * Cross-platform codegen helper for generating v-model value assignment code.\n */\nfunction genAssignmentCode(value, assignment) {\n  var res = parseModel(value);\n  if (res.key === null) {\n    return \"\".concat(value, \"=\").concat(assignment);\n  } else {\n    return \"$set(\".concat(res.exp, \", \").concat(res.key, \", \").concat(assignment, \")\");\n  }\n}\n/**\n * Parse a v-model expression into a base path and a final key segment.\n * Handles both dot-path and possible square brackets.\n *\n * Possible cases:\n *\n * - test\n * - test[key]\n * - test[test1[key]]\n * - test[\"a\"][key]\n * - xxx.test[a[a].test1[key]]\n * - test.xxx.a[\"asa\"][test1[key]]\n *\n */\nvar len, str, chr, index, expressionPos, expressionEndPos;\nfunction parseModel(val) {\n  // Fix https://github.com/vuejs/vue/pull/7730\n  // allow v-model=\"obj.val \" (trailing whitespace)\n  val = val.trim();\n  len = val.length;\n  if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) {\n    index = val.lastIndexOf('.');\n    if (index > -1) {\n      return {\n        exp: val.slice(0, index),\n        key: '\"' + val.slice(index + 1) + '\"'\n      };\n    } else {\n      return {\n        exp: val,\n        key: null\n      };\n    }\n  }\n  str = val;\n  index = expressionPos = expressionEndPos = 0;\n  while (!eof()) {\n    chr = next();\n    /* istanbul ignore if */\n    if (isStringStart(chr)) {\n      parseString(chr);\n    } else if (chr === 0x5b) {\n      parseBracket(chr);\n    }\n  }\n  return {\n    exp: val.slice(0, expressionPos),\n    key: val.slice(expressionPos + 1, expressionEndPos)\n  };\n}\nfunction next() {\n  return str.charCodeAt(++index);\n}\nfunction eof() {\n  return index >= len;\n}\nfunction isStringStart(chr) {\n  return chr === 0x22 || chr === 0x27;\n}\nfunction parseBracket(chr) {\n  var inBracket = 1;\n  expressionPos = index;\n  while (!eof()) {\n    chr = next();\n    if (isStringStart(chr)) {\n      parseString(chr);\n      continue;\n    }\n    if (chr === 0x5b) inBracket++;\n    if (chr === 0x5d) inBracket--;\n    if (inBracket === 0) {\n      expressionEndPos = index;\n      break;\n    }\n  }\n}\nfunction parseString(chr) {\n  var stringQuote = chr;\n  while (!eof()) {\n    chr = next();\n    if (chr === stringQuote) {\n      break;\n    }\n  }\n}\nvar warn$1;\n// in some cases, the event used has to be determined at runtime\n// so we used some reserved tokens during compile.\nvar RANGE_TOKEN = '__r';\nvar CHECKBOX_RADIO_TOKEN = '__c';\nfunction model$1(el, dir, _warn) {\n  warn$1 = _warn;\n  var value = dir.value;\n  var modifiers = dir.modifiers;\n  var tag = el.tag;\n  var type = el.attrsMap.type;\n  if (true) {\n    // inputs with type=\"file\" are read only and setting the input's\n    // value will throw an error.\n    if (tag === 'input' && type === 'file') {\n      warn$1(\"<\".concat(el.tag, \" v-model=\\\"\").concat(value, \"\\\" type=\\\"file\\\">:\\n\") + \"File inputs are read only. Use a v-on:change listener instead.\", el.rawAttrsMap['v-model']);\n    }\n  }\n  if (el.component) {\n    genComponentModel(el, value, modifiers);\n    // component v-model doesn't need extra runtime\n    return false;\n  } else if (tag === 'select') {\n    genSelect(el, value, modifiers);\n  } else if (tag === 'input' && type === 'checkbox') {\n    genCheckboxModel(el, value, modifiers);\n  } else if (tag === 'input' && type === 'radio') {\n    genRadioModel(el, value, modifiers);\n  } else if (tag === 'input' || tag === 'textarea') {\n    genDefaultModel(el, value, modifiers);\n  } else if (!config.isReservedTag(tag)) {\n    genComponentModel(el, value, modifiers);\n    // component v-model doesn't need extra runtime\n    return false;\n  } else if (true) {\n    warn$1(\"<\".concat(el.tag, \" v-model=\\\"\").concat(value, \"\\\">: \") + \"v-model is not supported on this element type. \" + \"If you are working with contenteditable, it's recommended to \" + 'wrap a library dedicated for that purpose inside a custom component.', el.rawAttrsMap['v-model']);\n  }\n  // ensure runtime directive metadata\n  return true;\n}\nfunction genCheckboxModel(el, value, modifiers) {\n  var number = modifiers && modifiers.number;\n  var valueBinding = getBindingAttr(el, 'value') || 'null';\n  var trueValueBinding = getBindingAttr(el, 'true-value') || 'true';\n  var falseValueBinding = getBindingAttr(el, 'false-value') || 'false';\n  addProp(el, 'checked', \"Array.isArray(\".concat(value, \")\") + \"?_i(\".concat(value, \",\").concat(valueBinding, \")>-1\") + (trueValueBinding === 'true' ? \":(\".concat(value, \")\") : \":_q(\".concat(value, \",\").concat(trueValueBinding, \")\")));\n  addHandler(el, 'change', \"var $$a=\".concat(value, \",\") + '$$el=$event.target,' + \"$$c=$$el.checked?(\".concat(trueValueBinding, \"):(\").concat(falseValueBinding, \");\") + 'if(Array.isArray($$a)){' + \"var $$v=\".concat(number ? '_n(' + valueBinding + ')' : valueBinding, \",\") + '$$i=_i($$a,$$v);' + \"if($$el.checked){$$i<0&&(\".concat(genAssignmentCode(value, '$$a.concat([$$v])'), \")}\") + \"else{$$i>-1&&(\".concat(genAssignmentCode(value, '$$a.slice(0,$$i).concat($$a.slice($$i+1))'), \")}\") + \"}else{\".concat(genAssignmentCode(value, '$$c'), \"}\"), null, true);\n}\nfunction genRadioModel(el, value, modifiers) {\n  var number = modifiers && modifiers.number;\n  var valueBinding = getBindingAttr(el, 'value') || 'null';\n  valueBinding = number ? \"_n(\".concat(valueBinding, \")\") : valueBinding;\n  addProp(el, 'checked', \"_q(\".concat(value, \",\").concat(valueBinding, \")\"));\n  addHandler(el, 'change', genAssignmentCode(value, valueBinding), null, true);\n}\nfunction genSelect(el, value, modifiers) {\n  var number = modifiers && modifiers.number;\n  var selectedVal = \"Array.prototype.filter\" + \".call($event.target.options,function(o){return o.selected})\" + \".map(function(o){var val = \\\"_value\\\" in o ? o._value : o.value;\" + \"return \".concat(number ? '_n(val)' : 'val', \"})\");\n  var assignment = '$event.target.multiple ? $$selectedVal : $$selectedVal[0]';\n  var code = \"var $$selectedVal = \".concat(selectedVal, \";\");\n  code = \"\".concat(code, \" \").concat(genAssignmentCode(value, assignment));\n  addHandler(el, 'change', code, null, true);\n}\nfunction genDefaultModel(el, value, modifiers) {\n  var type = el.attrsMap.type;\n  // warn if v-bind:value conflicts with v-model\n  // except for inputs with v-bind:type\n  if (true) {\n    var value_1 = el.attrsMap['v-bind:value'] || el.attrsMap[':value'];\n    var typeBinding = el.attrsMap['v-bind:type'] || el.attrsMap[':type'];\n    if (value_1 && !typeBinding) {\n      var binding = el.attrsMap['v-bind:value'] ? 'v-bind:value' : ':value';\n      warn$1(\"\".concat(binding, \"=\\\"\").concat(value_1, \"\\\" conflicts with v-model on the same element \") + 'because the latter already expands to a value binding internally', el.rawAttrsMap[binding]);\n    }\n  }\n  var _a = modifiers || {},\n    lazy = _a.lazy,\n    number = _a.number,\n    trim = _a.trim;\n  var needCompositionGuard = !lazy && type !== 'range';\n  var event = lazy ? 'change' : type === 'range' ? RANGE_TOKEN : 'input';\n  var valueExpression = '$event.target.value';\n  if (trim) {\n    valueExpression = \"$event.target.value.trim()\";\n  }\n  if (number) {\n    valueExpression = \"_n(\".concat(valueExpression, \")\");\n  }\n  var code = genAssignmentCode(value, valueExpression);\n  if (needCompositionGuard) {\n    code = \"if($event.target.composing)return;\".concat(code);\n  }\n  addProp(el, 'value', \"(\".concat(value, \")\"));\n  addHandler(el, event, code, null, true);\n  if (trim || number) {\n    addHandler(el, 'blur', '$forceUpdate()');\n  }\n}\n\n// normalize v-model event tokens that can only be determined at runtime.\n// it's important to place the event as the first in the array because\n// the whole point is ensuring the v-model callback gets called before\n// user-attached handlers.\nfunction normalizeEvents(on) {\n  /* istanbul ignore if */\n  if (isDef(on[RANGE_TOKEN])) {\n    // IE input[type=range] only supports `change` event\n    var event_1 = isIE ? 'change' : 'input';\n    on[event_1] = [].concat(on[RANGE_TOKEN], on[event_1] || []);\n    delete on[RANGE_TOKEN];\n  }\n  // This was originally intended to fix #4521 but no longer necessary\n  // after 2.5. Keeping it for backwards compat with generated code from < 2.4\n  /* istanbul ignore if */\n  if (isDef(on[CHECKBOX_RADIO_TOKEN])) {\n    on.change = [].concat(on[CHECKBOX_RADIO_TOKEN], on.change || []);\n    delete on[CHECKBOX_RADIO_TOKEN];\n  }\n}\nvar target;\nfunction createOnceHandler(event, handler, capture) {\n  var _target = target; // save current target element in closure\n  return function onceHandler() {\n    var res = handler.apply(null, arguments);\n    if (res !== null) {\n      remove(event, onceHandler, capture, _target);\n    }\n  };\n}\n// #9446: Firefox <= 53 (in particular, ESR 52) has incorrect Event.timeStamp\n// implementation and does not fire microtasks in between event propagation, so\n// safe to exclude.\nvar useMicrotaskFix = isUsingMicroTask && !(isFF && Number(isFF[1]) <= 53);\nfunction add(name, handler, capture, passive) {\n  // async edge case #6566: inner click event triggers patch, event handler\n  // attached to outer element during patch, and triggered again. This\n  // happens because browsers fire microtask ticks between event propagation.\n  // the solution is simple: we save the timestamp when a handler is attached,\n  // and the handler would only fire if the event passed to it was fired\n  // AFTER it was attached.\n  if (useMicrotaskFix) {\n    var attachedTimestamp_1 = currentFlushTimestamp;\n    var original_1 = handler;\n    //@ts-expect-error\n    handler = original_1._wrapper = function (e) {\n      if (\n      // no bubbling, should always fire.\n      // this is just a safety net in case event.timeStamp is unreliable in\n      // certain weird environments...\n      e.target === e.currentTarget ||\n      // event is fired after handler attachment\n      e.timeStamp >= attachedTimestamp_1 ||\n      // bail for environments that have buggy event.timeStamp implementations\n      // #9462 iOS 9 bug: event.timeStamp is 0 after history.pushState\n      // #9681 QtWebEngine event.timeStamp is negative value\n      e.timeStamp <= 0 ||\n      // #9448 bail if event is fired in another document in a multi-page\n      // electron/nw.js app, since event.timeStamp will be using a different\n      // starting reference\n      e.target.ownerDocument !== document) {\n        return original_1.apply(this, arguments);\n      }\n    };\n  }\n  target.addEventListener(name, handler, supportsPassive ? {\n    capture: capture,\n    passive: passive\n  } : capture);\n}\nfunction remove(name, handler, capture, _target) {\n  (_target || target).removeEventListener(name,\n  //@ts-expect-error\n  handler._wrapper || handler, capture);\n}\nfunction updateDOMListeners(oldVnode, vnode) {\n  if (isUndef(oldVnode.data.on) && isUndef(vnode.data.on)) {\n    return;\n  }\n  var on = vnode.data.on || {};\n  var oldOn = oldVnode.data.on || {};\n  // vnode is empty when removing all listeners,\n  // and use old vnode dom element\n  target = vnode.elm || oldVnode.elm;\n  normalizeEvents(on);\n  updateListeners(on, oldOn, add, remove, createOnceHandler, vnode.context);\n  target = undefined;\n}\nvar events = {\n  create: updateDOMListeners,\n  update: updateDOMListeners,\n  // @ts-expect-error emptyNode has actually data\n  destroy: function destroy(vnode) {\n    return updateDOMListeners(vnode, emptyNode);\n  }\n};\nvar svgContainer;\nfunction updateDOMProps(oldVnode, vnode) {\n  if (isUndef(oldVnode.data.domProps) && isUndef(vnode.data.domProps)) {\n    return;\n  }\n  var key, cur;\n  var elm = vnode.elm;\n  var oldProps = oldVnode.data.domProps || {};\n  var props = vnode.data.domProps || {};\n  // clone observed objects, as the user probably wants to mutate it\n  if (isDef(props.__ob__) || isTrue(props._v_attr_proxy)) {\n    props = vnode.data.domProps = extend({}, props);\n  }\n  for (key in oldProps) {\n    if (!(key in props)) {\n      elm[key] = '';\n    }\n  }\n  for (key in props) {\n    cur = props[key];\n    // ignore children if the node has textContent or innerHTML,\n    // as these will throw away existing DOM nodes and cause removal errors\n    // on subsequent patches (#3360)\n    if (key === 'textContent' || key === 'innerHTML') {\n      if (vnode.children) vnode.children.length = 0;\n      if (cur === oldProps[key]) continue;\n      // #6601 work around Chrome version <= 55 bug where single textNode\n      // replaced by innerHTML/textContent retains its parentNode property\n      if (elm.childNodes.length === 1) {\n        elm.removeChild(elm.childNodes[0]);\n      }\n    }\n    if (key === 'value' && elm.tagName !== 'PROGRESS') {\n      // store value as _value as well since\n      // non-string values will be stringified\n      elm._value = cur;\n      // avoid resetting cursor position when value is the same\n      var strCur = isUndef(cur) ? '' : String(cur);\n      if (shouldUpdateValue(elm, strCur)) {\n        elm.value = strCur;\n      }\n    } else if (key === 'innerHTML' && isSVG(elm.tagName) && isUndef(elm.innerHTML)) {\n      // IE doesn't support innerHTML for SVG elements\n      svgContainer = svgContainer || document.createElement('div');\n      svgContainer.innerHTML = \"<svg>\".concat(cur, \"</svg>\");\n      var svg = svgContainer.firstChild;\n      while (elm.firstChild) {\n        elm.removeChild(elm.firstChild);\n      }\n      while (svg.firstChild) {\n        elm.appendChild(svg.firstChild);\n      }\n    } else if (\n    // skip the update if old and new VDOM state is the same.\n    // `value` is handled separately because the DOM value may be temporarily\n    // out of sync with VDOM state due to focus, composition and modifiers.\n    // This  #4521 by skipping the unnecessary `checked` update.\n    cur !== oldProps[key]) {\n      // some property updates can throw\n      // e.g. `value` on <progress> w/ non-finite value\n      try {\n        elm[key] = cur;\n      } catch (e) {}\n    }\n  }\n}\nfunction shouldUpdateValue(elm, checkVal) {\n  return (\n    //@ts-expect-error\n    !elm.composing && (elm.tagName === 'OPTION' || isNotInFocusAndDirty(elm, checkVal) || isDirtyWithModifiers(elm, checkVal))\n  );\n}\nfunction isNotInFocusAndDirty(elm, checkVal) {\n  // return true when textbox (.number and .trim) loses focus and its value is\n  // not equal to the updated value\n  var notInFocus = true;\n  // #6157\n  // work around IE bug when accessing document.activeElement in an iframe\n  try {\n    notInFocus = document.activeElement !== elm;\n  } catch (e) {}\n  return notInFocus && elm.value !== checkVal;\n}\nfunction isDirtyWithModifiers(elm, newVal) {\n  var value = elm.value;\n  var modifiers = elm._vModifiers; // injected by v-model runtime\n  if (isDef(modifiers)) {\n    if (modifiers.number) {\n      return toNumber(value) !== toNumber(newVal);\n    }\n    if (modifiers.trim) {\n      return value.trim() !== newVal.trim();\n    }\n  }\n  return value !== newVal;\n}\nvar domProps = {\n  create: updateDOMProps,\n  update: updateDOMProps\n};\nvar parseStyleText = cached(function (cssText) {\n  var res = {};\n  var listDelimiter = /;(?![^(]*\\))/g;\n  var propertyDelimiter = /:(.+)/;\n  cssText.split(listDelimiter).forEach(function (item) {\n    if (item) {\n      var tmp = item.split(propertyDelimiter);\n      tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());\n    }\n  });\n  return res;\n});\n// merge static and dynamic style data on the same vnode\nfunction normalizeStyleData(data) {\n  var style = normalizeStyleBinding(data.style);\n  // static style is pre-processed into an object during compilation\n  // and is always a fresh object, so it's safe to merge into it\n  return data.staticStyle ? extend(data.staticStyle, style) : style;\n}\n// normalize possible array / string values into Object\nfunction normalizeStyleBinding(bindingStyle) {\n  if (Array.isArray(bindingStyle)) {\n    return toObject(bindingStyle);\n  }\n  if (typeof bindingStyle === 'string') {\n    return parseStyleText(bindingStyle);\n  }\n  return bindingStyle;\n}\n/**\n * parent component style should be after child's\n * so that parent component's style could override it\n */\nfunction getStyle(vnode, checkChild) {\n  var res = {};\n  var styleData;\n  if (checkChild) {\n    var childNode = vnode;\n    while (childNode.componentInstance) {\n      childNode = childNode.componentInstance._vnode;\n      if (childNode && childNode.data && (styleData = normalizeStyleData(childNode.data))) {\n        extend(res, styleData);\n      }\n    }\n  }\n  if (styleData = normalizeStyleData(vnode.data)) {\n    extend(res, styleData);\n  }\n  var parentNode = vnode;\n  // @ts-expect-error parentNode.parent not VNodeWithData\n  while (parentNode = parentNode.parent) {\n    if (parentNode.data && (styleData = normalizeStyleData(parentNode.data))) {\n      extend(res, styleData);\n    }\n  }\n  return res;\n}\nvar cssVarRE = /^--/;\nvar importantRE = /\\s*!important$/;\nvar setProp = function setProp(el, name, val) {\n  /* istanbul ignore if */\n  if (cssVarRE.test(name)) {\n    el.style.setProperty(name, val);\n  } else if (importantRE.test(val)) {\n    el.style.setProperty(hyphenate(name), val.replace(importantRE, ''), 'important');\n  } else {\n    var normalizedName = normalize(name);\n    if (Array.isArray(val)) {\n      // Support values array created by autoprefixer, e.g.\n      // {display: [\"-webkit-box\", \"-ms-flexbox\", \"flex\"]}\n      // Set them one by one, and the browser will only set those it can recognize\n      for (var i = 0, len = val.length; i < len; i++) {\n        el.style[normalizedName] = val[i];\n      }\n    } else {\n      el.style[normalizedName] = val;\n    }\n  }\n};\nvar vendorNames = ['Webkit', 'Moz', 'ms'];\nvar emptyStyle;\nvar normalize = cached(function (prop) {\n  emptyStyle = emptyStyle || document.createElement('div').style;\n  prop = camelize(prop);\n  if (prop !== 'filter' && prop in emptyStyle) {\n    return prop;\n  }\n  var capName = prop.charAt(0).toUpperCase() + prop.slice(1);\n  for (var i = 0; i < vendorNames.length; i++) {\n    var name_1 = vendorNames[i] + capName;\n    if (name_1 in emptyStyle) {\n      return name_1;\n    }\n  }\n});\nfunction updateStyle(oldVnode, vnode) {\n  var data = vnode.data;\n  var oldData = oldVnode.data;\n  if (isUndef(data.staticStyle) && isUndef(data.style) && isUndef(oldData.staticStyle) && isUndef(oldData.style)) {\n    return;\n  }\n  var cur, name;\n  var el = vnode.elm;\n  var oldStaticStyle = oldData.staticStyle;\n  var oldStyleBinding = oldData.normalizedStyle || oldData.style || {};\n  // if static style exists, stylebinding already merged into it when doing normalizeStyleData\n  var oldStyle = oldStaticStyle || oldStyleBinding;\n  var style = normalizeStyleBinding(vnode.data.style) || {};\n  // store normalized style under a different key for next diff\n  // make sure to clone it if it's reactive, since the user likely wants\n  // to mutate it.\n  vnode.data.normalizedStyle = isDef(style.__ob__) ? extend({}, style) : style;\n  var newStyle = getStyle(vnode, true);\n  for (name in oldStyle) {\n    if (isUndef(newStyle[name])) {\n      setProp(el, name, '');\n    }\n  }\n  for (name in newStyle) {\n    cur = newStyle[name];\n    if (cur !== oldStyle[name]) {\n      // ie9 setting to null has no effect, must use empty string\n      setProp(el, name, cur == null ? '' : cur);\n    }\n  }\n}\nvar style$1 = {\n  create: updateStyle,\n  update: updateStyle\n};\nvar whitespaceRE$1 = /\\s+/;\n/**\n * Add class with compatibility for SVG since classList is not supported on\n * SVG elements in IE\n */\nfunction addClass(el, cls) {\n  /* istanbul ignore if */\n  if (!cls || !(cls = cls.trim())) {\n    return;\n  }\n  /* istanbul ignore else */\n  if (el.classList) {\n    if (cls.indexOf(' ') > -1) {\n      cls.split(whitespaceRE$1).forEach(function (c) {\n        return el.classList.add(c);\n      });\n    } else {\n      el.classList.add(cls);\n    }\n  } else {\n    var cur = \" \".concat(el.getAttribute('class') || '', \" \");\n    if (cur.indexOf(' ' + cls + ' ') < 0) {\n      el.setAttribute('class', (cur + cls).trim());\n    }\n  }\n}\n/**\n * Remove class with compatibility for SVG since classList is not supported on\n * SVG elements in IE\n */\nfunction removeClass(el, cls) {\n  /* istanbul ignore if */\n  if (!cls || !(cls = cls.trim())) {\n    return;\n  }\n  /* istanbul ignore else */\n  if (el.classList) {\n    if (cls.indexOf(' ') > -1) {\n      cls.split(whitespaceRE$1).forEach(function (c) {\n        return el.classList.remove(c);\n      });\n    } else {\n      el.classList.remove(cls);\n    }\n    if (!el.classList.length) {\n      el.removeAttribute('class');\n    }\n  } else {\n    var cur = \" \".concat(el.getAttribute('class') || '', \" \");\n    var tar = ' ' + cls + ' ';\n    while (cur.indexOf(tar) >= 0) {\n      cur = cur.replace(tar, ' ');\n    }\n    cur = cur.trim();\n    if (cur) {\n      el.setAttribute('class', cur);\n    } else {\n      el.removeAttribute('class');\n    }\n  }\n}\nfunction resolveTransition(def) {\n  if (!def) {\n    return;\n  }\n  /* istanbul ignore else */\n  if (typeof def === 'object') {\n    var res = {};\n    if (def.css !== false) {\n      extend(res, autoCssTransition(def.name || 'v'));\n    }\n    extend(res, def);\n    return res;\n  } else if (typeof def === 'string') {\n    return autoCssTransition(def);\n  }\n}\nvar autoCssTransition = cached(function (name) {\n  return {\n    enterClass: \"\".concat(name, \"-enter\"),\n    enterToClass: \"\".concat(name, \"-enter-to\"),\n    enterActiveClass: \"\".concat(name, \"-enter-active\"),\n    leaveClass: \"\".concat(name, \"-leave\"),\n    leaveToClass: \"\".concat(name, \"-leave-to\"),\n    leaveActiveClass: \"\".concat(name, \"-leave-active\")\n  };\n});\nvar hasTransition = inBrowser && !isIE9;\nvar TRANSITION = 'transition';\nvar ANIMATION = 'animation';\n// Transition property/event sniffing\nvar transitionProp = 'transition';\nvar transitionEndEvent = 'transitionend';\nvar animationProp = 'animation';\nvar animationEndEvent = 'animationend';\nif (hasTransition) {\n  /* istanbul ignore if */\n  if (window.ontransitionend === undefined && window.onwebkittransitionend !== undefined) {\n    transitionProp = 'WebkitTransition';\n    transitionEndEvent = 'webkitTransitionEnd';\n  }\n  if (window.onanimationend === undefined && window.onwebkitanimationend !== undefined) {\n    animationProp = 'WebkitAnimation';\n    animationEndEvent = 'webkitAnimationEnd';\n  }\n}\n// binding to window is necessary to make hot reload work in IE in strict mode\nvar raf = inBrowser ? window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout : /* istanbul ignore next */function ( /* istanbul ignore next */fn) {\n  return fn();\n};\nfunction nextFrame(fn) {\n  raf(function () {\n    // @ts-expect-error\n    raf(fn);\n  });\n}\nfunction addTransitionClass(el, cls) {\n  var transitionClasses = el._transitionClasses || (el._transitionClasses = []);\n  if (transitionClasses.indexOf(cls) < 0) {\n    transitionClasses.push(cls);\n    addClass(el, cls);\n  }\n}\nfunction removeTransitionClass(el, cls) {\n  if (el._transitionClasses) {\n    remove$2(el._transitionClasses, cls);\n  }\n  removeClass(el, cls);\n}\nfunction whenTransitionEnds(el, expectedType, cb) {\n  var _a = getTransitionInfo(el, expectedType),\n    type = _a.type,\n    timeout = _a.timeout,\n    propCount = _a.propCount;\n  if (!type) return cb();\n  var event = type === TRANSITION ? transitionEndEvent : animationEndEvent;\n  var ended = 0;\n  var end = function end() {\n    el.removeEventListener(event, onEnd);\n    cb();\n  };\n  var onEnd = function onEnd(e) {\n    if (e.target === el) {\n      if (++ended >= propCount) {\n        end();\n      }\n    }\n  };\n  setTimeout(function () {\n    if (ended < propCount) {\n      end();\n    }\n  }, timeout + 1);\n  el.addEventListener(event, onEnd);\n}\nvar transformRE = /\\b(transform|all)(,|$)/;\nfunction getTransitionInfo(el, expectedType) {\n  var styles = window.getComputedStyle(el);\n  // JSDOM may return undefined for transition properties\n  var transitionDelays = (styles[transitionProp + 'Delay'] || '').split(', ');\n  var transitionDurations = (styles[transitionProp + 'Duration'] || '').split(', ');\n  var transitionTimeout = getTimeout(transitionDelays, transitionDurations);\n  var animationDelays = (styles[animationProp + 'Delay'] || '').split(', ');\n  var animationDurations = (styles[animationProp + 'Duration'] || '').split(', ');\n  var animationTimeout = getTimeout(animationDelays, animationDurations);\n  var type;\n  var timeout = 0;\n  var propCount = 0;\n  /* istanbul ignore if */\n  if (expectedType === TRANSITION) {\n    if (transitionTimeout > 0) {\n      type = TRANSITION;\n      timeout = transitionTimeout;\n      propCount = transitionDurations.length;\n    }\n  } else if (expectedType === ANIMATION) {\n    if (animationTimeout > 0) {\n      type = ANIMATION;\n      timeout = animationTimeout;\n      propCount = animationDurations.length;\n    }\n  } else {\n    timeout = Math.max(transitionTimeout, animationTimeout);\n    type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION : ANIMATION : null;\n    propCount = type ? type === TRANSITION ? transitionDurations.length : animationDurations.length : 0;\n  }\n  var hasTransform = type === TRANSITION && transformRE.test(styles[transitionProp + 'Property']);\n  return {\n    type: type,\n    timeout: timeout,\n    propCount: propCount,\n    hasTransform: hasTransform\n  };\n}\nfunction getTimeout(delays, durations) {\n  /* istanbul ignore next */\n  while (delays.length < durations.length) {\n    delays = delays.concat(delays);\n  }\n  return Math.max.apply(null, durations.map(function (d, i) {\n    return toMs(d) + toMs(delays[i]);\n  }));\n}\n// Old versions of Chromium (below 61.0.3163.100) formats floating pointer numbers\n// in a locale-dependent way, using a comma instead of a dot.\n// If comma is not replaced with a dot, the input will be rounded down (i.e. acting\n// as a floor function) causing unexpected behaviors\nfunction toMs(s) {\n  return Number(s.slice(0, -1).replace(',', '.')) * 1000;\n}\nfunction enter(vnode, toggleDisplay) {\n  var el = vnode.elm;\n  // call leave callback now\n  if (isDef(el._leaveCb)) {\n    el._leaveCb.cancelled = true;\n    el._leaveCb();\n  }\n  var data = resolveTransition(vnode.data.transition);\n  if (isUndef(data)) {\n    return;\n  }\n  /* istanbul ignore if */\n  if (isDef(el._enterCb) || el.nodeType !== 1) {\n    return;\n  }\n  var css = data.css,\n    type = data.type,\n    enterClass = data.enterClass,\n    enterToClass = data.enterToClass,\n    enterActiveClass = data.enterActiveClass,\n    appearClass = data.appearClass,\n    appearToClass = data.appearToClass,\n    appearActiveClass = data.appearActiveClass,\n    beforeEnter = data.beforeEnter,\n    enter = data.enter,\n    afterEnter = data.afterEnter,\n    enterCancelled = data.enterCancelled,\n    beforeAppear = data.beforeAppear,\n    appear = data.appear,\n    afterAppear = data.afterAppear,\n    appearCancelled = data.appearCancelled,\n    duration = data.duration;\n  // activeInstance will always be the <transition> component managing this\n  // transition. One edge case to check is when the <transition> is placed\n  // as the root node of a child component. In that case we need to check\n  // <transition>'s parent for appear check.\n  var context = activeInstance;\n  var transitionNode = activeInstance.$vnode;\n  while (transitionNode && transitionNode.parent) {\n    context = transitionNode.context;\n    transitionNode = transitionNode.parent;\n  }\n  var isAppear = !context._isMounted || !vnode.isRootInsert;\n  if (isAppear && !appear && appear !== '') {\n    return;\n  }\n  var startClass = isAppear && appearClass ? appearClass : enterClass;\n  var activeClass = isAppear && appearActiveClass ? appearActiveClass : enterActiveClass;\n  var toClass = isAppear && appearToClass ? appearToClass : enterToClass;\n  var beforeEnterHook = isAppear ? beforeAppear || beforeEnter : beforeEnter;\n  var enterHook = isAppear ? isFunction(appear) ? appear : enter : enter;\n  var afterEnterHook = isAppear ? afterAppear || afterEnter : afterEnter;\n  var enterCancelledHook = isAppear ? appearCancelled || enterCancelled : enterCancelled;\n  var explicitEnterDuration = toNumber(isObject(duration) ? duration.enter : duration);\n  if ( true && explicitEnterDuration != null) {\n    checkDuration(explicitEnterDuration, 'enter', vnode);\n  }\n  var expectsCSS = css !== false && !isIE9;\n  var userWantsControl = getHookArgumentsLength(enterHook);\n  var cb = el._enterCb = once(function () {\n    if (expectsCSS) {\n      removeTransitionClass(el, toClass);\n      removeTransitionClass(el, activeClass);\n    }\n    // @ts-expect-error\n    if (cb.cancelled) {\n      if (expectsCSS) {\n        removeTransitionClass(el, startClass);\n      }\n      enterCancelledHook && enterCancelledHook(el);\n    } else {\n      afterEnterHook && afterEnterHook(el);\n    }\n    el._enterCb = null;\n  });\n  if (!vnode.data.show) {\n    // remove pending leave element on enter by injecting an insert hook\n    mergeVNodeHook(vnode, 'insert', function () {\n      var parent = el.parentNode;\n      var pendingNode = parent && parent._pending && parent._pending[vnode.key];\n      if (pendingNode && pendingNode.tag === vnode.tag && pendingNode.elm._leaveCb) {\n        pendingNode.elm._leaveCb();\n      }\n      enterHook && enterHook(el, cb);\n    });\n  }\n  // start enter transition\n  beforeEnterHook && beforeEnterHook(el);\n  if (expectsCSS) {\n    addTransitionClass(el, startClass);\n    addTransitionClass(el, activeClass);\n    nextFrame(function () {\n      removeTransitionClass(el, startClass);\n      // @ts-expect-error\n      if (!cb.cancelled) {\n        addTransitionClass(el, toClass);\n        if (!userWantsControl) {\n          if (isValidDuration(explicitEnterDuration)) {\n            setTimeout(cb, explicitEnterDuration);\n          } else {\n            whenTransitionEnds(el, type, cb);\n          }\n        }\n      }\n    });\n  }\n  if (vnode.data.show) {\n    toggleDisplay && toggleDisplay();\n    enterHook && enterHook(el, cb);\n  }\n  if (!expectsCSS && !userWantsControl) {\n    cb();\n  }\n}\nfunction leave(vnode, rm) {\n  var el = vnode.elm;\n  // call enter callback now\n  if (isDef(el._enterCb)) {\n    el._enterCb.cancelled = true;\n    el._enterCb();\n  }\n  var data = resolveTransition(vnode.data.transition);\n  if (isUndef(data) || el.nodeType !== 1) {\n    return rm();\n  }\n  /* istanbul ignore if */\n  if (isDef(el._leaveCb)) {\n    return;\n  }\n  var css = data.css,\n    type = data.type,\n    leaveClass = data.leaveClass,\n    leaveToClass = data.leaveToClass,\n    leaveActiveClass = data.leaveActiveClass,\n    beforeLeave = data.beforeLeave,\n    leave = data.leave,\n    afterLeave = data.afterLeave,\n    leaveCancelled = data.leaveCancelled,\n    delayLeave = data.delayLeave,\n    duration = data.duration;\n  var expectsCSS = css !== false && !isIE9;\n  var userWantsControl = getHookArgumentsLength(leave);\n  var explicitLeaveDuration = toNumber(isObject(duration) ? duration.leave : duration);\n  if ( true && isDef(explicitLeaveDuration)) {\n    checkDuration(explicitLeaveDuration, 'leave', vnode);\n  }\n  var cb = el._leaveCb = once(function () {\n    if (el.parentNode && el.parentNode._pending) {\n      el.parentNode._pending[vnode.key] = null;\n    }\n    if (expectsCSS) {\n      removeTransitionClass(el, leaveToClass);\n      removeTransitionClass(el, leaveActiveClass);\n    }\n    // @ts-expect-error\n    if (cb.cancelled) {\n      if (expectsCSS) {\n        removeTransitionClass(el, leaveClass);\n      }\n      leaveCancelled && leaveCancelled(el);\n    } else {\n      rm();\n      afterLeave && afterLeave(el);\n    }\n    el._leaveCb = null;\n  });\n  if (delayLeave) {\n    delayLeave(performLeave);\n  } else {\n    performLeave();\n  }\n  function performLeave() {\n    // the delayed leave may have already been cancelled\n    // @ts-expect-error\n    if (cb.cancelled) {\n      return;\n    }\n    // record leaving element\n    if (!vnode.data.show && el.parentNode) {\n      (el.parentNode._pending || (el.parentNode._pending = {}))[vnode.key] = vnode;\n    }\n    beforeLeave && beforeLeave(el);\n    if (expectsCSS) {\n      addTransitionClass(el, leaveClass);\n      addTransitionClass(el, leaveActiveClass);\n      nextFrame(function () {\n        removeTransitionClass(el, leaveClass);\n        // @ts-expect-error\n        if (!cb.cancelled) {\n          addTransitionClass(el, leaveToClass);\n          if (!userWantsControl) {\n            if (isValidDuration(explicitLeaveDuration)) {\n              setTimeout(cb, explicitLeaveDuration);\n            } else {\n              whenTransitionEnds(el, type, cb);\n            }\n          }\n        }\n      });\n    }\n    leave && leave(el, cb);\n    if (!expectsCSS && !userWantsControl) {\n      cb();\n    }\n  }\n}\n// only used in dev mode\nfunction checkDuration(val, name, vnode) {\n  if (typeof val !== 'number') {\n    warn$2(\"<transition> explicit \".concat(name, \" duration is not a valid number - \") + \"got \".concat(JSON.stringify(val), \".\"), vnode.context);\n  } else if (isNaN(val)) {\n    warn$2(\"<transition> explicit \".concat(name, \" duration is NaN - \") + 'the duration expression might be incorrect.', vnode.context);\n  }\n}\nfunction isValidDuration(val) {\n  return typeof val === 'number' && !isNaN(val);\n}\n/**\n * Normalize a transition hook's argument length. The hook may be:\n * - a merged hook (invoker) with the original in .fns\n * - a wrapped component method (check ._length)\n * - a plain function (.length)\n */\nfunction getHookArgumentsLength(fn) {\n  if (isUndef(fn)) {\n    return false;\n  }\n  // @ts-expect-error\n  var invokerFns = fn.fns;\n  if (isDef(invokerFns)) {\n    // invoker\n    return getHookArgumentsLength(Array.isArray(invokerFns) ? invokerFns[0] : invokerFns);\n  } else {\n    // @ts-expect-error\n    return (fn._length || fn.length) > 1;\n  }\n}\nfunction _enter(_, vnode) {\n  if (vnode.data.show !== true) {\n    enter(vnode);\n  }\n}\nvar transition = inBrowser ? {\n  create: _enter,\n  activate: _enter,\n  remove: function remove(vnode, rm) {\n    /* istanbul ignore else */\n    if (vnode.data.show !== true) {\n      // @ts-expect-error\n      leave(vnode, rm);\n    } else {\n      rm();\n    }\n  }\n} : {};\nvar platformModules = [attrs, klass$1, events, domProps, style$1, transition];\n\n// the directive module should be applied last, after all\n// built-in modules have been applied.\nvar modules$1 = platformModules.concat(baseModules);\nvar patch = createPatchFunction({\n  nodeOps: nodeOps,\n  modules: modules$1\n});\n\n/**\n * Not type checking this file because flow doesn't like attaching\n * properties to Elements.\n */\n/* istanbul ignore if */\nif (isIE9) {\n  // http://www.matts411.com/post/internet-explorer-9-oninput/\n  document.addEventListener('selectionchange', function () {\n    var el = document.activeElement;\n    // @ts-expect-error\n    if (el && el.vmodel) {\n      trigger(el, 'input');\n    }\n  });\n}\nvar directive = {\n  inserted: function inserted(el, binding, vnode, oldVnode) {\n    if (vnode.tag === 'select') {\n      // #6903\n      if (oldVnode.elm && !oldVnode.elm._vOptions) {\n        mergeVNodeHook(vnode, 'postpatch', function () {\n          directive.componentUpdated(el, binding, vnode);\n        });\n      } else {\n        setSelected(el, binding, vnode.context);\n      }\n      el._vOptions = [].map.call(el.options, getValue);\n    } else if (vnode.tag === 'textarea' || isTextInputType(el.type)) {\n      el._vModifiers = binding.modifiers;\n      if (!binding.modifiers.lazy) {\n        el.addEventListener('compositionstart', onCompositionStart);\n        el.addEventListener('compositionend', onCompositionEnd);\n        // Safari < 10.2 & UIWebView doesn't fire compositionend when\n        // switching focus before confirming composition choice\n        // this also fixes the issue where some browsers e.g. iOS Chrome\n        // fires \"change\" instead of \"input\" on autocomplete.\n        el.addEventListener('change', onCompositionEnd);\n        /* istanbul ignore if */\n        if (isIE9) {\n          el.vmodel = true;\n        }\n      }\n    }\n  },\n  componentUpdated: function componentUpdated(el, binding, vnode) {\n    if (vnode.tag === 'select') {\n      setSelected(el, binding, vnode.context);\n      // in case the options rendered by v-for have changed,\n      // it's possible that the value is out-of-sync with the rendered options.\n      // detect such cases and filter out values that no longer has a matching\n      // option in the DOM.\n      var prevOptions_1 = el._vOptions;\n      var curOptions_1 = el._vOptions = [].map.call(el.options, getValue);\n      if (curOptions_1.some(function (o, i) {\n        return !looseEqual(o, prevOptions_1[i]);\n      })) {\n        // trigger change event if\n        // no matching option found for at least one value\n        var needReset = el.multiple ? binding.value.some(function (v) {\n          return hasNoMatchingOption(v, curOptions_1);\n        }) : binding.value !== binding.oldValue && hasNoMatchingOption(binding.value, curOptions_1);\n        if (needReset) {\n          trigger(el, 'change');\n        }\n      }\n    }\n  }\n};\nfunction setSelected(el, binding, vm) {\n  actuallySetSelected(el, binding, vm);\n  /* istanbul ignore if */\n  if (isIE || isEdge) {\n    setTimeout(function () {\n      actuallySetSelected(el, binding, vm);\n    }, 0);\n  }\n}\nfunction actuallySetSelected(el, binding, vm) {\n  var value = binding.value;\n  var isMultiple = el.multiple;\n  if (isMultiple && !Array.isArray(value)) {\n     true && warn$2(\"<select multiple v-model=\\\"\".concat(binding.expression, \"\\\"> \") + \"expects an Array value for its binding, but got \".concat(Object.prototype.toString.call(value).slice(8, -1)), vm);\n    return;\n  }\n  var selected, option;\n  for (var i = 0, l = el.options.length; i < l; i++) {\n    option = el.options[i];\n    if (isMultiple) {\n      selected = looseIndexOf(value, getValue(option)) > -1;\n      if (option.selected !== selected) {\n        option.selected = selected;\n      }\n    } else {\n      if (looseEqual(getValue(option), value)) {\n        if (el.selectedIndex !== i) {\n          el.selectedIndex = i;\n        }\n        return;\n      }\n    }\n  }\n  if (!isMultiple) {\n    el.selectedIndex = -1;\n  }\n}\nfunction hasNoMatchingOption(value, options) {\n  return options.every(function (o) {\n    return !looseEqual(o, value);\n  });\n}\nfunction getValue(option) {\n  return '_value' in option ? option._value : option.value;\n}\nfunction onCompositionStart(e) {\n  e.target.composing = true;\n}\nfunction onCompositionEnd(e) {\n  // prevent triggering an input event for no reason\n  if (!e.target.composing) return;\n  e.target.composing = false;\n  trigger(e.target, 'input');\n}\nfunction trigger(el, type) {\n  var e = document.createEvent('HTMLEvents');\n  e.initEvent(type, true, true);\n  el.dispatchEvent(e);\n}\n\n// recursively search for possible transition defined inside the component root\nfunction locateNode(vnode) {\n  // @ts-expect-error\n  return vnode.componentInstance && (!vnode.data || !vnode.data.transition) ? locateNode(vnode.componentInstance._vnode) : vnode;\n}\nvar show = {\n  bind: function bind(el, _a, vnode) {\n    var value = _a.value;\n    vnode = locateNode(vnode);\n    var transition = vnode.data && vnode.data.transition;\n    var originalDisplay = el.__vOriginalDisplay = el.style.display === 'none' ? '' : el.style.display;\n    if (value && transition) {\n      vnode.data.show = true;\n      enter(vnode, function () {\n        el.style.display = originalDisplay;\n      });\n    } else {\n      el.style.display = value ? originalDisplay : 'none';\n    }\n  },\n  update: function update(el, _a, vnode) {\n    var value = _a.value,\n      oldValue = _a.oldValue;\n    /* istanbul ignore if */\n    if (!value === !oldValue) return;\n    vnode = locateNode(vnode);\n    var transition = vnode.data && vnode.data.transition;\n    if (transition) {\n      vnode.data.show = true;\n      if (value) {\n        enter(vnode, function () {\n          el.style.display = el.__vOriginalDisplay;\n        });\n      } else {\n        leave(vnode, function () {\n          el.style.display = 'none';\n        });\n      }\n    } else {\n      el.style.display = value ? el.__vOriginalDisplay : 'none';\n    }\n  },\n  unbind: function unbind(el, binding, vnode, oldVnode, isDestroy) {\n    if (!isDestroy) {\n      el.style.display = el.__vOriginalDisplay;\n    }\n  }\n};\nvar platformDirectives = {\n  model: directive,\n  show: show\n};\n\n// Provides transition support for a single element/component.\nvar transitionProps = {\n  name: String,\n  appear: Boolean,\n  css: Boolean,\n  mode: String,\n  type: String,\n  enterClass: String,\n  leaveClass: String,\n  enterToClass: String,\n  leaveToClass: String,\n  enterActiveClass: String,\n  leaveActiveClass: String,\n  appearClass: String,\n  appearActiveClass: String,\n  appearToClass: String,\n  duration: [Number, String, Object]\n};\n// in case the child is also an abstract component, e.g. <keep-alive>\n// we want to recursively retrieve the real component to be rendered\nfunction getRealChild(vnode) {\n  var compOptions = vnode && vnode.componentOptions;\n  if (compOptions && compOptions.Ctor.options.abstract) {\n    return getRealChild(getFirstComponentChild(compOptions.children));\n  } else {\n    return vnode;\n  }\n}\nfunction extractTransitionData(comp) {\n  var data = {};\n  var options = comp.$options;\n  // props\n  for (var key in options.propsData) {\n    data[key] = comp[key];\n  }\n  // events.\n  // extract listeners and pass them directly to the transition methods\n  var listeners = options._parentListeners;\n  for (var key in listeners) {\n    data[camelize(key)] = listeners[key];\n  }\n  return data;\n}\nfunction placeholder(h, rawChild) {\n  // @ts-expect-error\n  if (/\\d-keep-alive$/.test(rawChild.tag)) {\n    return h('keep-alive', {\n      props: rawChild.componentOptions.propsData\n    });\n  }\n}\nfunction hasParentTransition(vnode) {\n  while (vnode = vnode.parent) {\n    if (vnode.data.transition) {\n      return true;\n    }\n  }\n}\nfunction isSameChild(child, oldChild) {\n  return oldChild.key === child.key && oldChild.tag === child.tag;\n}\nvar isNotTextNode = function isNotTextNode(c) {\n  return c.tag || isAsyncPlaceholder(c);\n};\nvar isVShowDirective = function isVShowDirective(d) {\n  return d.name === 'show';\n};\nvar Transition = {\n  name: 'transition',\n  props: transitionProps,\n  abstract: true,\n  render: function render(h) {\n    var _this = this;\n    var children = this.$slots.default;\n    if (!children) {\n      return;\n    }\n    // filter out text nodes (possible whitespaces)\n    children = children.filter(isNotTextNode);\n    /* istanbul ignore if */\n    if (!children.length) {\n      return;\n    }\n    // warn multiple elements\n    if ( true && children.length > 1) {\n      warn$2('<transition> can only be used on a single element. Use ' + '<transition-group> for lists.', this.$parent);\n    }\n    var mode = this.mode;\n    // warn invalid mode\n    if ( true && mode && mode !== 'in-out' && mode !== 'out-in') {\n      warn$2('invalid <transition> mode: ' + mode, this.$parent);\n    }\n    var rawChild = children[0];\n    // if this is a component root node and the component's\n    // parent container node also has transition, skip.\n    if (hasParentTransition(this.$vnode)) {\n      return rawChild;\n    }\n    // apply transition data to child\n    // use getRealChild() to ignore abstract components e.g. keep-alive\n    var child = getRealChild(rawChild);\n    /* istanbul ignore if */\n    if (!child) {\n      return rawChild;\n    }\n    if (this._leaving) {\n      return placeholder(h, rawChild);\n    }\n    // ensure a key that is unique to the vnode type and to this transition\n    // component instance. This key will be used to remove pending leaving nodes\n    // during entering.\n    var id = \"__transition-\".concat(this._uid, \"-\");\n    child.key = child.key == null ? child.isComment ? id + 'comment' : id + child.tag : isPrimitive(child.key) ? String(child.key).indexOf(id) === 0 ? child.key : id + child.key : child.key;\n    var data = (child.data || (child.data = {})).transition = extractTransitionData(this);\n    var oldRawChild = this._vnode;\n    var oldChild = getRealChild(oldRawChild);\n    // mark v-show\n    // so that the transition module can hand over the control to the directive\n    if (child.data.directives && child.data.directives.some(isVShowDirective)) {\n      child.data.show = true;\n    }\n    if (oldChild && oldChild.data && !isSameChild(child, oldChild) && !isAsyncPlaceholder(oldChild) &&\n    // #6687 component root is a comment node\n    !(oldChild.componentInstance && oldChild.componentInstance._vnode.isComment)) {\n      // replace old child transition data with fresh one\n      // important for dynamic transitions!\n      var oldData = oldChild.data.transition = extend({}, data);\n      // handle transition mode\n      if (mode === 'out-in') {\n        // return placeholder node and queue update when leave finishes\n        this._leaving = true;\n        mergeVNodeHook(oldData, 'afterLeave', function () {\n          _this._leaving = false;\n          _this.$forceUpdate();\n        });\n        return placeholder(h, rawChild);\n      } else if (mode === 'in-out') {\n        if (isAsyncPlaceholder(child)) {\n          return oldRawChild;\n        }\n        var delayedLeave_1;\n        var performLeave = function performLeave() {\n          delayedLeave_1();\n        };\n        mergeVNodeHook(data, 'afterEnter', performLeave);\n        mergeVNodeHook(data, 'enterCancelled', performLeave);\n        mergeVNodeHook(oldData, 'delayLeave', function (leave) {\n          delayedLeave_1 = leave;\n        });\n      }\n    }\n    return rawChild;\n  }\n};\n\n// Provides transition support for list items.\nvar props = extend({\n  tag: String,\n  moveClass: String\n}, transitionProps);\ndelete props.mode;\nvar TransitionGroup = {\n  props: props,\n  beforeMount: function beforeMount() {\n    var _this = this;\n    var update = this._update;\n    this._update = function (vnode, hydrating) {\n      var restoreActiveInstance = setActiveInstance(_this);\n      // force removing pass\n      _this.__patch__(_this._vnode, _this.kept, false,\n      // hydrating\n      true // removeOnly (!important, avoids unnecessary moves)\n      );\n\n      _this._vnode = _this.kept;\n      restoreActiveInstance();\n      update.call(_this, vnode, hydrating);\n    };\n  },\n  render: function render(h) {\n    var tag = this.tag || this.$vnode.data.tag || 'span';\n    var map = Object.create(null);\n    var prevChildren = this.prevChildren = this.children;\n    var rawChildren = this.$slots.default || [];\n    var children = this.children = [];\n    var transitionData = extractTransitionData(this);\n    for (var i = 0; i < rawChildren.length; i++) {\n      var c = rawChildren[i];\n      if (c.tag) {\n        if (c.key != null && String(c.key).indexOf('__vlist') !== 0) {\n          children.push(c);\n          map[c.key] = c;\n          (c.data || (c.data = {})).transition = transitionData;\n        } else if (true) {\n          var opts = c.componentOptions;\n          var name_1 = opts ? getComponentName(opts.Ctor.options) || opts.tag || '' : c.tag;\n          warn$2(\"<transition-group> children must be keyed: <\".concat(name_1, \">\"));\n        }\n      }\n    }\n    if (prevChildren) {\n      var kept = [];\n      var removed = [];\n      for (var i = 0; i < prevChildren.length; i++) {\n        var c = prevChildren[i];\n        c.data.transition = transitionData;\n        // @ts-expect-error .getBoundingClientRect is not typed in Node\n        c.data.pos = c.elm.getBoundingClientRect();\n        if (map[c.key]) {\n          kept.push(c);\n        } else {\n          removed.push(c);\n        }\n      }\n      this.kept = h(tag, null, kept);\n      this.removed = removed;\n    }\n    return h(tag, null, children);\n  },\n  updated: function updated() {\n    var children = this.prevChildren;\n    var moveClass = this.moveClass || (this.name || 'v') + '-move';\n    if (!children.length || !this.hasMove(children[0].elm, moveClass)) {\n      return;\n    }\n    // we divide the work into three loops to avoid mixing DOM reads and writes\n    // in each iteration - which helps prevent layout thrashing.\n    children.forEach(callPendingCbs);\n    children.forEach(recordPosition);\n    children.forEach(applyTranslation);\n    // force reflow to put everything in position\n    // assign to this to avoid being removed in tree-shaking\n    // $flow-disable-line\n    this._reflow = document.body.offsetHeight;\n    children.forEach(function (c) {\n      if (c.data.moved) {\n        var el_1 = c.elm;\n        var s = el_1.style;\n        addTransitionClass(el_1, moveClass);\n        s.transform = s.WebkitTransform = s.transitionDuration = '';\n        el_1.addEventListener(transitionEndEvent, el_1._moveCb = function cb(e) {\n          if (e && e.target !== el_1) {\n            return;\n          }\n          if (!e || /transform$/.test(e.propertyName)) {\n            el_1.removeEventListener(transitionEndEvent, cb);\n            el_1._moveCb = null;\n            removeTransitionClass(el_1, moveClass);\n          }\n        });\n      }\n    });\n  },\n  methods: {\n    hasMove: function hasMove(el, moveClass) {\n      /* istanbul ignore if */\n      if (!hasTransition) {\n        return false;\n      }\n      /* istanbul ignore if */\n      if (this._hasMove) {\n        return this._hasMove;\n      }\n      // Detect whether an element with the move class applied has\n      // CSS transitions. Since the element may be inside an entering\n      // transition at this very moment, we make a clone of it and remove\n      // all other transition classes applied to ensure only the move class\n      // is applied.\n      var clone = el.cloneNode();\n      if (el._transitionClasses) {\n        el._transitionClasses.forEach(function (cls) {\n          removeClass(clone, cls);\n        });\n      }\n      addClass(clone, moveClass);\n      clone.style.display = 'none';\n      this.$el.appendChild(clone);\n      var info = getTransitionInfo(clone);\n      this.$el.removeChild(clone);\n      return this._hasMove = info.hasTransform;\n    }\n  }\n};\nfunction callPendingCbs(c) {\n  /* istanbul ignore if */\n  if (c.elm._moveCb) {\n    c.elm._moveCb();\n  }\n  /* istanbul ignore if */\n  if (c.elm._enterCb) {\n    c.elm._enterCb();\n  }\n}\nfunction recordPosition(c) {\n  c.data.newPos = c.elm.getBoundingClientRect();\n}\nfunction applyTranslation(c) {\n  var oldPos = c.data.pos;\n  var newPos = c.data.newPos;\n  var dx = oldPos.left - newPos.left;\n  var dy = oldPos.top - newPos.top;\n  if (dx || dy) {\n    c.data.moved = true;\n    var s = c.elm.style;\n    s.transform = s.WebkitTransform = \"translate(\".concat(dx, \"px,\").concat(dy, \"px)\");\n    s.transitionDuration = '0s';\n  }\n}\nvar platformComponents = {\n  Transition: Transition,\n  TransitionGroup: TransitionGroup\n};\n\n// install platform specific utils\nVue.config.mustUseProp = mustUseProp;\nVue.config.isReservedTag = isReservedTag;\nVue.config.isReservedAttr = isReservedAttr;\nVue.config.getTagNamespace = getTagNamespace;\nVue.config.isUnknownElement = isUnknownElement;\n// install platform runtime directives & components\nextend(Vue.options.directives, platformDirectives);\nextend(Vue.options.components, platformComponents);\n// install platform patch function\nVue.prototype.__patch__ = inBrowser ? patch : noop;\n// public mount method\nVue.prototype.$mount = function (el, hydrating) {\n  el = el && inBrowser ? query(el) : undefined;\n  return mountComponent(this, el, hydrating);\n};\n// devtools global hook\n/* istanbul ignore next */\nif (inBrowser) {\n  setTimeout(function () {\n    if (config.devtools) {\n      if (devtools) {\n        devtools.emit('init', Vue);\n      } else if (true) {\n        // @ts-expect-error\n        console[console.info ? 'info' : 'log']('Download the Vue Devtools extension for a better development experience:\\n' + 'https://github.com/vuejs/vue-devtools');\n      }\n    }\n    if ( true && config.productionTip !== false && typeof console !== 'undefined') {\n      // @ts-expect-error\n      console[console.info ? 'info' : 'log'](\"You are running Vue in development mode.\\n\" + \"Make sure to turn on production mode when deploying for production.\\n\" + \"See more tips at https://vuejs.org/guide/deployment.html\");\n    }\n  }, 0);\n}\nvar defaultTagRE = /\\{\\{((?:.|\\r?\\n)+?)\\}\\}/g;\nvar regexEscapeRE = /[-.*+?^${}()|[\\]\\/\\\\]/g;\nvar buildRegex = cached(function (delimiters) {\n  var open = delimiters[0].replace(regexEscapeRE, '\\\\$&');\n  var close = delimiters[1].replace(regexEscapeRE, '\\\\$&');\n  return new RegExp(open + '((?:.|\\\\n)+?)' + close, 'g');\n});\nfunction parseText(text, delimiters) {\n  //@ts-expect-error\n  var tagRE = delimiters ? buildRegex(delimiters) : defaultTagRE;\n  if (!tagRE.test(text)) {\n    return;\n  }\n  var tokens = [];\n  var rawTokens = [];\n  var lastIndex = tagRE.lastIndex = 0;\n  var match, index, tokenValue;\n  while (match = tagRE.exec(text)) {\n    index = match.index;\n    // push text token\n    if (index > lastIndex) {\n      rawTokens.push(tokenValue = text.slice(lastIndex, index));\n      tokens.push(JSON.stringify(tokenValue));\n    }\n    // tag token\n    var exp = parseFilters(match[1].trim());\n    tokens.push(\"_s(\".concat(exp, \")\"));\n    rawTokens.push({\n      '@binding': exp\n    });\n    lastIndex = index + match[0].length;\n  }\n  if (lastIndex < text.length) {\n    rawTokens.push(tokenValue = text.slice(lastIndex));\n    tokens.push(JSON.stringify(tokenValue));\n  }\n  return {\n    expression: tokens.join('+'),\n    tokens: rawTokens\n  };\n}\nfunction transformNode$1(el, options) {\n  var warn = options.warn || baseWarn;\n  var staticClass = getAndRemoveAttr(el, 'class');\n  if ( true && staticClass) {\n    var res = parseText(staticClass, options.delimiters);\n    if (res) {\n      warn(\"class=\\\"\".concat(staticClass, \"\\\": \") + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div class=\"{{ val }}\">, use <div :class=\"val\">.', el.rawAttrsMap['class']);\n    }\n  }\n  if (staticClass) {\n    el.staticClass = JSON.stringify(staticClass.replace(/\\s+/g, ' ').trim());\n  }\n  var classBinding = getBindingAttr(el, 'class', false /* getStatic */);\n  if (classBinding) {\n    el.classBinding = classBinding;\n  }\n}\nfunction genData$2(el) {\n  var data = '';\n  if (el.staticClass) {\n    data += \"staticClass:\".concat(el.staticClass, \",\");\n  }\n  if (el.classBinding) {\n    data += \"class:\".concat(el.classBinding, \",\");\n  }\n  return data;\n}\nvar klass = {\n  staticKeys: ['staticClass'],\n  transformNode: transformNode$1,\n  genData: genData$2\n};\nfunction transformNode(el, options) {\n  var warn = options.warn || baseWarn;\n  var staticStyle = getAndRemoveAttr(el, 'style');\n  if (staticStyle) {\n    /* istanbul ignore if */\n    if (true) {\n      var res = parseText(staticStyle, options.delimiters);\n      if (res) {\n        warn(\"style=\\\"\".concat(staticStyle, \"\\\": \") + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div style=\"{{ val }}\">, use <div :style=\"val\">.', el.rawAttrsMap['style']);\n      }\n    }\n    el.staticStyle = JSON.stringify(parseStyleText(staticStyle));\n  }\n  var styleBinding = getBindingAttr(el, 'style', false /* getStatic */);\n  if (styleBinding) {\n    el.styleBinding = styleBinding;\n  }\n}\nfunction genData$1(el) {\n  var data = '';\n  if (el.staticStyle) {\n    data += \"staticStyle:\".concat(el.staticStyle, \",\");\n  }\n  if (el.styleBinding) {\n    data += \"style:(\".concat(el.styleBinding, \"),\");\n  }\n  return data;\n}\nvar style = {\n  staticKeys: ['staticStyle'],\n  transformNode: transformNode,\n  genData: genData$1\n};\nvar decoder;\nvar he = {\n  decode: function decode(html) {\n    decoder = decoder || document.createElement('div');\n    decoder.innerHTML = html;\n    return decoder.textContent;\n  }\n};\nvar isUnaryTag = makeMap('area,base,br,col,embed,frame,hr,img,input,isindex,keygen,' + 'link,meta,param,source,track,wbr');\n// Elements that you can, intentionally, leave open\n// (and which close themselves)\nvar canBeLeftOpenTag = makeMap('colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source');\n// HTML5 tags https://html.spec.whatwg.org/multipage/indices.html#elements-3\n// Phrasing Content https://html.spec.whatwg.org/multipage/dom.html#phrasing-content\nvar isNonPhrasingTag = makeMap('address,article,aside,base,blockquote,body,caption,col,colgroup,dd,' + 'details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,' + 'h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,' + 'optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,' + 'title,tr,track');\n\n/**\n * Not type-checking this file because it's mostly vendor code.\n */\n// Regular Expressions for parsing tags and attributes\nvar attribute = /^\\s*([^\\s\"'<>\\/=]+)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/;\nvar dynamicArgAttribute = /^\\s*((?:v-[\\w-]+:|@|:|#)\\[[^=]+?\\][^\\s\"'<>\\/=]*)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/;\nvar ncname = \"[a-zA-Z_][\\\\-\\\\.0-9_a-zA-Z\".concat(unicodeRegExp.source, \"]*\");\nvar qnameCapture = \"((?:\".concat(ncname, \"\\\\:)?\").concat(ncname, \")\");\nvar startTagOpen = new RegExp(\"^<\".concat(qnameCapture));\nvar startTagClose = /^\\s*(\\/?)>/;\nvar endTag = new RegExp(\"^<\\\\/\".concat(qnameCapture, \"[^>]*>\"));\nvar doctype = /^<!DOCTYPE [^>]+>/i;\n// #7298: escape - to avoid being passed as HTML comment when inlined in page\nvar comment = /^<!\\--/;\nvar conditionalComment = /^<!\\[/;\n// Special Elements (can contain anything)\nvar isPlainTextElement = makeMap('script,style,textarea', true);\nvar reCache = {};\nvar decodingMap = {\n  '&lt;': '<',\n  '&gt;': '>',\n  '&quot;': '\"',\n  '&amp;': '&',\n  '&#10;': '\\n',\n  '&#9;': '\\t',\n  '&#39;': \"'\"\n};\nvar encodedAttr = /&(?:lt|gt|quot|amp|#39);/g;\nvar encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#39|#10|#9);/g;\n// #5992\nvar isIgnoreNewlineTag = makeMap('pre,textarea', true);\nvar shouldIgnoreFirstNewline = function shouldIgnoreFirstNewline(tag, html) {\n  return tag && isIgnoreNewlineTag(tag) && html[0] === '\\n';\n};\nfunction decodeAttr(value, shouldDecodeNewlines) {\n  var re = shouldDecodeNewlines ? encodedAttrWithNewLines : encodedAttr;\n  return value.replace(re, function (match) {\n    return decodingMap[match];\n  });\n}\nfunction parseHTML(html, options) {\n  var stack = [];\n  var expectHTML = options.expectHTML;\n  var isUnaryTag = options.isUnaryTag || no;\n  var canBeLeftOpenTag = options.canBeLeftOpenTag || no;\n  var index = 0;\n  var last, lastTag;\n  var _loop_1 = function _loop_1() {\n    last = html;\n    // Make sure we're not in a plaintext content element like script/style\n    if (!lastTag || !isPlainTextElement(lastTag)) {\n      var textEnd = html.indexOf('<');\n      if (textEnd === 0) {\n        // Comment:\n        if (comment.test(html)) {\n          var commentEnd = html.indexOf('-->');\n          if (commentEnd >= 0) {\n            if (options.shouldKeepComment && options.comment) {\n              options.comment(html.substring(4, commentEnd), index, index + commentEnd + 3);\n            }\n            advance(commentEnd + 3);\n            return \"continue\";\n          }\n        }\n        // http://en.wikipedia.org/wiki/Conditional_comment#Downlevel-revealed_conditional_comment\n        if (conditionalComment.test(html)) {\n          var conditionalEnd = html.indexOf(']>');\n          if (conditionalEnd >= 0) {\n            advance(conditionalEnd + 2);\n            return \"continue\";\n          }\n        }\n        // Doctype:\n        var doctypeMatch = html.match(doctype);\n        if (doctypeMatch) {\n          advance(doctypeMatch[0].length);\n          return \"continue\";\n        }\n        // End tag:\n        var endTagMatch = html.match(endTag);\n        if (endTagMatch) {\n          var curIndex = index;\n          advance(endTagMatch[0].length);\n          parseEndTag(endTagMatch[1], curIndex, index);\n          return \"continue\";\n        }\n        // Start tag:\n        var startTagMatch = parseStartTag();\n        if (startTagMatch) {\n          handleStartTag(startTagMatch);\n          if (shouldIgnoreFirstNewline(startTagMatch.tagName, html)) {\n            advance(1);\n          }\n          return \"continue\";\n        }\n      }\n      var text = void 0,\n        rest = void 0,\n        next = void 0;\n      if (textEnd >= 0) {\n        rest = html.slice(textEnd);\n        while (!endTag.test(rest) && !startTagOpen.test(rest) && !comment.test(rest) && !conditionalComment.test(rest)) {\n          // < in plain text, be forgiving and treat it as text\n          next = rest.indexOf('<', 1);\n          if (next < 0) break;\n          textEnd += next;\n          rest = html.slice(textEnd);\n        }\n        text = html.substring(0, textEnd);\n      }\n      if (textEnd < 0) {\n        text = html;\n      }\n      if (text) {\n        advance(text.length);\n      }\n      if (options.chars && text) {\n        options.chars(text, index - text.length, index);\n      }\n    } else {\n      var endTagLength_1 = 0;\n      var stackedTag_1 = lastTag.toLowerCase();\n      var reStackedTag = reCache[stackedTag_1] || (reCache[stackedTag_1] = new RegExp('([\\\\s\\\\S]*?)(</' + stackedTag_1 + '[^>]*>)', 'i'));\n      var rest = html.replace(reStackedTag, function (all, text, endTag) {\n        endTagLength_1 = endTag.length;\n        if (!isPlainTextElement(stackedTag_1) && stackedTag_1 !== 'noscript') {\n          text = text.replace(/<!\\--([\\s\\S]*?)-->/g, '$1') // #7298\n          .replace(/<!\\[CDATA\\[([\\s\\S]*?)]]>/g, '$1');\n        }\n        if (shouldIgnoreFirstNewline(stackedTag_1, text)) {\n          text = text.slice(1);\n        }\n        if (options.chars) {\n          options.chars(text);\n        }\n        return '';\n      });\n      index += html.length - rest.length;\n      html = rest;\n      parseEndTag(stackedTag_1, index - endTagLength_1, index);\n    }\n    if (html === last) {\n      options.chars && options.chars(html);\n      if ( true && !stack.length && options.warn) {\n        options.warn(\"Mal-formatted tag at end of template: \\\"\".concat(html, \"\\\"\"), {\n          start: index + html.length\n        });\n      }\n      return \"break\";\n    }\n  };\n  while (html) {\n    var state_1 = _loop_1();\n    if (state_1 === \"break\") break;\n  }\n  // Clean up any remaining tags\n  parseEndTag();\n  function advance(n) {\n    index += n;\n    html = html.substring(n);\n  }\n  function parseStartTag() {\n    var start = html.match(startTagOpen);\n    if (start) {\n      var match = {\n        tagName: start[1],\n        attrs: [],\n        start: index\n      };\n      advance(start[0].length);\n      var end = void 0,\n        attr = void 0;\n      while (!(end = html.match(startTagClose)) && (attr = html.match(dynamicArgAttribute) || html.match(attribute))) {\n        attr.start = index;\n        advance(attr[0].length);\n        attr.end = index;\n        match.attrs.push(attr);\n      }\n      if (end) {\n        match.unarySlash = end[1];\n        advance(end[0].length);\n        match.end = index;\n        return match;\n      }\n    }\n  }\n  function handleStartTag(match) {\n    var tagName = match.tagName;\n    var unarySlash = match.unarySlash;\n    if (expectHTML) {\n      if (lastTag === 'p' && isNonPhrasingTag(tagName)) {\n        parseEndTag(lastTag);\n      }\n      if (canBeLeftOpenTag(tagName) && lastTag === tagName) {\n        parseEndTag(tagName);\n      }\n    }\n    var unary = isUnaryTag(tagName) || !!unarySlash;\n    var l = match.attrs.length;\n    var attrs = new Array(l);\n    for (var i = 0; i < l; i++) {\n      var args = match.attrs[i];\n      var value = args[3] || args[4] || args[5] || '';\n      var shouldDecodeNewlines = tagName === 'a' && args[1] === 'href' ? options.shouldDecodeNewlinesForHref : options.shouldDecodeNewlines;\n      attrs[i] = {\n        name: args[1],\n        value: decodeAttr(value, shouldDecodeNewlines)\n      };\n      if ( true && options.outputSourceRange) {\n        attrs[i].start = args.start + args[0].match(/^\\s*/).length;\n        attrs[i].end = args.end;\n      }\n    }\n    if (!unary) {\n      stack.push({\n        tag: tagName,\n        lowerCasedTag: tagName.toLowerCase(),\n        attrs: attrs,\n        start: match.start,\n        end: match.end\n      });\n      lastTag = tagName;\n    }\n    if (options.start) {\n      options.start(tagName, attrs, unary, match.start, match.end);\n    }\n  }\n  function parseEndTag(tagName, start, end) {\n    var pos, lowerCasedTagName;\n    if (start == null) start = index;\n    if (end == null) end = index;\n    // Find the closest opened tag of the same type\n    if (tagName) {\n      lowerCasedTagName = tagName.toLowerCase();\n      for (pos = stack.length - 1; pos >= 0; pos--) {\n        if (stack[pos].lowerCasedTag === lowerCasedTagName) {\n          break;\n        }\n      }\n    } else {\n      // If no tag name is provided, clean shop\n      pos = 0;\n    }\n    if (pos >= 0) {\n      // Close all the open elements, up the stack\n      for (var i = stack.length - 1; i >= pos; i--) {\n        if ( true && (i > pos || !tagName) && options.warn) {\n          options.warn(\"tag <\".concat(stack[i].tag, \"> has no matching end tag.\"), {\n            start: stack[i].start,\n            end: stack[i].end\n          });\n        }\n        if (options.end) {\n          options.end(stack[i].tag, start, end);\n        }\n      }\n      // Remove the open elements from the stack\n      stack.length = pos;\n      lastTag = pos && stack[pos - 1].tag;\n    } else if (lowerCasedTagName === 'br') {\n      if (options.start) {\n        options.start(tagName, [], true, start, end);\n      }\n    } else if (lowerCasedTagName === 'p') {\n      if (options.start) {\n        options.start(tagName, [], false, start, end);\n      }\n      if (options.end) {\n        options.end(tagName, start, end);\n      }\n    }\n  }\n}\nvar onRE = /^@|^v-on:/;\nvar dirRE = /^v-|^@|^:|^#/;\nvar forAliasRE = /([\\s\\S]*?)\\s+(?:in|of)\\s+([\\s\\S]*)/;\nvar forIteratorRE = /,([^,\\}\\]]*)(?:,([^,\\}\\]]*))?$/;\nvar stripParensRE = /^\\(|\\)$/g;\nvar dynamicArgRE = /^\\[.*\\]$/;\nvar argRE = /:(.*)$/;\nvar bindRE = /^:|^\\.|^v-bind:/;\nvar modifierRE = /\\.[^.\\]]+(?=[^\\]]*$)/g;\nvar slotRE = /^v-slot(:|$)|^#/;\nvar lineBreakRE = /[\\r\\n]/;\nvar whitespaceRE = /[ \\f\\t\\r\\n]+/g;\nvar invalidAttributeRE = /[\\s\"'<>\\/=]/;\nvar decodeHTMLCached = cached(he.decode);\nvar emptySlotScopeToken = \"_empty_\";\n// configurable state\nvar warn;\nvar delimiters;\nvar transforms;\nvar preTransforms;\nvar postTransforms;\nvar platformIsPreTag;\nvar platformMustUseProp;\nvar platformGetTagNamespace;\nvar maybeComponent;\nfunction createASTElement(tag, attrs, parent) {\n  return {\n    type: 1,\n    tag: tag,\n    attrsList: attrs,\n    attrsMap: makeAttrsMap(attrs),\n    rawAttrsMap: {},\n    parent: parent,\n    children: []\n  };\n}\n/**\n * Convert HTML string to AST.\n */\nfunction parse(template, options) {\n  warn = options.warn || baseWarn;\n  platformIsPreTag = options.isPreTag || no;\n  platformMustUseProp = options.mustUseProp || no;\n  platformGetTagNamespace = options.getTagNamespace || no;\n  var isReservedTag = options.isReservedTag || no;\n  maybeComponent = function maybeComponent(el) {\n    return !!(el.component || el.attrsMap[':is'] || el.attrsMap['v-bind:is'] || !(el.attrsMap.is ? isReservedTag(el.attrsMap.is) : isReservedTag(el.tag)));\n  };\n  transforms = pluckModuleFunction(options.modules, 'transformNode');\n  preTransforms = pluckModuleFunction(options.modules, 'preTransformNode');\n  postTransforms = pluckModuleFunction(options.modules, 'postTransformNode');\n  delimiters = options.delimiters;\n  var stack = [];\n  var preserveWhitespace = options.preserveWhitespace !== false;\n  var whitespaceOption = options.whitespace;\n  var root;\n  var currentParent;\n  var inVPre = false;\n  var inPre = false;\n  var warned = false;\n  function warnOnce(msg, range) {\n    if (!warned) {\n      warned = true;\n      warn(msg, range);\n    }\n  }\n  function closeElement(element) {\n    trimEndingWhitespace(element);\n    if (!inVPre && !element.processed) {\n      element = processElement(element, options);\n    }\n    // tree management\n    if (!stack.length && element !== root) {\n      // allow root elements with v-if, v-else-if and v-else\n      if (root.if && (element.elseif || element.else)) {\n        if (true) {\n          checkRootConstraints(element);\n        }\n        addIfCondition(root, {\n          exp: element.elseif,\n          block: element\n        });\n      } else if (true) {\n        warnOnce(\"Component template should contain exactly one root element. \" + \"If you are using v-if on multiple elements, \" + \"use v-else-if to chain them instead.\", {\n          start: element.start\n        });\n      }\n    }\n    if (currentParent && !element.forbidden) {\n      if (element.elseif || element.else) {\n        processIfConditions(element, currentParent);\n      } else {\n        if (element.slotScope) {\n          // scoped slot\n          // keep it in the children list so that v-else(-if) conditions can\n          // find it as the prev node.\n          var name_1 = element.slotTarget || '\"default\"';\n          (currentParent.scopedSlots || (currentParent.scopedSlots = {}))[name_1] = element;\n        }\n        currentParent.children.push(element);\n        element.parent = currentParent;\n      }\n    }\n    // final children cleanup\n    // filter out scoped slots\n    element.children = element.children.filter(function (c) {\n      return !c.slotScope;\n    });\n    // remove trailing whitespace node again\n    trimEndingWhitespace(element);\n    // check pre state\n    if (element.pre) {\n      inVPre = false;\n    }\n    if (platformIsPreTag(element.tag)) {\n      inPre = false;\n    }\n    // apply post-transforms\n    for (var i = 0; i < postTransforms.length; i++) {\n      postTransforms[i](element, options);\n    }\n  }\n  function trimEndingWhitespace(el) {\n    // remove trailing whitespace node\n    if (!inPre) {\n      var lastNode = void 0;\n      while ((lastNode = el.children[el.children.length - 1]) && lastNode.type === 3 && lastNode.text === ' ') {\n        el.children.pop();\n      }\n    }\n  }\n  function checkRootConstraints(el) {\n    if (el.tag === 'slot' || el.tag === 'template') {\n      warnOnce(\"Cannot use <\".concat(el.tag, \"> as component root element because it may \") + 'contain multiple nodes.', {\n        start: el.start\n      });\n    }\n    if (el.attrsMap.hasOwnProperty('v-for')) {\n      warnOnce('Cannot use v-for on stateful component root element because ' + 'it renders multiple elements.', el.rawAttrsMap['v-for']);\n    }\n  }\n  parseHTML(template, {\n    warn: warn,\n    expectHTML: options.expectHTML,\n    isUnaryTag: options.isUnaryTag,\n    canBeLeftOpenTag: options.canBeLeftOpenTag,\n    shouldDecodeNewlines: options.shouldDecodeNewlines,\n    shouldDecodeNewlinesForHref: options.shouldDecodeNewlinesForHref,\n    shouldKeepComment: options.comments,\n    outputSourceRange: options.outputSourceRange,\n    start: function start(tag, attrs, unary, _start, end) {\n      // check namespace.\n      // inherit parent ns if there is one\n      var ns = currentParent && currentParent.ns || platformGetTagNamespace(tag);\n      // handle IE svg bug\n      /* istanbul ignore if */\n      if (isIE && ns === 'svg') {\n        attrs = guardIESVGBug(attrs);\n      }\n      var element = createASTElement(tag, attrs, currentParent);\n      if (ns) {\n        element.ns = ns;\n      }\n      if (true) {\n        if (options.outputSourceRange) {\n          element.start = _start;\n          element.end = end;\n          element.rawAttrsMap = element.attrsList.reduce(function (cumulated, attr) {\n            cumulated[attr.name] = attr;\n            return cumulated;\n          }, {});\n        }\n        attrs.forEach(function (attr) {\n          if (invalidAttributeRE.test(attr.name)) {\n            warn(\"Invalid dynamic argument expression: attribute names cannot contain \" + \"spaces, quotes, <, >, / or =.\", options.outputSourceRange ? {\n              start: attr.start + attr.name.indexOf(\"[\"),\n              end: attr.start + attr.name.length\n            } : undefined);\n          }\n        });\n      }\n      if (isForbiddenTag(element) && !isServerRendering()) {\n        element.forbidden = true;\n         true && warn('Templates should only be responsible for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + \"<\".concat(tag, \">\") + ', as they will not be parsed.', {\n          start: element.start\n        });\n      }\n      // apply pre-transforms\n      for (var i = 0; i < preTransforms.length; i++) {\n        element = preTransforms[i](element, options) || element;\n      }\n      if (!inVPre) {\n        processPre(element);\n        if (element.pre) {\n          inVPre = true;\n        }\n      }\n      if (platformIsPreTag(element.tag)) {\n        inPre = true;\n      }\n      if (inVPre) {\n        processRawAttrs(element);\n      } else if (!element.processed) {\n        // structural directives\n        processFor(element);\n        processIf(element);\n        processOnce(element);\n      }\n      if (!root) {\n        root = element;\n        if (true) {\n          checkRootConstraints(root);\n        }\n      }\n      if (!unary) {\n        currentParent = element;\n        stack.push(element);\n      } else {\n        closeElement(element);\n      }\n    },\n    end: function end(tag, start, _end) {\n      var element = stack[stack.length - 1];\n      // pop stack\n      stack.length -= 1;\n      currentParent = stack[stack.length - 1];\n      if ( true && options.outputSourceRange) {\n        element.end = _end;\n      }\n      closeElement(element);\n    },\n    chars: function chars(text, start, end) {\n      if (!currentParent) {\n        if (true) {\n          if (text === template) {\n            warnOnce('Component template requires a root element, rather than just text.', {\n              start: start\n            });\n          } else if (text = text.trim()) {\n            warnOnce(\"text \\\"\".concat(text, \"\\\" outside root element will be ignored.\"), {\n              start: start\n            });\n          }\n        }\n        return;\n      }\n      // IE textarea placeholder bug\n      /* istanbul ignore if */\n      if (isIE && currentParent.tag === 'textarea' && currentParent.attrsMap.placeholder === text) {\n        return;\n      }\n      var children = currentParent.children;\n      if (inPre || text.trim()) {\n        text = isTextTag(currentParent) ? text : decodeHTMLCached(text);\n      } else if (!children.length) {\n        // remove the whitespace-only node right after an opening tag\n        text = '';\n      } else if (whitespaceOption) {\n        if (whitespaceOption === 'condense') {\n          // in condense mode, remove the whitespace node if it contains\n          // line break, otherwise condense to a single space\n          text = lineBreakRE.test(text) ? '' : ' ';\n        } else {\n          text = ' ';\n        }\n      } else {\n        text = preserveWhitespace ? ' ' : '';\n      }\n      if (text) {\n        if (!inPre && whitespaceOption === 'condense') {\n          // condense consecutive whitespaces into single space\n          text = text.replace(whitespaceRE, ' ');\n        }\n        var res = void 0;\n        var child = void 0;\n        if (!inVPre && text !== ' ' && (res = parseText(text, delimiters))) {\n          child = {\n            type: 2,\n            expression: res.expression,\n            tokens: res.tokens,\n            text: text\n          };\n        } else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') {\n          child = {\n            type: 3,\n            text: text\n          };\n        }\n        if (child) {\n          if ( true && options.outputSourceRange) {\n            child.start = start;\n            child.end = end;\n          }\n          children.push(child);\n        }\n      }\n    },\n    comment: function comment(text, start, end) {\n      // adding anything as a sibling to the root node is forbidden\n      // comments should still be allowed, but ignored\n      if (currentParent) {\n        var child = {\n          type: 3,\n          text: text,\n          isComment: true\n        };\n        if ( true && options.outputSourceRange) {\n          child.start = start;\n          child.end = end;\n        }\n        currentParent.children.push(child);\n      }\n    }\n  });\n  return root;\n}\nfunction processPre(el) {\n  if (getAndRemoveAttr(el, 'v-pre') != null) {\n    el.pre = true;\n  }\n}\nfunction processRawAttrs(el) {\n  var list = el.attrsList;\n  var len = list.length;\n  if (len) {\n    var attrs = el.attrs = new Array(len);\n    for (var i = 0; i < len; i++) {\n      attrs[i] = {\n        name: list[i].name,\n        value: JSON.stringify(list[i].value)\n      };\n      if (list[i].start != null) {\n        attrs[i].start = list[i].start;\n        attrs[i].end = list[i].end;\n      }\n    }\n  } else if (!el.pre) {\n    // non root node in pre blocks with no attributes\n    el.plain = true;\n  }\n}\nfunction processElement(element, options) {\n  processKey(element);\n  // determine whether this is a plain element after\n  // removing structural attributes\n  element.plain = !element.key && !element.scopedSlots && !element.attrsList.length;\n  processRef(element);\n  processSlotContent(element);\n  processSlotOutlet(element);\n  processComponent(element);\n  for (var i = 0; i < transforms.length; i++) {\n    element = transforms[i](element, options) || element;\n  }\n  processAttrs(element);\n  return element;\n}\nfunction processKey(el) {\n  var exp = getBindingAttr(el, 'key');\n  if (exp) {\n    if (true) {\n      if (el.tag === 'template') {\n        warn(\"<template> cannot be keyed. Place the key on real elements instead.\", getRawBindingAttr(el, 'key'));\n      }\n      if (el.for) {\n        var iterator = el.iterator2 || el.iterator1;\n        var parent_1 = el.parent;\n        if (iterator && iterator === exp && parent_1 && parent_1.tag === 'transition-group') {\n          warn(\"Do not use v-for index as key on <transition-group> children, \" + \"this is the same as not using keys.\", getRawBindingAttr(el, 'key'), true /* tip */);\n        }\n      }\n    }\n\n    el.key = exp;\n  }\n}\nfunction processRef(el) {\n  var ref = getBindingAttr(el, 'ref');\n  if (ref) {\n    el.ref = ref;\n    el.refInFor = checkInFor(el);\n  }\n}\nfunction processFor(el) {\n  var exp;\n  if (exp = getAndRemoveAttr(el, 'v-for')) {\n    var res = parseFor(exp);\n    if (res) {\n      extend(el, res);\n    } else if (true) {\n      warn(\"Invalid v-for expression: \".concat(exp), el.rawAttrsMap['v-for']);\n    }\n  }\n}\nfunction parseFor(exp) {\n  var inMatch = exp.match(forAliasRE);\n  if (!inMatch) return;\n  var res = {};\n  res.for = inMatch[2].trim();\n  var alias = inMatch[1].trim().replace(stripParensRE, '');\n  var iteratorMatch = alias.match(forIteratorRE);\n  if (iteratorMatch) {\n    res.alias = alias.replace(forIteratorRE, '').trim();\n    res.iterator1 = iteratorMatch[1].trim();\n    if (iteratorMatch[2]) {\n      res.iterator2 = iteratorMatch[2].trim();\n    }\n  } else {\n    res.alias = alias;\n  }\n  return res;\n}\nfunction processIf(el) {\n  var exp = getAndRemoveAttr(el, 'v-if');\n  if (exp) {\n    el.if = exp;\n    addIfCondition(el, {\n      exp: exp,\n      block: el\n    });\n  } else {\n    if (getAndRemoveAttr(el, 'v-else') != null) {\n      el.else = true;\n    }\n    var elseif = getAndRemoveAttr(el, 'v-else-if');\n    if (elseif) {\n      el.elseif = elseif;\n    }\n  }\n}\nfunction processIfConditions(el, parent) {\n  var prev = findPrevElement(parent.children);\n  if (prev && prev.if) {\n    addIfCondition(prev, {\n      exp: el.elseif,\n      block: el\n    });\n  } else if (true) {\n    warn(\"v-\".concat(el.elseif ? 'else-if=\"' + el.elseif + '\"' : 'else', \" \") + \"used on element <\".concat(el.tag, \"> without corresponding v-if.\"), el.rawAttrsMap[el.elseif ? 'v-else-if' : 'v-else']);\n  }\n}\nfunction findPrevElement(children) {\n  var i = children.length;\n  while (i--) {\n    if (children[i].type === 1) {\n      return children[i];\n    } else {\n      if ( true && children[i].text !== ' ') {\n        warn(\"text \\\"\".concat(children[i].text.trim(), \"\\\" between v-if and v-else(-if) \") + \"will be ignored.\", children[i]);\n      }\n      children.pop();\n    }\n  }\n}\nfunction addIfCondition(el, condition) {\n  if (!el.ifConditions) {\n    el.ifConditions = [];\n  }\n  el.ifConditions.push(condition);\n}\nfunction processOnce(el) {\n  var once = getAndRemoveAttr(el, 'v-once');\n  if (once != null) {\n    el.once = true;\n  }\n}\n// handle content being passed to a component as slot,\n// e.g. <template slot=\"xxx\">, <div slot-scope=\"xxx\">\nfunction processSlotContent(el) {\n  var slotScope;\n  if (el.tag === 'template') {\n    slotScope = getAndRemoveAttr(el, 'scope');\n    /* istanbul ignore if */\n    if ( true && slotScope) {\n      warn(\"the \\\"scope\\\" attribute for scoped slots have been deprecated and \" + \"replaced by \\\"slot-scope\\\" since 2.5. The new \\\"slot-scope\\\" attribute \" + \"can also be used on plain elements in addition to <template> to \" + \"denote scoped slots.\", el.rawAttrsMap['scope'], true);\n    }\n    el.slotScope = slotScope || getAndRemoveAttr(el, 'slot-scope');\n  } else if (slotScope = getAndRemoveAttr(el, 'slot-scope')) {\n    /* istanbul ignore if */\n    if ( true && el.attrsMap['v-for']) {\n      warn(\"Ambiguous combined usage of slot-scope and v-for on <\".concat(el.tag, \"> \") + \"(v-for takes higher priority). Use a wrapper <template> for the \" + \"scoped slot to make it clearer.\", el.rawAttrsMap['slot-scope'], true);\n    }\n    el.slotScope = slotScope;\n  }\n  // slot=\"xxx\"\n  var slotTarget = getBindingAttr(el, 'slot');\n  if (slotTarget) {\n    el.slotTarget = slotTarget === '\"\"' ? '\"default\"' : slotTarget;\n    el.slotTargetDynamic = !!(el.attrsMap[':slot'] || el.attrsMap['v-bind:slot']);\n    // preserve slot as an attribute for native shadow DOM compat\n    // only for non-scoped slots.\n    if (el.tag !== 'template' && !el.slotScope) {\n      addAttr(el, 'slot', slotTarget, getRawBindingAttr(el, 'slot'));\n    }\n  }\n  // 2.6 v-slot syntax\n  {\n    if (el.tag === 'template') {\n      // v-slot on <template>\n      var slotBinding = getAndRemoveAttrByRegex(el, slotRE);\n      if (slotBinding) {\n        if (true) {\n          if (el.slotTarget || el.slotScope) {\n            warn(\"Unexpected mixed usage of different slot syntaxes.\", el);\n          }\n          if (el.parent && !maybeComponent(el.parent)) {\n            warn(\"<template v-slot> can only appear at the root level inside \" + \"the receiving component\", el);\n          }\n        }\n        var _a = getSlotName(slotBinding),\n          name_2 = _a.name,\n          dynamic = _a.dynamic;\n        el.slotTarget = name_2;\n        el.slotTargetDynamic = dynamic;\n        el.slotScope = slotBinding.value || emptySlotScopeToken; // force it into a scoped slot for perf\n      }\n    } else {\n      // v-slot on component, denotes default slot\n      var slotBinding = getAndRemoveAttrByRegex(el, slotRE);\n      if (slotBinding) {\n        if (true) {\n          if (!maybeComponent(el)) {\n            warn(\"v-slot can only be used on components or <template>.\", slotBinding);\n          }\n          if (el.slotScope || el.slotTarget) {\n            warn(\"Unexpected mixed usage of different slot syntaxes.\", el);\n          }\n          if (el.scopedSlots) {\n            warn(\"To avoid scope ambiguity, the default slot should also use \" + \"<template> syntax when there are other named slots.\", slotBinding);\n          }\n        }\n        // add the component's children to its default slot\n        var slots = el.scopedSlots || (el.scopedSlots = {});\n        var _b = getSlotName(slotBinding),\n          name_3 = _b.name,\n          dynamic = _b.dynamic;\n        var slotContainer_1 = slots[name_3] = createASTElement('template', [], el);\n        slotContainer_1.slotTarget = name_3;\n        slotContainer_1.slotTargetDynamic = dynamic;\n        slotContainer_1.children = el.children.filter(function (c) {\n          if (!c.slotScope) {\n            c.parent = slotContainer_1;\n            return true;\n          }\n        });\n        slotContainer_1.slotScope = slotBinding.value || emptySlotScopeToken;\n        // remove children as they are returned from scopedSlots now\n        el.children = [];\n        // mark el non-plain so data gets generated\n        el.plain = false;\n      }\n    }\n  }\n}\nfunction getSlotName(binding) {\n  var name = binding.name.replace(slotRE, '');\n  if (!name) {\n    if (binding.name[0] !== '#') {\n      name = 'default';\n    } else if (true) {\n      warn(\"v-slot shorthand syntax requires a slot name.\", binding);\n    }\n  }\n  return dynamicArgRE.test(name) ?\n  // dynamic [name]\n  {\n    name: name.slice(1, -1),\n    dynamic: true\n  } :\n  // static name\n  {\n    name: \"\\\"\".concat(name, \"\\\"\"),\n    dynamic: false\n  };\n}\n// handle <slot/> outlets\nfunction processSlotOutlet(el) {\n  if (el.tag === 'slot') {\n    el.slotName = getBindingAttr(el, 'name');\n    if ( true && el.key) {\n      warn(\"`key` does not work on <slot> because slots are abstract outlets \" + \"and can possibly expand into multiple elements. \" + \"Use the key on a wrapping element instead.\", getRawBindingAttr(el, 'key'));\n    }\n  }\n}\nfunction processComponent(el) {\n  var binding;\n  if (binding = getBindingAttr(el, 'is')) {\n    el.component = binding;\n  }\n  if (getAndRemoveAttr(el, 'inline-template') != null) {\n    el.inlineTemplate = true;\n  }\n}\nfunction processAttrs(el) {\n  var list = el.attrsList;\n  var i, l, name, rawName, value, modifiers, syncGen, isDynamic;\n  for (i = 0, l = list.length; i < l; i++) {\n    name = rawName = list[i].name;\n    value = list[i].value;\n    if (dirRE.test(name)) {\n      // mark element as dynamic\n      el.hasBindings = true;\n      // modifiers\n      modifiers = parseModifiers(name.replace(dirRE, ''));\n      // support .foo shorthand syntax for the .prop modifier\n      if (modifiers) {\n        name = name.replace(modifierRE, '');\n      }\n      if (bindRE.test(name)) {\n        // v-bind\n        name = name.replace(bindRE, '');\n        value = parseFilters(value);\n        isDynamic = dynamicArgRE.test(name);\n        if (isDynamic) {\n          name = name.slice(1, -1);\n        }\n        if ( true && value.trim().length === 0) {\n          warn(\"The value for a v-bind expression cannot be empty. Found in \\\"v-bind:\".concat(name, \"\\\"\"));\n        }\n        if (modifiers) {\n          if (modifiers.prop && !isDynamic) {\n            name = camelize(name);\n            if (name === 'innerHtml') name = 'innerHTML';\n          }\n          if (modifiers.camel && !isDynamic) {\n            name = camelize(name);\n          }\n          if (modifiers.sync) {\n            syncGen = genAssignmentCode(value, \"$event\");\n            if (!isDynamic) {\n              addHandler(el, \"update:\".concat(camelize(name)), syncGen, null, false, warn, list[i]);\n              if (hyphenate(name) !== camelize(name)) {\n                addHandler(el, \"update:\".concat(hyphenate(name)), syncGen, null, false, warn, list[i]);\n              }\n            } else {\n              // handler w/ dynamic event name\n              addHandler(el, \"\\\"update:\\\"+(\".concat(name, \")\"), syncGen, null, false, warn, list[i], true // dynamic\n              );\n            }\n          }\n        }\n\n        if (modifiers && modifiers.prop || !el.component && platformMustUseProp(el.tag, el.attrsMap.type, name)) {\n          addProp(el, name, value, list[i], isDynamic);\n        } else {\n          addAttr(el, name, value, list[i], isDynamic);\n        }\n      } else if (onRE.test(name)) {\n        // v-on\n        name = name.replace(onRE, '');\n        isDynamic = dynamicArgRE.test(name);\n        if (isDynamic) {\n          name = name.slice(1, -1);\n        }\n        addHandler(el, name, value, modifiers, false, warn, list[i], isDynamic);\n      } else {\n        // normal directives\n        name = name.replace(dirRE, '');\n        // parse arg\n        var argMatch = name.match(argRE);\n        var arg = argMatch && argMatch[1];\n        isDynamic = false;\n        if (arg) {\n          name = name.slice(0, -(arg.length + 1));\n          if (dynamicArgRE.test(arg)) {\n            arg = arg.slice(1, -1);\n            isDynamic = true;\n          }\n        }\n        addDirective(el, name, rawName, value, arg, isDynamic, modifiers, list[i]);\n        if ( true && name === 'model') {\n          checkForAliasModel(el, value);\n        }\n      }\n    } else {\n      // literal attribute\n      if (true) {\n        var res = parseText(value, delimiters);\n        if (res) {\n          warn(\"\".concat(name, \"=\\\"\").concat(value, \"\\\": \") + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div id=\"{{ val }}\">, use <div :id=\"val\">.', list[i]);\n        }\n      }\n      addAttr(el, name, JSON.stringify(value), list[i]);\n      // #6887 firefox doesn't update muted state if set via attribute\n      // even immediately after element creation\n      if (!el.component && name === 'muted' && platformMustUseProp(el.tag, el.attrsMap.type, name)) {\n        addProp(el, name, 'true', list[i]);\n      }\n    }\n  }\n}\nfunction checkInFor(el) {\n  var parent = el;\n  while (parent) {\n    if (parent.for !== undefined) {\n      return true;\n    }\n    parent = parent.parent;\n  }\n  return false;\n}\nfunction parseModifiers(name) {\n  var match = name.match(modifierRE);\n  if (match) {\n    var ret_1 = {};\n    match.forEach(function (m) {\n      ret_1[m.slice(1)] = true;\n    });\n    return ret_1;\n  }\n}\nfunction makeAttrsMap(attrs) {\n  var map = {};\n  for (var i = 0, l = attrs.length; i < l; i++) {\n    if ( true && map[attrs[i].name] && !isIE && !isEdge) {\n      warn('duplicate attribute: ' + attrs[i].name, attrs[i]);\n    }\n    map[attrs[i].name] = attrs[i].value;\n  }\n  return map;\n}\n// for script (e.g. type=\"x/template\") or style, do not decode content\nfunction isTextTag(el) {\n  return el.tag === 'script' || el.tag === 'style';\n}\nfunction isForbiddenTag(el) {\n  return el.tag === 'style' || el.tag === 'script' && (!el.attrsMap.type || el.attrsMap.type === 'text/javascript');\n}\nvar ieNSBug = /^xmlns:NS\\d+/;\nvar ieNSPrefix = /^NS\\d+:/;\n/* istanbul ignore next */\nfunction guardIESVGBug(attrs) {\n  var res = [];\n  for (var i = 0; i < attrs.length; i++) {\n    var attr = attrs[i];\n    if (!ieNSBug.test(attr.name)) {\n      attr.name = attr.name.replace(ieNSPrefix, '');\n      res.push(attr);\n    }\n  }\n  return res;\n}\nfunction checkForAliasModel(el, value) {\n  var _el = el;\n  while (_el) {\n    if (_el.for && _el.alias === value) {\n      warn(\"<\".concat(el.tag, \" v-model=\\\"\").concat(value, \"\\\">: \") + \"You are binding v-model directly to a v-for iteration alias. \" + \"This will not be able to modify the v-for source array because \" + \"writing to the alias is like modifying a function local variable. \" + \"Consider using an array of objects and use v-model on an object property instead.\", el.rawAttrsMap['v-model']);\n    }\n    _el = _el.parent;\n  }\n}\n\n/**\n * Expand input[v-model] with dynamic type bindings into v-if-else chains\n * Turn this:\n *   <input v-model=\"data[type]\" :type=\"type\">\n * into this:\n *   <input v-if=\"type === 'checkbox'\" type=\"checkbox\" v-model=\"data[type]\">\n *   <input v-else-if=\"type === 'radio'\" type=\"radio\" v-model=\"data[type]\">\n *   <input v-else :type=\"type\" v-model=\"data[type]\">\n */\nfunction preTransformNode(el, options) {\n  if (el.tag === 'input') {\n    var map = el.attrsMap;\n    if (!map['v-model']) {\n      return;\n    }\n    var typeBinding = void 0;\n    if (map[':type'] || map['v-bind:type']) {\n      typeBinding = getBindingAttr(el, 'type');\n    }\n    if (!map.type && !typeBinding && map['v-bind']) {\n      typeBinding = \"(\".concat(map['v-bind'], \").type\");\n    }\n    if (typeBinding) {\n      var ifCondition = getAndRemoveAttr(el, 'v-if', true);\n      var ifConditionExtra = ifCondition ? \"&&(\".concat(ifCondition, \")\") : \"\";\n      var hasElse = getAndRemoveAttr(el, 'v-else', true) != null;\n      var elseIfCondition = getAndRemoveAttr(el, 'v-else-if', true);\n      // 1. checkbox\n      var branch0 = cloneASTElement(el);\n      // process for on the main node\n      processFor(branch0);\n      addRawAttr(branch0, 'type', 'checkbox');\n      processElement(branch0, options);\n      branch0.processed = true; // prevent it from double-processed\n      branch0.if = \"(\".concat(typeBinding, \")==='checkbox'\") + ifConditionExtra;\n      addIfCondition(branch0, {\n        exp: branch0.if,\n        block: branch0\n      });\n      // 2. add radio else-if condition\n      var branch1 = cloneASTElement(el);\n      getAndRemoveAttr(branch1, 'v-for', true);\n      addRawAttr(branch1, 'type', 'radio');\n      processElement(branch1, options);\n      addIfCondition(branch0, {\n        exp: \"(\".concat(typeBinding, \")==='radio'\") + ifConditionExtra,\n        block: branch1\n      });\n      // 3. other\n      var branch2 = cloneASTElement(el);\n      getAndRemoveAttr(branch2, 'v-for', true);\n      addRawAttr(branch2, ':type', typeBinding);\n      processElement(branch2, options);\n      addIfCondition(branch0, {\n        exp: ifCondition,\n        block: branch2\n      });\n      if (hasElse) {\n        branch0.else = true;\n      } else if (elseIfCondition) {\n        branch0.elseif = elseIfCondition;\n      }\n      return branch0;\n    }\n  }\n}\nfunction cloneASTElement(el) {\n  return createASTElement(el.tag, el.attrsList.slice(), el.parent);\n}\nvar model = {\n  preTransformNode: preTransformNode\n};\nvar modules = [klass, style, model];\nfunction text(el, dir) {\n  if (dir.value) {\n    addProp(el, 'textContent', \"_s(\".concat(dir.value, \")\"), dir);\n  }\n}\nfunction html(el, dir) {\n  if (dir.value) {\n    addProp(el, 'innerHTML', \"_s(\".concat(dir.value, \")\"), dir);\n  }\n}\nvar directives = {\n  model: model$1,\n  text: text,\n  html: html\n};\nvar baseOptions = {\n  expectHTML: true,\n  modules: modules,\n  directives: directives,\n  isPreTag: isPreTag,\n  isUnaryTag: isUnaryTag,\n  mustUseProp: mustUseProp,\n  canBeLeftOpenTag: canBeLeftOpenTag,\n  isReservedTag: isReservedTag,\n  getTagNamespace: getTagNamespace,\n  staticKeys: genStaticKeys$1(modules)\n};\nvar isStaticKey;\nvar isPlatformReservedTag;\nvar genStaticKeysCached = cached(genStaticKeys);\n/**\n * Goal of the optimizer: walk the generated template AST tree\n * and detect sub-trees that are purely static, i.e. parts of\n * the DOM that never needs to change.\n *\n * Once we detect these sub-trees, we can:\n *\n * 1. Hoist them into constants, so that we no longer need to\n *    create fresh nodes for them on each re-render;\n * 2. Completely skip them in the patching process.\n */\nfunction optimize(root, options) {\n  if (!root) return;\n  isStaticKey = genStaticKeysCached(options.staticKeys || '');\n  isPlatformReservedTag = options.isReservedTag || no;\n  // first pass: mark all non-static nodes.\n  markStatic(root);\n  // second pass: mark static roots.\n  markStaticRoots(root, false);\n}\nfunction genStaticKeys(keys) {\n  return makeMap('type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap' + (keys ? ',' + keys : ''));\n}\nfunction markStatic(node) {\n  node.static = isStatic(node);\n  if (node.type === 1) {\n    // do not make component slot content static. this avoids\n    // 1. components not able to mutate slot nodes\n    // 2. static slot content fails for hot-reloading\n    if (!isPlatformReservedTag(node.tag) && node.tag !== 'slot' && node.attrsMap['inline-template'] == null) {\n      return;\n    }\n    for (var i = 0, l = node.children.length; i < l; i++) {\n      var child = node.children[i];\n      markStatic(child);\n      if (!child.static) {\n        node.static = false;\n      }\n    }\n    if (node.ifConditions) {\n      for (var i = 1, l = node.ifConditions.length; i < l; i++) {\n        var block = node.ifConditions[i].block;\n        markStatic(block);\n        if (!block.static) {\n          node.static = false;\n        }\n      }\n    }\n  }\n}\nfunction markStaticRoots(node, isInFor) {\n  if (node.type === 1) {\n    if (node.static || node.once) {\n      node.staticInFor = isInFor;\n    }\n    // For a node to qualify as a static root, it should have children that\n    // are not just static text. Otherwise the cost of hoisting out will\n    // outweigh the benefits and it's better off to just always render it fresh.\n    if (node.static && node.children.length && !(node.children.length === 1 && node.children[0].type === 3)) {\n      node.staticRoot = true;\n      return;\n    } else {\n      node.staticRoot = false;\n    }\n    if (node.children) {\n      for (var i = 0, l = node.children.length; i < l; i++) {\n        markStaticRoots(node.children[i], isInFor || !!node.for);\n      }\n    }\n    if (node.ifConditions) {\n      for (var i = 1, l = node.ifConditions.length; i < l; i++) {\n        markStaticRoots(node.ifConditions[i].block, isInFor);\n      }\n    }\n  }\n}\nfunction isStatic(node) {\n  if (node.type === 2) {\n    // expression\n    return false;\n  }\n  if (node.type === 3) {\n    // text\n    return true;\n  }\n  return !!(node.pre || !node.hasBindings &&\n  // no dynamic bindings\n  !node.if && !node.for &&\n  // not v-if or v-for or v-else\n  !isBuiltInTag(node.tag) &&\n  // not a built-in\n  isPlatformReservedTag(node.tag) &&\n  // not a component\n  !isDirectChildOfTemplateFor(node) && Object.keys(node).every(isStaticKey));\n}\nfunction isDirectChildOfTemplateFor(node) {\n  while (node.parent) {\n    node = node.parent;\n    if (node.tag !== 'template') {\n      return false;\n    }\n    if (node.for) {\n      return true;\n    }\n  }\n  return false;\n}\nvar fnExpRE = /^([\\w$_]+|\\([^)]*?\\))\\s*=>|^function(?:\\s+[\\w$]+)?\\s*\\(/;\nvar fnInvokeRE = /\\([^)]*?\\);*$/;\nvar simplePathRE = /^[A-Za-z_$][\\w$]*(?:\\.[A-Za-z_$][\\w$]*|\\['[^']*?']|\\[\"[^\"]*?\"]|\\[\\d+]|\\[[A-Za-z_$][\\w$]*])*$/;\n// KeyboardEvent.keyCode aliases\nvar keyCodes = {\n  esc: 27,\n  tab: 9,\n  enter: 13,\n  space: 32,\n  up: 38,\n  left: 37,\n  right: 39,\n  down: 40,\n  delete: [8, 46]\n};\n// KeyboardEvent.key aliases\nvar keyNames = {\n  // #7880: IE11 and Edge use `Esc` for Escape key name.\n  esc: ['Esc', 'Escape'],\n  tab: 'Tab',\n  enter: 'Enter',\n  // #9112: IE11 uses `Spacebar` for Space key name.\n  space: [' ', 'Spacebar'],\n  // #7806: IE11 uses key names without `Arrow` prefix for arrow keys.\n  up: ['Up', 'ArrowUp'],\n  left: ['Left', 'ArrowLeft'],\n  right: ['Right', 'ArrowRight'],\n  down: ['Down', 'ArrowDown'],\n  // #9112: IE11 uses `Del` for Delete key name.\n  delete: ['Backspace', 'Delete', 'Del']\n};\n// #4868: modifiers that prevent the execution of the listener\n// need to explicitly return null so that we can determine whether to remove\n// the listener for .once\nvar genGuard = function genGuard(condition) {\n  return \"if(\".concat(condition, \")return null;\");\n};\nvar modifierCode = {\n  stop: '$event.stopPropagation();',\n  prevent: '$event.preventDefault();',\n  self: genGuard(\"$event.target !== $event.currentTarget\"),\n  ctrl: genGuard(\"!$event.ctrlKey\"),\n  shift: genGuard(\"!$event.shiftKey\"),\n  alt: genGuard(\"!$event.altKey\"),\n  meta: genGuard(\"!$event.metaKey\"),\n  left: genGuard(\"'button' in $event && $event.button !== 0\"),\n  middle: genGuard(\"'button' in $event && $event.button !== 1\"),\n  right: genGuard(\"'button' in $event && $event.button !== 2\")\n};\nfunction genHandlers(events, isNative) {\n  var prefix = isNative ? 'nativeOn:' : 'on:';\n  var staticHandlers = \"\";\n  var dynamicHandlers = \"\";\n  for (var name_1 in events) {\n    var handlerCode = genHandler(events[name_1]);\n    //@ts-expect-error\n    if (events[name_1] && events[name_1].dynamic) {\n      dynamicHandlers += \"\".concat(name_1, \",\").concat(handlerCode, \",\");\n    } else {\n      staticHandlers += \"\\\"\".concat(name_1, \"\\\":\").concat(handlerCode, \",\");\n    }\n  }\n  staticHandlers = \"{\".concat(staticHandlers.slice(0, -1), \"}\");\n  if (dynamicHandlers) {\n    return prefix + \"_d(\".concat(staticHandlers, \",[\").concat(dynamicHandlers.slice(0, -1), \"])\");\n  } else {\n    return prefix + staticHandlers;\n  }\n}\nfunction genHandler(handler) {\n  if (!handler) {\n    return 'function(){}';\n  }\n  if (Array.isArray(handler)) {\n    return \"[\".concat(handler.map(function (handler) {\n      return genHandler(handler);\n    }).join(','), \"]\");\n  }\n  var isMethodPath = simplePathRE.test(handler.value);\n  var isFunctionExpression = fnExpRE.test(handler.value);\n  var isFunctionInvocation = simplePathRE.test(handler.value.replace(fnInvokeRE, ''));\n  if (!handler.modifiers) {\n    if (isMethodPath || isFunctionExpression) {\n      return handler.value;\n    }\n    return \"function($event){\".concat(isFunctionInvocation ? \"return \".concat(handler.value) : handler.value, \"}\"); // inline statement\n  } else {\n    var code = '';\n    var genModifierCode = '';\n    var keys = [];\n    var _loop_1 = function _loop_1(key) {\n      if (modifierCode[key]) {\n        genModifierCode += modifierCode[key];\n        // left/right\n        if (keyCodes[key]) {\n          keys.push(key);\n        }\n      } else if (key === 'exact') {\n        var modifiers_1 = handler.modifiers;\n        genModifierCode += genGuard(['ctrl', 'shift', 'alt', 'meta'].filter(function (keyModifier) {\n          return !modifiers_1[keyModifier];\n        }).map(function (keyModifier) {\n          return \"$event.\".concat(keyModifier, \"Key\");\n        }).join('||'));\n      } else {\n        keys.push(key);\n      }\n    };\n    for (var key in handler.modifiers) {\n      _loop_1(key);\n    }\n    if (keys.length) {\n      code += genKeyFilter(keys);\n    }\n    // Make sure modifiers like prevent and stop get executed after key filtering\n    if (genModifierCode) {\n      code += genModifierCode;\n    }\n    var handlerCode = isMethodPath ? \"return \".concat(handler.value, \".apply(null, arguments)\") : isFunctionExpression ? \"return (\".concat(handler.value, \").apply(null, arguments)\") : isFunctionInvocation ? \"return \".concat(handler.value) : handler.value;\n    return \"function($event){\".concat(code).concat(handlerCode, \"}\");\n  }\n}\nfunction genKeyFilter(keys) {\n  return (\n    // make sure the key filters only apply to KeyboardEvents\n    // #9441: can't use 'keyCode' in $event because Chrome autofill fires fake\n    // key events that do not have keyCode property...\n    \"if(!$event.type.indexOf('key')&&\" + \"\".concat(keys.map(genFilterCode).join('&&'), \")return null;\")\n  );\n}\nfunction genFilterCode(key) {\n  var keyVal = parseInt(key, 10);\n  if (keyVal) {\n    return \"$event.keyCode!==\".concat(keyVal);\n  }\n  var keyCode = keyCodes[key];\n  var keyName = keyNames[key];\n  return \"_k($event.keyCode,\" + \"\".concat(JSON.stringify(key), \",\") + \"\".concat(JSON.stringify(keyCode), \",\") + \"$event.key,\" + \"\".concat(JSON.stringify(keyName)) + \")\";\n}\nfunction on(el, dir) {\n  if ( true && dir.modifiers) {\n    warn$2(\"v-on without argument does not support modifiers.\");\n  }\n  el.wrapListeners = function (code) {\n    return \"_g(\".concat(code, \",\").concat(dir.value, \")\");\n  };\n}\nfunction bind(el, dir) {\n  el.wrapData = function (code) {\n    return \"_b(\".concat(code, \",'\").concat(el.tag, \"',\").concat(dir.value, \",\").concat(dir.modifiers && dir.modifiers.prop ? 'true' : 'false').concat(dir.modifiers && dir.modifiers.sync ? ',true' : '', \")\");\n  };\n}\nvar baseDirectives = {\n  on: on,\n  bind: bind,\n  cloak: noop\n};\nvar CodegenState = /** @class */function () {\n  function CodegenState(options) {\n    this.options = options;\n    this.warn = options.warn || baseWarn;\n    this.transforms = pluckModuleFunction(options.modules, 'transformCode');\n    this.dataGenFns = pluckModuleFunction(options.modules, 'genData');\n    this.directives = extend(extend({}, baseDirectives), options.directives);\n    var isReservedTag = options.isReservedTag || no;\n    this.maybeComponent = function (el) {\n      return !!el.component || !isReservedTag(el.tag);\n    };\n    this.onceId = 0;\n    this.staticRenderFns = [];\n    this.pre = false;\n  }\n  return CodegenState;\n}();\nfunction generate(ast, options) {\n  var state = new CodegenState(options);\n  // fix #11483, Root level <script> tags should not be rendered.\n  var code = ast ? ast.tag === 'script' ? 'null' : genElement(ast, state) : '_c(\"div\")';\n  return {\n    render: \"with(this){return \".concat(code, \"}\"),\n    staticRenderFns: state.staticRenderFns\n  };\n}\nfunction genElement(el, state) {\n  if (el.parent) {\n    el.pre = el.pre || el.parent.pre;\n  }\n  if (el.staticRoot && !el.staticProcessed) {\n    return genStatic(el, state);\n  } else if (el.once && !el.onceProcessed) {\n    return genOnce(el, state);\n  } else if (el.for && !el.forProcessed) {\n    return genFor(el, state);\n  } else if (el.if && !el.ifProcessed) {\n    return genIf(el, state);\n  } else if (el.tag === 'template' && !el.slotTarget && !state.pre) {\n    return genChildren(el, state) || 'void 0';\n  } else if (el.tag === 'slot') {\n    return genSlot(el, state);\n  } else {\n    // component or element\n    var code = void 0;\n    if (el.component) {\n      code = genComponent(el.component, el, state);\n    } else {\n      var data = void 0;\n      var maybeComponent = state.maybeComponent(el);\n      if (!el.plain || el.pre && maybeComponent) {\n        data = genData(el, state);\n      }\n      var tag\n      // check if this is a component in <script setup>\n      = void 0;\n      // check if this is a component in <script setup>\n      var bindings = state.options.bindings;\n      if (maybeComponent && bindings && bindings.__isScriptSetup !== false) {\n        tag = checkBindingType(bindings, el.tag);\n      }\n      if (!tag) tag = \"'\".concat(el.tag, \"'\");\n      var children = el.inlineTemplate ? null : genChildren(el, state, true);\n      code = \"_c(\".concat(tag).concat(data ? \",\".concat(data) : '' // data\n      ).concat(children ? \",\".concat(children) : '' // children\n      , \")\");\n    }\n    // module transforms\n    for (var i = 0; i < state.transforms.length; i++) {\n      code = state.transforms[i](el, code);\n    }\n    return code;\n  }\n}\nfunction checkBindingType(bindings, key) {\n  var camelName = camelize(key);\n  var PascalName = capitalize(camelName);\n  var checkType = function checkType(type) {\n    if (bindings[key] === type) {\n      return key;\n    }\n    if (bindings[camelName] === type) {\n      return camelName;\n    }\n    if (bindings[PascalName] === type) {\n      return PascalName;\n    }\n  };\n  var fromConst = checkType(\"setup-const\" /* BindingTypes.SETUP_CONST */) || checkType(\"setup-reactive-const\" /* BindingTypes.SETUP_REACTIVE_CONST */);\n  if (fromConst) {\n    return fromConst;\n  }\n  var fromMaybeRef = checkType(\"setup-let\" /* BindingTypes.SETUP_LET */) || checkType(\"setup-ref\" /* BindingTypes.SETUP_REF */) || checkType(\"setup-maybe-ref\" /* BindingTypes.SETUP_MAYBE_REF */);\n  if (fromMaybeRef) {\n    return fromMaybeRef;\n  }\n}\n// hoist static sub-trees out\nfunction genStatic(el, state) {\n  el.staticProcessed = true;\n  // Some elements (templates) need to behave differently inside of a v-pre\n  // node.  All pre nodes are static roots, so we can use this as a location to\n  // wrap a state change and reset it upon exiting the pre node.\n  var originalPreState = state.pre;\n  if (el.pre) {\n    state.pre = el.pre;\n  }\n  state.staticRenderFns.push(\"with(this){return \".concat(genElement(el, state), \"}\"));\n  state.pre = originalPreState;\n  return \"_m(\".concat(state.staticRenderFns.length - 1).concat(el.staticInFor ? ',true' : '', \")\");\n}\n// v-once\nfunction genOnce(el, state) {\n  el.onceProcessed = true;\n  if (el.if && !el.ifProcessed) {\n    return genIf(el, state);\n  } else if (el.staticInFor) {\n    var key = '';\n    var parent_1 = el.parent;\n    while (parent_1) {\n      if (parent_1.for) {\n        key = parent_1.key;\n        break;\n      }\n      parent_1 = parent_1.parent;\n    }\n    if (!key) {\n       true && state.warn(\"v-once can only be used inside v-for that is keyed. \", el.rawAttrsMap['v-once']);\n      return genElement(el, state);\n    }\n    return \"_o(\".concat(genElement(el, state), \",\").concat(state.onceId++, \",\").concat(key, \")\");\n  } else {\n    return genStatic(el, state);\n  }\n}\nfunction genIf(el, state, altGen, altEmpty) {\n  el.ifProcessed = true; // avoid recursion\n  return genIfConditions(el.ifConditions.slice(), state, altGen, altEmpty);\n}\nfunction genIfConditions(conditions, state, altGen, altEmpty) {\n  if (!conditions.length) {\n    return altEmpty || '_e()';\n  }\n  var condition = conditions.shift();\n  if (condition.exp) {\n    return \"(\".concat(condition.exp, \")?\").concat(genTernaryExp(condition.block), \":\").concat(genIfConditions(conditions, state, altGen, altEmpty));\n  } else {\n    return \"\".concat(genTernaryExp(condition.block));\n  }\n  // v-if with v-once should generate code like (a)?_m(0):_m(1)\n  function genTernaryExp(el) {\n    return altGen ? altGen(el, state) : el.once ? genOnce(el, state) : genElement(el, state);\n  }\n}\nfunction genFor(el, state, altGen, altHelper) {\n  var exp = el.for;\n  var alias = el.alias;\n  var iterator1 = el.iterator1 ? \",\".concat(el.iterator1) : '';\n  var iterator2 = el.iterator2 ? \",\".concat(el.iterator2) : '';\n  if ( true && state.maybeComponent(el) && el.tag !== 'slot' && el.tag !== 'template' && !el.key) {\n    state.warn(\"<\".concat(el.tag, \" v-for=\\\"\").concat(alias, \" in \").concat(exp, \"\\\">: component lists rendered with \") + \"v-for should have explicit keys. \" + \"See https://v2.vuejs.org/v2/guide/list.html#key for more info.\", el.rawAttrsMap['v-for'], true /* tip */);\n  }\n\n  el.forProcessed = true; // avoid recursion\n  return \"\".concat(altHelper || '_l', \"((\").concat(exp, \"),\") + \"function(\".concat(alias).concat(iterator1).concat(iterator2, \"){\") + \"return \".concat((altGen || genElement)(el, state)) + '})';\n}\nfunction genData(el, state) {\n  var data = '{';\n  // directives first.\n  // directives may mutate the el's other properties before they are generated.\n  var dirs = genDirectives(el, state);\n  if (dirs) data += dirs + ',';\n  // key\n  if (el.key) {\n    data += \"key:\".concat(el.key, \",\");\n  }\n  // ref\n  if (el.ref) {\n    data += \"ref:\".concat(el.ref, \",\");\n  }\n  if (el.refInFor) {\n    data += \"refInFor:true,\";\n  }\n  // pre\n  if (el.pre) {\n    data += \"pre:true,\";\n  }\n  // record original tag name for components using \"is\" attribute\n  if (el.component) {\n    data += \"tag:\\\"\".concat(el.tag, \"\\\",\");\n  }\n  // module data generation functions\n  for (var i = 0; i < state.dataGenFns.length; i++) {\n    data += state.dataGenFns[i](el);\n  }\n  // attributes\n  if (el.attrs) {\n    data += \"attrs:\".concat(genProps(el.attrs), \",\");\n  }\n  // DOM props\n  if (el.props) {\n    data += \"domProps:\".concat(genProps(el.props), \",\");\n  }\n  // event handlers\n  if (el.events) {\n    data += \"\".concat(genHandlers(el.events, false), \",\");\n  }\n  if (el.nativeEvents) {\n    data += \"\".concat(genHandlers(el.nativeEvents, true), \",\");\n  }\n  // slot target\n  // only for non-scoped slots\n  if (el.slotTarget && !el.slotScope) {\n    data += \"slot:\".concat(el.slotTarget, \",\");\n  }\n  // scoped slots\n  if (el.scopedSlots) {\n    data += \"\".concat(genScopedSlots(el, el.scopedSlots, state), \",\");\n  }\n  // component v-model\n  if (el.model) {\n    data += \"model:{value:\".concat(el.model.value, \",callback:\").concat(el.model.callback, \",expression:\").concat(el.model.expression, \"},\");\n  }\n  // inline-template\n  if (el.inlineTemplate) {\n    var inlineTemplate = genInlineTemplate(el, state);\n    if (inlineTemplate) {\n      data += \"\".concat(inlineTemplate, \",\");\n    }\n  }\n  data = data.replace(/,$/, '') + '}';\n  // v-bind dynamic argument wrap\n  // v-bind with dynamic arguments must be applied using the same v-bind object\n  // merge helper so that class/style/mustUseProp attrs are handled correctly.\n  if (el.dynamicAttrs) {\n    data = \"_b(\".concat(data, \",\\\"\").concat(el.tag, \"\\\",\").concat(genProps(el.dynamicAttrs), \")\");\n  }\n  // v-bind data wrap\n  if (el.wrapData) {\n    data = el.wrapData(data);\n  }\n  // v-on data wrap\n  if (el.wrapListeners) {\n    data = el.wrapListeners(data);\n  }\n  return data;\n}\nfunction genDirectives(el, state) {\n  var dirs = el.directives;\n  if (!dirs) return;\n  var res = 'directives:[';\n  var hasRuntime = false;\n  var i, l, dir, needRuntime;\n  for (i = 0, l = dirs.length; i < l; i++) {\n    dir = dirs[i];\n    needRuntime = true;\n    var gen = state.directives[dir.name];\n    if (gen) {\n      // compile-time directive that manipulates AST.\n      // returns true if it also needs a runtime counterpart.\n      needRuntime = !!gen(el, dir, state.warn);\n    }\n    if (needRuntime) {\n      hasRuntime = true;\n      res += \"{name:\\\"\".concat(dir.name, \"\\\",rawName:\\\"\").concat(dir.rawName, \"\\\"\").concat(dir.value ? \",value:(\".concat(dir.value, \"),expression:\").concat(JSON.stringify(dir.value)) : '').concat(dir.arg ? \",arg:\".concat(dir.isDynamicArg ? dir.arg : \"\\\"\".concat(dir.arg, \"\\\"\")) : '').concat(dir.modifiers ? \",modifiers:\".concat(JSON.stringify(dir.modifiers)) : '', \"},\");\n    }\n  }\n  if (hasRuntime) {\n    return res.slice(0, -1) + ']';\n  }\n}\nfunction genInlineTemplate(el, state) {\n  var ast = el.children[0];\n  if ( true && (el.children.length !== 1 || ast.type !== 1)) {\n    state.warn('Inline-template components must have exactly one child element.', {\n      start: el.start\n    });\n  }\n  if (ast && ast.type === 1) {\n    var inlineRenderFns = generate(ast, state.options);\n    return \"inlineTemplate:{render:function(){\".concat(inlineRenderFns.render, \"},staticRenderFns:[\").concat(inlineRenderFns.staticRenderFns.map(function (code) {\n      return \"function(){\".concat(code, \"}\");\n    }).join(','), \"]}\");\n  }\n}\nfunction genScopedSlots(el, slots, state) {\n  // by default scoped slots are considered \"stable\", this allows child\n  // components with only scoped slots to skip forced updates from parent.\n  // but in some cases we have to bail-out of this optimization\n  // for example if the slot contains dynamic names, has v-if or v-for on them...\n  var needsForceUpdate = el.for || Object.keys(slots).some(function (key) {\n    var slot = slots[key];\n    return slot.slotTargetDynamic || slot.if || slot.for || containsSlotChild(slot) // is passing down slot from parent which may be dynamic\n    ;\n  });\n  // #9534: if a component with scoped slots is inside a conditional branch,\n  // it's possible for the same component to be reused but with different\n  // compiled slot content. To avoid that, we generate a unique key based on\n  // the generated code of all the slot contents.\n  var needsKey = !!el.if;\n  // OR when it is inside another scoped slot or v-for (the reactivity may be\n  // disconnected due to the intermediate scope variable)\n  // #9438, #9506\n  // TODO: this can be further optimized by properly analyzing in-scope bindings\n  // and skip force updating ones that do not actually use scope variables.\n  if (!needsForceUpdate) {\n    var parent_2 = el.parent;\n    while (parent_2) {\n      if (parent_2.slotScope && parent_2.slotScope !== emptySlotScopeToken || parent_2.for) {\n        needsForceUpdate = true;\n        break;\n      }\n      if (parent_2.if) {\n        needsKey = true;\n      }\n      parent_2 = parent_2.parent;\n    }\n  }\n  var generatedSlots = Object.keys(slots).map(function (key) {\n    return genScopedSlot(slots[key], state);\n  }).join(',');\n  return \"scopedSlots:_u([\".concat(generatedSlots, \"]\").concat(needsForceUpdate ? \",null,true\" : \"\").concat(!needsForceUpdate && needsKey ? \",null,false,\".concat(hash(generatedSlots)) : \"\", \")\");\n}\nfunction hash(str) {\n  var hash = 5381;\n  var i = str.length;\n  while (i) {\n    hash = hash * 33 ^ str.charCodeAt(--i);\n  }\n  return hash >>> 0;\n}\nfunction containsSlotChild(el) {\n  if (el.type === 1) {\n    if (el.tag === 'slot') {\n      return true;\n    }\n    return el.children.some(containsSlotChild);\n  }\n  return false;\n}\nfunction genScopedSlot(el, state) {\n  var isLegacySyntax = el.attrsMap['slot-scope'];\n  if (el.if && !el.ifProcessed && !isLegacySyntax) {\n    return genIf(el, state, genScopedSlot, \"null\");\n  }\n  if (el.for && !el.forProcessed) {\n    return genFor(el, state, genScopedSlot);\n  }\n  var slotScope = el.slotScope === emptySlotScopeToken ? \"\" : String(el.slotScope);\n  var fn = \"function(\".concat(slotScope, \"){\") + \"return \".concat(el.tag === 'template' ? el.if && isLegacySyntax ? \"(\".concat(el.if, \")?\").concat(genChildren(el, state) || 'undefined', \":undefined\") : genChildren(el, state) || 'undefined' : genElement(el, state), \"}\");\n  // reverse proxy v-slot without scope on this.$slots\n  var reverseProxy = slotScope ? \"\" : \",proxy:true\";\n  return \"{key:\".concat(el.slotTarget || \"\\\"default\\\"\", \",fn:\").concat(fn).concat(reverseProxy, \"}\");\n}\nfunction genChildren(el, state, checkSkip, altGenElement, altGenNode) {\n  var children = el.children;\n  if (children.length) {\n    var el_1 = children[0];\n    // optimize single v-for\n    if (children.length === 1 && el_1.for && el_1.tag !== 'template' && el_1.tag !== 'slot') {\n      var normalizationType_1 = checkSkip ? state.maybeComponent(el_1) ? \",1\" : \",0\" : \"\";\n      return \"\".concat((altGenElement || genElement)(el_1, state)).concat(normalizationType_1);\n    }\n    var normalizationType = checkSkip ? getNormalizationType(children, state.maybeComponent) : 0;\n    var gen_1 = altGenNode || genNode;\n    return \"[\".concat(children.map(function (c) {\n      return gen_1(c, state);\n    }).join(','), \"]\").concat(normalizationType ? \",\".concat(normalizationType) : '');\n  }\n}\n// determine the normalization needed for the children array.\n// 0: no normalization needed\n// 1: simple normalization needed (possible 1-level deep nested array)\n// 2: full normalization needed\nfunction getNormalizationType(children, maybeComponent) {\n  var res = 0;\n  for (var i = 0; i < children.length; i++) {\n    var el = children[i];\n    if (el.type !== 1) {\n      continue;\n    }\n    if (needsNormalization(el) || el.ifConditions && el.ifConditions.some(function (c) {\n      return needsNormalization(c.block);\n    })) {\n      res = 2;\n      break;\n    }\n    if (maybeComponent(el) || el.ifConditions && el.ifConditions.some(function (c) {\n      return maybeComponent(c.block);\n    })) {\n      res = 1;\n    }\n  }\n  return res;\n}\nfunction needsNormalization(el) {\n  return el.for !== undefined || el.tag === 'template' || el.tag === 'slot';\n}\nfunction genNode(node, state) {\n  if (node.type === 1) {\n    return genElement(node, state);\n  } else if (node.type === 3 && node.isComment) {\n    return genComment(node);\n  } else {\n    return genText(node);\n  }\n}\nfunction genText(text) {\n  return \"_v(\".concat(text.type === 2 ? text.expression // no need for () because already wrapped in _s()\n  : transformSpecialNewlines(JSON.stringify(text.text)), \")\");\n}\nfunction genComment(comment) {\n  return \"_e(\".concat(JSON.stringify(comment.text), \")\");\n}\nfunction genSlot(el, state) {\n  var slotName = el.slotName || '\"default\"';\n  var children = genChildren(el, state);\n  var res = \"_t(\".concat(slotName).concat(children ? \",function(){return \".concat(children, \"}\") : '');\n  var attrs = el.attrs || el.dynamicAttrs ? genProps((el.attrs || []).concat(el.dynamicAttrs || []).map(function (attr) {\n    return {\n      // slot props are camelized\n      name: camelize(attr.name),\n      value: attr.value,\n      dynamic: attr.dynamic\n    };\n  })) : null;\n  var bind = el.attrsMap['v-bind'];\n  if ((attrs || bind) && !children) {\n    res += \",null\";\n  }\n  if (attrs) {\n    res += \",\".concat(attrs);\n  }\n  if (bind) {\n    res += \"\".concat(attrs ? '' : ',null', \",\").concat(bind);\n  }\n  return res + ')';\n}\n// componentName is el.component, take it as argument to shun flow's pessimistic refinement\nfunction genComponent(componentName, el, state) {\n  var children = el.inlineTemplate ? null : genChildren(el, state, true);\n  return \"_c(\".concat(componentName, \",\").concat(genData(el, state)).concat(children ? \",\".concat(children) : '', \")\");\n}\nfunction genProps(props) {\n  var staticProps = \"\";\n  var dynamicProps = \"\";\n  for (var i = 0; i < props.length; i++) {\n    var prop = props[i];\n    var value = transformSpecialNewlines(prop.value);\n    if (prop.dynamic) {\n      dynamicProps += \"\".concat(prop.name, \",\").concat(value, \",\");\n    } else {\n      staticProps += \"\\\"\".concat(prop.name, \"\\\":\").concat(value, \",\");\n    }\n  }\n  staticProps = \"{\".concat(staticProps.slice(0, -1), \"}\");\n  if (dynamicProps) {\n    return \"_d(\".concat(staticProps, \",[\").concat(dynamicProps.slice(0, -1), \"])\");\n  } else {\n    return staticProps;\n  }\n}\n// #3895, #4268\nfunction transformSpecialNewlines(text) {\n  return text.replace(/\\u2028/g, '\\\\u2028').replace(/\\u2029/g, '\\\\u2029');\n}\n\n// these keywords should not appear inside expressions, but operators like\n// typeof, instanceof and in are allowed\nvar prohibitedKeywordRE = new RegExp('\\\\b' + ('do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' + 'super,throw,while,yield,delete,export,import,return,switch,default,' + 'extends,finally,continue,debugger,function,arguments').split(',').join('\\\\b|\\\\b') + '\\\\b');\n// these unary operators should not be used as property/method names\nvar unaryOperatorsRE = new RegExp('\\\\b' + 'delete,typeof,void'.split(',').join('\\\\s*\\\\([^\\\\)]*\\\\)|\\\\b') + '\\\\s*\\\\([^\\\\)]*\\\\)');\n// strip strings in expressions\nvar stripStringRE = /'(?:[^'\\\\]|\\\\.)*'|\"(?:[^\"\\\\]|\\\\.)*\"|`(?:[^`\\\\]|\\\\.)*\\$\\{|\\}(?:[^`\\\\]|\\\\.)*`|`(?:[^`\\\\]|\\\\.)*`/g;\n// detect problematic expressions in a template\nfunction detectErrors(ast, warn) {\n  if (ast) {\n    checkNode(ast, warn);\n  }\n}\nfunction checkNode(node, warn) {\n  if (node.type === 1) {\n    for (var name_1 in node.attrsMap) {\n      if (dirRE.test(name_1)) {\n        var value = node.attrsMap[name_1];\n        if (value) {\n          var range = node.rawAttrsMap[name_1];\n          if (name_1 === 'v-for') {\n            checkFor(node, \"v-for=\\\"\".concat(value, \"\\\"\"), warn, range);\n          } else if (name_1 === 'v-slot' || name_1[0] === '#') {\n            checkFunctionParameterExpression(value, \"\".concat(name_1, \"=\\\"\").concat(value, \"\\\"\"), warn, range);\n          } else if (onRE.test(name_1)) {\n            checkEvent(value, \"\".concat(name_1, \"=\\\"\").concat(value, \"\\\"\"), warn, range);\n          } else {\n            checkExpression(value, \"\".concat(name_1, \"=\\\"\").concat(value, \"\\\"\"), warn, range);\n          }\n        }\n      }\n    }\n    if (node.children) {\n      for (var i = 0; i < node.children.length; i++) {\n        checkNode(node.children[i], warn);\n      }\n    }\n  } else if (node.type === 2) {\n    checkExpression(node.expression, node.text, warn, node);\n  }\n}\nfunction checkEvent(exp, text, warn, range) {\n  var stripped = exp.replace(stripStringRE, '');\n  var keywordMatch = stripped.match(unaryOperatorsRE);\n  if (keywordMatch && stripped.charAt(keywordMatch.index - 1) !== '$') {\n    warn(\"avoid using JavaScript unary operator as property name: \" + \"\\\"\".concat(keywordMatch[0], \"\\\" in expression \").concat(text.trim()), range);\n  }\n  checkExpression(exp, text, warn, range);\n}\nfunction checkFor(node, text, warn, range) {\n  checkExpression(node.for || '', text, warn, range);\n  checkIdentifier(node.alias, 'v-for alias', text, warn, range);\n  checkIdentifier(node.iterator1, 'v-for iterator', text, warn, range);\n  checkIdentifier(node.iterator2, 'v-for iterator', text, warn, range);\n}\nfunction checkIdentifier(ident, type, text, warn, range) {\n  if (typeof ident === 'string') {\n    try {\n      new Function(\"var \".concat(ident, \"=_\"));\n    } catch (e) {\n      warn(\"invalid \".concat(type, \" \\\"\").concat(ident, \"\\\" in expression: \").concat(text.trim()), range);\n    }\n  }\n}\nfunction checkExpression(exp, text, warn, range) {\n  try {\n    new Function(\"return \".concat(exp));\n  } catch (e) {\n    var keywordMatch = exp.replace(stripStringRE, '').match(prohibitedKeywordRE);\n    if (keywordMatch) {\n      warn(\"avoid using JavaScript keyword as property name: \" + \"\\\"\".concat(keywordMatch[0], \"\\\"\\n  Raw expression: \").concat(text.trim()), range);\n    } else {\n      warn(\"invalid expression: \".concat(e.message, \" in\\n\\n\") + \"    \".concat(exp, \"\\n\\n\") + \"  Raw expression: \".concat(text.trim(), \"\\n\"), range);\n    }\n  }\n}\nfunction checkFunctionParameterExpression(exp, text, warn, range) {\n  try {\n    new Function(exp, '');\n  } catch (e) {\n    warn(\"invalid function parameter expression: \".concat(e.message, \" in\\n\\n\") + \"    \".concat(exp, \"\\n\\n\") + \"  Raw expression: \".concat(text.trim(), \"\\n\"), range);\n  }\n}\nvar range = 2;\nfunction generateCodeFrame(source, start, end) {\n  if (start === void 0) {\n    start = 0;\n  }\n  if (end === void 0) {\n    end = source.length;\n  }\n  var lines = source.split(/\\r?\\n/);\n  var count = 0;\n  var res = [];\n  for (var i = 0; i < lines.length; i++) {\n    count += lines[i].length + 1;\n    if (count >= start) {\n      for (var j = i - range; j <= i + range || end > count; j++) {\n        if (j < 0 || j >= lines.length) continue;\n        res.push(\"\".concat(j + 1).concat(repeat(\" \", 3 - String(j + 1).length), \"|  \").concat(lines[j]));\n        var lineLength = lines[j].length;\n        if (j === i) {\n          // push underline\n          var pad = start - (count - lineLength) + 1;\n          var length_1 = end > count ? lineLength - pad : end - start;\n          res.push(\"   |  \" + repeat(\" \", pad) + repeat(\"^\", length_1));\n        } else if (j > i) {\n          if (end > count) {\n            var length_2 = Math.min(end - count, lineLength);\n            res.push(\"   |  \" + repeat(\"^\", length_2));\n          }\n          count += lineLength + 1;\n        }\n      }\n      break;\n    }\n  }\n  return res.join('\\n');\n}\nfunction repeat(str, n) {\n  var result = '';\n  if (n > 0) {\n    // eslint-disable-next-line no-constant-condition\n    while (true) {\n      // eslint-disable-line\n      if (n & 1) result += str;\n      n >>>= 1;\n      if (n <= 0) break;\n      str += str;\n    }\n  }\n  return result;\n}\nfunction createFunction(code, errors) {\n  try {\n    return new Function(code);\n  } catch (err) {\n    errors.push({\n      err: err,\n      code: code\n    });\n    return noop;\n  }\n}\nfunction createCompileToFunctionFn(compile) {\n  var cache = Object.create(null);\n  return function compileToFunctions(template, options, vm) {\n    options = extend({}, options);\n    var warn = options.warn || warn$2;\n    delete options.warn;\n    /* istanbul ignore if */\n    if (true) {\n      // detect possible CSP restriction\n      try {\n        new Function('return 1');\n      } catch (e) {\n        if (e.toString().match(/unsafe-eval|CSP/)) {\n          warn('It seems you are using the standalone build of Vue.js in an ' + 'environment with Content Security Policy that prohibits unsafe-eval. ' + 'The template compiler cannot work in this environment. Consider ' + 'relaxing the policy to allow unsafe-eval or pre-compiling your ' + 'templates into render functions.');\n        }\n      }\n    }\n    // check cache\n    var key = options.delimiters ? String(options.delimiters) + template : template;\n    if (cache[key]) {\n      return cache[key];\n    }\n    // compile\n    var compiled = compile(template, options);\n    // check compilation errors/tips\n    if (true) {\n      if (compiled.errors && compiled.errors.length) {\n        if (options.outputSourceRange) {\n          compiled.errors.forEach(function (e) {\n            warn(\"Error compiling template:\\n\\n\".concat(e.msg, \"\\n\\n\") + generateCodeFrame(template, e.start, e.end), vm);\n          });\n        } else {\n          warn(\"Error compiling template:\\n\\n\".concat(template, \"\\n\\n\") + compiled.errors.map(function (e) {\n            return \"- \".concat(e);\n          }).join('\\n') + '\\n', vm);\n        }\n      }\n      if (compiled.tips && compiled.tips.length) {\n        if (options.outputSourceRange) {\n          compiled.tips.forEach(function (e) {\n            return tip(e.msg, vm);\n          });\n        } else {\n          compiled.tips.forEach(function (msg) {\n            return tip(msg, vm);\n          });\n        }\n      }\n    }\n    // turn code into functions\n    var res = {};\n    var fnGenErrors = [];\n    res.render = createFunction(compiled.render, fnGenErrors);\n    res.staticRenderFns = compiled.staticRenderFns.map(function (code) {\n      return createFunction(code, fnGenErrors);\n    });\n    // check function generation errors.\n    // this should only happen if there is a bug in the compiler itself.\n    // mostly for codegen development use\n    /* istanbul ignore if */\n    if (true) {\n      if ((!compiled.errors || !compiled.errors.length) && fnGenErrors.length) {\n        warn(\"Failed to generate render function:\\n\\n\" + fnGenErrors.map(function (_a) {\n          var err = _a.err,\n            code = _a.code;\n          return \"\".concat(err.toString(), \" in\\n\\n\").concat(code, \"\\n\");\n        }).join('\\n'), vm);\n      }\n    }\n    return cache[key] = res;\n  };\n}\nfunction createCompilerCreator(baseCompile) {\n  return function createCompiler(baseOptions) {\n    function compile(template, options) {\n      var finalOptions = Object.create(baseOptions);\n      var errors = [];\n      var tips = [];\n      var warn = function warn(msg, range, tip) {\n        (tip ? tips : errors).push(msg);\n      };\n      if (options) {\n        if ( true && options.outputSourceRange) {\n          // $flow-disable-line\n          var leadingSpaceLength_1 = template.match(/^\\s*/)[0].length;\n          warn = function warn(msg, range, tip) {\n            var data = typeof msg === 'string' ? {\n              msg: msg\n            } : msg;\n            if (range) {\n              if (range.start != null) {\n                data.start = range.start + leadingSpaceLength_1;\n              }\n              if (range.end != null) {\n                data.end = range.end + leadingSpaceLength_1;\n              }\n            }\n            (tip ? tips : errors).push(data);\n          };\n        }\n        // merge custom modules\n        if (options.modules) {\n          finalOptions.modules = (baseOptions.modules || []).concat(options.modules);\n        }\n        // merge custom directives\n        if (options.directives) {\n          finalOptions.directives = extend(Object.create(baseOptions.directives || null), options.directives);\n        }\n        // copy other options\n        for (var key in options) {\n          if (key !== 'modules' && key !== 'directives') {\n            finalOptions[key] = options[key];\n          }\n        }\n      }\n      finalOptions.warn = warn;\n      var compiled = baseCompile(template.trim(), finalOptions);\n      if (true) {\n        detectErrors(compiled.ast, warn);\n      }\n      compiled.errors = errors;\n      compiled.tips = tips;\n      return compiled;\n    }\n    return {\n      compile: compile,\n      compileToFunctions: createCompileToFunctionFn(compile)\n    };\n  };\n}\n\n// `createCompilerCreator` allows creating compilers that use alternative\n// parser/optimizer/codegen, e.g the SSR optimizing compiler.\n// Here we just export a default compiler using the default parts.\nvar createCompiler = createCompilerCreator(function baseCompile(template, options) {\n  var ast = parse(template.trim(), options);\n  if (options.optimize !== false) {\n    optimize(ast, options);\n  }\n  var code = generate(ast, options);\n  return {\n    ast: ast,\n    render: code.render,\n    staticRenderFns: code.staticRenderFns\n  };\n});\nvar _a = createCompiler(baseOptions),\n  compileToFunctions = _a.compileToFunctions;\n\n// check whether current browser encodes a char inside attribute values\nvar div;\nfunction getShouldDecode(href) {\n  div = div || document.createElement('div');\n  div.innerHTML = href ? \"<a href=\\\"\\n\\\"/>\" : \"<div a=\\\"\\n\\\"/>\";\n  return div.innerHTML.indexOf('&#10;') > 0;\n}\n// #3663: IE encodes newlines inside attribute values while other browsers don't\nvar shouldDecodeNewlines = inBrowser ? getShouldDecode(false) : false;\n// #6828: chrome encodes content in a[href]\nvar shouldDecodeNewlinesForHref = inBrowser ? getShouldDecode(true) : false;\nvar idToTemplate = cached(function (id) {\n  var el = query(id);\n  return el && el.innerHTML;\n});\nvar mount = Vue.prototype.$mount;\nVue.prototype.$mount = function (el, hydrating) {\n  el = el && query(el);\n  /* istanbul ignore if */\n  if (el === document.body || el === document.documentElement) {\n     true && warn$2(\"Do not mount Vue to <html> or <body> - mount to normal elements instead.\");\n    return this;\n  }\n  var options = this.$options;\n  // resolve template/el and convert to render function\n  if (!options.render) {\n    var template = options.template;\n    if (template) {\n      if (typeof template === 'string') {\n        if (template.charAt(0) === '#') {\n          template = idToTemplate(template);\n          /* istanbul ignore if */\n          if ( true && !template) {\n            warn$2(\"Template element not found or is empty: \".concat(options.template), this);\n          }\n        }\n      } else if (template.nodeType) {\n        template = template.innerHTML;\n      } else {\n        if (true) {\n          warn$2('invalid template option:' + template, this);\n        }\n        return this;\n      }\n    } else if (el) {\n      // @ts-expect-error\n      template = getOuterHTML(el);\n    }\n    if (template) {\n      /* istanbul ignore if */\n      if ( true && config.performance && mark) {\n        mark('compile');\n      }\n      var _a = compileToFunctions(template, {\n          outputSourceRange: \"single\" !== 'production',\n          shouldDecodeNewlines: shouldDecodeNewlines,\n          shouldDecodeNewlinesForHref: shouldDecodeNewlinesForHref,\n          delimiters: options.delimiters,\n          comments: options.comments\n        }, this),\n        render = _a.render,\n        staticRenderFns = _a.staticRenderFns;\n      options.render = render;\n      options.staticRenderFns = staticRenderFns;\n      /* istanbul ignore if */\n      if ( true && config.performance && mark) {\n        mark('compile end');\n        measure(\"vue \".concat(this._name, \" compile\"), 'compile', 'compile end');\n      }\n    }\n  }\n  return mount.call(this, el, hydrating);\n};\n/**\n * Get outerHTML of elements, taking care\n * of SVG elements in IE as well.\n */\nfunction getOuterHTML(el) {\n  if (el.outerHTML) {\n    return el.outerHTML;\n  } else {\n    var container = document.createElement('div');\n    container.appendChild(el.cloneNode(true));\n    return container.innerHTML;\n  }\n}\nVue.compile = compileToFunctions;\n\n\n//# sourceURL=webpack://dtools/./node_modules/vue/dist/vue.esm.js?");

/***/ }),

/***/ "./node_modules/vuex/dist/vuex.esm.js":
/*!********************************************!*\
  !*** ./node_modules/vuex/dist/vuex.esm.js ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"Store\": function() { return /* binding */ Store; },\n/* harmony export */   \"createLogger\": function() { return /* binding */ createLogger; },\n/* harmony export */   \"createNamespacedHelpers\": function() { return /* binding */ createNamespacedHelpers; },\n/* harmony export */   \"install\": function() { return /* binding */ install; },\n/* harmony export */   \"mapActions\": function() { return /* binding */ mapActions; },\n/* harmony export */   \"mapGetters\": function() { return /* binding */ mapGetters; },\n/* harmony export */   \"mapMutations\": function() { return /* binding */ mapMutations; },\n/* harmony export */   \"mapState\": function() { return /* binding */ mapState; }\n/* harmony export */ });\n/*!\n * vuex v3.6.2\n * (c) 2021 Evan You\n * @license MIT\n */\nfunction applyMixin(Vue) {\n  var version = Number(Vue.version.split('.')[0]);\n  if (version >= 2) {\n    Vue.mixin({\n      beforeCreate: vuexInit\n    });\n  } else {\n    // override init and inject vuex init procedure\n    // for 1.x backwards compatibility.\n    var _init = Vue.prototype._init;\n    Vue.prototype._init = function (options) {\n      if (options === void 0) options = {};\n      options.init = options.init ? [vuexInit].concat(options.init) : vuexInit;\n      _init.call(this, options);\n    };\n  }\n\n  /**\n   * Vuex init hook, injected into each instances init hooks list.\n   */\n\n  function vuexInit() {\n    var options = this.$options;\n    // store injection\n    if (options.store) {\n      this.$store = typeof options.store === 'function' ? options.store() : options.store;\n    } else if (options.parent && options.parent.$store) {\n      this.$store = options.parent.$store;\n    }\n  }\n}\nvar target = typeof window !== 'undefined' ? window : typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : {};\nvar devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;\nfunction devtoolPlugin(store) {\n  if (!devtoolHook) {\n    return;\n  }\n  store._devtoolHook = devtoolHook;\n  devtoolHook.emit('vuex:init', store);\n  devtoolHook.on('vuex:travel-to-state', function (targetState) {\n    store.replaceState(targetState);\n  });\n  store.subscribe(function (mutation, state) {\n    devtoolHook.emit('vuex:mutation', mutation, state);\n  }, {\n    prepend: true\n  });\n  store.subscribeAction(function (action, state) {\n    devtoolHook.emit('vuex:action', action, state);\n  }, {\n    prepend: true\n  });\n}\n\n/**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\nfunction find(list, f) {\n  return list.filter(f)[0];\n}\n\n/**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array<Object>} cache\n * @return {*}\n */\nfunction deepCopy(obj, cache) {\n  if (cache === void 0) cache = [];\n\n  // just return if obj is immutable value\n  if (obj === null || typeof obj !== 'object') {\n    return obj;\n  }\n\n  // if obj is hit, it is in circular structure\n  var hit = find(cache, function (c) {\n    return c.original === obj;\n  });\n  if (hit) {\n    return hit.copy;\n  }\n  var copy = Array.isArray(obj) ? [] : {};\n  // put the copy into cache at first\n  // because we want to refer it in recursive deepCopy\n  cache.push({\n    original: obj,\n    copy: copy\n  });\n  Object.keys(obj).forEach(function (key) {\n    copy[key] = deepCopy(obj[key], cache);\n  });\n  return copy;\n}\n\n/**\n * forEach for object\n */\nfunction forEachValue(obj, fn) {\n  Object.keys(obj).forEach(function (key) {\n    return fn(obj[key], key);\n  });\n}\nfunction isObject(obj) {\n  return obj !== null && typeof obj === 'object';\n}\nfunction isPromise(val) {\n  return val && typeof val.then === 'function';\n}\nfunction assert(condition, msg) {\n  if (!condition) {\n    throw new Error(\"[vuex] \" + msg);\n  }\n}\nfunction partial(fn, arg) {\n  return function () {\n    return fn(arg);\n  };\n}\n\n// Base data struct for store's module, package with some attribute and method\nvar Module = function Module(rawModule, runtime) {\n  this.runtime = runtime;\n  // Store some children item\n  this._children = Object.create(null);\n  // Store the origin module object which passed by programmer\n  this._rawModule = rawModule;\n  var rawState = rawModule.state;\n\n  // Store the origin module's state\n  this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};\n};\nvar prototypeAccessors = {\n  namespaced: {\n    configurable: true\n  }\n};\nprototypeAccessors.namespaced.get = function () {\n  return !!this._rawModule.namespaced;\n};\nModule.prototype.addChild = function addChild(key, module) {\n  this._children[key] = module;\n};\nModule.prototype.removeChild = function removeChild(key) {\n  delete this._children[key];\n};\nModule.prototype.getChild = function getChild(key) {\n  return this._children[key];\n};\nModule.prototype.hasChild = function hasChild(key) {\n  return key in this._children;\n};\nModule.prototype.update = function update(rawModule) {\n  this._rawModule.namespaced = rawModule.namespaced;\n  if (rawModule.actions) {\n    this._rawModule.actions = rawModule.actions;\n  }\n  if (rawModule.mutations) {\n    this._rawModule.mutations = rawModule.mutations;\n  }\n  if (rawModule.getters) {\n    this._rawModule.getters = rawModule.getters;\n  }\n};\nModule.prototype.forEachChild = function forEachChild(fn) {\n  forEachValue(this._children, fn);\n};\nModule.prototype.forEachGetter = function forEachGetter(fn) {\n  if (this._rawModule.getters) {\n    forEachValue(this._rawModule.getters, fn);\n  }\n};\nModule.prototype.forEachAction = function forEachAction(fn) {\n  if (this._rawModule.actions) {\n    forEachValue(this._rawModule.actions, fn);\n  }\n};\nModule.prototype.forEachMutation = function forEachMutation(fn) {\n  if (this._rawModule.mutations) {\n    forEachValue(this._rawModule.mutations, fn);\n  }\n};\nObject.defineProperties(Module.prototype, prototypeAccessors);\nvar ModuleCollection = function ModuleCollection(rawRootModule) {\n  // register root module (Vuex.Store options)\n  this.register([], rawRootModule, false);\n};\nModuleCollection.prototype.get = function get(path) {\n  return path.reduce(function (module, key) {\n    return module.getChild(key);\n  }, this.root);\n};\nModuleCollection.prototype.getNamespace = function getNamespace(path) {\n  var module = this.root;\n  return path.reduce(function (namespace, key) {\n    module = module.getChild(key);\n    return namespace + (module.namespaced ? key + '/' : '');\n  }, '');\n};\nModuleCollection.prototype.update = function update$1(rawRootModule) {\n  update([], this.root, rawRootModule);\n};\nModuleCollection.prototype.register = function register(path, rawModule, runtime) {\n  var this$1 = this;\n  if (runtime === void 0) runtime = true;\n  if (true) {\n    assertRawModule(path, rawModule);\n  }\n  var newModule = new Module(rawModule, runtime);\n  if (path.length === 0) {\n    this.root = newModule;\n  } else {\n    var parent = this.get(path.slice(0, -1));\n    parent.addChild(path[path.length - 1], newModule);\n  }\n\n  // register nested modules\n  if (rawModule.modules) {\n    forEachValue(rawModule.modules, function (rawChildModule, key) {\n      this$1.register(path.concat(key), rawChildModule, runtime);\n    });\n  }\n};\nModuleCollection.prototype.unregister = function unregister(path) {\n  var parent = this.get(path.slice(0, -1));\n  var key = path[path.length - 1];\n  var child = parent.getChild(key);\n  if (!child) {\n    if (true) {\n      console.warn(\"[vuex] trying to unregister module '\" + key + \"', which is \" + \"not registered\");\n    }\n    return;\n  }\n  if (!child.runtime) {\n    return;\n  }\n  parent.removeChild(key);\n};\nModuleCollection.prototype.isRegistered = function isRegistered(path) {\n  var parent = this.get(path.slice(0, -1));\n  var key = path[path.length - 1];\n  if (parent) {\n    return parent.hasChild(key);\n  }\n  return false;\n};\nfunction update(path, targetModule, newModule) {\n  if (true) {\n    assertRawModule(path, newModule);\n  }\n\n  // update target module\n  targetModule.update(newModule);\n\n  // update nested modules\n  if (newModule.modules) {\n    for (var key in newModule.modules) {\n      if (!targetModule.getChild(key)) {\n        if (true) {\n          console.warn(\"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" + 'manual reload is needed');\n        }\n        return;\n      }\n      update(path.concat(key), targetModule.getChild(key), newModule.modules[key]);\n    }\n  }\n}\nvar functionAssert = {\n  assert: function assert(value) {\n    return typeof value === 'function';\n  },\n  expected: 'function'\n};\nvar objectAssert = {\n  assert: function assert(value) {\n    return typeof value === 'function' || typeof value === 'object' && typeof value.handler === 'function';\n  },\n  expected: 'function or object with \"handler\" function'\n};\nvar assertTypes = {\n  getters: functionAssert,\n  mutations: functionAssert,\n  actions: objectAssert\n};\nfunction assertRawModule(path, rawModule) {\n  Object.keys(assertTypes).forEach(function (key) {\n    if (!rawModule[key]) {\n      return;\n    }\n    var assertOptions = assertTypes[key];\n    forEachValue(rawModule[key], function (value, type) {\n      assert(assertOptions.assert(value), makeAssertionMessage(path, key, type, value, assertOptions.expected));\n    });\n  });\n}\nfunction makeAssertionMessage(path, key, type, value, expected) {\n  var buf = key + \" should be \" + expected + \" but \\\"\" + key + \".\" + type + \"\\\"\";\n  if (path.length > 0) {\n    buf += \" in module \\\"\" + path.join('.') + \"\\\"\";\n  }\n  buf += \" is \" + JSON.stringify(value) + \".\";\n  return buf;\n}\nvar Vue; // bind on install\n\nvar Store = function Store(options) {\n  var this$1 = this;\n  if (options === void 0) options = {};\n\n  // Auto install if it is not done yet and `window` has `Vue`.\n  // To allow users to avoid auto-installation in some cases,\n  // this code should be placed here. See #731\n  if (!Vue && typeof window !== 'undefined' && window.Vue) {\n    install(window.Vue);\n  }\n  if (true) {\n    assert(Vue, \"must call Vue.use(Vuex) before creating a store instance.\");\n    assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n    assert(this instanceof Store, \"store must be called with the new operator.\");\n  }\n  var plugins = options.plugins;\n  if (plugins === void 0) plugins = [];\n  var strict = options.strict;\n  if (strict === void 0) strict = false;\n\n  // store internal state\n  this._committing = false;\n  this._actions = Object.create(null);\n  this._actionSubscribers = [];\n  this._mutations = Object.create(null);\n  this._wrappedGetters = Object.create(null);\n  this._modules = new ModuleCollection(options);\n  this._modulesNamespaceMap = Object.create(null);\n  this._subscribers = [];\n  this._watcherVM = new Vue();\n  this._makeLocalGettersCache = Object.create(null);\n\n  // bind commit and dispatch to self\n  var store = this;\n  var ref = this;\n  var dispatch = ref.dispatch;\n  var commit = ref.commit;\n  this.dispatch = function boundDispatch(type, payload) {\n    return dispatch.call(store, type, payload);\n  };\n  this.commit = function boundCommit(type, payload, options) {\n    return commit.call(store, type, payload, options);\n  };\n\n  // strict mode\n  this.strict = strict;\n  var state = this._modules.root.state;\n\n  // init root module.\n  // this also recursively registers all sub-modules\n  // and collects all module getters inside this._wrappedGetters\n  installModule(this, state, [], this._modules.root);\n\n  // initialize the store vm, which is responsible for the reactivity\n  // (also registers _wrappedGetters as computed properties)\n  resetStoreVM(this, state);\n\n  // apply plugins\n  plugins.forEach(function (plugin) {\n    return plugin(this$1);\n  });\n  var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;\n  if (useDevtools) {\n    devtoolPlugin(this);\n  }\n};\nvar prototypeAccessors$1 = {\n  state: {\n    configurable: true\n  }\n};\nprototypeAccessors$1.state.get = function () {\n  return this._vm._data.$$state;\n};\nprototypeAccessors$1.state.set = function (v) {\n  if (true) {\n    assert(false, \"use store.replaceState() to explicit replace store state.\");\n  }\n};\nStore.prototype.commit = function commit(_type, _payload, _options) {\n  var this$1 = this;\n\n  // check object-style commit\n  var ref = unifyObjectStyle(_type, _payload, _options);\n  var type = ref.type;\n  var payload = ref.payload;\n  var options = ref.options;\n  var mutation = {\n    type: type,\n    payload: payload\n  };\n  var entry = this._mutations[type];\n  if (!entry) {\n    if (true) {\n      console.error(\"[vuex] unknown mutation type: \" + type);\n    }\n    return;\n  }\n  this._withCommit(function () {\n    entry.forEach(function commitIterator(handler) {\n      handler(payload);\n    });\n  });\n  this._subscribers.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n  .forEach(function (sub) {\n    return sub(mutation, this$1.state);\n  });\n  if ( true && options && options.silent) {\n    console.warn(\"[vuex] mutation type: \" + type + \". Silent option has been removed. \" + 'Use the filter functionality in the vue-devtools');\n  }\n};\nStore.prototype.dispatch = function dispatch(_type, _payload) {\n  var this$1 = this;\n\n  // check object-style dispatch\n  var ref = unifyObjectStyle(_type, _payload);\n  var type = ref.type;\n  var payload = ref.payload;\n  var action = {\n    type: type,\n    payload: payload\n  };\n  var entry = this._actions[type];\n  if (!entry) {\n    if (true) {\n      console.error(\"[vuex] unknown action type: \" + type);\n    }\n    return;\n  }\n  try {\n    this._actionSubscribers.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n    .filter(function (sub) {\n      return sub.before;\n    }).forEach(function (sub) {\n      return sub.before(action, this$1.state);\n    });\n  } catch (e) {\n    if (true) {\n      console.warn(\"[vuex] error in before action subscribers: \");\n      console.error(e);\n    }\n  }\n  var result = entry.length > 1 ? Promise.all(entry.map(function (handler) {\n    return handler(payload);\n  })) : entry[0](payload);\n  return new Promise(function (resolve, reject) {\n    result.then(function (res) {\n      try {\n        this$1._actionSubscribers.filter(function (sub) {\n          return sub.after;\n        }).forEach(function (sub) {\n          return sub.after(action, this$1.state);\n        });\n      } catch (e) {\n        if (true) {\n          console.warn(\"[vuex] error in after action subscribers: \");\n          console.error(e);\n        }\n      }\n      resolve(res);\n    }, function (error) {\n      try {\n        this$1._actionSubscribers.filter(function (sub) {\n          return sub.error;\n        }).forEach(function (sub) {\n          return sub.error(action, this$1.state, error);\n        });\n      } catch (e) {\n        if (true) {\n          console.warn(\"[vuex] error in error action subscribers: \");\n          console.error(e);\n        }\n      }\n      reject(error);\n    });\n  });\n};\nStore.prototype.subscribe = function subscribe(fn, options) {\n  return genericSubscribe(fn, this._subscribers, options);\n};\nStore.prototype.subscribeAction = function subscribeAction(fn, options) {\n  var subs = typeof fn === 'function' ? {\n    before: fn\n  } : fn;\n  return genericSubscribe(subs, this._actionSubscribers, options);\n};\nStore.prototype.watch = function watch(getter, cb, options) {\n  var this$1 = this;\n  if (true) {\n    assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n  }\n  return this._watcherVM.$watch(function () {\n    return getter(this$1.state, this$1.getters);\n  }, cb, options);\n};\nStore.prototype.replaceState = function replaceState(state) {\n  var this$1 = this;\n  this._withCommit(function () {\n    this$1._vm._data.$$state = state;\n  });\n};\nStore.prototype.registerModule = function registerModule(path, rawModule, options) {\n  if (options === void 0) options = {};\n  if (typeof path === 'string') {\n    path = [path];\n  }\n  if (true) {\n    assert(Array.isArray(path), \"module path must be a string or an Array.\");\n    assert(path.length > 0, 'cannot register the root module by using registerModule.');\n  }\n  this._modules.register(path, rawModule);\n  installModule(this, this.state, path, this._modules.get(path), options.preserveState);\n  // reset store to update getters...\n  resetStoreVM(this, this.state);\n};\nStore.prototype.unregisterModule = function unregisterModule(path) {\n  var this$1 = this;\n  if (typeof path === 'string') {\n    path = [path];\n  }\n  if (true) {\n    assert(Array.isArray(path), \"module path must be a string or an Array.\");\n  }\n  this._modules.unregister(path);\n  this._withCommit(function () {\n    var parentState = getNestedState(this$1.state, path.slice(0, -1));\n    Vue.delete(parentState, path[path.length - 1]);\n  });\n  resetStore(this);\n};\nStore.prototype.hasModule = function hasModule(path) {\n  if (typeof path === 'string') {\n    path = [path];\n  }\n  if (true) {\n    assert(Array.isArray(path), \"module path must be a string or an Array.\");\n  }\n  return this._modules.isRegistered(path);\n};\nStore.prototype.hotUpdate = function hotUpdate(newOptions) {\n  this._modules.update(newOptions);\n  resetStore(this, true);\n};\nStore.prototype._withCommit = function _withCommit(fn) {\n  var committing = this._committing;\n  this._committing = true;\n  fn();\n  this._committing = committing;\n};\nObject.defineProperties(Store.prototype, prototypeAccessors$1);\nfunction genericSubscribe(fn, subs, options) {\n  if (subs.indexOf(fn) < 0) {\n    options && options.prepend ? subs.unshift(fn) : subs.push(fn);\n  }\n  return function () {\n    var i = subs.indexOf(fn);\n    if (i > -1) {\n      subs.splice(i, 1);\n    }\n  };\n}\nfunction resetStore(store, hot) {\n  store._actions = Object.create(null);\n  store._mutations = Object.create(null);\n  store._wrappedGetters = Object.create(null);\n  store._modulesNamespaceMap = Object.create(null);\n  var state = store.state;\n  // init all modules\n  installModule(store, state, [], store._modules.root, true);\n  // reset vm\n  resetStoreVM(store, state, hot);\n}\nfunction resetStoreVM(store, state, hot) {\n  var oldVm = store._vm;\n\n  // bind store public getters\n  store.getters = {};\n  // reset local getters cache\n  store._makeLocalGettersCache = Object.create(null);\n  var wrappedGetters = store._wrappedGetters;\n  var computed = {};\n  forEachValue(wrappedGetters, function (fn, key) {\n    // use computed to leverage its lazy-caching mechanism\n    // direct inline function use will lead to closure preserving oldVm.\n    // using partial to return function with only arguments preserved in closure environment.\n    computed[key] = partial(fn, store);\n    Object.defineProperty(store.getters, key, {\n      get: function get() {\n        return store._vm[key];\n      },\n      enumerable: true // for local getters\n    });\n  });\n\n  // use a Vue instance to store the state tree\n  // suppress warnings just in case the user has added\n  // some funky global mixins\n  var silent = Vue.config.silent;\n  Vue.config.silent = true;\n  store._vm = new Vue({\n    data: {\n      $$state: state\n    },\n    computed: computed\n  });\n  Vue.config.silent = silent;\n\n  // enable strict mode for new vm\n  if (store.strict) {\n    enableStrictMode(store);\n  }\n  if (oldVm) {\n    if (hot) {\n      // dispatch changes in all subscribed watchers\n      // to force getter re-evaluation for hot reloading.\n      store._withCommit(function () {\n        oldVm._data.$$state = null;\n      });\n    }\n    Vue.nextTick(function () {\n      return oldVm.$destroy();\n    });\n  }\n}\nfunction installModule(store, rootState, path, module, hot) {\n  var isRoot = !path.length;\n  var namespace = store._modules.getNamespace(path);\n\n  // register in namespace map\n  if (module.namespaced) {\n    if (store._modulesNamespaceMap[namespace] && \"single\" !== 'production') {\n      console.error(\"[vuex] duplicate namespace \" + namespace + \" for the namespaced module \" + path.join('/'));\n    }\n    store._modulesNamespaceMap[namespace] = module;\n  }\n\n  // set state\n  if (!isRoot && !hot) {\n    var parentState = getNestedState(rootState, path.slice(0, -1));\n    var moduleName = path[path.length - 1];\n    store._withCommit(function () {\n      if (true) {\n        if (moduleName in parentState) {\n          console.warn(\"[vuex] state field \\\"\" + moduleName + \"\\\" was overridden by a module with the same name at \\\"\" + path.join('.') + \"\\\"\");\n        }\n      }\n      Vue.set(parentState, moduleName, module.state);\n    });\n  }\n  var local = module.context = makeLocalContext(store, namespace, path);\n  module.forEachMutation(function (mutation, key) {\n    var namespacedType = namespace + key;\n    registerMutation(store, namespacedType, mutation, local);\n  });\n  module.forEachAction(function (action, key) {\n    var type = action.root ? key : namespace + key;\n    var handler = action.handler || action;\n    registerAction(store, type, handler, local);\n  });\n  module.forEachGetter(function (getter, key) {\n    var namespacedType = namespace + key;\n    registerGetter(store, namespacedType, getter, local);\n  });\n  module.forEachChild(function (child, key) {\n    installModule(store, rootState, path.concat(key), child, hot);\n  });\n}\n\n/**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\nfunction makeLocalContext(store, namespace, path) {\n  var noNamespace = namespace === '';\n  var local = {\n    dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n      var args = unifyObjectStyle(_type, _payload, _options);\n      var payload = args.payload;\n      var options = args.options;\n      var type = args.type;\n      if (!options || !options.root) {\n        type = namespace + type;\n        if ( true && !store._actions[type]) {\n          console.error(\"[vuex] unknown local action type: \" + args.type + \", global type: \" + type);\n          return;\n        }\n      }\n      return store.dispatch(type, payload);\n    },\n    commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n      var args = unifyObjectStyle(_type, _payload, _options);\n      var payload = args.payload;\n      var options = args.options;\n      var type = args.type;\n      if (!options || !options.root) {\n        type = namespace + type;\n        if ( true && !store._mutations[type]) {\n          console.error(\"[vuex] unknown local mutation type: \" + args.type + \", global type: \" + type);\n          return;\n        }\n      }\n      store.commit(type, payload, options);\n    }\n  };\n\n  // getters and state object must be gotten lazily\n  // because they will be changed by vm update\n  Object.defineProperties(local, {\n    getters: {\n      get: noNamespace ? function () {\n        return store.getters;\n      } : function () {\n        return makeLocalGetters(store, namespace);\n      }\n    },\n    state: {\n      get: function get() {\n        return getNestedState(store.state, path);\n      }\n    }\n  });\n  return local;\n}\nfunction makeLocalGetters(store, namespace) {\n  if (!store._makeLocalGettersCache[namespace]) {\n    var gettersProxy = {};\n    var splitPos = namespace.length;\n    Object.keys(store.getters).forEach(function (type) {\n      // skip if the target getter is not match this namespace\n      if (type.slice(0, splitPos) !== namespace) {\n        return;\n      }\n\n      // extract local getter type\n      var localType = type.slice(splitPos);\n\n      // Add a port to the getters proxy.\n      // Define as getter property because\n      // we do not want to evaluate the getters in this time.\n      Object.defineProperty(gettersProxy, localType, {\n        get: function get() {\n          return store.getters[type];\n        },\n        enumerable: true\n      });\n    });\n    store._makeLocalGettersCache[namespace] = gettersProxy;\n  }\n  return store._makeLocalGettersCache[namespace];\n}\nfunction registerMutation(store, type, handler, local) {\n  var entry = store._mutations[type] || (store._mutations[type] = []);\n  entry.push(function wrappedMutationHandler(payload) {\n    handler.call(store, local.state, payload);\n  });\n}\nfunction registerAction(store, type, handler, local) {\n  var entry = store._actions[type] || (store._actions[type] = []);\n  entry.push(function wrappedActionHandler(payload) {\n    var res = handler.call(store, {\n      dispatch: local.dispatch,\n      commit: local.commit,\n      getters: local.getters,\n      state: local.state,\n      rootGetters: store.getters,\n      rootState: store.state\n    }, payload);\n    if (!isPromise(res)) {\n      res = Promise.resolve(res);\n    }\n    if (store._devtoolHook) {\n      return res.catch(function (err) {\n        store._devtoolHook.emit('vuex:error', err);\n        throw err;\n      });\n    } else {\n      return res;\n    }\n  });\n}\nfunction registerGetter(store, type, rawGetter, local) {\n  if (store._wrappedGetters[type]) {\n    if (true) {\n      console.error(\"[vuex] duplicate getter key: \" + type);\n    }\n    return;\n  }\n  store._wrappedGetters[type] = function wrappedGetter(store) {\n    return rawGetter(local.state,\n    // local state\n    local.getters,\n    // local getters\n    store.state,\n    // root state\n    store.getters // root getters\n    );\n  };\n}\n\nfunction enableStrictMode(store) {\n  store._vm.$watch(function () {\n    return this._data.$$state;\n  }, function () {\n    if (true) {\n      assert(store._committing, \"do not mutate vuex store state outside mutation handlers.\");\n    }\n  }, {\n    deep: true,\n    sync: true\n  });\n}\nfunction getNestedState(state, path) {\n  return path.reduce(function (state, key) {\n    return state[key];\n  }, state);\n}\nfunction unifyObjectStyle(type, payload, options) {\n  if (isObject(type) && type.type) {\n    options = payload;\n    payload = type;\n    type = type.type;\n  }\n  if (true) {\n    assert(typeof type === 'string', \"expects string as the type, but found \" + typeof type + \".\");\n  }\n  return {\n    type: type,\n    payload: payload,\n    options: options\n  };\n}\nfunction install(_Vue) {\n  if (Vue && _Vue === Vue) {\n    if (true) {\n      console.error('[vuex] already installed. Vue.use(Vuex) should be called only once.');\n    }\n    return;\n  }\n  Vue = _Vue;\n  applyMixin(Vue);\n}\n\n/**\n * Reduce the code which written in Vue.js for getting the state.\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.\n * @param {Object}\n */\nvar mapState = normalizeNamespace(function (namespace, states) {\n  var res = {};\n  if ( true && !isValidMap(states)) {\n    console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');\n  }\n  normalizeMap(states).forEach(function (ref) {\n    var key = ref.key;\n    var val = ref.val;\n    res[key] = function mappedState() {\n      var state = this.$store.state;\n      var getters = this.$store.getters;\n      if (namespace) {\n        var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n        if (!module) {\n          return;\n        }\n        state = module.context.state;\n        getters = module.context.getters;\n      }\n      return typeof val === 'function' ? val.call(this, state, getters) : state[val];\n    };\n    // mark vuex getter for devtools\n    res[key].vuex = true;\n  });\n  return res;\n});\n\n/**\n * Reduce the code which written in Vue.js for committing the mutation\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapMutations = normalizeNamespace(function (namespace, mutations) {\n  var res = {};\n  if ( true && !isValidMap(mutations)) {\n    console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');\n  }\n  normalizeMap(mutations).forEach(function (ref) {\n    var key = ref.key;\n    var val = ref.val;\n    res[key] = function mappedMutation() {\n      var args = [],\n        len = arguments.length;\n      while (len--) args[len] = arguments[len];\n\n      // Get the commit method from store\n      var commit = this.$store.commit;\n      if (namespace) {\n        var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);\n        if (!module) {\n          return;\n        }\n        commit = module.context.commit;\n      }\n      return typeof val === 'function' ? val.apply(this, [commit].concat(args)) : commit.apply(this.$store, [val].concat(args));\n    };\n  });\n  return res;\n});\n\n/**\n * Reduce the code which written in Vue.js for getting the getters\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} getters\n * @return {Object}\n */\nvar mapGetters = normalizeNamespace(function (namespace, getters) {\n  var res = {};\n  if ( true && !isValidMap(getters)) {\n    console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');\n  }\n  normalizeMap(getters).forEach(function (ref) {\n    var key = ref.key;\n    var val = ref.val;\n\n    // The namespace has been mutated by normalizeNamespace\n    val = namespace + val;\n    res[key] = function mappedGetter() {\n      if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n        return;\n      }\n      if ( true && !(val in this.$store.getters)) {\n        console.error(\"[vuex] unknown getter: \" + val);\n        return;\n      }\n      return this.$store.getters[val];\n    };\n    // mark vuex getter for devtools\n    res[key].vuex = true;\n  });\n  return res;\n});\n\n/**\n * Reduce the code which written in Vue.js for dispatch the action\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapActions = normalizeNamespace(function (namespace, actions) {\n  var res = {};\n  if ( true && !isValidMap(actions)) {\n    console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');\n  }\n  normalizeMap(actions).forEach(function (ref) {\n    var key = ref.key;\n    var val = ref.val;\n    res[key] = function mappedAction() {\n      var args = [],\n        len = arguments.length;\n      while (len--) args[len] = arguments[len];\n\n      // get dispatch function from store\n      var dispatch = this.$store.dispatch;\n      if (namespace) {\n        var module = getModuleByNamespace(this.$store, 'mapActions', namespace);\n        if (!module) {\n          return;\n        }\n        dispatch = module.context.dispatch;\n      }\n      return typeof val === 'function' ? val.apply(this, [dispatch].concat(args)) : dispatch.apply(this.$store, [val].concat(args));\n    };\n  });\n  return res;\n});\n\n/**\n * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object\n * @param {String} namespace\n * @return {Object}\n */\nvar createNamespacedHelpers = function createNamespacedHelpers(namespace) {\n  return {\n    mapState: mapState.bind(null, namespace),\n    mapGetters: mapGetters.bind(null, namespace),\n    mapMutations: mapMutations.bind(null, namespace),\n    mapActions: mapActions.bind(null, namespace)\n  };\n};\n\n/**\n * Normalize the map\n * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]\n * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]\n * @param {Array|Object} map\n * @return {Object}\n */\nfunction normalizeMap(map) {\n  if (!isValidMap(map)) {\n    return [];\n  }\n  return Array.isArray(map) ? map.map(function (key) {\n    return {\n      key: key,\n      val: key\n    };\n  }) : Object.keys(map).map(function (key) {\n    return {\n      key: key,\n      val: map[key]\n    };\n  });\n}\n\n/**\n * Validate whether given map is valid or not\n * @param {*} map\n * @return {Boolean}\n */\nfunction isValidMap(map) {\n  return Array.isArray(map) || isObject(map);\n}\n\n/**\n * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.\n * @param {Function} fn\n * @return {Function}\n */\nfunction normalizeNamespace(fn) {\n  return function (namespace, map) {\n    if (typeof namespace !== 'string') {\n      map = namespace;\n      namespace = '';\n    } else if (namespace.charAt(namespace.length - 1) !== '/') {\n      namespace += '/';\n    }\n    return fn(namespace, map);\n  };\n}\n\n/**\n * Search a special module from store by namespace. if module not exist, print error message.\n * @param {Object} store\n * @param {String} helper\n * @param {String} namespace\n * @return {Object}\n */\nfunction getModuleByNamespace(store, helper, namespace) {\n  var module = store._modulesNamespaceMap[namespace];\n  if ( true && !module) {\n    console.error(\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace);\n  }\n  return module;\n}\n\n// Credits: borrowed code from fcomb/redux-logger\n\nfunction createLogger(ref) {\n  if (ref === void 0) ref = {};\n  var collapsed = ref.collapsed;\n  if (collapsed === void 0) collapsed = true;\n  var filter = ref.filter;\n  if (filter === void 0) filter = function filter(mutation, stateBefore, stateAfter) {\n    return true;\n  };\n  var transformer = ref.transformer;\n  if (transformer === void 0) transformer = function transformer(state) {\n    return state;\n  };\n  var mutationTransformer = ref.mutationTransformer;\n  if (mutationTransformer === void 0) mutationTransformer = function mutationTransformer(mut) {\n    return mut;\n  };\n  var actionFilter = ref.actionFilter;\n  if (actionFilter === void 0) actionFilter = function actionFilter(action, state) {\n    return true;\n  };\n  var actionTransformer = ref.actionTransformer;\n  if (actionTransformer === void 0) actionTransformer = function actionTransformer(act) {\n    return act;\n  };\n  var logMutations = ref.logMutations;\n  if (logMutations === void 0) logMutations = true;\n  var logActions = ref.logActions;\n  if (logActions === void 0) logActions = true;\n  var logger = ref.logger;\n  if (logger === void 0) logger = console;\n  return function (store) {\n    var prevState = deepCopy(store.state);\n    if (typeof logger === 'undefined') {\n      return;\n    }\n    if (logMutations) {\n      store.subscribe(function (mutation, state) {\n        var nextState = deepCopy(state);\n        if (filter(mutation, prevState, nextState)) {\n          var formattedTime = getFormattedTime();\n          var formattedMutation = mutationTransformer(mutation);\n          var message = \"mutation \" + mutation.type + formattedTime;\n          startMessage(logger, message, collapsed);\n          logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));\n          logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);\n          logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));\n          endMessage(logger);\n        }\n        prevState = nextState;\n      });\n    }\n    if (logActions) {\n      store.subscribeAction(function (action, state) {\n        if (actionFilter(action, state)) {\n          var formattedTime = getFormattedTime();\n          var formattedAction = actionTransformer(action);\n          var message = \"action \" + action.type + formattedTime;\n          startMessage(logger, message, collapsed);\n          logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);\n          endMessage(logger);\n        }\n      });\n    }\n  };\n}\nfunction startMessage(logger, message, collapsed) {\n  var startMessage = collapsed ? logger.groupCollapsed : logger.group;\n\n  // render\n  try {\n    startMessage.call(logger, message);\n  } catch (e) {\n    logger.log(message);\n  }\n}\nfunction endMessage(logger) {\n  try {\n    logger.groupEnd();\n  } catch (e) {\n    logger.log('—— log end ——');\n  }\n}\nfunction getFormattedTime() {\n  var time = new Date();\n  return \" @ \" + pad(time.getHours(), 2) + \":\" + pad(time.getMinutes(), 2) + \":\" + pad(time.getSeconds(), 2) + \".\" + pad(time.getMilliseconds(), 3);\n}\nfunction repeat(str, times) {\n  return new Array(times + 1).join(str);\n}\nfunction pad(num, maxLength) {\n  return repeat('0', maxLength - num.toString().length) + num;\n}\nvar index = {\n  Store: Store,\n  install: install,\n  version: '3.6.2',\n  mapState: mapState,\n  mapMutations: mapMutations,\n  mapGetters: mapGetters,\n  mapActions: mapActions,\n  createNamespacedHelpers: createNamespacedHelpers,\n  createLogger: createLogger\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (index);\n\n\n//# sourceURL=webpack://dtools/./node_modules/vuex/dist/vuex.esm.js?");

/***/ }),

/***/ "./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js":
/*!*****************************************************************************!*\
  !*** ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ normalizeComponent; }\n/* harmony export */ });\n/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nfunction normalizeComponent(\n  scriptExports,\n  render,\n  staticRenderFns,\n  functionalTemplate,\n  injectStyles,\n  scopeId,\n  moduleIdentifier /* server only */,\n  shadowMode /* vue-cli only */\n) {\n  // Vue.extend constructor export interop\n  var options =\n    typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n  // render functions\n  if (render) {\n    options.render = render\n    options.staticRenderFns = staticRenderFns\n    options._compiled = true\n  }\n\n  // functional template\n  if (functionalTemplate) {\n    options.functional = true\n  }\n\n  // scopedId\n  if (scopeId) {\n    options._scopeId = 'data-v-' + scopeId\n  }\n\n  var hook\n  if (moduleIdentifier) {\n    // server build\n    hook = function (context) {\n      // 2.3 injection\n      context =\n        context || // cached call\n        (this.$vnode && this.$vnode.ssrContext) || // stateful\n        (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n      // 2.2 with runInNewContext: true\n      if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n        context = __VUE_SSR_CONTEXT__\n      }\n      // inject component styles\n      if (injectStyles) {\n        injectStyles.call(this, context)\n      }\n      // register component module identifier for async chunk inferrence\n      if (context && context._registeredComponents) {\n        context._registeredComponents.add(moduleIdentifier)\n      }\n    }\n    // used by ssr in case component is cached and beforeCreate\n    // never gets called\n    options._ssrRegister = hook\n  } else if (injectStyles) {\n    hook = shadowMode\n      ? function () {\n          injectStyles.call(\n            this,\n            (options.functional ? this.parent : this).$root.$options.shadowRoot\n          )\n        }\n      : injectStyles\n  }\n\n  if (hook) {\n    if (options.functional) {\n      // for template-only hot-reload because in that case the render fn doesn't\n      // go through the normalizer\n      options._injectStyles = hook\n      // register for functional component in vue file\n      var originalRender = options.render\n      options.render = function renderWithStyleInjection(h, context) {\n        hook.call(context)\n        return originalRender(h, context)\n      }\n    } else {\n      // inject component registration as beforeCreate hook\n      var existing = options.beforeCreate\n      options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n    }\n  }\n\n  return {\n    exports: scriptExports,\n    options: options\n  }\n}\n\n\n//# sourceURL=webpack://dtools/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js?");

/***/ }),

/***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/@daelui/roosterui/dist/pc/css/boost.min.css":
/*!****************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/@daelui/roosterui/dist/pc/css/boost.min.css ***!
  \****************************************************************************************************************************************************************************************************/
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../css-loader/dist/runtime/getUrl.js */ \"./node_modules/css-loader/dist/runtime/getUrl.js\");\n/* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__);\n// Imports\n\n\n\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUM0QzFDNzMyREM0MTFFNUJDNTI4OTMzMEE0RjBENzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUM0QzFDNzQyREM0MTFFNUJDNTI4OTMzMEE0RjBENzMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzRDMUM3MTJEQzQxMUU1QkM1Mjg5MzMwQTRGMEQ3MyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzRDMUM3MjJEQzQxMUU1QkM1Mjg5MzMwQTRGMEQ3MyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pjs2Bb4AAAItSURBVHjazJhbK0RRGIb3DIOU/AG5kUTOgxmHceFGKf6BO+Vf+E8KKYcYg3FuMpNIDhFJXJAcp/GtvKumrzVs+zBrvfU2u689q6d3rb33+lYgl8tZvymZ3JOX7eQp8gT50fJA0Wj4z3tKbY5VR14hV5ObyWLkZ6sICtq4p4V8CjihevIWucoUQJFUmtUayTvkShMAL5DiGqs3IMlK3YBSgwrIZkBWmAAoIRMKyG2/IIMO/hMjbygepCS53ARAoQHyOqu1YbrLTADMAXJbASmSDOkGlOpTQHaQN72CdAuYBeQuq4cBWaIbUEJGC0Am3UIGPVoqMsk9Vu/CwxTQDSj0iSQPWD2C6Q7oBhT6AmRKAZkwAVDoowBkn+LdqQVQ6A2QhwrIuAmAEjKi2KrF/jPdfgIKveI7Pcfq/eSMCYBSD4pakymA0+RxVrsn15oAOEMeY7Vbcif5ys4ApT7CzZJHWO2G3I1fSyfgPHmY1a7x6bvT/ZpZUMBdOoHzI8El8pCiK+wq8CQXNcFlBdw51tyD00G9SnAVHV++zgDn6hzHiwTjCrgTTKvrQya3Ca5jA5CvY3IP+UlnTxJEb8zhjpDck1cL20mCAcBFWD2D2ovOvjiERojDpTGtnsL9N8EQegt+LJrC5vRN59lMORp0DrePNH2BswvYivXVzuoHSO7dz+2QHcAa6+eMOl87WHOffm8m7QCK7foog+tFi2mZACg3npPkRUxrtkitgvUtwAA5A3LWdzPizwAAAABJRU5ErkJggg== */ \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUM0QzFDNzMyREM0MTFFNUJDNTI4OTMzMEE0RjBENzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUM0QzFDNzQyREM0MTFFNUJDNTI4OTMzMEE0RjBENzMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzRDMUM3MTJEQzQxMUU1QkM1Mjg5MzMwQTRGMEQ3MyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzRDMUM3MjJEQzQxMUU1QkM1Mjg5MzMwQTRGMEQ3MyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pjs2Bb4AAAItSURBVHjazJhbK0RRGIb3DIOU/AG5kUTOgxmHceFGKf6BO+Vf+E8KKYcYg3FuMpNIDhFJXJAcp/GtvKumrzVs+zBrvfU2u689q6d3rb33+lYgl8tZvymZ3JOX7eQp8gT50fJA0Wj4z3tKbY5VR14hV5ObyWLkZ6sICtq4p4V8CjihevIWucoUQJFUmtUayTvkShMAL5DiGqs3IMlK3YBSgwrIZkBWmAAoIRMKyG2/IIMO/hMjbygepCS53ARAoQHyOqu1YbrLTADMAXJbASmSDOkGlOpTQHaQN72CdAuYBeQuq4cBWaIbUEJGC0Am3UIGPVoqMsk9Vu/CwxTQDSj0iSQPWD2C6Q7oBhT6AmRKAZkwAVDoowBkn+LdqQVQ6A2QhwrIuAmAEjKi2KrF/jPdfgIKveI7Pcfq/eSMCYBSD4pakymA0+RxVrsn15oAOEMeY7Vbcif5ys4ApT7CzZJHWO2G3I1fSyfgPHmY1a7x6bvT/ZpZUMBdOoHzI8El8pCiK+wq8CQXNcFlBdw51tyD00G9SnAVHV++zgDn6hzHiwTjCrgTTKvrQya3Ca5jA5CvY3IP+UlnTxJEb8zhjpDck1cL20mCAcBFWD2D2ovOvjiERojDpTGtnsL9N8EQegt+LJrC5vRN59lMORp0DrePNH2BswvYivXVzuoHSO7dz+2QHcAa6+eMOl87WHOffm8m7QCK7foog+tFi2mZACg3npPkRUxrtkitgvUtwAA5A3LWdzPizwAAAABJRU5ErkJggg==\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjFJREFUeNrsmMlKw1AUhuusC3HhVlBwq1jH2lYFRRBU3Ll0Jz6GD+MDCKKCIAoOrXEsdaQK6qJUilrBobRWrefCH7gc0iFpagrmwg/N35vku+dOJ7csnU47SrmUO0q82IA2oA1oAxa5VCrKsfp7nBQmnVrM1EKqJ53JEZwkrZIWSTUWAy4jSK0q4BxMB0yFVGUR3DapDb9F1zoF4DSr5CTtWQAp4Aal6wbSvAAcIx2yyt2kXVLZH8HtMDhRbkizAvCH5NaA7EMkiznTRQB8pAHmXyFIMfXl3yQPKcAquhDJYkbOw7wQ3vvG18Ev/HHCbnCjlWaWCtI+ycv8c1KXCqe1UKfQoiDzPRjEZsH5MYQ4nAhQPNdOkiT14wa5iEG8ZQKcogEnFuVeDpdtq0ugNRfMHyJtGoSrAlwP84MATujdi+OAvGL+MGlD75aKFUELzpUJLp9k4QOtCzF/hLSeJ1w16QDLhlwCeHay0GzmHQ+6Zv4oaS3HvbWA62T+MSL3aVa69YqJc8v8MSQZmeDEmOvQgHNjxTA1H3zBTLtjvkjTVphXh8hxuCNELpXvS/VuYzF09z3zJ0hL0rWAa2d19tEL33pnl97yhNkouqpZ8qdIC6RGKWWS4US36j7GqDS4pj2jq0SXNUn+jEZdP5IBQ2cshWQqUUQykqWOH/ut4QOgQlOpKCbOQ4ZMxVsKX3URTJxHyfNhWyyZz86wtFNcaiSgxjNa+3zQBrQBbcB/DvgrwACgxHgAm8p3VwAAAABJRU5ErkJggg== */ \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjFJREFUeNrsmMlKw1AUhuusC3HhVlBwq1jH2lYFRRBU3Ll0Jz6GD+MDCKKCIAoOrXEsdaQK6qJUilrBobRWrefCH7gc0iFpagrmwg/N35vku+dOJ7csnU47SrmUO0q82IA2oA1oAxa5VCrKsfp7nBQmnVrM1EKqJ53JEZwkrZIWSTUWAy4jSK0q4BxMB0yFVGUR3DapDb9F1zoF4DSr5CTtWQAp4Aal6wbSvAAcIx2yyt2kXVLZH8HtMDhRbkizAvCH5NaA7EMkiznTRQB8pAHmXyFIMfXl3yQPKcAquhDJYkbOw7wQ3vvG18Ev/HHCbnCjlWaWCtI+ycv8c1KXCqe1UKfQoiDzPRjEZsH5MYQ4nAhQPNdOkiT14wa5iEG8ZQKcogEnFuVeDpdtq0ugNRfMHyJtGoSrAlwP84MATujdi+OAvGL+MGlD75aKFUELzpUJLp9k4QOtCzF/hLSeJ1w16QDLhlwCeHay0GzmHQ+6Zv4oaS3HvbWA62T+MSL3aVa69YqJc8v8MSQZmeDEmOvQgHNjxTA1H3zBTLtjvkjTVphXh8hxuCNELpXvS/VuYzF09z3zJ0hL0rWAa2d19tEL33pnl97yhNkouqpZ8qdIC6RGKWWS4US36j7GqDS4pj2jq0SXNUn+jEZdP5IBQ2cshWQqUUQykqWOH/ut4QOgQlOpKCbOQ4ZMxVsKX3URTJxHyfNhWyyZz86wtFNcaiSgxjNa+3zQBrQBbcB/DvgrwACgxHgAm8p3VwAAAABJRU5ErkJggg==\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAhdJREFUeNrsmNsrBFEcx+2wdluWkERyK7QsYl13WUVKuZU/yZ8hbx49U0qUy1rLuoRHT169yIO78Tv6Tp1+nXWZC1PmV9+a+c6cmc/5nfmdOTM+Xdfz3BxansvDA/QAPUAP0OEoSKezdl7vktRGqiNduy2Du4ATIXpd6ybAbVJC2q8kZUg1bgDcI40o/GrSIanqrwB9gIt/co7I4JEVSM0C3L4Cbo20zDzxLB6QKkxVsYk2+cjcAPMvSFPYLiXNSsfqkck+0o2TGRRwaQXcOalf2p8jrbJzGlA45U4B+jFUvcw/A9w986cx5HI0onDK7Ab045mLKeAGSQ852okhX2deE0ahxC7AQmSOw50gcw9ftJ8kbTCvBcNdbBUwgAt1Mz8LuKdvjsAEaZN5rbh2kVnAIDLXxXxRjUOklx8W2Dhpi3kR3CP0U8AgeqeCE8/cs8n5cwyvRTnaARn8LmAIldbB/AzgXi2+GkdJO8yLonACXwGG0JuoAi5uA5wRSVKKeV3w/LkAw6RjBZzx1rALzogEpi45epCgAg4YxoFW1iCVY6ViVwzjvnJ04775BmA5po2IYgEqeunkv5E3zAgZ5vchu5oAXCI1sxN2HM6cHDoymVVArgvABdItg0v+8rfRMzJ5yvwVDWZMWjL9NpwMKaaxK+zPkBaNahFmJ+nuj78yH0nzWOR+rIR83v9BD9AD9AD/OeC7AAMAzploUa8+PpQAAAAASUVORK5CYII= */ \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAhdJREFUeNrsmNsrBFEcx+2wdluWkERyK7QsYl13WUVKuZU/yZ8hbx49U0qUy1rLuoRHT169yIO78Tv6Tp1+nXWZC1PmV9+a+c6cmc/5nfmdOTM+Xdfz3BxansvDA/QAPUAP0OEoSKezdl7vktRGqiNduy2Du4ATIXpd6ybAbVJC2q8kZUg1bgDcI40o/GrSIanqrwB9gIt/co7I4JEVSM0C3L4Cbo20zDzxLB6QKkxVsYk2+cjcAPMvSFPYLiXNSsfqkck+0o2TGRRwaQXcOalf2p8jrbJzGlA45U4B+jFUvcw/A9w986cx5HI0onDK7Ab045mLKeAGSQ852okhX2deE0ahxC7AQmSOw50gcw9ftJ8kbTCvBcNdbBUwgAt1Mz8LuKdvjsAEaZN5rbh2kVnAIDLXxXxRjUOklx8W2Dhpi3kR3CP0U8AgeqeCE8/cs8n5cwyvRTnaARn8LmAIldbB/AzgXi2+GkdJO8yLonACXwGG0JuoAi5uA5wRSVKKeV3w/LkAw6RjBZzx1rALzogEpi45epCgAg4YxoFW1iCVY6ViVwzjvnJ04775BmA5po2IYgEqeunkv5E3zAgZ5vchu5oAXCI1sxN2HM6cHDoymVVArgvABdItg0v+8rfRMzJ5yvwVDWZMWjL9NpwMKaaxK+zPkBaNahFmJ+nuj78yH0nzWOR+rIR83v9BD9AD9AD/OeC7AAMAzploUa8+PpQAAAAASUVORK5CYII=\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_3___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D%270%200%20120%20120%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20xmlns%3Axlink%3D%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%27%3E%3Cdefs%3E%3Cline%20id%3D%27l%27%20x1%3D%2760%27%20x2%3D%2760%27%20y1%3D%277%27%20y2%3D%2727%27%20stroke%3D%27%236c6c6c%27%20stroke-width%3D%2711%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2830%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2860%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2890%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%28120%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%28150%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.37%27%20transform%3D%27rotate%28180%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.46%27%20transform%3D%27rotate%28210%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.56%27%20transform%3D%27rotate%28240%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.66%27%20transform%3D%27rotate%28270%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.75%27%20transform%3D%27rotate%28300%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.85%27%20transform%3D%27rotate%28330%2060%2C60%29%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E */ \"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D%270%200%20120%20120%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20xmlns%3Axlink%3D%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%27%3E%3Cdefs%3E%3Cline%20id%3D%27l%27%20x1%3D%2760%27%20x2%3D%2760%27%20y1%3D%277%27%20y2%3D%2727%27%20stroke%3D%27%236c6c6c%27%20stroke-width%3D%2711%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2830%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2860%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2890%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%28120%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%28150%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.37%27%20transform%3D%27rotate%28180%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.46%27%20transform%3D%27rotate%28210%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.56%27%20transform%3D%27rotate%28240%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.66%27%20transform%3D%27rotate%28270%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.75%27%20transform%3D%27rotate%28300%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.85%27%20transform%3D%27rotate%28330%2060%2C60%29%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_4___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D%270%200%20120%20120%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20xmlns%3Axlink%3D%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%27%3E%3Cdefs%3E%3Cline%20id%3D%27l%27%20x1%3D%2760%27%20x2%3D%2760%27%20y1%3D%277%27%20y2%3D%2727%27%20stroke%3D%27%23fff%27%20stroke-width%3D%2711%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2830%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2860%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2890%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%28120%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%28150%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.37%27%20transform%3D%27rotate%28180%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.46%27%20transform%3D%27rotate%28210%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.56%27%20transform%3D%27rotate%28240%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.66%27%20transform%3D%27rotate%28270%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.75%27%20transform%3D%27rotate%28300%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.85%27%20transform%3D%27rotate%28330%2060%2C60%29%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E */ \"data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D%270%200%20120%20120%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20xmlns%3Axlink%3D%27http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%27%3E%3Cdefs%3E%3Cline%20id%3D%27l%27%20x1%3D%2760%27%20x2%3D%2760%27%20y1%3D%277%27%20y2%3D%2727%27%20stroke%3D%27%23fff%27%20stroke-width%3D%2711%27%20stroke-linecap%3D%27round%27%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2830%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2860%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%2890%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%28120%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.27%27%20transform%3D%27rotate%28150%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.37%27%20transform%3D%27rotate%28180%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.46%27%20transform%3D%27rotate%28210%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.56%27%20transform%3D%27rotate%28240%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.66%27%20transform%3D%27rotate%28270%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.75%27%20transform%3D%27rotate%28300%2060%2C60%29%27%2F%3E%3Cuse%20xlink%3Ahref%3D%27%23l%27%20opacity%3D%27.85%27%20transform%3D%27rotate%28330%2060%2C60%29%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_5___ = new URL(/* asset import */ __webpack_require__(/*! data:image/png;base64,  */ \"data:image/png;base64, \"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_6___ = new URL(/* asset import */ __webpack_require__(/*! ../fonts/iconfont.eot?t=1555342930253 */ \"./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.eot?t=1555342930253\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_7___ = new URL(/* asset import */ __webpack_require__(/*! ../fonts/iconfont.woff?t=1555342930253 */ \"./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.woff?t=1555342930253\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_8___ = new URL(/* asset import */ __webpack_require__(/*! ../fonts/iconfont.ttf?t=1555342930253 */ \"./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.ttf?t=1555342930253\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_9___ = new URL(/* asset import */ __webpack_require__(/*! ../fonts/iconfont.svg?t=1555342930253 */ \"./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.svg?t=1555342930253\"), __webpack_require__.b);\nvar ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);\nvar ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___);\nvar ___CSS_LOADER_URL_REPLACEMENT_3___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_3___);\nvar ___CSS_LOADER_URL_REPLACEMENT_4___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_4___);\nvar ___CSS_LOADER_URL_REPLACEMENT_5___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_5___);\nvar ___CSS_LOADER_URL_REPLACEMENT_6___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_6___);\nvar ___CSS_LOADER_URL_REPLACEMENT_7___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_6___, { hash: \"#iefix\" });\nvar ___CSS_LOADER_URL_REPLACEMENT_8___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_7___);\nvar ___CSS_LOADER_URL_REPLACEMENT_9___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_8___);\nvar ___CSS_LOADER_URL_REPLACEMENT_10___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_9___, { hash: \"#icon\" });\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@charset \\\"UTF-8\\\";.sys-list-none{padding-left:0}.sys-list-none,.sys-list-none>li{list-style:none}::-webkit-scrollbar{width:7px;height:5px}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-button:end:increment,::-webkit-scrollbar-button:start:decrement{display:block}::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{display:none}::-webkit-scrollbar-thumb:horizontal,::-webkit-scrollbar-thumb:vertical,::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-track:vertical{border-style:solid;border-color:transparent;border-radius:2px}::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-track:vertical{background-clip:padding-box;background-color:transparent}::-webkit-scrollbar-thumb{-webkit-box-shadow:inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);background-clip:padding-box;background-color:rgba(0,0,0,.2);min-height:28px;padding-top:100px}::-webkit-scrollbar-thumb:hover{-webkit-box-shadow:inset 1px 1px 1px rgba(0,0,0,.25);background-color:rgba(0,0,0,.4)}::-webkit-scrollbar-thumb:active{-webkit-box-shadow:inset 1px 1px 3px rgba(0,0,0,.35);background-color:rgba(0,0,0,.5)}::-webkit-scrollbar-thumb:horizontal,::-webkit-scrollbar-thumb:vertical,::-webkit-scrollbar-track:horizontal,::-webkit-scrollbar-track:vertical{border-width:0}::-webkit-scrollbar-track:hover{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,.1);background-color:rgba(0,0,0,.05)}::-webkit-scrollbar-track:active{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,.14),inset -1px -1px 0 rgba(0,0,0,.07);background-color:rgba(0,0,0,.05)}::-webkit-scrollbar-corner{background-color:rgba(0,0,0,.5)}::-webkit-scrollbar-resizer{background-color:rgba(0,0,0,.5)}article,aside,blockquote,body,button,code,dd,div,dl,dt,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hr,input,legend,li,menu,nav,ol,pre,td,textarea,th,time,ul{margin:0;padding:0}article,aside,figure,footer,header,menu,nav,time{display:block}body,form,li,p,ul{list-style:none outside none}body{-webkit-touch-callout:none;-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-text-size-adjust:none}img{border:none;outline:0;vertical-align:top}img:not([src]),img[src=\\\"\\\"]{opacity:0}p{margin:0 0 10px}a{outline:0;border:none;cursor:pointer;text-decoration:none}a:active{outline:0}button,input,select,textarea{border:none;outline:0}button:active,button:focus,button:visited,input:active,input:focus,input:visited,select:active,select:focus,select:visited,textarea:active,textarea:focus,textarea:visited{outline:0}button,input[type=button],input[type=reset],input[type=submit]{overflow:visible;cursor:pointer}button::-moz-focus-inner,input[type=button]::-moz-focus-inner,input[type=file]>input[type=button]::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=submit]::-moz-focus-inner{border:none;padding:0}input::-ms-clear,select::-ms-clear,textarea::-ms-clear{display:none}input:focus,select:focus,textarea:focus{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-modify:read-write-plaintext-only}@-moz-document url-prefix(){input[type=file]{padding-top:0;padding-bottom:0}}*{box-sizing:border-box}body{font-family:\\\"Microsoft YaHei\\\",Arial,Helvetica,sans-serif;font-size:14px;color:#333}button,input,textarea{font-family:\\\"Microsoft YaHei\\\",Arial,Helvetica,sans-serif}.pull-left{float:left}.pull-right{float:right}.clear{clear:both}.clear-after:after{content:\\\" \\\";overflow:hidden;display:block;clear:both}.horizon{margin-left:auto;margin-right:auto}.contenter{padding:10px}.section{margin-top:20px;margin-bottom:20px}.container{margin-right:auto;margin-left:auto}.row:after{content:\\\" \\\";display:block;clear:both}.row [class*=col-]{float:left}.row-cell{padding-left:10px;padding-right:10px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.42857143;color:inherit}.h1,h1{margin-top:20px;margin-bottom:10px;font-size:36px}.h2,h2{margin-top:20px;margin-bottom:10px;font-size:30px}.h3,h3{margin-top:20px;margin-bottom:10px;font-size:24px}.h4,h4{margin-top:10px;margin-bottom:10px;font-size:18px}.h5,h5{margin-top:10px;margin-bottom:10px;font-size:14px}.h6,h6{margin-top:10px;margin-bottom:10px;font-size:12px}.big{font-size:1.2em}.small{font-size:.8em}.list-block .item-caption:focus,.list-block .item-caption:hover,.list-good .item-caption:focus,.list-good .item-caption:hover,.list-image-slide .photos a,.text-linker,.text-url{cursor:pointer}.list-block .item-caption:focus,.list-block .item-caption:focus.active,.list-block .item-caption:focus:focus,.list-block .item-caption:focus:hover,.list-block .item-caption:hover,.list-block .item-caption:hover.active,.list-block .item-caption:hover:focus,.list-block .item-caption:hover:hover,.list-good .item-caption:focus,.list-good .item-caption:focus.active,.list-good .item-caption:focus:focus,.list-good .item-caption:focus:hover,.list-good .item-caption:hover,.list-good .item-caption:hover.active,.list-good .item-caption:hover:focus,.list-good .item-caption:hover:hover,.list-image-slide .photos a,.list-image-slide .photos a.active,.list-image-slide .photos a:focus,.list-image-slide .photos a:hover,.text-linker,.text-linker.active,.text-linker:focus,.text-linker:hover,.text-url,.text-url.active,.text-url:focus,.text-url:hover{text-decoration:none;outline:0}.list-block .item-caption:focus.active,.list-block .item-caption:focus:active,.list-block .item-caption:focus:focus,.list-block .item-caption:focus:hover,.list-block .item-caption:hover.active,.list-block .item-caption:hover:active,.list-block .item-caption:hover:focus,.list-block .item-caption:hover:hover,.list-good .item-caption:focus.active,.list-good .item-caption:focus:active,.list-good .item-caption:focus:focus,.list-good .item-caption:focus:hover,.list-good .item-caption:hover.active,.list-good .item-caption:hover:active,.list-good .item-caption:hover:focus,.list-good .item-caption:hover:hover,.list-image-slide .photos a.active,.list-image-slide .photos a:active,.list-image-slide .photos a:focus,.list-image-slide .photos a:hover,.modal-tools .modal-close.active,.modal-tools .modal-close:active,.modal-tools .modal-close:focus,.modal-tools .modal-close:hover,.paner .paner-more.active,.paner .paner-more:active,.paner .paner-more:focus,.paner .paner-more:hover,.text-link.active,.text-link:active,.text-link:focus,.text-link:hover,.text-linker.active,.text-linker:active,.text-linker:focus,.text-linker:hover,.window .window-close.active,.window .window-close:active,.window .window-close:focus,.window .window-close:hover{color:#1abd9e}.btn,.modal-popup-btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;text-decoration:none;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-appearance:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px}.btn .btn-inner-icon,.modal-popup-btn .btn-inner-icon{margin-right:4px}.btn-link{font-weight:400;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;background-color:transparent}.btn-block{display:block;width:100%}.btn-theme{color:#fff;background-color:#1abd9e;border-color:#17a78b}.btn-theme.active,.btn-theme:active,.btn-theme:focus,.btn-theme:hover{color:#fff;background-color:#17a78b}.btn-theme.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.btn-theme.disabled.active,.btn-theme.disabled:active,.btn-theme.disabled:focus,.btn-theme.disabled:hover{color:#fff;background-color:#1abd9e}.btn-default,.modal-popup-btn{color:#333;background-color:#fff;border-color:#c8c7cc}.btn-default.active,.btn-default:active,.btn-default:focus,.btn-default:hover,.modal-popup-btn.active,.modal-popup-btn:active,.modal-popup-btn:focus,.modal-popup-btn:hover{color:#333;background-color:#f2f2f2}.btn-default.disabled,.modal-popup-btn.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.btn-default.disabled.active,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.modal-popup-btn.disabled.active,.modal-popup-btn.disabled:active,.modal-popup-btn.disabled:focus,.modal-popup-btn.disabled:hover{color:#333;background-color:#fff}.btn-muted{color:#999;background-color:#e6e6e6;border-color:#d9d9d9}.btn-muted.active,.btn-muted:active,.btn-muted:focus,.btn-muted:hover{color:#999;background-color:#d9d9d9}.btn-muted.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.btn-muted.disabled.active,.btn-muted.disabled:active,.btn-muted.disabled:focus,.btn-muted.disabled:hover{color:#999;background-color:#e6e6e6}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2d6da3}.btn-primary.active,.btn-primary:active,.btn-primary:focus,.btn-primary:hover{color:#fff;background-color:#2d6da3}.btn-primary.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.btn-primary.disabled.active,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover{color:#fff;background-color:#337ab7}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.active,.btn-success:active,.btn-success:focus,.btn-success:hover{color:#fff;background-color:#4cae4c}.btn-success.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.btn-success.disabled.active,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover{color:#fff;background-color:#5cb85c}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.active,.btn-info:active,.btn-info:focus,.btn-info:hover{color:#fff;background-color:#46b8da}.btn-info.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.btn-info.disabled.active,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover{color:#fff;background-color:#5bc0de}.btn-warn{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warn.active,.btn-warn:active,.btn-warn:focus,.btn-warn:hover{color:#fff;background-color:#eea236}.btn-warn.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.btn-warn.disabled.active,.btn-warn.disabled:active,.btn-warn.disabled:focus,.btn-warn.disabled:hover{color:#fff;background-color:#f0ad4e}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.active,.btn-danger:active,.btn-danger:focus,.btn-danger:hover{color:#fff;background-color:#d43f3a}.btn-danger.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.btn-danger.disabled.active,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover{color:#fff;background-color:#d9534f}.btn-xs{padding:3px 6px;font-size:12px}.btn-md{padding:10px 20px;font-size:16px}.btn-lg{padding:14px 28px;font-size:18px}.form-box,.form-input,.form-select,.form-textarea{box-sizing:border-box;display:block;padding:6px 12px;width:100%;height:34px;font-size:14px;line-height:1.42857143;color:#666;background-color:transparent;background-image:none;border:1px solid #c8c7cc;border-radius:4px;vertical-align:middle;transition-property:border-color,box-shadow;transition-duration:.4s}.form-box.active,.form-box:focus,.form-input.active,.form-input:focus,.form-select.active,.form-select:focus,.form-textarea.active,.form-textarea:focus{border-color:#1abd9e;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(26,189,158,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(26,189,158,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(26,189,158,.6)}.form-box.disabled,.form-input.disabled,.form-select.disabled,.form-textarea.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.form-box.disabled.active,.form-box.disabled:focus,.form-input.disabled.active,.form-input.disabled:focus,.form-select.disabled.active,.form-select.disabled:focus,.form-textarea.disabled.active,.form-textarea.disabled:focus{border-color:#c8c7cc}.form-textarea{height:auto;max-width:100%;min-height:120px;resize:vertical}.form-textarea-neat{height:34px;min-height:auto}.form-checkbox,.form-radio{font-size:14px}.form-checkbox label,.form-radio label{min-height:20px;margin-right:3px;margin-bottom:0;font-weight:400;cursor:pointer;line-height:1.42857143;color:#666}.form-checkbox.disabled label,.form-radio.disabled label{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.form-checkbox input[type=checkbox],.form-radio input[type=radio]{position:relative;margin-right:3px;top:2px;cursor:pointer}.form-checkbox.disabled input[type=checkbox],.form-radio.disabled input[type=radio]{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.form-group{padding:6px 0;text-align:left}.form-group .form-checkbox,.form-group .form-radio{padding:8px 0 0}.form-label{color:#666;text-align:right;line-height:34px}.form-label.text-left{text-align:left}.form-text{color:#666;text-align:left;line-height:34px}.form-help{color:#999}.form-tip{color:red}.form-need{display:inline;font-style:normal;color:red}.form-warn,.form-warn:focus,.form-warn:hover{border-color:#ffa800}.form-danger,.form-danger:focus,.form-danger:hover{border-color:red}.has-success .form-input,.has-success .form-select{border-color:#5cb85c}.has-success .form-checkbox,.has-success .form-radio,.has-success .help-block{color:#5cb85c}.has-danger .form-input,.has-danger .form-select{border-color:red}.has-danger .form-checkbox,.has-danger .form-radio,.has-danger .help-block{color:red}.form-short{display:inline-block;width:35%;vertical-align:middle}.form-verify{display:inline-block;overflow:hidden;padding-left:5px;height:34px;line-height:34px;vertical-align:middle}.form-verify a,.form-verify img{display:inline-block;margin-right:3px;vertical-align:middle;cursor:pointer}.form-inblock{width:auto;display:inline-block}.form-group-xs{font-size:12px}.form-group-xs .form-input,.form-group-xs .form-select,.form-group-xs .form-textarea{padding:3px 6px;height:26px;font-size:12px}.form-group-xs .form-checkbox,.form-group-xs .form-radio{padding:5px 0;font-size:12px}.form-group-xs .form-label,.form-group-xs .form-text,.form-group-xs .form-verify{height:26px;line-height:26px;font-size:12px}.form-group-md{font-size:16px}.form-group-md .form-input,.form-group-md .form-select,.form-group-md .form-textarea{padding-top:10px;padding-bottom:10px;height:45px;font-size:16px}.form-group-md .form-checkbox,.form-group-md .form-radio{padding:12px 0;font-size:16px}.form-group-md .form-checkbox input[type=checkbox],.form-group-md .form-radio input[type=radio]{top:0}.form-group-md .form-label,.form-group-md .form-text,.form-group-md .form-verify{height:45px;line-height:45px;font-size:16px}.form-group-lg{font-size:18px}.form-group-lg .form-input,.form-group-lg .form-select,.form-group-lg .form-textarea{padding-top:14px;padding-bottom:14px;height:56px;font-size:18px}.form-group-lg .form-checkbox,.form-group-lg .form-radio{padding:16px 0;font-size:18px}.form-group-lg .form-checkbox input[type=checkbox],.form-group-lg .form-radio input[type=radio]{top:-2px}.form-group-lg .form-label,.form-group-lg .form-text,.form-group-lg .form-verify{height:56px;line-height:56px;font-size:18px}.form-table{display:table;width:100%}.form-table .form-group{display:table-row}.form-table .form-label{width:90px;vertical-align:top}.form-table .form-label,.form-table .form-wall{display:table-cell;padding:6px}.form-float .form-group{clear:both}.form-float .form-label{float:left;padding:0 6px;width:90px}.form-float .form-wall{margin-left:102px;padding:0 6px}.form-inline{text-align:left}.form-inline .form-checkbox,.form-inline .form-group,.form-inline .form-input,.form-inline .form-radio,.form-inline .form-select,.form-inline .form-textarea{display:inline-block;vertical-align:top}.form-inline .form-label{display:inline-block;padding:0 6px;vertical-align:top}.form-inline .form-wall{display:inline-block;padding:0 6px;vertical-align:top}.form-inline button,.form-inline input,.form-inline label,.form-inline select{display:inline-block;width:auto;vertical-align:top}.form-pithy .form-group{clear:both;position:relative}.form-pithy .form-group:before{content:\\\" \\\";position:absolute;left:0;right:0;top:0;height:1px;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-ms-transform:scaleY(.5);-o-transform:scaleY(.5);background-color:#c8c7cc}.form-pithy .form-group:first-child:before{display:none}.form-pithy .form-label{float:left;padding:0 6px;width:90px}.form-pithy .form-wall{margin-left:102px;padding:0 6px}.form-pithy .form-input,.form-pithy .form-textarea{padding-left:0;border:none}.form-pithy .btn-container{padding-top:20px}.form-flex{display:flex;display:-ms-flexbox}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;border-collapse:collapse}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:6px;line-height:1.42857143;vertical-align:top;border-top:1px solid #c8c7cc}.table>tbody>tr>td.vertical-middle,.table>tbody>tr>th.vertical-middle,.table>tfoot>tr>td.vertical-middle,.table>tfoot>tr>th.vertical-middle,.table>thead>tr>td.vertical-middle,.table>thead>tr>th.vertical-middle{vertical-align:middle}.table>thead>tr>th{vertical-align:bottom;border-bottom:1px solid #c8c7cc}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:1px solid #c8c7cc}.table-suit{width:auto;max-width:none}.table-fixed{table-layout:fixed}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:3px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-noborder{border:0}.table-noborder>tbody>tr>td,.table-noborder>tbody>tr>th,.table-noborder>tfoot>tr>td,.table-noborder>tfoot>tr>th,.table-noborder>thead>tr>td,.table-noborder>thead>tr>th{border:0;border-color:transparent}.table-striped>thead>tr>th{background-color:#eee}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:active,.table-hover>tbody>tr:hover{background-color:#f5f5f5}.list-none{padding-left:0}.list-none,.list-none li{list-style:none}.caret{overflow:hidden;display:inline-block;width:0;height:0;margin-left:4px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.caret-top{border-top:none;border-bottom:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.caret-right{border-left:4px solid;border-top:4px solid transparent;border-bottom:4px solid transparent}.caret-left{border-right:4px solid;border-top:4px solid transparent;border-bottom:4px solid transparent}.caption{display:block;padding:0 10px;font-size:16px;font-weight:400;color:#666;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.caption-row{overflow:hidden;position:relative;padding:10px}.caption-row .caption-item{padding:0;vertical-align:middle;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.caption-row-flex{display:flex;display:-ms-flexbox;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-ms-justify-content:space-between;-o-justify-content:space-between;align-items:center;-webkit-align-items:center;-moz-align-items:center;-ms-align-items:center;-o-align-items:center}.well{margin-bottom:10px;padding:10px;min-height:10px;background-color:#fbfbfb;box-shadow:1px 1px 5px #c8c7cc;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px}.well-xs{margin-bottom:5px;padding:5px;min-height:10px}.well-md{margin-bottom:15px;padding:15px;min-height:15px}.well-lg{margin-bottom:20px;padding:20px;min-height:20px}.badge{display:inline-block;padding:3px 6px 4px;min-width:10px;font-size:12px;line-height:1;color:#333;border-radius:10px;text-align:center;white-space:nowrap;vertical-align:middle;background-color:rgba(0,0,0,.15)}.badge-theme{background:#1abd9e;color:#fff}.badge-muted{background:#e6e6e6;color:#fff}.badge-success{background:#5cb85c;color:#fff}.badge-info{background:#5bc0de;color:#fff}.badge-warn{background:#f0ad4e;color:#fff}.badge-danger{background:#d9534f;color:#fff}.nav-dir{overflow:hidden;padding:5px 10px;margin-bottom:15px;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;background-color:#f2f2f2;color:#a2a2a2}.nav-dir .dir-gap,.nav-dir .dir-link,.nav-dir .dir-text{margin:0 5px;font-style:normal}.nav-dir .dir-link{color:#1abd9e}.nav-dir .dir-gap{color:#d2d2d2}.bar{position:absolute;right:0;left:0;z-index:9;height:40px;padding-right:10px;padding-left:10px;background-color:#fbfbfb;backface-visibility:hidden;transform:translateZ(0)}.bar .icon{position:relative;padding:10px 2px;line-height:24px;z-index:20;font-size:20px;color:#666}.bar .bar-item{height:40px;line-height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;z-index:5}.bar .bar-container{position:absolute;left:0;top:0;right:0;height:100%}.bar-fixed{position:fixed}.bar-nav{top:0;background-color:#1abd9e}.bar-nav .bar-item{position:relative;color:#fff;vertical-align:middle}.bar-nav .caption{position:absolute;top:0;left:40px;right:40px;z-index:3}.bar-nav .caption,.bar-nav .icon,.bar-nav a,.bar-nav button{color:#fff;vertical-align:middle}.bar-tab{bottom:0;width:100%;padding:0;table-layout:fixed;border-top:1px solid #c8c7cc}.bar-tab .tab-item{position:relative;display:table-cell;width:1%;height:40px;color:#666;text-align:center;vertical-align:middle}.bar-tab .active{color:#1abd9e}.bar-tab .active .icon{color:#1abd9e}.bar-tab .tab-label{display:block;font-size:12px;position:relative;top:3px}.bar-tab .icon{top:4px;height:24px;line-height:24px;font-size:20px;padding-top:0;padding-bottom:0}.bar-tab-icon{height:50px}.modal{display:none;position:fixed;border-radius:7px;-webkit-border-radius:7px;-moz-border-radius:7px;opacity:0;transition-duration:.4s;-webkit-transition-duration:.4s;-moz-transition-duration:.4s;-o-transition-duration:.4s;-ms-transition-duration:.4s;z-index:20;background:#fff}.modal.active{display:block}.modal.modal-default{background:#fff}.modal-in{opacity:1;visibility:visible}.modal-out{opacity:0}.modal-head{position:relative;padding:10px}.modal-head:after{content:\\\" \\\";position:absolute;left:0;right:0;bottom:0;height:1px;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-ms-transform:scaleY(.5);-o-transform:scaleY(.5);background-color:#c8c7cc}.modal-head+.modal-foot:before{display:none}.modal-tools{position:absolute;right:10px;top:8px}.modal-tools .modal-close{font-size:20px;font-weight:400;color:#999;cursor:pointer}.modal-body{overflow:hidden;position:relative;padding:10px}.modal-body .prompt-input{margin-top:5px}.modal-foot{padding:10px;position:relative;text-align:right}.modal-foot:before{content:\\\" \\\";position:absolute;left:0;right:0;top:0;height:1px;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-ms-transform:scaleY(.5);-o-transform:scaleY(.5);background-color:#c8c7cc}.modal-title{font-size:16px;font-weight:400;text-align:center}.modal-text{padding:5px 0 0;font-size:14px;text-align:center}.modal-mask,.modal-overlay{left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.4);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#66000000', endColorstr='#66000000');z-index:16;visibility:hidden;opacity:0;transition:opacity .4s ease;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-o-transition:opacity .4s ease;-ms-transition:opacity .4s ease}.modal-overlay{position:fixed}.modal-mask{position:absolute}.modal-visible{visibility:visible;opacity:1}.modal-hidden,.modal-hidden.active{opacity:0}.modal-popover{left:0;top:0;width:100%;height:100%;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0}.modal-popup{overflow:hidden;top:50%;left:50%;width:280px;text-align:center;background:#f2f2f2;transition-property:transform,opacity;-webkit-transition-property:-webkit-transform,opacity;transform:translate(-50%,-50%) scale(1.5);-webkit-transform:translate(-50%,-50%) scale(1.5);-moz-transition-property:-moz-transform,opacity;-o-transition-property:-o-transform,opacity;-ms-transition-property:-ms-transform,opacity;-moz-transform:translate(-50%,-50%) scale(1.5);-ms-transform:translate(-50%,-50%) scale(1.5);-o-transform:translate(-50%,-50%) scale(1.5)}.modal-popup.modal-in{transform:translate(-50%,-50%) scale(1);-webkit-transform:translate(-50%,-50%) scale(1);-moz-transform:translate(-50%,-50%) scale(1);-ms-transform:translate(-50%,-50%) scale(1);-o-transform:translate(-50%,-50%) scale(1)}.modal-popup.modal-out{transform:translate(-50%,-50%) scale(.5);-webkit-transform:translate(-50%,-50%) scale(.5);-moz-transform:translate(-50%,-50%) scale(.5);-ms-transform:translate(-50%,-50%) scale(.5);-o-transform:translate(-50%,-50%) scale(.5)}.modal-popup .modal-foot-justify{padding:0;display:flex;display:-ms-flexbox;justify-content:flex-start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start;-ms-justify-content:flex-start;-o-justify-content:flex-start}.modal-popup .modal-foot-justify .modal-popup-btn:first-child:last-child{border-radius:0 0 13px 13px;-webkit-border-radius:0 0 13px 13px;-moz-border-radius:0 0 13px 13px}.modal-popup .modal-foot-justify .modal-popup-btn:first-child{border-radius:0 0 0 13px;-webkit-border-radius:0 0 0 13px;-moz-border-radius:0 0 0 13px}.modal-popup .modal-foot-justify .modal-popup-btn:last-child{border-radius:0 0 13px;-webkit-border-radius:0 0 13px;-moz-border-radius:0 0 13px}.modal-popup .modal-foot-justify .modal-popup-btn{position:relative;display:block;padding:0 5px;width:100%;height:44px;line-height:44px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;cursor:pointer;text-align:center;color:#1abd9e;background:0 0;box-flex:1;flex:1;-moz-flex:1;-ms-flex:1;-moz-box-flex:1}.modal-popup .modal-foot-justify .modal-popup-btn+.modal-popup-btn:before{content:\\\" \\\";position:absolute;top:0;left:0;bottom:0;width:1px;transform:scaleX(.5);-webkit-transform:scaleX(.5);-moz-transform:scaleX(.5);-ms-transform:scaleX(.5);-o-transform:scaleX(.5);background-color:#c8c7cc}.modal-popup .modal-foot-justify .modal-popup-btn.active,.modal-popup .modal-foot-justify .modal-popup-btn:active{background:#e8e8e8}.modal-popup-indicator{padding:5px;top:50%;left:50%;width:44px;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);text-align:center;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;background-color:rgba(0,0,0,.7);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#b3000000', endColorstr='#b3000000')}.modal-popup-btn{margin-left:10px}.popup-btn-ok{color:#fff;background-color:#1abd9e;border-color:#17a78b}.popup-btn-ok.active,.popup-btn-ok:active,.popup-btn-ok:focus,.popup-btn-ok:hover{color:#fff;background-color:#17a78b}.popup-btn-ok.disabled{opacity:.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-khtml-user-select:none;cursor:not-allowed}.popup-btn-ok.disabled.active,.popup-btn-ok.disabled:active,.popup-btn-ok.disabled:focus,.popup-btn-ok.disabled:hover{color:#fff;background-color:#1abd9e}.modal-toast{padding:10px 15px;top:50%;left:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);max-width:280px;min-width:100px;width:auto;color:#fff;min-height:22px;line-height:22px;font-size:14px;text-align:center;border-radius:20px;-webkit-border-radius:20px;-moz-border-radius:20px;background-color:rgba(0,0,0,.7);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#b3000000', endColorstr='#b3000000')}.modal-info{background:#5bc0de}.modal-success{background:#5cb85c}.modal-warn{background:#f0ad4e}.modal-danger{background:#d9534f}.modal-bubble{position:absolute;width:280px}.modal-bubble:before{overflow:hidden;box-sizing:content-box;position:absolute;width:20px;height:20px;content:' ';transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);background:#fff}.modal-bubble .modal-body{padding:5px 0}.modal-bubble-top-left{top:20px;left:0}.modal-bubble-top-left:before{top:-10px;left:10px}.modal-bubble-top-center{top:20px;left:50%;transform:translate(-50%,0);-webkit-transform:translate(-50%,0);-moz-transform:translate(-50%,0);-ms-transform:translate(-50%,0);-o-transform:translate(-50%,0)}.modal-bubble-top-center:before{top:-10px;left:50%;margin-left:-10px}.modal-bubble-top-right{top:20px;right:0}.modal-bubble-top-right:before{top:-10px;right:10px}.modal-bubble-bottom-left{bottom:20px;left:0}.modal-bubble-bottom-left:before{bottom:-10px;left:10px}.modal-bubble-bottom-center{bottom:20px;left:50%;transform:translate(-50%,0);-webkit-transform:translate(-50%,0);-moz-transform:translate(-50%,0);-ms-transform:translate(-50%,0);-o-transform:translate(-50%,0)}.modal-bubble-bottom-center:before{bottom:-10px;left:50%;margin-left:-10px}.modal-bubble-bottom-right{bottom:20px;right:0}.modal-bubble-bottom-right:before{bottom:-10px;right:10px}.modal-bubble-left-center{top:50%;left:20px;transform:translate(0,-50%);-webkit-transform:translate(0,-50%);-moz-transform:translate(0,-50%);-ms-transform:translate(0,-50%);-o-transform:translate(0,-50%)}.modal-bubble-left-center:before{left:-10px;top:50%;margin-top:-10px}.modal-bubble-right-center{top:50%;right:20px;transform:translate(0,-50%);-webkit-transform:translate(0,-50%);-moz-transform:translate(0,-50%);-ms-transform:translate(0,-50%);-o-transform:translate(0,-50%)}.modal-bubble-right-center:before{right:-10px;top:50%;margin-top:-10px}.list-border{border:1px solid #c8c7cc;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px}.list-head{position:relative;padding:10px;background:#fff}.list-head:after{content:\\\" \\\";position:absolute;left:0;right:0;bottom:0;height:1px;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-ms-transform:scaleY(.5);-o-transform:scaleY(.5);background-color:#efeff4}.list-text .list-container{overflow:hidden;padding:10px}.list-text .list-item{overflow:hidden;padding:5px 0}.list-text .item-icon{overflow:hidden;float:left;margin:6px 3px 0 0;width:0;height:0;border-style:solid;border-width:4px;border-color:transparent transparent transparent #cecece}.list-text .item-text{height:20px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#333}.list-text .item-link{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#333}.list-text .item-link:active,.list-text .item-link:hover{color:#1abd9e}.list-text .item-time{float:right;margin-left:10px;text-align:right;white-space:nowrap;color:#999;font-size:12px}.list-image{overflow:hidden;padding:0 0}.list-image .list-container{margin-right:-5px;padding:0}.list-image .list-item{float:left;margin:5px 5px 0 0;padding:0;width:240px;border-width:0;height:none}.list-image .item-cell{display:block;overflow:hidden;width:240px;height:180px;line-height:176px;text-align:center;border:0 solid #cecece}.list-image .item-cell img{display:inline-block;vertical-align:middle;max-width:100%;max-height:100%}.list-image .item-text{margin-top:10px;height:26px;line-height:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.list-image .item-link:active,.list-image .item-link:hover{color:#1abd9e}.list-image li{margin-bottom:10px}.list-image-text .list-item{overflow:hidden;padding-bottom:20px;border-bottom:1px solid #eee}.list-image-text .list-item+.list-item{margin-top:20px}.list-image-text .item-cell{float:left;margin-right:15px;display:block;overflow:hidden;width:240px;height:180px;line-height:176px;text-align:center}.list-image-text .item-cell img{display:inline-block;vertical-align:middle;max-width:100%;max-height:100%}.list-image-text .item-text{overflow:hidden}.list-image-text .item-caption{font-size:16px;color:#333}.list-image-text .item-time{margin:5px 0 15px;padding:0;color:#999}.list-image-text .item-detail{margin-right:5px;color:#666;line-height:24px}.list-image-text .item-more{color:#ee7638}.list-image-text .item-link:active,.list-image-text .item-link:hover{color:#1abd9e}.list-collapse{padding:0 15px}.list-collapse>.collapse-container>.item-container>.collapse-item:first-child>.item-text{border-top:none}.list-collapse .collapse-container{overflow:hidden;font-size:14px;padding-left:0}.list-collapse .collapse-item .collapse-container{display:none}.list-collapse .collapse-item .collapse-container .item-text{padding-left:20px}.list-collapse .collapse-item .collapse-container .collapse-container .item-text{padding-left:40px}.list-collapse .collapse-item .item-link{color:#768399}.list-collapse .collapse-item:hover>.item-container>.item-text>.item-link{color:#1abd9e}.list-collapse .collapse-item.active>.collapse-container{display:block}.list-collapse .collapse-item.active>.item-container>.item-text .item-icon{border-color:#1abd9e transparent transparent transparent}.list-collapse .item-container{padding:10px 0;border-top:1px solid #c8c7cc}.list-collapse .item-container:after,.list-collapse .item-container:before{content:\\\"\\\";display:block;clear:both}.list-collapse .item-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list-collapse .item-text.text-break{word-wrap:break-word;word-break:normal;white-space:normal}.list-collapse .item-checked .item-link{color:#1abd9e}.list-collapse .item-icon{overflow:hidden;display:inline-block;margin-top:-2px;margin-right:8px;width:0;height:0;vertical-align:middle;border-style:solid;border-width:4px;border-color:transparent transparent transparent #1abd9e}.list-collapse .item-tools{float:right}.list-collapse .item-tools-el{cursor:pointer}.list-collapse .item-tools-el+.item-tools-el{margin-left:4px}.list-block .list-item{overflow:hidden;padding:10px;background:#fff}.list-block .list-item:nth-child(n+2):before{content:\\\" \\\";position:absolute;left:0;right:0;top:0;height:1px;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-ms-transform:scaleY(.5);-o-transform:scaleY(.5);background-color:#c8c7cc}.list-block .item-cell{float:left;display:block;overflow:hidden;width:120px;height:90px;line-height:86px;text-align:center;margin-right:10px}.list-block .item-cell img{display:inline-block;vertical-align:middle;max-width:100%;max-height:100%}.list-block .list-item-reverse .item-cell{float:right;margin-right:0;margin-left:5px}.list-block .list-item-reverse .item-time{float:left}.list-block .item-cell-group{clear:both;overflow:hidden;padding-top:5px;display:flex;display:-ms-flexbox;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-ms-justify-content:space-between;-o-justify-content:space-between}.list-block .item-cell-group .item-cell{overflow:hidden;position:relative;float:none;padding-bottom:24.375%;width:32.5%;height:0;margin-left:0;margin-right:0}.list-block .item-cell-group .item-cell img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;vertical-align:top}.list-block .item-cell-group .item-media{position:absolute;top:0;left:0;bottom:0;width:100%}.list-block .item-text{overflow:hidden}.list-block .item-caption{height:26px;line-height:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block;font-size:16px;color:#333}.list-block .item-info{margin:2px 0 4px;height:40px;line-height:20px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#999}.list-block .item-about{display:flex;display:-ms-flexbox;color:#a1a1a1;font-size:12px}.list-block .item-count{margin-right:5px;font-style:normal}.list-block .icon{margin-right:5px}.list-block .item-time{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list-view{position:relative;background:#f2f2f2}.list-view .item-caption{padding:10px;color:#666;font-size:1.2em}.list-view .list-container{position:relative;padding:1px 0}.list-view .list-container:before{content:\\\" \\\";position:absolute;left:0;right:0;top:0;height:1px;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-ms-transform:scaleY(.5);-o-transform:scaleY(.5);background-color:#c8c7cc}.list-view .list-container .list-container:after,.list-view .list-container .list-container:before{display:none}.list-view .list-container .list-container .item-view:last-child .item-inner:after{display:block}.list-view .item-view{position:relative;overflow:hidden;background:#fff}.list-view .item-view:last-child .item-inner:after{display:none}.list-view .item-view .list-container .item-view:last-child:after{display:none}.list-view .item-view .list-container .item-content{padding-left:20px}.list-view .item-content{padding-left:10px;display:flex;display:-ms-flexbox;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-ms-justify-content:space-between;-o-justify-content:space-between;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch;-ms-align-items:stretch;-o-align-items:stretch}.list-view .item-content-cover{padding-left:0}.list-view .item-content-cover .item-inner{margin-left:0;padding-left:20px}.list-view .item-link .item-inner{padding-right:40px;background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \");background-size:15px;background-repeat:no-repeat;background-position:right 15px center;background-position:calc(100% - 15px) center}.list-view .item-collapse .item-inner{background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \");background-size:15px;background-repeat:no-repeat;background-position:right 15px center;background-position:calc(100% - 15px) center}.list-view .item-collapse.active .item-inner{background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \")}.list-view .item-media{display:flex;display:-ms-flexbox;flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-moz-flex-wrap:nowrap;-ms-flex-wrap:nowrap;-o-flex-wrap:nowrap;align-items:center;-webkit-align-items:center;-moz-align-items:center;-ms-align-items:center;-o-align-items:center;flex-shrink:0;-webkit-flex-shrink:0;-moz-flex-shrink:0;-ms-flex-shrink:0;padding:10px 0}.list-view .item-inner{position:relative;overflow:hidden;margin-left:10px;padding:10px 20px 10px 0;width:100%;display:flex;display:-ms-flexbox;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-ms-justify-content:space-between;-o-justify-content:space-between;align-items:center;-webkit-align-items:center;-moz-align-items:center;-ms-align-items:center;-o-align-items:center}.list-view .item-inner:after{content:\\\" \\\";position:absolute;left:0;right:0;bottom:0;height:1px;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-ms-transform:scaleY(.5);-o-transform:scaleY(.5);background-color:#c8c7cc}.list-view .item-title-row{display:flex;display:-ms-flexbox;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-ms-justify-content:space-between;-o-justify-content:space-between;margin-bottom:5px}.list-view .item-title{position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex-shrink:0;-webkit-flex-shrink:0;-moz-flex-shrink:0;-ms-flex-shrink:0;max-width:100%;font-size:16px}.list-view .item-after{display:flex;display:-ms-flexbox;overflow:hidden;text-overflow:ellipsis;margin-left:5px;white-space:nowrap;color:#666}.list-view .item-subtitle{position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:14px}.list-view .item-text{position:relative;font-size:14px;color:#666;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.list-view-media .item-inner{display:block;align-items:stretch;-webkit-align-items:stretch;-moz-align-items:stretch;-ms-align-items:stretch;-o-align-items:stretch}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px;font-size:14px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:-.57142857;color:#1abd9e;text-decoration:none;background-color:#fff;border:1px solid #c8c7cc}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{color:#1abd9e;background-color:#eee;border-color:#c8c7cc}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;cursor:default;color:#fff;background-color:#1abd9e;border-color:#1abd9e}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{cursor:not-allowed;color:#777;background-color:#fff;border-color:#c8c7cc}.pagination-xs>li>a,.pagination-xs>li>span{padding:3px 6px;font-size:12px;line-height:26px}.pagination-xs>li:first-child>a,.pagination-xs>li:first-child>span{border-top-left-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-bottom-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.pagination-xs>li:last-child>a,.pagination-xs>li:last-child>span{border-top-right-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.pagination-md>li>a,.pagination-md>li>span{padding:10px 20px;font-size:16px;line-height:45px}.pagination-md>li:first-child>a,.pagination-md>li:first-child>span{border-top-left-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-bottom-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.pagination-md>li:last-child>a,.pagination-md>li:last-child>span{border-top-right-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.pagination-lg>li>a,.pagination-lg>li>span{padding:14px 28px;font-size:18px;line-height:56px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-bottom-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.pagination-left .pagination,.pagination-left .pagination-jump,.pagination-left .pagination-rows{float:left;margin-right:10px}.pagination-left .pagination-info{float:left}.pagination-right .pagination,.pagination-right .pagination-jump,.pagination-right .pagination-rows{float:right;margin-left:10px}.pagination-right .pagination-info{float:right}.pagination-center{text-align:center}.pagination-justified .pagination,.pagination-justified .pagination-jump,.pagination-justified .pagination-rows{float:left}.pagination-justified .pagination-info{float:right}.pagination-info{font-size:14px;margin:20px 0;padding-top:6px;padding-bottom:6px;line-height:1.42857143}.pagination-jump,.pagination-rows{margin:20px 0;margin-right:10px;line-height:1.42857143}.pagination-jump input{display:inline-block;margin-left:5px;width:60px;text-align:center}.pagination-rows{display:inline-block;margin-left:5px;width:75px;text-align:center}.dropdown,.dropup{position:relative}.dropdown.active .dropmenu,.dropdown.drop-hover:hover .dropmenu,.dropup.active .dropmenu,.dropup.drop-hover:hover .dropmenu{display:block}.dropdown .drop-select,.dropup .drop-select{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:90%;vertical-align:top}.dropup .dropmenu{top:auto;bottom:100%}.dropup .caret{border-top:0;border-bottom:4px solid}.dropmenu{display:none;position:absolute;top:100%;left:0;min-width:160px;padding:5px 0;font-size:14px;z-index:6;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #c8c7cc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropmenu .item-link{display:block;padding:3px 10px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropmenu .item-link:focus,.dropmenu .item-link:hover{text-decoration:none;color:#1abd9e;background:#e6e6e6}.dropmenu .item-link .link-icon{margin-right:4px}.dropmenu .menu-caption{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropmenu .menu-split{overflow:hidden;margin:5px 0;height:1px;background-color:#e6e6e6}.dropmenu-right{left:auto;right:0}.tabs{overflow:hidden;position:relative;background:#fff}.tabs-paner .paner-item{display:none}.tabs-paner .paner-item.active{display:block}.tabs-paner .item-container{position:relative}.tabs-overline .tabs-link{border-top:2px solid transparent}.tabs-underline .tabs-link{border-bottom:2px solid transparent}.tabs-overline .tabs-link,.tabs-underline .tabs-link{float:left;min-width:80px;height:40px;line-height:40px;color:#666;font-size:14px;text-align:center;border-left:1px solid #c8c7cc;cursor:pointer}.tabs-overline .tabs-link:first-child,.tabs-underline .tabs-link:first-child{margin-left:-1px}.tabs-overline .tabs-link.active,.tabs-underline .tabs-link.active{color:#1abd9e;border-top-color:#1abd9e;border-bottom-color:#1abd9e;z-index:10}.tabs-btn .btn,.tabs-btn .modal-popup-btn{float:left;margin-left:-1px;min-width:80px;border-radius:0;border-color:#1abd9e;color:#666}.tabs-btn .btn:first-child,.tabs-btn .modal-popup-btn:first-child{border-radius:4px 0 0 4px;margin-left:0;border-left-width:1px;border-left-style:solid}.tabs-btn .btn:last-child,.tabs-btn .modal-popup-btn:last-child{border-radius:0 4px 4px 0}.tabs-btn .btn.active,.tabs-btn .modal-popup-btn.active{color:#fff;background-color:#1abd9e;z-index:10}.tabs-overline-flex,.tabs-underline-flex{display:flex;display:-ms-flexbox;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-ms-justify-content:space-between;-o-justify-content:space-between;align-items:center;-webkit-align-items:center;-moz-align-items:center;-ms-align-items:center;-o-align-items:center}.tabs-overline-flex .tabs-link,.tabs-underline-flex .tabs-link{width:100%;height:40px;line-height:40px;color:#666;font-size:14px;text-align:center}.tabs-overline-flex .tabs-link.active,.tabs-underline-flex .tabs-link.active{color:#1abd9e;border-color:#1abd9e;z-index:10}.tabs-btn-flex{display:flex;display:-ms-flexbox;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-ms-justify-content:space-between;-o-justify-content:space-between;align-items:center;-webkit-align-items:center;-moz-align-items:center;-ms-align-items:center;-o-align-items:center}.tabs-btn-flex .btn,.tabs-btn-flex .modal-popup-btn{margin-left:-1px;width:100%;border-radius:0;flex-grow:1;-webkit-flex-grow:1;-moz-flex-grow:1;-ms-flex-grow:1;border-color:#1abd9e;color:#666}.tabs-btn-flex .btn:first-child,.tabs-btn-flex .modal-popup-btn:first-child{border-radius:4px 0 0 4px;margin-left:0;border-left-width:1px;border-left-style:solid}.tabs-btn-flex .btn:last-child,.tabs-btn-flex .modal-popup-btn:last-child{border-radius:0 4px 4px 0}.tabs-btn-flex .btn.active,.tabs-btn-flex .modal-popup-btn.active{color:#fff;background-color:#1abd9e;z-index:10}.tabs-nav .tabs-container{border-bottom:1px solid #c8c7cc}.tabs-nav .tabs-item{position:relative;display:inline-block;margin-bottom:-1px}.tabs-nav .tabs-item.active .tabs-link,.tabs-nav .tabs-item.active .tabs-link:focus,.tabs-nav .tabs-item.active .tabs-link:hover{color:#666;cursor:default;background-color:#fff;border:1px solid #c8c7cc;border-bottom-color:transparent}.tabs-nav .tabs-link{position:relative;display:block;padding:0 15px;margin-right:2px;line-height:40px;border:1px solid transparent;cursor:pointer;border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0}.tabs-nav .tabs-link:focus,.tabs-nav .tabs-link:hover{background:#e6e6e6}.indicator{display:inline-block;width:34px;height:34px;vertical-align:top;transform-origin:50%;animation:animate-indicator 1s steps(12,end) infinite}.indicator:after{display:block;content:\\\" \\\";width:100%;height:100%;background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_3___ + \");background-position:50%;background-size:100%;background-repeat:no-repeat}.indicator-snow:after{background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_4___ + \")}@keyframes animate-indicator{100%{transform:rotate(360deg)}}.slip{display:none;overflow:hidden;position:absolute;left:0;top:0;width:100%;height:100%;z-index:12;background:#fff}.slip-action{background:0 0}.slip-active,.slip-cover-bottom-to-center,.slip-cover-center-to-bottom,.slip-cover-center-to-left,.slip-cover-center-to-right,.slip-cover-center-to-top,.slip-cover-left-to-center,.slip-cover-right-to-center,.slip-cover-top-to-center,.slip-move-center-to-left,.slip-move-left-to-center,.slip-move-main-center-to-right,.slip-move-main-right-to-center,.slip-push-bottom-to-center,.slip-push-center-to-bottom,.slip-push-center-to-left,.slip-push-center-to-right,.slip-push-center-to-top,.slip-push-left-to-center,.slip-push-right-to-center,.slip-push-top-to-center{display:block}.slip-position{transform:translate3d(100%,0,0)}.slip-overlay{display:none;position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.6);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#99000000', endColorstr='#99000000');z-index:11;visibility:visible}.slip-overlay.active{display:block}.slip.slip-active .slip-overlay{display:block}.slip-push-left-to-center{animation:slip-push-left-to-center .4s forwards}@keyframes slip-push-left-to-center{from{opacity:.5;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-push-center-to-left{animation:slip-push-center-to-left .4s forwards}@keyframes slip-push-center-to-left{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:.5;transform:translate3d(-100%,0,0)}}.slip-push-right-to-center{animation:slip-push-right-to-center .4s forwards}@keyframes slip-push-right-to-center{from{opacity:.5;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-push-center-to-right{animation:slip-push-center-to-right .4s forwards}@keyframes slip-push-center-to-right{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:.5;transform:translate3d(100%,0,0)}}.slip-push-top-to-center{animation:slip-push-top-to-center .4s forwards}@keyframes slip-push-top-to-center{from{opacity:.5;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-push-center-to-top{animation:slip-push-center-to-top .4s forwards}@keyframes slip-push-center-to-top{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:.5;transform:translate3d(0,-100%,0)}}.slip-push-bottom-to-center{animation:slip-push-bottom-to-center .4s forwards}@keyframes slip-push-bottom-to-center{from{opacity:.5;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-push-center-to-bottom{animation:slip-push-center-to-bottom .4s forwards}@keyframes slip-push-center-to-bottom{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:.5;transform:translate3d(0,100%,0)}}.slip-cover-left-to-center{animation:slip-cover-left-to-center .4s forwards;z-index:13}@keyframes slip-cover-left-to-center{from{opacity:.5;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-cover-center-to-left{animation:slip-cover-center-to-left .4s forwards;z-index:13}@keyframes slip-cover-center-to-left{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:.5;transform:translate3d(-100%,0,0)}}.slip-cover-right-to-center{animation:slip-cover-right-to-center .4s forwards;z-index:13}@keyframes slip-cover-right-to-center{from{opacity:.5;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-cover-center-to-right{animation:slip-cover-center-to-right .4s forwards;z-index:13}@keyframes slip-cover-center-to-right{from{opacity:.5;transform:translate3d(0,0,0)}to{opacity:1;transform:translate3d(100%,0,0)}}.slip-cover-top-to-center{animation:slip-cover-top-to-center .4s forwards;z-index:13}@keyframes slip-cover-top-to-center{from{opacity:.5;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-cover-center-to-top{animation:slip-cover-center-to-top .4s forwards;z-index:13}@keyframes slip-cover-center-to-top{from{opacity:.5;transform:translate3d(0,0,0)}to{opacity:1;transform:translate3d(0,-100%,0)}}.slip-cover-bottom-to-center{animation:slip-cover-bottom-to-center .4s forwards;z-index:13}@keyframes slip-cover-bottom-to-center{from{opacity:.5;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-cover-center-to-bottom{animation:slip-cover-center-to-bottom .4s forwards;z-index:13}@keyframes slip-cover-center-to-bottom{from{opacity:.5;transform:translate3d(0,0,0)}to{opacity:1;transform:translate3d(0,100%,0)}}.slip-move-left-to-center{animation:slip-move-left-to-center .4s forwards;width:80%}@keyframes slip-move-left-to-center{from{opacity:.5;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-move-main-center-to-right{animation:slip-move-main-center-to-right .4s forwards}@keyframes slip-move-main-center-to-right{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:.5;transform:translate3d(80%,0,0)}}.slip-move-center-to-left{animation:slip-move-center-to-left .4s forwards;width:80%}@keyframes slip-move-center-to-left{from{opacity:.5;transform:translate3d(0,0,0)}to{opacity:1;transform:translate3d(-100%,0,0)}}.slip-move-main-right-to-center{animation:slip-move-main-right-to-center .4s forwards}@keyframes slip-move-main-right-to-center{from{opacity:.5;transform:translate3d(80%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-move-bottom-to-root{top:auto;bottom:0;height:auto;animation:slip-move-bottom-to-root .4s forwards}@keyframes slip-move-bottom-to-root{from{opacity:.5;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}.slip-move-root-to-bottom{top:auto;bottom:0;height:auto;animation:slip-move-root-to-bottom .4s forwards}@keyframes slip-move-root-to-bottom{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:.5;transform:translate3d(0,100%,0)}}.collapse{position:relative}.collapse-paner{display:none;opacity:0;max-height:0;transition-duration:.4s;-webkit-transition-duration:.4s;-moz-transition-duration:.4s;-o-transition-duration:.4s;-ms-transition-duration:.4s;transition-property:max-height opacity;-webkit-transition-property:max-height opacity;-moz-transition-property:max-height opacity;-o-transition-property:max-height opacity;-ms-transition-property:max-height opacity}.collapse-paner.active{display:block}.collapse-paner.collapse-in{opacity:1;max-height:100000px}.collapse-container{position:relative}.bounder{overflow:hidden;box-sizing:content-box;height:0;line-height:40px;text-align:center;transition:height .3s,margin .3s;-webkit-transition:height .3s,margin .3s;-moz-transition:height .3s,margin .3s;-o-transition:height .3s,margin .3s;background-color:#eee;font-size:14px}.bounder-trigger{transition:transform .3s;-webkit-transition:-webkit-transform .3s;-moz-transition:-moz-transform .3s;-o-transition:-o-transform .3s}.list-carousel{position:relative;width:320px;height:240px}.list-carousel .list-container{overflow:hidden;position:relative;width:320px;height:240px;z-index:1}.list-carousel .list-item{position:absolute;left:0;top:0;right:0;opacity:0;transition:opacity .5s ease;-webkit-transition:opacity .5s ease;-moz-transition:opacity .5s ease;-o-transition:opacity .5s ease;-ms-transition:opacity .5s ease;text-align:center}.list-carousel .list-item.active{opacity:1;z-index:3}.list-carousel .item-link{display:block}.list-carousel .item-cell{display:block;overflow:hidden;width:320px;height:240px;line-height:236px;text-align:center}.list-carousel .item-cell img{display:inline-block;vertical-align:middle;max-width:100%;max-height:100%}.list-carousel .item-text{position:absolute;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.7);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#b3000000', endColorstr='#b3000000')}.list-carousel .item-text-wall{display:block;margin:0 120px 0 10px;text-align:left;color:#fff;font-size:12px;height:30px;line-height:30px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list-carousel .list-handler{position:absolute;right:0;bottom:11px;left:0;padding-right:10px;height:8px;text-align:right;z-index:5}.list-carousel .item-handler{display:inline-block;vertical-align:top;margin:0 3px;width:8px;height:8px;background:#fff;cursor:pointer;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%}.list-carousel .item-handler.active{background:#1abd9e}.list-carousel-fix{overflow:hidden;width:auto;height:auto}.list-carousel-fix .list-container{width:auto;height:auto}.list-carousel-fix .list-item.active{display:block;position:relative;opacity:1}.list-carousel-fix .list-item img{display:block;max-width:100%;width:100%}.list-carousel-fix .animate{opacity:1}.list-carousel-fix .list-handler{width:100%;text-align:center;font-size:0;letter-spacing:-10px}.list-carousel-fix .item-handler{opacity:.3;filter:alpha(opacity=30)}.list-carousel-fix .item-handler.active,.list-carousel-fix .item-handler:hover{opacity:1;filter:alpha(opacity=100)}.list-image-slide{position:relative}.list-image-slide .photos{overflow:hidden;position:relative;margin:0 auto;width:320px;height:280px;z-index:1}.list-image-slide .photos li{position:absolute;left:0;top:0;width:320px}.list-image-slide .photos li+li{display:none}.list-image-slide .photos a{color:#666}.list-image-slide .photos .cell{display:block;overflow:hidden;width:320px;height:240px;line-height:236px;text-align:center}.list-image-slide .photos .cell img{display:inline-block;vertical-align:middle;max-width:100%;max-height:100%}.list-image-slide .photos .text{text-align:center;height:40px;line-height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list-image-slide .handlers{position:absolute;top:220px;right:0;left:0;height:10px;text-align:right;z-index:2}.list-image-slide .handlers li{margin:0 4px;display:inline-block;width:8px;height:8px;background:#fff;cursor:pointer;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%}.list-image-slide .handlers li.active{background:#1abd9e}.page{min-height:100%}.native-fix{overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0}.native-abs{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.native-scroll{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;overflow-scrolling:touch;-webkit-overflow-scrolling:touch}.container-native{width:100%;height:100%;overflow:auto;overflow-scrolling:touch;-webkit-overflow-scrolling:touch}.container-media{text-align:center}.container-media embed,.container-media img,.container-media object{float:none;display:block;margin:0 auto;padding:0;max-width:100%}.text-muted{color:#e6e6e6}.text-primary{color:#337ab7}.text-info{color:#5bc0de}.text-success{color:#5cb85c}.text-warn{color:#f0ad4e}.text-danger{color:#d9534f}.btn-group{position:relative;display:inline-block;vertical-align:middle;margin-top:5px;margin-bottom:5px}.btn-group .btn,.btn-group .modal-popup-btn{position:relative;float:left}.btn-group .btn+.btn,.btn-group .modal-popup-btn+.modal-popup-btn{margin-left:-1px}.btn-group>.btn:first-child:not(:last-child),.btn-group>.modal-popup-btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.modal-popup-btn:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn:not(:first-child):not(:last-child),.btn-group>.modal-popup-btn:not(:first-child):not(:last-child){border-radius:0}.btn-group .caret{margin:0}.btn-group-action,.btn-group-block{display:block}.btn-group-action .btn,.btn-group-vertical .btn,.btn-group-vertical .modal-popup-btn{display:block;float:none;width:100%;max-width:100%}.btn-group-action .btn+.btn,.btn-group-vertical .btn+.btn,.btn-group-vertical .modal-popup-btn+.modal-popup-btn{margin-left:0;margin-top:-1px}.btn-group-action>.btn:first-child:not(:last-child),.btn-group-vertical>.btn:first-child:not(:last-child),.btn-group-vertical>.modal-popup-btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-action>.btn:last-child:not(:first-child),.btn-group-vertical>.btn:last-child:not(:first-child),.btn-group-vertical>.modal-popup-btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-justify{display:flex;display:-ms-flexbox;justify-content:space-between;-webkit-justify-content:space-between;-moz-justify-content:space-between;-ms-justify-content:space-between;-o-justify-content:space-between;align-items:center;-webkit-align-items:center;-moz-align-items:center;-ms-align-items:center;-o-align-items:center}.btn-group-justify>.btn,.btn-group-justify>.modal-popup-btn{margin-left:-1px;width:100%;border-radius:0;flex-grow:1;-webkit-flex-grow:1;-moz-flex-grow:1;-ms-flex-grow:1}.btn-group-justify>.btn:first-child:not(:last-child),.btn-group-justify>.modal-popup-btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group-justify>.btn:last-child:not(:first-child),.btn-group-justify>.modal-popup-btn:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group-justify>.btn:not(:first-child):not(:last-child),.btn-group-justify>.modal-popup-btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-action{margin-left:auto;margin-right:auto;max-width:280px}.input-group{position:relative;display:table;border-collapse:separate;font-size:0}.input-group .form-input:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.input-group .form-input:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.input-group .form-input:not(:first-child):not(:last-child){border-radius:0}.input-group .form-input,.input-group-addon,.input-group-btn{display:table-cell}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1.42857143;color:#666;text-align:center;background-color:#eee;border:1px solid #c8c7cc;border-radius:4px}.input-group-addon:first-child{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:last-child{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn-group:not(:first-child)>.modal-popup-btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.modal-popup-btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.btn-group>.modal-popup-btn,.input-group-btn:last-child>.modal-popup-btn{border-left-width:0;border-top-left-radius:0;border-bottom-left-radius:0}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.btn-group>.modal-popup-btn,.input-group-btn:first-child>.modal-popup-btn,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn-group:not(:last-child)>.modal-popup-btn,.input-group-btn:last-child>.btn:not(:last-child),.input-group-btn:last-child>.modal-popup-btn:not(:last-child){border-right-width:0;border-top-right-radius:0;border-bottom-right-radius:0}.input-group-btn:first-child>.btn+.btn,.input-group-btn:first-child>.modal-popup-btn+.modal-popup-btn,.input-group-btn:last-child>.btn+.btn,.input-group-btn:last-child>.modal-popup-btn+.modal-popup-btn{border-left-width:1px}.form-switch-rich{position:relative;display:inline-block;vertical-align:middle;width:60px;height:32px;border-radius:16px;box-sizing:border-box;cursor:pointer}.form-switch-rich input[type=radio]{display:none}.form-switch-rich .switch-rich{position:relative;margin:0;padding:0;width:60px;height:32px;border-radius:16px;box-sizing:border-box;background:#c8c7cc;border:none;transition-duration:.4s}.form-switch-rich .switch-rich:before{content:' ';position:absolute;left:2px;top:2px;width:56px;height:28px;border-radius:16px;box-sizing:border-box;background:#fff;z-index:1;transition-duration:.4s;transform:scale(1)}.form-switch-rich .switch-rich:after{content:' ';position:absolute;top:2px;left:2px;width:30px;height:28px;border-radius:28px;background:#fff;z-index:2;box-shadow:0 2px 5px rgba(0,0,0,.4);transform:translateX(0);transition-duration:.4s}.form-switch-rich .switch-text{position:relative;display:block;width:30px;height:32px;z-index:3;line-height:32px;font-size:16px;color:#fff;font-style:normal;text-align:center}.form-switch-rich .switch-text:first-child{float:left;display:none}.form-switch-rich .switch-text:first-child+.switch-text{float:right;color:#999}.form-switch-rich.active .switch-rich{background:#1abd9e}.form-switch-rich.active .switch-rich:before{transform:scale(0);width:0}.form-switch-rich.active .switch-rich:after{transform:translateX(28px)}.form-switch-rich.active .switch-text:first-child{display:block}.form-switch-rich.active .switch-text:first-child+.switch-text{display:none}.form-checkbox-rich,.form-radio-rich{position:relative;overflow:visible;display:inline-block;width:32px;height:32px;vertical-align:middle;cursor:pointer}.form-radio-rich input[type=radio]{display:none}.form-radio-rich .radio-rich{position:relative}.form-radio-rich .radio-rich:before{content:' ';position:absolute;left:0;top:0;width:32px;height:32px;border:1px solid #c8c7cc;border-radius:16px;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:1}.form-radio-rich .radio-rich:after{content:' ';position:absolute;left:9px;top:9px;width:16px;height:16px;border-radius:8px;z-index:2;transition-duration:.4s;-webkit-transition-duration:.4s;-moz-transition-duration:.4s;-o-transition-duration:.4s;-ms-transition-duration:.4s}.form-radio-rich.active .radio-rich:after{background:#1abd9e}.form-checkbox-rich input[type=checkbox]{display:none}.form-checkbox-rich .checkbox-rich{position:relative}.form-checkbox-rich .checkbox-rich:before{content:' ';position:absolute;left:0;top:0;width:32px;height:32px;border:1px solid #dfe0e1;border-radius:16px;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:1;transition-duration:.4s;-webkit-transition-duration:.4s;-moz-transition-duration:.4s;-o-transition-duration:.4s;-ms-transition-duration:.4s}.form-checkbox-rich .checkbox-rich:after{content:' ';position:absolute;left:13px;top:8px;width:6px;height:12px;border-right:1px solid #c8c7cc;border-bottom:1px solid #c8c7cc;transform:rotate(45deg);z-index:2}.form-checkbox-rich.active .checkbox-rich:before{background:#1abd9e}.form-checkbox-rich.active .checkbox-rich:after{border-color:#fff}.mask{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.4)}.mask-video{background-image:url(\" + ___CSS_LOADER_URL_REPLACEMENT_5___ + \");background-repeat:no-repeat;background-position:center center;background-size:60px 60px;cursor:pointer}.container-fixed{margin-left:auto;margin-right:auto}@media (min-width:780px){.container-fixed{width:780px}}@media (min-width:1000px){.container-fixed{width:1000px}}@media (min-width:1220px){.container-fixed{width:1220px}}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:780px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:1000px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1220px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.bar-search{overflow:hidden;padding:5px 0}.bar-search .search-cancel,.bar-search .search-submit{padding:0;width:40px;float:right;height:28px;line-height:28px;text-align:center}.bar-search .search-submit+.search-field{margin-right:45px}.bar-search .search-cancel{margin-right:-60px;transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease;opacity:0}.bar-search .search-field{position:relative;margin-right:0;transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease}.bar-search .search-field .search-icon{position:absolute;top:3px;left:5px;padding:0;line-height:24px;font-size:16px;color:#999}.bar-search .search-input{box-sizing:border-box;display:block;margin:0;padding:0 5px;height:30px;width:100%;border-radius:4px;color:#666;font-size:14px;background-color:#fff;border:1px solid #c8c7cc}.bar-search .search-icon+.search-input{padding-left:28px}.bar-search.active .search-cancel{margin-right:0;opacity:1}.bar-search.active .search-field{margin-right:45px}.bar-search-in{position:relative}.bar-search-in .search-submit{position:absolute;top:5px;right:0;z-index:3;border-top-left-radius:0;border-bottom-left-radius:0}.bar-search-in .search-submit+.search-field{margin-right:0}.bar-muted{background:#e3e3ec}.window{position:fixed;top:50%;left:50%;min-width:260px;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);box-shadow:0 1px 2px #c8c7cc;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;background:#fff}.window .window-head{position:relative;overflow:hidden;padding:10px 15px}.window .window-head:after{content:\\\" \\\";position:absolute;left:0;right:0;bottom:0;height:1px;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-ms-transform:scaleY(.5);-o-transform:scaleY(.5);background-color:#c8c7cc}.window .window-caption{height:30px;line-height:30px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 15px 0 0;padding:0;font-size:14px;font-weight:500}.window .window-tools{overflow:hidden;float:right;height:30px;line-height:30px}.window .window-close{position:relative;top:-2px;font-size:20px;font-weight:400;color:#999;cursor:pointer}.window .window-body{padding:10px 15px}.window .window-text{color:#666;font-size:14px;line-height:24px}.window .window-foot{position:relative;padding:10px 15px}.window .window-foot:before{content:\\\" \\\";position:absolute;left:0;right:0;top:0;height:1px;transform:scaleY(.5);-webkit-transform:scaleY(.5);-moz-transform:scaleY(.5);-ms-transform:scaleY(.5);-o-transform:scaleY(.5);background-color:#c8c7cc}.paner{border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;background:#fff;border:1px solid #c8c7cc}.paner .paner-head{position:relative;overflow:hidden;padding:10px 15px;border-bottom:1px solid #c8c7cc}.paner .paner-caption{height:20px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 15px 0 0;padding:0;font-size:14px;font-weight:500}.paner .paner-tools{overflow:hidden;float:right;height:20px;line-height:20px}.paner .paner-more{font-size:12px;color:#999}.paner .paner-body{padding:10px 15px}.paner .paner-text{color:#666;font-size:14px;line-height:24px}.paner .paner-foot{position:relative;padding:10px 15px;line-height:20px;border-top:1px solid #c8c7cc}.progress{overflow:visible;position:relative;margin-bottom:10px;height:15px;border:none;background:#ccc;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px}.progress-bar{position:relative;width:0;height:100%;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;transition:width .4s ease;-webkit-transition:width .4s ease;-moz-transition:width .4s ease;-o-transition:width .4s ease;-ms-transition:width .4s ease}.progress-text{position:absolute;left:0;right:0;top:0;color:#333;text-align:center;font-size:12px}.progress-theme .progress-bar{background:#1abd9e}.progress-theme .progress-text{color:#fff}.progress-success .progress-bar{background:#5cb85c}.progress-success .progress-text{color:#fff}.progress-info .progress-bar{background:#5bc0de}.progress-info .progress-text{color:#fff}.progress-warn .progress-bar{background:#f0ad4e}.progress-warn .progress-text{color:#fff}.progress-danger .progress-bar{background:#d9534f}.progress-danger .progress-text{color:#fff}.article{padding:1px 20px;min-height:450px}.article .article-caption{margin:15px 15px 10px;font-size:24px;line-height:30px;text-align:center;font-weight:400;color:#1abd9e}.article .article-attr{padding:10px 0;line-height:20px;text-align:center;color:#aaa;border-bottom:1px dashed #c8c7cc;font-size:14px}.article .article-attr span{margin:0 15px}.article .article-content{overflow:hidden;position:relative;padding:15px 0;min-height:260px;max-height:520px;line-height:26px;color:#333;font-size:14px}.article .article-content.active{max-height:999999px}.article .article-content embed,.article .article-content img,.article .article-content object{float:none;max-width:100%}.article .article-content img{display:block;margin:0 auto}.article .article-expand{position:relative;margin-top:-52px;height:52px;line-height:52px;color:#1abd9e;font-size:12px;text-align:center;background:linear-gradient(to bottom,rgba(255,255,255,.8),#fff);background:-ms-linear-gradient(top,rgba(255,255,255,.8),#fff)}.article .article-expand:before{margin-right:5px}.article .article-expand.active{display:none}.article .article-about{overflow:hidden;margin-top:10px;padding:15px 0;line-height:20px;border-top:1px dashed #c8c7cc;border-bottom:1px dashed #c8c7cc}.article .article-about a{color:#666}.article .article-about a:hover{color:#1abd9e}.article .article-next,.article .article-prev{display:block;padding:5px 0;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.article .article-action{overflow:hidden;padding:5px;font-size:12px;color:#999}.article .article-action .item-action{float:right;margin-left:10px;font-style:normal}.article .article-action .icon{margin-right:5px}.article .mark{color:#1abd9e}.article .disabled{color:#999}.tips{position:relative;margin-bottom:10px;padding:10px;border:1px solid #c8c7cc;background-color:#fff;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;box-shadow:0 1px 2px #c8c7cc}.tips .tips-container{overflow:hidden;white-space:nowrap}.tips .tips-icon,.tips .tips-text{display:inline-block;vertical-align:top;font-size:14px;line-height:18px}.tips .tips-icon{margin-right:5px}.tips .tips-text{white-space:normal}.tips .tips-close{float:right;margin-left:5px;font-size:18px;line-height:16px;cursor:pointer}.tips-bubble{display:inline-block;color:#fff;border-color:#333;background:#333}.tips-bubble:before{content:\\\"\\\";position:absolute;border-style:solid;border-width:5px;border-color:transparent}.tips-bubble .tips-close{color:#fff}.tips-bubble.tips-left-middle:before{border-right-color:#333}.tips-bubble.tips-top-left:before{border-bottom-color:#333}.tips-bubble.tips-top-center:before{border-bottom-color:#333}.tips-bubble.tips-top-right:before{border-bottom-color:#333}.tips-bubble.tips-right-middle:before{border-left-color:#333}.tips-bubble.tips-bottom-left:before{border-top-color:#333}.tips-bubble.tips-bottom-center:before{border-top-color:#333}.tips-bubble.tips-bottom-right:before{border-top-color:#333}.tips:before{border-width:10px}.tips.tips-left-middle:before{top:50%;left:-20px;margin-top:-10px}.tips.tips-top-left:before{left:10px;top:-20px}.tips.tips-top-center:before{left:50%;top:-20px;margin-left:-10px}.tips.tips-top-right:before{right:10px;top:-20px}.tips.tips-right-middle:before{top:50%;right:-20px;margin-top:-10px}.tips.tips-bottom-left:before{left:10px;bottom:-20px}.tips.tips-bottom-center:before{left:50%;bottom:-20px;margin-left:-10px}.tips.tips-bottom-right:before{right:10px;bottom:-20px}.tips-condensed{padding:5px}.tips-condensed .tips-close,.tips-condensed .tips-icon{font-size:16px}.tips-condensed .tips-text{font-size:12px}.tips-condensed:before{border-width:5px}.tips-condensed.tips-left-middle:before{top:50%;left:-10px;margin-top:-5px}.tips-condensed.tips-top-left:before{left:5px;top:-10px}.tips-condensed.tips-top-center:before{left:50%;top:-10px;margin-left:-5px}.tips-condensed.tips-top-right:before{right:5px;top:-10px}.tips-condensed.tips-right-middle:before{top:50%;right:-10px;margin-top:-5px}.tips-condensed.tips-bottom-left:before{left:5px;bottom:-10px}.tips-condensed.tips-bottom-center:before{left:50%;bottom:-10px;margin-left:-5px}.tips-condensed.tips-bottom-right:before{right:5px;bottom:-10px}.tips-info{color:#fff;background-color:#6cc7e1;border-color:#5bc0de}.tips-info .tips-close{color:#fff}.tips-info.tips-left-middle:before{border-right-color:#6cc7e1}.tips-info.tips-top-left:before{border-bottom-color:#6cc7e1}.tips-info.tips-top-center:before{border-bottom-color:#6cc7e1}.tips-info.tips-top-right:before{border-bottom-color:#6cc7e1}.tips-info.tips-right-middle:before{border-left-color:#6cc7e1}.tips-info.tips-bottom-left:before{border-top-color:#6cc7e1}.tips-info.tips-bottom-center:before{border-top-color:#6cc7e1}.tips-info.tips-bottom-right:before{border-top-color:#6cc7e1}.tips-success{color:#fff;background-color:#6abe6a;border-color:#5cb85c}.tips-success .tips-close{color:#fff}.tips-success.tips-left-middle:before{border-right-color:#6abe6a}.tips-success.tips-top-left:before{border-bottom-color:#6abe6a}.tips-success.tips-top-center:before{border-bottom-color:#6abe6a}.tips-success.tips-top-right:before{border-bottom-color:#6abe6a}.tips-success.tips-right-middle:before{border-left-color:#6abe6a}.tips-success.tips-bottom-left:before{border-top-color:#6abe6a}.tips-success.tips-bottom-center:before{border-top-color:#6abe6a}.tips-success.tips-bottom-right:before{border-top-color:#6abe6a}.tips-warn{color:#fff;background-color:#f2b661;border-color:#f0ad4e}.tips-warn .tips-close{color:#fff}.tips-warn.tips-left-middle:before{border-right-color:#f2b661}.tips-warn.tips-top-left:before{border-bottom-color:#f2b661}.tips-warn.tips-top-center:before{border-bottom-color:#f2b661}.tips-warn.tips-top-right:before{border-bottom-color:#f2b661}.tips-warn.tips-right-middle:before{border-left-color:#f2b661}.tips-warn.tips-bottom-left:before{border-top-color:#f2b661}.tips-warn.tips-bottom-center:before{border-top-color:#f2b661}.tips-warn.tips-bottom-right:before{border-top-color:#f2b661}.tips-danger{color:#fff;background-color:#dd6360;border-color:#d9534f}.tips-danger .tips-close{color:#fff}.tips-danger.tips-left-middle:before{border-right-color:#dd6360}.tips-danger.tips-top-left:before{border-bottom-color:#dd6360}.tips-danger.tips-top-center:before{border-bottom-color:#dd6360}.tips-danger.tips-top-right:before{border-bottom-color:#dd6360}.tips-danger.tips-right-middle:before{border-left-color:#dd6360}.tips-danger.tips-bottom-left:before{border-top-color:#dd6360}.tips-danger.tips-bottom-center:before{border-top-color:#dd6360}.tips-danger.tips-bottom-right:before{border-top-color:#dd6360}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.navbar:after{content:\\\"\\\";display:block;clear:both}.navbar-inverse{background-color:#324156;border-color:#3391ff}.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#3391ff}.navbar-inverse .navbar-nav>li>a{color:#ffffff}.navbar-nav>li>a{position:relative;display:block;padding:15px;line-height:20px}.nav-bar{overflow:hidden;background:#1abd9e}.nav-bar .nav-item{float:left;line-height:60px}.nav-bar .nav-item:first-child .item-ico{display:none}.nav-bar .nav-item.active .item-link,.nav-bar .nav-item:active .item-link,.nav-bar .nav-item:hover .item-link{color:#fff;background-color:#17a78b}.nav-bar .nav-item.active .item-ico,.nav-bar .nav-item:active .item-ico,.nav-bar .nav-item:hover .item-ico{background:0 0}.nav-bar .nav-item.active+.nav-item .nav-ico,.nav-bar .nav-item:active+.nav-item .nav-ico,.nav-bar .nav-item:hover+.nav-item .nav-ico{background:0 0}.nav-bar .item-link{display:inline-block;vertical-align:top;padding:0 25px;min-width:80px;text-align:center;font-size:14px;font-weight:700;color:#fff}.nav-bar .item-ico{display:inline-block;vertical-align:top;margin-top:23px;width:1px;height:14px;background:#fff}[class*=am-]{animation-duration:.4s;animation-timing-function:ease-out;animation-fill-mode:both}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}.am-fade-in{animation-name:fade-in}@keyframes fade-out{0%{opacity:1}100%{opacity:0}}.am-fade-out{animation-name:fade-out}@keyframes scale-x{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:scaleX(1)}}.am-scale-x{animation-name:scale-x}@keyframes scale-y{0%{opacity:1;transform:scaleY(1)}100%{opacity:0;transform:scaleY(0)}}.am-scale-y{animation-name:scale-y}@keyframes zoom-in{0%{opacity:0;transform:scale(0)}100%{opacity:1;transform:scale(1)}}.am-zoom-in{animation-name:zoom-in}@keyframes zoom-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0)}}.am-zoom-out{animation-name:zoom-out}@keyframes slide-up{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}.am-slide-up{animation-name:slide-up}@keyframes slide-down{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}.am-slide-down{animation-name:slide-down}@keyframes slide-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}.am-slide-left{animation-name:slide-left}@keyframes slide-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}.am-slide-right{animation-name:slide-right}.list-tree{padding-left:0}.list-tree,.list-tree>li{list-style:none}.list-tree .tree-container>.list-item{position:relative}.list-tree .tree-container>.list-item:before{content:\\\"\\\";position:absolute;left:23px;width:1px;height:100%;background:#1abd9e;z-index:3}.list-tree .tree-container>.list-item:last-child:before{height:50%}.list-tree .tree-container>.list-item:after{content:\\\"\\\";position:absolute;left:23px;top:50%;margin-top:-1px;width:17px;height:1px;background:#1abd9e;z-index:3}.list-tree .tree-container>.list-item.active>.item-text,.list-tree .tree-container>.list-item:hover>.item-text{background:#eaeeef}.list-tree .tree-container>.list-item>.item-text{cursor:pointer;position:relative;display:block;padding-left:43px;line-height:30px;color:#484848;border-bottom:1px solid #c8c7cc;z-index:1}.list-tree .tree-container>.list-item>.item-text,.list-tree .tree-container>.list-item>.item-text.active,.list-tree .tree-container>.list-item>.item-text:focus,.list-tree .tree-container>.list-item>.item-text:hover{text-decoration:none;outline:0}.list-tree .tree-container>.list-item>.item-text:before{content:\\\"\\\";overflow:hidden;display:inline-block;vertical-align:middle;margin-top:-2px;width:0;height:0;border-style:solid;border-width:5px;border-color:transparent transparent transparent #afb0b0}.list-tree .tree-container>.list-item-last:before{height:50%}@font-face{font-family:icon;src:url(\" + ___CSS_LOADER_URL_REPLACEMENT_6___ + \");src:url(\" + ___CSS_LOADER_URL_REPLACEMENT_7___ + \") format('embedded-opentype'),url(\" + ___CSS_LOADER_URL_REPLACEMENT_8___ + \") format('woff'),url(\" + ___CSS_LOADER_URL_REPLACEMENT_9___ + \") format('truetype'),url(\" + ___CSS_LOADER_URL_REPLACEMENT_10___ + \") format('svg')}.icon{font-family:icon!important;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-full-screen:before{content:\\\"\\\\e691\\\"}.icon-left:before{content:\\\"\\\\e604\\\"}.icon-right:before{content:\\\"\\\\e60d\\\"}.icon-fullscreenexitalt:before{content:\\\"\\\\e73e\\\"}.icon-bianji:before{content:\\\"\\\\e669\\\"}.icon-clone:before{content:\\\"\\\\e692\\\"}.icon-preview:before{content:\\\"\\\\e61d\\\"}.icon-arrowsrightline:before{content:\\\"\\\\e631\\\"}.icon-arrowsupline:before{content:\\\"\\\\e633\\\"}.icon-arrowsdownline:before{content:\\\"\\\\e68b\\\"}.icon-arrowsleftline:before{content:\\\"\\\\e68c\\\"}.icon-drag:before{content:\\\"\\\\e6e8\\\"}.icon-import:before{content:\\\"\\\\e650\\\"}.icon-export:before{content:\\\"\\\\e651\\\"}.icon-fuwuqi:before{content:\\\"\\\\e678\\\"}.icon-excel:before{content:\\\"\\\\e677\\\"}.icon-drag1:before{content:\\\"\\\\e68d\\\"}.icon-down-:before{content:\\\"\\\\e696\\\"}.icon-UP-:before{content:\\\"\\\\e697\\\"}.icon-icon_yiwenkongxin:before{content:\\\"\\\\eb89\\\"}.icon-daoruexcel:before{content:\\\"\\\\e9a5\\\"}.icon-bianji1:before{content:\\\"\\\\e635\\\"}.icon-fuwuqi1:before{content:\\\"\\\\e606\\\"}.icon-delete:before{content:\\\"\\\\e618\\\"}.icon-icon_add:before{content:\\\"\\\\eb8f\\\"}.icon-icon_addmessage:before{content:\\\"\\\\eb90\\\"}.icon-icon_addresslist:before{content:\\\"\\\\eb91\\\"}.icon-icon_affiliations_li:before{content:\\\"\\\\eb92\\\"}.icon-icon_addperson:before{content:\\\"\\\\eb93\\\"}.icon-icon_boss:before{content:\\\"\\\\eb94\\\"}.icon-icon_alipay_line:before{content:\\\"\\\\eb95\\\"}.icon-icon_addressbook:before{content:\\\"\\\\eb96\\\"}.icon-icon_at:before{content:\\\"\\\\eb97\\\"}.icon-icon_airplay:before{content:\\\"\\\\eb98\\\"}.icon-icon_calendar:before{content:\\\"\\\\eb99\\\"}.icon-icon_attestation:before{content:\\\"\\\\eb9a\\\"}.icon-icon_camera:before{content:\\\"\\\\eb9b\\\"}.icon-icon_certificate_fil:before{content:\\\"\\\\eb9c\\\"}.icon-icon_coinpurse_line:before{content:\\\"\\\\eb9d\\\"}.icon-icon_collect:before{content:\\\"\\\\eb9e\\\"}.icon-icon_compile:before{content:\\\"\\\\eb9f\\\"}.icon-icon_details:before{content:\\\"\\\\eba0\\\"}.icon-icon_circle_line:before{content:\\\"\\\\eba1\\\"}.icon-icon_cloud_history:before{content:\\\"\\\\eba2\\\"}.icon-icon_community_line:before{content:\\\"\\\\eba3\\\"}.icon-icon_discovery:before{content:\\\"\\\\eba4\\\"}.icon-icon_delete:before{content:\\\"\\\\eba5\\\"}.icon-icon_dispose:before{content:\\\"\\\\eba6\\\"}.icon-icon_doc:before{content:\\\"\\\\eba7\\\"}.icon-icon_cspace:before{content:\\\"\\\\eba8\\\"}.icon-icon_exchange:before{content:\\\"\\\\eba9\\\"}.icon-icon_ding:before{content:\\\"\\\\ebaa\\\"}.icon-icon_down:before{content:\\\"\\\\ebab\\\"}.icon-icon_dingtalk_line:before{content:\\\"\\\\ebac\\\"}.icon-icon_gift:before{content:\\\"\\\\ebad\\\"}.icon-icon_glass:before{content:\\\"\\\\ebae\\\"}.icon-icon_file:before{content:\\\"\\\\ebaf\\\"}.icon-icon_GPS:before{content:\\\"\\\\ebb0\\\"}.icon-icon_hardware_fill:before{content:\\\"\\\\ebb1\\\"}.icon-icon_HRM:before{content:\\\"\\\\ebb2\\\"}.icon-icon_im_more:before{content:\\\"\\\\ebb3\\\"}.icon-icon_Eapp_line:before{content:\\\"\\\\ebb4\\\"}.icon-icon_group:before{content:\\\"\\\\ebb5\\\"}.icon-icon_horn:before{content:\\\"\\\\ebb6\\\"}.icon-icon_im_face:before{content:\\\"\\\\ebb7\\\"}.icon-icon_homepage:before{content:\\\"\\\\ebb8\\\"}.icon-icon_invite:before{content:\\\"\\\\ebb9\\\"}.icon-icon_launch_page:before{content:\\\"\\\\ebba\\\"}.icon-icon_likegood:before{content:\\\"\\\\ebbb\\\"}.icon-icon_index_line:before{content:\\\"\\\\ebbc\\\"}.icon-icon_live:before{content:\\\"\\\\ebbd\\\"}.icon-icon_link:before{content:\\\"\\\\ebbe\\\"}.icon-icon_im_voice:before{content:\\\"\\\\ebbf\\\"}.icon-icon_mobilephone:before{content:\\\"\\\\ebc0\\\"}.icon-icon_dmail:before{content:\\\"\\\\ebc1\\\"}.icon-icon_message:before{content:\\\"\\\\ebc2\\\"}.icon-icon_new_recruit:before{content:\\\"\\\\ebc3\\\"}.icon-icon_little_taget:before{content:\\\"\\\\ebc4\\\"}.icon-icon_more:before{content:\\\"\\\\ebc5\\\"}.icon-icon_left:before{content:\\\"\\\\ebc6\\\"}.icon-icon_next_arrow:before{content:\\\"\\\\ebc7\\\"}.icon-icon_notice:before{content:\\\"\\\\ebc8\\\"}.icon-icon_nomemo:before{content:\\\"\\\\ebc9\\\"}.icon-icon_newgroup:before{content:\\\"\\\\ebca\\\"}.icon-icon_namecard:before{content:\\\"\\\\ebcb\\\"}.icon-icon_phone:before{content:\\\"\\\\ebcc\\\"}.icon-icon_qq:before{content:\\\"\\\\ebcd\\\"}.icon-icon_photo:before{content:\\\"\\\\ebce\\\"}.icon-icon_medal:before{content:\\\"\\\\ebcf\\\"}.icon-icon_redpacket:before{content:\\\"\\\\ebd0\\\"}.icon-icon_patriarch:before{content:\\\"\\\\ebd1\\\"}.icon-icon_roundclose:before{content:\\\"\\\\ebd2\\\"}.icon-icon_im_keyboard:before{content:\\\"\\\\ebd3\\\"}.icon-icon_roundreduce:before{content:\\\"\\\\ebd4\\\"}.icon-icon_railway:before{content:\\\"\\\\ebd5\\\"}.icon-icon_QRcode:before{content:\\\"\\\\ebd6\\\"}.icon-icon_savememo:before{content:\\\"\\\\ebd7\\\"}.icon-icon_roundadd:before{content:\\\"\\\\ebd8\\\"}.icon-icon_refresh:before{content:\\\"\\\\ebd9\\\"}.icon-icon_search:before{content:\\\"\\\\ebda\\\"}.icon-icon_scan:before{content:\\\"\\\\ebdb\\\"}.icon-icon_send:before{content:\\\"\\\\ebdc\\\"}.icon-icon_principal:before{content:\\\"\\\\ebdd\\\"}.icon-icon_service:before{content:\\\"\\\\ebde\\\"}.icon-icon_scan_namecard:before{content:\\\"\\\\ebdf\\\"}.icon-icon_secret:before{content:\\\"\\\\ebe0\\\"}.icon-icon_share:before{content:\\\"\\\\ebe1\\\"}.icon-icon_signin_line:before{content:\\\"\\\\ebe2\\\"}.icon-icon_sms:before{content:\\\"\\\\ebe3\\\"}.icon-icon_sketch:before{content:\\\"\\\\ebe4\\\"}.icon-icon_setting:before{content:\\\"\\\\ebe5\\\"}.icon-icon_signal:before{content:\\\"\\\\ebe6\\\"}.icon-icon_skin:before{content:\\\"\\\\ebe7\\\"}.icon-icon_star:before{content:\\\"\\\\ebe8\\\"}.icon-icon_subordinate:before{content:\\\"\\\\ebe9\\\"}.icon-icon_task:before{content:\\\"\\\\ebea\\\"}.icon-icon_statistics:before{content:\\\"\\\\ebeb\\\"}.icon-icon_threeline_fill:before{content:\\\"\\\\ebec\\\"}.icon-icon_study:before{content:\\\"\\\\ebed\\\"}.icon-icon_voice:before{content:\\\"\\\\ebee\\\"}.icon-icon_square:before{content:\\\"\\\\ebef\\\"}.icon-icon_wechat:before{content:\\\"\\\\ebf0\\\"}.icon-icon_sport:before{content:\\\"\\\\ebf1\\\"}.icon-icon_work:before{content:\\\"\\\\ebf2\\\"}.icon-icon_warn:before{content:\\\"\\\\ebf3\\\"}.icon-icon_workmore:before{content:\\\"\\\\ebf4\\\"}.icon-icon_safety:before{content:\\\"\\\\ebf5\\\"}.icon-icon_workset:before{content:\\\"\\\\ebf6\\\"}.icon-icon_voipphone:before{content:\\\"\\\\ebf7\\\"}.icon-icon_shield:before{content:\\\"\\\\ebf8\\\"}.icon-icon_shakehands:before{content:\\\"\\\\ebf9\\\"}.icon-icon_video:before{content:\\\"\\\\ebfa\\\"}.icon-icon_task_done:before{content:\\\"\\\\ebfb\\\"}.icon-icon_meeting:before{content:\\\"\\\\ebfc\\\"}.icon-icon_synergy:before{content:\\\"\\\\ebfd\\\"}.icon-icon_workfile_line:before{content:\\\"\\\\ebfe\\\"}.icon-icon_approval_fill:before{content:\\\"\\\\ebff\\\"}.icon-icon_addresslist_fil:before{content:\\\"\\\\ec00\\\"}.icon-icon_cmail:before{content:\\\"\\\\ec01\\\"}.icon-icon_collect_fill:before{content:\\\"\\\\ec02\\\"}.icon-icon_boss_fill:before{content:\\\"\\\\ec03\\\"}.icon-icon_addressbook_fil:before{content:\\\"\\\\ec04\\\"}.icon-icon_bizcall_fill:before{content:\\\"\\\\ec05\\\"}.icon-icon_calendar_fill:before{content:\\\"\\\\ec06\\\"}.icon-icon_cspace_fill:before{content:\\\"\\\\ec07\\\"}.icon-icon_delete_fill:before{content:\\\"\\\\ec08\\\"}.icon-icon_doc_fill:before{content:\\\"\\\\ec09\\\"}.icon-icon_camera_fill:before{content:\\\"\\\\ec0a\\\"}.icon-icon_copyto:before{content:\\\"\\\\ec0b\\\"}.icon-icon_dingtalk:before{content:\\\"\\\\ec0c\\\"}.icon-icon_Eapp:before{content:\\\"\\\\ec0d\\\"}.icon-icon_ding_ding_fill:before{content:\\\"\\\\ec0e\\\"}.icon-icon_file_fill:before{content:\\\"\\\\ec0f\\\"}.icon-icon_dmail_fill:before{content:\\\"\\\\ec10\\\"}.icon-icon_conf_video_fill:before{content:\\\"\\\\ec11\\\"}.icon-icon_gather_fill:before{content:\\\"\\\\ec12\\\"}.icon-icon_Inbox:before{content:\\\"\\\\ec13\\\"}.icon-icon_coinpurse:before{content:\\\"\\\\ec14\\\"}.icon-icon_certification_f:before{content:\\\"\\\\ec15\\\"}.icon-icon_exchange_fill:before{content:\\\"\\\\ec16\\\"}.icon-icon_inform_fill:before{content:\\\"\\\\ec17\\\"}.icon-icon_discovery_fill:before{content:\\\"\\\\ec18\\\"}.icon-icon_likegood_fill:before{content:\\\"\\\\ec19\\\"}.icon-icon_gps_fill:before{content:\\\"\\\\ec1a\\\"}.icon-icon_dingtab:before{content:\\\"\\\\ec1b\\\"}.icon-icon_invite_fill:before{content:\\\"\\\\ec1c\\\"}.icon-icon_launch_page_fil:before{content:\\\"\\\\ec1d\\\"}.icon-icon_homepage_fill:before{content:\\\"\\\\ec1e\\\"}.icon-icon_gift_fill:before{content:\\\"\\\\ec1f\\\"}.icon-icon_medal_fill:before{content:\\\"\\\\ec20\\\"}.icon-icon_journal_fill:before{content:\\\"\\\\ec21\\\"}.icon-icon_memo:before{content:\\\"\\\\ec22\\\"}.icon-icon_live_fill:before{content:\\\"\\\\ec23\\\"}.icon-icon_message_fill:before{content:\\\"\\\\ec24\\\"}.icon-icon_meeting_fill:before{content:\\\"\\\\ec25\\\"}.icon-icon_newapplication_:before{content:\\\"\\\\ec26\\\"}.icon-icon_people_fill:before{content:\\\"\\\\ec27\\\"}.icon-icon_photo_fill:before{content:\\\"\\\\ec28\\\"}.icon-icon_new_recruit_fil:before{content:\\\"\\\\ec29\\\"}.icon-icon_phone_fill:before{content:\\\"\\\\ec2a\\\"}.icon-icon_ping:before{content:\\\"\\\\ec2b\\\"}.icon-icon_qq_fill:before{content:\\\"\\\\ec2c\\\"}.icon-icon_report_fill:before{content:\\\"\\\\ec2d\\\"}.icon-icon_roundreduce_fil:before{content:\\\"\\\\ec2e\\\"}.icon-icon_namecard_fill:before{content:\\\"\\\\ec2f\\\"}.icon-icon_safety_fill:before{content:\\\"\\\\ec30\\\"}.icon-icon_redpacket_fill:before{content:\\\"\\\\ec31\\\"}.icon-icon_replieslist:before{content:\\\"\\\\ec32\\\"}.icon-icon_roundadd_fill:before{content:\\\"\\\\ec33\\\"}.icon-icon_service_fill:before{content:\\\"\\\\ec34\\\"}.icon-icon_newgroup_fill:before{content:\\\"\\\\ec35\\\"}.icon-icon_study_fill:before{content:\\\"\\\\ec36\\\"}.icon-icon_star_fill:before{content:\\\"\\\\ec37\\\"}.icon-icon_signal_fill:before{content:\\\"\\\\ec38\\\"}.icon-icon_task_checkbox_d:before{content:\\\"\\\\ec39\\\"}.icon-icon_setting_fill:before{content:\\\"\\\\ec3a\\\"}.icon-icon_signin:before{content:\\\"\\\\ec3b\\\"}.icon-icon_skin_fill:before{content:\\\"\\\\ec3c\\\"}.icon-icon_shakehands_fill:before{content:\\\"\\\\ec3d\\\"}.icon-icon_sketch_fill:before{content:\\\"\\\\ec3e\\\"}.icon-icon_work_fill:before{content:\\\"\\\\ec3f\\\"}.icon-icon_statistics_fill:before{content:\\\"\\\\ec40\\\"}.icon-icon_video_fill:before{content:\\\"\\\\ec41\\\"}.icon-icon_trashcan:before{content:\\\"\\\\ec42\\\"}.icon-icon_synergy_fill:before{content:\\\"\\\\ec43\\\"}.icon-icon_warn_fill:before{content:\\\"\\\\ec44\\\"}.icon-icon_roundclose_fill:before{content:\\\"\\\\ec45\\\"}.icon-format:before{content:\\\"\\\\e6da\\\"}.bugle{display:inline-block;overflow:hidden;position:relative;width:12px;height:12px;background:#ddd}.bugle:after,.bugle:before{content:\\\" \\\"}.bugle .bugle-in,.bugle .bugle-out,.bugle:after,.bugle:before{overflow:hidden;position:absolute;width:0;height:0;border-style:solid;border-width:6px;border-color:transparent}.bugle .bugle-in,.bugle:before{left:0;top:0;bottom:auto;right:auto;border-color:transparent;border-top-color:#fff}.bugle .bugle-out,.bugle:after{left:0;bottom:-1px;right:auto;top:auto;border-color:transparent #fff #fff #fff}.bugle-top .bugle-in,.bugle-top:before{left:0;bottom:0;top:auto;right:auto;border-color:transparent;border-bottom-color:#fff}.bugle-top .bugle-out,.bugle-top:after{left:0;top:-1px;bottom:auto;right:auto;border-color:#fff #fff transparent #fff}.bugle-right .bugle-in,.bugle-right:before{top:0;left:0;bottom:auto;right:auto;border-color:transparent;border-left-color:#fff}.bugle-right .bugle-out,.bugle-right:after{top:0;right:-1px;bottom:auto;left:auto;border-color:#fff #fff #fff transparent}.bugle-left .bugle-in,.bugle-left:before{top:0;right:0;bottom:auto;left:auto;border-color:transparent;border-right-color:#fff}.bugle-left .bugle-out,.bugle-left:after{top:0;left:-1px;right:auto;bottom:auto;border-color:#fff transparent #fff #fff}.caption-lead{padding-left:10px;border-left:3px solid #1abd9e;text-align:left}.nav-crumb{overflow:hidden;margin-bottom:15px;background-color:#fff;color:#999}.nav-crumb .crumb-gap,.nav-crumb .crumb-link,.nav-crumb .crumb-text{float:left;height:40px;font-style:normal}.nav-crumb .crumb-link,.nav-crumb .crumb-text{position:relative;padding:0 15px;line-height:40px;text-align:center;background:#e6e6e6}.nav-crumb .crumb-link:first-child,.nav-crumb .crumb-text:first-child{border-top-left-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-bottom-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px}.nav-crumb .crumb-link.last-child,.nav-crumb .crumb-link:last-child,.nav-crumb .crumb-text.last-child,.nav-crumb .crumb-text:last-child{border-top-right-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px}.nav-crumb .crumb-link.last-child:after,.nav-crumb .crumb-link:last-child:after,.nav-crumb .crumb-text.last-child:after,.nav-crumb .crumb-text:last-child:after{border:none}.nav-crumb .crumb-link+.crumb-link,.nav-crumb .crumb-link+.crumb-text,.nav-crumb .crumb-text+.crumb-link,.nav-crumb .crumb-text+.crumb-text{margin-left:23px}.nav-crumb .crumb-link:after,.nav-crumb .crumb-link:before,.nav-crumb .crumb-text:after,.nav-crumb .crumb-text:before{content:\\\"\\\";overflow:hidden;position:absolute;width:0;height:0;border-style:solid;border-width:20px 10px;border-color:transparent}.nav-crumb .crumb-link:before,.nav-crumb .crumb-text:before{left:-20px;border-color:#e6e6e6;border-left-color:transparent}.nav-crumb .crumb-link:after,.nav-crumb .crumb-text:after{right:-20px;border-left-color:#e6e6e6}.nav-crumb .crumb-link.active,.nav-crumb .crumb-link:hover{color:#fff;background:#1abd9e}.nav-crumb .crumb-link.active:before,.nav-crumb .crumb-link:hover:before{border-color:#1abd9e;border-left-color:transparent}.nav-crumb .crumb-link.active:after,.nav-crumb .crumb-link:hover:after{border-left-color:#1abd9e}.list-bar .item-caption{margin:10px 0;font-weight:700;border-left:3px solid #1abd9e}.list-bar .item-caption .item-link{color:#666;padding:0 10px}.list-bar .item-text{border-left:3px solid transparent}.list-bar .item-text:hover{background:#f7f7f9}.list-bar .active>.item-text{background:#f7f7f9}.list-bar .item-link{position:relative;display:block;padding:5px 10px;color:#999}.list-tag{overflow:hidden}.list-tag .tag-label{float:left;margin-right:10px}.list-tag .tag-container{overflow:hidden}.list-tag .tag{float:left;margin-right:3px}.list-tag-block{padding:15px 15px 11px;line-height:34px}.list-tag-block .tag{margin-bottom:4px;padding:0 20px;color:#666}.list-tag-block .active,.list-tag-block .tag:hover{color:#fff;background:#1abd9e;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}.list-tag-text{padding:15px 15px 0;border:1px solid #c8c7cc;line-height:16px}.list-tag-text .tag{margin-bottom:10px;padding:0 20px;color:#666}.list-tag-text .active,.list-tag-text .tag:hover{color:#1abd9e}.list-cat-grid .list-container{display:flex;display:-ms-flexbox;flex-direction:row;-moz-flex-direction:row;-o-flex-direction:row;flex-wrap:wrap;-webkit-flex-wrap:wrap;-moz-flex-wrap:wrap;-ms-flex-wrap:wrap;-o-flex-wrap:wrap}.list-cat-grid .list-item{padding:15px 10px;width:25%;text-align:center}.list-cat-grid .list-item:nth-child(1){background:#ff838b}.list-cat-grid .list-item:nth-child(2){background:#32a0bb}.list-cat-grid .list-item:nth-child(3){background:#4ba059}.list-cat-grid .list-item:nth-child(4){background:#f09c17}.list-cat-grid .list-item:nth-child(5){background:#b754c3}.list-cat-grid .list-item:nth-child(6){background:#49a8df}.list-cat-grid .list-item:nth-child(7){background:#ff6d57}.list-cat-grid .list-item:nth-child(8){background:#95d639}.list-cat-grid .item-link{color:#fff;font-size:14px}.list-cat-grid .icon{display:block;margin-bottom:5px;font-size:22px;color:#fff}.list-cat-line .list-container{display:flex;display:-ms-flexbox;flex-direction:row;-moz-flex-direction:row;-o-flex-direction:row;flex-wrap:wrap;-webkit-flex-wrap:wrap;-moz-flex-wrap:wrap;-ms-flex-wrap:wrap;-o-flex-wrap:wrap;border-top:1px solid #c8c7cc;border-bottom:1px solid #c8c7cc}.list-cat-line .list-item{padding:15px 10px;width:25%;text-align:center;border-left:1px solid #c8c7cc}.list-cat-line .list-item:nth-child(n+5){border-top:1px solid #c8c7cc}.list-cat-line .list-item:nth-child(4n+1){border-left:none}.list-cat-line .item-link{color:#666;font-size:14px}.list-cat-line .icon{display:block;margin-bottom:5px;font-size:22px;color:#1abd9e}.list-cat-radius{padding-bottom:10px}.list-cat-radius .list-container{display:flex;display:-ms-flexbox;flex-direction:row;-moz-flex-direction:row;-o-flex-direction:row;flex-wrap:wrap;-webkit-flex-wrap:wrap;-moz-flex-wrap:wrap;-ms-flex-wrap:wrap;-o-flex-wrap:wrap}.list-cat-radius .list-item{padding:15px 10px 0;width:25%;text-align:center}.list-cat-radius .list-item:nth-child(1) .icon{background:#ff838b}.list-cat-radius .list-item:nth-child(2) .icon{background:#32a0bb}.list-cat-radius .list-item:nth-child(3) .icon{background:#4ba059}.list-cat-radius .list-item:nth-child(4) .icon{background:#f09c17}.list-cat-radius .list-item:nth-child(5) .icon{background:#b754c3}.list-cat-radius .list-item:nth-child(6) .icon{background:#49a8df}.list-cat-radius .list-item:nth-child(7) .icon{background:#ff6d57}.list-cat-radius .list-item:nth-child(8) .icon{background:#95d639}.list-cat-radius .item-link{color:#666;font-size:14px}.list-cat-radius .icon{display:block;margin:0 auto 5px;width:48px;height:48px;font-size:22px;color:#fff;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;text-align:center;line-height:48px}.list-cat-circle{padding-bottom:10px}.list-cat-circle .list-container{display:flex;display:-ms-flexbox;flex-direction:row;-moz-flex-direction:row;-o-flex-direction:row;flex-wrap:wrap;-webkit-flex-wrap:wrap;-moz-flex-wrap:wrap;-ms-flex-wrap:wrap;-o-flex-wrap:wrap}.list-cat-circle .list-item{padding:15px 10px 0;width:25%;text-align:center}.list-cat-circle .list-item:nth-child(1) .icon{border-color:#ff838b;color:#ff838b}.list-cat-circle .list-item:nth-child(2) .icon{border-color:#32a0bb;color:#32a0bb}.list-cat-circle .list-item:nth-child(3) .icon{border-color:#4ba059;color:#4ba059}.list-cat-circle .list-item:nth-child(4) .icon{border-color:#f09c17;color:#f09c17}.list-cat-circle .list-item:nth-child(5) .icon{border-color:#b754c3;color:#b754c3}.list-cat-circle .list-item:nth-child(6) .icon{border-color:#49a8df;color:#49a8df}.list-cat-circle .list-item:nth-child(7) .icon{border-color:#ff6d57;color:#ff6d57}.list-cat-circle .list-item:nth-child(8) .icon{border-color:#95d639;color:#95d639}.list-cat-circle .item-link{color:#666;font-size:14px}.list-cat-circle .icon{display:block;margin:0 auto 5px;width:48px;height:48px;font-size:22px;color:#fff;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;text-align:center;line-height:48px;border:1px solid #fff}.list-good .list-container{overflow:hidden;padding:3px;background:#fff}.list-good .list-item{float:left;padding:3px;width:50%}.list-good .list-item:nth-child(2n+3){clear:both}.list-good .item-cell{overflow:hidden;position:relative;padding-bottom:75%;width:100%;height:0}.list-good .item-cell img{position:absolute;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;vertical-align:top}.list-good .item-caption{height:26px;line-height:26px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:4px 0 2px;font-size:16px;color:#333}.list-good .item-buy{margin:4px 0 2px;height:24px;line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#1abd9e;font-size:16px}.list-good .item-info{margin:2px 0 4px;height:40px;line-height:20px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#999}.framer-container{position:fixed;top:40px;bottom:0;left:0;right:0;padding-bottom:40px;-webkit-overflow-scrolling:touch;overflow-y:scroll}.framer{width:100%;height:100%;z-index:-1}.barcode{position:fixed;left:0;top:40px;bottom:0;width:100%;z-index:20;background:rgba(0,0,0,.5)}.slider{overflow:hidden;position:relative;width:100%}.slider .slider-list{position:relative;width:200000px;z-index:1}.slider .item-slider{float:left;width:0;overflow:hidden}.slider .item-slider img{width:100%}.slider .slider-handler{overflow:hidden;position:absolute;left:0;right:0;bottom:5px;height:12px;text-align:center;font-size:0;letter-spacing:-10px;z-index:2}.slider .item-handler{display:inline-block;width:8px;height:8px;margin:0 3px;background:#999;cursor:pointer;border-radius:8px}.slider .item-handler.active{background:#f7f7f7}.tabs-caret{overflow:visible;border-bottom:1px solid #c8c7cc;font-size:0}.tabs-caret .tabs-link{position:relative;overflow:visible;display:inline-block;margin-left:4px;min-width:114px;height:30px;line-height:30px;color:#666;font-size:14px;text-align:center;cursor:pointer;background:#f5f5f5;border:1px solid #ebebeb}.tabs-caret .tabs-link:first-child{margin-left:0}.tabs-caret .tabs-link.active{color:#fff;background:#1abd9e;z-index:10}.tabs-caret .tabs-link.active .caret{display:block}.tabs-caret .caret{display:none;position:absolute;bottom:-8px;left:50%;margin-left:-8px;border-width:8px;border-top-color:#1abd9e}.tabs-sort{display:flex;display:-ms-flexbox;justify-content:center;-webkit-justify-content:center;-moz-justify-content:center;-ms-justify-content:center;-o-justify-content:center;align-items:center;-webkit-align-items:center;-moz-align-items:center;-ms-align-items:center;-o-align-items:center;width:100%;border-bottom:1px solid #c8c7cc}.tabs-sort .tabs-link{width:100%;height:40px;line-height:40px;color:#666;font-size:14px;text-align:center}.tabs-sort .tabs-link.active{color:#1abd9e;border-color:#1abd9e}.tabs-sort .tabs-link.active:after{margin-top:2px;border-color:#1abd9e;transform:rotate(135deg);-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);-o-transform:rotate(135deg)}.tabs-sort .tabs-link:after{content:' ';display:inline-block;margin-top:-3px;margin-left:5px;vertical-align:middle;width:6px;height:6px;border-bottom:1px solid #666;border-left:1px solid #666;transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transition:transform .3s ease 0s;-webkit-transition:-webkit-transform .3s ease 0s;-moz-transition:-moz-transform .3s .3s ease 0s;-o-transition:-o-transform .3s ease 0s;-ms-transition:-ms-transform .3s ease 0s}.tabs-container .tabs-sort{position:relative;z-index:11}.tabs-container .tabs-sort+.tabs-paner .item-container{position:absolute;left:0;right:0;z-index:11}.tabs-container .tabs-sort+.tabs-paner .modal-overlay{z-index:10}.tabs-container .tabs-fixed+.tabs-paner .item-container{position:fixed}\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://dtools/./node_modules/@daelui/roosterui/dist/pc/css/boost.min.css?./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use%5B1%5D!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use%5B2%5D");

/***/ }),

/***/ "./node_modules/css-loader/dist/runtime/api.js":
/*!*****************************************************!*\
  !*** ./node_modules/css-loader/dist/runtime/api.js ***!
  \*****************************************************/
/***/ (function(module) {

"use strict";
eval("\n\n/*\n  MIT License http://www.opensource.org/licenses/mit-license.php\n  Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n  var list = [];\n\n  // return the list of modules as css string\n  list.toString = function toString() {\n    return this.map(function (item) {\n      var content = \"\";\n      var needLayer = typeof item[5] !== \"undefined\";\n      if (item[4]) {\n        content += \"@supports (\".concat(item[4], \") {\");\n      }\n      if (item[2]) {\n        content += \"@media \".concat(item[2], \" {\");\n      }\n      if (needLayer) {\n        content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n      }\n      content += cssWithMappingToString(item);\n      if (needLayer) {\n        content += \"}\";\n      }\n      if (item[2]) {\n        content += \"}\";\n      }\n      if (item[4]) {\n        content += \"}\";\n      }\n      return content;\n    }).join(\"\");\n  };\n\n  // import a list of modules into the list\n  list.i = function i(modules, media, dedupe, supports, layer) {\n    if (typeof modules === \"string\") {\n      modules = [[null, modules, undefined]];\n    }\n    var alreadyImportedModules = {};\n    if (dedupe) {\n      for (var k = 0; k < this.length; k++) {\n        var id = this[k][0];\n        if (id != null) {\n          alreadyImportedModules[id] = true;\n        }\n      }\n    }\n    for (var _k = 0; _k < modules.length; _k++) {\n      var item = [].concat(modules[_k]);\n      if (dedupe && alreadyImportedModules[item[0]]) {\n        continue;\n      }\n      if (typeof layer !== \"undefined\") {\n        if (typeof item[5] === \"undefined\") {\n          item[5] = layer;\n        } else {\n          item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n          item[5] = layer;\n        }\n      }\n      if (media) {\n        if (!item[2]) {\n          item[2] = media;\n        } else {\n          item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n          item[2] = media;\n        }\n      }\n      if (supports) {\n        if (!item[4]) {\n          item[4] = \"\".concat(supports);\n        } else {\n          item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n          item[4] = supports;\n        }\n      }\n      list.push(item);\n    }\n  };\n  return list;\n};\n\n//# sourceURL=webpack://dtools/./node_modules/css-loader/dist/runtime/api.js?");

/***/ }),

/***/ "./node_modules/css-loader/dist/runtime/getUrl.js":
/*!********************************************************!*\
  !*** ./node_modules/css-loader/dist/runtime/getUrl.js ***!
  \********************************************************/
/***/ (function(module) {

"use strict";
eval("\n\nmodule.exports = function (url, options) {\n  if (!options) {\n    options = {};\n  }\n  if (!url) {\n    return url;\n  }\n  url = String(url.__esModule ? url.default : url);\n\n  // If url is already wrapped in quotes, remove them\n  if (/^['\"].*['\"]$/.test(url)) {\n    url = url.slice(1, -1);\n  }\n  if (options.hash) {\n    url += options.hash;\n  }\n\n  // Should url be wrapped?\n  // See https://drafts.csswg.org/css-values-3/#urls\n  if (/[\"'() \\t\\n]|(%20)/.test(url) || options.needQuotes) {\n    return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\"), \"\\\"\");\n  }\n  return url;\n};\n\n//# sourceURL=webpack://dtools/./node_modules/css-loader/dist/runtime/getUrl.js?");

/***/ }),

/***/ "./node_modules/css-loader/dist/runtime/noSourceMaps.js":
/*!**************************************************************!*\
  !*** ./node_modules/css-loader/dist/runtime/noSourceMaps.js ***!
  \**************************************************************/
/***/ (function(module) {

"use strict";
eval("\n\nmodule.exports = function (i) {\n  return i[1];\n};\n\n//# sourceURL=webpack://dtools/./node_modules/css-loader/dist/runtime/noSourceMaps.js?");

/***/ }),

/***/ "./node_modules/@daelui/roosterui/dist/pc/css/boost.min.css":
/*!******************************************************************!*\
  !*** ./node_modules/@daelui/roosterui/dist/pc/css/boost.min.css ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !!../../../../../css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!../../../../../postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./boost.min.css */ \"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/@daelui/roosterui/dist/pc/css/boost.min.css\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = (__webpack_require__(/*! !../../../../../vue-style-loader/lib/addStylesClient.js */ \"./node_modules/vue-style-loader/lib/addStylesClient.js\")[\"default\"])\nvar update = add(\"6e2dd450\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(false) {}\n\n//# sourceURL=webpack://dtools/./node_modules/@daelui/roosterui/dist/pc/css/boost.min.css?");

/***/ }),

/***/ "./node_modules/vue-style-loader/lib/addStylesClient.js":
/*!**************************************************************!*\
  !*** ./node_modules/vue-style-loader/lib/addStylesClient.js ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ addStylesClient; }\n/* harmony export */ });\n/* harmony import */ var _listToStyles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./listToStyles */ \"./node_modules/vue-style-loader/lib/listToStyles.js\");\n/*\n  MIT License http://www.opensource.org/licenses/mit-license.php\n  Author Tobias Koppers @sokra\n  Modified by Evan You @yyx990803\n*/\n\n\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n  if (!hasDocument) {\n    throw new Error(\n    'vue-style-loader cannot be used in a non-browser environment. ' +\n    \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n  ) }\n}\n\n/*\ntype StyleObject = {\n  id: number;\n  parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n  css: string;\n  media: string;\n  sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n  [id: number]: {\n    id: number,\n    refs: number,\n    parts: Array<(obj?: StyleObjectPart) => void>\n  }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nfunction addStylesClient (parentId, list, _isProduction, _options) {\n  isProduction = _isProduction\n\n  options = _options || {}\n\n  var styles = (0,_listToStyles__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentId, list)\n  addStylesToDom(styles)\n\n  return function update (newList) {\n    var mayRemove = []\n    for (var i = 0; i < styles.length; i++) {\n      var item = styles[i]\n      var domStyle = stylesInDom[item.id]\n      domStyle.refs--\n      mayRemove.push(domStyle)\n    }\n    if (newList) {\n      styles = (0,_listToStyles__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentId, newList)\n      addStylesToDom(styles)\n    } else {\n      styles = []\n    }\n    for (var i = 0; i < mayRemove.length; i++) {\n      var domStyle = mayRemove[i]\n      if (domStyle.refs === 0) {\n        for (var j = 0; j < domStyle.parts.length; j++) {\n          domStyle.parts[j]()\n        }\n        delete stylesInDom[domStyle.id]\n      }\n    }\n  }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n  for (var i = 0; i < styles.length; i++) {\n    var item = styles[i]\n    var domStyle = stylesInDom[item.id]\n    if (domStyle) {\n      domStyle.refs++\n      for (var j = 0; j < domStyle.parts.length; j++) {\n        domStyle.parts[j](item.parts[j])\n      }\n      for (; j < item.parts.length; j++) {\n        domStyle.parts.push(addStyle(item.parts[j]))\n      }\n      if (domStyle.parts.length > item.parts.length) {\n        domStyle.parts.length = item.parts.length\n      }\n    } else {\n      var parts = []\n      for (var j = 0; j < item.parts.length; j++) {\n        parts.push(addStyle(item.parts[j]))\n      }\n      stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n    }\n  }\n}\n\nfunction createStyleElement () {\n  var styleElement = document.createElement('style')\n  styleElement.type = 'text/css'\n  head.appendChild(styleElement)\n  return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n  var update, remove\n  var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n  if (styleElement) {\n    if (isProduction) {\n      // has SSR styles and in production mode.\n      // simply do nothing.\n      return noop\n    } else {\n      // has SSR styles but in dev mode.\n      // for some reason Chrome can't handle source map in server-rendered\n      // style tags - source maps in <style> only works if the style tag is\n      // created and inserted dynamically. So we remove the server rendered\n      // styles and inject new ones.\n      styleElement.parentNode.removeChild(styleElement)\n    }\n  }\n\n  if (isOldIE) {\n    // use singleton mode for IE9.\n    var styleIndex = singletonCounter++\n    styleElement = singletonElement || (singletonElement = createStyleElement())\n    update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n    remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n  } else {\n    // use multi-style-tag mode in all other cases\n    styleElement = createStyleElement()\n    update = applyToTag.bind(null, styleElement)\n    remove = function () {\n      styleElement.parentNode.removeChild(styleElement)\n    }\n  }\n\n  update(obj)\n\n  return function updateStyle (newObj /* StyleObjectPart */) {\n    if (newObj) {\n      if (newObj.css === obj.css &&\n          newObj.media === obj.media &&\n          newObj.sourceMap === obj.sourceMap) {\n        return\n      }\n      update(obj = newObj)\n    } else {\n      remove()\n    }\n  }\n}\n\nvar replaceText = (function () {\n  var textStore = []\n\n  return function (index, replacement) {\n    textStore[index] = replacement\n    return textStore.filter(Boolean).join('\\n')\n  }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n  var css = remove ? '' : obj.css\n\n  if (styleElement.styleSheet) {\n    styleElement.styleSheet.cssText = replaceText(index, css)\n  } else {\n    var cssNode = document.createTextNode(css)\n    var childNodes = styleElement.childNodes\n    if (childNodes[index]) styleElement.removeChild(childNodes[index])\n    if (childNodes.length) {\n      styleElement.insertBefore(cssNode, childNodes[index])\n    } else {\n      styleElement.appendChild(cssNode)\n    }\n  }\n}\n\nfunction applyToTag (styleElement, obj) {\n  var css = obj.css\n  var media = obj.media\n  var sourceMap = obj.sourceMap\n\n  if (media) {\n    styleElement.setAttribute('media', media)\n  }\n  if (options.ssrId) {\n    styleElement.setAttribute(ssrIdKey, obj.id)\n  }\n\n  if (sourceMap) {\n    // https://developer.chrome.com/devtools/docs/javascript-debugging\n    // this makes source maps inside style tags work properly in Chrome\n    css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n    // http://stackoverflow.com/a/26603875\n    css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n  }\n\n  if (styleElement.styleSheet) {\n    styleElement.styleSheet.cssText = css\n  } else {\n    while (styleElement.firstChild) {\n      styleElement.removeChild(styleElement.firstChild)\n    }\n    styleElement.appendChild(document.createTextNode(css))\n  }\n}\n\n\n//# sourceURL=webpack://dtools/./node_modules/vue-style-loader/lib/addStylesClient.js?");

/***/ }),

/***/ "./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.svg?t=1555342930253":
/*!***********************************************************************************!*\
  !*** ./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.svg?t=1555342930253 ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("module.exports = __webpack_require__.p + \"static/img/iconfont.svg\";\n\n//# sourceURL=webpack://dtools/./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.svg?");

/***/ }),

/***/ "./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.eot?t=1555342930253":
/*!***********************************************************************************!*\
  !*** ./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.eot?t=1555342930253 ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("module.exports = __webpack_require__.p + \"static/fonts/iconfont.eot\";\n\n//# sourceURL=webpack://dtools/./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.eot?");

/***/ }),

/***/ "./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.ttf?t=1555342930253":
/*!***********************************************************************************!*\
  !*** ./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.ttf?t=1555342930253 ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("module.exports = __webpack_require__.p + \"static/fonts/iconfont.ttf\";\n\n//# sourceURL=webpack://dtools/./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.ttf?");

/***/ }),

/***/ "./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.woff?t=1555342930253":
/*!************************************************************************************!*\
  !*** ./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.woff?t=1555342930253 ***!
  \************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("module.exports = __webpack_require__.p + \"static/fonts/iconfont.woff\";\n\n//# sourceURL=webpack://dtools/./node_modules/@daelui/roosterui/dist/pc/fonts/iconfont.woff?");

/***/ })

}]);