!function(e) { function t(t) { for (var n, i, o = t[0], a = t[1], s = 0, u = []; s < o.length; s++) i = o[s], Object.prototype.hasOwnProperty.call(r, i) && r[i] && u.push(r[i][0]), r[i] = 0; for (n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n]); for (l && l(t); u.length; ) u.shift()() } var n = {} , r = { 277: 0 }; function i(t) { if (n[t]) return n[t].exports; var r = n[t] = { i: t, l: !1, exports: {} }; return e[t].call(r.exports, r, r.exports, i), r.l = !0, r.exports } i.e = function(e) { var t = [] , n = r[e]; if (0 !== n) if (n) t.push(n[2]); else { var o = new Promise((function(t, i) { n = r[e] = [t, i] } )); t.push(n[2] = o); var a, s = document.createElement("script"); s.charset = "utf-8", s.timeout = 120, i.nc && s.setAttribute("nonce", i.nc), s.src = function(e) { return i.p + "js/" + ({}[e] || e) + "." + { 303: "27a8ef6801" }[e] + ".js" }(e); var l = new Error; a = function(t) { s.onerror = s.onload = null, clearTimeout(u); var n = r[e]; if (0 !== n) { if (n) { var i = t && ("load" === t.type ? "missing" : t.type) , o = t && t.target && t.target.src; l.message = "Loading chunk " + e + " failed.\n(" + i + ": " + o + ")", l.name = "ChunkLoadError", l.type = i, l.request = o, n[1](l) } r[e] = void 0 } } ; var u = setTimeout((function() { a({ type: "timeout", target: s }) } ), 12e4); s.onerror = s.onload = a, document.head.appendChild(s) } return Promise.all(t) } , i.m = e, i.c = n, i.d = function(e, t, n) { i.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) } , i.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) } , i.t = function(e, t) { if (1 & t && (e = i(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (i.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var r in e) i.d(n, r, function(t) { return e[t] } .bind(null, r)); return n } , i.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e } ; return i.d(t, "a", t), t } , i.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } , i.p = "", i.oe = function(e) { throw console.error(e), e } ; var o = window.wepbackJsonp1667381142044 = window.wepbackJsonp1667381142044 || [] , a = o.push.bind(o); o.push = t, o = o.slice(); for (var s = 0; s < o.length; s++) t(o[s]); var l = a; i(i.s = 1049) }({ 0: function(e, t, n) { "use strict"; function r(e, t, n, r, i, o, a, s) { var l, u = "function" == typeof e ? e.options : e; if (t && (u.render = t, u.staticRenderFns = n, u._compiled = !0), r && (u.functional = !0), o && (u._scopeId = "data-v-" + o), a ? (l = function(e) { (e = e || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || "undefined" == typeof __VUE_SSR_CONTEXT__ || (e = __VUE_SSR_CONTEXT__), i && i.call(this, e), e && e._registeredComponents && e._registeredComponents.add(a) } , u._ssrRegister = l) : i && (l = s ? function() { i.call(this, (u.functional ? this.parent : this).$root.$options.shadowRoot) } : i), l) if (u.functional) { u._injectStyles = l; var c = u.render; u.render = function(e, t) { return l.call(t), c(e, t) } } else { var d = u.beforeCreate; u.beforeCreate = d ? [].concat(d, l) : [l] } return { exports: e, options: u } } n.d(t, "a", (function() { return r } )) }, 1: function(e, t, n) { "use strict"; n.r(t), n.d(t, "computed", (function() { return Oe } )), n.d(t, "createApp", (function() { return je } )), n.d(t, "customRef", (function() { return $ } )), n.d(t, "defineComponent", (function() { return qe } )), n.d(t, "del", (function() { return ue } )), n.d(t, "getCurrentInstance", (function() { return x } )), n.d(t, "h", (function() { return Ne } )), n.d(t, "inject", (function() { return Pe } )), n.d(t, "isRaw", (function() { return X } )), n.d(t, "isReactive", (function() { return Q } )), n.d(t, "isReadonly", (function() { return J } )), n.d(t, "isRef", (function() { return W } )), n.d(t, "markRaw", (function() { return ae } )), n.d(t, "nextTick", (function() { return De } )), n.d(t, "onActivated", (function() { return be } )), n.d(t, "onBeforeMount", (function() { return fe } )), n.d(t, "onBeforeUnmount", (function() { return me } )), n.d(t, "onBeforeUpdate", (function() { return pe } )), n.d(t, "onDeactivated", (function() { return _e } )), n.d(t, "onErrorCaptured", (function() { return ye } )), n.d(t, "onMounted", (function() { return he } )), n.d(t, "onServerPrefetch", (function() { return we } )), n.d(t, "onUnmounted", (function() { return ve } )), n.d(t, "onUpdated", (function() { return ge } )), n.d(t, "provide", (function() { return Le } )), n.d(t, "proxyRefs", (function() { return Y } )), n.d(t, "reactive", (function() { return ie } )), n.d(t, "ref", (function() { return U } )), n.d(t, "set", (function() { return le } )), n.d(t, "shallowReactive", (function() { return re } )), n.d(t, "shallowReadonly", (function() { return oe } )), n.d(t, "shallowRef", (function() { return Z } )), n.d(t, "toRaw", (function() { return se } )), n.d(t, "toRef", (function() { return G } )), n.d(t, "toRefs", (function() { return V } )), n.d(t, "triggerRef", (function() { return q } )), n.d(t, "unref", (function() { return H } )), n.d(t, "useCSSModule", (function() { return ze } )), n.d(t, "version", (function() { return Ye } )), n.d(t, "watch", (function() { return Ee } )), n.d(t, "watchEffect", (function() { return Ae } )); var r = n(60); function i(e) { return "function" == typeof e && /native code/.test(e.toString()) } var o = "undefined" != typeof Symbol && i(Symbol) && "undefined" != typeof Reflect && i(Reflect.ownKeys) , a = function(e) { return e } , s = { enumerable: !0, configurable: !0, get: a, set: a }; function l(e, t, n) { var r = n.get , i = n.set; s.get = r || a, s.set = i || a, Object.defineProperty(e, t, s) } function u(e, t, n, r) { Object.defineProperty(e, t, { value: n, enumerable: !!r, writable: !0, configurable: !0 }) } function c(e, t) { return Object.hasOwnProperty.call(e, t) } function d(e) { return Array.isArray(e) } function f(e) { var t = parseFloat(String(e)); return t >= 0 && Math.floor(t) === t && isFinite(e) } function h(e) { return "[object Object]" === function(e) { return Object.prototype.toString.call(e) }(e) } function p(e) { return "function" == typeof e } function g(e, t) { r.default.util.warn(e, t) } var m = void 0; try { var v = n(60); v && w(v) ? m = v : v && "default"in v && w(v.default) && (m = v.default) } catch (e) {} var y, b = null, _ = null; function w(e) { return e && "function" == typeof e && "Vue" === e.name } function S() { return b } function x() { return _ } function k(e) { _ = e } function I(e) { return x() } function C(e, t) { void 0 === t && (t = {}); var n = e.config.silent; e.config.silent = !0; var r = new e(t); return e.config.silent = n, r } function M(e, t) { return function() { for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r]; return e.$scopedSlots[t] ? e.$scopedSlots[t].apply(e, n) : g("slots." + t + '() got called outside of the "render()" scope', e) } } var T = function() { return (T = Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); return e } ).apply(this, arguments) }; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ function A(e) { var t = "function" == typeof Symbol && Symbol.iterator , n = t && e[t] , r = 0; if (n) return n.call(e); if (e && "number" == typeof e.length) return { next: function() { return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e } } }; throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.") } function E(e, t) { var n = "function" == typeof Symbol && e[Symbol.iterator]; if (!n) return e; var r, i, o = n.call(e), a = []; try { for (; (void 0 === t || t-- > 0) && !(r = o.next()).done; ) a.push(r.value) } catch (e) { i = { error: e } } finally { try { r && !r.done && (n = o.return) && n.call(o) } finally { if (i) throw i.error } } return a } function O() { for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(E(arguments[t])); return e } function B(e) { return o ? Symbol.for(e) : e } var L = B("composition-api.preFlushQueue") , P = B("composition-api.postFlushQueue") , R = "composition-api.refKey" , z = new WeakMap , j = new WeakMap , F = new WeakMap , D = function(e) { l(this, "value", { get: e.get, set: e.set }) }; function N(e, t) { var n = new D(e) , r = Object.seal(n); return F.set(r, !0), r } function U(e) { var t; if (W(e)) return e; var n = ie(((t = {})[R] = e, t)); return N({ get: function() { return n[R] }, set: function(e) { return n[R] = e } }) } function W(e) { return e instanceof D } function H(e) { return W(e) ? e.value : e } function V(e) { if (!h(e)) return e; var t = {}; for (var n in e) t[n] = G(e, n); return t } function $(e) { var t = U(0); return N(e((function() { t.value } ), (function() { ++t.value } ))) } function G(e, t) { var n = e[t]; return W(n) ? n : N({ get: function() { return e[t] }, set: function(n) { return e[t] = n } }) } function Z(e) { var t; if (W(e)) return e; var n = re(((t = {})[R] = e, t)); return N({ get: function() { return n[R] }, set: function(e) { return n[R] = e } }) } function q(e) { W(e) && (e.value = e.value) } function Y(e) { var t, n, r; if (Q(e)) return e; var i = ie(((t = {})[R] = e, t)) , o = function(e) { l(i, e, { get: function() { return W(i[e]) ? i[e].value : i[e] }, set: function(t) { if (W(i[e])) return i[e].value = H(t); i[e] = H(t) } }) }; try { for (var a = A(Object.keys(e)), s = a.next(); !s.done; s = a.next()) { o(s.value) } } catch (e) { n = { error: e } } finally { try { s && !s.done && (r = a.return) && r.call(a) } finally { if (n) throw n.error } } return i } function X(e) { var t; return Boolean((null == e ? void 0 : e.__ob__) && (null === (t = e.__ob__) || void 0 === t ? void 0 : t.__raw__)) } function J(e) { return F.has(e) } function Q(e) { var t; return Boolean((null == e ? void 0 : e.__ob__) && !(null === (t = e.__ob__) || void 0 === t ? void 0 : t.__raw__)) } function K(e) { if (!(!h(e) || X(e) || Array.isArray(e) || W(e) || (t = e, n = S(), n && t instanceof n) || z.has(e))) { var t, n; z.set(e, !0); for (var r = Object.keys(e), i = 0; i < r.length; i++) ee(e, r[i]) } } function ee(e, t, n) { if ("__ob__" !== t && !X(e[t])) { var r, i, o = Object.getOwnPropertyDescriptor(e, t); if (o) { if (!1 === o.configurable) return; r = o.get, i = o.set, r && !i || 2 !== arguments.length || (n = e[t]) } K(n), Object.defineProperty(e, t, { enumerable: !0, configurable: !0, get: function() { var i = r ? r.call(e) : n; return t !== R && W(i) ? i.value : i }, set: function(o) { if (!r || i) { var a = r ? r.call(e) : n; t !== R && W(a) && !W(o) ? a.value = o : i ? i.call(e, o) : n = o, K(o) } } }) } } function te(e) { var t, n = b || m; n.observable ? t = n.observable(e) : t = C(n, { data: { $$state: e } })._data.$$state; return c(t, "__ob__") || u(t, "__ob__", function(e) { void 0 === e && (e = {}); return { value: e, dep: { notify: a, depend: a, addSub: a, removeSub: a } } }(t)), t } function ne() { return te({}).__ob__ } function re(e) { var t, n; if (!h(e) && !d(e) || X(e) || !Object.isExtensible(e)) return e; var r = te({}); K(r); var i = r.__ob__ , o = function(t) { var n, o, s = e[t], l = Object.getOwnPropertyDescriptor(e, t); if (l) { if (!1 === l.configurable) return "continue"; n = l.get, o = l.set, n && !o || 2 !== a.length || (s = e[t]) } Object.defineProperty(r, t, { enumerable: !0, configurable: !0, get: function() { var t, r = n ? n.call(e) : s; return null === (t = i.dep) || void 0 === t || t.depend(), r }, set: function(t) { var r; n && !o || (o ? o.call(e, t) : s = t, null === (r = i.dep) || void 0 === r || r.notify()) } }) } , a = arguments; try { for (var s = A(Object.keys(e)), l = s.next(); !l.done; l = s.next()) { var u = l.value; o(u) } } catch (e) { t = { error: e } } finally { try { l && !l.done && (n = s.return) && n.call(s) } finally { if (t) throw t.error } } return r } function ie(e) { if (!h(e) && !d(e) || X(e) || !Object.isExtensible(e)) return e; var t = te(e); return K(t), t } function oe(e) { var t, n; if (!h(e) && !d(e) || !Object.isExtensible(e)) return e; var r = {} , i = ie({}) , o = i.__ob__ , a = function(t) { var n, i = e[t], a = void 0, l = Object.getOwnPropertyDescriptor(e, t); if (l) { if (!1 === l.configurable) return "continue"; n = l.get, a = l.set, n && !a || 2 !== s.length || (i = e[t]) } Object.defineProperty(r, t, { enumerable: !0, configurable: !0, get: function() { var t = n ? n.call(e) : i; return o.dep.depend(), t }, set: function(e) { 0 } }) } , s = arguments; try { for (var l = A(Object.keys(e)), u = l.next(); !u.done; u = l.next()) { var c = u.value; a(c) } } catch (e) { t = { error: e } } finally { try { u && !u.done && (n = l.return) && n.call(l) } finally { if (t) throw t.error } } return F.set(r, !0), r } function ae(e) { if (!h(e) && !d(e) || !Object.isExtensible(e)) return e; var t = ne(); return t.__raw__ = !0, u(e, "__ob__", t), j.set(e, !0), e } function se(e) { var t, n; return X(e) || !Object.isExtensible(e) ? e : (null === (n = null === (t = e) || void 0 === t ? void 0 : t.__ob__) || void 0 === n ? void 0 : n.value) || e } function le(e, t, n) { var r = S().util , i = (r.warn, r.defineReactive); if (d(e) && f(t)) return e.length = Math.max(e.length, t), e.splice(t, 1, n), n; if (t in e && !(t in Object.prototype)) return e[t] = n, n; var o = e.__ob__; return e._isVue || o && o.vmCount ? n : o ? (i(o.value, t, n), ee(e, t, n), o.dep.notify(), n) : (e[t] = n, n) } function ue(e, t) { S().util.warn; if (Array.isArray(e) && f(t)) e.splice(t, 1); else { var n = e.__ob__; e._isVue || n && n.vmCount || c(e, t) && (delete e[t], n && n.dep.notify()) } } function ce(e) { return function(t) { var n, r = I(((n = e)[0].toUpperCase(), n.slice(1))); r && function(e, t, n, r) { var i = t.$options , o = e.config.optionMergeStrategies[n]; i[n] = o(i[n], function(e, t) { return function() { for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r]; var i = x(); k(e); try { return t.apply(void 0, O(n)) } finally { k(i) } } }(t, r)) }(S(), r, e, t) } } var de, fe = ce("beforeMount"), he = ce("mounted"), pe = ce("beforeUpdate"), ge = ce("updated"), me = ce("beforeDestroy"), ve = ce("destroyed"), ye = ce("errorCaptured"), be = ce("activated"), _e = ce("deactivated"), we = ce("serverPrefetch"); function Se() { Ie(this, L) } function xe() { Ie(this, P) } function ke() { var e = x(); return e ? function(e) { return void 0 !== e[L] }(e) || function(e) { e[L] = [], e[P] = [], e.$on("hook:beforeUpdate", Se), e.$on("hook:updated", xe) }(e) : (de || (de = C(S())), e = de), e } function Ie(e, t) { for (var n = e[t], r = 0; r < n.length; r++) n[r](); n.length = 0 } function Ce(e, t, n) { var r = function() { e.$nextTick((function() { e[L].length && Ie(e, L), e[P].length && Ie(e, P) } )) }; switch (n) { case "pre": r(), e[L].push(t); break; case "post": r(), e[P].push(t); break; default: !function(e, t) { if (!e) throw new Error("[vue-composition-api] " + t) }(!1, 'flush must be one of ["post", "pre", "sync"], but got ' + n) } } function Me(e, t) { var n = e.teardown; e.teardown = function() { for (var r = [], i = 0; i < arguments.length; i++) r[i] = arguments[i]; n.apply(e, r), t() } } function Te(e, t, n, r) { var i, o, s = r.flush, l = "sync" === s, u = function(e) { o = function() { try { e() } catch (e) { !function(e, t, n) { if ("undefined" == typeof window || "undefined" == typeof console) throw e; console.error(e) }(e) } } }, c = function() { o && (o(), o = null) }, d = function(t) { return l || e === de ? t : function() { for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r]; return Ce(e, (function() { t.apply(void 0, O(n)) } ), s) } }; if (null === n) { var f = !1 , h = function(e, t, n, r) { var i = e._watchers.length; return e.$watch(t, n, { immediate: r.immediateInvokeCallback, deep: r.deep, lazy: r.noRun, sync: r.sync, before: r.before }), e._watchers[i] }(e, (function() { if (!f) try { f = !0, t(u) } finally { f = !1 } } ), a, { deep: r.deep || !1, sync: l, before: c }); Me(h, c), h.lazy = !1; var m = h.get.bind(h); return h.get = d(m), function() { h.teardown() } } var v, y = r.deep; Array.isArray(t) ? v = function() { return t.map((function(e) { return W(e) ? e.value : e() } )) } : W(t) ? v = function() { return t.value } : Q(t) ? (v = function() { return t } , y = !0) : p(t) ? v = t : (v = a, g("Invalid watch source: " + JSON.stringify(t) + ".\n A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.", e)); var b = function(e, t) { c(), n(e, t, u) } , _ = d(b); if (r.immediate) { var w = _ , S = function(e, t) { S = w, b(e, t) }; _ = function(e, t) { S(e, t) } } var x = e.$watch(v, _, { immediate: r.immediate, deep: y, sync: l }) , k = e._watchers[e._watchers.length - 1]; return Q(k.value) && (null === (i = k.value.__ob__) || void 0 === i ? void 0 : i.dep) && y && k.value.__ob__.dep.addSub({ update: function() { k.run() } }), Me(k, c), function() { x() } } function Ae(e, t) { var n = function(e) { return T({ immediate: !0, deep: !1, flush: "pre" }, e) }(t); return Te(ke(), e, null, n) } function Ee(e, t, n) { var r = null; "function" == typeof t ? r = t : (n = t, r = null); var i = function(e) { return T({ immediate: !1, deep: !1, flush: "pre" }, e) }(n); return Te(ke(), e, r, i) } function Oe(e) { var t, n, r, i, o = x(); if ("function" == typeof e ? t = e : (t = e.get, n = e.set), o && !o.$isServer) { var s, l = function() { if (!y) { var e = C(S(), { computed: { value: function() { return 0 } } }) , t = e._computedWatchers.value.constructor , n = e._data.__ob__.dep.constructor; y = { Watcher: t, Dep: n }, e.$destroy() } return y }(), u = l.Watcher, c = l.Dep; i = function() { return s || (s = new u(o,t,a,{ lazy: !0 })), s.dirty && s.evaluate(), c.target && s.depend(), s.value } , r = function(e) { n && n(e) } } else { var d = C(S(), { computed: { $$state: { get: t, set: n } } }); o && o.$on("hook:destroyed", (function() { return d.$destroy() } )), i = function() { return d.$$state } , r = function(e) { d.$$state = e } } return N({ get: i, set: r }) } var Be = {}; function Le(e, t) { var n = I(); if (n) { if (!n._provided) { var r = {}; Object.defineProperty(n, "_provided", { get: function() { return r }, set: function(e) { return Object.assign(r, e) } }) } n._provided[e] = t } } function Pe(e, t, n) { if (void 0 === n && (n = !1), !e) return t; var r = x(); if (r) { var i = function(e, t) { for (var n = t; n; ) { if (n._provided && c(n._provided, e)) return n._provided[e]; n = n.$parent } return Be }(e, r); return i !== Be ? i : n && p(t) ? t() : t } g("inject() can only be used inside setup() or functional components.") } var Re = {} , ze = function(e) { void 0 === e && (e = "$style"); var t = x(); if (!t) return Re; var n = t[e]; return n || Re }; function je(e, t) { void 0 === t && (t = void 0); var n = S() , r = void 0; return { config: n.config, use: n.use.bind(n), mixin: n.mixin.bind(n), component: n.component.bind(n), directive: n.directive.bind(n), mount: function(i, o) { return r || ((r = new n(T({ propsData: t }, e))).$mount(i, o), r) }, unmount: function() { r && (r.$destroy(), r = void 0) } } } var Fe, De = function() { for (var e, t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; return null === (e = S()) || void 0 === e ? void 0 : e.nextTick.apply(this, t) }, Ne = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; var n = x(); return n ? n.$createElement.apply(n, e) : (g("`createElement()` has been called outside of render function."), Fe || (Fe = C(S()).$createElement), Fe.apply(Fe, e)) }; var Ue = { set: function(e, t, n) { (e.__composition_api_state__ = e.__composition_api_state__ || {})[t] = n }, get: function(e, t) { return (e.__composition_api_state__ || {})[t] } }; function We(e) { var t = Ue.get(e, "rawBindings") || {}; if (t && Object.keys(t).length) { for (var n = e.$refs, r = Ue.get(e, "refs") || [], i = 0; i < r.length; i++) { var o = t[l = r[i]]; !n[l] && o && W(o) && (o.value = null) } var a = Object.keys(n) , s = []; for (i = 0; i < a.length; i++) { var l; o = t[l = a[i]]; n[l] && o && W(o) && (o.value = n[l], s.push(l)) } Ue.set(e, "refs", s) } } function He(e, t) { var n = e.$options._parentVnode; if (n) { for (var r = Ue.get(e, "slots") || [], i = function(e, t) { var n; if (e) { if (e._normalized) return e._normalized; for (var r in n = {}, e) e[r] && "$" !== r[0] && (n[r] = !0) } else n = {}; for (var r in t) r in n || (n[r] = !0); return n }(n.data.scopedSlots, e.$slots), o = 0; o < r.length; o++) { i[s = r[o]] || delete t[s] } var a = Object.keys(i); for (o = 0; o < a.length; o++) { var s; t[s = a[o]] || (t[s] = M(e, s)) } Ue.set(e, "slots", a) } } function Ve(e, t, n) { var r = x(); k(e); try { return t(e) } catch (e) { if (!n) throw e; n(e) } finally { k(r) } } function $e(e) { e.mixin({ beforeCreate: function() { var e = this , t = e.$options , n = t.setup , r = t.render; r && (t.render = function() { for (var t = this, n = [], i = 0; i < arguments.length; i++) n[i] = arguments[i]; return Ve(e, (function() { return r.apply(t, n) } )) } ); if (!n) return; if ("function" != typeof n) return void 0; var i = t.data; t.data = function() { return function(e, t) { void 0 === t && (t = {}); var n, r = e.$options.setup, i = function(e) { var t = { slots: {} }; ["root", "parent", "refs", "attrs", "listeners", "isServer", "ssrContext"].forEach((function(n) { var r, i, o; Array.isArray(n) ? (r = E(n, 2), i = r[0], o = r[1]) : i = o = n, o = "$" + o, l(t, i, { get: function() { return e[o] }, set: function() { g("Cannot assign to '" + i + "' because it is a read-only property", e) } }) } )), ["emit"].forEach((function(n) { var r = "$" + n; l(t, n, { get: function() { return function() { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; var i = e[r]; i.apply(e, t) } } }) } )), !1; return t }(e); if (u(t, "__ob__", ne()), He(e, i.slots), Ve(e, (function() { n = r(t, i) } )), !n) return; if (p(n)) { var o = n; return void (e.$options.render = function() { return He(e, i.slots), Ve(e, (function() { return o() } )) } ) } if (h(n)) { Q(n) && (n = V(n)), Ue.set(e, "rawBindings", n); var a = n; return void Object.keys(a).forEach((function(t) { var n, r = a[t]; W(r) || (Q(r) ? d(r) && (r = U(r)) : p(r) ? r = r.bind(e) : null === (n = r) || "object" != typeof n ? r = U(r) : function e(t, n) { void 0 === n && (n = new Map); if (n.has(t)) return n.get(t); if (n.set(t, !1), Array.isArray(t) && Q(t)) return n.set(t, !0), !0; if (!h(t) || X(t)) return !1; return Object.keys(t).some((function(r) { return e(t[r], n) } )) }(r) && function e(t) { if (!h(t) || W(t) || Q(t) || X(t)) return; var n = S().util.defineReactive; Object.keys(t).forEach((function(r) { var i = t[r]; n(t, r, i), i && e(i) } )) }(r)), function(e, t, n) { var r = e.$options.props; t in e || r && c(r, t) || (W(n) ? l(e, t, { get: function() { return n.value }, set: function(e) { n.value = e } }) : e[t] = n) }(e, t, r) } )) } 0 }(e, e.$props), "function" == typeof i ? i.call(e, e) : i || {} } }, mounted: function() { We(this) }, updated: function() { We(this) } }) } function Ge(e) { (function(e) { return c(e, "__composition_api_installed__") } )(e) || (e.config.optionMergeStrategies.setup = function(e, t) { return function(n, r) { return function e(t, n) { if (!t) return n; if (!n) return t; for (var r, i, a, s = o ? Reflect.ownKeys(t) : Object.keys(t), l = 0; l < s.length; l++) "__ob__" !== (r = s[l]) && (i = n[r], a = t[r], c(n, r) ? i !== a && h(i) && !W(i) && h(a) && !W(a) && e(a, i) : n[r] = a); return n }("function" == typeof e ? e(n, r) || {} : void 0, "function" == typeof t ? t(n, r) || {} : void 0) } } , function(e) { b = e, Object.defineProperty(e, "__composition_api_installed__", { configurable: !0, writable: !0, value: !0 }) }(e), $e(e)) } var Ze = { install: function(e) { return Ge(e) } }; function qe(e) { return e } var Ye = "1.0.0-beta.19"; "undefined" != typeof window && window.Vue && window.Vue.use(Ze), t.default = Ze }, 1049: function(e, t, n) { "use strict"; n.r(t); var r = n(4) , i = n(60) , o = n(451) , a = n(23) , s = n(279) , l = n(280) , u = n(1); class c { constructor() { this.handlers = {}, this.channelSetupPromise = new Promise(e=>{ window.addEventListener("message", t=>{ const [n,{port: r}] = t.data; "setup-channel" === n && (r.start(), r.addEventListener("message", this.eventDispatcher.bind(this)), this.port = r, r.postMessage(["channel-ready"]), e(null)) } ) } ) } eventDispatcher(e) { return Object(r.a)(this, void 0, void 0, (function*() { if (yield this.channelSetupPromise, !this.port) return; const [t,n,r] = e.data , i = this.handlers[t]; i && this.port.postMessage([r, yield i(n)]) } )) } addEventListener(e, t) { this.handlers[e] = t } removeEventListener(e) { delete this.handlers[e] } emit(e, t) { return Object(r.a)(this, void 0, void 0, (function*() { yield this.channelSetupPromise, this.port && this.port.postMessage(["event", e, t]) } )) } } const d = e=>{ const t = Object(l.createServices)() , n = document.createElement("div"); n.classList.add("h-100", "w-100"); const a = document.createElement("div"); n.appendChild(a), document.body.appendChild(n); const s = (location.pathname.match(/^\/(m|embed)\/(([0-9A-Za-z])+)/) || [])[2] , u = s ? "https://www.xmind.app/m/" + s : "" , c = new i.default({ el: a, provide: t, render: t=>t(o.default, { props: { fileInformationPromise: e(), xmindShareLink: u } }) }); return { services: t, destroy: ()=>Object(r.a)(void 0, void 0, void 0, (function*() { var e; c.$destroy(), yield new Promise(e=>setTimeout(e)), null === (e = n.parentElement) || void 0 === e || e.removeChild(n) } )) } } ; (()=>{ const e = (location.pathname.match(/^\/(m|embed)\/(([0-9A-Za-z])+)/) || [])[2]; let t; if (e) t = d(()=>Object(r.a)(void 0, void 0, void 0, (function*() { const {downloadUrl: t} = yield window.api.getShareMapContentUrl(e) , n = yield Object(a.downloadFromRemoteAddress)(t, {}, new s.ShareStorage); if (n) return { fileBinaryContent: n.data, fileDownloadURL: t, fileDownloadHeaders: {} } } ))); else { const e = new c; e.addEventListener("open-file", n=>Object(r.a)(void 0, void 0, void 0, (function*() { null == t || t.destroy(), t = d(()=>Object(r.a)(void 0, void 0, void 0, (function*() { return { fileBinaryContent: n, fileDownloadHeaders: {}, fileDownloadURL: "" } } ))); const {services: i} = t , {store: o} = i; Object(u.watch)(()=>o.workbook.state.value.sheets, t=>e.emit("sheets-load", t)), Object(u.watch)(()=>o.workbook.state.value.currentSheetId, t=>e.emit("sheet-switch", t)), Object(u.watch)(()=>o.workbook.state.value.zoomScale, t=>e.emit("zoom-change", t)), Object(u.watch)(()=>o.workbook.state.value.isReady, t=>e.emit("map-ready", t)) } ))), e.addEventListener("fit-map", ()=>Object(r.a)(void 0, void 0, void 0, (function*() { t.services.store.workbook.actions.fitMap() } ))), e.addEventListener("zoom", e=>Object(r.a)(void 0, void 0, void 0, (function*() { t && t.services.store.workbook.actions.zoom(e) } ))), e.addEventListener("switch-sheet", e=>Object(r.a)(void 0, void 0, void 0, (function*() { t && t.services.store.workbook.actions.switchSheet(e) } ))) } } )() }, 109: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.findAncestralMainTopicIdFrom = t.findHeaderTopic = t.computeSiblingTopics = t.computeRootTopics = t.computeSubtopicsOf = t.computeSlideContent = void 0; const r = n(165); function i(e, t) { return t.getSubtopics(e).map(e=>{ var n; return null !== (n = t.getTopicAttributes(e)) && void 0 !== n ? n : { id: e, title: "" } } ) } function o(e) { const t = e.getStartingTopicId() , n = e.getFloatingTopics ? e.getFloatingTopics() : []; return t ? [t, ...n] : n } function a(e, t) { const n = t.indexOf(e); return { previousSiblingTopicId: n < 1 ? null : t[n - 1], nextSiblingTopicId: n < 0 || n >= t.length - 1 ? null : t[n + 1] } } function s(e, t) { const n = l(e, t); return n && n !== e ? t.getTopicAttributes(n) : null } function l(e, t) { let n = t.getParentTopicId(e); for (; n; ) { const r = t.getParentTopicId(n); if (!r) return e; e = n, n = r } return null } t.computeSlideContent = function(e, t) { var n; const l = t.getTopicAttributes(e); if (!l) return null; const u = r.computeTopicLevel(e, t) , c = i(e, t) , d = s(e, t) , f = l.calloutTopicId ? t.getTopicAttributes(l.calloutTopicId) : null , h = t.getParentTopicId(e) , p = h ? t.getTopicAttributes(h) : null , g = "summaryTopic" === u ? [] : "floatingTopic" === u ? o(t) : h ? t.getSubtopics(h) : o(t) , {previousSiblingTopicId: m, nextSiblingTopicId: v} = a(e, g) , y = (null !== (n = null == p ? void 0 : p.summaries) && void 0 !== n ? n : []).find(t=>t.topicId === e); return { topic: l, topicLevel: u, parentTopicId: h, previousSiblingTopicId: m, nextSiblingTopicId: v, subtopics: c, headerTopic: d, calloutTopic: f, summarySubtopics: h && y ? i(h, t).slice(y.startIndex, y.endIndex + 1) : [] } } , t.computeSubtopicsOf = i, t.computeRootTopics = o, t.computeSiblingTopics = a, t.findHeaderTopic = s, t.findAncestralMainTopicIdFrom = l }, 110: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.findPresentationContext = void 0, t.findPresentationContext = function e(t, n) { return n in t ? t : t.superview ? e(t.superview, n) : null } }, 111: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.GroupView = void 0; const r = n(51) , i = n(112) , o = n(50) , a = n(110) , s = n(12); class l extends r.BoxView { constructor() { super(...arguments), this._subviews = [], this.lastMaskImage = "" } createViewElement() { const e = document.createElement("div"); return e.style.display = "block", e.style.position = "absolute", e.style.overflow = "visible", e.classList.add("pancake-view-group"), e.addEventListener("DOMNodeInsertedIntoDocument", ()=>{ this.clippedEl.scrollTop = this.scrollOffset, this.updateMask() } ), e } get clippedEl() { return this._clippedEl || (this._clippedEl = document.createElement("div"), this._clippedEl.classList.add("pancake-view-group-clip"), this._clippedEl.style.position = "relative", this._clippedEl.style.width = "100%", this._clippedEl.style.height = "0", this._clippedEl.style.overflow = "scroll", this.el.appendChild(this._clippedEl), this._clippedEl.addEventListener("wheel", e=>e.stopPropagation()), this._clippedEl.addEventListener("scroll", e=>{ e.stopPropagation(), this.onScrollUpdate() } )), this._clippedEl } get contentEl() { return this._contentEl || (this._contentEl = document.createElement("div"), this._contentEl.style.position = "relative", this._contentEl.style.width = "100%", this._contentEl.style.height = "0", this._contentEl.style.overflow = "visible", this.clippedEl.appendChild(this._contentEl)), this._contentEl } connect() { super.connect(); for (const e of this._subviews) e.connect() } disconnect() { for (const e of this._subviews) e.disconnect(); super.disconnect() } get subviews() { return [...this._subviews] } update() { var e, t, n, r, l; const u = this.renderedState.id; super.update(); const c = [...this._subviews] , d = this.box.children; for (let e = 0; e < d.length; e++) { const t = d[e]; let n = c[e]; if (n) if (n.box.id === t.id) n.box = t, n.update(); else { const r = c.slice(e + 1).find(e=>e.box.id === t.id); if (r) this.contentEl.insertBefore(r.el, n.el), r.box = t, r.update(), c.splice(e, 0, r); else { const r = i.createBoxView(this, t); this.contentEl.insertBefore(r.el, n.el), r.update(), c.splice(e, 0, r), this.connected && r.connect() } } else n = i.createBoxView(this, t), this.contentEl.appendChild(n.el), n.update(), c.push(n) } for (; c.length > d.length; ) { const e = c.pop(); this.connected && e.disconnect(), this.contentEl.removeChild(e.el) } if (this._subviews = c, this.clippedEl.style.height = this.el.style.height, "scroll" === this.box.overflow) if (this.box.contentHeight > this.box.bounds.height) { const t = this.connected && "presenterPerspective" === (null === (e = a.findPresentationContext(this, "slideState")) || void 0 === e ? void 0 : e.slideState.mode); this.clippedEl.style.overflow = t ? "scroll" : "hidden" } else this.clippedEl.style.overflow = "visible"; else this.clippedEl.style.overflow = null !== (t = this.box.overflow) && void 0 !== t ? t : "hidden"; this.contentEl.style.height = s.toCSSLength(this.contentHeight), this.el.style.pointerEvents = !1 === this.box.mouseInteraction ? "none" : ""; const f = null !== (r = null !== (n = this.state.scrollOffset) && void 0 !== n ? n : this.box.scrollOffset) && void 0 !== r ? r : 0; this.box.id === u && f === (null !== (l = this.renderedState.scrollOffset) && void 0 !== l ? l : 0) || o.ViewAnimator.perform(this, { scrollOffset: f }) } onScrollUpdate() { var e, t; const n = null !== (e = this.renderedState.scrollOffset) && void 0 !== e ? e : 0 , r = Math.round(this.clippedEl.scrollTop); this.renderedState.scrollOffset = r, this.updateMask(), this.connected && Math.abs(r - n) > 1 && (null === (t = a.findPresentationContext(this, "groupViewDidGetScrolled")) || void 0 === t || t.groupViewDidGetScrolled(this)) } set scrollOffset(e) { var t; null !== (t = (e = Math.round(e)) === this.renderedState.scrollOffset) && void 0 !== t && t || (this.renderedState.scrollOffset = e, this.clippedEl.scrollTop = e, this.updateMask()) } get scrollOffset() { var e; return null !== (e = this.renderedState.scrollOffset) && void 0 !== e ? e : 0 } get contentHeight() { return this.box.contentHeight } get viewportHeight() { return this.box.bounds.height } updateMask() { const e = this._computeMaskImage(!0); e != this.lastMaskImage && (this.lastMaskImage = e, this.contentEl.style.maskImage = e, this.contentEl.style.webkitMaskImage = e) } computeMaskImage() { return this._computeMaskImage(!1) } _computeMaskImage(e) { var t, n, r; const i = this.contentHeight , o = this.viewportHeight; let a = ""; if (i > o) { const s = null !== (n = null === (t = this.box) || void 0 === t ? void 0 : t.scrollFaderSize) && void 0 !== n ? n : 0 , l = this.scrollOffset , u = i - o - l , c = Math.max(s - l, 0) / s , d = Math.max(s - u, 0) / s , f = e ? l : 0 , h = f , p = f + s , g = f + o - s , m = f + o; if ("twoStops" === (null === (r = this.box) || void 0 === r ? void 0 : r.scrollFaderType)) { const e = .0729 * s , t = .8095 * s; a = `linear-gradient(to bottom, rgba(0,0,0,${c}) ${h + e}px, rgba(0,0,0,${c + .8 * (1 - c)}) ${h + t}px, black ${p}px, black ${g}px, rgba(0,0,0,${d + .8 * (1 - d)}) ${m - t}px, rgba(0,0,0,${d}) ${m - e}px)` } else { const e = .05 * s; a = `linear-gradient(to bottom, transparent ${h}px, rgba(0,0,0,${c}) ${h + e}px, black ${p}px, black ${g}px, rgba(0,0,0,${d}) ${m - e}px, transparent ${m}px)` } } return a } } t.GroupView = l }, 112: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.createBoxView = void 0; const r = n(168) , i = n(111) , o = n(169) , a = n(170) , s = n(171); t.createBoxView = function(e, t) { switch (t.contentType) { case "text": return new r.TextView({ superview: e, box: t }); case "shape": return new o.ShapeView({ superview: e, box: t }); case "group": return new i.GroupView({ superview: e, box: t }); case "image": return new a.ImageView({ superview: e, box: t }); case "svg-template": return new s.SVGTemplateView({ superview: e, box: t }) } } }, 113: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.IndexRange = void 0; class r { constructor(e, t) { if (this._start = "string" == typeof e ? parseInt(e, 10) : e, this._end = "string" == typeof t ? parseInt(t, 10) : t, this._start > this._end) throw new Error("Invalid range: End before start: " + this._start + " " + this._end) } static fromString(e) { const t = e.match(/^(\d+)-(\d+)$/); return t ? new r(t[1],t[2]) : null } get location() { return this._start } get lowerBound() { return this._start } get upperBound() { return this._end + 1 } get start() { return this._start } get end() { return this._end } get count() { return this._end - this._start + 1 } get length() { return this._end - this._start + 1 } static sort(e) { return e.sort((e,t)=>e.start - t.start) } join(e) { return this.overlaps(e) || this.contiguous(e) ? new r(Math.min(this._start, e.start),Math.max(this._end, e.end)) : null } contains(e) { return (e = "string" == typeof e ? parseInt(e, 10) : e) >= this._start && e <= this._end } equals(e) { return e.start === this._start && e.end === this._end } overlaps(e) { const t = r.sort([e, this]); return t[0].end >= t[1].start } contiguous(e) { const t = r.sort([e, this]); return t[0].end + 1 === t[1].start } toString() { return this._start + "-" + this._end } static compact(e) { if (e.length < 2) return e; let t = (e = r.sort(e))[0]; const n = []; for (let i = 1; i < e.length; i++) { const o = e[i]; t.overlaps(new r(o.start - 1,o.end)) ? t = t.join(o) || t : (n.push(t), t = o), i === e.length - 1 && n.push(t) } return n } static subtract(e, t) { Array.isArray(e) || (e = [e]); let n = (e = r.sort(e).reverse()).length; const i = []; for (; n--; ) { const o = e[n]; t.start <= o.start && t.end >= o.end ? e.splice(n, 1) : t.start > o.start && t.end < o.end ? (e.splice(n, 1), i.push(new r(o.start,t.start - 1)), i.push(new r(t.end + 1,o.end))) : t.end < o.end && t.end >= o.start ? (e.splice(n, 1), i.push(new r(t.end + 1,o.end))) : t.end > o.end && t.start <= o.end && (e.splice(n, 1), i.push(new r(o.start,t.start - 1))) } return r.sort(e.concat(i)) } } t.IndexRange = r }, 116: function(e, t) { e.exports = function(e) { return e.webpackPolyfill || (e.deprecate = function() {} , e.paths = [], e.children || (e.children = []), Object.defineProperty(e, "loaded", { enumerable: !0, get: function() { return e.l } }), Object.defineProperty(e, "id", { enumerable: !0, get: function() { return e.i } }), e.webpackPolyfill = 1), e } }, 117: function(e, t, n) { "use strict"; e.exports = function(e, t) { return function() { for (var n = new Array(arguments.length), r = 0; r < n.length; r++) n[r] = arguments[r]; return e.apply(t, n) } } }, 118: function(e, t, n) { "use strict"; var r = n(14) , i = n(192) , o = n(194) , a = n(195) , s = n(196) , l = n(119) , u = "undefined" != typeof window && window.btoa && window.btoa.bind(window) || n(197); e.exports = function(e) { return new Promise((function(t, c) { var d = e.data , f = e.headers; r.isFormData(d) && delete f["Content-Type"]; var h = new XMLHttpRequest , p = "onreadystatechange" , g = !1; if ("undefined" == typeof window || !window.XDomainRequest || "withCredentials"in h || s(e.url) || (h = new window.XDomainRequest, p = "onload", g = !0, h.onprogress = function() {} , h.ontimeout = function() {} ), e.auth) { var m = e.auth.username || "" , v = e.auth.password || ""; f.Authorization = "Basic " + u(m + ":" + v) } if (h.open(e.method.toUpperCase(), o(e.url, e.params, e.paramsSerializer), !0), h.timeout = e.timeout, h[p] = function() { if (h && (4 === h.readyState || g) && (0 !== h.status || h.responseURL && 0 === h.responseURL.indexOf("file:"))) { var n = "getAllResponseHeaders"in h ? a(h.getAllResponseHeaders()) : null , r = { data: e.responseType && "text" !== e.responseType ? h.response : h.responseText, status: 1223 === h.status ? 204 : h.status, statusText: 1223 === h.status ? "No Content" : h.statusText, headers: n, config: e, request: h }; i(t, c, r), h = null } } , h.onerror = function() { c(l("Network Error", e, null, h)), h = null } , h.ontimeout = function() { c(l("timeout of " + e.timeout + "ms exceeded", e, "ECONNABORTED", h)), h = null } , r.isStandardBrowserEnv()) { var y = n(198) , b = (e.withCredentials || s(e.url)) && e.xsrfCookieName ? y.read(e.xsrfCookieName) : void 0; b && (f[e.xsrfHeaderName] = b) } if ("setRequestHeader"in h && r.forEach(f, (function(e, t) { void 0 === d && "content-type" === t.toLowerCase() ? delete f[t] : h.setRequestHeader(t, e) } )), e.withCredentials && (h.withCredentials = !0), e.responseType) try { h.responseType = e.responseType } catch (t) { if ("json" !== e.responseType) throw t } "function" == typeof e.onDownloadProgress && h.addEventListener("progress", e.onDownloadProgress), "function" == typeof e.onUploadProgress && h.upload && h.upload.addEventListener("progress", e.onUploadProgress), e.cancelToken && e.cancelToken.promise.then((function(e) { h && (h.abort(), c(e), h = null) } )), void 0 === d && (d = null), h.send(d) } )) } }, 119: function(e, t, n) { "use strict"; var r = n(193); e.exports = function(e, t, n, i, o) { var a = new Error(e); return r(a, t, n, i, o) } }, 12: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.isSvg = t.getClippedBoundsOfElement = t.fillText = t.emptyElement = t.escapeHtmlTag = t.toCSSTextAlign = t.toCSSFont = t.toCSSLength = void 0, t.toCSSLength = function(e) { return void 0 === e ? "" : e + "px" } , t.toCSSFont = function(e) { var t, n, r, i, o; const a = (null !== (t = null == e ? void 0 : e.fontFamily) && void 0 !== t ? t : ["sans-serif"]).map(e=>e.indexOf(" ") >= 0 ? `'${e}'` : e).join(", ") , s = null !== (n = null == e ? void 0 : e.fontSize) && void 0 !== n ? n : "12px" , l = null !== (r = null == e ? void 0 : e.lineHeight) && void 0 !== r ? r : "1em" , u = null !== (i = null == e ? void 0 : e.fontWeight) && void 0 !== i ? i : "normal"; return `${null !== (o = null == e ? void 0 : e.fontStyle) && void 0 !== o ? o : "normal"} ${u} ${s}/${l} ${a}` } , t.toCSSTextAlign = function(e) { if (e) switch (e) { case "leading": return "left"; case "center": return "center"; case "trailing": return "right" } } ; const r = { "&": "&", "<": "<", ">": ">" }; t.escapeHtmlTag = function(e) { return e.replace(/[&<>]/g, (function(e) { return r[e] || e } )) } , t.emptyElement = function(e) { for (let t = e.lastChild; t; t = e.lastChild) e.removeChild(t) } , t.fillText = function(e, t) { t.split(/\r\n|\r|\n/g).forEach((t,n)=>{ n > 0 && e.appendChild(document.createElement("br")), e.appendChild(document.createTextNode(t)) } ) } , t.getClippedBoundsOfElement = function(e, t) { const n = { x: e.offsetLeft, y: e.offsetTop, width: e.offsetWidth, height: e.offsetHeight }; let r = e.offsetParent; for (; r && r !== t; ) { n.x -= r.scrollLeft, n.y -= r.scrollTop; const t = getComputedStyle(r); "visible" !== t.overflowX && (n.x < 0 && (n.width += n.x, n.x = 0), n.x + n.width > r.offsetWidth && (n.width = r.offsetWidth - n.x)), "visible" !== t.overflowY && (n.y < 0 && (n.height += n.y, n.y = 0), n.y + n.height > r.offsetHeight && (n.height = r.offsetHeight - n.y)), n.x += r.offsetLeft, n.y += r.offsetTop, e = r, r = r.offsetParent } return n } , t.isSvg = function(e) { return !(new DOMParser).parseFromString(e, "image/svg+xml").querySelector("parsererror") } }, 120: function(e, t, n) { "use strict"; e.exports = function(e) { return !(!e || !e.__CANCEL__) } }, 121: function(e, t, n) { "use strict"; function r(e) { this.message = e } r.prototype.toString = function() { return "Cancel" + (this.message ? ": " + this.message : "") } , r.prototype.__CANCEL__ = !0, e.exports = r }, 13: function(e, t, n) { "use strict"; function r(e, t) { return "none" === t ? e : t.reduce((e,t)=>"translate"in t ? i(e, t.translate) : "scale"in t ? o(e, t.scale) : a(e, t.rotate), e) } function i({x: e, y: t}, n) { return { x: e + n.x, y: t + n.y } } function o({x: e, y: t}, n) { return { x: e * n.x, y: t * n.y } } function a(e, t) { return e } Object.defineProperty(t, "__esModule", { value: !0 }), t.intersectRect = t.intersectDOMRect = t.invertTransform = t.scaleSize = t.transformRect = t.rotatePoint = t.scalePoint = t.translatePoint = t.transformPoint = t.calc = t.zeroInsets = t.zeroSize = t.zeroPoint = t.zeroRect = t.isPointInRect = void 0, t.isPointInRect = function(e, t) { return t.x <= e.x && t.y <= e.y && t.x + t.width >= e.x && t.y + t.height >= e.y } , t.zeroRect = function() { return { x: 0, y: 0, width: 0, height: 0 } } , t.zeroPoint = function() { return { x: 0, y: 0 } } , t.zeroSize = function() { return { width: 0, height: 0 } } , t.zeroInsets = function() { return { left: 0, top: 0, right: 0, bottom: 0 } } , t.calc = function(e, t, n) { switch (t) { case "vh": return n.height * e; case "vw": return n.width * e; case "vmax": return Math.max(n.width, n.height) * e; case "vmin": return Math.min(n.width, n.height) * e } } , t.transformPoint = r, t.translatePoint = i, t.scalePoint = o, t.rotatePoint = a, t.transformRect = function(e, t) { if ("none" === t) return e; const n = r(e, t) , i = r({ x: e.x + e.width, y: e.y + e.height }, t); return { x: Math.min(n.x, i.x), y: Math.min(n.y, i.y), width: Math.abs(i.x - n.x), height: Math.abs(i.y - n.y) } } , t.scaleSize = function({width: e, height: t}, n) { return { width: e * n.x, height: t * n.y } } , t.invertTransform = function(e) { return "none" === e ? "none" : e.map(e=>"translate"in e ? { translate: { x: -e.translate.x, y: -e.translate.y } } : "scale"in e ? { scale: { x: 1 / e.scale.x, y: 1 / e.scale.y } } : { rotate: -e.rotate }).reverse() } , t.intersectDOMRect = function(e, t) { return !(t.left > e.right || t.right < e.left || t.top > e.bottom || t.bottom < e.top) } , t.intersectRect = function(e, t) { return !(t.x > e.x + e.width || t.x + e.width < e.x || t.y > e.y + e.height || t.y + t.height < e.y) } }, 132: function(e, t, n) { "use strict"; var r = n(133) , i = n.n(r); t.default = i.a }, 133: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = n(1); t.default = (0, r.defineComponent)({ name: "loading-animation", props: { videoLink: String, gifLink: String }, setup: function() { return {} } }) }, 134: function(e, t, n) { "use strict"; var r = n(135) , i = n.n(r); t.default = i.a }, 135: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = n(1) , i = n(174); t.default = (0, r.defineComponent)({ name: "frame-zoom-scale-bar", props: { zoomScale: { type: Number, default: 100 }, buttonStyles: String }, setup: function(e, t) { return { handleZoom: function(e) { return t.emit("zoom", e) }, PresetZoomScales: i.PresetZoomScales, handleZoomIn: function() { return t.emit("zoom-in") }, handleZoomOut: function() { return t.emit("zoom-out") }, handleFitMap: function() { return t.emit("fit-map") } } } }) }, 136: function(e, t, n) { "use strict"; var r = n(137) , i = n.n(r); t.default = i.a }, 137: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var r = n(1); t.default = (0, r.defineComponent)({ name: "frame-sheets-bar", props: { buttonStyles: String, currentSheetId: String, sheets: { validator: function(e) { return !(!Array.isArray(e) || !e.every((function(e) { return e && "string" == typeof e.title && "string" == typeof e.id } ))) } } }, setup: function(e, t) { var n = (0, r.computed)((function() { return e.sheets.find((function(t) { return t.id === e.currentSheetId } )) } )); return { currentSheet: n, handleSwitchSheet: function(e) { n.value && n.value === e || t.emit("switch-sheet", e) } } } }) }, 138: function(e, t, n) { (function(t, n, r) { e.exports = function e(t, n, r) { function i(a, s) { if (!n[a]) { if (!t[a]) { if (o) return o(a, !0); var l = new Error("Cannot find module '" + a + "'"); throw l.code = "MODULE_NOT_FOUND", l } var u = n[a] = { exports: {} }; t[a][0].call(u.exports, (function(e) { return i(t[a][1][e] || e) } ), u, u.exports, e, t, n, r) } return n[a].exports } for (var o = !1, a = 0; a < r.length; a++) i(r[a]); return i }({ 1: [function(e, t, n) { "use strict"; var r = e("./utils") , i = e("./support") , o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; n.encode = function(e) { for (var t, n, i, a, s, l, u, c = [], d = 0, f = e.length, h = f, p = "string" !== r.getTypeOf(e); d < e.length; ) h = f - d, i = p ? (t = e[d++], n = d < f ? e[d++] : 0, d < f ? e[d++] : 0) : (t = e.charCodeAt(d++), n = d < f ? e.charCodeAt(d++) : 0, d < f ? e.charCodeAt(d++) : 0), a = t >> 2, s = (3 & t) << 4 | n >> 4, l = 1 < h ? (15 & n) << 2 | i >> 6 : 64, u = 2 < h ? 63 & i : 64, c.push(o.charAt(a) + o.charAt(s) + o.charAt(l) + o.charAt(u)); return c.join("") } , n.decode = function(e) { var t, n, r, a, s, l, u = 0, c = 0, d = "data:"; if (e.substr(0, d.length) === d) throw new Error("Invalid base64 input, it looks like a data url."); var f, h = 3 * (e = e.replace(/[^A-Za-z0-9\+\/\=]/g, "")).length / 4; if (e.charAt(e.length - 1) === o.charAt(64) && h--, e.charAt(e.length - 2) === o.charAt(64) && h--, h % 1 != 0) throw new Error("Invalid base64 input, bad content length."); for (f = i.uint8array ? new Uint8Array(0 | h) : new Array(0 | h); u < e.length; ) t = o.indexOf(e.charAt(u++)) << 2 | (a = o.indexOf(e.charAt(u++))) >> 4, n = (15 & a) << 4 | (s = o.indexOf(e.charAt(u++))) >> 2, r = (3 & s) << 6 | (l = o.indexOf(e.charAt(u++))), f[c++] = t, 64 !== s && (f[c++] = n), 64 !== l && (f[c++] = r); return f } } , { "./support": 30, "./utils": 32 }], 2: [function(e, t, n) { "use strict"; var r = e("./external") , i = e("./stream/DataWorker") , o = e("./stream/Crc32Probe") , a = e("./stream/DataLengthProbe"); function s(e, t, n, r, i) { this.compressedSize = e, this.uncompressedSize = t, this.crc32 = n, this.compression = r, this.compressedContent = i } s.prototype = { getContentWorker: function() { var e = new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")) , t = this; return e.on("end", (function() { if (this.streamInfo.data_length !== t.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch") } )), e }, getCompressedWorker: function() { return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression) } }, s.createWorkerFrom = function(e, t, n) { return e.pipe(new o).pipe(new a("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression", t) } , t.exports = s } , { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(e, t, n) { "use strict"; var r = e("./stream/GenericWorker"); n.STORE = { magic: "\0\0", compressWorker: function(e) { return new r("STORE compression") }, uncompressWorker: function() { return new r("STORE decompression") } }, n.DEFLATE = e("./flate") } , { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(e, t, n) { "use strict"; var r = e("./utils") , i = function() { for (var e, t = [], n = 0; n < 256; n++) { e = n; for (var r = 0; r < 8; r++) e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1; t[n] = e } return t }(); t.exports = function(e, t) { return void 0 !== e && e.length ? "string" !== r.getTypeOf(e) ? function(e, t, n, r) { var o = i , a = 0 + n; e ^= -1; for (var s = 0; s < a; s++) e = e >>> 8 ^ o[255 & (e ^ t[s])]; return -1 ^ e }(0 | t, e, e.length) : function(e, t, n, r) { var o = i , a = 0 + n; e ^= -1; for (var s = 0; s < a; s++) e = e >>> 8 ^ o[255 & (e ^ t.charCodeAt(s))]; return -1 ^ e }(0 | t, e, e.length) : 0 } } , { "./utils": 32 }], 5: [function(e, t, n) { "use strict"; n.base64 = !1, n.binary = !1, n.dir = !1, n.createFolders = !0, n.date = null, n.compression = null, n.compressionOptions = null, n.comment = null, n.unixPermissions = null, n.dosPermissions = null } , {}], 6: [function(e, t, n) { "use strict"; var r; r = "undefined" != typeof Promise ? Promise : e("lie"), t.exports = { Promise: r } } , { lie: 37 }], 7: [function(e, t, n) { "use strict"; var r = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array , i = e("pako") , o = e("./utils") , a = e("./stream/GenericWorker") , s = r ? "uint8array" : "array"; function l(e, t) { a.call(this, "FlateWorker/" + e), this._pako = null, this._pakoAction = e, this._pakoOptions = t, this.meta = {} } n.magic = "\b\0", o.inherits(l, a), l.prototype.processChunk = function(e) { this.meta = e.meta, null === this._pako && this._createPako(), this._pako.push(o.transformTo(s, e.data), !1) } , l.prototype.flush = function() { a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], !0) } , l.prototype.cleanUp = function() { a.prototype.cleanUp.call(this), this._pako = null } , l.prototype._createPako = function() { this._pako = new i[this._pakoAction]({ raw: !0, level: this._pakoOptions.level || -1 }); var e = this; this._pako.onData = function(t) { e.push({ data: t, meta: e.meta }) } } , n.compressWorker = function(e) { return new l("Deflate",e) } , n.uncompressWorker = function() { return new l("Inflate",{}) } } , { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(e, t, n) { "use strict"; function r(e, t) { var n, r = ""; for (n = 0; n < t; n++) r += String.fromCharCode(255 & e), e >>>= 8; return r } function i(e, t, n, i, a, c) { var d, f, h = e.file, p = e.compression, g = c !== s.utf8encode, m = o.transformTo("string", c(h.name)), v = o.transformTo("string", s.utf8encode(h.name)), y = h.comment, b = o.transformTo("string", c(y)), _ = o.transformTo("string", s.utf8encode(y)), w = v.length !== h.name.length, S = _.length !== y.length, x = "", k = "", I = "", C = h.dir, M = h.date, T = { crc32: 0, compressedSize: 0, uncompressedSize: 0 }; t && !n || (T.crc32 = e.crc32, T.compressedSize = e.compressedSize, T.uncompressedSize = e.uncompressedSize); var A = 0; t && (A |= 8), g || !w && !S || (A |= 2048); var E = 0 , O = 0; C && (E |= 16), "UNIX" === a ? (O = 798, E |= function(e, t) { var n = e; return e || (n = t ? 16893 : 33204), (65535 & n) << 16 }(h.unixPermissions, C)) : (O = 20, E |= function(e) { return 63 & (e || 0) }(h.dosPermissions)), d = M.getUTCHours(), d <<= 6, d |= M.getUTCMinutes(), d <<= 5, d |= M.getUTCSeconds() / 2, f = M.getUTCFullYear() - 1980, f <<= 4, f |= M.getUTCMonth() + 1, f <<= 5, f |= M.getUTCDate(), w && (k = r(1, 1) + r(l(m), 4) + v, x += "up" + r(k.length, 2) + k), S && (I = r(1, 1) + r(l(b), 4) + _, x += "uc" + r(I.length, 2) + I); var B = ""; return B += "\n\0", B += r(A, 2), B += p.magic, B += r(d, 2), B += r(f, 2), B += r(T.crc32, 4), B += r(T.compressedSize, 4), B += r(T.uncompressedSize, 4), B += r(m.length, 2), B += r(x.length, 2), { fileRecord: u.LOCAL_FILE_HEADER + B + m + x, dirRecord: u.CENTRAL_FILE_HEADER + r(O, 2) + B + r(b.length, 2) + "\0\0\0\0" + r(E, 4) + r(i, 4) + m + x + b } } var o = e("../utils") , a = e("../stream/GenericWorker") , s = e("../utf8") , l = e("../crc32") , u = e("../signature"); function c(e, t, n, r) { a.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = t, this.zipPlatform = n, this.encodeFileName = r, this.streamFiles = e, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [] } o.inherits(c, a), c.prototype.push = function(e) { var t = e.meta.percent || 0 , n = this.entriesCount , r = this._sources.length; this.accumulate ? this.contentBuffer.push(e) : (this.bytesWritten += e.data.length, a.prototype.push.call(this, { data: e.data, meta: { currentFile: this.currentFile, percent: n ? (t + 100 * (n - r - 1)) / n : 100 } })) } , c.prototype.openedSource = function(e) { this.currentSourceOffset = this.bytesWritten, this.currentFile = e.file.name; var t = this.streamFiles && !e.file.dir; if (t) { var n = i(e, t, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); this.push({ data: n.fileRecord, meta: { percent: 0 } }) } else this.accumulate = !0 } , c.prototype.closedSource = function(e) { this.accumulate = !1; var t = this.streamFiles && !e.file.dir , n = i(e, t, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); if (this.dirRecords.push(n.dirRecord), t) this.push({ data: function(e) { return u.DATA_DESCRIPTOR + r(e.crc32, 4) + r(e.compressedSize, 4) + r(e.uncompressedSize, 4) }(e), meta: { percent: 100 } }); else for (this.push({ data: n.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift()); this.currentFile = null } , c.prototype.flush = function() { for (var e = this.bytesWritten, t = 0; t < this.dirRecords.length; t++) this.push({ data: this.dirRecords[t], meta: { percent: 100 } }); var n = this.bytesWritten - e , i = function(e, t, n, i, a) { var s = o.transformTo("string", a(i)); return u.CENTRAL_DIRECTORY_END + "\0\0\0\0" + r(e, 2) + r(e, 2) + r(t, 4) + r(n, 4) + r(s.length, 2) + s }(this.dirRecords.length, n, e, this.zipComment, this.encodeFileName); this.push({ data: i, meta: { percent: 100 } }) } , c.prototype.prepareNextSource = function() { this.previous = this._sources.shift(), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume() } , c.prototype.registerPrevious = function(e) { this._sources.push(e); var t = this; return e.on("data", (function(e) { t.processChunk(e) } )), e.on("end", (function() { t.closedSource(t.previous.streamInfo), t._sources.length ? t.prepareNextSource() : t.end() } )), e.on("error", (function(e) { t.error(e) } )), this } , c.prototype.resume = function() { return !!a.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0)) } , c.prototype.error = function(e) { var t = this._sources; if (!a.prototype.error.call(this, e)) return !1; for (var n = 0; n < t.length; n++) try { t[n].error(e) } catch (e) {} return !0 } , c.prototype.lock = function() { a.prototype.lock.call(this); for (var e = this._sources, t = 0; t < e.length; t++) e[t].lock() } , t.exports = c } , { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(e, t, n) { "use strict"; var r = e("../compressions") , i = e("./ZipFileWorker"); n.generateWorker = function(e, t, n) { var o = new i(t.streamFiles,n,t.platform,t.encodeFileName) , a = 0; try { e.forEach((function(e, n) { a++; var i = function(e, t) { var n = e || t , i = r[n]; if (!i) throw new Error(n + " is not a valid compression method !"); return i }(n.options.compression, t.compression) , s = n.options.compressionOptions || t.compressionOptions || {} , l = n.dir , u = n.date; n._compressWorker(i, s).withStreamInfo("file", { name: e, dir: l, date: u, comment: n.comment || "", unixPermissions: n.unixPermissions, dosPermissions: n.dosPermissions }).pipe(o) } )), o.entriesCount = a } catch (e) { o.error(e) } return o } } , { "../compressions": 3, "./ZipFileWorker": 8 }], 10: [function(e, t, n) { "use strict"; function r() { if (!(this instanceof r)) return new r; if (arguments.length) throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."); this.files = Object.create(null), this.comment = null, this.root = "", this.clone = function() { var e = new r; for (var t in this) "function" != typeof this[t] && (e[t] = this[t]); return e } } (r.prototype = e("./object")).loadAsync = e("./load"), r.support = e("./support"), r.defaults = e("./defaults"), r.version = "3.7.1", r.loadAsync = function(e, t) { return (new r).loadAsync(e, t) } , r.external = e("./external"), t.exports = r } , { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(e, t, n) { "use strict"; var r = e("./utils") , i = e("./external") , o = e("./utf8") , a = e("./zipEntries") , s = e("./stream/Crc32Probe") , l = e("./nodejsUtils"); function u(e) { return new i.Promise((function(t, n) { var r = e.decompressed.getContentWorker().pipe(new s); r.on("error", (function(e) { n(e) } )).on("end", (function() { r.streamInfo.crc32 !== e.decompressed.crc32 ? n(new Error("Corrupted zip : CRC32 mismatch")) : t() } )).resume() } )) } t.exports = function(e, t) { var n = this; return t = r.extend(t || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: o.utf8decode }), l.isNode && l.isStream(e) ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : r.prepareContent("the loaded zip file", e, !0, t.optimizedBinaryString, t.base64).then((function(e) { var n = new a(t); return n.load(e), n } )).then((function(e) { var n = [i.Promise.resolve(e)] , r = e.files; if (t.checkCRC32) for (var o = 0; o < r.length; o++) n.push(u(r[o])); return i.Promise.all(n) } )).then((function(e) { for (var r = e.shift(), i = r.files, o = 0; o < i.length; o++) { var a = i[o]; n.file(a.fileNameStr, a.decompressed, { binary: !0, optimizedBinaryString: !0, date: a.date, dir: a.dir, comment: a.fileCommentStr.length ? a.fileCommentStr : null, unixPermissions: a.unixPermissions, dosPermissions: a.dosPermissions, createFolders: t.createFolders }) } return r.zipComment.length && (n.comment = r.zipComment), n } )) } } , { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(e, t, n) { "use strict"; var r = e("../utils") , i = e("../stream/GenericWorker"); function o(e, t) { i.call(this, "Nodejs stream input adapter for " + e), this._upstreamEnded = !1, this._bindStream(t) } r.inherits(o, i), o.prototype._bindStream = function(e) { var t = this; (this._stream = e).pause(), e.on("data", (function(e) { t.push({ data: e, meta: { percent: 0 } }) } )).on("error", (function(e) { t.isPaused ? this.generatedError = e : t.error(e) } )).on("end", (function() { t.isPaused ? t._upstreamEnded = !0 : t.end() } )) } , o.prototype.pause = function() { return !!i.prototype.pause.call(this) && (this._stream.pause(), !0) } , o.prototype.resume = function() { return !!i.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0) } , t.exports = o } , { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(e, t, n) { "use strict"; var r = e("readable-stream").Readable; function i(e, t, n) { r.call(this, t), this._helper = e; var i = this; e.on("data", (function(e, t) { i.push(e) || i._helper.pause(), n && n(t) } )).on("error", (function(e) { i.emit("error", e) } )).on("end", (function() { i.push(null) } )) } e("../utils").inherits(i, r), i.prototype._read = function() { this._helper.resume() } , t.exports = i } , { "../utils": 32, "readable-stream": 16 }], 14: [function(e, n, r) { "use strict"; n.exports = { isNode: void 0 !== t, newBufferFrom: function(e, n) { if (t.from && t.from !== Uint8Array.from) return t.from(e, n); if ("number" == typeof e) throw new Error('The "data" argument must not be a number'); return new t(e,n) }, allocBuffer: function(e) { if (t.alloc) return t.alloc(e); var n = new t(e); return n.fill(0), n }, isBuffer: function(e) { return t.isBuffer(e) }, isStream: function(e) { return e && "function" == typeof e.on && "function" == typeof e.pause && "function" == typeof e.resume } } } , {}], 15: [function(e, t, n) { "use strict"; function r(e, t, n) { var r, i = o.getTypeOf(t), s = o.extend(n || {}, l); s.date = s.date || new Date, null !== s.compression && (s.compression = s.compression.toUpperCase()), "string" == typeof s.unixPermissions && (s.unixPermissions = parseInt(s.unixPermissions, 8)), s.unixPermissions && 16384 & s.unixPermissions && (s.dir = !0), s.dosPermissions && 16 & s.dosPermissions && (s.dir = !0), s.dir && (e = g(e)), s.createFolders && (r = p(e)) && m.call(this, r, !0); var d, v = "string" === i && !1 === s.binary && !1 === s.base64; n && void 0 !== n.binary || (s.binary = !v), (t instanceof u && 0 === t.uncompressedSize || s.dir || !t || 0 === t.length) && (s.base64 = !1, s.binary = !0, t = "", s.compression = "STORE", i = "string"), d = t instanceof u || t instanceof a ? t : f.isNode && f.isStream(t) ? new h(e,t) : o.prepareContent(e, t, s.binary, s.optimizedBinaryString, s.base64); var y = new c(e,d,s); this.files[e] = y } var i = e("./utf8") , o = e("./utils") , a = e("./stream/GenericWorker") , s = e("./stream/StreamHelper") , l = e("./defaults") , u = e("./compressedObject") , c = e("./zipObject") , d = e("./generate") , f = e("./nodejsUtils") , h = e("./nodejs/NodejsStreamInputAdapter") , p = function(e) { "/" === e.slice(-1) && (e = e.substring(0, e.length - 1)); var t = e.lastIndexOf("/"); return 0 < t ? e.substring(0, t) : "" } , g = function(e) { return "/" !== e.slice(-1) && (e += "/"), e } , m = function(e, t) { return t = void 0 !== t ? t : l.createFolders, e = g(e), this.files[e] || r.call(this, e, null, { dir: !0, createFolders: t }), this.files[e] }; function v(e) { return "[object RegExp]" === Object.prototype.toString.call(e) } var y = { load: function() { throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.") }, forEach: function(e) { var t, n, r; for (t in this.files) r = this.files[t], (n = t.slice(this.root.length, t.length)) && t.slice(0, this.root.length) === this.root && e(n, r) }, filter: function(e) { var t = []; return this.forEach((function(n, r) { e(n, r) && t.push(r) } )), t }, file: function(e, t, n) { if (1 !== arguments.length) return e = this.root + e, r.call(this, e, t, n), this; if (v(e)) { var i = e; return this.filter((function(e, t) { return !t.dir && i.test(e) } )) } var o = this.files[this.root + e]; return o && !o.dir ? o : null }, folder: function(e) { if (!e) return this; if (v(e)) return this.filter((function(t, n) { return n.dir && e.test(t) } )); var t = this.root + e , n = m.call(this, t) , r = this.clone(); return r.root = n.name, r }, remove: function(e) { e = this.root + e; var t = this.files[e]; if (t || ("/" !== e.slice(-1) && (e += "/"), t = this.files[e]), t && !t.dir) delete this.files[e]; else for (var n = this.filter((function(t, n) { return n.name.slice(0, e.length) === e } )), r = 0; r < n.length; r++) delete this.files[n[r].name]; return this }, generate: function(e) { throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.") }, generateInternalStream: function(e) { var t, n = {}; try { if ((n = o.extend(e || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: i.utf8encode })).type = n.type.toLowerCase(), n.compression = n.compression.toUpperCase(), "binarystring" === n.type && (n.type = "string"), !n.type) throw new Error("No output type specified."); o.checkSupport(n.type), "darwin" !== n.platform && "freebsd" !== n.platform && "linux" !== n.platform && "sunos" !== n.platform || (n.platform = "UNIX"), "win32" === n.platform && (n.platform = "DOS"); var r = n.comment || this.comment || ""; t = d.generateWorker(this, n, r) } catch (e) { (t = new a("error")).error(e) } return new s(t,n.type || "string",n.mimeType) }, generateAsync: function(e, t) { return this.generateInternalStream(e).accumulate(t) }, generateNodeStream: function(e, t) { return (e = e || {}).type || (e.type = "nodebuffer"), this.generateInternalStream(e).toNodejsStream(t) } }; t.exports = y } , { "./compressedObject": 2, "./defaults": 5, "./generate": 9, "./nodejs/NodejsStreamInputAdapter": 12, "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31, "./utils": 32, "./zipObject": 35 }], 16: [function(e, t, n) { t.exports = e("stream") } , { stream: void 0 }], 17: [function(e, t, n) { "use strict"; var r = e("./DataReader"); function i(e) { r.call(this, e); for (var t = 0; t < this.data.length; t++) e[t] = 255 & e[t] } e("../utils").inherits(i, r), i.prototype.byteAt = function(e) { return this.data[this.zero + e] } , i.prototype.lastIndexOfSignature = function(e) { for (var t = e.charCodeAt(0), n = e.charCodeAt(1), r = e.charCodeAt(2), i = e.charCodeAt(3), o = this.length - 4; 0 <= o; --o) if (this.data[o] === t && this.data[o + 1] === n && this.data[o + 2] === r && this.data[o + 3] === i) return o - this.zero; return -1 } , i.prototype.readAndCheckSignature = function(e) { var t = e.charCodeAt(0) , n = e.charCodeAt(1) , r = e.charCodeAt(2) , i = e.charCodeAt(3) , o = this.readData(4); return t === o[0] && n === o[1] && r === o[2] && i === o[3] } , i.prototype.readData = function(e) { if (this.checkOffset(e), 0 === e) return []; var t = this.data.slice(this.zero + this.index, this.zero + this.index + e); return this.index += e, t } , t.exports = i } , { "../utils": 32, "./DataReader": 18 }], 18: [function(e, t, n) { "use strict"; var r = e("../utils"); function i(e) { this.data = e, this.length = e.length, this.index = 0, this.zero = 0 } i.prototype = { checkOffset: function(e) { this.checkIndex(this.index + e) }, checkIndex: function(e) { if (this.length < this.zero + e || e < 0) throw new Error("End of data reached (data length = " + this.length + ", asked index = " + e + "). Corrupted zip ?") }, setIndex: function(e) { this.checkIndex(e), this.index = e }, skip: function(e) { this.setIndex(this.index + e) }, byteAt: function(e) {}, readInt: function(e) { var t, n = 0; for (this.checkOffset(e), t = this.index + e - 1; t >= this.index; t--) n = (n << 8) + this.byteAt(t); return this.index += e, n }, readString: function(e) { return r.transformTo("string", this.readData(e)) }, readData: function(e) {}, lastIndexOfSignature: function(e) {}, readAndCheckSignature: function(e) {}, readDate: function() { var e = this.readInt(4); return new Date(Date.UTC(1980 + (e >> 25 & 127), (e >> 21 & 15) - 1, e >> 16 & 31, e >> 11 & 31, e >> 5 & 63, (31 & e) << 1)) } }, t.exports = i } , { "../utils": 32 }], 19: [function(e, t, n) { "use strict"; var r = e("./Uint8ArrayReader"); function i(e) { r.call(this, e) } e("../utils").inherits(i, r), i.prototype.readData = function(e) { this.checkOffset(e); var t = this.data.slice(this.zero + this.index, this.zero + this.index + e); return this.index += e, t } , t.exports = i } , { "../utils": 32, "./Uint8ArrayReader": 21 }], 20: [function(e, t, n) { "use strict"; var r = e("./DataReader"); function i(e) { r.call(this, e) } e("../utils").inherits(i, r), i.prototype.byteAt = function(e) { return this.data.charCodeAt(this.zero + e) } , i.prototype.lastIndexOfSignature = function(e) { return this.data.lastIndexOf(e) - this.zero } , i.prototype.readAndCheckSignature = function(e) { return e === this.readData(4) } , i.prototype.readData = function(e) { this.checkOffset(e); var t = this.data.slice(this.zero + this.index, this.zero + this.index + e); return this.index += e, t } , t.exports = i } , { "../utils": 32, "./DataReader": 18 }], 21: [function(e, t, n) { "use strict"; var r = e("./ArrayReader"); function i(e) { r.call(this, e) } e("../utils").inherits(i, r), i.prototype.readData = function(e) { if (this.checkOffset(e), 0 === e) return new Uint8Array(0); var t = this.data.subarray(this.zero + this.index, this.zero + this.index + e); return this.index += e, t } , t.exports = i } , { "../utils": 32, "./ArrayReader": 17 }], 22: [function(e, t, n) { "use strict"; var r = e("../utils") , i = e("../support") , o = e("./ArrayReader") , a = e("./StringReader") , s = e("./NodeBufferReader") , l = e("./Uint8ArrayReader"); t.exports = function(e) { var t = r.getTypeOf(e); return r.checkSupport(t), "string" !== t || i.uint8array ? "nodebuffer" === t ? new s(e) : i.uint8array ? new l(r.transformTo("uint8array", e)) : new o(r.transformTo("array", e)) : new a(e) } } , { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(e, t, n) { "use strict"; n.LOCAL_FILE_HEADER = "PK", n.CENTRAL_FILE_HEADER = "PK", n.CENTRAL_DIRECTORY_END = "PK", n.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK", n.ZIP64_CENTRAL_DIRECTORY_END = "PK", n.DATA_DESCRIPTOR = "PK\b" } , {}], 24: [function(e, t, n) { "use strict"; var r = e("./GenericWorker") , i = e("../utils"); function o(e) { r.call(this, "ConvertWorker to " + e), this.destType = e } i.inherits(o, r), o.prototype.processChunk = function(e) { this.push({ data: i.transformTo(this.destType, e.data), meta: e.meta }) } , t.exports = o } , { "../utils": 32, "./GenericWorker": 28 }], 25: [function(e, t, n) { "use strict"; var r = e("./GenericWorker") , i = e("../crc32"); function o() { r.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0) } e("../utils").inherits(o, r), o.prototype.processChunk = function(e) { this.streamInfo.crc32 = i(e.data, this.streamInfo.crc32 || 0), this.push(e) } , t.exports = o } , { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], 26: [function(e, t, n) { "use strict"; var r = e("../utils") , i = e("./GenericWorker"); function o(e) { i.call(this, "DataLengthProbe for " + e), this.propName = e, this.withStreamInfo(e, 0) } r.inherits(o, i), o.prototype.processChunk = function(e) { if (e) { var t = this.streamInfo[this.propName] || 0; this.streamInfo[this.propName] = t + e.data.length } i.prototype.processChunk.call(this, e) } , t.exports = o } , { "../utils": 32, "./GenericWorker": 28 }], 27: [function(e, t, n) { "use strict"; var r = e("../utils") , i = e("./GenericWorker"); function o(e) { i.call(this, "DataWorker"); var t = this; this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, e.then((function(e) { t.dataIsReady = !0, t.data = e, t.max = e && e.length || 0, t.type = r.getTypeOf(e), t.isPaused || t._tickAndRepeat() } ), (function(e) { t.error(e) } )) } r.inherits(o, i), o.prototype.cleanUp = function() { i.prototype.cleanUp.call(this), this.data = null } , o.prototype.resume = function() { return !!i.prototype.resume.call(this) && (!this._tickScheduled && this.dataIsReady && (this._tickScheduled = !0, r.delay(this._tickAndRepeat, [], this)), !0) } , o.prototype._tickAndRepeat = function() { this._tickScheduled = !1, this.isPaused || this.isFinished || (this._tick(), this.isFinished || (r.delay(this._tickAndRepeat, [], this), this._tickScheduled = !0)) } , o.prototype._tick = function() { if (this.isPaused || this.isFinished) return !1; var e = null , t = Math.min(this.max, this.index + 16384); if (this.index >= this.max) return this.end(); switch (this.type) { case "string": e = this.data.substring(this.index, t); break; case "uint8array": e = this.data.subarray(this.index, t); break; case "array": case "nodebuffer": e = this.data.slice(this.index, t) } return this.index = t, this.push({ data: e, meta: { percent: this.max ? this.index / this.max * 100 : 0 } }) } , t.exports = o } , { "../utils": 32, "./GenericWorker": 28 }], 28: [function(e, t, n) { "use strict"; function r(e) { this.name = e || "default", this.streamInfo = {}, this.generatedError = null, this.extraStreamInfo = {}, this.isPaused = !0, this.isFinished = !1, this.isLocked = !1, this._listeners = { data: [], end: [], error: [] }, this.previous = null } r.prototype = { push: function(e) { this.emit("data", e) }, end: function() { if (this.isFinished) return !1; this.flush(); try { this.emit("end"), this.cleanUp(), this.isFinished = !0 } catch (e) { this.emit("error", e) } return !0 }, error: function(e) { return !this.isFinished && (this.isPaused ? this.generatedError = e : (this.isFinished = !0, this.emit("error", e), this.previous && this.previous.error(e), this.cleanUp()), !0) }, on: function(e, t) { return this._listeners[e].push(t), this }, cleanUp: function() { this.streamInfo = this.generatedError = this.extraStreamInfo = null, this._listeners = [] }, emit: function(e, t) { if (this._listeners[e]) for (var n = 0; n < this._listeners[e].length; n++) this._listeners[e][n].call(this, t) }, pipe: function(e) { return e.registerPrevious(this) }, registerPrevious: function(e) { if (this.isLocked) throw new Error("The stream '" + this + "' has already been used."); this.streamInfo = e.streamInfo, this.mergeStreamInfo(), this.previous = e; var t = this; return e.on("data", (function(e) { t.processChunk(e) } )), e.on("end", (function() { t.end() } )), e.on("error", (function(e) { t.error(e) } )), this }, pause: function() { return !this.isPaused && !this.isFinished && (this.isPaused = !0, this.previous && this.previous.pause(), !0) }, resume: function() { if (!this.isPaused || this.isFinished) return !1; var e = this.isPaused = !1; return this.generatedError && (this.error(this.generatedError), e = !0), this.previous && this.previous.resume(), !e }, flush: function() {}, processChunk: function(e) { this.push(e) }, withStreamInfo: function(e, t) { return this.extraStreamInfo[e] = t, this.mergeStreamInfo(), this }, mergeStreamInfo: function() { for (var e in this.extraStreamInfo) this.extraStreamInfo.hasOwnProperty(e) && (this.streamInfo[e] = this.extraStreamInfo[e]) }, lock: function() { if (this.isLocked) throw new Error("The stream '" + this + "' has already been used."); this.isLocked = !0, this.previous && this.previous.lock() }, toString: function() { var e = "Worker " + this.name; return this.previous ? this.previous + " -> " + e : e } }, t.exports = r } , {}], 29: [function(e, n, r) { "use strict"; var i = e("../utils") , o = e("./ConvertWorker") , a = e("./GenericWorker") , s = e("../base64") , l = e("../support") , u = e("../external") , c = null; if (l.nodestream) try { c = e("../nodejs/NodejsStreamOutputAdapter") } catch (e) {} function d(e, t, n) { var r = t; switch (t) { case "blob": case "arraybuffer": r = "uint8array"; break; case "base64": r = "string" } try { this._internalType = r, this._outputType = t, this._mimeType = n, i.checkSupport(r), this._worker = e.pipe(new o(r)), e.lock() } catch (e) { this._worker = new a("error"), this._worker.error(e) } } d.prototype = { accumulate: function(e) { return function(e, n) { return new u.Promise((function(r, o) { var a = [] , l = e._internalType , u = e._outputType , c = e._mimeType; e.on("data", (function(e, t) { a.push(e), n && n(t) } )).on("error", (function(e) { a = [], o(e) } )).on("end", (function() { try { var e = function(e, t, n) { switch (e) { case "blob": return i.newBlob(i.transformTo("arraybuffer", t), n); case "base64": return s.encode(t); default: return i.transformTo(e, t) } }(u, function(e, n) { var r, i = 0, o = null, a = 0; for (r = 0; r < n.length; r++) a += n[r].length; switch (e) { case "string": return n.join(""); case "array": return Array.prototype.concat.apply([], n); case "uint8array": for (o = new Uint8Array(a), r = 0; r < n.length; r++) o.set(n[r], i), i += n[r].length; return o; case "nodebuffer": return t.concat(n); default: throw new Error("concat : unsupported type '" + e + "'") } }(l, a), c); r(e) } catch (e) { o(e) } a = [] } )).resume() } )) }(this, e) }, on: function(e, t) { var n = this; return "data" === e ? this._worker.on(e, (function(e) { t.call(n, e.data, e.meta) } )) : this._worker.on(e, (function() { i.delay(t, arguments, n) } )), this }, resume: function() { return i.delay(this._worker.resume, [], this._worker), this }, pause: function() { return this._worker.pause(), this }, toNodejsStream: function(e) { if (i.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method"); return new c(this,{ objectMode: "nodebuffer" !== this._outputType },e) } }, n.exports = d } , { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(e, n, r) { "use strict"; if (r.base64 = !0, r.array = !0, r.string = !0, r.arraybuffer = "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8Array, r.nodebuffer = void 0 !== t, r.uint8array = "undefined" != typeof Uint8Array, "undefined" == typeof ArrayBuffer) r.blob = !1; else { var i = new ArrayBuffer(0); try { r.blob = 0 === new Blob([i],{ type: "application/zip" }).size } catch (e) { try { var o = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder); o.append(i), r.blob = 0 === o.getBlob("application/zip").size } catch (e) { r.blob = !1 } } } try { r.nodestream = !!e("readable-stream").Readable } catch (e) { r.nodestream = !1 } } , { "readable-stream": 16 }], 31: [function(e, t, n) { "use strict"; for (var r = e("./utils"), i = e("./support"), o = e("./nodejsUtils"), a = e("./stream/GenericWorker"), s = new Array(256), l = 0; l < 256; l++) s[l] = 252 <= l ? 6 : 248 <= l ? 5 : 240 <= l ? 4 : 224 <= l ? 3 : 192 <= l ? 2 : 1; function u() { a.call(this, "utf-8 decode"), this.leftOver = null } function c() { a.call(this, "utf-8 encode") } s[254] = s[254] = 1, n.utf8encode = function(e) { return i.nodebuffer ? o.newBufferFrom(e, "utf-8") : function(e) { var t, n, r, o, a, s = e.length, l = 0; for (o = 0; o < s; o++) 55296 == (64512 & (n = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (r = e.charCodeAt(o + 1))) && (n = 65536 + (n - 55296 << 10) + (r - 56320), o++), l += n < 128 ? 1 : n < 2048 ? 2 : n < 65536 ? 3 : 4; for (t = i.uint8array ? new Uint8Array(l) : new Array(l), o = a = 0; a < l; o++) 55296 == (64512 & (n = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (r = e.charCodeAt(o + 1))) && (n = 65536 + (n - 55296 << 10) + (r - 56320), o++), n < 128 ? t[a++] = n : (n < 2048 ? t[a++] = 192 | n >>> 6 : (n < 65536 ? t[a++] = 224 | n >>> 12 : (t[a++] = 240 | n >>> 18, t[a++] = 128 | n >>> 12 & 63), t[a++] = 128 | n >>> 6 & 63), t[a++] = 128 | 63 & n); return t }(e) } , n.utf8decode = function(e) { return i.nodebuffer ? r.transformTo("nodebuffer", e).toString("utf-8") : function(e) { var t, n, i, o, a = e.length, l = new Array(2 * a); for (t = n = 0; t < a; ) if ((i = e[t++]) < 128) l[n++] = i; else if (4 < (o = s[i])) l[n++] = 65533, t += o - 1; else { for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && t < a; ) i = i << 6 | 63 & e[t++], o--; 1 < o ? l[n++] = 65533 : i < 65536 ? l[n++] = i : (i -= 65536, l[n++] = 55296 | i >> 10 & 1023, l[n++] = 56320 | 1023 & i) } return l.length !== n && (l.subarray ? l = l.subarray(0, n) : l.length = n), r.applyFromCharCode(l) }(e = r.transformTo(i.uint8array ? "uint8array" : "array", e)) } , r.inherits(u, a), u.prototype.processChunk = function(e) { var t = r.transformTo(i.uint8array ? "uint8array" : "array", e.data); if (this.leftOver && this.leftOver.length) { if (i.uint8array) { var o = t; (t = new Uint8Array(o.length + this.leftOver.length)).set(this.leftOver, 0), t.set(o, this.leftOver.length) } else t = this.leftOver.concat(t); this.leftOver = null } var a = function(e, t) { var n; for ((t = t || e.length) > e.length && (t = e.length), n = t - 1; 0 <= n && 128 == (192 & e[n]); ) n--; return n < 0 || 0 === n ? t : n + s[e[n]] > t ? n : t }(t) , l = t; a !== t.length && (i.uint8array ? (l = t.subarray(0, a), this.leftOver = t.subarray(a, t.length)) : (l = t.slice(0, a), this.leftOver = t.slice(a, t.length))), this.push({ data: n.utf8decode(l), meta: e.meta }) } , u.prototype.flush = function() { this.leftOver && this.leftOver.length && (this.push({ data: n.utf8decode(this.leftOver), meta: {} }), this.leftOver = null) } , n.Utf8DecodeWorker = u, r.inherits(c, a), c.prototype.processChunk = function(e) { this.push({ data: n.utf8encode(e.data), meta: e.meta }) } , n.Utf8EncodeWorker = c } , { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(e, t, n) { "use strict"; var r = e("./support") , i = e("./base64") , o = e("./nodejsUtils") , a = e("set-immediate-shim") , s = e("./external"); function l(e) { return e } function u(e, t) { for (var n = 0; n < e.length; ++n) t[n] = 255 & e.charCodeAt(n); return t } n.newBlob = function(e, t) { n.checkSupport("blob"); try { return new Blob([e],{ type: t }) } catch (n) { try { var r = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder); return r.append(e), r.getBlob(t) } catch (e) { throw new Error("Bug : can't construct the Blob.") } } } ; var c = { stringifyByChunk: function(e, t, n) { var r = [] , i = 0 , o = e.length; if (o <= n) return String.fromCharCode.apply(null, e); for (; i < o; ) "array" === t || "nodebuffer" === t ? r.push(String.fromCharCode.apply(null, e.slice(i, Math.min(i + n, o)))) : r.push(String.fromCharCode.apply(null, e.subarray(i, Math.min(i + n, o)))), i += n; return r.join("") }, stringifyByChar: function(e) { for (var t = "", n = 0; n < e.length; n++) t += String.fromCharCode(e[n]); return t }, applyCanBeUsed: { uint8array: function() { try { return r.uint8array && 1 === String.fromCharCode.apply(null, new Uint8Array(1)).length } catch (e) { return !1 } }(), nodebuffer: function() { try { return r.nodebuffer && 1 === String.fromCharCode.apply(null, o.allocBuffer(1)).length } catch (e) { return !1 } }() } }; function d(e) { var t = 65536 , r = n.getTypeOf(e) , i = !0; if ("uint8array" === r ? i = c.applyCanBeUsed.uint8array : "nodebuffer" === r && (i = c.applyCanBeUsed.nodebuffer), i) for (; 1 < t; ) try { return c.stringifyByChunk(e, r, t) } catch (e) { t = Math.floor(t / 2) } return c.stringifyByChar(e) } function f(e, t) { for (var n = 0; n < e.length; n++) t[n] = e[n]; return t } n.applyFromCharCode = d; var h = {}; h.string = { string: l, array: function(e) { return u(e, new Array(e.length)) }, arraybuffer: function(e) { return h.string.uint8array(e).buffer }, uint8array: function(e) { return u(e, new Uint8Array(e.length)) }, nodebuffer: function(e) { return u(e, o.allocBuffer(e.length)) } }, h.array = { string: d, array: l, arraybuffer: function(e) { return new Uint8Array(e).buffer }, uint8array: function(e) { return new Uint8Array(e) }, nodebuffer: function(e) { return o.newBufferFrom(e) } }, h.arraybuffer = { string: function(e) { return d(new Uint8Array(e)) }, array: function(e) { return f(new Uint8Array(e), new Array(e.byteLength)) }, arraybuffer: l, uint8array: function(e) { return new Uint8Array(e) }, nodebuffer: function(e) { return o.newBufferFrom(new Uint8Array(e)) } }, h.uint8array = { string: d, array: function(e) { return f(e, new Array(e.length)) }, arraybuffer: function(e) { return e.buffer }, uint8array: l, nodebuffer: function(e) { return o.newBufferFrom(e) } }, h.nodebuffer = { string: d, array: function(e) { return f(e, new Array(e.length)) }, arraybuffer: function(e) { return h.nodebuffer.uint8array(e).buffer }, uint8array: function(e) { return f(e, new Uint8Array(e.length)) }, nodebuffer: l }, n.transformTo = function(e, t) { if (t = t || "", !e) return t; n.checkSupport(e); var r = n.getTypeOf(t); return h[r][e](t) } , n.getTypeOf = function(e) { return "string" == typeof e ? "string" : "[object Array]" === Object.prototype.toString.call(e) ? "array" : r.nodebuffer && o.isBuffer(e) ? "nodebuffer" : r.uint8array && e instanceof Uint8Array ? "uint8array" : r.arraybuffer && e instanceof ArrayBuffer ? "arraybuffer" : void 0 } , n.checkSupport = function(e) { if (!r[e.toLowerCase()]) throw new Error(e + " is not supported by this platform") } , n.MAX_VALUE_16BITS = 65535, n.MAX_VALUE_32BITS = -1, n.pretty = function(e) { var t, n, r = ""; for (n = 0; n < (e || "").length; n++) r += "\\x" + ((t = e.charCodeAt(n)) < 16 ? "0" : "") + t.toString(16).toUpperCase(); return r } , n.delay = function(e, t, n) { a((function() { e.apply(n || null, t || []) } )) } , n.inherits = function(e, t) { function n() {} n.prototype = t.prototype, e.prototype = new n } , n.extend = function() { var e, t, n = {}; for (e = 0; e < arguments.length; e++) for (t in arguments[e]) arguments[e].hasOwnProperty(t) && void 0 === n[t] && (n[t] = arguments[e][t]); return n } , n.prepareContent = function(e, t, o, a, l) { return s.Promise.resolve(t).then((function(e) { return r.blob && (e instanceof Blob || -1 !== ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(e))) && "undefined" != typeof FileReader ? new s.Promise((function(t, n) { var r = new FileReader; r.onload = function(e) { t(e.target.result) } , r.onerror = function(e) { n(e.target.error) } , r.readAsArrayBuffer(e) } )) : e } )).then((function(t) { var c = n.getTypeOf(t); return c ? ("arraybuffer" === c ? t = n.transformTo("uint8array", t) : "string" === c && (l ? t = i.decode(t) : o && !0 !== a && (t = function(e) { return u(e, r.uint8array ? new Uint8Array(e.length) : new Array(e.length)) }(t))), t) : s.Promise.reject(new Error("Can't read the data of '" + e + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?")) } )) } } , { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, "set-immediate-shim": 54 }], 33: [function(e, t, n) { "use strict"; var r = e("./reader/readerFor") , i = e("./utils") , o = e("./signature") , a = e("./zipEntry") , s = (e("./utf8"), e("./support")); function l(e) { this.files = [], this.loadOptions = e } l.prototype = { checkSignature: function(e) { if (!this.reader.readAndCheckSignature(e)) { this.reader.index -= 4; var t = this.reader.readString(4); throw new Error("Corrupted zip or bug: unexpected signature (" + i.pretty(t) + ", expected " + i.pretty(e) + ")") } }, isSignature: function(e, t) { var n = this.reader.index; this.reader.setIndex(e); var r = this.reader.readString(4) === t; return this.reader.setIndex(n), r }, readBlockEndOfCentral: function() { this.diskNumber = this.reader.readInt(2), this.diskWithCentralDirStart = this.reader.readInt(2), this.centralDirRecordsOnThisDisk = this.reader.readInt(2), this.centralDirRecords = this.reader.readInt(2), this.centralDirSize = this.reader.readInt(4), this.centralDirOffset = this.reader.readInt(4), this.zipCommentLength = this.reader.readInt(2); var e = this.reader.readData(this.zipCommentLength) , t = s.uint8array ? "uint8array" : "array" , n = i.transformTo(t, e); this.zipComment = this.loadOptions.decodeFileName(n) }, readBlockZip64EndOfCentral: function() { this.zip64EndOfCentralSize = this.reader.readInt(8), this.reader.skip(4), this.diskNumber = this.reader.readInt(4), this.diskWithCentralDirStart = this.reader.readInt(4), this.centralDirRecordsOnThisDisk = this.reader.readInt(8), this.centralDirRecords = this.reader.readInt(8), this.centralDirSize = this.reader.readInt(8), this.centralDirOffset = this.reader.readInt(8), this.zip64ExtensibleData = {}; for (var e, t, n, r = this.zip64EndOfCentralSize - 44; 0 < r; ) e = this.reader.readInt(2), t = this.reader.readInt(4), n = this.reader.readData(t), this.zip64ExtensibleData[e] = { id: e, length: t, value: n } }, readBlockZip64EndOfCentralLocator: function() { if (this.diskWithZip64CentralDirStart = this.reader.readInt(4), this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8), this.disksCount = this.reader.readInt(4), 1 < this.disksCount) throw new Error("Multi-volumes zip are not supported") }, readLocalFiles: function() { var e, t; for (e = 0; e < this.files.length; e++) t = this.files[e], this.reader.setIndex(t.localHeaderOffset), this.checkSignature(o.LOCAL_FILE_HEADER), t.readLocalPart(this.reader), t.handleUTF8(), t.processAttributes() }, readCentralDir: function() { var e; for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER); ) (e = new a({ zip64: this.zip64 },this.loadOptions)).readCentralPart(this.reader), this.files.push(e); if (this.centralDirRecords !== this.files.length && 0 !== this.centralDirRecords && 0 === this.files.length) throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length) }, readEndOfCentral: function() { var e = this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END); if (e < 0) throw this.isSignature(0, o.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"); this.reader.setIndex(e); var t = e; if (this.checkSignature(o.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === i.MAX_VALUE_16BITS || this.diskWithCentralDirStart === i.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === i.MAX_VALUE_16BITS || this.centralDirRecords === i.MAX_VALUE_16BITS || this.centralDirSize === i.MAX_VALUE_32BITS || this.centralDirOffset === i.MAX_VALUE_32BITS) { if (this.zip64 = !0, (e = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator"); if (this.reader.setIndex(e), this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, o.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory"); this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral() } var n = this.centralDirOffset + this.centralDirSize; this.zip64 && (n += 20, n += 12 + this.zip64EndOfCentralSize); var r = t - n; if (0 < r) this.isSignature(t, o.CENTRAL_FILE_HEADER) || (this.reader.zero = r); else if (r < 0) throw new Error("Corrupted zip: missing " + Math.abs(r) + " bytes.") }, prepareReader: function(e) { this.reader = r(e) }, load: function(e) { this.prepareReader(e), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles() } }, t.exports = l } , { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utf8": 31, "./utils": 32, "./zipEntry": 34 }], 34: [function(e, t, n) { "use strict"; var r = e("./reader/readerFor") , i = e("./utils") , o = e("./compressedObject") , a = e("./crc32") , s = e("./utf8") , l = e("./compressions") , u = e("./support"); function c(e, t) { this.options = e, this.loadOptions = t } c.prototype = { isEncrypted: function() { return 1 == (1 & this.bitFlag) }, useUTF8: function() { return 2048 == (2048 & this.bitFlag) }, readLocalPart: function(e) { var t, n; if (e.skip(22), this.fileNameLength = e.readInt(2), n = e.readInt(2), this.fileName = e.readData(this.fileNameLength), e.skip(n), -1 === this.compressedSize || -1 === this.uncompressedSize) throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)"); if (null === (t = function(e) { for (var t in l) if (l.hasOwnProperty(t) && l[t].magic === e) return l[t]; return null }(this.compressionMethod))) throw new Error("Corrupted zip : compression " + i.pretty(this.compressionMethod) + " unknown (inner file : " + i.transformTo("string", this.fileName) + ")"); this.decompressed = new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize)) }, readCentralPart: function(e) { this.versionMadeBy = e.readInt(2), e.skip(2), this.bitFlag = e.readInt(2), this.compressionMethod = e.readString(2), this.date = e.readDate(), this.crc32 = e.readInt(4), this.compressedSize = e.readInt(4), this.uncompressedSize = e.readInt(4); var t = e.readInt(2); if (this.extraFieldsLength = e.readInt(2), this.fileCommentLength = e.readInt(2), this.diskNumberStart = e.readInt(2), this.internalFileAttributes = e.readInt(2), this.externalFileAttributes = e.readInt(4), this.localHeaderOffset = e.readInt(4), this.isEncrypted()) throw new Error("Encrypted zip are not supported"); e.skip(t), this.readExtraFields(e), this.parseZIP64ExtraField(e), this.fileComment = e.readData(this.fileCommentLength) }, processAttributes: function() { this.unixPermissions = null, this.dosPermissions = null; var e = this.versionMadeBy >> 8; this.dir = !!(16 & this.externalFileAttributes), 0 == e && (this.dosPermissions = 63 & this.externalFileAttributes), 3 == e && (this.unixPermissions = this.externalFileAttributes >> 16 & 65535), this.dir || "/" !== this.fileNameStr.slice(-1) || (this.dir = !0) }, parseZIP64ExtraField: function(e) { if (this.extraFields[1]) { var t = r(this.extraFields[1].value); this.uncompressedSize === i.MAX_VALUE_32BITS && (this.uncompressedSize = t.readInt(8)), this.compressedSize === i.MAX_VALUE_32BITS && (this.compressedSize = t.readInt(8)), this.localHeaderOffset === i.MAX_VALUE_32BITS && (this.localHeaderOffset = t.readInt(8)), this.diskNumberStart === i.MAX_VALUE_32BITS && (this.diskNumberStart = t.readInt(4)) } }, readExtraFields: function(e) { var t, n, r, i = e.index + this.extraFieldsLength; for (this.extraFields || (this.extraFields = {}); e.index + 4 < i; ) t = e.readInt(2), n = e.readInt(2), r = e.readData(n), this.extraFields[t] = { id: t, length: n, value: r }; e.setIndex(i) }, handleUTF8: function() { var e = u.uint8array ? "uint8array" : "array"; if (this.useUTF8()) this.fileNameStr = s.utf8decode(this.fileName), this.fileCommentStr = s.utf8decode(this.fileComment); else { var t = this.findExtraFieldUnicodePath(); if (null !== t) this.fileNameStr = t; else { var n = i.transformTo(e, this.fileName); this.fileNameStr = this.loadOptions.decodeFileName(n) } var r = this.findExtraFieldUnicodeComment(); if (null !== r) this.fileCommentStr = r; else { var o = i.transformTo(e, this.fileComment); this.fileCommentStr = this.loadOptions.decodeFileName(o) } } }, findExtraFieldUnicodePath: function() { var e = this.extraFields[28789]; if (e) { var t = r(e.value); return 1 !== t.readInt(1) || a(this.fileName) !== t.readInt(4) ? null : s.utf8decode(t.readData(e.length - 5)) } return null }, findExtraFieldUnicodeComment: function() { var e = this.extraFields[25461]; if (e) { var t = r(e.value); return 1 !== t.readInt(1) || a(this.fileComment) !== t.readInt(4) ? null : s.utf8decode(t.readData(e.length - 5)) } return null } }, t.exports = c } , { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(e, t, n) { "use strict"; function r(e, t, n) { this.name = e, this.dir = n.dir, this.date = n.date, this.comment = n.comment, this.unixPermissions = n.unixPermissions, this.dosPermissions = n.dosPermissions, this._data = t, this._dataBinary = n.binary, this.options = { compression: n.compression, compressionOptions: n.compressionOptions } } var i = e("./stream/StreamHelper") , o = e("./stream/DataWorker") , a = e("./utf8") , s = e("./compressedObject") , l = e("./stream/GenericWorker"); r.prototype = { internalStream: function(e) { var t = null , n = "string"; try { if (!e) throw new Error("No output type specified."); var r = "string" === (n = e.toLowerCase()) || "text" === n; "binarystring" !== n && "text" !== n || (n = "string"), t = this._decompressWorker(); var o = !this._dataBinary; o && !r && (t = t.pipe(new a.Utf8EncodeWorker)), !o && r && (t = t.pipe(new a.Utf8DecodeWorker)) } catch (e) { (t = new l("error")).error(e) } return new i(t,n,"") }, async: function(e, t) { return this.internalStream(e).accumulate(t) }, nodeStream: function(e, t) { return this.internalStream(e || "nodebuffer").toNodejsStream(t) }, _compressWorker: function(e, t) { if (this._data instanceof s && this._data.compression.magic === e.magic) return this._data.getCompressedWorker(); var n = this._decompressWorker(); return this._dataBinary || (n = n.pipe(new a.Utf8EncodeWorker)), s.createWorkerFrom(n, e, t) }, _decompressWorker: function() { return this._data instanceof s ? this._data.getContentWorker() : this._data instanceof l ? this._data : new o(this._data) } }; for (var u = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], c = function() { throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.") }, d = 0; d < u.length; d++) r.prototype[u[d]] = c; t.exports = r } , { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(e, t, r) { (function(e) { "use strict"; var n, r, i = e.MutationObserver || e.WebKitMutationObserver; if (i) { var o = 0 , a = new i(c) , s = e.document.createTextNode(""); a.observe(s, { characterData: !0 }), n = function() { s.data = o = ++o % 2 } } else if (e.setImmediate || void 0 === e.MessageChannel) n = "document"in e && "onreadystatechange"in e.document.createElement("script") ? function() { var t = e.document.createElement("script"); t.onreadystatechange = function() { c(), t.onreadystatechange = null, t.parentNode.removeChild(t), t = null } , e.document.documentElement.appendChild(t) } : function() { setTimeout(c, 0) } ; else { var l = new e.MessageChannel; l.port1.onmessage = c, n = function() { l.port2.postMessage(0) } } var u = []; function c() { var e, t; r = !0; for (var n = u.length; n; ) { for (t = u, u = [], e = -1; ++e < n; ) t[e](); n = u.length } r = !1 } t.exports = function(e) { 1 !== u.push(e) || r || n() } } ).call(this, void 0 !== n ? n : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) } , {}], 37: [function(e, t, n) { "use strict"; var r = e("immediate"); function i() {} var o = {} , a = ["REJECTED"] , s = ["FULFILLED"] , l = ["PENDING"]; function u(e) { if ("function" != typeof e) throw new TypeError("resolver must be a function"); this.state = l, this.queue = [], this.outcome = void 0, e !== i && h(this, e) } function c(e, t, n) { this.promise = e, "function" == typeof t && (this.onFulfilled = t, this.callFulfilled = this.otherCallFulfilled), "function" == typeof n && (this.onRejected = n, this.callRejected = this.otherCallRejected) } function d(e, t, n) { r((function() { var r; try { r = t(n) } catch (r) { return o.reject(e, r) } r === e ? o.reject(e, new TypeError("Cannot resolve promise with itself")) : o.resolve(e, r) } )) } function f(e) { var t = e && e.then; if (e && ("object" == typeof e || "function" == typeof e) && "function" == typeof t) return function() { t.apply(e, arguments) } } function h(e, t) { var n = !1; function r(t) { n || (n = !0, o.reject(e, t)) } function i(t) { n || (n = !0, o.resolve(e, t)) } var a = p((function() { t(i, r) } )); "error" === a.status && r(a.value) } function p(e, t) { var n = {}; try { n.value = e(t), n.status = "success" } catch (e) { n.status = "error", n.value = e } return n } (t.exports = u).prototype.finally = function(e) { if ("function" != typeof e) return this; var t = this.constructor; return this.then((function(n) { return t.resolve(e()).then((function() { return n } )) } ), (function(n) { return t.resolve(e()).then((function() { throw n } )) } )) } , u.prototype.catch = function(e) { return this.then(null, e) } , u.prototype.then = function(e, t) { if ("function" != typeof e && this.state === s || "function" != typeof t && this.state === a) return this; var n = new this.constructor(i); return this.state !== l ? d(n, this.state === s ? e : t, this.outcome) : this.queue.push(new c(n,e,t)), n } , c.prototype.callFulfilled = function(e) { o.resolve(this.promise, e) } , c.prototype.otherCallFulfilled = function(e) { d(this.promise, this.onFulfilled, e) } , c.prototype.callRejected = function(e) { o.reject(this.promise, e) } , c.prototype.otherCallRejected = function(e) { d(this.promise, this.onRejected, e) } , o.resolve = function(e, t) { var n = p(f, t); if ("error" === n.status) return o.reject(e, n.value); var r = n.value; if (r) h(e, r); else { e.state = s, e.outcome = t; for (var i = -1, a = e.queue.length; ++i < a; ) e.queue[i].callFulfilled(t) } return e } , o.reject = function(e, t) { e.state = a, e.outcome = t; for (var n = -1, r = e.queue.length; ++n < r; ) e.queue[n].callRejected(t); return e } , u.resolve = function(e) { return e instanceof this ? e : o.resolve(new this(i), e) } , u.reject = function(e) { var t = new this(i); return o.reject(t, e) } , u.all = function(e) { var t = this; if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array")); var n = e.length , r = !1; if (!n) return this.resolve([]); for (var a = new Array(n), s = 0, l = -1, u = new this(i); ++l < n; ) c(e[l], l); return u; function c(e, i) { t.resolve(e).then((function(e) { a[i] = e, ++s !== n || r || (r = !0, o.resolve(u, a)) } ), (function(e) { r || (r = !0, o.reject(u, e)) } )) } } , u.race = function(e) { if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array")); var t = e.length , n = !1; if (!t) return this.resolve([]); for (var r, a = -1, s = new this(i); ++a < t; ) r = e[a], this.resolve(r).then((function(e) { n || (n = !0, o.resolve(s, e)) } ), (function(e) { n || (n = !0, o.reject(s, e)) } )); return s } } , { immediate: 36 }], 38: [function(e, t, n) { "use strict"; var r = {}; (0, e("./lib/utils/common").assign)(r, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), t.exports = r } , { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(e, t, n) { "use strict"; var r = e("./zlib/deflate") , i = e("./utils/common") , o = e("./utils/strings") , a = e("./zlib/messages") , s = e("./zlib/zstream") , l = Object.prototype.toString; function u(e) { if (!(this instanceof u)) return new u(e); this.options = i.assign({ level: -1, method: 8, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: 0, to: "" }, e || {}); var t = this.options; t.raw && 0 < t.windowBits ? t.windowBits = -t.windowBits : t.gzip && 0 < t.windowBits && t.windowBits < 16 && (t.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new s, this.strm.avail_out = 0; var n = r.deflateInit2(this.strm, t.level, t.method, t.windowBits, t.memLevel, t.strategy); if (0 !== n) throw new Error(a[n]); if (t.header && r.deflateSetHeader(this.strm, t.header), t.dictionary) { var c; if (c = "string" == typeof t.dictionary ? o.string2buf(t.dictionary) : "[object ArrayBuffer]" === l.call(t.dictionary) ? new Uint8Array(t.dictionary) : t.dictionary, 0 !== (n = r.deflateSetDictionary(this.strm, c))) throw new Error(a[n]); this._dict_set = !0 } } function c(e, t) { var n = new u(t); if (n.push(e, !0), n.err) throw n.msg || a[n.err]; return n.result } u.prototype.push = function(e, t) { var n, a, s = this.strm, u = this.options.chunkSize; if (this.ended) return !1; a = t === ~~t ? t : !0 === t ? 4 : 0, "string" == typeof e ? s.input = o.string2buf(e) : "[object ArrayBuffer]" === l.call(e) ? s.input = new Uint8Array(e) : s.input = e, s.next_in = 0, s.avail_in = s.input.length; do { if (0 === s.avail_out && (s.output = new i.Buf8(u), s.next_out = 0, s.avail_out = u), 1 !== (n = r.deflate(s, a)) && 0 !== n) return this.onEnd(n), !(this.ended = !0); 0 !== s.avail_out && (0 !== s.avail_in || 4 !== a && 2 !== a) || ("string" === this.options.to ? this.onData(o.buf2binstring(i.shrinkBuf(s.output, s.next_out))) : this.onData(i.shrinkBuf(s.output, s.next_out))) } while ((0 < s.avail_in || 0 === s.avail_out) && 1 !== n); return 4 === a ? (n = r.deflateEnd(this.strm), this.onEnd(n), this.ended = !0, 0 === n) : 2 !== a || (this.onEnd(0), !(s.avail_out = 0)) } , u.prototype.onData = function(e) { this.chunks.push(e) } , u.prototype.onEnd = function(e) { 0 === e && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg } , n.Deflate = u, n.deflate = c, n.deflateRaw = function(e, t) { return (t = t || {}).raw = !0, c(e, t) } , n.gzip = function(e, t) { return (t = t || {}).gzip = !0, c(e, t) } } , { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(e, t, n) { "use strict"; var r = e("./zlib/inflate") , i = e("./utils/common") , o = e("./utils/strings") , a = e("./zlib/constants") , s = e("./zlib/messages") , l = e("./zlib/zstream") , u = e("./zlib/gzheader") , c = Object.prototype.toString; function d(e) { if (!(this instanceof d)) return new d(e); this.options = i.assign({ chunkSize: 16384, windowBits: 0, to: "" }, e || {}); var t = this.options; t.raw && 0 <= t.windowBits && t.windowBits < 16 && (t.windowBits = -t.windowBits, 0 === t.windowBits && (t.windowBits = -15)), !(0 <= t.windowBits && t.windowBits < 16) || e && e.windowBits || (t.windowBits += 32), 15 < t.windowBits && t.windowBits < 48 && 0 == (15 & t.windowBits) && (t.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new l, this.strm.avail_out = 0; var n = r.inflateInit2(this.strm, t.windowBits); if (n !== a.Z_OK) throw new Error(s[n]); this.header = new u, r.inflateGetHeader(this.strm, this.header) } function f(e, t) { var n = new d(t); if (n.push(e, !0), n.err) throw n.msg || s[n.err]; return n.result } d.prototype.push = function(e, t) { var n, s, l, u, d, f, h = this.strm, p = this.options.chunkSize, g = this.options.dictionary, m = !1; if (this.ended) return !1; s = t === ~~t ? t : !0 === t ? a.Z_FINISH : a.Z_NO_FLUSH, "string" == typeof e ? h.input = o.binstring2buf(e) : "[object ArrayBuffer]" === c.call(e) ? h.input = new Uint8Array(e) : h.input = e, h.next_in = 0, h.avail_in = h.input.length; do { if (0 === h.avail_out && (h.output = new i.Buf8(p), h.next_out = 0, h.avail_out = p), (n = r.inflate(h, a.Z_NO_FLUSH)) === a.Z_NEED_DICT && g && (f = "string" == typeof g ? o.string2buf(g) : "[object ArrayBuffer]" === c.call(g) ? new Uint8Array(g) : g, n = r.inflateSetDictionary(this.strm, f)), n === a.Z_BUF_ERROR && !0 === m && (n = a.Z_OK, m = !1), n !== a.Z_STREAM_END && n !== a.Z_OK) return this.onEnd(n), !(this.ended = !0); h.next_out && (0 !== h.avail_out && n !== a.Z_STREAM_END && (0 !== h.avail_in || s !== a.Z_FINISH && s !== a.Z_SYNC_FLUSH) || ("string" === this.options.to ? (l = o.utf8border(h.output, h.next_out), u = h.next_out - l, d = o.buf2string(h.output, l), h.next_out = u, h.avail_out = p - u, u && i.arraySet(h.output, h.output, l, u, 0), this.onData(d)) : this.onData(i.shrinkBuf(h.output, h.next_out)))), 0 === h.avail_in && 0 === h.avail_out && (m = !0) } while ((0 < h.avail_in || 0 === h.avail_out) && n !== a.Z_STREAM_END); return n === a.Z_STREAM_END && (s = a.Z_FINISH), s === a.Z_FINISH ? (n = r.inflateEnd(this.strm), this.onEnd(n), this.ended = !0, n === a.Z_OK) : s !== a.Z_SYNC_FLUSH || (this.onEnd(a.Z_OK), !(h.avail_out = 0)) } , d.prototype.onData = function(e) { this.chunks.push(e) } , d.prototype.onEnd = function(e) { e === a.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg } , n.Inflate = d, n.inflate = f, n.inflateRaw = function(e, t) { return (t = t || {}).raw = !0, f(e, t) } , n.ungzip = f } , { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(e, t, n) { "use strict"; var r = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array; n.assign = function(e) { for (var t = Array.prototype.slice.call(arguments, 1); t.length; ) { var n = t.shift(); if (n) { if ("object" != typeof n) throw new TypeError(n + "must be non-object"); for (var r in n) n.hasOwnProperty(r) && (e[r] = n[r]) } } return e } , n.shrinkBuf = function(e, t) { return e.length === t ? e : e.subarray ? e.subarray(0, t) : (e.length = t, e) } ; var i = { arraySet: function(e, t, n, r, i) { if (t.subarray && e.subarray) e.set(t.subarray(n, n + r), i); else for (var o = 0; o < r; o++) e[i + o] = t[n + o] }, flattenChunks: function(e) { var t, n, r, i, o, a; for (t = r = 0, n = e.length; t < n; t++) r += e[t].length; for (a = new Uint8Array(r), t = i = 0, n = e.length; t < n; t++) o = e[t], a.set(o, i), i += o.length; return a } } , o = { arraySet: function(e, t, n, r, i) { for (var o = 0; o < r; o++) e[i + o] = t[n + o] }, flattenChunks: function(e) { return [].concat.apply([], e) } }; n.setTyped = function(e) { e ? (n.Buf8 = Uint8Array, n.Buf16 = Uint16Array, n.Buf32 = Int32Array, n.assign(n, i)) : (n.Buf8 = Array, n.Buf16 = Array, n.Buf32 = Array, n.assign(n, o)) } , n.setTyped(r) } , {}], 42: [function(e, t, n) { "use strict"; var r = e("./common") , i = !0 , o = !0; try { String.fromCharCode.apply(null, [0]) } catch (e) { i = !1 } try { String.fromCharCode.apply(null, new Uint8Array(1)) } catch (e) { o = !1 } for (var a = new r.Buf8(256), s = 0; s < 256; s++) a[s] = 252 <= s ? 6 : 248 <= s ? 5 : 240 <= s ? 4 : 224 <= s ? 3 : 192 <= s ? 2 : 1; function l(e, t) { if (t < 65537 && (e.subarray && o || !e.subarray && i)) return String.fromCharCode.apply(null, r.shrinkBuf(e, t)); for (var n = "", a = 0; a < t; a++) n += String.fromCharCode(e[a]); return n } a[254] = a[254] = 1, n.string2buf = function(e) { var t, n, i, o, a, s = e.length, l = 0; for (o = 0; o < s; o++) 55296 == (64512 & (n = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (i = e.charCodeAt(o + 1))) && (n = 65536 + (n - 55296 << 10) + (i - 56320), o++), l += n < 128 ? 1 : n < 2048 ? 2 : n < 65536 ? 3 : 4; for (t = new r.Buf8(l), o = a = 0; a < l; o++) 55296 == (64512 & (n = e.charCodeAt(o))) && o + 1 < s && 56320 == (64512 & (i = e.charCodeAt(o + 1))) && (n = 65536 + (n - 55296 << 10) + (i - 56320), o++), n < 128 ? t[a++] = n : (n < 2048 ? t[a++] = 192 | n >>> 6 : (n < 65536 ? t[a++] = 224 | n >>> 12 : (t[a++] = 240 | n >>> 18, t[a++] = 128 | n >>> 12 & 63), t[a++] = 128 | n >>> 6 & 63), t[a++] = 128 | 63 & n); return t } , n.buf2binstring = function(e) { return l(e, e.length) } , n.binstring2buf = function(e) { for (var t = new r.Buf8(e.length), n = 0, i = t.length; n < i; n++) t[n] = e.charCodeAt(n); return t } , n.buf2string = function(e, t) { var n, r, i, o, s = t || e.length, u = new Array(2 * s); for (n = r = 0; n < s; ) if ((i = e[n++]) < 128) u[r++] = i; else if (4 < (o = a[i])) u[r++] = 65533, n += o - 1; else { for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && n < s; ) i = i << 6 | 63 & e[n++], o--; 1 < o ? u[r++] = 65533 : i < 65536 ? u[r++] = i : (i -= 65536, u[r++] = 55296 | i >> 10 & 1023, u[r++] = 56320 | 1023 & i) } return l(u, r) } , n.utf8border = function(e, t) { var n; for ((t = t || e.length) > e.length && (t = e.length), n = t - 1; 0 <= n && 128 == (192 & e[n]); ) n--; return n < 0 || 0 === n ? t : n + a[e[n]] > t ? n : t } } , { "./common": 41 }], 43: [function(e, t, n) { "use strict"; t.exports = function(e, t, n, r) { for (var i = 65535 & e | 0, o = e >>> 16 & 65535 | 0, a = 0; 0 !== n; ) { for (n -= a = 2e3 < n ? 2e3 : n; o = o + (i = i + t[r++] | 0) | 0, --a; ) ; i %= 65521, o %= 65521 } return i | o << 16 | 0 } } , {}], 44: [function(e, t, n) { "use strict"; t.exports = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 } } , {}], 45: [function(e, t, n) { "use strict"; var r = function() { for (var e, t = [], n = 0; n < 256; n++) { e = n; for (var r = 0; r < 8; r++) e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1; t[n] = e } return t }(); t.exports = function(e, t, n, i) { var o = r , a = i + n; e ^= -1; for (var s = i; s < a; s++) e = e >>> 8 ^ o[255 & (e ^ t[s])]; return -1 ^ e } } , {}], 46: [function(e, t, n) { "use strict"; var r, i = e("../utils/common"), o = e("./trees"), a = e("./adler32"), s = e("./crc32"), l = e("./messages"), u = -2, c = 258, d = 262, f = 113; function h(e, t) { return e.msg = l[t], t } function p(e) { return (e << 1) - (4 < e ? 9 : 0) } function g(e) { for (var t = e.length; 0 <= --t; ) e[t] = 0 } function m(e) { var t = e.state , n = t.pending; n > e.avail_out && (n = e.avail_out), 0 !== n && (i.arraySet(e.output, t.pending_buf, t.pending_out, n, e.next_out), e.next_out += n, t.pending_out += n, e.total_out += n, e.avail_out -= n, t.pending -= n, 0 === t.pending && (t.pending_out = 0)) } function v(e, t) { o._tr_flush_block(e, 0 <= e.block_start ? e.block_start : -1, e.strstart - e.block_start, t), e.block_start = e.strstart, m(e.strm) } function y(e, t) { e.pending_buf[e.pending++] = t } function b(e, t) { e.pending_buf[e.pending++] = t >>> 8 & 255, e.pending_buf[e.pending++] = 255 & t } function _(e, t) { var n, r, i = e.max_chain_length, o = e.strstart, a = e.prev_length, s = e.nice_match, l = e.strstart > e.w_size - d ? e.strstart - (e.w_size - d) : 0, u = e.window, f = e.w_mask, h = e.prev, p = e.strstart + c, g = u[o + a - 1], m = u[o + a]; e.prev_length >= e.good_match && (i >>= 2), s > e.lookahead && (s = e.lookahead); do { if (u[(n = t) + a] === m && u[n + a - 1] === g && u[n] === u[o] && u[++n] === u[o + 1]) { o += 2, n++; do {} while (u[++o] === u[++n] && u[++o] === u[++n] && u[++o] === u[++n] && u[++o] === u[++n] && u[++o] === u[++n] && u[++o] === u[++n] && u[++o] === u[++n] && u[++o] === u[++n] && o < p); if (r = c - (p - o), o = p - c, a < r) { if (e.match_start = t, s <= (a = r)) break; g = u[o + a - 1], m = u[o + a] } } } while ((t = h[t & f]) > l && 0 != --i); return a <= e.lookahead ? a : e.lookahead } function w(e) { var t, n, r, o, l, u, c, f, h, p, g = e.w_size; do { if (o = e.window_size - e.lookahead - e.strstart, e.strstart >= g + (g - d)) { for (i.arraySet(e.window, e.window, g, g, 0), e.match_start -= g, e.strstart -= g, e.block_start -= g, t = n = e.hash_size; r = e.head[--t], e.head[t] = g <= r ? r - g : 0, --n; ) ; for (t = n = g; r = e.prev[--t], e.prev[t] = g <= r ? r - g : 0, --n; ) ; o += g } if (0 === e.strm.avail_in) break; if (u = e.strm, c = e.window, f = e.strstart + e.lookahead, p = void 0, (h = o) < (p = u.avail_in) && (p = h), n = 0 === p ? 0 : (u.avail_in -= p, i.arraySet(c, u.input, u.next_in, p, f), 1 === u.state.wrap ? u.adler = a(u.adler, c, p, f) : 2 === u.state.wrap && (u.adler = s(u.adler, c, p, f)), u.next_in += p, u.total_in += p, p), e.lookahead += n, e.lookahead + e.insert >= 3) for (l = e.strstart - e.insert, e.ins_h = e.window[l], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[l + 1]) & e.hash_mask; e.insert && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[l + 3 - 1]) & e.hash_mask, e.prev[l & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = l, l++, e.insert--, !(e.lookahead + e.insert < 3)); ) ; } while (e.lookahead < d && 0 !== e.strm.avail_in) } function S(e, t) { for (var n, r; ; ) { if (e.lookahead < d) { if (w(e), e.lookahead < d && 0 === t) return 1; if (0 === e.lookahead) break } if (n = 0, e.lookahead >= 3 && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 3 - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), 0 !== n && e.strstart - n <= e.w_size - d && (e.match_length = _(e, n)), e.match_length >= 3) if (r = o._tr_tally(e, e.strstart - e.match_start, e.match_length - 3), e.lookahead -= e.match_length, e.match_length <= e.max_lazy_match && e.lookahead >= 3) { for (e.match_length--; e.strstart++, e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 3 - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart, 0 != --e.match_length; ) ; e.strstart++ } else e.strstart += e.match_length, e.match_length = 0, e.ins_h = e.window[e.strstart], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 1]) & e.hash_mask; else r = o._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++; if (r && (v(e, !1), 0 === e.strm.avail_out)) return 1 } return e.insert = e.strstart < 2 ? e.strstart : 2, 4 === t ? (v(e, !0), 0 === e.strm.avail_out ? 3 : 4) : e.last_lit && (v(e, !1), 0 === e.strm.avail_out) ? 1 : 2 } function x(e, t) { for (var n, r, i; ; ) { if (e.lookahead < d) { if (w(e), e.lookahead < d && 0 === t) return 1; if (0 === e.lookahead) break } if (n = 0, e.lookahead >= 3 && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 3 - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), e.prev_length = e.match_length, e.prev_match = e.match_start, e.match_length = 2, 0 !== n && e.prev_length < e.max_lazy_match && e.strstart - n <= e.w_size - d && (e.match_length = _(e, n), e.match_length <= 5 && (1 === e.strategy || 3 === e.match_length && 4096 < e.strstart - e.match_start) && (e.match_length = 2)), e.prev_length >= 3 && e.match_length <= e.prev_length) { for (i = e.strstart + e.lookahead - 3, r = o._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - 3), e.lookahead -= e.prev_length - 1, e.prev_length -= 2; ++e.strstart <= i && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 3 - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), 0 != --e.prev_length; ) ; if (e.match_available = 0, e.match_length = 2, e.strstart++, r && (v(e, !1), 0 === e.strm.avail_out)) return 1 } else if (e.match_available) { if ((r = o._tr_tally(e, 0, e.window[e.strstart - 1])) && v(e, !1), e.strstart++, e.lookahead--, 0 === e.strm.avail_out) return 1 } else e.match_available = 1, e.strstart++, e.lookahead-- } return e.match_available && (r = o._tr_tally(e, 0, e.window[e.strstart - 1]), e.match_available = 0), e.insert = e.strstart < 2 ? e.strstart : 2, 4 === t ? (v(e, !0), 0 === e.strm.avail_out ? 3 : 4) : e.last_lit && (v(e, !1), 0 === e.strm.avail_out) ? 1 : 2 } function k(e, t, n, r, i) { this.good_length = e, this.max_lazy = t, this.nice_length = n, this.max_chain = r, this.func = i } function I() { this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = 8, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new i.Buf16(1146), this.dyn_dtree = new i.Buf16(122), this.bl_tree = new i.Buf16(78), g(this.dyn_ltree), g(this.dyn_dtree), g(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new i.Buf16(16), this.heap = new i.Buf16(573), g(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new i.Buf16(573), g(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0 } function C(e) { var t; return e && e.state ? (e.total_in = e.total_out = 0, e.data_type = 2, (t = e.state).pending = 0, t.pending_out = 0, t.wrap < 0 && (t.wrap = -t.wrap), t.status = t.wrap ? 42 : f, e.adler = 2 === t.wrap ? 0 : 1, t.last_flush = 0, o._tr_init(t), 0) : h(e, u) } function M(e) { var t = C(e); return 0 === t && function(e) { e.window_size = 2 * e.w_size, g(e.head), e.max_lazy_match = r[e.level].max_lazy, e.good_match = r[e.level].good_length, e.nice_match = r[e.level].nice_length, e.max_chain_length = r[e.level].max_chain, e.strstart = 0, e.block_start = 0, e.lookahead = 0, e.insert = 0, e.match_length = e.prev_length = 2, e.match_available = 0, e.ins_h = 0 }(e.state), t } function T(e, t, n, r, o, a) { if (!e) return u; var s = 1; if (-1 === t && (t = 6), r < 0 ? (s = 0, r = -r) : 15 < r && (s = 2, r -= 16), o < 1 || 9 < o || 8 !== n || r < 8 || 15 < r || t < 0 || 9 < t || a < 0 || 4 < a) return h(e, u); 8 === r && (r = 9); var l = new I; return (e.state = l).strm = e, l.wrap = s, l.gzhead = null, l.w_bits = r, l.w_size = 1 << l.w_bits, l.w_mask = l.w_size - 1, l.hash_bits = o + 7, l.hash_size = 1 << l.hash_bits, l.hash_mask = l.hash_size - 1, l.hash_shift = ~~((l.hash_bits + 3 - 1) / 3), l.window = new i.Buf8(2 * l.w_size), l.head = new i.Buf16(l.hash_size), l.prev = new i.Buf16(l.w_size), l.lit_bufsize = 1 << o + 6, l.pending_buf_size = 4 * l.lit_bufsize, l.pending_buf = new i.Buf8(l.pending_buf_size), l.d_buf = 1 * l.lit_bufsize, l.l_buf = 3 * l.lit_bufsize, l.level = t, l.strategy = a, l.method = n, M(e) } r = [new k(0,0,0,0,(function(e, t) { var n = 65535; for (n > e.pending_buf_size - 5 && (n = e.pending_buf_size - 5); ; ) { if (e.lookahead <= 1) { if (w(e), 0 === e.lookahead && 0 === t) return 1; if (0 === e.lookahead) break } e.strstart += e.lookahead, e.lookahead = 0; var r = e.block_start + n; if ((0 === e.strstart || e.strstart >= r) && (e.lookahead = e.strstart - r, e.strstart = r, v(e, !1), 0 === e.strm.avail_out)) return 1; if (e.strstart - e.block_start >= e.w_size - d && (v(e, !1), 0 === e.strm.avail_out)) return 1 } return e.insert = 0, 4 === t ? (v(e, !0), 0 === e.strm.avail_out ? 3 : 4) : (e.strstart > e.block_start && (v(e, !1), e.strm.avail_out), 1) } )), new k(4,4,8,4,S), new k(4,5,16,8,S), new k(4,6,32,32,S), new k(4,4,16,16,x), new k(8,16,32,32,x), new k(8,16,128,128,x), new k(8,32,128,256,x), new k(32,128,258,1024,x), new k(32,258,258,4096,x)], n.deflateInit = function(e, t) { return T(e, t, 8, 15, 8, 0) } , n.deflateInit2 = T, n.deflateReset = M, n.deflateResetKeep = C, n.deflateSetHeader = function(e, t) { return e && e.state ? 2 !== e.state.wrap ? u : (e.state.gzhead = t, 0) : u } , n.deflate = function(e, t) { var n, i, a, l; if (!e || !e.state || 5 < t || t < 0) return e ? h(e, u) : u; if (i = e.state, !e.output || !e.input && 0 !== e.avail_in || 666 === i.status && 4 !== t) return h(e, 0 === e.avail_out ? -5 : u); if (i.strm = e, n = i.last_flush, i.last_flush = t, 42 === i.status) if (2 === i.wrap) e.adler = 0, y(i, 31), y(i, 139), y(i, 8), i.gzhead ? (y(i, (i.gzhead.text ? 1 : 0) + (i.gzhead.hcrc ? 2 : 0) + (i.gzhead.extra ? 4 : 0) + (i.gzhead.name ? 8 : 0) + (i.gzhead.comment ? 16 : 0)), y(i, 255 & i.gzhead.time), y(i, i.gzhead.time >> 8 & 255), y(i, i.gzhead.time >> 16 & 255), y(i, i.gzhead.time >> 24 & 255), y(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), y(i, 255 & i.gzhead.os), i.gzhead.extra && i.gzhead.extra.length && (y(i, 255 & i.gzhead.extra.length), y(i, i.gzhead.extra.length >> 8 & 255)), i.gzhead.hcrc && (e.adler = s(e.adler, i.pending_buf, i.pending, 0)), i.gzindex = 0, i.status = 69) : (y(i, 0), y(i, 0), y(i, 0), y(i, 0), y(i, 0), y(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), y(i, 3), i.status = f); else { var d = 8 + (i.w_bits - 8 << 4) << 8; d |= (2 <= i.strategy || i.level < 2 ? 0 : i.level < 6 ? 1 : 6 === i.level ? 2 : 3) << 6, 0 !== i.strstart && (d |= 32), d += 31 - d % 31, i.status = f, b(i, d), 0 !== i.strstart && (b(i, e.adler >>> 16), b(i, 65535 & e.adler)), e.adler = 1 } if (69 === i.status) if (i.gzhead.extra) { for (a = i.pending; i.gzindex < (65535 & i.gzhead.extra.length) && (i.pending !== i.pending_buf_size || (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), m(e), a = i.pending, i.pending !== i.pending_buf_size)); ) y(i, 255 & i.gzhead.extra[i.gzindex]), i.gzindex++; i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), i.gzindex === i.gzhead.extra.length && (i.gzindex = 0, i.status = 73) } else i.status = 73; if (73 === i.status) if (i.gzhead.name) { a = i.pending; do { if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), m(e), a = i.pending, i.pending === i.pending_buf_size)) { l = 1; break } l = i.gzindex < i.gzhead.name.length ? 255 & i.gzhead.name.charCodeAt(i.gzindex++) : 0, y(i, l) } while (0 !== l); i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), 0 === l && (i.gzindex = 0, i.status = 91) } else i.status = 91; if (91 === i.status) if (i.gzhead.comment) { a = i.pending; do { if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), m(e), a = i.pending, i.pending === i.pending_buf_size)) { l = 1; break } l = i.gzindex < i.gzhead.comment.length ? 255 & i.gzhead.comment.charCodeAt(i.gzindex++) : 0, y(i, l) } while (0 !== l); i.gzhead.hcrc && i.pending > a && (e.adler = s(e.adler, i.pending_buf, i.pending - a, a)), 0 === l && (i.status = 103) } else i.status = 103; if (103 === i.status && (i.gzhead.hcrc ? (i.pending + 2 > i.pending_buf_size && m(e), i.pending + 2 <= i.pending_buf_size && (y(i, 255 & e.adler), y(i, e.adler >> 8 & 255), e.adler = 0, i.status = f)) : i.status = f), 0 !== i.pending) { if (m(e), 0 === e.avail_out) return i.last_flush = -1, 0 } else if (0 === e.avail_in && p(t) <= p(n) && 4 !== t) return h(e, -5); if (666 === i.status && 0 !== e.avail_in) return h(e, -5); if (0 !== e.avail_in || 0 !== i.lookahead || 0 !== t && 666 !== i.status) { var _ = 2 === i.strategy ? function(e, t) { for (var n; ; ) { if (0 === e.lookahead && (w(e), 0 === e.lookahead)) { if (0 === t) return 1; break } if (e.match_length = 0, n = o._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++, n && (v(e, !1), 0 === e.strm.avail_out)) return 1 } return e.insert = 0, 4 === t ? (v(e, !0), 0 === e.strm.avail_out ? 3 : 4) : e.last_lit && (v(e, !1), 0 === e.strm.avail_out) ? 1 : 2 }(i, t) : 3 === i.strategy ? function(e, t) { for (var n, r, i, a, s = e.window; ; ) { if (e.lookahead <= c) { if (w(e), e.lookahead <= c && 0 === t) return 1; if (0 === e.lookahead) break } if (e.match_length = 0, e.lookahead >= 3 && 0 < e.strstart && (r = s[i = e.strstart - 1]) === s[++i] && r === s[++i] && r === s[++i]) { a = e.strstart + c; do {} while (r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && i < a); e.match_length = c - (a - i), e.match_length > e.lookahead && (e.match_length = e.lookahead) } if (e.match_length >= 3 ? (n = o._tr_tally(e, 1, e.match_length - 3), e.lookahead -= e.match_length, e.strstart += e.match_length, e.match_length = 0) : (n = o._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++), n && (v(e, !1), 0 === e.strm.avail_out)) return 1 } return e.insert = 0, 4 === t ? (v(e, !0), 0 === e.strm.avail_out ? 3 : 4) : e.last_lit && (v(e, !1), 0 === e.strm.avail_out) ? 1 : 2 }(i, t) : r[i.level].func(i, t); if (3 !== _ && 4 !== _ || (i.status = 666), 1 === _ || 3 === _) return 0 === e.avail_out && (i.last_flush = -1), 0; if (2 === _ && (1 === t ? o._tr_align(i) : 5 !== t && (o._tr_stored_block(i, 0, 0, !1), 3 === t && (g(i.head), 0 === i.lookahead && (i.strstart = 0, i.block_start = 0, i.insert = 0))), m(e), 0 === e.avail_out)) return i.last_flush = -1, 0 } return 4 !== t ? 0 : i.wrap <= 0 ? 1 : (2 === i.wrap ? (y(i, 255 & e.adler), y(i, e.adler >> 8 & 255), y(i, e.adler >> 16 & 255), y(i, e.adler >> 24 & 255), y(i, 255 & e.total_in), y(i, e.total_in >> 8 & 255), y(i, e.total_in >> 16 & 255), y(i, e.total_in >> 24 & 255)) : (b(i, e.adler >>> 16), b(i, 65535 & e.adler)), m(e), 0 < i.wrap && (i.wrap = -i.wrap), 0 !== i.pending ? 0 : 1) } , n.deflateEnd = function(e) { var t; return e && e.state ? 42 !== (t = e.state.status) && 69 !== t && 73 !== t && 91 !== t && 103 !== t && t !== f && 666 !== t ? h(e, u) : (e.state = null, t === f ? h(e, -3) : 0) : u } , n.deflateSetDictionary = function(e, t) { var n, r, o, s, l, c, d, f, h = t.length; if (!e || !e.state) return u; if (2 === (s = (n = e.state).wrap) || 1 === s && 42 !== n.status || n.lookahead) return u; for (1 === s && (e.adler = a(e.adler, t, h, 0)), n.wrap = 0, h >= n.w_size && (0 === s && (g(n.head), n.strstart = 0, n.block_start = 0, n.insert = 0), f = new i.Buf8(n.w_size), i.arraySet(f, t, h - n.w_size, n.w_size, 0), t = f, h = n.w_size), l = e.avail_in, c = e.next_in, d = e.input, e.avail_in = h, e.next_in = 0, e.input = t, w(n); n.lookahead >= 3; ) { for (r = n.strstart, o = n.lookahead - 2; n.ins_h = (n.ins_h << n.hash_shift ^ n.window[r + 3 - 1]) & n.hash_mask, n.prev[r & n.w_mask] = n.head[n.ins_h], n.head[n.ins_h] = r, r++, --o; ) ; n.strstart = r, n.lookahead = 2, w(n) } return n.strstart += n.lookahead, n.block_start = n.strstart, n.insert = n.lookahead, n.lookahead = 0, n.match_length = n.prev_length = 2, n.match_available = 0, e.next_in = c, e.input = d, e.avail_in = l, n.wrap = s, 0 } , n.deflateInfo = "pako deflate (from Nodeca project)" } , { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(e, t, n) { "use strict"; t.exports = function() { this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1 } } , {}], 48: [function(e, t, n) { "use strict"; t.exports = function(e, t) { var n, r, i, o, a, s, l, u, c, d, f, h, p, g, m, v, y, b, _, w, S, x, k, I, C; n = e.state, r = e.next_in, I = e.input, i = r + (e.avail_in - 5), o = e.next_out, C = e.output, a = o - (t - e.avail_out), s = o + (e.avail_out - 257), l = n.dmax, u = n.wsize, c = n.whave, d = n.wnext, f = n.window, h = n.hold, p = n.bits, g = n.lencode, m = n.distcode, v = (1 << n.lenbits) - 1, y = (1 << n.distbits) - 1; e: do { p < 15 && (h += I[r++] << p, p += 8, h += I[r++] << p, p += 8), b = g[h & v]; t: for (; ; ) { if (h >>>= _ = b >>> 24, p -= _, 0 == (_ = b >>> 16 & 255)) C[o++] = 65535 & b; else { if (!(16 & _)) { if (0 == (64 & _)) { b = g[(65535 & b) + (h & (1 << _) - 1)]; continue t } if (32 & _) { n.mode = 12; break e } e.msg = "invalid literal/length code", n.mode = 30; break e } w = 65535 & b, (_ &= 15) && (p < _ && (h += I[r++] << p, p += 8), w += h & (1 << _) - 1, h >>>= _, p -= _), p < 15 && (h += I[r++] << p, p += 8, h += I[r++] << p, p += 8), b = m[h & y]; n: for (; ; ) { if (h >>>= _ = b >>> 24, p -= _, !(16 & (_ = b >>> 16 & 255))) { if (0 == (64 & _)) { b = m[(65535 & b) + (h & (1 << _) - 1)]; continue n } e.msg = "invalid distance code", n.mode = 30; break e } if (S = 65535 & b, p < (_ &= 15) && (h += I[r++] << p, (p += 8) < _ && (h += I[r++] << p, p += 8)), l < (S += h & (1 << _) - 1)) { e.msg = "invalid distance too far back", n.mode = 30; break e } if (h >>>= _, p -= _, (_ = o - a) < S) { if (c < (_ = S - _) && n.sane) { e.msg = "invalid distance too far back", n.mode = 30; break e } if (k = f, (x = 0) === d) { if (x += u - _, _ < w) { for (w -= _; C[o++] = f[x++], --_; ) ; x = o - S, k = C } } else if (d < _) { if (x += u + d - _, (_ -= d) < w) { for (w -= _; C[o++] = f[x++], --_; ) ; if (x = 0, d < w) { for (w -= _ = d; C[o++] = f[x++], --_; ) ; x = o - S, k = C } } } else if (x += d - _, _ < w) { for (w -= _; C[o++] = f[x++], --_; ) ; x = o - S, k = C } for (; 2 < w; ) C[o++] = k[x++], C[o++] = k[x++], C[o++] = k[x++], w -= 3; w && (C[o++] = k[x++], 1 < w && (C[o++] = k[x++])) } else { for (x = o - S; C[o++] = C[x++], C[o++] = C[x++], C[o++] = C[x++], 2 < (w -= 3); ) ; w && (C[o++] = C[x++], 1 < w && (C[o++] = C[x++])) } break } } break } } while (r < i && o < s); r -= w = p >> 3, h &= (1 << (p -= w << 3)) - 1, e.next_in = r, e.next_out = o, e.avail_in = r < i ? i - r + 5 : 5 - (r - i), e.avail_out = o < s ? s - o + 257 : 257 - (o - s), n.hold = h, n.bits = p } } , {}], 49: [function(e, t, n) { "use strict"; var r = e("../utils/common") , i = e("./adler32") , o = e("./crc32") , a = e("./inffast") , s = e("./inftrees") , l = -2; function u(e) { return (e >>> 24 & 255) + (e >>> 8 & 65280) + ((65280 & e) << 8) + ((255 & e) << 24) } function c() { this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new r.Buf16(320), this.work = new r.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0 } function d(e) { var t; return e && e.state ? (t = e.state, e.total_in = e.total_out = t.total = 0, e.msg = "", t.wrap && (e.adler = 1 & t.wrap), t.mode = 1, t.last = 0, t.havedict = 0, t.dmax = 32768, t.head = null, t.hold = 0, t.bits = 0, t.lencode = t.lendyn = new r.Buf32(852), t.distcode = t.distdyn = new r.Buf32(592), t.sane = 1, t.back = -1, 0) : l } function f(e) { var t; return e && e.state ? ((t = e.state).wsize = 0, t.whave = 0, t.wnext = 0, d(e)) : l } function h(e, t) { var n, r; return e && e.state ? (r = e.state, t < 0 ? (n = 0, t = -t) : (n = 1 + (t >> 4), t < 48 && (t &= 15)), t && (t < 8 || 15 < t) ? l : (null !== r.window && r.wbits !== t && (r.window = null), r.wrap = n, r.wbits = t, f(e))) : l } function p(e, t) { var n, r; return e ? (r = new c, (e.state = r).window = null, 0 !== (n = h(e, t)) && (e.state = null), n) : l } var g, m, v = !0; function y(e) { if (v) { var t; for (g = new r.Buf32(512), m = new r.Buf32(32), t = 0; t < 144; ) e.lens[t++] = 8; for (; t < 256; ) e.lens[t++] = 9; for (; t < 280; ) e.lens[t++] = 7; for (; t < 288; ) e.lens[t++] = 8; for (s(1, e.lens, 0, 288, g, 0, e.work, { bits: 9 }), t = 0; t < 32; ) e.lens[t++] = 5; s(2, e.lens, 0, 32, m, 0, e.work, { bits: 5 }), v = !1 } e.lencode = g, e.lenbits = 9, e.distcode = m, e.distbits = 5 } function b(e, t, n, i) { var o, a = e.state; return null === a.window && (a.wsize = 1 << a.wbits, a.wnext = 0, a.whave = 0, a.window = new r.Buf8(a.wsize)), i >= a.wsize ? (r.arraySet(a.window, t, n - a.wsize, a.wsize, 0), a.wnext = 0, a.whave = a.wsize) : (i < (o = a.wsize - a.wnext) && (o = i), r.arraySet(a.window, t, n - i, o, a.wnext), (i -= o) ? (r.arraySet(a.window, t, n - i, i, 0), a.wnext = i, a.whave = a.wsize) : (a.wnext += o, a.wnext === a.wsize && (a.wnext = 0), a.whave < a.wsize && (a.whave += o))), 0 } n.inflateReset = f, n.inflateReset2 = h, n.inflateResetKeep = d, n.inflateInit = function(e) { return p(e, 15) } , n.inflateInit2 = p, n.inflate = function(e, t) { var n, c, d, f, h, p, g, m, v, _, w, S, x, k, I, C, M, T, A, E, O, B, L, P, R = 0, z = new r.Buf8(4), j = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]; if (!e || !e.state || !e.output || !e.input && 0 !== e.avail_in) return l; 12 === (n = e.state).mode && (n.mode = 13), h = e.next_out, d = e.output, g = e.avail_out, f = e.next_in, c = e.input, p = e.avail_in, m = n.hold, v = n.bits, _ = p, w = g, B = 0; e: for (; ; ) switch (n.mode) { case 1: if (0 === n.wrap) { n.mode = 13; break } for (; v < 16; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if (2 & n.wrap && 35615 === m) { z[n.check = 0] = 255 & m, z[1] = m >>> 8 & 255, n.check = o(n.check, z, 2, 0), v = m = 0, n.mode = 2; break } if (n.flags = 0, n.head && (n.head.done = !1), !(1 & n.wrap) || (((255 & m) << 8) + (m >> 8)) % 31) { e.msg = "incorrect header check", n.mode = 30; break } if (8 != (15 & m)) { e.msg = "unknown compression method", n.mode = 30; break } if (v -= 4, O = 8 + (15 & (m >>>= 4)), 0 === n.wbits) n.wbits = O; else if (O > n.wbits) { e.msg = "invalid window size", n.mode = 30; break } n.dmax = 1 << O, e.adler = n.check = 1, n.mode = 512 & m ? 10 : 12, v = m = 0; break; case 2: for (; v < 16; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if (n.flags = m, 8 != (255 & n.flags)) { e.msg = "unknown compression method", n.mode = 30; break } if (57344 & n.flags) { e.msg = "unknown header flags set", n.mode = 30; break } n.head && (n.head.text = m >> 8 & 1), 512 & n.flags && (z[0] = 255 & m, z[1] = m >>> 8 & 255, n.check = o(n.check, z, 2, 0)), v = m = 0, n.mode = 3; case 3: for (; v < 32; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } n.head && (n.head.time = m), 512 & n.flags && (z[0] = 255 & m, z[1] = m >>> 8 & 255, z[2] = m >>> 16 & 255, z[3] = m >>> 24 & 255, n.check = o(n.check, z, 4, 0)), v = m = 0, n.mode = 4; case 4: for (; v < 16; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } n.head && (n.head.xflags = 255 & m, n.head.os = m >> 8), 512 & n.flags && (z[0] = 255 & m, z[1] = m >>> 8 & 255, n.check = o(n.check, z, 2, 0)), v = m = 0, n.mode = 5; case 5: if (1024 & n.flags) { for (; v < 16; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } n.length = m, n.head && (n.head.extra_len = m), 512 & n.flags && (z[0] = 255 & m, z[1] = m >>> 8 & 255, n.check = o(n.check, z, 2, 0)), v = m = 0 } else n.head && (n.head.extra = null); n.mode = 6; case 6: if (1024 & n.flags && (p < (S = n.length) && (S = p), S && (n.head && (O = n.head.extra_len - n.length, n.head.extra || (n.head.extra = new Array(n.head.extra_len)), r.arraySet(n.head.extra, c, f, S, O)), 512 & n.flags && (n.check = o(n.check, c, S, f)), p -= S, f += S, n.length -= S), n.length)) break e; n.length = 0, n.mode = 7; case 7: if (2048 & n.flags) { if (0 === p) break e; for (S = 0; O = c[f + S++], n.head && O && n.length < 65536 && (n.head.name += String.fromCharCode(O)), O && S < p; ) ; if (512 & n.flags && (n.check = o(n.check, c, S, f)), p -= S, f += S, O) break e } else n.head && (n.head.name = null); n.length = 0, n.mode = 8; case 8: if (4096 & n.flags) { if (0 === p) break e; for (S = 0; O = c[f + S++], n.head && O && n.length < 65536 && (n.head.comment += String.fromCharCode(O)), O && S < p; ) ; if (512 & n.flags && (n.check = o(n.check, c, S, f)), p -= S, f += S, O) break e } else n.head && (n.head.comment = null); n.mode = 9; case 9: if (512 & n.flags) { for (; v < 16; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if (m !== (65535 & n.check)) { e.msg = "header crc mismatch", n.mode = 30; break } v = m = 0 } n.head && (n.head.hcrc = n.flags >> 9 & 1, n.head.done = !0), e.adler = n.check = 0, n.mode = 12; break; case 10: for (; v < 32; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } e.adler = n.check = u(m), v = m = 0, n.mode = 11; case 11: if (0 === n.havedict) return e.next_out = h, e.avail_out = g, e.next_in = f, e.avail_in = p, n.hold = m, n.bits = v, 2; e.adler = n.check = 1, n.mode = 12; case 12: if (5 === t || 6 === t) break e; case 13: if (n.last) { m >>>= 7 & v, v -= 7 & v, n.mode = 27; break } for (; v < 3; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } switch (n.last = 1 & m, v -= 1, 3 & (m >>>= 1)) { case 0: n.mode = 14; break; case 1: if (y(n), n.mode = 20, 6 !== t) break; m >>>= 2, v -= 2; break e; case 2: n.mode = 17; break; case 3: e.msg = "invalid block type", n.mode = 30 } m >>>= 2, v -= 2; break; case 14: for (m >>>= 7 & v, v -= 7 & v; v < 32; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if ((65535 & m) != (m >>> 16 ^ 65535)) { e.msg = "invalid stored block lengths", n.mode = 30; break } if (n.length = 65535 & m, v = m = 0, n.mode = 15, 6 === t) break e; case 15: n.mode = 16; case 16: if (S = n.length) { if (p < S && (S = p), g < S && (S = g), 0 === S) break e; r.arraySet(d, c, f, S, h), p -= S, f += S, g -= S, h += S, n.length -= S; break } n.mode = 12; break; case 17: for (; v < 14; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if (n.nlen = 257 + (31 & m), m >>>= 5, v -= 5, n.ndist = 1 + (31 & m), m >>>= 5, v -= 5, n.ncode = 4 + (15 & m), m >>>= 4, v -= 4, 286 < n.nlen || 30 < n.ndist) { e.msg = "too many length or distance symbols", n.mode = 30; break } n.have = 0, n.mode = 18; case 18: for (; n.have < n.ncode; ) { for (; v < 3; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } n.lens[j[n.have++]] = 7 & m, m >>>= 3, v -= 3 } for (; n.have < 19; ) n.lens[j[n.have++]] = 0; if (n.lencode = n.lendyn, n.lenbits = 7, L = { bits: n.lenbits }, B = s(0, n.lens, 0, 19, n.lencode, 0, n.work, L), n.lenbits = L.bits, B) { e.msg = "invalid code lengths set", n.mode = 30; break } n.have = 0, n.mode = 19; case 19: for (; n.have < n.nlen + n.ndist; ) { for (; C = (R = n.lencode[m & (1 << n.lenbits) - 1]) >>> 16 & 255, M = 65535 & R, !((I = R >>> 24) <= v); ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if (M < 16) m >>>= I, v -= I, n.lens[n.have++] = M; else { if (16 === M) { for (P = I + 2; v < P; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if (m >>>= I, v -= I, 0 === n.have) { e.msg = "invalid bit length repeat", n.mode = 30; break } O = n.lens[n.have - 1], S = 3 + (3 & m), m >>>= 2, v -= 2 } else if (17 === M) { for (P = I + 3; v < P; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } v -= I, O = 0, S = 3 + (7 & (m >>>= I)), m >>>= 3, v -= 3 } else { for (P = I + 7; v < P; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } v -= I, O = 0, S = 11 + (127 & (m >>>= I)), m >>>= 7, v -= 7 } if (n.have + S > n.nlen + n.ndist) { e.msg = "invalid bit length repeat", n.mode = 30; break } for (; S--; ) n.lens[n.have++] = O } } if (30 === n.mode) break; if (0 === n.lens[256]) { e.msg = "invalid code -- missing end-of-block", n.mode = 30; break } if (n.lenbits = 9, L = { bits: n.lenbits }, B = s(1, n.lens, 0, n.nlen, n.lencode, 0, n.work, L), n.lenbits = L.bits, B) { e.msg = "invalid literal/lengths set", n.mode = 30; break } if (n.distbits = 6, n.distcode = n.distdyn, L = { bits: n.distbits }, B = s(2, n.lens, n.nlen, n.ndist, n.distcode, 0, n.work, L), n.distbits = L.bits, B) { e.msg = "invalid distances set", n.mode = 30; break } if (n.mode = 20, 6 === t) break e; case 20: n.mode = 21; case 21: if (6 <= p && 258 <= g) { e.next_out = h, e.avail_out = g, e.next_in = f, e.avail_in = p, n.hold = m, n.bits = v, a(e, w), h = e.next_out, d = e.output, g = e.avail_out, f = e.next_in, c = e.input, p = e.avail_in, m = n.hold, v = n.bits, 12 === n.mode && (n.back = -1); break } for (n.back = 0; C = (R = n.lencode[m & (1 << n.lenbits) - 1]) >>> 16 & 255, M = 65535 & R, !((I = R >>> 24) <= v); ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if (C && 0 == (240 & C)) { for (T = I, A = C, E = M; C = (R = n.lencode[E + ((m & (1 << T + A) - 1) >> T)]) >>> 16 & 255, M = 65535 & R, !(T + (I = R >>> 24) <= v); ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } m >>>= T, v -= T, n.back += T } if (m >>>= I, v -= I, n.back += I, n.length = M, 0 === C) { n.mode = 26; break } if (32 & C) { n.back = -1, n.mode = 12; break } if (64 & C) { e.msg = "invalid literal/length code", n.mode = 30; break } n.extra = 15 & C, n.mode = 22; case 22: if (n.extra) { for (P = n.extra; v < P; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } n.length += m & (1 << n.extra) - 1, m >>>= n.extra, v -= n.extra, n.back += n.extra } n.was = n.length, n.mode = 23; case 23: for (; C = (R = n.distcode[m & (1 << n.distbits) - 1]) >>> 16 & 255, M = 65535 & R, !((I = R >>> 24) <= v); ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if (0 == (240 & C)) { for (T = I, A = C, E = M; C = (R = n.distcode[E + ((m & (1 << T + A) - 1) >> T)]) >>> 16 & 255, M = 65535 & R, !(T + (I = R >>> 24) <= v); ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } m >>>= T, v -= T, n.back += T } if (m >>>= I, v -= I, n.back += I, 64 & C) { e.msg = "invalid distance code", n.mode = 30; break } n.offset = M, n.extra = 15 & C, n.mode = 24; case 24: if (n.extra) { for (P = n.extra; v < P; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } n.offset += m & (1 << n.extra) - 1, m >>>= n.extra, v -= n.extra, n.back += n.extra } if (n.offset > n.dmax) { e.msg = "invalid distance too far back", n.mode = 30; break } n.mode = 25; case 25: if (0 === g) break e; if (S = w - g, n.offset > S) { if ((S = n.offset - S) > n.whave && n.sane) { e.msg = "invalid distance too far back", n.mode = 30; break } x = S > n.wnext ? (S -= n.wnext, n.wsize - S) : n.wnext - S, S > n.length && (S = n.length), k = n.window } else k = d, x = h - n.offset, S = n.length; for (g < S && (S = g), g -= S, n.length -= S; d[h++] = k[x++], --S; ) ; 0 === n.length && (n.mode = 21); break; case 26: if (0 === g) break e; d[h++] = n.length, g--, n.mode = 21; break; case 27: if (n.wrap) { for (; v < 32; ) { if (0 === p) break e; p--, m |= c[f++] << v, v += 8 } if (w -= g, e.total_out += w, n.total += w, w && (e.adler = n.check = n.flags ? o(n.check, d, w, h - w) : i(n.check, d, w, h - w)), w = g, (n.flags ? m : u(m)) !== n.check) { e.msg = "incorrect data check", n.mode = 30; break } v = m = 0 } n.mode = 28; case 28: if (n.wrap && n.flags) { for (; v < 32; ) { if (0 === p) break e; p--, m += c[f++] << v, v += 8 } if (m !== (4294967295 & n.total)) { e.msg = "incorrect length check", n.mode = 30; break } v = m = 0 } n.mode = 29; case 29: B = 1; break e; case 30: B = -3; break e; case 31: return -4; case 32: default: return l } return e.next_out = h, e.avail_out = g, e.next_in = f, e.avail_in = p, n.hold = m, n.bits = v, (n.wsize || w !== e.avail_out && n.mode < 30 && (n.mode < 27 || 4 !== t)) && b(e, e.output, e.next_out, w - e.avail_out) ? (n.mode = 31, -4) : (_ -= e.avail_in, w -= e.avail_out, e.total_in += _, e.total_out += w, n.total += w, n.wrap && w && (e.adler = n.check = n.flags ? o(n.check, d, w, e.next_out - w) : i(n.check, d, w, e.next_out - w)), e.data_type = n.bits + (n.last ? 64 : 0) + (12 === n.mode ? 128 : 0) + (20 === n.mode || 15 === n.mode ? 256 : 0), (0 == _ && 0 === w || 4 === t) && 0 === B && (B = -5), B) } , n.inflateEnd = function(e) { if (!e || !e.state) return l; var t = e.state; return t.window && (t.window = null), e.state = null, 0 } , n.inflateGetHeader = function(e, t) { var n; return e && e.state ? 0 == (2 & (n = e.state).wrap) ? l : ((n.head = t).done = !1, 0) : l } , n.inflateSetDictionary = function(e, t) { var n, r = t.length; return e && e.state ? 0 !== (n = e.state).wrap && 11 !== n.mode ? l : 11 === n.mode && i(1, t, r, 0) !== n.check ? -3 : b(e, t, r, r) ? (n.mode = 31, -4) : (n.havedict = 1, 0) : l } , n.inflateInfo = "pako inflate (from Nodeca project)" } , { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, n) { "use strict"; var r = e("../utils/common") , i = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0] , o = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78] , a = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0] , s = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64]; t.exports = function(e, t, n, l, u, c, d, f) { var h, p, g, m, v, y, b, _, w, S = f.bits, x = 0, k = 0, I = 0, C = 0, M = 0, T = 0, A = 0, E = 0, O = 0, B = 0, L = null, P = 0, R = new r.Buf16(16), z = new r.Buf16(16), j = null, F = 0; for (x = 0; x <= 15; x++) R[x] = 0; for (k = 0; k < l; k++) R[t[n + k]]++; for (M = S, C = 15; 1 <= C && 0 === R[C]; C--) ; if (C < M && (M = C), 0 === C) return u[c++] = 20971520, u[c++] = 20971520, f.bits = 1, 0; for (I = 1; I < C && 0 === R[I]; I++) ; for (M < I && (M = I), x = E = 1; x <= 15; x++) if (E <<= 1, (E -= R[x]) < 0) return -1; if (0 < E && (0 === e || 1 !== C)) return -1; for (z[1] = 0, x = 1; x < 15; x++) z[x + 1] = z[x] + R[x]; for (k = 0; k < l; k++) 0 !== t[n + k] && (d[z[t[n + k]]++] = k); if (y = 0 === e ? (L = j = d, 19) : 1 === e ? (L = i, P -= 257, j = o, F -= 257, 256) : (L = a, j = s, -1), x = I, v = c, A = k = B = 0, g = -1, m = (O = 1 << (T = M)) - 1, 1 === e && 852 < O || 2 === e && 592 < O) return 1; for (; ; ) { for (b = x - A, w = d[k] < y ? (_ = 0, d[k]) : d[k] > y ? (_ = j[F + d[k]], L[P + d[k]]) : (_ = 96, 0), h = 1 << x - A, I = p = 1 << T; u[v + (B >> A) + (p -= h)] = b << 24 | _ << 16 | w | 0, 0 !== p; ) ; for (h = 1 << x - 1; B & h; ) h >>= 1; if (0 !== h ? (B &= h - 1, B += h) : B = 0, k++, 0 == --R[x]) { if (x === C) break; x = t[n + d[k]] } if (M < x && (B & m) !== g) { for (0 === A && (A = M), v += I, E = 1 << (T = x - A); T + A < C && !((E -= R[T + A]) <= 0); ) T++, E <<= 1; if (O += 1 << T, 1 === e && 852 < O || 2 === e && 592 < O) return 1; u[g = B & m] = M << 24 | T << 16 | v - c | 0 } } return 0 !== B && (u[v + B] = x - A << 24 | 64 << 16 | 0), f.bits = M, 0 } } , { "../utils/common": 41 }], 51: [function(e, t, n) { "use strict"; t.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" } } , {}], 52: [function(e, t, n) { "use strict"; var r = e("../utils/common"); function i(e) { for (var t = e.length; 0 <= --t; ) e[t] = 0 } var o = 256 , a = 286 , s = 30 , l = 15 , u = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0] , c = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13] , d = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7] , f = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15] , h = new Array(576); i(h); var p = new Array(60); i(p); var g = new Array(512); i(g); var m = new Array(256); i(m); var v = new Array(29); i(v); var y, b, _, w = new Array(s); function S(e, t, n, r, i) { this.static_tree = e, this.extra_bits = t, this.extra_base = n, this.elems = r, this.max_length = i, this.has_stree = e && e.length } function x(e, t) { this.dyn_tree = e, this.max_code = 0, this.stat_desc = t } function k(e) { return e < 256 ? g[e] : g[256 + (e >>> 7)] } function I(e, t) { e.pending_buf[e.pending++] = 255 & t, e.pending_buf[e.pending++] = t >>> 8 & 255 } function C(e, t, n) { e.bi_valid > 16 - n ? (e.bi_buf |= t << e.bi_valid & 65535, I(e, e.bi_buf), e.bi_buf = t >> 16 - e.bi_valid, e.bi_valid += n - 16) : (e.bi_buf |= t << e.bi_valid & 65535, e.bi_valid += n) } function M(e, t, n) { C(e, n[2 * t], n[2 * t + 1]) } function T(e, t) { for (var n = 0; n |= 1 & e, e >>>= 1, n <<= 1, 0 < --t; ) ; return n >>> 1 } function A(e, t, n) { var r, i, o = new Array(16), a = 0; for (r = 1; r <= l; r++) o[r] = a = a + n[r - 1] << 1; for (i = 0; i <= t; i++) { var s = e[2 * i + 1]; 0 !== s && (e[2 * i] = T(o[s]++, s)) } } function E(e) { var t; for (t = 0; t < a; t++) e.dyn_ltree[2 * t] = 0; for (t = 0; t < s; t++) e.dyn_dtree[2 * t] = 0; for (t = 0; t < 19; t++) e.bl_tree[2 * t] = 0; e.dyn_ltree[512] = 1, e.opt_len = e.static_len = 0, e.last_lit = e.matches = 0 } function O(e) { 8 < e.bi_valid ? I(e, e.bi_buf) : 0 < e.bi_valid && (e.pending_buf[e.pending++] = e.bi_buf), e.bi_buf = 0, e.bi_valid = 0 } function B(e, t, n, r) { var i = 2 * t , o = 2 * n; return e[i] < e[o] || e[i] === e[o] && r[t] <= r[n] } function L(e, t, n) { for (var r = e.heap[n], i = n << 1; i <= e.heap_len && (i < e.heap_len && B(t, e.heap[i + 1], e.heap[i], e.depth) && i++, !B(t, r, e.heap[i], e.depth)); ) e.heap[n] = e.heap[i], n = i, i <<= 1; e.heap[n] = r } function P(e, t, n) { var r, i, a, s, l = 0; if (0 !== e.last_lit) for (; r = e.pending_buf[e.d_buf + 2 * l] << 8 | e.pending_buf[e.d_buf + 2 * l + 1], i = e.pending_buf[e.l_buf + l], l++, 0 === r ? M(e, i, t) : (M(e, (a = m[i]) + o + 1, t), 0 !== (s = u[a]) && C(e, i -= v[a], s), M(e, a = k(--r), n), 0 !== (s = c[a]) && C(e, r -= w[a], s)), l < e.last_lit; ) ; M(e, 256, t) } function R(e, t) { var n, r, i, o = t.dyn_tree, a = t.stat_desc.static_tree, s = t.stat_desc.has_stree, u = t.stat_desc.elems, c = -1; for (e.heap_len = 0, e.heap_max = 573, n = 0; n < u; n++) 0 !== o[2 * n] ? (e.heap[++e.heap_len] = c = n, e.depth[n] = 0) : o[2 * n + 1] = 0; for (; e.heap_len < 2; ) o[2 * (i = e.heap[++e.heap_len] = c < 2 ? ++c : 0)] = 1, e.depth[i] = 0, e.opt_len--, s && (e.static_len -= a[2 * i + 1]); for (t.max_code = c, n = e.heap_len >> 1; 1 <= n; n--) L(e, o, n); for (i = u; n = e.heap[1], e.heap[1] = e.heap[e.heap_len--], L(e, o, 1), r = e.heap[1], e.heap[--e.heap_max] = n, e.heap[--e.heap_max] = r, o[2 * i] = o[2 * n] + o[2 * r], e.depth[i] = (e.depth[n] >= e.depth[r] ? e.depth[n] : e.depth[r]) + 1, o[2 * n + 1] = o[2 * r + 1] = i, e.heap[1] = i++, L(e, o, 1), 2 <= e.heap_len; ) ; e.heap[--e.heap_max] = e.heap[1], function(e, t) { var n, r, i, o, a, s, u = t.dyn_tree, c = t.max_code, d = t.stat_desc.static_tree, f = t.stat_desc.has_stree, h = t.stat_desc.extra_bits, p = t.stat_desc.extra_base, g = t.stat_desc.max_length, m = 0; for (o = 0; o <= l; o++) e.bl_count[o] = 0; for (u[2 * e.heap[e.heap_max] + 1] = 0, n = e.heap_max + 1; n < 573; n++) g < (o = u[2 * u[2 * (r = e.heap[n]) + 1] + 1] + 1) && (o = g, m++), u[2 * r + 1] = o, c < r || (e.bl_count[o]++, a = 0, p <= r && (a = h[r - p]), s = u[2 * r], e.opt_len += s * (o + a), f && (e.static_len += s * (d[2 * r + 1] + a))); if (0 !== m) { do { for (o = g - 1; 0 === e.bl_count[o]; ) o--; e.bl_count[o]--, e.bl_count[o + 1] += 2, e.bl_count[g]--, m -= 2 } while (0 < m); for (o = g; 0 !== o; o--) for (r = e.bl_count[o]; 0 !== r; ) c < (i = e.heap[--n]) || (u[2 * i + 1] !== o && (e.opt_len += (o - u[2 * i + 1]) * u[2 * i], u[2 * i + 1] = o), r--) } }(e, t), A(o, c, e.bl_count) } function z(e, t, n) { var r, i, o = -1, a = t[1], s = 0, l = 7, u = 4; for (0 === a && (l = 138, u = 3), t[2 * (n + 1) + 1] = 65535, r = 0; r <= n; r++) i = a, a = t[2 * (r + 1) + 1], ++s < l && i === a || (s < u ? e.bl_tree[2 * i] += s : 0 !== i ? (i !== o && e.bl_tree[2 * i]++, e.bl_tree[32]++) : s <= 10 ? e.bl_tree[34]++ : e.bl_tree[36]++, o = i, u = (s = 0) === a ? (l = 138, 3) : i === a ? (l = 6, 3) : (l = 7, 4)) } function j(e, t, n) { var r, i, o = -1, a = t[1], s = 0, l = 7, u = 4; for (0 === a && (l = 138, u = 3), r = 0; r <= n; r++) if (i = a, a = t[2 * (r + 1) + 1], !(++s < l && i === a)) { if (s < u) for (; M(e, i, e.bl_tree), 0 != --s; ) ; else 0 !== i ? (i !== o && (M(e, i, e.bl_tree), s--), M(e, 16, e.bl_tree), C(e, s - 3, 2)) : s <= 10 ? (M(e, 17, e.bl_tree), C(e, s - 3, 3)) : (M(e, 18, e.bl_tree), C(e, s - 11, 7)); o = i, u = (s = 0) === a ? (l = 138, 3) : i === a ? (l = 6, 3) : (l = 7, 4) } } i(w); var F = !1; function D(e, t, n, i) { C(e, 0 + (i ? 1 : 0), 3), function(e, t, n, i) { O(e), I(e, n), I(e, ~n), r.arraySet(e.pending_buf, e.window, t, n, e.pending), e.pending += n }(e, t, n) } n._tr_init = function(e) { F || (function() { var e, t, n, r, i, o = new Array(16); for (r = n = 0; r < 28; r++) for (v[r] = n, e = 0; e < 1 << u[r]; e++) m[n++] = r; for (m[n - 1] = r, r = i = 0; r < 16; r++) for (w[r] = i, e = 0; e < 1 << c[r]; e++) g[i++] = r; for (i >>= 7; r < s; r++) for (w[r] = i << 7, e = 0; e < 1 << c[r] - 7; e++) g[256 + i++] = r; for (t = 0; t <= l; t++) o[t] = 0; for (e = 0; e <= 143; ) h[2 * e + 1] = 8, e++, o[8]++; for (; e <= 255; ) h[2 * e + 1] = 9, e++, o[9]++; for (; e <= 279; ) h[2 * e + 1] = 7, e++, o[7]++; for (; e <= 287; ) h[2 * e + 1] = 8, e++, o[8]++; for (A(h, 287, o), e = 0; e < s; e++) p[2 * e + 1] = 5, p[2 * e] = T(e, 5); y = new S(h,u,257,a,l), b = new S(p,c,0,s,l), _ = new S(new Array(0),d,0,19,7) }(), F = !0), e.l_desc = new x(e.dyn_ltree,y), e.d_desc = new x(e.dyn_dtree,b), e.bl_desc = new x(e.bl_tree,_), e.bi_buf = 0, e.bi_valid = 0, E(e) } , n._tr_stored_block = D, n._tr_flush_block = function(e, t, n, r) { var i, a, s = 0; 0 < e.level ? (2 === e.strm.data_type && (e.strm.data_type = function(e) { var t, n = 4093624447; for (t = 0; t <= 31; t++, n >>>= 1) if (1 & n && 0 !== e.dyn_ltree[2 * t]) return 0; if (0 !== e.dyn_ltree[18] || 0 !== e.dyn_ltree[20] || 0 !== e.dyn_ltree[26]) return 1; for (t = 32; t < o; t++) if (0 !== e.dyn_ltree[2 * t]) return 1; return 0 }(e)), R(e, e.l_desc), R(e, e.d_desc), s = function(e) { var t; for (z(e, e.dyn_ltree, e.l_desc.max_code), z(e, e.dyn_dtree, e.d_desc.max_code), R(e, e.bl_desc), t = 18; 3 <= t && 0 === e.bl_tree[2 * f[t] + 1]; t--) ; return e.opt_len += 3 * (t + 1) + 5 + 5 + 4, t }(e), i = e.opt_len + 3 + 7 >>> 3, (a = e.static_len + 3 + 7 >>> 3) <= i && (i = a)) : i = a = n + 5, n + 4 <= i && -1 !== t ? D(e, t, n, r) : 4 === e.strategy || a === i ? (C(e, 2 + (r ? 1 : 0), 3), P(e, h, p)) : (C(e, 4 + (r ? 1 : 0), 3), function(e, t, n, r) { var i; for (C(e, t - 257, 5), C(e, n - 1, 5), C(e, r - 4, 4), i = 0; i < r; i++) C(e, e.bl_tree[2 * f[i] + 1], 3); j(e, e.dyn_ltree, t - 1), j(e, e.dyn_dtree, n - 1) }(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, s + 1), P(e, e.dyn_ltree, e.dyn_dtree)), E(e), r && O(e) } , n._tr_tally = function(e, t, n) { return e.pending_buf[e.d_buf + 2 * e.last_lit] = t >>> 8 & 255, e.pending_buf[e.d_buf + 2 * e.last_lit + 1] = 255 & t, e.pending_buf[e.l_buf + e.last_lit] = 255 & n, e.last_lit++, 0 === t ? e.dyn_ltree[2 * n]++ : (e.matches++, t--, e.dyn_ltree[2 * (m[n] + o + 1)]++, e.dyn_dtree[2 * k(t)]++), e.last_lit === e.lit_bufsize - 1 } , n._tr_align = function(e) { C(e, 2, 3), M(e, 256, h), function(e) { 16 === e.bi_valid ? (I(e, e.bi_buf), e.bi_buf = 0, e.bi_valid = 0) : 8 <= e.bi_valid && (e.pending_buf[e.pending++] = 255 & e.bi_buf, e.bi_buf >>= 8, e.bi_valid -= 8) }(e) } } , { "../utils/common": 41 }], 53: [function(e, t, n) { "use strict"; t.exports = function() { this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0 } } , {}], 54: [function(e, t, n) { "use strict"; t.exports = "function" == typeof r ? r : function() { var e = [].slice.apply(arguments); e.splice(1, 0, 0), setTimeout.apply(null, e) } } , {}] }, {}, [10])(10) } ).call(this, n(324).Buffer, n(20), n(184).setImmediate) }, 139: function(e) { e.exports = JSON.parse('{"tagMarkers":{"id":"tagMarkers","markers":[{"markerId":"tag-red","groupId":"tagMarkers","resource":"markers/tagMarkers/tag-red.svg","hidden":false},{"markerId":"tag-orange","groupId":"tagMarkers","resource":"markers/tagMarkers/tag-orange.svg","hidden":false},{"markerId":"tag-yellow","groupId":"tagMarkers","resource":"markers/tagMarkers/tag-yellow.svg","hidden":false},{"markerId":"tag-green","groupId":"tagMarkers","resource":"markers/tagMarkers/tag-green.svg","hidden":false},{"markerId":"tag-blue","groupId":"tagMarkers","resource":"markers/tagMarkers/tag-blue.svg","hidden":false},{"markerId":"tag-dark-purple","groupId":"tagMarkers","resource":"markers/tagMarkers/tag-dark-purple.svg","hidden":false},{"markerId":"tag-grey","groupId":"tagMarkers","resource":"markers/tagMarkers/tag-grey.svg","hidden":false},{"markerId":"tag-dark-blue","groupId":"tagMarkers","resource":"markers/tagMarkers/tag-dark-blue.svg","hidden":true}],"hidden":false},"priorityMarkers":{"id":"priorityMarkers","markers":[{"markerId":"priority-1","groupId":"priorityMarkers","resource":"markers/priorityMarkers/priority-1.svg","hidden":false},{"markerId":"priority-2","groupId":"priorityMarkers","resource":"markers/priorityMarkers/priority-2.svg","hidden":false},{"markerId":"priority-3","groupId":"priorityMarkers","resource":"markers/priorityMarkers/priority-3.svg","hidden":false},{"markerId":"priority-4","groupId":"priorityMarkers","resource":"markers/priorityMarkers/priority-4.svg","hidden":false},{"markerId":"priority-5","groupId":"priorityMarkers","resource":"markers/priorityMarkers/priority-5.svg","hidden":false},{"markerId":"priority-6","groupId":"priorityMarkers","resource":"markers/priorityMarkers/priority-6.svg","hidden":false},{"markerId":"priority-7","groupId":"priorityMarkers","resource":"markers/priorityMarkers/priority-7.svg","hidden":false},{"markerId":"priority-8","groupId":"priorityMarkers","resource":"markers/priorityMarkers/priority-8.svg","hidden":true},{"markerId":"priority-9","groupId":"priorityMarkers","resource":"markers/priorityMarkers/priority-9.svg","hidden":true}],"hidden":false},"smileyMarkers":{"id":"smileyMarkers","markers":[{"markerId":"smiley-laugh","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-laugh.svg","hidden":false},{"markerId":"smiley-smile","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-smile.svg","hidden":false},{"markerId":"smiley-cry","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-cry.svg","hidden":false},{"markerId":"smiley-surprise","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-surprise.svg","hidden":false},{"markerId":"smiley-boring","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-boring.svg","hidden":false},{"markerId":"smiley-angry","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-angry.svg","hidden":false},{"markerId":"smiley-embarrass","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-embarrass.svg","hidden":false},{"markerId":"smiley-think","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-think.svg","hidden":false},{"markerId":"smiley-love","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-love.svg","hidden":false},{"markerId":"smiley-sad","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-sad.svg","hidden":false},{"markerId":"smiley-cry-laugh","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-cry-laugh.svg","hidden":false},{"markerId":"smiley-adore","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-adore.svg","hidden":false},{"markerId":"smiley-devil","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-devil.svg","hidden":false},{"markerId":"smiley-upset","groupId":"smileyMarkers","resource":"markers/smileyMarkers/smiley-upset.svg","hidden":false}],"hidden":true},"taskMarkers":{"id":"taskMarkers","markers":[{"markerId":"task-start","groupId":"taskMarkers","resource":"markers/taskMarkers/task-start.svg","hidden":false},{"markerId":"task-oct","groupId":"taskMarkers","resource":"markers/taskMarkers/task-oct.svg","hidden":false},{"markerId":"task-quarter","groupId":"taskMarkers","resource":"markers/taskMarkers/task-quarter.svg","hidden":true},{"markerId":"task-3oct","groupId":"taskMarkers","resource":"markers/taskMarkers/task-3oct.svg","hidden":false},{"markerId":"task-half","groupId":"taskMarkers","resource":"markers/taskMarkers/task-half.svg","hidden":false},{"markerId":"task-5oct","groupId":"taskMarkers","resource":"markers/taskMarkers/task-5oct.svg","hidden":false},{"markerId":"task-3quar","groupId":"taskMarkers","resource":"markers/taskMarkers/task-3quar.svg","hidden":true},{"markerId":"task-7oct","groupId":"taskMarkers","resource":"markers/taskMarkers/task-7oct.svg","hidden":false},{"markerId":"task-done","groupId":"taskMarkers","resource":"markers/taskMarkers/task-done.svg","hidden":false},{"markerId":"task-pause","groupId":"taskMarkers","resource":"markers/taskMarkers/task-pause.png","hidden":true}],"hidden":false},"flagMarkers":{"id":"flagMarkers","markers":[{"markerId":"flag-red","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-red.svg","hidden":false},{"markerId":"flag-orange","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-orange.svg","hidden":false},{"markerId":"flag-yellow","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-yellow.svg","hidden":false},{"markerId":"flag-green","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-green.svg","hidden":false},{"markerId":"flag-blue","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-blue.svg","hidden":false},{"markerId":"flag-purple","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-purple.svg","hidden":false},{"markerId":"flag-gray","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-gray.svg","hidden":false},{"markerId":"flag-dark-blue","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-dark-blue.svg","hidden":true},{"markerId":"flag-dark-green","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-dark-green.svg","hidden":true},{"markerId":"flag-dark-gray","groupId":"flagMarkers","resource":"markers/flagMarkers/flag-dark-gray.svg","hidden":true}],"hidden":false},"starMarkers":{"id":"starMarkers","markers":[{"markerId":"star-red","groupId":"starMarkers","resource":"markers/starMarkers/star-red.svg","hidden":false},{"markerId":"star-orange","groupId":"starMarkers","resource":"markers/starMarkers/star-orange.svg","hidden":false},{"markerId":"star-yellow","groupId":"starMarkers","resource":"markers/starMarkers/star-yellow.svg","hidden":false},{"markerId":"star-green","groupId":"starMarkers","resource":"markers/starMarkers/star-green.svg","hidden":false},{"markerId":"star-blue","groupId":"starMarkers","resource":"markers/starMarkers/star-blue.svg","hidden":false},{"markerId":"star-purple","groupId":"starMarkers","resource":"markers/starMarkers/star-purple.svg","hidden":false},{"markerId":"star-gray","groupId":"starMarkers","resource":"markers/starMarkers/star-gray.svg","hidden":false},{"markerId":"star-dark-blue","groupId":"starMarkers","resource":"markers/starMarkers/star-dark-blue.svg","hidden":true},{"markerId":"star-dark-green","groupId":"starMarkers","resource":"markers/starMarkers/star-dark-green.svg","hidden":true},{"markerId":"star-dark-gray","groupId":"starMarkers","resource":"markers/starMarkers/star-dark-gray.svg","hidden":true}],"hidden":false},"peopleMarkers":{"id":"peopleMarkers","markers":[{"markerId":"people-red","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-red.svg","hidden":false},{"markerId":"people-orange","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-orange.svg","hidden":false},{"markerId":"people-yellow","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-yellow.svg","hidden":false},{"markerId":"people-green","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-green.svg","hidden":false},{"markerId":"people-blue","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-blue.svg","hidden":false},{"markerId":"people-purple","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-purple.svg","hidden":false},{"markerId":"people-gray","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-gray.svg","hidden":false},{"markerId":"people-dark-blue","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-dark-blue.svg","hidden":true},{"markerId":"people-dark-green","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-dark-green.svg","hidden":true},{"markerId":"people-dark-gray","groupId":"peopleMarkers","resource":"markers/peopleMarkers/people-dark-gray.svg","hidden":true}],"hidden":false},"arrowMarkers":{"id":"arrowMarkers","markers":[{"markerId":"arrow-left","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-left.svg","hidden":false},{"markerId":"arrow-right","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-right.svg","hidden":false},{"markerId":"arrow-up","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-up.svg","hidden":false},{"markerId":"arrow-down","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-down.svg","hidden":false},{"markerId":"arrow-left-right","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-left-right.svg","hidden":false},{"markerId":"arrow-up-down","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-up-down.svg","hidden":false},{"markerId":"arrow-refresh","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-refresh.svg","hidden":false},{"markerId":"arrow-up-right","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-up-right.svg","hidden":true},{"markerId":"arrow-down-right","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-down-right.svg","hidden":true},{"markerId":"arrow-down-left","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-down-left.svg","hidden":true},{"markerId":"arrow-up-left","groupId":"arrowMarkers","resource":"markers/arrowMarkers/arrow-up-left.svg","hidden":true}],"hidden":true},"academicMarkers":{"id":"academicMarkers","markers":[{"markerId":"c_symbol_quote","groupId":"academicMarkers","resource":"markers/academicMarkers/c_symbol_quote.svg","hidden":false},{"markerId":"c_symbol_apostrophe","groupId":"academicMarkers","resource":"markers/academicMarkers/c_symbol_apostrophe.svg","hidden":false},{"markerId":"symbol-question","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-question.svg","hidden":false},{"markerId":"symbol-attention","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-attention.svg","hidden":false},{"markerId":"symbol-pause","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-pause.svg","hidden":false},{"markerId":"symbol-wrong","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-wrong.svg","hidden":false},{"markerId":"symbol-about","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-about.svg","hidden":false},{"markerId":"symbol-plus","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-plus.svg","hidden":false},{"markerId":"symbol-minus","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-minus.svg","hidden":false},{"markerId":"symbol-divide","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-divide.svg","hidden":false},{"markerId":"symbol-equality","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-equality.svg","hidden":false},{"markerId":"symbol-right","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-right.svg","hidden":false},{"markerId":"symbol-code","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-code.svg","hidden":false},{"markerId":"symbol-not-equality","groupId":"academicMarkers","resource":"markers/academicMarkers/symbol-not-equality.svg","hidden":false}],"hidden":true},"socialMarkers":{"id":"socialMarkers","markers":[{"markerId":"c_symbol_broken_heart","groupId":"socialMarkers","resource":"markers/socialMarkers/c_symbol_broken_heart.svg","hidden":false},{"markerId":"c_symbol_contact","groupId":"socialMarkers","resource":"markers/socialMarkers/c_symbol_contact.svg","hidden":false},{"markerId":"symbol-no-entry","groupId":"socialMarkers","resource":"markers/socialMarkers/symbol-no-entry.svg","hidden":false},{"markerId":"symbol-notice","groupId":"socialMarkers","resource":"markers/socialMarkers/symbol-notice.svg","hidden":false},{"markerId":"symbol-rss","groupId":"socialMarkers","resource":"markers/socialMarkers/symbol-rss.svg","hidden":false},{"markerId":"symbol_forward","groupId":"socialMarkers","resource":"markers/socialMarkers/symbol_forward.svg","hidden":false},{"markerId":"symbol-share","groupId":"socialMarkers","resource":"markers/socialMarkers/symbol-share.svg","hidden":false},{"markerId":"symbol-comment","groupId":"socialMarkers","resource":"markers/socialMarkers/symbol-comment.svg","hidden":false}],"hidden":true},"celebrationMarkers":{"id":"celebrationMarkers","markers":[{"markerId":"celebration-ribbon","groupId":"celebrationMarkers","resource":"markers/celebrationMarkers/celebration-ribbon.svg","hidden":true},{"markerId":"celebration-clap","groupId":"celebrationMarkers","resource":"markers/celebrationMarkers/celebration-clap.svg","hidden":true},{"markerId":"celebration-100","groupId":"celebrationMarkers","resource":"markers/celebrationMarkers/celebration-100.svg","hidden":true},{"markerId":"celebration-birthday","groupId":"celebrationMarkers","resource":"markers/celebrationMarkers/celebration-birthday.svg","hidden":true},{"markerId":"celebration-king","groupId":"celebrationMarkers","resource":"markers/celebrationMarkers/celebration-king.svg","hidden":true},{"markerId":"celebration-cheers","groupId":"celebrationMarkers","resource":"markers/celebrationMarkers/celebration-cheers.svg","hidden":true},{"markerId":"celebration-boom","groupId":"celebrationMarkers","resource":"markers/celebrationMarkers/celebration-boom.svg","hidden":true},{"markerId":"celebration-kiss","groupId":"celebrationMarkers","resource":"markers/celebrationMarkers/celebration-kiss.svg","hidden":true},{"markerId":"celebration-five","groupId":"celebrationMarkers","resource":"markers/celebrationMarkers/celebration-five.svg","hidden":true}],"hidden":true},"symbolMarkers":{"id":"symbolMarkers","markers":[{"markerId":"c_symbol_heart","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_heart.svg","hidden":false},{"markerId":"c_symbol_like","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_like.svg","hidden":false},{"markerId":"c_symbol_dislike","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_dislike.svg","hidden":false},{"markerId":"symbol-pin","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-pin.svg","hidden":false},{"markerId":"symbol-idea","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-idea.svg","hidden":false},{"markerId":"symbol-lightning","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-lightning.svg","hidden":false},{"markerId":"c_symbol_hourglass","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_hourglass.svg","hidden":false},{"markerId":"c_symbol_telephone","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_telephone.svg","hidden":false},{"markerId":"c_symbol_pen","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_pen.svg","hidden":false},{"markerId":"c_symbol_music","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_music.svg","hidden":false},{"markerId":"symbol-entertainment","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-entertainment.svg","hidden":false},{"markerId":"symbol-100","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-100.svg","hidden":false},{"markerId":"c_symbol_flight","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_flight.svg","hidden":false},{"markerId":"symbol-run","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-run.svg","hidden":false},{"markerId":"symbol-exclam","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-exclam.svg","hidden":false},{"markerId":"symbol-question","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-question.svg","hidden":false},{"markerId":"symbol-plus","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-plus.svg","hidden":true},{"markerId":"symbol-minus","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-minus.svg","hidden":true},{"markerId":"symbol-info","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-info.svg","hidden":true},{"markerId":"symbol-attention","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-attention.svg","hidden":true},{"markerId":"symbol-wrong","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-wrong.svg","hidden":true},{"markerId":"symbol-right","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-right.svg","hidden":true},{"markerId":"symbol-pause","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-pause.svg","hidden":true},{"markerId":"c_simbol-plus","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_simbol-plus.svg","hidden":true},{"markerId":"c_simbol-minus","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_simbol-minus.svg","hidden":true},{"markerId":"c_simbol-question","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_simbol-question.svg","hidden":true},{"markerId":"c_simbol-info","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_simbol-info.svg","hidden":true},{"markerId":"c_simbol-wrong","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_simbol-wrong.svg","hidden":true},{"markerId":"c_simbol-right","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_simbol-right.svg","hidden":true},{"markerId":"c_simbol-pause","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_simbol-pause.svg","hidden":true},{"markerId":"c_symbol_contact","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_contact.svg","hidden":true},{"markerId":"c_symbol_drink","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_drink.svg","hidden":true},{"markerId":"c_symbol_line_graph","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_line_graph.svg","hidden":true},{"markerId":"c_symbol_medals","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_medals.svg","hidden":true},{"markerId":"c_symbol_thermometer","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_thermometer.svg","hidden":true},{"markerId":"c_symbol_money","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_money.svg","hidden":true},{"markerId":"c_symbol_bar_chart","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_bar_chart.svg","hidden":true},{"markerId":"c_simbol-exclam","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_simbol-exclam.svg","hidden":true},{"markerId":"c_symbol_pie_chart","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_pie_chart.svg","hidden":true},{"markerId":"c_symbol_shopping_cart","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_shopping_cart.svg","hidden":true},{"markerId":"c_symbol_exercise","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_exercise.svg","hidden":true},{"markerId":"c_symbol_trophy","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_trophy.svg","hidden":true},{"markerId":"symbol-unlock","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-unlock.svg","hidden":true},{"markerId":"c_symbol_lock","groupId":"symbolMarkers","resource":"markers/symbolMarkers/c_symbol_lock.svg","hidden":true},{"markerId":"symbol-diamond","groupId":"symbolMarkers","resource":"markers/symbolMarkers/symbol-diamond.svg","hidden":true}],"hidden":false},"monthMarkers":{"id":"monthMarkers","markers":[{"markerId":"month-jan","groupId":"monthMarkers","resource":"markers/monthMarkers/month-jan.svg","hidden":false},{"markerId":"month-feb","groupId":"monthMarkers","resource":"markers/monthMarkers/month-feb.svg","hidden":false},{"markerId":"month-mar","groupId":"monthMarkers","resource":"markers/monthMarkers/month-mar.svg","hidden":false},{"markerId":"month-apr","groupId":"monthMarkers","resource":"markers/monthMarkers/month-apr.svg","hidden":false},{"markerId":"month-may","groupId":"monthMarkers","resource":"markers/monthMarkers/month-may.svg","hidden":false},{"markerId":"month-jun","groupId":"monthMarkers","resource":"markers/monthMarkers/month-jun.svg","hidden":false},{"markerId":"month-jul","groupId":"monthMarkers","resource":"markers/monthMarkers/month-jul.svg","hidden":false},{"markerId":"month-aug","groupId":"monthMarkers","resource":"markers/monthMarkers/month-aug.svg","hidden":false},{"markerId":"month-sep","groupId":"monthMarkers","resource":"markers/monthMarkers/month-sep.svg","hidden":false},{"markerId":"month-oct","groupId":"monthMarkers","resource":"markers/monthMarkers/month-oct.svg","hidden":false},{"markerId":"month-nov","groupId":"monthMarkers","resource":"markers/monthMarkers/month-nov.svg","hidden":false},{"markerId":"month-dec","groupId":"monthMarkers","resource":"markers/monthMarkers/month-dec.svg","hidden":false}],"hidden":true},"weekMarkers":{"id":"weekMarkers","markers":[{"markerId":"week-sun","groupId":"weekMarkers","resource":"markers/weekMarkers/week-sun.svg","hidden":false},{"markerId":"week-mon","groupId":"weekMarkers","resource":"markers/weekMarkers/week-mon.svg","hidden":false},{"markerId":"week-tue","groupId":"weekMarkers","resource":"markers/weekMarkers/week-tue.svg","hidden":false},{"markerId":"week-wed","groupId":"weekMarkers","resource":"markers/weekMarkers/week-wed.svg","hidden":false},{"markerId":"week-thu","groupId":"weekMarkers","resource":"markers/weekMarkers/week-thu.svg","hidden":false},{"markerId":"week-fri","groupId":"weekMarkers","resource":"markers/weekMarkers/week-fri.svg","hidden":false},{"markerId":"week-sat","groupId":"weekMarkers","resource":"markers/weekMarkers/week-sat.svg","hidden":false}],"hidden":true},"halfStarMarkers":{"id":"halfStarMarkers","markers":[{"markerId":"half-star-green","groupId":"halfStarMarkers","resource":"markers/halfStarMarkers/half-star-green.png","hidden":true},{"markerId":"half-star-red","groupId":"halfStarMarkers","resource":"markers/halfStarMarkers/half-star-red.png","hidden":true},{"markerId":"half-star-yellow","groupId":"halfStarMarkers","resource":"markers/halfStarMarkers/half-star-yellow.png","hidden":true},{"markerId":"half-star-purple","groupId":"halfStarMarkers","resource":"markers/halfStarMarkers/half-star-purple.png","hidden":true},{"markerId":"half-star-blue","groupId":"halfStarMarkers","resource":"markers/halfStarMarkers/half-star-blue.png","hidden":true},{"markerId":"half-star-gray","groupId":"halfStarMarkers","resource":"markers/halfStarMarkers/half-star-gray.png","hidden":true}],"hidden":true},"otherMarkers":{"id":"otherMarkers","markers":[{"markerId":"other-calendar","groupId":"otherMarkers","resource":"markers/otherMarkers/other-calendar.png","hidden":true},{"markerId":"other-email","groupId":"otherMarkers","resource":"markers/otherMarkers/other-email.png","hidden":true},{"markerId":"other-phone","groupId":"otherMarkers","resource":"markers/otherMarkers/other-phone.png","hidden":true},{"markerId":"other-phone2","groupId":"otherMarkers","resource":"markers/otherMarkers/other-phone2.png","hidden":true},{"markerId":"other-fax","groupId":"otherMarkers","resource":"markers/otherMarkers/other-fax.png","hidden":true},{"markerId":"other-people","groupId":"otherMarkers","resource":"markers/otherMarkers/other-people.png","hidden":true},{"markerId":"other-people2","groupId":"otherMarkers","resource":"markers/otherMarkers/other-people2.png","hidden":true},{"markerId":"other-clock","groupId":"otherMarkers","resource":"markers/otherMarkers/other-clock.png","hidden":true},{"markerId":"other-coffee-cup","groupId":"otherMarkers","resource":"markers/otherMarkers/other-coffee-cup.png","hidden":true},{"markerId":"other-question","groupId":"otherMarkers","resource":"markers/otherMarkers/other-question.svg","hidden":true},{"markerId":"other-exclam","groupId":"otherMarkers","resource":"markers/otherMarkers/other-exclam.svg","hidden":true},{"markerId":"other-lightbulb","groupId":"otherMarkers","resource":"markers/otherMarkers/other-lightbulb.png","hidden":true},{"markerId":"other-businesscard","groupId":"otherMarkers","resource":"markers/otherMarkers/other-businesscard.png","hidden":true},{"markerId":"other-social","groupId":"otherMarkers","resource":"markers/otherMarkers/other-social.png","hidden":true},{"markerId":"other-chat","groupId":"otherMarkers","resource":"markers/otherMarkers/other-chat.png","hidden":true},{"markerId":"other-note","groupId":"otherMarkers","resource":"markers/otherMarkers/other-note.png","hidden":true},{"markerId":"other-lock","groupId":"otherMarkers","resource":"markers/otherMarkers/other-lock.png","hidden":true},{"markerId":"other-unlock","groupId":"otherMarkers","resource":"markers/otherMarkers/other-unlock.png","hidden":true},{"markerId":"other-yes","groupId":"otherMarkers","resource":"markers/otherMarkers/other-yes.svg","hidden":true},{"markerId":"other-no","groupId":"otherMarkers","resource":"markers/otherMarkers/other-no.svg","hidden":true},{"markerId":"other-bomb","groupId":"otherMarkers","resource":"markers/otherMarkers/other-bomb.png","hidden":true},{"markerId":"symbol-info","groupId":"otherMarkers","resource":"markers/otherMarkers/symbol-info.svg","hidden":true},{"markerId":"c_symbol_line_graph","groupId":"otherMarkers","resource":"markers/otherMarkers/c_symbol_line_graph.svg","hidden":true},{"markerId":"c_symbol_shopping_cart","groupId":"otherMarkers","resource":"markers/otherMarkers/c_symbol_shopping_cart.svg","hidden":true},{"markerId":"c_symbol_medals","groupId":"otherMarkers","resource":"markers/otherMarkers/c_symbol_medals.svg","hidden":true},{"markerId":"c_symbol_trophy","groupId":"otherMarkers","resource":"markers/otherMarkers/c_symbol_trophy.svg","hidden":true},{"markerId":"symbol-image","groupId":"otherMarkers","resource":"markers/otherMarkers/symbol-image.svg","hidden":true},{"markerId":"c_symbol_exercise","groupId":"otherMarkers","resource":"markers/otherMarkers/c_symbol_exercise.svg","hidden":true},{"markerId":"c_simbol-plus","groupId":"otherMarkers","resource":"markers/otherMarkers/c_simbol-plus.svg","hidden":true},{"markerId":"c_simbol-minus","groupId":"otherMarkers","resource":"markers/otherMarkers/c_simbol-minus.svg","hidden":true},{"markerId":"c_simbol-question","groupId":"otherMarkers","resource":"markers/otherMarkers/c_simbol-question.svg","hidden":true},{"markerId":"c_simbol-info","groupId":"otherMarkers","resource":"markers/otherMarkers/c_simbol-info.svg","hidden":true},{"markerId":"c_simbol-wrong","groupId":"otherMarkers","resource":"markers/otherMarkers/c_simbol-wrong.svg","hidden":true},{"markerId":"c_simbol-right","groupId":"otherMarkers","resource":"markers/otherMarkers/c_simbol-right.svg","hidden":true},{"markerId":"c_simbol-pause","groupId":"otherMarkers","resource":"markers/otherMarkers/c_simbol-pause.svg","hidden":true},{"markerId":"c_symbol_thermometer","groupId":"otherMarkers","resource":"markers/otherMarkers/c_symbol_thermometer.svg","hidden":true}],"hidden":true}}') }, 14: function(e, t, n) { "use strict"; var r = n(117) , i = n(189) , o = Object.prototype.toString; function a(e) { return "[object Array]" === o.call(e) } function s(e) { return null !== e && "object" == typeof e } function l(e) { return "[object Function]" === o.call(e) } function u(e, t) { if (null != e) if ("object" != typeof e && (e = [e]), a(e)) for (var n = 0, r = e.length; n < r; n++) t.call(null, e[n], n, e); else for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.call(null, e[i], i, e) } e.exports = { isArray: a, isArrayBuffer: function(e) { return "[object ArrayBuffer]" === o.call(e) }, isBuffer: i, isFormData: function(e) { return "undefined" != typeof FormData && e instanceof FormData }, isArrayBufferView: function(e) { return "undefined" != typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && e.buffer instanceof ArrayBuffer }, isString: function(e) { return "string" == typeof e }, isNumber: function(e) { return "number" == typeof e }, isObject: s, isUndefined: function(e) { return void 0 === e }, isDate: function(e) { return "[object Date]" === o.call(e) }, isFile: function(e) { return "[object File]" === o.call(e) }, isBlob: function(e) { return "[object Blob]" === o.call(e) }, isFunction: l, isStream: function(e) { return s(e) && l(e.pipe) }, isURLSearchParams: function(e) { return "undefined" != typeof URLSearchParams && e instanceof URLSearchParams }, isStandardBrowserEnv: function() { return ("undefined" == typeof navigator || "ReactNative" !== navigator.product) && ("undefined" != typeof window && "undefined" != typeof document) }, forEach: u, merge: function e() { var t = {}; function n(n, r) { "object" == typeof t[r] && "object" == typeof n ? t[r] = e(t[r], n) : t[r] = n } for (var r = 0, i = arguments.length; r < i; r++) u(arguments[r], n); return t }, extend: function(e, t, n) { return u(t, (function(t, i) { e[i] = n && "function" == typeof t ? r(t, n) : t } )), e }, trim: function(e) { return e.replace(/^\s*/, "").replace(/\s*$/, "") } } }, 143: function(e, t, n) { "use strict"; var r = this && this.__createBinding || (Object.create ? function(e, t, n, r) { void 0 === r && (r = n), Object.defineProperty(e, r, { enumerable: !0, get: function() { return t[n] } }) } : function(e, t, n, r) { void 0 === r && (r = n), e[r] = t[n] } ) , i = this && this.__exportStar || function(e, t) { for (var n in e) "default" === n || Object.prototype.hasOwnProperty.call(t, n) || r(t, e, n) } ; Object.defineProperty(t, "__esModule", { value: !0 }), i(n(5), t), i(n(75), t), i(n(275), t) }, 144: function(e, t, n) { e.exports = n(188) }, 15: function(e, t, n) { "use strict"; var r = this && this.__createBinding || (Object.create ? function(e, t, n, r) { void 0 === r && (r = n), Object.defineProperty(e, r, { enumerable: !0, get: function() { return t[n] } }) } : function(e, t, n, r) { void 0 === r && (r = n), e[r] = t[n] } ) , i = this && this.__exportStar || function(e, t) { for (var n in e) "default" === n || Object.prototype.hasOwnProperty.call(t, n) || r(t, e, n) } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.lightAppearance = t.defaultAppearance = t.dimensionOf = t.appearanceOf = t.allDimensions = t.allAppearances = void 0; const o = n(5) , a = n(32) , s = n(245); Object.defineProperty(t, "defaultAppearance", { enumerable: !0, get: function() { return s.defaultAppearance } }); const l = n(246); Object.defineProperty(t, "lightAppearance", { enumerable: !0, get: function() { return l.lightAppearance } }); const u = n(247); i(n(248), t), t.allAppearances = { default: s.defaultAppearance, light: l.lightAppearance }, t.allDimensions = { "16:9": a.defaultDimension, "9:16": u.portraitDimension, "3:4": u.portraitDimension, "4:3": a.defaultDimension }, t.appearanceOf = function(e) { return t.allAppearances[e] } , t.dimensionOf = function(e) { let n = null , r = null; return Object.keys(o.slideSizes).forEach(t=>{ const {width: i, height: a} = o.slideSizes[t] , s = Math.abs(i / a - e.width / e.height); (null === n || n > s) && (n = s, r = t) } ), r ? t.allDimensions[r] : a.defaultDimension } }, 156: function(e, t, n) { "use strict"; function r(e, t) { let n = null; return i(e, (e,r)=>{ if (t(e)) return n = e, r() } ), n } function i(e, t) { let n = !1; for (const r of e) { if (t(r, ()=>{ n = !0 } ), n) return; if ("group" === r.contentType && (i(r.children, (e,r)=>{ t(e, ()=>{ n = !0, r() } ) } ), n)) return } } Object.defineProperty(t, "__esModule", { value: !0 }), t.mutateBoxes = t.forEachBox = t.assertBox = t.getBoxById = t.filterBoxes = t.findBox = t.toBoxRoles = t.contentOfSummary = t.braceShapeOfSummary = t.bottomBraceOfSummary = t.topBraceOfSummary = t.subtopicEllipsisOfSummary = t.headerLineOfTopic = t.treeBranchOfTopic = t.arrowOfTopic = t.subtopicListGroupOfTopic = t.separatorLineOfTopic = t.bulletDotOfTopic = t.bottomCurlyBraceOfTopic = t.topCurlyBraceOfTopic = t.curlyBraceOfTopic = t.contentGroupOfTopic = t.imageOfTopic = t.calloutOfTopic = t.noteOfTopic = t.labelListOfTopic = t.labelTextOfTopic = t.labelBorderOfTopic = t.labelOfTopic = t.markerListOfTopic = t.markerOfTopic = t.shadowTitleTextOfTopic = t.titleTextOfTopic = t.titleOfTopic = void 0, t.titleOfTopic = function(e) { return "topic:title:" + e } , t.titleTextOfTopic = function(e) { return "topic:title-text:" + e } , t.shadowTitleTextOfTopic = function(e) { return "topic:shadow-title-text:" + e } , t.markerOfTopic = function(e, t) { return `topic:marker:${e}:${t}` } , t.markerListOfTopic = function(e) { return "topic:marker-list:" + e } , t.labelOfTopic = function(e, t) { return `topic:label:${e}:${t}` } , t.labelBorderOfTopic = function(e, t) { return `topic:label-border:${e}:${t}` } , t.labelTextOfTopic = function(e, t) { return `topic:label-text:${e}:${t}` } , t.labelListOfTopic = function(e) { return "topic:label-list:" + e } , t.noteOfTopic = function(e) { return "topic:note:" + e } , t.calloutOfTopic = function(e) { return "topic:callout:" + e } , t.imageOfTopic = function(e) { return "topic:image:" + e } , t.contentGroupOfTopic = function(e) { return "topic:content-group:" + e } , t.curlyBraceOfTopic = function(e) { return "topic:curly-brace:" + e } , t.topCurlyBraceOfTopic = function(e) { return "topic:top-curly-brace:" + e } , t.bottomCurlyBraceOfTopic = function(e) { return "topic:bottom-curly-brace:" + e } , t.bulletDotOfTopic = function(e) { return "topic:bullet-dot:" + e } , t.separatorLineOfTopic = function(e) { return "topic:separator-line:" + e } , t.subtopicListGroupOfTopic = function(e) { return "topic:subtopic-list-group:" + e } , t.arrowOfTopic = function(e) { return "topic:arrow:" + e } , t.treeBranchOfTopic = function(e) { return "topic:tree-branch:" + e } , t.headerLineOfTopic = function(e) { return "topic:header-underline:" + e } , t.subtopicEllipsisOfSummary = function(e) { return "topic:summary-subtopic-ellipsis:" + e } , t.topBraceOfSummary = function(e) { return "topic:summary-top-brace:" + e } , t.bottomBraceOfSummary = function(e) { return "topic:summary-bottom-brace:" + e } , t.braceShapeOfSummary = function(e) { return "topic:summary-brace-shape:" + e } , t.contentOfSummary = function(e) { return "topic:summary-content:" + e } , t.toBoxRoles = function(e) { return Object.keys(e).filter(t=>e[t]) } , t.findBox = r, t.filterBoxes = function(e, t) { const n = []; return i(e, e=>{ t(e) && n.push(e) } ), n } , t.getBoxById = function(e, t, n) { const i = r(e, e=>e.id === t); return i && n && i.contentType !== n ? null : i } , t.assertBox = function(e) { if (!e) throw new Error("Box is null or undefined"); return e } , t.forEachBox = i, t.mutateBoxes = function e(t, n) { return t.map(t=>("group" === t.contentType && (t = Object.assign(Object.assign({}, t), { children: e(t.children, n) })), n(t))) } }, 157: function(e, t, n) { "use strict"; var r = this && this.__rest || function(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (null != e && "function" == typeof Object.getOwnPropertySymbols) { var i = 0; for (r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]) } return n } ; function i(e, t) { var n, i, o; if (e = null != e ? e : {}, !t) return e; const {boxes: a} = t , s = r(t, ["boxes"]); for (const t of null != a ? a : []) { e = (null === (n = e.boxes) || void 0 === n ? void 0 : n.find(e=>e.id === t.id)) ? Object.assign(Object.assign({}, e), { boxes: (null !== (i = e.boxes) && void 0 !== i ? i : []).map(e=>e.id === t.id ? Object.assign(Object.assign({}, e), t) : e) }) : Object.assign(Object.assign({}, e), { boxes: [...null !== (o = e.boxes) && void 0 !== o ? o : [], Object.assign({}, t)] }) } return Object.keys(s).length > 0 && (e = Object.assign(Object.assign({}, e), s)), e } Object.defineProperty(t, "__esModule", { value: !0 }), t.isSlideContentFeatureCoveredBy = t.addSlideContentFeatures = t.setBoxStateForRevertedPresenterPerspectiveMode = t.setBoxStateForPresenterPerspectiveMode = t.mergeSlideState = t.setBoxEnteringState = t.addSlideAdditionalEnteringStates = t.setSlideEnteringState = t.addSlideEnteringAnimations = t.addSlideLeavingAnimations = t.addSlideAliases = t.slideSizes = t.slideSize_9_16 = t.slideSize_3_4 = t.slideSize_16_9 = t.slideSize_4_3 = void 0, t.slideSize_4_3 = { width: 1200, height: 900 }, t.slideSize_16_9 = { width: 1600, height: 900 }, t.slideSize_3_4 = { width: 900, height: 1200 }, t.slideSize_9_16 = { width: 900, height: 1600 }, t.slideSizes = { "4:3": t.slideSize_4_3, "16:9": t.slideSize_16_9, "3:4": t.slideSize_3_4, "9:16": t.slideSize_9_16 }, t.addSlideAliases = function(e, ...t) { var n; e.aliases = [...null !== (n = e.aliases) && void 0 !== n ? n : [], ...t] } , t.addSlideLeavingAnimations = function(e, t) { var n; e.leavingAnimations = [...null !== (n = e.leavingAnimations) && void 0 !== n ? n : [], ...t] } , t.addSlideEnteringAnimations = function(e, t) { var n; e.enteringAnimations = [...null !== (n = e.enteringAnimations) && void 0 !== n ? n : [], ...t] } , t.setSlideEnteringState = function(e, t) { e.enteringStates = t } , t.addSlideAdditionalEnteringStates = function(e, t) { var n; e.additionalEnteringStates = [...null !== (n = e.additionalEnteringStates) && void 0 !== n ? n : [], ...t] } , t.setBoxEnteringState = function(e, t) { e.enteringStates = i(e.enteringStates, { boxes: [t] }) } , t.mergeSlideState = i, t.setBoxStateForPresenterPerspectiveMode = function(e, t) { e.presenterPerspectiveStates = i(e.presenterPerspectiveStates, { boxes: [t] }) } , t.setBoxStateForRevertedPresenterPerspectiveMode = function(e, t) { e.revertedPresenterPerspectiveStates = i(e.revertedPresenterPerspectiveStates, { boxes: [t] }) } , t.addSlideContentFeatures = function(e, ...t) { var n; e.contentFeatures = [...null !== (n = e.contentFeatures) && void 0 !== n ? n : [], ...t] } , t.isSlideContentFeatureCoveredBy = function(e, t) { return e.kind === t.kind && e.topicId === t.topicId && ("partial" === e.integrity || "full" === t.integrity) } }, 158: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeUserListSlideLayout = t.computeDefaultSummarySlideLayout = t.computeDefaultListSlideLayout = t.computeDefaultTopicSlideLayout = t.computeSlideLayout = t.getEligibleSlideLayouts = void 0; const r = n(159); function i(e) { return e.image && 0 !== e.image.size.width && 0 !== e.image.size.height ? "image-topic-slide" : "topic-slide" } function o(e, t, n, r) { if (1 === r.length) return "only-child"; const i = e.width < e.height; return "centralTopic" === n || "mainTopic" === n && r.length > 1 && t.title.length <= 24 && r.every(e=>e.title.length <= 24) ? i ? "tree-chart" : "brace-list" : "lyric-list" } function a() { return "summary" } function s(e, t) { var n; return null !== (n = e.listSlideLayout) && void 0 !== n ? n : null } t.getEligibleSlideLayouts = function(e, t) { return Object.values(r.layoutEngines).filter(n=>n.isEligibleFor(e, t)).map(e=>e.id) } , t.computeSlideLayout = function(e, t, n, a={}) { const {topic: l, topicLevel: u, subtopics: c} = n; switch (e) { case "topic": return i(l); case "list": if (!a.ignoresUserValue) { const t = s(l, c.length); if (t && t in r.layoutEngines && r.layoutEngines[t].isEligibleFor(e, n)) return t } return o(t, l, u, c); case "summary": return "summary" } } , t.computeDefaultTopicSlideLayout = i, t.computeDefaultListSlideLayout = o, t.computeDefaultSummarySlideLayout = a, t.computeUserListSlideLayout = s }, 159: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.layoutEngines = void 0; const r = n(244) , i = n(249) , o = n(250) , a = n(251) , s = n(252) , l = n(253) , u = n(254) , c = n(255); t.layoutEngines = { "topic-slide": { id: "topic-slide", isEligibleFor: r.isTopicSlideLayoutEligibleFor, layoutTemplateSlide: r.layoutTopicSlide, generatePresentationalSlide: r.generateTopicSlide }, "image-topic-slide": { id: "image-topic-slide", isEligibleFor: i.isImageTopicSlideLayoutEligibleFor, layoutTemplateSlide: i.layoutImageTopicSlide, generatePresentationalSlide: i.generateImageTopicSlide }, "only-child": { id: "only-child", isEligibleFor: s.isOnlyChildLayoutEligibleFor, layoutTemplateSlide: s.layoutOnlyChildListSlide, generatePresentationalSlide: s.generateOnlyChildListSlide }, "brace-list": { id: "brace-list", isEligibleFor: o.isBraceListLayoutEligibleFor, layoutTemplateSlide: o.layoutBraceListSlide, generatePresentationalSlide: o.generateBraceListSlide }, "bullet-list": { id: "bullet-list", isEligibleFor: a.isBulletListLayoutEligibleFor, layoutTemplateSlide: a.layoutBulletListSlide, generatePresentationalSlide: a.generateBulletListSlide }, "lyric-list": { id: "lyric-list", isEligibleFor: u.isLyricListLayoutEligibleFor, layoutTemplateSlide: u.layoutLyricListSlide, generatePresentationalSlide: u.generateLyricListSlide }, "tree-chart": { id: "tree-chart", isEligibleFor: c.isTreeChartLayoutEligibleFor, layoutTemplateSlide: c.layoutTreeChartSlide, generatePresentationalSlide: c.generateTreeChartSlide }, summary: { id: "summary", isEligibleFor: l.isSummaryLayoutEligibleFor, layoutTemplateSlide: l.layoutSummarySlide, generatePresentationalSlide: l.generateSummarySlide } } }, 160: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeCalloutTextBox = void 0; const r = n(5) , i = n(12) , o = n(13) , a = n(15) , s = n(42) , l = n(61); t.computeCalloutTextBox = function(e, t, n, u, c, d) { var f; const {maxWidth: h, fontSize: p} = d , g = null !== (f = d.roles) && void 0 !== f ? f : [] , m = { id: r.calloutOfTopic(u), roles: ["callout", ...g], bounds: o.zeroRect(), absBounds: o.zeroRect(), contentType: "text", text: c, fontSize: i.toCSSLength(p), lineHeight: l.computeTextLineHeight(p), overflowWrap: "break-word" }; "textAlignment"in d && (m.textAlignment = d.textAlignment), a.initializeBoxStyle(m, e, t, { layout: n }); const v = s.measureText(m, { maxWidth: h }); return m.bounds.width = v.width, m.bounds.height = v.height, m } }, 161: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeLabelGroup = t.computeLabelListGroupBox = t.labelMaxLineCount = void 0; const r = n(5) , i = n(12) , o = n(13) , a = n(15) , s = n(42) , l = n(34) , u = n(43) , c = n(162) , d = n(61); t.labelMaxLineCount = 1, t.computeLabelListGroupBox = function(e, t, n, i, s, l) { var u; const {maxWidth: d, labelSpacing: f, lineSpacing: h, alignment: p} = l , g = null !== (u = l.listRoles) && void 0 !== u ? u : [] , m = new Array(s.length - 1).fill(f) , v = s.map(e=>Object.assign(Object.assign({}, e), { bounds: Object.assign({}, e.bounds) })) , y = c.layoutFlex(v, { spacings: m, direction: "row", wrap: "wrap", maxWidth: d, justifyContent: "leading" === p ? "start" : "trailing" === p ? "end" : "center", lineSpacing: h }) , b = y.width , _ = y.height , w = { id: r.labelListOfTopic(i), roles: [...g], bounds: { x: 0, y: 0, width: b, height: _ }, absBounds: o.zeroRect(), contentType: "group", children: [...v], contentHeight: y.height, overflow: "visible" }; return a.initializeBoxStyle(w, e, t, { layout: n }), w } , t.computeLabelGroup = function(e, n, c, f, h, p, g) { var m, v, y, b, _; const {maxWidth: w, minWidth: S, fontSize: x, leftPadding: k, rightPadding: I} = g , C = null !== (m = g.groupRoles) && void 0 !== m ? m : [] , M = null !== (v = g.textRoles) && void 0 !== v ? v : [] , T = null !== (y = g.borderRoles) && void 0 !== y ? y : [] , A = w - k - I; function E(t) { const l = { id: r.labelTextOfTopic(f, p), roles: ["label", ...M], bounds: o.zeroRect(), absBounds: o.zeroRect(), contentType: "text", text: t, fontSize: i.toCSSLength(x), lineHeight: d.computeTextLineHeight(x), overflowWrap: "normal" }; a.initializeBoxStyle(l, e, n, { layout: c }); const u = s.measureText(l, { maxWidth: A }); return l.bounds.width = u.width, l.bounds.height = u.height, { textBox: l, textMeasurement: u } } const O = l.rangedIntegers(h.length, 1) , B = l.mapValues(O, e=>u.getTruncatedText(h, e)) , L = l.mapValues(B, E) , P = null !== (b = l.findClosestMatch(L, e=>function({textMeasurement: e}) { return e.width <= A }(e) && function({textMeasurement: e}) { return e.lineCount <= t.labelMaxLineCount }(e))) && void 0 !== b ? b : E(u.getTruncatedText(h, 1)) , {textBox: R, textMeasurement: z} = P , j = Math.max(S, Math.min(w, R.bounds.width + k + I)) , F = z.lineHeight , D = (j - k - I - R.bounds.width) / 2 , N = (F - R.bounds.height) / 2; R.bounds.x = k + D, R.bounds.y = N; const U = { id: r.labelBorderOfTopic(f, p), roles: ["labelBorder", ...T], bounds: { x: 0, y: 0, width: j, height: F }, absBounds: o.zeroRect(), contentType: "shape", shapePath: "" }; a.initializeBoxStyle(U, e, n, { layout: c }), U.shapePath = function(e, t) { const n = (e.height - t) / 2 , r = t / 2 , i = 2 * n + t , o = Math.max(e.width - i, 0) , a = Math.max(e.height - i, 0); return `\n M${n + r},${r}\n h${o}\n a${n},${n} 0 0 1 ${n},${n}\n v${a}\n a${n},${n} 0 0 1 -${n},${n}\n h-${o}\n a${n},${n} 0 0 1 -${n},-${n}\n v-${a}\n a${n},${n} 0 0 1 ${n},-${n}\n z` }({ x: 0, y: 0, width: j, height: F }, null !== (_ = U.lineWidth) && void 0 !== _ ? _ : 1); const W = { id: r.labelOfTopic(f, p), roles: [...C], bounds: { x: 0, y: 0, width: j, height: F }, absBounds: o.zeroRect(), contentType: "group", children: [U, R], contentHeight: F, overflow: "visible" }; return a.initializeBoxStyle(W, e, n, { layout: c }), { groupBox: W, textBox: R, textMeasurement: z, borderShapeBox: U } } }, 162: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.layoutFlex = void 0; const r = n(13); t.layoutFlex = function(e, t={}) { var n, i, o, a, s, l, u, c, d; const f = null !== (n = t.direction) && void 0 !== n ? n : "row" , h = Object.assign({}, null !== (i = t.paddings) && void 0 !== i ? i : r.zeroInsets()); "column" === f && (e.forEach(e=>{ const {width: t, height: n} = e.bounds; e.bounds.width = n, e.bounds.height = t } ), [h.left,h.top] = [h.top, h.left], [h.right,h.bottom] = [h.bottom, h.right]); const p = "column" === f ? null !== (o = t.maxHeight) && void 0 !== o ? o : 0 : null !== (a = t.maxWidth) && void 0 !== a ? a : 0 , g = null !== (s = t.spacings) && void 0 !== s ? s : [] , m = null !== (l = t.wrap) && void 0 !== l ? l : "nowrap" , v = null !== (u = t.justifyContent) && void 0 !== u ? u : "start" , y = null !== (c = t.alignItems) && void 0 !== c ? c : "start" , b = null !== (d = t.lineSpacing) && void 0 !== d ? d : 0; let _ = h.left , w = h.top , S = 0 , x = 0; const k = []; let I = { width: 0, height: 0, boxes: [] }; function C() { S = Math.max(S, I.width), k.length > 0 && (x += b), x += I.height, _ = h.left, w += I.height + b, k.push(I), I = { width: 0, height: 0, boxes: [] } } e.forEach((e,t)=>{ var n, r; I.boxes.length > 0 && (I.width += null !== (n = g[t - 1]) && void 0 !== n ? n : 0); const {width: i, height: o} = e.bounds; "wrap" === m && p > 0 && _ + i + h.right > p && C(), e.bounds.x = _, e.bounds.y = w; const a = null !== (r = g[t]) && void 0 !== r ? r : 0; _ += i + a, I.width += i, I.height = Math.max(I.height, o), I.boxes.push(e) } ), I.boxes.length > 0 && C(); for (const e of k) { const t = "center" === v && S > 0 ? (S - e.width) / 2 : "end" === v && S > 0 ? S - e.width : 0; e.boxes.forEach(n=>{ n.bounds.x += t; const r = "center" === y ? (e.height - n.bounds.height) / 2 : "end" === y ? e.height - n.bounds.height : 0; n.bounds.y += r } ) } return "column" === f && e.forEach(e=>{ const t = e.bounds , {x: n, y: r, width: i, height: o} = t; t.x = r, t.y = n, t.width = o, t.height = i } ), "column" === f ? { width: x + h.top + h.bottom, height: S + h.left + h.right } : { width: S + h.left + h.right, height: x + h.top + h.bottom } } }, 163: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeNoteTextBox = void 0; const r = n(5) , i = n(12) , o = n(13) , a = n(15) , s = n(42) , l = n(61); t.computeNoteTextBox = function(e, t, n, u, c, d) { var f; const {maxWidth: h, fontSize: p} = d , g = null !== (f = d.roles) && void 0 !== f ? f : [] , m = { id: r.noteOfTopic(u), roles: ["note", ...g], bounds: o.zeroRect(), absBounds: o.zeroRect(), contentType: "text", text: c, fontSize: i.toCSSLength(p), lineHeight: l.computeTextLineHeight(p), overflowWrap: "break-word" }; "textAlignment"in d && (m.textAlignment = d.textAlignment), a.initializeBoxStyle(m, e, t, { layout: n }); const v = s.measureText(m, { maxWidth: h }); return m.bounds.width = v.width, m.bounds.height = v.height, m } }, 164: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.searchForBestTopicSlideContent = t.computeTopicSlideContentGroup = void 0; const r = n(5) , i = n(13) , o = n(15) , a = n(34) , s = n(162); t.computeTopicSlideContentGroup = function(e, t, n, a, l, u) { const {maxWidth: c, maxHeight: d, paddings: f, contentAlignment: h, spacingBetweenTitleAndLabelList: p, spacingBetweenTitleAndNote: g, spacingBetweenLabelListAndNote: m, spacingBetweenCalloutAndTitle: v, scrollFaderSize: y, imagePlacement: b, spacingAroundImage: _} = u , w = [] , S = [] , x = l.imageBox ? Object.assign({}, l.imageBox) : null; x && "aboveTitle" === b && (w.push(x), S.push(null != _ ? _ : 0), x.bounds = Object.assign({}, x.bounds)); const k = l.calloutTextBox ? Object.assign({}, l.calloutTextBox) : null; k && (w.push(k), S.push(null != v ? v : 0), k.bounds = Object.assign({}, k.bounds), k.textAlignment = h); const I = Object.assign(Object.assign({}, l.titleGroup), { groupBox: Object.assign({}, l.titleGroup.groupBox) }); I.groupBox.bounds = Object.assign({}, I.groupBox.bounds), w.push(I.groupBox); const C = l.labelListGroupBox ? Object.assign({}, l.labelListGroupBox) : null; C && (S.push(null != p ? p : 0), w.push(C), C.bounds = Object.assign({}, C.bounds)); const M = l.noteTextBox ? Object.assign({}, l.noteTextBox) : null; M && (S.push(C ? null != m ? m : 0 : null != g ? g : 0), w.push(M), M.bounds = Object.assign({}, M.bounds), M.textAlignment = h), x && "belowTitle" === b && (w.push(x), S.push(null != _ ? _ : 0), x.bounds = Object.assign({}, x.bounds)); const T = s.layoutFlex(w, { spacings: S, maxWidth: c, maxHeight: d, paddings: f, direction: "column", alignItems: "leading" === h ? "start" : "trailing" === h ? "end" : "center" }) , A = Math.min(c, T.width) , E = Math.min(d, T.height) , O = { id: r.contentGroupOfTopic(a), roles: [], bounds: { x: 0, y: 0, width: A, height: E }, absBounds: i.zeroRect(), contentType: "group", children: w, contentHeight: T.height, overflow: T.height > d ? "scroll" : "visible", scrollFaderSize: y, scrollFaderType: "twoStops" }; return o.initializeBoxStyle(O, e, t, { layout: n }), { groupBox: O, titleGroup: I, labelListGroupBox: C, noteTextBox: M, calloutTextBox: k, imageBox: x } } , t.searchForBestTopicSlideContent = function(e, t, n, r) { var i; const {maxHeight: o, singleLineTitleMaxFontSize: s, singleLineTitleMinFontSize: l, doubleLineTitleMaxFontSize: u, doubleLineTitleMinFontSize: c, multilineTitleMaxFontSize: d, multilineTitleMinFontSize: f} = r , h = null !== (i = r.compactMaxHeight) && void 0 !== i ? i : null; let p = a.rangedIntegers(s, l) , g = a.mapValues(p, t=>e(t)) , m = a.findClosestMatch(g, e=>t(e) <= 1); if (m) return m; if (p = a.rangedIntegers(u, c), g = a.mapValues(p, t=>e(t)), m = a.findClosestMatch(g, e=>t(e) <= 2), m) return m; if (null !== h) { if (p = a.rangedIntegers(d, f), g = a.mapValues(p, t=>e(t)), m = a.findClosestMatch(g, e=>n(e) <= h), m) return m; const t = e(f); if (n(t) <= o) return t } else if (p = a.rangedIntegers(d, f), g = a.mapValues(p, t=>e(t)), m = a.findClosestMatch(g, e=>n(e) <= o), m) return m; return e(d) } }, 165: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeTopicLevel = void 0, t.computeTopicLevel = function(e, t) { var n; if ((t.getFloatingTopics ? t.getFloatingTopics() : []).includes(e)) return "floatingTopic"; const r = t.getParentTopicId(e); if (!r) return "centralTopic"; const {summaries: i} = null !== (n = t.getTopicAttributes(r)) && void 0 !== n ? n : { id: r, title: "" }; return (null != i ? i : []).some(t=>t.topicId === e) ? "summaryTopic" : (r ? t.getParentTopicId(r) : null) ? "subtopic" : "mainTopic" } }, 166: function(e, t, n) { "use strict"; function r() { let e = 0; return ()=>{ const t = e; return e += 1, t } } function i(e, t) { return t.filter(({endIndex: t})=>t === e).sort((e,t)=>t.startIndex - e.startIndex) } Object.defineProperty(t, "__esModule", { value: !0 }), t.computeSummariesEndingAt = t.makeIndexGenerator = t.describeSlideSequenceForTopic = void 0, t.describeSlideSequenceForTopic = function(e) { var t; const n = [] , {topic: o, topicLevel: a, subtopics: s, previousSiblingTopicId: l, nextSiblingTopicId: u} = e , {id: c} = o; "floatingTopic" === a ? l && n.push({ alias: { kind: "endOfTopic", topicId: l }, nextSlide: { kind: "outroOfTopic", topicId: l } }) : "summaryTopic" === a ? (n.push({ alias: { kind: "introOfSummary", topicId: c } }), n.push({ type: "summary", alias: { kind: "startOfSummary", topicId: c } })) : "centralTopic" !== a && n.push({ alias: { kind: "introOfTopic", topicId: c } }), n.push({ type: "topic", alias: { kind: "startOfTopic", topicId: c }, previousSlide: { kind: "introOfTopic", topicId: c } }); const d = r() , f = null !== (t = o.summaries) && void 0 !== t ? t : []; if (s.length > 0) { n.push({ type: "list", alias: { kind: "listOfTopic", topicId: c, index: d() }, layoutOptions: { numberOfVisitedTopics: 0 }, autoForwarding: !0, autoBackwarding: !0 }); for (let e = 0; e < s.length; e++) { const t = e; n.push({ type: "list", alias: { kind: "listOfTopic", topicId: c, index: d() }, layoutOptions: { numberOfVisitedTopics: t } }); const r = s[e]; n.push({ alias: { kind: "startOfTopic", topicId: r.id }, previousSlide: { kind: "introOfTopic", topicId: r.id } }), n.push({ alias: { kind: "endOfTopic", topicId: r.id }, nextSlide: { kind: "outroOfTopic", topicId: r.id } }); for (const r of i(e, f)) { const e = r.topicId , i = d(); n.push({ type: "list", alias: { kind: "listOfTopic", topicId: c, index: i }, layoutOptions: { numberOfVisitedTopics: t }, autoForwarding: !0 }), n.push({ alias: { kind: "startOfSummary", topicId: e }, previousSlide: { kind: "introOfSummary", topicId: e } }), n.push({ alias: { kind: "endOfSummary", topicId: e }, nextSlide: { kind: "outroOfSummary", topicId: e } }) } const o = e < s.length - 1; n.push({ type: "list", alias: { kind: "listOfTopic", topicId: c, index: d() }, layoutOptions: { numberOfVisitedTopics: t }, autoForwarding: o, autoBackwarding: o }) } } return "centralTopic" === a || "floatingTopic" === a ? u ? n.push({ alias: { kind: "startOfTopic", topicId: u }, previousSlide: { kind: "endOfTopic", topicId: c }, previousSlide2: { kind: "introOfTopic", topicId: u } }) : n.push({ previousSlide: { kind: "endOfTopic", topicId: c } }) : "summaryTopic" === a ? (n.push({ type: "summary", alias: { kind: "outroOfTopic", topicId: c }, previousSlide: { kind: "endOfTopic", topicId: c }, autoForwarding: !0 }), n.push({ alias: { kind: "outroOfSummary", topicId: c }, previousSlide: { kind: "endOfSummary", topicId: c } })) : n.push({ alias: { kind: "outroOfTopic", topicId: c }, previousSlide: { kind: "endOfTopic", topicId: c } }), n } , t.makeIndexGenerator = r, t.computeSummariesEndingAt = i }, 167: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.inSlideScrollOffsetRatio = t.computeMultistepBoxChange = t.computeMultistepBoxChangeInSlide = t.computeMultistepChange = void 0; const r = n(5); function i(e, t, n) { var i, a; for (const s of null !== (i = e.multistepBoxes) && void 0 !== i ? i : []) { const i = r.findBox(e.boxes, e=>e.id === s); if (i) { const e = o(i, null === (a = t.boxes) || void 0 === a ? void 0 : a.find(e=>e.id === s), n); if (e) return { boxes: [e] } } } return null } function o(e, n, r) { var i, o; if ("group" === e.contentType && e.contentHeight > e.bounds.height) { const a = Math.round(null !== (o = null !== (i = null == n ? void 0 : n.scrollOffset) && void 0 !== i ? i : e.scrollOffset) && void 0 !== o ? o : 0) , s = e.bounds.height * t.inSlideScrollOffsetRatio , l = Math.round(r.scroll(a, s)) , u = 0 , c = Math.round(Math.max(u, e.contentHeight - e.bounds.height)) , d = Math.max(u, Math.min(c, l)); return d === a ? null : { id: e.id, scrollOffset: d } } return null } t.computeMultistepChange = function(e, t, n) { switch (e.kind) { case "forward": return i(t, n, { scroll: (e,t)=>e + t }); case "backward": return i(t, n, { scroll: (e,t)=>e - t }); case "present": case "fastForward": case "fastBackward": case "changeAppearance": case "changeSlideSize": return null } } , t.computeMultistepBoxChangeInSlide = i, t.computeMultistepBoxChange = o, t.inSlideScrollOffsetRatio = .8 }, 168: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.TextView = void 0; const r = n(12) , i = n(51); class o extends i.BoxView { createViewElement() { const e = document.createElement("div"); return e.style.display = "block", e.style.position = "absolute", e.style.userSelect = "none", e.style.overflow = "visible", e.classList.add("pancake-view-text-view"), e } get textEl() { var e; return null !== (e = this._textEl) && void 0 !== e ? e : this._textEl = this._createTextElement() } _createTextElement() { const e = document.createElement("div"); return e.style.userSelect = "none", e.style.overflow = "visible", e.style.overflowWrap = "break-word", e.style.display = "block", e.style.position = "absolute", e.style.left = "0px", e.style.top = "0px", this.el.appendChild(e), e } update() { var e, t, n, i, o, a; super.update(); const s = r.toCSSLength(this.box.bounds.width) , l = r.toCSSLength(this.box.bounds.height); this.textEl.style.width = s, this.textEl.style.height = l, this.textEl.style.font = r.toCSSFont(this.box), this.textEl.style.color = null !== (e = this.box.textColor) && void 0 !== e ? e : "", this.textEl.style.textAlign = null !== (t = r.toCSSTextAlign(this.box.textAlignment)) && void 0 !== t ? t : "", this.textEl.style.overflowWrap = null !== (n = this.box.overflowWrap) && void 0 !== n ? n : "", this.textEl.style.textIndent = null !== (i = this.box.textIndent) && void 0 !== i ? i : "", this.textEl.style.textShadow = null !== (o = this.box.textShadow) && void 0 !== o ? o : "", this.textEl.style.letterSpacing = null !== (a = this.box.letterSpacing) && void 0 !== a ? a : ""; const u = this.textEl; u && (r.emptyElement(u), r.fillText(u, this.box.text)) } } t.TextView = o }, 169: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.ShapeView = void 0; const r = n(12) , i = n(51) , o = n(50); class a extends i.BoxView { createViewElement() { const e = document.createElementNS("http://www.w3.org/2000/svg", "svg"); return e.style.position = "absolute", e.style.pointerEvents = "none", e } get shape() { if (!this._shape) { if (this._shape = document.createElementNS("http://www.w3.org/2000/svg", "path"), this.box.markerStart) { const e = document.createElementNS("http://www.w3.org/2000/svg", "defs") , t = document.createElementNS("http://www.w3.org/2000/svg", "marker") , n = `marker-start-${(new Date).getTime()}-${Math.floor(1e3 * Math.random())}`; t.id = n, t.setAttribute("markerUnits", "userSpaceOnUse"), t.setAttribute("markerWidth", "" + this.box.markerStart.size.width), t.setAttribute("markerHeight", "" + this.box.markerStart.size.height), t.setAttribute("refX", "" + (this.box.markerStart.ref ? this.box.markerStart.ref.x : 0)), t.setAttribute("refY", "" + (this.box.markerStart.ref ? this.box.markerStart.ref.y : 0)); const r = document.createElementNS("http://www.w3.org/2000/svg", "path"); r.setAttribute("d", this.box.markerStart.path), t.appendChild(r), e.appendChild(t), this.el.appendChild(e), this.shape.style.markerStart = `url(#${n})`, this._markerStartEl = t } this.el.appendChild(this._shape) } return this._shape } update() { var e, t, n, i, a, s, l, u, c, d, f, h, p; super.update(), this.el.setAttribute("viewBox", `0 0 ${this.box.bounds.width} ${this.box.bounds.height}`), this.shape.setAttribute("d", null !== (e = this.box.shapePath) && void 0 !== e ? e : ""); const g = this.state; this.shape.style.fill = null !== (n = null !== (t = g.fillColor) && void 0 !== t ? t : this.box.fillColor) && void 0 !== n ? n : "transparent", this.shape.style.stroke = null !== (a = null !== (i = g.strokeColor) && void 0 !== i ? i : this.box.strokeColor) && void 0 !== a ? a : "transparent", this.shape.style.strokeWidth = r.toCSSLength(null !== (l = null !== (s = g.lineWidth) && void 0 !== s ? s : this.box.lineWidth) && void 0 !== l ? l : 0), this.shape.style.strokeLinecap = null !== (c = null !== (u = g.lineCap) && void 0 !== u ? u : this.box.lineCap) && void 0 !== c ? c : "", this.shape.style.strokeLinejoin = null !== (f = null !== (d = g.lineJoin) && void 0 !== d ? d : this.box.lineJoin) && void 0 !== f ? f : "", this._markerStartEl && (this._markerStartEl.style.fill = null !== (p = null !== (h = g.strokeColor) && void 0 !== h ? h : this.box.strokeColor) && void 0 !== p ? p : "transparent"), this.updateStyle(g, "strokeOffset", e=>o.ViewAnimator.perform(this.shape, { strokeOffset: null != e ? e : 0 })) } } t.ShapeView = a }, 170: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.ImageView = void 0; const r = n(12) , i = n(51); class o extends i.BoxView { createViewElement() { const e = document.createElement("img"); return e.style.display = "block", e.style.position = "absolute", e.style.userSelect = "none", e } update() { var e; super.update(); const t = r.toCSSLength(this.box.bounds.width) , n = r.toCSSLength(this.box.bounds.height); this.el.style.width = t, this.el.style.height = n, this.el.style.objectFit = null !== (e = this.box.objectFit) && void 0 !== e ? e : "", this.el.src = this.box.imageSource } } t.ImageView = o }, 171: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.SVGTemplateView = void 0; const r = n(51) , i = n(12); class o extends r.BoxView { createViewElement() { const e = document.createElement("div"); return e.style.display = "block", e.style.position = "absolute", e.style.userSelect = "none", e } get svgEl() { var e; return null !== (e = this._svgEl) && void 0 !== e ? e : this._svgEl = this._createSVGElement() } _createSVGElement() { var e; const t = this._createSvgDom(this.box.svg); return t.setAttribute("fill", null !== (e = this.box.fillColor) && void 0 !== e ? e : ""), this.el.appendChild(t), t } update() { super.update(); const e = i.toCSSLength(this.box.bounds.width) , t = i.toCSSLength(this.box.bounds.height); this.svgEl.style.width = e, this.svgEl.style.height = t } _createSvgDom(e) { return (new DOMParser).parseFromString(e, "image/svg+xml").documentElement } } t.SVGTemplateView = o }, 172: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } , i = this && this.__importDefault || function(e) { return e && e.__esModule ? e : { default: e } } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.SlideView = void 0; const o = n(76) , a = n(51) , s = n(112) , l = n(50) , u = n(111) , c = n(12) , d = n(110) , f = i(n(70)) , h = n(13); class p extends o.View { constructor() { super(...arguments), this.slide = null, this.slideState = {}, this._boxViews = [], this._renderedState = {} } createViewElement() { const e = document.createElement("div"); return e.style.display = "block", e.style.position = "relative", e.style.overflow = "hidden", e } get positionMode() { return "absolute" === this.el.style.position ? "manual" : "auto" } set positionMode(e) { this.el.style.position = "manual" === e ? "absolute" : "relative" } get backgroundEl() { var e; return null !== (e = this._backgroundEl) && void 0 !== e ? e : this._backgroundEl = this.createBackgroundElement() } createBackgroundElement() { const e = this.createLayerElement(); return this.el.insertBefore(e, this.el.firstChild), e } get contentEl() { var e; return null !== (e = this._contentEl) && void 0 !== e ? e : this._contentEl = this.createContentElement() } createContentElement() { const e = this.createLayerElement(); return this.el.appendChild(e), e } createLayerElement() { const e = document.createElement("div"); return e.style.display = "block", e.style.position = "absolute", e.style.top = "0px", e.style.left = "0px", e.style.backgroundColor = "none", e } get boxViews() { return [...this._boxViews] } update() { var e, t, n, r, i, o; super.update(); const a = null !== (t = null === (e = this.slide) || void 0 === e ? void 0 : e.width) && void 0 !== t ? t : 1 , u = null !== (r = null === (n = this.slide) || void 0 === n ? void 0 : n.height) && void 0 !== r ? r : 1 , d = c.toCSSLength(a) , f = c.toCSSLength(u); this.el.style.width = d, this.el.style.height = f, this.backgroundEl.style.width = d, this.backgroundEl.style.height = f, this.contentEl.style.width = d, this.contentEl.style.height = f; const h = this.slideState; this._updateStyle(h, "opacity", e=>l.ViewAnimator.perform(this.el, { opacity: null != e ? e : 1 })), this._updateStyle(h, "backgroundOpacity", e=>l.ViewAnimator.perform(this.backgroundEl, { opacity: null != e ? e : 1 })), this._updateStyle(h, "backgroundColor", e=>l.ViewAnimator.perform(this.backgroundEl, { backgroundColor: null != e ? e : "none" })); const p = [...this._boxViews] , g = null !== (o = null === (i = this.slide) || void 0 === i ? void 0 : i.boxes) && void 0 !== o ? o : []; for (let e = 0; e < g.length; e++) { const t = g[e]; let n = p[e]; if (n) if (n.box.id === t.id) n.box = t, n.update(); else { const r = p.slice(e + 1).find(e=>e.box.id === t.id); if (r) this.contentEl.insertBefore(r.el, n.el), r.box = t, r.update(), p.splice(e, 0, r); else { const r = s.createBoxView(this, t); this.contentEl.insertBefore(r.el, n.el), r.update(), p.splice(e, 0, r), this.connected && r.connect() } } else n = s.createBoxView(this, t), this.contentEl.appendChild(n.el), n.update(), p.push(n) } for (; p.length > g.length; ) { const e = p.pop(); this.connected && e.disconnect(), this.contentEl.removeChild(e.el) } this._boxViews = p, this._updateHitRegionEls(h) } _updateStyle(e, t, n) { var r, i; const o = null !== (r = null == e ? void 0 : e[t]) && void 0 !== r ? r : null === (i = this.slide) || void 0 === i ? void 0 : i[t]; o !== this._renderedState[t] && (n(o), this._renderedState[t] = o) } stackWith(e) { this.el.insertBefore(e.contentEl, this.contentEl.nextSibling), this.el.insertBefore(e.backgroundEl, this.backgroundEl.nextSibling) } unstackWith(e) { e.el.appendChild(e.contentEl), e.el.insertBefore(e.backgroundEl, e.el.firstChild) } getBoxViewById(e) { return this.findBoxView(t=>t.box.id === e) } findBoxView(e) { let t = null; return this.forEachBoxView((n,r)=>{ if (e(n)) return t = n, r() } ), t } forEachBoxView(e) { return a.forEachBoxViewIn(this._boxViews, e) } connect() { super.connect(); for (const e of this._boxViews) e.connect() } disconnect() { for (const e of this._boxViews) e.disconnect(); super.disconnect() } clone() { const e = new p; e.slide = this.slide, e.update(); const t = {}; return this.forEachBoxView((function(e) { e instanceof u.GroupView && (t[e.box.id] = e.scrollOffset) } )), e.forEachBoxView((function(e) { if (e instanceof u.GroupView) { const n = t[e.box.id]; void 0 !== n && (e.scrollOffset = n) } } )), e } get hitRegionEls() { var e; return null !== (e = this._hitRegionEls) && void 0 !== e ? e : [] } _createHitRegionEl() { const e = document.createElement("div"); return e.style.position = "absolute", e.style.borderStyle = "solid", e.style.transition = "opacity 0.15s ease-in-out", e.style.userSelect = "none", e.style.pointerEvents = "none", e.style.opacity = "0", e.style.setProperty("backdrop-filter", "blur(20px)"), this.el.insertBefore(e, this.contentEl), e } _updateHitRegionEl(e, t, n) { var r, i, o, a, s, l, u, d, f, h, p, g, m; const v = e; v.style.opacity = "" + t.opacity, v.style.background = null !== (o = null !== (r = null == n ? void 0 : n.hitRegionFillColor) && void 0 !== r ? r : null === (i = this.slide) || void 0 === i ? void 0 : i.hitRegionFillColor) && void 0 !== o ? o : "rgba(0,0,0,0.5)", v.style.borderRadius = c.toCSSLength(null !== (a = null == n ? void 0 : n.hitRegionCornerRadius) && void 0 !== a ? a : null === (s = this.slide) || void 0 === s ? void 0 : s.hitRegionCornerRadius), v.style.borderWidth = c.toCSSLength(null !== (l = null == n ? void 0 : n.hitRegionLineWidth) && void 0 !== l ? l : null === (u = this.slide) || void 0 === u ? void 0 : u.hitRegionLineWidth), v.style.borderColor = null !== (h = null !== (d = null == n ? void 0 : n.hitRegionStrokeColor) && void 0 !== d ? d : null === (f = this.slide) || void 0 === f ? void 0 : f.hitRegionStrokeColor) && void 0 !== h ? h : "rgba(0,0,0,0.6)", v.style.boxShadow = null !== (m = null !== (p = null == n ? void 0 : n.hitRegionBoxShadow) && void 0 !== p ? p : null === (g = this.slide) || void 0 === g ? void 0 : g.hitRegionBoxShadow) && void 0 !== m ? m : "", v.style.transform = `translate(${c.toCSSLength(t.x)}, ${c.toCSSLength(t.y)})`, v.style.width = c.toCSSLength(t.width), v.style.height = c.toCSSLength(t.height) } enterHitRegionActiveEffect(e, t=200) { var n, i; return r(this, void 0, void 0, (function*() { const r = this.hitRegionEls.find(t=>h.intersectDOMRect(t.getBoundingClientRect(), e.el.getBoundingClientRect())); r && (yield Promise.all([f.default({ targets: r, background: null !== (i = null === (n = this.slide) || void 0 === n ? void 0 : n.hitRegionActiveFillColor) && void 0 !== i ? i : "rgba(196, 196, 196, 0.3)", easing: "easeOutQuad", duration: t }).finished, f.default({ targets: [r, e.el], scale: .97, easing: "easeOutQuad", duration: t }).finished])) } )) } cancelHitRegionActiveEffect(e, t=100) { var n, i; return r(this, void 0, void 0, (function*() { const r = this.hitRegionEls.find(t=>h.intersectDOMRect(t.getBoundingClientRect(), e.el.getBoundingClientRect())); r && (yield Promise.all([f.default({ targets: r, background: null !== (i = null === (n = this.slide) || void 0 === n ? void 0 : n.hitRegionFillColor) && void 0 !== i ? i : "rgba(196, 196, 196, 0.3)", easing: "easeOutQuad", duration: t }).finished, f.default({ targets: [r, e.el], scale: 1, easing: "easeOutQuad", duration: t }).finished])) } )) } _updateHitRegionEls(e) { var t; const n = null === (t = d.findPresentationContext(this, "presentationState")) || void 0 === t ? void 0 : t.presentationState , r = null == n ? void 0 : n.hitRegions; r ? 1 === r.length && 1 === this.hitRegionEls.length ? this._updateHitRegionEl(this.hitRegionEls[0], r[0], e) : (this.hitRegionEls.forEach(e=>this.el.removeChild(e)), this._hitRegionEls = [], r.forEach(t=>{ var n; const r = this._createHitRegionEl(); this._updateHitRegionEl(r, t, e), null === (n = this._hitRegionEls) || void 0 === n || n.push(r) } )) : (this.hitRegionEls.forEach(e=>this.el.removeChild(e)), this._hitRegionEls = []) } } t.SlideView = p }, 173: function(e, t, n) { (function(e, r) { var i; /** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */ (function() { var o = "Expected a function" , a = "__lodash_placeholder__" , s = [["ary", 128], ["bind", 1], ["bindKey", 2], ["curry", 8], ["curryRight", 16], ["flip", 512], ["partial", 32], ["partialRight", 64], ["rearg", 256]] , l = "[object Arguments]" , u = "[object Array]" , c = "[object Boolean]" , d = "[object Date]" , f = "[object Error]" , h = "[object Function]" , p = "[object GeneratorFunction]" , g = "[object Map]" , m = "[object Number]" , v = "[object Object]" , y = "[object RegExp]" , b = "[object Set]" , _ = "[object String]" , w = "[object Symbol]" , S = "[object WeakMap]" , x = "[object ArrayBuffer]" , k = "[object DataView]" , I = "[object Float32Array]" , C = "[object Float64Array]" , M = "[object Int8Array]" , T = "[object Int16Array]" , A = "[object Int32Array]" , E = "[object Uint8Array]" , O = "[object Uint16Array]" , B = "[object Uint32Array]" , L = /\b__p \+= '';/g , P = /\b(__p \+=) '' \+/g , R = /(__e\(.*?\)|\b__t\)) \+\n'';/g , z = /&(?:amp|lt|gt|quot|#39);/g , j = /[&<>"']/g , F = RegExp(z.source) , D = RegExp(j.source) , N = /<%-([\s\S]+?)%>/g , U = /<%([\s\S]+?)%>/g , W = /<%=([\s\S]+?)%>/g , H = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/ , V = /^\w*$/ , $ = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g , G = /[\\^$.*+?()[\]{}|]/g , Z = RegExp(G.source) , q = /^\s+|\s+$/g , Y = /^\s+/ , X = /\s+$/ , J = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/ , Q = /\{\n\/\* \[wrapped with (.+)\] \*/ , K = /,? & / , ee = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g , te = /\\(\\)?/g , ne = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g , re = /\w*$/ , ie = /^[-+]0x[0-9a-f]+$/i , oe = /^0b[01]+$/i , ae = /^\[object .+?Constructor\]$/ , se = /^0o[0-7]+$/i , le = /^(?:0|[1-9]\d*)$/ , ue = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g , ce = /($^)/ , de = /['\n\r\u2028\u2029\\]/g , fe = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff" , he = "\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000" , pe = "[\\ud800-\\udfff]" , ge = "[" + he + "]" , me = "[" + fe + "]" , ve = "\\d+" , ye = "[\\u2700-\\u27bf]" , be = "[a-z\\xdf-\\xf6\\xf8-\\xff]" , _e = "[^\\ud800-\\udfff" + he + ve + "\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]" , we = "\\ud83c[\\udffb-\\udfff]" , Se = "[^\\ud800-\\udfff]" , xe = "(?:\\ud83c[\\udde6-\\uddff]){2}" , ke = "[\\ud800-\\udbff][\\udc00-\\udfff]" , Ie = "[A-Z\\xc0-\\xd6\\xd8-\\xde]" , Ce = "(?:" + be + "|" + _e + ")" , Me = "(?:" + Ie + "|" + _e + ")" , Te = "(?:" + me + "|" + we + ")" + "?" , Ae = "[\\ufe0e\\ufe0f]?" + Te + ("(?:\\u200d(?:" + [Se, xe, ke].join("|") + ")[\\ufe0e\\ufe0f]?" + Te + ")*") , Ee = "(?:" + [ye, xe, ke].join("|") + ")" + Ae , Oe = "(?:" + [Se + me + "?", me, xe, ke, pe].join("|") + ")" , Be = RegExp("['’]", "g") , Le = RegExp(me, "g") , Pe = RegExp(we + "(?=" + we + ")|" + Oe + Ae, "g") , Re = RegExp([Ie + "?" + be + "+(?:['’](?:d|ll|m|re|s|t|ve))?(?=" + [ge, Ie, "$"].join("|") + ")", Me + "+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=" + [ge, Ie + Ce, "$"].join("|") + ")", Ie + "?" + Ce + "+(?:['’](?:d|ll|m|re|s|t|ve))?", Ie + "+(?:['’](?:D|LL|M|RE|S|T|VE))?", "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ve, Ee].join("|"), "g") , ze = RegExp("[\\u200d\\ud800-\\udfff" + fe + "\\ufe0e\\ufe0f]") , je = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/ , Fe = ["Array", "Buffer", "DataView", "Date", "Error", "Float32Array", "Float64Array", "Function", "Int8Array", "Int16Array", "Int32Array", "Map", "Math", "Object", "Promise", "RegExp", "Set", "String", "Symbol", "TypeError", "Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array", "WeakMap", "_", "clearTimeout", "isFinite", "parseInt", "setTimeout"] , De = -1 , Ne = {}; Ne[I] = Ne[C] = Ne[M] = Ne[T] = Ne[A] = Ne[E] = Ne["[object Uint8ClampedArray]"] = Ne[O] = Ne[B] = !0, Ne[l] = Ne[u] = Ne[x] = Ne[c] = Ne[k] = Ne[d] = Ne[f] = Ne[h] = Ne[g] = Ne[m] = Ne[v] = Ne[y] = Ne[b] = Ne[_] = Ne[S] = !1; var Ue = {}; Ue[l] = Ue[u] = Ue[x] = Ue[k] = Ue[c] = Ue[d] = Ue[I] = Ue[C] = Ue[M] = Ue[T] = Ue[A] = Ue[g] = Ue[m] = Ue[v] = Ue[y] = Ue[b] = Ue[_] = Ue[w] = Ue[E] = Ue["[object Uint8ClampedArray]"] = Ue[O] = Ue[B] = !0, Ue[f] = Ue[h] = Ue[S] = !1; var We = { "\\": "\\", "'": "'", "\n": "n", "\r": "r", "\u2028": "u2028", "\u2029": "u2029" } , He = parseFloat , Ve = parseInt , $e = "object" == typeof e && e && e.Object === Object && e , Ge = "object" == typeof self && self && self.Object === Object && self , Ze = $e || Ge || Function("return this")() , qe = t && !t.nodeType && t , Ye = qe && "object" == typeof r && r && !r.nodeType && r , Xe = Ye && Ye.exports === qe , Je = Xe && $e.process , Qe = function() { try { var e = Ye && Ye.require && Ye.require("util").types; return e || Je && Je.binding && Je.binding("util") } catch (e) {} }() , Ke = Qe && Qe.isArrayBuffer , et = Qe && Qe.isDate , tt = Qe && Qe.isMap , nt = Qe && Qe.isRegExp , rt = Qe && Qe.isSet , it = Qe && Qe.isTypedArray; function ot(e, t, n) { switch (n.length) { case 0: return e.call(t); case 1: return e.call(t, n[0]); case 2: return e.call(t, n[0], n[1]); case 3: return e.call(t, n[0], n[1], n[2]) } return e.apply(t, n) } function at(e, t, n, r) { for (var i = -1, o = null == e ? 0 : e.length; ++i < o; ) { var a = e[i]; t(r, a, n(a), e) } return r } function st(e, t) { for (var n = -1, r = null == e ? 0 : e.length; ++n < r && !1 !== t(e[n], n, e); ) ; return e } function lt(e, t) { for (var n = null == e ? 0 : e.length; n-- && !1 !== t(e[n], n, e); ) ; return e } function ut(e, t) { for (var n = -1, r = null == e ? 0 : e.length; ++n < r; ) if (!t(e[n], n, e)) return !1; return !0 } function ct(e, t) { for (var n = -1, r = null == e ? 0 : e.length, i = 0, o = []; ++n < r; ) { var a = e[n]; t(a, n, e) && (o[i++] = a) } return o } function dt(e, t) { return !!(null == e ? 0 : e.length) && wt(e, t, 0) > -1 } function ft(e, t, n) { for (var r = -1, i = null == e ? 0 : e.length; ++r < i; ) if (n(t, e[r])) return !0; return !1 } function ht(e, t) { for (var n = -1, r = null == e ? 0 : e.length, i = Array(r); ++n < r; ) i[n] = t(e[n], n, e); return i } function pt(e, t) { for (var n = -1, r = t.length, i = e.length; ++n < r; ) e[i + n] = t[n]; return e } function gt(e, t, n, r) { var i = -1 , o = null == e ? 0 : e.length; for (r && o && (n = e[++i]); ++i < o; ) n = t(n, e[i], i, e); return n } function mt(e, t, n, r) { var i = null == e ? 0 : e.length; for (r && i && (n = e[--i]); i--; ) n = t(n, e[i], i, e); return n } function vt(e, t) { for (var n = -1, r = null == e ? 0 : e.length; ++n < r; ) if (t(e[n], n, e)) return !0; return !1 } var yt = It("length"); function bt(e, t, n) { var r; return n(e, (function(e, n, i) { if (t(e, n, i)) return r = n, !1 } )), r } function _t(e, t, n, r) { for (var i = e.length, o = n + (r ? 1 : -1); r ? o-- : ++o < i; ) if (t(e[o], o, e)) return o; return -1 } function wt(e, t, n) { return t == t ? function(e, t, n) { var r = n - 1 , i = e.length; for (; ++r < i; ) if (e[r] === t) return r; return -1 }(e, t, n) : _t(e, xt, n) } function St(e, t, n, r) { for (var i = n - 1, o = e.length; ++i < o; ) if (r(e[i], t)) return i; return -1 } function xt(e) { return e != e } function kt(e, t) { var n = null == e ? 0 : e.length; return n ? Tt(e, t) / n : NaN } function It(e) { return function(t) { return null == t ? void 0 : t[e] } } function Ct(e) { return function(t) { return null == e ? void 0 : e[t] } } function Mt(e, t, n, r, i) { return i(e, (function(e, i, o) { n = r ? (r = !1, e) : t(n, e, i, o) } )), n } function Tt(e, t) { for (var n, r = -1, i = e.length; ++r < i; ) { var o = t(e[r]); void 0 !== o && (n = void 0 === n ? o : n + o) } return n } function At(e, t) { for (var n = -1, r = Array(e); ++n < e; ) r[n] = t(n); return r } function Et(e) { return function(t) { return e(t) } } function Ot(e, t) { return ht(t, (function(t) { return e[t] } )) } function Bt(e, t) { return e.has(t) } function Lt(e, t) { for (var n = -1, r = e.length; ++n < r && wt(t, e[n], 0) > -1; ) ; return n } function Pt(e, t) { for (var n = e.length; n-- && wt(t, e[n], 0) > -1; ) ; return n } function Rt(e, t) { for (var n = e.length, r = 0; n--; ) e[n] === t && ++r; return r } var zt = Ct({ "À": "A", "Á": "A", "Â": "A", "Ã": "A", "Ä": "A", "Å": "A", "à": "a", "á": "a", "â": "a", "ã": "a", "ä": "a", "å": "a", "Ç": "C", "ç": "c", "Ð": "D", "ð": "d", "È": "E", "É": "E", "Ê": "E", "Ë": "E", "è": "e", "é": "e", "ê": "e", "ë": "e", "Ì": "I", "Í": "I", "Î": "I", "Ï": "I", "ì": "i", "í": "i", "î": "i", "ï": "i", "Ñ": "N", "ñ": "n", "Ò": "O", "Ó": "O", "Ô": "O", "Õ": "O", "Ö": "O", "Ø": "O", "ò": "o", "ó": "o", "ô": "o", "õ": "o", "ö": "o", "ø": "o", "Ù": "U", "Ú": "U", "Û": "U", "Ü": "U", "ù": "u", "ú": "u", "û": "u", "ü": "u", "Ý": "Y", "ý": "y", "ÿ": "y", "Æ": "Ae", "æ": "ae", "Þ": "Th", "þ": "th", "ß": "ss", "Ā": "A", "Ă": "A", "Ą": "A", "ā": "a", "ă": "a", "ą": "a", "Ć": "C", "Ĉ": "C", "Ċ": "C", "Č": "C", "ć": "c", "ĉ": "c", "ċ": "c", "č": "c", "Ď": "D", "Đ": "D", "ď": "d", "đ": "d", "Ē": "E", "Ĕ": "E", "Ė": "E", "Ę": "E", "Ě": "E", "ē": "e", "ĕ": "e", "ė": "e", "ę": "e", "ě": "e", "Ĝ": "G", "Ğ": "G", "Ġ": "G", "Ģ": "G", "ĝ": "g", "ğ": "g", "ġ": "g", "ģ": "g", "Ĥ": "H", "Ħ": "H", "ĥ": "h", "ħ": "h", "Ĩ": "I", "Ī": "I", "Ĭ": "I", "Į": "I", "İ": "I", "ĩ": "i", "ī": "i", "ĭ": "i", "į": "i", "ı": "i", "Ĵ": "J", "ĵ": "j", "Ķ": "K", "ķ": "k", "ĸ": "k", "Ĺ": "L", "Ļ": "L", "Ľ": "L", "Ŀ": "L", "Ł": "L", "ĺ": "l", "ļ": "l", "ľ": "l", "ŀ": "l", "ł": "l", "Ń": "N", "Ņ": "N", "Ň": "N", "Ŋ": "N", "ń": "n", "ņ": "n", "ň": "n", "ŋ": "n", "Ō": "O", "Ŏ": "O", "Ő": "O", "ō": "o", "ŏ": "o", "ő": "o", "Ŕ": "R", "Ŗ": "R", "Ř": "R", "ŕ": "r", "ŗ": "r", "ř": "r", "Ś": "S", "Ŝ": "S", "Ş": "S", "Š": "S", "ś": "s", "ŝ": "s", "ş": "s", "š": "s", "Ţ": "T", "Ť": "T", "Ŧ": "T", "ţ": "t", "ť": "t", "ŧ": "t", "Ũ": "U", "Ū": "U", "Ŭ": "U", "Ů": "U", "Ű": "U", "Ų": "U", "ũ": "u", "ū": "u", "ŭ": "u", "ů": "u", "ű": "u", "ų": "u", "Ŵ": "W", "ŵ": "w", "Ŷ": "Y", "ŷ": "y", "Ÿ": "Y", "Ź": "Z", "Ż": "Z", "Ž": "Z", "ź": "z", "ż": "z", "ž": "z", "IJ": "IJ", "ij": "ij", "Œ": "Oe", "œ": "oe", "ʼn": "'n", "ſ": "s" }) , jt = Ct({ "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }); function Ft(e) { return "\\" + We[e] } function Dt(e) { return ze.test(e) } function Nt(e) { var t = -1 , n = Array(e.size); return e.forEach((function(e, r) { n[++t] = [r, e] } )), n } function Ut(e, t) { return function(n) { return e(t(n)) } } function Wt(e, t) { for (var n = -1, r = e.length, i = 0, o = []; ++n < r; ) { var s = e[n]; s !== t && s !== a || (e[n] = a, o[i++] = n) } return o } function Ht(e) { var t = -1 , n = Array(e.size); return e.forEach((function(e) { n[++t] = e } )), n } function Vt(e) { var t = -1 , n = Array(e.size); return e.forEach((function(e) { n[++t] = [e, e] } )), n } function $t(e) { return Dt(e) ? function(e) { var t = Pe.lastIndex = 0; for (; Pe.test(e); ) ++t; return t }(e) : yt(e) } function Gt(e) { return Dt(e) ? function(e) { return e.match(Pe) || [] }(e) : function(e) { return e.split("") }(e) } var Zt = Ct({ "&": "&", "<": "<", ">": ">", """: '"', "'": "'" }); var qt = function e(t) { var n, r = (t = null == t ? Ze : qt.defaults(Ze.Object(), t, qt.pick(Ze, Fe))).Array, i = t.Date, fe = t.Error, he = t.Function, pe = t.Math, ge = t.Object, me = t.RegExp, ve = t.String, ye = t.TypeError, be = r.prototype, _e = he.prototype, we = ge.prototype, Se = t["__core-js_shared__"], xe = _e.toString, ke = we.hasOwnProperty, Ie = 0, Ce = (n = /[^.]+$/.exec(Se && Se.keys && Se.keys.IE_PROTO || "")) ? "Symbol(src)_1." + n : "", Me = we.toString, Te = xe.call(ge), Ae = Ze._, Ee = me("^" + xe.call(ke).replace(G, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), Oe = Xe ? t.Buffer : void 0, Pe = t.Symbol, ze = t.Uint8Array, We = Oe ? Oe.allocUnsafe : void 0, $e = Ut(ge.getPrototypeOf, ge), Ge = ge.create, qe = we.propertyIsEnumerable, Ye = be.splice, Je = Pe ? Pe.isConcatSpreadable : void 0, Qe = Pe ? Pe.iterator : void 0, yt = Pe ? Pe.toStringTag : void 0, Ct = function() { try { var e = Ki(ge, "defineProperty"); return e({}, "", {}), e } catch (e) {} }(), Yt = t.clearTimeout !== Ze.clearTimeout && t.clearTimeout, Xt = i && i.now !== Ze.Date.now && i.now, Jt = t.setTimeout !== Ze.setTimeout && t.setTimeout, Qt = pe.ceil, Kt = pe.floor, en = ge.getOwnPropertySymbols, tn = Oe ? Oe.isBuffer : void 0, nn = t.isFinite, rn = be.join, on = Ut(ge.keys, ge), an = pe.max, sn = pe.min, ln = i.now, un = t.parseInt, cn = pe.random, dn = be.reverse, fn = Ki(t, "DataView"), hn = Ki(t, "Map"), pn = Ki(t, "Promise"), gn = Ki(t, "Set"), mn = Ki(t, "WeakMap"), vn = Ki(ge, "create"), yn = mn && new mn, bn = {}, _n = Mo(fn), wn = Mo(hn), Sn = Mo(pn), xn = Mo(gn), kn = Mo(mn), In = Pe ? Pe.prototype : void 0, Cn = In ? In.valueOf : void 0, Mn = In ? In.toString : void 0; function Tn(e) { if (Va(e) && !La(e) && !(e instanceof Bn)) { if (e instanceof On) return e; if (ke.call(e, "__wrapped__")) return To(e) } return new On(e) } var An = function() { function e() {} return function(t) { if (!Ha(t)) return {}; if (Ge) return Ge(t); e.prototype = t; var n = new e; return e.prototype = void 0, n } }(); function En() {} function On(e, t) { this.__wrapped__ = e, this.__actions__ = [], this.__chain__ = !!t, this.__index__ = 0, this.__values__ = void 0 } function Bn(e) { this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = 4294967295, this.__views__ = [] } function Ln(e) { var t = -1 , n = null == e ? 0 : e.length; for (this.clear(); ++t < n; ) { var r = e[t]; this.set(r[0], r[1]) } } function Pn(e) { var t = -1 , n = null == e ? 0 : e.length; for (this.clear(); ++t < n; ) { var r = e[t]; this.set(r[0], r[1]) } } function Rn(e) { var t = -1 , n = null == e ? 0 : e.length; for (this.clear(); ++t < n; ) { var r = e[t]; this.set(r[0], r[1]) } } function zn(e) { var t = -1 , n = null == e ? 0 : e.length; for (this.__data__ = new Rn; ++t < n; ) this.add(e[t]) } function jn(e) { var t = this.__data__ = new Pn(e); this.size = t.size } function Fn(e, t) { var n = La(e) , r = !n && Ba(e) , i = !n && !r && ja(e) , o = !n && !r && !i && Qa(e) , a = n || r || i || o , s = a ? At(e.length, ve) : [] , l = s.length; for (var u in e) !t && !ke.call(e, u) || a && ("length" == u || i && ("offset" == u || "parent" == u) || o && ("buffer" == u || "byteLength" == u || "byteOffset" == u) || ao(u, l)) || s.push(u); return s } function Dn(e) { var t = e.length; return t ? e[zr(0, t - 1)] : void 0 } function Nn(e, t) { return ko(vi(e), Yn(t, 0, e.length)) } function Un(e) { return ko(vi(e)) } function Wn(e, t, n) { (void 0 !== n && !Aa(e[t], n) || void 0 === n && !(t in e)) && Zn(e, t, n) } function Hn(e, t, n) { var r = e[t]; ke.call(e, t) && Aa(r, n) && (void 0 !== n || t in e) || Zn(e, t, n) } function Vn(e, t) { for (var n = e.length; n--; ) if (Aa(e[n][0], t)) return n; return -1 } function $n(e, t, n, r) { return er(e, (function(e, i, o) { t(r, e, n(e), o) } )), r } function Gn(e, t) { return e && yi(t, _s(t), e) } function Zn(e, t, n) { "__proto__" == t && Ct ? Ct(e, t, { configurable: !0, enumerable: !0, value: n, writable: !0 }) : e[t] = n } function qn(e, t) { for (var n = -1, i = t.length, o = r(i), a = null == e; ++n < i; ) o[n] = a ? void 0 : gs(e, t[n]); return o } function Yn(e, t, n) { return e == e && (void 0 !== n && (e = e <= n ? e : n), void 0 !== t && (e = e >= t ? e : t)), e } function Xn(e, t, n, r, i, o) { var a, s = 1 & t, u = 2 & t, f = 4 & t; if (n && (a = i ? n(e, r, i, o) : n(e)), void 0 !== a) return a; if (!Ha(e)) return e; var S = La(e); if (S) { if (a = function(e) { var t = e.length , n = new e.constructor(t); t && "string" == typeof e[0] && ke.call(e, "index") && (n.index = e.index, n.input = e.input); return n }(e), !s) return vi(e, a) } else { var L = no(e) , P = L == h || L == p; if (ja(e)) return di(e, s); if (L == v || L == l || P && !i) { if (a = u || P ? {} : io(e), !s) return u ? function(e, t) { return yi(e, to(e), t) }(e, function(e, t) { return e && yi(t, ws(t), e) }(a, e)) : function(e, t) { return yi(e, eo(e), t) }(e, Gn(a, e)) } else { if (!Ue[L]) return i ? e : {}; a = function(e, t, n) { var r = e.constructor; switch (t) { case x: return fi(e); case c: case d: return new r(+e); case k: return function(e, t) { var n = t ? fi(e.buffer) : e.buffer; return new e.constructor(n,e.byteOffset,e.byteLength) }(e, n); case I: case C: case M: case T: case A: case E: case "[object Uint8ClampedArray]": case O: case B: return hi(e, n); case g: return new r; case m: case _: return new r(e); case y: return function(e) { var t = new e.constructor(e.source,re.exec(e)); return t.lastIndex = e.lastIndex, t }(e); case b: return new r; case w: return i = e, Cn ? ge(Cn.call(i)) : {} } var i }(e, L, s) } } o || (o = new jn); var R = o.get(e); if (R) return R; o.set(e, a), Ya(e) ? e.forEach((function(r) { a.add(Xn(r, t, n, r, e, o)) } )) : $a(e) && e.forEach((function(r, i) { a.set(i, Xn(r, t, n, i, e, o)) } )); var z = S ? void 0 : (f ? u ? Gi : $i : u ? ws : _s)(e); return st(z || e, (function(r, i) { z && (r = e[i = r]), Hn(a, i, Xn(r, t, n, i, e, o)) } )), a } function Jn(e, t, n) { var r = n.length; if (null == e) return !r; for (e = ge(e); r--; ) { var i = n[r] , o = t[i] , a = e[i]; if (void 0 === a && !(i in e) || !o(a)) return !1 } return !0 } function Qn(e, t, n) { if ("function" != typeof e) throw new ye(o); return _o((function() { e.apply(void 0, n) } ), t) } function Kn(e, t, n, r) { var i = -1 , o = dt , a = !0 , s = e.length , l = [] , u = t.length; if (!s) return l; n && (t = ht(t, Et(n))), r ? (o = ft, a = !1) : t.length >= 200 && (o = Bt, a = !1, t = new zn(t)); e: for (; ++i < s; ) { var c = e[i] , d = null == n ? c : n(c); if (c = r || 0 !== c ? c : 0, a && d == d) { for (var f = u; f--; ) if (t[f] === d) continue e; l.push(c) } else o(t, d, r) || l.push(c) } return l } Tn.templateSettings = { escape: N, evaluate: U, interpolate: W, variable: "", imports: { _: Tn } }, Tn.prototype = En.prototype, Tn.prototype.constructor = Tn, On.prototype = An(En.prototype), On.prototype.constructor = On, Bn.prototype = An(En.prototype), Bn.prototype.constructor = Bn, Ln.prototype.clear = function() { this.__data__ = vn ? vn(null) : {}, this.size = 0 } , Ln.prototype.delete = function(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t } , Ln.prototype.get = function(e) { var t = this.__data__; if (vn) { var n = t[e]; return "__lodash_hash_undefined__" === n ? void 0 : n } return ke.call(t, e) ? t[e] : void 0 } , Ln.prototype.has = function(e) { var t = this.__data__; return vn ? void 0 !== t[e] : ke.call(t, e) } , Ln.prototype.set = function(e, t) { var n = this.__data__; return this.size += this.has(e) ? 0 : 1, n[e] = vn && void 0 === t ? "__lodash_hash_undefined__" : t, this } , Pn.prototype.clear = function() { this.__data__ = [], this.size = 0 } , Pn.prototype.delete = function(e) { var t = this.__data__ , n = Vn(t, e); return !(n < 0) && (n == t.length - 1 ? t.pop() : Ye.call(t, n, 1), --this.size, !0) } , Pn.prototype.get = function(e) { var t = this.__data__ , n = Vn(t, e); return n < 0 ? void 0 : t[n][1] } , Pn.prototype.has = function(e) { return Vn(this.__data__, e) > -1 } , Pn.prototype.set = function(e, t) { var n = this.__data__ , r = Vn(n, e); return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this } , Rn.prototype.clear = function() { this.size = 0, this.__data__ = { hash: new Ln, map: new (hn || Pn), string: new Ln } } , Rn.prototype.delete = function(e) { var t = Ji(this, e).delete(e); return this.size -= t ? 1 : 0, t } , Rn.prototype.get = function(e) { return Ji(this, e).get(e) } , Rn.prototype.has = function(e) { return Ji(this, e).has(e) } , Rn.prototype.set = function(e, t) { var n = Ji(this, e) , r = n.size; return n.set(e, t), this.size += n.size == r ? 0 : 1, this } , zn.prototype.add = zn.prototype.push = function(e) { return this.__data__.set(e, "__lodash_hash_undefined__"), this } , zn.prototype.has = function(e) { return this.__data__.has(e) } , jn.prototype.clear = function() { this.__data__ = new Pn, this.size = 0 } , jn.prototype.delete = function(e) { var t = this.__data__ , n = t.delete(e); return this.size = t.size, n } , jn.prototype.get = function(e) { return this.__data__.get(e) } , jn.prototype.has = function(e) { return this.__data__.has(e) } , jn.prototype.set = function(e, t) { var n = this.__data__; if (n instanceof Pn) { var r = n.__data__; if (!hn || r.length < 199) return r.push([e, t]), this.size = ++n.size, this; n = this.__data__ = new Rn(r) } return n.set(e, t), this.size = n.size, this } ; var er = wi(lr) , tr = wi(ur, !0); function nr(e, t) { var n = !0; return er(e, (function(e, r, i) { return n = !!t(e, r, i) } )), n } function rr(e, t, n) { for (var r = -1, i = e.length; ++r < i; ) { var o = e[r] , a = t(o); if (null != a && (void 0 === s ? a == a && !Ja(a) : n(a, s))) var s = a , l = o } return l } function ir(e, t) { var n = []; return er(e, (function(e, r, i) { t(e, r, i) && n.push(e) } )), n } function or(e, t, n, r, i) { var o = -1 , a = e.length; for (n || (n = oo), i || (i = []); ++o < a; ) { var s = e[o]; t > 0 && n(s) ? t > 1 ? or(s, t - 1, n, r, i) : pt(i, s) : r || (i[i.length] = s) } return i } var ar = Si() , sr = Si(!0); function lr(e, t) { return e && ar(e, t, _s) } function ur(e, t) { return e && sr(e, t, _s) } function cr(e, t) { return ct(t, (function(t) { return Na(e[t]) } )) } function dr(e, t) { for (var n = 0, r = (t = si(t, e)).length; null != e && n < r; ) e = e[Co(t[n++])]; return n && n == r ? e : void 0 } function fr(e, t, n) { var r = t(e); return La(e) ? r : pt(r, n(e)) } function hr(e) { return null == e ? void 0 === e ? "[object Undefined]" : "[object Null]" : yt && yt in ge(e) ? function(e) { var t = ke.call(e, yt) , n = e[yt]; try { e[yt] = void 0; var r = !0 } catch (e) {} var i = Me.call(e); r && (t ? e[yt] = n : delete e[yt]); return i }(e) : function(e) { return Me.call(e) }(e) } function pr(e, t) { return e > t } function gr(e, t) { return null != e && ke.call(e, t) } function mr(e, t) { return null != e && t in ge(e) } function vr(e, t, n) { for (var i = n ? ft : dt, o = e[0].length, a = e.length, s = a, l = r(a), u = 1 / 0, c = []; s--; ) { var d = e[s]; s && t && (d = ht(d, Et(t))), u = sn(d.length, u), l[s] = !n && (t || o >= 120 && d.length >= 120) ? new zn(s && d) : void 0 } d = e[0]; var f = -1 , h = l[0]; e: for (; ++f < o && c.length < u; ) { var p = d[f] , g = t ? t(p) : p; if (p = n || 0 !== p ? p : 0, !(h ? Bt(h, g) : i(c, g, n))) { for (s = a; --s; ) { var m = l[s]; if (!(m ? Bt(m, g) : i(e[s], g, n))) continue e } h && h.push(g), c.push(p) } } return c } function yr(e, t, n) { var r = null == (e = mo(e, t = si(t, e))) ? e : e[Co(Do(t))]; return null == r ? void 0 : ot(r, e, n) } function br(e) { return Va(e) && hr(e) == l } function _r(e, t, n, r, i) { return e === t || (null == e || null == t || !Va(e) && !Va(t) ? e != e && t != t : function(e, t, n, r, i, o) { var a = La(e) , s = La(t) , h = a ? u : no(e) , p = s ? u : no(t) , S = (h = h == l ? v : h) == v , I = (p = p == l ? v : p) == v , C = h == p; if (C && ja(e)) { if (!ja(t)) return !1; a = !0, S = !1 } if (C && !S) return o || (o = new jn), a || Qa(e) ? Hi(e, t, n, r, i, o) : function(e, t, n, r, i, o, a) { switch (n) { case k: if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1; e = e.buffer, t = t.buffer; case x: return !(e.byteLength != t.byteLength || !o(new ze(e), new ze(t))); case c: case d: case m: return Aa(+e, +t); case f: return e.name == t.name && e.message == t.message; case y: case _: return e == t + ""; case g: var s = Nt; case b: var l = 1 & r; if (s || (s = Ht), e.size != t.size && !l) return !1; var u = a.get(e); if (u) return u == t; r |= 2, a.set(e, t); var h = Hi(s(e), s(t), r, i, o, a); return a.delete(e), h; case w: if (Cn) return Cn.call(e) == Cn.call(t) } return !1 }(e, t, h, n, r, i, o); if (!(1 & n)) { var M = S && ke.call(e, "__wrapped__") , T = I && ke.call(t, "__wrapped__"); if (M || T) { var A = M ? e.value() : e , E = T ? t.value() : t; return o || (o = new jn), i(A, E, n, r, o) } } if (!C) return !1; return o || (o = new jn), function(e, t, n, r, i, o) { var a = 1 & n , s = $i(e) , l = s.length , u = $i(t).length; if (l != u && !a) return !1; var c = l; for (; c--; ) { var d = s[c]; if (!(a ? d in t : ke.call(t, d))) return !1 } var f = o.get(e); if (f && o.get(t)) return f == t; var h = !0; o.set(e, t), o.set(t, e); var p = a; for (; ++c < l; ) { d = s[c]; var g = e[d] , m = t[d]; if (r) var v = a ? r(m, g, d, t, e, o) : r(g, m, d, e, t, o); if (!(void 0 === v ? g === m || i(g, m, n, r, o) : v)) { h = !1; break } p || (p = "constructor" == d) } if (h && !p) { var y = e.constructor , b = t.constructor; y == b || !("constructor"in e) || !("constructor"in t) || "function" == typeof y && y instanceof y && "function" == typeof b && b instanceof b || (h = !1) } return o.delete(e), o.delete(t), h }(e, t, n, r, i, o) }(e, t, n, r, _r, i)) } function wr(e, t, n, r) { var i = n.length , o = i , a = !r; if (null == e) return !o; for (e = ge(e); i--; ) { var s = n[i]; if (a && s[2] ? s[1] !== e[s[0]] : !(s[0]in e)) return !1 } for (; ++i < o; ) { var l = (s = n[i])[0] , u = e[l] , c = s[1]; if (a && s[2]) { if (void 0 === u && !(l in e)) return !1 } else { var d = new jn; if (r) var f = r(u, c, l, e, t, d); if (!(void 0 === f ? _r(c, u, 3, r, d) : f)) return !1 } } return !0 } function Sr(e) { return !(!Ha(e) || (t = e, Ce && Ce in t)) && (Na(e) ? Ee : ae).test(Mo(e)); var t } function xr(e) { return "function" == typeof e ? e : null == e ? Gs : "object" == typeof e ? La(e) ? Ar(e[0], e[1]) : Tr(e) : tl(e) } function kr(e) { if (!fo(e)) return on(e); var t = []; for (var n in ge(e)) ke.call(e, n) && "constructor" != n && t.push(n); return t } function Ir(e) { if (!Ha(e)) return function(e) { var t = []; if (null != e) for (var n in ge(e)) t.push(n); return t }(e); var t = fo(e) , n = []; for (var r in e) ("constructor" != r || !t && ke.call(e, r)) && n.push(r); return n } function Cr(e, t) { return e < t } function Mr(e, t) { var n = -1 , i = Ra(e) ? r(e.length) : []; return er(e, (function(e, r, o) { i[++n] = t(e, r, o) } )), i } function Tr(e) { var t = Qi(e); return 1 == t.length && t[0][2] ? po(t[0][0], t[0][1]) : function(n) { return n === e || wr(n, e, t) } } function Ar(e, t) { return lo(e) && ho(t) ? po(Co(e), t) : function(n) { var r = gs(n, e); return void 0 === r && r === t ? ms(n, e) : _r(t, r, 3) } } function Er(e, t, n, r, i) { e !== t && ar(t, (function(o, a) { if (i || (i = new jn), Ha(o)) !function(e, t, n, r, i, o, a) { var s = yo(e, n) , l = yo(t, n) , u = a.get(l); if (u) return void Wn(e, n, u); var c = o ? o(s, l, n + "", e, t, a) : void 0 , d = void 0 === c; if (d) { var f = La(l) , h = !f && ja(l) , p = !f && !h && Qa(l); c = l, f || h || p ? La(s) ? c = s : za(s) ? c = vi(s) : h ? (d = !1, c = di(l, !0)) : p ? (d = !1, c = hi(l, !0)) : c = [] : Za(l) || Ba(l) ? (c = s, Ba(s) ? c = as(s) : Ha(s) && !Na(s) || (c = io(l))) : d = !1 } d && (a.set(l, c), i(c, l, r, o, a), a.delete(l)); Wn(e, n, c) }(e, t, a, n, Er, r, i); else { var s = r ? r(yo(e, a), o, a + "", e, t, i) : void 0; void 0 === s && (s = o), Wn(e, a, s) } } ), ws) } function Or(e, t) { var n = e.length; if (n) return ao(t += t < 0 ? n : 0, n) ? e[t] : void 0 } function Br(e, t, n) { var r = -1; return t = ht(t.length ? t : [Gs], Et(Xi())), function(e, t) { var n = e.length; for (e.sort(t); n--; ) e[n] = e[n].value; return e }(Mr(e, (function(e, n, i) { return { criteria: ht(t, (function(t) { return t(e) } )), index: ++r, value: e } } )), (function(e, t) { return function(e, t, n) { var r = -1 , i = e.criteria , o = t.criteria , a = i.length , s = n.length; for (; ++r < a; ) { var l = pi(i[r], o[r]); if (l) { if (r >= s) return l; var u = n[r]; return l * ("desc" == u ? -1 : 1) } } return e.index - t.index }(e, t, n) } )) } function Lr(e, t, n) { for (var r = -1, i = t.length, o = {}; ++r < i; ) { var a = t[r] , s = dr(e, a); n(s, a) && Ur(o, si(a, e), s) } return o } function Pr(e, t, n, r) { var i = r ? St : wt , o = -1 , a = t.length , s = e; for (e === t && (t = vi(t)), n && (s = ht(e, Et(n))); ++o < a; ) for (var l = 0, u = t[o], c = n ? n(u) : u; (l = i(s, c, l, r)) > -1; ) s !== e && Ye.call(s, l, 1), Ye.call(e, l, 1); return e } function Rr(e, t) { for (var n = e ? t.length : 0, r = n - 1; n--; ) { var i = t[n]; if (n == r || i !== o) { var o = i; ao(i) ? Ye.call(e, i, 1) : Kr(e, i) } } return e } function zr(e, t) { return e + Kt(cn() * (t - e + 1)) } function jr(e, t) { var n = ""; if (!e || t < 1 || t > 9007199254740991) return n; do { t % 2 && (n += e), (t = Kt(t / 2)) && (e += e) } while (t); return n } function Fr(e, t) { return wo(go(e, t, Gs), e + "") } function Dr(e) { return Dn(As(e)) } function Nr(e, t) { var n = As(e); return ko(n, Yn(t, 0, n.length)) } function Ur(e, t, n, r) { if (!Ha(e)) return e; for (var i = -1, o = (t = si(t, e)).length, a = o - 1, s = e; null != s && ++i < o; ) { var l = Co(t[i]) , u = n; if (i != a) { var c = s[l]; void 0 === (u = r ? r(c, l, s) : void 0) && (u = Ha(c) ? c : ao(t[i + 1]) ? [] : {}) } Hn(s, l, u), s = s[l] } return e } var Wr = yn ? function(e, t) { return yn.set(e, t), e } : Gs , Hr = Ct ? function(e, t) { return Ct(e, "toString", { configurable: !0, enumerable: !1, value: Hs(t), writable: !0 }) } : Gs; function Vr(e) { return ko(As(e)) } function $r(e, t, n) { var i = -1 , o = e.length; t < 0 && (t = -t > o ? 0 : o + t), (n = n > o ? o : n) < 0 && (n += o), o = t > n ? 0 : n - t >>> 0, t >>>= 0; for (var a = r(o); ++i < o; ) a[i] = e[i + t]; return a } function Gr(e, t) { var n; return er(e, (function(e, r, i) { return !(n = t(e, r, i)) } )), !!n } function Zr(e, t, n) { var r = 0 , i = null == e ? r : e.length; if ("number" == typeof t && t == t && i <= 2147483647) { for (; r < i; ) { var o = r + i >>> 1 , a = e[o]; null !== a && !Ja(a) && (n ? a <= t : a < t) ? r = o + 1 : i = o } return i } return qr(e, t, Gs, n) } function qr(e, t, n, r) { t = n(t); for (var i = 0, o = null == e ? 0 : e.length, a = t != t, s = null === t, l = Ja(t), u = void 0 === t; i < o; ) { var c = Kt((i + o) / 2) , d = n(e[c]) , f = void 0 !== d , h = null === d , p = d == d , g = Ja(d); if (a) var m = r || p; else m = u ? p && (r || f) : s ? p && f && (r || !h) : l ? p && f && !h && (r || !g) : !h && !g && (r ? d <= t : d < t); m ? i = c + 1 : o = c } return sn(o, 4294967294) } function Yr(e, t) { for (var n = -1, r = e.length, i = 0, o = []; ++n < r; ) { var a = e[n] , s = t ? t(a) : a; if (!n || !Aa(s, l)) { var l = s; o[i++] = 0 === a ? 0 : a } } return o } function Xr(e) { return "number" == typeof e ? e : Ja(e) ? NaN : +e } function Jr(e) { if ("string" == typeof e) return e; if (La(e)) return ht(e, Jr) + ""; if (Ja(e)) return Mn ? Mn.call(e) : ""; var t = e + ""; return "0" == t && 1 / e == -1 / 0 ? "-0" : t } function Qr(e, t, n) { var r = -1 , i = dt , o = e.length , a = !0 , s = [] , l = s; if (n) a = !1, i = ft; else if (o >= 200) { var u = t ? null : ji(e); if (u) return Ht(u); a = !1, i = Bt, l = new zn } else l = t ? [] : s; e: for (; ++r < o; ) { var c = e[r] , d = t ? t(c) : c; if (c = n || 0 !== c ? c : 0, a && d == d) { for (var f = l.length; f--; ) if (l[f] === d) continue e; t && l.push(d), s.push(c) } else i(l, d, n) || (l !== s && l.push(d), s.push(c)) } return s } function Kr(e, t) { return null == (e = mo(e, t = si(t, e))) || delete e[Co(Do(t))] } function ei(e, t, n, r) { return Ur(e, t, n(dr(e, t)), r) } function ti(e, t, n, r) { for (var i = e.length, o = r ? i : -1; (r ? o-- : ++o < i) && t(e[o], o, e); ) ; return n ? $r(e, r ? 0 : o, r ? o + 1 : i) : $r(e, r ? o + 1 : 0, r ? i : o) } function ni(e, t) { var n = e; return n instanceof Bn && (n = n.value()), gt(t, (function(e, t) { return t.func.apply(t.thisArg, pt([e], t.args)) } ), n) } function ri(e, t, n) { var i = e.length; if (i < 2) return i ? Qr(e[0]) : []; for (var o = -1, a = r(i); ++o < i; ) for (var s = e[o], l = -1; ++l < i; ) l != o && (a[o] = Kn(a[o] || s, e[l], t, n)); return Qr(or(a, 1), t, n) } function ii(e, t, n) { for (var r = -1, i = e.length, o = t.length, a = {}; ++r < i; ) { var s = r < o ? t[r] : void 0; n(a, e[r], s) } return a } function oi(e) { return za(e) ? e : [] } function ai(e) { return "function" == typeof e ? e : Gs } function si(e, t) { return La(e) ? e : lo(e, t) ? [e] : Io(ss(e)) } var li = Fr; function ui(e, t, n) { var r = e.length; return n = void 0 === n ? r : n, !t && n >= r ? e : $r(e, t, n) } var ci = Yt || function(e) { return Ze.clearTimeout(e) } ; function di(e, t) { if (t) return e.slice(); var n = e.length , r = We ? We(n) : new e.constructor(n); return e.copy(r), r } function fi(e) { var t = new e.constructor(e.byteLength); return new ze(t).set(new ze(e)), t } function hi(e, t) { var n = t ? fi(e.buffer) : e.buffer; return new e.constructor(n,e.byteOffset,e.length) } function pi(e, t) { if (e !== t) { var n = void 0 !== e , r = null === e , i = e == e , o = Ja(e) , a = void 0 !== t , s = null === t , l = t == t , u = Ja(t); if (!s && !u && !o && e > t || o && a && l && !s && !u || r && a && l || !n && l || !i) return 1; if (!r && !o && !u && e < t || u && n && i && !r && !o || s && n && i || !a && i || !l) return -1 } return 0 } function gi(e, t, n, i) { for (var o = -1, a = e.length, s = n.length, l = -1, u = t.length, c = an(a - s, 0), d = r(u + c), f = !i; ++l < u; ) d[l] = t[l]; for (; ++o < s; ) (f || o < a) && (d[n[o]] = e[o]); for (; c--; ) d[l++] = e[o++]; return d } function mi(e, t, n, i) { for (var o = -1, a = e.length, s = -1, l = n.length, u = -1, c = t.length, d = an(a - l, 0), f = r(d + c), h = !i; ++o < d; ) f[o] = e[o]; for (var p = o; ++u < c; ) f[p + u] = t[u]; for (; ++s < l; ) (h || o < a) && (f[p + n[s]] = e[o++]); return f } function vi(e, t) { var n = -1 , i = e.length; for (t || (t = r(i)); ++n < i; ) t[n] = e[n]; return t } function yi(e, t, n, r) { var i = !n; n || (n = {}); for (var o = -1, a = t.length; ++o < a; ) { var s = t[o] , l = r ? r(n[s], e[s], s, n, e) : void 0; void 0 === l && (l = e[s]), i ? Zn(n, s, l) : Hn(n, s, l) } return n } function bi(e, t) { return function(n, r) { var i = La(n) ? at : $n , o = t ? t() : {}; return i(n, e, Xi(r, 2), o) } } function _i(e) { return Fr((function(t, n) { var r = -1 , i = n.length , o = i > 1 ? n[i - 1] : void 0 , a = i > 2 ? n[2] : void 0; for (o = e.length > 3 && "function" == typeof o ? (i--, o) : void 0, a && so(n[0], n[1], a) && (o = i < 3 ? void 0 : o, i = 1), t = ge(t); ++r < i; ) { var s = n[r]; s && e(t, s, r, o) } return t } )) } function wi(e, t) { return function(n, r) { if (null == n) return n; if (!Ra(n)) return e(n, r); for (var i = n.length, o = t ? i : -1, a = ge(n); (t ? o-- : ++o < i) && !1 !== r(a[o], o, a); ) ; return n } } function Si(e) { return function(t, n, r) { for (var i = -1, o = ge(t), a = r(t), s = a.length; s--; ) { var l = a[e ? s : ++i]; if (!1 === n(o[l], l, o)) break } return t } } function xi(e) { return function(t) { var n = Dt(t = ss(t)) ? Gt(t) : void 0 , r = n ? n[0] : t.charAt(0) , i = n ? ui(n, 1).join("") : t.slice(1); return r[e]() + i } } function ki(e) { return function(t) { return gt(Ns(Bs(t).replace(Be, "")), e, "") } } function Ii(e) { return function() { var t = arguments; switch (t.length) { case 0: return new e; case 1: return new e(t[0]); case 2: return new e(t[0],t[1]); case 3: return new e(t[0],t[1],t[2]); case 4: return new e(t[0],t[1],t[2],t[3]); case 5: return new e(t[0],t[1],t[2],t[3],t[4]); case 6: return new e(t[0],t[1],t[2],t[3],t[4],t[5]); case 7: return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6]) } var n = An(e.prototype) , r = e.apply(n, t); return Ha(r) ? r : n } } function Ci(e) { return function(t, n, r) { var i = ge(t); if (!Ra(t)) { var o = Xi(n, 3); t = _s(t), n = function(e) { return o(i[e], e, i) } } var a = e(t, n, r); return a > -1 ? i[o ? t[a] : a] : void 0 } } function Mi(e) { return Vi((function(t) { var n = t.length , r = n , i = On.prototype.thru; for (e && t.reverse(); r--; ) { var a = t[r]; if ("function" != typeof a) throw new ye(o); if (i && !s && "wrapper" == qi(a)) var s = new On([],!0) } for (r = s ? r : n; ++r < n; ) { var l = qi(a = t[r]) , u = "wrapper" == l ? Zi(a) : void 0; s = u && uo(u[0]) && 424 == u[1] && !u[4].length && 1 == u[9] ? s[qi(u[0])].apply(s, u[3]) : 1 == a.length && uo(a) ? s[l]() : s.thru(a) } return function() { var e = arguments , r = e[0]; if (s && 1 == e.length && La(r)) return s.plant(r).value(); for (var i = 0, o = n ? t[i].apply(this, e) : r; ++i < n; ) o = t[i].call(this, o); return o } } )) } function Ti(e, t, n, i, o, a, s, l, u, c) { var d = 128 & t , f = 1 & t , h = 2 & t , p = 24 & t , g = 512 & t , m = h ? void 0 : Ii(e); return function v() { for (var y = arguments.length, b = r(y), _ = y; _--; ) b[_] = arguments[_]; if (p) var w = Yi(v) , S = Rt(b, w); if (i && (b = gi(b, i, o, p)), a && (b = mi(b, a, s, p)), y -= S, p && y < c) { var x = Wt(b, w); return Ri(e, t, Ti, v.placeholder, n, b, x, l, u, c - y) } var k = f ? n : this , I = h ? k[e] : e; return y = b.length, l ? b = vo(b, l) : g && y > 1 && b.reverse(), d && u < y && (b.length = u), this && this !== Ze && this instanceof v && (I = m || Ii(I)), I.apply(k, b) } } function Ai(e, t) { return function(n, r) { return function(e, t, n, r) { return lr(e, (function(e, i, o) { t(r, n(e), i, o) } )), r }(n, e, t(r), {}) } } function Ei(e, t) { return function(n, r) { var i; if (void 0 === n && void 0 === r) return t; if (void 0 !== n && (i = n), void 0 !== r) { if (void 0 === i) return r; "string" == typeof n || "string" == typeof r ? (n = Jr(n), r = Jr(r)) : (n = Xr(n), r = Xr(r)), i = e(n, r) } return i } } function Oi(e) { return Vi((function(t) { return t = ht(t, Et(Xi())), Fr((function(n) { var r = this; return e(t, (function(e) { return ot(e, r, n) } )) } )) } )) } function Bi(e, t) { var n = (t = void 0 === t ? " " : Jr(t)).length; if (n < 2) return n ? jr(t, e) : t; var r = jr(t, Qt(e / $t(t))); return Dt(t) ? ui(Gt(r), 0, e).join("") : r.slice(0, e) } function Li(e) { return function(t, n, i) { return i && "number" != typeof i && so(t, n, i) && (n = i = void 0), t = ns(t), void 0 === n ? (n = t, t = 0) : n = ns(n), function(e, t, n, i) { for (var o = -1, a = an(Qt((t - e) / (n || 1)), 0), s = r(a); a--; ) s[i ? a : ++o] = e, e += n; return s }(t, n, i = void 0 === i ? t < n ? 1 : -1 : ns(i), e) } } function Pi(e) { return function(t, n) { return "string" == typeof t && "string" == typeof n || (t = os(t), n = os(n)), e(t, n) } } function Ri(e, t, n, r, i, o, a, s, l, u) { var c = 8 & t; t |= c ? 32 : 64, 4 & (t &= ~(c ? 64 : 32)) || (t &= -4); var d = [e, t, i, c ? o : void 0, c ? a : void 0, c ? void 0 : o, c ? void 0 : a, s, l, u] , f = n.apply(void 0, d); return uo(e) && bo(f, d), f.placeholder = r, So(f, e, t) } function zi(e) { var t = pe[e]; return function(e, n) { if (e = os(e), (n = null == n ? 0 : sn(rs(n), 292)) && nn(e)) { var r = (ss(e) + "e").split("e"); return +((r = (ss(t(r[0] + "e" + (+r[1] + n))) + "e").split("e"))[0] + "e" + (+r[1] - n)) } return t(e) } } var ji = gn && 1 / Ht(new gn([, -0]))[1] == 1 / 0 ? function(e) { return new gn(e) } : Js; function Fi(e) { return function(t) { var n = no(t); return n == g ? Nt(t) : n == b ? Vt(t) : function(e, t) { return ht(t, (function(t) { return [t, e[t]] } )) }(t, e(t)) } } function Di(e, t, n, i, s, l, u, c) { var d = 2 & t; if (!d && "function" != typeof e) throw new ye(o); var f = i ? i.length : 0; if (f || (t &= -97, i = s = void 0), u = void 0 === u ? u : an(rs(u), 0), c = void 0 === c ? c : rs(c), f -= s ? s.length : 0, 64 & t) { var h = i , p = s; i = s = void 0 } var g = d ? void 0 : Zi(e) , m = [e, t, n, i, s, h, p, l, u, c]; if (g && function(e, t) { var n = e[1] , r = t[1] , i = n | r , o = i < 131 , s = 128 == r && 8 == n || 128 == r && 256 == n && e[7].length <= t[8] || 384 == r && t[7].length <= t[8] && 8 == n; if (!o && !s) return e; 1 & r && (e[2] = t[2], i |= 1 & n ? 0 : 4); var l = t[3]; if (l) { var u = e[3]; e[3] = u ? gi(u, l, t[4]) : l, e[4] = u ? Wt(e[3], a) : t[4] } (l = t[5]) && (u = e[5], e[5] = u ? mi(u, l, t[6]) : l, e[6] = u ? Wt(e[5], a) : t[6]); (l = t[7]) && (e[7] = l); 128 & r && (e[8] = null == e[8] ? t[8] : sn(e[8], t[8])); null == e[9] && (e[9] = t[9]); e[0] = t[0], e[1] = i }(m, g), e = m[0], t = m[1], n = m[2], i = m[3], s = m[4], !(c = m[9] = void 0 === m[9] ? d ? 0 : e.length : an(m[9] - f, 0)) && 24 & t && (t &= -25), t && 1 != t) v = 8 == t || 16 == t ? function(e, t, n) { var i = Ii(e); return function o() { for (var a = arguments.length, s = r(a), l = a, u = Yi(o); l--; ) s[l] = arguments[l]; var c = a < 3 && s[0] !== u && s[a - 1] !== u ? [] : Wt(s, u); if ((a -= c.length) < n) return Ri(e, t, Ti, o.placeholder, void 0, s, c, void 0, void 0, n - a); var d = this && this !== Ze && this instanceof o ? i : e; return ot(d, this, s) } }(e, t, c) : 32 != t && 33 != t || s.length ? Ti.apply(void 0, m) : function(e, t, n, i) { var o = 1 & t , a = Ii(e); return function t() { for (var s = -1, l = arguments.length, u = -1, c = i.length, d = r(c + l), f = this && this !== Ze && this instanceof t ? a : e; ++u < c; ) d[u] = i[u]; for (; l--; ) d[u++] = arguments[++s]; return ot(f, o ? n : this, d) } }(e, t, n, i); else var v = function(e, t, n) { var r = 1 & t , i = Ii(e); return function t() { var o = this && this !== Ze && this instanceof t ? i : e; return o.apply(r ? n : this, arguments) } }(e, t, n); return So((g ? Wr : bo)(v, m), e, t) } function Ni(e, t, n, r) { return void 0 === e || Aa(e, we[n]) && !ke.call(r, n) ? t : e } function Ui(e, t, n, r, i, o) { return Ha(e) && Ha(t) && (o.set(t, e), Er(e, t, void 0, Ui, o), o.delete(t)), e } function Wi(e) { return Za(e) ? void 0 : e } function Hi(e, t, n, r, i, o) { var a = 1 & n , s = e.length , l = t.length; if (s != l && !(a && l > s)) return !1; var u = o.get(e); if (u && o.get(t)) return u == t; var c = -1 , d = !0 , f = 2 & n ? new zn : void 0; for (o.set(e, t), o.set(t, e); ++c < s; ) { var h = e[c] , p = t[c]; if (r) var g = a ? r(p, h, c, t, e, o) : r(h, p, c, e, t, o); if (void 0 !== g) { if (g) continue; d = !1; break } if (f) { if (!vt(t, (function(e, t) { if (!Bt(f, t) && (h === e || i(h, e, n, r, o))) return f.push(t) } ))) { d = !1; break } } else if (h !== p && !i(h, p, n, r, o)) { d = !1; break } } return o.delete(e), o.delete(t), d } function Vi(e) { return wo(go(e, void 0, Po), e + "") } function $i(e) { return fr(e, _s, eo) } function Gi(e) { return fr(e, ws, to) } var Zi = yn ? function(e) { return yn.get(e) } : Js; function qi(e) { for (var t = e.name + "", n = bn[t], r = ke.call(bn, t) ? n.length : 0; r--; ) { var i = n[r] , o = i.func; if (null == o || o == e) return i.name } return t } function Yi(e) { return (ke.call(Tn, "placeholder") ? Tn : e).placeholder } function Xi() { var e = Tn.iteratee || Zs; return e = e === Zs ? xr : e, arguments.length ? e(arguments[0], arguments[1]) : e } function Ji(e, t) { var n, r, i = e.__data__; return ("string" == (r = typeof (n = t)) || "number" == r || "symbol" == r || "boolean" == r ? "__proto__" !== n : null === n) ? i["string" == typeof t ? "string" : "hash"] : i.map } function Qi(e) { for (var t = _s(e), n = t.length; n--; ) { var r = t[n] , i = e[r]; t[n] = [r, i, ho(i)] } return t } function Ki(e, t) { var n = function(e, t) { return null == e ? void 0 : e[t] }(e, t); return Sr(n) ? n : void 0 } var eo = en ? function(e) { return null == e ? [] : (e = ge(e), ct(en(e), (function(t) { return qe.call(e, t) } ))) } : il , to = en ? function(e) { for (var t = []; e; ) pt(t, eo(e)), e = $e(e); return t } : il , no = hr; function ro(e, t, n) { for (var r = -1, i = (t = si(t, e)).length, o = !1; ++r < i; ) { var a = Co(t[r]); if (!(o = null != e && n(e, a))) break; e = e[a] } return o || ++r != i ? o : !!(i = null == e ? 0 : e.length) && Wa(i) && ao(a, i) && (La(e) || Ba(e)) } function io(e) { return "function" != typeof e.constructor || fo(e) ? {} : An($e(e)) } function oo(e) { return La(e) || Ba(e) || !!(Je && e && e[Je]) } function ao(e, t) { var n = typeof e; return !!(t = null == t ? 9007199254740991 : t) && ("number" == n || "symbol" != n && le.test(e)) && e > -1 && e % 1 == 0 && e < t } function so(e, t, n) { if (!Ha(n)) return !1; var r = typeof t; return !!("number" == r ? Ra(n) && ao(t, n.length) : "string" == r && t in n) && Aa(n[t], e) } function lo(e, t) { if (La(e)) return !1; var n = typeof e; return !("number" != n && "symbol" != n && "boolean" != n && null != e && !Ja(e)) || (V.test(e) || !H.test(e) || null != t && e in ge(t)) } function uo(e) { var t = qi(e) , n = Tn[t]; if ("function" != typeof n || !(t in Bn.prototype)) return !1; if (e === n) return !0; var r = Zi(n); return !!r && e === r[0] } (fn && no(new fn(new ArrayBuffer(1))) != k || hn && no(new hn) != g || pn && "[object Promise]" != no(pn.resolve()) || gn && no(new gn) != b || mn && no(new mn) != S) && (no = function(e) { var t = hr(e) , n = t == v ? e.constructor : void 0 , r = n ? Mo(n) : ""; if (r) switch (r) { case _n: return k; case wn: return g; case Sn: return "[object Promise]"; case xn: return b; case kn: return S } return t } ); var co = Se ? Na : ol; function fo(e) { var t = e && e.constructor; return e === ("function" == typeof t && t.prototype || we) } function ho(e) { return e == e && !Ha(e) } function po(e, t) { return function(n) { return null != n && (n[e] === t && (void 0 !== t || e in ge(n))) } } function go(e, t, n) { return t = an(void 0 === t ? e.length - 1 : t, 0), function() { for (var i = arguments, o = -1, a = an(i.length - t, 0), s = r(a); ++o < a; ) s[o] = i[t + o]; o = -1; for (var l = r(t + 1); ++o < t; ) l[o] = i[o]; return l[t] = n(s), ot(e, this, l) } } function mo(e, t) { return t.length < 2 ? e : dr(e, $r(t, 0, -1)) } function vo(e, t) { for (var n = e.length, r = sn(t.length, n), i = vi(e); r--; ) { var o = t[r]; e[r] = ao(o, n) ? i[o] : void 0 } return e } function yo(e, t) { if (("constructor" !== t || "function" != typeof e[t]) && "__proto__" != t) return e[t] } var bo = xo(Wr) , _o = Jt || function(e, t) { return Ze.setTimeout(e, t) } , wo = xo(Hr); function So(e, t, n) { var r = t + ""; return wo(e, function(e, t) { var n = t.length; if (!n) return e; var r = n - 1; return t[r] = (n > 1 ? "& " : "") + t[r], t = t.join(n > 2 ? ", " : " "), e.replace(J, "{\n/* [wrapped with " + t + "] */\n") }(r, function(e, t) { return st(s, (function(n) { var r = "_." + n[0]; t & n[1] && !dt(e, r) && e.push(r) } )), e.sort() }(function(e) { var t = e.match(Q); return t ? t[1].split(K) : [] }(r), n))) } function xo(e) { var t = 0 , n = 0; return function() { var r = ln() , i = 16 - (r - n); if (n = r, i > 0) { if (++t >= 800) return arguments[0] } else t = 0; return e.apply(void 0, arguments) } } function ko(e, t) { var n = -1 , r = e.length , i = r - 1; for (t = void 0 === t ? r : t; ++n < t; ) { var o = zr(n, i) , a = e[o]; e[o] = e[n], e[n] = a } return e.length = t, e } var Io = function(e) { var t = xa(e, (function(e) { return 500 === n.size && n.clear(), e } )) , n = t.cache; return t }((function(e) { var t = []; return 46 === e.charCodeAt(0) && t.push(""), e.replace($, (function(e, n, r, i) { t.push(r ? i.replace(te, "$1") : n || e) } )), t } )); function Co(e) { if ("string" == typeof e || Ja(e)) return e; var t = e + ""; return "0" == t && 1 / e == -1 / 0 ? "-0" : t } function Mo(e) { if (null != e) { try { return xe.call(e) } catch (e) {} try { return e + "" } catch (e) {} } return "" } function To(e) { if (e instanceof Bn) return e.clone(); var t = new On(e.__wrapped__,e.__chain__); return t.__actions__ = vi(e.__actions__), t.__index__ = e.__index__, t.__values__ = e.__values__, t } var Ao = Fr((function(e, t) { return za(e) ? Kn(e, or(t, 1, za, !0)) : [] } )) , Eo = Fr((function(e, t) { var n = Do(t); return za(n) && (n = void 0), za(e) ? Kn(e, or(t, 1, za, !0), Xi(n, 2)) : [] } )) , Oo = Fr((function(e, t) { var n = Do(t); return za(n) && (n = void 0), za(e) ? Kn(e, or(t, 1, za, !0), void 0, n) : [] } )); function Bo(e, t, n) { var r = null == e ? 0 : e.length; if (!r) return -1; var i = null == n ? 0 : rs(n); return i < 0 && (i = an(r + i, 0)), _t(e, Xi(t, 3), i) } function Lo(e, t, n) { var r = null == e ? 0 : e.length; if (!r) return -1; var i = r - 1; return void 0 !== n && (i = rs(n), i = n < 0 ? an(r + i, 0) : sn(i, r - 1)), _t(e, Xi(t, 3), i, !0) } function Po(e) { return (null == e ? 0 : e.length) ? or(e, 1) : [] } function Ro(e) { return e && e.length ? e[0] : void 0 } var zo = Fr((function(e) { var t = ht(e, oi); return t.length && t[0] === e[0] ? vr(t) : [] } )) , jo = Fr((function(e) { var t = Do(e) , n = ht(e, oi); return t === Do(n) ? t = void 0 : n.pop(), n.length && n[0] === e[0] ? vr(n, Xi(t, 2)) : [] } )) , Fo = Fr((function(e) { var t = Do(e) , n = ht(e, oi); return (t = "function" == typeof t ? t : void 0) && n.pop(), n.length && n[0] === e[0] ? vr(n, void 0, t) : [] } )); function Do(e) { var t = null == e ? 0 : e.length; return t ? e[t - 1] : void 0 } var No = Fr(Uo); function Uo(e, t) { return e && e.length && t && t.length ? Pr(e, t) : e } var Wo = Vi((function(e, t) { var n = null == e ? 0 : e.length , r = qn(e, t); return Rr(e, ht(t, (function(e) { return ao(e, n) ? +e : e } )).sort(pi)), r } )); function Ho(e) { return null == e ? e : dn.call(e) } var Vo = Fr((function(e) { return Qr(or(e, 1, za, !0)) } )) , $o = Fr((function(e) { var t = Do(e); return za(t) && (t = void 0), Qr(or(e, 1, za, !0), Xi(t, 2)) } )) , Go = Fr((function(e) { var t = Do(e); return t = "function" == typeof t ? t : void 0, Qr(or(e, 1, za, !0), void 0, t) } )); function Zo(e) { if (!e || !e.length) return []; var t = 0; return e = ct(e, (function(e) { if (za(e)) return t = an(e.length, t), !0 } )), At(t, (function(t) { return ht(e, It(t)) } )) } function qo(e, t) { if (!e || !e.length) return []; var n = Zo(e); return null == t ? n : ht(n, (function(e) { return ot(t, void 0, e) } )) } var Yo = Fr((function(e, t) { return za(e) ? Kn(e, t) : [] } )) , Xo = Fr((function(e) { return ri(ct(e, za)) } )) , Jo = Fr((function(e) { var t = Do(e); return za(t) && (t = void 0), ri(ct(e, za), Xi(t, 2)) } )) , Qo = Fr((function(e) { var t = Do(e); return t = "function" == typeof t ? t : void 0, ri(ct(e, za), void 0, t) } )) , Ko = Fr(Zo); var ea = Fr((function(e) { var t = e.length , n = t > 1 ? e[t - 1] : void 0; return n = "function" == typeof n ? (e.pop(), n) : void 0, qo(e, n) } )); function ta(e) { var t = Tn(e); return t.__chain__ = !0, t } function na(e, t) { return t(e) } var ra = Vi((function(e) { var t = e.length , n = t ? e[0] : 0 , r = this.__wrapped__ , i = function(t) { return qn(t, e) }; return !(t > 1 || this.__actions__.length) && r instanceof Bn && ao(n) ? ((r = r.slice(n, +n + (t ? 1 : 0))).__actions__.push({ func: na, args: [i], thisArg: void 0 }), new On(r,this.__chain__).thru((function(e) { return t && !e.length && e.push(void 0), e } ))) : this.thru(i) } )); var ia = bi((function(e, t, n) { ke.call(e, n) ? ++e[n] : Zn(e, n, 1) } )); var oa = Ci(Bo) , aa = Ci(Lo); function sa(e, t) { return (La(e) ? st : er)(e, Xi(t, 3)) } function la(e, t) { return (La(e) ? lt : tr)(e, Xi(t, 3)) } var ua = bi((function(e, t, n) { ke.call(e, n) ? e[n].push(t) : Zn(e, n, [t]) } )); var ca = Fr((function(e, t, n) { var i = -1 , o = "function" == typeof t , a = Ra(e) ? r(e.length) : []; return er(e, (function(e) { a[++i] = o ? ot(t, e, n) : yr(e, t, n) } )), a } )) , da = bi((function(e, t, n) { Zn(e, n, t) } )); function fa(e, t) { return (La(e) ? ht : Mr)(e, Xi(t, 3)) } var ha = bi((function(e, t, n) { e[n ? 0 : 1].push(t) } ), (function() { return [[], []] } )); var pa = Fr((function(e, t) { if (null == e) return []; var n = t.length; return n > 1 && so(e, t[0], t[1]) ? t = [] : n > 2 && so(t[0], t[1], t[2]) && (t = [t[0]]), Br(e, or(t, 1), []) } )) , ga = Xt || function() { return Ze.Date.now() } ; function ma(e, t, n) { return t = n ? void 0 : t, Di(e, 128, void 0, void 0, void 0, void 0, t = e && null == t ? e.length : t) } function va(e, t) { var n; if ("function" != typeof t) throw new ye(o); return e = rs(e), function() { return --e > 0 && (n = t.apply(this, arguments)), e <= 1 && (t = void 0), n } } var ya = Fr((function(e, t, n) { var r = 1; if (n.length) { var i = Wt(n, Yi(ya)); r |= 32 } return Di(e, r, t, n, i) } )) , ba = Fr((function(e, t, n) { var r = 3; if (n.length) { var i = Wt(n, Yi(ba)); r |= 32 } return Di(t, r, e, n, i) } )); function _a(e, t, n) { var r, i, a, s, l, u, c = 0, d = !1, f = !1, h = !0; if ("function" != typeof e) throw new ye(o); function p(t) { var n = r , o = i; return r = i = void 0, c = t, s = e.apply(o, n) } function g(e) { return c = e, l = _o(v, t), d ? p(e) : s } function m(e) { var n = e - u; return void 0 === u || n >= t || n < 0 || f && e - c >= a } function v() { var e = ga(); if (m(e)) return y(e); l = _o(v, function(e) { var n = t - (e - u); return f ? sn(n, a - (e - c)) : n }(e)) } function y(e) { return l = void 0, h && r ? p(e) : (r = i = void 0, s) } function b() { var e = ga() , n = m(e); if (r = arguments, i = this, u = e, n) { if (void 0 === l) return g(u); if (f) return ci(l), l = _o(v, t), p(u) } return void 0 === l && (l = _o(v, t)), s } return t = os(t) || 0, Ha(n) && (d = !!n.leading, a = (f = "maxWait"in n) ? an(os(n.maxWait) || 0, t) : a, h = "trailing"in n ? !!n.trailing : h), b.cancel = function() { void 0 !== l && ci(l), c = 0, r = u = i = l = void 0 } , b.flush = function() { return void 0 === l ? s : y(ga()) } , b } var wa = Fr((function(e, t) { return Qn(e, 1, t) } )) , Sa = Fr((function(e, t, n) { return Qn(e, os(t) || 0, n) } )); function xa(e, t) { if ("function" != typeof e || null != t && "function" != typeof t) throw new ye(o); var n = function() { var r = arguments , i = t ? t.apply(this, r) : r[0] , o = n.cache; if (o.has(i)) return o.get(i); var a = e.apply(this, r); return n.cache = o.set(i, a) || o, a }; return n.cache = new (xa.Cache || Rn), n } function ka(e) { if ("function" != typeof e) throw new ye(o); return function() { var t = arguments; switch (t.length) { case 0: return !e.call(this); case 1: return !e.call(this, t[0]); case 2: return !e.call(this, t[0], t[1]); case 3: return !e.call(this, t[0], t[1], t[2]) } return !e.apply(this, t) } } xa.Cache = Rn; var Ia = li((function(e, t) { var n = (t = 1 == t.length && La(t[0]) ? ht(t[0], Et(Xi())) : ht(or(t, 1), Et(Xi()))).length; return Fr((function(r) { for (var i = -1, o = sn(r.length, n); ++i < o; ) r[i] = t[i].call(this, r[i]); return ot(e, this, r) } )) } )) , Ca = Fr((function(e, t) { return Di(e, 32, void 0, t, Wt(t, Yi(Ca))) } )) , Ma = Fr((function(e, t) { return Di(e, 64, void 0, t, Wt(t, Yi(Ma))) } )) , Ta = Vi((function(e, t) { return Di(e, 256, void 0, void 0, void 0, t) } )); function Aa(e, t) { return e === t || e != e && t != t } var Ea = Pi(pr) , Oa = Pi((function(e, t) { return e >= t } )) , Ba = br(function() { return arguments }()) ? br : function(e) { return Va(e) && ke.call(e, "callee") && !qe.call(e, "callee") } , La = r.isArray , Pa = Ke ? Et(Ke) : function(e) { return Va(e) && hr(e) == x } ; function Ra(e) { return null != e && Wa(e.length) && !Na(e) } function za(e) { return Va(e) && Ra(e) } var ja = tn || ol , Fa = et ? Et(et) : function(e) { return Va(e) && hr(e) == d } ; function Da(e) { if (!Va(e)) return !1; var t = hr(e); return t == f || "[object DOMException]" == t || "string" == typeof e.message && "string" == typeof e.name && !Za(e) } function Na(e) { if (!Ha(e)) return !1; var t = hr(e); return t == h || t == p || "[object AsyncFunction]" == t || "[object Proxy]" == t } function Ua(e) { return "number" == typeof e && e == rs(e) } function Wa(e) { return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991 } function Ha(e) { var t = typeof e; return null != e && ("object" == t || "function" == t) } function Va(e) { return null != e && "object" == typeof e } var $a = tt ? Et(tt) : function(e) { return Va(e) && no(e) == g } ; function Ga(e) { return "number" == typeof e || Va(e) && hr(e) == m } function Za(e) { if (!Va(e) || hr(e) != v) return !1; var t = $e(e); if (null === t) return !0; var n = ke.call(t, "constructor") && t.constructor; return "function" == typeof n && n instanceof n && xe.call(n) == Te } var qa = nt ? Et(nt) : function(e) { return Va(e) && hr(e) == y } ; var Ya = rt ? Et(rt) : function(e) { return Va(e) && no(e) == b } ; function Xa(e) { return "string" == typeof e || !La(e) && Va(e) && hr(e) == _ } function Ja(e) { return "symbol" == typeof e || Va(e) && hr(e) == w } var Qa = it ? Et(it) : function(e) { return Va(e) && Wa(e.length) && !!Ne[hr(e)] } ; var Ka = Pi(Cr) , es = Pi((function(e, t) { return e <= t } )); function ts(e) { if (!e) return []; if (Ra(e)) return Xa(e) ? Gt(e) : vi(e); if (Qe && e[Qe]) return function(e) { for (var t, n = []; !(t = e.next()).done; ) n.push(t.value); return n }(e[Qe]()); var t = no(e); return (t == g ? Nt : t == b ? Ht : As)(e) } function ns(e) { return e ? (e = os(e)) === 1 / 0 || e === -1 / 0 ? 17976931348623157e292 * (e < 0 ? -1 : 1) : e == e ? e : 0 : 0 === e ? e : 0 } function rs(e) { var t = ns(e) , n = t % 1; return t == t ? n ? t - n : t : 0 } function is(e) { return e ? Yn(rs(e), 0, 4294967295) : 0 } function os(e) { if ("number" == typeof e) return e; if (Ja(e)) return NaN; if (Ha(e)) { var t = "function" == typeof e.valueOf ? e.valueOf() : e; e = Ha(t) ? t + "" : t } if ("string" != typeof e) return 0 === e ? e : +e; e = e.replace(q, ""); var n = oe.test(e); return n || se.test(e) ? Ve(e.slice(2), n ? 2 : 8) : ie.test(e) ? NaN : +e } function as(e) { return yi(e, ws(e)) } function ss(e) { return null == e ? "" : Jr(e) } var ls = _i((function(e, t) { if (fo(t) || Ra(t)) yi(t, _s(t), e); else for (var n in t) ke.call(t, n) && Hn(e, n, t[n]) } )) , us = _i((function(e, t) { yi(t, ws(t), e) } )) , cs = _i((function(e, t, n, r) { yi(t, ws(t), e, r) } )) , ds = _i((function(e, t, n, r) { yi(t, _s(t), e, r) } )) , fs = Vi(qn); var hs = Fr((function(e, t) { e = ge(e); var n = -1 , r = t.length , i = r > 2 ? t[2] : void 0; for (i && so(t[0], t[1], i) && (r = 1); ++n < r; ) for (var o = t[n], a = ws(o), s = -1, l = a.length; ++s < l; ) { var u = a[s] , c = e[u]; (void 0 === c || Aa(c, we[u]) && !ke.call(e, u)) && (e[u] = o[u]) } return e } )) , ps = Fr((function(e) { return e.push(void 0, Ui), ot(xs, void 0, e) } )); function gs(e, t, n) { var r = null == e ? void 0 : dr(e, t); return void 0 === r ? n : r } function ms(e, t) { return null != e && ro(e, t, mr) } var vs = Ai((function(e, t, n) { null != t && "function" != typeof t.toString && (t = Me.call(t)), e[t] = n } ), Hs(Gs)) , ys = Ai((function(e, t, n) { null != t && "function" != typeof t.toString && (t = Me.call(t)), ke.call(e, t) ? e[t].push(n) : e[t] = [n] } ), Xi) , bs = Fr(yr); function _s(e) { return Ra(e) ? Fn(e) : kr(e) } function ws(e) { return Ra(e) ? Fn(e, !0) : Ir(e) } var Ss = _i((function(e, t, n) { Er(e, t, n) } )) , xs = _i((function(e, t, n, r) { Er(e, t, n, r) } )) , ks = Vi((function(e, t) { var n = {}; if (null == e) return n; var r = !1; t = ht(t, (function(t) { return t = si(t, e), r || (r = t.length > 1), t } )), yi(e, Gi(e), n), r && (n = Xn(n, 7, Wi)); for (var i = t.length; i--; ) Kr(n, t[i]); return n } )); var Is = Vi((function(e, t) { return null == e ? {} : function(e, t) { return Lr(e, t, (function(t, n) { return ms(e, n) } )) }(e, t) } )); function Cs(e, t) { if (null == e) return {}; var n = ht(Gi(e), (function(e) { return [e] } )); return t = Xi(t), Lr(e, n, (function(e, n) { return t(e, n[0]) } )) } var Ms = Fi(_s) , Ts = Fi(ws); function As(e) { return null == e ? [] : Ot(e, _s(e)) } var Es = ki((function(e, t, n) { return t = t.toLowerCase(), e + (n ? Os(t) : t) } )); function Os(e) { return Ds(ss(e).toLowerCase()) } function Bs(e) { return (e = ss(e)) && e.replace(ue, zt).replace(Le, "") } var Ls = ki((function(e, t, n) { return e + (n ? "-" : "") + t.toLowerCase() } )) , Ps = ki((function(e, t, n) { return e + (n ? " " : "") + t.toLowerCase() } )) , Rs = xi("toLowerCase"); var zs = ki((function(e, t, n) { return e + (n ? "_" : "") + t.toLowerCase() } )); var js = ki((function(e, t, n) { return e + (n ? " " : "") + Ds(t) } )); var Fs = ki((function(e, t, n) { return e + (n ? " " : "") + t.toUpperCase() } )) , Ds = xi("toUpperCase"); function Ns(e, t, n) { return e = ss(e), void 0 === (t = n ? void 0 : t) ? function(e) { return je.test(e) }(e) ? function(e) { return e.match(Re) || [] }(e) : function(e) { return e.match(ee) || [] }(e) : e.match(t) || [] } var Us = Fr((function(e, t) { try { return ot(e, void 0, t) } catch (e) { return Da(e) ? e : new fe(e) } } )) , Ws = Vi((function(e, t) { return st(t, (function(t) { t = Co(t), Zn(e, t, ya(e[t], e)) } )), e } )); function Hs(e) { return function() { return e } } var Vs = Mi() , $s = Mi(!0); function Gs(e) { return e } function Zs(e) { return xr("function" == typeof e ? e : Xn(e, 1)) } var qs = Fr((function(e, t) { return function(n) { return yr(n, e, t) } } )) , Ys = Fr((function(e, t) { return function(n) { return yr(e, n, t) } } )); function Xs(e, t, n) { var r = _s(t) , i = cr(t, r); null != n || Ha(t) && (i.length || !r.length) || (n = t, t = e, e = this, i = cr(t, _s(t))); var o = !(Ha(n) && "chain"in n && !n.chain) , a = Na(e); return st(i, (function(n) { var r = t[n]; e[n] = r, a && (e.prototype[n] = function() { var t = this.__chain__; if (o || t) { var n = e(this.__wrapped__) , i = n.__actions__ = vi(this.__actions__); return i.push({ func: r, args: arguments, thisArg: e }), n.__chain__ = t, n } return r.apply(e, pt([this.value()], arguments)) } ) } )), e } function Js() {} var Qs = Oi(ht) , Ks = Oi(ut) , el = Oi(vt); function tl(e) { return lo(e) ? It(Co(e)) : function(e) { return function(t) { return dr(t, e) } }(e) } var nl = Li() , rl = Li(!0); function il() { return [] } function ol() { return !1 } var al = Ei((function(e, t) { return e + t } ), 0) , sl = zi("ceil") , ll = Ei((function(e, t) { return e / t } ), 1) , ul = zi("floor"); var cl, dl = Ei((function(e, t) { return e * t } ), 1), fl = zi("round"), hl = Ei((function(e, t) { return e - t } ), 0); return Tn.after = function(e, t) { if ("function" != typeof t) throw new ye(o); return e = rs(e), function() { if (--e < 1) return t.apply(this, arguments) } } , Tn.ary = ma, Tn.assign = ls, Tn.assignIn = us, Tn.assignInWith = cs, Tn.assignWith = ds, Tn.at = fs, Tn.before = va, Tn.bind = ya, Tn.bindAll = Ws, Tn.bindKey = ba, Tn.castArray = function() { if (!arguments.length) return []; var e = arguments[0]; return La(e) ? e : [e] } , Tn.chain = ta, Tn.chunk = function(e, t, n) { t = (n ? so(e, t, n) : void 0 === t) ? 1 : an(rs(t), 0); var i = null == e ? 0 : e.length; if (!i || t < 1) return []; for (var o = 0, a = 0, s = r(Qt(i / t)); o < i; ) s[a++] = $r(e, o, o += t); return s } , Tn.compact = function(e) { for (var t = -1, n = null == e ? 0 : e.length, r = 0, i = []; ++t < n; ) { var o = e[t]; o && (i[r++] = o) } return i } , Tn.concat = function() { var e = arguments.length; if (!e) return []; for (var t = r(e - 1), n = arguments[0], i = e; i--; ) t[i - 1] = arguments[i]; return pt(La(n) ? vi(n) : [n], or(t, 1)) } , Tn.cond = function(e) { var t = null == e ? 0 : e.length , n = Xi(); return e = t ? ht(e, (function(e) { if ("function" != typeof e[1]) throw new ye(o); return [n(e[0]), e[1]] } )) : [], Fr((function(n) { for (var r = -1; ++r < t; ) { var i = e[r]; if (ot(i[0], this, n)) return ot(i[1], this, n) } } )) } , Tn.conforms = function(e) { return function(e) { var t = _s(e); return function(n) { return Jn(n, e, t) } }(Xn(e, 1)) } , Tn.constant = Hs, Tn.countBy = ia, Tn.create = function(e, t) { var n = An(e); return null == t ? n : Gn(n, t) } , Tn.curry = function e(t, n, r) { var i = Di(t, 8, void 0, void 0, void 0, void 0, void 0, n = r ? void 0 : n); return i.placeholder = e.placeholder, i } , Tn.curryRight = function e(t, n, r) { var i = Di(t, 16, void 0, void 0, void 0, void 0, void 0, n = r ? void 0 : n); return i.placeholder = e.placeholder, i } , Tn.debounce = _a, Tn.defaults = hs, Tn.defaultsDeep = ps, Tn.defer = wa, Tn.delay = Sa, Tn.difference = Ao, Tn.differenceBy = Eo, Tn.differenceWith = Oo, Tn.drop = function(e, t, n) { var r = null == e ? 0 : e.length; return r ? $r(e, (t = n || void 0 === t ? 1 : rs(t)) < 0 ? 0 : t, r) : [] } , Tn.dropRight = function(e, t, n) { var r = null == e ? 0 : e.length; return r ? $r(e, 0, (t = r - (t = n || void 0 === t ? 1 : rs(t))) < 0 ? 0 : t) : [] } , Tn.dropRightWhile = function(e, t) { return e && e.length ? ti(e, Xi(t, 3), !0, !0) : [] } , Tn.dropWhile = function(e, t) { return e && e.length ? ti(e, Xi(t, 3), !0) : [] } , Tn.fill = function(e, t, n, r) { var i = null == e ? 0 : e.length; return i ? (n && "number" != typeof n && so(e, t, n) && (n = 0, r = i), function(e, t, n, r) { var i = e.length; for ((n = rs(n)) < 0 && (n = -n > i ? 0 : i + n), (r = void 0 === r || r > i ? i : rs(r)) < 0 && (r += i), r = n > r ? 0 : is(r); n < r; ) e[n++] = t; return e }(e, t, n, r)) : [] } , Tn.filter = function(e, t) { return (La(e) ? ct : ir)(e, Xi(t, 3)) } , Tn.flatMap = function(e, t) { return or(fa(e, t), 1) } , Tn.flatMapDeep = function(e, t) { return or(fa(e, t), 1 / 0) } , Tn.flatMapDepth = function(e, t, n) { return n = void 0 === n ? 1 : rs(n), or(fa(e, t), n) } , Tn.flatten = Po, Tn.flattenDeep = function(e) { return (null == e ? 0 : e.length) ? or(e, 1 / 0) : [] } , Tn.flattenDepth = function(e, t) { return (null == e ? 0 : e.length) ? or(e, t = void 0 === t ? 1 : rs(t)) : [] } , Tn.flip = function(e) { return Di(e, 512) } , Tn.flow = Vs, Tn.flowRight = $s, Tn.fromPairs = function(e) { for (var t = -1, n = null == e ? 0 : e.length, r = {}; ++t < n; ) { var i = e[t]; r[i[0]] = i[1] } return r } , Tn.functions = function(e) { return null == e ? [] : cr(e, _s(e)) } , Tn.functionsIn = function(e) { return null == e ? [] : cr(e, ws(e)) } , Tn.groupBy = ua, Tn.initial = function(e) { return (null == e ? 0 : e.length) ? $r(e, 0, -1) : [] } , Tn.intersection = zo, Tn.intersectionBy = jo, Tn.intersectionWith = Fo, Tn.invert = vs, Tn.invertBy = ys, Tn.invokeMap = ca, Tn.iteratee = Zs, Tn.keyBy = da, Tn.keys = _s, Tn.keysIn = ws, Tn.map = fa, Tn.mapKeys = function(e, t) { var n = {}; return t = Xi(t, 3), lr(e, (function(e, r, i) { Zn(n, t(e, r, i), e) } )), n } , Tn.mapValues = function(e, t) { var n = {}; return t = Xi(t, 3), lr(e, (function(e, r, i) { Zn(n, r, t(e, r, i)) } )), n } , Tn.matches = function(e) { return Tr(Xn(e, 1)) } , Tn.matchesProperty = function(e, t) { return Ar(e, Xn(t, 1)) } , Tn.memoize = xa, Tn.merge = Ss, Tn.mergeWith = xs, Tn.method = qs, Tn.methodOf = Ys, Tn.mixin = Xs, Tn.negate = ka, Tn.nthArg = function(e) { return e = rs(e), Fr((function(t) { return Or(t, e) } )) } , Tn.omit = ks, Tn.omitBy = function(e, t) { return Cs(e, ka(Xi(t))) } , Tn.once = function(e) { return va(2, e) } , Tn.orderBy = function(e, t, n, r) { return null == e ? [] : (La(t) || (t = null == t ? [] : [t]), La(n = r ? void 0 : n) || (n = null == n ? [] : [n]), Br(e, t, n)) } , Tn.over = Qs, Tn.overArgs = Ia, Tn.overEvery = Ks, Tn.overSome = el, Tn.partial = Ca, Tn.partialRight = Ma, Tn.partition = ha, Tn.pick = Is, Tn.pickBy = Cs, Tn.property = tl, Tn.propertyOf = function(e) { return function(t) { return null == e ? void 0 : dr(e, t) } } , Tn.pull = No, Tn.pullAll = Uo, Tn.pullAllBy = function(e, t, n) { return e && e.length && t && t.length ? Pr(e, t, Xi(n, 2)) : e } , Tn.pullAllWith = function(e, t, n) { return e && e.length && t && t.length ? Pr(e, t, void 0, n) : e } , Tn.pullAt = Wo, Tn.range = nl, Tn.rangeRight = rl, Tn.rearg = Ta, Tn.reject = function(e, t) { return (La(e) ? ct : ir)(e, ka(Xi(t, 3))) } , Tn.remove = function(e, t) { var n = []; if (!e || !e.length) return n; var r = -1 , i = [] , o = e.length; for (t = Xi(t, 3); ++r < o; ) { var a = e[r]; t(a, r, e) && (n.push(a), i.push(r)) } return Rr(e, i), n } , Tn.rest = function(e, t) { if ("function" != typeof e) throw new ye(o); return Fr(e, t = void 0 === t ? t : rs(t)) } , Tn.reverse = Ho, Tn.sampleSize = function(e, t, n) { return t = (n ? so(e, t, n) : void 0 === t) ? 1 : rs(t), (La(e) ? Nn : Nr)(e, t) } , Tn.set = function(e, t, n) { return null == e ? e : Ur(e, t, n) } , Tn.setWith = function(e, t, n, r) { return r = "function" == typeof r ? r : void 0, null == e ? e : Ur(e, t, n, r) } , Tn.shuffle = function(e) { return (La(e) ? Un : Vr)(e) } , Tn.slice = function(e, t, n) { var r = null == e ? 0 : e.length; return r ? (n && "number" != typeof n && so(e, t, n) ? (t = 0, n = r) : (t = null == t ? 0 : rs(t), n = void 0 === n ? r : rs(n)), $r(e, t, n)) : [] } , Tn.sortBy = pa, Tn.sortedUniq = function(e) { return e && e.length ? Yr(e) : [] } , Tn.sortedUniqBy = function(e, t) { return e && e.length ? Yr(e, Xi(t, 2)) : [] } , Tn.split = function(e, t, n) { return n && "number" != typeof n && so(e, t, n) && (t = n = void 0), (n = void 0 === n ? 4294967295 : n >>> 0) ? (e = ss(e)) && ("string" == typeof t || null != t && !qa(t)) && !(t = Jr(t)) && Dt(e) ? ui(Gt(e), 0, n) : e.split(t, n) : [] } , Tn.spread = function(e, t) { if ("function" != typeof e) throw new ye(o); return t = null == t ? 0 : an(rs(t), 0), Fr((function(n) { var r = n[t] , i = ui(n, 0, t); return r && pt(i, r), ot(e, this, i) } )) } , Tn.tail = function(e) { var t = null == e ? 0 : e.length; return t ? $r(e, 1, t) : [] } , Tn.take = function(e, t, n) { return e && e.length ? $r(e, 0, (t = n || void 0 === t ? 1 : rs(t)) < 0 ? 0 : t) : [] } , Tn.takeRight = function(e, t, n) { var r = null == e ? 0 : e.length; return r ? $r(e, (t = r - (t = n || void 0 === t ? 1 : rs(t))) < 0 ? 0 : t, r) : [] } , Tn.takeRightWhile = function(e, t) { return e && e.length ? ti(e, Xi(t, 3), !1, !0) : [] } , Tn.takeWhile = function(e, t) { return e && e.length ? ti(e, Xi(t, 3)) : [] } , Tn.tap = function(e, t) { return t(e), e } , Tn.throttle = function(e, t, n) { var r = !0 , i = !0; if ("function" != typeof e) throw new ye(o); return Ha(n) && (r = "leading"in n ? !!n.leading : r, i = "trailing"in n ? !!n.trailing : i), _a(e, t, { leading: r, maxWait: t, trailing: i }) } , Tn.thru = na, Tn.toArray = ts, Tn.toPairs = Ms, Tn.toPairsIn = Ts, Tn.toPath = function(e) { return La(e) ? ht(e, Co) : Ja(e) ? [e] : vi(Io(ss(e))) } , Tn.toPlainObject = as, Tn.transform = function(e, t, n) { var r = La(e) , i = r || ja(e) || Qa(e); if (t = Xi(t, 4), null == n) { var o = e && e.constructor; n = i ? r ? new o : [] : Ha(e) && Na(o) ? An($e(e)) : {} } return (i ? st : lr)(e, (function(e, r, i) { return t(n, e, r, i) } )), n } , Tn.unary = function(e) { return ma(e, 1) } , Tn.union = Vo, Tn.unionBy = $o, Tn.unionWith = Go, Tn.uniq = function(e) { return e && e.length ? Qr(e) : [] } , Tn.uniqBy = function(e, t) { return e && e.length ? Qr(e, Xi(t, 2)) : [] } , Tn.uniqWith = function(e, t) { return t = "function" == typeof t ? t : void 0, e && e.length ? Qr(e, void 0, t) : [] } , Tn.unset = function(e, t) { return null == e || Kr(e, t) } , Tn.unzip = Zo, Tn.unzipWith = qo, Tn.update = function(e, t, n) { return null == e ? e : ei(e, t, ai(n)) } , Tn.updateWith = function(e, t, n, r) { return r = "function" == typeof r ? r : void 0, null == e ? e : ei(e, t, ai(n), r) } , Tn.values = As, Tn.valuesIn = function(e) { return null == e ? [] : Ot(e, ws(e)) } , Tn.without = Yo, Tn.words = Ns, Tn.wrap = function(e, t) { return Ca(ai(t), e) } , Tn.xor = Xo, Tn.xorBy = Jo, Tn.xorWith = Qo, Tn.zip = Ko, Tn.zipObject = function(e, t) { return ii(e || [], t || [], Hn) } , Tn.zipObjectDeep = function(e, t) { return ii(e || [], t || [], Ur) } , Tn.zipWith = ea, Tn.entries = Ms, Tn.entriesIn = Ts, Tn.extend = us, Tn.extendWith = cs, Xs(Tn, Tn), Tn.add = al, Tn.attempt = Us, Tn.camelCase = Es, Tn.capitalize = Os, Tn.ceil = sl, Tn.clamp = function(e, t, n) { return void 0 === n && (n = t, t = void 0), void 0 !== n && (n = (n = os(n)) == n ? n : 0), void 0 !== t && (t = (t = os(t)) == t ? t : 0), Yn(os(e), t, n) } , Tn.clone = function(e) { return Xn(e, 4) } , Tn.cloneDeep = function(e) { return Xn(e, 5) } , Tn.cloneDeepWith = function(e, t) { return Xn(e, 5, t = "function" == typeof t ? t : void 0) } , Tn.cloneWith = function(e, t) { return Xn(e, 4, t = "function" == typeof t ? t : void 0) } , Tn.conformsTo = function(e, t) { return null == t || Jn(e, t, _s(t)) } , Tn.deburr = Bs, Tn.defaultTo = function(e, t) { return null == e || e != e ? t : e } , Tn.divide = ll, Tn.endsWith = function(e, t, n) { e = ss(e), t = Jr(t); var r = e.length , i = n = void 0 === n ? r : Yn(rs(n), 0, r); return (n -= t.length) >= 0 && e.slice(n, i) == t } , Tn.eq = Aa, Tn.escape = function(e) { return (e = ss(e)) && D.test(e) ? e.replace(j, jt) : e } , Tn.escapeRegExp = function(e) { return (e = ss(e)) && Z.test(e) ? e.replace(G, "\\$&") : e } , Tn.every = function(e, t, n) { var r = La(e) ? ut : nr; return n && so(e, t, n) && (t = void 0), r(e, Xi(t, 3)) } , Tn.find = oa, Tn.findIndex = Bo, Tn.findKey = function(e, t) { return bt(e, Xi(t, 3), lr) } , Tn.findLast = aa, Tn.findLastIndex = Lo, Tn.findLastKey = function(e, t) { return bt(e, Xi(t, 3), ur) } , Tn.floor = ul, Tn.forEach = sa, Tn.forEachRight = la, Tn.forIn = function(e, t) { return null == e ? e : ar(e, Xi(t, 3), ws) } , Tn.forInRight = function(e, t) { return null == e ? e : sr(e, Xi(t, 3), ws) } , Tn.forOwn = function(e, t) { return e && lr(e, Xi(t, 3)) } , Tn.forOwnRight = function(e, t) { return e && ur(e, Xi(t, 3)) } , Tn.get = gs, Tn.gt = Ea, Tn.gte = Oa, Tn.has = function(e, t) { return null != e && ro(e, t, gr) } , Tn.hasIn = ms, Tn.head = Ro, Tn.identity = Gs, Tn.includes = function(e, t, n, r) { e = Ra(e) ? e : As(e), n = n && !r ? rs(n) : 0; var i = e.length; return n < 0 && (n = an(i + n, 0)), Xa(e) ? n <= i && e.indexOf(t, n) > -1 : !!i && wt(e, t, n) > -1 } , Tn.indexOf = function(e, t, n) { var r = null == e ? 0 : e.length; if (!r) return -1; var i = null == n ? 0 : rs(n); return i < 0 && (i = an(r + i, 0)), wt(e, t, i) } , Tn.inRange = function(e, t, n) { return t = ns(t), void 0 === n ? (n = t, t = 0) : n = ns(n), function(e, t, n) { return e >= sn(t, n) && e < an(t, n) }(e = os(e), t, n) } , Tn.invoke = bs, Tn.isArguments = Ba, Tn.isArray = La, Tn.isArrayBuffer = Pa, Tn.isArrayLike = Ra, Tn.isArrayLikeObject = za, Tn.isBoolean = function(e) { return !0 === e || !1 === e || Va(e) && hr(e) == c } , Tn.isBuffer = ja, Tn.isDate = Fa, Tn.isElement = function(e) { return Va(e) && 1 === e.nodeType && !Za(e) } , Tn.isEmpty = function(e) { if (null == e) return !0; if (Ra(e) && (La(e) || "string" == typeof e || "function" == typeof e.splice || ja(e) || Qa(e) || Ba(e))) return !e.length; var t = no(e); if (t == g || t == b) return !e.size; if (fo(e)) return !kr(e).length; for (var n in e) if (ke.call(e, n)) return !1; return !0 } , Tn.isEqual = function(e, t) { return _r(e, t) } , Tn.isEqualWith = function(e, t, n) { var r = (n = "function" == typeof n ? n : void 0) ? n(e, t) : void 0; return void 0 === r ? _r(e, t, void 0, n) : !!r } , Tn.isError = Da, Tn.isFinite = function(e) { return "number" == typeof e && nn(e) } , Tn.isFunction = Na, Tn.isInteger = Ua, Tn.isLength = Wa, Tn.isMap = $a, Tn.isMatch = function(e, t) { return e === t || wr(e, t, Qi(t)) } , Tn.isMatchWith = function(e, t, n) { return n = "function" == typeof n ? n : void 0, wr(e, t, Qi(t), n) } , Tn.isNaN = function(e) { return Ga(e) && e != +e } , Tn.isNative = function(e) { if (co(e)) throw new fe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill."); return Sr(e) } , Tn.isNil = function(e) { return null == e } , Tn.isNull = function(e) { return null === e } , Tn.isNumber = Ga, Tn.isObject = Ha, Tn.isObjectLike = Va, Tn.isPlainObject = Za, Tn.isRegExp = qa, Tn.isSafeInteger = function(e) { return Ua(e) && e >= -9007199254740991 && e <= 9007199254740991 } , Tn.isSet = Ya, Tn.isString = Xa, Tn.isSymbol = Ja, Tn.isTypedArray = Qa, Tn.isUndefined = function(e) { return void 0 === e } , Tn.isWeakMap = function(e) { return Va(e) && no(e) == S } , Tn.isWeakSet = function(e) { return Va(e) && "[object WeakSet]" == hr(e) } , Tn.join = function(e, t) { return null == e ? "" : rn.call(e, t) } , Tn.kebabCase = Ls, Tn.last = Do, Tn.lastIndexOf = function(e, t, n) { var r = null == e ? 0 : e.length; if (!r) return -1; var i = r; return void 0 !== n && (i = (i = rs(n)) < 0 ? an(r + i, 0) : sn(i, r - 1)), t == t ? function(e, t, n) { for (var r = n + 1; r--; ) if (e[r] === t) return r; return r }(e, t, i) : _t(e, xt, i, !0) } , Tn.lowerCase = Ps, Tn.lowerFirst = Rs, Tn.lt = Ka, Tn.lte = es, Tn.max = function(e) { return e && e.length ? rr(e, Gs, pr) : void 0 } , Tn.maxBy = function(e, t) { return e && e.length ? rr(e, Xi(t, 2), pr) : void 0 } , Tn.mean = function(e) { return kt(e, Gs) } , Tn.meanBy = function(e, t) { return kt(e, Xi(t, 2)) } , Tn.min = function(e) { return e && e.length ? rr(e, Gs, Cr) : void 0 } , Tn.minBy = function(e, t) { return e && e.length ? rr(e, Xi(t, 2), Cr) : void 0 } , Tn.stubArray = il, Tn.stubFalse = ol, Tn.stubObject = function() { return {} } , Tn.stubString = function() { return "" } , Tn.stubTrue = function() { return !0 } , Tn.multiply = dl, Tn.nth = function(e, t) { return e && e.length ? Or(e, rs(t)) : void 0 } , Tn.noConflict = function() { return Ze._ === this && (Ze._ = Ae), this } , Tn.noop = Js, Tn.now = ga, Tn.pad = function(e, t, n) { e = ss(e); var r = (t = rs(t)) ? $t(e) : 0; if (!t || r >= t) return e; var i = (t - r) / 2; return Bi(Kt(i), n) + e + Bi(Qt(i), n) } , Tn.padEnd = function(e, t, n) { e = ss(e); var r = (t = rs(t)) ? $t(e) : 0; return t && r < t ? e + Bi(t - r, n) : e } , Tn.padStart = function(e, t, n) { e = ss(e); var r = (t = rs(t)) ? $t(e) : 0; return t && r < t ? Bi(t - r, n) + e : e } , Tn.parseInt = function(e, t, n) { return n || null == t ? t = 0 : t && (t = +t), un(ss(e).replace(Y, ""), t || 0) } , Tn.random = function(e, t, n) { if (n && "boolean" != typeof n && so(e, t, n) && (t = n = void 0), void 0 === n && ("boolean" == typeof t ? (n = t, t = void 0) : "boolean" == typeof e && (n = e, e = void 0)), void 0 === e && void 0 === t ? (e = 0, t = 1) : (e = ns(e), void 0 === t ? (t = e, e = 0) : t = ns(t)), e > t) { var r = e; e = t, t = r } if (n || e % 1 || t % 1) { var i = cn(); return sn(e + i * (t - e + He("1e-" + ((i + "").length - 1))), t) } return zr(e, t) } , Tn.reduce = function(e, t, n) { var r = La(e) ? gt : Mt , i = arguments.length < 3; return r(e, Xi(t, 4), n, i, er) } , Tn.reduceRight = function(e, t, n) { var r = La(e) ? mt : Mt , i = arguments.length < 3; return r(e, Xi(t, 4), n, i, tr) } , Tn.repeat = function(e, t, n) { return t = (n ? so(e, t, n) : void 0 === t) ? 1 : rs(t), jr(ss(e), t) } , Tn.replace = function() { var e = arguments , t = ss(e[0]); return e.length < 3 ? t : t.replace(e[1], e[2]) } , Tn.result = function(e, t, n) { var r = -1 , i = (t = si(t, e)).length; for (i || (i = 1, e = void 0); ++r < i; ) { var o = null == e ? void 0 : e[Co(t[r])]; void 0 === o && (r = i, o = n), e = Na(o) ? o.call(e) : o } return e } , Tn.round = fl, Tn.runInContext = e, Tn.sample = function(e) { return (La(e) ? Dn : Dr)(e) } , Tn.size = function(e) { if (null == e) return 0; if (Ra(e)) return Xa(e) ? $t(e) : e.length; var t = no(e); return t == g || t == b ? e.size : kr(e).length } , Tn.snakeCase = zs, Tn.some = function(e, t, n) { var r = La(e) ? vt : Gr; return n && so(e, t, n) && (t = void 0), r(e, Xi(t, 3)) } , Tn.sortedIndex = function(e, t) { return Zr(e, t) } , Tn.sortedIndexBy = function(e, t, n) { return qr(e, t, Xi(n, 2)) } , Tn.sortedIndexOf = function(e, t) { var n = null == e ? 0 : e.length; if (n) { var r = Zr(e, t); if (r < n && Aa(e[r], t)) return r } return -1 } , Tn.sortedLastIndex = function(e, t) { return Zr(e, t, !0) } , Tn.sortedLastIndexBy = function(e, t, n) { return qr(e, t, Xi(n, 2), !0) } , Tn.sortedLastIndexOf = function(e, t) { if (null == e ? 0 : e.length) { var n = Zr(e, t, !0) - 1; if (Aa(e[n], t)) return n } return -1 } , Tn.startCase = js, Tn.startsWith = function(e, t, n) { return e = ss(e), n = null == n ? 0 : Yn(rs(n), 0, e.length), t = Jr(t), e.slice(n, n + t.length) == t } , Tn.subtract = hl, Tn.sum = function(e) { return e && e.length ? Tt(e, Gs) : 0 } , Tn.sumBy = function(e, t) { return e && e.length ? Tt(e, Xi(t, 2)) : 0 } , Tn.template = function(e, t, n) { var r = Tn.templateSettings; n && so(e, t, n) && (t = void 0), e = ss(e), t = cs({}, t, r, Ni); var i, o, a = cs({}, t.imports, r.imports, Ni), s = _s(a), l = Ot(a, s), u = 0, c = t.interpolate || ce, d = "__p += '", f = me((t.escape || ce).source + "|" + c.source + "|" + (c === W ? ne : ce).source + "|" + (t.evaluate || ce).source + "|$", "g"), h = "//# sourceURL=" + (ke.call(t, "sourceURL") ? (t.sourceURL + "").replace(/[\r\n]/g, " ") : "lodash.templateSources[" + ++De + "]") + "\n"; e.replace(f, (function(t, n, r, a, s, l) { return r || (r = a), d += e.slice(u, l).replace(de, Ft), n && (i = !0, d += "' +\n__e(" + n + ") +\n'"), s && (o = !0, d += "';\n" + s + ";\n__p += '"), r && (d += "' +\n((__t = (" + r + ")) == null ? '' : __t) +\n'"), u = l + t.length, t } )), d += "';\n"; var p = ke.call(t, "variable") && t.variable; p || (d = "with (obj) {\n" + d + "\n}\n"), d = (o ? d.replace(L, "") : d).replace(P, "$1").replace(R, "$1;"), d = "function(" + (p || "obj") + ") {\n" + (p ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (i ? ", __e = _.escape" : "") + (o ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + d + "return __p\n}"; var g = Us((function() { return he(s, h + "return " + d).apply(void 0, l) } )); if (g.source = d, Da(g)) throw g; return g } , Tn.times = function(e, t) { if ((e = rs(e)) < 1 || e > 9007199254740991) return []; var n = 4294967295 , r = sn(e, 4294967295); e -= 4294967295; for (var i = At(r, t = Xi(t)); ++n < e; ) t(n); return i } , Tn.toFinite = ns, Tn.toInteger = rs, Tn.toLength = is, Tn.toLower = function(e) { return ss(e).toLowerCase() } , Tn.toNumber = os, Tn.toSafeInteger = function(e) { return e ? Yn(rs(e), -9007199254740991, 9007199254740991) : 0 === e ? e : 0 } , Tn.toString = ss, Tn.toUpper = function(e) { return ss(e).toUpperCase() } , Tn.trim = function(e, t, n) { if ((e = ss(e)) && (n || void 0 === t)) return e.replace(q, ""); if (!e || !(t = Jr(t))) return e; var r = Gt(e) , i = Gt(t); return ui(r, Lt(r, i), Pt(r, i) + 1).join("") } , Tn.trimEnd = function(e, t, n) { if ((e = ss(e)) && (n || void 0 === t)) return e.replace(X, ""); if (!e || !(t = Jr(t))) return e; var r = Gt(e); return ui(r, 0, Pt(r, Gt(t)) + 1).join("") } , Tn.trimStart = function(e, t, n) { if ((e = ss(e)) && (n || void 0 === t)) return e.replace(Y, ""); if (!e || !(t = Jr(t))) return e; var r = Gt(e); return ui(r, Lt(r, Gt(t))).join("") } , Tn.truncate = function(e, t) { var n = 30 , r = "..."; if (Ha(t)) { var i = "separator"in t ? t.separator : i; n = "length"in t ? rs(t.length) : n, r = "omission"in t ? Jr(t.omission) : r } var o = (e = ss(e)).length; if (Dt(e)) { var a = Gt(e); o = a.length } if (n >= o) return e; var s = n - $t(r); if (s < 1) return r; var l = a ? ui(a, 0, s).join("") : e.slice(0, s); if (void 0 === i) return l + r; if (a && (s += l.length - s), qa(i)) { if (e.slice(s).search(i)) { var u, c = l; for (i.global || (i = me(i.source, ss(re.exec(i)) + "g")), i.lastIndex = 0; u = i.exec(c); ) var d = u.index; l = l.slice(0, void 0 === d ? s : d) } } else if (e.indexOf(Jr(i), s) != s) { var f = l.lastIndexOf(i); f > -1 && (l = l.slice(0, f)) } return l + r } , Tn.unescape = function(e) { return (e = ss(e)) && F.test(e) ? e.replace(z, Zt) : e } , Tn.uniqueId = function(e) { var t = ++Ie; return ss(e) + t } , Tn.upperCase = Fs, Tn.upperFirst = Ds, Tn.each = sa, Tn.eachRight = la, Tn.first = Ro, Xs(Tn, (cl = {}, lr(Tn, (function(e, t) { ke.call(Tn.prototype, t) || (cl[t] = e) } )), cl), { chain: !1 }), Tn.VERSION = "4.17.14", st(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], (function(e) { Tn[e].placeholder = Tn } )), st(["drop", "take"], (function(e, t) { Bn.prototype[e] = function(n) { n = void 0 === n ? 1 : an(rs(n), 0); var r = this.__filtered__ && !t ? new Bn(this) : this.clone(); return r.__filtered__ ? r.__takeCount__ = sn(n, r.__takeCount__) : r.__views__.push({ size: sn(n, 4294967295), type: e + (r.__dir__ < 0 ? "Right" : "") }), r } , Bn.prototype[e + "Right"] = function(t) { return this.reverse()[e](t).reverse() } } )), st(["filter", "map", "takeWhile"], (function(e, t) { var n = t + 1 , r = 1 == n || 3 == n; Bn.prototype[e] = function(e) { var t = this.clone(); return t.__iteratees__.push({ iteratee: Xi(e, 3), type: n }), t.__filtered__ = t.__filtered__ || r, t } } )), st(["head", "last"], (function(e, t) { var n = "take" + (t ? "Right" : ""); Bn.prototype[e] = function() { return this[n](1).value()[0] } } )), st(["initial", "tail"], (function(e, t) { var n = "drop" + (t ? "" : "Right"); Bn.prototype[e] = function() { return this.__filtered__ ? new Bn(this) : this[n](1) } } )), Bn.prototype.compact = function() { return this.filter(Gs) } , Bn.prototype.find = function(e) { return this.filter(e).head() } , Bn.prototype.findLast = function(e) { return this.reverse().find(e) } , Bn.prototype.invokeMap = Fr((function(e, t) { return "function" == typeof e ? new Bn(this) : this.map((function(n) { return yr(n, e, t) } )) } )), Bn.prototype.reject = function(e) { return this.filter(ka(Xi(e))) } , Bn.prototype.slice = function(e, t) { e = rs(e); var n = this; return n.__filtered__ && (e > 0 || t < 0) ? new Bn(n) : (e < 0 ? n = n.takeRight(-e) : e && (n = n.drop(e)), void 0 !== t && (n = (t = rs(t)) < 0 ? n.dropRight(-t) : n.take(t - e)), n) } , Bn.prototype.takeRightWhile = function(e) { return this.reverse().takeWhile(e).reverse() } , Bn.prototype.toArray = function() { return this.take(4294967295) } , lr(Bn.prototype, (function(e, t) { var n = /^(?:filter|find|map|reject)|While$/.test(t) , r = /^(?:head|last)$/.test(t) , i = Tn[r ? "take" + ("last" == t ? "Right" : "") : t] , o = r || /^find/.test(t); i && (Tn.prototype[t] = function() { var t = this.__wrapped__ , a = r ? [1] : arguments , s = t instanceof Bn , l = a[0] , u = s || La(t) , c = function(e) { var t = i.apply(Tn, pt([e], a)); return r && d ? t[0] : t }; u && n && "function" == typeof l && 1 != l.length && (s = u = !1); var d = this.__chain__ , f = !!this.__actions__.length , h = o && !d , p = s && !f; if (!o && u) { t = p ? t : new Bn(this); var g = e.apply(t, a); return g.__actions__.push({ func: na, args: [c], thisArg: void 0 }), new On(g,d) } return h && p ? e.apply(this, a) : (g = this.thru(c), h ? r ? g.value()[0] : g.value() : g) } ) } )), st(["pop", "push", "shift", "sort", "splice", "unshift"], (function(e) { var t = be[e] , n = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru" , r = /^(?:pop|shift)$/.test(e); Tn.prototype[e] = function() { var e = arguments; if (r && !this.__chain__) { var i = this.value(); return t.apply(La(i) ? i : [], e) } return this[n]((function(n) { return t.apply(La(n) ? n : [], e) } )) } } )), lr(Bn.prototype, (function(e, t) { var n = Tn[t]; if (n) { var r = n.name + ""; ke.call(bn, r) || (bn[r] = []), bn[r].push({ name: t, func: n }) } } )), bn[Ti(void 0, 2).name] = [{ name: "wrapper", func: void 0 }], Bn.prototype.clone = function() { var e = new Bn(this.__wrapped__); return e.__actions__ = vi(this.__actions__), e.__dir__ = this.__dir__, e.__filtered__ = this.__filtered__, e.__iteratees__ = vi(this.__iteratees__), e.__takeCount__ = this.__takeCount__, e.__views__ = vi(this.__views__), e } , Bn.prototype.reverse = function() { if (this.__filtered__) { var e = new Bn(this); e.__dir__ = -1, e.__filtered__ = !0 } else (e = this.clone()).__dir__ *= -1; return e } , Bn.prototype.value = function() { var e = this.__wrapped__.value() , t = this.__dir__ , n = La(e) , r = t < 0 , i = n ? e.length : 0 , o = function(e, t, n) { var r = -1 , i = n.length; for (; ++r < i; ) { var o = n[r] , a = o.size; switch (o.type) { case "drop": e += a; break; case "dropRight": t -= a; break; case "take": t = sn(t, e + a); break; case "takeRight": e = an(e, t - a) } } return { start: e, end: t } }(0, i, this.__views__) , a = o.start , s = o.end , l = s - a , u = r ? s : a - 1 , c = this.__iteratees__ , d = c.length , f = 0 , h = sn(l, this.__takeCount__); if (!n || !r && i == l && h == l) return ni(e, this.__actions__); var p = []; e: for (; l-- && f < h; ) { for (var g = -1, m = e[u += t]; ++g < d; ) { var v = c[g] , y = v.iteratee , b = v.type , _ = y(m); if (2 == b) m = _; else if (!_) { if (1 == b) continue e; break e } } p[f++] = m } return p } , Tn.prototype.at = ra, Tn.prototype.chain = function() { return ta(this) } , Tn.prototype.commit = function() { return new On(this.value(),this.__chain__) } , Tn.prototype.next = function() { void 0 === this.__values__ && (this.__values__ = ts(this.value())); var e = this.__index__ >= this.__values__.length; return { done: e, value: e ? void 0 : this.__values__[this.__index__++] } } , Tn.prototype.plant = function(e) { for (var t, n = this; n instanceof En; ) { var r = To(n); r.__index__ = 0, r.__values__ = void 0, t ? i.__wrapped__ = r : t = r; var i = r; n = n.__wrapped__ } return i.__wrapped__ = e, t } , Tn.prototype.reverse = function() { var e = this.__wrapped__; if (e instanceof Bn) { var t = e; return this.__actions__.length && (t = new Bn(this)), (t = t.reverse()).__actions__.push({ func: na, args: [Ho], thisArg: void 0 }), new On(t,this.__chain__) } return this.thru(Ho) } , Tn.prototype.toJSON = Tn.prototype.valueOf = Tn.prototype.value = function() { return ni(this.__wrapped__, this.__actions__) } , Tn.prototype.first = Tn.prototype.head, Qe && (Tn.prototype[Qe] = function() { return this } ), Tn }(); Ze._ = qt, void 0 === (i = function() { return qt } .call(t, n, t, r)) || (r.exports = i) } ).call(this) } ).call(this, n(20), n(116)(e)) }, 174: function(e, t, n) { "use strict"; n.r(t), n.d(t, "PresetZoomScales", (function() { return r } )); const r = [500, 400, 300, 200, 150, 120, 100, 80, 50, 20] }, 175: function(e, t, n) { "use strict"; n.d(t, "a", (function() { return r } )); const r = e=>function(e) { for (var t, n = "", r = e.length, i = 0; i < r; i++) t = e[i], n += String.fromCharCode(t > 251 && t < 254 && i + 5 < r ? 1073741824 * (t - 252) + (e[++i] - 128 << 24) + (e[++i] - 128 << 18) + (e[++i] - 128 << 12) + (e[++i] - 128 << 6) + e[++i] - 128 : t > 247 && t < 252 && i + 4 < r ? (t - 248 << 24) + (e[++i] - 128 << 18) + (e[++i] - 128 << 12) + (e[++i] - 128 << 6) + e[++i] - 128 : t > 239 && t < 248 && i + 3 < r ? (t - 240 << 18) + (e[++i] - 128 << 12) + (e[++i] - 128 << 6) + e[++i] - 128 : t > 223 && t < 240 && i + 2 < r ? (t - 224 << 12) + (e[++i] - 128 << 6) + e[++i] - 128 : t > 191 && t < 224 && i + 1 < r ? (t - 192 << 6) + e[++i] - 128 : t); return n }(function(e, t) { for (var n, r, i, o = e.replace(/[^A-Za-z0-9\+\/]/g, ""), a = o.length, s = t ? Math.ceil((3 * a + 1 >>> 2) / t) * t : 3 * a + 1 >>> 2, l = new Uint8Array(s), u = 0, c = 0, d = 0; d < a; d++) if (r = 3 & d, u |= ((i = o.charCodeAt(d)) > 64 && i < 91 ? i - 65 : i > 96 && i < 123 ? i - 71 : i > 47 && i < 58 ? i + 4 : 43 === i ? 62 : 47 === i ? 63 : 0) << 18 - 6 * r, 3 === r || a - d == 1) { for (n = 0; n < 3 && c < s; n++, c++) l[c] = u >>> (16 >>> n & 24) & 255; u = 0 } return l }(e)) }, 181: function(e, t, n) { "use strict"; n.d(t, "a", (function() { return r } )), n.d(t, "b", (function() { return i } )); var r = function() { var e = this.$createElement , t = this._self._c || e; return t("div", { staticClass: "share-map__loading position-fixed" }, [t("div", { staticClass: "p-3 spinner", attrs: { "uk-spinner": "ratio: 1.4" } }, [t("svg", { attrs: { width: "42", height: "42", viewBox: "0 0 30 30", xmlns: "http://www.w3.org/2000/svg" } }, [t("circle", { staticStyle: { "stroke-width": "0.714286px" }, attrs: { fill: "none", stroke: "#000", cx: "15", cy: "15", r: "14" } })])]), this._v(" "), t("div", { staticClass: "text-muted" }, [this._v("\n Loading...\n ")])]) } , i = [] }, 182: function(e, t, n) { "use strict"; n.d(t, "a", (function() { return r } )), n.d(t, "b", (function() { return i } )); var r = function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", [n("button", { staticClass: "btn dropdown-toggle", attrs: { type: "button", "data-toggle": "dropdown", "aria-haspopup": "true", "aria-expanded": "false", "data-offset": "0, 12" } }, [e._v("\n " + e._s(e.zoomScale) + "%\n ")]), e._v(" "), n("div", { staticClass: "dropdown-menu", staticStyle: { "min-width": "100px", "max-height": "80vh", overflow: "auto" } }, e._l(e.PresetZoomScales, (function(t) { return n("a", { staticClass: "dropdown-item", attrs: { href: "#" }, on: { click: function(n) { return e.handleZoom(t) } } }, [e._v("\n " + e._s(t) + " %\n ")]) } )), 0)]) } , i = [] }, 183: function(e, t, n) { "use strict"; n.d(t, "a", (function() { return r } )), n.d(t, "b", (function() { return i } )); var r = function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", { staticClass: "sheets-bar" }, [n("button", { staticClass: "btn dropdown-toggle", class: { "dropdown-toggle": e.sheets.length > 1 }, style: e.buttonStyles, attrs: { type: "button", "data-toggle": "dropdown", "aria-haspopup": "true", "aria-expanded": "false", "data-offset": "0, 12" } }, [e._v("\n " + e._s(e.currentSheet && e.currentSheet.title) + "\n ")]), e._v(" "), n("div", { directives: [{ name: "show", rawName: "v-show", value: e.sheets.length > 1, expression: "sheets.length > 1" }], staticClass: "dropdown-menu" }, e._l(e.sheets, (function(t) { return n("a", { staticClass: "dropdown-item", attrs: { href: "#" }, on: { click: function(n) { return e.handleSwitchSheet(t.id) } } }, [e._v("\n " + e._s(t.title) + "\n ")]) } )), 0)]) } , i = [] }, 184: function(e, t, n) { (function(e) { var r = void 0 !== e && e || "undefined" != typeof self && self || window , i = Function.prototype.apply; function o(e, t) { this._id = e, this._clearFn = t } t.setTimeout = function() { return new o(i.call(setTimeout, r, arguments),clearTimeout) } , t.setInterval = function() { return new o(i.call(setInterval, r, arguments),clearInterval) } , t.clearTimeout = t.clearInterval = function(e) { e && e.close() } , o.prototype.unref = o.prototype.ref = function() {} , o.prototype.close = function() { this._clearFn.call(r, this._id) } , t.enroll = function(e, t) { clearTimeout(e._idleTimeoutId), e._idleTimeout = t } , t.unenroll = function(e) { clearTimeout(e._idleTimeoutId), e._idleTimeout = -1 } , t._unrefActive = t.active = function(e) { clearTimeout(e._idleTimeoutId); var t = e._idleTimeout; t >= 0 && (e._idleTimeoutId = setTimeout((function() { e._onTimeout && e._onTimeout() } ), t)) } , n(277), t.setImmediate = "undefined" != typeof self && self.setImmediate || void 0 !== e && e.setImmediate || this && this.setImmediate, t.clearImmediate = "undefined" != typeof self && self.clearImmediate || void 0 !== e && e.clearImmediate || this && this.clearImmediate } ).call(this, n(20)) }, 188: function(e, t, n) { "use strict"; var r = n(14) , i = n(117) , o = n(190) , a = n(94); function s(e) { var t = new o(e) , n = i(o.prototype.request, t); return r.extend(n, o.prototype, t), r.extend(n, t), n } var l = s(a); l.Axios = o, l.create = function(e) { return s(r.merge(a, e)) } , l.Cancel = n(121), l.CancelToken = n(204), l.isCancel = n(120), l.all = function(e) { return Promise.all(e) } , l.spread = n(205), e.exports = l, e.exports.default = l }, 189: function(e, t) { function n(e) { return !!e.constructor && "function" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e) } /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ e.exports = function(e) { return null != e && (n(e) || function(e) { return "function" == typeof e.readFloatLE && "function" == typeof e.slice && n(e.slice(0, 0)) }(e) || !!e._isBuffer) } }, 190: function(e, t, n) { "use strict"; var r = n(94) , i = n(14) , o = n(199) , a = n(200); function s(e) { this.defaults = e, this.interceptors = { request: new o, response: new o } } s.prototype.request = function(e) { "string" == typeof e && (e = i.merge({ url: arguments[0] }, arguments[1])), (e = i.merge(r, { method: "get" }, this.defaults, e)).method = e.method.toLowerCase(); var t = [a, void 0] , n = Promise.resolve(e); for (this.interceptors.request.forEach((function(e) { t.unshift(e.fulfilled, e.rejected) } )), this.interceptors.response.forEach((function(e) { t.push(e.fulfilled, e.rejected) } )); t.length; ) n = n.then(t.shift(), t.shift()); return n } , i.forEach(["delete", "get", "head", "options"], (function(e) { s.prototype[e] = function(t, n) { return this.request(i.merge(n || {}, { method: e, url: t })) } } )), i.forEach(["post", "put", "patch"], (function(e) { s.prototype[e] = function(t, n, r) { return this.request(i.merge(r || {}, { method: e, url: t, data: n })) } } )), e.exports = s }, 191: function(e, t, n) { "use strict"; var r = n(14); e.exports = function(e, t) { r.forEach(e, (function(n, r) { r !== t && r.toUpperCase() === t.toUpperCase() && (e[t] = n, delete e[r]) } )) } }, 192: function(e, t, n) { "use strict"; var r = n(119); e.exports = function(e, t, n) { var i = n.config.validateStatus; n.status && i && !i(n.status) ? t(r("Request failed with status code " + n.status, n.config, null, n.request, n)) : e(n) } }, 193: function(e, t, n) { "use strict"; e.exports = function(e, t, n, r, i) { return e.config = t, n && (e.code = n), e.request = r, e.response = i, e } }, 194: function(e, t, n) { "use strict"; var r = n(14); function i(e) { return encodeURIComponent(e).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]") } e.exports = function(e, t, n) { if (!t) return e; var o; if (n) o = n(t); else if (r.isURLSearchParams(t)) o = t.toString(); else { var a = []; r.forEach(t, (function(e, t) { null != e && (r.isArray(e) ? t += "[]" : e = [e], r.forEach(e, (function(e) { r.isDate(e) ? e = e.toISOString() : r.isObject(e) && (e = JSON.stringify(e)), a.push(i(t) + "=" + i(e)) } ))) } )), o = a.join("&") } return o && (e += (-1 === e.indexOf("?") ? "?" : "&") + o), e } }, 195: function(e, t, n) { "use strict"; var r = n(14) , i = ["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]; e.exports = function(e) { var t, n, o, a = {}; return e ? (r.forEach(e.split("\n"), (function(e) { if (o = e.indexOf(":"), t = r.trim(e.substr(0, o)).toLowerCase(), n = r.trim(e.substr(o + 1)), t) { if (a[t] && i.indexOf(t) >= 0) return; a[t] = "set-cookie" === t ? (a[t] ? a[t] : []).concat([n]) : a[t] ? a[t] + ", " + n : n } } )), a) : a } }, 196: function(e, t, n) { "use strict"; var r = n(14); e.exports = r.isStandardBrowserEnv() ? function() { var e, t = /(msie|trident)/i.test(navigator.userAgent), n = document.createElement("a"); function i(e) { var r = e; return t && (n.setAttribute("href", r), r = n.href), n.setAttribute("href", r), { href: n.href, protocol: n.protocol ? n.protocol.replace(/:$/, "") : "", host: n.host, search: n.search ? n.search.replace(/^\?/, "") : "", hash: n.hash ? n.hash.replace(/^#/, "") : "", hostname: n.hostname, port: n.port, pathname: "/" === n.pathname.charAt(0) ? n.pathname : "/" + n.pathname } } return e = i(window.location.href), function(t) { var n = r.isString(t) ? i(t) : t; return n.protocol === e.protocol && n.host === e.host } }() : function() { return !0 } }, 197: function(e, t, n) { "use strict"; function r() { this.message = "String contains an invalid character" } r.prototype = new Error, r.prototype.code = 5, r.prototype.name = "InvalidCharacterError", e.exports = function(e) { for (var t, n, i = String(e), o = "", a = 0, s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; i.charAt(0 | a) || (s = "=", a % 1); o += s.charAt(63 & t >> 8 - a % 1 * 8)) { if ((n = i.charCodeAt(a += 3 / 4)) > 255) throw new r; t = t << 8 | n } return o } }, 198: function(e, t, n) { "use strict"; var r = n(14); e.exports = r.isStandardBrowserEnv() ? { write: function(e, t, n, i, o, a) { var s = []; s.push(e + "=" + encodeURIComponent(t)), r.isNumber(n) && s.push("expires=" + new Date(n).toGMTString()), r.isString(i) && s.push("path=" + i), r.isString(o) && s.push("domain=" + o), !0 === a && s.push("secure"), document.cookie = s.join("; ") }, read: function(e) { var t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)")); return t ? decodeURIComponent(t[3]) : null }, remove: function(e) { this.write(e, "", Date.now() - 864e5) } } : { write: function() {}, read: function() { return null }, remove: function() {} } }, 199: function(e, t, n) { "use strict"; var r = n(14); function i() { this.handlers = [] } i.prototype.use = function(e, t) { return this.handlers.push({ fulfilled: e, rejected: t }), this.handlers.length - 1 } , i.prototype.eject = function(e) { this.handlers[e] && (this.handlers[e] = null) } , i.prototype.forEach = function(e) { r.forEach(this.handlers, (function(t) { null !== t && e(t) } )) } , e.exports = i }, 2: function(e, t, n) { "use strict"; e.exports = function(e) { var t = []; return t.toString = function() { return this.map((function(t) { var n = function(e, t) { var n = e[1] || "" , r = e[3]; if (!r) return n; if (t && "function" == typeof btoa) { var i = (a = r, s = btoa(unescape(encodeURIComponent(JSON.stringify(a)))), l = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s), "/*# ".concat(l, " */")) , o = r.sources.map((function(e) { return "/*# sourceURL=".concat(r.sourceRoot).concat(e, " */") } )); return [n].concat(o).concat([i]).join("\n") } var a, s, l; return [n].join("\n") }(t, e); return t[2] ? "@media ".concat(t[2], "{").concat(n, "}") : n } )).join("") } , t.i = function(e, n) { "string" == typeof e && (e = [[null, e, ""]]); for (var r = {}, i = 0; i < this.length; i++) { var o = this[i][0]; null != o && (r[o] = !0) } for (var a = 0; a < e.length; a++) { var s = e[a]; null != s[0] && r[s[0]] || (n && !s[2] ? s[2] = n : n && (s[2] = "(".concat(s[2], ") and (").concat(n, ")")), t.push(s)) } } , t } }, 20: function(e, t) { var n; n = function() { return this }(); try { n = n || new Function("return this")() } catch (e) { "object" == typeof window && (n = window) } e.exports = n }, 200: function(e, t, n) { "use strict"; var r = n(14) , i = n(201) , o = n(120) , a = n(94) , s = n(202) , l = n(203); function u(e) { e.cancelToken && e.cancelToken.throwIfRequested() } e.exports = function(e) { return u(e), e.baseURL && !s(e.url) && (e.url = l(e.baseURL, e.url)), e.headers = e.headers || {}, e.data = i(e.data, e.headers, e.transformRequest), e.headers = r.merge(e.headers.common || {}, e.headers[e.method] || {}, e.headers || {}), r.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (function(t) { delete e.headers[t] } )), (e.adapter || a.adapter)(e).then((function(t) { return u(e), t.data = i(t.data, t.headers, e.transformResponse), t } ), (function(t) { return o(t) || (u(e), t && t.response && (t.response.data = i(t.response.data, t.response.headers, e.transformResponse))), Promise.reject(t) } )) } }, 201: function(e, t, n) { "use strict"; var r = n(14); e.exports = function(e, t, n) { return r.forEach(n, (function(n) { e = n(e, t) } )), e } }, 202: function(e, t, n) { "use strict"; e.exports = function(e) { return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e) } }, 203: function(e, t, n) { "use strict"; e.exports = function(e, t) { return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e } }, 204: function(e, t, n) { "use strict"; var r = n(121); function i(e) { if ("function" != typeof e) throw new TypeError("executor must be a function."); var t; this.promise = new Promise((function(e) { t = e } )); var n = this; e((function(e) { n.reason || (n.reason = new r(e), t(n.reason)) } )) } i.prototype.throwIfRequested = function() { if (this.reason) throw this.reason } , i.source = function() { var e; return { token: new i((function(t) { e = t } )), cancel: e } } , e.exports = i }, 205: function(e, t, n) { "use strict"; e.exports = function(e) { return function(t) { return e.apply(null, t) } } }, 216: function(e, t, n) { var r = n(309); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("5c03a8fc", r, !0, {}) }, 217: function(e, t, n) { var r = n(311); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("6e1ff704", r, !0, {}) }, 218: function(e, t, n) { var r = n(313); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("696520d7", r, !0, {}) }, 219: function(e, t, n) { var r = n(315); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("e5c90d10", r, !0, {}) }, 220: function(e, t, n) { var r = n(317); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("6f31f93c", r, !0, {}) }, 221: function(e, t, n) { var r = n(319); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("3136a8f2", r, !0, {}) }, 222: function(e, t, n) { var r = n(321); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("6b8b3692", r, !0, {}) }, 223: function(e, t, n) { var r = n(323); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("0c5a7b5c", r, !0, {}) }, 224: function(e, t, n) { var r = n(329); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("09c0e74f", r, !0, {}) }, 225: function(e, t, n) { var r = n(331); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("e3196ad2", r, !0, {}) }, 226: function(e, t, n) { "use strict"; var r = n(181) , i = n(132) , o = (n(308), n(0)) , a = Object(o.a)(i.default, r.a, r.b, !1, null, "41ebd106", null); t.default = a.exports }, 227: function(e, t, n) { "use strict"; var r = n(182) , i = n(134) , o = (n(310), n(0)) , a = Object(o.a)(i.default, r.a, r.b, !1, null, "700a78a7", null); t.default = a.exports }, 228: function(e, t, n) { "use strict"; var r = n(183) , i = n(136) , o = (n(312), n(0)) , a = Object(o.a)(i.default, r.a, r.b, !1, null, "61c0885c", null); t.default = a.exports }, 229: function(e, t, n) { "use strict"; n.d(t, "a", (function() { return i } )); var r = n(1); const i = e=>{ const {store: t} = e; return { isAppearanceDarkMode: Object(r.computed)(()=>{ const e = t.workbook.state.value.currentSheetBackgroundColor; let n = 255 , r = 255 , i = 255; if (e && e.startsWith("rgb")) { const t = /rgba?\((\d+),(\d+),(\d+),(\d+)/.exec(e); if (!t) return; n = parseInt(t[1]), i = parseInt(t[2]), r = parseInt(t[3]) } if (e && e.startsWith("#")) { const t = function(e) { const t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e); return t ? { r: parseInt(t[1], 16), g: parseInt(t[2], 16), b: parseInt(t[3], 16) } : null }(e); if (!t) return; n = t.r, i = t.g, r = t.b } return n < 85 && i < 85 && r < 85 } ) } } }, 23: function(e, t, n) { "use strict"; n.r(t), n.d(t, "nonReactive", (function() { return a } )), n.d(t, "downloadFromRemoteAddress", (function() { return s } )), n.d(t, "isSupportFullScreen", (function() { return l } )), n.d(t, "requestFullScreen", (function() { return u } )), n.d(t, "fullScreenElement", (function() { return c } )), n.d(t, "exitFullScreen", (function() { return d } )), n.d(t, "isFullScreen", (function() { return f } )), n.d(t, "onFullScreenChanged", (function() { return h } )), n.d(t, "download", (function() { return p } )); var r = n(4) , i = n(144) , o = n.n(i); function a(e) { return Object.defineProperty({}, "value", { value: e, writable: !0, enumerable: !0, configurable: !1 }) } const s = (e,t,n)=>Object(r.a)(void 0, void 0, void 0, (function*() { const r = new URL(e) , i = null === r.searchParams.get("no-cache") , a = [r.origin + r.pathname, r.searchParams.get("version") || ""].filter(Boolean).join("@") , s = yield n.getSharedMap(a); if (s && i) return { data: s, cacheKey: a }; if (!e) return; const l = yield o.a.get(e, { responseType: "arraybuffer", headers: Object.assign({}, t) }); return l && l.status >= 200 && l.status < 300 ? (i && (yield n.setSharedMap(a, l.data)), { data: l.data, cacheKey: a }) : void 0 } )); function l() { return ["fullscreenElement", "webkitFullscreenElement", "mozFullScreenElement", "msFullscreenElement"].some(e=>e in document) } function u(e) { return e || (e = document.documentElement), e.requestFullscreen ? e.requestFullscreen() : e.mozRequestFullScreen ? e.mozRequestFullScreen() : e.webkitRequestFullscreen ? e.webkitRequestFullscreen() : e.msRequestFullscreen ? e.msRequestFullscreen() : void 0 } function c() { return document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement } function d() { document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.mozCancelFullScreen ? document.mozCancelFullScreen() : document.msExitFullscreen && document.msExitFullscreen() } function f() { return document.fullscreenElement && null !== document.fullscreenElement || document.webkitFullscreenElement && null !== document.webkitFullscreenElement || document.mozFullScreenElement && null !== document.mozFullScreenElement || document.msFullscreenElement && null !== document.msFullscreenElement } function h(e) { return document.addEventListener("webkitfullscreenchange", e, !1), document.addEventListener("mozfullscreenchange", e, !1), document.addEventListener("fullscreenchange", e, !1), document.addEventListener("MSFullscreenChange", e, !1), ()=>{ document.removeEventListener("webkitfullscreenchange", e, !1), document.removeEventListener("mozfullscreenchange", e, !1), document.removeEventListener("fullscreenchange", e, !1), document.removeEventListener("MSFullscreenChange", e, !1) } } function p(e, t) { const n = e instanceof Blob ? e : new Blob([e]); if (navigator.msSaveBlob) navigator.msSaveBlob(n, t); else { const e = document.createElement("a"); if (void 0 !== e.download) { const r = URL.createObjectURL(n); e.setAttribute("href", r), e.setAttribute("download", t), e.style.visibility = "hidden", e.style.position = "fixed", e.style.top = "-100%", document.body.appendChild(e), e.click(), document.body.removeChild(e) } } } }, 230: function(e) { e.exports = JSON.parse('[{"id":"Business","items":[{"name":"cash"},{"name":"briefcase"},{"name":"calculator"},{"name":"discuss"},{"name":"coffee"},{"name":"contact"},{"name":"clock"},{"name":"envelope"},{"name":"file_search"},{"name":"file"},{"name":"presentation_mindmaps"},{"name":"mailbox"},{"name":"newpaper"},{"name":"notebook"},{"name":"paper_with_words"},{"name":"printer"},{"name":"todolist"},{"name":"file_encrypt"},{"name":"memo"},{"name":"resume"},{"name":"imgae"},{"name":"magnifier"},{"name":"target"},{"name":"coin_dollar"},{"name":"microphone"},{"name":"work_card"},{"name":"approve"},{"name":"stamp"},{"name":"video_meeting"},{"name":"meeting"},{"name":"support"},{"name":"team"},{"name":"phone_call"},{"name":"email"},{"name":"chart_up"},{"name":"chart_down"},{"name":"calendar"},{"name":"winner"},{"name":"faq"},{"name":"account"},{"name":"infomation"},{"name":"question"},{"name":"trash"},{"name":"global"}]},{"id":"Education","items":[{"name":"science"},{"name":"law"},{"name":"law1"},{"name":"pendulum"},{"name":"blackboard"},{"name":"book"},{"name":"biology"},{"name":"graduate_hat"},{"name":"flag"},{"name":"badge"},{"name":"hourglass"},{"name":"paper_boat"},{"name":"reading_note"},{"name":"bag"},{"name":"telescope"},{"name":"dividers"},{"name":"beakerflask"},{"name":"filter"},{"name":"fill_color"},{"name":"scissors"},{"name":"sketch"},{"name":"semicircle_ruler"},{"name":"ruler"},{"name":"triangle_ruler"},{"name":"pen"},{"name":"highlighter"},{"name":"crayon"},{"name":"paintbrush"},{"name":"pencil"},{"name":"fountain_pen"},{"name":"eraser"},{"name":"colorboard"},{"name":"puzzle"},{"name":"teaching"},{"name":"translate"},{"name":"math"},{"name":"lightbulb"},{"name":"yes"},{"name":"no"},{"name":"yes_and_no"}]},{"id":"Technology","items":[{"name":"service"},{"name":"service_inter"},{"name":"processor"},{"name":"window"},{"name":"code"},{"name":"terminal"},{"name":"modem"},{"name":"click"},{"name":"file_sharing"},{"name":"adjustment"},{"name":"data_transfer"},{"name":"cloud_transfer"},{"name":"cloud"},{"name":"rss"},{"name":"message"},{"name":"wireless"},{"name":"rounter"},{"name":"adaptor"},{"name":"internet"},{"name":"sdcard"},{"name":"save"},{"name":"ssd"},{"name":"sim"},{"name":"mobile"},{"name":"laptop"},{"name":"display_screen"},{"name":"pad"},{"name":"device"},{"name":"mouse"},{"name":"keyboard"},{"name":"visual_reality"},{"name":"smart_watch"},{"name":"headphone"},{"name":"online_support"},{"name":"earphone"},{"name":"louder"},{"name":"radio"},{"name":"cd"},{"name":"music_player"},{"name":"polaroid"},{"name":"projector"},{"name":"pc"},{"name":"action_camera"},{"name":"video_camera"},{"name":"cctv_camera"},{"name":"old_video_camera"},{"name":"clapperboard"},{"name":"game"},{"name":"game1"},{"name":"telephone"},{"name":"lens"},{"name":"television"},{"name":"tv"},{"name":"battery"},{"name":"battery1"},{"name":"gauge"}]},{"id":"Mood","items":[{"name":"smile_through_tears"},{"name":"awkard"},{"name":"cool"},{"name":"worried"},{"name":"like"},{"name":"shy"},{"name":"fall_ill"},{"name":"laugh"},{"name":"smile"},{"name":"sad"},{"name":"kiss"},{"name":"rolling_eyes"},{"name":"rolling_on_the_floor_laughing"},{"name":"thinking"},{"name":"weary"},{"name":"boring"},{"name":"angry"},{"name":"embarrass"},{"name":"o"},{"name":"ooooo"},{"name":"speechless"},{"name":"piss_off"},{"name":"pleased"},{"name":"boom"},{"name":"red_heard"},{"name":"blue_heard"},{"name":"purple_heard"},{"name":"brown_heard"},{"name":"two_heards"},{"name":"one_hundred"},{"name":"pointing_right"},{"name":"fold_hand"},{"name":"look"}]},{"id":"Travel","items":[{"name":"big_ben"},{"name":"statue_of_liberty"},{"name":"great_wall"},{"name":"eiffel_tower"},{"name":"opera_house"},{"name":"rome"},{"name":"motel"},{"name":"enterprise"},{"name":"store"},{"name":"school"},{"name":"building"},{"name":"museum"},{"name":"bank"},{"name":"park"},{"name":"lighthouse"},{"name":"oil_station"},{"name":"bridge"},{"name":"tent"},{"name":"mountain"},{"name":"desert"},{"name":"volcano"},{"name":"forest"},{"name":"beach"},{"name":"map"},{"name":"compass"},{"name":"hotair_ballon"},{"name":"plane"},{"name":"steamship"},{"name":"bus"},{"name":"taxi"},{"name":"jeep"},{"name":"emergency_car"},{"name":"delivery"},{"name":"camper"},{"name":"tractor"},{"name":"uavs"},{"name":"helicopter"},{"name":"tank"},{"name":"cablecar"},{"name":"subway"},{"name":"scooter"},{"name":"segway"},{"name":"scooter1"},{"name":"passport"},{"name":"id_card"},{"name":"parking"},{"name":"turn_sign"},{"name":"traffic_light"},{"name":"parking1"},{"name":"barrier"},{"name":"traffic_cone"},{"name":"credit"},{"name":"luggage"},{"name":"ticket"},{"name":"wallet"},{"name":"umbralla"},{"name":"soap"},{"name":"toothbrush"},{"name":"adaptor1"},{"name":"torch"},{"name":"sign"},{"name":"takeoff"},{"name":"camera"}]},{"id":"Holiday","items":[{"name":"magic"},{"name":"magic_band"},{"name":"ballon"},{"name":"confetti"},{"name":"framecracker"},{"name":"note"},{"name":"movie_theater"},{"name":"lantern"},{"name":"snowman"},{"name":"easter_egg"},{"name":"ghost"},{"name":"gift"},{"name":"birthday_card"},{"name":"cake"},{"name":"porker"},{"name":"counter"},{"name":"sing"},{"name":"christmas_sock"},{"name":"christmas_trees"},{"name":"christmas_hats"}]},{"id":"Daily Goods","items":[{"name":"washing_machine"},{"name":"hair_dryer"},{"name":"fans"},{"name":"fridge"},{"name":"microwave"},{"name":"desk"},{"name":"cabinet"},{"name":"chair"},{"name":"sofa"},{"name":"bed"},{"name":"shelf"},{"name":"bathtube"},{"name":"frame"},{"name":"pan"},{"name":"fork"},{"name":"ladder"},{"name":"besom"},{"name":"trash1"},{"name":"plastic_bag"},{"name":"weight"},{"name":"brush"},{"name":"alarm"},{"name":"lock"},{"name":"key"},{"name":"shirts"},{"name":"tshirts"},{"name":"vest"},{"name":"dress"},{"name":"skirts"},{"name":"pants"},{"name":"glove"},{"name":"scarf"},{"name":"fish_hat"},{"name":"cap"},{"name":"glass"},{"name":"sleeper"},{"name":"sleeper1"},{"name":"socks"},{"name":"shoes"},{"name":"high_heel_shoe"},{"name":"watch"},{"name":"cosmetics"},{"name":"perfume"},{"name":"scissor"},{"name":"lipstick"},{"name":"powder_puff"},{"name":"razor"},{"name":"comb"},{"name":"suncream"},{"name":"cosmetics1"},{"name":"cream"},{"name":"mask"}]},{"id":"Animal","items":[{"name":"bird"},{"name":"ladybug"},{"name":"butterfly"},{"name":"cat"},{"name":"dog"},{"name":"lion"},{"name":"monkey"},{"name":"cow"},{"name":"sheep"},{"name":"pig"},{"name":"horse"},{"name":"camelo"},{"name":"hatching_chicken"},{"name":"chicken"},{"name":"goose"},{"name":"seagull"},{"name":"snake"},{"name":"bat"},{"name":"bee"},{"name":"dolphin"},{"name":"shark"},{"name":"turtle"},{"name":"octpus"},{"name":"fish"}]},{"id":"Weather","items":[{"name":"cloud1"},{"name":"dust_storms"},{"name":"fog"},{"name":"tornado"},{"name":"thunder_and_cloud"},{"name":"moon"},{"name":"raining"},{"name":"snow"},{"name":"sun_and_cloud"},{"name":"snow1"},{"name":"bolt.cloud"},{"name":"humidity"},{"name":"templature_down"},{"name":"templature_up"},{"name":"templature.cold"},{"name":"templature.hot"},{"name":"wind"},{"name":"sun"},{"name":"thunder"},{"name":"moon1"},{"name":"sunrise"},{"name":"sunset"}]},{"id":"Sport","items":[{"name":"barbell"},{"name":"muscle"},{"name":"basketball"},{"name":"football"},{"name":"american_football"},{"name":"golf"},{"name":"badminton"},{"name":"volleyball"},{"name":"baseball"},{"name":"pingpong"},{"name":"tennis"},{"name":"skateboard"},{"name":"hiking"},{"name":"running"},{"name":"swimming"},{"name":"swimming_pool"},{"name":"stopwatch"}]},{"id":"Food & Drink","items":[{"name":"apple"},{"name":"cheery"},{"name":"grape"},{"name":"lemon"},{"name":"watermelon"},{"name":"orange"},{"name":"banana"},{"name":"tomato"},{"name":"pineapple"},{"name":"pear"},{"name":"mango"},{"name":"avocado"},{"name":"kiwi"},{"name":"durian"},{"name":"strawberry"},{"name":"blue_berry"},{"name":"mushroom"},{"name":"green_pepper"},{"name":"red_pepper"},{"name":"eggplant"},{"name":"broccoli"},{"name":"carrot"},{"name":"instant_noodles"},{"name":"lolipop"},{"name":"honey"},{"name":"icecream"},{"name":"dought"},{"name":"pancake"},{"name":"bread"},{"name":"croissant"},{"name":"toast"},{"name":"cheese"},{"name":"cake1"},{"name":"peanut"},{"name":"cashew_nut"},{"name":"almond"},{"name":"walnut"},{"name":"hazelnut"},{"name":"taco"},{"name":"chips"},{"name":"pizza"},{"name":"rice_roll"},{"name":"rice"},{"name":"hamburger"},{"name":"meat"},{"name":"dumpling"},{"name":"sushi"},{"name":"ramen_nooddle"},{"name":"salad"},{"name":"water"},{"name":"drink"},{"name":"tea"},{"name":"beer"},{"name":"milk"},{"name":"cocktail"}]},{"id":"Gesture","items":[{"name":"touch"},{"name":"press"},{"name":"hold_and_press"},{"name":"touch1"},{"name":"swipe_right"},{"name":"swipe_left"},{"name":"expand"},{"name":"pinch"},{"name":"two.finger"},{"name":"three.finger"},{"name":"fist"},{"name":"coorporation"},{"name":"thumbs_up"},{"name":"thumbs.down"}]},{"id":"Others","items":[{"name":"double_cube"},{"name":"package"},{"name":"shopbag"},{"name":"shield"},{"name":"flowchart"},{"name":"pacman"},{"name":"bomb"},{"name":"shopcart"},{"name":"gear"},{"name":"delivery1"},{"name":"speaker"},{"name":"rocket"},{"name":"astronaut"},{"name":"space_ship"},{"name":"ufo"},{"name":"asteroid"},{"name":"virus"},{"name":"ear"},{"name":"eye"},{"name":"warning"},{"name":"pill"},{"name":"thermometer"},{"name":"fingerprint"},{"name":"neuron"},{"name":"chain"},{"name":"male"},{"name":"female"},{"name":"clip"}]}]') }, 231: function(e) { e.exports = JSON.parse('[{"id":"Productivity","items":[{"name":"calendar_planning"},{"name":"computer"},{"name":"presentation"},{"name":"briefcase"},{"name":"finance"},{"name":"inspiration"},{"name":"painting"},{"name":"sketch"}]},{"id":"Travel","items":[{"name":"beach"},{"name":"forest"},{"name":"space"},{"name":"travel"},{"name":"steamship"},{"name":"plane"},{"name":"taxi"},{"name":"bus"},{"name":"hotair_ballon"},{"name":"helicopter"}]},{"id":"Holiday","items":[{"name":"happy_birthday"},{"name":"moon"},{"name":"halloween"},{"name":"christmas"},{"name":"spring_festival"},{"name":"confetti"},{"name":"magic"},{"name":"movies"},{"name":"open_air"}]},{"id":"Food & Drink","items":[{"name":"fastfood"},{"name":"meat"},{"name":"dim_sum"},{"name":"vegetable"},{"name":"fruit"},{"name":"dessert"},{"name":"coffee"},{"name":"beers"}]},{"id":"Others","items":[{"name":"social"},{"name":"clothes"},{"name":"yes"},{"name":"boom"},{"name":"wow"}]}]') }, 232: function(e, t, n) { "use strict"; var r = n(4) , i = n(1); var o = Object(i.defineComponent)({ name: "BaseOverlay", props: { isActivated: { type: Boolean, default: !1 }, backgroundColor: { type: String, default: "transparent" } }, setup(e, t) { const n = Object(i.ref)() , r = Object(i.ref)({ zIndex: "0" }) , o = ()=>{ t.emit("close") } , a = t=>{ t.defaultPrevented || "escape" === t.key.toLowerCase() && e.escClose && (o(), t.preventDefault()) } ; Object(i.onBeforeUnmount)(()=>{ s(), l() } ); const s = ()=>{ n.value && (document.body.removeChild(n.value), n.value = null) } , l = ()=>{ document.removeEventListener("keydown", a) } ; return Object(i.watch)(()=>e.isActivated, t=>{ t ? (s(), n.value = document.createElement("div"), n.value.classList.add("overlay"), n.value.style.position = "fixed", n.value.style.width = "100vw", n.value.style.height = "100vh", n.value.style.left = "0", n.value.style.top = "0", n.value.style.zIndex = "1000", n.value.style.backgroundColor = e.backgroundColor, n.value.addEventListener("click", o), r.value.zIndex = "1001", document.body.appendChild(n.value), document.addEventListener("keydown", a)) : (s(), l()) } , { immediate: !0 }), { containerStyle: r, emitClose: o } } }) , a = n(0) , s = Object(a.a)(o, (function() { var e = this , t = e.$createElement; return (e._self._c || t)("div", { staticStyle: { position: "fixed", left: "0", top: "0", "background-color": "transparent" }, style: e.containerStyle, on: { keypress: function(t) { return !t.type.indexOf("key") && e._k(t.keyCode, "esc", 27, t.key, ["Esc", "Escape"]) ? null : (t.stopPropagation(), t.preventDefault(), e.emitClose.apply(null, arguments)) } } }, [e._t("default")], 2) } ), [], !1, null, null, null).exports , l = Object(i.defineComponent)({ name: "PopoverWrapper", components: { AppBaseOverlay: s }, props: { width: { type: Number, default: 0 }, height: { type: Number, default: null }, maxHeight: { type: Number, default: null }, minHeight: { type: Number, default: null }, x: { type: Number, default: 0 }, y: { type: Number, default: 0 }, value: { type: Boolean, default: !1 } }, setup(e, t) { Object(i.watch)(()=>e.value, (e,t)=>Object(r.a)(this, void 0, void 0, (function*() {} ))); return { emitNewValue: e=>{ t.emit("input", e) } , containerStyles: Object(i.computed)(()=>{ const t = e=>"number" == typeof e ? e + "px" : "auto"; return { left: e.x + "px", top: e.y + "px", "max-width": e.width || "auto", "max-height": t(e.height ? e.height : e.maxHeight), "min-height": t(e.height ? e.height : e.minHeight), height: t(e.height), width: t(e.width) } } ) } } }) , u = (n(318), Object(a.a)(l, (function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", { directives: [{ name: "show", rawName: "v-show", value: e.value, expression: "value" }] }, [n("div", { staticClass: "popover-arrow", staticStyle: { position: "fixed", width: "0", height: "0" }, style: { left: e.x + "px", top: e.y + "px" } }), e._v(" "), n("app-base-overlay", { staticClass: "popover-body position-fixed overflow-hidden", style: e.containerStyles, attrs: { "is-activated": e.value }, on: { close: function(t) { return e.emitNewValue(!1) } } }, [n("div", { staticClass: "h-100 w-100", staticStyle: { "background-color": "white" } }, [e._t("default")], 2)])], 1) } ), [], !1, null, "6c7a3c30", null).exports) , c = n(60); var d = Object(i.defineComponent)({ name: "AppBaseTopicLocatorPopover", components: { AppPopoverWrapper: u }, props: { topicId: { type: String }, value: { type: Boolean, required: !0 }, height: { type: Number, default: null }, width: { type: Number, required: !0 }, paddingTop: { type: Number, default: 0 }, paddingLeft: { type: Number, default: 0 }, paddingBottom: { type: Number, default: 0 }, paddingRight: { type: Number, default: 0 } }, setup(e, t) { const n = Object(i.inject)("store") , o = Object(i.ref)({ x: 0, y: 0 }) , a = Object(i.ref)(!1) , s = Object(i.computed)(()=>({ top: e.paddingTop + 16, left: e.paddingLeft + 16, right: e.paddingRight + 16, bottom: e.paddingBottom + 16 })) , l = ()=>Object(r.a)(this, void 0, void 0, (function*() { if (!e.topicId) return; const t = n.workbook.getters.currentSheetViewportBounds.value , r = n.workbook.getters.getTopicBounds(e.topicId); if (!r || !t) return; const i = { x: r.x - (s.value.left + s.value.right), y: r.y - (s.value.top + s.value.bottom), width: r.width, height: r.height } , o = { width: e.width, height: e.height } , a = { width: t.width - (s.value.left + s.value.right), height: t.height - (s.value.top + s.value.bottom) } , {isOverflowInViewportTop: l, isOverflowInViewportBottom: u, isOverflowInViewportLeft: c, isOverflowInViewportRight: d, overflowTop: f, overflowBottom: h, overflowRight: p, overflowLeft: g} = ((e,t,n,r=0)=>{ const i = t.height , o = t.width , a = Math.abs(Math.min(0, (e.width - o) / 2)) , s = Math.min(0, e.y - e.height) , l = Math.min(0, n.height - (e.height + r + e.y + i)) , u = Math.min(0, e.x - a) , c = Math.min(0, n.width - (e.x + e.width + a)); return { overflowTop: s, overflowBottom: l, overflowRight: c, overflowLeft: u, isOverflowInViewportTop: s < 0, isOverflowInViewportBottom: l < 0, isOverflowInViewportLeft: u < 0, isOverflowInViewportRight: c < 0 } } )(i, o, a, 0); let m = 0 , v = 0; l && (v = -(f + s.value.top)), u && (v = h + (s.value.top + s.value.bottom)), c && (m = -(g + s.value.left)), d && (m = p - (s.value.left + s.value.right)), (l || u || c || d) && (v || m) && (yield new Promise(e=>{ n.workbook.actions.moveViewport({ deltaY: v, deltaX: m, option: { animate: !1, finishToRun: e } }) } )) } )) , u = ()=>Object(r.a)(this, void 0, void 0, (function*() { if (!e.topicId) return; yield l(); const t = n.workbook.getters.getTopicBounds(e.topicId); t ? (o.value = { x: t.x + t.width / 2, y: t.y + t.height + 0 }, yield c.default.nextTick()) : a.value = !1 } )) , d = e=>Object(r.a)(this, void 0, void 0, (function*() { e ? (yield u(), a.value = !0, t.emit("show")) : (a.value = !1, t.emit("hide")) } )); return Object(i.watch)(()=>e.value, e=>Object(r.a)(this, void 0, void 0, (function*() { return d(e) } ))), Object(i.watch)(()=>e.width || e.height, ()=>u()), Object(i.watch)(()=>e.topicId, ()=>u()), { proxyExternalValue: a, coordinate: o } } }) , f = Object(a.a)(d, (function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", [n("app-popover-wrapper", { attrs: { x: e.coordinate.x, y: e.coordinate.y, height: e.height, width: e.width, value: e.proxyExternalValue }, on: { input: function(t) { return e.$emit("input", t) } } }, [e._t("default")], 2)], 1) } ), [], !1, null, null, null).exports , h = Object(i.defineComponent)({ name: "AppNotesPopover", components: { AppBaseTopicLocatorPopover: f }, props: { paddingTop: { type: Number, default: 0 }, paddingLeft: { type: Number, default: 0 }, paddingBottom: { type: Number, default: -100 }, paddingRight: { type: Number, default: 0 } }, setup() { const e = Object(i.inject)("store") , t = Object(i.ref)() , n = Object(i.ref)(!1); Object(i.watch)(()=>e.workbook.state.value.events.click, (e,r)=>{ e.triggerId && e.triggerId !== r.triggerId && "notes" === e.currentTargetType && (t.value = e.currentTargetId, n.value = !0) } ); const r = Object(i.computed)(()=>{ if (!t.value) return ""; const n = e.workbook.getters.getNotesById(t.value); return n.realHTML && n.realHTML.content || n.plain && n.plain.content || "" } ); Object(i.watch)(()=>r.value, ()=>{ if (!o.value || !o.value.contentWindow) return; const e = document.createElement("div"); e.innerHTML = r.value, e.querySelectorAll("script").forEach(e=>{ var t; return null === (t = e.parentNode) || void 0 === t ? void 0 : t.removeChild(e) } ); let t = ""; t += e.innerHTML, o.value.contentWindow.document.body.innerHTML = t } ), Object(i.onMounted)(()=>{ o.value && o.value.contentWindow && o.value.contentWindow.document.body.addEventListener("click", e=>{ var t; if ("a" === (null === (t = e.target) || void 0 === t ? void 0 : t.tagName.toLowerCase())) { e.preventDefault(); const t = e.target.getAttribute("href"); t && window.open(t) } } ) } ); const o = Object(i.ref)(); return { iframe: o, isNotesPopoverOpened: n, notesContent: r, currentClickedNoteTopicId: t, handleVisibleChange: e=>{ n.value = e, e || (t.value = "") } } } }) , p = Object(a.a)(h, (function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", { staticClass: "note-editor" }, [n("app-base-topic-locator-popover", { attrs: { "topic-id": e.currentClickedNoteTopicId, value: e.isNotesPopoverOpened, "padding-top": e.paddingTop, "padding-left": e.paddingLeft, "padding-right": e.paddingRight, "padding-bottom": e.paddingBottom, height: 280, width: 400 }, on: { input: e.handleVisibleChange } }, [n("div", { staticClass: "py-3 position-relative d-flex flex-column w-100 h-100" }, [n("h6", { staticClass: "px-3 w-100 text-white text-muted" }, [e._v("\n " + e._s("Note") + "\n ")]), e._v(" "), n("div", { staticClass: "pl-3 w-100 h-100" }, [n("iframe", { ref: "iframe", staticClass: "w-100 h-100 border-0" })])])])], 1) } ), [], !1, null, null, null).exports , g = Object(i.defineComponent)({ name: "AppInformationPopover", components: { AppBaseTopicLocatorPopover: f }, props: { paddingTop: { type: Number, default: 0 }, paddingLeft: { type: Number, default: 0 }, paddingBottom: { type: Number, default: 0 }, paddingRight: { type: Number, default: 0 } }, setup() { const e = Object(i.inject)("store") , t = Object(i.ref)(!1) , n = Object(i.ref)(); Object(i.watch)(()=>e.workbook.state.value.events.click, (e,r)=>{ e.triggerId && e.triggerId !== r.triggerId && "info-more" === e.currentTargetType && (n.value = e.currentTargetId, t.value = !0) } ); const o = Object(i.ref)(0) , a = Object(i.ref)({ note: null, hyperlink: "", comments: "", audioNote: "", taskInfo: "", topicLink: "", attachment: "" }) , s = ()=>Object(r.a)(this, void 0, void 0, (function*() { const e = Object.values(a.value).filter(e=>Boolean(e)).length; o.value = 24 + 50 * e } )); return Object(i.watch)(()=>t.value, i=>Object(r.a)(this, void 0, void 0, (function*() { i && (()=>{ if (!t.value || !n.value) return; a.value = { note: null, hyperlink: "", comments: "", audioNote: "", taskInfo: "", topicLink: "", attachment: "" }, a.value.note = e.workbook.getters.getNotesById(n.value); e.workbook.getters.getAudioNoteById(n.value) && (a.value.audioNote = e.workbook.getters.getTopicTitleById(n.value) || ""); const r = e.workbook.getters.getExtensionById(n.value); Array.isArray(r) && (a.value.taskInfo = r.find(e=>"org.xmind.ui.taskInfo" === e.provider)); const i = e.workbook.getters.getHrefById(n.value); if (i) if (i.startsWith("xmind:#")) { const t = i.replace("xmind:#", "") , n = e.workbook.getters.getTopicTitleById(t) || "" , r = e.workbook.getters.getSheetTitleByTopicId(t) || ""; a.value.topicLink = `${n}(${r})` } else i.startsWith("xap:") ? a.value.attachment = e.workbook.getters.getTopicTitleById(n.value) || i.split("/").pop() || "attachment" : (i.startsWith("file:") || i.startsWith("http:") || i.startsWith("https:") || console.warn("unknown url schema", i), a.value.hyperlink = i) } )() } ))), Object(i.watch)(()=>a.value, ()=>s()), { isInformationPopoverOpened: t, current: a, popoverHeight: o, handleVisibleChange: e=>{ t.value = Boolean(e), s() } , handleOpenNotePopover: ()=>{ e.workbook.state.value.events.click = { triggerId: window.Snowbrush.utils.UUID(), currentTargetId: n.value || "", clientX: 0, clientY: 0, currentTargetType: "notes" }, t.value = !1 } , currentTargetId: n, handleOpenHref: ()=>{ n.value && (e.workbook.actions.openHref(e.workbook.getters.getHrefById(n.value)), t.value = !1) } } } }) , m = (n(320), Object(a.a)(g, (function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", { staticClass: "information-more" }, [n("app-base-topic-locator-popover", { attrs: { "topic-id": e.currentTargetId, value: e.isInformationPopoverOpened, "padding-top": e.paddingTop, "padding-left": e.paddingLeft, "information.vue": "", "padding-right": e.paddingRight, "padding-bottom": e.paddingBottom, width: 280, height: e.popoverHeight }, on: { input: e.handleVisibleChange } }, [n("div", { staticClass: "d-flex flex-column py-2" }, [e.current.note ? n("button", { staticClass: "btn btn-light text-left align-items-center information-more-item px-2 py-2 d-flex justify-content-center", on: { click: e.handleOpenNotePopover } }, [n("img", { staticClass: "information-more-item__icon ml-2 uk-background-norepeat flex-no-shrink", attrs: { draggable: "false", src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+aWNfbm90ZXM8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJpbmZvcm1hdGlvbi1jYXJkLeaWsOWinmNvbW1lbnRz5Y+K5YW25LuWIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTMyLjAwMDAwMCwgLTQyLjAwMDAwMCkiPiAgICAgICAgICAgIDxnIGlkPSJHcm91cC0zOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTMyLjAwMDAwMCwgNDIuMDAwMDAwKSI+ICAgICAgICAgICAgICAgIDxjaXJjbGUgaWQ9Ik92YWwtMTMiIGZpbGw9IiNGNEQ2MDciIGN4PSIxMCIgY3k9IjEwIiByPSIxMCI+PC9jaXJjbGU+ICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMjAtQ29weS0yIiBmaWxsPSIjMjIyNjJBIiB4PSI2IiB5PSI2IiB3aWR0aD0iOCIgaGVpZ2h0PSIxIj48L3JlY3Q+ICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMjMiIGZpbGw9IiMyMjI2MkEiIHg9IjYiIHk9IjEwIiB3aWR0aD0iOCIgaGVpZ2h0PSIxIj48L3JlY3Q+ICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMjMtQ29weSIgZmlsbD0iIzIyMjYyQSIgeD0iNiIgeT0iMTQiIHdpZHRoPSI0IiBoZWlnaHQ9IjEiPjwvcmVjdD4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=" } }), e._v(" "), n("span", { staticClass: "information-more-item__title ml-2 uk-text-left overflow-hidden w-100" }, [e._v("\n " + e._s(e.current.note.plain.content) + "\n ")])]) : e._e(), e._v(" "), e.current.hyperlink ? n("button", { staticClass: "btn btn-light text-left align-items-center information-more-item px-2 py-2 d-flex justify-content-center", on: { click: e.handleOpenHref } }, [n("img", { staticClass: "information-more-item__icon ml-2 uk-preserve uk-background-norepeat flex-no-shrink", attrs: { draggable: "false", src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+aWNfaHlwZXJsaW5rPC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iaW5mb3JtYXRpb24tY2FyZC3mlrDlop5jb21tZW50c+WPiuWFtuS7liIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE2MC4wMDAwMDAsIC00Mi4wMDAwMDApIj4gICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMzktQ29weS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNjAuMDAwMDAwLCA0Mi4wMDAwMDApIj4gICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbC0xMyIgZmlsbD0iIzBCQUNGRCIgY3g9IjEwIiBjeT0iMTAiIHI9IjEwIj48L2NpcmNsZT4gICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTQxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMC4wNzEwNjgsIDEwLjA3MTA2OCkgcm90YXRlKC0zMTUuMDAwMDAwKSB0cmFuc2xhdGUoLTEwLjA3MTA2OCwgLTEwLjA3MTA2OCkgdHJhbnNsYXRlKDYuNTcxMDY4LCAzLjU3MTA2OCkiPiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTAsNS41IEwwLDMuNSBDMCwxLjU2NzAwMzM4IDEuNTY3MDAzMzgsMCAzLjUsMCBDNS40MzI5OTY2MiwwIDcsMS41NjcwMDMzOCA3LDMuNSBDNywzLjk0MDk3MjIyIDcsNC42MDc2Mzg4OSA3LDUuNSIgaWQ9IlJlY3RhbmdsZS0yMCIgc3Ryb2tlPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTMxIiBmaWxsPSIjRkZGRkZGIiB4PSIyLjUiIHk9IjQuNSIgd2lkdGg9IjIiIGhlaWdodD0iNCIgcng9IjEiPjwvcmVjdD4gICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDEzIEwwLDExIEMwLDkuMDY3MDAzMzggMS41NjcwMDMzOCw3LjUgMy41LDcuNSBDNS40MzI5OTY2Miw3LjUgNyw5LjA2NzAwMzM4IDcsMTEgQzcsMTEuNDQwOTcyMiA3LDEyLjEwNzYzODkgNywxMyIgaWQ9IlJlY3RhbmdsZS0yMCIgc3Ryb2tlPSIjRkZGRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjUwMDAwMCwgMTAuMjUwMDAwKSBzY2FsZSgxLCAtMSkgdHJhbnNsYXRlKC0zLjUwMDAwMCwgLTEwLjI1MDAwMCkgIj48L3BhdGg+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=" } }), e._v(" "), n("span", { staticClass: "information-more-item__title ml-2 uk-text-left overflow-hidden w-100" }, [e._v("\n " + e._s(e.current.hyperlink) + "\n ")])]) : e._e(), e._v(" "), e.current.topicLink ? n("button", { staticClass: "btn btn-light text-left align-items-center information-more-item px-2 py-2 d-flex justify-content-center", on: { click: e.handleOpenHref } }, [n("img", { staticClass: "information-more-item__icon ml-2 uk-preserve uk-background-norepeat flex-no-shrink", attrs: { draggable: "false", src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+aWNfaHlwZXJsaW5rPC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iaW5mb3JtYXRpb24tY2FyZC3mlrDlop5jb21tZW50c+WPiuWFtuS7liIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE2MC4wMDAwMDAsIC00Mi4wMDAwMDApIj4gICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMzktQ29weS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNjAuMDAwMDAwLCA0Mi4wMDAwMDApIj4gICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbC0xMyIgZmlsbD0iIzBCQUNGRCIgY3g9IjEwIiBjeT0iMTAiIHI9IjEwIj48L2NpcmNsZT4gICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTQxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMC4wNzEwNjgsIDEwLjA3MTA2OCkgcm90YXRlKC0zMTUuMDAwMDAwKSB0cmFuc2xhdGUoLTEwLjA3MTA2OCwgLTEwLjA3MTA2OCkgdHJhbnNsYXRlKDYuNTcxMDY4LCAzLjU3MTA2OCkiPiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTAsNS41IEwwLDMuNSBDMCwxLjU2NzAwMzM4IDEuNTY3MDAzMzgsMCAzLjUsMCBDNS40MzI5OTY2MiwwIDcsMS41NjcwMDMzOCA3LDMuNSBDNywzLjk0MDk3MjIyIDcsNC42MDc2Mzg4OSA3LDUuNSIgaWQ9IlJlY3RhbmdsZS0yMCIgc3Ryb2tlPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTMxIiBmaWxsPSIjRkZGRkZGIiB4PSIyLjUiIHk9IjQuNSIgd2lkdGg9IjIiIGhlaWdodD0iNCIgcng9IjEiPjwvcmVjdD4gICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLDEzIEwwLDExIEMwLDkuMDY3MDAzMzggMS41NjcwMDMzOCw3LjUgMy41LDcuNSBDNS40MzI5OTY2Miw3LjUgNyw5LjA2NzAwMzM4IDcsMTEgQzcsMTEuNDQwOTcyMiA3LDEyLjEwNzYzODkgNywxMyIgaWQ9IlJlY3RhbmdsZS0yMCIgc3Ryb2tlPSIjRkZGRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjUwMDAwMCwgMTAuMjUwMDAwKSBzY2FsZSgxLCAtMSkgdHJhbnNsYXRlKC0zLjUwMDAwMCwgLTEwLjI1MDAwMCkgIj48L3BhdGg+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=" } }), e._v(" "), n("span", { staticClass: "information-more-item__title ml-2 uk-text-left overflow-hidden w-100" }, [e._v("\n " + e._s(e.current.topicLink) + "\n ")])]) : e._e(), e._v(" "), e.current.attachment ? n("button", { staticClass: "btn btn-light text-left align-items-center information-more-item px-2 py-2 d-flex justify-content-center", attrs: { disabled: "" }, on: { click: e.handleOpenHref } }, [n("img", { staticClass: "information-more-item__icon ml-2 uk-preserve uk-background-norepeat flex-no-shrink", attrs: { draggable: "false", src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+aWNfYXR0YWNobWVudDwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImluZm9ybWF0aW9uLWNhcmQt5paw5aKeY29tbWVudHPlj4rlhbbku5YiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xODguMDAwMDAwLCAtNDIuMDAwMDAwKSI+ICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTM5LUNvcHkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4OC4wMDAwMDAsIDQyLjAwMDAwMCkiPiAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMzgtQ29weSI+ICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMzYtQ29weSI+ICAgICAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbC0xMyIgZmlsbD0iIzFDMTk0QyIgY3g9IjEwIiBjeT0iMTAiIHI9IjEwIj48L2NpcmNsZT4gICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNywxNiBMNyw1IEw3LDUgQzcsNC40NDc3MTUyNSA3LjQ0NzcxNTI1LDQgOCw0IEwxMyw0IEwxMyw0IEMxMy41NTIyODQ3LDQgMTQsNC40NDc3MTUyNSAxNCw1IEwxNCwxNSBMMTQsMTUgQzE0LDE1LjU1MjI4NDcgMTMuNTUyMjg0NywxNiAxMywxNiBMMTEsMTYgTDExLDE2IEMxMC40NDc3MTUzLDE2IDEwLDE1LjU1MjI4NDcgMTAsMTUgTDEwLDguMzk5NjM0NzUiIGlkPSJQYXRoLTEwLUNvcHkiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMC41MDAwMDAsIDEwLjAwMDAwMCkgcm90YXRlKC0zMTUuMDAwMDAwKSB0cmFuc2xhdGUoLTEwLjUwMDAwMCwgLTEwLjAwMDAwMCkgIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=" } }), e._v(" "), n("span", { staticClass: "information-more-item__title ml-2 uk-text-left overflow-hidden w-100", attrs: { title: e.current.attachment } }, [e._v("\n " + e._s(e.current.attachment) + "\n ")])]) : e._e(), e._v(" "), e.current.audioNote ? n("button", { staticClass: "btn btn-light text-left align-items-center information-more-item px-2 py-2 d-flex justify-content-center", attrs: { disabled: "" } }, [n("img", { staticClass: "information-more-item__icon ml-2 uk-preserve uk-background-norepeat flex-no-shrink", attrs: { draggable: "false", src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+aWNfYXR0YWNobWVudDwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImluZm9ybWF0aW9uLWNhcmQt5paw5aKeY29tbWVudHPlj4rlhbbku5YiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xODguMDAwMDAwLCAtNDIuMDAwMDAwKSI+ICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTM5LUNvcHkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4OC4wMDAwMDAsIDQyLjAwMDAwMCkiPiAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMzgtQ29weSI+ICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMzYtQ29weSI+ICAgICAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbC0xMyIgZmlsbD0iIzFDMTk0QyIgY3g9IjEwIiBjeT0iMTAiIHI9IjEwIj48L2NpcmNsZT4gICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNywxNiBMNyw1IEw3LDUgQzcsNC40NDc3MTUyNSA3LjQ0NzcxNTI1LDQgOCw0IEwxMyw0IEwxMyw0IEMxMy41NTIyODQ3LDQgMTQsNC40NDc3MTUyNSAxNCw1IEwxNCwxNSBMMTQsMTUgQzE0LDE1LjU1MjI4NDcgMTMuNTUyMjg0NywxNiAxMywxNiBMMTEsMTYgTDExLDE2IEMxMC40NDc3MTUzLDE2IDEwLDE1LjU1MjI4NDcgMTAsMTUgTDEwLDguMzk5NjM0NzUiIGlkPSJQYXRoLTEwLUNvcHkiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMC41MDAwMDAsIDEwLjAwMDAwMCkgcm90YXRlKC0zMTUuMDAwMDAwKSB0cmFuc2xhdGUoLTEwLjUwMDAwMCwgLTEwLjAwMDAwMCkgIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=" } }), e._v(" "), n("span", { staticClass: "information-more-item__title ml-2 uk-text-left overflow-hidden w-100", attrs: { title: e.current.audioNote } }, [e._v("\n " + e._s(e.current.audioNote) + "\n ")])]) : e._e()])])], 1) } ), [], !1, null, "3759f7df", null).exports); var v = Object(i.defineComponent)({ name: "BaseMap", components: { AppNotes: p, AppInfo: m }, props: { fileBinaryContent: { type: ArrayBuffer, validator: e=>e instanceof ArrayBuffer, required: !0 } }, setup(e, t) { const n = Object(i.ref)() , o = Object(i.inject)("store"); let a, s; return Object(i.onMounted)(()=>Object(r.a)(this, void 0, void 0, (function*() { e.fileBinaryContent && (yield o.workbook.actions.init(n.value, e.fileBinaryContent), a = ((e,t=document)=>{ const n = t=>{ const n = t , r = []; (n.ctrlKey || n.metaKey) && r.push("ctrl"), n.altKey && r.push("alt"), n.shiftKey && r.push("shift"); const i = { " ": "space" } , o = (n.key || "").toLowerCase(); o && -1 === ["control", "shift"].indexOf(o) && r.push(i[o] || o); const a = r.join("+"); e.filter(e=>{ if ("tester"in e) return e.tester(r); let t = []; return "composition"in e && t.push(e.composition), "compositions"in e && (t = e.compositions.slice()), t = t.map(e=>e.replace(/ /g, "").toLowerCase()), -1 !== t.indexOf(a) } ).forEach(e=>e.handler(n)) } ; return t.addEventListener("keydown", n), ()=>{ t.removeEventListener("keydown", n) } } )([{ composition: "Ctrl + =", handler: e=>{ e.preventDefault(), o.workbook.actions.zoomOut() } }, { composition: "Ctrl + -", handler: e=>{ e.preventDefault(), o.workbook.actions.zoomIn() } }], n.value), s = ((e,t)=>{ let n = 0; const r = ()=>{ n = t.workbook.state.value.zoomScale } , i = e=>{ n && t.workbook.actions.zoom(e.scale * n) } , o = ()=>{ n = void 0 } ; if (e) return e.addEventListener("gesturestart", r), e.addEventListener("gesturechange", i), e.addEventListener("gestureend", o), ()=>{ e.removeEventListener("gesturestart", r), e.removeEventListener("gesturechange", i), e.removeEventListener("gestureend", o) } } )(n.value, o)) } ))), Object(i.onBeforeUnmount)(()=>Object(r.a)(this, void 0, void 0, (function*() { a && a(), s && s(), yield o.workbook.actions.destroy() } ))), { workbookContainer: n } } }) , y = (n(322), Object(a.a)(v, (function() { var e = this.$createElement , t = this._self._c || e; return t("div", { staticClass: "h-100 w-100 position-relative" }, [t("div", { ref: "workbookContainer", staticClass: "h-100 w-100" }), this._v(" "), t("app-notes"), this._v(" "), t("app-info")], 1) } ), [], !1, null, null, null)); t.a = y.exports }, 233: function(e, t, n) { "use strict"; var r = n(4) , i = n(1) , o = n(143) , a = n(80); class s { constructor(e, t) { var n; this.store = e, this.storage = t, this.endingScreenBackground = "#FFFFFF", this.topicMap = new Map, this.parentMap = new Map, this.endingScreenImageSnapshot = null; const r = this.getRootTopic(); this.collectTopic(r), this.endingScreenBackground = e.workbook.getters.getTopicViewBackgroundColor() || this.endingScreenBackground, null === (n = this.store.workbook.getters.getMapImage(this.endingScreenBackground)) || void 0 === n || n.then(e=>{ this.endingScreenImageSnapshot = e } ) } childrenOfTopic(e) { return e && e.children ? e.children : null } collectTopic(e) { return Object(r.a)(this, void 0, void 0, (function*() { const t = e; t.imageAttributes = Object(a.b)(e, this.storage, this.store), this.topicMap.set(e.id, t); const n = this.childrenOfTopic(e); if (n) { if (n.attached) for (const t of n.attached) this.collectTopic(t), this.parentMap.set(t.id, e.id); if (n.detached) for (const t of n.detached) this.collectTopic(t), this.parentMap.set(t.id, e.id); if (n.summary) for (const t of n.summary) this.collectTopic(t), this.parentMap.set(t.id, e.id); if (n.callout) for (const t of n.callout) this.collectTopic(t), this.parentMap.set(t.id, e.id) } } )) } getRootTopic() { return this.store.workbook.getters.getRootTopic() } getStartingTopicId() { return this.getRootTopic().id } getSubtopics(e) { const t = this.childrenOfTopic(this.topicMap.get(e)); return t && t.attached ? t.attached.map(e=>e.id) : [] } getParentTopicId(e) { const t = this.parentMap.get(e); return t || "" } getFloatingTopics() { const e = this.getRootTopic().id , t = this.childrenOfTopic(e); return t && t.detached ? t.detached.map(e=>e.id) : [] } getTopicAttributes(e) { const t = this.store.workbook.getters.getResourceUrlPrefix(); return Object(a.e)(this.topicMap.get(e), t) } getEndingScreenContent() { return Object(r.a)(this, void 0, void 0, (function*() { return this.endingScreenImageSnapshot ? this.endingScreenImageSnapshot : yield this.store.workbook.getters.getMapImage(this.endingScreenBackground) } )) } getThemeIdFromExtension() { const e = this.getRootTopic(); return Object(a.c)(e).preferredThemeId } } class l { constructor(e, t, n) { this.store = e, this.containerElement = t, this.keyBinding = e=>{ switch (e.code) { case "Space": case "ArrowRight": case "ArrowDown": this.next(); break; case "ArrowUp": case "ArrowLeft": this.prev() } } , this.contentProvider = new s(this.store,n), this.slideShow = new o.Slideshow(this.contentProvider), this.view = new o.PresentationView({}), this.view.el.style.left = "0", this.view.el.style.top = "0", this.view.el.style.width = "100%", this.view.el.style.height = "100%", t.appendChild(this.view.el), this.slideShow.addPresenter(this.view), this.view.update(), this.view.connect(), this.slideShow.present(); const r = this.getThemeId(); this.changeThemeId(r), window.addEventListener("keyup", this.keyBinding) } next() { this.slideShow.forward() } prev() { this.slideShow.backward() } fastForward() { this.slideShow.fastForward() } fastBackward() { this.slideShow.fastBackward() } get animationEnabled() { return !this.slideShow.disablesAnimations } set animationEnabled(e) { this.slideShow.disablesAnimations = !e } getThemeId() { return this.contentProvider.getThemeIdFromExtension() || this.slideShow.slideAppearanceId || "default" } changeThemeId(e) { this.slideShow.changeSlideTheme(e) } unMount() { window.removeEventListener("keyup", this.keyBinding), this.view.disconnect(), this.slideShow.removePresenter(this.view), this.view.el.parentElement === this.containerElement && this.containerElement.removeChild(this.view.el) } } var u = n(23) , c = Object(i.defineComponent)({ name: "share-pitch-menu-settings", components: {}, props: { animation: Boolean, themeId: String }, setup: (e,t)=>({ toggleAnimation: ()=>t.emit("toggleAnimation"), changeTheme: e=>t.emit("changeTheme", e) }) }) , d = (n(328), n(0)) , f = Object(d.a)(c, (function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", { staticClass: "share-pitch-menu__settings" }, [n("button", { staticClass: "btn btn-icon", attrs: { type: "button", "data-toggle": "dropdown", "aria-haspopup": "true", "aria-expanded": "false", "data-offset": "72, 18" } }, [n("svg", { attrs: { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14.4782 20.7851C14.2943 21.5214 13.6966 22 12.9333 22H11.0667C10.2943 22 9.69655 21.5214 9.52184 20.7851L9.15402 19.1744L8.90575 19.0824L7.49885 19.9567C6.85517 20.3617 6.09195 20.2513 5.55862 19.7082L4.26207 18.4197C3.71954 17.8675 3.61839 17.1127 4.02299 16.4777L4.89655 15.0695L4.81379 14.8486L3.2046 14.4712C2.47816 14.2872 2 13.6889 2 12.925V11.1118C2 10.3479 2.46897 9.74966 3.2046 9.56558L4.7954 9.17902L4.88736 8.93971L4.01379 7.54073C3.6092 6.90566 3.71034 6.15094 4.25287 5.58951L5.54943 4.30097C6.08276 3.75794 6.83678 3.6567 7.48966 4.05246L8.89655 4.91763L9.15402 4.82559L9.52184 3.20571C9.69655 2.4694 10.2943 2 11.0667 2H12.9333C13.6966 2 14.2943 2.4694 14.4782 3.20571L14.846 4.82559L15.1034 4.91763L16.5103 4.05246C17.154 3.6567 17.9172 3.75794 18.4506 4.30097L19.7379 5.58951C20.2897 6.15094 20.3816 6.90566 19.977 7.54073L19.1034 8.93971L19.1954 9.17902L20.7954 9.56558C21.531 9.74966 22 10.3479 22 11.1118V12.925C22 13.6889 21.5218 14.2872 20.7954 14.4712L19.1862 14.8486L19.0943 15.0695L19.9678 16.4777C20.3724 17.1127 20.2805 17.8675 19.7287 18.4197L18.4414 19.7082C17.8989 20.2513 17.1356 20.3617 16.492 19.9567L15.0851 19.0824L14.846 19.1744L14.4782 20.7851ZM11.3057 20.3065H12.6942C12.8506 20.3065 12.9241 20.2421 12.9517 20.104L13.5034 17.8398C14.1103 17.6926 14.6345 17.4625 15.0942 17.1772L17.0712 18.4013C17.1908 18.4749 17.3011 18.4657 17.4115 18.3553L18.377 17.3797C18.4873 17.2784 18.4873 17.1772 18.4138 17.0483L17.1908 15.0695C17.4483 14.6369 17.6965 14.0755 17.8345 13.4956L20.1057 12.9526C20.2437 12.9342 20.308 12.8514 20.308 12.6949V11.3327C20.308 11.167 20.2529 11.1026 20.1057 11.0658L17.8437 10.532C17.7057 9.91532 17.4299 9.34468 17.2092 8.93051L18.423 6.96088C18.5057 6.83203 18.5057 6.72158 18.3954 6.62034L17.4207 5.66314C17.3103 5.55269 17.2092 5.54349 17.0712 5.61712L15.1034 6.82282C14.6437 6.56512 14.1011 6.31661 13.5034 6.16935L12.9517 3.89599C12.9241 3.74873 12.8506 3.68431 12.6942 3.68431H11.3057C11.1494 3.68431 11.0666 3.75794 11.0483 3.89599L10.5057 6.16015C9.91722 6.30741 9.30113 6.56512 8.88734 6.82282L6.91952 5.61712C6.78159 5.53428 6.68044 5.55269 6.5701 5.65393L5.59538 6.61113C5.49423 6.72158 5.49423 6.83203 5.5678 6.96088L6.79078 8.93051C6.5609 9.34468 6.29423 9.91532 6.1563 10.532L3.89423 11.0658C3.74711 11.1026 3.68274 11.167 3.68274 11.3327V12.6949C3.68274 12.8514 3.7563 12.9342 3.89423 12.9526L6.1655 13.4956C6.30343 14.0755 6.54251 14.6277 6.79998 15.0695L5.57699 17.0575C5.50343 17.1772 5.50343 17.2876 5.61377 17.3889L6.57929 18.3553C6.68964 18.4657 6.79998 18.4749 6.91952 18.4013L8.90573 17.1772C9.3563 17.4625 9.91722 17.7018 10.4965 17.8398L11.0483 20.104C11.0666 20.2421 11.1494 20.3065 11.3057 20.3065ZM12.0046 15.4929C13.9172 15.4929 15.4896 13.919 15.4896 11.9954C15.4896 10.0902 13.9172 8.51634 12.0046 8.51634C10.0827 8.51634 8.50114 10.0902 8.50114 11.9954C8.50114 13.919 10.0827 15.4929 12.0046 15.4929ZM10.1012 11.9954C10.1012 13.0446 10.9563 13.9006 12.0046 13.9006C13.0253 13.9006 13.8805 13.0354 13.8805 11.9954C13.8805 10.9646 13.0253 10.1086 12.0046 10.1086C10.9655 10.1086 10.1012 10.9646 10.1012 11.9954Z", fill: "currentcolor" } })])]), e._v(" "), n("div", { staticClass: "dropdown-menu dropdown-menu-right", on: { click: function(e) { return e.stopPropagation(), function() {} .apply(null, arguments) } } }, [n("div", { staticClass: "menu-container" }, [n("div", { staticClass: "menu-block" }, [n("span", { staticClass: "font-weight-bold dropdown-title d-block" }, [e._v("Settings")]), e._v(" "), n("span", { staticClass: "d-block", staticStyle: { "margin-bottom": "6px" } }, [e._v("Appearance")]), e._v(" "), n("div", { staticClass: "d-flex" }, [n("button", { staticClass: "btn btn-icon", class: { active: "default" === e.themeId }, attrs: { type: "button" }, on: { click: function(t) { return t.preventDefault(), t.stopPropagation(), e.changeTheme("default") } } }, [n("svg", { attrs: { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1 11.2299C4.33413 11.7777 7.59894 9.87986 8.55241 6.68729C9.15077 4.68374 8.7083 2.60738 7.53235 1C8.62048 1.0465 9.71996 1.33069 10.7489 1.87536C14.299 3.75463 15.6649 8.02319 13.7997 11.4095C11.9344 14.7957 7.54441 16.0174 3.99428 14.1381C2.67826 13.4415 1.66239 12.4165 1 11.2299Z", fill: "currentcolor" } })])]), e._v(" "), n("button", { staticClass: "btn btn-icon ml-spacing-small", class: { active: "light" === e.themeId }, attrs: { type: "button" }, on: { click: function(t) { return t.preventDefault(), t.stopPropagation(), e.changeTheme("light") } } }, [n("svg", { attrs: { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { d: "M8.79427 0.831909C8.79427 0.390081 8.4361 0.0319092 7.99427 0.0319092C7.55244 0.0319092 7.19427 0.390081 7.19427 0.831909H8.79427ZM7.19427 2.63191C7.19427 3.07374 7.55244 3.43191 7.99427 3.43191C8.4361 3.43191 8.79427 3.07374 8.79427 2.63191H7.19427ZM8.79427 13.37C8.79427 12.9282 8.4361 12.57 7.99427 12.57C7.55244 12.57 7.19427 12.9282 7.19427 13.37H8.79427ZM7.19427 15.17C7.19427 15.6118 7.55244 15.97 7.99427 15.97C8.4361 15.97 8.79427 15.6118 8.79427 15.17H7.19427ZM13.6292 3.49736C13.9417 3.18494 13.9417 2.6784 13.6292 2.36599C13.3168 2.05357 12.8103 2.05357 12.4979 2.36599L13.6292 3.49736ZM11.2251 3.63878C10.9126 3.9512 10.9126 4.45773 11.2251 4.77015C11.5375 5.08257 12.044 5.08257 12.3564 4.77015L11.2251 3.63878ZM4.76348 12.3631C5.0759 12.0507 5.0759 11.5442 4.76348 11.2317C4.45106 10.9193 3.94453 10.9193 3.63211 11.2317L4.76348 12.3631ZM2.35931 12.5045C2.04689 12.817 2.04689 13.3235 2.35931 13.6359C2.67173 13.9483 3.17826 13.9483 3.49068 13.6359L2.35931 12.5045ZM15.1632 8.80096C15.6051 8.80096 15.9632 8.44279 15.9632 8.00096C15.9632 7.55913 15.6051 7.20096 15.1632 7.20096V8.80096ZM13.3632 7.20096C12.9214 7.20096 12.5632 7.55913 12.5632 8.00096C12.5632 8.44279 12.9214 8.80096 13.3632 8.80096V7.20096ZM2.6252 8.80098C3.06702 8.80098 3.4252 8.44281 3.4252 8.00098C3.4252 7.55915 3.06702 7.20098 2.6252 7.20098V8.80098ZM0.825195 7.20098C0.383368 7.20098 0.0251953 7.55915 0.0251953 8.00098C0.0251953 8.44281 0.383368 8.80098 0.825195 8.80098V7.20098ZM12.4978 13.6359C12.8102 13.9483 13.3167 13.9483 13.6291 13.6359C13.9416 13.3235 13.9416 12.817 13.6291 12.5045L12.4978 13.6359ZM12.3564 11.2318C12.0439 10.9193 11.5374 10.9193 11.225 11.2318C10.9126 11.5442 10.9126 12.0507 11.225 12.3631L12.3564 11.2318ZM3.63209 4.77025C3.94451 5.08267 4.45104 5.08267 4.76346 4.77025C5.07588 4.45783 5.07588 3.9513 4.76346 3.63888L3.63209 4.77025ZM3.49067 2.36609C3.17825 2.05367 2.67171 2.05367 2.3593 2.36609C2.04688 2.67851 2.04688 3.18504 2.3593 3.49746L3.49067 2.36609ZM7.19427 0.831909V2.63191H8.79427V0.831909H7.19427ZM7.19427 13.37V15.17H8.79427V13.37H7.19427ZM12.4979 2.36599L11.2251 3.63878L12.3564 4.77015L13.6292 3.49736L12.4979 2.36599ZM3.63211 11.2317L2.35931 12.5045L3.49068 13.6359L4.76348 12.3631L3.63211 11.2317ZM15.1632 7.20096H13.3632V8.80096H15.1632V7.20096ZM2.6252 7.20098H0.825195V8.80098H2.6252V7.20098ZM13.6291 12.5045L12.3564 11.2318L11.225 12.3631L12.4978 13.6359L13.6291 12.5045ZM4.76346 3.63888L3.49067 2.36609L2.3593 3.49746L3.63209 4.77025L4.76346 3.63888ZM10.2001 7.99998C10.2001 9.21501 9.21516 10.2 8.00013 10.2V11.8C10.0988 11.8 11.8001 10.0987 11.8001 7.99998H10.2001ZM8.00013 10.2C6.78511 10.2 5.80013 9.21501 5.80013 7.99998H4.20013C4.20013 10.0987 5.90145 11.8 8.00013 11.8V10.2ZM5.80013 7.99998C5.80013 6.78496 6.78511 5.79998 8.00013 5.79998V4.19998C5.90145 4.19998 4.20013 5.9013 4.20013 7.99998H5.80013ZM8.00013 5.79998C9.21516 5.79998 10.2001 6.78496 10.2001 7.99998H11.8001C11.8001 5.9013 10.0988 4.19998 8.00013 4.19998V5.79998Z", fill: "currentcolor" } })])])])]), e._v(" "), n("hr", { staticStyle: { margin: "0" } }), e._v(" "), n("div", { staticClass: "menu-block" }, [n("div", { staticClass: "d-md-flex flex-base-line" }, [n("input", { attrs: { type: "checkbox", id: "animation-checkbox", name: "animation" }, domProps: { value: e.animation, checked: e.animation }, on: { input: e.toggleAnimation } }), e._v(" "), e._m(0)])])])])]) } ), [function() { var e = this.$createElement , t = this._self._c || e; return t("label", { staticStyle: { "margin-left": "4px", transform: "translateY(-1px)" }, attrs: { for: "animation-checkbox" } }, [t("span", [this._v("Animation")])]) } ], !1, null, "5e5182e9", null).exports , h = Object(i.defineComponent)({ name: "PicthMode", props: { resourceStorage: Object }, components: { SharePitchMenuSettings: f }, setup(e, t) { const n = Object(i.getCurrentInstance)() , o = Object(i.inject)("store") , a = Object(i.ref)(!1) , s = Object(i.ref)() , c = Object(i.ref)(!1) , d = Object(i.ref)("default"); let f; const h = ()=>{ Object(u.isFullScreen)() || (f && f.unMount(), a.value = !1) } , p = ()=>{ Object(u.exitFullScreen)(), f && f.unMount(), a.value = !1 } ; let g; return Object(i.onMounted)(()=>Object(r.a)(this, void 0, void 0, (function*() { Object(u.isSupportFullScreen)() && (g = Object(u.onFullScreenChanged)(h), yield Object(u.requestFullScreen)(n.$el), yield new Promise(e=>setTimeout(e, 500)), Object(u.fullScreenElement)() === n.$el && (a.value = !0, yield new Promise(e=>setTimeout(e, 200)), s.value && (f = new l(o,s.value,e.resourceStorage), c.value = f.animationEnabled, d.value = f.getThemeId(), f.slideShow.on("finish", p)))) } ))), Object(i.onBeforeUnmount)(()=>{ "function" == typeof g && g() } ), { isContainerReady: a, pitchContainer: s, themeId: d, exitPitch: p, next: ()=>f && f.next(), prev: ()=>f && f.prev(), fastForward: ()=>f && f.fastForward(), fastBackward: ()=>f && f.fastBackward(), animationEnabled: c, toggleAnimation: ()=>{ f && (f.animationEnabled = !f.animationEnabled, c.value = f.animationEnabled) } , changeTheme: e=>{ f && (f.changeThemeId(e), d.value = e) } } } }) , p = (n(330), Object(d.a)(h, (function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", { staticClass: "position-relative" }, [n("div", { directives: [{ name: "show", rawName: "v-show", value: e.isContainerReady, expression: "isContainerReady" }], ref: "pitchContainer", staticClass: "pitch-mode-container w-100 h-100" }), e._v(" "), e.isContainerReady ? n("div", { staticClass: "pitch-mask", on: { click: e.next } }) : e._e(), e._v(" "), e.isContainerReady ? n("div", { staticClass: "top-right-bar d-flex", class: { dark: "default" === e.themeId } }, [n("div", { ref: "topBarRightElement", staticClass: "flex-middle align-items-center floating-bar d-flex", staticStyle: { "flex-shrink": "0" } }, [n("div", [n("button", { staticClass: "btn btn-text", attrs: { type: "button" }, on: { click: e.exitPitch } }, [n("span", [e._v("Exit")])])]), e._v(" "), n("hr", { staticClass: "floating-bar__vertical-separator" }), e._v(" "), n("share-pitch-menu-settings", { attrs: { animation: e.animationEnabled, themeId: e.themeId }, on: { toggleAnimation: e.toggleAnimation, changeTheme: e.changeTheme } })], 1), e._v(" "), n("div", { ref: "topBarRightElement", staticClass: "flex-middle align-items-center floating-bar d-flex ml-spacing", staticStyle: { "flex-shrink": "0" } }, [n("div", [n("button", { staticClass: "btn btn-icon", attrs: { type: "button" }, on: { click: e.fastBackward } }, [n("svg", { attrs: { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { d: "M20.1674 18.7698L20.1674 18.7698L20.173 18.7729C20.5208 18.972 20.6627 19 20.7723 19C20.8739 19 20.9031 18.9694 20.9149 18.9564C20.9336 18.9358 21 18.8454 21 18.6146L21 6.3854C21 6.16097 20.9347 6.06877 20.9134 6.04514C20.8991 6.0293 20.869 6 20.7723 6C20.6627 6 20.5208 6.02796 20.173 6.22705L20.173 6.22707L20.1674 6.2302L9.81595 12.0684C9.46095 12.274 9.31975 12.3939 9.26303 12.4604C9.25734 12.4671 9.25349 12.4721 9.251 12.4756C9.2505 12.4807 9.25 12.4886 9.25 12.5C9.25 12.5136 9.2507 12.5224 9.25133 12.5276C9.25379 12.5312 9.25798 12.5368 9.26471 12.5448C9.31986 12.6098 9.45975 12.7296 9.81201 12.9294C9.81236 12.9296 9.81271 12.9298 9.81306 12.93L20.1674 18.7698Z", stroke: "currentcolor", "stroke-width": "2" } }), e._v(" "), n("path", { attrs: { d: "M13 20L2.68164 12.9648C2.35414 12.7415 2.35414 12.2585 2.68164 12.0352L13 5", stroke: "currentcolor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } })])])]), e._v(" "), n("div", { staticClass: "ml-spacing" }, [n("button", { staticClass: "btn btn-icon", attrs: { type: "button" }, on: { click: e.prev } }, [n("svg", { attrs: { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { d: "M17.1426 18.7559L17.1426 18.7559L17.1482 18.7593C17.5045 18.9729 17.6458 19 17.75 19C17.8419 19 17.8726 18.9728 17.8933 18.9489C17.9243 18.9131 18 18.7934 18 18.5222L18 5.47777C18 5.21323 17.9253 5.09171 17.8919 5.05285C17.8685 5.02573 17.8369 5 17.75 5C17.6458 5 17.5045 5.02708 17.1482 5.24074L17.1482 5.24076L17.1426 5.24407L6.60288 11.4715C6.24274 11.69 6.09508 11.8198 6.03226 11.8969C6.01961 11.9125 6.01324 11.9227 6.01032 11.9277C6.00757 11.9326 6.00666 11.935 6.00626 11.9362C6.00583 11.9374 6.00451 11.9414 6.00316 11.9499C6.00175 11.9589 6 11.9749 6 12C6 12.0473 6.00612 12.0647 6.00682 12.0667L6.00686 12.0668L6.00689 12.0669C6.00734 12.0683 6.01135 12.0806 6.03388 12.1085C6.09524 12.1842 6.24166 12.3139 6.59905 12.5262C6.59936 12.5264 6.59967 12.5266 6.59998 12.5268L17.1426 18.7559Z", stroke: "currentcolor", "stroke-width": "2" } })])])]), e._v(" "), n("div", { staticClass: "ml-spacing" }, [n("button", { staticClass: "btn btn-icon", attrs: { type: "button" }, on: { click: e.next } }, [n("svg", { attrs: { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { d: "M6.85738 18.7559L6.85737 18.7559L6.85178 18.7593C6.49548 18.9729 6.35422 19 6.25 19C6.15808 19 6.1274 18.9728 6.10669 18.9489C6.07573 18.9131 6 18.7934 6 18.5222L6 5.47777C6 5.21323 6.07466 5.09171 6.10813 5.05285C6.13149 5.02573 6.16307 5 6.25 5C6.35422 5 6.49548 5.02708 6.85178 5.24074L6.85177 5.24076L6.85738 5.24407L17.3971 11.4715C17.7573 11.69 17.9049 11.8198 17.9677 11.8969C17.9804 11.9125 17.9868 11.9227 17.9897 11.9277C17.9924 11.9326 17.9933 11.935 17.9937 11.9362C17.9942 11.9374 17.9955 11.9414 17.9968 11.9499C17.9983 11.9589 18 11.9749 18 12C18 12.0473 17.9939 12.0647 17.9932 12.0667L17.9931 12.0668L17.9931 12.0669C17.9927 12.0683 17.9887 12.0806 17.9661 12.1085C17.9048 12.1842 17.7583 12.3139 17.401 12.5262C17.4006 12.5264 17.4003 12.5266 17.4 12.5268L6.85738 18.7559Z", stroke: "currentcolor", "stroke-width": "2" } })])])]), e._v(" "), n("div", { staticClass: "ml-spacing" }, [n("button", { staticClass: "btn btn-icon", attrs: { type: "button" }, on: { click: e.fastForward } }, [n("svg", { attrs: { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { d: "M3.83257 18.7698L3.83256 18.7698L3.82704 18.7729C3.47922 18.972 3.3373 19 3.22768 19C3.12615 19 3.0969 18.9694 3.08512 18.9564C3.06642 18.9358 3 18.8454 3 18.6146L3 6.3854C3 6.16097 3.06529 6.06877 3.08661 6.04514C3.10091 6.0293 3.13097 6 3.22768 6C3.3373 6 3.47923 6.02796 3.82704 6.22705L3.82703 6.22707L3.83257 6.2302L14.1841 12.0684C14.5391 12.274 14.6802 12.3939 14.737 12.4604C14.7427 12.4671 14.7465 12.4721 14.749 12.4756C14.7495 12.4807 14.75 12.4886 14.75 12.5C14.75 12.5136 14.7493 12.5224 14.7487 12.5276C14.7462 12.5312 14.742 12.5368 14.7353 12.5448C14.6801 12.6098 14.5403 12.7296 14.188 12.9294C14.1876 12.9296 14.1873 12.9298 14.1869 12.93L3.83257 18.7698Z", stroke: "currentcolor", "stroke-width": "2" } }), e._v(" "), n("path", { attrs: { d: "M11 20L21.3184 12.9648C21.6459 12.7415 21.6459 12.2585 21.3184 12.0352L11 5", stroke: "currentcolor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } })])])])])]) : e._e()]) } ), [], !1, null, "2012282a", null)); t.a = p.exports }, 234: function(e, t, n) { "use strict"; var r = n(1); const i = (e,t=0)=>{ let n = ""; return e.querySelectorAll(":scope > li").forEach(e=>{ const r = e.querySelector(":scope > span") , o = r && r.textContent , a = e.querySelector(":scope > ol"); n = n + "".padStart(2 * t, " ") + o + "\n", a && (n += i(a, t + 1)) } ), n } ; var o = Object(r.defineComponent)({ name: "share-map-menu-operation", components: {}, props: { profileName: String, fileSize: String, username: String, createdTime: String, isXmindShareFile: Boolean, isDownloadable: Boolean, isFromAdmin: Boolean }, setup(e, t) { const n = navigator.userAgent.toLowerCase().includes("mobile") , o = Object(r.computed)(()=>"https://www.xmind.app/share/" + e.username); return { isMenuEnable: Object(r.computed)(()=>e.isXmindShareFile || e.isDownloadable || e.isFromAdmin || !n && e.isDownloadable), isMobile: n, userProfilePage: o, handleDownload: ()=>{ t.emit("download") } , handleOpenWithApp: ()=>{ t.emit("open-with-app") } , handleCopyOutline: ()=>{ !function(e) { const t = document.createElement("textarea"); t.value = e, document.body.appendChild(t); if (navigator.userAgent.match(/ipad|iphone/i)) { const e = document.createRange(); e.selectNodeContents(t); const n = window.getSelection(); if (!n) return; n.removeAllRanges(), n.addRange(e), t.setSelectionRange(0, t.value.length) } else t.select(); document.execCommand("copy"), document.body.removeChild(t) }(i(document.querySelector("#outline > ol"))) } } } }) , a = (n(316), n(0)) , s = Object(a.a)(o, (function() { var e = this , t = e.$createElement , n = e._self._c || t; return e.isMenuEnable ? n("div", { staticClass: "share-map-menu__operation" }, [n("button", { staticClass: "btn btn-icon", attrs: { type: "button", "data-toggle": "dropdown", "aria-haspopup": "true", "aria-expanded": "false", "data-offset": "0, 12" } }, [n("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" } }, [n("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM10 12C10 10.9 10.9 10 12 10C13.1 10 14 10.9 14 12C14 13.1 13.1 14 12 14C10.9 14 10 13.1 10 12Z", fill: "currentcolor" } })])]), e._v(" "), n("div", { staticClass: "dropdown-menu dropdown-menu-right" }, [e.isXmindShareFile ? n("a", { staticClass: "dropdown-item", attrs: { href: e.userProfilePage, target: "_blank" } }, [n("span", { staticClass: "w-100 d-inline-block", staticStyle: { "text-overflow": "ellipsis", "max-width": "240px", overflow: "hidden" } }, [e._v("\n Upload by\n ")]), e._v(" "), n("br"), e._v(" "), n("span", { staticClass: "small muted flex-no-shrink" }, [e._v("\n " + e._s(e.profileName) + " on " + e._s(e.createdTime) + "\n ")])]) : e._e(), e._v(" "), e.isDownloadable ? n("a", { staticClass: "dropdown-item d-flex justify-content-between", attrs: { href: "#" }, on: { click: e.handleDownload } }, [e._v("\n Download\n "), n("span", { staticClass: "small muted flex-no-shrink" }, [e._v("\n " + e._s(e.fileSize) + "\n ")])]) : e._e(), e._v(" "), e.isFromAdmin ? n("a", { staticClass: "dropdown-item", attrs: { href: "#" }, on: { click: e.handleCopyOutline } }, [e._v("\n Copy Outline\n ")]) : e._e(), e._v(" "), !e.isMobile && e.isDownloadable ? [n("a", { staticClass: "dropdown-divider" }), e._v(" "), n("a", { staticClass: "dropdown-item", attrs: { href: "#" }, on: { click: e.handleOpenWithApp } }, [e._v("\n Open With App\n ")])] : e._e()], 2)]) : e._e() } ), [], !1, null, "3c5647e8", null); t.a = s.exports }, 235: function(e, t, n) { "use strict"; var r = n(1) , i = Object(r.defineComponent)({ name: "share-map-menu-social", components: {}, props: { shareEmbedWidth: Number, shareEmbedHeight: Number, manifests: { type: Object, required: !0 } }, setup(e, t) { var n; const i = encodeURI(window.location.href) , o = encodeURIComponent((null === (n = document.querySelector("title")) || void 0 === n ? void 0 : n.textContent) || "") , a = Object(r.computed)(()=>{ const t = 750 * (e.shareEmbedHeight / e.shareEmbedWidth); return Math.min(Math.max(422, t), 1e3) } ); return { computedShareEmbedHeight: a, handleFacebookShare: ()=>window.open("https://www.facebook.com/sharer/sharer.php?u=" + i, "Share to Facebook", "width=750, height=" + a.value), handleTwitterShare: ()=>window.open("http://twitter.com/share?text=" + o + "&url=" + i + "&hashtags=XMind", "Share to Twitter", "width=750, height=" + a.value), handleLinkedInShare: ()=>window.open("https://www.linkedin.com/shareArticle?mini=true&url=" + i + "&title=" + o, "Share to Linkedin", "width=750, height=" + a.value), handleOpenShareEmbedCodeDialog: ()=>t.emit("open-share-code") } } }) , o = (n(314), n(0)) , a = Object(o.a)(i, (function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", { staticClass: "share-map-menu__social" }, [[n("button", { staticClass: "btn btn-icon", attrs: { type: "button", "data-toggle": "dropdown", "data-offset": "0, 12", "aria-haspopup": "true", "aria-expanded": "false" } }, [n("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" } }, [n("path", { attrs: { d: "M17.3333 15.5156C16.6578 15.5156 16.0533 15.7822 15.5911 16.2L9.25333 12.5111C9.29778 12.3067 9.33333 12.1022 9.33333 11.8889C9.33333 11.6756 9.29778 11.4711 9.25333 11.2667L15.52 7.61333C16 8.05778 16.6311 8.33333 17.3333 8.33333C18.8089 8.33333 20 7.14222 20 5.66667C20 4.19111 18.8089 3 17.3333 3C15.8578 3 14.6667 4.19111 14.6667 5.66667C14.6667 5.88 14.7022 6.08444 14.7467 6.28889L8.48 9.94222C8 9.49778 7.36889 9.22222 6.66667 9.22222C5.19111 9.22222 4 10.4133 4 11.8889C4 13.3644 5.19111 14.5556 6.66667 14.5556C7.36889 14.5556 8 14.28 8.48 13.8356L14.8089 17.5333C14.7644 17.72 14.7378 17.9156 14.7378 18.1111C14.7378 19.5422 15.9022 20.7067 17.3333 20.7067C18.7644 20.7067 19.9289 19.5422 19.9289 18.1111C19.9289 16.68 18.7644 15.5156 17.3333 15.5156Z", fill: "currentcolor" } })])]), e._v(" "), n("div", { staticClass: "dropdown-menu dropdown-menu-right" }, [n("a", { staticClass: "code dropdown-item d-flex align-items-center", attrs: { href: "#" }, on: { click: e.handleOpenShareEmbedCodeDialog } }, [n("svg", { attrs: { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { d: "M8.41 7.41L7 6L1 12L7 18L8.41 16.59L3.83 12L8.41 7.41Z", fill: "currentcolor", stroke: "currentcolor" } }), e._v(" "), n("path", { attrs: { d: "M15.59 7.41L17 6L23 12L17 18L15.59 16.59L20.17 12L15.59 7.41Z", fill: "currentcolor", stroke: "currentcolor" } })]), e._v(" "), n("span", {}, [e._v(" Embed Code ")])]), e._v(" "), n("a", { staticClass: "dropdown-item facebook d-flex align-items-center", attrs: { href: "#" }, on: { click: e.handleFacebookShare } }, [n("img", { attrs: { src: e.manifests.facebookIcon } }), e._v(" "), n("span", {}, [e._v(" Facebook ")])]), e._v(" "), n("a", { staticClass: "dropdown-item twitter d-flex align-items-center", attrs: { href: "#" }, on: { click: e.handleTwitterShare } }, [n("img", { attrs: { src: e.manifests.twitterIcon } }), e._v(" "), n("span", {}, [e._v(" Twitter ")])]), e._v(" "), n("a", { staticClass: "dropdown-item linkedin d-flex align-items-end", attrs: { href: "#" }, on: { click: e.handleLinkedInShare } }, [n("img", { attrs: { src: e.manifests.linkedinIcon } }), e._v(" "), n("span", {}, [e._v(" LinkedIn ")])]), e._v(" "), e._t("default")], 2)]], 2) } ), [], !1, null, "40b1f39d", null); t.a = a.exports }, 239: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }) }, 240: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }) }, 241: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }) }, 242: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }) }, 243: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeSlideContent = t.computeTopicLevel = t.computeSlideLayout = t.getEligibleSlideLayouts = void 0; const r = n(158) , i = n(165) , o = n(109); t.getEligibleSlideLayouts = function(e, t) { return r.getEligibleSlideLayouts(e, t) } , t.computeSlideLayout = function(e, t, n, i={}) { return r.computeSlideLayout(e, t, n, i) } , t.computeTopicLevel = function(e, t) { return i.computeTopicLevel(e, t) } , t.computeSlideContent = function(e, t) { return o.computeSlideContent(e, t) } }, 244: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.generateTopicSlide = t.layoutTopicSlide = t.isTopicSlideLayoutEligibleFor = void 0; const r = n(5) , i = n(15) , o = n(33) , a = n(41) , s = n(160) , l = n(161) , u = n(163) , c = n(35) , d = n(36) , f = n(164) , h = n(44) , p = n(32) , g = "topic-slide"; t.isTopicSlideLayoutEligibleFor = function(e) { return "topic" === e } , t.layoutTopicSlide = function(e, t, n={}) { var m, v, y, b, _, w, S; const {topic: x, headerTopic: k, calloutTopic: I} = t , {id: C} = x , M = null !== (m = null == n ? void 0 : n.dimension) && void 0 !== m ? m : p.defaultDimension , T = null !== (v = null == n ? void 0 : n.appearance) && void 0 !== v ? v : i.defaultAppearance; i.initializeSlideStyle(e, M, T, { layout: g }); const A = i.calcLength(M.hSlidePadding, e) , E = i.calcLength(M.vSlidePadding, e) , O = Math.round(i.calcLength(M.topicSlideTitleFontSizeLarge, e)) , B = Math.round(i.calcLength(M.topicSlideTitleFontSizeMedium, e)) , L = Math.round(i.calcLength(M.topicSlideTitleFontSizeSmall, e)) , P = i.calcLength(M.hPaddingSmall, e) , R = O , z = B , j = Math.round(.8 * O) , F = B , D = B , N = L , U = i.calcLength(M.topicSlideLabelFontSize, e) , W = i.calcLength(M.topicSlideLabelMinWidth, e) , H = i.calcLength(M.hPaddingSmall, e) , V = i.calcLength(M.hPaddingSmall, e) , $ = i.calcLength(M.vPaddingXSmall, e) , G = i.calcLength(M.vPaddingXSmall, e) , Z = i.calcLength(M.topicSlideCalloutFontSize, e) , q = i.calcLength(M.topicSlideNoteFontSize, e) , Y = i.calcLength(M.vPaddingXXSmall, e) , X = i.calcLength(M.vPaddingXXSmall, e) , J = i.calcLength(M.vPaddingLarge, e) , Q = i.calcLength(M.vPaddingLarge, e) , K = i.calcLength(M.topicSlideTitleScrollFaderHeight, e) , ee = e.width - A - A , te = { left: A, top: E, right: A, bottom: E } , ne = null !== (y = null == I ? void 0 : I.title) && void 0 !== y ? y : "" , re = ne ? s.computeCalloutTextBox(e, T, g, C, ne, { maxWidth: ee, fontSize: Z }) : null , ie = (null !== (b = x.labels) && void 0 !== b ? b : []).map((t,n)=>l.computeLabelGroup(e, T, g, C, t, n, { maxWidth: ee, minWidth: W, fontSize: U, leftPadding: H, rightPadding: V })) , oe = null !== (w = null === (_ = x.note) || void 0 === _ ? void 0 : _.plainText) && void 0 !== w ? w : "" , ae = oe ? u.computeNoteTextBox(e, T, g, C, oe, { maxWidth: ee, fontSize: q }) : null , se = d.computeTopicTitle(x) , le = null !== (S = x.markers) && void 0 !== S ? S : [] , ue = le.slice(0, M.maxMarkerCount) , ce = !re && ie.length <= 0 && !ae ? e.height - E - E : null , de = f.searchForBestTopicSlideContent((function(t) { const n = c.computeTopicTitleGroup(e, T, g, C, se, ue, { maxWidth: ee, fontSize: t, markerRightMargin: P, textRoles: ["title"] }); let r; n.textMeasurement.lineCount > 1 ? (n.textBox.textAlignment = "leading", r = "leading") : r = "center"; const i = ie.length > 0 ? l.computeLabelListGroupBox(e, T, g, C, ie.map(({groupBox: e})=>e), { maxWidth: ee, labelSpacing: $, lineSpacing: G, alignment: r }) : null; return f.computeTopicSlideContentGroup(e, T, g, C, { titleGroup: n, calloutTextBox: re, labelListGroupBox: i, noteTextBox: ae }, { maxWidth: e.width, maxHeight: e.height, paddings: te, contentAlignment: r, spacingBetweenCalloutAndTitle: Y, spacingBetweenTitleAndLabelList: X, spacingBetweenTitleAndNote: J, spacingBetweenLabelListAndNote: Q, scrollFaderSize: K }) } ), (function(e) { return e.titleGroup.textMeasurement.lineCount } ), (function(e) { return e.groupBox.contentHeight } ), { maxHeight: e.height, compactMaxHeight: ce, singleLineTitleMaxFontSize: R, singleLineTitleMinFontSize: z, doubleLineTitleMaxFontSize: j, doubleLineTitleMinFontSize: F, multilineTitleMaxFontSize: D, multilineTitleMinFontSize: N }) , {groupBox: fe} = de; fe.bounds.x = (e.width - fe.bounds.width) / 2, fe.bounds.y = (e.height - fe.bounds.height) / 2, e.boxes.push(fe), k && a.addHeaderBoxes(e, k, M, T, g), o.computeAbsoluteBounds(e.boxes), r.addSlideContentFeatures(e, ...h.computeContentFeaturesForTitleGroup(de.titleGroup, C, se, le)), de.calloutTextBox && r.addSlideContentFeatures(e, { kind: "callout", topicId: C, integrity: "full" }), de.labelListGroupBox && r.addSlideContentFeatures(e, { kind: "labels", topicId: C, integrity: "full" }), de.noteTextBox && r.addSlideContentFeatures(e, { kind: "note", topicId: C, integrity: "full" }) } , t.generateTopicSlide = function(e) { const t = Object.assign({}, e) , n = r.assertBox(r.getBoxById(t.boxes, r.contentGroupOfTopic(t.topicId), "group")); return n.contentHeight > n.bounds.height && (t.multistepBoxes = [n.id], r.addSlideLeavingAnimations(t, [{ durationMultiplier: 1, easing: "easeInOutCubic", on: "preTransition", effect: "mutate", finalState: { boxes: [{ id: n.id, scrollOffset: 0 }] } }])), function(e) { "centralTopic" == e.topicLevel || "floatingTopic" == e.topicLevel ? function(e) { const t = [...r.assertBox(r.getBoxById(e.boxes, r.contentGroupOfTopic(e.topicId), "group")).children].sort((e,t)=>e.bounds.y - t.bounds.y); let n = 0; t.forEach(t=>{ var i; r.setBoxEnteringState(e, { id: t.id, transform: [{ translate: { x: 0, y: t.bounds.height / 5 } }], opacity: 0 }), r.addSlideEnteringAnimations(e, [{ durationMultiplier: 1.75, delayMultiplier: n, easing: "easeInOutCubic", on: "postTransition", effect: "mutate", finalState: { boxes: [{ id: t.id, transform: [{ translate: { x: 0, y: 0 } }] }] } }]), r.addSlideEnteringAnimations(e, [{ durationMultiplier: 2.5, delayMultiplier: n, easing: "easeInOutCubic", on: "postTransition", effect: "mutate", finalState: { boxes: [{ id: t.id, opacity: null !== (i = t.opacity) && void 0 !== i ? i : 1 }] } }]), n += .75 } ) }(e) : function(e) { const t = r.titleOfTopic(e.topicId) , n = r.assertBox(r.getBoxById(e.boxes, r.contentGroupOfTopic(e.topicId), "group")); n.children.forEach(n=>{ var i; n.id !== t && (r.setBoxEnteringState(e, { id: n.id, opacity: 0 }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 1, delayMultiplier: .75, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: n.id, opacity: null !== (i = n.opacity) && void 0 !== i ? i : 1 }] } }])) } ) }(e) }(t), t } }, 245: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.defaultAppearance = void 0, t.defaultAppearance = { slideStyles: { slide: { opacity: 1, backgroundColor: "#000", backgroundOpacity: 1, foregroundColor: "white", hitRegionFillColor: "rgba(196, 196, 196, 0.12)", hitRegionActiveFillColor: "rgba(196, 196, 196, 0.3)", hitRegionBoxShadow: "0px 1px 21px -7px rgba(0, 0, 0, 0.25)", hitRegionStrokeColor: "rgba(185, 185, 185, 0.1)", hitRegionCornerRadius: 18, hitRegionLineWidth: 1, opacityForPendingSubtopicsUnderPresenterPerspectiveMode: .3 } }, boxStyles: { box: { opacity: 1, transform: "none" }, "box.text": { fontFamily: ["SF Pro Display", "-apple-system", "Helvetica Neue", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", "sans-serif"], fontSize: "24px", lineHeight: "1em", fontWeight: "normal", fontStyle: "normal", textColor: "#fff", textAlignment: "leading" }, "box.shape": { lineWidth: 1, lineCap: "round" }, "box.headerLine": { strokeColor: "#fff", lineCap: "round" }, "box.labelBorder": { strokeColor: "#fff", lineWidth: 2 }, "box.note": { fontWeight: "normal", opacity: .8 }, "box.callout": { fontWeight: "normal", fontStyle: "italic", opacity: .6 }, "slide.layout-topic-slide box.title": { fontWeight: "bold", textAlignment: "center", overflowWrap: "break-word" }, "slide.layout-image-topic-slide box.title": { fontWeight: "bold", textAlignment: "leading", overflowWrap: "break-word" }, "slide.layout-image-topic-slide.image-placement-full box.text": { textShadow: "0 0 8px rgba(0, 0, 0, 0.3)" }, "slide.layout-image-topic-slide.image-placement-full box.image": { objectFit: "cover" }, "slide.layout-brace-list box.title": { fontWeight: "bold", textAlignment: "center" }, "slide.layout-brace-list box.subtopic": { overflowWrap: "break-word" }, "slide.layout-brace-list box.curlyBrace": { strokeColor: "#fff", lineWidth: 8, lineCap: "round" }, "slide.layout-bullet-list box.title": { fontSize: "60px", fontWeight: "bold" }, "slide.layout-bullet-list box.subtopic": { overflowWrap: "break-word" }, "slide.layout-bullet-list box.bulletDot": { fillColor: "#fff" }, "slide.layout-lyric-list box.title": { fontSize: "60px", fontWeight: "bold" }, "slide.layout-lyric-list box.subtopic": { overflowWrap: "break-word" }, "slide.layout-lyric-list box.arrow": { fillColor: "#fff" }, "slide.layout-tree-chart box.title": { fontWeight: "bold", textAlignment: "leading" }, "slide.layout-tree-chart box.treeBranch": { strokeColor: "#fff", lineWidth: 8, lineCap: "round", lineJoin: "round" }, "slide.layout-tree-chart box.subtopic": { overflowWrap: "break-word" }, "slide.layout-summary box.curlyBrace": { strokeColor: "#fff", lineWidth: 4, lineCap: "round", lineJoin: "round" }, "slide.layout-summary box.title": { fontWeight: "bold", textAlignment: "center" }, "slide.layout-only-child box.title": { fontSize: "82px", fontWeight: "bold" }, "slide.layout-only-child box.subtopic": { overflowWrap: "break-word" }, "slide.layout-only-child box.separatorLine": { strokeColor: "#fff", lineCap: "round" } } } }, 246: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.lightAppearance = void 0, t.lightAppearance = { slideStyles: { slide: { opacity: 1, backgroundColor: "#f9f9f9", backgroundOpacity: 1, foregroundColor: "black", hitRegionFillColor: "rgba(196, 196, 196, 0.12)", hitRegionActiveFillColor: "rgba(196, 196, 196, 0.3)", hitRegionBoxShadow: "0px 1px 21px -7px rgba(0, 0, 0, 0.15)", hitRegionStrokeColor: "rgba(185, 185, 185, 0.1)", hitRegionLineWidth: 1, hitRegionCornerRadius: 18, opacityForPendingSubtopicsUnderPresenterPerspectiveMode: .2 } }, boxStyles: { box: { opacity: 1, transform: "none" }, "box.text": { fontFamily: ["SF Pro Display", "-apple-system", "Helvetica Neue", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", "sans-serif"], fontSize: "24px", lineHeight: "1em", fontWeight: "normal", fontStyle: "normal", textColor: "#000", textAlignment: "leading" }, "box.shape": { lineWidth: 1, lineCap: "round" }, "box.headerLine": { strokeColor: "#000", lineCap: "round" }, "box.labelBorder": { strokeColor: "#000", lineWidth: 2 }, "box.note": { fontWeight: "normal", opacity: .8 }, "box.callout": { fontWeight: "normal", fontStyle: "italic", opacity: .6 }, "slide.layout-topic-slide box.title": { fontWeight: "bold", textAlignment: "center", overflowWrap: "break-word" }, "slide.layout-image-topic-slide box.title": { fontWeight: "bold", textAlignment: "leading", overflowWrap: "break-word" }, "slide.layout-image-topic-slide.image-placement-full box.text": { textShadow: "0 0 8px rgba(0, 0, 0, 0.3)" }, "slide.layout-image-topic-slide.image-placement-full box.image": { objectFit: "cover" }, "slide.layout-brace-list box.title": { fontWeight: "bold", textAlignment: "center" }, "slide.layout-brace-list box.subtopic": { overflowWrap: "break-word" }, "slide.layout-brace-list box.curlyBrace": { strokeColor: "#000", lineWidth: 8, lineCap: "round" }, "slide.layout-lyric-list box.title": { fontSize: "60px", fontWeight: "bold" }, "slide.layout-lyric-list box.subtopic": { overflowWrap: "break-word" }, "slide.layout-lyric-list box.arrow": { fillColor: "#000" }, "slide.layout-bullet-list box.title": { fontSize: "60px", fontWeight: "bold" }, "slide.layout-bullet-list box.subtopic": { overflowWrap: "break-word" }, "slide.layout-bullet-list box.bulletDot": { fillColor: "#000" }, "slide.layout-tree-chart box.title": { fontWeight: "bold", textAlignment: "leading" }, "slide.layout-tree-chart box.treeBranch": { strokeColor: "#000", lineWidth: 8, lineCap: "round", lineJoin: "round" }, "slide.layout-tree-chart box.subtopic": { overflowWrap: "break-word" }, "slide.layout-summary box.curlyBrace": { strokeColor: "#000", lineWidth: 4, lineCap: "round", lineJoin: "round" }, "slide.layout-summary box.title": { fontWeight: "bold", textAlignment: "center" }, "slide.layout-only-child box.title": { fontSize: "82px", fontWeight: "bold" }, "slide.layout-only-child box.subtopic": { overflowWrap: "break-word" }, "slide.layout-only-child box.separatorLine": { strokeColor: "#000", lineCap: "round" } } } }, 247: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.portraitDimension = void 0, t.portraitDimension = { vPaddingXXSmall: { pct: 2, unit: "vmin" }, vPaddingXSmall: { pct: 5, unit: "vmin" }, vPaddingSmall: { pct: 11, unit: "vmin" }, vPaddingNormal: { pct: 13, unit: "vmin" }, vPaddingMedium: { pct: 15, unit: "vmin" }, vPaddingLarge: { pct: 20, unit: "vmin" }, vPaddingXLarge: { pct: 30, unit: "vmin" }, hPaddingXSmall: { pct: 1, unit: "vmin" }, hPaddingSmall: { pct: 2, unit: "vmin" }, hPaddingNormal: { pct: 3, unit: "vmin" }, hPaddingMedium: { pct: 5, unit: "vmin" }, hPaddingLarge: { pct: 8, unit: "vmin" }, hPaddingXLarge: { pct: 11, unit: "vmin" }, hSlidePadding: { pct: 100 / 15, unit: "vw" }, vSlidePadding: { pct: 12.5, unit: "vh" }, scrollFaderHeight: { pct: 12.5, unit: "vh" }, topicSlideTitleFontSizeLarge: { pct: 14, unit: "vmin" }, topicSlideTitleFontSizeMedium: { pct: 8, unit: "vmin" }, topicSlideTitleFontSizeSmall: { pct: 7, unit: "vmin" }, topicSlideTitleScrollFaderHeight: { pct: 25, unit: "vh" }, topicSlideSingleLineTitleAlignment: "center", topicSlideMultilineTitleAlignment: "leading", topicSlideLabelFontSize: { pct: 4, unit: "vmin" }, topicSlideLabelMinWidth: { pct: 9, unit: "vmin" }, topicSlideNoteFontSize: { pct: 5, unit: "vmin" }, topicSlideCalloutFontSize: { pct: 6, unit: "vmin" }, imageTopicSlideSmallImageDefiningWidth: 400, imageTopicSlideHLayoutImageZoneWidth: { pct: 700 / 15, unit: "vw" }, imageTopicSlideHLayoutImageZoneWidthForSmallImage: { pct: 20, unit: "vw" }, imageTopicSlideHLayoutSpacingAroundImage: { pct: 100 / 15, unit: "vw" }, imageTopicSlideHLayoutTitleFontSizeLarge: { pct: 10, unit: "vmin" }, imageTopicSlideHLayoutTitleFontSizeMedium: { pct: 8, unit: "vmin" }, imageTopicSlideHLayoutTitleFontSizeSmall: { pct: 7, unit: "vmin" }, imageTopicSlideVLayoutImageZoneHeight: { pct: 62.5, unit: "vh" }, imageTopicSlideVLayoutImageZoneHeightForSmallImage: { pct: 25, unit: "vh" }, imageTopicSlideVLayoutTitleFontSizeLarge: { pct: 14, unit: "vmin" }, imageTopicSlideVLayoutTitleFontSizeMedium: { pct: 8, unit: "vmin" }, imageTopicSlideVLayoutTitleFontSizeSmall: { pct: 7, unit: "vmin" }, headerZoneWidth: { pct: 20, unit: "vmax" }, headerZoneHeight: { pct: 4, unit: "vmin" }, headerTextFontSize: { pct: 4, unit: "vmin" }, headerTextLeftMargin: { pct: 100 / 15, unit: "vmin" }, headerMarkerRightMargin: { pct: .375, unit: "vmin" }, headerLineTopMargin: { pct: 1, unit: "vmin" }, headerLineLength: { pct: 5, unit: "vmin" }, headerLineWidth: 4, braceListSlideParentTopicMaxFontSize: { pct: 14, unit: "vmin" }, braceListSlideParentTopicMinFontSize: { pct: 11, unit: "vmin" }, braceListSlideSubtopicMaxFontSize: { pct: 8, unit: "vmin" }, braceListSlideSubtopicMinFontSize: { pct: 7, unit: "vmin" }, braceListSlideScrollFaderHeight: { pct: 12.5, unit: "vh" }, bulletListSlideParentTopicDefaultFontSize: { pct: 14, unit: "vmin" }, bulletListSlideSubtopicMaxFontSize: { pct: 8, unit: "vmin" }, bulletListSlideSubtopicMinFontSize: { pct: 7, unit: "vmin" }, lyricListSlideParentTopicDefaultFontSize: { pct: 14, unit: "vmin" }, lyricListSlideSubtopicMaxFontSize: { pct: 8, unit: "vmin" }, lyricListSlideSubtopicMinFontSize: { pct: 7, unit: "vmin" }, treeChartSlideParentTopicMaxFontSize: { pct: 14, unit: "vmin" }, treeChartSlideParentTopicMinFontSize: { pct: 11, unit: "vmin" }, treeChartSlideSubtopicMaxFontSize: { pct: 8, unit: "vmin" }, treeChartSlideSubtopicMinFontSize: { pct: 7, unit: "vmin" }, summarySlideTopicMaxFontSize: { pct: 14, unit: "vmin" }, summarySlideTopicMinFontSize: { pct: 8, unit: "vmin" }, summarySlideTopicMarkerRightMargin: { pct: 1.2, unit: "vmin" }, summarySlideSubtopicFontSize: { pct: 8, unit: "vmin" }, summarySlideSubtopicMarkerRightMargin: { pct: 1.2, unit: "vmin" }, summarySlideLineHeight: { pct: 3.125, unit: "vh" }, summarySlideLineStrokeWidth: 4, summaryScrollFaderHeight: { pct: 25, unit: "vh" }, lyricListSlideArrowWidth: 46, lyricListSlideArrowHeight: 36, lyricListSlideArrowCornerRadius: 4, treeChartBranchStrokeWidth: 8, onlyChildSlideSeparatorLineWidth: 4, maxMarkerCount: 3, hitRegionHPadding: { pct: 1, unit: "vmin" }, hitRegionVPadding: { pct: 1, unit: "vmin" } } }, 248: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.matchesClasses = t.matchesStates = t.addStates = t.split = t.matchesBox = t.pickBoxStyle = t.computeBoxStyle = t.initializeBoxStyle = t.matchesSlide = t.computeSlideStyle = t.initializeSlideStyle = t.calcLength = void 0; const r = n(13); function i(e, t) { return "number" == typeof e ? e : r.calc(e.pct / 100, e.unit, t) } function o(e, t={}) { const n = { classes: new Set, states: new Set }; t.type && n.classes.add(t.type), t.layout && n.classes.add("layout-" + t.layout), t.imagePlacement && n.classes.add("image-placement-" + t.imagePlacement), t.states && d(t.states, n.states); const r = {}; if (e.slideStyles) for (const t in e.slideStyles) a(t, n) && p(r, e.slideStyles[t]); return r } function a(e, t) { const n = c(e); return !!n.slide && (!!h(n.slide.classes, t.classes) && !!f(n.slide.states, t.states)) } function s(e, t={}) { const n = { slideClasses: new Set, slideStates: new Set, classes: new Set }; t.slideType && n.slideClasses.add(t.slideType), t.slideLayout && n.slideClasses.add("layout-" + t.slideLayout), t.slideImagePlacement && n.slideClasses.add("image-placement-" + t.slideImagePlacement), t.slideStates && d(t.slideStates, n.slideStates), t.contentType && n.classes.add(t.contentType), t.roles && t.roles.forEach(e=>n.classes.add(e)); const r = {}; if (e.boxStyles) for (const t in e.boxStyles) l(t, n) && p(r, e.boxStyles[t]); return r } function l(e, t) { var n, r; const i = c(e); return !!i.box && (!!h(i.box.classes, t.classes) && (!!f(null !== (r = null === (n = i.slide) || void 0 === n ? void 0 : n.states) && void 0 !== r ? r : [], t.slideStates) && !(i.slide && !h(i.slide.classes, t.slideClasses)))) } function u(e, t) { return e.split(t).filter(Boolean) } function c(e) { var t, n; const r = {} , i = /([\w-_]+)(\.[\w-_.]+)?(:[\w-_:]+)?/g; let o; for (; null !== (o = i.exec(e)); ) { const e = o[1] , i = u(null !== (t = o[2]) && void 0 !== t ? t : "", ".") , a = u(null !== (n = o[3]) && void 0 !== n ? n : "", ":"); r[e] = { classes: i, states: a } } return r } function d(e, t) { for (const n in e) e[n] && t.add(n) } function f(e, t) { if (e.length !== t.size) return !1; for (const n of e) if (!t.has(n)) return !1; return !0 } function h(e, t) { return e.every(e=>t.has(e)) } function p(e, t) { t && Object.assign(e, t) } t.calcLength = i, t.initializeSlideStyle = function(e, t, n, r={}) { const a = o(n, { type: e.type, layout: r.layout, imagePlacement: e.imagePlacement, states: r.states }); t.hitRegionHPadding && (a.hitRegionHPadding = i(t.hitRegionHPadding, e)), t.hitRegionVPadding && (a.hitRegionVPadding = i(t.hitRegionVPadding, e)), t.hitRegionLineWidth && (a.hitRegionLineWidth = i(t.hitRegionLineWidth, e)), t.hitRegionCornerRadius && (a.hitRegionCornerRadius = i(t.hitRegionCornerRadius, e)); const s = Object.assign({}, e); Object.assign(e, a, s) } , t.computeSlideStyle = o, t.matchesSlide = a, t.initializeBoxStyle = function(e, t, n, r={}) { const i = s(n, { contentType: e.contentType, roles: e.roles, slideType: t.type, slideLayout: r.layout, slideImagePlacement: t.imagePlacement, slideStates: r.slideStates }) , o = Object.assign({}, e); Object.assign(e, i, o) } , t.computeBoxStyle = s, t.pickBoxStyle = function(e, t) { const n = Object.assign({}, t); return function(e, t) { if (!t) return; for (const n in e) n in t && (e[n] = t[n]) }(n, e), n } , t.matchesBox = l, t.split = u, t.addStates = d, t.matchesStates = f, t.matchesClasses = h }, 249: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.generateImageTopicSlide = t.layoutImageTopicSlide = t.isImageTopicSlideLayoutEligibleFor = void 0; const r = n(5) , i = n(15) , o = n(13) , a = n(33) , s = n(161) , l = n(41) , u = n(36) , c = n(160) , d = n(163) , f = n(164) , h = n(35) , p = n(44) , g = n(32) , m = n(12) , v = "image-topic-slide"; t.isImageTopicSlideLayoutEligibleFor = function(e, {topic: t}) { return "topic" === e && !!t.image } , t.layoutImageTopicSlide = function(e, t, n={}) { var y, b, _, w, S, x, k, I; const {topic: C, headerTopic: M, calloutTopic: T} = t , {id: A, image: E} = C; if (!E) throw new Error("Missing image attributes for Topic Slide With Image"); const O = null !== (y = null == n ? void 0 : n.dimension) && void 0 !== y ? y : g.defaultDimension , B = null !== (b = null == n ? void 0 : n.appearance) && void 0 !== b ? b : i.defaultAppearance , L = i.calcLength(O.hSlidePadding, e) , P = i.calcLength(O.vSlidePadding, e) , R = i.calcLength(O.imageTopicSlideSmallImageDefiningWidth, e) , z = E.size.width < R ? "small" : "normal" , j = null !== (_ = C.topicSlideImagePlacement) && void 0 !== _ ? _ : function(e, t, n) { const r = m.isSvg(e.source) ? "aboveTitle" : "left"; if (n.width < n.height) return "aboveTitle"; if ("small" === t) return r; if ((0 === e.size.width || 0 === e.size.height ? 1 : e.size.width / e.size.height) >= 2) return "aboveTitle"; return r }(E, z, { width: e.width, height: e.height }); e.imagePlacement = j, i.initializeSlideStyle(e, O, B, { layout: v }); const F = u.computeTopicTitle(C) , D = null !== (w = C.markers) && void 0 !== w ? w : [] , N = null !== (S = null == T ? void 0 : T.title) && void 0 !== S ? S : "" , U = null !== (x = C.labels) && void 0 !== x ? x : [] , W = null !== (I = null === (k = C.note) || void 0 === k ? void 0 : k.plainText) && void 0 !== I ? I : "" , H = F.length > 0 || D.length > 0 , V = N.length > 0 || U.length > 0 || W.length > 0 , $ = "full" === j ? e.width : !H && !V || "left" !== j && "right" !== j ? H || V || "small" !== z ? e.width - L - L : e.width - 4 * L : i.calcLength("small" === z ? O.imageTopicSlideHLayoutImageZoneWidthForSmallImage : O.imageTopicSlideHLayoutImageZoneWidth, e) , G = "full" === j ? e.height : !H && !V || "aboveTitle" !== j && "belowTitle" !== j ? H || V || "small" !== z ? e.height - P - P : e.height - 4 * P : i.calcLength("small" === z ? O.imageTopicSlideVLayoutImageZoneHeightForSmallImage : O.imageTopicSlideVLayoutImageZoneHeight, e) , Z = 0 === E.size.width || 0 === E.size.height ? 1 : Math.min($ / E.size.width, G / E.size.height) , q = "full" === j ? e.width : E.size.width * Z , Y = "full" === j ? e.height : E.size.height * Z; let X; X = "aboveTitle" === j || "belowTitle" === j ? i.calcLength(O.vPaddingSmall, e) : "left" === j || "right" === j ? i.calcLength(O.imageTopicSlideHLayoutSpacingAroundImage, e) : 0; const J = i.calcLength(O.hPaddingSmall, e); let Q, K, ee; "aboveTitle" === j || "belowTitle" === j ? (Q = Math.round(i.calcLength(O.imageTopicSlideVLayoutTitleFontSizeLarge, e)), K = Math.round(i.calcLength(O.imageTopicSlideVLayoutTitleFontSizeMedium, e)), ee = Math.round(i.calcLength(O.imageTopicSlideVLayoutTitleFontSizeSmall, e))) : "left" === j || "right" === j ? (Q = Math.round(i.calcLength(O.imageTopicSlideHLayoutTitleFontSizeLarge, e)), K = Math.round(i.calcLength(O.imageTopicSlideHLayoutTitleFontSizeMedium, e)), ee = Math.round(i.calcLength(O.imageTopicSlideHLayoutTitleFontSizeSmall, e))) : (Q = Math.round(i.calcLength(O.topicSlideTitleFontSizeLarge, e)), K = Math.round(i.calcLength(O.topicSlideTitleFontSizeMedium, e)), ee = Math.round(i.calcLength(O.topicSlideTitleFontSizeSmall, e))); const te = Q , ne = K , re = Math.round(.8 * Q) , ie = K , oe = K , ae = ee , se = i.calcLength(O.topicSlideLabelFontSize, e) , le = i.calcLength(O.topicSlideLabelMinWidth, e) , ue = i.calcLength(O.hPaddingSmall, e) , ce = i.calcLength(O.hPaddingSmall, e) , de = i.calcLength(O.vPaddingXSmall, e) , fe = i.calcLength(O.vPaddingXSmall, e) , he = i.calcLength(O.topicSlideCalloutFontSize, e) , pe = i.calcLength(O.topicSlideNoteFontSize, e) , ge = i.calcLength(O.vPaddingXXSmall, e) , me = i.calcLength(O.vPaddingXXSmall, e) , ve = i.calcLength(O.vPaddingLarge, e) , ye = i.calcLength(O.vPaddingMedium, e) , be = i.calcLength(O.topicSlideTitleScrollFaderHeight, e) , _e = "left" === j || "right" === j ? e.width - L - $ - X - L : e.width , we = "left" === j || "right" === j ? _e : _e - L - L , Se = { left: "left" === j || "right" === j ? 0 : L, top: P, right: "left" === j || "right" === j ? 0 : L, bottom: P } , xe = e.height , ke = V ? null : xe - P - P; let Ie; Ie = m.isSvg(E.source) ? { id: r.imageOfTopic(A), roles: ["primaryImage"], bounds: { x: 0, y: 0, width: q, height: Y }, absBounds: o.zeroRect(), contentType: "svg-template", svg: E.source, fillColor: e.foregroundColor } : { id: r.imageOfTopic(A), roles: ["primaryImage"], bounds: { x: 0, y: 0, width: q, height: Y }, absBounds: o.zeroRect(), contentType: "image", imageSource: E.source }, i.initializeBoxStyle(Ie, e, B, { layout: v }); const Ce = N ? c.computeCalloutTextBox(e, B, v, A, N, { maxWidth: we, fontSize: he }) : null , Me = U.map((t,n)=>s.computeLabelGroup(e, B, v, A, t, n, { maxWidth: we, minWidth: le, fontSize: se, leftPadding: ue, rightPadding: ce })) , Te = W ? d.computeNoteTextBox(e, B, v, A, W, { maxWidth: we, fontSize: pe }) : null , Ae = D.slice(0, O.maxMarkerCount) , Ee = H || V ? f.searchForBestTopicSlideContent((function(t) { const n = h.computeTopicTitleGroup(e, B, v, A, F, Ae, { maxWidth: we, fontSize: t, markerRightMargin: J, textRoles: ["title"] }); let r; n.textMeasurement.lineCount > 1 || "left" === j || "right" === j || "full" !== j && Ie.bounds.width > $ - 1 ? (n.textBox.textAlignment = "leading", r = "leading") : r = "center"; const i = Me.length > 0 ? s.computeLabelListGroupBox(e, B, v, A, Me.map(({groupBox: e})=>e), { maxWidth: we, labelSpacing: de, lineSpacing: fe, alignment: r }) : null; return f.computeTopicSlideContentGroup(e, B, v, A, { titleGroup: n, calloutTextBox: Ce, labelListGroupBox: i, noteTextBox: Te, imageBox: "aboveTitle" === j || "belowTitle" === j ? Ie : null }, { maxWidth: _e, maxHeight: xe, paddings: Se, contentAlignment: r, spacingBetweenCalloutAndTitle: ge, spacingBetweenTitleAndLabelList: me, spacingBetweenTitleAndNote: ve, spacingBetweenLabelListAndNote: ye, scrollFaderSize: be, spacingAroundImage: X, imagePlacement: "belowTitle" === j ? "belowTitle" : "aboveTitle" }) } ), (function(e) { return e.titleGroup.textMeasurement.lineCount } ), (function(e) { return e.groupBox.contentHeight } ), { maxHeight: e.height, compactMaxHeight: ke, singleLineTitleMaxFontSize: te, singleLineTitleMinFontSize: ne, doubleLineTitleMaxFontSize: re, doubleLineTitleMinFontSize: ie, multilineTitleMaxFontSize: oe, multilineTitleMinFontSize: ae }) : null , Oe = null == Ee ? void 0 : Ee.groupBox; if (Oe) if ("left" === j) { const t = Ie.bounds.width + X + Oe.bounds.width , n = Math.max(Ie.bounds.height, Oe.bounds.height) , r = (e.width - t) / 2 , i = (e.height - n) / 2; Ie.bounds.x = r, Oe.bounds.x = Ie.bounds.x + Ie.bounds.width + X, Ie.bounds.y = i + (n - Ie.bounds.height) / 2, Oe.bounds.y = i + (n - Oe.bounds.height) / 2 } else if ("right" === j) { const t = Oe.bounds.width + X + Ie.bounds.width , n = Math.max(Ie.bounds.height, Oe.bounds.height) , r = (e.width - t) / 2 , i = (e.height - n) / 2; Oe.bounds.x = r, Ie.bounds.x = Oe.bounds.x + Oe.bounds.width + X, Oe.bounds.y = i + (n - Oe.bounds.height) / 2, Ie.bounds.y = i + (n - Ie.bounds.height) / 2 } else if ("aboveTitle" === j || "belowTitle" === j) Oe.bounds.x = (e.width - Oe.bounds.width) / 2, Oe.bounds.y = (e.height - Oe.bounds.height) / 2; else { if ("full" !== j) throw new Error(`Undetermined slide layout for image placed for "${j}"`); Oe.bounds.x = (e.width - Oe.bounds.width) / 2, Oe.bounds.y = (e.height - Oe.bounds.height) / 2, Ie.bounds.x = 0, Ie.bounds.y = 0 } else Ie.bounds.x = (e.width - Ie.bounds.width) / 2, Ie.bounds.y = (e.height - Ie.bounds.height) / 2; Ee ? ("full" === j && e.boxes.push(Ie), e.boxes.push(Ee.groupBox), "left" !== j && "right" !== j || e.boxes.push(Ie)) : e.boxes.push(Ie), M && l.addHeaderBoxes(e, M, O, B, v), a.computeAbsoluteBounds(e.boxes), e.shouldSkipImageAnimations = h.shouldShowPlaceholder(F.length > 0, Ae.length > 0), r.addSlideContentFeatures(e, { kind: "image", topicId: A, integrity: "full" }), Ee && (r.addSlideContentFeatures(e, ...p.computeContentFeaturesForTitleGroup(Ee.titleGroup, A, F, D)), Ee.calloutTextBox && r.addSlideContentFeatures(e, { kind: "callout", topicId: A, integrity: "full" }), Ee.labelListGroupBox && r.addSlideContentFeatures(e, { kind: "labels", topicId: A, integrity: "full" }), Ee.noteTextBox && r.addSlideContentFeatures(e, { kind: "note", topicId: A, integrity: "full" })) } , t.generateImageTopicSlide = function(e) { const t = Object.assign({}, e) , n = r.getBoxById(t.boxes, r.contentGroupOfTopic(t.topicId), "group"); return n && n.contentHeight > n.bounds.height && (t.multistepBoxes = [n.id], r.addSlideLeavingAnimations(t, [{ durationMultiplier: 1, easing: "easeInOutCubic", on: "preTransition", effect: "mutate", finalState: { boxes: [{ id: n.id, scrollOffset: 0 }] } }])), function(e) { const t = r.assertBox(r.getBoxById(e.boxes, r.imageOfTopic(e.topicId))) , n = r.getBoxById(e.boxes, r.contentGroupOfTopic(e.topicId), "group"); "centralTopic" == e.topicLevel || "floatingTopic" == e.topicLevel ? "full" === e.imagePlacement ? function(e, t, n) { var i; if (r.setBoxEnteringState(e, { id: t.id, opacity: 0, transform: [{ scale: { x: 1.2, y: 1.2 } }] }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", groups: ["scaleDownImage"], durationMultiplier: 2.5, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: t.id, opacity: null !== (i = t.opacity) && void 0 !== i ? i : 1 }] } }]), r.addSlideEnteringAnimations(e, [{ on: "postTransition", groups: ["scaleDownImage"], durationMultiplier: 1.75, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: t.id, transform: [{ scale: { x: 1, y: 1 } }] }] } }]), n) { let t = 0; [...n.children].sort((e,t)=>e.bounds.y - t.bounds.y).forEach(n=>{ var i; r.setBoxEnteringState(e, { id: n.id, transform: [{ translate: { x: 0, y: n.bounds.height / 5 } }], opacity: 0 }), r.addSlideEnteringAnimations(e, [{ after: "scaleDownImage", delayMultiplier: t, durationMultiplier: 1.75, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: n.id, transform: [{ translate: { x: 0, y: 0 } }] }] } }]), r.addSlideEnteringAnimations(e, [{ after: "scaleDownImage", delayMultiplier: t, durationMultiplier: 2.5, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: n.id, opacity: null !== (i = n.opacity) && void 0 !== i ? i : 1 }] } }]), t += .75 } ) } }(e, t, n) : n ? function(e, t, n) { var i; let o = 0; const a = r.titleOfTopic(e.topicId); let s = 0; [...n.children].sort((e,t)=>e.bounds.y - t.bounds.y).forEach(t=>{ var n; t.id == a && (s = o), r.setBoxEnteringState(e, { id: t.id, transform: [{ translate: { x: 0, y: t.bounds.height / 5 } }], opacity: 0 }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", delayMultiplier: o, durationMultiplier: 1.75, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: t.id, transform: [{ translate: { x: 0, y: 0 } }] }] } }]), r.addSlideEnteringAnimations(e, [{ on: "postTransition", delayMultiplier: o, durationMultiplier: 2.5, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: t.id, opacity: null !== (n = t.opacity) && void 0 !== n ? n : 1 }] } }]), o += .75 } ), ("left" === e.imagePlacement || "right" === e.imagePlacement) && (r.setBoxEnteringState(e, { id: t.id, transform: [{ translate: { x: 0, y: t.bounds.height / 5 } }], opacity: 0 }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", delayMultiplier: s, durationMultiplier: 1.75, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: t.id, transform: [{ translate: { x: 0, y: 0 } }] }] } }]), r.addSlideEnteringAnimations(e, [{ on: "postTransition", delayMultiplier: s, durationMultiplier: 2.5, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: t.id, opacity: null !== (i = t.opacity) && void 0 !== i ? i : 1 }] } }])) }(e, t, n) : function(e, t) { var n; r.setBoxEnteringState(e, { id: t.id, transform: [{ translate: { x: 0, y: t.bounds.height / 5 } }], opacity: 0 }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 1.75, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: t.id, transform: [{ translate: { x: 0, y: 0 } }] }] } }]), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 2.5, effect: "mutate", easing: "easeInOutCubic", finalState: { boxes: [{ id: t.id, opacity: null !== (n = t.opacity) && void 0 !== n ? n : 1 }] } }]) }(e, t) : function(e, t, n) { var i; const o = r.imageOfTopic(e.topicId) , a = r.titleOfTopic(e.topicId); e.shouldSkipImageAnimations || (r.setBoxEnteringState(e, { id: t.id, opacity: 0 }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 1, delayMultiplier: .75, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: t.id, opacity: null !== (i = t.opacity) && void 0 !== i ? i : 1 }] } }])); n && n.children.forEach(t=>{ var n; t.id !== o && t.id !== a && (r.setBoxEnteringState(e, { id: t.id, opacity: 0 }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 1, delayMultiplier: .75, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: t.id, opacity: null !== (n = t.opacity) && void 0 !== n ? n : 1 }] } }])) } ) }(e, t, n) }(t), t } }, 250: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.generateBraceListSlide = t.layoutBraceListSlide = t.isBraceListLayoutEligibleFor = void 0; const r = n(5) , i = n(13) , o = n(15) , a = n(34) , s = n(33) , l = n(43) , u = n(41) , c = n(36) , d = n(35) , f = n(92) , h = n(93) , p = n(44) , g = n(32) , m = n(62) , v = "brace-list" , y = 20 , b = 20 , _ = 10 , w = 20 , S = 30 , x = 20; t.isBraceListLayoutEligibleFor = function(e, {subtopics: t}) { return "list" === e && t.length > 1 } , t.layoutBraceListSlide = function(e, t, n={}) { var f, h; const {topic: k, subtopics: I, headerTopic: C} = t , M = null !== (f = null == n ? void 0 : n.dimension) && void 0 !== f ? f : g.defaultDimension , T = null !== (h = null == n ? void 0 : n.appearance) && void 0 !== h ? h : o.defaultAppearance; o.initializeSlideStyle(e, M, T, { layout: v }); const A = o.calcLength(M.hSlidePadding, e) , E = o.calcLength(M.vSlidePadding, e) , O = e.width - A - A , B = .3 * O , L = e.height - E - E , P = Math.round(o.calcLength(M.braceListSlideParentTopicMaxFontSize, e)) , R = Math.round(o.calcLength(M.braceListSlideParentTopicMinFontSize, e)) , z = o.calcLength(M.hPaddingXSmall, e) , j = o.calcLength(M.hPaddingSmall, e) , F = o.calcLength(M.hPaddingNormal, e) , D = j + 50 + F , N = e.height , U = { left: 0, top: E, right: A, bottom: E } , W = O - B - D + U.right , H = e.height , V = o.calcLength(M.vPaddingNormal, e) , $ = Math.round(o.calcLength(M.braceListSlideSubtopicMaxFontSize, e)) , G = Math.round(o.calcLength(M.braceListSlideSubtopicMinFontSize, e)) , Z = o.calcLength(M.hPaddingXSmall, e) , q = o.calcLength(M.braceListSlideScrollFaderHeight, e) , Y = function(e, t, n, r, i) { var o; const {maxFontSize: s, minFontSize: u, markerRightMargin: f, maxWidth: h, maxLineCount: g, preferredLineCount: y} = i; function b(e) { return e.textMeasurement.width <= h } function _(e) { return e.textMeasurement.lineCount <= y } function w(e) { return e.textMeasurement.lineCount <= g } const S = null !== (o = e.markers) && void 0 !== o ? o : [] , x = S.slice(0, n.maxMarkerCount) , k = m.computePlaceholder(e); function I(n, i, o) { return d.computeTopicTitleGroup(t, r, v, e.id, n, x, { maxWidth: h, fontSize: i, markerRightMargin: f, overflowWrap: o, textRoles: ["title"], requestForHit: { kind: "fastBackward" }, placeholder: k }) } const C = c.computeTopicTitle(e); let M = C , T = s , A = "normal" , E = I(M, T, A); if (b(E) && _(E)) return Object.assign(Object.assign({}, E), { contentFeatures: p.computeContentFeaturesForTitleGroup(E, e.id, C, S) }); if (T = u, E = I(M, T, A), b(E)) { if (_(E)) { const e = a.rangedIntegers(s, u) , t = a.mapValues(e, e=>({ fontSize: e, group: I(M, e, A) })) , n = a.findClosestMatch(t, ({group: e})=>b(e) && _(e)); if (!n) throw new Error("Unable to find the best font size for parent topic of brace list slide"); T = n.fontSize, E = n.group } } else { A = "break-word"; const e = a.rangedIntegers(s, u) , t = a.mapValues(e, e=>({ fontSize: e, group: I(M, e, A) })) , n = a.findClosestMatch(t, ({group: e})=>_(e)); n ? (T = n.fontSize, E = n.group) : (T = u, E = I(M, T, A)) } if (!w(E)) { const e = a.rangedIntegers(M.length - 1, 1) , t = a.mapValues(e, e=>l.getTruncatedText(M, e)) , n = a.mapValues(t, e=>({ text: e, group: I(e, T, A) })) , r = a.findClosestMatch(n, ({group: e})=>w(e)); r ? (M = r.text, E = r.group) : (M = l.getTruncatedText(M, 1), E = I(M, T, A)) } return Object.assign(Object.assign({}, E), { contentFeatures: p.computeContentFeaturesForTitleGroup(E, e.id, C, S) }) }(k, e, M, T, { maxFontSize: P, minFontSize: R, markerRightMargin: z, maxWidth: B, maxLineCount: 5, preferredLineCount: 2 }) , X = function(e, t, n, s, u, f) { const {paddings: h, maxWidth: g, maxHeight: y, maxFontSize: b, minFontSize: _, preferredLineCount: w, maxLineCount: S, markerRightMargin: x, minSpacing: k, scrollFaderSize: I} = f; function C(e) { return e.groupBox.bounds.height <= y } function M(e) { return e.textMeasurement.lineCount <= w } const T = t.map(e=>{ var t; return { topicId: e.id, text: c.computeTopicTitle(e), markers: null !== (t = e.markers) && void 0 !== t ? t : [], placeholder: m.computePlaceholder(e) } } ); function A(t) { let c = h.top , f = 0 , m = 0 , b = 0; const _ = [] , w = T.map(({topicId: e, text: r, markers: i, placeholder: o})=>{ var y; const w = i.slice(0, s.maxMarkerCount); function I(r) { return d.computeTopicTitleGroup(n, u, v, e, r, w, { maxWidth: g, fontSize: t, markerRightMargin: x, textRoles: ["subtopic"], requestForHit: { kind: "present", topicId: e, viaIntro: !0 }, placeholder: o }) } let C = I(r); if (!function(e) { return e.textMeasurement.lineCount <= S }(C)) { const e = a.rangedIntegers(r.length - 1, 1) , t = a.mapValues(e, e=>l.getTruncatedText(r, e)) , n = a.mapValues(t, e=>I(e)); C = null !== (y = a.findClosestMatch(n, M)) && void 0 !== y ? y : I(l.getTruncatedText(r, 1)) } const T = C.groupBox.bounds; return T.x = h.left, T.y = c, c += T.height + k, f = Math.max(f, T.width), m > 0 && (m += k), m += T.height, b += T.height, _.push(...p.computeContentFeaturesForTitleGroup(C, e, r, i)), C } ); f += h.left + h.right, m += h.top + h.bottom; const C = { id: r.subtopicListGroupOfTopic(e), roles: ["subtopicListGroup"], bounds: { x: 0, y: 0, width: Math.min(f, g), height: Math.min(m, y) }, absBounds: i.zeroRect(), contentType: "group", children: w.map(e=>e.groupBox), contentHeight: m, overflow: m > y ? "scroll" : "hidden", scrollFaderSize: I }; return o.initializeBoxStyle(C, n, u, { layout: v }), { groupBox: C, subtopicGroups: w, subtopicTotalHeight: b, contentFeatures: _ } } let E, O; const B = a.rangedIntegers(b, _) , L = a.mapValues(B, e=>({ fontSize: e, group: A(e) })) , P = a.findClosestMatch(L, ({group: e})=>function(e) { return e.subtopicGroups.every(M) }(e)); P ? (E = P.fontSize, O = P.group) : (E = _, O = A(E)); if (!C(O) && E > _) { const e = a.rangedIntegers(E, _) , t = a.mapValues(e, e=>({ fontSize: e, group: A(e) })) , n = a.findClosestMatch(t, ({group: e})=>C(e)); n ? (E = n.fontSize, O = n.group) : (E = b, O = A(E)) } if (O.groupBox.bounds.height < y && t.length > 1) { const e = Math.max(k, 2 === t.length ? (y - h.top - h.bottom - O.subtopicTotalHeight) / 3 : (y - h.top - h.bottom - O.subtopicTotalHeight) / (t.length - 1)); if (e !== k) { let t = h.top , n = 0; for (const r of O.subtopicGroups) { const i = r.groupBox.bounds; i.y = t, t += i.height + e, n > 0 && (n += e), n += i.height } n += h.top + h.bottom, O.groupBox.contentHeight = n, O.groupBox.bounds.height = Math.min(n, y) } } return O }(k.id, I, e, M, T, { paddings: U, maxWidth: W, maxHeight: H, maxFontSize: $, minFontSize: G, markerRightMargin: Z, preferredLineCount: 2, maxLineCount: 3, minSpacing: V, scrollFaderSize: q }) , J = function(e, t, n, a) { const {contentHeight: s, contentLineHeight: l, curveWidth: u, leftPadding: c, rightPadding: d} = a , f = { x: 0, y: 0, width: c + u + d, height: s } , h = c , p = _ , g = s / 2 , m = s / 2 - S - w - l / 2 , k = { id: r.topCurlyBraceOfTopic(e), roles: ["curlyBrace"], bounds: Object.assign({}, f), absBounds: i.zeroRect(), contentType: "shape", shapePath: m > 0 ? `M${h} ${g} c${y / 2} 0 ${y} ${-S / 2} ${y} ${-S} l0 ${-m} c0 ${-w / 2} ${b / 2} ${-w} ${b} ${-w} l${p} 0` : `M${h} ${g} l${y + b + _} 0` }; o.initializeBoxStyle(k, t, n, { layout: v }); const I = { id: r.bottomCurlyBraceOfTopic(e), roles: ["curlyBrace"], bounds: Object.assign({}, f), absBounds: i.zeroRect(), contentType: "shape", shapePath: m > 0 ? `M${h} ${g} c${y / 2} 0 ${y} ${S / 2} ${y} ${S} l0 ${m} c0 ${x / 2} ${b / 2} ${x} ${b} ${x} l${p} 0` : `M${h} ${g} l${y + b + _} 0` }; o.initializeBoxStyle(I, t, n, { layout: v }); return { groupBox: { id: r.curlyBraceOfTopic(e), roles: ["curlyBraceGroup"], bounds: Object.assign({}, f), absBounds: i.zeroRect(), contentType: "group", children: [k, I], contentHeight: f.height, overflow: "visible", opacity: 1 }, topCurveShape: k, bottomCurveShape: I } }(k.id, e, T, { curveWidth: 50, leftPadding: j, rightPadding: F, contentHeight: X.groupBox.bounds.height - U.top - U.bottom, contentLineHeight: X.subtopicGroups[0].textMeasurement.lineHeight }) , Q = A + (O - (B + D + X.groupBox.bounds.width)) / 2 , K = A + O / 2 - D - B , ee = Math.min(Q, K) , te = ee + B , ne = te + D , re = E; Y.groupBox.bounds.x = ee + (B - Y.groupBox.bounds.width) / 2, Y.groupBox.bounds.y = re + (L - Y.groupBox.bounds.height) / 2, X.groupBox.bounds.x = ne, X.groupBox.bounds.y = 0 + (H - X.groupBox.bounds.height) / 2, J.groupBox.bounds.x = te, J.groupBox.bounds.y = 0 + (N - J.groupBox.bounds.height) / 2, e.boxes.push(Y.groupBox), e.boxes.push(X.groupBox), e.boxes.push(J.groupBox), C && u.addHeaderBoxes(e, C, M, T, v), s.computeAbsoluteBounds(e.boxes), r.addSlideContentFeatures(e, ...Y.contentFeatures, ...X.contentFeatures) } , t.generateBraceListSlide = function(e, t, n={}) { var i; const {subtopics: o} = t , a = null !== (i = n.numberOfVisitedTopics) && void 0 !== i ? i : 0 , s = Object.assign({}, e); o.forEach(({id: e},t)=>{ t > a && f.computePendingBoxStates(s, r.titleOfTopic(e)) } ); const l = a; return h.computeSubtopicListScrollingStates(s, r.subtopicListGroupOfTopic(s.topicId), r.titleOfTopic(o[l].id), (e,t)=>t.bounds.height / 2 - e.bounds.height / 2), function(e) { var t; const n = r.assertBox(r.getBoxById(e.boxes, r.subtopicListGroupOfTopic(e.topicId))) , i = r.assertBox(r.getBoxById(e.boxes, r.topCurlyBraceOfTopic(e.topicId))) , o = r.assertBox(r.getBoxById(e.boxes, r.bottomCurlyBraceOfTopic(e.topicId))); (null === (t = e.aliases) || void 0 === t ? void 0 : t.some(t=>"listOfTopic" === t.kind && t.topicId === e.topicId && 0 === t.index)) && (r.setSlideEnteringState(e, { boxes: [{ id: n.id, opacity: 0 }, { id: i.id, opacity: 0, strokeOffset: 1 }, { id: o.id, opacity: 0, strokeOffset: 1 }] }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 1, delayMultiplier: .75, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: n.id, opacity: 1 }] } }, { on: "postTransition", groups: ["curlyBracesVisible"], durationMultiplier: 0, delayMultiplier: .5, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: i.id, opacity: 1 }, { id: o.id, opacity: 1 }] } }, { after: "curlyBracesVisible", groups: ["curlyBracesReady"], durationMultiplier: 1, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: i.id, strokeOffset: 0 }, { id: o.id, strokeOffset: 0 }] } }])) }(s), s } }, 251: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.generateBulletListSlide = t.layoutBulletListSlide = t.isBulletListLayoutEligibleFor = void 0; const r = n(5) , i = n(13) , o = n(15) , a = n(34) , s = n(33) , l = n(43) , u = n(41) , c = n(36) , d = n(35) , f = n(92) , h = n(93) , p = n(44) , g = n(32) , m = n(62) , v = "bullet-list"; t.isBulletListLayoutEligibleFor = function(e) { return "list" === e } , t.layoutBulletListSlide = function(e, t, n={}) { var f, h, y; const {topic: b, subtopics: _, headerTopic: w} = t , S = null !== (f = n.numberOfVisitedTopics) && void 0 !== f ? f : 0 , x = null !== (h = null == n ? void 0 : n.dimension) && void 0 !== h ? h : g.defaultDimension , k = null !== (y = null == n ? void 0 : n.appearance) && void 0 !== y ? y : o.defaultAppearance; o.initializeSlideStyle(e, x, k, { layout: v }); const I = o.calcLength(x.hSlidePadding, e) , C = o.calcLength(x.vSlidePadding, e) , M = e.width - I - I , T = o.calcLength(x.bulletListSlideParentTopicDefaultFontSize, e) , A = o.calcLength(x.hPaddingXSmall, e) , E = o.calcLength(x.vPaddingXSmall, e) , O = { left: I, top: o.calcLength(x.vPaddingNormal, e), right: I, bottom: C } , B = o.calcLength(x.scrollFaderHeight, e) , L = Math.round(o.calcLength(x.bulletListSlideSubtopicMaxFontSize, e)) , P = Math.round(o.calcLength(x.bulletListSlideSubtopicMinFontSize, e)) , R = o.calcLength(x.hPaddingXSmall, e) , z = o.calcLength(x.vPaddingSmall, e) , j = o.calcLength(x.hPaddingSmall, e) , F = function(e, t, n, r, i) { var o; const {fontSize: s, markerRightMargin: u, maxWidth: f, maxLineCount: h} = i; const g = null !== (o = e.markers) && void 0 !== o ? o : [] , y = g.slice(0, n.maxMarkerCount) , b = m.computePlaceholder(e); function _(n) { return d.computeTopicTitleGroup(t, r, v, e.id, n, y, { maxWidth: f, fontSize: s, markerRightMargin: u, overflowWrap: "break-word", textRoles: ["title"], requestForHit: { kind: "fastBackward" }, placeholder: b }) } const w = c.computeTopicTitle(e); let S, x = w; if (x.length > 1) { const e = a.rangedIntegers(x.length, 1) , t = a.mapValues(e, e=>l.getTruncatedText(x, e)) , n = a.mapValues(t, e=>({ text: e, group: _(e) })) , r = a.findClosestMatch(n, ({group: e})=>function(e) { return e.textMeasurement.lineCount <= h }(e)); r ? (x = r.text, S = r.group) : (x = l.getTruncatedText(x, 1), S = _(x)) } else S = _(x); return Object.assign(Object.assign({}, S), { contentFeatures: p.computeContentFeaturesForTitleGroup(S, e.id, w, g) }) }(b, e, x, k, { fontSize: T, markerRightMargin: A, maxWidth: M, maxLineCount: 1 }) , D = e.width , N = e.height - C - F.groupBox.bounds.height - E , U = function(e, t, n, s, u, f) { const {paddings: h, maxWidth: g, maxHeight: y, maxFontSize: b, minFontSize: _, preferredLineCount: w, maxLineCount: S, markerRightMargin: x, subtopicSpacing: k, scrollFaderSize: I, numberOfVisitedTopics: C, bulletDotSizeRatio: M, bulletDotRightMargin: T} = f; function A(e) { return e.groupBox.contentHeight <= y } function E(e) { return e.textMeasurement.lineCount <= w } const O = t.map(e=>{ var t; return { topicId: e.id, text: c.computeTopicTitle(e), markers: null !== (t = e.markers) && void 0 !== t ? t : [], placeholder: m.computePlaceholder(e) } } ); function B(t) { const c = [] , f = [] , m = t * M , b = []; let _ = h.top , w = 0; O.forEach(({topicId: e, text: y, markers: I, placeholder: M},A)=>{ var O; const B = A > C , L = g - h.left - m - T - h.right , P = I.slice(0, s.maxMarkerCount); function R(i) { return d.computeTopicTitleGroup(n, u, v, e, i, P, { maxWidth: L, fontSize: t, markerRightMargin: x, textRoles: ["subtopic"], groupRoles: r.toBoxRoles({ pending: B }), requestForHit: { kind: "present", topicId: e, viaIntro: !0 }, placeholder: M }) } let z = R(y); if (!function(e) { return e.textMeasurement.lineCount <= S }(z)) { const e = a.rangedIntegers(y.length - 1, 1) , t = a.mapValues(e, e=>l.getTruncatedText(y, e)) , n = a.mapValues(t, e=>R(e)); z = null !== (O = a.findClosestMatch(n, E)) && void 0 !== O ? O : R(l.getTruncatedText(y, 1)) } const j = m , F = z.textMeasurement.lineHeight , D = function(e, t, n, a, s, l={}) { var u; const c = null !== (u = l.additionalRoles) && void 0 !== u ? u : [] , d = Math.min(a, s) / 2 , f = `M ${a / 2 - d},${s / 2} a ${d},${d} 0 1,1 ${2 * d},0 a ${d},${d} 0 1,1 -${2 * d},0` , h = { id: r.bulletDotOfTopic(e), roles: ["bulletDot", ...c], bounds: { x: 0, y: 0, width: a, height: s }, absBounds: i.zeroRect(), contentType: "shape", shapePath: f }; return o.initializeBoxStyle(h, t, n, { layout: v }), h }(e, n, u, j, F, { additionalRoles: r.toBoxRoles({ pending: B }) }) , N = z.groupBox.bounds; D.bounds.x = h.left, N.x = D.bounds.x + D.bounds.width + T, D.bounds.y = _, N.y = _, _ += N.height + k, w > 0 && (w += k), w += N.height, c.push(z), f.push(D), b.push(...p.computeContentFeaturesForTitleGroup(z, e, y, I)) } ), w += h.top + h.bottom; const A = { id: r.subtopicListGroupOfTopic(e), roles: ["subtopicListGroup"], bounds: { x: 0, y: 0, width: g, height: Math.min(w, y) }, absBounds: i.zeroRect(), contentType: "group", children: [...c.map(e=>e.groupBox), ...f], contentHeight: w, overflow: w > y ? "scroll" : "hidden", scrollFaderSize: I }; return o.initializeBoxStyle(A, n, u, { layout: v }), { groupBox: A, subtopicGroups: c, bulletDotShapes: f, contentFeatures: b } } let L, P; const R = a.rangedIntegers(b, _) , z = a.mapValues(R, e=>({ fontSize: e, group: B(e) })) , j = a.findClosestMatch(z, ({group: e})=>function(e) { return e.subtopicGroups.every(E) }(e)); j ? (L = j.fontSize, P = j.group) : (L = _, P = B(L)); if (!A(P) && L > _) { const e = a.rangedIntegers(L, _) , t = a.mapValues(e, e=>({ fontSize: e, group: B(e) })) , n = a.findClosestMatch(t, ({group: e})=>A(e)); n ? (L = n.fontSize, P = n.group) : (L = b, P = B(L)) } return P }(b.id, _, e, x, k, { paddings: O, maxWidth: D, maxHeight: N, maxFontSize: L, minFontSize: P, markerRightMargin: R, preferredLineCount: 2, maxLineCount: 3, subtopicSpacing: z, scrollFaderSize: B, numberOfVisitedTopics: S, bulletDotSizeRatio: .3, bulletDotRightMargin: j }); F.groupBox.bounds.x = I, F.groupBox.bounds.y = C, U.groupBox.bounds.x = 0, U.groupBox.bounds.y = F.groupBox.bounds.y + F.groupBox.bounds.height + E, e.boxes.push(F.groupBox), e.boxes.push(U.groupBox), w && u.addHeaderBoxes(e, w, x, k, v), s.computeAbsoluteBounds(e.boxes), r.addSlideContentFeatures(e, ...F.contentFeatures, ...U.contentFeatures) } , t.generateBulletListSlide = function(e, t, n={}) { var i; const {subtopics: o} = t , a = null !== (i = n.numberOfVisitedTopics) && void 0 !== i ? i : 0 , s = Object.assign({}, e); o.forEach(({id: e},t)=>{ t > a && (f.computePendingBoxStates(s, r.titleOfTopic(e)), f.computePendingBoxStates(s, r.bulletDotOfTopic(e))) } ); const l = a; return h.computeSubtopicListScrollingStates(s, r.subtopicListGroupOfTopic(s.topicId), r.titleOfTopic(o[l].id), (e,t)=>t.bounds.height / 2 - e.bounds.height / 2), function(e) { var t; const n = r.assertBox(r.getBoxById(e.boxes, r.subtopicListGroupOfTopic(e.topicId))); (null === (t = e.aliases) || void 0 === t ? void 0 : t.some(t=>"listOfTopic" === t.kind && t.topicId === e.topicId && 0 === t.index)) && (r.setSlideEnteringState(e, { boxes: [{ id: n.id, opacity: 0 }] }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 1, delayMultiplier: .75, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: n.id, opacity: 1 }] } }])) }(s), s } }, 252: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.generateOnlyChildListSlide = t.layoutOnlyChildListSlide = t.isOnlyChildLayoutEligibleFor = void 0; const r = n(5) , i = n(13) , o = n(15) , a = n(34) , s = n(43) , l = n(36) , u = n(33) , c = n(41) , d = n(35) , f = n(44) , h = n(32) , p = n(62) , g = "only-child"; function m(e) { const t = e.subtopics[0]; if (!t) throw new Error("No subtopics found for Only Child layout"); return t } t.isOnlyChildLayoutEligibleFor = function() { return !1 } , t.layoutOnlyChildListSlide = function(e, t, n={}) { var v, y; const {topic: b, headerTopic: _} = t , w = m(t) , S = null !== (v = null == n ? void 0 : n.dimension) && void 0 !== v ? v : h.defaultDimension , x = null !== (y = null == n ? void 0 : n.appearance) && void 0 !== y ? y : o.defaultAppearance; o.initializeSlideStyle(e, S, x, { layout: g }); const k = o.calcLength(S.hSlidePadding, e) , I = o.calcLength(S.vSlidePadding, e) , C = e.width - k - k , M = e.height - I - I , T = i.calc(.14, "vmin", e) , A = o.calcLength(S.hPaddingXSmall, e) , E = C , O = o.calcLength(S.hPaddingXSmall, e) , B = i.calc(.1, "vmin", e) , L = i.calc(.04, "vmin", e) , P = C , R = o.calcLength(S.onlyChildSlideSeparatorLineWidth, e) , z = o.calcLength(e.width > e.height ? S.vPaddingSmall : S.vPaddingXSmall, e) , j = o.calcLength(e.width > e.height ? S.vPaddingSmall : S.vPaddingXSmall, e) , F = C , D = R + z + j , N = function(e, t, n, r, i) { var o, u; const {fontSize: c, maxWidth: h, markerRightMargin: m, maxLineCount: v} = i; const y = null !== (o = e.markers) && void 0 !== o ? o : [] , b = y.slice(0, n.maxMarkerCount) , _ = p.computePlaceholder(e); function w(n) { return d.computeTopicTitleGroup(t, r, g, e.id, n, b, { maxWidth: h, fontSize: c, markerRightMargin: m, overflowWrap: "break-word", textRoles: ["title"], requestForHit: { kind: "fastBackward" }, placeholder: _ }) } const S = l.computeTopicTitle(e) , x = a.rangedIntegers(S.length, 1) , k = a.mapValues(x, e=>s.getTruncatedText(S, e)) , I = a.mapValues(k, w) , C = null !== (u = a.findClosestMatch(I, (function(e) { return e.textMeasurement.lineCount <= v } ))) && void 0 !== u ? u : w(s.getTruncatedText(S, 1)); return Object.assign(Object.assign({}, C), { contentFeatures: f.computeContentFeaturesForTitleGroup(C, e.id, S, y) }) }(b, e, S, x, { maxWidth: E, fontSize: T, markerRightMargin: A, maxLineCount: 2 }) , U = function(e, t, n, r, i) { var o, u; const {maxWidth: c, maxHeight: h, maxFontSize: m, minFontSize: v, preferredLineCount: y, maxLineCount: b, markerRightMargin: _} = i; const w = l.computeTopicTitle(e) , S = null !== (o = e.markers) && void 0 !== o ? o : [] , x = p.computePlaceholder(e) , k = S.slice(0, n.maxMarkerCount); function I(n, i) { return d.computeTopicTitleGroup(t, r, g, e.id, n, k, { maxWidth: c, fontSize: i, markerRightMargin: _, textRoles: ["subtopic"], requestForHit: { kind: "present", topicId: e.id, viaIntro: !0 }, placeholder: x }) } const C = a.rangedIntegers(m, v) , M = a.mapValues(C, e=>I(w, e)) , T = a.findClosestMatch(M, (function(e) { return e.groupBox.bounds.height <= h } )); if (T) return Object.assign(Object.assign({}, T), { contentFeatures: f.computeContentFeaturesForTitleGroup(T, e.id, w, S) }); const A = m; let E = I(w, A); if (!function(e) { return e.textMeasurement.lineCount <= b }(E)) { const e = a.rangedIntegers(w.length - 1, 1) , t = a.mapValues(e, e=>s.getTruncatedText(w, e)) , n = a.mapValues(t, e=>I(e, A)); E = null !== (u = a.findClosestMatch(n, (function(e) { return e.textMeasurement.lineCount <= y } ))) && void 0 !== u ? u : I(s.getTruncatedText(w, 1), A) } return Object.assign(Object.assign({}, E), { contentFeatures: f.computeContentFeaturesForTitleGroup(E, e.id, w, S) }) }(w, e, S, x, { maxWidth: P, maxHeight: M - N.groupBox.bounds.height - D, maxFontSize: B, minFontSize: L, preferredLineCount: 2, maxLineCount: 3, markerRightMargin: O }) , W = Math.min(F, Math.max(N.groupBox.bounds.width, U.groupBox.bounds.width)) , H = function(e, t, n, a) { const {lineLength: s, lineWidth: l, topPadding: u, bottomPadding: c} = a , d = { id: r.separatorLineOfTopic(e), roles: ["separatorLine"], bounds: { x: 0, y: 0, width: s, height: u + l + c }, absBounds: i.zeroRect(), contentType: "shape", shapePath: `M${l / 2} ${u + l / 2}l${s - l} 0`, lineWidth: l }; return o.initializeBoxStyle(d, t, n, { layout: g }), d }(b.id, e, x, { lineWidth: R, lineLength: W, topPadding: z, bottomPadding: j }) , V = (M - (N.groupBox.bounds.height + H.bounds.height + U.groupBox.bounds.height)) / 2; N.groupBox.bounds.x = k, N.groupBox.bounds.y = I + V, H.bounds.x = k, H.bounds.y = N.groupBox.bounds.y + N.groupBox.bounds.height, U.groupBox.bounds.x = k, U.groupBox.bounds.y = H.bounds.y + H.bounds.height, e.boxes.push(N.groupBox), e.boxes.push(U.groupBox), e.boxes.push(H), _ && c.addHeaderBoxes(e, _, S, x, g), u.computeAbsoluteBounds(e.boxes), r.addSlideContentFeatures(e, ...N.contentFeatures, ...U.contentFeatures) } , t.generateOnlyChildListSlide = function(e, t) { var n, i; const o = Object.assign({}, e) , {id: a} = m(t) , s = r.assertBox(r.getBoxById(o.boxes, r.titleOfTopic(a), "group")) , l = r.assertBox(r.getBoxById(o.boxes, r.separatorLineOfTopic(o.topicId))); return s.contentHeight > s.bounds.height && (null === (n = o.aliases) || void 0 === n ? void 0 : n.some(e=>"listOfTopic" === e.kind && e.topicId === o.topicId && 0 === e.index)) && (o.multistepBoxes = [...null !== (i = o.multistepBoxes) && void 0 !== i ? i : [], s.id], r.addSlideLeavingAnimations(o, [{ durationMultiplier: 1, easing: "easeInOutCubic", on: "preTransition", effect: "mutate", finalState: { boxes: [{ id: s.id, scrollOffset: 0 }] } }])), function(e, {subtopicGroupBox: t, separatorLineBox: n}) { var i; (null === (i = e.aliases) || void 0 === i ? void 0 : i.some(t=>"listOfTopic" === t.kind && t.topicId === e.topicId && 0 === t.index)) && (r.setSlideEnteringState(e, { boxes: [{ id: t.id, opacity: 0 }, { id: n.id, opacity: 0, strokeOffset: 1 }] }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 1, delayMultiplier: .75, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: t.id, opacity: 1 }] } }, { on: "postTransition", groups: ["separatorVisible"], durationMultiplier: 0, delayMultiplier: .5, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: n.id, opacity: 1 }] } }, { after: "separatorVisible", durationMultiplier: 1, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: n.id, strokeOffset: 0 }] } }])) }(o, { subtopicGroupBox: s, separatorLineBox: l }), o } }, 253: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.generateSummarySlide = t.layoutSummarySlide = t.isSummaryLayoutEligibleFor = void 0; const r = n(5) , i = n(13) , o = n(33) , a = n(15) , s = n(12) , l = n(42) , u = n(34) , c = n(41) , d = n(35) , f = n(43) , h = n(36) , p = n(44) , g = n(32) , m = n(61) , v = n(62) , y = "summary"; function b(e, t, n, g, b) { const {topic: _, headerTopic: w, summarySubtopics: S} = t , {hSlidePadding: x, vSlidePadding: k, summaryTopicMaxFontSize: I, summaryTopicMinFontSize: C, summaryTopicMarkerRightMargin: M, subtopicFontSize: T, subtopicMarkerRightMargin: A, subtopicMaxLineCount: E, summarySlideLineStrokeWidth: O} = b , B = e.width - 2 * x , L = e.height - 2 * k , P = .3 * B , R = L , z = S.length > 1 ? "brace" : "flatLine" , j = S.length > 1 ? a.calcLength({ pct: 100 / 15, unit: "vw" }, e) : a.calcLength({ pct: 100 / 15 * 2, unit: "vw" }, e) , F = (S.length, a.calcLength(n.hPaddingNormal, e)) , D = S.length > 1 ? a.calcLength(n.hPaddingXSmall, e) : a.calcLength(n.hPaddingNormal, e) , N = F + j + D , U = L , W = B - P - N , H = L , V = a.calcLength(n.vPaddingMedium, e) , $ = function(e, t, n, r, i) { var o; const {maxWidth: a, maxFontSize: s, minFontSize: l, markerRightMargin: c, preferredLineCount: g, maxLineCount: m} = i; function b(e) { return e.groupBox.bounds.width <= a } function _(e) { return e.textMeasurement.lineCount <= g } function w(e) { return e.textMeasurement.lineCount <= m } const S = null !== (o = e.markers) && void 0 !== o ? o : [] , x = S.slice(0, n.maxMarkerCount) , k = v.computePlaceholder(e); function I(n, i, o) { return d.computeTopicTitleGroup(t, r, y, e.id, n, x, { maxWidth: a, fontSize: i, markerRightMargin: c, overflowWrap: o, textRoles: ["title"], requestForHit: { kind: "present", topicId: e.id }, placeholder: k }) } const C = h.computeTopicTitle(e); let M = C , T = s , A = "normal" , E = I(M, T, A); if (b(E) && _(E)) return Object.assign(Object.assign({}, E), { contentFeatures: p.computeContentFeaturesForTitleGroup(E, e.id, C, S) }); if (T = l, E = I(M, T, A), b(E)) { if (_(E)) { const e = u.rangedIntegers(s, l) , t = u.mapValues(e, e=>({ fontSize: e, group: I(M, e, A) })) , n = u.findClosestMatch(t, ({group: e})=>b(e) && _(e)); if (!n) throw new Error("Unable to find the best font size for parent topic of summary slide"); T = n.fontSize, E = n.group } } else { A = "break-word"; const e = u.rangedIntegers(s, l) , t = u.mapValues(e, e=>({ fontSize: e, group: I(M, e, A) })) , n = u.findClosestMatch(t, ({group: e})=>_(e)); n ? (T = n.fontSize, E = n.group) : (T = l, E = I(M, T, A)) } if (!w(E)) { const e = u.rangedIntegers(M.length - 1, 1) , t = u.mapValues(e, e=>f.getTruncatedText(M, e)) , n = u.mapValues(t, e=>({ text: e, group: I(e, T, A) })) , r = u.findClosestMatch(n, ({group: e})=>w(e)); r ? (M = r.text, E = r.group) : (M = f.getTruncatedText(M, 1), E = I(M, T, A)) } return Object.assign(Object.assign({}, E), { contentFeatures: p.computeContentFeaturesForTitleGroup(E, e.id, C, S) }) }(_, e, n, g, { maxWidth: P, maxFontSize: I, minFontSize: C, markerRightMargin: M, preferredLineCount: 2, maxLineCount: 5 }) , G = $.groupBox.bounds.width , Z = $.groupBox.bounds.height , q = function(e, t, n, o, c, g) { var b, _; const {maxWidth: w, maxHeight: S, fontSize: x, markerRightMargin: k, maxLineCount: I, spacingForMultipleSubtopics: C} = g; function M(e) { return e.textMeasurement.lineCount <= I } function T(e, t, r, i) { return d.computeTopicTitleGroup(n, c, y, e, t, r, { maxWidth: w, fontSize: x, markerRightMargin: k, textRoles: ["subtopic"], requestForHit: { kind: "present", topicId: e, viaIntro: !0 }, placeholder: i }) } const A = t.length , E = (A > 2 ? [t[0], t[t.length - 1]] : t).map(e=>{ var t, n; const r = h.computeTopicTitle(e) , i = null !== (t = e.markers) && void 0 !== t ? t : [] , a = i.slice(0, o.maxMarkerCount) , s = v.computePlaceholder(e) , l = u.rangedIntegers(r.length, 1) , c = u.mapValues(l, e=>f.getTruncatedText(r, e)) , d = u.mapValues(c, t=>T(e.id, t, a, s)) , g = null !== (n = u.findClosestMatch(d, M)) && void 0 !== n ? n : T(e.id, f.getTruncatedText(r, 1), a, s); return Object.assign(Object.assign({}, g), { contentFeatures: p.computeContentFeaturesForTitleGroup(g, e.id, r, i) }) } ) , O = E.reduce((e,t)=>Math.max(e, t.groupBox.bounds.width), 0) , B = E.reduce((e,t)=>e + t.groupBox.bounds.height, 0) , L = A > 2 ? function(e, t, n, o, u) { const c = { id: r.subtopicEllipsisOfSummary(e), roles: ["subtopic"], bounds: i.zeroRect(), absBounds: i.zeroRect(), contentType: "text", text: "...", fontSize: s.toCSSLength(o), lineHeight: m.computeTextLineHeight(o) }; a.initializeBoxStyle(c, t, n, { layout: y }); const d = l.measureText(c, { maxWidth: u }) , {width: f, height: h} = d; return c.bounds.width = f, c.bounds.height = h, c }(e, n, c, x, w) : null , P = null !== (b = null == L ? void 0 : L.bounds.width) && void 0 !== b ? b : 0 , R = null !== (_ = null == L ? void 0 : L.bounds.height) && void 0 !== _ ? _ : 0 , z = { id: r.subtopicListGroupOfTopic(e), roles: ["subtopicListGroup"], bounds: i.zeroRect(), absBounds: i.zeroRect(), contentType: "group", children: [], overflow: "visible", contentHeight: 0 }; a.initializeBoxStyle(z, n, c, { layout: y }); const j = Math.min(w, Math.max(O, P)) , F = B + R , D = A > 2 ? C : (S - F) / 3; let N = 0 , U = 0; E.forEach((e,t)=>{ t === E.length - 1 && L && (L.bounds.y = N, L.bounds.x = j - L.bounds.width, z.children.push(L), N += L.bounds.height + D, U > 0 && (U += D), U += L.bounds.height), e.groupBox.bounds.y = N, e.groupBox.bounds.x = j - e.groupBox.bounds.width, z.children.push(e.groupBox), N += e.groupBox.bounds.height + D, U > 0 && (U += D), U += e.groupBox.bounds.height } ), z.contentHeight = U, z.bounds.width = j, z.bounds.height = Math.min(S, U); const W = E.reduce((e,t)=>[...e, ...t.contentFeatures], []); return { groupBox: z, subtopicGroups: E, ellipsisBox: L, contentFeatures: W } }(_.id, S, e, n, g, { maxWidth: W, maxHeight: H, fontSize: T, markerRightMargin: A, maxLineCount: E, spacingForMultipleSubtopics: V }) , Y = q.groupBox.bounds.width , X = q.groupBox.bounds.height , J = (H - X) / 2 , Q = H - X - J , K = J + (q.subtopicGroups.length > 0 ? q.subtopicGroups[0].groupBox.bounds.height / 2 : 0) , ee = Q + (q.subtopicGroups.length > 0 ? q.subtopicGroups[q.subtopicGroups.length - 1].groupBox.bounds.height / 2 : 0) , te = function(e, t, n, o) { const {type: s, width: l, height: u, leftPadding: c, rightPadding: d, topPadding: f, bottomPadding: h, summarySlideLineStrokeWidth: p} = o , g = l - c - d , m = [] , v = { id: r.braceShapeOfSummary(e), roles: ["curlyBraceGroup"], bounds: { x: 0, y: 0, width: l, height: u }, absBounds: i.zeroRect(), contentType: "group", children: [], contentHeight: u, overflow: "visible" }; if (a.initializeBoxStyle(v, t, n, { layout: y }), "flatLine" === s) { const o = { id: r.topBraceOfSummary(e), roles: ["curlyBrace"], bounds: { x: 0, y: 0, width: l, height: u }, absBounds: i.zeroRect(), contentType: "shape", shapePath: `M${c} ${u / 2} l${g} 0`, lineWidth: p }; a.initializeBoxStyle(o, t, n, { layout: y }), m.push(o), v.children.push(o) } else { const o = c , s = c + g / 2 , d = c + g , b = f , _ = u / 2 , w = u - h , S = { id: r.topBraceOfSummary(e), roles: ["curlyBrace"], bounds: { x: 0, y: 0, width: l, height: u }, absBounds: i.zeroRect(), contentType: "shape", shapePath: `M${o} ${b} L${s} ${b} L${s} ${_} L${d} ${_}`, lineWidth: p }; a.initializeBoxStyle(S, t, n, { layout: y }); const x = { id: r.bottomBraceOfSummary(e), roles: ["curlyBrace"], bounds: { x: 0, y: 0, width: l, height: u }, absBounds: i.zeroRect(), contentType: "shape", shapePath: `M${o} ${w} L${s} ${w} L${s} ${_}`, lineWidth: p }; a.initializeBoxStyle(x, t, n, { layout: y }), m.push(S), m.push(x), v.children.push(S), v.children.push(x) } return { groupBox: v, lineShapes: m } }(_.id, e, g, { type: z, width: N, height: U, leftPadding: F, rightPadding: D, topPadding: K, bottomPadding: ee, summarySlideLineStrokeWidth: O }) , ne = te.groupBox.bounds.width , re = te.groupBox.bounds.height , ie = x + (B - (Y + N + P)) / 2 , oe = x + B / 2 - j / 2 - F - Y , ae = Math.max(ie, oe) , se = ae , le = ae + Y , ue = le + N , ce = k + J , de = k , fe = k; $.groupBox.bounds.x = ue + (P - G) / 2, $.groupBox.bounds.y = fe + (R - Z) / 2, te.groupBox.bounds.x = le + (N - ne) / 2, te.groupBox.bounds.y = de + (U - re) / 2, q.groupBox.bounds.x = se, q.groupBox.bounds.y = ce, e.boxes.push($.groupBox), e.boxes.push(q.groupBox), e.boxes.push(te.groupBox), w && c.addHeaderBoxes(e, w, n, g, y), o.computeAbsoluteBounds(e.boxes), r.addSlideContentFeatures(e, ...$.contentFeatures, ...q.contentFeatures) } function _(e, t, n, s, l) { const {topic: f, headerTopic: g, summarySubtopics: m} = t , {hSlidePadding: b, vSlidePadding: _, summaryTopicMaxFontSize: S, summaryTopicMinFontSize: x, summaryTopicMarkerRightMargin: k, subtopicFontSize: I, subtopicMarkerRightMargin: C, subtopicMaxLineCount: M, summarySlideLineStrokeWidth: T} = l , A = e.width - 2 * b , E = g ? e.height - _ : e.height , O = a.calcLength(n.summaryScrollFaderHeight, e) , B = A , L = a.calcLength(n.vPaddingSmall, e) , P = a.calcLength(n.vPaddingSmall, e) , R = a.calcLength(n.vPaddingXSmall, e) , z = a.calcLength(n.summarySlideLineHeight, e) , j = A , F = P + z + R , D = function(e, t, n, o) { const {width: s, height: l, topPadding: u, summaryVerticalLineHeight: c, summarySlideLineStrokeWidth: d} = o , f = { id: r.braceShapeOfSummary(e), roles: ["curlyBraceGroup"], bounds: { x: 0, y: 0, width: s, height: l }, absBounds: i.zeroRect(), contentType: "group", children: [], contentHeight: l, overflow: "visible" } , h = [] , p = { id: r.topBraceOfSummary(e), roles: ["curlyBrace"], bounds: { x: 0, y: 0, width: s, height: l }, absBounds: i.zeroRect(), contentType: "shape", shapePath: `M ${d} ${u} L ${s - d} ${u} L ${s / 2} ${u} L ${s / 2} ${u + c} `, lineWidth: d }; return a.initializeBoxStyle(p, t, n, { layout: y }), h.push(p), f.children.push(p), a.initializeBoxStyle(f, t, n, { layout: y }), { groupBox: f, lineShapes: h } }(f.id, e, s, { width: j, height: F, topPadding: P, summaryVerticalLineHeight: z, summarySlideLineStrokeWidth: T }) , N = Math.min(m.length, 2); let U = w(f.id, m, e, n, s, { maxWidth: B, fontSize: I, markerRightMargin: C, maxLineCount: M, subtopicSpacing: L, maxSubtopicCount: N }); const W = U.groupBox.bounds.height , H = A; N < m.length && (U = w(f.id, m, e, n, s, { maxWidth: B, fontSize: I, markerRightMargin: C, maxLineCount: M, subtopicSpacing: L, maxSubtopicCount: m.length })); const V = function(e, t, n, r, i) { var o; const {maxWidth: a, maxHeight: s, maxFontSize: l, minFontSize: c, markerRightMargin: f} = i; function g(e) { return e.groupBox.contentHeight <= s } const m = null !== (o = e.markers) && void 0 !== o ? o : [] , b = m.slice(0, n.maxMarkerCount) , _ = v.computePlaceholder(e); function w(n, i, o) { return d.computeTopicTitleGroup(t, r, y, e.id, n, b, { maxWidth: a, fontSize: i, markerRightMargin: f, overflowWrap: o, textRoles: ["title"], textAlignment: "leading", requestForHit: { kind: "present", topicId: e.id }, placeholder: _ }) } const S = h.computeTopicTitle(e); let x = l; let k = w(S, x, "break-word"); if (g(k)) return Object.assign(Object.assign({}, k), { contentFeatures: p.computeContentFeaturesForTitleGroup(k, e.id, S, m) }); if (x = c, k = w(S, x, "break-word"), g(k)) { const e = u.rangedIntegers(l, c) , t = u.mapValues(e, e=>({ fontSize: e, group: w(S, e, "break-word") })) , n = u.findClosestMatch(t, ({group: e})=>g(e)); if (!n) throw new Error("Unable to find the best font size for parent topic of summary slide"); x = n.fontSize, k = n.group } return Object.assign(Object.assign({}, k), { contentFeatures: p.computeContentFeaturesForTitleGroup(k, e.id, S, m) }) }(f, e, n, s, { maxWidth: H, maxHeight: E - U.groupBox.bounds.height - D.groupBox.bounds.height, maxFontSize: S, minFontSize: x, markerRightMargin: k }) , $ = U.groupBox.bounds.height + D.groupBox.bounds.height + V.groupBox.bounds.height; U.groupBox.bounds.x = b, U.groupBox.bounds.y = 0, D.groupBox.bounds.x = b, D.groupBox.bounds.y = U.groupBox.bounds.y + U.groupBox.bounds.height, V.groupBox.bounds.x = b, V.groupBox.bounds.y = D.groupBox.bounds.y + D.groupBox.bounds.height; const G = { id: r.contentOfSummary(e.topicId), roles: [], bounds: { x: 0, y: 0, width: e.width, height: E }, absBounds: i.zeroRect(), contentType: "group", children: [V.groupBox, U.groupBox, D.groupBox], contentHeight: $, overflow: "scroll", scrollFaderSize: O }; a.initializeBoxStyle(G, e, s, { layout: y }), e.boxes.push(G), g && c.addHeaderBoxes(e, g, n, s, y), G.contentHeight <= e.height - 2 * _ ? G.bounds.y = (e.height - $) / 2 : (G.contentHeight += _, G.bounds.y = e.height - E, m.length > N && (G.scrollOffset = Math.min(U.groupBox.bounds.height - W, G.contentHeight - E))), o.computeAbsoluteBounds(e.boxes), r.addSlideContentFeatures(e, ...V.contentFeatures, ...U.contentFeatures) } function w(e, t, n, o, s, l) { const {maxWidth: c, fontSize: g, markerRightMargin: m, maxLineCount: b, subtopicSpacing: _, maxSubtopicCount: w} = l; function S(e) { return e.textMeasurement.lineCount <= b } function x(e, t, r, i) { return d.computeTopicTitleGroup(n, s, y, e, t, r, { maxWidth: c, fontSize: g, markerRightMargin: m, textRoles: ["subtopic"], requestForHit: { kind: "present", topicId: e, viaIntro: !0 }, placeholder: i }) } const k = (t.length > w ? t.slice(t.length - w, t.length) : t).map(e=>{ var t, n; const r = h.computeTopicTitle(e) , i = null !== (t = e.markers) && void 0 !== t ? t : [] , a = i.slice(0, o.maxMarkerCount) , s = v.computePlaceholder(e) , l = u.rangedIntegers(r.length, 1) , c = u.mapValues(l, e=>f.getTruncatedText(r, e)) , d = u.mapValues(c, t=>x(e.id, t, a, s)) , g = null !== (n = u.findClosestMatch(d, S)) && void 0 !== n ? n : x(e.id, f.getTruncatedText(r, 1), a, s); return Object.assign(Object.assign({}, g), { contentFeatures: p.computeContentFeaturesForTitleGroup(g, e.id, r, i) }) } ) , I = { id: r.subtopicListGroupOfTopic(e), roles: ["subtopicListGroup"], bounds: i.zeroRect(), absBounds: i.zeroRect(), contentType: "group", children: [], overflow: "scroll", contentHeight: 0 }; a.initializeBoxStyle(I, n, s, { layout: y }); const C = c; let M = 0 , T = M; k.forEach((e,t)=>{ e.groupBox.bounds.y = M, e.groupBox.bounds.x = 0, I.children.push(e.groupBox), M += e.groupBox.bounds.height, T += e.groupBox.bounds.height, t < k.length - 1 && (M += _, T += _) } ), I.contentHeight = T, I.bounds.width = C, I.bounds.height = T; const A = k.reduce((e,t)=>[...e, ...t.contentFeatures], []); return { groupBox: I, subtopicGroups: k, ellipsisBox: null, contentFeatures: A } } t.isSummaryLayoutEligibleFor = function(e) { return "summary" === e } , t.layoutSummarySlide = function(e, t, n={}) { var r, i; const o = null !== (r = null == n ? void 0 : n.dimension) && void 0 !== r ? r : g.defaultDimension , s = null !== (i = null == n ? void 0 : n.appearance) && void 0 !== i ? i : a.defaultAppearance; a.initializeSlideStyle(e, o, s, { layout: y }); const l = a.calcLength(o.hSlidePadding, e) , u = a.calcLength(o.vSlidePadding, e) , c = a.calcLength(o.summarySlideTopicMaxFontSize, e) , d = a.calcLength(o.summarySlideTopicMinFontSize, e) , f = a.calcLength(o.summarySlideTopicMarkerRightMargin, e) , h = a.calcLength(o.summarySlideSubtopicFontSize, e) , p = a.calcLength(o.summarySlideSubtopicMarkerRightMargin, e) , m = a.calcLength(o.summarySlideLineStrokeWidth, e); (e.width > e.height ? b : _)(e, t, o, s, { hSlidePadding: l, vSlidePadding: u, summaryTopicMaxFontSize: c, summaryTopicMinFontSize: d, summaryTopicMarkerRightMargin: f, subtopicFontSize: h, subtopicMarkerRightMargin: p, subtopicMaxLineCount: 1, summarySlideLineStrokeWidth: m }) } , t.generateSummarySlide = function(e) { var t, n; const i = Object.assign({}, e) , o = r.assertBox(r.getBoxById(i.boxes, r.titleOfTopic(i.topicId), "group")); o.contentHeight > o.bounds.height && (i.multistepBoxes = [...null !== (t = i.multistepBoxes) && void 0 !== t ? t : [], o.id]); const a = r.getBoxById(i.boxes, r.contentOfSummary(i.topicId)); return a && a.contentHeight > a.bounds.height && (i.multistepBoxes = [...null !== (n = i.multistepBoxes) && void 0 !== n ? n : [], a.id]), function(e) { var t, n, i; if (null === (t = e.aliases) || void 0 === t ? void 0 : t.some(t=>"startOfSummary" === t.kind && t.topicId === e.topicId)) { const t = r.assertBox(r.getBoxById(e.boxes, r.titleOfTopic(e.topicId))) , o = [r.topBraceOfSummary(e.topicId), r.bottomBraceOfSummary(e.topicId)] , a = r.filterBoxes(e.boxes, e=>o.some(t=>t === e.id)); for (const {id: t} of a) r.setBoxEnteringState(e, { id: t, opacity: 0, strokeOffset: 1 }); r.setBoxEnteringState(e, { id: t.id, opacity: 0 }); const s = r.getBoxById(e.boxes, r.contentOfSummary(e.topicId)); s && s.scrollOffset ? (r.setBoxEnteringState(e, { id: s.id, scrollOffset: 0 }), r.addSlideEnteringAnimations(e, [{ on: "postTransition", groups: ["subtopicListVisible"], durationMultiplier: 1, delayMultiplier: .5, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: s.id, scrollOffset: s.scrollOffset }] } }]), r.addSlideEnteringAnimations(e, [{ after: "subtopicListVisible", groups: ["curlyBracesVisible"], durationMultiplier: 0, delayMultiplier: .5, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: a.map(({id: e})=>({ id: e, opacity: 1 })) } }, { after: "curlyBracesVisible", groups: ["curlyBracesReady"], durationMultiplier: 1, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: a.map(({id: e})=>({ id: e, strokeOffset: 0 })) } }]), r.addSlideEnteringAnimations(e, [{ after: "curlyBracesReady", durationMultiplier: 1, delayMultiplier: .75, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: t.id, opacity: null !== (n = t.opacity) && void 0 !== n ? n : 1 }] } }])) : (r.addSlideEnteringAnimations(e, [{ on: "postTransition", groups: ["curlyBracesVisible"], durationMultiplier: 0, delayMultiplier: .5, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: a.map(({id: e})=>({ id: e, opacity: 1 })) } }, { after: "curlyBracesVisible", groups: ["curlyBracesReady"], durationMultiplier: 1, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: a.map(({id: e})=>({ id: e, strokeOffset: 0 })) } }]), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 1, delayMultiplier: .75, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: t.id, opacity: null !== (i = t.opacity) && void 0 !== i ? i : 1 }] } }])) } }(i), i } }, 254: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.generateLyricListSlide = t.layoutLyricListSlide = t.isLyricListLayoutEligibleFor = void 0; const r = n(5) , i = n(12) , o = n(34) , a = n(13) , s = n(15) , l = n(32) , u = n(42) , c = n(33) , d = n(44) , f = n(92) , h = n(62) , p = n(93) , g = n(41) , m = n(61) , v = n(36) , y = n(35) , b = n(43) , _ = "lyric-list"; function w(e, t) { var n; t && (r.setBoxEnteringState(e, { id: t.id, transform: [{ translate: { x: 0, y: t.bounds.height } }], opacity: 0 }), r.addSlideEnteringAnimations(e, [{ durationMultiplier: 1.75, delayMultiplier: .75, easing: "easeInOutCubic", on: "postTransition", effect: "mutate", finalState: { boxes: [{ id: t.id, transform: [{ translate: { x: 0, y: 0 } }] }] } }]), r.addSlideEnteringAnimations(e, [{ durationMultiplier: 2.5, delayMultiplier: .75, easing: "easeInOutCubic", on: "postTransition", effect: "mutate", finalState: { boxes: [{ id: t.id, opacity: null !== (n = t.opacity) && void 0 !== n ? n : 1 }] } }])) } t.isLyricListLayoutEligibleFor = function(e, {subtopics: t}) { return "list" === e && t.length > 1 } , t.layoutLyricListSlide = function(e, t, n={}) { var f, p; const {topic: w, subtopics: S, headerTopic: x} = t , k = null !== (f = null == n ? void 0 : n.dimension) && void 0 !== f ? f : l.defaultDimension , I = null !== (p = null == n ? void 0 : n.appearance) && void 0 !== p ? p : s.defaultAppearance; s.initializeSlideStyle(e, k, I, { layout: _ }); const C = s.calcLength(k.hSlidePadding, e) , M = s.calcLength(k.vSlidePadding, e) , T = { left: C, top: 0, right: C, bottom: 0 } , A = e.width - C - C , E = s.calcLength(k.lyricListSlideParentTopicDefaultFontSize, e) , O = s.calcLength(k.hPaddingXSmall, e) , B = s.calcLength(k.vPaddingXSmall, e) , L = Math.round(s.calcLength(k.lyricListSlideSubtopicMaxFontSize, e)) , P = Math.round(s.calcLength(k.lyricListSlideSubtopicMinFontSize, e)) , R = s.calcLength(k.hPaddingXSmall, e) , z = s.calcLength(k.scrollFaderHeight, e) , j = s.calcLength(k.vPaddingSmall, e) , F = s.calcLength(k.lyricListSlideArrowWidth, e) , D = s.calcLength(k.lyricListSlideArrowHeight, e) , N = s.calcLength(k.lyricListSlideArrowCornerRadius, e) , U = function(e, t, n, r, i) { var a; const {fontSize: s, markerRightMargin: l, maxWidth: u, maxLineCount: c} = i; const f = null !== (a = e.markers) && void 0 !== a ? a : [] , p = f.slice(0, n.maxMarkerCount) , g = h.computePlaceholder(e); function m(n) { return y.computeTopicTitleGroup(t, r, _, e.id, n, p, { maxWidth: u, fontSize: s, markerRightMargin: l, overflowWrap: "break-word", textRoles: ["title"], requestForHit: { kind: "fastBackward" }, placeholder: g }) } const w = v.computeTopicTitle(e); let S, x = w; if (x.length > 1) { const e = o.rangedIntegers(x.length, 1) , t = o.mapValues(e, e=>b.getTruncatedText(x, e)) , n = o.mapValues(t, e=>({ text: e, group: m(e) })) , r = o.findClosestMatch(n, ({group: e})=>function(e) { return e.textMeasurement.lineCount <= c }(e)); r ? (x = r.text, S = r.group) : (x = b.getTruncatedText(x, 1), S = m(x)) } else S = m(x); return Object.assign(Object.assign({}, S), { contentFeatures: d.computeContentFeaturesForTitleGroup(S, e.id, w, f) }) }(w, e, k, I, { fontSize: E, markerRightMargin: O, maxWidth: A, maxLineCount: 1 }) , W = e.width , H = e.height - 2 * M - U.groupBox.bounds.height - B , V = H / 2 , $ = function(e, t, n, l, c, f) { const {paddings: p, maxWidth: g, maxHeight: w, maxFontSize: S, minFontSize: x, preferredLineCount: k, maxLineCount: I, markerRightMargin: C, subtopicSpacing: M, scrollFaderSize: T, currentSubtopicOffset: A} = f; function E(e) { return e.textMeasurement.lineCount <= k } const O = t.map(e=>{ var t; return { topicId: e.id, text: v.computeTopicTitle(e), markers: null !== (t = e.markers) && void 0 !== t ? t : [], placeholder: h.computePlaceholder(e) } } ); function B(t) { let f = p.top , h = p.top , v = 0; const S = [] , x = []; O.forEach(({topicId: e, text: k, markers: T, placeholder: B},L)=>{ var P; const R = g - p.left - p.right , z = T.slice(0, l.maxMarkerCount); function j(l) { return function(e, t, n, l, c, d, f) { var h, p, g, v; const {maxWidth: b, fontSize: _, markerRightMargin: w, placeholder: S} = f , x = null !== (h = f.textRoles) && void 0 !== h ? h : [] , k = null !== (p = f.markerRoles) && void 0 !== p ? p : [] , I = null !== (g = f.imagePlaceholderRoles) && void 0 !== g ? g : [] , C = null !== (v = f.groupRoles) && void 0 !== v ? v : [] , M = d.length , T = _ , A = _ , E = _ , O = _ , B = (T + w) * M , L = { id: r.titleTextOfTopic(l), roles: [...x], bounds: a.zeroRect(), absBounds: a.zeroRect(), contentType: "text", text: c, fontSize: i.toCSSLength(_), textIndent: i.toCSSLength(B), lineHeight: m.computeTextLineHeight(_), fontWeight: "bold", opacity: 0 }; "textAlignment"in f ? L.textAlignment = f.textAlignment : M > 0 && (L.textAlignment = "leading"); "overflowWrap"in f && (L.overflowWrap = f.overflowWrap); s.initializeBoxStyle(L, e, t, { layout: n }); const P = u.measureText(L, { maxWidth: b }); L.bounds.width = P.width, L.bounds.height = P.height, L.lineCount = P.lineCount; const R = { id: r.shadowTitleTextOfTopic(l), roles: [...x], bounds: a.zeroRect(), absBounds: a.zeroRect(), contentType: "text", text: c, fontSize: i.toCSSLength(_), textIndent: i.toCSSLength(B), lineHeight: m.computeTextLineHeight(_) }; "textAlignment"in f ? R.textAlignment = f.textAlignment : M > 0 && (R.textAlignment = "leading"); "overflowWrap"in f && (R.overflowWrap = f.overflowWrap); let z; s.initializeBoxStyle(R, e, t, { layout: n }); const j = o.rangedIntegers(1, 20) , F = o.mapValues(j, e=>u.measureText(Object.assign({}, R, { letterSpacing: .005 * e + "em" }), { maxWidth: b })); let D; D = 1 === P.lineCount ? o.findClosestMatch(F, e=>e.width - P.width >= 0) : o.findClosestMatch(F, e=>e.lineCount === P.lineCount); D ? (z = D, R.letterSpacing = D.letterSpacing) : z = u.measureText(R, { maxWidth: b }); const N = z.lineHeight; R.bounds.width = z.width, R.bounds.height = z.height, R.lineCount = z.lineCount; const U = [] , W = N; let H, V, $, G = 0, Z = 0; for (let i = 0; i < M; i++) { const o = d[i] , u = { id: r.markerOfTopic(l, i), roles: ["marker", ...k], bounds: { x: Z, y: (W - A) / 2, width: T, height: A }, absBounds: a.zeroRect(), contentType: "image", imageSource: o.imageSource }; s.initializeBoxStyle(u, e, t, { layout: n }), Z += T + w, G > 0 && (G += w), G += T, U.push(u) } y.shouldShowPlaceholder(c.length > 0, M > 0) && "image" === S ? (V = N, $ = N, H = { id: r.imageOfTopic(l), roles: ["imagePlaceholder", ...I], bounds: { x: (V - E) / 2, y: ($ - O) / 2, width: E, height: O }, absBounds: a.zeroRect(), contentType: "svg-template", svg: y.getPlaceholderImageSource(), fillColor: e.foregroundColor }, s.initializeBoxStyle(H, e, t, { layout: n })) : (V = 0, $ = 0, H = null); const q = Math.max(Math.max(R.bounds.width, L.bounds.width), G, V) , Y = Math.max(Math.max(R.bounds.height, L.bounds.height), N, W, $) , X = { id: r.titleOfTopic(l), roles: [...C], bounds: { x: 0, y: 0, width: q, height: Y }, absBounds: a.zeroRect(), contentType: "group", children: [R, L, ...U, ...H ? [H] : []], contentHeight: Y, overflow: "visible" }; "requestForHit"in f && (X.requestForHit = f.requestForHit); return s.initializeBoxStyle(X, e, t, { layout: n }), { groupBox: X, textBox: R, markerImageBoxes: U, textMeasurement: P, imagePlaceholderBox: H, lineHeight: N } }(n, c, _, e, l, z, { maxWidth: R, fontSize: t, markerRightMargin: C, textRoles: ["subtopic"], requestForHit: { kind: "present", topicId: e, viaIntro: !0 }, placeholder: B }) } let F = j(k); if (!function(e) { return e.textMeasurement.lineCount <= I }(F)) { const e = o.rangedIntegers(k.length - 1, 1) , t = o.mapValues(e, e=>b.getTruncatedText(k, e)) , n = o.mapValues(t, e=>j(e)); F = null !== (P = o.findClosestMatch(n, E)) && void 0 !== P ? P : j(b.getTruncatedText(k, 1)) } 0 === L && (f = A - F.lineHeight / 2, h += f, v = f); const D = F.groupBox.bounds; D.x = p.left, D.y = f, f += D.height + M, L > 0 && L < O.length && (h += M), h += D.height, L === O.length - 1 && (h += w - A - (F.groupBox.bounds.height - F.lineHeight / 2)), h += p.bottom, S.push(F), x.push(...d.computeContentFeaturesForTitleGroup(F, e, k, T)) } ); const k = { id: r.subtopicListGroupOfTopic(e), roles: ["subtopicListGroup"], bounds: { x: 0, y: 0, width: g, height: Math.min(h, w) }, absBounds: a.zeroRect(), contentType: "group", children: [...S.map(e=>e.groupBox)], contentHeight: h, overflow: h > w ? "scroll" : "hidden", scrollFaderSize: T, scrollOffset: v }; return s.initializeBoxStyle(k, n, c, { layout: _ }), { groupBox: k, subtopicGroups: S, contentFeatures: x } } let L, P; const R = o.rangedIntegers(S, x) , z = o.mapValues(R, e=>({ fontSize: e, group: B(e) })) , j = o.findClosestMatch(z, ({group: e})=>function(e) { return e.groupBox.bounds.height <= w }(e)); j ? (L = j.fontSize, P = j.group) : (L = S, P = B(L)); return P }(w.id, S, e, k, I, { paddings: T, maxWidth: W, maxHeight: H, maxFontSize: L, minFontSize: P, markerRightMargin: R, preferredLineCount: 2, maxLineCount: 3, subtopicSpacing: j, scrollFaderSize: z, currentSubtopicOffset: V }) , G = function(e, t, n, i) { const {arrowWidth: o, arrowHeight: l, arrowCornerRadius: u} = i , c = o * (1 - 2 * u / l) , d = `M 0 0 L ${c} ${l / 2 - u} C ${o - u} ${(l - u) / 2} ${o - u} ${(l + u) / 2} ${c} ${l / 2 + u} L 0 ${l} Z` , f = { id: r.arrowOfTopic(e), roles: ["arrow"], bounds: { x: 0, y: 0, width: o, height: l }, absBounds: a.zeroRect(), contentType: "shape", shapePath: d }; return s.initializeBoxStyle(f, t, n, { layout: _ }), f }(w.id, e, I, { arrowWidth: F, arrowHeight: D, arrowCornerRadius: N }); U.groupBox.bounds.x = C, U.groupBox.bounds.y = M, $.groupBox.bounds.x = 0, $.groupBox.bounds.y = U.groupBox.bounds.y + U.groupBox.bounds.height + B, G.bounds.x = 0, G.bounds.y = $.groupBox.bounds.y + ($.groupBox.bounds.height - D) / 2, e.boxes.push(U.groupBox), e.boxes.push($.groupBox), e.boxes.push(G), x && g.addHeaderBoxes(e, x, k, I, _), c.computeAbsoluteBounds(e.boxes), r.addSlideContentFeatures(e, ...U.contentFeatures, ...$.contentFeatures) } , t.generateLyricListSlide = function(e, t, n={}) { var i; const {subtopics: o} = t , a = null !== (i = n.numberOfVisitedTopics) && void 0 !== i ? i : 0 , s = Object.assign({}, e); o.forEach(({id: e},t)=>{ t > a ? f.computePendingBoxStates(s, r.titleOfTopic(e)) : t < a && function(e, t) { e.boxes = r.mutateBoxes(e.boxes, e=>e.id !== t ? e : Object.assign(Object.assign({}, e), { opacity: .4 })) }(s, r.titleOfTopic(e)), function(e, t, n) { e.boxes = r.mutateBoxes(e.boxes, e=>e.id === r.titleTextOfTopic(t) ? Object.assign(Object.assign({}, e), { opacity: n ? 0 : 1 }) : e.id === r.shadowTitleTextOfTopic(t) ? Object.assign(Object.assign({}, e), { opacity: n ? 1 : 0 }) : e) }(s, e, t !== a) } ); const l = a , u = r.assertBox(r.getBoxById(s.boxes, r.subtopicListGroupOfTopic(s.topicId))); return p.computeSubtopicListScrollingStates(s, u.id, r.titleOfTopic(o[l].id), (e,t)=>{ const n = r.assertBox(r.getBoxById(s.boxes, r.titleTextOfTopic(o[l].id))); return "lineCount"in n && n.lineCount ? n.bounds.height / n.lineCount / 2 - e.bounds.height / 2 : t.bounds.height / 2 - e.bounds.height / 2 } ), function(e) { var t, n; if (null === (t = e.aliases) || void 0 === t ? void 0 : t.some(t=>"listOfTopic" === t.kind && t.topicId === e.topicId && 0 === t.index)) { e.subtopics.forEach(t=>{ const n = r.assertBox(r.getBoxById(e.boxes, r.titleOfTopic(t))) , i = r.assertBox(r.getBoxById(e.boxes, r.shadowTitleTextOfTopic(t))); w(e, n), w(e, i) } ); const t = r.assertBox(r.getBoxById(e.boxes, r.arrowOfTopic(e.topicId))); r.setBoxEnteringState(e, { id: t.id, opacity: 0 }), r.addSlideEnteringAnimations(e, [{ durationMultiplier: 2.5, delayMultiplier: .75, easing: "easeInOutCubic", on: "postTransition", effect: "mutate", finalState: { boxes: [{ id: t.id, opacity: null !== (n = t.opacity) && void 0 !== n ? n : 1 }] } }]) } }(s), s } }, 255: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.generateTreeChartSlide = t.layoutTreeChartSlide = t.isTreeChartLayoutEligibleFor = void 0; const r = n(5) , i = n(13) , o = n(15) , a = n(34) , s = n(33) , l = n(43) , u = n(41) , c = n(36) , d = n(35) , f = n(44) , h = n(92) , p = n(93) , g = n(32) , m = n(62) , v = "tree-chart"; function y(e) { const t = r.findBox(e.children, e=>"text" === e.contentType); return t && "lineCount"in t && t.lineCount ? t.bounds.height / t.lineCount / 2 : e.bounds.height / 2 } t.isTreeChartLayoutEligibleFor = function(e, {subtopics: t}) { return "list" === e && t.length > 1 } , t.layoutTreeChartSlide = function(e, t, n={}) { var h, p; const {topic: b, subtopics: _, headerTopic: w} = t , S = null !== (h = null == n ? void 0 : n.dimension) && void 0 !== h ? h : g.defaultDimension , x = null !== (p = null == n ? void 0 : n.appearance) && void 0 !== p ? p : o.defaultAppearance; o.initializeSlideStyle(e, S, x, { layout: v }); const k = o.calcLength(S.hSlidePadding, e) , I = o.calcLength(S.vSlidePadding, e) , C = e.width - k - k , M = C , T = Math.round(o.calcLength(S.treeChartSlideParentTopicMaxFontSize, e)) , A = Math.round(o.calcLength(S.treeChartSlideParentTopicMinFontSize, e)) , E = o.calcLength(S.hPaddingXSmall, e) , O = o.calcLength(S.vPaddingXSmall, e) , B = { left: 0, top: o.calcLength(S.vPaddingMedium, e), right: 0, bottom: I } , L = o.calcLength(S.vPaddingSmall, e) , P = Math.round(o.calcLength(S.treeChartSlideSubtopicMaxFontSize, e)) , R = Math.round(o.calcLength(S.treeChartSlideSubtopicMinFontSize, e)) , z = o.calcLength(S.hPaddingXSmall, e) , j = o.calcLength(S.scrollFaderHeight, e) , F = C / 6 , D = o.calcLength(S.hPaddingSmall, e) , N = C / 12 , U = o.calcLength(S.treeChartBranchStrokeWidth, e) , W = function(e, t, n, r, i) { var o; const {maxFontSize: s, minFontSize: u, markerRightMargin: h, maxWidth: p, maxLineCount: g, preferredLineCount: y} = i; function b(e) { return e.textMeasurement.width <= p } function _(e) { return e.textMeasurement.lineCount <= y } function w(e) { return e.textMeasurement.lineCount <= g } const S = null !== (o = e.markers) && void 0 !== o ? o : [] , x = S.slice(0, n.maxMarkerCount) , k = m.computePlaceholder(e); function I(n, i, o) { return d.computeTopicTitleGroup(t, r, v, e.id, n, x, { maxWidth: p, fontSize: i, markerRightMargin: h, overflowWrap: o, textRoles: ["title"], requestForHit: { kind: "fastBackward" }, placeholder: k }) } const C = c.computeTopicTitle(e); let M = C , T = s , A = "normal" , E = I(M, T, A); if (b(E) && _(E)) return Object.assign(Object.assign({}, E), { contentFeatures: f.computeContentFeaturesForTitleGroup(E, e.id, C, S) }); if (T = u, E = I(M, T, A), b(E)) { if (_(E)) { const e = a.rangedIntegers(s, u) , t = a.mapValues(e, e=>({ fontSize: e, group: I(M, e, A) })) , n = a.findClosestMatch(t, ({group: e})=>b(e) && _(e)); if (!n) throw new Error("Unable to find the best font size for parent topic of brace list slide"); T = n.fontSize, E = n.group } } else { A = "break-word"; const e = a.rangedIntegers(s, u) , t = a.mapValues(e, e=>({ fontSize: e, group: I(M, e, A) })) , n = a.findClosestMatch(t, ({group: e})=>_(e)); n ? (T = n.fontSize, E = n.group) : (T = u, E = I(M, T, A)) } if (!w(E)) { const e = a.rangedIntegers(M.length - 1, 1) , t = a.mapValues(e, e=>l.getTruncatedText(M, e)) , n = a.mapValues(t, e=>({ text: e, group: I(e, T, A) })) , r = a.findClosestMatch(n, ({group: e})=>w(e)); r ? (M = r.text, E = r.group) : (M = l.getTruncatedText(M, 1), E = I(M, T, A)) } return Object.assign(Object.assign({}, E), { contentFeatures: f.computeContentFeaturesForTitleGroup(E, e.id, C, S) }) }(b, e, S, x, { maxFontSize: T, minFontSize: A, markerRightMargin: E, maxWidth: M, maxLineCount: 2, preferredLineCount: 1 }) , H = e.width - k - k , V = e.height - I - W.groupBox.bounds.height - O , $ = function(e, t, n, s, u, h) { const {paddings: p, maxWidth: g, maxHeight: b, maxFontSize: _, minFontSize: w, markerRightMargin: S, maxLineCount: x, scrollFaderSize: k, subtopicSpacing: I, treeBranchLeftMargin: C, treeBranchRightMargin: M, treeBranchWidth: T, treeBranchStrokeWidth: A} = h; function E(e) { return e.textMeasurement.lineCount <= x } const O = t.map(e=>{ var t; return { topicId: e.id, text: c.computeTopicTitle(e), markers: null !== (t = e.markers) && void 0 !== t ? t : [], placeholder: m.computePlaceholder(e) } } ); function B(t) { const c = [] , h = [] , m = []; let _ = p.top , w = p.top; O.forEach(({topicId: e, text: b, markers: x, placeholder: k})=>{ var O; const B = g - C - M - T , L = x.slice(0, s.maxMarkerCount); function P(r) { return d.computeTopicTitleGroup(n, u, v, e, r, L, { maxWidth: B, fontSize: t, markerRightMargin: S, textRoles: ["subtopic"], requestForHit: { kind: "present", topicId: e, viaIntro: !0 }, placeholder: k }) } const R = a.rangedIntegers(b.length, 1) , z = a.mapValues(R, e=>l.getTruncatedText(b, e)) , j = a.mapValues(z, e=>P(e)) , F = null !== (O = a.findClosestMatch(j, E)) && void 0 !== O ? O : P(l.getTruncatedText(b, 1)) , D = F.groupBox.bounds; let N; if (D.x = C + M + T, D.y = _, _ += D.height + I, w > 0 && (w += I), w += D.height, c.length > 0) { const e = c[c.length - 1].groupBox; N = e.bounds.height - y(e) + T / 2 + I + y(F.groupBox) + A / 2 } else N = p.top + y(F.groupBox) - A; const U = function(e, t, n, a, s, l, u, c={}) { var d; const f = null !== (d = c.additionalRoles) && void 0 !== d ? d : []; let h, p; if (u) h = `M ${l / 2}, ${l / 2} L ${l / 2}, ${s - a / 2 - l / 2} A ${a / 2} ${a / 2} 0 0 0 ${a / 2 + l / 2} ${s - l / 2} L ${a - l / 2}, ${s - l / 2}`; else { const e = Math.sqrt(Math.pow(a / 2 + l / 2, 2) - Math.pow(a / 2 - l / 2, 2)); h = `M ${l / 2}, ${e} L ${l / 2}, ${s - a / 2 - l / 2} A ${a / 2} ${a / 2} 0 0 0 ${a / 2 + l / 2} ${s - l / 2} L ${a - l / 2}, ${s - l / 2}`; p = { size: { width: l, height: e }, ref: { x: l / 2, y: e }, path: `M 0, 0 L 0, ${e} L ${l}, ${e} A ${a / 2 + l / 2} ${a / 2 + l / 2} 0 0 1 0,0` } } const g = { id: r.treeBranchOfTopic(e), roles: ["treeBranch", ...f], bounds: { x: 0, y: 0, width: a, height: s }, absBounds: i.zeroRect(), contentType: "shape", shapePath: h, markerStart: p }; return o.initializeBoxStyle(g, t, n, { layout: v }), g }(e, n, u, T, N, A, 0 === c.length); U.bounds.x = C - A / 2, U.bounds.y = D.y + y(F.groupBox) + A / 2 - U.bounds.height, c.push(F), h.push(U), m.push(...f.computeContentFeaturesForTitleGroup(F, e, b, x)) } ), w += p.bottom; const x = { id: r.subtopicListGroupOfTopic(e), roles: ["subtopicListGroup"], bounds: { x: 0, y: 0, width: g, height: Math.min(w, b) }, absBounds: i.zeroRect(), contentType: "group", children: [...c.map(e=>e.groupBox), ...h], contentHeight: w, overflow: w > b ? "scroll" : "hidden", scrollFaderSize: k }; return o.initializeBoxStyle(x, n, u, { layout: v }), { groupBox: x, subtopicGroups: c, treeBranchShapes: h, contentFeatures: m } } let L, P; const R = a.rangedIntegers(_, w) , z = a.mapValues(R, e=>({ fontSize: e, group: B(e) })) , j = a.findClosestMatch(z, ({group: e})=>function(e) { return e.groupBox.contentHeight <= b }(e)); j ? (L = j.fontSize, P = j.group) : (L = _, P = B(L)); return P }(b.id, _, e, S, x, { paddings: B, maxWidth: H, maxHeight: V, maxFontSize: P, minFontSize: R, markerRightMargin: z, maxLineCount: 2, scrollFaderSize: j, subtopicSpacing: L, treeBranchLeftMargin: F, treeBranchRightMargin: D, treeBranchWidth: N, treeBranchStrokeWidth: U }); W.groupBox.bounds.x = k, W.groupBox.bounds.y = I, $.groupBox.bounds.x = k, $.groupBox.bounds.y = W.groupBox.bounds.y + W.groupBox.bounds.height + O, e.boxes.push(W.groupBox), e.boxes.push($.groupBox), w && u.addHeaderBoxes(e, w, S, x, v), s.computeAbsoluteBounds(e.boxes), r.addSlideContentFeatures(e, ...W.contentFeatures, ...$.contentFeatures) } , t.generateTreeChartSlide = function(e, t, n={}) { var i; const {subtopics: o} = t , a = null !== (i = n.numberOfVisitedTopics) && void 0 !== i ? i : 0 , s = Object.assign({}, e); o.forEach(({id: e},t)=>{ var n; (t > a || (null === (n = s.aliases) || void 0 === n ? void 0 : n.some(e=>"listOfTopic" === e.kind && e.topicId === s.topicId && 0 === e.index))) && (h.computePendingBoxStates(s, r.titleOfTopic(e)), h.computePendingBoxStates(s, r.treeBranchOfTopic(e))) } ); const l = a , u = r.assertBox(r.getBoxById(s.boxes, r.subtopicListGroupOfTopic(s.topicId))) , c = r.assertBox(r.getBoxById(s.boxes, r.titleOfTopic(o[o.length - 1].id))) , d = u.contentHeight - c.bounds.y - c.bounds.height; if (p.computeSubtopicListScrollingStates(s, u.id, r.titleOfTopic(o[l].id), (e,t)=>t.bounds.height - e.bounds.height + d), a < o.length) { const e = o[a].id , t = r.assertBox(r.getBoxById(s.boxes, r.titleOfTopic(e))) , n = r.assertBox(r.getBoxById(s.boxes, r.treeBranchOfTopic(e))); !function(e, {titleBox: t, treeBranchShape: n}) { const i = -(t.bounds.x - n.bounds.x - n.bounds.width); e.autoForwarding || (r.addSlideAdditionalEnteringStates(e, [{ state: { boxes: [{ id: n.id, strokeOffset: 1, opacity: 0 }, { id: t.id, opacity: 0, transform: [{ translate: { x: i, y: 0 } }] }] }, when: { request: "forward", sourceSlideType: e.type, sourceSlideTopicId: e.topicId } }]), r.addSlideEnteringAnimations(e, [{ on: "postTransition", durationMultiplier: 1.5, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: n.id, strokeOffset: 0 }] }, when: { request: "forward", sourceSlideType: e.type, sourceSlideTopicId: e.topicId } }, { on: "postTransition", durationMultiplier: 1.5, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: n.id, opacity: 1 }] }, when: { request: "forward", sourceSlideType: e.type, sourceSlideTopicId: e.topicId } }, { on: "postTransition", durationMultiplier: 1, delayMultiplier: 1.5, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: t.id, opacity: 1 }] }, when: { request: "forward", sourceSlideType: e.type, sourceSlideTopicId: e.topicId } }, { on: "postTransition", durationMultiplier: 1, delayMultiplier: 1.5, effect: "mutate", easing: "easeOutQuad", finalState: { boxes: [{ id: t.id, transform: [{ translate: { x: 0, y: 0 } }] }] }, when: { request: "forward", sourceSlideType: e.type, sourceSlideTopicId: e.topicId } }])) }(s, { titleBox: t, treeBranchShape: n }) } return s } }, 256: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.Slideshow = void 0; const i = n(157) , o = n(156) , a = n(257) , s = n(258) , l = n(259) , u = n(260) , c = n(261) , d = n(167) , f = n(109); t.Slideshow = class { constructor(e) { var t, n; this._disablesAnimations = !1, this._contentCache = new Map, this._templateSlides = new Map, this._slideStore = new a.SlideStore, this._presenters = [], this._currentSlide = null, this._isPerformingTransition = !1, this._isPerformingEndingScreenTransition = !1, this._slideBeforeEndingScreen = null, this._numberOfPendingTransitionRequests = 0, this._isHandlingTransitionRequest = !1, this._slideState = {}, this.eventCallbacks = new Map, this.baseDuration = 400, this.restoreSlideDurationMultiplier = 1, this.inSlideAnimationDurationMultiplier = 1, this.presentEndingScreenDurationMultiplier = 2.5, this.dismissEndingScreenDurationMultiplier = 1, this._slideSize = null !== (t = "string" == typeof e.slideSize ? i.slideSizes[e.slideSize] : e.slideSize) && void 0 !== t ? t : i.slideSize_16_9, this._contentProvider = "contentProvider"in e ? e.contentProvider : e, this._slideAppearanceId = null !== (n = e.slideTheme) && void 0 !== n ? n : "default", this._enqueueAsyncJob = c.makeAsyncQueue() } get slideSize() { return this._slideSize } get slideAppearanceId() { return this._slideAppearanceId } get contentProvider() { return this._contentProvider } get currentSlide() { return this._currentSlide } get currentTopicId() { var e, t; return null !== (t = null === (e = this._currentSlide) || void 0 === e ? void 0 : e.topicId) && void 0 !== t ? t : null } get isPerformingTransition() { return this._isPerformingTransition || this._isPerformingEndingScreenTransition } get slideState() { return this._slideState } get isShowingEndingScreen() { return null !== this._slideBeforeEndingScreen } get isShowingNothing() { return null === this._currentSlide && !this.isShowingEndingScreen } getTransition(e, t) { return l.computeTransition(this, e, this.baseDuration, t, { disablesAnimations: this._disablesAnimations }) } getStartingSlide(e) { const t = null != e ? e : this._contentProvider.getStartingTopicId(); return t ? this.getSlideByAlias({ kind: "startOfTopic", topicId: t }) : null } getSlideContent(e) { const t = e , n = this._contentCache.get(t); if (void 0 !== n) return n; const r = f.computeSlideContent(e, this._contentProvider); return this._contentCache.set(t, r), r } getTemplateSlide(e, t) { var n; const r = `${e}:${t}`; let i = null !== (n = this._templateSlides.get(r)) && void 0 !== n ? n : null; if (!i) { const n = this.getSlideContent(t); n && (i = s.generateTemplateSlideFor(e, n, { slideSize: this.slideSize, appearanceId: this.slideAppearanceId }), i && this._templateSlides.set(r, i)) } return i } getSlideByAlias(e) { var t; let n = this._slideStore.getSlide(e); if (!n) { const r = s.getTopicIdForGeneratingSlideByAlias(e, this._contentProvider); if (r) { const i = this.getSlideContent(r); if (i) { const o = s.generatePresentationalSlidesFor(i, (e,t)=>this.getTemplateSlide(e, t)); for (const e of o) for (const n of null !== (t = e.aliases) && void 0 !== t ? t : []) this._slideStore.setSlide(n, e), this._slideStore.addSlideGeneratedForTopic(r, n); n = this._slideStore.getSlide(e) } } } return n } isSlideSkipped(e) { return "skip" === u.computeSlideVisibility(e, this) } present(e) { return r(this, void 0, void 0, (function*() { return yield this._enqueueTransitionRequest({ kind: "present", topicId: e }) } )) } forward() { return r(this, void 0, void 0, (function*() { return yield this._enqueueTransitionRequest({ kind: "forward" }) } )) } backward() { return r(this, void 0, void 0, (function*() { return yield this._enqueueTransitionRequest({ kind: "backward" }) } )) } fastBackward() { return r(this, void 0, void 0, (function*() { return yield this._enqueueTransitionRequest({ kind: "fastBackward" }) } )) } fastForward() { return r(this, void 0, void 0, (function*() { return yield this._enqueueTransitionRequest({ kind: "fastForward" }) } )) } changeSlideSize(e) { return r(this, void 0, void 0, (function*() { return yield this._enqueueTransitionRequest({ kind: "changeSlideSize", slideSize: e }) } )) } changeSlideTheme(e) { return r(this, void 0, void 0, (function*() { return yield this._enqueueTransitionRequest({ kind: "changeAppearance", appearanceId: e }) } )) } get disablesAnimations() { return this._disablesAnimations } set disablesAnimations(e) { this._disablesAnimations = e, this._preloadNextSlideTransition() } addPresenter(e) { this._presenters = [...this._presenters, e], e.delegate = this } removePresenter(e) { delete e.delegate, this._presenters = this._presenters.filter(t=>t !== e) } presenterDidReceivePointerInteraction(e, t) { switch (t.kind) { case "hit": return this._handleHitInteraction(t); case "scroll": return this._handleScrollInteraction(t); case "activate": case "deactivate": return this._handleActivationInteraction(t) } } _handleHitInteraction(e) { if (this._isHandlingTransitionRequest) return; const t = this.currentSlide; if (e.boxId && t && "presenterPerspective" === this.mode) { const n = o.findBox(t.boxes, t=>t.id === e.boxId); if (n && n.requestForHit) return void this._enqueueTransitionRequest(n.requestForHit) } this._enqueueTransitionRequest({ kind: "forward" }) } _handleScrollInteraction(e) { if (this._isHandlingTransitionRequest) return; if (!this._currentSlide) return; const {boxId: t, scrollOffset: n} = e; this._changeState([e=>i.mergeSlideState(e, { boxes: [{ id: t, scrollOffset: n }] }), this._setMode("presenterPerspective"), this._updatePresenterPerspectiveState()]) } _handleActivationInteraction(e) { "activate" === e.kind ? this.mode = "presenterPerspective" : "deactivate" === e.kind && (this.mode = "presentation") } _changeState(e, t=0) { return r(this, void 0, void 0, (function*() { const n = this._disablesAnimations ? 0 : this.baseDuration * t; this.emit({ type: "stateWillChange", slideshow: this }), this._slideState = e.reduce((e,t)=>t(e), this._slideState), yield Promise.all(this._presenters.map(e=>e.performStateChange(this._slideState, { duration: n, easing: "easeInOutCubic" }))), this.emit({ type: "stateDidChange", slideshow: this }) } )) } get mode() { var e; return null !== (e = this._slideState.mode) && void 0 !== e ? e : "presentation" } set mode(e) { this._enqueueAsyncJob(()=>this._changeState([this._setMode(e), this._updatePresenterPerspectiveState()])) } _setMode(e) { return t=>i.mergeSlideState(t, { mode: e }) } _updatePresenterPerspectiveState() { const e = this._currentSlide; return t=>i.mergeSlideState(t, "presenterPerspective" === t.mode ? null == e ? void 0 : e.presenterPerspectiveStates : null == e ? void 0 : e.revertedPresenterPerspectiveStates) } _enqueueTransitionRequest(e) { return this._numberOfPendingTransitionRequests >= 1 ? Promise.resolve({ ignored: !0 }) : (this._numberOfPendingTransitionRequests += 1, new Promise((t,n)=>{ this._enqueueAsyncJob(()=>(this._isHandlingTransitionRequest = !0, this._numberOfPendingTransitionRequests -= 1, this.emit({ type: "transitionStart", request: e, slideshow: this }), this._handleTransitionRequest(e).then(()=>{ t({}) } ).catch(e=>{ n(e) } ).then(()=>{ this.emit({ type: "transitionEnd", request: e, slideshow: this }), this._isHandlingTransitionRequest = !1, this._preloadNextSlideTransition(), this.isShowingNothing && this.emit({ type: "finish", slideshow: this }) } ))) } )) } _handleTransitionRequest(e) { return r(this, void 0, void 0, (function*() { if ("changeSlideSize" === e.kind) return void (yield this._handleChangeSlideSizeRequest(e.slideSize)); if ("changeAppearance" === e.kind) return void (yield this._handleChangeAppearanceRequest(e.appearanceId)); if (this.isShowingEndingScreen) return void (yield this._handleTransitionRequestFromEndingScreen(e)); if (yield this._tryPerformInSlideAnimations(e)) return; let t = e; for (; t; ) t = yield this._performSlideTransitionByRequest(t, { isAutomaticallyRequested: t !== e }) } )) } _performSlideTransitionByRequest(e, t={}) { var n, i, o, a, s; return r(this, void 0, void 0, (function*() { const r = this._currentSlide , l = this.getTransition(e, r); return l && l.sourceSlide !== l.targetSlide ? (t.isAutomaticallyRequested || (yield this._changeState([this._setMode("presentation")], this.restoreSlideDurationMultiplier)), yield Promise.all([this._performTransition(l), l.targetSlide ? Promise.resolve() : this._presentEndingScreen(r, { duration: this.baseDuration * this.presentEndingScreenDurationMultiplier })]), t.isAutomaticallyRequested || (yield this._changeState([()=>({})], this.restoreSlideDurationMultiplier)), null !== (i = null === (n = l.targetSlide) || void 0 === n ? void 0 : n.autoForwarding) && void 0 !== i && i && "backward" !== e.kind && "fastBackward" !== e.kind ? { kind: "forward" } : null === (a = null === (o = l.targetSlide) || void 0 === o ? void 0 : o.autoBackwarding) || void 0 === a || !a || "backward" !== e.kind && "fastBackward" !== e.kind ? "present" === e.kind && e.viaIntro && l.targetSlide && !(null === (s = l.targetSlide.aliases) || void 0 === s ? void 0 : s.some(t=>"startOfTopic" === t.kind && t.topicId === e.topicId)) ? { kind: "present", topicId: e.topicId } : null : { kind: "backward" }) : null } )) } _handleChangeSlideSizeRequest(e) { return r(this, void 0, void 0, (function*() { e !== this._slideSize && (yield this._changeSlideAppearanceOrDimension(()=>{ this._slideSize = e } )) } )) } _handleChangeAppearanceRequest(e) { return r(this, void 0, void 0, (function*() { e !== this._slideAppearanceId && (yield this._changeSlideAppearanceOrDimension(()=>{ this._slideAppearanceId = e } )) } )) } _changeSlideAppearanceOrDimension(e) { return r(this, void 0, void 0, (function*() { const t = this._currentSlide; if (!t) return; if (!t.aliases || 0 === t.aliases.length) return; const n = t.aliases[0]; this._templateSlides.clear(), this._slideStore.clear(), e(); const r = this.getSlideByAlias(n); if (!r) throw new Error("Failed to find the target slide after changing slide theme."); const i = this.mode; "presenterPerspective" === i && (yield this._changeState([this._setMode("presentation")])), yield this._performTransition({ effect: "dissolve", duration: this.baseDuration, baseDuration: this.baseDuration, sourceSlide: t, targetSlide: r }), "presenterPerspective" === i && (yield this._changeState([this._setMode("presenterPerspective"), this._updatePresenterPerspectiveState()])) } )) } _preloadNextSlideTransition() { if (null === this._currentSlide) return; const e = this.getTransition({ kind: "forward" }, this._currentSlide); if (e && e.sourceSlide !== e.targetSlide) for (const t of this._presenters) t.preloadTransition && t.preloadTransition(e) } _handleTransitionRequestFromEndingScreen(e) { return r(this, void 0, void 0, (function*() { if ("forward" === e.kind) yield this._dismissEndingScreen({ animated: !0, duration: this.baseDuration * this.dismissEndingScreenDurationMultiplier }); else if ("backward" === e.kind) { const e = this._slideBeforeEndingScreen; yield this._dismissEndingScreen({ animated: !1, duration: 0 }), yield this._performTransition({ effect: "none", duration: 0, baseDuration: this.baseDuration, sourceSlide: null, targetSlide: e }) } } )) } _tryPerformInSlideAnimations(e) { return r(this, void 0, void 0, (function*() { const t = this._currentSlide; if (!t) return !1; const n = d.computeMultistepChange(e, t, this._slideState); return !(!n || 0 === Object.keys(n).length) && (yield this._changeState([e=>i.mergeSlideState(e, n), this._setMode("presentation"), this._updatePresenterPerspectiveState()], this.inSlideAnimationDurationMultiplier), !0) } )) } _performTransition(e) { return r(this, void 0, void 0, (function*() { this._isPerformingTransition = !0, yield Promise.all(this._presenters.map(t=>t.performTransition(e))), this._isPerformingTransition = !1, this._currentSlide = e.targetSlide } )) } _presentEndingScreen(e, t) { return r(this, void 0, void 0, (function*() { const n = this._presenters.filter(e=>"presentEndingScreen"in e); if (n.length <= 0) return; if (!this._contentProvider.getEndingScreenContent) return; const r = yield this._contentProvider.getEndingScreenContent(); r && (this._slideBeforeEndingScreen = e, this._isPerformingEndingScreenTransition = !0, yield Promise.all(n.map(e=>e.presentEndingScreen(r, this.slideSize, t))), this._isPerformingEndingScreenTransition = !1) } )) } _dismissEndingScreen(e) { return r(this, void 0, void 0, (function*() { this._presenters.filter(e=>"presentEndingScreen"in e).length <= 0 || (this._isPerformingEndingScreenTransition = !0, yield Promise.all(this._presenters.filter(e=>"dismissEndingScreen"in e).map(t=>t.dismissEndingScreen(e))), this._isPerformingEndingScreenTransition = !1), this._slideBeforeEndingScreen = null } )) } on(e, t) { var n; const r = null !== (n = this.eventCallbacks.get(e)) && void 0 !== n ? n : []; this.eventCallbacks.set(e, [...r, t]) } off(e, t) { var n; let r = null !== (n = this.eventCallbacks.get(e)) && void 0 !== n ? n : []; r = r.filter(e=>e !== t), this.eventCallbacks.set(e, r) } emit(e) { const t = this.eventCallbacks.get(e.type); if (t) for (const n of t) n(e) } } }, 257: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.hash = t.SlideStore = void 0; function r(e) { var t; return `${e.kind}:${null !== (t = e.index) && void 0 !== t ? t : "x"}:${e.topicId}` } t.SlideStore = class { constructor() { this._slides = new Map, this._slideGenerations = new Map } getSlide(e) { var t; return null !== (t = this._slides.get(r(e))) && void 0 !== t ? t : null } setSlide(e, t) { this._slides.set(r(e), t) } hasSlidesGeneratedForTopic(e) { return this._slideGenerations.has(e) } getSlidesGeneratedForTopic(e) { var t, n; return null !== (n = null === (t = this._slideGenerations.get(e)) || void 0 === t ? void 0 : t.slides) && void 0 !== n ? n : [] } addSlideGeneratedForTopic(e, t) { var n; const r = null !== (n = this._slideGenerations.get(e)) && void 0 !== n ? n : { slides: [] }; r.slides.push(t), this._slideGenerations.set(e, r) } clear() { this._slides = new Map, this._slideGenerations = new Map } } , t.hash = r }, 258: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.generateSlideFromDescriptor = t.generatePresentationalSlidesFor = t.getTopicIdForGeneratingSlideByAlias = t.generateTemplateSlideFor = void 0; const r = n(5) , i = n(159) , o = n(15) , a = n(166) , s = n(42) , l = n(158) , u = n(109); function c(e, t, n, o, a) { var s, l; if (!e.type || !e.alias) return null; const {alias: u, type: c, layoutOptions: d, autoForwarding: f, autoBackwarding: h} = e , {topic: {id: p}} = o , g = a(c, p); if (!g) throw new Error(`Unable to obtain template slide for type "${c}" and topicId "${p}"`); let m = Object.assign(Object.assign({}, g), { aliases: [...null !== (s = g.aliases) && void 0 !== s ? s : []] }); return r.addSlideAliases(m, u), (null == t ? void 0 : t.alias) && (m.previousSlide = t.alias), (null == n ? void 0 : n.alias) && (m.nextSlide = n.alias), (null == t ? void 0 : t.nextSlide) && r.addSlideAliases(m, t.nextSlide), (null == n ? void 0 : n.previousSlide) && r.addSlideAliases(m, n.previousSlide), (null == n ? void 0 : n.previousSlide2) && r.addSlideAliases(m, n.previousSlide2), void 0 !== f && (m.autoForwarding = f), void 0 !== h && (m.autoBackwarding = h), m.layout in i.layoutEngines && (m = null !== (l = i.layoutEngines[m.layout].generatePresentationalSlide(m, o, d)) && void 0 !== l ? l : m), m } t.generateTemplateSlideFor = function(e, t, n={}) { var a, u, c, d; const f = o.appearanceOf(null !== (a = n.appearanceId) && void 0 !== a ? a : "default") , h = null !== (u = n.slideSize) && void 0 !== u ? u : r.slideSize_16_9 , p = o.dimensionOf(h) , {topic: {id: g}, parentTopicId: m, topicLevel: v} = t , y = l.computeSlideLayout(e, h, t) , b = { type: e, layout: y, topicId: g, parentTopicId: m, subtopics: t.subtopics.map(e=>e.id), headerTopicId: null === (c = t.headerTopic) || void 0 === c ? void 0 : c.id, calloutTopicId: null === (d = t.calloutTopic) || void 0 === d ? void 0 : d.id, topicLevel: v, boxes: [], width: h.width, height: h.height }; return y && y in i.layoutEngines && i.layoutEngines[y].layoutTemplateSlide(b, t, { dimension: p, appearance: f }), s.disposeTextMeasurementHelpers(), b } , t.getTopicIdForGeneratingSlideByAlias = function(e, t) { var n, r; if ("introOfSummary" === e.kind || "outroOfSummary" === e.kind) return t.getParentTopicId(e.topicId); if ("introOfTopic" === e.kind || "outroOfTopic" === e.kind) { const i = t.getParentTopicId(e.topicId); if (!i || (null === (r = null === (n = t.getFloatingTopics) || void 0 === n ? void 0 : n.call(t)) || void 0 === r ? void 0 : r.includes(e.topicId))) { const n = u.computeRootTopics(t) , {previousSiblingTopicId: r, nextSiblingTopicId: i} = u.computeSiblingTopics(e.topicId, n); return "introOfTopic" === e.kind ? r : i } return i } return e.topicId } , t.generatePresentationalSlidesFor = function(e, t) { var n, r; const i = a.describeSlideSequenceForTopic(e) , o = []; for (let a = 0; a < i.length; a++) { const s = c(i[a], null !== (n = i[a - 1]) && void 0 !== n ? n : null, null !== (r = i[a + 1]) && void 0 !== r ? r : null, e, t); s && o.push(s) } return o } , t.generateSlideFromDescriptor = c }, 259: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeTransitionEffect = t.doComputeTransition = t.findNonSkippedSlide = t.findTargetSlideForFastForwardTransition = t.findTargetSlideForFastBackwardTransition = t.findTargetSlideForPresentTransition = t.findTargetSlideForBackwardTransition = t.findTargetSlideForForwardTransition = t.computeTransition = void 0; const r = n(5); function i(e, t) { if (!t) return e.getStartingSlide(); const n = t.nextSlide ? e.getSlideByAlias(t.nextSlide) : null; return u(e, n, e=>e.nextSlide) } function o(e, t) { var n; if (!t) return null; const r = t.previousSlide ? e.getSlideByAlias(t.previousSlide) : null; return null !== (n = u(e, r, e=>e.previousSlide)) && void 0 !== n ? n : t } function a(e, t, n, r) { var i; let o = null; return n && r && (o = e.getSlideByAlias({ kind: "introOfTopic", topicId: n }), o === t && (o = null)), null !== (i = null != o ? o : e.getStartingSlide(n)) && void 0 !== i ? i : t } function s(e, t, n) { var r; const i = null != n ? n : null == t ? void 0 : t.topicId; if (!i) return null; const o = null !== (r = e.getSlideByAlias("summary" === (null == t ? void 0 : t.type) ? { kind: "introOfSummary", topicId: i } : { kind: "introOfTopic", topicId: i })) && void 0 !== r ? r : e.getSlideByAlias({ kind: "startOfTopic", topicId: i }); return null != o ? o : t } function l(e, t, n) { var r; const i = null != n ? n : null == t ? void 0 : t.topicId; if (!i) return null; const o = null !== (r = e.getSlideByAlias("summary" === (null == t ? void 0 : t.type) ? { kind: "outroOfSummary", topicId: i } : { kind: "outroOfTopic", topicId: i })) && void 0 !== r ? r : e.getSlideByAlias({ kind: "endOfTopic", topicId: i }); return null != o ? o : t } function u(e, t, n) { for (; t && e.isSlideSkipped(t); ) { const r = n(t); t = r ? e.getSlideByAlias(r) : null } return t } function c(e, t, n, i, o={}) { var a, s; if (n === i) return null; const l = o.disablesEffect ? { effect: "none", duration: 0 } : f(t, n, i) , u = Object.assign(Object.assign({}, l), { baseDuration: t, sourceSlide: n, targetSlide: i }); return !o.disablesSourceSlideAnimations && n && (u.sourceSlideAnimations = n.leavingAnimations), !o.disablesTargetSlideAnimations && i && (u.targetSlideEnteringState = i.enteringStates, null === (a = i.additionalEnteringStates) || void 0 === a || a.forEach(t=>{ d(e, n, t.when) && (u.targetSlideEnteringState = r.mergeSlideState(u.targetSlideEnteringState, t.state)) } ), null === (s = i.enteringAnimations) || void 0 === s || s.forEach(t=>{ d(e, n, t.when) && (u.targetSlideAnimations || (u.targetSlideAnimations = []), u.targetSlideAnimations.push(t)) } )), u } function d(e, t, n) { return !n || (!n.request || n.request === e.kind) && ((!n.sourceSlideType || n.sourceSlideType === (null == t ? void 0 : t.type)) && (!n.sourceSlideTopicId || n.sourceSlideTopicId === (null == t ? void 0 : t.topicId))) } function f(e, t, n) { return "topic" !== (null == n ? void 0 : n.type) || "centralTopic" != (null == n ? void 0 : n.topicLevel) && "floatingTopic" != (null == n ? void 0 : n.topicLevel) ? t && n ? t.topicId === n.topicId ? "list" === t.type && "topic" === n.type ? { effect: "magicMove", duration: 2.5 * e } : t.type === n.type ? { effect: "animateInSlide", duration: 1.5 * e } : { effect: "magicMove", duration: 2.5 * e } : (t.topicId === n.parentTopicId || (n.topicId, t.parentTopicId), { effect: "magicMove", duration: 2.5 * e }) : { effect: "dissolve", duration: e } : { effect: "dissolve", duration: 1.5 * e } } t.computeTransition = function(e, t, n, r, u={}) { switch (t.kind) { case "present": return c(t, n, r, a(e, r, t.topicId, t.viaIntro), { disablesEffect: u.disablesAnimations, disablesSourceSlideAnimations: u.disablesAnimations, disablesTargetSlideAnimations: !!t.viaIntro || u.disablesAnimations }); case "forward": return c(t, n, r, i(e, r), { disablesEffect: u.disablesAnimations, disablesSourceSlideAnimations: u.disablesAnimations, disablesTargetSlideAnimations: u.disablesAnimations }); case "backward": return c(t, n, r, o(e, r), { disablesEffect: !0, disablesSourceSlideAnimations: !0, disablesTargetSlideAnimations: !0 }); case "fastBackward": return c(t, n, r, s(e, r, t.topicId), { disablesEffect: u.disablesAnimations, disablesSourceSlideAnimations: !0, disablesTargetSlideAnimations: !0 }); case "fastForward": return c(t, n, r, l(e, r, t.topicId), { disablesEffect: u.disablesAnimations, disablesSourceSlideAnimations: u.disablesAnimations, disablesTargetSlideAnimations: u.disablesAnimations }); case "changeAppearance": case "changeSlideSize": return null } } , t.findTargetSlideForForwardTransition = i, t.findTargetSlideForBackwardTransition = o, t.findTargetSlideForPresentTransition = a, t.findTargetSlideForFastBackwardTransition = s, t.findTargetSlideForFastForwardTransition = l, t.findNonSkippedSlide = u, t.doComputeTransition = c, t.computeTransitionEffect = f }, 260: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeUserSlideVisibility = t.computeDefaultSummarySlideVisibility = t.computeExitListSlideVisibility = t.computeDefaultListSlideVisibility = t.computeDefaultTopicSlideVisibilityByContent = t.computeDefaultTopicSlideVisibilityByTopicLevel = t.computeSlideVisibility = void 0; const r = n(5); function i(e, t) { var n, r, i, s, u; const d = t.getSlideContent(e.topicId); if (!d) return "skip"; const {topic: f, topicLevel: h} = d; switch (e.type) { case "topic": return null !== (r = null !== (n = c(f.topicSlide)) && void 0 !== n ? n : o(h)) && void 0 !== r ? r : a(e, t); case "list": return null !== (s = null !== (i = c(f.listSlides)) && void 0 !== i ? i : l(e, t)) && void 0 !== s ? s : "show"; case "summary": return null !== (u = c(f.summarySlide)) && void 0 !== u ? u : "show" } } function o(e) { return "centralTopic" === e || "mainTopic" === e || "floatingTopic" === e ? "show" : null } function a(e, t) { var n, o; const a = t.getSlideByAlias({ kind: "introOfTopic", topicId: e.topicId }); if (!a || a === e) return "show"; if ("skip" === i(a, t)) return "show"; const s = null !== (n = e.contentFeatures) && void 0 !== n ? n : [] , l = null !== (o = a.contentFeatures) && void 0 !== o ? o : []; return s.some(e=>l.every(t=>!r.isSlideContentFeatureCoveredBy(e, t))) ? "show" : "skip" } function s() { return "show" } function l(e, t) { var n, r; const o = null === (n = e.aliases) || void 0 === n ? void 0 : n.find(e=>"outroOfTopic" === e.kind); if (!o) return null; const a = e , s = o; function l(e) { return "introOfTopic" === e.kind && e.topicId === s.topicId } let u = a.previousSlide ? t.getSlideByAlias(a.previousSlide) : null; for (; null !== u && !(null === (r = u.aliases) || void 0 === r ? void 0 : r.some(l)); ) { if ("skip" !== i(u, t)) return "show"; u = u.previousSlide ? t.getSlideByAlias(u.previousSlide) : null } return u ? "skip" : null } function u() { return "show" } function c(e) { return "skip" === e ? "skip" : "show" === e ? "show" : null } t.computeSlideVisibility = i, t.computeDefaultTopicSlideVisibilityByTopicLevel = o, t.computeDefaultTopicSlideVisibilityByContent = a, t.computeDefaultListSlideVisibility = s, t.computeExitListSlideVisibility = l, t.computeDefaultSummarySlideVisibility = u, t.computeUserSlideVisibility = c }, 261: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.makeAsyncQueue = void 0, t.makeAsyncQueue = function() { const e = []; let t = !1; const n = ()=>{ if (t) return; const r = e.shift(); r && (t = !0, r().then(()=>{ t = !1, n() } ).catch(()=>{ t = !1, n() } )) } ; return t=>{ e.push(t), n() } } }, 262: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.PresentationView = void 0; const i = n(5) , o = n(263) , a = n(271) , s = n(12) , l = n(172) , u = n(76) , c = n(274) , d = n(50) , f = n(173) , h = n(33); class p extends u.View { constructor(e={}) { var t; super(e), this.allowsActivatingPresenterPerspectiveMode = !1, this.allowsRenderingHitRegions = !0, this._mode = "presentation", this._slidePresentationState = {}, this._hitRegionBoxId = null, this._isHandlingScrollEvent = !1, this._millisecondsForTimeoutWaitingScroll = 600, this._endingScreenView = null, this._eventListener = e=>{ switch (e.type) { case "click": return this._onClick(e); case "mousemove": return this._onMouseMove(e); case "mouseenter": return this._onMouseEnter(); case "mouseleave": return this._onMouseLeave() } } , this._pointerMovementStartPoint = null, this._thresholdDistanceForPointerMovementActivatingPresenterPerspectiveMode = 100, this._timeoutToDeactivatePresenterPerspectiveMode = null, this._millisecondsForTimeoutToDeactivatePresenterPerspectiveMode = 5e3, this._slideView = this._createSlideView(null !== (t = e.initialSlide) && void 0 !== t ? t : null) } get slideView() { return this._slideView } get presentationState() { return this._slidePresentationState } startCountdownToDeactivatePresenterPerspectiveMode() { this._startCountdownToDeactivatePresenterPerspectiveMode() } discardCountdownToDeactivatePresenterPerspectiveMode() { this._discardCountdownToDeactivatePresenterPerspectiveMode() } createViewElement() { const e = document.createElement("div"); return e.style.userSelect = "none", e.style.backgroundColor = "#000", this._addStylesViaCSS(e), e } _addStylesViaCSS(e) { const t = `pancake-presentation-view-${(new Date).getTime()}-${Math.floor(1e3 * Math.random())}`; e.classList.add(t); const n = this._makeStyleSheet(t) , r = document.createElement("style"); r.setAttribute("type", "text/css"), r.textContent = n, e.appendChild(r) } _makeStyleSheet(e) { return `.${e} ::-webkit-scrollbar { display: none; }` } get contentEl() { var e; return null !== (e = this._contentEl) && void 0 !== e ? e : this._contentEl = this.createContentElement() } createContentElement() { const e = document.createElement("div"); return e.style.position = "absolute", e.style.transformOrigin = "0 0", e.style.backgroundColor = "#000", this.el.appendChild(e), e } update() { super.update(), this.slideView.slide && this.layout(this.slideView.slide.width, this.slideView.slide.height), this._slidePresentationState.showCursor = this.allowsRenderingHitRegions, this._slidePresentationState.hitRegions = this._computeHitRegionsState(), this.slideView.update(), this.connected && (this.el.style.cursor = "presenterPerspective" === this._mode && this._slidePresentationState.showCursor ? "" : "none") } layout(e, t) { const n = this.el.clientWidth , r = this.el.clientHeight , i = Math.round(1e4 * Math.min(n / e, r / t)) / 1e4 , o = { x: (n - e * i) / 2, y: (r - t * i) / 2 }; this.contentEl.style.left = s.toCSSLength(o.x), this.contentEl.style.top = s.toCSSLength(o.y), this.contentEl.style.width = s.toCSSLength(e), this.contentEl.style.height = s.toCSSLength(t), this.contentEl.style.transform = `scale(${i}, ${i})` } performTransition(e) { var t, n; return r(this, void 0, void 0, (function*() { this._discardCountdownToDeactivatePresenterPerspectiveMode(), this._hitRegionBoxId = null; const r = new a.AnimationExecutor(null !== (t = e.sourceSlideAnimations) && void 0 !== t ? t : []) , i = new a.AnimationExecutor(null !== (n = e.targetSlideAnimations) && void 0 !== n ? n : []) , s = this.slideView; yield r.performAnimationsOnStage(e.baseDuration, "preTransition", s); const l = this._createTargetSlideViewForTransition(e, s) , u = this.computeTransitionEffect(e, s, l); yield Promise.all([o.performTransitionEffect(e.duration, u, s, l), r.performAnimationsOnStage(e.duration, "transition", s), i.performAnimationsOnStage(e.duration, "transition", l)]), s != l && this._destroySlideView(s), yield i.performAnimationsOnStage(e.baseDuration, "postTransition", l), this._slideView = l, this._slideView.slide = e.targetSlide, this._slideView.update(), "presenterPerspective" === this._mode && this._startCountdownToDeactivatePresenterPerspectiveMode() } )) } _createTargetSlideViewForTransition(e, t, n={}) { if (this._shouldReuseSlideViewForTransition(e)) return t; { const t = e.targetSlideEnteringState; return this._createSlideView(e.targetSlide, Object.assign({ initialState: t }, n)) } } _shouldReuseSlideViewForTransition(e) { if ("animateInSlide" === e.effect) return !0; if ("none" === e.effect) { const {sourceSlide: t, targetSlide: n} = e; return (null == t ? void 0 : t.type) === (null == n ? void 0 : n.type) && (null == t ? void 0 : t.topicId) === (null == n ? void 0 : n.topicId) } return !1 } preloadTransition(e) { var t; return r(this, void 0, void 0, (function*() { const n = this._createSlideView(this.slideView.slide, { initialState: this.slideView.slideState, belowAll: !0 }) , r = new a.AnimationExecutor(null !== (t = e.sourceSlideAnimations) && void 0 !== t ? t : []); yield r.performAnimationsOnStage(0, "preTransition", n); const i = this._createTargetSlideViewForTransition(e, n, { belowAll: !0 }); this.computeTransitionEffect(e, n, i, { force: !0 }), this._destroySlideView(n), n != i && this._destroySlideView(i) } )) } computeTransitionEffect(e, t, n, r={}) { let i = this._computedTransitionEffect; return !r.force && i && f.isEqual(i.transition, e) || (i = { effect: o.computeTransitionEffect(e, t, n), transition: e }, this._computedTransitionEffect = i), i.effect } _createSlideView(e, {initialState: t, belowAll: n}={}) { const r = new l.SlideView({ superview: this }); return r.positionMode = "manual", e && this.layout(e.width, e.height), n ? this.contentEl.insertBefore(r.el, this.contentEl.firstElementChild) : this.contentEl.appendChild(r.el), r.slide = e, t && (r.slideState = t), r.update(), this.connected && r.connect(), r } _destroySlideView(e) { this.connected && e.disconnect(), e.el.parentElement == this.contentEl && this.contentEl.removeChild(e.el) } presentEndingScreen(e, t, n={}) { var i, o; return r(this, void 0, void 0, (function*() { const r = null !== (i = this._endingScreenView) && void 0 !== i ? i : this._endingScreenView = new c.EndingScreenView({ superview: this, size: t }); r.content = e, this.contentEl.appendChild(r.el), r.update(), r.connect(), yield r.present(null !== (o = n.duration) && void 0 !== o ? o : 1e3) } )) } dismissEndingScreen(e={}) { var t; return r(this, void 0, void 0, (function*() { const n = this._endingScreenView; n && (!1 !== e.animated && (yield n.dismiss(null !== (t = e.duration) && void 0 !== t ? t : 1e3)), n.disconnect(), this.contentEl.removeChild(n.el), this._endingScreenView = null) } )) } performStateChange(e, t) { var n; return r(this, void 0, void 0, (function*() { this._discardCountdownToDeactivatePresenterPerspectiveMode(), this._mode = null !== (n = e.mode) && void 0 !== n ? n : "presentation", this.slideView.slideState = e, t && t.duration && t.duration > 0 ? yield new d.ViewAnimator({ duration: t.duration, easing: t.easing }).animate(()=>{ this.update() } ).play() : this.update(), "presenterPerspective" === this._mode && this._startCountdownToDeactivatePresenterPerspectiveMode() } )) } groupViewDidGetScrolled(e) { var t; this._handleScrollEvent(); const n = e.box.id , r = e.scrollOffset; null === (t = this.delegate) || void 0 === t || t.presenterDidReceivePointerInteraction(this, { kind: "scroll", boxId: n, scrollOffset: r }) } boxViewDidGetHit(e) { var t; const n = e.box.id; null === (t = this.delegate) || void 0 === t || t.presenterDidReceivePointerInteraction(this, { kind: "hit", boxId: n }) } boxViewDidGetPointerEntered(e) { this._hitRegionBoxId = e.box.id, "hovered" === this._hitRegionTrackingMode && this.update() } boxViewDidGetPointerLeft(e) { this._hitRegionBoxId === e.box.id && (this._hitRegionBoxId = null, "hovered" === this._hitRegionTrackingMode && this.update()) } boxViewDidGetPointerCaptured(e) { this.slideView.enterHitRegionActiveEffect(e) } boxViewDidGetPointerReleased(e) { this.slideView.cancelHitRegionActiveEffect(e) } connect() { super.connect(), this.el.addEventListener("click", this._eventListener), this.el.addEventListener("mousemove", this._eventListener), this.el.addEventListener("mouseenter", this._eventListener), this.el.addEventListener("mouseleave", this._eventListener), this.update() } disconnect() { this.el.removeEventListener("mouseleave", this._eventListener), this.el.removeEventListener("mouseenter", this._eventListener), this.el.removeEventListener("mousemove", this._eventListener), this.el.removeEventListener("click", this._eventListener), super.disconnect(), this.update() } _handleScrollEvent() { clearTimeout(this._scrollingHandlerTimer), this._isHandlingScrollEvent || (this._isHandlingScrollEvent = !0, this.update()), this._scrollingHandlerTimer = setTimeout(()=>{ this._isHandlingScrollEvent = !1, this.update() } , this._millisecondsForTimeoutWaitingScroll) } _onClick(e) { const t = this.delegate; t && (e.stopPropagation(), t.presenterDidReceivePointerInteraction(this, { kind: "hit" }), this._startCountdownToDeactivatePresenterPerspectiveMode()) } _onMouseMove(e) { var t; if (this.allowsActivatingPresenterPerspectiveMode) if ("presenterPerspective" === this._mode) this._pointerMovementStartPoint = null; else { const n = this._computePointerLocation(e); this._pointerMovementStartPoint ? this._isPointBeyondThresholdDistance(n, this._pointerMovementStartPoint, this._thresholdDistanceForPointerMovementActivatingPresenterPerspectiveMode) && (this._hitRegionTrackingMode = "hovered", null === (t = this.delegate) || void 0 === t || t.presenterDidReceivePointerInteraction(this, { kind: "activate" })) : this._pointerMovementStartPoint = n } else this._pointerMovementStartPoint = null; this._startCountdownToDeactivatePresenterPerspectiveMode() } onTwoFingerTap() { var e; this.allowsActivatingPresenterPerspectiveMode && (this._hitRegionTrackingMode = "all", null === (e = this.delegate) || void 0 === e || e.presenterDidReceivePointerInteraction(this, { kind: "activate" }), this._startCountdownToDeactivatePresenterPerspectiveMode()) } _computePointerLocation(e) { return { x: e.clientX, y: e.clientY } } _startCountdownToDeactivatePresenterPerspectiveMode() { var e, t; this._discardCountdownToDeactivatePresenterPerspectiveMode(), this.allowsActivatingPresenterPerspectiveMode && ("hovered" === this._hitRegionTrackingMode && null !== (t = null === (e = this._slidePresentationState.hitRegions) || void 0 === e ? void 0 : e.length) && void 0 !== t && t || (this._timeoutToDeactivatePresenterPerspectiveMode = setTimeout(()=>{ var e; this._pointerMovementStartPoint = null, null === (e = this.delegate) || void 0 === e || e.presenterDidReceivePointerInteraction(this, { kind: "deactivate" }) } , this._millisecondsForTimeoutToDeactivatePresenterPerspectiveMode))) } _discardCountdownToDeactivatePresenterPerspectiveMode() { const e = this._timeoutToDeactivatePresenterPerspectiveMode; e && (clearTimeout(e), this._timeoutToDeactivatePresenterPerspectiveMode = null) } _isPointBeyondThresholdDistance(e, t, n) { return Math.abs(e.x - t.x) > n || Math.abs(e.y - t.y) > n } _onMouseEnter() { this._startCountdownToDeactivatePresenterPerspectiveMode() } _onMouseLeave() { this._startCountdownToDeactivatePresenterPerspectiveMode() } _computeHitRegionsState() { var e, t, n, r, o, a, s; const l = [] , u = this.slideView.slide , c = this.slideView.slideState , d = null !== (n = null !== (e = null == c ? void 0 : c.hitRegionHPadding) && void 0 !== e ? e : null === (t = this.slideView.slide) || void 0 === t ? void 0 : t.hitRegionHPadding) && void 0 !== n ? n : 0 , f = null !== (a = null !== (r = null == c ? void 0 : c.hitRegionVPadding) && void 0 !== r ? r : null === (o = this.slideView.slide) || void 0 === o ? void 0 : o.hitRegionVPadding) && void 0 !== a ? a : 0; if (u && c && this.allowsRenderingHitRegions && "presenterPerspective" === this._mode) if ("all" === this._hitRegionTrackingMode) { if (!this._isHandlingScrollEvent) { const e = i.filterBoxes(u.boxes, e=>!!e.requestForHit).map(e=>{ var t; return h.computeHitRegionBounds(e.id, u.boxes, null !== (t = c.boxes) && void 0 !== t ? t : [], { x: 0, y: 0, width: u.width, height: u.height }, d, f) } ).filter(e=>!!e); l.push(...e) } } else if ("hovered" === this._hitRegionTrackingMode) { const e = this._hitRegionBoxId; if (e) { const t = h.computeHitRegionBounds(e, u.boxes, null !== (s = c.boxes) && void 0 !== s ? s : [], { x: 0, y: 0, width: u.width, height: u.height }, d, f); t && (t.opacity = 1, l.push(t)) } } return l } } t.PresentationView = p }, 263: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.performTransitionEffect = t.computeTransitionEffect = void 0; const r = n(264) , i = n(265) , o = n(269) , a = n(270); t.computeTransitionEffect = function(e, t, n) { switch (e.effect) { case "none": return r.computeNoTransitionEffect(); case "animateInSlide": return a.computeAnimateInSlideTransitionEffect(e); case "magicMove": return i.computeMagicMoveTransitionEffect(e, t, n); case "dissolve": return o.computeDissolveTransitionEffect() } } , t.performTransitionEffect = function(e, t, n, s) { switch (t.effect) { case "none": return r.performNoTransitionEffect(); case "animateInSlide": return a.performAnimateInSlideTransitionEffect(e, t, s); case "magicMove": return i.performMagicMoveTransitionEffect(e, t, n, s); case "dissolve": return o.performDissolveTransitionEffect(e, n, s) } } }, 264: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.performNoTransitionEffect = t.computeNoTransitionEffect = void 0, t.computeNoTransitionEffect = function() { return { effect: "none" } } , t.performNoTransitionEffect = function() { return r(this, void 0, void 0, (function*() { return Promise.resolve() } )) } }, 265: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } , i = this && this.__importDefault || function(e) { return e && e.__esModule ? e : { default: e } } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.performMagicMoveTransitionEffect = t.computeMagicMoveTransitionEffect = void 0; const o = i(n(70)) , a = n(75) , s = n(170) , l = n(171) , u = n(12) , c = n(266); function d(e) { var t, n; let r = null !== (t = e.box.opacity) && void 0 !== t ? t : 1 , i = e.superview; for (; i && i instanceof a.BoxView; ) r *= null !== (n = i.box.opacity) && void 0 !== n ? n : 1, i = i.superview; return r } t.computeMagicMoveTransitionEffect = function(e, t, n) { const r = { effect: "magicMove", textDataSet: {}, imageDataSet: {}, hideDataSet: new Set, shapeDataSet: new Set, showDataSet: new Set } , i = t.clone() , o = n.clone() , f = document.createElement("div"); function h(e, t) { var n; return null !== (n = null == t ? void 0 : t.some(t=>{ var n; return "mutate" === t.effect && (null === (n = t.finalState.boxes) || void 0 === n ? void 0 : n.some(t=>t.id === e)) } )) && void 0 !== n && n } f.style.width = "0", f.style.height = "0", f.style.position = "absolute", f.style.left = "0", f.style.top = "0", f.style.pointerEvents = "none", f.style.opacity = "0", f.style.visibility = "hidden", f.style.overflow = "hidden", document.body.insertBefore(f, document.body.firstElementChild), i.el.style.position = "absolute", i.el.style.left = "0", i.el.style.top = "0", o.el.style.position = "absolute", o.el.style.left = "0", o.el.style.top = "0", f.appendChild(i.el), f.appendChild(o.el); const p = new Set; return i.forEachBoxView(f=>{ if (!function(t) { return !function(e, t) { var n, r; return null !== (r = null === (n = null == t ? void 0 : t.boxes) || void 0 === n ? void 0 : n.some(t=>t.id === e)) && void 0 !== r && r }(t, e.targetSlideEnteringState) && !h(t, e.sourceSlideAnimations) && !h(t, e.targetSlideAnimations) }(f.box.id)) return; const g = f.box.id , m = o.getBoxViewById(g); m && f instanceof a.TextView && m instanceof a.TextView ? function(e, n, s) { function l(e) { if (e.superview instanceof a.GroupView) { const t = e.superview.box; if (void 0 === t.overflow || t.contentHeight > t.bounds.height) return t.absBounds } return { x: 0, y: 0, width: t.slide.width, height: t.slide.height } } const u = l(n) , f = l(s) , h = { boxId: e, magicMove: new c.TextMagicMove({ textEl: n.textEl, clipRect: new DOMRect(u.x,u.y,u.width,u.height), rootEl: i.el, opacity: d(n) },{ textEl: s.textEl, clipRect: new DOMRect(f.x,f.y,f.width,f.height), rootEl: o.el, opacity: d(s) }) }; n.superview instanceof a.GroupView && (h.source = { mask: n.superview.computeMaskImage() }), s.superview instanceof a.GroupView && (h.target = { mask: s.superview.computeMaskImage() }), r.textDataSet[e] = h }(g, f, m) : m && f instanceof a.ShapeView && m instanceof a.ShapeView ? r.shapeDataSet.add(g) : m && (f instanceof s.ImageView || f instanceof l.SVGTemplateView) && (m instanceof s.ImageView || m instanceof l.SVGTemplateView) ? function(a, s, l) { const c = { boxId: a } , f = s.box.absBounds , h = l.box.absBounds , p = u.getClippedBoundsOfElement(s.el, i.el) , g = u.getClippedBoundsOfElement(l.el, o.el) , m = d(s) , v = d(l) , y = m > 0 && p.width >= .9 * f.width && p.height >= .9 * f.height , b = v > 0 && g.width >= .9 * h.height && g.height >= .9 * h.height; if (y && b) { const r = s.el.getBoundingClientRect() , i = l.el.getBoundingClientRect() , o = t.getBoxViewById(a); if ("imageSource"in s.box && "imageSource"in l.box && s.box.imageSource === l.box.imageSource || "svg"in s.box && "svg"in l.box && s.box.svg === l.box.svg) o && (c.source = { left: r.x + "px", top: r.y + "px", animeParams: [{ translateX: i.x - r.x, translateY: i.y - r.y, scaleX: i.width / Math.max(1, r.width), scaleY: i.width / Math.max(1, r.width), opacity: v }] }); else { const t = n.getBoxViewById(a); if (o && t) { const n = null == o ? void 0 : o.box.roles.includes("imagePlaceholder") , a = i.width / Math.max(1, r.width) , s = i.height / Math.max(1, r.height) , l = Math.max(a, s); c.source = { left: r.x + "px", top: r.y + "px", animeParams: [{ translateX: i.x - r.x, translateY: i.y - r.y, scaleX: [1, n ? l : a], scaleY: [1, n ? l : s] }, { opacity: [m, 0], duration: n ? .5 * e.duration : e.duration }] }; const u = null == t ? void 0 : t.box.roles.includes("imagePlaceholder") , d = r.width / Math.max(1, i.width) , f = r.height / Math.max(1, i.height) , h = Math.max(d, f); c.target = { left: i.x + "px", top: i.y + "px", animeParams: [{ translateX: [r.x - i.x, 0], translateY: [r.y - i.y, 0], scaleX: [u ? h : d, 1], scaleY: [u ? h : f, 1] }, { opacity: [0, v], duration: u ? .5 * e.duration : e.duration, delay: u ? .5 * e.duration : 0 }] } } } } else { if (y) { if (t.getBoxViewById(a)) { const e = s.el.getBoundingClientRect(); c.source = { left: e.x + "px", top: e.y + "px", animeParams: [{ opacity: v }] } } } if (b) { if (n.getBoxViewById(a)) { const e = l.el.getBoundingClientRect(); c.target = { left: e.x + "px", top: e.y + "px", animeParams: [{ opacity: [0, v] }] } } } } r.imageDataSet[a] = c }(g, f, m) : r.hideDataSet.add(g), p.add(g) } ), o.forEachBoxView(e=>{ p.has(e.box.id) || r.showDataSet.add(e.box.id) } ), document.body.removeChild(f), r } , t.performMagicMoveTransitionEffect = function(e, t, n, i) { return r(this, void 0, void 0, (function*() { const r = o.default.timeline({ easing: "easeInOutQuart", duration: e, autoplay: !1 }); n.stackWith(i); const a = n.el.parentElement , s = document.createElement("div"); s.style.width = "100%", s.style.height = "100%", s.style.position = "absolute", s.style.left = "0", s.style.top = "0", null == a || a.appendChild(s); const l = [] , u = []; function c(e) { const t = n.getBoxViewById(e); if (!t) return; u.push(t.el); const r = t.el.style.visibility; l.push(()=>{ t.el.style.visibility = r } ) } function d(e) { const t = i.getBoxViewById(e); if (!t) return; const n = t.el.style.visibility; t.el.style.visibility = "hidden", l.push(()=>{ t.el.style.visibility = n } ) } n.forEachBoxView(o=>{ const a = o.box.id; t.hideDataSet.has(a) ? function(t) { const i = n.getBoxViewById(t); i && (i.el.style.transform += "translateZ(0)", i.el.style.willChange = "opacity", r.add({ targets: i.el, opacity: 0, duration: .5 * e }, 0)) }(a) : t.shapeDataSet.has(a) ? function(t, i, o) { const a = n.getBoxViewById(t); d(t), r.add({ targets: a.shape, d: [{ value: i.box.shapePath }, { value: o.box.shapePath }], duration: .5 * e }, .5 * e) }(a, o, i.getBoxViewById(a)) : t.imageDataSet[a] ? function(t) { if (t.source) { const i = n.getBoxViewById(t.boxId); if (i) { const n = i.el.cloneNode(!0); s.appendChild(n); const o = n.style; o.left = t.source.left, o.top = t.source.top, o.transformOrigin = "0 0", t.source.animeParams.forEach(t=>{ r.add(Object.assign({ targets: n, duration: e }, t), 0) } ) } } if (t.target) { const n = i.getBoxViewById(t.boxId); if (n) { const i = n.el.cloneNode(!0); s.appendChild(i), i.style.left = t.target.left, i.style.top = t.target.top, i.style.transformOrigin = "0 0", t.target.animeParams.forEach(t=>{ r.add(Object.assign({ targets: i, duration: e }, t), 0) } ) } } c(t.boxId), d(t.boxId) }(t.imageDataSet[a]) : t.textDataSet[a] && function(t) { var n, i; const o = { from: null, to: null }; (null === (n = t.source) || void 0 === n ? void 0 : n.mask) && (o.from = document.createElement("div"), o.from.style.maskImage = t.source.mask, o.from.style.webkitMaskImage = t.source.mask), (null === (i = t.target) || void 0 === i ? void 0 : i.mask) && (o.to = document.createElement("div"), o.to.style.maskImage = t.target.mask, o.to.style.webkitMaskImage = t.target.mask), t.magicMove.play(e, s, r, o), c(t.boxId), d(t.boxId) }(t.textDataSet[a]) } ), i.forEachBoxView(n=>{ const o = n.box.id; t.showDataSet.has(o) && function(t) { const n = i.getBoxViewById(t); n && (n.el.style.transform += "translateZ(0)", n.el.style.willChange = "opacity", r.add({ targets: n.el, opacity: [0, n.el.style.opacity], duration: .5 * e }, .5 * e)) }(o) } ), setTimeout((function() { for (const e of u) e.style.visibility = "hidden"; r.restart() } ), 0), yield r.finished, l.forEach(e=>e()), null == a || a.removeChild(s), n.unstackWith(i) } )) } }, 266: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.TextMagicMove = void 0; const r = n(113) , i = n(267); function o(e) { return (new Array).concat(...e) } function a() { const e = document.createElement("div"); return e.style.position = "absolute", e.style.opacity = "0", e.style.visibility = "0", e.style.width = "0", e.style.height = "0", e } function s(e, t) { if (e === t) return !0; const n = Math.abs(e - t); return n < Number.EPSILON || n <= Number.EPSILON * Math.min(Math.abs(e), Math.abs(t)) } class l { constructor(e) { let t; for (; e; ) { if (e.nodeType == Node.ELEMENT_NODE) { t = e; break } e = e.parentNode } if (t) { const t = getComputedStyle(e); this.background = t.background, this.color = t.color, this.font = t.font, this.opacity = t.opacity, this.writingMode = t.writingMode } else this.background = "", this.color = "black", this.font = "", this.opacity = "1", this.writingMode = "horizontal-tb" } } class u { constructor(e, t) { this.node = e, this.contentRange = t, this.style = new l(e) } } class c { constructor(e, t) { this.from = e, this.to = t } toString() { let e = ""; return this.from ? e += `(${this.from.range.location}, ${this.from.range.length})=>` : e += "(nil, nil)=>", this.to ? e += `(${this.to.range.location}, ${this.to.range.length})` : e += "(nil, nil)", e } } class d { constructor(e) { this.content = "", this.charRects = [], this.unitBreakIndices = new Set, this.zeroKerningIndices = new Set, this.nodeInfos = [], this.nonVisibleRanges = [], this.clippedRanges = [], this.visibleRange = new r.IndexRange(-1,-1); const t = e.textEl; this.clipRect = e.clipRect, this.rootElBBox = e.rootEl.getBoundingClientRect(), this.opacity = e.opacity, this.handleElement(t), this.computeValidRanges(), this.findUnitBreakIndices(); const n = t.getBoundingClientRect() , i = new Range; i.setStartBefore(t), i.setEndAfter(t); const o = i.getBoundingClientRect(); this.containerBBox = new DOMRect(Math.min(n.x, o.x),Math.min(n.y, o.y),Math.max(n.width, o.width),Math.max(n.height, o.height)) } static get kerningTestWrapper() { if (!d._kerningTestWrapper) { const e = a(); e.style.overflow = "hidden", e.style.whiteSpace = "nowrap", d._kerningTestWrapper = e, document.body.appendChild(e) } return d._kerningTestWrapper } handleElement(e) { var t, n; let i = e.firstChild; for (; i && i != e.lastChild; ) switch (i.nodeType) { case Node.TEXT_NODE: { const r = i.nextSibling; r && r.nodeType == Node.TEXT_NODE ? (i.textContent = (null !== (t = i.textContent) && void 0 !== t ? t : "") + (null !== (n = r.textContent) && void 0 !== n ? n : ""), e.removeChild(r)) : i = r; break } default: i = i.nextSibling } const o = Array.prototype.slice.call(e.childNodes, 0); for (const t of o) if (t.nodeType == Node.TEXT_NODE) { const n = t.textContent; if (!n) continue; const i = this.content.length; this.nodeInfos.push(new u(e,new r.IndexRange(i,i + n.length - 1))), this.content += n; const o = new Range; for (let e = 0; e < n.length; ++e) { o.setStart(t, e), o.setEnd(t, e + 1); let n = Array.prototype.slice.call(o.getClientRects()).filter(e=>0 != e.width && 0 != e.height)[0]; n || (n = o.getBoundingClientRect()), n.x -= this.rootElBBox.x, n.y -= this.rootElBBox.y, this.charRects.push(n) } } else if (t.nodeType == Node.ELEMENT_NODE) { "BR" == t.tagName ? this.unitBreakIndices.add(this.content.length) : this.handleElement(t); continue } } findUnitBreakIndices() { for (const e of this.nodeInfos) { if (e.style.writingMode.startsWith("vertical")) for (let t = e.contentRange.start + 1; t <= e.contentRange.end; ++t) { const e = this.charRects[t - 1] , n = this.charRects[t]; Math.abs(e.x - n.x) > e.width / 2 && this.unitBreakIndices.add(t) } else for (let t = e.contentRange.start + 1; t <= e.contentRange.end; ++t) { const e = this.charRects[t - 1] , n = this.charRects[t]; Math.abs(e.y - n.y) > e.height / 2 && this.unitBreakIndices.add(t) } this.unitBreakIndices.add(e.contentRange.upperBound) } for (const e of this.nonVisibleRanges) this.unitBreakIndices.add(e.upperBound); for (const e of this.clippedRanges) this.unitBreakIndices.add(e.upperBound); this.unitBreakIndices.add(this.visibleRange.upperBound), this.unitBreakIndices.delete(0) } computeValidRanges() { const e = this.clipRect.top , t = this.clipRect.right , n = this.clipRect.bottom , i = this.clipRect.left; for (let o = 0; o < this.charRects.length; ++o) { const a = this.charRects[o]; if (a.bottom <= e || a.top >= n || a.right <= i || a.left >= t) { let e = this.nonVisibleRanges[this.nonVisibleRanges.length - 1]; e && e.upperBound === o ? e._end = o : (e = new r.IndexRange(o,o), this.nonVisibleRanges.push(e)) } else { const s = .12 * a.width , l = .12 * a.height; if (a.top + l >= e && a.bottom - l <= n && a.left + s >= i && a.right - s <= t) -1 === this.visibleRange.start && (this.visibleRange._start = o), this.visibleRange._end = o; else { let e = this.clippedRanges[this.clippedRanges.length - 1]; e && e.upperBound == o ? e._end = o : (e = new r.IndexRange(o,o), this.clippedRanges.push(e)) } } } } computeKerning(e) { var t; const n = d.kerningTestWrapper; n.innerHTML = "", n.style.fontKerning = ""; const r = []; for (; e.length > 0; ) { const t = e[0] , i = this.nodeInfos.find(e=>e.contentRange.contains(t)); let o = void 0 , a = 1; i && (o = document.createElement("div"), o.style.font = i.style.font, o.style.writingMode = i.style.writingMode, n.appendChild(o), a = e.findIndex(e=>e >= 0 && !i.contentRange.contains(e)), -1 === a && (a = e.length)), r.push({ nodeInfo: i, testEl: o, indices: e.splice(0, a) }) } const i = []; for (const e of r) for (const n of e.indices) if (n <= 0 || this.unitBreakIndices.has(n) || this.zeroKerningIndices.has(n)) i.push(void 0); else { const r = document.createElement("div"); r.textContent = this.content.substr(n - 1, 2), null === (t = e.testEl) || void 0 === t || t.appendChild(r), i.push(r) } const o = new Range; function a(e) { return (null == e ? void 0 : e.firstChild) ? (o.setStart(e.firstChild, 1), o.setEnd(e.firstChild, 2), o.getBoundingClientRect().width) : 0 } const s = i.map(a); n.style.fontKerning = "none"; const l = i.map(a); return s.map((e,t)=>e - l[t]) } computeUnitStates(e) { const t = this.computeKerning(e.map(e=>e ? e.start : -1)); return e.map((e,n)=>{ if (!e) return; if (-1 === e.start || -1 === e.end) return; const r = this.charRects[e.start]; let i = 0; for (let t = e.start; t <= e.end; ++t) i = Math.max(i, this.charRects[t].height); return { range: e, style: this.nodeInfos.find(t=>t.contentRange.contains(e.start)).style, x: r.x, y: r.y, lineHeight: i, kerning: t[n] } } ) } getVisibleState(e) { return this.visibleRange.contains(e.start) ? { visible: !0, clipped: !1 } : this.clippedRanges.find(t=>t.contains(e.start)) ? { visible: !0, clipped: !0 } : { visible: !1, clipped: !1 } } get visibleContent() { return this.content.substr(this.visibleRange.location, this.visibleRange.length) } } const f = /[^\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,\-./:;<=>?@[\]^_`{|}~\s]+/g; class h { constructor(e, t) { if (this.units = [], null == t) { const t = e; this.fromInfo = t.fromInfo, this.toInfo = t.toInfo, this.units = t.units } else this.fromInfo = new d(e), this.toInfo = new d(t), this.fromInfo.visibleRange.start === this.toInfo.visibleRange.start && this.fromInfo.visibleRange.end === this.toInfo.visibleRange.end && this.fromInfo.content === this.toInfo.content ? this.createUnitIdentical() : this.createUnit() } serialize() { return { fromInfo: this.fromInfo, toInfo: this.toInfo, units: this.units } } static deserialize(e) { return new h(e,null) } createUnitIdentical() { const e = Array.from(new Set([...Array.from(this.fromInfo.unitBreakIndices), ...Array.from(this.toInfo.unitBreakIndices)])).sort((e,t)=>e - t).reduce((e,t)=>{ const n = 0 == e.length ? 0 : e[e.length - 1].upperBound; return e.push(new r.IndexRange(n,t - 1)), e } , new Array) , t = this.fromInfo.computeUnitStates(e) , n = this.toInfo.computeUnitStates(e) , i = []; for (let r = 0; r < e.length; ++r) { const o = e[r] , a = this.fromInfo.getVisibleState(o) , s = this.toInfo.getVisibleState(o); !a.visible || a.clipped || !s.visible || s.clipped ? (a.visible && i.push(new c(t[r],void 0)), s.visible && i.push(new c(void 0,n[r]))) : i.push(new c(t[r],n[r])) } this.units = i } printUnits(e) { let t = ""; for (const n of e) n.from ? t += this.fromInfo.content.substring(n.from.range.location, n.from.range.upperBound) + `(${n.from.range})` : t += "nil", t += "=>", n.to ? t += this.toInfo.content.substring(n.to.range.location, n.to.range.upperBound) + `(${n.to.range})` : t += "nil", t += "\n" } play(e, t, n, r) { var i, o; const l = []; let u = null , c = null; const d = this.fromInfo.clipRect , f = this.toInfo.clipRect , h = a(); h.style.whiteSpace = "nowrap", document.body.appendChild(h); for (const t of this.units) { if (!t.from && !t.to) continue; let a = null , p = null; if (t.from && (a = document.createElement("span"), a.textContent = this.fromInfo.content.substring(t.from.range.location, t.from.range.upperBound), this.styleLayer(a, t.from, t.from.style), a.style.textIndent = t.from.kerning + "px", h.appendChild(a)), t.to && (p = document.createElement("span"), p.textContent = this.toInfo.content.substring(t.to.range.location, t.to.range.upperBound), this.styleLayer(p, t.to, t.to.style), p.style.textIndent = t.to.kerning + "px", h.appendChild(p)), a && p) { const r = t.from.x , i = t.from.y , o = a.clientWidth , u = a.clientHeight , c = t.to.x , d = t.to.y , f = p.clientWidth , h = p.clientHeight; if (!(s(o, f) && s(u, h) && t.from.style.font == t.to.style.font && s(t.from.lineHeight, t.to.lineHeight) && s(t.from.kerning, t.to.kerning) && a.textContent == p.textContent)) n.add({ targets: a, translateX: [0, c - r], translateY: [0, d - i], scaleX: [1, f / o], scaleY: [1, h / u] }, 0), n.add({ targets: p, translateX: [r - c, 0], translateY: [i - d, 0], scaleX: [o / f, 1], scaleY: [u / h, 1] }, 0), n.add({ targets: a, easing: "easeInQuart", opacity: [this.fromInfo.opacity, 0], duration: .12 * e }, 300), n.add({ targets: p, easing: "easeOutQuart", opacity: [0, this.toInfo.opacity], duration: .12 * e }, 300), l.push(a), l.push(p); else { const o = { targets: a, duration: e }; let u = !1; s(c, r) || (o.translateX = [0, c - r], u = !0), s(d, i) || (o.translateY = [0, d - i], u = !0); const f = this.fromInfo.opacity * parseFloat(t.from.style.opacity) , h = this.toInfo.opacity * parseFloat(t.to.style.opacity); s(f, h) || (a.style.opacity = "", o.opacity = [f, h], u = !0), t.from.style.color != t.to.style.color && (o.color = [t.from.style.color, t.to.style.color], u = !0), t.from.style.background != t.to.style.background && (o.background = [t.from.style.background, t.to.style.background], u = !0), u && n.add(o, 0), l.push(a) } } else a ? (u || (u = null !== (i = null == r ? void 0 : r.from) && void 0 !== i ? i : document.createElement("div"), u.style.overflow = "hidden", u.style.position = "absolute", u.style.left = d.x + "px", u.style.top = d.y + "px", u.style.width = d.width + "px", u.style.height = d.height + "px", l.unshift(u)), a.style.transform = `translate(${-d.x}px, ${-d.y}px)`, u.appendChild(a), n.add({ targets: a, opacity: [this.fromInfo.opacity, 0], duration: .5 * e }, 0)) : p && (c || (c = null !== (o = null == r ? void 0 : r.to) && void 0 !== o ? o : document.createElement("div"), c.style.overflow = "hidden", c.style.position = "absolute", c.style.left = f.x + "px", c.style.top = f.y + "px", c.style.width = f.width + "px", c.style.height = f.height + "px", l.unshift(c)), p.style.transform = `translate(${-f.x}px, ${-f.y}px)`, p.style.opacity = "0", c.appendChild(p), n.add({ targets: p, opacity: [0, this.toInfo.opacity], duration: .5 * e }, .5 * e)) } document.body.removeChild(h); for (const e of l) t.appendChild(e) } styleLayer(e, t, n) { e.style.position = "absolute", e.style.left = t.x + "px", e.style.top = t.y + "px", e.style.font = n.font, e.style.background = n.background, e.style.color = n.color, e.style.transformOrigin = "0 0", e.style.whiteSpace = "nowrap", e.style.lineHeight = t.lineHeight + "px", e.style.transform = "translateZ(0)", e.style.willChange = "transform, opacity" } computeWords(e) { const t = [] , n = [0]; e.replace(f, (function(e, t) { return n.push(t), n.push(t + e.length), e } )), n.push(e.length); for (let o = 1; o < n.length; ++o) { let a = n[o - 1] , s = n[o]; for (; a < s; ) { const t = e.charAt(a); if (" " != t && "\t" != t && "\n" != t) break; a += 1 } for (; s > a; ) { const t = e.charAt(s - 1); if (" " != t && "\t" != t && "\n" != t) break; s -= 1 } s > a && t.push(new i.Word(new r.IndexRange(a,s - 1),e)) } return t } createUnit() { const e = this.computeWords(this.fromInfo.visibleContent) , t = this.computeWords(this.toInfo.visibleContent) , n = { inserted: [], deleted: [] }; let i = this.performDiff(e, t, n); function a(e, t) { const n = e.length > 0 ? e[e.length - 1] : void 0; if (n) { let r = n.range.upperBound; for (; r < n.base.length; ) { const e = n.base[r]; if (" " != e && "\t" != e && "\n" != e) break; ++r } if (r === t.range.lowerBound) return n.range._end = t.range._end, e } return e.push(t), e } i = i.concat(this.handleCJKChange(n)); const s = o(n.deleted).reduce(a, new Array) , l = o(n.inserted).reduce(a, new Array); if (l.length > 0 && s.length > 0) { const e = l[0] , t = s[0]; let n = e.value , o = t.value; n.endsWith("...") && n.length > 3 ? (n = n.replace("...", ""), o.startsWith(n) && (i.push({ from: new r.IndexRange(t.range.start,t.range.start + n.length - 1), to: new r.IndexRange(e.range.start,e.range.start + n.length - 1) }), e.range._start += n.length, t.range._start += n.length)) : o.endsWith("...") && o.length > 3 && (o = o.replace("...", ""), n.startsWith(o) && (i.push({ from: new r.IndexRange(t.range.start,t.range.start + o.length - 1), to: new r.IndexRange(e.range.start,e.range.start + o.length - 1) }), e.range._start += o.length, t.range._start += o.length)) } i = i.concat(s.map(e=>({ from: e.range, to: void 0 }))), i = i.concat(l.map(e=>({ to: e.range, from: void 0 }))), i = i.map(e=>{ const t = this.fromInfo.visibleRange.start , n = this.toInfo.visibleRange.start; return e.from && (e.from = new r.IndexRange(e.from.start + t,e.from.end + t)), e.to && (e.to = new r.IndexRange(e.to.start + n,e.to.end + n)), e } ), i = i.concat(this.fromInfo.clippedRanges.map(e=>({ from: e, to: void 0 }))), i = i.concat(this.toInfo.clippedRanges.map(e=>({ from: void 0, to: e }))), i = o(i.map(e=>{ let t = []; const n = e.from; n && (t = t.concat(Array.from(this.fromInfo.unitBreakIndices).filter(e=>e > n.start && e <= n.end).map(e=>e - n.start)), t.push(n.upperBound - n.start)); const i = e.to; i && (t = t.concat(Array.from(this.toInfo.unitBreakIndices).filter(e=>e > i.start && e <= i.end).map(e=>e - i.start)), t.push(i.upperBound - i.start)), t = t.sort((e,t)=>e - t); const o = []; let a = 0; for (const e of t) { if (e === a) continue; const t = { from: void 0, to: void 0 }; n && (t.from = new r.IndexRange(n.start + a,n.start + e - 1)), i && (t.to = new r.IndexRange(i.start + a,i.start + e - 1)), o.push(t), a = e } return o } )), i = i.sort((e,t)=>e.from && t.from ? e.from.start - t.from.start : e.to && t.to ? e.to.start - t.to.start : 0); const u = this.fromInfo.computeUnitStates(i.map(e=>e.from)) , d = this.toInfo.computeUnitStates(i.map(e=>e.to)); this.units = u.map((e,t)=>new c(e,d[t])) } performDiff(e, t, n) { return i.diff(e, t).reduce((function(r, i) { if (i.oldIndex < 0 && i.newIndex < 0) return r; if (i.oldIndex < 0) { const e = t.slice(i.newIndex, i.newIndex + i.length); return n.inserted.push(e), r } if (i.newIndex < 0) { const t = e.slice(i.oldIndex, i.oldIndex + i.length); return n.deleted.push(t), r } let o = e[i.oldIndex].range , a = t[i.newIndex].range; for (let n = 0; n < i.length; ++n) { const s = e[i.oldIndex + n].range , l = t[i.newIndex + n].range; s.upperBound - o.location != l.upperBound - a.location ? (r.push({ from: o, to: a }), o = s, a = l) : (o._end = s.upperBound - 1, a._end = l.upperBound - 1) } return r.push({ from: o, to: a }), r } ), new Array) } hasCJKChar(e) { return !!e.match(h.cjkRegex) } handleCJKChange(e) { let t = !1; const n = e=>{ if (this.hasCJKChar(e.value)) { t = t || e.range.length > 1; const n = []; for (let t = 0; t < e.range.length; ++t) n.push(new i.Word(new r.IndexRange(e.range.lowerBound + t,e.range.lowerBound + t),e.base)); return n } return [e] } , a = o(o(e.deleted).map(n)) , s = o(o(e.inserted).map(n)); if (!t) return []; const l = { inserted: [], deleted: [] } , u = this.performDiff(a, s, l); return e.deleted = l.deleted, e.inserted = l.inserted, u } } t.TextMagicMove = h, h.cjkRegex = /[\u4E00-\u9FFF\u3400-\u4DBF\u3040-\u30ff\uf900-\ufaff\uff66-\uff9f]/ }, 267: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.diff = t.DiffResult = t.Word = void 0; const r = n(268) , i = n(113); t.Word = class { constructor(e, t) { this.range = e, this.base = t } get value() { return this.base.substr(this.range.location, this.range.length) } isEqualTo(e) { return this.value == e.value } get diffIdentifier() { return this.value } toString() { return `${this.value}{${this.range.location}, ${this.range.location + this.range.length}}` } } ; class o { constructor(e, t, n) { this.oldIndex = e, this.newIndex = t, this.length = n } get debugDescription() { return `[Diff@(${this.oldIndex},${this.length})=>(${this.newIndex},${this.length})]` } } t.DiffResult = o; class a { constructor(e=new Set, t=new Set) { this.oldIndices = e, this.newIndices = t } appearAtOld(e) { this.oldIndices.add(e) } appearAtNew(e) { this.newIndices.add(e) } removeOldIndex(e) { this.oldIndices.delete(e) } removeNewIndex(e) { this.newIndices.delete(e) } get debugDescription() { return this.oldIndices + "|" + this.newIndices } } class s { constructor(e, t, n) { this.oldIndex = e, this.newIndex = t, this.length = n } } t.diff = function(e, t) { var n; const l = {} , u = new r.IndexSet , c = []; for (let e = 0; e < t.length; ++e) { const n = t[e].diffIdentifier , r = l[n]; if (r) r.appearAtNew(e); else { const t = new a; t.appearAtNew(e), l[n] = t } } for (let t = 0; t < e.length; ++t) null === (n = l[e[t].diffIdentifier]) || void 0 === n || n.appearAtOld(t); const d = e.length , f = Array(d).fill(0).map((e,t)=>t).reverse() , h = new Set(f); function p() { if (f.length > 0) { const e = f.pop(); e && h.delete(e) } } function g(e) { const t = f.indexOf(e); t >= 0 && f.splice(t, 1), h.delete(e) } for (; f.length > 0; ) { const t = f[f.length - 1] , n = l[e[t].diffIdentifier]; if (!n) { p(), u.addIndexes(t), e[t]; continue } if (0 == n.oldIndices.size) { p(), e[t]; continue } if (0 == n.newIndices.size) { p(), u.addIndexes(t), e[t]; continue } const r = Array.from(n.oldIndices).map(t=>{ let r = t + 1 , i = n.newIndices; for (; h.has(r); ) { const t = l[e[r].diffIdentifier]; if (!t) break; const n = new Set(Array.from(i).map(e=>e + 1)) , o = new Set(Array.from(t.newIndices).filter(e=>n.has(e))); if (0 == o.size) break; i = o, r += 1 } const o = r - t; return new s(t,Math.min(...i) - o + 1,o) } ).sort((e,t)=>e.length == t.length ? t.oldIndex - e.oldIndex : e.length - t.length).pop(); r.oldIndex, r.length, r.newIndex, r.length; for (let t = r.oldIndex; t < r.oldIndex + r.length; ++t) { g(t); const n = l[e[t].diffIdentifier]; n && (n.removeOldIndex(t), n.removeNewIndex(r.newIndex + (t - r.oldIndex))) } c.push([new i.IndexRange(r.oldIndex,r.oldIndex + r.length - 1), new i.IndexRange(r.newIndex,r.newIndex + r.length - 1)]) } return function(e, t, n) { const r = []; for (const t of e._ranges) r.push(new o(t.lowerBound,-1,t.count)); for (const e of t._ranges) r.push(new o(-1,e.lowerBound,e.count)); for (const e of n) r.push(new o(e[0].location,e[1].location,e[0].length)); return r }(u, new r.IndexSet(Object.values(l).reduce((e,t)=>e.concat(Array.from(t.newIndices)), [])), c) } }, 268: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.IndexSet = void 0; const r = n(113); class i { constructor(e=[]) { if (this._ranges = [], this._count = 0, void 0 !== e && (!Array.isArray(e) || 0 !== e.length)) if ("string" == typeof e) this._fromString(e); else { (Array.isArray(e) && e.length > 0 ? e[0] : e)instanceof r.IndexRange ? this.addRanges(e) : this.addIndexes(e) } } static fromString(e) { return new i(e) } addRanges(e) { Array.isArray(e) || (e = [e]), this._addRanges(e) } removeRange(e) { this._removeRange(e) } addIndexes(e) { let t; t = "number" == typeof e || "string" == typeof e ? [e] : e; let n = []; for (let e = 0; e < t.length; e++) { const r = t[e]; n.push("string" == typeof r ? parseInt(r, 10) : r) } n = n.sort((function(e, t) { return e - t } )); const i = []; let o = void 0 , a = void 0; for (let e = 0; e < n.length; e++) { const t = n[e]; void 0 === o && (o = a = t), t - a < 2 ? a = t : (i.push(new r.IndexRange(o,a)), o = a = t) } i.push(new r.IndexRange(o,a)), this._addRanges(i) } removeIndexes(e) { let t; t = "number" == typeof e || "string" == typeof e ? [e] : e; for (let e = 0; e < t.length; e++) { const n = t[e] , i = new r.IndexRange(n,n); this._removeRange(i) } } contains(e) { e = "string" == typeof e ? parseInt(e, 10) : e; for (let t = 0; t < this._ranges.length; t++) { if (this._ranges[t].contains(e)) return !0 } return !1 } get count() { return this._count } indexAt(e) { if (e >= this._count || e < 0) throw new Error("Index out of range"); let t = 0 , n = 0; for (let r = 0; r < this._ranges.length; r++) { const i = this._ranges[r]; if (n += i.length, e >= t && e < n) { const n = e - t; return i.start + n } t += i.length } return -1 } get firstIndex() { return 0 === this._ranges.length ? null : this._ranges[0].start } get lastIndex() { const e = this._ranges.length; return 0 === e ? null : this._ranges[e - 1].end } pagedRanges(e) { if (0 === this._ranges.length || void 0 === e) return this._ranges; const t = []; for (let n = 0; n < this._ranges.length; n++) { const i = this._ranges[n]; if (i.length <= e) t.push(i); else { const n = Math.floor(i.length / e) , o = i.length % e; for (let o = 0; o < n; o++) { const n = i.start + e * o; t.push(new r.IndexRange(n,n + e - 1)) } o > 0 && t.push(new r.IndexRange(e * n,e * n + o - 1)) } } return t } toString() { if (0 === this._ranges.length) return ""; const e = r.IndexRange.compact(this._ranges) , t = []; for (let n = 0; n < e.length; n++) t.push(e[n].toString()); return t.join(",") } _addRanges(e) { this._ranges = r.IndexRange.compact(this._ranges.concat(e)), this._updateCount() } _removeRange(e) { this._ranges.length > 0 && (this._ranges = r.IndexRange.subtract(this._ranges, e)), this._updateCount() } _updateCount() { let e = 0; for (let t = 0; t < this._ranges.length; t++) { e += this._ranges[t].length } this._count = e } _fromString(e) { const t = e.split(",") , n = []; for (let e = 0; e < t.length; e++) { const i = r.IndexRange.fromString(t[e]); if (!i) throw new Error("Invalid range"); n.push(i) } this._ranges = [], this._count = 0, this._addRanges(n) } } t.IndexSet = i }, 269: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } , i = this && this.__importDefault || function(e) { return e && e.__esModule ? e : { default: e } } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.performDissolveTransitionEffect = t.computeDissolveTransitionEffect = void 0; const o = i(n(70)); t.computeDissolveTransitionEffect = function() { return { effect: "dissolve" } } , t.performDissolveTransitionEffect = function(e, t, n) { return r(this, void 0, void 0, (function*() { const r = parseFloat(n.el.style.opacity || "1"); yield Promise.all([o.default({ targets: [t.el], opacity: 0, duration: e, easing: "easeOutQuad" }).finished, o.default({ targets: [n.el], opacity: [0, r], duration: e, easing: "easeInQuad" }).finished]) } )) } }, 270: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.performAnimateInSlideTransitionEffect = t.computeAnimateInSlideTransitionEffect = void 0; const i = n(5) , o = n(75); t.computeAnimateInSlideTransitionEffect = function(e) { return { effect: "animateInSlide", targetSlide: e.targetSlide, targetSlideEnteringState: e.targetSlideEnteringState } } , t.performAnimateInSlideTransitionEffect = function(e, t, n) { return r(this, void 0, void 0, (function*() { n.slide = t.targetSlide, t.targetSlideEnteringState && (n.slideState = i.mergeSlideState(n.slideState, t.targetSlideEnteringState)), yield new o.ViewAnimator({ duration: e, easing: "easeInOutCubic" }).animate(()=>{ n.update() } ).play() } )) } }, 271: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } , i = this && this.__importDefault || function(e) { return e && e.__esModule ? e : { default: e } } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.AnimationExecutor = t.performAnimation = void 0; const o = n(272) , a = n(273); function s(e, t, n) { var i, s; return r(this, void 0, void 0, (function*() { const r = Math.floor((null !== (i = t.delayMultiplier) && void 0 !== i ? i : 0) * e); r > 0 && (yield new Promise(e=>setTimeout(()=>e(), r))); const l = Math.floor((null !== (s = t.durationMultiplier) && void 0 !== s ? s : 1) * e); switch (t.effect) { case "sleep": yield o.performSleepAnimation(l); break; case "mutate": yield a.performSlideMutationAnimation(l, n, t.finalState, t.easing) } } )) } i(n(70)).default.suspendWhenDocumentHidden = !1, t.performAnimation = s; t.AnimationExecutor = class { constructor(e) { var t, n, r; this.onStage = { preTransition: [], transition: [], postTransition: [] }, this.afterGroup = {}, this.groupCountDown = {}; for (const i of e) { if ("on"in i) this.onStage[i.on].push(i); else { const e = null !== (t = this.afterGroup[i.after]) && void 0 !== t ? t : []; e.push(i), this.afterGroup[i.after] = e } for (const e of null !== (n = i.groups) && void 0 !== n ? n : []) this.groupCountDown[e] = (null !== (r = this.groupCountDown[e]) && void 0 !== r ? r : 0) + 1 } } performAnimationsOnStage(e, t, n) { return r(this, void 0, void 0, (function*() { yield Promise.all(this.onStage[t].map(t=>this.performAnimationAndDescendantGroups(e, t, n))) } )) } performAnimationAndDescendantGroups(e, t, n) { return r(this, void 0, void 0, (function*() { yield s(e, t, n), yield this.performGroupedAnimationsAfter(e, t, n) } )) } performGroupedAnimationsAfter(e, t, n) { var i, o; return r(this, void 0, void 0, (function*() { let r = []; for (const e of null !== (i = t.groups) && void 0 !== i ? i : []) this.groupCountDown[e] -= 1, 0 === this.groupCountDown[e] && (r = r.concat(null !== (o = this.afterGroup[e]) && void 0 !== o ? o : [])); yield Promise.all(r.map(t=>this.performAnimationAndDescendantGroups(e, t, n))) } )) } } }, 272: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.performSleepAnimation = void 0, t.performSleepAnimation = function(e) { return r(this, void 0, void 0, (function*() { if (!(e <= 0)) return new Promise(t=>setTimeout(t, e)) } )) } }, 273: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.performSlideMutationAnimation = void 0; const i = n(5) , o = n(75); t.performSlideMutationAnimation = function(e, t, n, a) { return r(this, void 0, void 0, (function*() { t.slideState = i.mergeSlideState(t.slideState, n), e > 0 ? yield new o.ViewAnimator({ duration: e, easing: a }).animate(()=>{ t.update() } ).play() : t.update() } )) } }, 274: function(e, t, n) { "use strict"; var r = this && this.__awaiter || function(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.EndingScreenView = void 0; const i = n(12) , o = n(76) , a = n(50); class s extends o.View { constructor(e) { super(e), this.content = null, this._size = e.size } createViewElement() { return document.createElement("div") } update() { var e, t; super.update(), this.el.style.position = "absolute", this.el.style.left = "0px", this.el.style.top = "0px", this.el.style.width = i.toCSSLength(this._size.width), this.el.style.height = i.toCSSLength(this._size.height), this.el.style.transformOrigin = "center center", this.el.style.opacity = "1", this.el.style.transform = ""; const n = this.content; if (n && n.svgString === this._appliedSVGString || (this._contentEl && this.el.removeChild(this._contentEl), delete this._contentEl, delete this._appliedSVGString), n) { const t = null !== (e = this._contentEl) && void 0 !== e ? e : this._contentEl = this._createContentElement(n); t.parentElement !== this.el && this.el.appendChild(t), this._updateContentElement(t, n), this._appliedSVGString = n.svgString } this.el.style.backgroundColor = null !== (t = null == n ? void 0 : n.backgroundColor) && void 0 !== t ? t : "none" } _createContentElement(e) { return (new DOMParser).parseFromString(e.svgString, "image/svg+xml").documentElement } _updateContentElement(e, t) { const n = this._size , r = Math.min(n.width / t.width, n.height / t.height) , o = Math.floor(t.width * r) , a = Math.floor(t.height * r) , s = (n.width - o) / 2 , l = (n.height - a) / 2; e.style.position = "absolute", e.style.left = i.toCSSLength(s), e.style.top = i.toCSSLength(l), e.style.width = i.toCSSLength(o), e.style.height = i.toCSSLength(a) } setOpacity(e) { a.ViewAnimator.perform(this.el, { opacity: e }) } setScale(e) { a.ViewAnimator.perform(this.el, { transform: [{ scale: { x: e, y: e } }] }) } present(e) { return r(this, void 0, void 0, (function*() { this.setOpacity(0), this.setScale(1.3), yield new a.ViewAnimator({ duration: e, easing: "easeInOutCubic" }).animate(()=>{ this.setOpacity(1), this.setScale(1) } ).play() } )) } dismiss(e) { return r(this, void 0, void 0, (function*() { yield new a.ViewAnimator({ duration: e, easing: "linear" }).animate(()=>{ this.setOpacity(0) } ).play() } )) } } t.EndingScreenView = s }, 275: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.SlideshowExporter = t.slideSequence = void 0; const r = n(5) , i = n(276) , o = n(12) , a = n(167) , s = n(75) , l = n(166) , u = n(42); function c(e) { var t; const n = [] , r = [] , i = e.getStartingTopicId(); let o; for (i && r.push(i); o = r.pop(); ) { n.push({ topicId: o, type: "topic" }); const i = e.getSubtopics(o); i.length > 0 && (n.push({ topicId: o, type: "list" }), r.push(...i.slice().reverse())); const a = e.getParentTopicId(o); if (!a) continue; const {summaries: s} = null !== (t = e.getTopicAttributes(a)) && void 0 !== t ? t : {}; if (a && s) { const t = e.getSubtopics(a); for (const e of l.computeSummariesEndingAt(t.indexOf(o), s)) n.push({ topicId: e.topicId, type: "summary" }), n.push({ topicId: e.topicId, type: "topic" }) } } return n } t.slideSequence = c; t.SlideshowExporter = class { constructor(e) { this._fontFamilyInPptx = "Arial", this._slideshow = e } exportPptxSlides() { const e = []; for (const t of this.collectSlidesForPptx()) e.push(this.parseSlideContent(t)); return e } exportHtmlPages() { function e(e, t) { const n = new s.SlideView; n.slide = e, t && (n.slideState = t), n.update(); return n.el.querySelectorAll("svg").forEach(e=>{ var t; const n = e.parentElement; null == n || n.removeChild(e); const r = document.createElement("div"); r.setAttribute("style", null !== (t = e.getAttribute("style")) && void 0 !== t ? t : ""), e.setAttribute("width", e.style.width + ""), e.setAttribute("height", e.style.height + ""), e.removeAttribute("style"), r.appendChild(e), null == n || n.appendChild(r) } ), n } function t(e) { const t = []; let n = e.slideState; for (; e.slide; ) { const i = a.computeMultistepChange({ kind: "forward" }, e.slide, n); if (!i || 0 === Object.keys(i).length) break; const o = new s.SlideView; o.slide = e.slide, o.slideState = r.mergeSlideState(e.slideState, i), n = o.slideState, o.update(), t.push(o) } return t } const n = []; for (const r of this.collectSlidesForPdf()) { const i = e(r); n.push(i.el), n.push(...t(i).map(e=>e.el)) } return n } parseSlideContent(e) { var t, n; const r = []; return e.boxes.forEach(e=>{ this.parseBoxContent(r, e) } ), u.disposeTextMeasurementHelpers(), { backgroundColor: i.normalizeTo6DigitsRgb(null !== (t = e.backgroundColor) && void 0 !== t ? t : "#000"), backgroundTransparency: i.convertOpacityToTransparency(null !== (n = e.backgroundOpacity) && void 0 !== n ? n : 1), boxes: r } } parseBoxContent(e, t, n=0) { if (0 !== t.opacity) switch (t.contentType) { case "text": { const r = this.adjustFontSizeToFitBox(t); e.push(Object.assign(Object.assign({}, this.toPositionedBox(r, n)), this.toPptxText(r))); break } case "image": case "svg-template": e.push(Object.assign(Object.assign({}, this.toPositionedBox(t, n)), this.toPptxImage(t))); break; case "shape": this.parseShapeBoxContent(e, t, n); break; case "group": t.scrollOffset && (n += t.scrollOffset), t.children.forEach(t=>{ this.parseBoxContent(e, t, n) } ) } } parseShapeBoxContent(e, t, n) { var r, i, a, s, l, u; const c = document.createElementNS("http://www.w3.org/2000/svg", "svg"); c.style.position = "absolute", c.style.transformOrigin = "0 0", c.setAttribute("viewBox", `0 0 ${t.bounds.width} ${t.bounds.height}`); const d = document.createElementNS("http://www.w3.org/2000/svg", "path"); d.setAttribute("d", null !== (r = t.shapePath) && void 0 !== r ? r : ""), d.style.fill = null !== (i = t.fillColor) && void 0 !== i ? i : "transparent", t.fillColor || (d.style.fillOpacity = "0"), d.style.stroke = null !== (a = t.strokeColor) && void 0 !== a ? a : "transparent", d.style.strokeWidth = o.toCSSLength(null !== (s = t.lineWidth) && void 0 !== s ? s : 0), d.style.strokeLinecap = null !== (l = t.lineCap) && void 0 !== l ? l : "", d.style.strokeLinejoin = null !== (u = t.lineJoin) && void 0 !== u ? u : "", c.appendChild(d); const f = (new XMLSerializer).serializeToString(c) , h = unescape(encodeURIComponent(f)) , p = "data:image/svg+xml;base64," + window.btoa(h); e.push(Object.assign({ data: p }, this.toPositionedBox(t, n))) } collectSlidesForPdf() { const e = []; let t = this._slideshow.getStartingSlide(); if (t) for (e.push(t); ; ) { const n = this._slideshow.getTransition({ kind: "forward" }, t); if (!n || !n.targetSlide) break; t = n.targetSlide, 0 != t.boxes.length && 1 != t.autoForwarding && e.push(t) } return e } collectSlidesForPptx() { return c(this._slideshow.contentProvider).map(({topicId: e, type: t})=>this._slideshow.getTemplateSlide(t, e)).filter(e=>!!e).filter(e=>!this._slideshow.isSlideSkipped(e)) } toPptxText(e) { var t, n, r; const o = i.convertFontSizeToPt(null !== (t = e.fontSize) && void 0 !== t ? t : "12px", this._slideshow.slideSize.height); return { text: e.text, color: i.normalizeTo6DigitsRgb(null !== (n = e.textColor) && void 0 !== n ? n : "#fff"), fontSize: o, fontFace: this._fontFamilyInPptx, bold: "bold" == e.fontWeight, align: i.convertTextAlignmentToHAlign(null !== (r = e.textAlignment) && void 0 !== r ? r : "center"), valign: "top", margin: 0, shrinkText: !0, lineSpacing: i.convertLineHeightToLineSpacingInPt(this._slideshow.slideSize.height, o, e.lineHeight) } } toPptxImage(e) { var t; const n = {}; if ("imageSource"in e) e.imageSource.startsWith("data:") ? n.data = e.imageSource : n.path = e.imageSource; else { const r = (new DOMParser).parseFromString(e.svg, "image/svg+xml").documentElement; r.setAttribute("fill", null !== (t = e.fillColor) && void 0 !== t ? t : ""); const i = (new XMLSerializer).serializeToString(r) , o = unescape(encodeURIComponent(i)) , a = btoa(o); n.data = "data:image/svg+xml;base64," + a } return n } toPositionedBox(e, t) { var n; const {width: r, height: o} = this._slideshow.slideSize , {x: a, y: s, width: l, height: u} = e.absBounds; return { x: "textIndent"in e ? i.toPercentage(a + parseFloat(null !== (n = e.textIndent) && void 0 !== n ? n : "0"), r) : i.toPercentage(a, r), y: i.toPercentage(s - t, o), w: "text"in e ? i.toCeilPercentage(l, r) : i.toPercentage(l, r), h: "text"in e ? i.toCeilPercentage(u, o) : i.toPercentage(u, o) } } adjustFontSizeToFitBox(e) { const t = Object.assign({}, e, { fontFamily: [this._fontFamilyInPptx] }); let {height: n, fontSize: r} = u.measureText(t, { maxWidth: t.absBounds.width }); for (; n > t.absBounds.height; ) { t.fontSize = r - 1 + "px"; const e = u.measureText(t, { maxWidth: t.absBounds.width }); n = e.height, r = e.fontSize } return t } } }, 276: function(e, t, n) { "use strict"; function r(e) { return 5.625 * e * 72 } Object.defineProperty(t, "__esModule", { value: !0 }), t.convertTextAlignmentToHAlign = t.convertOpacityToTransparency = t.normalizeTo6DigitsRgb = t.convertLineHeightToLineSpacingInPt = t.convertFontSizeToPt = t.convertPercentageToPt = t.toCeilPercentage = t.toPercentage = void 0, t.toPercentage = function(e, t) { return (e / t * 100).toFixed(2) + "%" } , t.toCeilPercentage = function(e, t) { return Math.ceil(e / t * 100).toFixed(2) + "%" } , t.convertPercentageToPt = r, t.convertFontSizeToPt = function(e, t) { return r(parseFloat(e) / t * .94) } , t.convertLineHeightToLineSpacingInPt = function(e, t, n) { if (n) return n.endsWith("em") ? t * parseFloat(n) : n.endsWith("px") ? r(parseFloat(n) / e) : void 0 } , t.normalizeTo6DigitsRgb = function(e) { if (3 != e.slice(1).length) return e; let t = e.split("").map(e=>"#" == e ? e : e + e).join(""); return "#" != t[0] && (t = "#" + e), t } , t.convertOpacityToTransparency = function(e) { return 100 * (1 - e) } , t.convertTextAlignmentToHAlign = function(e) { switch (e) { case "leading": return "left"; case "trailing": return "right"; default: return "center" } } }, 277: function(e, t, n) { (function(e, t) { !function(e, n) { "use strict"; if (!e.setImmediate) { var r, i, o, a, s, l = 1, u = {}, c = !1, d = e.document, f = Object.getPrototypeOf && Object.getPrototypeOf(e); f = f && f.setTimeout ? f : e, "[object process]" === {}.toString.call(e.process) ? r = function(e) { t.nextTick((function() { p(e) } )) } : !function() { if (e.postMessage && !e.importScripts) { var t = !0 , n = e.onmessage; return e.onmessage = function() { t = !1 } , e.postMessage("", "*"), e.onmessage = n, t } }() ? e.MessageChannel ? ((o = new MessageChannel).port1.onmessage = function(e) { p(e.data) } , r = function(e) { o.port2.postMessage(e) } ) : d && "onreadystatechange"in d.createElement("script") ? (i = d.documentElement, r = function(e) { var t = d.createElement("script"); t.onreadystatechange = function() { p(e), t.onreadystatechange = null, i.removeChild(t), t = null } , i.appendChild(t) } ) : r = function(e) { setTimeout(p, 0, e) } : (a = "setImmediate$" + Math.random() + "$", s = function(t) { t.source === e && "string" == typeof t.data && 0 === t.data.indexOf(a) && p(+t.data.slice(a.length)) } , e.addEventListener ? e.addEventListener("message", s, !1) : e.attachEvent("onmessage", s), r = function(t) { e.postMessage(a + t, "*") } ), f.setImmediate = function(e) { "function" != typeof e && (e = new Function("" + e)); for (var t = new Array(arguments.length - 1), n = 0; n < t.length; n++) t[n] = arguments[n + 1]; var i = { callback: e, args: t }; return u[l] = i, r(l), l++ } , f.clearImmediate = h } function h(e) { delete u[e] } function p(e) { if (c) setTimeout(p, 0, e); else { var t = u[e]; if (t) { c = !0; try { !function(e) { var t = e.callback , n = e.args; switch (n.length) { case 0: t(); break; case 1: t(n[0]); break; case 2: t(n[0], n[1]); break; case 3: t(n[0], n[1], n[2]); break; default: t.apply(void 0, n) } }(t) } finally { h(e), c = !1 } } } } }("undefined" == typeof self ? void 0 === e ? this : e : self) } ).call(this, n(20), n(69)) }, 279: function(e, t, n) { "use strict"; n.r(t), n.d(t, "ShareStorage", (function() { return a } )); var r = n(4) , i = n(90) , o = n.n(i); class a { constructor() { this.storage = void 0, this.fallbackCahced = {}, this.waitUntilDbReady(), this.autoClean() } waitUntilDbReady() { return Object(r.a)(this, void 0, void 0, (function*() { try { yield o.a.ready() } catch (e) { return } this.storage = o.a.createInstance({ name: "Share-" + a.SHARE_STORAGE_VERSION, driver: [o.a.INDEXEDDB, o.a.WEBSQL, o.a.LOCALSTORAGE] }) } )) } setItem(e, t) { return Object(r.a)(this, void 0, void 0, (function*() { yield this.waitUntilDbReady(); const n = ()=>this.fallbackCahced[e] = t; if (this.storage) try { this.storage.setItem(e, t) } catch (e) { return n(), void console.error("Error", e) } else n() } )) } getItem(e) { return Object(r.a)(this, void 0, void 0, (function*() { return yield this.waitUntilDbReady(), this.fallbackCahced[e] || this.storage && (yield this.storage.getItem(e)) } )) } removeItem(e) { return Object(r.a)(this, void 0, void 0, (function*() { delete this.fallbackCahced[e], yield this.waitUntilDbReady(), this.storage && (yield this.storage.removeItem(e)) } )) } getRealItemKey(e) { return Object(r.a)(this, void 0, void 0, (function*() { yield this.waitUntilDbReady(); let t = []; return t = this.storage ? yield this.storage.keys() : Object.keys(this.fallbackCahced), t.find(t=>t.startsWith(e + "#")) } )) } autoClean() { return Object(r.a)(this, void 0, void 0, (function*() { if (yield this.waitUntilDbReady(), !this.storage) return; const e = (yield this.storage.keys()).sort((e,t)=>e.split("#")[1] > t.split("#")[1] ? 1 : -1).slice(0, -1 * a.MAX_CACHE_AMOUNT); for (const t of e) yield this.storage.removeItem(t) } )) } getSharedMap(e) { return Object(r.a)(this, void 0, void 0, (function*() { const t = yield this.getRealItemKey(e); if (t) return yield this.getItem(t) } )) } setSharedMap(e, t) { return Object(r.a)(this, void 0, void 0, (function*() { const n = yield this.getRealItemKey(e); n && (yield this.removeItem(n)), yield this.setItem(e + "#" + Date.now(), t) } )) } removeSharedMap(e) { return Object(r.a)(this, void 0, void 0, (function*() { const t = yield this.getRealItemKey(e); t && (yield this.removeItem(t)) } )) } } a.SHARE_STORAGE_VERSION = "2.0", a.MAX_CACHE_AMOUNT = 5 }, 280: function(e, t, n) { "use strict"; n.r(t), n.d(t, "createServices", (function() { return b } )); var r = n(1) , i = n(4); var o = n(60) , a = n(138) , s = n.n(a); const l = function(e) { const t = [] , n = e.model.toJSON(); for (let r = 0; r < n.sheetOrder.length; r++) { const i = e.model.getSheetByIndex(r).toJSON(); i.id = n.sheetOrder[r]; for (const e of n.sheets) if (i.id === e.id) { i.title = e.title; break } t.push(i) } return { sheets: t } }; function u(e, t, r={}) { return Object(i.a)(this, void 0, void 0, (function*() { const [r] = yield Promise.all([n.e(303).then(n.t.bind(null, 1177, 7))]); if (e) { window.mode; const n = "https://assets.xmind.net/static/snowbird@0.0.23/" , o = yield function(e) { return Object(i.a)(this, void 0, void 0, (function*() { const {file: t, container: n, password: r, Snowbrush: i, resourceUrlPrefix: o, languageCode: a} = e , {fromXMind: l, isFileEncrypted: u} = i.formatconverter; i.config({ [i.constant.CONFIG.URL_PREFIX]: o, [i.constant.CONFIG.LANGUAGE]: a, [i.constant.CONFIG.MAX_SCALE]: 500, [i.constant.CONFIG.NO_ANIMATION]: !0, [i.constant.CONFIG.MIN_SCALE]: 20, [i.constant.CONFIG.NO_KEYBIND]: !0, [i.constant.CONFIG.INFO_ITEM_STYLE]: i.constant.INFO_ITEM_STYLE_TYPE.FASHION, [i.constant.CONFIG.NO_EDIT_RECEIVER]: !0, [i.constant.CONFIG.FAKE_IMAGE]: !1, [i.constant.CONFIG.HIDE_COLLAPSE_BTN]: !1, [i.constant.CONFIG.READONLY]: !0 }); const c = yield function(e, t) { return new Promise((n,r)=>{ (new s.a).loadAsync(e).then(e=>{ l(e, { password: t }).then(e=>{ const t = { sheets: e.sheets.map(e=>({ id: e.id, title: e.title })), id: i.utils.UUID() }; n({ workbook: t, sheets: e.sheets, resources: e.manifest.resources, isOldVersion: e.isOldVersion }) } ).catch(t=>{ u(e).then(e=>r(e ? "PasswordError" : t)).catch(e=>r(e)) } ) } ) } ) }(t, r) , d = new i.Model.Workbook(c.workbook); c.sheets.forEach(e=>{ d.addSheet(e.id, e) } ); const f = new i.WorkbookEditor({ el: n, model: d }); f.config(i.constant.CONFIG.XAP_LOADER, e=>{ let t = e.substring("xap:".length, e.length) , n = c.resources && c.resources[t]; return new Promise(e=>{ let r = ""; switch (!0) { case t.endsWith(".svg"): r = "image/svg+xml"; break; case t.endsWith(".png"): r = "image/png"; break; case t.endsWith(".jpg"): case t.endsWith(".jpeg"): r = "image/jpeg"; break; case t.endsWith("gif"): r = "image/gif" } let i = new Blob([n],{ type: r }); const o = new FileReader; o.readAsDataURL(i), o.onloadend = function() { e(o.result) } } ) } ); return { workbookEditor: f, switchSheetTo: f.switchTo.bind(f), getSheetsCount: ()=>f.sheetEditors.length, getSheetTitle: e=>f.model.getSheetByIndex(e).title, collapseBranch: (()=>f.execAction("collapseBranch")).bind(f), extendBranch: (()=>f.execAction("extendBranch")).bind(f), zoom: (e=>f.execAction("zoom", { scale: e })).bind(f), getZoomPencentage: f.getZoomPencentage.bind(f), close: ()=>{ f.remove() } } } )) }({ Snowbrush: r.default, container: t, file: e, languageCode: "en-US", resourceUrlPrefix: n, password: "" }); return Object.assign(Object.assign({}, o), { resourceUrlPrefix: n, model: l(o.workbookEditor) }) } } )) } var c = n(174) , d = n(84); class f { constructor(e) { this.state = e } } class h { constructor(e) { this.state = e } } var p = n(23); class g extends h { getReadonlyWorkbook() { if (this.state.value.readonlyWorkbook.value) return this.state.value.readonlyWorkbook.value; throw new Error("Readonly workbook are not initialized!") } getSheetEditor(e) { const t = this.getReadonlyWorkbook(); return e ? t.workbookEditor.getSheetEditorById(e) : t.workbookEditor.getCurrentSheetEditor() } get currentSheetViewportBounds() { return Object(r.computed)(()=>{ const e = this.getSheetEditor(this.state.value.currentSheetId); if (!e) return null; return { scrollLeft: e.el.scrollLeft, scrollTop: e.el.scrollTop, width: e.el.offsetWidth, height: e.el.offsetHeight } } ) } getTopicBounds(e, t) { const n = this.getSheetEditor(t); if (!n) return null; const r = n.getComponentViewById(e); if (!r) return null; const i = r.el.getBoundingClientRect(); return { width: i.width, height: i.height, x: i.x || i.left, y: i.y || i.top } } getModel(e, t, n) { const r = this.getSheetEditor(n); if (!r) return null; const i = r.getComponentViewById(e); return i ? i.model && i.model.get(t) : null } getNotesById(e, t) { return this.getModel(e, "notes", t) } getHrefById(e, t) { return this.getModel(e, "href", t) } getCommentsById(e, t) { return this.getModel(e, "comments", t) } getExtensionById(e, t) { return this.getModel(e, "extensions", t) } getLabelsById(e, t) { return this.getModel(e, "labels", t) } getAudioNoteById(e, t) { const n = this.getSheetEditor(t); if (!n) return null; return n.getComponentViewById(e).model.getAudioNotes() } getTopicTitleById(e, t) { var n, r; const i = null === (n = this.getReadonlyWorkbook()) || void 0 === n ? void 0 : n.workbookEditor , o = i.model.sheets; for (const t of o) { const t = null === (r = i.getComponentViewById(e)) || void 0 === r ? void 0 : r.model; if (t) return t.getTitle() } } getSheetTitleByTopicId(e) { var t; const n = (null === (t = this.getReadonlyWorkbook()) || void 0 === t ? void 0 : t.workbookEditor).model.sheets; for (const t of n) { if (t.findComponentById(e)) return t.attributes.title } } getViewportBounds(e) { const t = this.getSheetEditor(e); if (!t) return null; return { scrollLeft: t.el.scrollLeft, scrollTop: t.el.scrollTop, width: t.el.offsetWidth, height: t.el.offsetHeight } } getRootTopic(e) { const t = this.getSheetEditor(e); return t && t.model ? t.model.attributes.rootTopic : null } getResourceUrlPrefix() { const e = this.getReadonlyWorkbook(); return e && e.resourceUrlPrefix } getTopicViewBackgroundColor(e) { const t = this.getSheetEditor(e); if (!t) return; const n = t.getSheetView(); return n && n.figure && n.figure.backgroundColor ? n.figure.backgroundColor : void 0 } getTopicImageSize(e, t) { const n = this.getSheetEditor(t); if (!n) return; const r = n.getComponentViewById(e); if (!r) return; let i = 0 , o = 0; if (r && r.topicView && r.topicView.image && r.topicView.image.figure && r.topicView.image.figure.originalSize) { const e = r.topicView.image.figure.originalSize; i = e.width, o = e.height } return { width: i, height: o } } getMapImage(e, t) { const n = this.getSheetEditor(t); return n ? n.exportImage({ format: "SVG" }).then(t=>({ width: t.width, height: t.height, svgString: t.data, backgroundColor: e })) : null } } class m extends f { init(e, t) { return Object(i.a)(this, void 0, void 0, (function*() { this.state.value.readonlyWorkbook.value && (console.warn("A workbook already activated, closing .."), this.state.value.readonlyWorkbook.value.close()); const n = yield u(t, e); if (n) { this.state.value.readonlyWorkbook.value = n, this.state.value.sheets = n.model.sheets.map(e=>({ title: e.title, id: e.id })); const e = n.workbookEditor , t = window.Snowbrush , r = ()=>{ const t = e.getCurrentSheetEditor(); t && (this.state.value.zoomScale = t.getSVGView().getScale()) } , o = ()=>{ const t = e.getCurrentSheetEditor(); t && (this.state.value.currentSheetId = t.model.getId()) } , a = ()=>{ const n = e.getCurrentSheetEditor(); if (!n) return; const r = n.model.getId() , i = e.getComponentViewById(r); i && (this.state.value.currentSheetBackgroundColor = t.utils.styleManager.getStyleValue(i, "svg:fill")) } , s = ()=>Object(i.a)(this, void 0, void 0, (function*() { yield new Promise(e=>setTimeout(e)); const t = e.getCurrentSheetEditor(); if (t) { const e = t.getContentBound(); this.state.value.firstSheetContentBounds.height = e.height, this.state.value.firstSheetContentBounds.width = e.width } } )); e.on(t.constant.EVENTS.SCALE_CHANGED, ()=>{ r() } ), e.on(t.constant.EVENTS.SHEET_SWITCHED, ()=>{ r(), o(), a() } ), n.switchSheetTo(0), r(), o(), s(), e.onEvent("click", t.constant.VIEW_TYPE.INFORMATION_ICON, e=>{ let n = null , r = e.sbView.parent().model.get("id"); const i = e.sbView && e.sbView.iconType; i && (i === t.constant.VIEW_TYPE.NOTE ? (r = e.sbView.parent().model.getId(), n = "notes") : i === t.constant.VIEW_TYPE.HREF ? n = "hyperlink" : "jump" === i ? n = "topiclink" : i == t.constant.VIEW_TYPE.COMMENT || t.constant.VIEW_TYPE.TASK == i ? n = "comment" : i === t.constant.VIEW_TYPE.ATTACHMENT ? n = "attachment" : i === t.constant.VIEW_TYPE.FILE ? n = "file" : i === t.constant.VIEW_TYPE.INFO_MORE ? n = "info-more" : i === t.constant.VIEW_TYPE.AUDIO ? n = "audio-note" : console.warn("Unprocessed iconType " + i)), n && r && (this.state.value.events.click = { triggerId: t.utils.UUID(), currentTargetId: r, clientX: e.clientX, clientY: e.clientY, currentTargetType: n }) } ), this.unlistenFullscreenEvents = Object(p.onFullScreenChanged)(()=>{ this.state.value.isFullscreen = Object(p.isFullScreen)() } ), this.state.value.isReady = !0 } } )) } getReadonlyWorkbook() { if (this.state.value.readonlyWorkbook.value) return this.state.value.readonlyWorkbook.value; throw new Error("Readonly workbook are not initialized!") } zoomScale(e) { const {offset: t} = e , n = this.getReadonlyWorkbook() , r = n.workbookEditor.getCurrentSheetEditor().getSVGView().getScale() , i = [...new Set(c.PresetZoomScales.concat([r]))].sort((e,t)=>e > t ? 1 : -1); return n.zoom(i[i.indexOf(r) + t] || r) } execAction(e, t) { const n = this.getReadonlyWorkbook().workbookEditor; let r = (t && t.targetIds && t.targetIds.slice(0) || []).map(e=>n.getComponentViewById(e)).filter(Boolean); return Array.isArray(r) && r.length || (r = n.getSelections()), n.execAction.apply(n, [e, Object.assign(Object.assign({}, t), { targets: r })]) } zoom(e) { this.getReadonlyWorkbook().zoom(e) } zoomIn() { this.zoomScale({ offset: -1 }) } zoomOut() { this.zoomScale({ offset: 1 }) } fitMap() { const e = window.Snowbrush; this.execAction(e.constant.ACTION_NAMES.FIT_MAP) } switchSheet(e) { const t = this.getReadonlyWorkbook() , n = this.state.value.sheets.findIndex(t=>t.id === e); -1 !== n ? t.workbookEditor.switchTo(n) : console.error("Sheet not found!", e) } moveViewport(e) { const t = window.Snowbrush; return this.execAction(t.constant.ACTION_NAMES.MOVE_VIEWPORT, e) } openWithApp(e) { return Object(i.a)(this, void 0, void 0, (function*() { const t = window.navigator.userAgent.toLowerCase() , n = ["mobile", "android", "ios"].some(e=>t.includes(e)); document.location.href = n ? `xmind://${location.hostname}/openFile?url=${encodeURIComponent(e)}&name=${encodeURIComponent(d.b.name)}` : "xmind-zen://editor/open-url?url=" + encodeURIComponent(e) } )) } openHref(e) { return Object(i.a)(this, void 0, void 0, (function*() { const t = window.Snowbrush; if (e.startsWith("xmind:#")) { const n = e.replace("xmind:#", ""); this.execAction(t.constant.ACTION_NAMES.SELECT_TOPIC_BY_ID, { componentId: n, callback: ({reject: e})=>{ e && alert("The target topic may have been deleted.") } }) } else e.startsWith("file:") || e.startsWith("http:") || e.startsWith("https:") ? window.open(e) : window.location.href = e } )) } destroy() { return Object(i.a)(this, void 0, void 0, (function*() { this.unlistenFullscreenEvents && this.unlistenFullscreenEvents(); this.getReadonlyWorkbook().close() } )) } requestFullscreen() { Object(p.requestFullScreen)(document.body) } exitFullscreen() { Object(p.exitFullScreen)() } toggleFullscreen() { Object(p.isFullScreen)() ? this.exitFullscreen() : this.requestFullscreen() } openEmbedCodeDialog() { const e = this.state.value.firstSheetContentBounds.height / this.state.value.firstSheetContentBounds.width , t = Math.min(750, this.state.value.firstSheetContentBounds.width) , n = Math.min(Math.max(422, t * e), 1e3) , r = (location.pathname.match(/^\/(m|embed)\/(([0-9A-Za-z])+)/) || [])[2] , o = document.createElement("textarea"); o.readOnly = !0, o.classList.add("share-embed-code-textarea"), o.innerText = ``; const a = new window.utils.Dialog({ title: "Embed Code", contents: [o, 'Copy the code to embed this map into your article. The embed map can even be zoomed in / out.'], confirmText: "COPY TO CLIPBOARD", confirmAction: ()=>Object(i.a)(this, void 0, void 0, (function*() { o.select(), o.setSelectionRange(0, o.value.length), document.execCommand("copy") } )), closeAction(e) { return Object(i.a)(this, void 0, void 0, (function*() { e.hide() } )) } }); a.$cancel.hide(), a.show() } } class v extends f { } const y = ()=>{ const e = Object(r.ref)({ isReady: !1, isFullscreen: !1, readonlyWorkbook: Object(p.nonReactive)(void 0), zoomScale: 100, sheets: [], currentSheetId: "", currentSheetBackgroundColor: "", events: { click: { triggerId: "", clientX: 0, clientY: 0, currentTargetId: "", currentTargetType: null } }, firstSheetContentBounds: { width: 720, height: 360 } }) , t = new m(e) , n = new g(e) , i = Object(r.ref)({ isWorkbookLoading: !0, fileDownloadURL: "", fileSize: 0 }); return { workbook: { state: e, actions: t, getters: n }, frame: { state: i, actions: new v(i) } } } ; o.default.use(r.default); const b = ()=>{ const e = y(); return (e=>{ Object(r.watch)(()=>e.workbook.state.value.events.click, (t,n)=>Object(i.a)(void 0, void 0, void 0, (function*() { if (t.triggerId && t.triggerId !== n.triggerId) return "hyperlink" === t.currentTargetType || "topiclink" === t.currentTargetType ? e.workbook.actions.openHref(e.workbook.getters.getHrefById(t.currentTargetId)) : void 0 } ))) } )(e), (e=>{ const t = window.navigator.userAgent.toLowerCase(); t.includes("safari") && !t.includes("mobile") && (document.addEventListener("gesturestart", e=>{ e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation() } ), document.addEventListener("gesturechange", e=>{ e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation() } ), document.addEventListener("gestureend", e=>{ e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation() } )) } )(), { store: e } } }, 3: function(e, t, n) { "use strict"; function r(e, t) { for (var n = [], r = {}, i = 0; i < t.length; i++) { var o = t[i] , a = o[0] , s = { id: e + ":" + i, css: o[1], media: o[2], sourceMap: o[3] }; r[a] ? r[a].parts.push(s) : n.push(r[a] = { id: a, parts: [s] }) } return n } n.r(t), n.d(t, "default", (function() { return h } )); var i = "undefined" != typeof document; if ("undefined" != typeof DEBUG && DEBUG && !i) throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."); var o = {} , a = i && (document.head || document.getElementsByTagName("head")[0]) , s = null , l = 0 , u = !1 , c = function() {} , d = null , f = "undefined" != typeof navigator && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase()); function h(e, t, n, i) { u = n, d = i || {}; var a = r(e, t); return p(a), function(t) { for (var n = [], i = 0; i < a.length; i++) { var s = a[i]; (l = o[s.id]).refs--, n.push(l) } t ? p(a = r(e, t)) : a = []; for (i = 0; i < n.length; i++) { var l; if (0 === (l = n[i]).refs) { for (var u = 0; u < l.parts.length; u++) l.parts[u](); delete o[l.id] } } } } function p(e) { for (var t = 0; t < e.length; t++) { var n = e[t] , r = o[n.id]; if (r) { r.refs++; for (var i = 0; i < r.parts.length; i++) r.parts[i](n.parts[i]); for (; i < n.parts.length; i++) r.parts.push(m(n.parts[i])); r.parts.length > n.parts.length && (r.parts.length = n.parts.length) } else { var a = []; for (i = 0; i < n.parts.length; i++) a.push(m(n.parts[i])); o[n.id] = { id: n.id, refs: 1, parts: a } } } } function g() { var e = document.createElement("style"); return e.type = "text/css", a.appendChild(e), e } function m(e) { var t, n, r = document.querySelector('style[data-vue-ssr-id~="' + e.id + '"]'); if (r) { if (u) return c; r.parentNode.removeChild(r) } if (f) { var i = l++; r = s || (s = g()), t = b.bind(null, r, i, !1), n = b.bind(null, r, i, !0) } else r = g(), t = _.bind(null, r), n = function() { r.parentNode.removeChild(r) } ; return t(e), function(r) { if (r) { if (r.css === e.css && r.media === e.media && r.sourceMap === e.sourceMap) return; t(e = r) } else n() } } var v, y = (v = [], function(e, t) { return v[e] = t, v.filter(Boolean).join("\n") } ); function b(e, t, n, r) { var i = n ? "" : r.css; if (e.styleSheet) e.styleSheet.cssText = y(t, i); else { var o = document.createTextNode(i) , a = e.childNodes; a[t] && e.removeChild(a[t]), a.length ? e.insertBefore(o, a[t]) : e.appendChild(o) } } function _(e, t) { var n = t.css , r = t.media , i = t.sourceMap; if (r && e.setAttribute("media", r), d.ssrId && e.setAttribute("data-vue-ssr-id", t.id), i && (n += "\n/*# sourceURL=" + i.sources[0] + " */", n += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(i)))) + " */"), e.styleSheet) e.styleSheet.cssText = n; else { for (; e.firstChild; ) e.removeChild(e.firstChild); e.appendChild(document.createTextNode(n)) } } }, 308: function(e, t, n) { "use strict"; n(216) }, 309: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, ".xm-color-g10[data-v-41ebd106]{color:#fcfcfc}.xm-color-g20[data-v-41ebd106]{color:#f9f9f9}.xm-color-g30[data-v-41ebd106]{color:#ebebeb}.xm-color-g40[data-v-41ebd106]{color:#d6d6d6}.xm-color-g50[data-v-41ebd106]{color:#b2b2b2}.xm-color-g60[data-v-41ebd106]{color:#8c8c8c}.xm-color-g70[data-v-41ebd106]{color:#666}.xm-color-g80[data-v-41ebd106]{color:#2b2b2b}.xm-color-g90[data-v-41ebd106]{color:#111}.share-map__loading[data-v-41ebd106]{height:100%;width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.share-map__loading .dot-animate[data-v-41ebd106]{display:inline-block;overflow:visible;width:1px}.share-map__loading .spinner>*[data-v-41ebd106]{animation:uk-spinner-rotate-data-v-41ebd106 1.4s linear infinite}@keyframes uk-spinner-rotate-data-v-41ebd106{0%{transform:rotate(0deg)}100%{transform:rotate(270deg)}}.share-map__loading .spinner>*>*[data-v-41ebd106]{stroke-dasharray:88px;stroke-dashoffset:0;transform-origin:center;animation:uk-spinner-dash-data-v-41ebd106 1.4s ease-in-out infinite;stroke-width:1;stroke-linecap:round}@keyframes uk-spinner-dash-data-v-41ebd106{0%{stroke-dashoffset:88px}50%{stroke-dashoffset:22px;transform:rotate(135deg)}100%{stroke-dashoffset:88px;transform:rotate(450deg)}}\n", ""]) }, 310: function(e, t, n) { "use strict"; n(217) }, 311: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, ".xm-color-g10[data-v-700a78a7]{color:#fcfcfc}.xm-color-g20[data-v-700a78a7]{color:#f9f9f9}.xm-color-g30[data-v-700a78a7]{color:#ebebeb}.xm-color-g40[data-v-700a78a7]{color:#d6d6d6}.xm-color-g50[data-v-700a78a7]{color:#b2b2b2}.xm-color-g60[data-v-700a78a7]{color:#8c8c8c}.xm-color-g70[data-v-700a78a7]{color:#666}.xm-color-g80[data-v-700a78a7]{color:#2b2b2b}.xm-color-g90[data-v-700a78a7]{color:#111}.dropdown-toggle[data-v-700a78a7]{min-width:80px}\n", ""]) }, 312: function(e, t, n) { "use strict"; n(218) }, 313: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, ".xm-color-g10[data-v-61c0885c]{color:#fcfcfc}.xm-color-g20[data-v-61c0885c]{color:#f9f9f9}.xm-color-g30[data-v-61c0885c]{color:#ebebeb}.xm-color-g40[data-v-61c0885c]{color:#d6d6d6}.xm-color-g50[data-v-61c0885c]{color:#b2b2b2}.xm-color-g60[data-v-61c0885c]{color:#8c8c8c}.xm-color-g70[data-v-61c0885c]{color:#666}.xm-color-g80[data-v-61c0885c]{color:#2b2b2b}.xm-color-g90[data-v-61c0885c]{color:#111}\n", ""]) }, 314: function(e, t, n) { "use strict"; n(219) }, 315: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, ".xm-color-g10[data-v-40b1f39d]{color:#fcfcfc}.xm-color-g20[data-v-40b1f39d]{color:#f9f9f9}.xm-color-g30[data-v-40b1f39d]{color:#ebebeb}.xm-color-g40[data-v-40b1f39d]{color:#d6d6d6}.xm-color-g50[data-v-40b1f39d]{color:#b2b2b2}.xm-color-g60[data-v-40b1f39d]{color:#8c8c8c}.xm-color-g70[data-v-40b1f39d]{color:#666}.xm-color-g80[data-v-40b1f39d]{color:#2b2b2b}.xm-color-g90[data-v-40b1f39d]{color:#111}.share-map-menu__social a[data-v-40b1f39d]{width:100%;white-space:nowrap}\n", ""]) }, 316: function(e, t, n) { "use strict"; n(220) }, 317: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, ".xm-color-g10[data-v-3c5647e8]{color:#fcfcfc}.xm-color-g20[data-v-3c5647e8]{color:#f9f9f9}.xm-color-g30[data-v-3c5647e8]{color:#ebebeb}.xm-color-g40[data-v-3c5647e8]{color:#d6d6d6}.xm-color-g50[data-v-3c5647e8]{color:#b2b2b2}.xm-color-g60[data-v-3c5647e8]{color:#8c8c8c}.xm-color-g70[data-v-3c5647e8]{color:#666}.xm-color-g80[data-v-3c5647e8]{color:#2b2b2b}.xm-color-g90[data-v-3c5647e8]{color:#111}a[data-v-3c5647e8]{display:block;width:100%;white-space:nowrap}svg[data-v-3c5647e8]{width:16px;height:16px}.muted[data-v-3c5647e8]{opacity:0.6}\n", ""]) }, 318: function(e, t, n) { "use strict"; n(221) }, 319: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, '.xm-color-g10[data-v-6c7a3c30]{color:#fcfcfc}.xm-color-g20[data-v-6c7a3c30]{color:#f9f9f9}.xm-color-g30[data-v-6c7a3c30]{color:#ebebeb}.xm-color-g40[data-v-6c7a3c30]{color:#d6d6d6}.xm-color-g50[data-v-6c7a3c30]{color:#b2b2b2}.xm-color-g60[data-v-6c7a3c30]{color:#8c8c8c}.xm-color-g70[data-v-6c7a3c30]{color:#666}.xm-color-g80[data-v-6c7a3c30]{color:#2b2b2b}.xm-color-g90[data-v-6c7a3c30]{color:#111}.popover-body[data-v-6c7a3c30]{padding:0;margin-top:8px;transform:translateX(-50%);box-shadow:0 4px 18px 0 rgba(117,135,149,0.3),0 0 0 .5px #D8D8D8}.popover-body[data-v-6c7a3c30]::after{content:" ";display:block;position:absolute;width:0;height:0;border-style:solid}.popover-body[data-v-6c7a3c30]::after{bottom:100%;left:50%;margin-left:-8px;border-color:transparent;border-width:8px;border-bottom-color:#fff}\n', ""]) }, 32: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.defaultDimension = void 0, t.defaultDimension = { vPaddingXXSmall: { pct: 1, unit: "vmin" }, vPaddingXSmall: { pct: 2, unit: "vmin" }, vPaddingSmall: { pct: 4, unit: "vmin" }, vPaddingNormal: { pct: 6, unit: "vmin" }, vPaddingMedium: { pct: 8, unit: "vmin" }, vPaddingLarge: { pct: 16, unit: "vmin" }, vPaddingXLarge: { pct: 25, unit: "vmin" }, hPaddingXSmall: { pct: 1, unit: "vmin" }, hPaddingSmall: { pct: 2, unit: "vmin" }, hPaddingNormal: { pct: 3, unit: "vmin" }, hPaddingMedium: { pct: 4, unit: "vmin" }, hPaddingLarge: { pct: 5, unit: "vmin" }, hPaddingXLarge: { pct: 7, unit: "vmin" }, hSlidePadding: { pct: 100 / 15, unit: "vw" }, vSlidePadding: { pct: 12.5, unit: "vh" }, scrollFaderHeight: { pct: 12.5, unit: "vh" }, topicSlideTitleFontSizeLarge: { pct: 15, unit: "vmin" }, topicSlideTitleFontSizeMedium: { pct: 8, unit: "vmin" }, topicSlideTitleFontSizeSmall: { pct: 5, unit: "vmin" }, topicSlideTitleScrollFaderHeight: { pct: 12.5, unit: "vh" }, topicSlideSingleLineTitleAlignment: "center", topicSlideMultilineTitleAlignment: "leading", topicSlideLabelFontSize: { pct: 3, unit: "vmin" }, topicSlideLabelMinWidth: { pct: 9, unit: "vmin" }, topicSlideNoteFontSize: { pct: 4, unit: "vmin" }, topicSlideCalloutFontSize: { pct: 4, unit: "vmin" }, imageTopicSlideSmallImageDefiningWidth: 400, imageTopicSlideHLayoutImageZoneWidth: { pct: 700 / 15, unit: "vw" }, imageTopicSlideHLayoutImageZoneWidthForSmallImage: { pct: 20, unit: "vw" }, imageTopicSlideHLayoutSpacingAroundImage: { pct: 100 / 15, unit: "vw" }, imageTopicSlideHLayoutTitleFontSizeLarge: { pct: 10, unit: "vmin" }, imageTopicSlideHLayoutTitleFontSizeMedium: { pct: 8, unit: "vmin" }, imageTopicSlideHLayoutTitleFontSizeSmall: { pct: 7, unit: "vmin" }, imageTopicSlideVLayoutImageZoneHeight: { pct: 62.5, unit: "vh" }, imageTopicSlideVLayoutImageZoneHeightForSmallImage: { pct: 25, unit: "vh" }, imageTopicSlideVLayoutTitleFontSizeLarge: { pct: 7, unit: "vmin" }, imageTopicSlideVLayoutTitleFontSizeMedium: { pct: 6, unit: "vmin" }, imageTopicSlideVLayoutTitleFontSizeSmall: { pct: 4.5, unit: "vmin" }, headerZoneWidth: { pct: 20, unit: "vw" }, headerZoneHeight: { pct: 2.5, unit: "vh" }, headerTextFontSize: { pct: 2.5, unit: "vmin" }, headerTextLeftMargin: { pct: 5, unit: "vmin" }, headerMarkerRightMargin: { pct: .375, unit: "vmin" }, headerLineTopMargin: { pct: 1, unit: "vmin" }, headerLineLength: { pct: 5, unit: "vmin" }, headerLineWidth: 4, braceListSlideParentTopicMaxFontSize: { pct: 10, unit: "vmin" }, braceListSlideParentTopicMinFontSize: { pct: 7, unit: "vmin" }, braceListSlideSubtopicMaxFontSize: { pct: 8, unit: "vmin" }, braceListSlideSubtopicMinFontSize: { pct: 4.5, unit: "vmin" }, braceListSlideScrollFaderHeight: { pct: 25, unit: "vh" }, bulletListSlideParentTopicDefaultFontSize: { pct: 11, unit: "vmin" }, bulletListSlideSubtopicMaxFontSize: { pct: 6, unit: "vmin" }, bulletListSlideSubtopicMinFontSize: { pct: 4.5, unit: "vmin" }, lyricListSlideParentTopicDefaultFontSize: { pct: 11, unit: "vmin" }, lyricListSlideSubtopicMaxFontSize: { pct: 6, unit: "vmin" }, lyricListSlideSubtopicMinFontSize: { pct: 4.5, unit: "vmin" }, treeChartSlideParentTopicMaxFontSize: { pct: 14, unit: "vmin" }, treeChartSlideParentTopicMinFontSize: { pct: 11, unit: "vmin" }, treeChartSlideSubtopicMaxFontSize: { pct: 8, unit: "vmin" }, treeChartSlideSubtopicMinFontSize: { pct: 7, unit: "vmin" }, summarySlideTopicMaxFontSize: { pct: 10, unit: "vmin" }, summarySlideTopicMinFontSize: { pct: 6, unit: "vmin" }, summarySlideTopicMarkerRightMargin: { pct: 1.2, unit: "vmin" }, summarySlideSubtopicFontSize: { pct: 8, unit: "vmin" }, summarySlideSubtopicMarkerRightMargin: { pct: 1.2, unit: "vmin" }, summarySlideLineHeight: { pct: 3.125, unit: "vh" }, summarySlideLineStrokeWidth: 5, summaryScrollFaderHeight: { pct: 12.5, unit: "vh" }, lyricListSlideArrowWidth: 46, lyricListSlideArrowHeight: 36, lyricListSlideArrowCornerRadius: 4, treeChartBranchStrokeWidth: 8, onlyChildSlideSeparatorLineWidth: 4, maxMarkerCount: 3, hitRegionHPadding: { pct: 1, unit: "vmin" }, hitRegionVPadding: { pct: 1, unit: "vmin" } } }, 320: function(e, t, n) { "use strict"; n(222) }, 321: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, ".xm-color-g10[data-v-3759f7df]{color:#fcfcfc}.xm-color-g20[data-v-3759f7df]{color:#f9f9f9}.xm-color-g30[data-v-3759f7df]{color:#ebebeb}.xm-color-g40[data-v-3759f7df]{color:#d6d6d6}.xm-color-g50[data-v-3759f7df]{color:#b2b2b2}.xm-color-g60[data-v-3759f7df]{color:#8c8c8c}.xm-color-g70[data-v-3759f7df]{color:#666}.xm-color-g80[data-v-3759f7df]{color:#2b2b2b}.xm-color-g90[data-v-3759f7df]{color:#111}.information-more-item[data-v-3759f7df]{line-height:34px}.information-more-item .information-more-item__icon[data-v-3759f7df]{width:14px;height:14px}.information-more-item .information-more-item__title[data-v-3759f7df]{line-height:34px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.information-more-item .information-more-item__delete-button[data-v-3759f7df]{line-height:34px;min-width:26px;visibility:hidden;opacity:0;transition:.2s ease opacity}.information-more-item:hover .information-more-item__delete-button[data-v-3759f7df]{visibility:visible;opacity:1}.btn[data-v-3759f7df]{text-transform:none}\n", ""]) }, 322: function(e, t, n) { "use strict"; n(223) }, 323: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, '.xm-color-g10{color:#fcfcfc}.xm-color-g20{color:#f9f9f9}.xm-color-g30{color:#ebebeb}.xm-color-g40{color:#d6d6d6}.xm-color-g50{color:#b2b2b2}.xm-color-g60{color:#8c8c8c}.xm-color-g70{color:#666}.xm-color-g80{color:#2b2b2b}.xm-color-g90{color:#111}[data-name*=select-box],[data-name="resize-box"],[data-name="matrix-plus-box"]{display:none}[data-name="relationship"]{pointer-events:none;user-select:none}.workbook-item::-webkit-scrollbar{display:none}\n', ""]) }, 324: function(e, t, n) { "use strict"; (function(e) { /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var r = n(325) , i = n(326) , o = n(327); function a() { return l.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823 } function s(e, t) { if (a() < t) throw new RangeError("Invalid typed array length"); return l.TYPED_ARRAY_SUPPORT ? (e = new Uint8Array(t)).__proto__ = l.prototype : (null === e && (e = new l(t)), e.length = t), e } function l(e, t, n) { if (!(l.TYPED_ARRAY_SUPPORT || this instanceof l)) return new l(e,t,n); if ("number" == typeof e) { if ("string" == typeof t) throw new Error("If encoding is specified then the first argument must be a string"); return d(this, e) } return u(this, e, t, n) } function u(e, t, n, r) { if ("number" == typeof t) throw new TypeError('"value" argument must not be a number'); return "undefined" != typeof ArrayBuffer && t instanceof ArrayBuffer ? function(e, t, n, r) { if (t.byteLength, n < 0 || t.byteLength < n) throw new RangeError("'offset' is out of bounds"); if (t.byteLength < n + (r || 0)) throw new RangeError("'length' is out of bounds"); t = void 0 === n && void 0 === r ? new Uint8Array(t) : void 0 === r ? new Uint8Array(t,n) : new Uint8Array(t,n,r); l.TYPED_ARRAY_SUPPORT ? (e = t).__proto__ = l.prototype : e = f(e, t); return e }(e, t, n, r) : "string" == typeof t ? function(e, t, n) { "string" == typeof n && "" !== n || (n = "utf8"); if (!l.isEncoding(n)) throw new TypeError('"encoding" must be a valid string encoding'); var r = 0 | p(t, n) , i = (e = s(e, r)).write(t, n); i !== r && (e = e.slice(0, i)); return e }(e, t, n) : function(e, t) { if (l.isBuffer(t)) { var n = 0 | h(t.length); return 0 === (e = s(e, n)).length || t.copy(e, 0, 0, n), e } if (t) { if ("undefined" != typeof ArrayBuffer && t.buffer instanceof ArrayBuffer || "length"in t) return "number" != typeof t.length || (r = t.length) != r ? s(e, 0) : f(e, t); if ("Buffer" === t.type && o(t.data)) return f(e, t.data) } var r; throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.") }(e, t) } function c(e) { if ("number" != typeof e) throw new TypeError('"size" argument must be a number'); if (e < 0) throw new RangeError('"size" argument must not be negative') } function d(e, t) { if (c(t), e = s(e, t < 0 ? 0 : 0 | h(t)), !l.TYPED_ARRAY_SUPPORT) for (var n = 0; n < t; ++n) e[n] = 0; return e } function f(e, t) { var n = t.length < 0 ? 0 : 0 | h(t.length); e = s(e, n); for (var r = 0; r < n; r += 1) e[r] = 255 & t[r]; return e } function h(e) { if (e >= a()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + a().toString(16) + " bytes"); return 0 | e } function p(e, t) { if (l.isBuffer(e)) return e.length; if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(e) || e instanceof ArrayBuffer)) return e.byteLength; "string" != typeof e && (e = "" + e); var n = e.length; if (0 === n) return 0; for (var r = !1; ; ) switch (t) { case "ascii": case "latin1": case "binary": return n; case "utf8": case "utf-8": case void 0: return N(e).length; case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return 2 * n; case "hex": return n >>> 1; case "base64": return U(e).length; default: if (r) return N(e).length; t = ("" + t).toLowerCase(), r = !0 } } function g(e, t, n) { var r = !1; if ((void 0 === t || t < 0) && (t = 0), t > this.length) return ""; if ((void 0 === n || n > this.length) && (n = this.length), n <= 0) return ""; if ((n >>>= 0) <= (t >>>= 0)) return ""; for (e || (e = "utf8"); ; ) switch (e) { case "hex": return A(this, t, n); case "utf8": case "utf-8": return C(this, t, n); case "ascii": return M(this, t, n); case "latin1": case "binary": return T(this, t, n); case "base64": return I(this, t, n); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return E(this, t, n); default: if (r) throw new TypeError("Unknown encoding: " + e); e = (e + "").toLowerCase(), r = !0 } } function m(e, t, n) { var r = e[t]; e[t] = e[n], e[n] = r } function v(e, t, n, r, i) { if (0 === e.length) return -1; if ("string" == typeof n ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, isNaN(n) && (n = i ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) { if (i) return -1; n = e.length - 1 } else if (n < 0) { if (!i) return -1; n = 0 } if ("string" == typeof t && (t = l.from(t, r)), l.isBuffer(t)) return 0 === t.length ? -1 : y(e, t, n, r, i); if ("number" == typeof t) return t &= 255, l.TYPED_ARRAY_SUPPORT && "function" == typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(e, t, n) : Uint8Array.prototype.lastIndexOf.call(e, t, n) : y(e, [t], n, r, i); throw new TypeError("val must be string, number or Buffer") } function y(e, t, n, r, i) { var o, a = 1, s = e.length, l = t.length; if (void 0 !== r && ("ucs2" === (r = String(r).toLowerCase()) || "ucs-2" === r || "utf16le" === r || "utf-16le" === r)) { if (e.length < 2 || t.length < 2) return -1; a = 2, s /= 2, l /= 2, n /= 2 } function u(e, t) { return 1 === a ? e[t] : e.readUInt16BE(t * a) } if (i) { var c = -1; for (o = n; o < s; o++) if (u(e, o) === u(t, -1 === c ? 0 : o - c)) { if (-1 === c && (c = o), o - c + 1 === l) return c * a } else -1 !== c && (o -= o - c), c = -1 } else for (n + l > s && (n = s - l), o = n; o >= 0; o--) { for (var d = !0, f = 0; f < l; f++) if (u(e, o + f) !== u(t, f)) { d = !1; break } if (d) return o } return -1 } function b(e, t, n, r) { n = Number(n) || 0; var i = e.length - n; r ? (r = Number(r)) > i && (r = i) : r = i; var o = t.length; if (o % 2 != 0) throw new TypeError("Invalid hex string"); r > o / 2 && (r = o / 2); for (var a = 0; a < r; ++a) { var s = parseInt(t.substr(2 * a, 2), 16); if (isNaN(s)) return a; e[n + a] = s } return a } function _(e, t, n, r) { return W(N(t, e.length - n), e, n, r) } function w(e, t, n, r) { return W(function(e) { for (var t = [], n = 0; n < e.length; ++n) t.push(255 & e.charCodeAt(n)); return t }(t), e, n, r) } function S(e, t, n, r) { return w(e, t, n, r) } function x(e, t, n, r) { return W(U(t), e, n, r) } function k(e, t, n, r) { return W(function(e, t) { for (var n, r, i, o = [], a = 0; a < e.length && !((t -= 2) < 0); ++a) n = e.charCodeAt(a), r = n >> 8, i = n % 256, o.push(i), o.push(r); return o }(t, e.length - n), e, n, r) } function I(e, t, n) { return 0 === t && n === e.length ? r.fromByteArray(e) : r.fromByteArray(e.slice(t, n)) } function C(e, t, n) { n = Math.min(e.length, n); for (var r = [], i = t; i < n; ) { var o, a, s, l, u = e[i], c = null, d = u > 239 ? 4 : u > 223 ? 3 : u > 191 ? 2 : 1; if (i + d <= n) switch (d) { case 1: u < 128 && (c = u); break; case 2: 128 == (192 & (o = e[i + 1])) && (l = (31 & u) << 6 | 63 & o) > 127 && (c = l); break; case 3: o = e[i + 1], a = e[i + 2], 128 == (192 & o) && 128 == (192 & a) && (l = (15 & u) << 12 | (63 & o) << 6 | 63 & a) > 2047 && (l < 55296 || l > 57343) && (c = l); break; case 4: o = e[i + 1], a = e[i + 2], s = e[i + 3], 128 == (192 & o) && 128 == (192 & a) && 128 == (192 & s) && (l = (15 & u) << 18 | (63 & o) << 12 | (63 & a) << 6 | 63 & s) > 65535 && l < 1114112 && (c = l) } null === c ? (c = 65533, d = 1) : c > 65535 && (c -= 65536, r.push(c >>> 10 & 1023 | 55296), c = 56320 | 1023 & c), r.push(c), i += d } return function(e) { var t = e.length; if (t <= 4096) return String.fromCharCode.apply(String, e); var n = "" , r = 0; for (; r < t; ) n += String.fromCharCode.apply(String, e.slice(r, r += 4096)); return n }(r) } t.Buffer = l, t.SlowBuffer = function(e) { +e != e && (e = 0); return l.alloc(+e) } , t.INSPECT_MAX_BYTES = 50, l.TYPED_ARRAY_SUPPORT = void 0 !== e.TYPED_ARRAY_SUPPORT ? e.TYPED_ARRAY_SUPPORT : function() { try { var e = new Uint8Array(1); return e.__proto__ = { __proto__: Uint8Array.prototype, foo: function() { return 42 } }, 42 === e.foo() && "function" == typeof e.subarray && 0 === e.subarray(1, 1).byteLength } catch (e) { return !1 } }(), t.kMaxLength = a(), l.poolSize = 8192, l._augment = function(e) { return e.__proto__ = l.prototype, e } , l.from = function(e, t, n) { return u(null, e, t, n) } , l.TYPED_ARRAY_SUPPORT && (l.prototype.__proto__ = Uint8Array.prototype, l.__proto__ = Uint8Array, "undefined" != typeof Symbol && Symbol.species && l[Symbol.species] === l && Object.defineProperty(l, Symbol.species, { value: null, configurable: !0 })), l.alloc = function(e, t, n) { return function(e, t, n, r) { return c(t), t <= 0 ? s(e, t) : void 0 !== n ? "string" == typeof r ? s(e, t).fill(n, r) : s(e, t).fill(n) : s(e, t) }(null, e, t, n) } , l.allocUnsafe = function(e) { return d(null, e) } , l.allocUnsafeSlow = function(e) { return d(null, e) } , l.isBuffer = function(e) { return !(null == e || !e._isBuffer) } , l.compare = function(e, t) { if (!l.isBuffer(e) || !l.isBuffer(t)) throw new TypeError("Arguments must be Buffers"); if (e === t) return 0; for (var n = e.length, r = t.length, i = 0, o = Math.min(n, r); i < o; ++i) if (e[i] !== t[i]) { n = e[i], r = t[i]; break } return n < r ? -1 : r < n ? 1 : 0 } , l.isEncoding = function(e) { switch (String(e).toLowerCase()) { case "hex": case "utf8": case "utf-8": case "ascii": case "latin1": case "binary": case "base64": case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return !0; default: return !1 } } , l.concat = function(e, t) { if (!o(e)) throw new TypeError('"list" argument must be an Array of Buffers'); if (0 === e.length) return l.alloc(0); var n; if (void 0 === t) for (t = 0, n = 0; n < e.length; ++n) t += e[n].length; var r = l.allocUnsafe(t) , i = 0; for (n = 0; n < e.length; ++n) { var a = e[n]; if (!l.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers'); a.copy(r, i), i += a.length } return r } , l.byteLength = p, l.prototype._isBuffer = !0, l.prototype.swap16 = function() { var e = this.length; if (e % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits"); for (var t = 0; t < e; t += 2) m(this, t, t + 1); return this } , l.prototype.swap32 = function() { var e = this.length; if (e % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits"); for (var t = 0; t < e; t += 4) m(this, t, t + 3), m(this, t + 1, t + 2); return this } , l.prototype.swap64 = function() { var e = this.length; if (e % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); for (var t = 0; t < e; t += 8) m(this, t, t + 7), m(this, t + 1, t + 6), m(this, t + 2, t + 5), m(this, t + 3, t + 4); return this } , l.prototype.toString = function() { var e = 0 | this.length; return 0 === e ? "" : 0 === arguments.length ? C(this, 0, e) : g.apply(this, arguments) } , l.prototype.equals = function(e) { if (!l.isBuffer(e)) throw new TypeError("Argument must be a Buffer"); return this === e || 0 === l.compare(this, e) } , l.prototype.inspect = function() { var e = "" , n = t.INSPECT_MAX_BYTES; return this.length > 0 && (e = this.toString("hex", 0, n).match(/.{2}/g).join(" "), this.length > n && (e += " ... ")), "" } , l.prototype.compare = function(e, t, n, r, i) { if (!l.isBuffer(e)) throw new TypeError("Argument must be a Buffer"); if (void 0 === t && (t = 0), void 0 === n && (n = e ? e.length : 0), void 0 === r && (r = 0), void 0 === i && (i = this.length), t < 0 || n > e.length || r < 0 || i > this.length) throw new RangeError("out of range index"); if (r >= i && t >= n) return 0; if (r >= i) return -1; if (t >= n) return 1; if (this === e) return 0; for (var o = (i >>>= 0) - (r >>>= 0), a = (n >>>= 0) - (t >>>= 0), s = Math.min(o, a), u = this.slice(r, i), c = e.slice(t, n), d = 0; d < s; ++d) if (u[d] !== c[d]) { o = u[d], a = c[d]; break } return o < a ? -1 : a < o ? 1 : 0 } , l.prototype.includes = function(e, t, n) { return -1 !== this.indexOf(e, t, n) } , l.prototype.indexOf = function(e, t, n) { return v(this, e, t, n, !0) } , l.prototype.lastIndexOf = function(e, t, n) { return v(this, e, t, n, !1) } , l.prototype.write = function(e, t, n, r) { if (void 0 === t) r = "utf8", n = this.length, t = 0; else if (void 0 === n && "string" == typeof t) r = t, n = this.length, t = 0; else { if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported"); t |= 0, isFinite(n) ? (n |= 0, void 0 === r && (r = "utf8")) : (r = n, n = void 0) } var i = this.length - t; if ((void 0 === n || n > i) && (n = i), e.length > 0 && (n < 0 || t < 0) || t > this.length) throw new RangeError("Attempt to write outside buffer bounds"); r || (r = "utf8"); for (var o = !1; ; ) switch (r) { case "hex": return b(this, e, t, n); case "utf8": case "utf-8": return _(this, e, t, n); case "ascii": return w(this, e, t, n); case "latin1": case "binary": return S(this, e, t, n); case "base64": return x(this, e, t, n); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return k(this, e, t, n); default: if (o) throw new TypeError("Unknown encoding: " + r); r = ("" + r).toLowerCase(), o = !0 } } , l.prototype.toJSON = function() { return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) } } ; function M(e, t, n) { var r = ""; n = Math.min(e.length, n); for (var i = t; i < n; ++i) r += String.fromCharCode(127 & e[i]); return r } function T(e, t, n) { var r = ""; n = Math.min(e.length, n); for (var i = t; i < n; ++i) r += String.fromCharCode(e[i]); return r } function A(e, t, n) { var r = e.length; (!t || t < 0) && (t = 0), (!n || n < 0 || n > r) && (n = r); for (var i = "", o = t; o < n; ++o) i += D(e[o]); return i } function E(e, t, n) { for (var r = e.slice(t, n), i = "", o = 0; o < r.length; o += 2) i += String.fromCharCode(r[o] + 256 * r[o + 1]); return i } function O(e, t, n) { if (e % 1 != 0 || e < 0) throw new RangeError("offset is not uint"); if (e + t > n) throw new RangeError("Trying to access beyond buffer length") } function B(e, t, n, r, i, o) { if (!l.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance'); if (t > i || t < o) throw new RangeError('"value" argument is out of bounds'); if (n + r > e.length) throw new RangeError("Index out of range") } function L(e, t, n, r) { t < 0 && (t = 65535 + t + 1); for (var i = 0, o = Math.min(e.length - n, 2); i < o; ++i) e[n + i] = (t & 255 << 8 * (r ? i : 1 - i)) >>> 8 * (r ? i : 1 - i) } function P(e, t, n, r) { t < 0 && (t = 4294967295 + t + 1); for (var i = 0, o = Math.min(e.length - n, 4); i < o; ++i) e[n + i] = t >>> 8 * (r ? i : 3 - i) & 255 } function R(e, t, n, r, i, o) { if (n + r > e.length) throw new RangeError("Index out of range"); if (n < 0) throw new RangeError("Index out of range") } function z(e, t, n, r, o) { return o || R(e, 0, n, 4), i.write(e, t, n, r, 23, 4), n + 4 } function j(e, t, n, r, o) { return o || R(e, 0, n, 8), i.write(e, t, n, r, 52, 8), n + 8 } l.prototype.slice = function(e, t) { var n, r = this.length; if ((e = ~~e) < 0 ? (e += r) < 0 && (e = 0) : e > r && (e = r), (t = void 0 === t ? r : ~~t) < 0 ? (t += r) < 0 && (t = 0) : t > r && (t = r), t < e && (t = e), l.TYPED_ARRAY_SUPPORT) (n = this.subarray(e, t)).__proto__ = l.prototype; else { var i = t - e; n = new l(i,void 0); for (var o = 0; o < i; ++o) n[o] = this[o + e] } return n } , l.prototype.readUIntLE = function(e, t, n) { e |= 0, t |= 0, n || O(e, t, this.length); for (var r = this[e], i = 1, o = 0; ++o < t && (i *= 256); ) r += this[e + o] * i; return r } , l.prototype.readUIntBE = function(e, t, n) { e |= 0, t |= 0, n || O(e, t, this.length); for (var r = this[e + --t], i = 1; t > 0 && (i *= 256); ) r += this[e + --t] * i; return r } , l.prototype.readUInt8 = function(e, t) { return t || O(e, 1, this.length), this[e] } , l.prototype.readUInt16LE = function(e, t) { return t || O(e, 2, this.length), this[e] | this[e + 1] << 8 } , l.prototype.readUInt16BE = function(e, t) { return t || O(e, 2, this.length), this[e] << 8 | this[e + 1] } , l.prototype.readUInt32LE = function(e, t) { return t || O(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + 16777216 * this[e + 3] } , l.prototype.readUInt32BE = function(e, t) { return t || O(e, 4, this.length), 16777216 * this[e] + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]) } , l.prototype.readIntLE = function(e, t, n) { e |= 0, t |= 0, n || O(e, t, this.length); for (var r = this[e], i = 1, o = 0; ++o < t && (i *= 256); ) r += this[e + o] * i; return r >= (i *= 128) && (r -= Math.pow(2, 8 * t)), r } , l.prototype.readIntBE = function(e, t, n) { e |= 0, t |= 0, n || O(e, t, this.length); for (var r = t, i = 1, o = this[e + --r]; r > 0 && (i *= 256); ) o += this[e + --r] * i; return o >= (i *= 128) && (o -= Math.pow(2, 8 * t)), o } , l.prototype.readInt8 = function(e, t) { return t || O(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e] } , l.prototype.readInt16LE = function(e, t) { t || O(e, 2, this.length); var n = this[e] | this[e + 1] << 8; return 32768 & n ? 4294901760 | n : n } , l.prototype.readInt16BE = function(e, t) { t || O(e, 2, this.length); var n = this[e + 1] | this[e] << 8; return 32768 & n ? 4294901760 | n : n } , l.prototype.readInt32LE = function(e, t) { return t || O(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24 } , l.prototype.readInt32BE = function(e, t) { return t || O(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3] } , l.prototype.readFloatLE = function(e, t) { return t || O(e, 4, this.length), i.read(this, e, !0, 23, 4) } , l.prototype.readFloatBE = function(e, t) { return t || O(e, 4, this.length), i.read(this, e, !1, 23, 4) } , l.prototype.readDoubleLE = function(e, t) { return t || O(e, 8, this.length), i.read(this, e, !0, 52, 8) } , l.prototype.readDoubleBE = function(e, t) { return t || O(e, 8, this.length), i.read(this, e, !1, 52, 8) } , l.prototype.writeUIntLE = function(e, t, n, r) { (e = +e, t |= 0, n |= 0, r) || B(this, e, t, n, Math.pow(2, 8 * n) - 1, 0); var i = 1 , o = 0; for (this[t] = 255 & e; ++o < n && (i *= 256); ) this[t + o] = e / i & 255; return t + n } , l.prototype.writeUIntBE = function(e, t, n, r) { (e = +e, t |= 0, n |= 0, r) || B(this, e, t, n, Math.pow(2, 8 * n) - 1, 0); var i = n - 1 , o = 1; for (this[t + i] = 255 & e; --i >= 0 && (o *= 256); ) this[t + i] = e / o & 255; return t + n } , l.prototype.writeUInt8 = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 1, 255, 0), l.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), this[t] = 255 & e, t + 1 } , l.prototype.writeUInt16LE = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 2, 65535, 0), l.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : L(this, e, t, !0), t + 2 } , l.prototype.writeUInt16BE = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 2, 65535, 0), l.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : L(this, e, t, !1), t + 2 } , l.prototype.writeUInt32LE = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 4, 4294967295, 0), l.TYPED_ARRAY_SUPPORT ? (this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = 255 & e) : P(this, e, t, !0), t + 4 } , l.prototype.writeUInt32BE = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 4, 4294967295, 0), l.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : P(this, e, t, !1), t + 4 } , l.prototype.writeIntLE = function(e, t, n, r) { if (e = +e, t |= 0, !r) { var i = Math.pow(2, 8 * n - 1); B(this, e, t, n, i - 1, -i) } var o = 0 , a = 1 , s = 0; for (this[t] = 255 & e; ++o < n && (a *= 256); ) e < 0 && 0 === s && 0 !== this[t + o - 1] && (s = 1), this[t + o] = (e / a >> 0) - s & 255; return t + n } , l.prototype.writeIntBE = function(e, t, n, r) { if (e = +e, t |= 0, !r) { var i = Math.pow(2, 8 * n - 1); B(this, e, t, n, i - 1, -i) } var o = n - 1 , a = 1 , s = 0; for (this[t + o] = 255 & e; --o >= 0 && (a *= 256); ) e < 0 && 0 === s && 0 !== this[t + o + 1] && (s = 1), this[t + o] = (e / a >> 0) - s & 255; return t + n } , l.prototype.writeInt8 = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 1, 127, -128), l.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), e < 0 && (e = 255 + e + 1), this[t] = 255 & e, t + 1 } , l.prototype.writeInt16LE = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 2, 32767, -32768), l.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : L(this, e, t, !0), t + 2 } , l.prototype.writeInt16BE = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 2, 32767, -32768), l.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : L(this, e, t, !1), t + 2 } , l.prototype.writeInt32LE = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 4, 2147483647, -2147483648), l.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24) : P(this, e, t, !0), t + 4 } , l.prototype.writeInt32BE = function(e, t, n) { return e = +e, t |= 0, n || B(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), l.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : P(this, e, t, !1), t + 4 } , l.prototype.writeFloatLE = function(e, t, n) { return z(this, e, t, !0, n) } , l.prototype.writeFloatBE = function(e, t, n) { return z(this, e, t, !1, n) } , l.prototype.writeDoubleLE = function(e, t, n) { return j(this, e, t, !0, n) } , l.prototype.writeDoubleBE = function(e, t, n) { return j(this, e, t, !1, n) } , l.prototype.copy = function(e, t, n, r) { if (n || (n = 0), r || 0 === r || (r = this.length), t >= e.length && (t = e.length), t || (t = 0), r > 0 && r < n && (r = n), r === n) return 0; if (0 === e.length || 0 === this.length) return 0; if (t < 0) throw new RangeError("targetStart out of bounds"); if (n < 0 || n >= this.length) throw new RangeError("sourceStart out of bounds"); if (r < 0) throw new RangeError("sourceEnd out of bounds"); r > this.length && (r = this.length), e.length - t < r - n && (r = e.length - t + n); var i, o = r - n; if (this === e && n < t && t < r) for (i = o - 1; i >= 0; --i) e[i + t] = this[i + n]; else if (o < 1e3 || !l.TYPED_ARRAY_SUPPORT) for (i = 0; i < o; ++i) e[i + t] = this[i + n]; else Uint8Array.prototype.set.call(e, this.subarray(n, n + o), t); return o } , l.prototype.fill = function(e, t, n, r) { if ("string" == typeof e) { if ("string" == typeof t ? (r = t, t = 0, n = this.length) : "string" == typeof n && (r = n, n = this.length), 1 === e.length) { var i = e.charCodeAt(0); i < 256 && (e = i) } if (void 0 !== r && "string" != typeof r) throw new TypeError("encoding must be a string"); if ("string" == typeof r && !l.isEncoding(r)) throw new TypeError("Unknown encoding: " + r) } else "number" == typeof e && (e &= 255); if (t < 0 || this.length < t || this.length < n) throw new RangeError("Out of range index"); if (n <= t) return this; var o; if (t >>>= 0, n = void 0 === n ? this.length : n >>> 0, e || (e = 0), "number" == typeof e) for (o = t; o < n; ++o) this[o] = e; else { var a = l.isBuffer(e) ? e : N(new l(e,r).toString()) , s = a.length; for (o = 0; o < n - t; ++o) this[o + t] = a[o % s] } return this } ; var F = /[^+\/0-9A-Za-z-_]/g; function D(e) { return e < 16 ? "0" + e.toString(16) : e.toString(16) } function N(e, t) { var n; t = t || 1 / 0; for (var r = e.length, i = null, o = [], a = 0; a < r; ++a) { if ((n = e.charCodeAt(a)) > 55295 && n < 57344) { if (!i) { if (n > 56319) { (t -= 3) > -1 && o.push(239, 191, 189); continue } if (a + 1 === r) { (t -= 3) > -1 && o.push(239, 191, 189); continue } i = n; continue } if (n < 56320) { (t -= 3) > -1 && o.push(239, 191, 189), i = n; continue } n = 65536 + (i - 55296 << 10 | n - 56320) } else i && (t -= 3) > -1 && o.push(239, 191, 189); if (i = null, n < 128) { if ((t -= 1) < 0) break; o.push(n) } else if (n < 2048) { if ((t -= 2) < 0) break; o.push(n >> 6 | 192, 63 & n | 128) } else if (n < 65536) { if ((t -= 3) < 0) break; o.push(n >> 12 | 224, n >> 6 & 63 | 128, 63 & n | 128) } else { if (!(n < 1114112)) throw new Error("Invalid code point"); if ((t -= 4) < 0) break; o.push(n >> 18 | 240, n >> 12 & 63 | 128, n >> 6 & 63 | 128, 63 & n | 128) } } return o } function U(e) { return r.toByteArray(function(e) { if ((e = function(e) { return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "") }(e).replace(F, "")).length < 2) return ""; for (; e.length % 4 != 0; ) e += "="; return e }(e)) } function W(e, t, n, r) { for (var i = 0; i < r && !(i + n >= t.length || i >= e.length); ++i) t[i + n] = e[i]; return i } } ).call(this, n(20)) }, 325: function(e, t, n) { "use strict"; t.byteLength = function(e) { var t = u(e) , n = t[0] , r = t[1]; return 3 * (n + r) / 4 - r } , t.toByteArray = function(e) { var t, n, r = u(e), a = r[0], s = r[1], l = new o(function(e, t, n) { return 3 * (t + n) / 4 - n }(0, a, s)), c = 0, d = s > 0 ? a - 4 : a; for (n = 0; n < d; n += 4) t = i[e.charCodeAt(n)] << 18 | i[e.charCodeAt(n + 1)] << 12 | i[e.charCodeAt(n + 2)] << 6 | i[e.charCodeAt(n + 3)], l[c++] = t >> 16 & 255, l[c++] = t >> 8 & 255, l[c++] = 255 & t; 2 === s && (t = i[e.charCodeAt(n)] << 2 | i[e.charCodeAt(n + 1)] >> 4, l[c++] = 255 & t); 1 === s && (t = i[e.charCodeAt(n)] << 10 | i[e.charCodeAt(n + 1)] << 4 | i[e.charCodeAt(n + 2)] >> 2, l[c++] = t >> 8 & 255, l[c++] = 255 & t); return l } , t.fromByteArray = function(e) { for (var t, n = e.length, i = n % 3, o = [], a = 0, s = n - i; a < s; a += 16383) o.push(c(e, a, a + 16383 > s ? s : a + 16383)); 1 === i ? (t = e[n - 1], o.push(r[t >> 2] + r[t << 4 & 63] + "==")) : 2 === i && (t = (e[n - 2] << 8) + e[n - 1], o.push(r[t >> 10] + r[t >> 4 & 63] + r[t << 2 & 63] + "=")); return o.join("") } ; for (var r = [], i = [], o = "undefined" != typeof Uint8Array ? Uint8Array : Array, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0, l = a.length; s < l; ++s) r[s] = a[s], i[a.charCodeAt(s)] = s; function u(e) { var t = e.length; if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4"); var n = e.indexOf("="); return -1 === n && (n = t), [n, n === t ? 0 : 4 - n % 4] } function c(e, t, n) { for (var i, o, a = [], s = t; s < n; s += 3) i = (e[s] << 16 & 16711680) + (e[s + 1] << 8 & 65280) + (255 & e[s + 2]), a.push(r[(o = i) >> 18 & 63] + r[o >> 12 & 63] + r[o >> 6 & 63] + r[63 & o]); return a.join("") } i["-".charCodeAt(0)] = 62, i["_".charCodeAt(0)] = 63 }, 326: function(e, t) { t.read = function(e, t, n, r, i) { var o, a, s = 8 * i - r - 1, l = (1 << s) - 1, u = l >> 1, c = -7, d = n ? i - 1 : 0, f = n ? -1 : 1, h = e[t + d]; for (d += f, o = h & (1 << -c) - 1, h >>= -c, c += s; c > 0; o = 256 * o + e[t + d], d += f, c -= 8) ; for (a = o & (1 << -c) - 1, o >>= -c, c += r; c > 0; a = 256 * a + e[t + d], d += f, c -= 8) ; if (0 === o) o = 1 - u; else { if (o === l) return a ? NaN : 1 / 0 * (h ? -1 : 1); a += Math.pow(2, r), o -= u } return (h ? -1 : 1) * a * Math.pow(2, o - r) } , t.write = function(e, t, n, r, i, o) { var a, s, l, u = 8 * o - i - 1, c = (1 << u) - 1, d = c >> 1, f = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = r ? 0 : o - 1, p = r ? 1 : -1, g = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0; for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (s = isNaN(t) ? 1 : 0, a = c) : (a = Math.floor(Math.log(t) / Math.LN2), t * (l = Math.pow(2, -a)) < 1 && (a--, l *= 2), (t += a + d >= 1 ? f / l : f * Math.pow(2, 1 - d)) * l >= 2 && (a++, l /= 2), a + d >= c ? (s = 0, a = c) : a + d >= 1 ? (s = (t * l - 1) * Math.pow(2, i), a += d) : (s = t * Math.pow(2, d - 1) * Math.pow(2, i), a = 0)); i >= 8; e[n + h] = 255 & s, h += p, s /= 256, i -= 8) ; for (a = a << i | s, u += i; u > 0; e[n + h] = 255 & a, h += p, a /= 256, u -= 8) ; e[n + h - p] |= 128 * g } }, 327: function(e, t) { var n = {}.toString; e.exports = Array.isArray || function(e) { return "[object Array]" == n.call(e) } }, 328: function(e, t, n) { "use strict"; n(224) }, 329: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, '.xm-color-g10[data-v-5e5182e9]{color:#fcfcfc}.xm-color-g20[data-v-5e5182e9]{color:#f9f9f9}.xm-color-g30[data-v-5e5182e9]{color:#ebebeb}.xm-color-g40[data-v-5e5182e9]{color:#d6d6d6}.xm-color-g50[data-v-5e5182e9]{color:#b2b2b2}.xm-color-g60[data-v-5e5182e9]{color:#8c8c8c}.xm-color-g70[data-v-5e5182e9]{color:#666}.xm-color-g80[data-v-5e5182e9]{color:#2b2b2b}.xm-color-g90[data-v-5e5182e9]{color:#111}a[data-v-5e5182e9]{display:block;width:100%;white-space:nowrap}.flex-base-line[data-v-5e5182e9]{align-items:baseline}.muted[data-v-5e5182e9]{opacity:0.6}.ml-spacing-small[data-v-5e5182e9]{margin-left:3px}.dropdown-menu[data-v-5e5182e9]{padding:0;color:var(--dropdown-menu-color)}.dropdown-menu .menu-container[data-v-5e5182e9]{position:relative}.dropdown-menu .menu-container[data-v-5e5182e9]::before{content:"";position:absolute;width:12px;height:12px;background:var(--floating-bar-menu-background-color);top:-5px;right:calc(50% - 8px);transform:rotate(45deg)}.dropdown-menu .menu-block[data-v-5e5182e9]{padding:12px 20px}.dropdown-menu .dropdown-title[data-v-5e5182e9]{padding-top:8px;line-height:30px;font-size:24px;font-weight:600;margin-bottom:10px}.dropdown-menu .btn-icon[data-v-5e5182e9]{width:50%;height:24px}.dropdown-menu .btn-icon svg[data-v-5e5182e9]{width:16px;height:16px}.dropdown-menu .btn-icon.active[data-v-5e5182e9]{background:var(--dropdown-menu-button-active-color) !important}span[data-v-5e5182e9]{user-select:none}label[data-v-5e5182e9]{margin:0}\n', ""]) }, 33: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeHitRegionBounds = t.computeAbsoluteBounds = void 0, t.computeAbsoluteBounds = function e(t, n={ x: 0, y: 0 }) { for (const r of t) r.absBounds.x = r.bounds.x + n.x, r.absBounds.y = r.bounds.y + n.y, r.absBounds.width = r.bounds.width, r.absBounds.height = r.bounds.height, "group" === r.contentType && e(r.children, r.absBounds) } , t.computeHitRegionBounds = function e(t, n, r, i, o, a) { var s, l, u; for (const c of n) { if (c.id === t) { const e = Object.assign({}, c.absBounds) , t = e.y + e.height / 2; return e.x = Math.max(e.x, i.x) - o, e.y = Math.max(e.y - a, i.y), e.width = Math.min(e.x + e.width + o + o, i.x + i.width) - e.x, e.height = Math.min(t + e.height / 2 + a, i.y + i.height) - e.y, Object.assign(e, { opacity: e.height / (c.absBounds.height + a + a) }) } if ("group" === c.contentType) { const n = "visible" === c.overflow ? i : c.absBounds; let d = n; const f = null !== (u = null !== (l = null === (s = r.find(e=>e.id === c.id)) || void 0 === s ? void 0 : s.scrollOffset) && void 0 !== l ? l : c.scrollOffset) && void 0 !== u ? u : 0; f > 0 && (d = Object.assign(Object.assign({}, n), { y: n.y + f })); const h = e(t, c.children, r, d, o, a); if (h) { const e = f > 0 ? Object.assign(Object.assign({}, h), { y: h.y - f }) : h; if (e.y + e.height < n.y || e.y > n.y + n.height) return null; if (e.y < n.y) { e.y = n.y; const t = e.height - (n.y - e.y); e.opacity = t / e.height, e.height = t } return e } } } return null } }, 330: function(e, t, n) { "use strict"; n(225) }, 331: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, ".xm-color-g10[data-v-2012282a]{color:#fcfcfc}.xm-color-g20[data-v-2012282a]{color:#f9f9f9}.xm-color-g30[data-v-2012282a]{color:#ebebeb}.xm-color-g40[data-v-2012282a]{color:#d6d6d6}.xm-color-g50[data-v-2012282a]{color:#b2b2b2}.xm-color-g60[data-v-2012282a]{color:#8c8c8c}.xm-color-g70[data-v-2012282a]{color:#666}.xm-color-g80[data-v-2012282a]{color:#2b2b2b}.xm-color-g90[data-v-2012282a]{color:#111}.top-right-bar[data-v-2012282a]{--floating-bar-verical-separator-color: rgba(0, 0, 0, 0.1);--floating-bar-color: rgba(0, 0, 0, 1);--floating-bar-context-color: rgba(255, 255, 255, 1);--floating-bar-menu-color: currentcolor;--floating-bar-menu-background-color: rgba(255, 255, 255, 1);--floating-bar-menu-item-hover-background: #eeeef0;--floating-bar-button-floating-color: rgba(0,0,0,.05);--dropdown-menu-color: #212529;--dropdown-menu-button-active-color: #eeeeee;position:absolute;top:24px;right:24px;opacity:0.15;transition:opacity .3s ease-in-out}.top-right-bar.dark[data-v-2012282a]{--floating-bar-context-color: rgba(129, 129, 137, 0.5);--floating-bar-verical-separator-color: rgba(255, 255, 255, 0.1);--floating-bar-color: rgba(255, 255, 255, 1);--floating-bar-menu-color: white;--floating-bar-menu-background-color: #414144;--floating-bar-menu-item-hover-background: rgba(118,118,128,0.7);--floating-bar-button-floating-color: rgba(118,118,128,0.5);--dropdown-menu-color: rgba(255, 255, 255, 1);--dropdown-menu-button-active-color: rgba(118, 118, 128, 0.5)}.top-right-bar .floating-bar[data-v-2012282a]{backdrop-filter:unset;-webkit-backdrop-filter:unset}.top-right-bar .floating-bar .btn[data-v-2012282a]{line-height:24px}.top-right-bar[data-v-2012282a]:hover{opacity:1}.btn-text[data-v-2012282a]{padding:4px;color:currentcolor}.pitch-mask[data-v-2012282a]{position:absolute;width:100%;height:100%;top:0;right:0}\n", ""]) }, 332: function(e, t, n) { var r = n(471); "string" == typeof r && (r = [[e.i, r, ""]]), r.locals && (e.exports = r.locals); (0, n(3).default)("be704580", r, !0, {}) }, 34: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.mapValues = t.rangedIntegers = t.findClosestMatch = void 0, t.findClosestMatch = function(e, t) { let n = null , r = e(!0); for (; null !== r; ) { const i = t(r); i && (n = r), r = e(!i) } return n } , t.rangedIntegers = function(e, t) { const n = e < t , r = n ? Math.floor : Math.ceil; let i = null; return o=>{ if (null === i) return i = e, e; if (o) { if (e = i + (n ? 1 : -1), n ? i >= t : i <= t) return null } else if (t = i + (n ? -1 : 1), n ? i <= e : i >= e) return null; return i = r((e + t) / 2), i } } , t.mapValues = function(e, t) { return n=>{ const r = e(n); return null === r ? null : t(r) } } }, 35: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.getPlaceholderImageSource = t.shouldShowPlaceholder = t.computeTopicTitleGroup = void 0; const r = n(5) , i = n(12) , o = n(13) , a = n(15) , s = n(42) , l = n(61); function u(e, t) { return !e && !t } function c() { return '\n \n \n \n ' } t.computeTopicTitleGroup = function(e, t, n, d, f, h, p) { var g, m, v, y; const {maxWidth: b, fontSize: _, markerRightMargin: w, placeholder: S, maxHeight: x, scrollFaderSize: k} = p , I = null !== (g = p.textRoles) && void 0 !== g ? g : [] , C = null !== (m = p.markerRoles) && void 0 !== m ? m : [] , M = null !== (v = p.imagePlaceholderRoles) && void 0 !== v ? v : [] , T = null !== (y = p.groupRoles) && void 0 !== y ? y : [] , A = h.length , E = _ , O = _ , B = _ , L = _ , P = (E + w) * A , R = p.lineHeight ? i.toCSSLength(p.lineHeight) : l.computeTextLineHeight(_) , z = { id: r.titleTextOfTopic(d), roles: [...I], bounds: o.zeroRect(), absBounds: o.zeroRect(), contentType: "text", text: f, fontSize: i.toCSSLength(_), textIndent: i.toCSSLength(P), lineHeight: R }; "textAlignment"in p ? z.textAlignment = p.textAlignment : A > 0 && (z.textAlignment = "leading"), "overflowWrap"in p && (z.overflowWrap = p.overflowWrap), a.initializeBoxStyle(z, e, t, { layout: n }); const j = s.measureText(z, { maxWidth: b }) , {lineHeight: F, width: D, height: N} = j; z.bounds.width = D, z.bounds.height = N, z.lineCount = j.lineCount; const U = [] , W = F; let H, V, $, G = 0, Z = 0; for (let i = 0; i < A; i++) { const s = h[i] , l = { id: r.markerOfTopic(d, i), roles: ["marker", ...C], bounds: { x: Z, y: (W - O) / 2, width: E, height: O }, absBounds: o.zeroRect(), contentType: "image", imageSource: s.imageSource }; a.initializeBoxStyle(l, e, t, { layout: n }), Z += E + w, G > 0 && (G += w), G += E, U.push(l) } u(f.length > 0, A > 0) && "image" === S ? (V = F, $ = F, H = { id: r.imageOfTopic(d), roles: ["imagePlaceholder", ...M], bounds: { x: (V - B) / 2, y: ($ - L) / 2, width: B, height: L }, absBounds: o.zeroRect(), contentType: "svg-template", fillColor: e.foregroundColor, svg: c() }, a.initializeBoxStyle(H, e, t, { layout: n })) : (V = 0, $ = 0, H = null); const q = Math.max(D, G, V) , Y = Math.max(N, F, W, $) , X = x && Y > x ? x : Y , J = { id: r.titleOfTopic(d), roles: [...T], bounds: { x: 0, y: 0, width: q, height: X }, absBounds: o.zeroRect(), contentType: "group", children: [z, ...U, ...H ? [H] : []], contentHeight: Y, overflow: X < Y ? "scroll" : "visible", scrollFaderSize: k }; return "requestForHit"in p && (J.requestForHit = p.requestForHit), a.initializeBoxStyle(J, e, t, { layout: n }), { groupBox: J, textBox: z, markerImageBoxes: U, textMeasurement: j, imagePlaceholderBox: H } } , t.shouldShowPlaceholder = u, t.getPlaceholderImageSource = c }, 36: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeTopicTitle = void 0, t.computeTopicTitle = function(e) { var t, n; const r = e.title; return 0 === r.length && !e.image && (e.note && (null !== (n = null !== (t = e.note.html) && void 0 !== t ? t : e.note.plainText) && void 0 !== n ? n : "").length > 0 || e.labels && e.labels.length > 0) ? " ".repeat(6) : r } }, 4: function(e, t, n) { "use strict"; n.d(t, "a", (function() { return r } )); function r(e, t, n, r) { return new (n || (n = Promise))((function(i, o) { function a(e) { try { l(r.next(e)) } catch (e) { o(e) } } function s(e) { try { l(r.throw(e)) } catch (e) { o(e) } } function l(e) { var t; e.done ? i(e.value) : (t = e.value, t instanceof n ? t : new n((function(e) { e(t) } ))).then(a, s) } l((r = r.apply(e, t || [])).next()) } )) } Object.create; Object.create }, 41: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.addHeaderBoxes = void 0; const r = n(5) , i = n(15) , o = n(13) , a = n(34) , s = n(35) , l = n(36) , u = n(43); t.addHeaderBoxes = function(e, t, n, c, d) { var f, h; const p = i.calcLength(n.headerZoneWidth, e) , g = Math.round(i.calcLength(n.headerZoneHeight, e)) , m = Math.round(i.calcLength(n.headerTextFontSize, e)) , v = i.calcLength(n.headerMarkerRightMargin, e) , y = i.calcLength(n.vPaddingSmall, e) , b = i.calcLength(n.headerTextLeftMargin, e) , _ = i.calcLength(n.headerLineTopMargin, e) , w = Math.round(i.calcLength(n.headerLineLength, e)) , S = Math.round(i.calcLength(n.headerLineWidth, e)) , x = null !== (f = t.markers) && void 0 !== f ? f : []; function k(n) { return s.computeTopicTitleGroup(e, c, d, t.id, n, x, { maxWidth: p, fontSize: m, markerRightMargin: v, overflowWrap: "normal", lineHeight: g, textRoles: ["header"], requestForHit: { kind: "fastBackward", topicId: t.id } }) } const I = l.computeTopicTitle(t) , C = a.rangedIntegers(I.length, 1) , M = a.mapValues(C, e=>u.getTruncatedText(I, e)) , T = a.mapValues(M, k) , A = null !== (h = a.findClosestMatch(T, (function(e) { return e.textMeasurement.lineCount <= 1 } ))) && void 0 !== h ? h : k(u.getTruncatedText(I, 1)); A.groupBox.bounds.x = b, A.groupBox.bounds.y = y; const E = { id: r.headerLineOfTopic(t.id), roles: ["headerLine"], bounds: { x: b, y: y + g + _, width: w, height: S }, absBounds: o.zeroRect(), contentType: "shape", shapePath: `M${S / 2} ${S / 2} l${w - S} 0`, lineWidth: S }; i.initializeBoxStyle(E, e, c, { layout: d }), e.boxes.push(A.groupBox), e.boxes.push(E) } }, 42: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.disposeTextMeasurementHelpers = t.measureText = void 0; const r = n(12); t.measureText = function(e, t) { var n, a, s, l; const u = null != i ? i : i = new o , c = null !== (n = e.text) && void 0 !== n ? n : ""; return u.measureText(c, { font: r.toCSSFont(e), "text-indent": null !== (a = e.textIndent) && void 0 !== a ? a : "", "overflow-wrap": null !== (s = e.overflowWrap) && void 0 !== s ? s : "", "letter-spacing": null !== (l = e.letterSpacing) && void 0 !== l ? l : "" }, t.maxWidth) } , t.disposeTextMeasurementHelpers = function() { i && i.remove(), i = null } ; let i = null; class o { constructor() { this.el = document.createElement("div"), this.el.style.visibility = "hidden", this.el.style.position = "absolute", this.el.style.width = "0", this.el.style.height = "0", this.el.style.left = "0", this.el.style.top = "0", this.el.style.opacity = "0", this.el.style.pointerEvents = "none"; const e = document.createElement("div"); e.style.position = "absolute", e.style.width = "10000px", e.style.height = "0", this.div = document.createElement("div"), this.div.style.position = "absolute", this.div.style.left = "0", this.div.style.top = "0", this.span = document.createElement("span"), this.div.appendChild(this.span), e.appendChild(this.div), this.el.appendChild(e), document.body.appendChild(this.el) } remove() { document.body.removeChild(this.el) } measureText(e, t, n) { this.span.innerHTML = "", r.fillText(this.span, e), this.div.style.maxWidth = r.toCSSLength(n); for (const e in t) this.div.style.setProperty(e, t[e]); const i = this.span.getBoundingClientRect() , o = Math.ceil(i.right) , a = Math.ceil(Math.max(i.height, this.span.scrollHeight, this.div.getBoundingClientRect().height, this.div.scrollHeight)) , s = getComputedStyle(this.div) , l = parseFloat(s.getPropertyValue("font-size")) , u = parseFloat(s.getPropertyValue("line-height")) , c = s.getPropertyValue("letter-spacing") , d = Math.round(a / u); return { width: o, height: d * u, fontSize: l, lineHeight: u, lineCount: d, letterSpacing: c } } } }, 43: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.getTruncatedText = void 0, t.getTruncatedText = function(e, t) { return t === e.length ? e : e.slice(0, t) + "..." } }, 44: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeContentFeaturesForTitleGroup = void 0, t.computeContentFeaturesForTitleGroup = function(e, t, n, r) { const i = []; return i.push({ kind: "title", topicId: t, integrity: e.textBox.text !== n ? "partial" : "full" }), e.markerImageBoxes.length > 0 && i.push({ kind: "markers", topicId: t, integrity: e.markerImageBoxes.length < r.length ? "partial" : "full" }), i } }, 451: function(e, t, n) { "use strict"; n.r(t); var r = n(4) , i = n(1) , o = n(226) , a = n(227) , s = n(228) , l = n(235) , u = n(234) , c = n(84) , d = n(232) , f = n(229) , h = n(233) , p = n(80) , g = Object(i.defineComponent)({ name: "share-embed", components: { LoadingAnimation: o.default, FrameZoomScaleBar: a.default, FrameSheetsBar: s.default, FrameShareMenuSocial: l.a, FrameShareMenuOperation: u.a, BaseMap: d.a, PitchMode: h.a }, props: { fileInformationPromise: { type: Promise, required: !0 }, xmindShareLink: { type: String, default: "" } }, setup(e) { const t = Object(i.ref)() , n = Object(i.ref)() , o = Object(i.ref)({}) , a = Object(i.ref)("") , s = Object(i.ref)() , l = navigator.userAgent.toLowerCase().includes("mobile") , u = /iphone|ipad/.test(navigator.userAgent.toLowerCase()) , d = Object(i.inject)("store") , {isAppearanceDarkMode: h} = Object(f.a)({ store: d }) , g = Object(i.ref)(0) , m = Object(i.ref)(new p.a) , v = Object(i.computed)(()=>d.workbook.state.value.isFullscreen); e.fileInformationPromise.then(e=>Object(r.a)(this, void 0, void 0, (function*() { var t; a.value = e.fileDownloadURL, s.value = e.fileBinaryContent, d.frame.state.value.fileDownloadURL = e.fileDownloadURL, d.frame.state.value.fileSize = (null === (t = s.value) || void 0 === t ? void 0 : t.byteLength) || 0, Object(p.d)(s.value, m.value) } ))); const y = Object(i.watch)(()=>d.workbook.state.value.isReady, e=>{ e && (d.workbook.actions.fitMap(), y && y()) } ) , b = Object(i.computed)(()=>d.workbook.state.value.sheets) , _ = Object(i.computed)(()=>d.workbook.state.value.zoomScale) , w = Object(i.computed)(()=>!d.workbook.state.value.isReady) , S = Object(i.computed)(()=>d.workbook.state.value.currentSheetId); return { container: n, manifests: c.a, handleZoomIn: ()=>d.workbook.actions.zoomIn(), handleZoomOut: ()=>d.workbook.actions.zoomOut(), handleZoom: e=>d.workbook.actions.zoom(e), handleToggleFullscreen: ()=>d.workbook.actions.toggleFullscreen(), handleSwitchSheet: e=>d.workbook.actions.switchSheet(e), handleGotoXmind: ()=>window.open("https://www.xmind.app"), handleGotoXmindShare: ()=>window.open(e.xmindShareLink), workbookContainer: t, sheets: b, zoomScale: _, isLoadingShareMap: w, isAppearanceDarkMode: h, isFullScreen: v, currentSheetId: S, fileDownloadURL: a, fileDownloadHeaders: o, fileBinaryContent: s, isMobile: l, isIphone: u, resourceStorage: m, pitchModeKey: g } } }) , m = (n(470), n(0)) , v = Object(m.a)(g, (function() { var e = this , t = e.$createElement , n = e._self._c || t; return n("div", { ref: "container", staticClass: "share-embed h-100 w-100 position-relative", class: { dark: e.isAppearanceDarkMode } }, [e.fileBinaryContent ? n("base-map", { staticClass: "h-100 w-100", attrs: { "file-binary-content": e.fileBinaryContent } }) : e._e(), e._v(" "), e.pitchModeKey ? n("pitch-mode", { key: e.pitchModeKey, attrs: { "resource-storage": e.resourceStorage } }) : e._e(), e._v(" "), n("div", { staticClass: "xmind-logo top-left-bar position-absolute d-flex justify-content-center align-items-center" }, [n("img", { staticClass: "xmind-logo__img", attrs: { src: e.manifests.xmindLogo }, on: { click: e.handleGotoXmind } })]), e._v(" "), e.isLoadingShareMap ? n("loading-animation", { attrs: { "video-link": e.manifests.structureAnimationVideo, "gif-link": e.manifests.structureAnimationGIF } }) : n("div", { staticClass: "bottom-right-bar floating-bar position-absolute d-flex flex-middle ml-spacing" }, [e.sheets.length > 1 ? [n("frame-sheets-bar", { attrs: { "current-sheet-id": e.currentSheetId, sheets: e.sheets }, on: { "switch-sheet": e.handleSwitchSheet } }), e._v(" "), n("hr", { staticClass: "floating-bar__vertical-separator" })] : e._e(), e._v(" "), n("frame-zoom-scale-bar", { attrs: { "zoom-scale": e.zoomScale }, on: { "zoom-in": e.handleZoomIn, "zoom-out": e.handleZoomOut, zoom: e.handleZoom } }), e._v(" "), e.isMobile ? e._e() : n("button", { staticClass: "btn btn-icon ml-spacing", on: { click: e.handleToggleFullscreen } }, [n("svg", { attrs: { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { d: "M4.8002 4.5C4.21024 4.5 3.69109 4.77329 3.33199 5.13262C2.97297 5.49186 2.7002 6.01088 2.7002 6.6V10.2C2.7002 10.6971 3.10314 11.1 3.6002 11.1C4.09725 11.1 4.5002 10.6971 4.5002 10.2V6.6C4.5002 6.57262 4.51861 6.49164 4.60518 6.40501C4.69168 6.31846 4.77253 6.3 4.8002 6.3H9.0002C9.49725 6.3 9.9002 5.89706 9.9002 5.4C9.9002 4.90294 9.49725 4.5 9.0002 4.5H4.8002Z", fill: "#27292A" } }), e._v(" "), n("path", { attrs: { d: "M4.5002 13.8C4.5002 13.3029 4.09725 12.9 3.6002 12.9C3.10314 12.9 2.7002 13.3029 2.7002 13.8V17.4C2.7002 17.9927 2.98749 18.5101 3.3388 18.8614C3.69011 19.2127 4.20749 19.5 4.8002 19.5H8.4002C8.89725 19.5 9.3002 19.0971 9.3002 18.6C9.3002 18.1029 8.89725 17.7 8.4002 17.7H4.8002C4.7929 17.7 4.71028 17.6873 4.61159 17.5886C4.5129 17.4899 4.5002 17.4073 4.5002 17.4V13.8Z", fill: "#27292A" } }), e._v(" "), n("path", { attrs: { d: "M14.1002 5.4C14.1002 4.90294 14.5031 4.5 15.0002 4.5H19.2508C20.3649 4.5 21.2691 5.40298 21.2691 6.51713V10.2C21.2691 10.6971 20.8661 11.1 20.3691 11.1C19.872 11.1 19.4691 10.6971 19.4691 10.2V6.51713C19.4691 6.39827 19.372 6.3 19.2508 6.3H15.0002C14.5031 6.3 14.1002 5.89706 14.1002 5.4Z", fill: "#27292A" } }), e._v(" "), n("path", { attrs: { d: "M21.3002 13.8C21.3002 13.3029 20.8973 12.9 20.4002 12.9C19.9031 12.9 19.5002 13.3029 19.5002 13.8V17.4C19.5002 17.4282 19.4816 17.509 19.3954 17.5952C19.3092 17.6814 19.2284 17.7 19.2002 17.7H15.6002C15.1031 17.7 14.7002 18.1029 14.7002 18.6C14.7002 19.0971 15.1031 19.5 15.6002 19.5H19.2002C19.7896 19.5 20.3088 19.2274 20.6682 18.868C21.0276 18.5086 21.3002 17.9894 21.3002 17.4V13.8Z", fill: "#27292A" } })])]), e._v(" "), e.isIphone ? e._e() : n("div", { staticClass: "ml-spacing" }, [n("button", { staticClass: "btn btn-icon", attrs: { type: "button" }, on: { click: function(t) { e.pitchModeKey += 1 } } }, [n("svg", { attrs: { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" } }, [n("path", { attrs: { d: "M10.0357 15C10.1964 15 10.338 14.9487 10.514 14.8563L15.0332 12.52C15.3622 12.3489 15.5 12.2155 15.5 12C15.5 11.7845 15.3622 11.6545 15.0332 11.48L10.514 9.14367C10.338 9.05131 10.1964 9 10.0357 9C9.72194 9 9.5 9.21551 9.5 9.55416V14.4458C9.5 14.7879 9.72194 15 10.0357 15Z", fill: "currentcolor" } }), e._v(" "), n("rect", { attrs: { x: "3", y: "5", width: "18", height: "14", rx: "3", stroke: "currentcolor", "stroke-width": "2" } })])])]), e._v(" "), n("button", { directives: [{ name: "show", rawName: "v-show", value: e.xmindShareLink, expression: "xmindShareLink" }], staticClass: "btn btn-icon ml-spacing", on: { click: e.handleGotoXmindShare } }, [n("span", { staticClass: "icon-jump" })])], 2)], 1) } ), [], !1, null, null, null); t.default = v.exports }, 470: function(e, t, n) { "use strict"; n(332) }, 471: function(e, t, n) { (e.exports = n(2)(!1)).push([e.i, ".xm-color-g10{color:#fcfcfc}.xm-color-g20{color:#f9f9f9}.xm-color-g30{color:#ebebeb}.xm-color-g40{color:#d6d6d6}.xm-color-g50{color:#b2b2b2}.xm-color-g60{color:#8c8c8c}.xm-color-g70{color:#666}.xm-color-g80{color:#2b2b2b}.xm-color-g90{color:#111}.share-embed{background-color:white}.share-embed .xmind-logo .xmind-logo__img{cursor:pointer}.share-embed .top-left-bar{left:14px;top:14px}.share-embed .top-left-bar .top-left-bar__title{line-height:1.25;font-size:20px;padding-left:18px;padding-right:18px;padding-top:4px;padding-bottom:3px}.share-embed .top-left-bar .top-left-bar__title a{color:inherit}.share-embed .top-left-bar .top-left-bar__title a:hover{text-decoration:none}.share-embed .bottom-right-bar{right:14px;bottom:14px}\n", ""]) }, 5: function(e, t, n) { "use strict"; var r = this && this.__createBinding || (Object.create ? function(e, t, n, r) { void 0 === r && (r = n), Object.defineProperty(e, r, { enumerable: !0, get: function() { return t[n] } }) } : function(e, t, n, r) { void 0 === r && (r = n), e[r] = t[n] } ) , i = this && this.__exportStar || function(e, t) { for (var n in e) "default" === n || Object.prototype.hasOwnProperty.call(t, n) || r(t, e, n) } ; Object.defineProperty(t, "__esModule", { value: !0 }), i(n(239), t), i(n(240), t), i(n(156), t), i(n(157), t), i(n(241), t), i(n(242), t), i(n(243), t), i(n(256), t) }, 50: function(e, t, n) { "use strict"; var r = this && this.__importDefault || function(e) { return e && e.__esModule ? e : { default: e } } ; Object.defineProperty(t, "__esModule", { value: !0 }), t.ViewAnimator = void 0; const i = r(n(70)); class o { constructor(e) { var t; this._pendingChanges = new Map, this.duration = e.duration, this.easing = null !== (t = e.easing) && void 0 !== t ? t : "linear" } registerPendingChange(e, t) { var n; const r = null !== (n = this._pendingChanges.get(e)) && void 0 !== n ? n : {}; this._pendingChanges.set(e, Object.assign(Object.assign({}, r), t)) } animate(e) { const t = o.current; return o.current = this, e(), o.current = t, this } play() { const e = this._pendingChanges; this._pendingChanges = new Map; const t = { duration: this.duration, easing: this.easing }; return Promise.all(Array.from(e, ([e,n])=>i.default(Object.assign(Object.assign(Object.assign({}, a(n, e)), t), { targets: e })).finished)).then(()=>{} ) } static perform(e, t) { o.current ? o.current.registerPendingChange(e, t) : i.default.set(e, a(t, e)) } } function a(e, t) { const n = Object.assign({}, e); return void 0 !== e.strokeOffset ? (n.strokeDashoffset = i.default.setDashoffset(t) * e.strokeOffset, delete n.strokeOffset) : e.transform && ("none" !== e.transform && e.transform.forEach(e=>{ "translate"in e && (n.translateX = e.translate.x, n.translateY = e.translate.y), "scale"in e && (n.scaleX = e.scale.x, n.scaleY = e.scale.y), "rotate"in e && (n.rotate = e.rotate) } ), delete n.transform), n } t.ViewAnimator = o, o.current = null }, 51: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.htmlClassesForBox = t.forEachBoxViewIn = t.BoxView = void 0; const r = n(12) , i = n(76) , o = n(50) , a = n(110); class s extends i.View { constructor(e) { super(e), this._cachedState = null, this._eventListener = e=>{ switch (e.type) { case "click": return this._onClick(e); case "mouseenter": return this._onMouseEnter(e); case "mouseleave": return this._onMouseLeave(e); case "mousedown": return this._onMouseDown(e); case "mouseup": return this._onMouseUp(e) } } , this.box = e.box, this.renderedState = { id: e.box.id } } get state() { var e, t, n; if (this._cachedState) return this._cachedState; const r = null === (e = a.findPresentationContext(this, "slideState")) || void 0 === e ? void 0 : e.slideState; return this._cachedState = null !== (n = null === (t = null == r ? void 0 : r.boxes) || void 0 === t ? void 0 : t.find(e=>e.id === this.box.id)) && void 0 !== n ? n : { id: this.box.id }, this._cachedState } update() { var e, t; super.update(), this._cachedState = null, this.renderedState.id = this.box.id; const n = this.box.bounds; this.el.style.left = r.toCSSLength(n.x), this.el.style.top = r.toCSSLength(n.y), this.el.style.width = r.toCSSLength(n.width), this.el.style.height = r.toCSSLength(n.height), this.el.style.transformOrigin = "center center", this.el.setAttribute("class", l(this.box)), this.updateStyle(this.state, "opacity", e=>o.ViewAnimator.perform(this.el, { opacity: null != e ? e : 1 })), this.updateStyle(this.state, "transform", e=>o.ViewAnimator.perform(this.el, { transform: null != e ? e : "none" })); const i = this.connected && "presenterPerspective" === (null === (e = a.findPresentationContext(this, "slideState")) || void 0 === e ? void 0 : e.slideState.mode) && (null === (t = a.findPresentationContext(this, "presentationState")) || void 0 === t ? void 0 : t.presentationState.showCursor); this.el.style.cursor = this.box.requestForHit && i ? "pointer" : "" } updateStyle(e, t, n) { var r; const i = null !== (r = null == e ? void 0 : e[t]) && void 0 !== r ? r : this.box[t]; i !== this.renderedState[t] && (n(i), this.renderedState[t] = i) } connect() { super.connect(), this.el.addEventListener("click", this._eventListener), this.el.addEventListener("mouseenter", this._eventListener), this.el.addEventListener("mouseleave", this._eventListener), this.el.addEventListener("mousedown", this._eventListener), this.el.addEventListener("mouseup", this._eventListener) } disconnect() { this.el.removeEventListener("click", this._eventListener), this.el.removeEventListener("mouseenter", this._eventListener), this.el.removeEventListener("mouseleave", this._eventListener), this.el.removeEventListener("mousedown", this._eventListener), this.el.removeEventListener("mouseup", this._eventListener), super.disconnect() } _onClick(e) { if (!this.box.requestForHit) return; const t = a.findPresentationContext(this, "boxViewDidGetHit"); t && (e.stopPropagation(), t.boxViewDidGetHit(this)) } _onMouseEnter(e) { var t; this.box.requestForHit && (null === (t = a.findPresentationContext(this, "boxViewDidGetPointerEntered")) || void 0 === t || t.boxViewDidGetPointerEntered(this)) } _onMouseLeave(e) { var t; this.box.requestForHit && (null === (t = a.findPresentationContext(this, "boxViewDidGetPointerLeft")) || void 0 === t || t.boxViewDidGetPointerLeft(this)) } _onMouseDown(e) { var t; this.box.requestForHit && (null === (t = a.findPresentationContext(this, "boxViewDidGetPointerCaptured")) || void 0 === t || t.boxViewDidGetPointerCaptured(this)) } _onMouseUp(e) { var t; this.box.requestForHit && (null === (t = a.findPresentationContext(this, "boxViewDidGetPointerReleased")) || void 0 === t || t.boxViewDidGetPointerReleased(this)) } } function l(e) { switch (e.contentType) { case "text": return "pancake-view-text"; case "group": return "pancake-view-group"; case "image": return "pancake-view-image"; case "shape": return "pancake-view-shape"; case "svg-template": return "pancake-view-svg-template" } } t.BoxView = s, t.forEachBoxViewIn = function e(t, n) { let r = !1; for (const i of t) { if (n(i, ()=>{ r = !0 } ), r) return; if ("group" === i.box.contentType && "subviews"in i && (e(i.subviews, (e,t)=>{ n(e, ()=>{ r = !0, t() } ) } ), r)) return } } , t.htmlClassesForBox = l }, 60: function(e, t, n) { "use strict"; n.r(t), function(e, n) { /*! * Vue.js v2.6.14 * (c) 2014-2021 Evan You * Released under the MIT License. */ var r = Object.freeze({}); function i(e) { return null == e } function o(e) { return null != e } function a(e) { return !0 === e } function s(e) { return "string" == typeof e || "number" == typeof e || "symbol" == typeof e || "boolean" == typeof e } function l(e) { return null !== e && "object" == typeof e } var u = Object.prototype.toString; function c(e) { return "[object Object]" === u.call(e) } function d(e) { return "[object RegExp]" === u.call(e) } function f(e) { var t = parseFloat(String(e)); return t >= 0 && Math.floor(t) === t && isFinite(e) } function h(e) { return o(e) && "function" == typeof e.then && "function" == typeof e.catch } function p(e) { return null == e ? "" : Array.isArray(e) || c(e) && e.toString === u ? JSON.stringify(e, null, 2) : String(e) } function g(e) { var t = parseFloat(e); return isNaN(t) ? e : t } function m(e, t) { for (var n = Object.create(null), r = e.split(","), i = 0; i < r.length; i++) n[r[i]] = !0; return t ? function(e) { return n[e.toLowerCase()] } : function(e) { return n[e] } } m("slot,component", !0); var v = m("key,ref,slot,slot-scope,is"); function y(e, t) { if (e.length) { var n = e.indexOf(t); if (n > -1) return e.splice(n, 1) } } var b = Object.prototype.hasOwnProperty; function _(e, t) { return b.call(e, t) } function w(e) { var t = Object.create(null); return function(n) { return t[n] || (t[n] = e(n)) } } var S = /-(\w)/g , x = w((function(e) { return e.replace(S, (function(e, t) { return t ? t.toUpperCase() : "" } )) } )) , k = w((function(e) { return e.charAt(0).toUpperCase() + e.slice(1) } )) , I = /\B([A-Z])/g , C = w((function(e) { return e.replace(I, "-$1").toLowerCase() } )); var M = Function.prototype.bind ? function(e, t) { return e.bind(t) } : function(e, t) { function n(n) { var r = arguments.length; return r ? r > 1 ? e.apply(t, arguments) : e.call(t, n) : e.call(t) } return n._length = e.length, n } ; function T(e, t) { t = t || 0; for (var n = e.length - t, r = new Array(n); n--; ) r[n] = e[n + t]; return r } function A(e, t) { for (var n in t) e[n] = t[n]; return e } function E(e) { for (var t = {}, n = 0; n < e.length; n++) e[n] && A(t, e[n]); return t } function O(e, t, n) {} var B = function(e, t, n) { return !1 } , L = function(e) { return e }; function P(e, t) { if (e === t) return !0; var n = l(e) , r = l(t); if (!n || !r) return !n && !r && String(e) === String(t); try { var i = Array.isArray(e) , o = Array.isArray(t); if (i && o) return e.length === t.length && e.every((function(e, n) { return P(e, t[n]) } )); if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime(); if (i || o) return !1; var a = Object.keys(e) , s = Object.keys(t); return a.length === s.length && a.every((function(n) { return P(e[n], t[n]) } )) } catch (e) { return !1 } } function R(e, t) { for (var n = 0; n < e.length; n++) if (P(e[n], t)) return n; return -1 } function z(e) { var t = !1; return function() { t || (t = !0, e.apply(this, arguments)) } } var j = ["component", "directive", "filter"] , F = ["beforeCreate", "created", "beforeMount", "mounted", "beforeUpdate", "updated", "beforeDestroy", "destroyed", "activated", "deactivated", "errorCaptured", "serverPrefetch"] , D = { optionMergeStrategies: Object.create(null), silent: !1, productionTip: !1, devtools: !1, performance: !1, errorHandler: null, warnHandler: null, ignoredElements: [], keyCodes: Object.create(null), isReservedTag: B, isReservedAttr: B, isUnknownElement: B, getTagNamespace: O, parsePlatformTagName: L, mustUseProp: B, async: !0, _lifecycleHooks: F } , N = /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/; function U(e, t, n, r) { Object.defineProperty(e, t, { value: n, enumerable: !!r, writable: !0, configurable: !0 }) } var W = new RegExp("[^" + N.source + ".$_\\d]"); var H, V = "__proto__"in {}, $ = "undefined" != typeof window, G = "undefined" != typeof WXEnvironment && !!WXEnvironment.platform, Z = G && WXEnvironment.platform.toLowerCase(), q = $ && window.navigator.userAgent.toLowerCase(), Y = q && /msie|trident/.test(q), X = q && q.indexOf("msie 9.0") > 0, J = q && q.indexOf("edge/") > 0, Q = (q && q.indexOf("android"), q && /iphone|ipad|ipod|ios/.test(q) || "ios" === Z), K = (q && /chrome\/\d+/.test(q), q && /phantomjs/.test(q), q && q.match(/firefox\/(\d+)/)), ee = {}.watch, te = !1; if ($) try { var ne = {}; Object.defineProperty(ne, "passive", { get: function() { te = !0 } }), window.addEventListener("test-passive", null, ne) } catch (e) {} var re = function() { return void 0 === H && (H = !$ && !G && void 0 !== e && (e.process && "server" === e.process.env.VUE_ENV)), H } , ie = $ && window.__VUE_DEVTOOLS_GLOBAL_HOOK__; function oe(e) { return "function" == typeof e && /native code/.test(e.toString()) } var ae, se = "undefined" != typeof Symbol && oe(Symbol) && "undefined" != typeof Reflect && oe(Reflect.ownKeys); ae = "undefined" != typeof Set && oe(Set) ? Set : function() { function e() { this.set = Object.create(null) } return e.prototype.has = function(e) { return !0 === this.set[e] } , e.prototype.add = function(e) { this.set[e] = !0 } , e.prototype.clear = function() { this.set = Object.create(null) } , e }(); var le = O , ue = 0 , ce = function() { this.id = ue++, this.subs = [] }; ce.prototype.addSub = function(e) { this.subs.push(e) } , ce.prototype.removeSub = function(e) { y(this.subs, e) } , ce.prototype.depend = function() { ce.target && ce.target.addDep(this) } , ce.prototype.notify = function() { var e = this.subs.slice(); for (var t = 0, n = e.length; t < n; t++) e[t].update() } , ce.target = null; var de = []; function fe(e) { de.push(e), ce.target = e } function he() { de.pop(), ce.target = de[de.length - 1] } var pe = function(e, t, n, r, i, o, a, s) { this.tag = e, this.data = t, this.children = n, this.text = r, this.elm = i, this.ns = void 0, this.context = o, this.fnContext = void 0, this.fnOptions = void 0, this.fnScopeId = void 0, this.key = t && t.key, this.componentOptions = a, this.componentInstance = void 0, this.parent = void 0, this.raw = !1, this.isStatic = !1, this.isRootInsert = !0, this.isComment = !1, this.isCloned = !1, this.isOnce = !1, this.asyncFactory = s, this.asyncMeta = void 0, this.isAsyncPlaceholder = !1 } , ge = { child: { configurable: !0 } }; ge.child.get = function() { return this.componentInstance } , Object.defineProperties(pe.prototype, ge); var me = function(e) { void 0 === e && (e = ""); var t = new pe; return t.text = e, t.isComment = !0, t }; function ve(e) { return new pe(void 0,void 0,void 0,String(e)) } function ye(e) { var t = new pe(e.tag,e.data,e.children && e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory); return t.ns = e.ns, t.isStatic = e.isStatic, t.key = e.key, t.isComment = e.isComment, t.fnContext = e.fnContext, t.fnOptions = e.fnOptions, t.fnScopeId = e.fnScopeId, t.asyncMeta = e.asyncMeta, t.isCloned = !0, t } var be = Array.prototype , _e = Object.create(be); ["push", "pop", "shift", "unshift", "splice", "sort", "reverse"].forEach((function(e) { var t = be[e]; U(_e, e, (function() { for (var n = [], r = arguments.length; r--; ) n[r] = arguments[r]; var i, o = t.apply(this, n), a = this.__ob__; switch (e) { case "push": case "unshift": i = n; break; case "splice": i = n.slice(2) } return i && a.observeArray(i), a.dep.notify(), o } )) } )); var we = Object.getOwnPropertyNames(_e) , Se = !0; function xe(e) { Se = e } var ke = function(e) { this.value = e, this.dep = new ce, this.vmCount = 0, U(e, "__ob__", this), Array.isArray(e) ? (V ? function(e, t) { e.__proto__ = t }(e, _e) : function(e, t, n) { for (var r = 0, i = n.length; r < i; r++) { var o = n[r]; U(e, o, t[o]) } }(e, _e, we), this.observeArray(e)) : this.walk(e) }; function Ie(e, t) { var n; if (l(e) && !(e instanceof pe)) return _(e, "__ob__") && e.__ob__ instanceof ke ? n = e.__ob__ : Se && !re() && (Array.isArray(e) || c(e)) && Object.isExtensible(e) && !e._isVue && (n = new ke(e)), t && n && n.vmCount++, n } function Ce(e, t, n, r, i) { var o = new ce , a = Object.getOwnPropertyDescriptor(e, t); if (!a || !1 !== a.configurable) { var s = a && a.get , l = a && a.set; s && !l || 2 !== arguments.length || (n = e[t]); var u = !i && Ie(n); Object.defineProperty(e, t, { enumerable: !0, configurable: !0, get: function() { var t = s ? s.call(e) : n; return ce.target && (o.depend(), u && (u.dep.depend(), Array.isArray(t) && Ae(t))), t }, set: function(t) { var r = s ? s.call(e) : n; t === r || t != t && r != r || s && !l || (l ? l.call(e, t) : n = t, u = !i && Ie(t), o.notify()) } }) } } function Me(e, t, n) { if (Array.isArray(e) && f(t)) return e.length = Math.max(e.length, t), e.splice(t, 1, n), n; if (t in e && !(t in Object.prototype)) return e[t] = n, n; var r = e.__ob__; return e._isVue || r && r.vmCount ? n : r ? (Ce(r.value, t, n), r.dep.notify(), n) : (e[t] = n, n) } function Te(e, t) { if (Array.isArray(e) && f(t)) e.splice(t, 1); else { var n = e.__ob__; e._isVue || n && n.vmCount || _(e, t) && (delete e[t], n && n.dep.notify()) } } function Ae(e) { for (var t = void 0, n = 0, r = e.length; n < r; n++) (t = e[n]) && t.__ob__ && t.__ob__.dep.depend(), Array.isArray(t) && Ae(t) } ke.prototype.walk = function(e) { for (var t = Object.keys(e), n = 0; n < t.length; n++) Ce(e, t[n]) } , ke.prototype.observeArray = function(e) { for (var t = 0, n = e.length; t < n; t++) Ie(e[t]) } ; var Ee = D.optionMergeStrategies; function Oe(e, t) { if (!t) return e; for (var n, r, i, o = se ? Reflect.ownKeys(t) : Object.keys(t), a = 0; a < o.length; a++) "__ob__" !== (n = o[a]) && (r = e[n], i = t[n], _(e, n) ? r !== i && c(r) && c(i) && Oe(r, i) : Me(e, n, i)); return e } function Be(e, t, n) { return n ? function() { var r = "function" == typeof t ? t.call(n, n) : t , i = "function" == typeof e ? e.call(n, n) : e; return r ? Oe(r, i) : i } : t ? e ? function() { return Oe("function" == typeof t ? t.call(this, this) : t, "function" == typeof e ? e.call(this, this) : e) } : t : e } function Le(e, t) { var n = t ? e ? e.concat(t) : Array.isArray(t) ? t : [t] : e; return n ? function(e) { for (var t = [], n = 0; n < e.length; n++) -1 === t.indexOf(e[n]) && t.push(e[n]); return t }(n) : n } function Pe(e, t, n, r) { var i = Object.create(e || null); return t ? A(i, t) : i } Ee.data = function(e, t, n) { return n ? Be(e, t, n) : t && "function" != typeof t ? e : Be(e, t) } , F.forEach((function(e) { Ee[e] = Le } )), j.forEach((function(e) { Ee[e + "s"] = Pe } )), Ee.watch = function(e, t, n, r) { if (e === ee && (e = void 0), t === ee && (t = void 0), !t) return Object.create(e || null); if (!e) return t; var i = {}; for (var o in A(i, e), t) { var a = i[o] , s = t[o]; a && !Array.isArray(a) && (a = [a]), i[o] = a ? a.concat(s) : Array.isArray(s) ? s : [s] } return i } , Ee.props = Ee.methods = Ee.inject = Ee.computed = function(e, t, n, r) { if (!e) return t; var i = Object.create(null); return A(i, e), t && A(i, t), i } , Ee.provide = Be; var Re = function(e, t) { return void 0 === t ? e : t }; function ze(e, t, n) { if ("function" == typeof t && (t = t.options), function(e, t) { var n = e.props; if (n) { var r, i, o = {}; if (Array.isArray(n)) for (r = n.length; r--; ) "string" == typeof (i = n[r]) && (o[x(i)] = { type: null }); else if (c(n)) for (var a in n) i = n[a], o[x(a)] = c(i) ? i : { type: i }; else 0; e.props = o } }(t), function(e, t) { var n = e.inject; if (n) { var r = e.inject = {}; if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r[n[i]] = { from: n[i] }; else if (c(n)) for (var o in n) { var a = n[o]; r[o] = c(a) ? A({ from: o }, a) : { from: a } } else 0 } }(t), function(e) { var t = e.directives; if (t) for (var n in t) { var r = t[n]; "function" == typeof r && (t[n] = { bind: r, update: r }) } }(t), !t._base && (t.extends && (e = ze(e, t.extends, n)), t.mixins)) for (var r = 0, i = t.mixins.length; r < i; r++) e = ze(e, t.mixins[r], n); var o, a = {}; for (o in e) s(o); for (o in t) _(e, o) || s(o); function s(r) { var i = Ee[r] || Re; a[r] = i(e[r], t[r], n, r) } return a } function je(e, t, n, r) { if ("string" == typeof n) { var i = e[t]; if (_(i, n)) return i[n]; var o = x(n); if (_(i, o)) return i[o]; var a = k(o); return _(i, a) ? i[a] : i[n] || i[o] || i[a] } } function Fe(e, t, n, r) { var i = t[e] , o = !_(n, e) , a = n[e] , s = We(Boolean, i.type); if (s > -1) if (o && !_(i, "default")) a = !1; else if ("" === a || a === C(e)) { var l = We(String, i.type); (l < 0 || s < l) && (a = !0) } if (void 0 === a) { a = function(e, t, n) { if (!_(t, "default")) return; var r = t.default; 0; if (e && e.$options.propsData && void 0 === e.$options.propsData[n] && void 0 !== e._props[n]) return e._props[n]; return "function" == typeof r && "Function" !== Ne(t.type) ? r.call(e) : r }(r, i, e); var u = Se; xe(!0), Ie(a), xe(u) } return a } var De = /^\s*function (\w+)/; function Ne(e) { var t = e && e.toString().match(De); return t ? t[1] : "" } function Ue(e, t) { return Ne(e) === Ne(t) } function We(e, t) { if (!Array.isArray(t)) return Ue(t, e) ? 0 : -1; for (var n = 0, r = t.length; n < r; n++) if (Ue(t[n], e)) return n; return -1 } function He(e, t, n) { fe(); try { if (t) for (var r = t; r = r.$parent; ) { var i = r.$options.errorCaptured; if (i) for (var o = 0; o < i.length; o++) try { if (!1 === i[o].call(r, e, t, n)) return } catch (e) { $e(e, r, "errorCaptured hook") } } $e(e, t, n) } finally { he() } } function Ve(e, t, n, r, i) { var o; try { (o = n ? e.apply(t, n) : e.call(t)) && !o._isVue && h(o) && !o._handled && (o.catch((function(e) { return He(e, r, i + " (Promise/async)") } )), o._handled = !0) } catch (e) { He(e, r, i) } return o } function $e(e, t, n) { if (D.errorHandler) try { return D.errorHandler.call(null, e, t, n) } catch (t) { t !== e && Ge(t, null, "config.errorHandler") } Ge(e, t, n) } function Ge(e, t, n) { if (!$ && !G || "undefined" == typeof console) throw e; console.error(e) } var Ze, qe = !1, Ye = [], Xe = !1; function Je() { Xe = !1; var e = Ye.slice(0); Ye.length = 0; for (var t = 0; t < e.length; t++) e[t]() } if ("undefined" != typeof Promise && oe(Promise)) { var Qe = Promise.resolve(); Ze = function() { Qe.then(Je), Q && setTimeout(O) } , qe = !0 } else if (Y || "undefined" == typeof MutationObserver || !oe(MutationObserver) && "[object MutationObserverConstructor]" !== MutationObserver.toString()) Ze = void 0 !== n && oe(n) ? function() { n(Je) } : function() { setTimeout(Je, 0) } ; else { var Ke = 1 , et = new MutationObserver(Je) , tt = document.createTextNode(String(Ke)); et.observe(tt, { characterData: !0 }), Ze = function() { Ke = (Ke + 1) % 2, tt.data = String(Ke) } , qe = !0 } function nt(e, t) { var n; if (Ye.push((function() { if (e) try { e.call(t) } catch (e) { He(e, t, "nextTick") } else n && n(t) } )), Xe || (Xe = !0, Ze()), !e && "undefined" != typeof Promise) return new Promise((function(e) { n = e } )) } var rt = new ae; function it(e) { !function e(t, n) { var r, i, o = Array.isArray(t); if (!o && !l(t) || Object.isFrozen(t) || t instanceof pe) return; if (t.__ob__) { var a = t.__ob__.dep.id; if (n.has(a)) return; n.add(a) } if (o) for (r = t.length; r--; ) e(t[r], n); else for (i = Object.keys(t), r = i.length; r--; ) e(t[i[r]], n) }(e, rt), rt.clear() } var ot = w((function(e) { var t = "&" === e.charAt(0) , n = "~" === (e = t ? e.slice(1) : e).charAt(0) , r = "!" === (e = n ? e.slice(1) : e).charAt(0); return { name: e = r ? e.slice(1) : e, once: n, capture: r, passive: t } } )); function at(e, t) { function n() { var e = arguments , r = n.fns; if (!Array.isArray(r)) return Ve(r, null, arguments, t, "v-on handler"); for (var i = r.slice(), o = 0; o < i.length; o++) Ve(i[o], null, e, t, "v-on handler") } return n.fns = e, n } function st(e, t, n, r, o, s) { var l, u, c, d; for (l in e) u = e[l], c = t[l], d = ot(l), i(u) || (i(c) ? (i(u.fns) && (u = e[l] = at(u, s)), a(d.once) && (u = e[l] = o(d.name, u, d.capture)), n(d.name, u, d.capture, d.passive, d.params)) : u !== c && (c.fns = u, e[l] = c)); for (l in t) i(e[l]) && r((d = ot(l)).name, t[l], d.capture) } function lt(e, t, n) { var r; e instanceof pe && (e = e.data.hook || (e.data.hook = {})); var s = e[t]; function l() { n.apply(this, arguments), y(r.fns, l) } i(s) ? r = at([l]) : o(s.fns) && a(s.merged) ? (r = s).fns.push(l) : r = at([s, l]), r.merged = !0, e[t] = r } function ut(e, t, n, r, i) { if (o(t)) { if (_(t, n)) return e[n] = t[n], i || delete t[n], !0; if (_(t, r)) return e[n] = t[r], i || delete t[r], !0 } return !1 } function ct(e) { return s(e) ? [ve(e)] : Array.isArray(e) ? function e(t, n) { var r, l, u, c, d = []; for (r = 0; r < t.length; r++) i(l = t[r]) || "boolean" == typeof l || (u = d.length - 1, c = d[u], Array.isArray(l) ? l.length > 0 && (dt((l = e(l, (n || "") + "_" + r))[0]) && dt(c) && (d[u] = ve(c.text + l[0].text), l.shift()), d.push.apply(d, l)) : s(l) ? dt(c) ? d[u] = ve(c.text + l) : "" !== l && d.push(ve(l)) : dt(l) && dt(c) ? d[u] = ve(c.text + l.text) : (a(t._isVList) && o(l.tag) && i(l.key) && o(n) && (l.key = "__vlist" + n + "_" + r + "__"), d.push(l))); return d }(e) : void 0 } function dt(e) { return o(e) && o(e.text) && !1 === e.isComment } function ft(e, t) { if (e) { for (var n = Object.create(null), r = se ? Reflect.ownKeys(e) : Object.keys(e), i = 0; i < r.length; i++) { var o = r[i]; if ("__ob__" !== o) { for (var a = e[o].from, s = t; s; ) { if (s._provided && _(s._provided, a)) { n[o] = s._provided[a]; break } s = s.$parent } if (!s) if ("default"in e[o]) { var l = e[o].default; n[o] = "function" == typeof l ? l.call(t) : l } else 0 } } return n } } function ht(e, t) { if (!e || !e.length) return {}; for (var n = {}, r = 0, i = e.length; r < i; r++) { var o = e[r] , a = o.data; if (a && a.attrs && a.attrs.slot && delete a.attrs.slot, o.context !== t && o.fnContext !== t || !a || null == a.slot) (n.default || (n.default = [])).push(o); else { var s = a.slot , l = n[s] || (n[s] = []); "template" === o.tag ? l.push.apply(l, o.children || []) : l.push(o) } } for (var u in n) n[u].every(pt) && delete n[u]; return n } function pt(e) { return e.isComment && !e.asyncFactory || " " === e.text } function gt(e) { return e.isComment && e.asyncFactory } function mt(e, t, n) { var i, o = Object.keys(t).length > 0, a = e ? !!e.$stable : !o, s = e && e.$key; if (e) { if (e._normalized) return e._normalized; if (a && n && n !== r && s === n.$key && !o && !n.$hasNormal) return n; for (var l in i = {}, e) e[l] && "$" !== l[0] && (i[l] = vt(t, l, e[l])) } else i = {}; for (var u in t) u in i || (i[u] = yt(t, u)); return e && Object.isExtensible(e) && (e._normalized = i), U(i, "$stable", a), U(i, "$key", s), U(i, "$hasNormal", o), i } function vt(e, t, n) { var r = function() { var e = arguments.length ? n.apply(null, arguments) : n({}) , t = (e = e && "object" == typeof e && !Array.isArray(e) ? [e] : ct(e)) && e[0]; return e && (!t || 1 === e.length && t.isComment && !gt(t)) ? void 0 : e }; return n.proxy && Object.defineProperty(e, t, { get: r, enumerable: !0, configurable: !0 }), r } function yt(e, t) { return function() { return e[t] } } function bt(e, t) { var n, r, i, a, s; if (Array.isArray(e) || "string" == typeof e) for (n = new Array(e.length), r = 0, i = e.length; r < i; r++) n[r] = t(e[r], r); else if ("number" == typeof e) for (n = new Array(e), r = 0; r < e; r++) n[r] = t(r + 1, r); else if (l(e)) if (se && e[Symbol.iterator]) { n = []; for (var u = e[Symbol.iterator](), c = u.next(); !c.done; ) n.push(t(c.value, n.length)), c = u.next() } else for (a = Object.keys(e), n = new Array(a.length), r = 0, i = a.length; r < i; r++) s = a[r], n[r] = t(e[s], s, r); return o(n) || (n = []), n._isVList = !0, n } function _t(e, t, n, r) { var i, o = this.$scopedSlots[e]; o ? (n = n || {}, r && (n = A(A({}, r), n)), i = o(n) || ("function" == typeof t ? t() : t)) : i = this.$slots[e] || ("function" == typeof t ? t() : t); var a = n && n.slot; return a ? this.$createElement("template", { slot: a }, i) : i } function wt(e) { return je(this.$options, "filters", e) || L } function St(e, t) { return Array.isArray(e) ? -1 === e.indexOf(t) : e !== t } function xt(e, t, n, r, i) { var o = D.keyCodes[t] || n; return i && r && !D.keyCodes[t] ? St(i, r) : o ? St(o, e) : r ? C(r) !== t : void 0 === e } function kt(e, t, n, r, i) { if (n) if (l(n)) { var o; Array.isArray(n) && (n = E(n)); var a = function(a) { if ("class" === a || "style" === a || v(a)) o = e; else { var s = e.attrs && e.attrs.type; o = r || D.mustUseProp(t, s, a) ? e.domProps || (e.domProps = {}) : e.attrs || (e.attrs = {}) } var l = x(a) , u = C(a); l in o || u in o || (o[a] = n[a], i && ((e.on || (e.on = {}))["update:" + a] = function(e) { n[a] = e } )) }; for (var s in n) a(s) } else ;return e } function It(e, t) { var n = this._staticTrees || (this._staticTrees = []) , r = n[e]; return r && !t || Mt(r = n[e] = this.$options.staticRenderFns[e].call(this._renderProxy, null, this), "__static__" + e, !1), r } function Ct(e, t, n) { return Mt(e, "__once__" + t + (n ? "_" + n : ""), !0), e } function Mt(e, t, n) { if (Array.isArray(e)) for (var r = 0; r < e.length; r++) e[r] && "string" != typeof e[r] && Tt(e[r], t + "_" + r, n); else Tt(e, t, n) } function Tt(e, t, n) { e.isStatic = !0, e.key = t, e.isOnce = n } function At(e, t) { if (t) if (c(t)) { var n = e.on = e.on ? A({}, e.on) : {}; for (var r in t) { var i = n[r] , o = t[r]; n[r] = i ? [].concat(i, o) : o } } else ;return e } function Et(e, t, n, r) { t = t || { $stable: !n }; for (var i = 0; i < e.length; i++) { var o = e[i]; Array.isArray(o) ? Et(o, t, n) : o && (o.proxy && (o.fn.proxy = !0), t[o.key] = o.fn) } return r && (t.$key = r), t } function Ot(e, t) { for (var n = 0; n < t.length; n += 2) { var r = t[n]; "string" == typeof r && r && (e[t[n]] = t[n + 1]) } return e } function Bt(e, t) { return "string" == typeof e ? t + e : e } function Lt(e) { e._o = Ct, e._n = g, e._s = p, e._l = bt, e._t = _t, e._q = P, e._i = R, e._m = It, e._f = wt, e._k = xt, e._b = kt, e._v = ve, e._e = me, e._u = Et, e._g = At, e._d = Ot, e._p = Bt } function Pt(e, t, n, i, o) { var s, l = this, u = o.options; _(i, "_uid") ? (s = Object.create(i))._original = i : (s = i, i = i._original); var c = a(u._compiled) , d = !c; this.data = e, this.props = t, this.children = n, this.parent = i, this.listeners = e.on || r, this.injections = ft(u.inject, i), this.slots = function() { return l.$slots || mt(e.scopedSlots, l.$slots = ht(n, i)), l.$slots } , Object.defineProperty(this, "scopedSlots", { enumerable: !0, get: function() { return mt(e.scopedSlots, this.slots()) } }), c && (this.$options = u, this.$slots = this.slots(), this.$scopedSlots = mt(e.scopedSlots, this.$slots)), u._scopeId ? this._c = function(e, t, n, r) { var o = Ut(s, e, t, n, r, d); return o && !Array.isArray(o) && (o.fnScopeId = u._scopeId, o.fnContext = i), o } : this._c = function(e, t, n, r) { return Ut(s, e, t, n, r, d) } } function Rt(e, t, n, r, i) { var o = ye(e); return o.fnContext = n, o.fnOptions = r, t.slot && ((o.data || (o.data = {})).slot = t.slot), o } function zt(e, t) { for (var n in t) e[x(n)] = t[n] } Lt(Pt.prototype); var jt = { init: function(e, t) { if (e.componentInstance && !e.componentInstance._isDestroyed && e.data.keepAlive) { var n = e; jt.prepatch(n, n) } else { (e.componentInstance = function(e, t) { var n = { _isComponent: !0, _parentVnode: e, parent: t } , r = e.data.inlineTemplate; o(r) && (n.render = r.render, n.staticRenderFns = r.staticRenderFns); return new e.componentOptions.Ctor(n) }(e, Xt)).$mount(t ? e.elm : void 0, t) } }, prepatch: function(e, t) { var n = t.componentOptions; !function(e, t, n, i, o) { 0; var a = i.data.scopedSlots , s = e.$scopedSlots , l = !!(a && !a.$stable || s !== r && !s.$stable || a && e.$scopedSlots.$key !== a.$key || !a && e.$scopedSlots.$key) , u = !!(o || e.$options._renderChildren || l); e.$options._parentVnode = i, e.$vnode = i, e._vnode && (e._vnode.parent = i); if (e.$options._renderChildren = o, e.$attrs = i.data.attrs || r, e.$listeners = n || r, t && e.$options.props) { xe(!1); for (var c = e._props, d = e.$options._propKeys || [], f = 0; f < d.length; f++) { var h = d[f] , p = e.$options.props; c[h] = Fe(h, p, t, e) } xe(!0), e.$options.propsData = t } n = n || r; var g = e.$options._parentListeners; e.$options._parentListeners = n, Yt(e, n, g), u && (e.$slots = ht(o, i.context), e.$forceUpdate()); 0 }(t.componentInstance = e.componentInstance, n.propsData, n.listeners, t, n.children) }, insert: function(e) { var t, n = e.context, r = e.componentInstance; r._isMounted || (r._isMounted = !0, en(r, "mounted")), e.data.keepAlive && (n._isMounted ? ((t = r)._inactive = !1, nn.push(t)) : Kt(r, !0)) }, destroy: function(e) { var t = e.componentInstance; t._isDestroyed || (e.data.keepAlive ? function e(t, n) { if (n && (t._directInactive = !0, Qt(t))) return; if (!t._inactive) { t._inactive = !0; for (var r = 0; r < t.$children.length; r++) e(t.$children[r]); en(t, "deactivated") } }(t, !0) : t.$destroy()) } } , Ft = Object.keys(jt); function Dt(e, t, n, s, u) { if (!i(e)) { var c = n.$options._base; if (l(e) && (e = c.extend(e)), "function" == typeof e) { var d; if (i(e.cid) && void 0 === (e = function(e, t) { if (a(e.error) && o(e.errorComp)) return e.errorComp; if (o(e.resolved)) return e.resolved; var n = Ht; n && o(e.owners) && -1 === e.owners.indexOf(n) && e.owners.push(n); if (a(e.loading) && o(e.loadingComp)) return e.loadingComp; if (n && !o(e.owners)) { var r = e.owners = [n] , s = !0 , u = null , c = null; n.$on("hook:destroyed", (function() { return y(r, n) } )); var d = function(e) { for (var t = 0, n = r.length; t < n; t++) r[t].$forceUpdate(); e && (r.length = 0, null !== u && (clearTimeout(u), u = null), null !== c && (clearTimeout(c), c = null)) } , f = z((function(n) { e.resolved = Vt(n, t), s ? r.length = 0 : d(!0) } )) , p = z((function(t) { o(e.errorComp) && (e.error = !0, d(!0)) } )) , g = e(f, p); return l(g) && (h(g) ? i(e.resolved) && g.then(f, p) : h(g.component) && (g.component.then(f, p), o(g.error) && (e.errorComp = Vt(g.error, t)), o(g.loading) && (e.loadingComp = Vt(g.loading, t), 0 === g.delay ? e.loading = !0 : u = setTimeout((function() { u = null, i(e.resolved) && i(e.error) && (e.loading = !0, d(!1)) } ), g.delay || 200)), o(g.timeout) && (c = setTimeout((function() { c = null, i(e.resolved) && p(null) } ), g.timeout)))), s = !1, e.loading ? e.loadingComp : e.resolved } }(d = e, c))) return function(e, t, n, r, i) { var o = me(); return o.asyncFactory = e, o.asyncMeta = { data: t, context: n, children: r, tag: i }, o }(d, t, n, s, u); t = t || {}, xn(e), o(t.model) && function(e, t) { var n = e.model && e.model.prop || "value" , r = e.model && e.model.event || "input"; (t.attrs || (t.attrs = {}))[n] = t.model.value; var i = t.on || (t.on = {}) , a = i[r] , s = t.model.callback; o(a) ? (Array.isArray(a) ? -1 === a.indexOf(s) : a !== s) && (i[r] = [s].concat(a)) : i[r] = s }(e.options, t); var f = function(e, t, n) { var r = t.options.props; if (!i(r)) { var a = {} , s = e.attrs , l = e.props; if (o(s) || o(l)) for (var u in r) { var c = C(u); ut(a, l, u, c, !0) || ut(a, s, u, c, !1) } return a } }(t, e); if (a(e.options.functional)) return function(e, t, n, i, a) { var s = e.options , l = {} , u = s.props; if (o(u)) for (var c in u) l[c] = Fe(c, u, t || r); else o(n.attrs) && zt(l, n.attrs), o(n.props) && zt(l, n.props); var d = new Pt(n,l,a,i,e) , f = s.render.call(null, d._c, d); if (f instanceof pe) return Rt(f, n, d.parent, s, d); if (Array.isArray(f)) { for (var h = ct(f) || [], p = new Array(h.length), g = 0; g < h.length; g++) p[g] = Rt(h[g], n, d.parent, s, d); return p } }(e, f, t, n, s); var p = t.on; if (t.on = t.nativeOn, a(e.options.abstract)) { var g = t.slot; t = {}, g && (t.slot = g) } !function(e) { for (var t = e.hook || (e.hook = {}), n = 0; n < Ft.length; n++) { var r = Ft[n] , i = t[r] , o = jt[r]; i === o || i && i._merged || (t[r] = i ? Nt(o, i) : o) } }(t); var m = e.options.name || u; return new pe("vue-component-" + e.cid + (m ? "-" + m : ""),t,void 0,void 0,void 0,n,{ Ctor: e, propsData: f, listeners: p, tag: u, children: s },d) } } } function Nt(e, t) { var n = function(n, r) { e(n, r), t(n, r) }; return n._merged = !0, n } function Ut(e, t, n, r, u, c) { return (Array.isArray(n) || s(n)) && (u = r, r = n, n = void 0), a(c) && (u = 2), function(e, t, n, r, s) { if (o(n) && o(n.__ob__)) return me(); o(n) && o(n.is) && (t = n.is); if (!t) return me(); 0; Array.isArray(r) && "function" == typeof r[0] && ((n = n || {}).scopedSlots = { default: r[0] }, r.length = 0); 2 === s ? r = ct(r) : 1 === s && (r = function(e) { for (var t = 0; t < e.length; t++) if (Array.isArray(e[t])) return Array.prototype.concat.apply([], e); return e }(r)); var u, c; if ("string" == typeof t) { var d; c = e.$vnode && e.$vnode.ns || D.getTagNamespace(t), u = D.isReservedTag(t) ? new pe(D.parsePlatformTagName(t),n,r,void 0,void 0,e) : n && n.pre || !o(d = je(e.$options, "components", t)) ? new pe(t,n,r,void 0,void 0,e) : Dt(d, n, e, r, t) } else u = Dt(t, n, e, r); return Array.isArray(u) ? u : o(u) ? (o(c) && function e(t, n, r) { t.ns = n, "foreignObject" === t.tag && (n = void 0, r = !0); if (o(t.children)) for (var s = 0, l = t.children.length; s < l; s++) { var u = t.children[s]; o(u.tag) && (i(u.ns) || a(r) && "svg" !== u.tag) && e(u, n, r) } }(u, c), o(n) && function(e) { l(e.style) && it(e.style); l(e.class) && it(e.class) }(n), u) : me() }(e, t, n, r, u) } var Wt, Ht = null; function Vt(e, t) { return (e.__esModule || se && "Module" === e[Symbol.toStringTag]) && (e = e.default), l(e) ? t.extend(e) : e } function $t(e) { if (Array.isArray(e)) for (var t = 0; t < e.length; t++) { var n = e[t]; if (o(n) && (o(n.componentOptions) || gt(n))) return n } } function Gt(e, t) { Wt.$on(e, t) } function Zt(e, t) { Wt.$off(e, t) } function qt(e, t) { var n = Wt; return function r() { var i = t.apply(null, arguments); null !== i && n.$off(e, r) } } function Yt(e, t, n) { Wt = e, st(t, n || {}, Gt, Zt, qt, e), Wt = void 0 } var Xt = null; function Jt(e) { var t = Xt; return Xt = e, function() { Xt = t } } function Qt(e) { for (; e && (e = e.$parent); ) if (e._inactive) return !0; return !1 } function Kt(e, t) { if (t) { if (e._directInactive = !1, Qt(e)) return } else if (e._directInactive) return; if (e._inactive || null === e._inactive) { e._inactive = !1; for (var n = 0; n < e.$children.length; n++) Kt(e.$children[n]); en(e, "activated") } } function en(e, t) { fe(); var n = e.$options[t] , r = t + " hook"; if (n) for (var i = 0, o = n.length; i < o; i++) Ve(n[i], e, null, e, r); e._hasHookEvent && e.$emit("hook:" + t), he() } var tn = [] , nn = [] , rn = {} , on = !1 , an = !1 , sn = 0; var ln = 0 , un = Date.now; if ($ && !Y) { var cn = window.performance; cn && "function" == typeof cn.now && un() > document.createEvent("Event").timeStamp && (un = function() { return cn.now() } ) } function dn() { var e, t; for (ln = un(), an = !0, tn.sort((function(e, t) { return e.id - t.id } )), sn = 0; sn < tn.length; sn++) (e = tn[sn]).before && e.before(), t = e.id, rn[t] = null, e.run(); var n = nn.slice() , r = tn.slice(); sn = tn.length = nn.length = 0, rn = {}, on = an = !1, function(e) { for (var t = 0; t < e.length; t++) e[t]._inactive = !0, Kt(e[t], !0) }(n), function(e) { var t = e.length; for (; t--; ) { var n = e[t] , r = n.vm; r._watcher === n && r._isMounted && !r._isDestroyed && en(r, "updated") } }(r), ie && D.devtools && ie.emit("flush") } var fn = 0 , hn = function(e, t, n, r, i) { this.vm = e, i && (e._watcher = this), e._watchers.push(this), r ? (this.deep = !!r.deep, this.user = !!r.user, this.lazy = !!r.lazy, this.sync = !!r.sync, this.before = r.before) : this.deep = this.user = this.lazy = this.sync = !1, this.cb = n, this.id = ++fn, this.active = !0, this.dirty = this.lazy, this.deps = [], this.newDeps = [], this.depIds = new ae, this.newDepIds = new ae, this.expression = "", "function" == typeof t ? this.getter = t : (this.getter = function(e) { if (!W.test(e)) { var t = e.split("."); return function(e) { for (var n = 0; n < t.length; n++) { if (!e) return; e = e[t[n]] } return e } } }(t), this.getter || (this.getter = O)), this.value = this.lazy ? void 0 : this.get() }; hn.prototype.get = function() { var e; fe(this); var t = this.vm; try { e = this.getter.call(t, t) } catch (e) { if (!this.user) throw e; He(e, t, 'getter for watcher "' + this.expression + '"') } finally { this.deep && it(e), he(), this.cleanupDeps() } return e } , hn.prototype.addDep = function(e) { var t = e.id; this.newDepIds.has(t) || (this.newDepIds.add(t), this.newDeps.push(e), this.depIds.has(t) || e.addSub(this)) } , hn.prototype.cleanupDeps = function() { for (var e = this.deps.length; e--; ) { var t = this.deps[e]; this.newDepIds.has(t.id) || t.removeSub(this) } var n = this.depIds; this.depIds = this.newDepIds, this.newDepIds = n, this.newDepIds.clear(), n = this.deps, this.deps = this.newDeps, this.newDeps = n, this.newDeps.length = 0 } , hn.prototype.update = function() { this.lazy ? this.dirty = !0 : this.sync ? this.run() : function(e) { var t = e.id; if (null == rn[t]) { if (rn[t] = !0, an) { for (var n = tn.length - 1; n > sn && tn[n].id > e.id; ) n--; tn.splice(n + 1, 0, e) } else tn.push(e); on || (on = !0, nt(dn)) } }(this) } , hn.prototype.run = function() { if (this.active) { var e = this.get(); if (e !== this.value || l(e) || this.deep) { var t = this.value; if (this.value = e, this.user) { var n = 'callback for watcher "' + this.expression + '"'; Ve(this.cb, this.vm, [e, t], this.vm, n) } else this.cb.call(this.vm, e, t) } } } , hn.prototype.evaluate = function() { this.value = this.get(), this.dirty = !1 } , hn.prototype.depend = function() { for (var e = this.deps.length; e--; ) this.deps[e].depend() } , hn.prototype.teardown = function() { if (this.active) { this.vm._isBeingDestroyed || y(this.vm._watchers, this); for (var e = this.deps.length; e--; ) this.deps[e].removeSub(this); this.active = !1 } } ; var pn = { enumerable: !0, configurable: !0, get: O, set: O }; function gn(e, t, n) { pn.get = function() { return this[t][n] } , pn.set = function(e) { this[t][n] = e } , Object.defineProperty(e, n, pn) } function mn(e) { e._watchers = []; var t = e.$options; t.props && function(e, t) { var n = e.$options.propsData || {} , r = e._props = {} , i = e.$options._propKeys = []; e.$parent && xe(!1); var o = function(o) { i.push(o); var a = Fe(o, t, n, e); Ce(r, o, a), o in e || gn(e, "_props", o) }; for (var a in t) o(a); xe(!0) }(e, t.props), t.methods && function(e, t) { e.$options.props; for (var n in t) e[n] = "function" != typeof t[n] ? O : M(t[n], e) }(e, t.methods), t.data ? function(e) { var t = e.$options.data; c(t = e._data = "function" == typeof t ? function(e, t) { fe(); try { return e.call(t, t) } catch (e) { return He(e, t, "data()"), {} } finally { he() } }(t, e) : t || {}) || (t = {}); var n = Object.keys(t) , r = e.$options.props , i = (e.$options.methods, n.length); for (; i--; ) { var o = n[i]; 0, r && _(r, o) || (a = void 0, 36 !== (a = (o + "").charCodeAt(0)) && 95 !== a && gn(e, "_data", o)) } var a; Ie(t, !0) }(e) : Ie(e._data = {}, !0), t.computed && function(e, t) { var n = e._computedWatchers = Object.create(null) , r = re(); for (var i in t) { var o = t[i] , a = "function" == typeof o ? o : o.get; 0, r || (n[i] = new hn(e,a || O,O,vn)), i in e || yn(e, i, o) } }(e, t.computed), t.watch && t.watch !== ee && function(e, t) { for (var n in t) { var r = t[n]; if (Array.isArray(r)) for (var i = 0; i < r.length; i++) wn(e, n, r[i]); else wn(e, n, r) } }(e, t.watch) } var vn = { lazy: !0 }; function yn(e, t, n) { var r = !re(); "function" == typeof n ? (pn.get = r ? bn(t) : _n(n), pn.set = O) : (pn.get = n.get ? r && !1 !== n.cache ? bn(t) : _n(n.get) : O, pn.set = n.set || O), Object.defineProperty(e, t, pn) } function bn(e) { return function() { var t = this._computedWatchers && this._computedWatchers[e]; if (t) return t.dirty && t.evaluate(), ce.target && t.depend(), t.value } } function _n(e) { return function() { return e.call(this, this) } } function wn(e, t, n, r) { return c(n) && (r = n, n = n.handler), "string" == typeof n && (n = e[n]), e.$watch(t, n, r) } var Sn = 0; function xn(e) { var t = e.options; if (e.super) { var n = xn(e.super); if (n !== e.superOptions) { e.superOptions = n; var r = function(e) { var t, n = e.options, r = e.sealedOptions; for (var i in n) n[i] !== r[i] && (t || (t = {}), t[i] = n[i]); return t }(e); r && A(e.extendOptions, r), (t = e.options = ze(n, e.extendOptions)).name && (t.components[t.name] = e) } } return t } function kn(e) { this._init(e) } function In(e) { e.cid = 0; var t = 1; e.extend = function(e) { e = e || {}; var n = this , r = n.cid , i = e._Ctor || (e._Ctor = {}); if (i[r]) return i[r]; var o = e.name || n.options.name; var a = function(e) { this._init(e) }; return (a.prototype = Object.create(n.prototype)).constructor = a, a.cid = t++, a.options = ze(n.options, e), a.super = n, a.options.props && function(e) { var t = e.options.props; for (var n in t) gn(e.prototype, "_props", n) }(a), a.options.computed && function(e) { var t = e.options.computed; for (var n in t) yn(e.prototype, n, t[n]) }(a), a.extend = n.extend, a.mixin = n.mixin, a.use = n.use, j.forEach((function(e) { a[e] = n[e] } )), o && (a.options.components[o] = a), a.superOptions = n.options, a.extendOptions = e, a.sealedOptions = A({}, a.options), i[r] = a, a } } function Cn(e) { return e && (e.Ctor.options.name || e.tag) } function Mn(e, t) { return Array.isArray(e) ? e.indexOf(t) > -1 : "string" == typeof e ? e.split(",").indexOf(t) > -1 : !!d(e) && e.test(t) } function Tn(e, t) { var n = e.cache , r = e.keys , i = e._vnode; for (var o in n) { var a = n[o]; if (a) { var s = a.name; s && !t(s) && An(n, o, r, i) } } } function An(e, t, n, r) { var i = e[t]; !i || r && i.tag === r.tag || i.componentInstance.$destroy(), e[t] = null, y(n, t) } !function(e) { e.prototype._init = function(e) { var t = this; t._uid = Sn++, t._isVue = !0, e && e._isComponent ? function(e, t) { var n = e.$options = Object.create(e.constructor.options) , r = t._parentVnode; n.parent = t.parent, n._parentVnode = r; var i = r.componentOptions; n.propsData = i.propsData, n._parentListeners = i.listeners, n._renderChildren = i.children, n._componentTag = i.tag, t.render && (n.render = t.render, n.staticRenderFns = t.staticRenderFns) }(t, e) : t.$options = ze(xn(t.constructor), e || {}, t), t._renderProxy = t, t._self = t, function(e) { var t = e.$options , n = t.parent; if (n && !t.abstract) { for (; n.$options.abstract && n.$parent; ) n = n.$parent; n.$children.push(e) } e.$parent = n, e.$root = n ? n.$root : e, e.$children = [], e.$refs = {}, e._watcher = null, e._inactive = null, e._directInactive = !1, e._isMounted = !1, e._isDestroyed = !1, e._isBeingDestroyed = !1 }(t), function(e) { e._events = Object.create(null), e._hasHookEvent = !1; var t = e.$options._parentListeners; t && Yt(e, t) }(t), function(e) { e._vnode = null, e._staticTrees = null; var t = e.$options , n = e.$vnode = t._parentVnode , i = n && n.context; e.$slots = ht(t._renderChildren, i), e.$scopedSlots = r, e._c = function(t, n, r, i) { return Ut(e, t, n, r, i, !1) } , e.$createElement = function(t, n, r, i) { return Ut(e, t, n, r, i, !0) } ; var o = n && n.data; Ce(e, "$attrs", o && o.attrs || r, null, !0), Ce(e, "$listeners", t._parentListeners || r, null, !0) }(t), en(t, "beforeCreate"), function(e) { var t = ft(e.$options.inject, e); t && (xe(!1), Object.keys(t).forEach((function(n) { Ce(e, n, t[n]) } )), xe(!0)) }(t), mn(t), function(e) { var t = e.$options.provide; t && (e._provided = "function" == typeof t ? t.call(e) : t) }(t), en(t, "created"), t.$options.el && t.$mount(t.$options.el) } }(kn), function(e) { var t = { get: function() { return this._data } } , n = { get: function() { return this._props } }; Object.defineProperty(e.prototype, "$data", t), Object.defineProperty(e.prototype, "$props", n), e.prototype.$set = Me, e.prototype.$delete = Te, e.prototype.$watch = function(e, t, n) { if (c(t)) return wn(this, e, t, n); (n = n || {}).user = !0; var r = new hn(this,e,t,n); if (n.immediate) { var i = 'callback for immediate watcher "' + r.expression + '"'; fe(), Ve(t, this, [r.value], this, i), he() } return function() { r.teardown() } } }(kn), function(e) { var t = /^hook:/; e.prototype.$on = function(e, n) { var r = this; if (Array.isArray(e)) for (var i = 0, o = e.length; i < o; i++) r.$on(e[i], n); else (r._events[e] || (r._events[e] = [])).push(n), t.test(e) && (r._hasHookEvent = !0); return r } , e.prototype.$once = function(e, t) { var n = this; function r() { n.$off(e, r), t.apply(n, arguments) } return r.fn = t, n.$on(e, r), n } , e.prototype.$off = function(e, t) { var n = this; if (!arguments.length) return n._events = Object.create(null), n; if (Array.isArray(e)) { for (var r = 0, i = e.length; r < i; r++) n.$off(e[r], t); return n } var o, a = n._events[e]; if (!a) return n; if (!t) return n._events[e] = null, n; for (var s = a.length; s--; ) if ((o = a[s]) === t || o.fn === t) { a.splice(s, 1); break } return n } , e.prototype.$emit = function(e) { var t = this , n = t._events[e]; if (n) { n = n.length > 1 ? T(n) : n; for (var r = T(arguments, 1), i = 'event handler for "' + e + '"', o = 0, a = n.length; o < a; o++) Ve(n[o], t, r, t, i) } return t } }(kn), function(e) { e.prototype._update = function(e, t) { var n = this , r = n.$el , i = n._vnode , o = Jt(n); n._vnode = e, n.$el = i ? n.__patch__(i, e) : n.__patch__(n.$el, e, t, !1), o(), r && (r.__vue__ = null), n.$el && (n.$el.__vue__ = n), n.$vnode && n.$parent && n.$vnode === n.$parent._vnode && (n.$parent.$el = n.$el) } , e.prototype.$forceUpdate = function() { this._watcher && this._watcher.update() } , e.prototype.$destroy = function() { var e = this; if (!e._isBeingDestroyed) { en(e, "beforeDestroy"), e._isBeingDestroyed = !0; var t = e.$parent; !t || t._isBeingDestroyed || e.$options.abstract || y(t.$children, e), e._watcher && e._watcher.teardown(); for (var n = e._watchers.length; n--; ) e._watchers[n].teardown(); e._data.__ob__ && e._data.__ob__.vmCount--, e._isDestroyed = !0, e.__patch__(e._vnode, null), en(e, "destroyed"), e.$off(), e.$el && (e.$el.__vue__ = null), e.$vnode && (e.$vnode.parent = null) } } }(kn), function(e) { Lt(e.prototype), e.prototype.$nextTick = function(e) { return nt(e, this) } , e.prototype._render = function() { var e, t = this, n = t.$options, r = n.render, i = n._parentVnode; i && (t.$scopedSlots = mt(i.data.scopedSlots, t.$slots, t.$scopedSlots)), t.$vnode = i; try { Ht = t, e = r.call(t._renderProxy, t.$createElement) } catch (n) { He(n, t, "render"), e = t._vnode } finally { Ht = null } return Array.isArray(e) && 1 === e.length && (e = e[0]), e instanceof pe || (e = me()), e.parent = i, e } }(kn); var En = [String, RegExp, Array] , On = { KeepAlive: { name: "keep-alive", abstract: !0, props: { include: En, exclude: En, max: [String, Number] }, methods: { cacheVNode: function() { var e = this.cache , t = this.keys , n = this.vnodeToCache , r = this.keyToCache; if (n) { var i = n.tag , o = n.componentInstance , a = n.componentOptions; e[r] = { name: Cn(a), tag: i, componentInstance: o }, t.push(r), this.max && t.length > parseInt(this.max) && An(e, t[0], t, this._vnode), this.vnodeToCache = null } } }, created: function() { this.cache = Object.create(null), this.keys = [] }, destroyed: function() { for (var e in this.cache) An(this.cache, e, this.keys) }, mounted: function() { var e = this; this.cacheVNode(), this.$watch("include", (function(t) { Tn(e, (function(e) { return Mn(t, e) } )) } )), this.$watch("exclude", (function(t) { Tn(e, (function(e) { return !Mn(t, e) } )) } )) }, updated: function() { this.cacheVNode() }, render: function() { var e = this.$slots.default , t = $t(e) , n = t && t.componentOptions; if (n) { var r = Cn(n) , i = this.include , o = this.exclude; if (i && (!r || !Mn(i, r)) || o && r && Mn(o, r)) return t; var a = this.cache , s = this.keys , l = null == t.key ? n.Ctor.cid + (n.tag ? "::" + n.tag : "") : t.key; a[l] ? (t.componentInstance = a[l].componentInstance, y(s, l), s.push(l)) : (this.vnodeToCache = t, this.keyToCache = l), t.data.keepAlive = !0 } return t || e && e[0] } } }; !function(e) { var t = { get: function() { return D } }; Object.defineProperty(e, "config", t), e.util = { warn: le, extend: A, mergeOptions: ze, defineReactive: Ce }, e.set = Me, e.delete = Te, e.nextTick = nt, e.observable = function(e) { return Ie(e), e } , e.options = Object.create(null), j.forEach((function(t) { e.options[t + "s"] = Object.create(null) } )), e.options._base = e, A(e.options.components, On), function(e) { e.use = function(e) { var t = this._installedPlugins || (this._installedPlugins = []); if (t.indexOf(e) > -1) return this; var n = T(arguments, 1); return n.unshift(this), "function" == typeof e.install ? e.install.apply(e, n) : "function" == typeof e && e.apply(null, n), t.push(e), this } }(e), function(e) { e.mixin = function(e) { return this.options = ze(this.options, e), this } }(e), In(e), function(e) { j.forEach((function(t) { e[t] = function(e, n) { return n ? ("component" === t && c(n) && (n.name = n.name || e, n = this.options._base.extend(n)), "directive" === t && "function" == typeof n && (n = { bind: n, update: n }), this.options[t + "s"][e] = n, n) : this.options[t + "s"][e] } } )) }(e) }(kn), Object.defineProperty(kn.prototype, "$isServer", { get: re }), Object.defineProperty(kn.prototype, "$ssrContext", { get: function() { return this.$vnode && this.$vnode.ssrContext } }), Object.defineProperty(kn, "FunctionalRenderContext", { value: Pt }), kn.version = "2.6.14"; var Bn = m("style,class") , Ln = m("input,textarea,option,select,progress") , Pn = m("contenteditable,draggable,spellcheck") , Rn = m("events,caret,typing,plaintext-only") , zn = m("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") , jn = "http://www.w3.org/1999/xlink" , Fn = function(e) { return ":" === e.charAt(5) && "xlink" === e.slice(0, 5) } , Dn = function(e) { return Fn(e) ? e.slice(6, e.length) : "" } , Nn = function(e) { return null == e || !1 === e }; function Un(e) { for (var t = e.data, n = e, r = e; o(r.componentInstance); ) (r = r.componentInstance._vnode) && r.data && (t = Wn(r.data, t)); for (; o(n = n.parent); ) n && n.data && (t = Wn(t, n.data)); return function(e, t) { if (o(e) || o(t)) return Hn(e, Vn(t)); return "" }(t.staticClass, t.class) } function Wn(e, t) { return { staticClass: Hn(e.staticClass, t.staticClass), class: o(e.class) ? [e.class, t.class] : t.class } } function Hn(e, t) { return e ? t ? e + " " + t : e : t || "" } function Vn(e) { return Array.isArray(e) ? function(e) { for (var t, n = "", r = 0, i = e.length; r < i; r++) o(t = Vn(e[r])) && "" !== t && (n && (n += " "), n += t); return n }(e) : l(e) ? function(e) { var t = ""; for (var n in e) e[n] && (t && (t += " "), t += n); return t }(e) : "string" == typeof e ? e : "" } var $n = { svg: "http://www.w3.org/2000/svg", math: "http://www.w3.org/1998/Math/MathML" } , Gn = m("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") , Zn = m("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", !0) , qn = function(e) { return Gn(e) || Zn(e) }; var Yn = Object.create(null); var Xn = m("text,number,password,search,email,tel,url"); var Jn = Object.freeze({ createElement: function(e, t) { var n = document.createElement(e); return "select" !== e || t.data && t.data.attrs && void 0 !== t.data.attrs.multiple && n.setAttribute("multiple", "multiple"), n }, createElementNS: function(e, t) { return document.createElementNS($n[e], t) }, createTextNode: function(e) { return document.createTextNode(e) }, createComment: function(e) { return document.createComment(e) }, insertBefore: function(e, t, n) { e.insertBefore(t, n) }, removeChild: function(e, t) { e.removeChild(t) }, appendChild: function(e, t) { e.appendChild(t) }, parentNode: function(e) { return e.parentNode }, nextSibling: function(e) { return e.nextSibling }, tagName: function(e) { return e.tagName }, setTextContent: function(e, t) { e.textContent = t }, setStyleScope: function(e, t) { e.setAttribute(t, "") } }) , Qn = { create: function(e, t) { Kn(t) }, update: function(e, t) { e.data.ref !== t.data.ref && (Kn(e, !0), Kn(t)) }, destroy: function(e) { Kn(e, !0) } }; function Kn(e, t) { var n = e.data.ref; if (o(n)) { var r = e.context , i = e.componentInstance || e.elm , a = r.$refs; t ? Array.isArray(a[n]) ? y(a[n], i) : a[n] === i && (a[n] = void 0) : e.data.refInFor ? Array.isArray(a[n]) ? a[n].indexOf(i) < 0 && a[n].push(i) : a[n] = [i] : a[n] = i } } var er = new pe("",{},[]) , tr = ["create", "activate", "update", "remove", "destroy"]; function nr(e, t) { return e.key === t.key && e.asyncFactory === t.asyncFactory && (e.tag === t.tag && e.isComment === t.isComment && o(e.data) === o(t.data) && function(e, t) { if ("input" !== e.tag) return !0; var n, r = o(n = e.data) && o(n = n.attrs) && n.type, i = o(n = t.data) && o(n = n.attrs) && n.type; return r === i || Xn(r) && Xn(i) }(e, t) || a(e.isAsyncPlaceholder) && i(t.asyncFactory.error)) } function rr(e, t, n) { var r, i, a = {}; for (r = t; r <= n; ++r) o(i = e[r].key) && (a[i] = r); return a } var ir = { create: or, update: or, destroy: function(e) { or(e, er) } }; function or(e, t) { (e.data.directives || t.data.directives) && function(e, t) { var n, r, i, o = e === er, a = t === er, s = sr(e.data.directives, e.context), l = sr(t.data.directives, t.context), u = [], c = []; for (n in l) r = s[n], i = l[n], r ? (i.oldValue = r.value, i.oldArg = r.arg, ur(i, "update", t, e), i.def && i.def.componentUpdated && c.push(i)) : (ur(i, "bind", t, e), i.def && i.def.inserted && u.push(i)); if (u.length) { var d = function() { for (var n = 0; n < u.length; n++) ur(u[n], "inserted", t, e) }; o ? lt(t, "insert", d) : d() } c.length && lt(t, "postpatch", (function() { for (var n = 0; n < c.length; n++) ur(c[n], "componentUpdated", t, e) } )); if (!o) for (n in s) l[n] || ur(s[n], "unbind", e, e, a) }(e, t) } var ar = Object.create(null); function sr(e, t) { var n, r, i = Object.create(null); if (!e) return i; for (n = 0; n < e.length; n++) (r = e[n]).modifiers || (r.modifiers = ar), i[lr(r)] = r, r.def = je(t.$options, "directives", r.name); return i } function lr(e) { return e.rawName || e.name + "." + Object.keys(e.modifiers || {}).join(".") } function ur(e, t, n, r, i) { var o = e.def && e.def[t]; if (o) try { o(n.elm, e, n, r, i) } catch (r) { He(r, n.context, "directive " + e.name + " " + t + " hook") } } var cr = [Qn, ir]; function dr(e, t) { var n = t.componentOptions; if (!(o(n) && !1 === n.Ctor.options.inheritAttrs || i(e.data.attrs) && i(t.data.attrs))) { var r, a, s = t.elm, l = e.data.attrs || {}, u = t.data.attrs || {}; for (r in o(u.__ob__) && (u = t.data.attrs = A({}, u)), u) a = u[r], l[r] !== a && fr(s, r, a, t.data.pre); for (r in (Y || J) && u.value !== l.value && fr(s, "value", u.value), l) i(u[r]) && (Fn(r) ? s.removeAttributeNS(jn, Dn(r)) : Pn(r) || s.removeAttribute(r)) } } function fr(e, t, n, r) { r || e.tagName.indexOf("-") > -1 ? hr(e, t, n) : zn(t) ? Nn(n) ? e.removeAttribute(t) : (n = "allowfullscreen" === t && "EMBED" === e.tagName ? "true" : t, e.setAttribute(t, n)) : Pn(t) ? e.setAttribute(t, function(e, t) { return Nn(t) || "false" === t ? "false" : "contenteditable" === e && Rn(t) ? t : "true" }(t, n)) : Fn(t) ? Nn(n) ? e.removeAttributeNS(jn, Dn(t)) : e.setAttributeNS(jn, t, n) : hr(e, t, n) } function hr(e, t, n) { if (Nn(n)) e.removeAttribute(t); else { if (Y && !X && "TEXTAREA" === e.tagName && "placeholder" === t && "" !== n && !e.__ieph) { var r = function(t) { t.stopImmediatePropagation(), e.removeEventListener("input", r) }; e.addEventListener("input", r), e.__ieph = !0 } e.setAttribute(t, n) } } var pr = { create: dr, update: dr }; function gr(e, t) { var n = t.elm , r = t.data , a = e.data; if (!(i(r.staticClass) && i(r.class) && (i(a) || i(a.staticClass) && i(a.class)))) { var s = Un(t) , l = n._transitionClasses; o(l) && (s = Hn(s, Vn(l))), s !== n._prevClass && (n.setAttribute("class", s), n._prevClass = s) } } var mr, vr = { create: gr, update: gr }; function yr(e, t, n) { var r = mr; return function i() { var o = t.apply(null, arguments); null !== o && wr(e, i, n, r) } } var br = qe && !(K && Number(K[1]) <= 53); function _r(e, t, n, r) { if (br) { var i = ln , o = t; t = o._wrapper = function(e) { if (e.target === e.currentTarget || e.timeStamp >= i || e.timeStamp <= 0 || e.target.ownerDocument !== document) return o.apply(this, arguments) } } mr.addEventListener(e, t, te ? { capture: n, passive: r } : n) } function wr(e, t, n, r) { (r || mr).removeEventListener(e, t._wrapper || t, n) } function Sr(e, t) { if (!i(e.data.on) || !i(t.data.on)) { var n = t.data.on || {} , r = e.data.on || {}; mr = t.elm, function(e) { if (o(e.__r)) { var t = Y ? "change" : "input"; e[t] = [].concat(e.__r, e[t] || []), delete e.__r } o(e.__c) && (e.change = [].concat(e.__c, e.change || []), delete e.__c) }(n), st(n, r, _r, wr, yr, t.context), mr = void 0 } } var xr, kr = { create: Sr, update: Sr }; function Ir(e, t) { if (!i(e.data.domProps) || !i(t.data.domProps)) { var n, r, a = t.elm, s = e.data.domProps || {}, l = t.data.domProps || {}; for (n in o(l.__ob__) && (l = t.data.domProps = A({}, l)), s) n in l || (a[n] = ""); for (n in l) { if (r = l[n], "textContent" === n || "innerHTML" === n) { if (t.children && (t.children.length = 0), r === s[n]) continue; 1 === a.childNodes.length && a.removeChild(a.childNodes[0]) } if ("value" === n && "PROGRESS" !== a.tagName) { a._value = r; var u = i(r) ? "" : String(r); Cr(a, u) && (a.value = u) } else if ("innerHTML" === n && Zn(a.tagName) && i(a.innerHTML)) { (xr = xr || document.createElement("div")).innerHTML = "" + r + ""; for (var c = xr.firstChild; a.firstChild; ) a.removeChild(a.firstChild); for (; c.firstChild; ) a.appendChild(c.firstChild) } else if (r !== s[n]) try { a[n] = r } catch (e) {} } } } function Cr(e, t) { return !e.composing && ("OPTION" === e.tagName || function(e, t) { var n = !0; try { n = document.activeElement !== e } catch (e) {} return n && e.value !== t }(e, t) || function(e, t) { var n = e.value , r = e._vModifiers; if (o(r)) { if (r.number) return g(n) !== g(t); if (r.trim) return n.trim() !== t.trim() } return n !== t }(e, t)) } var Mr = { create: Ir, update: Ir } , Tr = w((function(e) { var t = {} , n = /:(.+)/; return e.split(/;(?![^(]*\))/g).forEach((function(e) { if (e) { var r = e.split(n); r.length > 1 && (t[r[0].trim()] = r[1].trim()) } } )), t } )); function Ar(e) { var t = Er(e.style); return e.staticStyle ? A(e.staticStyle, t) : t } function Er(e) { return Array.isArray(e) ? E(e) : "string" == typeof e ? Tr(e) : e } var Or, Br = /^--/, Lr = /\s*!important$/, Pr = function(e, t, n) { if (Br.test(t)) e.style.setProperty(t, n); else if (Lr.test(n)) e.style.setProperty(C(t), n.replace(Lr, ""), "important"); else { var r = zr(t); if (Array.isArray(n)) for (var i = 0, o = n.length; i < o; i++) e.style[r] = n[i]; else e.style[r] = n } }, Rr = ["Webkit", "Moz", "ms"], zr = w((function(e) { if (Or = Or || document.createElement("div").style, "filter" !== (e = x(e)) && e in Or) return e; for (var t = e.charAt(0).toUpperCase() + e.slice(1), n = 0; n < Rr.length; n++) { var r = Rr[n] + t; if (r in Or) return r } } )); function jr(e, t) { var n = t.data , r = e.data; if (!(i(n.staticStyle) && i(n.style) && i(r.staticStyle) && i(r.style))) { var a, s, l = t.elm, u = r.staticStyle, c = r.normalizedStyle || r.style || {}, d = u || c, f = Er(t.data.style) || {}; t.data.normalizedStyle = o(f.__ob__) ? A({}, f) : f; var h = function(e, t) { var n, r = {}; if (t) for (var i = e; i.componentInstance; ) (i = i.componentInstance._vnode) && i.data && (n = Ar(i.data)) && A(r, n); (n = Ar(e.data)) && A(r, n); for (var o = e; o = o.parent; ) o.data && (n = Ar(o.data)) && A(r, n); return r }(t, !0); for (s in d) i(h[s]) && Pr(l, s, ""); for (s in h) (a = h[s]) !== d[s] && Pr(l, s, null == a ? "" : a) } } var Fr = { create: jr, update: jr } , Dr = /\s+/; function Nr(e, t) { if (t && (t = t.trim())) if (e.classList) t.indexOf(" ") > -1 ? t.split(Dr).forEach((function(t) { return e.classList.add(t) } )) : e.classList.add(t); else { var n = " " + (e.getAttribute("class") || "") + " "; n.indexOf(" " + t + " ") < 0 && e.setAttribute("class", (n + t).trim()) } } function Ur(e, t) { if (t && (t = t.trim())) if (e.classList) t.indexOf(" ") > -1 ? t.split(Dr).forEach((function(t) { return e.classList.remove(t) } )) : e.classList.remove(t), e.classList.length || e.removeAttribute("class"); else { for (var n = " " + (e.getAttribute("class") || "") + " ", r = " " + t + " "; n.indexOf(r) >= 0; ) n = n.replace(r, " "); (n = n.trim()) ? e.setAttribute("class", n) : e.removeAttribute("class") } } function Wr(e) { if (e) { if ("object" == typeof e) { var t = {}; return !1 !== e.css && A(t, Hr(e.name || "v")), A(t, e), t } return "string" == typeof e ? Hr(e) : void 0 } } var Hr = w((function(e) { return { enterClass: e + "-enter", enterToClass: e + "-enter-to", enterActiveClass: e + "-enter-active", leaveClass: e + "-leave", leaveToClass: e + "-leave-to", leaveActiveClass: e + "-leave-active" } } )) , Vr = $ && !X , $r = "transition" , Gr = "transitionend" , Zr = "animation" , qr = "animationend"; Vr && (void 0 === window.ontransitionend && void 0 !== window.onwebkittransitionend && ($r = "WebkitTransition", Gr = "webkitTransitionEnd"), void 0 === window.onanimationend && void 0 !== window.onwebkitanimationend && (Zr = "WebkitAnimation", qr = "webkitAnimationEnd")); var Yr = $ ? window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout : function(e) { return e() } ; function Xr(e) { Yr((function() { Yr(e) } )) } function Jr(e, t) { var n = e._transitionClasses || (e._transitionClasses = []); n.indexOf(t) < 0 && (n.push(t), Nr(e, t)) } function Qr(e, t) { e._transitionClasses && y(e._transitionClasses, t), Ur(e, t) } function Kr(e, t, n) { var r = ti(e, t) , i = r.type , o = r.timeout , a = r.propCount; if (!i) return n(); var s = "transition" === i ? Gr : qr , l = 0 , u = function() { e.removeEventListener(s, c), n() } , c = function(t) { t.target === e && ++l >= a && u() }; setTimeout((function() { l < a && u() } ), o + 1), e.addEventListener(s, c) } var ei = /\b(transform|all)(,|$)/; function ti(e, t) { var n, r = window.getComputedStyle(e), i = (r[$r + "Delay"] || "").split(", "), o = (r[$r + "Duration"] || "").split(", "), a = ni(i, o), s = (r[Zr + "Delay"] || "").split(", "), l = (r[Zr + "Duration"] || "").split(", "), u = ni(s, l), c = 0, d = 0; return "transition" === t ? a > 0 && (n = "transition", c = a, d = o.length) : "animation" === t ? u > 0 && (n = "animation", c = u, d = l.length) : d = (n = (c = Math.max(a, u)) > 0 ? a > u ? "transition" : "animation" : null) ? "transition" === n ? o.length : l.length : 0, { type: n, timeout: c, propCount: d, hasTransform: "transition" === n && ei.test(r[$r + "Property"]) } } function ni(e, t) { for (; e.length < t.length; ) e = e.concat(e); return Math.max.apply(null, t.map((function(t, n) { return ri(t) + ri(e[n]) } ))) } function ri(e) { return 1e3 * Number(e.slice(0, -1).replace(",", ".")) } function ii(e, t) { var n = e.elm; o(n._leaveCb) && (n._leaveCb.cancelled = !0, n._leaveCb()); var r = Wr(e.data.transition); if (!i(r) && !o(n._enterCb) && 1 === n.nodeType) { for (var a = r.css, s = r.type, u = r.enterClass, c = r.enterToClass, d = r.enterActiveClass, f = r.appearClass, h = r.appearToClass, p = r.appearActiveClass, m = r.beforeEnter, v = r.enter, y = r.afterEnter, b = r.enterCancelled, _ = r.beforeAppear, w = r.appear, S = r.afterAppear, x = r.appearCancelled, k = r.duration, I = Xt, C = Xt.$vnode; C && C.parent; ) I = C.context, C = C.parent; var M = !I._isMounted || !e.isRootInsert; if (!M || w || "" === w) { var T = M && f ? f : u , A = M && p ? p : d , E = M && h ? h : c , O = M && _ || m , B = M && "function" == typeof w ? w : v , L = M && S || y , P = M && x || b , R = g(l(k) ? k.enter : k); 0; var j = !1 !== a && !X , F = si(B) , D = n._enterCb = z((function() { j && (Qr(n, E), Qr(n, A)), D.cancelled ? (j && Qr(n, T), P && P(n)) : L && L(n), n._enterCb = null } )); e.data.show || lt(e, "insert", (function() { var t = n.parentNode , r = t && t._pending && t._pending[e.key]; r && r.tag === e.tag && r.elm._leaveCb && r.elm._leaveCb(), B && B(n, D) } )), O && O(n), j && (Jr(n, T), Jr(n, A), Xr((function() { Qr(n, T), D.cancelled || (Jr(n, E), F || (ai(R) ? setTimeout(D, R) : Kr(n, s, D))) } ))), e.data.show && (t && t(), B && B(n, D)), j || F || D() } } } function oi(e, t) { var n = e.elm; o(n._enterCb) && (n._enterCb.cancelled = !0, n._enterCb()); var r = Wr(e.data.transition); if (i(r) || 1 !== n.nodeType) return t(); if (!o(n._leaveCb)) { var a = r.css , s = r.type , u = r.leaveClass , c = r.leaveToClass , d = r.leaveActiveClass , f = r.beforeLeave , h = r.leave , p = r.afterLeave , m = r.leaveCancelled , v = r.delayLeave , y = r.duration , b = !1 !== a && !X , _ = si(h) , w = g(l(y) ? y.leave : y); 0; var S = n._leaveCb = z((function() { n.parentNode && n.parentNode._pending && (n.parentNode._pending[e.key] = null), b && (Qr(n, c), Qr(n, d)), S.cancelled ? (b && Qr(n, u), m && m(n)) : (t(), p && p(n)), n._leaveCb = null } )); v ? v(x) : x() } function x() { S.cancelled || (!e.data.show && n.parentNode && ((n.parentNode._pending || (n.parentNode._pending = {}))[e.key] = e), f && f(n), b && (Jr(n, u), Jr(n, d), Xr((function() { Qr(n, u), S.cancelled || (Jr(n, c), _ || (ai(w) ? setTimeout(S, w) : Kr(n, s, S))) } ))), h && h(n, S), b || _ || S()) } } function ai(e) { return "number" == typeof e && !isNaN(e) } function si(e) { if (i(e)) return !1; var t = e.fns; return o(t) ? si(Array.isArray(t) ? t[0] : t) : (e._length || e.length) > 1 } function li(e, t) { !0 !== t.data.show && ii(t) } var ui = function(e) { var t, n, r = {}, l = e.modules, u = e.nodeOps; for (t = 0; t < tr.length; ++t) for (r[tr[t]] = [], n = 0; n < l.length; ++n) o(l[n][tr[t]]) && r[tr[t]].push(l[n][tr[t]]); function c(e) { var t = u.parentNode(e); o(t) && u.removeChild(t, e) } function d(e, t, n, i, s, l, c) { if (o(e.elm) && o(l) && (e = l[c] = ye(e)), e.isRootInsert = !s, !function(e, t, n, i) { var s = e.data; if (o(s)) { var l = o(e.componentInstance) && s.keepAlive; if (o(s = s.hook) && o(s = s.init) && s(e, !1), o(e.componentInstance)) return f(e, t), h(n, e.elm, i), a(l) && function(e, t, n, i) { var a, s = e; for (; s.componentInstance; ) if (s = s.componentInstance._vnode, o(a = s.data) && o(a = a.transition)) { for (a = 0; a < r.activate.length; ++a) r.activate[a](er, s); t.push(s); break } h(n, e.elm, i) }(e, t, n, i), !0 } }(e, t, n, i)) { var d = e.data , g = e.children , m = e.tag; o(m) ? (e.elm = e.ns ? u.createElementNS(e.ns, m) : u.createElement(m, e), y(e), p(e, g, t), o(d) && v(e, t), h(n, e.elm, i)) : a(e.isComment) ? (e.elm = u.createComment(e.text), h(n, e.elm, i)) : (e.elm = u.createTextNode(e.text), h(n, e.elm, i)) } } function f(e, t) { o(e.data.pendingInsert) && (t.push.apply(t, e.data.pendingInsert), e.data.pendingInsert = null), e.elm = e.componentInstance.$el, g(e) ? (v(e, t), y(e)) : (Kn(e), t.push(e)) } function h(e, t, n) { o(e) && (o(n) ? u.parentNode(n) === e && u.insertBefore(e, t, n) : u.appendChild(e, t)) } function p(e, t, n) { if (Array.isArray(t)) { 0; for (var r = 0; r < t.length; ++r) d(t[r], n, e.elm, null, !0, t, r) } else s(e.text) && u.appendChild(e.elm, u.createTextNode(String(e.text))) } function g(e) { for (; e.componentInstance; ) e = e.componentInstance._vnode; return o(e.tag) } function v(e, n) { for (var i = 0; i < r.create.length; ++i) r.create[i](er, e); o(t = e.data.hook) && (o(t.create) && t.create(er, e), o(t.insert) && n.push(e)) } function y(e) { var t; if (o(t = e.fnScopeId)) u.setStyleScope(e.elm, t); else for (var n = e; n; ) o(t = n.context) && o(t = t.$options._scopeId) && u.setStyleScope(e.elm, t), n = n.parent; o(t = Xt) && t !== e.context && t !== e.fnContext && o(t = t.$options._scopeId) && u.setStyleScope(e.elm, t) } function b(e, t, n, r, i, o) { for (; r <= i; ++r) d(n[r], o, e, t, !1, n, r) } function _(e) { var t, n, i = e.data; if (o(i)) for (o(t = i.hook) && o(t = t.destroy) && t(e), t = 0; t < r.destroy.length; ++t) r.destroy[t](e); if (o(t = e.children)) for (n = 0; n < e.children.length; ++n) _(e.children[n]) } function w(e, t, n) { for (; t <= n; ++t) { var r = e[t]; o(r) && (o(r.tag) ? (S(r), _(r)) : c(r.elm)) } } function S(e, t) { if (o(t) || o(e.data)) { var n, i = r.remove.length + 1; for (o(t) ? t.listeners += i : t = function(e, t) { function n() { 0 == --n.listeners && c(e) } return n.listeners = t, n }(e.elm, i), o(n = e.componentInstance) && o(n = n._vnode) && o(n.data) && S(n, t), n = 0; n < r.remove.length; ++n) r.remove[n](e, t); o(n = e.data.hook) && o(n = n.remove) ? n(e, t) : t() } else c(e.elm) } function x(e, t, n, r) { for (var i = n; i < r; i++) { var a = t[i]; if (o(a) && nr(e, a)) return i } } function k(e, t, n, s, l, c) { if (e !== t) { o(t.elm) && o(s) && (t = s[l] = ye(t)); var f = t.elm = e.elm; if (a(e.isAsyncPlaceholder)) o(t.asyncFactory.resolved) ? M(e.elm, t, n) : t.isAsyncPlaceholder = !0; else if (a(t.isStatic) && a(e.isStatic) && t.key === e.key && (a(t.isCloned) || a(t.isOnce))) t.componentInstance = e.componentInstance; else { var h, p = t.data; o(p) && o(h = p.hook) && o(h = h.prepatch) && h(e, t); var m = e.children , v = t.children; if (o(p) && g(t)) { for (h = 0; h < r.update.length; ++h) r.update[h](e, t); o(h = p.hook) && o(h = h.update) && h(e, t) } i(t.text) ? o(m) && o(v) ? m !== v && function(e, t, n, r, a) { var s, l, c, f = 0, h = 0, p = t.length - 1, g = t[0], m = t[p], v = n.length - 1, y = n[0], _ = n[v], S = !a; for (0; f <= p && h <= v; ) i(g) ? g = t[++f] : i(m) ? m = t[--p] : nr(g, y) ? (k(g, y, r, n, h), g = t[++f], y = n[++h]) : nr(m, _) ? (k(m, _, r, n, v), m = t[--p], _ = n[--v]) : nr(g, _) ? (k(g, _, r, n, v), S && u.insertBefore(e, g.elm, u.nextSibling(m.elm)), g = t[++f], _ = n[--v]) : nr(m, y) ? (k(m, y, r, n, h), S && u.insertBefore(e, m.elm, g.elm), m = t[--p], y = n[++h]) : (i(s) && (s = rr(t, f, p)), i(l = o(y.key) ? s[y.key] : x(y, t, f, p)) ? d(y, r, e, g.elm, !1, n, h) : nr(c = t[l], y) ? (k(c, y, r, n, h), t[l] = void 0, S && u.insertBefore(e, c.elm, g.elm)) : d(y, r, e, g.elm, !1, n, h), y = n[++h]); f > p ? b(e, i(n[v + 1]) ? null : n[v + 1].elm, n, h, v, r) : h > v && w(t, f, p) }(f, m, v, n, c) : o(v) ? (o(e.text) && u.setTextContent(f, ""), b(f, null, v, 0, v.length - 1, n)) : o(m) ? w(m, 0, m.length - 1) : o(e.text) && u.setTextContent(f, "") : e.text !== t.text && u.setTextContent(f, t.text), o(p) && o(h = p.hook) && o(h = h.postpatch) && h(e, t) } } } function I(e, t, n) { if (a(n) && o(e.parent)) e.parent.data.pendingInsert = t; else for (var r = 0; r < t.length; ++r) t[r].data.hook.insert(t[r]) } var C = m("attrs,class,staticClass,staticStyle,key"); function M(e, t, n, r) { var i, s = t.tag, l = t.data, u = t.children; if (r = r || l && l.pre, t.elm = e, a(t.isComment) && o(t.asyncFactory)) return t.isAsyncPlaceholder = !0, !0; if (o(l) && (o(i = l.hook) && o(i = i.init) && i(t, !0), o(i = t.componentInstance))) return f(t, n), !0; if (o(s)) { if (o(u)) if (e.hasChildNodes()) if (o(i = l) && o(i = i.domProps) && o(i = i.innerHTML)) { if (i !== e.innerHTML) return !1 } else { for (var c = !0, d = e.firstChild, h = 0; h < u.length; h++) { if (!d || !M(d, u[h], n, r)) { c = !1; break } d = d.nextSibling } if (!c || d) return !1 } else p(t, u, n); if (o(l)) { var g = !1; for (var m in l) if (!C(m)) { g = !0, v(t, n); break } !g && l.class && it(l.class) } } else e.data !== t.text && (e.data = t.text); return !0 } return function(e, t, n, s) { if (!i(t)) { var l, c = !1, f = []; if (i(e)) c = !0, d(t, f); else { var h = o(e.nodeType); if (!h && nr(e, t)) k(e, t, f, null, null, s); else { if (h) { if (1 === e.nodeType && e.hasAttribute("data-server-rendered") && (e.removeAttribute("data-server-rendered"), n = !0), a(n) && M(e, t, f)) return I(t, f, !0), e; l = e, e = new pe(u.tagName(l).toLowerCase(),{},[],void 0,l) } var p = e.elm , m = u.parentNode(p); if (d(t, f, p._leaveCb ? null : m, u.nextSibling(p)), o(t.parent)) for (var v = t.parent, y = g(t); v; ) { for (var b = 0; b < r.destroy.length; ++b) r.destroy[b](v); if (v.elm = t.elm, y) { for (var S = 0; S < r.create.length; ++S) r.create[S](er, v); var x = v.data.hook.insert; if (x.merged) for (var C = 1; C < x.fns.length; C++) x.fns[C]() } else Kn(v); v = v.parent } o(m) ? w([e], 0, 0) : o(e.tag) && _(e) } } return I(t, f, c), t.elm } o(e) && _(e) } }({ nodeOps: Jn, modules: [pr, vr, kr, Mr, Fr, $ ? { create: li, activate: li, remove: function(e, t) { !0 !== e.data.show ? oi(e, t) : t() } } : {}].concat(cr) }); X && document.addEventListener("selectionchange", (function() { var e = document.activeElement; e && e.vmodel && vi(e, "input") } )); var ci = { inserted: function(e, t, n, r) { "select" === n.tag ? (r.elm && !r.elm._vOptions ? lt(n, "postpatch", (function() { ci.componentUpdated(e, t, n) } )) : di(e, t, n.context), e._vOptions = [].map.call(e.options, pi)) : ("textarea" === n.tag || Xn(e.type)) && (e._vModifiers = t.modifiers, t.modifiers.lazy || (e.addEventListener("compositionstart", gi), e.addEventListener("compositionend", mi), e.addEventListener("change", mi), X && (e.vmodel = !0))) }, componentUpdated: function(e, t, n) { if ("select" === n.tag) { di(e, t, n.context); var r = e._vOptions , i = e._vOptions = [].map.call(e.options, pi); if (i.some((function(e, t) { return !P(e, r[t]) } ))) (e.multiple ? t.value.some((function(e) { return hi(e, i) } )) : t.value !== t.oldValue && hi(t.value, i)) && vi(e, "change") } } }; function di(e, t, n) { fi(e, t, n), (Y || J) && setTimeout((function() { fi(e, t, n) } ), 0) } function fi(e, t, n) { var r = t.value , i = e.multiple; if (!i || Array.isArray(r)) { for (var o, a, s = 0, l = e.options.length; s < l; s++) if (a = e.options[s], i) o = R(r, pi(a)) > -1, a.selected !== o && (a.selected = o); else if (P(pi(a), r)) return void (e.selectedIndex !== s && (e.selectedIndex = s)); i || (e.selectedIndex = -1) } } function hi(e, t) { return t.every((function(t) { return !P(t, e) } )) } function pi(e) { return "_value"in e ? e._value : e.value } function gi(e) { e.target.composing = !0 } function mi(e) { e.target.composing && (e.target.composing = !1, vi(e.target, "input")) } function vi(e, t) { var n = document.createEvent("HTMLEvents"); n.initEvent(t, !0, !0), e.dispatchEvent(n) } function yi(e) { return !e.componentInstance || e.data && e.data.transition ? e : yi(e.componentInstance._vnode) } var bi = { model: ci, show: { bind: function(e, t, n) { var r = t.value , i = (n = yi(n)).data && n.data.transition , o = e.__vOriginalDisplay = "none" === e.style.display ? "" : e.style.display; r && i ? (n.data.show = !0, ii(n, (function() { e.style.display = o } ))) : e.style.display = r ? o : "none" }, update: function(e, t, n) { var r = t.value; !r != !t.oldValue && ((n = yi(n)).data && n.data.transition ? (n.data.show = !0, r ? ii(n, (function() { e.style.display = e.__vOriginalDisplay } )) : oi(n, (function() { e.style.display = "none" } ))) : e.style.display = r ? e.__vOriginalDisplay : "none") }, unbind: function(e, t, n, r, i) { i || (e.style.display = e.__vOriginalDisplay) } } } , _i = { name: String, appear: Boolean, css: Boolean, mode: String, type: String, enterClass: String, leaveClass: String, enterToClass: String, leaveToClass: String, enterActiveClass: String, leaveActiveClass: String, appearClass: String, appearActiveClass: String, appearToClass: String, duration: [Number, String, Object] }; function wi(e) { var t = e && e.componentOptions; return t && t.Ctor.options.abstract ? wi($t(t.children)) : e } function Si(e) { var t = {} , n = e.$options; for (var r in n.propsData) t[r] = e[r]; var i = n._parentListeners; for (var o in i) t[x(o)] = i[o]; return t } function xi(e, t) { if (/\d-keep-alive$/.test(t.tag)) return e("keep-alive", { props: t.componentOptions.propsData }) } var ki = function(e) { return e.tag || gt(e) } , Ii = function(e) { return "show" === e.name } , Ci = { name: "transition", props: _i, abstract: !0, render: function(e) { var t = this , n = this.$slots.default; if (n && (n = n.filter(ki)).length) { 0; var r = this.mode; 0; var i = n[0]; if (function(e) { for (; e = e.parent; ) if (e.data.transition) return !0 }(this.$vnode)) return i; var o = wi(i); if (!o) return i; if (this._leaving) return xi(e, i); var a = "__transition-" + this._uid + "-"; o.key = null == o.key ? o.isComment ? a + "comment" : a + o.tag : s(o.key) ? 0 === String(o.key).indexOf(a) ? o.key : a + o.key : o.key; var l = (o.data || (o.data = {})).transition = Si(this) , u = this._vnode , c = wi(u); if (o.data.directives && o.data.directives.some(Ii) && (o.data.show = !0), c && c.data && !function(e, t) { return t.key === e.key && t.tag === e.tag }(o, c) && !gt(c) && (!c.componentInstance || !c.componentInstance._vnode.isComment)) { var d = c.data.transition = A({}, l); if ("out-in" === r) return this._leaving = !0, lt(d, "afterLeave", (function() { t._leaving = !1, t.$forceUpdate() } )), xi(e, i); if ("in-out" === r) { if (gt(o)) return u; var f, h = function() { f() }; lt(l, "afterEnter", h), lt(l, "enterCancelled", h), lt(d, "delayLeave", (function(e) { f = e } )) } } return i } } } , Mi = A({ tag: String, moveClass: String }, _i); function Ti(e) { e.elm._moveCb && e.elm._moveCb(), e.elm._enterCb && e.elm._enterCb() } function Ai(e) { e.data.newPos = e.elm.getBoundingClientRect() } function Ei(e) { var t = e.data.pos , n = e.data.newPos , r = t.left - n.left , i = t.top - n.top; if (r || i) { e.data.moved = !0; var o = e.elm.style; o.transform = o.WebkitTransform = "translate(" + r + "px," + i + "px)", o.transitionDuration = "0s" } } delete Mi.mode; var Oi = { Transition: Ci, TransitionGroup: { props: Mi, beforeMount: function() { var e = this , t = this._update; this._update = function(n, r) { var i = Jt(e); e.__patch__(e._vnode, e.kept, !1, !0), e._vnode = e.kept, i(), t.call(e, n, r) } }, render: function(e) { for (var t = this.tag || this.$vnode.data.tag || "span", n = Object.create(null), r = this.prevChildren = this.children, i = this.$slots.default || [], o = this.children = [], a = Si(this), s = 0; s < i.length; s++) { var l = i[s]; if (l.tag) if (null != l.key && 0 !== String(l.key).indexOf("__vlist")) o.push(l), n[l.key] = l, (l.data || (l.data = {})).transition = a; else ; } if (r) { for (var u = [], c = [], d = 0; d < r.length; d++) { var f = r[d]; f.data.transition = a, f.data.pos = f.elm.getBoundingClientRect(), n[f.key] ? u.push(f) : c.push(f) } this.kept = e(t, null, u), this.removed = c } return e(t, null, o) }, updated: function() { var e = this.prevChildren , t = this.moveClass || (this.name || "v") + "-move"; e.length && this.hasMove(e[0].elm, t) && (e.forEach(Ti), e.forEach(Ai), e.forEach(Ei), this._reflow = document.body.offsetHeight, e.forEach((function(e) { if (e.data.moved) { var n = e.elm , r = n.style; Jr(n, t), r.transform = r.WebkitTransform = r.transitionDuration = "", n.addEventListener(Gr, n._moveCb = function e(r) { r && r.target !== n || r && !/transform$/.test(r.propertyName) || (n.removeEventListener(Gr, e), n._moveCb = null, Qr(n, t)) } ) } } ))) }, methods: { hasMove: function(e, t) { if (!Vr) return !1; if (this._hasMove) return this._hasMove; var n = e.cloneNode(); e._transitionClasses && e._transitionClasses.forEach((function(e) { Ur(n, e) } )), Nr(n, t), n.style.display = "none", this.$el.appendChild(n); var r = ti(n); return this.$el.removeChild(n), this._hasMove = r.hasTransform } } } }; kn.config.mustUseProp = function(e, t, n) { return "value" === n && Ln(e) && "button" !== t || "selected" === n && "option" === e || "checked" === n && "input" === e || "muted" === n && "video" === e } , kn.config.isReservedTag = qn, kn.config.isReservedAttr = Bn, kn.config.getTagNamespace = function(e) { return Zn(e) ? "svg" : "math" === e ? "math" : void 0 } , kn.config.isUnknownElement = function(e) { if (!$) return !0; if (qn(e)) return !1; if (e = e.toLowerCase(), null != Yn[e]) return Yn[e]; var t = document.createElement(e); return e.indexOf("-") > -1 ? Yn[e] = t.constructor === window.HTMLUnknownElement || t.constructor === window.HTMLElement : Yn[e] = /HTMLUnknownElement/.test(t.toString()) } , A(kn.options.directives, bi), A(kn.options.components, Oi), kn.prototype.__patch__ = $ ? ui : O, kn.prototype.$mount = function(e, t) { return function(e, t, n) { var r; return e.$el = t, e.$options.render || (e.$options.render = me), en(e, "beforeMount"), r = function() { e._update(e._render(), n) } , new hn(e,r,O,{ before: function() { e._isMounted && !e._isDestroyed && en(e, "beforeUpdate") } },!0), n = !1, null == e.$vnode && (e._isMounted = !0, en(e, "mounted")), e }(this, e = e && $ ? function(e) { if ("string" == typeof e) { var t = document.querySelector(e); return t || document.createElement("div") } return e }(e) : void 0, t) } , $ && setTimeout((function() { D.devtools && ie && ie.emit("init", kn) } ), 0), t.default = kn } .call(this, n(20), n(184).setImmediate) }, 61: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeTextLineHeight = void 0, t.computeTextLineHeight = function(e) { return e >= 50 && e < 90 ? "1.4em" : e >= 90 ? "1.3em" : "1.5em" } }, 62: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computePlaceholder = void 0, t.computePlaceholder = function(e) { return e.image ? "image" : "none" } }, 69: function(e, t) { var n, r, i = e.exports = {}; function o() { throw new Error("setTimeout has not been defined") } function a() { throw new Error("clearTimeout has not been defined") } function s(e) { if (n === setTimeout) return setTimeout(e, 0); if ((n === o || !n) && setTimeout) return n = setTimeout, setTimeout(e, 0); try { return n(e, 0) } catch (t) { try { return n.call(null, e, 0) } catch (t) { return n.call(this, e, 0) } } } !function() { try { n = "function" == typeof setTimeout ? setTimeout : o } catch (e) { n = o } try { r = "function" == typeof clearTimeout ? clearTimeout : a } catch (e) { r = a } }(); var l, u = [], c = !1, d = -1; function f() { c && l && (c = !1, l.length ? u = l.concat(u) : d = -1, u.length && h()) } function h() { if (!c) { var e = s(f); c = !0; for (var t = u.length; t; ) { for (l = u, u = []; ++d < t; ) l && l[d].run(); d = -1, t = u.length } l = null, c = !1, function(e) { if (r === clearTimeout) return clearTimeout(e); if ((r === a || !r) && clearTimeout) return r = clearTimeout, clearTimeout(e); try { r(e) } catch (t) { try { return r.call(null, e) } catch (t) { return r.call(this, e) } } }(e) } } function p(e, t) { this.fun = e, this.array = t } function g() {} i.nextTick = function(e) { var t = new Array(arguments.length - 1); if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n]; u.push(new p(e,t)), 1 !== u.length || c || s(h) } , p.prototype.run = function() { this.fun.apply(null, this.array) } , i.title = "browser", i.browser = !0, i.env = {}, i.argv = [], i.version = "", i.versions = {}, i.on = g, i.addListener = g, i.once = g, i.off = g, i.removeListener = g, i.removeAllListeners = g, i.emit = g, i.prependListener = g, i.prependOnceListener = g, i.listeners = function(e) { return [] } , i.binding = function(e) { throw new Error("process.binding is not supported") } , i.cwd = function() { return "/" } , i.chdir = function(e) { throw new Error("process.chdir is not supported") } , i.umask = function() { return 0 } }, 70: function(e, t, n) { "use strict"; n.r(t); var r = { update: null, begin: null, loopBegin: null, changeBegin: null, change: null, changeComplete: null, loopComplete: null, complete: null, loop: 1, direction: "normal", autoplay: !0, timelineOffset: 0 } , i = { duration: 1e3, delay: 0, endDelay: 0, easing: "easeOutElastic(1, .5)", round: 0 } , o = ["translateX", "translateY", "translateZ", "rotate", "rotateX", "rotateY", "rotateZ", "scale", "scaleX", "scaleY", "scaleZ", "skew", "skewX", "skewY", "perspective", "matrix", "matrix3d"] , a = { CSS: {}, springs: {} }; function s(e, t, n) { return Math.min(Math.max(e, t), n) } function l(e, t) { return e.indexOf(t) > -1 } function u(e, t) { return e.apply(null, t) } var c = { arr: function(e) { return Array.isArray(e) }, obj: function(e) { return l(Object.prototype.toString.call(e), "Object") }, pth: function(e) { return c.obj(e) && e.hasOwnProperty("totalLength") }, svg: function(e) { return e instanceof SVGElement }, inp: function(e) { return e instanceof HTMLInputElement }, dom: function(e) { return e.nodeType || c.svg(e) }, str: function(e) { return "string" == typeof e }, fnc: function(e) { return "function" == typeof e }, und: function(e) { return void 0 === e }, nil: function(e) { return c.und(e) || null === e }, hex: function(e) { return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e) }, rgb: function(e) { return /^rgb/.test(e) }, hsl: function(e) { return /^hsl/.test(e) }, col: function(e) { return c.hex(e) || c.rgb(e) || c.hsl(e) }, key: function(e) { return !r.hasOwnProperty(e) && !i.hasOwnProperty(e) && "targets" !== e && "keyframes" !== e } }; function d(e) { var t = /\(([^)]+)\)/.exec(e); return t ? t[1].split(",").map((function(e) { return parseFloat(e) } )) : [] } function f(e, t) { var n = d(e) , r = s(c.und(n[0]) ? 1 : n[0], .1, 100) , i = s(c.und(n[1]) ? 100 : n[1], .1, 100) , o = s(c.und(n[2]) ? 10 : n[2], .1, 100) , l = s(c.und(n[3]) ? 0 : n[3], .1, 100) , u = Math.sqrt(i / r) , f = o / (2 * Math.sqrt(i * r)) , h = f < 1 ? u * Math.sqrt(1 - f * f) : 0 , p = f < 1 ? (f * u - l) / h : -l + u; function g(e) { var n = t ? t * e / 1e3 : e; return n = f < 1 ? Math.exp(-n * f * u) * (1 * Math.cos(h * n) + p * Math.sin(h * n)) : (1 + p * n) * Math.exp(-n * u), 0 === e || 1 === e ? e : 1 - n } return t ? g : function() { var t = a.springs[e]; if (t) return t; for (var n = 0, r = 0; ; ) if (1 === g(n += 1 / 6)) { if (++r >= 16) break } else r = 0; var i = n * (1 / 6) * 1e3; return a.springs[e] = i, i } } function h(e) { return void 0 === e && (e = 10), function(t) { return Math.ceil(s(t, 1e-6, 1) * e) * (1 / e) } } var p, g, m = function() { function e(e, t) { return 1 - 3 * t + 3 * e } function t(e, t) { return 3 * t - 6 * e } function n(e) { return 3 * e } function r(r, i, o) { return ((e(i, o) * r + t(i, o)) * r + n(i)) * r } function i(r, i, o) { return 3 * e(i, o) * r * r + 2 * t(i, o) * r + n(i) } return function(e, t, n, o) { if (0 <= e && e <= 1 && 0 <= n && n <= 1) { var a = new Float32Array(11); if (e !== t || n !== o) for (var s = 0; s < 11; ++s) a[s] = r(.1 * s, e, n); return function(i) { return e === t && n === o || 0 === i || 1 === i ? i : r(l(i), t, o) } } function l(t) { for (var o = 0, s = 1; 10 !== s && a[s] <= t; ++s) o += .1; --s; var l = o + .1 * ((t - a[s]) / (a[s + 1] - a[s])) , u = i(l, e, n); return u >= .001 ? function(e, t, n, o) { for (var a = 0; a < 4; ++a) { var s = i(t, n, o); if (0 === s) return t; t -= (r(t, n, o) - e) / s } return t }(t, l, e, n) : 0 === u ? l : function(e, t, n, i, o) { var a, s, l = 0; do { (a = r(s = t + (n - t) / 2, i, o) - e) > 0 ? n = s : t = s } while (Math.abs(a) > 1e-7 && ++l < 10); return s }(t, o, o + .1, e, n) } } }(), v = (p = { linear: function() { return function(e) { return e } } }, g = { Sine: function() { return function(e) { return 1 - Math.cos(e * Math.PI / 2) } }, Circ: function() { return function(e) { return 1 - Math.sqrt(1 - e * e) } }, Back: function() { return function(e) { return e * e * (3 * e - 2) } }, Bounce: function() { return function(e) { for (var t, n = 4; e < ((t = Math.pow(2, --n)) - 1) / 11; ) ; return 1 / Math.pow(4, 3 - n) - 7.5625 * Math.pow((3 * t - 2) / 22 - e, 2) } }, Elastic: function(e, t) { void 0 === e && (e = 1), void 0 === t && (t = .5); var n = s(e, 1, 10) , r = s(t, .1, 2); return function(e) { return 0 === e || 1 === e ? e : -n * Math.pow(2, 10 * (e - 1)) * Math.sin((e - 1 - r / (2 * Math.PI) * Math.asin(1 / n)) * (2 * Math.PI) / r) } } }, ["Quad", "Cubic", "Quart", "Quint", "Expo"].forEach((function(e, t) { g[e] = function() { return function(e) { return Math.pow(e, t + 2) } } } )), Object.keys(g).forEach((function(e) { var t = g[e]; p["easeIn" + e] = t, p["easeOut" + e] = function(e, n) { return function(r) { return 1 - t(e, n)(1 - r) } } , p["easeInOut" + e] = function(e, n) { return function(r) { return r < .5 ? t(e, n)(2 * r) / 2 : 1 - t(e, n)(-2 * r + 2) / 2 } } , p["easeOutIn" + e] = function(e, n) { return function(r) { return r < .5 ? (1 - t(e, n)(1 - 2 * r)) / 2 : (t(e, n)(2 * r - 1) + 1) / 2 } } } )), p); function y(e, t) { if (c.fnc(e)) return e; var n = e.split("(")[0] , r = v[n] , i = d(e); switch (n) { case "spring": return f(e, t); case "cubicBezier": return u(m, i); case "steps": return u(h, i); default: return u(r, i) } } function b(e) { try { return document.querySelectorAll(e) } catch (e) { return } } function _(e, t) { for (var n = e.length, r = arguments.length >= 2 ? arguments[1] : void 0, i = [], o = 0; o < n; o++) if (o in e) { var a = e[o]; t.call(r, a, o, e) && i.push(a) } return i } function w(e) { return e.reduce((function(e, t) { return e.concat(c.arr(t) ? w(t) : t) } ), []) } function S(e) { return c.arr(e) ? e : (c.str(e) && (e = b(e) || e), e instanceof NodeList || e instanceof HTMLCollection ? [].slice.call(e) : [e]) } function x(e, t) { return e.some((function(e) { return e === t } )) } function k(e) { var t = {}; for (var n in e) t[n] = e[n]; return t } function I(e, t) { var n = k(e); for (var r in e) n[r] = t.hasOwnProperty(r) ? t[r] : e[r]; return n } function C(e, t) { var n = k(e); for (var r in t) n[r] = c.und(e[r]) ? t[r] : e[r]; return n } function M(e) { return c.rgb(e) ? (n = /rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t = e)) ? "rgba(" + n[1] + ",1)" : t : c.hex(e) ? function(e) { var t = e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i, (function(e, t, n, r) { return t + t + n + n + r + r } )) , n = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t); return "rgba(" + parseInt(n[1], 16) + "," + parseInt(n[2], 16) + "," + parseInt(n[3], 16) + ",1)" }(e) : c.hsl(e) ? function(e) { var t, n, r, i = /hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e) || /hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e), o = parseInt(i[1], 10) / 360, a = parseInt(i[2], 10) / 100, s = parseInt(i[3], 10) / 100, l = i[4] || 1; function u(e, t, n) { return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + 6 * (t - e) * n : n < .5 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e } if (0 == a) t = n = r = s; else { var c = s < .5 ? s * (1 + a) : s + a - s * a , d = 2 * s - c; t = u(d, c, o + 1 / 3), n = u(d, c, o), r = u(d, c, o - 1 / 3) } return "rgba(" + 255 * t + "," + 255 * n + "," + 255 * r + "," + l + ")" }(e) : void 0; var t, n } function T(e) { var t = /[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e); if (t) return t[1] } function A(e, t) { return c.fnc(e) ? e(t.target, t.id, t.total) : e } function E(e, t) { return e.getAttribute(t) } function O(e, t, n) { if (x([n, "deg", "rad", "turn"], T(t))) return t; var r = a.CSS[t + n]; if (!c.und(r)) return r; var i = document.createElement(e.tagName) , o = e.parentNode && e.parentNode !== document ? e.parentNode : document.body; o.appendChild(i), i.style.position = "absolute", i.style.width = 100 + n; var s = 100 / i.offsetWidth; o.removeChild(i); var l = s * parseFloat(t); return a.CSS[t + n] = l, l } function B(e, t, n) { if (t in e.style) { var r = t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase() , i = e.style[t] || getComputedStyle(e).getPropertyValue(r) || "0"; return n ? O(e, i, n) : i } } function L(e, t) { return c.dom(e) && !c.inp(e) && (!c.nil(E(e, t)) || c.svg(e) && e[t]) ? "attribute" : c.dom(e) && x(o, t) ? "transform" : c.dom(e) && "transform" !== t && B(e, t) ? "css" : null != e[t] ? "object" : void 0 } function P(e) { if (c.dom(e)) { for (var t, n = e.style.transform || "", r = /(\w+)\(([^)]*)\)/g, i = new Map; t = r.exec(n); ) i.set(t[1], t[2]); return i } } function R(e, t, n, r) { var i = l(t, "scale") ? 1 : 0 + function(e) { return l(e, "translate") || "perspective" === e ? "px" : l(e, "rotate") || l(e, "skew") ? "deg" : void 0 }(t) , o = P(e).get(t) || i; return n && (n.transforms.list.set(t, o), n.transforms.last = t), r ? O(e, o, r) : o } function z(e, t, n, r) { switch (L(e, t)) { case "transform": return R(e, t, r, n); case "css": return B(e, t, n); case "attribute": return E(e, t); default: return e[t] || 0 } } function j(e, t) { var n = /^(\*=|\+=|-=)/.exec(e); if (!n) return e; var r = T(e) || 0 , i = parseFloat(t) , o = parseFloat(e.replace(n[0], "")); switch (n[0][0]) { case "+": return i + o + r; case "-": return i - o + r; case "*": return i * o + r } } function F(e, t) { if (c.col(e)) return M(e); if (/\s/g.test(e)) return e; var n = T(e) , r = n ? e.substr(0, e.length - n.length) : e; return t ? r + t : r } function D(e, t) { return Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)) } function N(e) { for (var t, n = e.points, r = 0, i = 0; i < n.numberOfItems; i++) { var o = n.getItem(i); i > 0 && (r += D(t, o)), t = o } return r } function U(e) { if (e.getTotalLength) return e.getTotalLength(); switch (e.tagName.toLowerCase()) { case "circle": return function(e) { return 2 * Math.PI * E(e, "r") }(e); case "rect": return function(e) { return 2 * E(e, "width") + 2 * E(e, "height") }(e); case "line": return function(e) { return D({ x: E(e, "x1"), y: E(e, "y1") }, { x: E(e, "x2"), y: E(e, "y2") }) }(e); case "polyline": return N(e); case "polygon": return function(e) { var t = e.points; return N(e) + D(t.getItem(t.numberOfItems - 1), t.getItem(0)) }(e) } } function W(e, t) { var n = t || {} , r = n.el || function(e) { for (var t = e.parentNode; c.svg(t) && c.svg(t.parentNode); ) t = t.parentNode; return t }(e) , i = r.getBoundingClientRect() , o = E(r, "viewBox") , a = i.width , s = i.height , l = n.viewBox || (o ? o.split(" ") : [0, 0, a, s]); return { el: r, viewBox: l, x: l[0] / 1, y: l[1] / 1, w: a, h: s, vW: l[2], vH: l[3] } } function H(e, t, n) { function r(n) { void 0 === n && (n = 0); var r = t + n >= 1 ? t + n : 0; return e.el.getPointAtLength(r) } var i = W(e.el, e.svg) , o = r() , a = r(-1) , s = r(1) , l = n ? 1 : i.w / i.vW , u = n ? 1 : i.h / i.vH; switch (e.property) { case "x": return (o.x - i.x) * l; case "y": return (o.y - i.y) * u; case "angle": return 180 * Math.atan2(s.y - a.y, s.x - a.x) / Math.PI } } function V(e, t) { var n = /[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g , r = F(c.pth(e) ? e.totalLength : e, t) + ""; return { original: r, numbers: r.match(n) ? r.match(n).map(Number) : [0], strings: c.str(e) || t ? r.split(n) : [] } } function $(e) { return _(e ? w(c.arr(e) ? e.map(S) : S(e)) : [], (function(e, t, n) { return n.indexOf(e) === t } )) } function G(e) { var t = $(e); return t.map((function(e, n) { return { target: e, id: n, total: t.length, transforms: { list: P(e) } } } )) } function Z(e, t) { var n = k(t); if (/^spring/.test(n.easing) && (n.duration = f(n.easing)), c.arr(e)) { var r = e.length; 2 === r && !c.obj(e[0]) ? e = { value: e } : c.fnc(t.duration) || (n.duration = t.duration / r) } var i = c.arr(e) ? e : [e]; return i.map((function(e, n) { var r = c.obj(e) && !c.pth(e) ? e : { value: e }; return c.und(r.delay) && (r.delay = n ? 0 : t.delay), c.und(r.endDelay) && (r.endDelay = n === i.length - 1 ? t.endDelay : 0), r } )).map((function(e) { return C(e, n) } )) } function q(e, t) { var n = [] , r = t.keyframes; for (var i in r && (t = C(function(e) { for (var t = _(w(e.map((function(e) { return Object.keys(e) } ))), (function(e) { return c.key(e) } )).reduce((function(e, t) { return e.indexOf(t) < 0 && e.push(t), e } ), []), n = {}, r = function(r) { var i = t[r]; n[i] = e.map((function(e) { var t = {}; for (var n in e) c.key(n) ? n == i && (t.value = e[n]) : t[n] = e[n]; return t } )) }, i = 0; i < t.length; i++) r(i); return n }(r), t)), t) c.key(i) && n.push({ name: i, tweens: Z(t[i], e) }); return n } function Y(e, t) { var n; return e.tweens.map((function(r) { var i = function(e, t) { var n = {}; for (var r in e) { var i = A(e[r], t); c.arr(i) && 1 === (i = i.map((function(e) { return A(e, t) } ))).length && (i = i[0]), n[r] = i } return n.duration = parseFloat(n.duration), n.delay = parseFloat(n.delay), n }(r, t) , o = i.value , a = c.arr(o) ? o[1] : o , s = T(a) , l = z(t.target, e.name, s, t) , u = n ? n.to.original : l , d = c.arr(o) ? o[0] : u , f = T(d) || T(l) , h = s || f; return c.und(a) && (a = u), i.from = V(d, h), i.to = V(j(a, d), h), i.start = n ? n.end : 0, i.end = i.start + i.delay + i.duration + i.endDelay, i.easing = y(i.easing, i.duration), i.isPath = c.pth(o), i.isPathTargetInsideSVG = i.isPath && c.svg(t.target), i.isColor = c.col(i.from.original), i.isColor && (i.round = 1), n = i, i } )) } var X = { css: function(e, t, n) { return e.style[t] = n }, attribute: function(e, t, n) { return e.setAttribute(t, n) }, object: function(e, t, n) { return e[t] = n }, transform: function(e, t, n, r, i) { if (r.list.set(t, n), t === r.last || i) { var o = ""; r.list.forEach((function(e, t) { o += t + "(" + e + ") " } )), e.style.transform = o } } }; function J(e, t) { G(e).forEach((function(e) { for (var n in t) { var r = A(t[n], e) , i = e.target , o = T(r) , a = z(i, n, o, e) , s = j(F(r, o || T(a)), a) , l = L(i, n); X[l](i, n, s, e.transforms, !0) } } )) } function Q(e, t) { return _(w(e.map((function(e) { return t.map((function(t) { return function(e, t) { var n = L(e.target, t.name); if (n) { var r = Y(t, e) , i = r[r.length - 1]; return { type: n, property: t.name, animatable: e, tweens: r, duration: i.end, delay: r[0].delay, endDelay: i.endDelay } } }(e, t) } )) } ))), (function(e) { return !c.und(e) } )) } function K(e, t) { var n = e.length , r = function(e) { return e.timelineOffset ? e.timelineOffset : 0 } , i = {}; return i.duration = n ? Math.max.apply(Math, e.map((function(e) { return r(e) + e.duration } ))) : t.duration, i.delay = n ? Math.min.apply(Math, e.map((function(e) { return r(e) + e.delay } ))) : t.delay, i.endDelay = n ? i.duration - Math.max.apply(Math, e.map((function(e) { return r(e) + e.duration - e.endDelay } ))) : t.endDelay, i } var ee = 0; var te = [] , ne = function() { var e; function t(n) { for (var r = te.length, i = 0; i < r; ) { var o = te[i]; o.paused ? (te.splice(i, 1), r--) : (o.tick(n), i++) } e = i > 0 ? requestAnimationFrame(t) : void 0 } return "undefined" != typeof document && document.addEventListener("visibilitychange", (function() { ie.suspendWhenDocumentHidden && (re() ? e = cancelAnimationFrame(e) : (te.forEach((function(e) { return e._onDocumentVisibility() } )), ne())) } )), function() { e || re() && ie.suspendWhenDocumentHidden || !(te.length > 0) || (e = requestAnimationFrame(t)) } }(); function re() { return !!document && document.hidden } function ie(e) { void 0 === e && (e = {}); var t, n = 0, o = 0, a = 0, l = 0, u = null; function c(e) { var t = window.Promise && new Promise((function(e) { return u = e } )); return e.finished = t, t } var d = function(e) { var t = I(r, e) , n = I(i, e) , o = q(n, e) , a = G(e.targets) , s = Q(a, o) , l = K(s, n) , u = ee; return ee++, C(t, { id: u, children: [], animatables: a, animations: s, duration: l.duration, delay: l.delay, endDelay: l.endDelay }) }(e); c(d); function f() { var e = d.direction; "alternate" !== e && (d.direction = "normal" !== e ? "normal" : "reverse"), d.reversed = !d.reversed, t.forEach((function(e) { return e.reversed = d.reversed } )) } function h(e) { return d.reversed ? d.duration - e : e } function p() { n = 0, o = h(d.currentTime) * (1 / ie.speed) } function g(e, t) { t && t.seek(e - t.timelineOffset) } function m(e) { for (var t = 0, n = d.animations, r = n.length; t < r; ) { var i = n[t] , o = i.animatable , a = i.tweens , l = a.length - 1 , u = a[l]; l && (u = _(a, (function(t) { return e < t.end } ))[0] || u); for (var c = s(e - u.start - u.delay, 0, u.duration) / u.duration, f = isNaN(c) ? 1 : u.easing(c), h = u.to.strings, p = u.round, g = [], m = u.to.numbers.length, v = void 0, y = 0; y < m; y++) { var b = void 0 , w = u.to.numbers[y] , S = u.from.numbers[y] || 0; b = u.isPath ? H(u.value, f * w, u.isPathTargetInsideSVG) : S + f * (w - S), p && (u.isColor && y > 2 || (b = Math.round(b * p) / p)), g.push(b) } var x = h.length; if (x) { v = h[0]; for (var k = 0; k < x; k++) { h[k]; var I = h[k + 1] , C = g[k]; isNaN(C) || (v += I ? C + I : C + " ") } } else v = g[0]; X[i.type](o.target, i.property, v, o.transforms), i.currentValue = v, t++ } } function v(e) { d[e] && !d.passThrough && d[e](d) } function y(e) { var r = d.duration , i = d.delay , p = r - d.endDelay , y = h(e); d.progress = s(y / r * 100, 0, 100), d.reversePlayback = y < d.currentTime, t && function(e) { if (d.reversePlayback) for (var n = l; n--; ) g(e, t[n]); else for (var r = 0; r < l; r++) g(e, t[r]) }(y), !d.began && d.currentTime > 0 && (d.began = !0, v("begin")), !d.loopBegan && d.currentTime > 0 && (d.loopBegan = !0, v("loopBegin")), y <= i && 0 !== d.currentTime && m(0), (y >= p && d.currentTime !== r || !r) && m(r), y > i && y < p ? (d.changeBegan || (d.changeBegan = !0, d.changeCompleted = !1, v("changeBegin")), v("change"), m(y)) : d.changeBegan && (d.changeCompleted = !0, d.changeBegan = !1, v("changeComplete")), d.currentTime = s(y, 0, r), d.began && v("update"), e >= r && (o = 0, d.remaining && !0 !== d.remaining && d.remaining--, d.remaining ? (n = a, v("loopComplete"), d.loopBegan = !1, "alternate" === d.direction && f()) : (d.paused = !0, d.completed || (d.completed = !0, v("loopComplete"), v("complete"), !d.passThrough && "Promise"in window && (u(), c(d))))) } return d.reset = function() { var e = d.direction; d.passThrough = !1, d.currentTime = 0, d.progress = 0, d.paused = !0, d.began = !1, d.loopBegan = !1, d.changeBegan = !1, d.completed = !1, d.changeCompleted = !1, d.reversePlayback = !1, d.reversed = "reverse" === e, d.remaining = d.loop, t = d.children; for (var n = l = t.length; n--; ) d.children[n].reset(); (d.reversed && !0 !== d.loop || "alternate" === e && 1 === d.loop) && d.remaining++, m(d.reversed ? d.duration : 0) } , d._onDocumentVisibility = p, d.set = function(e, t) { return J(e, t), d } , d.tick = function(e) { a = e, n || (n = a), y((a + (o - n)) * ie.speed) } , d.seek = function(e) { y(h(e)) } , d.pause = function() { d.paused = !0, p() } , d.play = function() { d.paused && (d.completed && d.reset(), d.paused = !1, te.push(d), p(), ne()) } , d.reverse = function() { f(), d.completed = !d.reversed, p() } , d.restart = function() { d.reset(), d.play() } , d.remove = function(e) { ae($(e), d) } , d.reset(), d.autoplay && d.play(), d } function oe(e, t) { for (var n = t.length; n--; ) x(e, t[n].animatable.target) && t.splice(n, 1) } function ae(e, t) { var n = t.animations , r = t.children; oe(e, n); for (var i = r.length; i--; ) { var o = r[i] , a = o.animations; oe(e, a), a.length || o.children.length || r.splice(i, 1) } n.length || r.length || t.pause() } ie.version = "3.2.1", ie.speed = 1, ie.suspendWhenDocumentHidden = !0, ie.running = te, ie.remove = function(e) { for (var t = $(e), n = te.length; n--; ) { ae(t, te[n]) } } , ie.get = z, ie.set = J, ie.convertPx = O, ie.path = function(e, t) { var n = c.str(e) ? b(e)[0] : e , r = t || 100; return function(e) { return { property: e, el: n, svg: W(n), totalLength: U(n) * (r / 100) } } } , ie.setDashoffset = function(e) { var t = U(e); return e.setAttribute("stroke-dasharray", t), t } , ie.stagger = function(e, t) { void 0 === t && (t = {}); var n = t.direction || "normal" , r = t.easing ? y(t.easing) : null , i = t.grid , o = t.axis , a = t.from || 0 , s = "first" === a , l = "center" === a , u = "last" === a , d = c.arr(e) , f = d ? parseFloat(e[0]) : parseFloat(e) , h = d ? parseFloat(e[1]) : 0 , p = T(d ? e[1] : e) || 0 , g = t.start || 0 + (d ? f : 0) , m = [] , v = 0; return function(e, t, c) { if (s && (a = 0), l && (a = (c - 1) / 2), u && (a = c - 1), !m.length) { for (var y = 0; y < c; y++) { if (i) { var b = l ? (i[0] - 1) / 2 : a % i[0] , _ = l ? (i[1] - 1) / 2 : Math.floor(a / i[0]) , w = b - y % i[0] , S = _ - Math.floor(y / i[0]) , x = Math.sqrt(w * w + S * S); "x" === o && (x = -w), "y" === o && (x = -S), m.push(x) } else m.push(Math.abs(a - y)); v = Math.max.apply(Math, m) } r && (m = m.map((function(e) { return r(e / v) * v } ))), "reverse" === n && (m = m.map((function(e) { return o ? e < 0 ? -1 * e : -e : Math.abs(v - e) } ))) } return g + (d ? (h - f) / v : f) * (Math.round(100 * m[t]) / 100) + p } } , ie.timeline = function(e) { void 0 === e && (e = {}); var t = ie(e); return t.duration = 0, t.add = function(n, r) { var o = te.indexOf(t) , a = t.children; function s(e) { e.passThrough = !0 } o > -1 && te.splice(o, 1); for (var l = 0; l < a.length; l++) s(a[l]); var u = C(n, I(i, e)); u.targets = u.targets || e.targets; var d = t.duration; u.autoplay = !1, u.direction = t.direction, u.timelineOffset = c.und(r) ? d : j(r, d), s(t), t.seek(u.timelineOffset); var f = ie(u); s(f), a.push(f); var h = K(a, e); return t.delay = h.delay, t.endDelay = h.endDelay, t.duration = h.duration, t.seek(0), t.reset(), t.autoplay && t.play(), t } , t } , ie.easing = y, ie.penner = v, ie.random = function(e, t) { return Math.floor(Math.random() * (t - e + 1)) + e } , t.default = ie }, 75: function(e, t, n) { "use strict"; var r = this && this.__createBinding || (Object.create ? function(e, t, n, r) { void 0 === r && (r = n), Object.defineProperty(e, r, { enumerable: !0, get: function() { return t[n] } }) } : function(e, t, n, r) { void 0 === r && (r = n), e[r] = t[n] } ) , i = this && this.__exportStar || function(e, t) { for (var n in e) "default" === n || Object.prototype.hasOwnProperty.call(t, n) || r(t, e, n) } ; Object.defineProperty(t, "__esModule", { value: !0 }), i(n(76), t), i(n(50), t), i(n(51), t), i(n(168), t), i(n(169), t), i(n(111), t), i(n(172), t), i(n(262), t), i(n(112), t) }, 76: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.View = void 0; t.View = class { constructor(e={}) { var t; this._superview = null, this._connected = !1, this._superview = null !== (t = e.superview) && void 0 !== t ? t : null } get superview() { return this._superview } get el() { var e; return null !== (e = this._el) && void 0 !== e ? e : this._el = this.createViewElement() } update() {} connect() { this._connected = !0 } disconnect() { this._connected = !1 } get connected() { return this._connected } } }, 80: function(e, t, n) { "use strict"; n.d(t, "a", (function() { return S } )), n.d(t, "c", (function() { return x } )), n.d(t, "e", (function() { return C } )), n.d(t, "b", (function() { return M } )), n.d(t, "d", (function() { return T } )); var r = {}; n.r(r), n.d(r, "getMarkerInfoById", (function() { return m } )), n.d(r, "getGroupInfoById", (function() { return v } )), n.d(r, "getGroupInfoList", (function() { return y } )), n.d(r, "addUserMarkerInfoList", (function() { return b } )), n.d(r, "isSiblingMarker", (function() { return _ } )), n.d(r, "indexOf", (function() { return w } )); var i, o = n(4), a = n(138), s = n.n(a), l = n(139); !function(e) { e.tagMarkers = "tagMarkers", e.priorityMarkers = "priorityMarkers", e.smileyMarkers = "smileyMarkers", e.taskMarkers = "taskMarkers", e.flagMarkers = "flagMarkers", e.starMarkers = "starMarkers", e.peopleMarkers = "peopleMarkers", e.arrowMarkers = "arrowMarkers", e.academicMarkers = "academicMarkers", e.socialMarkers = "socialMarkers", e.celebrationMarkers = "celebrationMarkers", e.symbolMarkers = "symbolMarkers", e.monthMarkers = "monthMarkers", e.weekMarkers = "weekMarkers", e.halfStarMarkers = "halfStarMarkers", e.otherMarkers = "otherMarkers" }(i || (i = {})); const u = [i.tagMarkers, i.priorityMarkers, i.taskMarkers, i.flagMarkers, i.starMarkers, i.peopleMarkers, i.symbolMarkers, i.smileyMarkers, i.arrowMarkers, i.academicMarkers, i.socialMarkers, i.celebrationMarkers, i.monthMarkers, i.weekMarkers, i.halfStarMarkers, i.otherMarkers]; var c; function d(e={}) { return { lang: e.lang || c.EN_US } } !function(e) { e.ZH_CN = "zh-CN", e.EN_US = "en-US", e.ZH_HK = "zh-HK", e.ZH_TW = "zh-TW", e.JA_JP = "ja-JP", e.DE_DE = "de-DE", e.FR_FR = "fr-FR", e.ES_ES = "es", e.ID_ID = "id", e.IT_IT = "it-IT", e.KR_KR = "ko", e.PT_PT = "pt-PT", e.RU_RU = "ru-RU", e.TH_TH = "th" }(c || (c = {})); const f = { tagMarkers: { "zh-CN": "标签", "en-US": "Tag", "zh-HK": "標記", "zh-TW": "標記", "ja-JP": "タグ", "de-DE": "Tag", "fr-FR": "Étiquette", es: "Etiqueta", id: "Tag", "it-IT": "Tag", ko: "태그", "pt-PT": "Etiqueta", "ru-RU": "Метка", th: "แท็ก" }, priorityMarkers: { "zh-CN": "优先级", "en-US": "Priority", "zh-HK": "優先等級", "zh-TW": "優先等級", "ja-JP": "優先度", "de-DE": "Priorität", "fr-FR": "Priorité", es: "Prioridad", id: "Prioritas", "it-IT": "Priorità", ko: "우선순위", "pt-PT": "Prioridade", "ru-RU": "Приоритет", th: "ลำดับความสำคัญ" }, smileyMarkers: { "zh-CN": "情绪", "en-US": "Mood", "zh-HK": "表情", "zh-TW": "表情", "ja-JP": "情緒", "de-DE": "Emotion", "fr-FR": "Smiley", es: "Smiley", id: "Smiley", "it-IT": "Emoticon", ko: "웃는 얼굴", "pt-PT": "Sorriso", "ru-RU": "Смайлик", th: "หน้ายิ้ม" }, taskMarkers: { "zh-CN": "任务", "en-US": "Task", "zh-HK": "任務", "zh-TW": "任務", "ja-JP": "タスク", "de-DE": "Aufgabe", "fr-FR": "Tâche", es: "Tarea", id: "Tugas", "it-IT": "Compito", ko: "작업", "pt-PT": "Tarefa", "ru-RU": "Задача", th: "งาน" }, flagMarkers: { "zh-CN": "旗帜", "en-US": "Flag", "zh-HK": "旗幟", "zh-TW": "旗幟", "ja-JP": "フラグ", "de-DE": "Flagge", "fr-FR": "Drapeau", es: "Bandera", id: "Bendera", "it-IT": "Bandiera", ko: "깃발", "pt-PT": "Bandeira", "ru-RU": "Флаг", th: "ธง" }, starMarkers: { "zh-CN": "星星", "en-US": "Star", "zh-HK": "星星", "zh-TW": "星星", "ja-JP": "スター", "de-DE": "Stern", "fr-FR": "Étoile", es: "Estrella", id: "Bintang", "it-IT": "Stella", ko: "별", "pt-PT": "Estrela", "ru-RU": "Звезда", th: "ดาว" }, peopleMarkers: { "zh-CN": "人像", "en-US": "People", "zh-HK": "人像", "zh-TW": "人像", "ja-JP": "人物", "de-DE": "Menschen", "fr-FR": "Personnes", es: "Personas", id: "Orang", "it-IT": "Persone", ko: "사람", "pt-PT": "Pessoas", "ru-RU": "Люди", th: "ผู้คน" }, arrowMarkers: { "zh-CN": "箭头", "en-US": "Arrow", "zh-HK": "箭頭", "zh-TW": "箭頭", "ja-JP": "矢印", "de-DE": "Pfeil", "fr-FR": "Flèche", es: "Flecha", id: "Panah", "it-IT": "Freccia", ko: "화살표", "pt-PT": "Seta", "ru-RU": "Стрелка", th: "ลูกศร" }, academicMarkers: { "zh-CN": "学术", "en-US": "Academic", "zh-HK": "學院", "zh-TW": "學院", "ja-JP": "アカデミック", "de-DE": "Akademisch", "fr-FR": "Académique", es: "Académico", id: "Akademik", "it-IT": "Accademico", ko: "학술", "pt-PT": "Académico", "ru-RU": "Академический", th: "วิชาการ" }, socialMarkers: { "zh-CN": "社交", "en-US": "Social", "zh-HK": "社交", "zh-TW": "社交", "ja-JP": "ソーシャル", "de-DE": "Sozial", "fr-FR": "Social", es: "Social", id: "Sosial", "it-IT": "Social", ko: "사회", "pt-PT": "Social", "ru-RU": "Социальный", th: "สังคม" }, celebrationMarkers: { "zh-CN": "Celebration", "en-US": "Celebration", "zh-HK": "Celebration", "zh-TW": "Celebration", "ja-JP": "Celebration", "de-DE": "Celebration", "fr-FR": "Celebration", es: "Celebration", id: "Celebration", "it-IT": "Celebration", ko: "Celebration", "pt-PT": "Celebration", "ru-RU": "Celebration", th: "Celebration" }, symbolMarkers: { "zh-CN": "符号", "en-US": "Symbol", "zh-HK": "符號", "zh-TW": "符號", "ja-JP": "シンボル", "de-DE": "Symbol", "fr-FR": "Symbole", es: "Símbolo", id: "Simbol", "it-IT": "Simbolo", ko: "기호", "pt-PT": "Símbolo", "ru-RU": "Символ", th: "สัญลักษณ์" }, monthMarkers: { "zh-CN": "月份", "en-US": "Month", "zh-HK": "月份", "zh-TW": "月份", "ja-JP": "月", "de-DE": "Monat", "fr-FR": "Mois", es: "Mes", id: "Bulan", "it-IT": "Mese", ko: "개월", "pt-PT": "Mês", "ru-RU": "Месяц", th: "เดือน" }, weekMarkers: { "zh-CN": "星期", "en-US": "Week", "zh-HK": "星期", "zh-TW": "星期", "ja-JP": "週", "de-DE": "Woche", "fr-FR": "Semaine", es: "Semana", id: "Minggu", "it-IT": "Settimana", ko: "주", "pt-PT": "Semana", "ru-RU": "Неделя", th: "สัปดาห์" }, halfStarMarkers: { "zh-CN": "半星", "en-US": "HalfStar", "zh-HK": "半星", "zh-TW": "半星", "ja-JP": "ハーフスター", "de-DE": "Halber Stern", "fr-FR": "Demi-étoile", es: "HalfStar", id: "Bintang Setengah", "it-IT": "HalfStar", ko: "반별", "pt-PT": "Meia Estrela", "ru-RU": "Ползвезды", th: "ครึ่งดาว" }, otherMarkers: { "zh-CN": "其他", "en-US": "Other", "zh-HK": "其他", "zh-TW": "其他", "ja-JP": "その他", "de-DE": "Andere", "fr-FR": "Autre", es: "Otros", id: "Lainnya", "it-IT": "Altro", ko: "기타", "pt-PT": "Outro", "ru-RU": "Прочее", th: "อื่น ๆ" } } , h = { "tag-red": { "en-US": "Red Tag" }, "tag-orange": { "en-US": "Orange Tag" }, "tag-dark-blue": { "en-US": "Dark Blue Tag" }, "tag-dark-purple": { "en-US": "Dark Purple Tag" }, "tag-green": { "en-US": "Green Tag" }, "tag-blue": { "en-US": "Blue Tag" }, "tag-grey": { "en-US": "Grey Tag" }, "tag-yellow": { "en-US": "Yellow Tag" }, "tag-purple": { "en-US": "Purple Tag" }, "priority-1": { "en-US": "Priority 1" }, "priority-2": { "en-US": "Priority 2" }, "priority-3": { "en-US": "Priority 3" }, "priority-4": { "en-US": "Priority 4" }, "priority-5": { "en-US": "Priority 5" }, "priority-6": { "en-US": "Priority 6" }, "priority-7": { "en-US": "Priority 7" }, "priority-8": { "en-US": "Priority 8" }, "priority-9": { "en-US": "Priority 9" }, "smiley-laugh": { "en-US": "Laugh" }, "smiley-smile": { "en-US": "Smile" }, "smiley-cry": { "en-US": "Cry" }, "smiley-surprise": { "en-US": "Surprise" }, "smiley-boring": { "en-US": "Boring" }, "smiley-angry": { "en-US": "Angry" }, "smiley-embarrass": { "en-US": "Embarrass" }, "smiley-think": { "en-US": "Think" }, "smiley-love": { "en-US": "Love" }, "smiley-sad": { "en-US": "Sad" }, "smiley-cry-laugh": { "en-US": "Cry Laugh" }, "smiley-adore": { "en-US": "Adore" }, "smiley-devil": { "en-US": "Devil" }, "smiley-upset": { "en-US": "Upset" }, "task-start": { "en-US": "Task Starting" }, "task-oct": { "en-US": "1/8 Done" }, "task-quarter": { "en-US": "1/4 Done" }, "task-3oct": { "en-US": "3/8 Done" }, "task-half": { "en-US": "1/2 Done" }, "task-5oct": { "en-US": "5/8 Done" }, "task-3quar": { "en-US": "3/4 Done" }, "task-7oct": { "en-US": "7/8 Done" }, "task-done": { "en-US": "Task Done" }, "task-pause": { "en-US": "Task Paused" }, "flag-red": { "en-US": "Red Flag" }, "flag-orange": { "en-US": "Orange Flag" }, "flag-yellow": { "en-US": "Yellow Flag" }, "flag-dark-blue": { "en-US": "Dark Blue Flag" }, "flag-purple": { "en-US": "Purple Flag" }, "flag-green": { "en-US": "Green Flag" }, "flag-blue": { "en-US": "Blue Flag" }, "flag-gray": { "en-US": "Gray Flag" }, "flag-dark-green": { "en-US": "Dark Green Flag" }, "flag-dark-gray": { "en-US": "Dark Gray Flag" }, "star-red": { "en-US": "Red Star" }, "star-orange": { "en-US": "Orange Star" }, "star-dark-blue": { "en-US": "Dark Blue Star" }, "star-purple": { "en-US": "Purple Star" }, "star-green": { "en-US": "Green Star" }, "star-blue": { "en-US": "Blue Star" }, "star-gray": { "en-US": "Gray Star" }, "star-yellow": { "en-US": "Yellow Star" }, "star-dark-green": { "en-US": "Dark Green Star" }, "star-dark-gray": { "en-US": "Dark Gray Star" }, "people-red": { "en-US": "Red Avatar" }, "people-orange": { "en-US": "Orange Avatar" }, "people-yellow": { "en-US": "Yellow Avatar" }, "people-dark-blue": { "en-US": "Dark Blue Avatar" }, "people-purple": { "en-US": "Purple Avatar" }, "people-green": { "en-US": "Green Avatar" }, "people-blue": { "en-US": "Blue Avatar" }, "people-gray": { "en-US": "Gray Avatar" }, "people-dark-green": { "en-US": "Dark Green Avatar" }, "people-dark-gray": { "en-US": "Dark Gray Avatar" }, "arrow-left": { "en-US": "Left" }, "arrow-right": { "en-US": "Right" }, "arrow-up": { "en-US": "Up" }, "arrow-down": { "en-US": "Down" }, "arrow-left-right": { "en-US": "Left and Right" }, "arrow-up-down": { "en-US": "Up and Down" }, "arrow-refresh": { "en-US": "Refresh" }, "arrow-up-right": { "en-US": "Up and Right" }, "arrow-down-right": { "en-US": "Down and Right" }, "arrow-down-left": { "en-US": "Down and Left" }, "arrow-up-left": { "en-US": "Up and Left" }, c_symbol_quote: { "en-US": "Quote" }, c_symbol_apostrophe: { "en-US": "Apostrophe" }, "symbol-question": { "en-US": "Question" }, "symbol-attention": { "en-US": "Attention" }, "symbol-pause": { "en-US": "Pause" }, "symbol-wrong": { "en-US": "Wrong" }, "symbol-about": { "en-US": "About" }, "symbol-plus": { "en-US": "Plus" }, "symbol-minus": { "en-US": "Minus" }, "symbol-divide": { "en-US": "Divide" }, "symbol-equality": { "en-US": "Equality" }, "symbol-right": { "en-US": "Check" }, "symbol-code": { "en-US": "Code" }, "symbol-not-equality": { "en-US": "Not Equality" }, c_symbol_broken_heart: { "en-US": "Broken Heart" }, c_symbol_heart: { "en-US": "Heart" }, c_symbol_like: { "en-US": "Like" }, c_symbol_dislike: { "en-US": "Dislike" }, c_symbol_contact: { "en-US": "Contact" }, "symbol-no-entry": { "en-US": "No Entry" }, "symbol-notice": { "en-US": "Notice" }, "symbol-rss": { "en-US": "RSS" }, symbol_forward: { "en-US": "Forward" }, "symbol-share": { "en-US": "Share" }, "symbol-comment": { "en-US": "Comment" }, "symbol-heart": { "en-US": "Heart" }, "symbol-like": { "en-US": "Like" }, "symbol-dislike": { "en-US": "Dislike" }, "symbol-idea": { "en-US": "Idea" }, "symbol-lightning": { "en-US": "Lightning" }, "symbol-100": { "en-US": "100" }, "symbol-airplane": { "en-US": "Airplane" }, "symbol-exclamation": { "en-US": "Exclamation" }, "symbol-hourglass": { "en-US": "Hourglass" }, "symbol-music": { "en-US": "Music" }, "symbol-pen": { "en-US": "Pen" }, "symbol-run": { "en-US": "Run" }, "symbol-telephone": { "en-US": "Telephone" }, "celebration-ribbon": { "en-US": "Ribbon" }, "celebration-clap": { "en-US": "Clap" }, "celebration-100": { "en-US": "100" }, "celebration-birthday": { "en-US": "Birthday" }, "celebration-king": { "en-US": "Crown" }, "celebration-cheers": { "en-US": "Cheers" }, "celebration-boom": { "en-US": "Boom" }, "celebration-kiss": { "en-US": "Kiss" }, "celebration-five": { "en-US": "Give Me Five" }, "symbol-exclam": { "en-US": "symbolExclam" }, "symbol-info": { "en-US": "symbolInfo" }, "c_simbol-plus": { "en-US": "Plus" }, "c_simbol-minus": { "en-US": "Minus" }, "c_simbol-question": { "en-US": "Question" }, "c_simbol-exclam": { "en-US": "symbolExclam" }, "c_simbol-info": { "en-US": "symbolInfo" }, "c_simbol-wrong": { "en-US": "Wrong" }, "c_simbol-right": { "en-US": "Check" }, "c_simbol-pause": { "en-US": "Pause" }, c_symbol_drink: { "en-US": "symbolDrink" }, c_symbol_line_graph: { "en-US": "symbolLineGraph" }, c_symbol_medals: { "en-US": "symbolMedals" }, c_symbol_thermometer: { "en-US": "symbolThermometer" }, c_symbol_telephone: { "en-US": "Telephone" }, c_symbol_pen: { "en-US": "Pen" }, c_symbol_money: { "en-US": "Money" }, c_symbol_bar_chart: { "en-US": "Bar Chart" }, c_symbol_pie_chart: { "en-US": "Pie Chart" }, c_symbol_shopping_cart: { "en-US": "Shopping Cart" }, c_symbol_exercise: { "en-US": "Exercise" }, c_symbol_hourglass: { "en-US": "Hourglass" }, c_symbol_flight: { "en-US": "Flight" }, c_symbol_music: { "en-US": "Music" }, "symbol-entertainment": { "en-US": "Entertainment" }, c_symbol_trophy: { "en-US": "Trophy" }, "symbol-pin": { "en-US": "Pin" }, "symbol-unlock": { "en-US": "Unlock" }, c_symbol_lock: { "en-US": "Lock" }, "symbol-diamond": { "en-US": "Diamond" }, "month-jan": { "en-US": "January" }, "month-feb": { "en-US": "February" }, "month-mar": { "en-US": "March" }, "month-apr": { "en-US": "April" }, "month-may": { "en-US": "May" }, "month-jun": { "en-US": "June" }, "month-jul": { "en-US": "July" }, "month-aug": { "en-US": "August" }, "month-sep": { "en-US": "September" }, "month-oct": { "en-US": "October" }, "month-nov": { "en-US": "November" }, "month-dec": { "en-US": "December" }, "week-sun": { "en-US": "Sunday" }, "week-mon": { "en-US": "Monday" }, "week-tue": { "en-US": "Tuesday" }, "week-wed": { "en-US": "Wednesday" }, "week-thu": { "en-US": "Thursday" }, "week-fri": { "en-US": "Friday" }, "week-sat": { "en-US": "Saturday" }, "half-star-green": { "en-US": "Green" }, "half-star-red": { "en-US": "Red" }, "half-star-yellow": { "en-US": "Yellow" }, "half-star-purple": { "en-US": "Purple" }, "half-star-blue": { "en-US": "Blue" }, "half-star-gray": { "en-US": "Gray" }, "other-calendar": { "en-US": "Calendar" }, "other-email": { "en-US": "Email" }, "other-phone": { "en-US": "Phone" }, "other-phone2": { "en-US": "Phone" }, "other-fax": { "en-US": "Fax" }, "other-people": { "en-US": "People" }, "other-people2": { "en-US": "People" }, "other-clock": { "en-US": "Clock" }, "other-coffee-cup": { "en-US": "Coffee Cup" }, "other-question": { "en-US": "Question" }, "other-exclam": { "en-US": "Exclamation Mark" }, "other-lightbulb": { "en-US": "Light Bulb" }, "other-businesscard": { "en-US": "Business Card" }, "other-social": { "en-US": "Social" }, "other-chat": { "en-US": "Chat" }, "other-note": { "en-US": "Note" }, "other-lock": { "en-US": "Lock" }, "other-unlock": { "en-US": "Unlock" }, "other-yes": { "en-US": "Yes" }, "other-no": { "en-US": "No" }, "other-bomb": { "en-US": "Bomb" }, "symbol-image": { "en-US": "symbolImage" } } , p = u.map(e=>l[e].markers).reduce((e,t)=>e.concat(t), []); let g = {}; function m(e, t) { var n; const {lang: r} = d(t) , i = p.find(t=>t.markerId === e); return i ? Object.assign(Object.assign({}, i), { name: i.isUserMarker ? null !== (n = i.name) && void 0 !== n ? n : "" : h[e][r] }) : null } function v(e, t) { var n; t = d(t); const r = Object.assign(Object.assign({}, g), l)[e]; return r ? Object.assign(Object.assign({}, r), { name: r.isUserMarker ? null !== (n = r.name) && void 0 !== n ? n : "" : f[e][t.lang], markers: r.markers.map(e=>m(e.markerId, t)) }) : null } function y(e) { return e = d(e), u.map(e=>l[e]).filter(e=>!e.hidden).map(t=>{ var n; return Object.assign(Object.assign({}, t), { name: null !== (n = f[t.id][e.lang]) && void 0 !== n ? n : f[t.id][c.EN_US], markers: t.markers.filter(e=>!e.hidden).map(t=>m(t.markerId, e)) }) } ) } function b(e, t) { const n = e=>{ for (const n in t) { const {markers: r} = t[n]; if (Array.isArray(r) && r.includes(e)) return n } } ; for (const r in e) { const {name: i, resource: o} = e[r]; p.push({ markerId: r, groupId: t ? n(r) : void 0, name: i, resource: o, hidden: !1, isUserMarker: !0 }) } if (t) for (const e in t) { const {name: n, markers: r} = t[e]; g = Object.assign(Object.assign({}, g), { [e]: { id: e, name: n, markers: r.map(e=>m(e)).filter(Boolean), hidden: !1, isUserMarker: !0 } }) } } function _(e, t) { if (e === t) return !1; const n = m(e) , r = m(t); return !(!n || !r) && n.groupId === r.groupId } function w(e) { return p.findIndex(t=>t.markerId === e) } n(230); n(231); class S { constructor() { this._dataSet = new Map } put(e, t) { this._dataSet.set(e, t) } get(e) { var t; return null !== (t = this._dataSet.get(e)) && void 0 !== t ? t : null } } function x(e) { if (!e || !e.extensions) return {}; let t; if ("function" == typeof e.extensions) { const n = e.extensions(); n && n.getExtension && (t = n.getExtension("org.xmind.ui.pitchMode")) } else e.extensions && (t = e.extensions.find(e=>"org.xmind.ui.pitchMode" === e.provider)); return t && t.content && t.content.length && t.content[0] || {} } function k(e) { return (e.summaries || []).map(e=>{ if (!e.topicId || !e.range) return null; const [t,n,r] = e.range.match(/\((\d+),(\d+)\)/) || [] , i = parseInt(n, 10) , o = parseInt(r, 10); return isNaN(i) || isNaN(o) ? null : { topicId: e.topicId, startIndex: i, endIndex: o } } ).filter(e=>!!e) } function I(e, t) { return 0 === e.length ? [] : e.sort((e,t)=>r.indexOf(e) - r.indexOf(t)).map(e=>{ var n; return { markerId: e, imageSource: r.getMarkerInfoById(e) ? t + (null === (n = r.getMarkerInfoById(e)) || void 0 === n ? void 0 : n.resource) : "" } } ).filter(e=>!!e.imageSource) } function C(e, t) { if (!e) return { id: "", title: "" }; const n = function(e) { let t = null , n = null , r = null , i = null , o = null; const a = x(e); return void 0 !== a.topicSlide && (t = a.topicSlide ? "show" : "skip"), void 0 !== a.listSlideDisabled && (n = !0 === a.listSlideDisabled ? "skip" : "show"), void 0 !== a.listSlideLayout && (r = a.listSlideLayout), void 0 !== a.topicImageAlignment && (i = a.topicImageAlignment), void 0 !== a.summarySlideDisabled && (o = !0 === a.summarySlideDisabled ? "skip" : "show"), { id: e ? e.id : "", title: "", labels: void 0, note: void 0, topicSlide: t, topicSlideAlignment: null, topicSlideImagePlacement: i, listSlides: n, listSlideLayout: r, summarySlide: o } }(e) , r = e.notes && e.notes.plain ? e.notes.plain.content : void 0; return Object.assign({}, n, { title: e.title || "", labels: e.labels ? e.labels.slice(0) : void 0, note: r ? { plainText: r } : null, image: e.imageAttributes, calloutTopicId: e.children && e.children.callout && e.children.callout.length > 0 ? e.children.callout[0].id : null, markers: I((e.markers || []).map(e=>e.markerId), t), summaries: k(e) }) } function M(e, t, n) { const r = e && e.image && e.image.src; if (!r || !r.startsWith("xap:")) return; const i = t.get(r.slice("xap:".length)); if (!i) return; const o = btoa(new Uint8Array(i).reduce((e,t)=>e + String.fromCharCode(t), "")); var a; const s = `data:image/${(a = r).endsWith(".svg") ? "svg+xml" : a.endsWith(".png") ? "png" : a.endsWith(".gif") ? "gif" : "jpg"};base64,${o}`; let l; return l = e.image.width && e.image.height ? { width: e.image.width, height: e.image.height } : n.workbook.getters.getTopicImageSize(e.id), l = l || { width: 0, height: 0 }, { source: s, size: l } } function T(e, t) { return Object(o.a)(this, void 0, void 0, (function*() { if (!e) return; const n = yield(new s.a).loadAsync(e); if (t) for (const [e,r] of Object.entries(n.files)) if (e.startsWith("resources/") && !r.dir) { const n = yield r.async("arraybuffer"); t.put(e, n) } } )) } }, 84: function(e, t, n) { "use strict"; n.d(t, "b", (function() { return i } )), n.d(t, "a", (function() { return o } )); var r = n(175); let i; try { i = JSON.parse(Object(r.a)(window.metadataString || "") || "{}") } catch (e) { i = { name: "", userName: "", updatedTime: "", createdTime: "", profileName: "", isDownloadable: !1 } } const o = window.manifests }, 90: function(e, t, n) { (function(t) { e.exports = function e(t, n, r) { function i(a, s) { if (!n[a]) { if (!t[a]) { if (o) return o(a, !0); var l = new Error("Cannot find module '" + a + "'"); throw l.code = "MODULE_NOT_FOUND", l } var u = n[a] = { exports: {} }; t[a][0].call(u.exports, (function(e) { var n = t[a][1][e]; return i(n || e) } ), u, u.exports, e, t, n, r) } return n[a].exports } for (var o = !1, a = 0; a < r.length; a++) i(r[a]); return i }({ 1: [function(e, n, r) { (function(e) { "use strict"; var t, r, i = e.MutationObserver || e.WebKitMutationObserver; if (i) { var o = 0 , a = new i(c) , s = e.document.createTextNode(""); a.observe(s, { characterData: !0 }), t = function() { s.data = o = ++o % 2 } } else if (e.setImmediate || void 0 === e.MessageChannel) t = "document"in e && "onreadystatechange"in e.document.createElement("script") ? function() { var t = e.document.createElement("script"); t.onreadystatechange = function() { c(), t.onreadystatechange = null, t.parentNode.removeChild(t), t = null } , e.document.documentElement.appendChild(t) } : function() { setTimeout(c, 0) } ; else { var l = new e.MessageChannel; l.port1.onmessage = c, t = function() { l.port2.postMessage(0) } } var u = []; function c() { var e, t; r = !0; for (var n = u.length; n; ) { for (t = u, u = [], e = -1; ++e < n; ) t[e](); n = u.length } r = !1 } n.exports = function(e) { 1 !== u.push(e) || r || t() } } ).call(this, void 0 !== t ? t : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) } , {}], 2: [function(e, t, n) { "use strict"; var r = e(1); function i() {} var o = {} , a = ["REJECTED"] , s = ["FULFILLED"] , l = ["PENDING"]; function u(e) { if ("function" != typeof e) throw new TypeError("resolver must be a function"); this.state = l, this.queue = [], this.outcome = void 0, e !== i && h(this, e) } function c(e, t, n) { this.promise = e, "function" == typeof t && (this.onFulfilled = t, this.callFulfilled = this.otherCallFulfilled), "function" == typeof n && (this.onRejected = n, this.callRejected = this.otherCallRejected) } function d(e, t, n) { r((function() { var r; try { r = t(n) } catch (t) { return o.reject(e, t) } r === e ? o.reject(e, new TypeError("Cannot resolve promise with itself")) : o.resolve(e, r) } )) } function f(e) { var t = e && e.then; if (e && ("object" == typeof e || "function" == typeof e) && "function" == typeof t) return function() { t.apply(e, arguments) } } function h(e, t) { var n = !1; function r(t) { n || (n = !0, o.reject(e, t)) } function i(t) { n || (n = !0, o.resolve(e, t)) } var a = p((function() { t(i, r) } )); "error" === a.status && r(a.value) } function p(e, t) { var n = {}; try { n.value = e(t), n.status = "success" } catch (e) { n.status = "error", n.value = e } return n } t.exports = u, u.prototype.catch = function(e) { return this.then(null, e) } , u.prototype.then = function(e, t) { if ("function" != typeof e && this.state === s || "function" != typeof t && this.state === a) return this; var n = new this.constructor(i); return this.state !== l ? d(n, this.state === s ? e : t, this.outcome) : this.queue.push(new c(n,e,t)), n } , c.prototype.callFulfilled = function(e) { o.resolve(this.promise, e) } , c.prototype.otherCallFulfilled = function(e) { d(this.promise, this.onFulfilled, e) } , c.prototype.callRejected = function(e) { o.reject(this.promise, e) } , c.prototype.otherCallRejected = function(e) { d(this.promise, this.onRejected, e) } , o.resolve = function(e, t) { var n = p(f, t); if ("error" === n.status) return o.reject(e, n.value); var r = n.value; if (r) h(e, r); else { e.state = s, e.outcome = t; for (var i = -1, a = e.queue.length; ++i < a; ) e.queue[i].callFulfilled(t) } return e } , o.reject = function(e, t) { e.state = a, e.outcome = t; for (var n = -1, r = e.queue.length; ++n < r; ) e.queue[n].callRejected(t); return e } , u.resolve = function(e) { return e instanceof this ? e : o.resolve(new this(i), e) } , u.reject = function(e) { var t = new this(i); return o.reject(t, e) } , u.all = function(e) { var t = this; if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array")); var n = e.length , r = !1; if (!n) return this.resolve([]); for (var a = new Array(n), s = 0, l = -1, u = new this(i); ++l < n; ) c(e[l], l); return u; function c(e, i) { t.resolve(e).then((function(e) { a[i] = e, ++s !== n || r || (r = !0, o.resolve(u, a)) } ), (function(e) { r || (r = !0, o.reject(u, e)) } )) } } , u.race = function(e) { var t = this; if ("[object Array]" !== Object.prototype.toString.call(e)) return this.reject(new TypeError("must be an array")); var n = e.length , r = !1; if (!n) return this.resolve([]); for (var a, s = -1, l = new this(i); ++s < n; ) a = e[s], t.resolve(a).then((function(e) { r || (r = !0, o.resolve(l, e)) } ), (function(e) { r || (r = !0, o.reject(l, e)) } )); return l } } , { 1: 1 }], 3: [function(e, n, r) { (function(t) { "use strict"; "function" != typeof t.Promise && (t.Promise = e(2)) } ).call(this, void 0 !== t ? t : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) } , { 2: 2 }], 4: [function(e, t, n) { "use strict"; var r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e } , i = function() { try { if ("undefined" != typeof indexedDB) return indexedDB; if ("undefined" != typeof webkitIndexedDB) return webkitIndexedDB; if ("undefined" != typeof mozIndexedDB) return mozIndexedDB; if ("undefined" != typeof OIndexedDB) return OIndexedDB; if ("undefined" != typeof msIndexedDB) return msIndexedDB } catch (e) { return } }(); function o(e, t) { e = e || [], t = t || {}; try { return new Blob(e,t) } catch (i) { if ("TypeError" !== i.name) throw i; for (var n = new ("undefined" != typeof BlobBuilder ? BlobBuilder : "undefined" != typeof MSBlobBuilder ? MSBlobBuilder : "undefined" != typeof MozBlobBuilder ? MozBlobBuilder : WebKitBlobBuilder), r = 0; r < e.length; r += 1) n.append(e[r]); return n.getBlob(t.type) } } "undefined" == typeof Promise && e(3); var a = Promise; function s(e, t) { t && e.then((function(e) { t(null, e) } ), (function(e) { t(e) } )) } function l(e, t, n) { "function" == typeof t && e.then(t), "function" == typeof n && e.catch(n) } function u(e) { return "string" != typeof e && (console.warn(e + " used as a key, but it is not a string."), e = String(e)), e } function c() { if (arguments.length && "function" == typeof arguments[arguments.length - 1]) return arguments[arguments.length - 1] } var d = void 0 , f = {} , h = Object.prototype.toString; function p(e) { return "boolean" == typeof d ? a.resolve(d) : function(e) { return new a((function(t) { var n = e.transaction("local-forage-detect-blob-support", "readwrite") , r = o([""]); n.objectStore("local-forage-detect-blob-support").put(r, "key"), n.onabort = function(e) { e.preventDefault(), e.stopPropagation(), t(!1) } , n.oncomplete = function() { var e = navigator.userAgent.match(/Chrome\/(\d+)/) , n = navigator.userAgent.match(/Edge\//); t(n || !e || parseInt(e[1], 10) >= 43) } } )).catch((function() { return !1 } )) }(e).then((function(e) { return d = e } )) } function g(e) { var t = f[e.name] , n = {}; n.promise = new a((function(e, t) { n.resolve = e, n.reject = t } )), t.deferredOperations.push(n), t.dbReady ? t.dbReady = t.dbReady.then((function() { return n.promise } )) : t.dbReady = n.promise } function m(e) { var t = f[e.name].deferredOperations.pop(); if (t) return t.resolve(), t.promise } function v(e, t) { var n = f[e.name].deferredOperations.pop(); if (n) return n.reject(t), n.promise } function y(e, t) { return new a((function(n, r) { if (f[e.name] = f[e.name] || { forages: [], db: null, dbReady: null, deferredOperations: [] }, e.db) { if (!t) return n(e.db); g(e), e.db.close() } var o = [e.name]; t && o.push(e.version); var a = i.open.apply(i, o); t && (a.onupgradeneeded = function(t) { var n = a.result; try { n.createObjectStore(e.storeName), t.oldVersion <= 1 && n.createObjectStore("local-forage-detect-blob-support") } catch (n) { if ("ConstraintError" !== n.name) throw n; console.warn('The database "' + e.name + '" has been upgraded from version ' + t.oldVersion + " to version " + t.newVersion + ', but the storage "' + e.storeName + '" already exists.') } } ), a.onerror = function(e) { e.preventDefault(), r(a.error) } , a.onsuccess = function() { n(a.result), m(e) } } )) } function b(e) { return y(e, !1) } function _(e) { return y(e, !0) } function w(e, t) { if (!e.db) return !0; var n = !e.db.objectStoreNames.contains(e.storeName) , r = e.version < e.db.version , i = e.version > e.db.version; if (r && (e.version !== t && console.warn('The database "' + e.name + "\" can't be downgraded from version " + e.db.version + " to version " + e.version + "."), e.version = e.db.version), i || n) { if (n) { var o = e.db.version + 1; o > e.version && (e.version = o) } return !0 } return !1 } function S(e) { return o([function(e) { for (var t = e.length, n = new ArrayBuffer(t), r = new Uint8Array(n), i = 0; i < t; i++) r[i] = e.charCodeAt(i); return n }(atob(e.data))], { type: e.type }) } function x(e) { return e && e.__local_forage_encoded_blob } function k(e) { var t = this , n = t._initReady().then((function() { var e = f[t._dbInfo.name]; if (e && e.dbReady) return e.dbReady } )); return l(n, e, e), n } function I(e, t, n, r) { void 0 === r && (r = 1); try { var i = e.db.transaction(e.storeName, t); n(null, i) } catch (i) { if (r > 0 && (!e.db || "InvalidStateError" === i.name || "NotFoundError" === i.name)) return a.resolve().then((function() { if (!e.db || "NotFoundError" === i.name && !e.db.objectStoreNames.contains(e.storeName) && e.version <= e.db.version) return e.db && (e.version = e.db.version + 1), _(e) } )).then((function() { return function(e) { g(e); for (var t = f[e.name], n = t.forages, r = 0; r < n.length; r++) { var i = n[r]; i._dbInfo.db && (i._dbInfo.db.close(), i._dbInfo.db = null) } return e.db = null, b(e).then((function(t) { return e.db = t, w(e) ? _(e) : t } )).then((function(r) { e.db = t.db = r; for (var i = 0; i < n.length; i++) n[i]._dbInfo.db = r } )).catch((function(t) { throw v(e, t), t } )) }(e).then((function() { I(e, t, n, r - 1) } )) } )).catch(n); n(i) } } var C = { _driver: "asyncStorage", _initStorage: function(e) { var t = this , n = { db: null }; if (e) for (var r in e) n[r] = e[r]; var i = f[n.name]; i || (i = { forages: [], db: null, dbReady: null, deferredOperations: [] }, f[n.name] = i), i.forages.push(t), t._initReady || (t._initReady = t.ready, t.ready = k); var o = []; function s() { return a.resolve() } for (var l = 0; l < i.forages.length; l++) { var u = i.forages[l]; u !== t && o.push(u._initReady().catch(s)) } var c = i.forages.slice(0); return a.all(o).then((function() { return n.db = i.db, b(n) } )).then((function(e) { return n.db = e, w(n, t._defaultConfig.version) ? _(n) : e } )).then((function(e) { n.db = i.db = e, t._dbInfo = n; for (var r = 0; r < c.length; r++) { var o = c[r]; o !== t && (o._dbInfo.db = n.db, o._dbInfo.version = n.version) } } )) }, _support: function() { try { if (!i || !i.open) return !1; var e = "undefined" != typeof openDatabase && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform) , t = "function" == typeof fetch && -1 !== fetch.toString().indexOf("[native code"); return (!e || t) && "undefined" != typeof indexedDB && "undefined" != typeof IDBKeyRange } catch (e) { return !1 } }(), iterate: function(e, t) { var n = this , r = new a((function(t, r) { n.ready().then((function() { I(n._dbInfo, "readonly", (function(i, o) { if (i) return r(i); try { var a = o.objectStore(n._dbInfo.storeName).openCursor() , s = 1; a.onsuccess = function() { var n = a.result; if (n) { var r = n.value; x(r) && (r = S(r)); var i = e(r, n.key, s++); void 0 !== i ? t(i) : n.continue() } else t() } , a.onerror = function() { r(a.error) } } catch (e) { r(e) } } )) } )).catch(r) } )); return s(r, t), r }, getItem: function(e, t) { var n = this; e = u(e); var r = new a((function(t, r) { n.ready().then((function() { I(n._dbInfo, "readonly", (function(i, o) { if (i) return r(i); try { var a = o.objectStore(n._dbInfo.storeName).get(e); a.onsuccess = function() { var e = a.result; void 0 === e && (e = null), x(e) && (e = S(e)), t(e) } , a.onerror = function() { r(a.error) } } catch (e) { r(e) } } )) } )).catch(r) } )); return s(r, t), r }, setItem: function(e, t, n) { var r = this; e = u(e); var i = new a((function(n, i) { var o; r.ready().then((function() { return o = r._dbInfo, "[object Blob]" === h.call(t) ? p(o.db).then((function(e) { return e ? t : (n = t, new a((function(e, t) { var r = new FileReader; r.onerror = t, r.onloadend = function(t) { var r = btoa(t.target.result || ""); e({ __local_forage_encoded_blob: !0, data: r, type: n.type }) } , r.readAsBinaryString(n) } ))); var n } )) : t } )).then((function(t) { I(r._dbInfo, "readwrite", (function(o, a) { if (o) return i(o); try { var s = a.objectStore(r._dbInfo.storeName); null === t && (t = void 0); var l = s.put(t, e); a.oncomplete = function() { void 0 === t && (t = null), n(t) } , a.onabort = a.onerror = function() { var e = l.error ? l.error : l.transaction.error; i(e) } } catch (e) { i(e) } } )) } )).catch(i) } )); return s(i, n), i }, removeItem: function(e, t) { var n = this; e = u(e); var r = new a((function(t, r) { n.ready().then((function() { I(n._dbInfo, "readwrite", (function(i, o) { if (i) return r(i); try { var a = o.objectStore(n._dbInfo.storeName).delete(e); o.oncomplete = function() { t() } , o.onerror = function() { r(a.error) } , o.onabort = function() { var e = a.error ? a.error : a.transaction.error; r(e) } } catch (e) { r(e) } } )) } )).catch(r) } )); return s(r, t), r }, clear: function(e) { var t = this , n = new a((function(e, n) { t.ready().then((function() { I(t._dbInfo, "readwrite", (function(r, i) { if (r) return n(r); try { var o = i.objectStore(t._dbInfo.storeName).clear(); i.oncomplete = function() { e() } , i.onabort = i.onerror = function() { var e = o.error ? o.error : o.transaction.error; n(e) } } catch (e) { n(e) } } )) } )).catch(n) } )); return s(n, e), n }, length: function(e) { var t = this , n = new a((function(e, n) { t.ready().then((function() { I(t._dbInfo, "readonly", (function(r, i) { if (r) return n(r); try { var o = i.objectStore(t._dbInfo.storeName).count(); o.onsuccess = function() { e(o.result) } , o.onerror = function() { n(o.error) } } catch (e) { n(e) } } )) } )).catch(n) } )); return s(n, e), n }, key: function(e, t) { var n = this , r = new a((function(t, r) { e < 0 ? t(null) : n.ready().then((function() { I(n._dbInfo, "readonly", (function(i, o) { if (i) return r(i); try { var a = o.objectStore(n._dbInfo.storeName) , s = !1 , l = a.openKeyCursor(); l.onsuccess = function() { var n = l.result; n ? 0 === e || s ? t(n.key) : (s = !0, n.advance(e)) : t(null) } , l.onerror = function() { r(l.error) } } catch (e) { r(e) } } )) } )).catch(r) } )); return s(r, t), r }, keys: function(e) { var t = this , n = new a((function(e, n) { t.ready().then((function() { I(t._dbInfo, "readonly", (function(r, i) { if (r) return n(r); try { var o = i.objectStore(t._dbInfo.storeName).openKeyCursor() , a = []; o.onsuccess = function() { var t = o.result; t ? (a.push(t.key), t.continue()) : e(a) } , o.onerror = function() { n(o.error) } } catch (e) { n(e) } } )) } )).catch(n) } )); return s(n, e), n }, dropInstance: function(e, t) { t = c.apply(this, arguments); var n = this.config(); (e = "function" != typeof e && e || {}).name || (e.name = e.name || n.name, e.storeName = e.storeName || n.storeName); var r, o = this; if (e.name) { var l = e.name === n.name && o._dbInfo.db , u = l ? a.resolve(o._dbInfo.db) : b(e).then((function(t) { var n = f[e.name] , r = n.forages; n.db = t; for (var i = 0; i < r.length; i++) r[i]._dbInfo.db = t; return t } )); r = e.storeName ? u.then((function(t) { if (t.objectStoreNames.contains(e.storeName)) { var n = t.version + 1; g(e); var r = f[e.name] , o = r.forages; t.close(); for (var s = 0; s < o.length; s++) { var l = o[s]; l._dbInfo.db = null, l._dbInfo.version = n } return new a((function(t, r) { var o = i.open(e.name, n); o.onerror = function(e) { o.result.close(), r(e) } , o.onupgradeneeded = function() { o.result.deleteObjectStore(e.storeName) } , o.onsuccess = function() { var e = o.result; e.close(), t(e) } } )).then((function(e) { r.db = e; for (var t = 0; t < o.length; t++) { var n = o[t]; n._dbInfo.db = e, m(n._dbInfo) } } )).catch((function(t) { throw (v(e, t) || a.resolve()).catch((function() {} )), t } )) } } )) : u.then((function(t) { g(e); var n = f[e.name] , r = n.forages; t.close(); for (var o = 0; o < r.length; o++) r[o]._dbInfo.db = null; return new a((function(t, n) { var r = i.deleteDatabase(e.name); r.onerror = r.onblocked = function(e) { var t = r.result; t && t.close(), n(e) } , r.onsuccess = function() { var e = r.result; e && e.close(), t(e) } } )).then((function(e) { n.db = e; for (var t = 0; t < r.length; t++) m(r[t]._dbInfo) } )).catch((function(t) { throw (v(e, t) || a.resolve()).catch((function() {} )), t } )) } )) } else r = a.reject("Invalid arguments"); return s(r, t), r } } , M = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" , T = /^~~local_forage_type~([^~]+)~/ , A = "__lfsc__:".length , E = A + "arbf".length , O = Object.prototype.toString; function B(e) { var t, n, r, i, o, a = .75 * e.length, s = e.length, l = 0; "=" === e[e.length - 1] && (a--, "=" === e[e.length - 2] && a--); var u = new ArrayBuffer(a) , c = new Uint8Array(u); for (t = 0; t < s; t += 4) n = M.indexOf(e[t]), r = M.indexOf(e[t + 1]), i = M.indexOf(e[t + 2]), o = M.indexOf(e[t + 3]), c[l++] = n << 2 | r >> 4, c[l++] = (15 & r) << 4 | i >> 2, c[l++] = (3 & i) << 6 | 63 & o; return u } function L(e) { var t, n = new Uint8Array(e), r = ""; for (t = 0; t < n.length; t += 3) r += M[n[t] >> 2], r += M[(3 & n[t]) << 4 | n[t + 1] >> 4], r += M[(15 & n[t + 1]) << 2 | n[t + 2] >> 6], r += M[63 & n[t + 2]]; return n.length % 3 == 2 ? r = r.substring(0, r.length - 1) + "=" : n.length % 3 == 1 && (r = r.substring(0, r.length - 2) + "=="), r } var P = { serialize: function(e, t) { var n = ""; if (e && (n = O.call(e)), e && ("[object ArrayBuffer]" === n || e.buffer && "[object ArrayBuffer]" === O.call(e.buffer))) { var r, i = "__lfsc__:"; e instanceof ArrayBuffer ? (r = e, i += "arbf") : (r = e.buffer, "[object Int8Array]" === n ? i += "si08" : "[object Uint8Array]" === n ? i += "ui08" : "[object Uint8ClampedArray]" === n ? i += "uic8" : "[object Int16Array]" === n ? i += "si16" : "[object Uint16Array]" === n ? i += "ur16" : "[object Int32Array]" === n ? i += "si32" : "[object Uint32Array]" === n ? i += "ui32" : "[object Float32Array]" === n ? i += "fl32" : "[object Float64Array]" === n ? i += "fl64" : t(new Error("Failed to get type for BinaryArray"))), t(i + L(r)) } else if ("[object Blob]" === n) { var o = new FileReader; o.onload = function() { var n = "~~local_forage_type~" + e.type + "~" + L(this.result); t("__lfsc__:blob" + n) } , o.readAsArrayBuffer(e) } else try { t(JSON.stringify(e)) } catch (n) { console.error("Couldn't convert value into a JSON string: ", e), t(null, n) } }, deserialize: function(e) { if ("__lfsc__:" !== e.substring(0, A)) return JSON.parse(e); var t, n = e.substring(E), r = e.substring(A, E); if ("blob" === r && T.test(n)) { var i = n.match(T); t = i[1], n = n.substring(i[0].length) } var a = B(n); switch (r) { case "arbf": return a; case "blob": return o([a], { type: t }); case "si08": return new Int8Array(a); case "ui08": return new Uint8Array(a); case "uic8": return new Uint8ClampedArray(a); case "si16": return new Int16Array(a); case "ur16": return new Uint16Array(a); case "si32": return new Int32Array(a); case "ui32": return new Uint32Array(a); case "fl32": return new Float32Array(a); case "fl64": return new Float64Array(a); default: throw new Error("Unkown type: " + r) } }, stringToBuffer: B, bufferToString: L }; function R(e, t, n, r) { e.executeSql("CREATE TABLE IF NOT EXISTS " + t.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], n, r) } function z(e, t, n, r, i, o) { e.executeSql(n, r, i, (function(e, a) { a.code === a.SYNTAX_ERR ? e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [t.storeName], (function(e, s) { s.rows.length ? o(e, a) : R(e, t, (function() { e.executeSql(n, r, i, o) } ), o) } ), o) : o(e, a) } ), o) } function j(e, t, n, r) { var i = this; e = u(e); var o = new a((function(o, a) { i.ready().then((function() { void 0 === t && (t = null); var s = t , l = i._dbInfo; l.serializer.serialize(t, (function(t, u) { u ? a(u) : l.db.transaction((function(n) { z(n, l, "INSERT OR REPLACE INTO " + l.storeName + " (key, value) VALUES (?, ?)", [e, t], (function() { o(s) } ), (function(e, t) { a(t) } )) } ), (function(t) { if (t.code === t.QUOTA_ERR) { if (r > 0) return void o(j.apply(i, [e, s, n, r - 1])); a(t) } } )) } )) } )).catch(a) } )); return s(o, n), o } function F(e) { return new a((function(t, n) { e.transaction((function(r) { r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'", [], (function(n, r) { for (var i = [], o = 0; o < r.rows.length; o++) i.push(r.rows.item(o).name); t({ db: e, storeNames: i }) } ), (function(e, t) { n(t) } )) } ), (function(e) { n(e) } )) } )) } var D = { _driver: "webSQLStorage", _initStorage: function(e) { var t = this , n = { db: null }; if (e) for (var r in e) n[r] = "string" != typeof e[r] ? e[r].toString() : e[r]; var i = new a((function(e, r) { try { n.db = openDatabase(n.name, String(n.version), n.description, n.size) } catch (e) { return r(e) } n.db.transaction((function(i) { R(i, n, (function() { t._dbInfo = n, e() } ), (function(e, t) { r(t) } )) } ), r) } )); return n.serializer = P, i }, _support: "function" == typeof openDatabase, iterate: function(e, t) { var n = this , r = new a((function(t, r) { n.ready().then((function() { var i = n._dbInfo; i.db.transaction((function(n) { z(n, i, "SELECT * FROM " + i.storeName, [], (function(n, r) { for (var o = r.rows, a = o.length, s = 0; s < a; s++) { var l = o.item(s) , u = l.value; if (u && (u = i.serializer.deserialize(u)), void 0 !== (u = e(u, l.key, s + 1))) return void t(u) } t() } ), (function(e, t) { r(t) } )) } )) } )).catch(r) } )); return s(r, t), r }, getItem: function(e, t) { var n = this; e = u(e); var r = new a((function(t, r) { n.ready().then((function() { var i = n._dbInfo; i.db.transaction((function(n) { z(n, i, "SELECT * FROM " + i.storeName + " WHERE key = ? LIMIT 1", [e], (function(e, n) { var r = n.rows.length ? n.rows.item(0).value : null; r && (r = i.serializer.deserialize(r)), t(r) } ), (function(e, t) { r(t) } )) } )) } )).catch(r) } )); return s(r, t), r }, setItem: function(e, t, n) { return j.apply(this, [e, t, n, 1]) }, removeItem: function(e, t) { var n = this; e = u(e); var r = new a((function(t, r) { n.ready().then((function() { var i = n._dbInfo; i.db.transaction((function(n) { z(n, i, "DELETE FROM " + i.storeName + " WHERE key = ?", [e], (function() { t() } ), (function(e, t) { r(t) } )) } )) } )).catch(r) } )); return s(r, t), r }, clear: function(e) { var t = this , n = new a((function(e, n) { t.ready().then((function() { var r = t._dbInfo; r.db.transaction((function(t) { z(t, r, "DELETE FROM " + r.storeName, [], (function() { e() } ), (function(e, t) { n(t) } )) } )) } )).catch(n) } )); return s(n, e), n }, length: function(e) { var t = this , n = new a((function(e, n) { t.ready().then((function() { var r = t._dbInfo; r.db.transaction((function(t) { z(t, r, "SELECT COUNT(key) as c FROM " + r.storeName, [], (function(t, n) { var r = n.rows.item(0).c; e(r) } ), (function(e, t) { n(t) } )) } )) } )).catch(n) } )); return s(n, e), n }, key: function(e, t) { var n = this , r = new a((function(t, r) { n.ready().then((function() { var i = n._dbInfo; i.db.transaction((function(n) { z(n, i, "SELECT key FROM " + i.storeName + " WHERE id = ? LIMIT 1", [e + 1], (function(e, n) { var r = n.rows.length ? n.rows.item(0).key : null; t(r) } ), (function(e, t) { r(t) } )) } )) } )).catch(r) } )); return s(r, t), r }, keys: function(e) { var t = this , n = new a((function(e, n) { t.ready().then((function() { var r = t._dbInfo; r.db.transaction((function(t) { z(t, r, "SELECT key FROM " + r.storeName, [], (function(t, n) { for (var r = [], i = 0; i < n.rows.length; i++) r.push(n.rows.item(i).key); e(r) } ), (function(e, t) { n(t) } )) } )) } )).catch(n) } )); return s(n, e), n }, dropInstance: function(e, t) { t = c.apply(this, arguments); var n = this.config(); (e = "function" != typeof e && e || {}).name || (e.name = e.name || n.name, e.storeName = e.storeName || n.storeName); var r, i = this; return s(r = e.name ? new a((function(t) { var r; r = e.name === n.name ? i._dbInfo.db : openDatabase(e.name, "", "", 0), e.storeName ? t({ db: r, storeNames: [e.storeName] }) : t(F(r)) } )).then((function(e) { return new a((function(t, n) { e.db.transaction((function(r) { function i(e) { return new a((function(t, n) { r.executeSql("DROP TABLE IF EXISTS " + e, [], (function() { t() } ), (function(e, t) { n(t) } )) } )) } for (var o = [], s = 0, l = e.storeNames.length; s < l; s++) o.push(i(e.storeNames[s])); a.all(o).then((function() { t() } )).catch((function(e) { n(e) } )) } ), (function(e) { n(e) } )) } )) } )) : a.reject("Invalid arguments"), t), r } }; function N(e, t) { var n = e.name + "/"; return e.storeName !== t.storeName && (n += e.storeName + "/"), n } function U() { return !function() { try { return localStorage.setItem("_localforage_support_test", !0), localStorage.removeItem("_localforage_support_test"), !1 } catch (e) { return !0 } }() || localStorage.length > 0 } var W = { _driver: "localStorageWrapper", _initStorage: function(e) { var t = {}; if (e) for (var n in e) t[n] = e[n]; return t.keyPrefix = N(e, this._defaultConfig), U() ? (this._dbInfo = t, t.serializer = P, a.resolve()) : a.reject() }, _support: function() { try { return "undefined" != typeof localStorage && "setItem"in localStorage && !!localStorage.setItem } catch (e) { return !1 } }(), iterate: function(e, t) { var n = this , r = n.ready().then((function() { for (var t = n._dbInfo, r = t.keyPrefix, i = r.length, o = localStorage.length, a = 1, s = 0; s < o; s++) { var l = localStorage.key(s); if (0 === l.indexOf(r)) { var u = localStorage.getItem(l); if (u && (u = t.serializer.deserialize(u)), void 0 !== (u = e(u, l.substring(i), a++))) return u } } } )); return s(r, t), r }, getItem: function(e, t) { var n = this; e = u(e); var r = n.ready().then((function() { var t = n._dbInfo , r = localStorage.getItem(t.keyPrefix + e); return r && (r = t.serializer.deserialize(r)), r } )); return s(r, t), r }, setItem: function(e, t, n) { var r = this; e = u(e); var i = r.ready().then((function() { void 0 === t && (t = null); var n = t; return new a((function(i, o) { var a = r._dbInfo; a.serializer.serialize(t, (function(t, r) { if (r) o(r); else try { localStorage.setItem(a.keyPrefix + e, t), i(n) } catch (e) { "QuotaExceededError" !== e.name && "NS_ERROR_DOM_QUOTA_REACHED" !== e.name || o(e), o(e) } } )) } )) } )); return s(i, n), i }, removeItem: function(e, t) { var n = this; e = u(e); var r = n.ready().then((function() { var t = n._dbInfo; localStorage.removeItem(t.keyPrefix + e) } )); return s(r, t), r }, clear: function(e) { var t = this , n = t.ready().then((function() { for (var e = t._dbInfo.keyPrefix, n = localStorage.length - 1; n >= 0; n--) { var r = localStorage.key(n); 0 === r.indexOf(e) && localStorage.removeItem(r) } } )); return s(n, e), n }, length: function(e) { var t = this.keys().then((function(e) { return e.length } )); return s(t, e), t }, key: function(e, t) { var n = this , r = n.ready().then((function() { var t, r = n._dbInfo; try { t = localStorage.key(e) } catch (e) { t = null } return t && (t = t.substring(r.keyPrefix.length)), t } )); return s(r, t), r }, keys: function(e) { var t = this , n = t.ready().then((function() { for (var e = t._dbInfo, n = localStorage.length, r = [], i = 0; i < n; i++) { var o = localStorage.key(i); 0 === o.indexOf(e.keyPrefix) && r.push(o.substring(e.keyPrefix.length)) } return r } )); return s(n, e), n }, dropInstance: function(e, t) { if (t = c.apply(this, arguments), !(e = "function" != typeof e && e || {}).name) { var n = this.config(); e.name = e.name || n.name, e.storeName = e.storeName || n.storeName } var r, i = this; return s(r = e.name ? new a((function(t) { e.storeName ? t(N(e, i._defaultConfig)) : t(e.name + "/") } )).then((function(e) { for (var t = localStorage.length - 1; t >= 0; t--) { var n = localStorage.key(t); 0 === n.indexOf(e) && localStorage.removeItem(n) } } )) : a.reject("Invalid arguments"), t), r } } , H = function(e, t) { for (var n, r, i = e.length, o = 0; o < i; ) { if ((n = e[o]) === (r = t) || "number" == typeof n && "number" == typeof r && isNaN(n) && isNaN(r)) return !0; o++ } return !1 } , V = Array.isArray || function(e) { return "[object Array]" === Object.prototype.toString.call(e) } , $ = {} , G = {} , Z = { INDEXEDDB: C, WEBSQL: D, LOCALSTORAGE: W } , q = [Z.INDEXEDDB._driver, Z.WEBSQL._driver, Z.LOCALSTORAGE._driver] , Y = ["dropInstance"] , X = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(Y) , J = { description: "", driver: q.slice(), name: "localforage", size: 4980736, storeName: "keyvaluepairs", version: 1 }; function Q(e, t) { e[t] = function() { var n = arguments; return e.ready().then((function() { return e[t].apply(e, n) } )) } } function K() { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; if (t) for (var n in t) t.hasOwnProperty(n) && (V(t[n]) ? arguments[0][n] = t[n].slice() : arguments[0][n] = t[n]) } return arguments[0] } var ee = new (function() { function e(t) { for (var n in function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, e), Z) if (Z.hasOwnProperty(n)) { var r = Z[n] , i = r._driver; this[n] = i, $[i] || this.defineDriver(r) } this._defaultConfig = K({}, J), this._config = K({}, this._defaultConfig, t), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch((function() {} )) } return e.prototype.config = function(e) { if ("object" === (void 0 === e ? "undefined" : r(e))) { if (this._ready) return new Error("Can't call config() after localforage has been used."); for (var t in e) { if ("storeName" === t && (e[t] = e[t].replace(/\W/g, "_")), "version" === t && "number" != typeof e[t]) return new Error("Database version must be a number."); this._config[t] = e[t] } return !("driver"in e) || !e.driver || this.setDriver(this._config.driver) } return "string" == typeof e ? this._config[e] : this._config } , e.prototype.defineDriver = function(e, t, n) { var r = new a((function(t, n) { try { var r = e._driver , i = new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver"); if (!e._driver) return void n(i); for (var o = X.concat("_initStorage"), l = 0, u = o.length; l < u; l++) { var c = o[l]; if ((!H(Y, c) || e[c]) && "function" != typeof e[c]) return void n(i) } !function() { for (var t = function(e) { return function() { var t = new Error("Method " + e + " is not implemented by the current driver") , n = a.reject(t); return s(n, arguments[arguments.length - 1]), n } }, n = 0, r = Y.length; n < r; n++) { var i = Y[n]; e[i] || (e[i] = t(i)) } }(); var d = function(n) { $[r] && console.info("Redefining LocalForage driver: " + r), $[r] = e, G[r] = n, t() }; "_support"in e ? e._support && "function" == typeof e._support ? e._support().then(d, n) : d(!!e._support) : d(!0) } catch (e) { n(e) } } )); return l(r, t, n), r } , e.prototype.driver = function() { return this._driver || null } , e.prototype.getDriver = function(e, t, n) { var r = $[e] ? a.resolve($[e]) : a.reject(new Error("Driver not found.")); return l(r, t, n), r } , e.prototype.getSerializer = function(e) { var t = a.resolve(P); return l(t, e), t } , e.prototype.ready = function(e) { var t = this , n = t._driverSet.then((function() { return null === t._ready && (t._ready = t._initDriver()), t._ready } )); return l(n, e, e), n } , e.prototype.setDriver = function(e, t, n) { var r = this; V(e) || (e = [e]); var i = this._getSupportedDrivers(e); function o() { r._config.driver = r.driver() } function s(e) { return r._extend(e), o(), r._ready = r._initStorage(r._config), r._ready } var u = null !== this._driverSet ? this._driverSet.catch((function() { return a.resolve() } )) : a.resolve(); return this._driverSet = u.then((function() { var e = i[0]; return r._dbInfo = null, r._ready = null, r.getDriver(e).then((function(e) { r._driver = e._driver, o(), r._wrapLibraryMethodsWithReady(), r._initDriver = function(e) { return function() { var t = 0; return function n() { for (; t < e.length; ) { var i = e[t]; return t++, r._dbInfo = null, r._ready = null, r.getDriver(i).then(s).catch(n) } o(); var l = new Error("No available storage method found."); return r._driverSet = a.reject(l), r._driverSet }() } }(i) } )) } )).catch((function() { o(); var e = new Error("No available storage method found."); return r._driverSet = a.reject(e), r._driverSet } )), l(this._driverSet, t, n), this._driverSet } , e.prototype.supports = function(e) { return !!G[e] } , e.prototype._extend = function(e) { K(this, e) } , e.prototype._getSupportedDrivers = function(e) { for (var t = [], n = 0, r = e.length; n < r; n++) { var i = e[n]; this.supports(i) && t.push(i) } return t } , e.prototype._wrapLibraryMethodsWithReady = function() { for (var e = 0, t = X.length; e < t; e++) Q(this, X[e]) } , e.prototype.createInstance = function(t) { return new e(t) } , e }()); t.exports = ee } , { 3: 3 }] }, {}, [4])(4) } ).call(this, n(20)) }, 92: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computePendingBoxStates = void 0; const r = n(5); t.computePendingBoxStates = function(e, t) { e.boxes = r.mutateBoxes(e.boxes, n=>{ var i; if (n.id !== t) return n; return r.setBoxStateForPresenterPerspectiveMode(e, { id: n.id, opacity: null !== (i = e.opacityForPendingSubtopicsUnderPresenterPerspectiveMode) && void 0 !== i ? i : .5 }), r.setBoxStateForRevertedPresenterPerspectiveMode(e, { id: n.id, opacity: 0 }), Object.assign(Object.assign({}, n), { opacity: 0 }) } ) } }, 93: function(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.computeCenteredScrollOffsetForTextBox = t.computeSubtopicListScrollingStates = void 0; const r = n(5); function i(e, t, n, r, i) { const o = e + i , a = Math.min(e, o) , s = r - n; return Math.max(0, Math.min(s, a)) } t.computeSubtopicListScrollingStates = function(e, t, n, o) { e.boxes = r.mutateBoxes(e.boxes, e=>{ if (e.id !== t || "group" !== e.contentType) return e; if (e.contentHeight <= e.bounds.height) return e; const r = e.children.find(e=>e.id === n); if (!r) return e; const a = i(r.bounds.y, r.bounds.height, e.bounds.height, e.contentHeight, o(e, r)); return Object.assign(Object.assign({}, e), { scrollOffset: a }) } ) } , t.computeCenteredScrollOffsetForTextBox = i }, 94: function(e, t, n) { "use strict"; (function(t) { var r = n(14) , i = n(191) , o = { "Content-Type": "application/x-www-form-urlencoded" }; function a(e, t) { !r.isUndefined(e) && r.isUndefined(e["Content-Type"]) && (e["Content-Type"] = t) } var s, l = { adapter: (("undefined" != typeof XMLHttpRequest || void 0 !== t) && (s = n(118)), s), transformRequest: [function(e, t) { return i(t, "Content-Type"), r.isFormData(e) || r.isArrayBuffer(e) || r.isBuffer(e) || r.isStream(e) || r.isFile(e) || r.isBlob(e) ? e : r.isArrayBufferView(e) ? e.buffer : r.isURLSearchParams(e) ? (a(t, "application/x-www-form-urlencoded;charset=utf-8"), e.toString()) : r.isObject(e) ? (a(t, "application/json;charset=utf-8"), JSON.stringify(e)) : e } ], transformResponse: [function(e) { if ("string" == typeof e) try { e = JSON.parse(e) } catch (e) {} return e } ], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, validateStatus: function(e) { return e >= 200 && e < 300 } }; l.headers = { common: { Accept: "application/json, text/plain, */*" } }, r.forEach(["delete", "get", "head"], (function(e) { l.headers[e] = {} } )), r.forEach(["post", "put", "patch"], (function(e) { l.headers[e] = r.merge(o) } )), e.exports = l } ).call(this, n(69)) } });